previous next top contents index

OWL Web Ontology Language
Test Cases
C.1. By Function


Contents


C.1. By Function

C.1.1. owl:AnnotationProperty

LiteNegative Entailment Test:001
Description: (informative) <AnnotationProperty/Manifest001#test>
The semantics of annotations in the direct semantics strictly distinguishes class valued annotations from individual valued annotations.
N3 format is informative.
LitePremises: <AnnotationProperty/premises001>
<rdf:RDF
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:owl="http://www.w3.org/2002/07/owl#"
    xmlns:first="http://www.w3.org/2002/03owlt/AnnotationProperty/premises001#"
    xml:base="http://www.w3.org/2002/03owlt/AnnotationProperty/premises001" >

  <owl:Class rdf:ID="A">
    <first:ap>
       <owl:Class rdf:ID="B"/>
    </first:ap>
  </owl:Class>
  <owl:AnnotationProperty rdf:ID="ap"/>

</rdf:RDF>
first:A rdf:type owl:Class .
first:B rdf:type owl:Class .
first:A first:ap first:B .
first:ap rdf:type owl:AnnotationProperty .
LiteConclusions: <AnnotationProperty/nonconclusions001>
<rdf:RDF
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:owl="http://www.w3.org/2002/07/owl#"
    xmlns:first="http://www.w3.org/2002/03owlt/AnnotationProperty/premises001#"
    xml:base="http://www.w3.org/2002/03owlt/AnnotationProperty/nonconclusions001" >

  <owl:Class rdf:about="premises001#A">
    <first:ap>
       <owl:Thing />
    </first:ap>
  </owl:Class>
  <owl:AnnotationProperty rdf:about="premises001#ap"/>

</rdf:RDF>
first:A rdf:type owl:Class .
_:a rdf:type owl:Thing .
first:A first:ap _:a .
first:ap rdf:type owl:AnnotationProperty .

FullPositive Entailment Test:002
Description: (informative) <AnnotationProperty/Manifest002#test>
Under the rdfs compatible semantics, the previous non-entailment is, in fact, an entailment.
N3 format is informative.
LitePremises: <AnnotationProperty/premises002>
<rdf:RDF
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:owl="http://www.w3.org/2002/07/owl#"
    xmlns:first="http://www.w3.org/2002/03owlt/AnnotationProperty/premises002#"
    xml:base="http://www.w3.org/2002/03owlt/AnnotationProperty/premises002" >

  <owl:Class rdf:ID="A">
    <first:ap>
       <owl:Class rdf:ID="B"/>
    </first:ap>
  </owl:Class>
  <owl:AnnotationProperty rdf:ID="ap"/>

</rdf:RDF>
first:A rdf:type owl:Class .
first:B rdf:type owl:Class .
first:A first:ap first:B .
first:ap rdf:type owl:AnnotationProperty .
LiteConclusions: <AnnotationProperty/conclusions002>
<rdf:RDF
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:owl="http://www.w3.org/2002/07/owl#"
    xmlns:first="http://www.w3.org/2002/03owlt/AnnotationProperty/premises002#"
    xml:base="http://www.w3.org/2002/03owlt/AnnotationProperty/conclusions002" >

  <owl:Class rdf:about="premises002#A">
    <first:ap>
       <owl:Thing />
    </first:ap>
  </owl:Class>
  <owl:AnnotationProperty rdf:about="premises002#ap"/>

</rdf:RDF>
first:A rdf:type owl:Class .
_:a rdf:type owl:Thing .
first:A first:ap _:a .
first:ap rdf:type owl:AnnotationProperty .

C.1.2. owl:DatatypeProperty

FullConsistent document.001
Description: (informative) <DatatypeProperty/Manifest001#test>
DatatypeProperty's may be used to related typed literals to typed literals, in OWL Full.
N3 format is informative.
FullConsistent: <DatatypeProperty/consistent001>
<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/DatatypeProperty/consistent001#"
    xml:base="http://www.w3.org/2002/03owlt/DatatypeProperty/consistent001" >
  <owl:DatatypeProperty rdf:ID="convertedAbsoluteValue">
    <rdfs:domain rdf:resource="http://www.w3.org/2001/XMLSchema#integer"/>
    <rdfs:range rdf:resource=
        "http://www.w3.org/2001/XMLSchema#nonNegativeInteger" />
  </owl:DatatypeProperty>
  <rdf:Description>
     <owl:sameAs rdf:datatype=
      "http://www.w3.org/2001/XMLSchema#integer"
     >-3</owl:sameAs>
     <first:convertedAbsoluteValue rdf:datatype=
     "http://www.w3.org/2001/XMLSchema#nonNegativeInteger"
     >3</first:convertedAbsoluteValue>
  </rdf:Description>
</rdf:RDF>
first:convertedAbsoluteValue rdf:type owl:DatatypeProperty .
first:convertedAbsoluteValue rdfs:domain xsd:integer .
first:convertedAbsoluteValue rdfs:range xsd:nonNegativeInteger .
_:a owl:sameAs "-3"^^xsd:integer  .
_:a first:convertedAbsoluteValue "3"^^xsd:nonNegativeInteger  .

C.1.3. owl:FunctionalProperty

FullPositive Entailment Test:005
Description: (informative) <FunctionalProperty/Manifest005#test>
If prop belongs to owl:FunctionalProperty then an OWL individual has at most one value for prop.
N3 format is informative.
Namespaces:
@prefix eg: <http://www.example.org/> .
FullPremises: <FunctionalProperty/premises005>
<rdf:RDF
    xml:base="http://www.w3.org/2002/03owlt/FunctionalProperty/premises005"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
  xmlns:owl ="http://www.w3.org/2002/07/owl#"
  xmlns:eg ="http://www.example.org/">
    <owl:FunctionalProperty rdf:about="http://www.example.org/foo#prop" />
    <owl:Thing rdf:about="http://www.example.org/foo#object" />
</rdf:RDF>
eg:foo#prop rdf:type owl:FunctionalProperty .
eg:foo#object rdf:type owl:Thing .
FullConclusions: <FunctionalProperty/conclusions005>
<rdf:RDF
    xml:base="http://www.w3.org/2002/03owlt/FunctionalProperty/conclusions005"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
  xmlns:owl ="http://www.w3.org/2002/07/owl#"
  xmlns:eg ="http://www.example.org/">
    <owl:Thing rdf:about="http://www.example.org/foo#object">
      <rdf:type>
        <owl:Restriction>
   <owl:onProperty>
     <owl:FunctionalProperty rdf:about="http://www.example.org/foo#prop" />
   </owl:onProperty>
   <owl:maxCardinality 
      rdf:datatype="http://www.w3.org/2001/XMLSchema#nonNegativeInteger"
      >1</owl:maxCardinality>
        </owl:Restriction>
      </rdf:type>
    </owl:Thing>
</rdf:RDF>
eg:foo#object rdf:type owl:Thing .
_:a rdf:type owl:Restriction .
eg:foo#prop rdf:type owl:FunctionalProperty .
_:a owl:onProperty eg:foo#prop .
_:a owl:maxCardinality "1"^^xsd:nonNegativeInteger  .
eg:foo#object rdf:type _:a .

C.1.4. owl:Nothing

Lite FullInconsistent document.001
Description: (informative) <Nothing/Manifest001#test>
The triple asserts something of type owl:Nothing, however that is the empty class.
N3 format is informative.
LiteInconsistent: <Nothing/inconsistent001>
<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/Nothing/inconsistent001" >

  <owl:Nothing/>

