W3C home > Mailing lists > Public > www-rdf-rules@w3.org > September 2001

Re: What is an RDF Query?

From: Pierre-Antoine CHAMPIN <champin@bat710.univ-lyon1.fr>
Date: 11 Sep 2001 11:10:22 +0200
To: Sandro Hawke <sandro@w3.org>
Cc: www-rdf-rules@w3.org
Message-Id: <1000199422.3274.37.camel@lisiperso3>
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 GMT

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