W3C home > Mailing lists > Public > public-dxwg-wg@w3.org > June 2018

Re: Media Types URIs

From: Jakub Klímek <jakub@jakubklimek.com>
Date: Mon, 18 Jun 2018 20:20:55 +0200
Message-ID: <CAEOz=_tEEfrxhHAdWuQ6f2jL8RTb92NKZJqoXML8zY56My3iCg@mail.gmail.com>
To: "Car, Nicholas (L&W, Dutton Park)" <Nicholas.Car@csiro.au>
Cc: "public-dxwg-wg@w3.org" <public-dxwg-wg@w3.org>
Dear Nick,

Are you suggesting using your IRIs such as [1] for MIME-Types with
dct:format?

In DCAT-AP, dct:format is actually used with the EU File Type codelist [2]
concepts such as [3], whereas for IANA based MIME Type IRIs such as [4],
dcat:mimeType is used. Indeed, neither the File Type, nor the MIME Type
IRIs are dereferencable. Still, some consistency would be nice.

BTW I have been asking the EU publications office to make the EU MDR NALs
(now EU vocabularies) dereferencable for 3 years now, unfortunately with no
success. Nevertheless, their use is mandatory in DCAT-AP, which could be
reflected in DCAT since there are no other official code lists for those
properties.

Best regards,

Jakub Klímek

[1] https://w3id.org/mediatype/text/turtle
[2]
https://publications.europa.eu/en/web/eu-vocabularies/at-dataset/-/resource/dataset/file-type
[3] http://publications.europa.eu/resource/authority/file-type/RDF_TURTLE
[4] https://www.iana.org/assignments/media-types/text/turtle

On Mon, Jun 18, 2018 at 7:42 PM Car, Nicholas (L&W, Dutton Park)
<Nicholas.Car@csiro.au> wrote:

> 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 18:36:43 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 30 October 2019 00:15:43 UTC