New-Feature-Rational-003

From OWL Test Cases

Jump to:navigation, search
[Download OWL]
Test Id New-Feature-Rational-003
Description A consistent ontology demonstrating owl:rational is different from xsd:decimal. The decimal literal requires 16 digits, the minimum required for conformance.
Status Approved (2009-07-23) (proposed 2009-07-22)
Author Mike Smith, 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.
Specification Reference http://www.w3.org/TR/owl2-syntax/#Real_Numbers.2C_Decimal_Numbers.2C_and_Integers
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( : = <http://example.org/> )
Prefix( owl: = <http://www.w3.org/2002/07/owl#> )
Prefix( xsd: = <http://www.w3.org/2001/XMLSchema#> )

Ontology(
 Declaration( DataProperty( :dp ) )
 ClassAssertion( DataAllValuesFrom( :dp DataOneOf( "0.3333333333333333"^^xsd:decimal "1/3"^^owl:rational ) ) :a )
 ClassAssertion( DataMinCardinality( 2 :dp ) :a )
)
Imported ontologies none
Auxiliary syntax documents New-Feature-Rational-003-RDFXML
Navigation
OWL 2 Informative
OWL 2 Normative
Toolbox