Skip to content

Commit

Permalink
Update macros.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Aklakan authored Oct 21, 2024
1 parent 816d3cd commit f23108c
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions docs/sparql-extensions/macros.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,13 @@ PREFIX sh: <http://www.w3.org/ns/shacl#>
PREFIX eg: <http://www.example.org/>
eg:prefixMapping
sh:declare [ sh:prefix "afn" ; sh:namespace "http://jena.apache.org/ARQ/function#" ]
sh:declare [ sh:prefix "afn" ; sh:namespace "http://jena.apache.org/ARQ/function#" ] ;
.
eg:greet udf:simpleDefinition ("CONCAT('Hello ', STR(?x), '!')" "x") .
eg:greet
sh:prefixes eg:prefixMapping ;
udf:simpleDefinition ("CONCAT('Hello ', STR(?x), '!')" "x") ;
.
```

## Using the Macros
Expand Down

0 comments on commit f23108c

Please sign in to comment.