Datatype-Float-Discrete-001

From OWL Test Cases

Jump to:navigation, search
[Download OWL]
Test Id Datatype-Float-Discrete-001
Description The value space of xsd:float is discrete, shown with range defined on 0x00000000 and 0x00000001
Status Approved (2009-05-20, when passed by 2 implementations) (proposed 2009-05-05)
Author Michael Smith
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.
Issue ISSUE-126
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( xsd: = <http://www.w3.org/2001/XMLSchema#> )
Prefix( ex: = <http://example.org/ontology/> )

Ontology(

  Declaration( DataProperty( ex:dp ) )

  ClassAssertion(
    DataSomeValuesFrom( ex:dp
      DatatypeRestriction( xsd:float
        xsd:minExclusive "0.0"^^xsd:float
        xsd:maxExclusive "1.401298464324817e-45"^^xsd:float
      )
    )
    ex:a
  )

)
Imported ontologies none
Auxiliary syntax documents Datatype-Float-Discrete-001-RDFXML
Navigation
OWL 2 Informative
OWL 2 Normative
Toolbox