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

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

From: Thomas B. Passin <tpassin@comcast.net>
Date: Sat, 28 Jun 2003 12:14:01 -0400
To: www-rdf-interest@w3.org
Message-id: <002a01c33d90$49c7c640$6401a8c0@tbp1>

[Roger L. Costello]>
> 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>

I do not think this is constructed right, Roger.  How can "books" be a
property if it is a Collection?  Instead, you could have a property that
might be called "hasBookCollection", whose range would be a collection of
books.  I think that would be a better way to go about it.


Tom P
Received on Saturday, 28 June 2003 12:11:46 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:07:46 UTC