incubator-jena-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andy Seaborne <>
Subject Re: Literal Canonicalization
Date Mon, 20 Jun 2011 13:13:35 GMT

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?

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


> Thanks,
> Ian Emmons BBN Technologies

View raw message