Skip to content

Commit 6287d43

Browse files
authored
experimental mods to validation definition
1 parent 003db0c commit 6287d43

1 file changed

Lines changed: 11 additions & 10 deletions

File tree

shacl/index.html

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1384,23 +1384,24 @@ <h4>Defining Messages for a Constraint</h4>
13841384
<h2>Validation and Graphs</h2>
13851385
<p>
13861386
The definition for <dfn data-lt="validation|validates|validated|validate">validating</dfn> a <a>data graph</a>
1387-
against a <a>shapes graph</a> as well as a <a>node</a> from the data graph against a <a>shape</a> from the shapes graph is provided below:
1387+
against a <a>shapes graph</a> as well as a <a>node</a> from the data graph against a <a>shape</a> from the shapes graph is provided below. The result of a validation is either "successful" or "not successful":
13881388
</p>
13891389

13901390
<div id="def-validation" class="def def-text">
13911391
<div class="def-header">VALIDATION DEFINITION</div>
13921392
<div class="def-text-body">
1393-
Validation is the process of determining whether a <a>data graph</a>, or <a>nodes</a> in the <a>data graph</a>, validate against a <a>shapes graph</a>.
1393+
Validation is the process of determining whether a <a>data graph</a>, or <a>nodes</a> in the <a>data graph</a>, is consistent with the constraints in a <a>shapes graph</a>.
1394+
Data graphs or nodes that are consistent with the constraints in the shapes graph are said to "successfully validate"; those that are not consistent are said to "not successfully validate".
13941395
<ul>
1395-
<li>A <a>node</a> validates against a <a>shape</a> if and only if
1396-
either it does not validate against some <a>filter</a> of the shape
1397-
or none of the <a>constraints</a> in the shape produce a <a>validation result</a> or a <a>failure</a> for the node.
1396+
<li>A <a>node</a> successfully validates against a <a>shape</a> if and only if
1397+
either it does not successfully validate against some <a>filter</a> of the shape,
1398+
or if none of the <a>constraints</a> in the shape produce either a <a>validation result</a> or a <a>failure</a> for the node.
13981399
</li>
1399-
<li>A <a>data graph</a> validates against a <a>shape</a> if and only if
1400-
each node that is in any of the <a>targets</a> of the shape validates against the shape.
1400+
<li>A <a>data graph</a> successfully validates against a <a>shape</a> if and only if
1401+
each node that is in <del>any</del>(all?) of the <a>targets</a> of the shape validates against the shape.
14011402
</li>
1402-
<li>A <a>data graph</a> validates against a <a>shapes graph</a> if and only if
1403-
the data graph validates against each <a>shape</a> in the shapes graph.
1403+
<li>A <a>data graph</a> successfully validates against a <a>shapes graph</a> if and only if
1404+
the data graph successfully validates against each <a>shape</a> in the shapes graph.
14041405
</li>
14051406
</ul>
14061407
</div>
@@ -1418,7 +1419,7 @@ <h2>Validation and Graphs</h2>
14181419
</p>
14191420
<p>
14201421
To validate a data graph against the shapes graph, a SHACL processor requires the shapes graph and the data graph as arguments for the validation process.
1421-
Optionally, two additional arguments may be provided for validating a specific node from the data graph against a specific shape from the shapes graph.
1422+
Optionally, two additional arguments(which ones?) may be provided for validating a specific node from the data graph against a specific shape from the shapes graph.
14221423
</p>
14231424
<p>
14241425
SHACL can be used with RDF graphs that are obtained by any means, e.g. from the file system, HTTP requests, or <a href="http://www.w3.org/TR/rdf11-concepts/#section-dataset">RDF datasets</a>.

0 commit comments

Comments
 (0)