SEMICeu / dcat-ap_shacl

DCAT-AP SHACL constraint definitions
https://github.com/SEMICeu/dcat-ap_shacl
12 stars 3 forks source link

dcat:mediaType value constraint #4

Closed costezki closed 5 years ago

costezki commented 7 years ago

To my knowledge IANA does not provide a list of URIs for mime type. Is there an alternative to that? Otherwise cannot set a validation constraint on dcat:mediaType controlled vocabulary

makxdekkers commented 7 years ago

There is a list on https://www.iana.org/assignments/media-types/media-types.xhtml, e.g. there is a URI for https://www.iana.org/assignments/media-types/application/rdf+xml, but not all MIME types have such a URI.