Amazon Neptune · Capability

Amazon Neptune Neptune SPARQL API — Query

Amazon Neptune Neptune SPARQL API — Query. 2 operations. Lead operation: Amazon Neptune Execute a SPARQL Query or Update via HTTP POST. Self-contained Naftiko capability covering one Amazon Neptune business surface.

Run with Naftiko Amazon NeptuneQuery

What You Can Do

POST
Executesparqlquery — Amazon Neptune Execute a SPARQL Query or Update via HTTP POST
/v1/sparql
GET
Executesparqlqueryget — Amazon Neptune Execute a SPARQL Query via HTTP GET
/v1/sparql

MCP Tools

amazon-neptune-execute-sparql-query

Amazon Neptune Execute a SPARQL Query or Update via HTTP POST

read-only
amazon-neptune-execute-sparql-query-2

Amazon Neptune Execute a SPARQL Query via HTTP GET

read-only idempotent

Capability Spec

sparql-query.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Amazon Neptune Neptune SPARQL API — Query
  description: 'Amazon Neptune Neptune SPARQL API — Query. 2 operations. Lead operation: Amazon Neptune Execute a SPARQL Query
    or Update via HTTP POST. Self-contained Naftiko capability covering one Amazon Neptune business surface.'
  tags:
  - Amazon Neptune
  - Query
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    AMAZON_NEPTUNE_API_KEY: AMAZON_NEPTUNE_API_KEY
capability:
  consumes:
  - type: http
    namespace: sparql-query
    baseUri: https://{cluster-endpoint}:8182
    description: Amazon Neptune Neptune SPARQL API — Query business capability. Self-contained, no shared references.
    resources:
    - name: sparql
      path: /sparql
      operations:
      - name: executesparqlquery
        method: POST
        description: Amazon Neptune Execute a SPARQL Query or Update via HTTP POST
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: executesparqlqueryget
        method: GET
        description: Amazon Neptune Execute a SPARQL Query via HTTP GET
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: query
          in: query
          type: string
          description: The SPARQL query string (URL-encoded).
          required: true
    authentication:
      type: apikey
      key: Authorization
      value: '{{env.AMAZON_NEPTUNE_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: sparql-query-rest
    port: 8080
    description: REST adapter for Amazon Neptune Neptune SPARQL API — Query. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/sparql
      name: sparql
      description: REST surface for sparql.
      operations:
      - method: POST
        name: executesparqlquery
        description: Amazon Neptune Execute a SPARQL Query or Update via HTTP POST
        call: sparql-query.executesparqlquery
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: GET
        name: executesparqlqueryget
        description: Amazon Neptune Execute a SPARQL Query via HTTP GET
        call: sparql-query.executesparqlqueryget
        with:
          query: rest.query
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: sparql-query-mcp
    port: 9090
    transport: http
    description: MCP adapter for Amazon Neptune Neptune SPARQL API — Query. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: amazon-neptune-execute-sparql-query
      description: Amazon Neptune Execute a SPARQL Query or Update via HTTP POST
      hints:
        readOnly: true
        destructive: false
        idempotent: false
      call: sparql-query.executesparqlquery
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: amazon-neptune-execute-sparql-query-2
      description: Amazon Neptune Execute a SPARQL Query via HTTP GET
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: sparql-query.executesparqlqueryget
      with:
        query: tools.query
      outputParameters:
      - type: object
        mapping: $.