Skip to content

v4.0.2

Latest

Choose a tag to compare

@mdesalvo mdesalvo released this 27 Nov 11:54
· 1 commit to main since this release

This is a fix-pack covering glitches and misbehaviors in the library's RDF modeling and SPARQL querying capabilities. It is part of our committment focused on pursuing ever better compliance with W3C standards. Some of these interventions affect the library's historical behavior by changing produced SPARQL results, proving that we are definitely converging to the right direction.

(FIX) ORDER BY sorts typed literals as strings instead of by value (#407)
(FIX) VALUES with UNDEF returns every row of the pattern group (#408)
(FIX) String comparisons can be mistaken for a type error in FILTER and SHACL constraints (#409)
(FIX) Ground triple patterns are silently dropped from pattern groups (#411)
(FIX) SPARQL XML results reader rejects an empty head and drops results without bindings (#412)
(FIX) BIND after a GRAPH or OPTIONAL block is parsed into an empty group of its own (#414)
(FIX) SPARQL parser rejects a trailing multi-variable VALUES after ORDER BY (#415)
(FIX) SPARQL parser error messages report the position twice (#416)
(FIX) ISIRI and ISLITERAL guess the term kind from its text: blank nodes and IRI-shaped literals misclassified (#418)
(FIX) ROUND rounds ties to even and returns xsd:double (#419)
(FIX) ABS, CEIL and FLOOR return xsd:double whatever the argument type (#420)
(FIX) xsd:double and xsd:float reject INF and -INF (#421)
(FIX) time:generalYear, generalMonth and generalDay are not compared by value (#422)
(FIX) Double and float arithmetic drops INF and NaN results, failing SUM and AVG (#423)
(FIX) Numeric MIN and MAX compare as double and lose precision (#424)
(FIX) time:general* validation accepts values that only contain a valid form (#425)
(FIX) The empty group has no solution: failing BINDs lose rows, computed values invent rows (#427)
(FIX) Ground templates of CONSTRUCT, INSERT and DELETE apply even when WHERE has no solution (#428)
(FIX) SPARQL Parser rejects FILTER with a boolean literal constraint (#429)
(FIX) Calendar dates and g* values with a positive offset shift to another day or year (#431)
(FIX) SPARQL XML results writer puts the leading ? in variable names (#434)
(FIX) SPARQL XML results reader does not prefix variable names with ? (#435)
(FIX) SPARQL XML results writer writes the ASK answer in upper case (#436)
(FIX) GiveEmptyResult does not apply when a SPARQL endpoint answers with an unreadable body (#438)
(FIX) FromUri returns an empty graph or store when the content type is not an RDF one (#439)
(FIX) GeoSPARQL geof:buffer is printed without its unit of measure (#440)
(FIX) FromUri does not dispose the HTTP response (#442)
(FIX) The unit of geof:distance and geof:buffer is parsed but ignored (#443)

@mdesalvo @claude