W3C home > Mailing lists > Public > public-sparql-dev@w3.org > January to March 2017

FedBench LS7

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>
Message-ID: <724FDB55-BA6A-4C85-8703-5199145A8356@ugent.be>
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?


Received on Monday, 9 January 2017 14:59:19 UTC

This archive was generated by hypermail 2.3.1 : Monday, 9 January 2017 14:59:20 UTC