RDF and uuid. why no urn schema?

2.1k views Asked by At
<rdf:Description about='uuid:8949dbc6-31ad-11d9-9c7d-d112c21f7031'>

Why this about does not contain urn:uuid:8949dbc6-31ad-11d9-9c7d-d112c21f7031 instead? Isn't the uuid a urn, and therefore required to have a urn: scheme in front of it ?

2

There are 2 answers

2
dajobe On BEST ANSWER

Following the chain of specifications, the IANA URN namespace registry does indeed register 'uuid' as a namespace after 'urn:'. So yes, the URL above is wrong and it should start 'urn:uuid' as you were expecting.

2
Pierre On

This URI is wrong. Using the following RDF document in the W3C RDF Validator returns an error

<?xml version="1.0"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
  xmlns:dc="http://purl.org/dc/elements/1.1/">
  <rdf:Description about='uuid:8949dbc6-31ad-11d9-9c7d-d112c21f7031'>
    <dc:title>Hello</dc:title> 
  </rdf:Description>
</rdf:RDF>

Error: {W102} unqualified use of rdf:about is deprecated.[Line = 4, Column = 70]