GET /{BASE}/sparql/updateExecute 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/
- HTTP Example:
GET /{BASE}/sparql/update?update=…&query=…&output=… | - API Example:
SparqlWebService.updateGet({'update': , 'query': , 'output': }); |
- Output:
- 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
|
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
- HTTP Example:
POST /{BASE}/sparql/update?output=… | - API Example:
SparqlWebService.updatePostDirectly({'output': }); |
- Output:
- Response - empty content in case the update was successful, the error message in case an error
occurred
- Query parameters:
- output
- 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
|
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
- HTTP Example:
POST /{BASE}/sparql/update | - API Example:
SparqlWebService.updatePostUrlEncoded({}); |
- Output:
- 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
|