From OWL Test Cases

Jump to:navigation, search
[Download OWL]
Test Id Inconsistent Numeric Restrictions of Different Types
Description The data property dp has a restriction to bytes >= 5 (4.5 needs to be rounded up) and <= 7 and a restriction to decimals >= 6.0 and <= 6.8. The individual a is required to have a dp successor not equalt to 6, but 6 is the only value that fulfils both restrictions, which causes an inconsistency.
Status Rejected (2009-06-12 ("4.5"^^xsd:decimal is not in the facet space of base type xsd:byte)) (proposed 2009-05-26)
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.

    DataAllValuesFrom(:dp DatatypeRestriction(
      minInclusive "4.5"^^xsd:decimal 
      maxInclusive "7"^^xsd:short)
    DataAllValuesFrom(:dp DatatypeRestriction(
      minInclusive "6.0"^^xsd:decimal 
      maxInclusive "6.8"^^xsd:decimal)
  SubClassOf(:A DataSomeValuesFrom(:dp owl:real))
  ClassAssertion(:A :a) 
  NegativeDataPropertyAssertion(:dp :a "6"^^xsd:unsignedInt)
Imported ontologies none
OWL 2 Informative
OWL 2 Normative