- From: Ruben Verborgh <Ruben.Verborgh@UGent.be>
- Date: Mon, 9 Jan 2017 14:58:43 +0000
- To: "public-sparql-dev@w3.org" <public-sparql-dev@w3.org>
Dear all, The FedBench LS7 query contains a FILTER as follows: $keggDrug <http://bio2rdf.org/ns/bio2rdf#mass> $mass . FILTER ( $mass > '5' ) The kegg dataset contains data as follows: <http://bio2rdf.org/cpd:C00001> <http://bio2rdf.org/ns/bio2rdf#mass> "18.0106" . <http://bio2rdf.org/cpd:C00002> <http://bio2rdf.org/ns/bio2rdf#mass> "506.9957" . So this puts us in the following case (https://www.w3.org/TR/sparql11-query/#OperatorMapping): A > B simple literal simple literal op:numeric-equal(fn:compare(A, B), 1) xsd:boolean In other words, we should do a string comparison according to the spec, so only "506.9957" would be returned, not "18.0106". Unfortunately, this does not seem to match the intention of the query. How have existing evaluations tackled this so far, and what is the pragmatic way forward? Best, Ruben
Received on Monday, 9 January 2017 14:59:19 UTC