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

rdfs:range question

From: pawel stroinski <pawel@pabloware.w.pl>
Date: Mon, 22 Jul 2002 06:34:24 -0400 (EDT)
To: www-rdf-interest@w3.org
Message-ID: <2bnnjuo1jccgutvsmbomrpfnb0db9ihugt@4ax.com>



Hello

I wrote following code:

<ct:content>
    <rdf:Seq>
        <rdf:li>
            <ct:part rdf:about="http://example.com/gm/intro.xml">
                <dc:title>An Introduction</dc:title>
            </ct:part>
        </rdf:li>
        <rdf:li rdf:resource="http://example.com/gm/faq.xml"/>
    </rdf:Seq>
</ct:content>


Is it a correct vocabulary of "content" class?

<rdf:Property rdf:about="http://pb.wckp.lodz.pl/ct/rdf#content">

  <rdfs:range rdf:resource="http://pb.wckp.lodz.pl/ct/rdf#group"/>
  <rdfs:range rdf:resource="http://pb.wckp.lodz.pl/ct/rdf#part"/> 

  <rdfs:isDefinedBy rdf:resource="http://pb.wckp.lodz.pl/ct/rdf#"/>
  <rdfs:label xml:lang="en">Content</rdfs:label>
  <rdfs:domain rdf:resource="http://pb.wckp.lodz.pl/ct/rdf#group"/>
  <rdfs:domain rdf:resource="http://pb.wckp.lodz.pl/ct/rdf#part"/> 

</rdf:Property>

"group" and "part" are classes.

Thanks in advance!

-- 
Pawel Stroinski
Received on Monday, 22 July 2002 14:05:26 GMT

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