Re: rdf:Lists in RDFa?

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 Saturday, 5 September 2009 12:18:36 UTC