- From: Andy Seaborne <andy.seaborne@epimorphics.com>
- Date: Mon, 28 Mar 2011 08:28:38 +0100
- To: Matthew Perry <matthew.perry@oracle.com>
- CC: W3C SPARQL Working Group <public-rdf-dawg@w3.org>
Matt, Does the Oracle normalization turn everything into xsd:decimal so that 1+2, where "1"^^xsd:integer and "2"^^xsd:integer occur in the data, is an xsd:decimal? It'll show up on BIND but also datatype(). Andy On 22/03/11 15:50, Matthew Perry wrote: > Hi, > > Oracle's canonicalization is shown below. Please let me know if you have > any questions. > > Thanks, > Matt > > - URI, Blank Node, Plain Literal => no change > - language-tagged literals => normalize lang tag to lowercase > > - xsd:string => Plain Literal > > - All the following go to xsd:decimal normalized to remove all leading and > trailing zeros. Decimal point is not included if fractional part is zero. > xsd:decimal > xsd:integer > xsd:nonPositiveInteger > xsd:negativeInteger > xsd:long > xsd:int > xsd:short > xsd:byte > xsd:nonNegativeInteger > xsd:unsignedLong > xsd:unsignedInt > xsd:unsignedShort > xsd:unsignedByte > xsd:positiveInteger > > - normalize to concat("mantissa", "E", "exponent") > (e.g. "100.3"^^<http://www.w3.org/2001/XMLSchema#float => > "1.00300003E2"^^<http://www.w3.org/2001/XMLSchema#float>) > xsd:double => xsd:double > xsd:float => xsd:float > > - Normalize to Z timezone if timezone is given. > Time portion allows at most 9 fractional seconds, which are rounded to > 6 fractional seconds with trailing zeros removed. > xsd:dateTime => xsd:dateTime > xsd:time => xsd:time > > - xsd:date => xsd:date no change > > > - xsd:boolean => normalize to lowercase "true" or "false" >
Received on Monday, 28 March 2011 07:29:17 UTC