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

Re: Are properties from a context-constrained class inherited by subclasses?

From: Yuzhong Qu <yzqu@seu.edu.cn>
Date: Thu, 22 May 2003 14:32:00 +0800
Message-ID: <008b01c3202b$d9e03d20$fc0b77ca@xobjects>
To: "Roger L. Costello" <costello@mitre.org>
Cc: "RDF Interest" <www-rdf-interest@w3.org>

> Hi Folks,
> 
> Suppose that I have this class heirarchy:
> 
>         River
>            |
>       Flueve
>           |
>        Blah
> 
> Suppose that the property, emptiesInto, has a domain of River:
> 
>      <owl:ObjectProperty rdf:ID="emptiesInto">
>            <rdfs:domain rdf:resource="#River"/>
>            <rdfs:range rdf:resource="#BodyOfWater"/>
>      </owl:ObjectProperty>
> 
> Suppose the Flueve constrains emptiesInto to have a range of #Sea:
> 
>      <owl:Class rdf:ID="Flueve">
>          <rdfs:subClassOf rdf:resource="#River"/>
>           <rdfs:subClassOf>
>                 <owl:Restriction>
>                         <owl:onProperty rdf:resource="#emptiesInto"/>
>                         <owl:allValuesFrom rdf:resource="#Sea"/>
>                 </owl:Restriction>
>           </rdfs:subClassOf>
>      </owl:Class>
> 
> Question: what is the range of emptiesInto when used in the Blah
> Class?   /Roger
> 

The class "#Sea" or a subClassOf  "#Sea".

Yuzhong Qu 
Received on Thursday, 22 May 2003 02:31:41 GMT

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