On 20/06/11 13:14, Ian Emmons wrote:
I recall reading some time ago that TDB transforms literals (and particularly their data types) into a canonical form upon insert, and/or that it can "promote" literal datatypes during comparisons (so that, e.g., an xsd:int and an xsd:long can compare equal). Is there any documentation on this? Or failing that, can you point me to the appropriate portion of the code?
http://openjena.org/wiki/TDB/ValueCanonicalization and part of it is SPARQL, which works on values in FILTERs so FILTER(?x < 5) compares xsd:decimal, xsd:int, xsd:double etc etc Andy
Thanks, Ian Emmons BBN Technologies
