Skip to content

Commit

Permalink
Merge branch 'develop' of github.com:SmartDataAnalytics/SparqlIntegra…
Browse files Browse the repository at this point in the history
…te into develop
  • Loading branch information
Aklakan committed Sep 20, 2024
2 parents 0777a58 + 8a31a82 commit 721051e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/sparql-extensions/macros.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ The object needs to be an `rdf:List`, where:

The following example defines a custom `eg:greet` function that returns `Hello X!` for an argument `X`.

```
```ttl
# macros.ttl
PREFIX udf: <http://ns.aksw.org/jena/udf/>
PREFIX udf: <https://w3id.org/aksw/norse#udf.>
PREFIX sh: <http://www.w3.org/ns/shacl#>
PREFIX eg: <http://www.example.org/>
Expand Down Expand Up @@ -53,7 +53,7 @@ rpt integrate --macro macros.ttl `SELECT (eg:greet('John Doe') AS ?x) {}` --out-
* A current limitation in our implementation is that the `sh:namespace` presently needs to be a string rather than a literal of type `xsd:anyUri`, as demanded by the [SHACL Specification](https://www.w3.org/TR/shacl/).
* Also note, that due to SHACL's design that the value of `sh:namespace` needs to be a literal, it is NOT possible to refer to a namespace declared on the document itself:

```
```ttl
PREFIX eg: <http://www.example.org/>
PREFIX sh: <http://www.w3.org/ns/shacl#>
Expand Down

0 comments on commit 721051e

Please sign in to comment.