Contradicting-datatype-restrictions

From OWL Test Cases

Jump to:navigation, search
[Download OWL]
Test Id Contradicting datatype Restrictions
Description The individual a is in A and thus must have a dp filler that is an integer >= 4. Furthermore the dp fillers must be in the set {3, 4} and in the set {2, 3}. Although 3 is in both sets, 3 is not >= 4, which causes the inconsistency.
Status Approved (2009-07-15, when passed by 2 implementations) (proposed 2009-06-29)
Author Birte Glimm
Original syntax Functional
Syntactic Species/Profile OWL 2 DL (not EL, not QL, not RL)
Semantics This test is applicable under both direct and RDF-based semantics.
Inconsistent 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"^^xsd:integer "4"^^xsd:integer))
  ) 
  SubClassOf(:A DataAllValuesFrom(:dp 
    DataOneOf("2"^^xsd:integer "3"^^xsd:integer))
  )
  SubClassOf(:A DataSomeValuesFrom(:dp 
    DatatypeRestriction(xsd:integer 
      xsd:minInclusive "4"^^xsd:integer)
    )
  )
  ClassAssertion(:A :a)
)
Imported ontologies none
Navigation
OWL 2 Informative
OWL 2 Normative
Toolbox