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

Re: GUIDE: small comment on WD

From: Jonathan Borden <jonathan@openhealth.org>
Date: Fri, 15 Nov 2002 18:01:50 -0500
Message-ID: <028301c28cfa$fc020a60$7c674544@ne.mediaone.net>
To: "Guus Schreiber" <schreiber@swi.psy.uva.nl>, "WebOnt WG" <www-webont-wg@w3.org>
Cc: "Jan Wielemaker" <jan@swi.psy.uva.nl>

Guus Schreiber wrote:

> 
> 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"/>

<owl:Thing rdf:about="#White" />

is a so-called "typed node" which is shorthand for:

<rdf:Description rdf:about="#White">
    <rdf:type rdf:resource="...#Thing"/>
</rdf:Description>

Jonathan
Received on Friday, 15 November 2002 18:21:40 GMT

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