RE: Not out of the water yet...OWL DL properties

Hi Dan,

I may be totally wrong, but why did you not try:

xmlns:j.0="http://ontology.lle.rochester.edu/"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
xmlns:owl="http://www.w3.org/2002/07/owl#"
xmlns:j.1="http://ontology.lle.rochester.edu/Pics/Diagnostics/Calorimetry/"

<owl:ObjectProperty
rdf:about="http://ontology.lle.rochester.edu/ImageProperty"/>

<owl:Class
rdf:about="http://ontology.lle.rochester.edu/CalControlsHardwareRequirements
">
	<rdfs:subClassOf
rdf:resource="http://ontology.lle.rochester.edu/CalorimeterControls"/>
	<rdfs:subClassOf>
		<owl:Restriction>
			<owl:onProperty
rdf:resource="http://ontology.lle.rochester.edu/ImageProperty"/>
			<owl:hasValue
rdf:resource="http://ontology.lle.rochester.edu/Pics/Diagnostics/Calorimetry
/D-AB-M-037_REVA_12.png"/>
		</owl:Restriction>
	</rdfs:subClassOf>
</owl:Class>

Regards,
Hans 

-----Original Message-----
From: public-owl-dev-request@w3.org [mailto:public-owl-dev-request@w3.org]
On Behalf Of Daniel Gresh
Sent: Thursday, August 10, 2006 21:12
To: public-owl-dev@w3.org
Subject: Not out of the water yet...OWL DL properties


Hi,

More on the image property thing. I need to give a class that property, but
that doesn't seem to be working out too well (it works fine for
Individuals). I have this:

    xmlns:j.0="http://ontology.lle.rochester.edu/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
    xmlns:owl="http://www.w3.org/2002/07/owl#"
    
xmlns:j.1="http://ontology.lle.rochester.edu/Pics/Diagnostics/Calorimetry/"

<owl:ObjectProperty
rdf:about="http://ontology.lle.rochester.edu/ImageProperty"/>
<owl:Class
rdf:about="http://ontology.lle.rochester.edu/CalControlsHardwareRequirements
">
    <j.0:ImageProperty>
      <owl:Thing
rdf:about="http://ontology.lle.rochester.edu/Pics/Diagnostics/Calorimetry/D-
AB-M-037_REVA_12.png"/>
    </j.0:ImageProperty>
    <rdfs:subClassOf
rdf:resource="http://ontology.lle.rochester.edu/CalorimeterControls"/>
  </owl:Class>

And it does not work for classes.

 It does however, work for individuals (THIS WORKS):

  <j.0:InfraredFullApertureCalorimeterSystem
rdf:about="http://ontology.lle.rochester.edu/IRCalSystemAppendix">
    <j.0:ImageProperty
rdf:resource="http://ontology.lle.rochester.edu/Pics/Diagnostics/Calorimetry
/D-AB-R-035_REVA_13.png"/>
  </j.0:InfraredFullApertureCalorimeterSystem>

Pellet says: /Multiple Types/: Resource
ontology.lle.rochester.edu:ImageProperty
<http://ontology.lle.rochester.edu/ImageProperty> is used as an individual
but defined as aclass *Add the following statements to make this document
OWL DL* <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
</rdf:RDF>

That doesn't make much sense however (the add the following statements
part).

So my question is: is there a way to refine the ImageProperty so it can be
used with classes? Or did I just miss some blatant error again?

Thanks for the help,
Dan

--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.0.405 / Virus Database: 268.10.8/415 - Release Date: 09-Aug-06
 

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.0.405 / Virus Database: 268.10.8/415 - Release Date: 09-Aug-06
 

Received on Friday, 11 August 2006 05:39:32 UTC