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

Microformats-2 to RDF

From: Jeni Tennison <jeni@jenitennison.com>
Date: Thu, 24 Nov 2011 19:28:19 +0000
Message-Id: <2D714485-B3CA-4D47-A6EE-5888DA2AC295@jenitennison.com>
Cc: Gregg Kellogg <gregg@kellogg-assoc.com>, Tantek Çelik <tantek@tantek.com>
To: HTML Data Task Force WG <public-html-data-tf@w3.org>

Given that microformats-2 uses the same JSON data model as microdata, is it feasible to map microformats-2 data into RDF using the same algorithm as is used for microdata?

The two difficulties that I can see are:

  * The spec's written in terms of the microdata DOM API rather than the JSON serialisation; this is useful because it enables the algorithm to work out when a value is a URL or a date/time from the markup. Perhaps it's worth defining how microformats-2 markup is exposed using that same API?

  * microformats-2 types aren't URIs, and RDF really requires URIs for types and properties. Perhaps the convention with those could be to prepend 'http://microformats.org/profile/' to the type to give the vocabulary? But how would that work for the vendor extensions as described at [1]?

Is this worth pursuing at all?


[1] http://microformats.org/wiki/microformats-2#VENDOR_EXTENSIONS
Jeni Tennison
Received on Thursday, 24 November 2011 19:28:45 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 19:58:06 UTC