Closed romaintailhurat closed 7 hours ago
@romaintailhurat Thanks for pointing this out to us + a PR is already under way. Did this just occur to you or is the range and datatype important for you application?
Nothing important for my current use case, i was just testing this operator on two endpoints: a qlever instance and a GraphDB one, i noticed this subtle difference.
And thank you for the quick fix!
According to the SPARQL 1.1 spec, the
RAND
operator should produce axsd:double
between 0 and 1.But it's not what I'm getting from the API. For example, with a query like:
I'm getting this kind of payload:
The type of the random variable being
xsd:int
instead ofxsd:double
and the value is way out of the spec bounds.