[uf-dev] Microformat Object Models

Danny Ayers danny.ayers at gmail.com
Tue Apr 15 14:00:29 PDT 2008


Using RDF as a model would have its advantages:

* the W3C test harness could be reused
* it's straightforward
* some of the modelling has already been done
* Semantic Web integration comes free

at http://esw.w3.org/topic/CustomRdfDialects
there are links to several microformat2rdfxml XSLT transformations - at
least some of them are less-than-perfect, but should be good enough to
bootstrap

(incidentally a lot of the material there originated on a page called
http://esw.w3.org/topic/MicroModels - it got rebranded :-)

SPARQL-capable RDF tools are available for pretty much every
language/platform, and test SPARQL would be pretty easy to write. SPARQL
results can appear in XML or JSON - which could be handy in this context.
http://www.w3.org/TR/rdf-sparql-json-res/

There's also a JSON syntax for RDF, and at least two online converters:

http://n2.talis.com/wiki/RDF_JSON_Specification
http://triplr.org
http://convert.test.talis.com/

The RDF/JSON result would no doubt look different from the intended
microformat/JSON, but  it shouldn't take much script to convert for testing
purposes.

On 15/04/2008, Manu Sporny <msporny at digitalbazaar.com> wrote:
Sorry Manu, nitpicking, expanding your shorthand -

- Agree on a serialization format for Microformats (JSON/XML/N3/etc).


presumably=>
Agree on a Microformats model
Agree on a serialization format for Microformats model (JSON/XML/N3/etc).

- Agree on a serialization format: RDF


presumably=>
Agree on an RDF model : RDF  (easy one that)
Agree on a serialization format for RDF model : RDF/XML (I'm assuming)


Cheers,
Danny.

-- 
http://dannyayers.com
~
http://blogs.talis.com/nodalities/this_weeks_semantic_web/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://microformats.org/discuss/mail/microformats-dev/attachments/20080415/189f6b13/attachment.html


More information about the microformats-dev mailing list