Vocab serialization equivalences

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 UTC