W3C home > Mailing lists > Public > www-webont-wg@w3.org > November 2002

GUIDE: small comment on WD

From: Guus Schreiber <schreiber@swi.psy.uva.nl>
Date: Fri, 15 Nov 2002 17:14:27 +0100
Message-ID: <3DD51D63.4000805@swi.psy.uva.nl>
To: WebOnt WG <www-webont-wg@w3.org>
CC: Jan Wielemaker <jan@swi.psy.uva.nl>

We came across the following problerm.
In the Guide the follwoing example [1] is given of "onOf":

<owl:Class rdf:ID="WineColor">
   <rdfs:subClassOf rdf:resource="#WineDescriptor"/>
   <owl:oneOf rdf:parseType="Collection">
     <owl:Thing rdf:about="#White"/>
     <owl:Thing rdf:about="#Rose"/>
     <owl:Thing rdf:about="#Red"/>
   </owl:oneOf>
</owl:Class>

Our parser has problems with this. The RDF Syntax doc appears to say 
this is not the right syntax [2]. Collections should consist of node 
elements, e.g.:

   <rdf:Description rdf:about="#White"/>

Correct?

A minor point is that in the wine.owl file <owl:Item> is used instaed of 
<owl:Thing>.

Guus

[1]
http://www.w3.org/TR/2002/WD-owl-guide-20021104/#EnumeratedClasses
[2]
http://www.w3.org/TR/2002/WD-rdf-syntax-grammar-20021108/#section-Syntax-parsetype-Collection

-- 
A. Th. Schreiber, SWI, University of Amsterdam,
http://www.swi.psy.uva.nl/usr/Schreiber/home.html
Received on Friday, 15 November 2002 11:19:44 GMT

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