Skip to content

How can I use Fuseki as a database, and use JAVA API to update? #1246

Answered by afs
chenkuncloud asked this question in Q&A
Discussion options

You must be logged in to vote

See also discussion on issue: #1243


The SPARQL answer is the SPARQL Graph Store Protocol (GSP): https://www.w3.org/TR/sparql11-http-rdf-update/. With this, the application can fetch the whole graph (GET), work on it locally and then replace the original (PUT - replace original). This is a standard mechanism and all triple stores should offer it.

To work with a remote graph in the model style, needs a custom protocol to handle blank nodes correctly.

It assumes a manageable size of the graph but in a different way, so does a model view of remote data where the only access primitive is "listStatements". To find data can require several "listStatements", which is several round-trips to the d…

Replies: 2 comments

Comment options

afs
Apr 1, 2022
Collaborator

You must be logged in to vote
0 replies
Answer selected by chenkuncloud
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants