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

object of property shall be of an XML Schema datatype

From: Hans Teijgeler <hans.teijgeler@quicknet.nl>
Date: Sun, 26 Aug 2007 21:41:22 +0200
To: "SW-forum" <semantic-web@w3.org>
Message-ID: <000001c7e819$18b01d90$6c7ba8c0@hans>

Hi,
 
I am struggling with the question how to define a Restriction (or else)
telling that the object of a particular property shall be an xsd:float, or
any other XML Schema datatype.
 
For example:
 
    <rdfs:subClassOf>
     <owl:Restriction>
         <owl:onProperty rdf:resource="#value"/>
         <owl:allValuesFrom
rdf:resource="http://www.w3.org/2001/XMLSchema#float"/>
     </owl:Restriction>
   </rdfs:subClassOf>

allValuesFrom expects a resource, and xsd:float isn't that.
There must be a simple solution for this common problem.
 
Any suggestions?
 
Regards,
Hans
 
____________________
OntoConsult
Hans Teijgeler
ISO 15926 specialist
Netherlands
+31-72-509 2005
www.InfowebML.ws
hans.teijgeler@quicknet.nl
 

No virus found in this outgoing message.
Checked by AVG Free Edition. 
Version: 7.5.484 / Virus Database: 269.12.8/974 - Release Date: 26-Aug-07
16:34
 
Received on Sunday, 26 August 2007 19:41:55 GMT

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