Amazon Neptune · Capability

Amazon Neptune Neptune Streams API — SPARQL Stream

Amazon Neptune Neptune Streams API — SPARQL Stream. 1 operations. Lead operation: Amazon Neptune Get SPARQL RDF Change Stream Records. Self-contained Naftiko capability covering one Amazon Neptune business surface.

Run with Naftiko Amazon NeptuneSPARQL Stream

What You Can Do

GET
Getsparqlstream — Amazon Neptune Get SPARQL RDF Change Stream Records
/v1/sparql/stream

MCP Tools

amazon-neptune-get-sparql-rdf

Amazon Neptune Get SPARQL RDF Change Stream Records

read-only idempotent

Capability Spec

streams-sparql-stream.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Amazon Neptune Neptune Streams API — SPARQL Stream
  description: 'Amazon Neptune Neptune Streams API — SPARQL Stream. 1 operations. Lead operation: Amazon Neptune Get SPARQL
    RDF Change Stream Records. Self-contained Naftiko capability covering one Amazon Neptune business surface.'
  tags:
  - Amazon Neptune
  - SPARQL Stream
  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: streams-sparql-stream
    baseUri: https://{cluster-endpoint}:8182
    description: Amazon Neptune Neptune Streams API — SPARQL Stream business capability. Self-contained, no shared references.
    resources:
    - name: sparql-stream
      path: /sparql/stream
      operations:
      - name: getsparqlstream
        method: GET
        description: Amazon Neptune Get SPARQL RDF Change Stream Records
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: limit
          in: query
          type: integer
          description: Maximum number of records to return (1-100,000). Default is 10.
        - name: iteratorType
          in: query
          type: string
          description: Determines the starting point for reading the stream.
        - name: commitNum
          in: query
          type: integer
          description: The commit number to start reading from. Required when iteratorType is AT_SEQUENCE_NUMBER or AFTER_SEQUENCE_NUMBER.
        - name: opNum
          in: query
          type: integer
          description: The operation sequence number within the specified commit.
        - name: Accept-Encoding
          in: header
          type: string
          description: Set to 'gzip' to receive compressed responses.
    authentication:
      type: apikey
      key: Authorization
      value: '{{env.AMAZON_NEPTUNE_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: streams-sparql-stream-rest
    port: 8080
    description: REST adapter for Amazon Neptune Neptune Streams API — SPARQL Stream. One Spectral-compliant resource per
      consumed operation, prefixed with /v1.
    resources:
    - path: /v1/sparql/stream
      name: sparql-stream
      description: REST surface for sparql-stream.
      operations:
      - method: GET
        name: getsparqlstream
        description: Amazon Neptune Get SPARQL RDF Change Stream Records
        call: streams-sparql-stream.getsparqlstream
        with:
          limit: rest.limit
          iteratorType: rest.iteratorType
          commitNum: rest.commitNum
          opNum: rest.opNum
          Accept-Encoding: rest.Accept-Encoding
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: streams-sparql-stream-mcp
    port: 9090
    transport: http
    description: MCP adapter for Amazon Neptune Neptune Streams API — SPARQL Stream. One tool per consumed operation, routed
      inline through this capability's consumes block.
    tools:
    - name: amazon-neptune-get-sparql-rdf
      description: Amazon Neptune Get SPARQL RDF Change Stream Records
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: streams-sparql-stream.getsparqlstream
      with:
        limit: tools.limit
        iteratorType: tools.iteratorType
        commitNum: tools.commitNum
        opNum: tools.opNum
        Accept-Encoding: tools.Accept-Encoding
      outputParameters:
      - type: object
        mapping: $.