# RIF-OWL-datatypes

Table 4. Numeric Datatypes and Their Value Spaces
Datatype Value Space
owl:realPlus the set of all real numbers extended with four special values -0 (negative zero), +INF (positive infinity), -INF (negative infinity), and NaN (not-a-number)
owl:real the set of all real numbers
owl:rational the set of all rational numbers
xsd:double the four special values -0, +INF, -INF, and NaN, plus the set of all real numbers of the form m × 2e where m is an integer whose absolute value is less than 253 and e is an integer between -1075 and 970, inclusive
xsd:float the four special values -0, +INF, -INF, and NaN, plus the set of all real numbers of the form m × 2e where m is an integer whose absolute value is less than 224 and e is an integer between -149 and 104, inclusive
xsd:decimal the set of all real numbers of the form i × 10-n where i is an integer and n is a nonnegative integer
xsd:integer the set of all integers
xsd:nonNegativeInteger the set of all nonnegative integers
xsd:nonPositiveInteger the set of all negative integers plus (positive) zero
xsd:positiveInteger the set of all positive integers
xsd:negativeInteger the set of all negative integers
xsd:long the set of all integers between -9223372036854775808 and 9223372036854775807, inclusive
xsd:int the set of all integers between -2147483648 and 2147483647, inclusive
xsd:short the set of all integers between -32768 and 32767, inclusive
xsd:byte the set of all integers between -128 and 127, inclusive
xsd:unsignedLong the set of all integers between 0 and 18446744073709551615, inclusive
xsd:unsignedInt the set of all integers between 0 and 4294967295, inclusive
xsd:unsignedShort the set of all integers between 0 and 65535, inclusive
xsd:unsignedByte the set of all integers between 0 and 255, inclusive
rdf:text The definitions of the value space, the lexical space, the facet space, and the necessary mappings are given in [RDF:TEXT
xsd:string subset of the value space of rdf:text
xsd:normalizedString subset of the value space of rdf:text
xsd:token subset of the value space of rdf:text
xsd:language subset of the value space of rdf:text
xsd:Name subset of the value space of rdf:text
xsd:NCName subset of the value space of rdf:text
xsd:NMTOKEN subset of the value space of rdf:text
xsd:boolean
xsd:hexBinary
xsd:base64Binary
xsd:anyURI
xsd:dateTimeStamp equivalent to the xsd:dateTime datatype of XML Schema Datatypes [XML Schema Datatypes] with a required timezone, and has been added to XML Schema Datatypes.
rdf:XMLLiteral XML content