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

Received on Thursday, 10 August 2006 19:12:29 UTC