W3C home > Mailing lists > Public > public-html-data-tf@w3.org > November 2011

Updated Microdata to RDF spec

From: Gregg Kellogg <gregg@kellogg-assoc.com>
Date: Fri, 18 Nov 2011 21:16:41 -0500
To: HTML Data Task Force WG <public-html-data-tf@w3.org>
Message-ID: <460E43BC-7C7C-4AF0-A19E-A1ACCAACDC6A@greggkellogg.net>
I've completed a number of updates to the Microdata to RDF spec [1]. The live editor's draft is at [2]. I believe this addresses all of the issues that we've discussed. It's a pretty substantial update.

This version introduces the registry, in an ad-hoc JSON form, which allows vocabularies and particular properties to take on special processing attributes. This includes property URI generation and if values are placed in an rdf:List or not.

Note that the registry is defined to live at http://www.w3.org/ns/md, and uses http://www.w3.org/ns/md# as a prefix. The document is not actually loaded here at this point. I'm also exploring an RDF representation of the registry, which you can see here [3][4]. Note that in this case I'm using rdfs:range semantics to determine serialization, and I've suggested some schema.org properties that may want to use an rdf:List range.

This version retains the <time> element, although the content model has not been updated to include the latest WHATWG version (duration, gYear, etc. equivalents).

My Ruby (public domain) implementation is updated, and uses an internal version of the registry. It's available for download on GitHub [5] and a live running version is on my distiller [6].

Comments appreciated.

Gregg Kellogg

[1] https://dvcs.w3.org/hg/htmldata/raw-file/default/ED/microdata-rdf/20111118/index.html
[2] https://dvcs.w3.org/hg/htmldata/raw-file/default/microdata-rdf/index.html
[3] https://dvcs.w3.org/hg/htmldata/raw-file/default/microdata-namespace/ns.ttl
[4] https://dvcs.w3.org/hg/htmldata/raw-file/default/microdata-namespace/ns.jsonld
[5] http://github.com/gkellogg/rdf-microdata
[6] http://rdf.greggkellogg.net/distiller?in_fmt=microdata
Received on Saturday, 19 November 2011 02:17:47 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 20:08:25 UTC