Skip to content

Error in example of dcat:mediaType #170

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
makxdekkers opened this issue Mar 21, 2018 · 7 comments
Closed

Error in example of dcat:mediaType #170

makxdekkers opened this issue Mar 21, 2018 · 7 comments

Comments

@makxdekkers
Copy link
Contributor

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.

@akuckartz
Copy link

This also illustrates how confusing that property is :-/

@makxdekkers
Copy link
Contributor Author

@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.

@dr-shorthair
Copy link
Contributor

@makxdekkers could you provide example of how dcat:mediaType should be used? Should the value be a URI?

@jakubklimek
Copy link
Contributor

@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.:

 dcat:mediaType  .

@dr-shorthair
Copy link
Contributor

Proposed fix in #303

@makxdekkers
Copy link
Contributor Author

@jakubklimek Correct.

@dr-shorthair
Copy link
Contributor

Fixed in #307

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants