- From: RDF Data Shapes Working Group Issue Tracker <sysbot+tracker@w3.org>
- Date: Mon, 21 Mar 2016 22:10:28 +0000
- To: public-data-shapes-wg@w3.org
shapes-ISSUE-140 (Individual validation): SHACL needs to support validation of individual nodes [SHACL - Core] http://www.w3.org/2014/data-shapes/track/issues/140 Raised by: Holger Knublauch On product: SHACL - Core 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.
Received on Monday, 21 March 2016 22:10:29 UTC