Numeric-restrictions-different-type-incons

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.

Prefix(:=<http://example.org/>)
Prefix(xsd:=<http://www.w3.org/2001/XMLSchema#>)
Prefix(owl:=<http://www.w3.org/2002/07/owl#>)
Ontology(
  Declaration(NamedIndividual(:a))
  Declaration(DataProperty(:dp))
  Declaration(Class(:A))
  SubClassOf(:A 
    DataAllValuesFrom(:dp DatatypeRestriction(
      xsd:byte 
      minInclusive "4.5"^^xsd:decimal 
      maxInclusive "7"^^xsd:short)
    )
  ) 
  SubClassOf(:A 
    DataAllValuesFrom(:dp DatatypeRestriction(
      xsd:decimal 
      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
Navigation
OWL 2 Informative
OWL 2 Normative
Toolbox