</rdf:RDF>
_:a rdf:type owl:Nothing .

C.1.5. owl:Restriction

Lite FullInconsistent document.001
Description: (informative) <Restriction/Manifest001#test>
This test shows the syntax for using the same restriction twice in OWL Lite.
N3 format is informative.
LiteInconsistent: <Restriction/inconsistent001>
<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/Restriction/inconsistent001#"
    xml:base="http://www.w3.org/2002/03owlt/Restriction/inconsistent001" >
   <owl:ObjectProperty rdf:ID="op"/>
   <rdf:Description rdf:ID="a">
     <rdf:type>
        <owl:Restriction>
           <owl:onProperty rdf:resource="#op"/>
           <owl:someValuesFrom rdf:resource=
     "http://www.w3.org/2002/07/owl#Nothing" />
        </owl:Restriction>
     </rdf:type>
   </rdf:Description>
   <rdf:Description rdf:ID="b">
     <rdf:type>
        <owl:Restriction>
           <owl:onProperty rdf:resource="#op"/>
           <owl:someValuesFrom rdf:resource=
     "http://www.w3.org/2002/07/owl#Nothing" />
        </owl:Restriction>
     </rdf:type>
   </rdf:Description>
               


</rdf:RDF>
first:op rdf:type owl:ObjectProperty .
_:a rdf:type owl:Restriction .
_:a owl:onProperty first:op .
_:a owl:someValuesFrom owl:Nothing .
first:a rdf:type _:a .
_:c rdf:type owl:Restriction .
_:c owl:onProperty first:op .
_:c owl:someValuesFrom owl:Nothing .
first:b rdf:type _:c .

FullInconsistent document.002
Description: (informative) <Restriction/Manifest002#test>
This test shows syntax that is not permitted in OWL Lite or OWL DL for using the same restriction twice.
N3 format is informative.
FullInconsistent: <Restriction/inconsistent002>
<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/Restriction/inconsistent002" >
   <owl:ObjectProperty rdf:ID="op"/>
   <rdf:Description rdf:ID="a">
     <rdf:type>
        <owl:Restriction rdf:nodeID="r">
           <owl:onProperty rdf:resource="#op"/>
           <owl:someValuesFrom rdf:resource=
     "http://www.w3.org/2002/07/owl#Nothing" />
        </owl:Restriction>
     </rdf:type>
   </rdf:Description>
   <rdf:Description rdf:ID="b">
     <rdf:type rdf:nodeID="r"/>
   </rdf:Description>
               
</rdf:RDF>
first:op rdf:type owl:ObjectProperty .
_:a rdf:type owl:Restriction .
_:a owl:onProperty first:op .
_:a owl:someValuesFrom owl:Nothing .
first:a rdf:type _:a .
first:b rdf:type _:a .

FullConsistent document.003
Description: (informative) <Restriction/Manifest003#test>
This test shows syntax that is not permitted in OWL Lite or OWL DL for using the same restriction twice.
Datatypes that may or may not be supported: xsd:byte,
N3 format is informative.
FullConsistent: <Restriction/consistent003>
<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/Restriction/consistent003#"
    xml:base="http://www.w3.org/2002/03owlt/Restriction/consistent003" >
   <owl:DatatypeProperty rdf:ID="dp"/>
   <owl:Class rdf:ID="C">
     <owl:intersectionOf rdf:parseType="Collection">
        <owl:Class rdf:ID="superC"/>
        <owl:Restriction rdf:nodeID="r">
           <owl:onProperty rdf:resource="#dp"/>
           <owl:someValuesFrom rdf:resource=
     "http://www.w3.org/2001/XMLSchema#byte" />
        </owl:Restriction>
     </owl:intersectionOf>
   </owl:Class>
   <owl:Class rdf:ID="D">
     <owl:intersectionOf rdf:parseType="Collection">
        <owl:Class rdf:ID="superD"/>
        <rdf:Description rdf:nodeID="r"/>
     </owl:intersectionOf>
   </owl:Class>

</rdf:RDF>
first:dp rdf:type owl:DatatypeProperty .
first:C rdf:type owl:Class .
first:superC rdf:type owl:Class .
_:a rdf:type owl:Restriction .
_:a owl:onProperty first:dp .
_:a owl:someValuesFrom xsd:byte .
_:c rdf:first _:a .
_:c rdf:rest rdf:nil .
_:e rdf:first first:superC .
_:e rdf:rest _:c .
first:C owl:intersectionOf _:e .
first:D rdf:type owl:Class .
first:superD rdf:type owl:Class .
_:g rdf:first _:a .
_:g rdf:rest rdf:nil .
_:i rdf:first first:superD .
_:i rdf:rest _:g .
first:D owl:intersectionOf _:i .

Lite FullConsistent document.004
Description: (informative) <Restriction/Manifest004#test>
This test shows OWL Lite syntax for using two equivalent restrictions.
Datatypes that may or may not be supported: xsd:byte,
N3 format is informative.
LiteConsistent: <Restriction/consistent004>
<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#"
    xml:base="http://www.w3.org/2002/03owlt/Restriction/consistent004" >
   <owl:DatatypeProperty rdf:ID="dp"/>
   <owl:Class rdf:ID="C">
     <owl:intersectionOf rdf:parseType="Collection">
        <owl:Class rdf:ID="superC"/>
        <owl:Restriction>
           <owl:onProperty rdf:resource="#dp"/>
           <owl:someValuesFrom rdf:resource=
     "http://www.w3.org/2001/XMLSchema#byte" />
        </owl:Restriction>
     </owl:intersectionOf>
   </owl:Class>
   <owl:Class rdf:ID="D">
     <owl:intersectionOf rdf:parseType="Collection">
        <owl:Class rdf:ID="superD"/>
        <owl:Restriction>
           <owl:onProperty rdf:resource="#dp"/>
           <owl:someValuesFrom rdf:resource=
     "http://www.w3.org/2001/XMLSchema#byte" />
        </owl:Restriction>
     </owl:intersectionOf>
   </owl:Class>

</rdf:RDF>
first:dp rdf:type owl:DatatypeProperty .
first:C rdf:type owl:Class .
first:superC rdf:type owl:Class .
_:a rdf:type owl:Restriction .
_:a owl:onProperty first:dp .
_:a owl:someValuesFrom xsd:byte .
_:c rdf:first _:a .
_:c rdf:rest rdf:nil .
_:e rdf:first first:superC .
_:e rdf:rest _:c .
first:C owl:intersectionOf _:e .
first:D rdf:type owl:Class .
first:superD rdf:type owl:Class .
_:g rdf:type owl:Restriction .
_:g owl:onProperty first:dp .
_:g owl:someValuesFrom xsd:byte .
_:i rdf:first _:g .
_:i rdf:rest rdf:nil .
_:k rdf:first first:superD .
_:k rdf:rest _:i .
first:D owl:intersectionOf _:k .

C.1.6. owl:Thing

LiteConsistent document.001
Description: (informative) <Thing/Manifest001#test>
The extension of OWL Thing may be emtpy.
N3 format is informative.
LiteConsistent: <Thing/consistent001>
<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/Thing/consistent001" >

  <owl:Class rdf:about="http://www.w3.org/2002/07/owl#Thing">
    <owl:equivalentClass rdf:resource
       ="http://www.w3.org/2002/07/owl#Nothing"/>
  </owl:Class>

