Search Mailing List Archives


Limit search to: Subject & Body Subject Author
Sort by: Reverse Sort
Limit to: All This Week Last Week This Month Last Month
Select Date Range     through    

[protege-discussion] Can't classify the OWL class properly, Why?

刘康 liukzg at gmail.com
Sat Sep 5 02:21:19 PDT 2009


I'm not the expert of OWL, and I usually don't write the OWL in text.
The definition of we discussed by Protege 3.4 is shown bellow:

<?xml version="1.0"?>
<rdf:RDF
    xmlns="http://www.owl-ontologies.com/Ontology1252141652.owl#"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:protege="http://protege.stanford.edu/plugins/owl/protege#"
    xmlns:xsp="http://www.owl-ontologies.com/2005/08/07/xsp.owl#"
    xmlns:owl="http://www.w3.org/2002/07/owl#"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
    xmlns:swrl="http://www.w3.org/2003/11/swrl#"
    xmlns:swrlb="http://www.w3.org/2003/11/swrlb#"
    xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
  xml:base="http://www.owl-ontologies.com/Ontology1252141652.owl">
  <owl:Ontology rdf:about=""/>
  <owl:Class rdf:ID="C">
    <owl:equivalentClass>
      <owl:Class>
        <owl:intersectionOf rdf:parseType="Collection">
          <owl:Class rdf:ID="A"/>
          <owl:Restriction>
            <owl:onProperty>
              <owl:ObjectProperty rdf:ID="pA"/>
            </owl:onProperty>
            <owl:allValuesFrom>
              <owl:Class rdf:ID="B"/>
            </owl:allValuesFrom>
          </owl:Restriction>
        </owl:intersectionOf>
      </owl:Class>
    </owl:equivalentClass>
    <rdfs:subClassOf rdf:resource="http://www.w3.org/2002/07/owl#Thing"/>
  </owl:Class>
  <owl:ObjectProperty rdf:about="#pA">
    <rdfs:domain rdf:resource="#A"/>
  </owl:ObjectProperty>
  <A rdf:ID="x">
    <pA>
      <B rdf:ID="y"/>
    </pA>
  </A>
</rdf:RDF>

<!-- Created with Protege (with OWL Plugin 3.4, Build 533)
http://protege.stanford.edu -->

Notes the individual x is asserted:

  <A rdf:ID="x">
    <pA>
      <B rdf:ID="y"/>
    </pA>
  </A>

Where pA has a valuse y and y belong to B. Couldn't the text shows
that the x only has a pA value of y?



More information about the protege-discussion mailing list