W3C home > Mailing lists > Public > semantic-web@w3.org > July 2007

Re: Can you query rdf:List easily? (WAS Re: update on vCard edits and The Compromise)

From: Garret Wilson <garret@globalmentor.com>
Date: Fri, 27 Jul 2007 23:47:33 -0700
Message-ID: <46AAE685.1000203@globalmentor.com>
To: Harry Halpin <hhalpin@ibiblio.org>
CC: Bijan Parsia <bparsia@cs.man.ac.uk>, Bruce D'Arcus <bdarcus@gmail.com>, bnowack@appmosphere.com, Semantic Web <semantic-web@w3.org>

Harry Halpin wrote:
> Is it indeed difficult or impossible to write a SPARQL query over
> rdf:List, particulary with the use of owl:sameAs as in:
>
>  <vCard:additionalNames rdf:parseType="Collection">
>       <rdf:Description owl:sameAs="Edward"/>
>       <rdf:Description owl:sameAs="Reeves"/>
>  </vCard:additionalNames>. 
>
> Can someone tell me precisely why and if so, does rdf:Seq help?
>   

When answering this question, I don't think it's necessary to think in 
terms of owl:sameAs, because RDF allows literals in lists, as Sandro 
pointed out. (Thanks, Sandro---I had let the RDF/XML serialization cloud 
my thinking, and didn't realize that this was available in the RDF 
model.) I think that the lack of literals in rdf:List in an RDF/XML 
serialization will be irrelevant, one way or another; I don't think that 
should affect the analysis.

I'd be interested in knowing the answer to this question concerning 
literals in lists using SPARQL, as I don't (yet) use SPARQL.

Garret
Received on Saturday, 28 July 2007 06:47:53 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:45:04 GMT