Amazon Neptune
User Guide (API Version 2017-11-29)

SPARQL Query Cancellation

To get the status of SPARQL queries, use HTTP GET or POST to request to the http://your-neptune-endpoint:8182/sparql/status endpoint.

Request Parameters

cancelQuery

Required for cancellation. Parameter has no corresponding value.

queryId

The ID of the running SPARQL query to cancel.

Example

The following is an example of the status command using curl to cancel a query.

curl http://your-neptune-endpoint:8182/sparql/status \ --data-urlencode "cancelQuery" \ --data-urlencode "queryId=fb34cd3e-f37c-4d12-9cf2-03bb741bf54f"

Successful cancellation returns HTTP 200 OK.

On this page: