-
Notifications
You must be signed in to change notification settings - Fork 47
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
dcat:mediaType - check constraints #127
Comments
Dropping the domain axiom makes dcat:mediaType identical to dct:format of which it is a subproperty. However, the usage note for dcat:mediaType restricts its use to IANA media types, so maybe the range need to be tightened to a new class dcat:IANAMediaType? |
I always found the properties for media types and formats and especially the range "dcterms:MediaTypeOrExtent" confusing. I am in favor of improving that situation. |
Maybe this can be helpful: Ontology for Media Resources 1.0 |
The domain axiom appears relevant - unless it is required to sometimes say something about a dcat:CatalogRecord. |
Proposal:
|
+1 to changing to dcat:MIMEType (capital ‘T’?) as this will be better understood by web devs than dcat:IANAMediaType |
@dr-shorthair Although I admit that I am the one who suggested the range "to be tightened to a new class |
As a more general comment related to |
|
The property is defined in the RDF schema as:
So it cannot have a Literal as value. Makx. |
The examples listed in the current specification use Literal strings ( For |
@nichtich The examples in the 2014 specification are wrong. They are in section 4 which is non-normative. I created an issue for that at #170. |
or
|
Or perhaps using the conneg-equiped versions:
|
+1 for option B as we already use it like this in Czech National Open Data Catalog, as discussed in #259.
|
Sadly IANA asked me "what is RDF?" when I asked |
But what about the first question: Is there a reason for the range to be
|
@dr-shorthair I agree with the restriction to |
The current range declaration says that whatever is the object of the property is a dct:MediaTypeOrExtent, which is fine with me. On the other hand, I don't think a change to narrow the range is going to break anything. The usage note actually instructs implementers to use IANA-defined media types, and all of those can reasonably be considered to be instances of dct:MediaType. |
Resolution proposed in #304 |
In DCAT v1 the property
dcat:mediaType
is axiomatizedThe text was updated successfully, but these errors were encountered: