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

Representing domain and/or range in OWL

From: Monika Solanki <monika@dmu.ac.uk>
Date: Mon, 16 Jun 2003 19:30:01 +0100
Message-ID: <3EEE0CA9.9000309@dmu.ac.uk>
To: www-rdf-interest@w3.org
Hello,

I can represent the domain and/or range values of a Property P as follows:

<owl:ObjectProperty rdf:ID="P">
 <rdfs:domain>
                <owl:Class>
                <owl:unionOf rdf:parseType="Collection">
                    <owl:Class rdf:about="#A"/>
                    <owl:Class rdf:about="#B"/>
                    <owl:Class rdf:about="#C"/>
                </owl:unionOf>
            </owl:Class>
    </rdfs:domain>
</owl: ObjectProperty>

Where Classes A , B and C have been defined elsewhere in the file. I 
create an instance of A, B or C and apply the property P to the instance.

< A rdf : ID ="abc">
    <P>#xyz</P>
</A>

After this when I validate the Ontology, I get the following warning for 
property P:

 Use of this property implies that subject is of type 
anon:ee4648:f5d1c5f1e1:-7fb0.  (Subject is declared type 
[http://www.temp/temp.owl#A])

I am not sure if  anon:ee4648:f5d1c5f1e1:-7fb0 has been generated when 
the about attribute for the class was parsed. Is this suppose to be 
treated as a serious error and is this representation of domain wrong? I 
am confused .

Any help well apppreciated.

Thanks,

Monika

p.s: I am using the bbn owl validator.
-- 
 >**<>**<>**<>**<>**<>**<>**<>**<>**<>**<
Monika Solanki
De Montfort University
Software Technology Research Laboratory
Hawthorn building, H00.18
The Gateway.
Leicester LE1 9BH, UK

phone: +44 (0)116 250 6170 intern: 6170
email: monika@dmu.ac.uk <mailto:monika@dmu.ac.uk>
web: http://www.cse.dmu.ac.uk/~monika/ 
<http://www.cse.dmu.ac.uk/%7Emonika/>
 >**<>**<>**<>**<>**<>**<>**<>**<>**<>**<
"NOTE: The information transmitted is intended only for the person or 
entity to which it is addressed and may contain confidential and/or 
privileged material. Any review, retransmission, dissemination or other 
use of, or taking of any action in reliance upon this information by 
persons or entities other than the intended recipient is prohibited. If 
you received this in error, please contact the sender and delete the 
material from any computer"
Received on Monday, 16 June 2003 14:24:07 GMT

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