W3C home > Mailing lists > Public > semantic-web@w3.org > June 2010

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

From: Antoine Zimmermann <antoine.zimmermann@deri.org>
Date: Wed, 23 Jun 2010 12:34:15 +0100
Message-ID: <4C21F137.3090304@deri.org>
To: Pierre-Antoine Champin <swlists-040405@champin.net>
CC: Semantic Web <semantic-web@w3.org>
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 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 21:45:36 GMT