> On 2016-09-15, at 23:56, lookman sanni <lookous...@gmail.com> wrote:
> Hi all,
> I am trying to perform a filter in a SPARQL query, through the below code:
> FILTER ( abs(xsd:float(?tAmount1)) = abs(xsd:float(?tAmount2)) )
> The query is being parsed correctly, but I am not getting the expected
> result. Any clue why this would not convert and compare those amounts
> properly ? The amounts are formatted like this: "+8644,00".
> Thanks in advance for the help.
have you tried to use the query itself to diagnose the issue?
if you make it have it return the solution bindings for the cases which do not
match your expectation, perhaps extended with converted values, you may see
that there is some assumption embedded in your query which is not reflected in
it is also possible the discrepancy between the result and your expectation
arises somewhere else in the query.
if you are in a position to post it in its entirety, it might be possible to
shed light on that.
best regards, from berlin
james anderson | ja...@dydra.com | http://dydra.com