Amazon Neptune · Arazzo Workflow

Amazon Neptune SPARQL Statistics Refresh

Version 1.0.0

Trigger an RDF statistics refresh and read back the updated triple-store counts.

1 workflow 1 source API 1 provider
View Spec View on GitHub DatabaseGraph DatabaseGremlinNeptuneProperty GraphRDFSPARQLArazzoWorkflows

Provider

amazon-neptune

Workflows

sparql-statistics-refresh
Refresh SPARQL RDF statistics and read the updated counts.
Checks engine health, refreshes SPARQL RDF statistics, and reads back the triple-store statistics counts.
3 steps inputs: mode outputs: engineStatus, numDistinctSubjects, numStatements
1
checkEngine
getEngineStatus
Confirm the Neptune engine is available before managing statistics.
2
refreshStats
manageSparqlStatistics
Trigger a SPARQL RDF statistics operation using the supplied mode (refresh by default).
3
readStats
getSparqlStatistics
Read back the SPARQL RDF statistics payload and report the statement and distinct subject/predicate counts.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Amazon Neptune SPARQL Statistics Refresh
  summary: Trigger an RDF statistics refresh and read back the updated triple-store counts.
  description: >-
    Keeps the DFE statistics for the RDF (SPARQL) data current. The workflow
    confirms the engine is healthy, triggers a refresh of the SPARQL RDF
    statistics, and then reads back the statistics payload to report statement and
    distinct subject/predicate 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: neptuneDataApi
  url: ../openapi/amazon-neptune-data-openapi.yml
  type: openapi
workflows:
- workflowId: sparql-statistics-refresh
  summary: Refresh SPARQL RDF statistics and read the updated counts.
  description: >-
    Checks engine health, refreshes SPARQL RDF statistics, and reads back the
    triple-store statistics counts.
  inputs:
    type: object
    properties:
      mode:
        type: string
        description: >-
          The statistics management mode (refresh, enableAutoCompute, or
          disableAutoCompute).
  steps:
  - stepId: checkEngine
    description: >-
      Confirm the Neptune engine is available before managing statistics.
    operationId: getEngineStatus
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      engineStatus: $response.body#/status
  - stepId: refreshStats
    description: >-
      Trigger a SPARQL RDF statistics operation using the supplied mode
      (refresh by default).
    operationId: manageSparqlStatistics
    requestBody:
      contentType: application/json
      payload:
        mode: $inputs.mode
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      manageStatus: $statusCode
  - stepId: readStats
    description: >-
      Read back the SPARQL RDF statistics payload and report the statement and
      distinct subject/predicate counts.
    operationId: getSparqlStatistics
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      numStatements: $response.body#/payload/graphStatistics/numStatements
      numDistinctSubjects: $response.body#/payload/graphStatistics/numDistinctSubjects
      numDistinctPredicates: $response.body#/payload/graphStatistics/numDistinctPredicates
  outputs:
    engineStatus: $steps.checkEngine.outputs.engineStatus
    numStatements: $steps.readStats.outputs.numStatements
    numDistinctSubjects: $steps.readStats.outputs.numDistinctSubjects

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-statistics-refresh-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 email required.

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