W3C home > Mailing lists > Public > www-rdf-comments@w3.org > January to March 2003

Vocab serialization equivalences

From: <Art.Barstow@nokia.com>
Date: Mon, 6 Jan 2003 09:28:08 -0500
Message-ID: <5C76D29CD0FA3143896D08BB1743296AB003AA@bsebe001.americas.nokia.com>
To: <www-rdf-comments@w3.org>

Regarding the new docs, to address a FAQ I see, please 
normatively state:

1) The following are equivalent:

 <rdf:Property rdf:about="xxx"/>
 
and:

 <rdf:Description rdf:about="xxx">
  <rdf:type rdf:resource="&ns-rdf;Property"/>
 </rdf:Description>

2) The following are equivalent:

 <rdfs:Class rdf:about="xxx"/>

and:

 <rdf:Description rdf:about="xxx">
  <rdf:type rdf:resource="&ns-rdfs:Class"/>
 </rdf:Description>

The Syntax doc kind'a skirts around this informatively [1] but 
it seems to be limited to RDF (and not include RDFS/RDFV).  

Perhaps a generic, normative rule like the following would 
also be useful:

   <NS:XXX rdf:about="#NNN"/>

expands/equates to

   <rdf:Description rdf:about="#NNN">
      <rdf:type rdf:resource="&NS;XXX"/>
   </rdf:Description>

where of course '&NS;' expands to the full namespace URI
bound to the prefix 'NS:'.

Regards,

Art Barstow
---

[1] http://www.w3.org/TR/2002/WD-rdf-syntax-grammar-20021108/#section-Syntax-typed-nodes
Received on Monday, 6 January 2003 09:28:38 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 21 September 2012 14:16:31 GMT