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.

Antoine Zimmermann
Post-doctoral researcher at:
Digital Enterprise Research Institute
National University of Ireland, Galway
IDA Business Park
Lower Dangan
Galway, Ireland
Received on Wednesday, 23 June 2010 11:34:49 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 08:45:18 UTC