Amazon Neptune · Arazzo Workflow

Amazon Neptune SPARQL Query with Status Check

Version 1.0.0

Run a SPARQL query via the Data API and inspect the SPARQL query queue.

1 workflow 3 source APIs 1 provider
View Spec View on GitHub DatabaseGraph DatabaseGremlinNeptuneProperty GraphRDFSPARQLArazzoWorkflows

Provider

amazon-neptune

Workflows

sparql-query-with-status
Confirm engine health, run a SPARQL query, and inspect the query queue.
Checks engine status, executes a SPARQL query through the Data API using a form-encoded body, and reads the SPARQL query status surface.
3 steps inputs: query outputs: bindings, engineStatus, runningQueryCount
1
checkEngine
Confirm the Neptune engine is available and report its SPARQL engine version before running the query.
2
runSparql
Execute the supplied SPARQL query against the RDF store using a form-encoded request body and capture the result bindings.
3
inspectQueue
Read the SPARQL query status surface to report how many queries are running and accepted right now.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Amazon Neptune SPARQL Query with Status Check
  summary: Run a SPARQL query via the Data API and inspect the SPARQL query queue.
  description: >-
    Executes a SPARQL query against the Neptune RDF store through the Data API and
    pairs it with the SPARQL query-status surface. The workflow first confirms the
    engine is healthy, then submits the supplied SPARQL query as a form-encoded
    request body per the SPARQL 1.1 Protocol, and finally reads the running and
    accepted query counts. Every step spells out its request inline so the flow
    can be read and executed without opening the underlying OpenAPI description.
  version: 1.0.0
sourceDescriptions:
- name: queryApi
  url: ../openapi/amazon-neptune-query-api-openapi.yml
  type: openapi
- name: sparqlApi
  url: ../openapi/amazon-neptune-sparql-api-openapi.yml
  type: openapi
- name: statusApi
  url: ../openapi/amazon-neptune-status-api-openapi.yml
  type: openapi
workflows:
- workflowId: sparql-query-with-status
  summary: Confirm engine health, run a SPARQL query, and inspect the query queue.
  description: >-
    Checks engine status, executes a SPARQL query through the Data API using a
    form-encoded body, and reads the SPARQL query status surface.
  inputs:
    type: object
    required:
    - query
    properties:
      query:
        type: string
        description: The SPARQL query string (SELECT, ASK, CONSTRUCT, or DESCRIBE).
  steps:
  - stepId: checkEngine
    description: >-
      Confirm the Neptune engine is available and report its SPARQL engine
      version before running the query.
    operationId: getEngineStatus
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      engineStatus: $response.body#/status
      sparqlVersion: $response.body#/sparql/version
  - stepId: runSparql
    description: >-
      Execute the supplied SPARQL query against the RDF store using a
      form-encoded request body and capture the result bindings.
    operationId: executeSparqlQuery
    requestBody:
      contentType: application/x-www-form-urlencoded
      payload:
        query: $inputs.query
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      bindings: $response.body#/results/bindings
  - stepId: inspectQueue
    description: >-
      Read the SPARQL query status surface to report how many queries are
      running and accepted right now.
    operationId: getSparqlQueryStatus
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      runningQueryCount: $response.body#/runningQueryCount
      acceptedQueryCount: $response.body#/acceptedQueryCount
  outputs:
    engineStatus: $steps.checkEngine.outputs.engineStatus
    bindings: $steps.runSparql.outputs.bindings
    runningQueryCount: $steps.inspectQueue.outputs.runningQueryCount

Work with this as data

Every workflow here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for arazzo workflows

4 MCP tools reach this
  • find_arazzoBrowse and filter every workflow in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This workflow
curl "https://apis.io/api/v1/arazzo/amazon-neptune-sparql-query-with-status-workflow"
All arazzo workflows
curl "https://apis.io/api/v1/arazzo?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.