TestCase:WebOnt-I5.2-006
From OWL Test Cases
| [Download OWL] | |
| Test Id | WebOnt-I5.2-006 |
|---|---|
| Description | The union of two classes can be defined using OWL Lite restrictions, and owl:intersectionOf.
|
| Status | Approved (2009-01-07) (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.2/Manifest006#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#" xml:base="http://www.w3.org/2002/03owlt/I5.2/premises006" > <owl:Ontology/> <owl:Class rdf:ID="Nothing"> <rdfs:subClassOf> <owl:Restriction> <owl:onProperty> <owl:ObjectProperty rdf:about="#p"/> </owl:onProperty> <owl:minCardinality rdf:datatype= "http://www.w3.org/2001/XMLSchema#nonNegativeInteger" >1</owl:minCardinality> </owl:Restriction> </rdfs:subClassOf> <rdfs:subClassOf> <owl:Restriction> <owl:onProperty> <owl:ObjectProperty rdf:about="#p"/> </owl:onProperty> <owl:maxCardinality rdf:datatype= "http://www.w3.org/2001/XMLSchema#nonNegativeInteger" >0</owl:maxCardinality> </owl:Restriction> </rdfs:subClassOf> </owl:Class> <owl:Class rdf:ID="A"> <owl:equivalentClass> <owl:Restriction> <owl:onProperty> <owl:ObjectProperty rdf:about="#q"/> </owl:onProperty> <owl:someValuesFrom> <owl:Class rdf:about="http://www.w3.org/2002/07/owl#Thing"/> </owl:someValuesFrom> </owl:Restriction> </owl:equivalentClass> </owl:Class> <owl:Class rdf:ID="notA"> <owl:equivalentClass> <owl:Restriction> <owl:onProperty> <owl:ObjectProperty rdf:about="#q"/> </owl:onProperty> <owl:allValuesFrom> <owl:Class rdf:about="#Nothing"/> </owl:allValuesFrom> </owl:Restriction> </owl:equivalentClass> </owl:Class> <owl:Class rdf:ID="B"> <owl:equivalentClass> <owl:Restriction> <owl:onProperty> <owl:ObjectProperty rdf:about="#r"/> </owl:onProperty> <owl:someValuesFrom> <owl:Class rdf:about="http://www.w3.org/2002/07/owl#Thing"/> </owl:someValuesFrom> </owl:Restriction> </owl:equivalentClass> </owl:Class> <owl:Class rdf:ID="notB"> <owl:equivalentClass> <owl:Restriction> <owl:onProperty> <owl:ObjectProperty rdf:about="#r"/> </owl:onProperty> <owl:allValuesFrom> <owl:Class rdf:about="#Nothing"/> </owl:allValuesFrom> </owl:Restriction> </owl:equivalentClass> </owl:Class> <owl:Class rdf:ID="notAorB"> <owl:intersectionOf rdf:parseType="Collection"> <owl:Class rdf:about="#notA"/> <owl:Class rdf:about="#notB"/> </owl:intersectionOf> </owl:Class> <owl:Class rdf:ID="AorB"> <owl:equivalentClass> <owl:Restriction> <owl:onProperty> <owl:ObjectProperty rdf:about="#s"/> </owl:onProperty> <owl:someValuesFrom> <owl:Class rdf:about="http://www.w3.org/2002/07/owl#Thing"/> </owl:someValuesFrom> </owl:Restriction> </owl:equivalentClass> </owl:Class> <owl:Class rdf:about="#notAorB"> <owl:equivalentClass> <owl:Restriction> <owl:onProperty> <owl:ObjectProperty rdf:about="#s"/> </owl:onProperty> <owl:allValuesFrom> <owl:Class rdf:about="#Nothing"/> </owl:allValuesFrom> </owl:Restriction> </owl:equivalentClass> </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.2/conclusions006" > <owl:Ontology/> <owl:Class rdf:about="premises006#AorB"> <owl:unionOf rdf:parseType="Collection"> <owl:Class rdf:about="premises006#A"/> <owl:Class rdf:about="premises006#B"/> </owl:unionOf> </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 Lite document, but was not OWL Lite 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: EquivalentClasses(notAorB AllValuesFrom(s Nothing) )
- due to class description AllValuesFrom(s Nothing)
- The following axiom is not allowed: SubClassOf(Nothing MinCardinality(1 p Thing))
- due to class description MinCardinality(1 p Thing)
- The following axiom is not allowed: EquivalentClasses(AorB UnionOf(A B) )
- due to class description UnionOf(A B)
- The following axiom is not allowed: EquivalentClasses(notB AllValuesFrom(r Nothing) )
- due to class description AllValuesFrom(r Nothing)
- The following axiom is not allowed: EquivalentClasses(notA AllValuesFrom(q Nothing) )
- due to class description AllValuesFrom(q Nothing)
- The following axiom is not allowed: SubClassOf(Nothing MaxCardinality(0 p Thing))
- due to class description MaxCardinality(0 p Thing)
OWL QL Report (Informative)
Ontology violates the OWL QL constraints in at least the following:
- The following axiom is not allowed: SubClassOf(Nothing MinCardinality(1 p Thing))
- due to class description MinCardinality(1 p Thing)
- The following axiom is not allowed: EquivalentClasses(notA AllValuesFrom(q Nothing) )
- due to class description AllValuesFrom(q Nothing)
- The following axiom is not allowed: EquivalentClasses(notAorB IntersectionOf(notA notB) )
- due to class description IntersectionOf(notA notB)
- The following axiom is not allowed: EquivalentClasses(notAorB AllValuesFrom(s Nothing) )
- due to class description AllValuesFrom(s Nothing)
- The following axiom is not allowed: EquivalentClasses(AorB UnionOf(A B) )
- due to class description UnionOf(A B)
- The following axiom is not allowed: SubClassOf(Nothing MaxCardinality(0 p Thing))
- due to class description MaxCardinality(0 p Thing)
- The following axiom is not allowed: EquivalentClasses(notB AllValuesFrom(r Nothing) )
- due to class description AllValuesFrom(r Nothing)
OWL RL Report (Informative)
Ontology violates the OWL RL constraints in at least the following:
- The following axiom is not allowed: SubClassOf(Nothing MaxCardinality(0 p Thing))
- due to class description MaxCardinality(0 p Thing)
- The following axiom is not allowed: SubClassOf(Nothing MinCardinality(1 p Thing))
- due to class description MinCardinality(1 p Thing)
- The following axiom is not allowed: EquivalentClasses(notB AllValuesFrom(r Nothing) )
- due to class description AllValuesFrom(r Nothing)
- The following axiom is not allowed: EquivalentClasses(notAorB AllValuesFrom(s Nothing) )
- due to class description AllValuesFrom(s Nothing)
- The following axiom is not allowed: EquivalentClasses(B SomeValuesFrom(r Thing) )
- due to class description SomeValuesFrom(r Thing)
- The following axiom is not allowed: EquivalentClasses(AorB SomeValuesFrom(s Thing) )
- due to class description SomeValuesFrom(s Thing)
- The following axiom is not allowed: EquivalentClasses(A SomeValuesFrom(q Thing) )
- due to class description SomeValuesFrom(q Thing)
- The following axiom is not allowed: EquivalentClasses(notA AllValuesFrom(q Nothing) )
- due to class description AllValuesFrom(q Nothing)
- The following axiom is not allowed: EquivalentClasses(AorB UnionOf(A B) )
- due to class description UnionOf(A B)
