Skip to content

Commit f23108c

Browse files
authored
Update macros.md
1 parent 816d3cd commit f23108c

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

docs/sparql-extensions/macros.md

+5-2
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,13 @@ PREFIX sh: <http://www.w3.org/ns/shacl#>
2626
PREFIX eg: <http://www.example.org/>
2727
2828
eg:prefixMapping
29-
sh:declare [ sh:prefix "afn" ; sh:namespace "http://jena.apache.org/ARQ/function#" ]
29+
sh:declare [ sh:prefix "afn" ; sh:namespace "http://jena.apache.org/ARQ/function#" ] ;
3030
.
3131
32-
eg:greet udf:simpleDefinition ("CONCAT('Hello ', STR(?x), '!')" "x") .
32+
eg:greet
33+
sh:prefixes eg:prefixMapping ;
34+
udf:simpleDefinition ("CONCAT('Hello ', STR(?x), '!')" "x") ;
35+
.
3336
```
3437

3538
## Using the Macros

0 commit comments

Comments
 (0)