Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified shacl12-node-expr/images/CountExampleDiagram.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified shacl12-node-expr/images/FilterShapeExampleDiagram.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22 changes: 14 additions & 8 deletions shacl12-node-expr/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -609,9 +609,9 @@ <h2>Getting started with Node Expressions</h2>
</p>
<div>
<img
alt="Illustration of the data flow between node expressions"
src="images/FilterShapeExampleDiagram.png"
width="800px"
alt="Illustration of the data flow between node expressions"
src="images/FilterShapeExampleDiagram.png"
width="800px"
>
</div>
<p>
Expand Down Expand Up @@ -681,9 +681,9 @@ <h2>Getting started with Node Expressions</h2>
</p>
<div>
<img
alt="Illustration of the data flow between node expressions computing the employee count"
src="images/CountExampleDiagram.png"
width="800px"
alt="Illustration of the data flow between node expressions computing the employee count"
src="images/CountExampleDiagram.png"
width="800px"
>
</div>
<p>
Expand All @@ -693,7 +693,13 @@ <h2>Getting started with Node Expressions</h2>
the currently displayed company is the <a>focus node</a>, for which the number of employees
will be fetched.
</p>
<p class="todo">Clarify when these derived properties can be used (e.g. in sh:path expressions but not as triples elsewhere)</p>
<p>
Note that these derived properties do not automatically lead to the creation of triples.
Tools that use these <code>sh:values</code> expressions typically compute the values on demand
only, for example whenever an instance of <code>ex:Company</code> is displayed or queried.
Some tools MAY however materialize the triples, for example so that they become available to
SPARQL queries.
</p>
</section>

<section id="syntax">
Expand Down Expand Up @@ -2792,7 +2798,7 @@ <h3>Example: Dynamic Enumerations</h3>
</div>
</aside>
<p>
Using this extra information, we can now define a <code>sh:in</code> constraint using a <a>Path Expression</a>:
Using this extra information, we can now define a <code>sh:in</code> constraint using a <a>path values expression</a>:
</p>
<aside class="example" title="Example of Dynamic SHACL using a node expression at sh:in">
<div class="shapes-graph">
Expand Down