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

Defining the range of a property that uses parseType="Collection"?

From: Roger L. Costello <costello@mitre.org>
Date: Sat, 28 Jun 2003 11:57:32 -0400
Message-ID: <3EFDBAEC.FF39029F@mitre.org>
To: www-rdf-interest@w3.org
CC: "Costello,Roger L." <costello@mitre.org>

Hi Folks,

Suppose that I have an instance document that contains a books property:

   <books rdf:parseType="Collection">
       <Book>...</Book>
       <Book>...</Book>
       <Book>...</Book>
   </books>

How would you define the rdfs:range for books?

    <rdf:Property rdf:ID="books">
        <rdfs:range rdf:resource="???"/>
    </rdf:Property>

/Roger
Received on Saturday, 28 June 2003 11:59:29 GMT

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