Re: GUIDE: small comment on WD

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 UTC