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
The <a>node shape</a> that all value nodes need to conform to.
5399
-
<spandata-syntax-rule="node-node">The values of <code>sh:node</code> in a shape must be <a>well-formed</a><a>node shapes</a>.</span>
5402
+
The <a>node shapes</a> that all value nodes need to conform to.
5403
+
<spandata-syntax-rule="node-node">The <a>values</a> of <code>sh:node</code> in a shape must be <a>well-formed</a><a>node expressions</a>.</span>
5400
5404
</td>
5401
5405
</tr>
5402
5406
</table>
5403
5407
<divclass="def def-text">
5404
5408
<divclass="def-header">TEXTUAL DEFINITION</div>
5405
5409
<divclass="def-text-body" data-validator="Node">
5406
-
Let <code>$node</code> be a <a>value</a> of <code>sh:node</code>.
5407
-
For each <a>value node</a><code>v</code>:
5408
-
A <a>failure</a> MUST be produced if the <a>conformance checking</a> of <code>v</code> against <code>$node</code> produces a <a>failure</a>.
5409
-
Otherwise, if <code>v</code> does not <a>conform</a> to <code>$node</code>,
5410
-
there is a <a>validation result</a> with <code>v</code> as <code>sh:value</code>.
5410
+
Let <code>$expr</code> be a <a>value</a> of <code>sh:node</code>.
5411
+
For each <a>value node</a><code>v</code>: perform <a>conformance checking</a> of <code>v</code> against each <a>output node</a>
5412
+
of <code>evalExpr(expr, <a>data graph</a>, v, {})</code><code>s</code> that is a <a>node shape</a> in the <a>shapes graph</a>.
5413
+
For each conformance check, a <a>failure</a> MUST be produced if the <a>conformance checking</a> of <code>v</code> against <code>s</code> produces a <a>failure</a>.
5414
+
Otherwise, if <code>v</code> does not <a>conform</a> to <code>s</code>,
5415
+
there is a <a>validation result</a> with <code>v</code> as <code>sh:value</code> and a <a>deep copy</a> of <code>s</code> as <code>sh:sourceConstraint</code>.
5411
5416
</div>
5412
5417
</div>
5413
5418
<p><em>The remainder of this section is informative.</em></p>
@@ -5534,6 +5539,7 @@ <h4>sh:node</h4>
5534
5539
sh:resultPath ex:address ;
5535
5540
sh:value ex:RetosAddress ;
5536
5541
sh:resultMessage "Value does not conform to shape ex:AddressShape." ;
<h2>Changes between SHACL 1.0 Core and SHACL 1.2 Core</h2>
6866
6875
<ul>
6867
-
<li>Introduced <a>node expressions</a> as an extension point to dynamically compute lists of nodes. Generalized <code>sh:targetNode</code>, <code>sh:deactivated</code> and <code>sh:defaultValue</code>, and introduced <code>sh:values</code> to support node expressions.</li>
6876
+
<li>Introduced <a>node expressions</a> as an extension point to dynamically compute lists of nodes. Generalized <code>sh:targetNode</code>, <code>sh:node</code>, <code>sh:deactivated</code> and <code>sh:defaultValue</code>, and introduced <code>sh:values</code> to support node expressions.</li>
6868
6877
<li>Added the new constraint component <ahref="#SingleLineConstraintComponent"><code>sh:singleLine</code></a>, see <ahref="https://github.com/w3c/data-shapes/issues/177">Issue 177</a></li>
6869
6878
<li>Added the new class <ahref="#ShapeClass"><code>sh:ShapeClass</code></a> for implicit class targets, see <ahref="https://github.com/w3c/data-shapes/issues/212">Issue 212</a></li>
6870
6879
<li>Moved SPARQL-based validators from Core to an Appendix of SHACL-SPARQL, see <ahref="https://github.com/w3c/data-shapes/issues/271">Issue 271</a></li>
0 commit comments