Re: SPARQL queries: predicates, dumps, abouts etc

> 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