Skip to content

Instantly share code, notes, and snippets.

@stain stain/mediatypes.ttl
Last active Jun 18, 2018

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

This comment has been minimized.

Copy link
Owner Author

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.


This comment has been minimized.

Copy link

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


This comment has been minimized.

Copy link

nicholascar commented Jun 18, 2018

This is now up: with PIDs like this: Very happy for suggestions as to how to make it great at

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.