Artemis1216
Artemis1216

Reputation: 25

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.

Upvotes: 0

Views: 297

Answers (1)

TallTed
TallTed

Reputation: 9434

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.

Upvotes: 3

Related Questions