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:
  1. Re: ISSUE-140: Suggestion to close (from holger@topquadrant.com on 2016-11-01)
  2. Re: ISSUE-140: Suggestion to close (from holger@topquadrant.com on 2016-11-01)
  3. Re: ISSUE-140: Suggestion to close (from holger@topquadrant.com on 2016-11-01)
  4. Re: ISSUE-140: Suggestion to close (from holger@topquadrant.com on 2016-11-01)
  5. Re: ISSUE-140: Suggestion to close (from kcoyle@kcoyle.net on 2016-10-31)
  6. Re: ISSUE-140: Suggestion to close (from kcoyle@kcoyle.net on 2016-10-31)
  7. Re: ISSUE-140: Suggestion to close (from kcoyle@kcoyle.net on 2016-10-31)
  8. Re: ISSUE-140: Suggestion to close (from kcoyle@kcoyle.net on 2016-10-31)
  9. Re: ISSUE-140: Suggestion to close (from kontokostas@informatik.uni-leipzig.de on 2016-10-31)
  10. Re: ISSUE-140: Suggestion to close (from holger@topquadrant.com on 2016-10-31)
  11. Re: ISSUE-140: Suggestion to close (from eric@w3.org on 2016-10-31)
  12. Re: ISSUE-140: Suggestion to close (from holger@topquadrant.com on 2016-10-31)
  13. Re: ISSUE-140: Suggestion to close (from eric@w3.org on 2016-10-26)
  14. Re: ISSUE-140: Suggestion to close (from holger@topquadrant.com on 2016-10-07)
  15. ISSUE-140: Suggestion to close (from holger@topquadrant.com on 2016-09-23)
  16. Re: Please review the SHACL draft (was Re: Editing progress) (from holger@topquadrant.com on 2016-08-31)
  17. 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

Arnaud Le Hors, 14 Nov 2016, 19:30:04

Display change log ATOM feed


Chair, Staff Contact
Tracker: documentation, (configuration for this group), originally developed by Dean Jackson, is developed and maintained by the Systems Team <w3t-sys@w3.org>.
$Id: 140.html,v 1.1 2018/11/26 09:03:29 carine Exp $