Datatype-Float-Discrete-002

From OWL Test Cases

Jump to:navigation, search
[Download OWL]
Test Id Datatype-Float-Discrete-002
Description The value space of owl:real is continuous, in contrast with xsd:float
Status Rejected (2009-05-05, no longer applicable, owl:real and xsd:float are disjoint.)
Author Michael Smith
Original syntax Functional
Syntactic Species/Profile OWL 2 DL (EL, QL, RL)
Semantics This test is applicable under both direct and RDF-based semantics.
Issue ISSUE-126
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( owl: = <http://www.w3.org/2002/07/owl#> )
Prefix( xsd: = <http://www.w3.org/2001/XMLSchema#> )
Prefix( ex: = <http://example.org/ontology/> )

Ontology(

  Declaration( DataProperty( ex:dp ) )

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

)
Imported ontologies none
Navigation
OWL 2 Informative
OWL 2 Normative
Toolbox