Re: What is an RDF Query?

A question has been bothering me for a while.
In RDF we only have named nodes (with URIs) and anonymous nodes.
So apparently the models does not enable us to create locally scoped
names.

On the other hand, the syntax has two different constructs for named
nodes : rdf:about and rdf:ID.
From an XML point of view, IDs are locally scoped. However, RDF makes
them global by prepending the document URI to them, with a '#'.

Do we agree that the same resource could have several URIS ? I do think
so. For example, if I write

<rdf:Description ID="someBook">
  <pac:readIt>9/11/2001</pac:readIt>
  <pac:rating>Very good</pac:rating>
</rdf:Description>

I do not deny myPieceOfRDF#someBook to identify the same resource as to
urn:isbn:12345. I may just have given it an rdf:ID for syntactical
reasons...

In short : am I wrong to use rdf:ID as a kind of locally scoped IDs? If
yes, how could I do it else? If no, how do we manage (and first of all
recognize) those "not global URIs" in queries ?

  Pierre-Antoine

Received on Tuesday, 11 September 2001 05:07:50 UTC