</rdf:RDF>
owl:Thing rdf:type owl:Class .
owl:Thing owl:equivalentClass owl:Nothing .

FullInconsistent document.002
Description: (informative) <Thing/Manifest002#test>
The extension of owl:Thing may not be emtpy in OWL Full.
N3 format is informative.
LiteInconsistent: <Thing/inconsistent002>
<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/Thing/inconsistent002#"
    xml:base="http://www.w3.org/2002/03owlt/Thing/inconsistent002" >

  <owl:Class rdf:about="http://www.w3.org/2002/07/owl#Thing">
    <owl:equivalentClass rdf:resource
       ="http://www.w3.org/2002/07/owl#Nothing"/>
  </owl:Class>

</rdf:RDF>
owl:Thing rdf:type owl:Class .
owl:Thing owl:equivalentClass owl:Nothing .

C.1.7. owl:cardinality

FullPositive Entailment Test:006
Description: (informative) <cardinality/Manifest006#test>
An owl:cardinality constraint is simply shorthand for a pair of owl:minCardinality and owl:maxCardinality constraints.
N3 format is informative.
FullPremises: <cardinality/premises006>
<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#"
    xml:base="http://www.w3.org/2002/03owlt/cardinality/premises006" >    
  <rdf:Description rdf:about="conclusions006#c">
     <owl:intersectionOf rdf:parseType="Collection">
        <owl:Restriction>
           <owl:onProperty rdf:resource="conclusions006#p"/>
           <owl:maxCardinality
 rdf:datatype="http://www.w3.org/2001/XMLSchema#nonNegativeInteger"
            >1</owl:maxCardinality>
         </owl:Restriction>
         <owl:Restriction>
            <owl:onProperty rdf:resource="conclusions006#p"/>
            <owl:minCardinality
 rdf:datatype="http://www.w3.org/2001/XMLSchema#nonNegativeInteger"
             >1</owl:minCardinality>
          </owl:Restriction>
       </owl:intersectionOf>
    </rdf:Description>
</rdf:RDF>
_:a rdf:type owl:Restriction .
_:a owl:onProperty second:p .
_:a owl:maxCardinality "1"^^xsd:nonNegativeInteger  .
_:c rdf:type owl:Restriction .
_:c owl:onProperty second:p .
_:c owl:minCardinality "1"^^xsd:nonNegativeInteger  .
_:e rdf:first _:c .
_:e rdf:rest rdf:nil .
_:g rdf:first _:a .
_:g rdf:rest _:e .
second:c owl:intersectionOf _:g .
FullConclusions: <cardinality/conclusions006>
<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#"
    xml:base="http://www.w3.org/2002/03owlt/cardinality/conclusions006" >
  <rdf:Description  rdf:ID="c">
     <owl:intersectionOf rdf:parseType="Collection">
        <owl:Restriction>
           <owl:onProperty rdf:resource="#p"/>
           <owl:cardinality
 rdf:datatype="http://www.w3.org/2001/XMLSchema#nonNegativeInteger"
           >1</owl:cardinality>
        </owl:Restriction>
      </owl:intersectionOf>
   </rdf:Description>
</rdf:RDF>
_:a rdf:type owl:Restriction .
_:a owl:onProperty second:p .
_:a owl:cardinality "1"^^xsd:nonNegativeInteger  .
_:c rdf:first _:a .
_:c rdf:rest rdf:nil .
second:c owl:intersectionOf _:c .

FullNegative Entailment Test:007
Description: (informative) <cardinality/Manifest007#test>
An owl:cardinality constraint is simply shorthand for a pair of owl:minCardinality and owl:maxCardinality constraints.
N3 format is informative.
FullPremises: <cardinality/premises007>
<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#"
    xml:base="http://www.w3.org/2002/03owlt/cardinality/premises007" >
    <owl:Restriction  rdf:ID="c">
      <owl:onProperty rdf:resource="#p"/>
      <owl:cardinality
 rdf:datatype="http://www.w3.org/2001/XMLSchema#nonNegativeInteger"
       >1</owl:cardinality>
    </owl:Restriction>
</rdf:RDF>
first:c rdf:type owl:Restriction .
first:c owl:onProperty first:p .
first:c owl:cardinality "1"^^xsd:nonNegativeInteger  .
FullConclusions: <cardinality/nonconclusions007>
<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#"
    xml:base="http://www.w3.org/2002/03owlt/cardinality/nonconclusions007" >
    <rdf:Description rdf:about="premises007#c">
      <owl:intersectionOf rdf:parseType="Collection">
         <owl:Restriction>
            <owl:onProperty rdf:resource="premises007#p"/>
            <owl:maxCardinality
 rdf:datatype="http://www.w3.org/2001/XMLSchema#nonNegativeInteger"
             >1</owl:maxCardinality>
          </owl:Restriction>
          <owl:Restriction>
          <owl:onProperty rdf:resource="premises007#p"/>
          <owl:minCardinality
 rdf:datatype="http://www.w3.org/2001/XMLSchema#nonNegativeInteger"
           >1</owl:minCardinality>
       </owl:Restriction>
     </owl:intersectionOf>
   </rdf:Description>
</rdf:RDF>
_:a rdf:type owl:Restriction .
_:a owl:onProperty first:p .
_:a owl:maxCardinality "1"^^xsd:nonNegativeInteger  .
_:c rdf:type owl:Restriction .
_:c owl:onProperty first:p .
_:c owl:minCardinality "1"^^xsd:nonNegativeInteger  .
_:e rdf:first _:c .
_:e rdf:rest rdf:nil .
_:g rdf:first _:a .
_:g rdf:rest _:e .
first:c owl:intersectionOf _:g .

C.1.8. owl:disjointWith

DL FullConsistent document.003
Description: (informative) <disjointWith/Manifest003#test>
If the owl:disjointWith edges in the graph form an undirected complete subgraph then this may be within OWL DL.
N3 format is informative.
DLConsistent: <disjointWith/consistent003>
<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/disjointWith/consistent003" >
    <owl:Class rdf:nodeID="A">
      <owl:intersectionOf rdf:parseType="Collection">
        <owl:Class rdf:ID="A"/>
      </owl:intersectionOf>
      <owl:disjointWith rdf:nodeID="B"/>
      <owl:disjointWith rdf:nodeID="D"/>
      <owl:disjointWith rdf:nodeID="E"/>
    </owl:Class>
    <owl:Class rdf:nodeID="B">
      <owl:intersectionOf rdf:parseType="Collection">
        <owl:Class rdf:ID="B"/>
      </owl:intersectionOf>
      <owl:disjointWith rdf:nodeID="A"/>
      <owl:disjointWith rdf:nodeID="C"/>
      <owl:disjointWith rdf:nodeID="E"/>
    </owl:Class>
    <owl:Class rdf:nodeID="C">
      <owl:intersectionOf rdf:parseType="Collection">
        <owl:Class rdf:ID="C"/>
      </owl:intersectionOf>
      <owl:disjointWith rdf:nodeID="A"/>
      <owl:disjointWith rdf:nodeID="D"/>
      <owl:disjointWith rdf:nodeID="E"/>
    </owl:Class>
    <owl:Class rdf:nodeID="D">
      <owl:intersectionOf rdf:parseType="Collection">
        <owl:Class rdf:ID="D"/>
      </owl:intersectionOf>
      <owl:disjointWith rdf:nodeID="C"/>
      <owl:disjointWith rdf:nodeID="B"/>
      <owl:disjointWith rdf:nodeID="E"/>
    </owl:Class>
    <owl:Class rdf:nodeID="E">
      <owl:intersectionOf rdf:parseType="Collection">
        <owl:Class rdf:ID="E"/>
      </owl:intersectionOf>
    </owl:Class>

</rdf:RDF>
_:a rdf:type owl:Class .
first:A rdf:type owl:Class .
_:c rdf:first first:A .
_:c rdf:rest rdf:nil .
_:a owl:intersectionOf _:c .
_:a owl:disjointWith _:e .
_:a owl:disjointWith _:g .
_:a owl:disjointWith _:i .
_:e rdf:type owl:Class .
first:B rdf:type owl:Class .
_:k rdf:first first:B .
_:k rdf:rest rdf:nil .
_:e owl:intersectionOf _:k .
_:e owl:disjointWith _:a .
_:e owl:disjointWith _:m .
_:e owl:disjointWith _:i .
_:m rdf:type owl:Class .
first:C rdf:type owl:Class .
_:o rdf:first first:C .
_:o rdf:rest rdf:nil .
_:m owl:intersectionOf _:o .
_:m owl:disjointWith _:a .
_:m owl:disjointWith _:g .
_:m owl:disjointWith _:i .
_:g rdf:type owl:Class .
first:D rdf:type owl:Class .
_:q rdf:first first:D .
_:q rdf:rest rdf:nil .
_:g owl:intersectionOf _:q .
_:g owl:disjointWith _:m .
_:g owl:disjointWith _:e .
_:g owl:disjointWith _:i .
_:i rdf:type owl:Class .
first:E rdf:type owl:Class .
_:s rdf:first first:E .
_:s rdf:rest rdf:nil .
_:i owl:intersectionOf _:s .

FullConsistent document.004
Description: (informative) <disjointWith/Manifest004#test>
This example has owl:disjointWith edges in the graph which cannot be generated by the mapping rules for DisjointClasses. Consider the lack of owl:disjointWith edge between nodes C and D.
N3 format is informative.
FullConsistent: <disjointWith/consistent004>
<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/disjointWith/consistent004" >
    <owl:Class rdf:nodeID="A">
      <owl:intersectionOf rdf:parseType="Collection">
        <owl:Class rdf:ID="A"/>
      </owl:intersectionOf>
      <owl:disjointWith rdf:nodeID="B"/>
      <owl:disjointWith rdf:nodeID="D"/>
      <owl:disjointWith rdf:nodeID="E"/>
    </owl:Class>
    <owl:Class rdf:nodeID="B">
      <owl:intersectionOf rdf:parseType="Collection">
        <owl:Class rdf:ID="B"/>
      </owl:intersectionOf>
      <owl:disjointWith rdf:nodeID="A"/>
      <owl:disjointWith rdf:nodeID="C"/>
      <owl:disjointWith rdf:nodeID="E"/>
    </owl:Class>
    <owl:Class rdf:nodeID="C">
      <owl:intersectionOf rdf:parseType="Collection">
        <owl:Class rdf:ID="C"/>
      </owl:intersectionOf>
      <owl:disjointWith rdf:nodeID="A"/>
      <owl:disjointWith rdf:nodeID="E"/>
    </owl:Class>
    <owl:Class rdf:nodeID="D">
      <owl:intersectionOf rdf:parseType="Collection">
        <owl:Class rdf:ID="D"/>
      </owl:intersectionOf>
      <owl:disjointWith rdf:nodeID="B"/>
      <owl:disjointWith rdf:nodeID="E"/>
    </owl:Class>
    <owl:Class rdf:nodeID="E">
      <owl:intersectionOf rdf:parseType="Collection">
        <owl:Class rdf:ID="E"/>
      </owl:intersectionOf>
    </owl:Class>

</rdf:RDF>
_:a rdf:type owl:Class .
first:A rdf:type owl:Class .
_:c rdf:first first:A .
_:c rdf:rest rdf:nil .
_:a owl:intersectionOf _:c .
_:a owl:disjointWith _:e .
_:a owl:disjointWith _:g .
_:a owl:disjointWith _:i .
_:e rdf:type owl:Class .
first:B rdf:type owl:Class .
_:k rdf:first first:B .
_:k rdf:rest rdf:nil .
_:e owl:intersectionOf _:k .
_:e owl:disjointWith _:a .
_:e owl:disjointWith _:m .
_:e owl:disjointWith _:i .
_:m rdf:type owl:Class .
first:C rdf:type owl:Class .
_:o rdf:first first:C .
_:o rdf:rest rdf:nil .
_:m owl:intersectionOf _:o .
_:m owl:disjointWith _:a .
_:m owl:disjointWith _:i .
_:g rdf:type owl:Class .
first:D rdf:type owl:Class .
_:q rdf:first first:D .
_:q rdf:rest rdf:nil .
_:g owl:intersectionOf _:q .
_:g owl:disjointWith _:e .
_:g owl:disjointWith _:i .
_:i rdf:type owl:Class .
first:E rdf:type owl:Class .
_:s rdf:first first:E .
_:s rdf:rest rdf:nil .
_:i owl:intersectionOf _:s .

DL FullConsistent document.005
Description: (informative) <disjointWith/Manifest005#test>
If the owl:disjointWith edges in the graph form unconnected undirected complete subgraphs then this may be within OWL DL.
N3 format is informative.
DLConsistent: <disjointWith/consistent005>
<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/disjointWith/consistent005" >
    <owl:Class rdf:nodeID="A">
      <owl:intersectionOf rdf:parseType="Collection">
        <owl:Class rdf:ID="A"/>
      </owl:intersectionOf>
      <owl:disjointWith rdf:nodeID="D"/>
      <owl:disjointWith rdf:nodeID="E"/>
    </owl:Class>
    <owl:Class rdf:nodeID="B">
      <owl:intersectionOf rdf:parseType="Collection">
        <owl:Class rdf:ID="B"/>
      </owl:intersectionOf>
      <owl:disjointWith rdf:nodeID="C"/>
    </owl:Class>
    <owl:Class rdf:nodeID="C">
      <owl:intersectionOf rdf:parseType="Collection">
        <owl:Class rdf:ID="C"/>
      </owl:intersectionOf>
    </owl:Class>
    <owl:Class rdf:nodeID="D">
      <owl:intersectionOf rdf:parseType="Collection">
        <owl:Class rdf:ID="D"/>
      </owl:intersectionOf>
      <owl:disjointWith rdf:nodeID="E"/>
    </owl:Class>
    <owl:Class rdf:nodeID="E">
      <owl:intersectionOf rdf:parseType="Collection">
        <owl:Class rdf:ID="E"/>
      </owl:intersectionOf>
      <owl:disjointWith rdf:nodeID="D"/>
    </owl:Class>

</rdf:RDF>
_:a rdf:type owl:Class .
first:A rdf:type owl:Class .
_:c rdf:first first:A .
_:c rdf:rest rdf:nil .
_:a owl:intersectionOf _:c .
_:a owl:disjointWith _:e .
_:a owl:disjointWith _:g .
_:i rdf:type owl:Class .
first:B rdf:type owl:Class .
_:k rdf:first first:B .
_:k rdf:rest rdf:nil .
_:i owl:intersectionOf _:k .
_:i owl:disjointWith _:m .
_:m rdf:type owl:Class .
first:C rdf:type owl:Class .
_:o rdf:first first:C .
_:o rdf:rest rdf:nil .
_:m owl:intersectionOf _:o .
_:e rdf:type owl:Class .
first:D rdf:type owl:Class .
_:q rdf:first first:D .
_:q rdf:rest rdf:nil .
_:e owl:intersectionOf _:q .
_:e owl:disjointWith _:g .
_:g rdf:type owl:Class .
first:E rdf:type owl:Class .
_:s rdf:first first:E .
_:s rdf:rest rdf:nil .
_:g owl:intersectionOf _:s .
_:g owl:disjointWith _:e .

FullConsistent document.006
Description: (informative) <disjointWith/Manifest006#test>
If the owl:disjointWith edges in the graph form undirected complete subgraphs which share blank nodes then this is not within OWL DL.
N3 format is informative.
FullConsistent: <disjointWith/consistent006>
<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/disjointWith/consistent006" >
    <owl:Class rdf:nodeID="A">
      <owl:intersectionOf rdf:parseType="Collection">
        <owl:Class rdf:ID="A"/>
      </owl:intersectionOf>
      <owl:disjointWith rdf:nodeID="D"/>
      <owl:disjointWith rdf:nodeID="E"/>
    </owl:Class>
    <owl:Class rdf:nodeID="B">
      <owl:intersectionOf rdf:parseType="Collection">
        <owl:Class rdf:ID="B"/>
      </owl:intersectionOf>
      <owl:disjointWith rdf:nodeID="C"/>
      <owl:disjointWith rdf:nodeID="A"/>
    </owl:Class>
    <owl:Class rdf:nodeID="C">
      <owl:intersectionOf rdf:parseType="Collection">
        <owl:Class rdf:ID="C"/>
      </owl:intersectionOf>
      <owl:disjointWith rdf:nodeID="A"/>
    </owl:Class>
    <owl:Class rdf:nodeID="D">
      <owl:intersectionOf rdf:parseType="Collection">
        <owl:Class rdf:ID="D"/>
      </owl:intersectionOf>
      <owl:disjointWith rdf:nodeID="E"/>
    </owl:Class>
    <owl:Class rdf:nodeID="E">
      <owl:intersectionOf rdf:parseType="Collection">
        <owl:Class rdf:ID="E"/>
      </owl:intersectionOf>
      <owl:disjointWith rdf:nodeID="D"/>
    </owl:Class>

</rdf:RDF>
_:a rdf:type owl:Class .
first:A rdf:type owl:Class .
_:c rdf:first first:A .
_:c rdf:rest rdf:nil .
_:a owl:intersectionOf _:c .
_:a owl:disjointWith _:e .
_:a owl:disjointWith _:g .
_:i rdf:type owl:Class .
first:B rdf:type owl:Class .
_:k rdf:first first:B .
_:k rdf:rest rdf:nil .
_:i owl:intersectionOf _:k .
_:i owl:disjointWith _:m .
_:i owl:disjointWith _:a .
_:m rdf:type owl:Class .
first:C rdf:type owl:Class .
_:o rdf:first first:C .
_:o rdf:rest rdf:nil .
_:m owl:intersectionOf _:o .
_:m owl:disjointWith _:a .
_:e rdf:type owl:Class .
first:D rdf:type owl:Class .
_:q rdf:first first:D .
_:q rdf:rest rdf:nil .
_:e owl:intersectionOf _:q .
_:e owl:disjointWith _:g .
_:g rdf:type owl:Class .
first:E rdf:type owl:Class .
_:s rdf:first first:E .
_:s rdf:rest rdf:nil .
_:g owl:intersectionOf _:s .
_:g owl:disjointWith _:e .

DL FullConsistent document.007
Description: (informative) <disjointWith/Manifest007#test>
If the owl:disjointWith edges in the graph form undirected complete subgraphs which share URIref nodes but do not share blank node then this may be within OWL DL.
N3 format is informative.
DLConsistent: <disjointWith/consistent007>
<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/disjointWith/consistent007" >
    <owl:Class rdf:ID="A">
      <owl:disjointWith rdf:nodeID="D"/>
      <owl:disjointWith rdf:nodeID="E"/>
    </owl:Class>
    <owl:Class rdf:nodeID="B">
      <owl:intersectionOf rdf:parseType="Collection">
        <owl:Class rdf:ID="B"/>
      </owl:intersectionOf>
      <owl:disjointWith rdf:nodeID="C"/>
      <owl:disjointWith rdf:resource="#A"/>
    </owl:Class>
    <owl:Class rdf:nodeID="C">
      <owl:intersectionOf rdf:parseType="Collection">
        <owl:Class rdf:ID="C"/>
      </owl:intersectionOf>
      <owl:disjointWith rdf:resource="#A"/>
    </owl:Class>
    <owl:Class rdf:nodeID="D">
      <owl:intersectionOf rdf:parseType="Collection">
        <owl:Class rdf:ID="D"/>
      </owl:intersectionOf>
      <owl:disjointWith rdf:nodeID="E"/>
    </owl:Class>
    <owl:Class rdf:nodeID="E">
      <owl:intersectionOf rdf:parseType="Collection">
        <owl:Class rdf:ID="E"/>
      </owl:intersectionOf>
      <owl:disjointWith rdf:nodeID="D"/>
    </owl:Class>

</rdf:RDF>
first:A rdf:type owl:Class .
first:A owl:disjointWith _:a .
first:A owl:disjointWith _:c .
_:e rdf:type owl:Class .
first:B rdf:type owl:Class .
_:g rdf:first first:B .
_:g rdf:rest rdf:nil .
_:e owl:intersectionOf _:g .
_:e owl:disjointWith _:i .
_:e owl:disjointWith first:A .
_:i rdf:type owl:Class .
first:C rdf:type owl:Class .
_:k rdf:first first:C .
_:k rdf:rest rdf:nil .
_:i owl:intersectionOf _:k .
_:i owl:disjointWith first:A .
_:a rdf:type owl:Class .
first:D rdf:type owl:Class .
_:m rdf:first first:D .
_:m rdf:rest rdf:nil .
_:a owl:intersectionOf _:m .
_:a owl:disjointWith _:c .
_:c rdf:type owl:Class .
first:E rdf:type owl:Class .
_:o rdf:first first:E .
_:o rdf:rest rdf:nil .
_:c owl:intersectionOf _:o .
_:c owl:disjointWith _:a .

FullConsistent document.008
Description: (informative) <disjointWith/Manifest008#test>
A further example that cannot be generated from the mapping rule for DisjointClasses.
N3 format is informative.
FullConsistent: <disjointWith/consistent008>
<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/disjointWith/consistent008" >
    <owl:Class rdf:ID="A"/>
    <owl:Class rdf:nodeID="B">
      <owl:intersectionOf rdf:parseType="Collection">
        <owl:Class rdf:ID="B"/>
      </owl:intersectionOf>
      <owl:disjointWith rdf:resource="#A"/>
    </owl:Class>
    <owl:Class rdf:nodeID="C">
      <owl:intersectionOf rdf:parseType="Collection">
        <owl:Class rdf:ID="C"/>
      </owl:intersectionOf>
      <owl:disjointWith rdf:resource="#A"/>
    </owl:Class>
    <owl:Class rdf:ID="D">
      <owl:disjointWith rdf:nodeID="B"/>
      <owl:disjointWith rdf:nodeID="C"/>
    </owl:Class>

</rdf:RDF>
first:A rdf:type owl:Class .
_:a rdf:type owl:Class .
first:B rdf:type owl:Class .
_:c rdf:first first:B .
_:c rdf:rest rdf:nil .
_:a owl:intersectionOf _:c .
_:a owl:disjointWith first:A .
_:e rdf:type owl:Class .
first:C rdf:type owl:Class .
_:g rdf:first first:C .
_:g rdf:rest rdf:nil .
_:e owl:intersectionOf _:g .
_:e owl:disjointWith first:A .
first:D rdf:type owl:Class .
first:D owl:disjointWith _:a .
first:D owl:disjointWith _:e .

DL FullConsistent document.009
Description: (informative) <disjointWith/Manifest009#test>
If the owl:disjointWith edges in the graph form undirected complete subgraphs which share URIref nodes but do not share blank node then this may be within OWL DL.
N3 format is informative.
DLConsistent: <disjointWith/consistent009>
<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/disjointWith/consistent009" >
    <owl:Class rdf:ID="A"/>
    <owl:Class rdf:nodeID="B">
      <owl:intersectionOf rdf:parseType="Collection">
        <owl:Class rdf:ID="B"/>
      </owl:intersectionOf>
      <owl:disjointWith rdf:resource="#A"/>
    </owl:Class>
    <owl:Class rdf:nodeID="C">
      <owl:intersectionOf rdf:parseType="Collection">
        <owl:Class rdf:ID="C"/>
      </owl:intersectionOf>
      <owl:disjointWith rdf:resource="#A"/>
    </owl:Class>
    <owl:Class rdf:ID="D">
      <owl:disjointWith rdf:nodeID="B"/>
      <owl:disjointWith rdf:nodeID="C"/>
      <owl:disjointWith rdf:resource="#A"/>
    </owl:Class>

</rdf:RDF>
first:A rdf:type owl:Class .
_:a rdf:type owl:Class .
first:B rdf:type owl:Class .
_:c rdf:first first:B .
_:c rdf:rest rdf:nil .
_:a owl:intersectionOf _:c .
_:a owl:disjointWith first:A .
_:e rdf:type owl:Class .
first:C rdf:type owl:Class .
_:g rdf:first first:C .
_:g rdf:rest rdf:nil .
_:e owl:intersectionOf _:g .
_:e owl:disjointWith first:A .
first:D rdf:type owl:Class .
first:D owl:disjointWith _:a .
first:D owl:disjointWith _:e .
first:D owl:disjointWith first:A .

C.1.9. owl:equivalentClass

FullPositive Entailment Test:007
Description: (informative) <equivalentClass/Manifest007#test>
De Morgan's law.
N3 format is informative.
FullPremises: <equivalentClass/premises007>
<rdf:RDF
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
    xml:base="http://www.w3.org/2002/03owlt/equivalentClass/premises007" >
   <rdfs:Class rdf:ID="A"/>
   <rdfs:Class rdf:ID="B"/>
</rdf:RDF>
first:A rdf:type rdfs:Class .
first:B rdf:type rdfs:Class .
FullConclusions: <equivalentClass/conclusions007>
<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#"
    xml:base="http://www.w3.org/2002/03owlt/equivalentClass/conclusions007" >
   <rdf:Description>
      <owl:intersectionOf rdf:parseType="Collection">
          <rdf:Description>
             <owl:complementOf rdf:resource="premises007#A"/>
          </rdf:Description>
          <rdf:Description>
             <owl:complementOf rdf:resource="premises007#B"/>
          </rdf:Description>
      </owl:intersectionOf>
      <owl:equivalentClass>
         <rdf:Description>
           <owl:complementOf>
             <rdf:Description>
               <owl:unionOf rdf:parseType="Collection">
                 <rdf:Description rdf:about="premises007#A"/>
                 <rdf:Description rdf:about="premises007#B"/>
               </owl:unionOf>
             </rdf:Description>
           </owl:complementOf>
         </rdf:Description>
      </owl:equivalentClass>
   </rdf:Description>   
</rdf:RDF>
_:a owl:complementOf first:A .
_:c owl:complementOf first:B .
_:e rdf:first _:c .
_:e rdf:rest rdf:nil .
_:g rdf:first _:a .
_:g rdf:rest _:e .
_:i owl:intersectionOf _:g .
_:k rdf:first first:B .
_:k rdf:rest rdf:nil .
_:m rdf:first first:A .
_:m rdf:rest _:k .
_:o owl:unionOf _:m .
_:q owl:complementOf _:o .
_:i owl:equivalentClass _:q .

DL FullNegative Entailment Test:008
Description: (informative) <equivalentClass/Manifest008#test>
Annotation properties refer to a class instance. equivalentClass refers to the class extension.
N3 format is informative.
LitePremises: <equivalentClass/premises008>
<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/equivalentClass/premises008#" 
    xml:base="http://www.w3.org/2002/03owlt/equivalentClass/premises008" >

   <owl:Class rdf:ID="c1">
     <owl:equivalentClass>
       <owl:Class rdf:ID="c2"/>
     </owl:equivalentClass>
     <first:annotate>description of c1</first:annotate>
   </owl:Class>

   <owl:AnnotationProperty rdf:ID="annotate" />

</rdf:RDF>
first:c1 rdf:type owl:Class .
first:c2 rdf:type owl:Class .
first:c1 owl:equivalentClass first:c2 .
first:c1 first:annotate "description of c1" .
first:annotate rdf:type owl:AnnotationProperty .
LiteConclusions: <equivalentClass/nonconclusions008>
<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/equivalentClass/premises008#"
 xml:base="http://www.w3.org/2002/03owlt/equivalentClass/nonconclusions008" >
   <owl:Class rdf:about="premises008#c2">
     <first:annotate>description of c1</first:annotate>
   </owl:Class>
   <owl:AnnotationProperty rdf:about="premises008#annotate" />

</rdf:RDF>
first:c2 rdf:type owl:Class .
first:c2 first:annotate "description of c1" .
first:annotate rdf:type owl:AnnotationProperty .

DL FullConsistent document.009
Description: (informative) <equivalentClass/Manifest009#test>
A possible mapping of the EquivalentClasses axiom, which is connected but without a Hamiltonian path.
N3 format is informative.
DLConsistent: <equivalentClass/consistent009>
<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/equivalentClass/consistent009" >
 
 <owl:Class rdf:nodeID="a">
   <owl:oneOf rdf:parseType="Collection">
      <owl:Thing rdf:ID="A"/>
   </owl:oneOf>
   <owl:equivalentClass>   
     <owl:Class rdf:nodeID="b">
       <owl:unionOf rdf:parseType="Collection">
          <owl:Class rdf:ID="B"/>
       </owl:unionOf>
     </owl:Class>
   </owl:equivalentClass>  
   <owl:equivalentClass>    
     <owl:Class rdf:nodeID="c">
       <owl:intersectionOf rdf:parseType="Collection">
          <owl:Class rdf:ID="C"/>
       </owl:intersectionOf>
     </owl:Class>
   </owl:equivalentClass>  
   <owl:equivalentClass>    
     <owl:Class rdf:nodeID="d">
       <owl:complementOf>
          <owl:Class rdf:ID="D"/>
       </owl:complementOf>
     </owl:Class>
   </owl:equivalentClass>  

 </owl:Class>

</rdf:RDF>
_:a rdf:type owl:Class .
first:A rdf:type owl:Thing .
_:c rdf:first first:A .
_:c rdf:rest rdf:nil .
_:a owl:oneOf _:c .
_:e rdf:type owl:Class .
first:B rdf:type owl:Class .
_:g rdf:first first:B .
_:g rdf:rest rdf:nil .
_:e owl:unionOf _:g .
_:a owl:equivalentClass _:e .
_:i rdf:type owl:Class .
first:C rdf:type owl:Class .
_:k rdf:first first:C .
_:k rdf:rest rdf:nil .
_:i owl:intersectionOf _:k .
_:a owl:equivalentClass _:i .
_:m rdf:type owl:Class .
first:D rdf:type owl:Class .
_:m owl:complementOf first:D .
_:a owl:equivalentClass _:m .

C.1.10. owl:imports

FullOWL described in OWL.010
Description: (informative) <imports/Manifest010#test>
This test specifies the domain and range for owl:imports.
N3 format is informative.
FullTrue: <imports/conclusions010>
<rdf:RDF
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
    xml:base="http://www.w3.org/2002/03owlt/imports/conclusions010" >
   <rdf:Property rdf:about="http://www.w3.org/2002/07/owl#imports">
      <rdfs:range rdf:resource="http://www.w3.org/2002/07/owl#Ontology"/>
      <rdfs:domain rdf:resource="http://www.w3.org/2002/07/owl#Ontology"/>
   </rdf:Property>

</rdf:RDF>
owl:imports rdf:type rdf:Property .
owl:imports rdfs:range owl:Ontology .
owl:imports rdfs:domain owl:Ontology .

C.1.11. owl:oneOf

DL FullPositive Entailment Test:004
Description: (informative) <oneOf/Manifest004#test>
This test illustrates the use of dataRange in OWL DL. This test combines some of the ugliest features of XML, RDF and OWL.
Required datatype support: xsd:short,
N3 format is informative.
DLPremises: <oneOf/premises004>
<!DOCTYPE rdf:RDF [
   <!ENTITY xsd "http://www.w3.org/2001/XMLSchema#">
   <!ENTITY rdf "http://www.w3.org/1999/02/22-rdf-syntax-ns#">
]>
<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/oneOf/premises004#"
 xml:base="http://www.w3.org/2002/03owlt/oneOf/premises004" >
 <owl:DatatypeProperty rdf:ID="p">
  <rdfs:range>
   <owl:DataRange>
    <owl:oneOf>
     <rdf:List>
      <rdf:first rdf:datatype="&xsd;integer">1</rdf:first>
      <rdf:rest>
       <rdf:List>
        <rdf:first rdf:datatype="&xsd;integer">2</rdf:first>
        <rdf:rest>
         <rdf:List>
          <rdf:first rdf:datatype="&xsd;integer">3</rdf:first>
          <rdf:rest>
           <rdf:List>
            <rdf:first rdf:datatype="&xsd;integer">4</rdf:first>
            <rdf:rest rdf:resource="&rdf;nil"/>
           </rdf:List>
          </rdf:rest>
         </rdf:List>
        </rdf:rest>
       </rdf:List>
      </rdf:rest>
     </rdf:List>
    </owl:oneOf>
   </owl:DataRange>
  </rdfs:range>
  <rdfs:range>
   <owl:DataRange>
    <owl:oneOf>
     <rdf:List>
      <rdf:first rdf:datatype="&xsd;integer">4</rdf:first>
      <rdf:rest>
       <rdf:List>
        <rdf:first rdf:datatype="&xsd;integer">5</rdf:first>
        <rdf:rest>
         <rdf:List>
          <rdf:first rdf:datatype="&xsd;integer">6</rdf:first>
          <rdf:rest rdf:resource="&rdf;nil"/>
         </rdf:List>
        </rdf:rest>
       </rdf:List>
      </rdf:rest>
     </rdf:List>
    </owl:oneOf>
   </owl:DataRange>
  </rdfs:range>
 </owl:DatatypeProperty>
 <owl:Thing rdf:ID="i">
  <rdf:type>
   <owl:Restriction>
    <owl:onProperty rdf:resource="#p"/>
    <owl:minCardinality rdf:datatype="&xsd;int">1</owl:minCardinality>
   </owl:Restriction>
  </rdf:type>
 </owl:Thing>
</rdf:RDF>
first:p rdf:type owl:DatatypeProperty .
_:a rdf:type owl:DataRange .
_:c rdf:type rdf:List .
_:c rdf:first "1"^^xsd:integer  .
_:e rdf:type rdf:List .
_:e rdf:first "2"^^xsd:integer  .
_:g rdf:type rdf:List .
_:g rdf:first "3"^^xsd:integer  .
_:i rdf:type rdf:List .
_:i rdf:first "4"^^xsd:integer  .
_:i rdf:rest rdf:nil .
_:g rdf:rest _:i .
_:e rdf:rest _:g .
_:c rdf:rest _:e .
_:a owl:oneOf _:c .
first:p rdfs:range _:a .
_:k rdf:type owl:DataRange .
_:m rdf:type rdf:List .
_:m rdf:first "4"^^xsd:integer  .
_:o rdf:type rdf:List .
_:o rdf:first "5"^^xsd:integer  .
_:q rdf:type rdf:List .
_:q rdf:first "6"^^xsd:integer  .
_:q rdf:rest rdf:nil .
_:o rdf:rest _:q .
_:m rdf:rest _:o .
_:k owl:oneOf _:m .
first:p rdfs:range _:k .
first:i rdf:type owl:Thing .
_:s rdf:type owl:Restriction .
_:s owl:onProperty first:p .
_:s owl:minCardinality "1"^^xsd:int  .
first:i rdf:type _:s .
LiteConclusions: <oneOf/conclusions004>
<rdf:RDF
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:owl="http://www.w3.org/2002/07/owl#"
    xmlns:first="http://www.w3.org/2002/03owlt/oneOf/premises004#"
    xml:base="http://www.w3.org/2002/03owlt/oneOf/conclusions004" >
   <owl:DatatypeProperty rdf:about="premises004#p"/>
   <owl:Thing rdf:about="premises004#i">
     <first:p rdf:datatype=
"http://www.w3.org/2001/XMLSchema#short">4</first:p>
   </owl:Thing>
</rdf:RDF>
first:p rdf:type owl:DatatypeProperty .
first:i rdf:type owl:Thing .
first:i first:p "4"^^xsd:short  .

C.1.12. owl:sameAs

FullPositive Entailment Test:001
Description: (informative) <sameAs/Manifest001#test>
Annotation properties refer to a class instance. sameAs, in OWL Full, also refers to the class instance.
N3 format is informative.
FullPremises: <sameAs/premises001>
<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/sameAs/premises001#"
  xml:base="http://www.w3.org/2002/03owlt/sameAs/premises001" 
   >

   <owl:Class rdf:ID="c1">
     <owl:sameAs>
       <owl:Class rdf:ID="c2"/>
     </owl:sameAs>
     <first:annotate>description of c1</first:annotate>
   </owl:Class>

   <owl:AnnotationProperty rdf:ID="annotate" />

