RDF Value

I have two urls, which contains RDF/XML syntax respectively.
The first url is located on 'http://www.example.org/foo' and the content is:

<?xml version="1.0"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:ex="http://www.example.org/" xmlns:dc="http://purl.org/dc/elements/1.1/">
      <rdf:Description rdf:about="http://www.example.org/foo">
            <ex:Resource rdf:ID="bar" rdf:resource="http://www.example.org/foo/bar" dc:format="application/xml+rdf"/>
      </rdf:Description>
</rdf:RDF>

And the second URI is 'http://www.example.org/foo/bar' which contains:

<?xml version="1.0"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:ex="http://www.example.org/">
      <rdf:Description rdf:about="http://www.example.org/foo/bar"> 
  <rdf:type rdf:resource=" http://www.example.org/Resource"/>
            <rdf:value>Foobar!</rdf:value>
      </rdf:Description>
</rdf:RDF>

Could you elaborate whether 'http://www.example.org/foo#bar' and 'http://www.example.org/foo/bar' has the same semantic value (point to the same resource)?
Or is there any best current practice to do this?

Received on Friday, 22 May 2009 06:12:20 UTC