From f23108cd3ecdfab4c4e5868f76b08d0eebe2fcdb Mon Sep 17 00:00:00 2001 From: Claus Stadler Date: Mon, 21 Oct 2024 13:12:16 +0200 Subject: [PATCH] Update macros.md --- docs/sparql-extensions/macros.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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