W3C home > Mailing lists > Public > semantic-web@w3.org > April 2007

Repeated use of same property in Restricitions for same Class

From: Hans Teijgeler <hans.teijgeler@quicknet.nl>
Date: Tue, 10 Apr 2007 10:06:25 +0200
To: "SW-forum" <semantic-web@w3.org>
Message-ID: <000201c77b47$2620d990$6c7ba8c0@hans>
Hi,
 
I have a very basic question about owl:Restriction, and I cannot find the
answer in the Recs.
 
The question is as follows:
 
Assume you have a class Carpenter, and you want to define the kind of tools
a carpenter should have, e.g. one or more hammers and one or more saws.
 
Is it allowed to use the same property "hasAsTool" in more than one
Restriction for that Carpenter class? So in this example:
 
    <owl:Class rdf:ID="Carpenter">
        <rdfs:subClassOf>
            <owl:Restriction>
                <owl:onProperty rdf:resource="#hasAsTool"/>
                <owl:allValuesFrom rdf:resource="#Hammer"/>
                <owl:minCardinality
rdf:datatype="&xsd;nonNegativeInteger">1</owl:minCardinality> 
            </owl:Restriction>
        </rdfs:subClassOf>
        <rdfs:subClassOf>
            <owl:Restriction>
                <owl:onProperty rdf:resource="#hasAsTool"/>
                <owl:allValuesFrom rdf:resource="#Saw"/>
                <owl:minCardinality
rdf:datatype="&xsd;nonNegativeInteger">1</owl:minCardinality> 
            </owl:Restriction>
        </rdfs:subClassOf>
    </owl:Class>
 
I think it is correct, but I need to know for sure.
Your help will be appreciated!
 
Regards,
Hans
 
____________________
OntoConsult
Hans Teijgeler
ISO 15926 specialist
Netherlands
+31-72-509 2005
HYPERLINK "http://www.infowebml.ws/"www.InfowebML.ws 
HYPERLINK "mailto:hans.teijgeler@quicknet.nl"hans.teijgeler@quicknet.nl
 
 

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.446 / Virus Database: 269.0.0/754 - Release Date: 09-Apr-07
22:59
 
Received on Tuesday, 10 April 2007 08:07:01 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 21:45:14 GMT