Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
How to define Internet Media Type in RDF - is there a namespace? Yes - but not an official one. See and
@prefix rdf: <> .
@prefix rdfs: <> .
@prefix dcterms: <> .
@prefix dcam: <> .
<> dcterms:format <> .
<> a dcterms:FileFormat ;
dcam:memberOf dcterms:IMT ;
rdf:value "text/html" ;
rdfs:isDefinedBy <> ;
rdfs:label "HTML document" .

stain commented Jan 25, 2013

This is a hybrid - it provides the dcterms details of the media type directly - but uses the namespaces of rather than anonymous nodes.

Sadly the mediatypes URLs don't resolve properly to RDF - and the RDF at is also quite sparse - it has no such statements as above, for instance.

zednis commented Apr 13, 2016 appears to be down :-(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment