TestCase:WebOnt-I5.21-002
From OWL Test Cases
| [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. | |
| <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. | |
| <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:
- The following axiom is not allowed: SubClassOf(Reptile ExactCardinality(1 family-name Literal))
- due to class description ExactCardinality(1 family-name Literal)
OWL QL Report (Informative)
Ontology violates the OWL QL constraints in at least the following:
- The following axiom is not allowed: SubClassOf(Cordylidae HasValue(family-name "Cordylidae"))
- due to class description HasValue(family-name "Cordylidae")
- The following axiom is not allowed: SubClassOf(Amphisbaenidae HasValue(family-name "Amphisbaenidae"))
- due to class description HasValue(family-name "Amphisbaenidae")
- The following axiom is not allowed: SubClassOf(Loxocemidae HasValue(family-name "Loxocemidae"))
- due to class description HasValue(family-name "Loxocemidae")
- The following axiom is not allowed: SubClassOf(Crocodylidae HasValue(family-name "Crocodylidae"))
- due to class description HasValue(family-name "Crocodylidae")
- The following axiom is not allowed: SubClassOf(Xantusiidae HasValue(family-name "Xantusiidae"))
- due to class description HasValue(family-name "Xantusiidae")
- The following axiom is not allowed: SubClassOf(Sphenodontidae HasValue(family-name "Sphenodontidae"))
- due to class description HasValue(family-name "Sphenodontidae")
- The following axiom is not allowed: SubClassOf(Reptile ExactCardinality(1 family-name Literal))
- due to class description ExactCardinality(1 family-name Literal)
- The following axiom is not allowed: SubClassOf(Leptotyphlopidae HasValue(family-name "Leptotyphlopidae"))
- due to class description HasValue(family-name "Leptotyphlopidae")
- The following axiom is not allowed: SubClassOf(Bipedidae HasValue(family-name "Bipedidae"))
- due to class description HasValue(family-name "Bipedidae")
- The following axiom is not allowed: SubClassOf(Gekkonidae HasValue(family-name "Gekkonidae"))
- due to class description HasValue(family-name "Gekkonidae")
- The following axiom is not allowed: SubClassOf(Agamidae HasValue(family-name "Agamidae"))
- due to class description HasValue(family-name "Agamidae")
- The following axiom is not allowed: SubClassOf(Emydidae HasValue(family-name "Emydidae"))
- due to class description HasValue(family-name "Emydidae")
- The following axiom is not allowed: SubClassOf(Anomalepidae HasValue(family-name "Anomalepidae"))
- due to class description HasValue(family-name "Anomalepidae")
OWL RL Report (Informative)
Ontology violates the OWL RL constraints in at least the following:
- The following axiom is not allowed: SubClassOf(Reptile ExactCardinality(1 family-name Literal))
- due to class description ExactCardinality(1 family-name Literal)
