W3C home > Mailing lists > Public > public-data-shapes-wg@w3.org > April 2016

shapes-ISSUE-145 (minExclusive code incorrect): the SPARQL code for sh:minExclusive is incorrect [SHACL - Core]

From: RDF Data Shapes Working Group Issue Tracker <sysbot+tracker@w3.org>
Date: Fri, 08 Apr 2016 18:28:49 +0000
To: public-data-shapes-wg@w3.org
Message-Id: <E1aob9F-0009g9-5c@maia.w3.org>
shapes-ISSUE-145 (minExclusive code incorrect): the SPARQL code for sh:minExclusive is incorrect [SHACL - Core]

http://www.w3.org/2014/data-shapes/track/issues/145

Raised by: Peter Patel-Schneider
On product: SHACL - Core

The SPARQL code for sh:minExclusive in a predicate constraint is:

SELECT $this ($this AS ?subject) $predicate (?value AS ?object)
WHERE {
	$this $predicate ?value .
	FILTER (!($value > $minExclusive)) .
}

This filters out all values that are not greater than the boundary, but also incorrectly filters out all values for which the comparison produces an error.
Received on Friday, 8 April 2016 18:28:50 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:30:31 UTC