sparqljenaowlprotegefuseki

Programmaticaly upload dataset to fuseki


I use the jena fuseki 2 docker image to create a fuseki server.

And I want to know if there is a way to upload my dataset to fuseki not from the web interface but programmatically, from SPARQL or Python or whatever else.

And also, is there a way to work with ontology from webprotégé directly from fuseki? Thanks for your answer


Solution

  • Fuseki comes with an HTTP API that can be used to upload data. You could use CURL or a Python HTTP library to communicate with this API. Fuseki also includes command-line helper scripts that can be used for calling the HTTP API. See https://jena.apache.org/documentation/fuseki2/soh.html#soh-sparql-http for more details.