Skip to content
Create a gist now

Instantly share code, notes, and snippets.

Embed URL


Subversion checkout URL

You can clone with
Download ZIP
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" .

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.