sparqlrdflinked-datatriplestorefederated-queries

How to do Insert/Delete remotely through a SPARQL endpoint?


Is there a way to update data by (INSERT DATA and DELETE DATA) remotely through a SPARQL endpoint? I'm aware that we can use SERVICE to do distributed and federated query, but I got errors when i tried to use SERVICE to remotely update data as:

INSERT DATA
{SERVICE <SparqlEndpoint1> {
subject, predicate, object
}}

Thank you very much for your help.


Solution

  • The Federated SPARQL SERVICE clause only supports SELECT operations. SERVICE clauses cannot be used for INSERT, UPDATE, DELETE, or other SPARQL Update operations on remote endpoints. See the SPARQL 1.1 grammar and the other linked documents for more details.