W3C home > Mailing lists > Public > public-rdf-shapes@w3.org > September 2016

divergence in the definition of sh:minCount

From: Peter F. Patel-Schneider <pfpschneider@gmail.com>
Date: Fri, 23 Sep 2016 11:17:45 -0700
To: public-rdf-shapes@w3.org
Message-ID: <14b396da-cd43-3004-9318-cae7c3d57a2d@gmail.com>
The textual and SPARQL definitions of sh:minCount do not align when paths
are allowed.

A validation result must be produced if the number of value nodes is less
than the value of sh:minCount.

SELECT $this
WHERE {OPTIONAL {$this $PATH ?value .}}
GROUP BY $this
HAVING (COUNT(?value) < $minCount)

Peter F. Patel-Schneider
Nuance Communications
Received on Friday, 23 September 2016 18:18:16 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:02:44 UTC