On 11/08/11 22:41, Ian Emmons wrote:
TDB experts,

At [1], the TDB documentation indicates that TDB will regard
"47"^^xsd:integer and "47.0"^^xsd:decimal as the same value and match
them in a query.  However, when I store the former and query for the
latter, TDB does not return the expected result.

TDB stores the values of integer and decimal, but it does stil keep those two types part. The rules of XSD arithmetic try not to over promote datatypes e.g. integer + integer is integer.

I guess "by query" you are putting the decimal directly in a graph pattern. They are the same value in FILTERs.


I've attached a small sample program and the .ttl file that it reads
so that you can reproduce the problem.  My question is, what am I
doing wrong, here?

The attachments are empty - and indeed the [1] link is in the second attachment. I can send you the raw source of the message I received if that helps.

        Andy


Thanks,

Ian











[1] http://jenawiki.hpl.hp.com/wiki/TDB/ValueCanonicalization

Reply via email to