SHACLC: Sections for extensions
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 @@
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 @@
* 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 {
+ ...
+ }
+ """ ;
+ ] ;
+```