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

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

From: Graham Klyne <GK@ninebynine.org>
Date: Mon, 30 Jun 2003 09:56:49 +0100
Message-Id: <5.1.0.14.2.20030630095215.03177b48@127.0.0.1>
To: "Roger L. Costello" <costello@mitre.org>, www-rdf-interest@w3.org

At 11:57 28/06/03 -0400, Roger L. Costello wrote:

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

The simple technical answer would be:

??? = "rdf:List"

But I recognize this may not truly answer your true question, which may be 
to ask:  how do I express types like "List of books" or "Herd of cats"?

I think a fuller answer is:  RDFS does not provide a comprehensive type 
system, and doesn't express such ideas.  I would look to OWL for that.

#g


-------------------
Graham Klyne
<GK@NineByNine.org>
PGP: 0FAA 69FF C083 000B A2E9  A131 01B9 1C7A DBCA CB5E
Received on Monday, 30 June 2003 06:57:54 GMT

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