Skip to content

vemonet/fuseki-sparql-custom-functions

Repository files navigation

Simple Apache Jena Fuseki embedded server to define custom SPARQL functions easily.

Try a federated query to resolve labels from the nanopublication network from our test endpoint

Run

mvn clean package
java -jar target/fuseki-sparql-custom-functions-0.0.1-SNAPSHOT.jar

On Linux you can just:

./restart.sh

Try out with the URL http://localhost:3330/sparql?query=

Try it locally with this SPARQL query:

PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX umtranslator: <https://w3id.org/um/translator/>

SELECT ?label WHERE { BIND(umtranslator:get_label("MONDO:0005146") as ?label) }

With docker

Build:

docker build -t fuseki-sparql-custom-functions .

Run on http://localhost:3330/sparql?query=

docker run -it --rm -p 3330:3330 fuseki-sparql-custom-functions

About

Implementation of a SPARQL endpoint with custom function using Fuseki

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published