W3C home > Mailing lists > Public > www-rdf-interest@w3.org > August 2004

RE: using datatype for ObjectProperty range

From: David Rager <drager@bbn.com>
Date: Mon, 23 Aug 2004 17:19:53 -0400
To: "'Prajakta Nivargi'" <Prajakta.Nivargi@asu.edu>, <www-rdf-interest@w3.org>
Message-ID: <000001c48956$ef7e2170$ecf42180@Coldragerl1>
It is allowed in OWL Full, but not OWL DL or Lite.   
 
I've fixed the problem in the source code, but it will be a while until it
makes it into the latest bundled release. 
 
Please note that the online validator is not up to date with the latest
release at http://www.semwebcentral.org.

-Dave

-----Original Message-----
From: Prajakta Nivargi [mailto:Prajakta.Nivargi@asu.edu] 
Sent: Monday, August 23, 2004 3:20 PM
To: www-rdf-interest@w3.org
Cc: drager@bbn.com
Subject: using datatype for ObjectProperty range



I have declared the following class and its property in OWL.

 

<!-- Open class. Category : Open -->

 <owl:Class rdf:ID="Open" rdfs:label="Open">

 <rdfs:comment>A category of unrestricted data or public data</rdfs:comment>


 <rdfs:subClassOf
rdf:resource="http://www.public.asu.edu/~pnivargi/ppm/ontologies/Data.owl#Ca
tegory" /> 

 </owl:Class>

 

<!-- level property: Assigns a number as a level to each category -->

 <owl:ObjectProperty rdf:ID="level" rdfs:label="level">

 <rdfs:domain
rdf:resource="http://www.public.asu.edu/~pnivargi/ppm/ontologies/Data.owl#Ca
tegory" /> 

 <rdfs:range
rdf:resource="http://www.w3.org/2001/XMLSchema#positiveInteger"/>

 </owl:ObjectProperty>

 

When I tested my ontology using the OWL validator provided by BBN
Technologies on 

http://owl.bbn.com/validator/

 

I get the following warnings:

 


http://www.public.asu.edu/~pnivargi/ppm/ontologies/Data.owl#level
<http://www.daml.org/cgi-bin/hyperdaml?http://www.public.asu.edu/%7Epnivargi
/ppm/ontologies/Data.owl#level> 
http://www.w3.org/2000/01/rdf-schema#range
<http://www.daml.org/cgi-bin/hyperdaml?http://www.w3.org/2000/01/rdf-schema#
range> 
http://www.w3.org/2001/XMLSchema#positiveInteger
<http://www.daml.org/cgi-bin/hyperdaml?http://www.w3.org/2001/XMLSchema#posi
tiveInteger> 

 

 

Statement Indication

 

The range restriction for an ObjectProperty can not be a datatype.

 

 

I used this because I saw this being used in an example on the OWL
specifications on w3c website. Is this not allowed? Is there any workaround
for it?

 

Prajakta

 

 
Received on Monday, 23 August 2004 21:20:35 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 07:14:57 UTC