Path: / {BASE} / sparql / update

Execute a SPARQL 1.1 Update request passed in the query parameter of the GET. The update will be carried out on the LMF triple store.

see SPARQL 1.1 Update syntax at http://www.w3.org/TR/sparql11-update/


Method Summary
ResourceDescription
GET /{BASE}/sparql/update?update=…&query=…&output=…Execute a SPARQL 1.1 Update request passed in the query parameter of the GET.
POST /{BASE}/sparql/updateExecute a SPARQL 1.1 Update request using update via POST directly; see details at http://www.w3.org/TR/sparql11-protocol/\#update-operation
POST /{BASE}/sparql/updateExecute a SPARQL 1.1 Update request using update via URL-encoded POST; see details at http://www.w3.org/TR/sparql11-protocol/\#update-operation

Method Detail
HTTP Example:
GET /{BASE}/sparql/update?update=…&query=…&output=…

API Example:

SparqlWebService.updateGet({'update': /* update the update query in SPARQL 1.1 syntax */,
  'query': /* query the update query in SPARUL syntax */,
  'output': /* Execute a SPARQL 1.1 Update request passed in the query parameter of the GET. */});

Execute a SPARQL 1.1 Update request passed in the query parameter of the GET. The update will be carried out on the LMF triple store.

see SPARQL 1.1 Update syntax at http://www.w3.org/TR/sparql11-update/

Output:
javax.ws.rs.core.Response - empty content in case the update was successful, the error message in case an error occurred
Query parameters:
update - the update query in SPARQL 1.1 syntax
query - the update query in SPARUL syntax
output
HTTP return codes:
200 - in case the update was carried out successfully
500 - in case the update was not successful
HTTP Example:
POST /{BASE}/sparql/update

API Example:

SparqlWebService.updatePostDirectly({});

Execute a SPARQL 1.1 Update request using update via POST directly; see details at http://www.w3.org/TR/sparql11-protocol/\#update-operation

Output:
javax.ws.rs.core.Response - empty content in case the update was successful, the error message in case an error occurred
Consumes:
application/sparql-update
HTTP return codes:
200 - in case the update was carried out successfully
400 - in case the update query is missing or invalid
500 - in case the update was not successful
HTTP Example:
POST /{BASE}/sparql/update

API Example:

SparqlWebService.updatePostUrlEncoded({});

Execute a SPARQL 1.1 Update request using update via URL-encoded POST; see details at http://www.w3.org/TR/sparql11-protocol/\#update-operation

Output:
javax.ws.rs.core.Response - empty content in case the update was successful, the error message in case an error occurred
Consumes:
application/x-www-url-form-urlencoded
application/x-www-form-urlencoded
HTTP return codes:
200 - in case the update was carried out successfully
400 - in case the update query is missing or invalid
500 - in case the update was not successful