ISSUE-140: SHACL needs to support validation of individual nodes
Individual validation
SHACL needs to support validation of individual nodes
- State:
- CLOSED
- Product:
- SHACL - Core
- Raised by:
- Holger Knublauch
- Opened on:
- 2016-03-21
- Description:
- We have a requirement
https://www.w3.org/TR/shacl-ucr/#r11.8-evaluating-constraints-for-a-single-node-only
that it should be possible to validate individual nodes only. The UCR document states this is handled by sh:scopeNode but that is not sufficient because it would require changes to a shapes graph (to remove all other scope statements etc).
A typical use case is form entry - we cannot let the engine evaluate the whole database (e.g. all of dbpedia) if someone is just looking at a single instance.
A few months ago we decided to delete the Operations section of the spec. That section defined an operation to invoke SHACL validation for individual nodes. I believe we should bring something like this back and define what needs to happen.
I suggest to add a couple of sentences to where we currently say that the input to the SHACL engine is a shapes graph and a data graph, along the lines of
"Optionally, an individual node can be used as additional parameter to the validation process, resulting in validation of that node only." The behavior would be that the engine looks for all shapes where that node would be in scope of, and just evaluate those. - Related Actions Items:
- No related actions
- Related emails:
- Re: ISSUE-140: Suggestion to close (from holger@topquadrant.com on 2016-11-01)
- Re: ISSUE-140: Suggestion to close (from holger@topquadrant.com on 2016-11-01)
- Re: ISSUE-140: Suggestion to close (from holger@topquadrant.com on 2016-11-01)
- Re: ISSUE-140: Suggestion to close (from holger@topquadrant.com on 2016-11-01)
- Re: ISSUE-140: Suggestion to close (from kcoyle@kcoyle.net on 2016-10-31)
- Re: ISSUE-140: Suggestion to close (from kcoyle@kcoyle.net on 2016-10-31)
- Re: ISSUE-140: Suggestion to close (from kcoyle@kcoyle.net on 2016-10-31)
- Re: ISSUE-140: Suggestion to close (from kcoyle@kcoyle.net on 2016-10-31)
- Re: ISSUE-140: Suggestion to close (from kontokostas@informatik.uni-leipzig.de on 2016-10-31)
- Re: ISSUE-140: Suggestion to close (from holger@topquadrant.com on 2016-10-31)
- Re: ISSUE-140: Suggestion to close (from eric@w3.org on 2016-10-31)
- Re: ISSUE-140: Suggestion to close (from holger@topquadrant.com on 2016-10-31)
- Re: ISSUE-140: Suggestion to close (from eric@w3.org on 2016-10-26)
- Re: ISSUE-140: Suggestion to close (from holger@topquadrant.com on 2016-10-07)
- ISSUE-140: Suggestion to close (from holger@topquadrant.com on 2016-09-23)
- Re: Please review the SHACL draft (was Re: Editing progress) (from holger@topquadrant.com on 2016-08-31)
- shapes-ISSUE-140 (Individual validation): SHACL needs to support validation of individual nodes [SHACL - Core] (from sysbot+tracker@w3.org on 2016-03-21)
Related notes:
RESOLUTION: close issue-140 by adding some consistent style and a link to say that target* is not needed for invocations by API
See http://www.w3.org/2016/11/09-shapes-minutes.html#resolution05
Display change log