TestCase:WebOnt-I5.21-002

From OWL Test Cases

Jump to:navigation, search
[Download OWL]
Test Id WebOnt-I5.21-002
Description The construct used here shows how to express mutual disjointness between classes with O(N) triples.
Status Approved (2009-04-28, when passed by 2 implementations) (proposed 2009-01-06)
Author Ian Horrocks
Original syntax RDF-XML
Syntactic Species/Profile OWL 2 DL (not EL, not QL, not RL)
Semantics This test is applicable under both direct and RDF-based semantics.
WebOnt test http://www.w3.org/2002/03owlt/I5.21/Manifest002#test
Premise ontology (download)

Convert syntax: functional, XML, Manchester      This informative conversion will be incorrect for OWL 2 Full. info.pngConversions are provided by the OWL Syntax Converter which tries to "repair" OWL 2 Full inputs to become DL.
Open in RDF Validator

<rdf:RDF
    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:first="http://www.w3.org/2002/03owlt/I5.21/premises002#"
    xml:base="http://www.w3.org/2002/03owlt/I5.21/premises002" >

   <owl:Ontology/>
   <owl:Class rdf:ID="Reptile">
     <rdfs:subClassOf>
        <owl:Restriction>
           <owl:onProperty>
              <owl:DatatypeProperty rdf:ID="family-name"/>
           </owl:onProperty>
           <owl:cardinality rdf:datatype=
 "http://www.w3.org/2001/XMLSchema#int">1</owl:cardinality>
        </owl:Restriction>
     </rdfs:subClassOf>
   </owl:Class>

    <owl:Class rdf:about="#Amphisbaenidae">
      <rdfs:subClassOf rdf:resource="#Reptile" />
      <rdfs:subClassOf>
        <owl:Restriction>
          <owl:onProperty rdf:resource="#family-name"/>
          <owl:hasValue>Amphisbaenidae</owl:hasValue>
        </owl:Restriction>
      </rdfs:subClassOf>
    </owl:Class>

    <owl:Class rdf:about="#Agamidae">
      <rdfs:subClassOf rdf:resource="#Reptile" />
      <rdfs:subClassOf>
        <owl:Restriction>
          <owl:onProperty rdf:resource="#family-name"/>
          <owl:hasValue>Agamidae</owl:hasValue>
        </owl:Restriction>
      </rdfs:subClassOf>
    </owl:Class>

    <owl:Class rdf:about="#Anomalepidae">
      <rdfs:subClassOf rdf:resource="#Reptile" />
      <rdfs:subClassOf>
        <owl:Restriction>
          <owl:onProperty rdf:resource="#family-name"/>
          <owl:hasValue>Anomalepidae</owl:hasValue>
        </owl:Restriction>
      </rdfs:subClassOf>
    </owl:Class>
          
    <owl:Class rdf:about="#Emydidae">
      <rdfs:subClassOf rdf:resource="#Reptile" />
      <rdfs:subClassOf>
        <owl:Restriction>
          <owl:onProperty rdf:resource="#family-name"/>
          <owl:hasValue>Emydidae</owl:hasValue>
        </owl:Restriction>
      </rdfs:subClassOf>
    </owl:Class>

    <owl:Class rdf:about="#Crocodylidae">
      <rdfs:subClassOf rdf:resource="#Reptile" />
      <rdfs:subClassOf>
        <owl:Restriction>
          <owl:onProperty rdf:resource="#family-name"/>
          <owl:hasValue>Crocodylidae</owl:hasValue>
        </owl:Restriction>
      </rdfs:subClassOf>
    </owl:Class>

    <owl:Class rdf:about="#Gekkonidae">
      <rdfs:subClassOf rdf:resource="#Reptile" />
      <rdfs:subClassOf>
        <owl:Restriction>
          <owl:onProperty rdf:resource="#family-name"/>
          <owl:hasValue>Gekkonidae</owl:hasValue>
        </owl:Restriction>
      </rdfs:subClassOf>
    </owl:Class>

    <owl:Class rdf:about="#Sphenodontidae">
      <rdfs:subClassOf rdf:resource="#Reptile" />
      <rdfs:subClassOf>
        <owl:Restriction>
          <owl:onProperty rdf:resource="#family-name"/>
          <owl:hasValue>Sphenodontidae</owl:hasValue>
        </owl:Restriction>
      </rdfs:subClassOf>
    </owl:Class>

    <owl:Class rdf:about="#Cordylidae">
      <rdfs:subClassOf rdf:resource="#Reptile" />
      <rdfs:subClassOf>
        <owl:Restriction>
          <owl:onProperty rdf:resource="#family-name"/>
          <owl:hasValue>Cordylidae</owl:hasValue>
        </owl:Restriction>
      </rdfs:subClassOf>
    </owl:Class>

    <owl:Class rdf:about="#Bipedidae">
      <rdfs:subClassOf rdf:resource="#Reptile" />
      <rdfs:subClassOf>
        <owl:Restriction>
          <owl:onProperty rdf:resource="#family-name"/>
          <owl:hasValue>Bipedidae</owl:hasValue>
        </owl:Restriction>
      </rdfs:subClassOf>
    </owl:Class>

    <owl:Class rdf:about="#Leptotyphlopidae">
      <rdfs:subClassOf rdf:resource="#Reptile" />
      <rdfs:subClassOf>
        <owl:Restriction>
          <owl:onProperty rdf:resource="#family-name"/>
          <owl:hasValue>Leptotyphlopidae</owl:hasValue>
        </owl:Restriction>
      </rdfs:subClassOf>
    </owl:Class>

    <owl:Class rdf:about="#Xantusiidae">
      <rdfs:subClassOf rdf:resource="#Reptile" />
      <rdfs:subClassOf>
        <owl:Restriction>
          <owl:onProperty rdf:resource="#family-name"/>
          <owl:hasValue>Xantusiidae</owl:hasValue>
        </owl:Restriction>
      </rdfs:subClassOf>
    </owl:Class>

    <owl:Class rdf:about="#Loxocemidae">
      <rdfs:subClassOf rdf:resource="#Reptile" />
      <rdfs:subClassOf>
        <owl:Restriction>
          <owl:onProperty rdf:resource="#family-name"/>
          <owl:hasValue>Loxocemidae</owl:hasValue>
        </owl:Restriction>
      </rdfs:subClassOf>
    </owl:Class>


