You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jena.apache.org by an...@apache.org on 2022/01/28 21:04:40 UTC
[jena-site] branch main updated (a1cda0a -> 70a5775)
This is an automated email from the ASF dual-hosted git repository.
andy pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/jena-site.git.
from a1cda0a Downlinks to Fuseki WAR file
new 929b323 SHACLC: Sections for extensions
new 70a5775 Fix for hugo warning about .Path
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
layouts/_default/baseof.html | 10 ++++++++--
source/documentation/shacl/__index.md | 25 +++++++++++++++++++++++--
2 files changed, 31 insertions(+), 4 deletions(-)
[jena-site] 02/02: Fix for hugo warning about .Path
Posted by an...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
andy pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/jena-site.git
commit 70a5775211a6e6909c967ebf9e7096962ab65910
Author: Andy Seaborne <an...@apache.org>
AuthorDate: Fri Jan 21 10:23:39 2022 +0000
Fix for hugo warning about .Path
---
layouts/_default/baseof.html | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index aec7818..2c40177 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -134,8 +134,14 @@
<li><a href="http://www.apache.org/security/">Security</a></li>
</ul>
</li>
-
- <li id="edit"><a href="{{ .Site.Params.siteRepositoryUrl }}/edit/{{ .Site.Params.siteRepositorySourceBranch }}/source/{{ .Page.Path }}" title="Edit this page on GitHub"><span class="glyphicon glyphicon-pencil"></span> Edit this page</a></li>
+{{/* Fixup for Hugo warning : was .Page.Path */ -}}
+{{ $path := "" }}
+{{ with .File }}
+ {{ $path = .Path }}
+{{ else }}
+ {{ $path = .Path }}
+{{ end }}
+ <li id="edit"><a href="{{ .Site.Params.siteRepositoryUrl }}/edit/{{ .Site.Params.siteRepositorySourceBranch }}/source/{{ $path }}" title="Edit this page on GitHub"><span class="glyphicon glyphicon-pencil"></span> Edit this page</a></li>
</ul>
</div>
</div>
[jena-site] 01/02: SHACLC: Sections for extensions
Posted by an...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
andy pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/jena-site.git
commit 929b32312b2de5aef0759e6d456de55dd0d9eab3
Author: Andy Seaborne <an...@apache.org>
AuthorDate: Fri Jan 21 10:23:11 2022 +0000
SHACLC: Sections for extensions
---
source/documentation/shacl/__index.md | 25 +++++++++++++++++++++++--
1 file changed, 23 insertions(+), 2 deletions(-)
diff --git a/source/documentation/shacl/__index.md b/source/documentation/shacl/__index.md
index 755c8b4..7030574 100644
--- a/source/documentation/shacl/__index.md
+++ b/source/documentation/shacl/__index.md
@@ -8,8 +8,8 @@ W3C [Shapes Constraint Language (SHACL)](https://www.w3.org/TR/shacl/).
It implements SHACL Core and SHACL SPARQL Constraints.
In addition, it provides:
-* [SHACL Compact Syntax](https://w3c.github.io/shacl/shacl-compact-syntax/)
-* [SPARQL-based targets](https://w3c.github.io/shacl/shacl-af/#SPARQLTarget)
+* [SHACL Compact Syntax](#shacl-compact-syntax)
+* [SPARQL-based targets](#sparql-based-targets)
## Command line
@@ -149,3 +149,24 @@ Extensions:
* The `nodeParam` grammar rule supports "targetClass" (normally written
with the shorthand `->`) as well as the defined
"targetNode", "targetObjectsOf", "targetSubjectsOf"
+
+## SPARQL-based targets
+
+SPARQL-based targets allow the target nodes to be calculated with a SPARQL
+`SELECT` query.
+
+See [SPARQL-based targets](https://w3c.github.io/shacl/shacl-af/#SPARQLTarget)
+for details.
+
+```
+ex:example
+ sh:target [
+ a sh:SPARQLTarget ;
+ sh:select """
+ SELECT ?this
+ WHERE {
+ ...
+ }
+ """ ;
+ ] ;
+```