Skip to content

Commit 345eb4c

Browse files
committed
Improved reifiableBy definitions, moved sh:path constraint
1 parent de746c3 commit 345eb4c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

shacl12-core/index.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2064,9 +2064,7 @@ <h3>Property Shapes</h3>
20642064
that is the <a>subject</a> of a <a>triple</a> that has <code>sh:path</code> as its <a>predicate</a>.</span>
20652065
<span data-syntax-rule="path-maxCount">A shape has at most one <a>value</a> for <code>sh:path</code>.</span>
20662066
<span data-syntax-rule="path-node">The <a>value</a> of <code>sh:path</code> in a property shape is a <a>well-formed</a>
2067-
<a>SHACL property path</a>. If a property shape contains a <code>sh:ReifiableByConstraintComponent</code>,
2068-
<code>sh:path</code> values are constrained to IRIs.</span>
2069-
2067+
<a>SHACL property path</a>.</span>
20702068
<br/><br/>
20712069
It is recommended, but not required, for a <a>property shape</a> to be declared as a <a>SHACL instance</a> of <code>sh:PropertyShape</code>.
20722070
<span data-syntax-rule="PropertyShape-path-minCount"><a>SHACL instances</a> of <code>sh:PropertyShape</code> have one <a>value</a> for the property <code>sh:path</code>.</span>
@@ -5693,6 +5691,7 @@ <h4>sh:reifiableBy, sh:reificationRequired</h4>
56935691
<p>
56945692
<code>sh:reifiableBy</code> can be used to link a <a>property shape</a> with one or more <a>node shapes</a>.
56955693
Any reified statement must conform to these node shapes.
5694+
If a property shape contains a <code>sh:ReifiableByConstraintComponent</code>, <code>sh:path</code> values are constrained to IRIs.
56965695
</p>
56975696

56985697
<div class="parameters">Parameters:</div>
@@ -5723,13 +5722,14 @@ <h4>sh:reifiableBy, sh:reificationRequired</h4>
57235722
<div class="def-text-body" data-validator="ReifiableBy">
57245723
Let <code>t</code> be the <a>triple terms</a> (<a>focus node</a>, <code>$path</code>, <a>value node</a>).
57255724
For each reified statement for the <a>triple terms</a> <code>t</code>, a failure MUST be produced if the validation of the reified statement with the <a>reifier</a> as <a>focus node</a> against the <a>node shape</a> <code>$reifiableBy</code> produces a <a>failure</a>.
5725+
Otherwise, if the reified statements of <code>t</code> do not conform to <code>$reifiableBy</code>, there is a validation result with <code>t</code> as <code>sh:value</code>.
57265726
</div>
57275727
</div>
57285728

57295729
<div class="def def-text">
57305730
<div class="def-header">TEXTUAL DEFINITION of sh:reificationRequired</div>
57315731
<div class="def-text-body" data-validator="ReificationRequired">
5732-
If <code>$reificationRequired</code> is set to <code>true</code>, a failure MUST be produced when there is no reified statement for the <a>triple term</a> <code>t</code> in the <a>data graph</a>.
5732+
If <code>$reificationRequired</code> is set to <code>true</code>, and when there is no reified statement for the <a>triple term</a> <code>t</code> in the <a>data graph</a> there is a validation result with <code>t</code> as <code>sh:value</code>.
57335733
</div>
57345734
</div>
57355735

0 commit comments

Comments
 (0)