Restrictions-different-type
From OWL Test Cases
[Download OWL] | |
Test Id | Consistent Restrictions with Different Types |
---|---|
Description | The individual a must have dp fillers that are in the sets {3.0 (float), 4 (integer)} and {3.0 (decimal)} (different types are used, but 3.0 has the same value for floats and decimals). Furthermore, the dp filler must be an integer <= 3, but since 3.0 has the same value as 3 the ontology is consistent. |
Status | Rejected (2009-06-12 (no longer valid because xsd:decimal and xsd:float are disjoint datatypes)) |
Author | Birte Glimm |
Original syntax | Functional |
Syntactic Species/Profile | OWL 2 DL (EL profile assertion missing, QL profile assertion missing, RL profile assertion missing) |
Semantics | This test is applicable under both direct and RDF-based semantics. |
Consistent ontology (download)
Convert syntax: RDF, 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. | |
Prefix(:=<http://example.org/>)
Prefix(xsd:=<http://www.w3.org/2001/XMLSchema#>) Ontology( Declaration(NamedIndividual(:a)) Declaration(DataProperty(:dp)) Declaration(Class(:A)) SubClassOf(:A DataAllValuesFrom(:dp DataOneOf("3.0"^^xsd:float "4"^^xsd:integer)) ) SubClassOf(:A DataAllValuesFrom(:dp DataOneOf("3.0"^^xsd:decimal)) ) ClassAssertion(:A :a) ClassAssertion(DataSomeValuesFrom(:dp DatatypeRestriction( xsd:integer xsd:maxInclusive "3"^^xsd:integer)) :a ) ) | |
Imported ontologies | none |