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

Correct Owl representation

From: Monika Solanki <monika@dmu.ac.uk>
Date: Fri, 26 Sep 2003 19:21:00 +0100
Message-ID: <3F74838C.8000606@dmu.ac.uk>
To: www-rdf-interest <www-rdf-interest@w3.org>, costello@mitre.org

I am confused about the representation in OWL for the following

<owl:DatatypeProperty rdf:ID="focal-length">
        <owl:equivalentProperty rdf:resource="#size"/>
        <rdfs:domain rdf:resource="#Lens"/>
        <rdfs:range rdf:resource="&xsd;#string"/>


<owl:DatatypeProperty rdf:ID="f-stop">
        <owl:equivalentProperty rdf:resource="#aperture"/>
        <rdfs:domain rdf:resource="#Lens"/>
        <rdfs:range rdf:resource="&xsd;#string"/>

and then use it as ,

    <focal-length>75-300mm zoom</focal-length>

Would the above be incorrect representation in OWL ?

Would it be correct to do it like this  

    <focal-length rdf:datatype="&xsd;string">75-300mm zoom</focal-length>
   <f-stop rdf:datatype="&xsd;string">4.5-5.6</f-stop>

If this is correct, then what is the rationale behind specifying range 
as "String" in defining the property ?

Monika Solanki
Software Technology Research Laboratory(STRL)
De Montfort University
Hawthorn building, H00.18
The Gateway
Leicester LE1 9BH, UK

phone: +44 (0)116 250 6170 intern: 6170
email: monika@dmu.ac.uk
web: http://www.cse.dmu.ac.uk/~monika
Received on Friday, 26 September 2003 14:17:23 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 6 January 2021 22:03:27 UTC