Skip to content

Commit 2c0a282

Browse files
committed
fix: reifierShape: corrected label, improved definition, moved sh:path constrain to parameter
1 parent 3ced0c9 commit 2c0a282

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

shacl12-core/index.html

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5691,7 +5691,6 @@ <h4>sh:reifierShape, sh:reificationRequired</h4>
56915691
<p>
56925692
<code>sh:reifierShape</code> can be used to link a <a>property shape</a> with one or more <a>node shapes</a>.
56935693
Any <a>reifier</a> must conform to these node shapes.
5694-
If a property shape contains a <code>sh:ReifierShapeConstraintComponent</code>, <code>sh:path</code> values are constrained to IRIs.
56955694
</p>
56965695

56975696
<div class="parameters">Parameters:</div>
@@ -5704,7 +5703,10 @@ <h4>sh:reifierShape, sh:reificationRequired</h4>
57045703
<td><code>sh:reifierShape</code></td>
57055704
<td>
57065705
The <a>node shape</a> that a reifier for this triple must conform to.
5707-
<span data-syntax-rule="reifierShape-node">The values of <code>sh:reifierShape</code> must be <a>well-formed</a> <a>node shapes</a>.</span>
5706+
<span data-syntax-rule="reifierShape-node">
5707+
The values of <code>sh:reifierShape</code> must be <a>well-formed</a> <a>node shapes</a>.
5708+
If a value for <code>sh:reifierShape</code> is given, <code>sh:path</code> values are constrained to IRIs.
5709+
</span>
57085710
</td>
57095711
</tr>
57105712
<tr>
@@ -5722,7 +5724,7 @@ <h4>sh:reifierShape, sh:reificationRequired</h4>
57225724
<div class="def-text-body" data-validator="ReifierShape">
57235725
Let <code>t</code> be the <a>triple term</a> (<a>focus node</a>, <code>$path</code>, <a>value node</a>).
57245726
For each <a>reifier</a> for the <a>triple term</a> <code>t</code>, a failure MUST be produced if validating the <a>reifier</a> against the <a>node shape</a> <code>$reifierShape</code> with the <a>reifier</a> as <a>focus node</a> produces a <a>failure</a>.
5725-
Otherwise, if the <a>reifiers</a> of <code>t</code> do not conform to <code>$reifierShape</code>, there is a validation result with <code>t</code> as <code>sh:value</code>.
5727+
For each <a>reifier</a> <code>t</code> that does not conform to <code>$reifierShape</code>, there is a validation result with <code>t</code> as <code>sh:value</code>.
57265728
</div>
57275729
</div>
57285730

shacl12-vocabularies/shacl.ttl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1141,7 +1141,7 @@ sh:ReifierShapeConstraintComponent-reificationRequired
11411141

11421142
sh:reifierShape
11431143
a rdf:Property ;
1144-
rdfs:label "reifiable by"@en ;
1144+
rdfs:label "reifier shape"@en ;
11451145
rdfs:comment "The shape that the reified triples must conform to."@en ;
11461146
rdfs:range sh:NodeShape ;
11471147
rdfs:isDefinedBy sh: .

0 commit comments

Comments
 (0)