diff --git a/docs/sparql-extensions/macros.md b/docs/sparql-extensions/macros.md index 7f294aa..e35e9c9 100644 --- a/docs/sparql-extensions/macros.md +++ b/docs/sparql-extensions/macros.md @@ -26,10 +26,13 @@ PREFIX sh: PREFIX eg: 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