- From: Roberto García <roberto@rhizomik.net>
- Date: Tue, 12 Jan 2010 16:20:05 +0100
- To: Toby Inkster <tai@g5n.co.uk>
- Cc: public-rdfa@w3.org
Dear all, First of all, thanks Toby for your examples about rdf:Lists in RDFa at http://ontologi.es/rail/routes/gb/VTB1.xhtml They have helped my a lot while extending the current versions of RDF2HTML+RDFa and RDF2RDFa. Now, both tools are capable of generating RDFa markup from RDF input including rdf:Lists. Therefore, for instance, it is now possible to easily build RDFa representations for complex owl:Class expressions. This has been the driving scenario because the first objective was to represent copyright licenses modelled using the Copyright Ontology, which makes heavy use of them as a kind of pattern for the governed actions. For instance, the license at http://omediadis.udl.cat/licensing/ccbysa/CCBYSA_MyWork.owl is rendered as HTML+RDFa: http://rhizomik.net/redefer-services/rdf2html?rdf=http://omediadis.udl.cat/licensing/ccbysa/CCBYSA_MyWork.owl or RDFa: http://www.rhizomik.net/redefer-services/rdf2rdfa?rdf=http://omediadis.udl.cat/licensing/ccbysa/CCBYSA_MyWork.owl And we have tested that we can recreate the original license using the W3C's RDFa Distiller service: http://www.w3.org/2007/08/pyRdfa/extract?uri=http://rhizomik.net/redefer-services/rdf2rdfa?rdf=http://omediadis.udl.cat/licensing/ccbysa/CCBYSA_MyWork.owl In any case, there is still some additional testing to do with other tools and more examples. Best, Roberto García http://rhizomik.net/~roberto 2009/9/5 Toby Inkster <tai@g5n.co.uk>: > On 5 Sep 2009, at 07:49, Roberto García wrote: > >> I've been able to find some references to this issue but it is not >> clear for me if at last it is possible to use some sort of construct >> that makes this easier than modelling all the triples for the list >> with rdf:first, rdf:rest, rdf:nil,... > > > Yes, rdf:Lists are truly horrible in RDFa. In fairness to RDFa, they're just > a very complex structure and are horrible in a lot of RDF serialisations - > N-Triples, TriX, RDF/JSON, etc. The only serialisations where they seem > reasonable are those that provide syntactic sugar to handle them - e.g. > Turtle and RDF/XML. > > Here's how I've marked up lists in RDFa: > > http://ontologi.es/rail/routes/gb/VTB1.xhtml > > -- > Toby A Inkster > <mailto:mail@tobyinkster.co.uk> > <http://tobyinkster.co.uk> > > > >
Received on Tuesday, 12 January 2010 15:20:38 UTC