Skip to content

Commit

Permalink
ISSUE-201: Added precision to sh:targetXY definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
HolgerKnublauch committed Nov 18, 2016
1 parent 6806e50 commit 4458a8a
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions shacl/index.html
Expand Up @@ -840,9 +840,10 @@ <h3>Targets</h3>
<section id="targetNode">
<h4>Node targets (sh:targetNode)</h4>
<p>
A <dfn>node target</dfn> is defined with the <code>sh:targetNode</code> predicate.
Each <a>value</a> of <code>sh:targetNode</code> can be an <a>IRI</a> or a <a>literal</a>.
Each value of a node target defines a node to validate in the data graph.
A <dfn>node target</dfn> is specified using the <code>sh:targetNode</code> predicate.
Each <a>value</a> of <code>sh:targetNode</code> must be an <a>IRI</a> or a <a>literal</a>.
Each value of a node target identifies a node in the data graph to be validated against
the shape that is the <a>subject</a> of the <code>sh:targetNode</code> triple.
</p>

<p>
Expand Down Expand Up @@ -875,7 +876,7 @@ <h4>Node targets (sh:targetNode)</h4>
<section id="targetClass">
<h4>Class-based Targets (sh:targetClass)</h4>
<p>
A <dfn>class target</dfn> is defined with the <code>sh:targetClass</code> predicate.
A <dfn>class target</dfn> is specified with the <code>sh:targetClass</code> predicate.
Each value of <code>sh:targetClass</code> must be an <a>IRI</a>.
For every value <code>c</code> of a class target, all <a>SHACL instances</a> of <code>c</code> in the data graph are validated
against the <a>subject</a> of the <code>sh:targetClass</code> triple.
Expand Down Expand Up @@ -939,7 +940,7 @@ <h4>Implicit Class Targets</h4>
<section id="targetSubjectsOf">
<h5>Subjects-of targets (sh:targetSubjectsOf)</h5>
<p>
A <dfn>subjects-of target</dfn> is defined with the predicate <code>sh:targetSubjectsOf</code>,
A <dfn>subjects-of target</dfn> is specified with the predicate <code>sh:targetSubjectsOf</code>,
the <a>values</a> of which must be <a>IRIs</a>.
For every value <code>p</code> of such a target, the validated nodes are defined as
the set of <a>subjects</a> in the <a>data graph</a> that appear in a <a>triple</a> with <code>p</code> as a <a>predicate</a>.
Expand Down Expand Up @@ -975,7 +976,7 @@ <h5>Subjects-of targets (sh:targetSubjectsOf)</h5>
<section id="targetObjectsOf">
<h5>Objects-of targets (sh:targetObjectsOf)</h5>
<p>
An <dfn>objects-of target</dfn> is defined with the predicate <code>sh:targetObjectsOf</code>,
An <dfn>objects-of target</dfn> is specified with the predicate <code>sh:targetObjectsOf</code>,
the <a>values</a> of which must be <a>IRIs</a>.
For every value <code>p</code> of such a target, the validated nodes are defined as
the set of <a>objects</a> in the <a>data graph</a> that appear in a <a>triple</a> with <code>p</code> as a <a>predicate</a>.
Expand Down

0 comments on commit 4458a8a

Please sign in to comment.