You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: shacl/index.html
+11-10Lines changed: 11 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -1384,23 +1384,24 @@ <h4>Defining Messages for a Constraint</h4>
1384
1384
<h2>Validation and Graphs</h2>
1385
1385
<p>
1386
1386
The definition for <dfndata-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":
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".
1394
1395
<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.
1398
1399
</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.
1401
1402
</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.
1404
1405
</li>
1405
1406
</ul>
1406
1407
</div>
@@ -1418,7 +1419,7 @@ <h2>Validation and Graphs</h2>
1418
1419
</p>
1419
1420
<p>
1420
1421
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.
1422
1423
</p>
1423
1424
<p>
1424
1425
SHACL can be used with RDF graphs that are obtained by any means, e.g. from the file system, HTTP requests, or <ahref="http://www.w3.org/TR/rdf11-concepts/#section-dataset">RDF datasets</a>.
0 commit comments