</rdf:RDF>
first:c1 rdf:type owl:Class .
first:c2 rdf:type owl:Class .
first:c1 owl:sameAs first:c2 .
first:c1 first:annotate "description of c1" .
first:annotate rdf:type owl:AnnotationProperty .
LiteConclusions: <sameAs/conclusions001>
<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/sameAs/premises001#"
 xml:base="http://www.w3.org/2002/03owlt/sameAs/conclusions001" 
 >

   <owl:Class rdf:about="premises001#c2">
     <first:annotate>description of c1</first:annotate>
   </owl:Class>
   <owl:AnnotationProperty rdf:about="premises001#annotate" />

</rdf:RDF>
first:c2 rdf:type owl:Class .
first:c2 first:annotate "description of c1" .
first:annotate rdf:type owl:AnnotationProperty .

C.1.13. owl:someValuesFrom

FullPositive Entailment Test:001
Description: (informative) <someValuesFrom/Manifest001#test>
A simple example.
N3 format is informative.
LitePremises: <someValuesFrom/premises001>
<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/someValuesFrom/premises001#"
    xml:base="http://www.w3.org/2002/03owlt/someValuesFrom/premises001" >
    <owl:Class rdf:ID="r">
      <rdfs:subClassOf>
        <owl:Restriction>
            <owl:onProperty rdf:resource="#p"/>
            <owl:someValuesFrom rdf:resource="#c"/>
        </owl:Restriction>
      </rdfs:subClassOf>
    </owl:Class>
    <owl:ObjectProperty rdf:ID="p"/>
    <owl:Class rdf:ID="c"/>
    <first:r rdf:ID="i"/>
</rdf:RDF>
first:r rdf:type owl:Class .
_:a rdf:type owl:Restriction .
_:a owl:onProperty first:p .
_:a owl:someValuesFrom first:c .
first:r rdfs:subClassOf _:a .
first:p rdf:type owl:ObjectProperty .
first:c rdf:type owl:Class .
first:i rdf:type first:r .
FullConclusions: <someValuesFrom/conclusions001>
<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/someValuesFrom/premises001#"
    xml:base="http://www.w3.org/2002/03owlt/someValuesFrom/conclusions001" >
    <rdf:Description rdf:about="premises001#i">
        <first:p>
           <first:c />
         </first:p>
    </rdf:Description>

</rdf:RDF>
_:a rdf:type first:c .
first:i first:p _:a .

C.1.14. owl:unionOf

DL FullPositive Entailment Test:003
Description: (informative) <unionOf/Manifest003#test>
Sets with appropriate extensions are related by unionOf.
N3 format is informative.
DLPremises: <unionOf/premises003>
<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/unionOf/premises003" >
   <owl:Class rdf:ID="A">
     <owl:oneOf rdf:parseType="Collection">
       <owl:Thing rdf:ID="a"/>
     </owl:oneOf>
   </owl:Class>
   <owl:Class rdf:ID="B">
     <owl:oneOf rdf:parseType="Collection">
       <owl:Thing rdf:ID="b"/>
     </owl:oneOf>
   </owl:Class>
   <owl:Class rdf:ID="A-and-B">
     <owl:oneOf rdf:parseType="Collection">
       <owl:Thing rdf:about="#a"/>
       <owl:Thing rdf:about="#b"/>
     </owl:oneOf>
   </owl:Class>

</rdf:RDF>
first:A rdf:type owl:Class .
first:a rdf:type owl:Thing .
_:a rdf:first first:a .
_:a rdf:rest rdf:nil .
first:A owl:oneOf _:a .
first:B rdf:type owl:Class .
first:b rdf:type owl:Thing .
_:c rdf:first first:b .
_:c rdf:rest rdf:nil .
first:B owl:oneOf _:c .
first:A-and-B rdf:type owl:Class .
first:a rdf:type owl:Thing .
first:b rdf:type owl:Thing .
_:e rdf:first first:b .
_:e rdf:rest rdf:nil .
_:g rdf:first first:a .
_:g rdf:rest _:e .
first:A-and-B owl:oneOf _:g .
DLConclusions: <unionOf/conclusions003>
<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/unionOf/conclusions003" >
   

   <owl:Class rdf:about="premises003#A-and-B">
     <owl:unionOf rdf:parseType="Collection">
       <owl:Class rdf:about="premises003#A"/>
       <owl:Class rdf:about="premises003#B"/>
     </owl:unionOf>
   </owl:Class>


</rdf:RDF>
first:A-and-B rdf:type owl:Class .
first:A rdf:type owl:Class .
first:B rdf:type owl:Class .
_:a rdf:first first:B .
_:a rdf:rest rdf:nil .
_:c rdf:first first:A .
_:c rdf:rest _:a .
first:A-and-B owl:unionOf _:c .

DL FullPositive Entailment Test:004
Description: (informative) <unionOf/Manifest004#test>
An inverse to test 003.
N3 format is informative.
DLPremises: <unionOf/premises004>
<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/unionOf/premises004#"
    xmlns:second="http://www.w3.org/2002/03owlt/unionOf/conclusions004#"
    xml:base="http://www.w3.org/2002/03owlt/unionOf/premises004" >


   <owl:Class rdf:about="#A-and-B">
     <owl:unionOf rdf:parseType="Collection">
       <owl:Class rdf:about="#A"/>
       <owl:Class rdf:about="#B"/>
     </owl:unionOf>
   </owl:Class>

   <owl:Class rdf:ID="A">
     <owl:oneOf rdf:parseType="Collection">
       <owl:Thing rdf:ID="a"/>
     </owl:oneOf>
   </owl:Class>
   <owl:Class rdf:ID="B">
     <owl:oneOf rdf:parseType="Collection">
       <owl:Thing rdf:ID="b"/>
     </owl:oneOf>
   </owl:Class>

</rdf:RDF>
first:A-and-B rdf:type owl:Class .
first:A rdf:type owl:Class .
first:B rdf:type owl:Class .
_:a rdf:first first:B .
_:a rdf:rest rdf:nil .
_:c rdf:first first:A .
_:c rdf:rest _:a .
first:A-and-B owl:unionOf _:c .
first:A rdf:type owl:Class .
first:a rdf:type owl:Thing .
_:e rdf:first first:a .
_:e rdf:rest rdf:nil .
first:A owl:oneOf _:e .
first:B rdf:type owl:Class .
first:b rdf:type owl:Thing .
_:g rdf:first first:b .
_:g rdf:rest rdf:nil .
first:B owl:oneOf _:g .
DLConclusions: <unionOf/conclusions004>
<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/unionOf/premises004#"
    xmlns:second="http://www.w3.org/2002/03owlt/unionOf/conclusions004#"
    xml:base="http://www.w3.org/2002/03owlt/unionOf/conclusions004" >


   <owl:Class rdf:about="premises004#A-and-B">
     <owl:oneOf rdf:parseType="Collection">
       <owl:Thing rdf:about="premises004#a"/>
       <owl:Thing rdf:about="premises004#b"/>
     </owl:oneOf>
   </owl:Class>

</rdf:RDF>
first:A-and-B rdf:type owl:Class .
first:a rdf:type owl:Thing .
first:b rdf:type owl:Thing .
_:a rdf:first first:b .
_:a rdf:rest rdf:nil .
_:c rdf:first first:a .
_:c rdf:rest _:a .
first:A-and-B owl:oneOf _:c .


previous next top contents index