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

RE: SubClassOf vs Child Element

From: Didier VILLEVALOIS <dvillevalois@techmetrix.net>
Date: Thu, 6 Jun 2002 10:28:17 +0200
Message-ID: <6CED7AD2680ED611BB8E0090276CE924025F619D@mail-paris.sqli.com>
To: curiozen@yonsei.ac.kr, www-rdf-interest@w3.org

Hello Jie,
In fact, you cannot do what you did in your second example. Because this
mean that you may have an 'rdfs:Property' property on a 'rdfs:Property'-
typed node.
'rdfs:Property' is a class whereas 'rdfs:subPropertyOf', 'rdfs:domain' and
are properties. In RDF, the child element structure does have a particular
You can be in either of this two cases:  
    - you are in an element that represents an instance
            and so what you put in is the elements for its properties  
    - you are in an element that represents a property for an instance
            and so what you put in is the element (or string) for its
instance value
So when you write:
    <rdf:Description rdf:ID="toto">
        <myNS:myPropertyName>A value</myNS:myPropertyName>
You just tell this triple:
(#toto, http://www.example.com/MyVocabulary#myPropertyName,
<http://www.example.com/MyVocabulary#myPropertyName>  "A value")
which means in english, "#toto has 'A value' for myPropertyName".
Received on Thursday, 6 June 2002 04:28:25 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:44:36 UTC