net.nprod.rdf4k.examples.function / ExampleK01FunctionInSPARQL / <init>

<init>

ExampleK01FunctionInSPARQL()

RDF Tutorial example K01: Implementing a function for SPARQL queries

Refer to that documentation: http//docs.rdf4j.org/custom-sparql-functions/

The function is described in resources/META-INF/services/org.eclipse.rdf4j.query.algebra.evaluation.function.Function

Running this object main file in IntelliJ should work out of the box. If you produce the project with gradle

make sure the resources are copied in the JAR.

Author
Jonathan Bisson