</rdf:RDF>
Conclusion ontology (download)

Convert syntax: functional, XML, Manchester      This informative conversion will be incorrect for OWL 2 Full. info.pngConversions are provided by the OWL Syntax Converter which tries to "repair" OWL 2 Full inputs to become DL.
Open in RDF Validator

<rdf:RDF
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:owl="http://www.w3.org/2002/07/owl#"
    xml:base="http://www.w3.org/2002/03owlt/I5.21/conclusions002" >

    <owl:Ontology/>
    <owl:Class rdf:about="premises002#Amphisbaenidae">
      <owl:disjointWith rdf:resource="premises002#Agamidae"/>
      <owl:disjointWith rdf:resource="premises002#Anomalepidae"/>
      <owl:disjointWith rdf:resource="premises002#Emydidae"/>
      <owl:disjointWith rdf:resource="premises002#Crocodylidae"/>
      <owl:disjointWith rdf:resource="premises002#Gekkonidae"/>
      <owl:disjointWith rdf:resource="premises002#Sphenodontidae"/>
      <owl:disjointWith rdf:resource="premises002#Cordylidae"/>
      <owl:disjointWith rdf:resource="premises002#Bipedidae"/>
      <owl:disjointWith rdf:resource="premises002#Leptotyphlopidae"/>
      <owl:disjointWith rdf:resource="premises002#Xantusiidae"/>
      <owl:disjointWith rdf:resource="premises002#Loxocemidae"/>
    </owl:Class>

    <owl:Class rdf:about="premises002#Agamidae">
      <owl:disjointWith rdf:resource="premises002#Anomalepidae"/>
      <owl:disjointWith rdf:resource="premises002#Emydidae"/>
      <owl:disjointWith rdf:resource="premises002#Crocodylidae"/>
      <owl:disjointWith rdf:resource="premises002#Gekkonidae"/>
      <owl:disjointWith rdf:resource="premises002#Sphenodontidae"/>
      <owl:disjointWith rdf:resource="premises002#Cordylidae"/>
      <owl:disjointWith rdf:resource="premises002#Bipedidae"/>
      <owl:disjointWith rdf:resource="premises002#Leptotyphlopidae"/>
      <owl:disjointWith rdf:resource="premises002#Xantusiidae"/>
      <owl:disjointWith rdf:resource="premises002#Loxocemidae"/>
    </owl:Class>

    <owl:Class rdf:about="premises002#Anomalepidae">
      <owl:disjointWith rdf:resource="premises002#Emydidae"/>
      <owl:disjointWith rdf:resource="premises002#Crocodylidae"/>
      <owl:disjointWith rdf:resource="premises002#Gekkonidae"/>
      <owl:disjointWith rdf:resource="premises002#Sphenodontidae"/>
      <owl:disjointWith rdf:resource="premises002#Cordylidae"/>
      <owl:disjointWith rdf:resource="premises002#Bipedidae"/>
      <owl:disjointWith rdf:resource="premises002#Leptotyphlopidae"/>
      <owl:disjointWith rdf:resource="premises002#Xantusiidae"/>
      <owl:disjointWith rdf:resource="premises002#Loxocemidae"/>
    </owl:Class>

    <owl:Class rdf:about="premises002#Emydidae">
      <owl:disjointWith rdf:resource="premises002#Crocodylidae"/>
      <owl:disjointWith rdf:resource="premises002#Gekkonidae"/>
      <owl:disjointWith rdf:resource="premises002#Sphenodontidae"/>
      <owl:disjointWith rdf:resource="premises002#Cordylidae"/>
      <owl:disjointWith rdf:resource="premises002#Bipedidae"/>
      <owl:disjointWith rdf:resource="premises002#Leptotyphlopidae"/>
      <owl:disjointWith rdf:resource="premises002#Xantusiidae"/>
      <owl:disjointWith rdf:resource="premises002#Loxocemidae"/>
    </owl:Class>

    <owl:Class rdf:about="premises002#Crocodylidae">
      <owl:disjointWith rdf:resource="premises002#Gekkonidae"/>
      <owl:disjointWith rdf:resource="premises002#Sphenodontidae"/>
      <owl:disjointWith rdf:resource="premises002#Cordylidae"/>
      <owl:disjointWith rdf:resource="premises002#Bipedidae"/>
      <owl:disjointWith rdf:resource="premises002#Leptotyphlopidae"/>
      <owl:disjointWith rdf:resource="premises002#Xantusiidae"/>
      <owl:disjointWith rdf:resource="premises002#Loxocemidae"/>
    </owl:Class>

    <owl:Class rdf:about="premises002#Gekkonidae">
      <owl:disjointWith rdf:resource="premises002#Sphenodontidae"/>
      <owl:disjointWith rdf:resource="premises002#Cordylidae"/>
      <owl:disjointWith rdf:resource="premises002#Bipedidae"/>
      <owl:disjointWith rdf:resource="premises002#Leptotyphlopidae"/>
      <owl:disjointWith rdf:resource="premises002#Xantusiidae"/>
      <owl:disjointWith rdf:resource="premises002#Loxocemidae"/>
    </owl:Class>

    <owl:Class rdf:about="premises002#Sphenodontidae">
      <owl:disjointWith rdf:resource="premises002#Cordylidae"/>
      <owl:disjointWith rdf:resource="premises002#Bipedidae"/>
      <owl:disjointWith rdf:resource="premises002#Leptotyphlopidae"/>
      <owl:disjointWith rdf:resource="premises002#Xantusiidae"/>
      <owl:disjointWith rdf:resource="premises002#Loxocemidae"/>
    </owl:Class>

    <owl:Class rdf:about="premises002#Cordylidae">
      <owl:disjointWith rdf:resource="premises002#Bipedidae"/>
      <owl:disjointWith rdf:resource="premises002#Leptotyphlopidae"/>
      <owl:disjointWith rdf:resource="premises002#Xantusiidae"/>
      <owl:disjointWith rdf:resource="premises002#Loxocemidae"/>
    </owl:Class>

    <owl:Class rdf:about="premises002#Bipedidae">
      <owl:disjointWith rdf:resource="premises002#Leptotyphlopidae"/>
      <owl:disjointWith rdf:resource="premises002#Xantusiidae"/>
      <owl:disjointWith rdf:resource="premises002#Loxocemidae"/>
    </owl:Class>

    <owl:Class rdf:about="premises002#Leptotyphlopidae">
      <owl:disjointWith rdf:resource="premises002#Xantusiidae"/>
      <owl:disjointWith rdf:resource="premises002#Loxocemidae"/>
    </owl:Class>

    <owl:Class rdf:about="premises002#Xantusiidae">
      <owl:disjointWith rdf:resource="premises002#Loxocemidae"/>
    </owl:Class>

    <owl:Class rdf:about="premises002#Loxocemidae">
    </owl:Class>

</rdf:RDF>
Imported ontologies none

The version of this test approved by the WebOnt WG was incorrect. The premise ontology present in that version of the test was marked as an OWL DL document, but was not OWL DL because it did not contain a triple of the form O rdf:type owl:Ontology. The ontology has been revised to contain the necessary triple.

The version of this test approved by the WebOnt WG was incorrect. The conclusion ontology present in that version of the test was marked as an OWL DL document, but was not OWL DL because it did not contain a triple of the form O rdf:type owl:Ontology. The ontology has been revised to contain the necessary triple.

OWL EL Report (Informative)

Ontology violates the OWL EL constraints in at least the following:

OWL QL Report (Informative)

Ontology violates the OWL QL constraints in at least the following:

OWL RL Report (Informative)

Ontology violates the OWL RL constraints in at least the following:

Navigation
OWL 2 Informative
OWL 2 Normative
Toolbox