W3C home > Mailing lists > Public > www-rdf-interest@w3.org > September 2003

Re: question about rdf:parseType="Collection"

From: Jonathan Borden <jonathan@openhealth.org>
Date: Thu, 04 Sep 2003 15:04:05 -0400
Message-ID: <3F578CA5.1090504@openhealth.org>
To: <aecro@yahoo.com.tw>
Cc: www-rdf-interest@w3.org

 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 GMT

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