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

[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.

Cheers,

Tom P

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