W3C home > Mailing lists > Public > semantic-web@w3.org > May 2005

Re: SPARQL queries: predicates, dumps, abouts etc

From: Sandro Hawke <sandro@w3.org>
Date: Mon, 09 May 2005 11:22:26 -0400
To: Graham Klyne <GK@ninebynine.org>
Cc: "Charles McCathieNevile" <charles@sidar.org>, "conor dowling" <conor@the325project.org>, semantic-web@w3.org
Message-Id: <20050509152227.105F34EFEC@homer.w3.org>


> At 16:50 08/05/05 +0200, Charles McCathieNevile wrote:
> >>2) rdf:about value and value of "?subject"
> >>
> >># can I get the "rdf:about" from every resource
> >>PREFIX rdf:    <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
> >>SELECT ?about
> >>WHERE { ?subject rdf:about ?about }
> >
> >I wondered how to do this. [...]
> 
> That should *not* be valid, as rdf:about is part of the RDF/XML syntax, NOT 
> an RDF property URI.
> 
> cf.
>    http://www.w3.org/TR/rdf-syntax-grammar/#section-Namespace
>    http://www.w3.org/TR/rdf-syntax-grammar/#coreSyntaxTerms
>    http://www.w3.org/TR/rdf-syntax-grammar/

What you want there, I think, is log:uri, with a query engine which
implements it.  Intuitively, rdf:about and log:uri are the same thing,
but as Graham points out, rdf:about is actually specified to be
handled completely differently, so (sadly) it wont work in this kind
of situation.

     -- sandro
Received on Monday, 9 May 2005 15:22:39 UTC

This archive was generated by hypermail 2.4.0 : Thursday, 24 March 2022 20:40:55 UTC