W3C home > Mailing lists > Public > www-rdf-interest@w3.org > July 2002

Re[2]: rdfs:range question

From: pawel stroinski <pawel@pabloware.w.pl>
Date: Tue, 23 Jul 2002 13:30:37 +0200
Message-ID: <16769207364.20020723133037@pabloware.w.pl>
To: "Barnell, Alex" <Alex_Barnell@hplb.hpl.hp.com>
CC: www-rdf-interest@w3.org

Alex,

<Alex_Barnell@hplb.hpl.hp.com> wrote:
| The first line in your data is <ct:content>. This make it look like like
| ct:content is a class, but below you have defined it as a property.

ct:content is property of ct:group, ct:part, and (this is modification)
of ct:book.

| The data you have given looks like you are describing a list of contents,

Yes. If You interested, present version of schema is available at
<http://pb.wckp.lodz.pl/ct/rdf>. Let me know if you have any questions,
comments, or suggestions. <http://pb.wckp.lodz.pl/ct/gm.rdf> is a sample
document.
I will also express a simple glossary of terms in cooperative schema.

| Also, are you wanting to restrict the types of resources in the Seq?

I this case, "restricting" maybe is not necessary. However, when I have
some example statements:

<my:product>
  <my:producedBy><rdf:Bag>
    <rdf:li><my:firm><rdf:value>Firm One</rdf:value></my:firm></rdf:li>
    <rdf:li><my:firm><rdf:value>Firm Two</rdf:value></my:firm></rdf:li>
  </rdf:Bag></my:producedBy>
</my:product>

Is it a good schema?

<rdfs:Class rdf:about="&my;product"/>

<rdfs:Class rdf:about="&my;firm"/>

<rdf:Property rdf:about="&my;producedBy">
  <rdfs:range rdf:resource="&my;firm"/>
</rdf:Property>


Best wishes,
Pawel Stroinski
Received on Tuesday, 23 July 2002 07:32:04 GMT

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