Media Types URIs

Dear DXWG,

I’ve just put up a small API to deliver Media Types via URIs so if you want to quote text/html, you can do so like this: https://w3id.org/mediatype/text/turtle and get a simple web page or this:

@prefix dct: <http://purl.org/dc/terms/> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

<https://w3id.org/mediatype/text/turtle> a dct:FileFormat ;
    rdfs:label "turtle"^^xsd:string ;
    dct:contributor <https://w3id.org/mediatype/Eric_Prudhommeaux>,
        <https://w3id.org/mediatype/W3C> .

This just replaces a system that did this using purl.org/NET/mediatypes/ but which has been down for years (see https://gist.github.com/stain/4635250).

The reason for doing this now is that we are really using dct:format a lot but don’t have dereferenceable URIs for it.
The register of Media Types is here: https://w3id.org/mediatype/


Consider this tool actively developed so you can raise issues (https://github.com/nicholascar/mediatypes-dataset/issues) or get things changed if they aren’t great!

Cheers,

Nick

Received on Monday, 18 June 2018 17:41:48 UTC