Re: What is it that's wrong with rdf:List

Le 23/06/2010 11:59, Pierre-Antoine Champin a écrit :
> On 20/06/2010 13:23, Andy Seaborne wrote:
>>
>  [...]
> By the way, is there a clean way in SPARQL to retrieve *all* items of an
> rdf:Seq, which would preserve the order ?

If your SPARQL engine supports the RDFS entailment regime, then you can 
just ask:

SELECT ?seq ?element WHERE {
   ?seq rdfs:member ?element .
}

Otherwise, I'm afraid there is no solution with the current standards.


Regards,
-- 
Antoine Zimmermann
Post-doctoral researcher at:
Digital Enterprise Research Institute
National University of Ireland, Galway
IDA Business Park
Lower Dangan
Galway, Ireland
antoine.zimmermann@deri.org
http://vmgal34.deri.ie/~antzim/

Received on Wednesday, 23 June 2010 11:34:49 UTC