Microformats-2 to RDF

Hi,

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?

Jeni

[1] http://microformats.org/wiki/microformats-2#VENDOR_EXTENSIONS
-- 
Jeni Tennison
http://www.jenitennison.com

Received on Thursday, 24 November 2011 19:28:45 UTC