Re[2]: rdfs:range question

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 UTC