Error in example of dcat:mediaType
makxdekkers opened this issue · 7 comments
The way dcat:mediaType
is used in the examples in section 4 of the existing Recommendation and in section 5 of the Editor's Draft is in error. The examples have:
dcat:mediaType "text/csv"
According to the definition of dcat:mediaType
, its range is dct:MediaTypeOrExtent
, not rdfs:Literal
.
This should be corrected in the FPWD.
This also illustrates how confusing that property is :-/
@akuckartz I personally don't think the property is confusing; the definition is quite clear. The main problem, it seems to me, is that implementers do not always read definitions and think they understand what a property is by just looking at the URI or label.
@makxdekkers could you provide example of how dcat:mediaType should be used? Should the value be a URI?
@dr-shorthair @makxdekkers Isn't the usage illustrated in my examples in #259, i.e. used in the Czech catalog and therefore in EDP, correct?
E.g.:
<distribution> dcat:mediaType <http://www.iana.org/assignments/media-types/text/csv> .
Proposed fix in #303
@jakubklimek Correct.
Fixed in #307