TestCase:WebOnt-description-logic-910
From OWL Test Cases
[Download OWL] | |
Test Id | WebOnt-description-logic-910 |
---|---|
Description | This test shows integer multiplication in OWL DL.
N is 20. M is 30. N times M is not 601. |
Status | Extra credit (2009-07-22) (proposed 2009-06-08) |
Author | Jeremy J. Carroll |
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/description-logic/Manifest910#test |
Inconsistent 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#" xmlns:rdfs= "http://www.w3.org/2000/01/rdf-schema#" xml:base="http://www.w3.org/2002/03owlt/description-logic/inconsistent910" > <owl:Ontology/> <owl:FunctionalProperty rdf:ID="p-N-to-1" > <owl:inverseOf> <owl:ObjectProperty rdf:ID="invP-1-to-N" /> </owl:inverseOf> <rdfs:domain rdf:resource="#cardinality-N" /> <rdfs:range rdf:resource="#only-d" /> </owl:FunctionalProperty> <owl:ObjectProperty rdf:about="#p-N-to-1" /> <owl:FunctionalProperty rdf:ID="q-M-to-1" > <owl:inverseOf> <owl:ObjectProperty rdf:ID="invQ-1-to-M" /> </owl:inverseOf> <rdfs:domain rdf:resource="#cardinality-N-times-M" /> <rdfs:range rdf:resource="#cardinality-N" /> </owl:FunctionalProperty> <owl:ObjectProperty rdf:about="#q-M-to-1" /> <owl:FunctionalProperty rdf:ID="r-N-times-M-to-1"> <owl:inverseOf> <owl:ObjectProperty rdf:ID="invR-N-times-M-to-1" /> </owl:inverseOf> <rdfs:domain rdf:resource="#cardinality-N-times-M" /> <rdfs:range rdf:resource="#only-d" /> </owl:FunctionalProperty> <owl:ObjectProperty rdf:about="#r-N-times-M-to-1"/> <owl:Class rdf:ID="only-d"> <owl:oneOf rdf:parseType="Collection"> <owl:Thing rdf:ID="d"/> </owl:oneOf> <owl:equivalentClass> <owl:Restriction> <owl:onProperty rdf:resource="#invP-1-to-N"/> <owl:cardinality rdf:datatype= "http://www.w3.org/2001/XMLSchema#integer" >20</owl:cardinality> </owl:Restriction> </owl:equivalentClass> <owl:equivalentClass> <owl:Restriction> <owl:onProperty rdf:resource="#invR-N-times-M-to-1"/> <owl:cardinality rdf:datatype= "http://www.w3.org/2001/XMLSchema#integer" >601</owl:cardinality> </owl:Restriction> </owl:equivalentClass> </owl:Class> <owl:Class rdf:ID="cardinality-N"> <owl:equivalentClass> <owl:Restriction> <owl:onProperty rdf:resource="#p-N-to-1"/> <owl:someValuesFrom rdf:resource="#only-d"/> </owl:Restriction> </owl:equivalentClass> <owl:equivalentClass> <owl:Restriction> <owl:onProperty rdf:resource="#invQ-1-to-M"/> <owl:cardinality rdf:datatype= "http://www.w3.org/2001/XMLSchema#integer" >30</owl:cardinality> </owl:Restriction> </owl:equivalentClass> </owl:Class> <owl:Class rdf:ID="cardinality-N-times-M"> <owl:equivalentClass> <owl:Restriction> <owl:onProperty rdf:resource="#q-M-to-1"/> <owl:someValuesFrom rdf:resource="#cardinality-N"/> </owl:Restriction> </owl:equivalentClass> </owl:Class> <owl:Class rdf:about="#cardinality-N-times-M"> <owl:equivalentClass> <owl:Restriction> <owl:onProperty rdf:resource="#r-N-times-M-to-1"/> <owl:someValuesFrom rdf:resource="#only-d"/> </owl:Restriction> </owl:equivalentClass> </owl:Class> </rdf:RDF> | |
Imported ontologies | none |
The version of this test approved by the WebOnt WG was incorrect. The input 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: InverseProperties(p-N-to-1 invP-1-to-N)
- The following axiom is not allowed: FunctionalProperty(q-M-to-1)
- The following axiom is not allowed: EquivalentClasses(only-d ExactCardinality(20 invP-1-to-N Thing) )
- due to class description ExactCardinality(20 invP-1-to-N Thing)
- The following axiom is not allowed: InverseProperties(q-M-to-1 invQ-1-to-M)
- The following axiom is not allowed: EquivalentClasses(only-d ExactCardinality(601 invR-N-times-M-to-1 Thing) )
- due to class description ExactCardinality(601 invR-N-times-M-to-1 Thing)
- The following axiom is not allowed: EquivalentClasses(cardinality-N ExactCardinality(30 invQ-1-to-M Thing) )
- due to class description ExactCardinality(30 invQ-1-to-M Thing)
- The following axiom is not allowed: FunctionalProperty(r-N-times-M-to-1)
- The following axiom is not allowed: FunctionalProperty(p-N-to-1)
- The following axiom is not allowed: InverseProperties(r-N-times-M-to-1 invR-N-times-M-to-1)
OWL QL Report (Informative)
Ontology violates the OWL QL constraints in at least the following:
- The following axiom is not allowed: FunctionalProperty(q-M-to-1)
- The following axiom is not allowed: EquivalentClasses(cardinality-N ExactCardinality(30 invQ-1-to-M Thing) )
- due to class description ExactCardinality(30 invQ-1-to-M Thing)
- The following axiom is not allowed: EquivalentClasses(only-d ExactCardinality(601 invR-N-times-M-to-1 Thing) )
- due to class description ExactCardinality(601 invR-N-times-M-to-1 Thing)
- The following axiom is not allowed: EquivalentClasses(cardinality-N SomeValuesFrom(p-N-to-1 only-d) )
- due to class description SomeValuesFrom(p-N-to-1 only-d)
- The following axiom is not allowed: FunctionalProperty(r-N-times-M-to-1)
- The following axiom is not allowed: EquivalentClasses(only-d ExactCardinality(20 invP-1-to-N Thing) )
- due to class description ExactCardinality(20 invP-1-to-N Thing)
- The following axiom is not allowed: EquivalentClasses(cardinality-N-times-M SomeValuesFrom(q-M-to-1 cardinality-N) )
- due to class description SomeValuesFrom(q-M-to-1 cardinality-N)
- The following axiom is not allowed: EquivalentClasses(only-d OneOf(d) )
- due to class description OneOf(d)
- The following axiom is not allowed: FunctionalProperty(p-N-to-1)
- The following axiom is not allowed: EquivalentClasses(cardinality-N-times-M SomeValuesFrom(r-N-times-M-to-1 only-d) )
- due to class description SomeValuesFrom(r-N-times-M-to-1 only-d)
OWL RL Report (Informative)
Ontology violates the OWL RL constraints in at least the following:
- The following axiom is not allowed: EquivalentClasses(cardinality-N SomeValuesFrom(p-N-to-1 only-d) )
- due to class description SomeValuesFrom(p-N-to-1 only-d)
- The following axiom is not allowed: EquivalentClasses(cardinality-N-times-M SomeValuesFrom(q-M-to-1 cardinality-N) )
- due to class description SomeValuesFrom(q-M-to-1 cardinality-N)
- The following axiom is not allowed: EquivalentClasses(cardinality-N ExactCardinality(30 invQ-1-to-M Thing) )
- due to class description ExactCardinality(30 invQ-1-to-M Thing)
- The following axiom is not allowed: EquivalentClasses(only-d ExactCardinality(601 invR-N-times-M-to-1 Thing) )
- due to class description ExactCardinality(601 invR-N-times-M-to-1 Thing)
- The following axiom is not allowed: EquivalentClasses(only-d OneOf(d) )
- due to class description OneOf(d)
- The following axiom is not allowed: EquivalentClasses(cardinality-N-times-M SomeValuesFrom(r-N-times-M-to-1 only-d) )
- due to class description SomeValuesFrom(r-N-times-M-to-1 only-d)
- The following axiom is not allowed: EquivalentClasses(only-d ExactCardinality(20 invP-1-to-N Thing) )
- due to class description ExactCardinality(20 invP-1-to-N Thing)</tt