Re: question about rdf:parseType="Collection"

³¯ªø©À wrote:

>Everyone:
>
>RDF/XML allows an rdf:parseType="Collection" attribute
>on a property element to let it contain multiple node
>elements.
>
>Is the follow fragment valid?
>
>-----------------------------------------------
>................
><owl:Class rdfLID="man"/>
>..........
>...
>.............
><srol:Condition rdf:parseType="Collection">
> <owl:ObjectProperty rdf:about="#childIn"/>
> <owl:ObjectProperty rdf:about="#spouseIn"/>
> <owl:Class rdf:about="#man"/>
></srol:Condition>
>.................
>
You need to say it this way:

<srol:Condition>
<owl:oneOf rdf:parseType="Collection">
<owl:ObjectProperty rdf:about="#childIn"/>
<owl:ObjectProperty rdf:about="#spouseIn"/>
<owl:Class rdf:about="#man"/>
</owl:oneOf>
</srol:Condition>

(note that this is OWL Full)

Jonathan

Received on Thursday, 4 September 2003 15:04:15 UTC