Apache Jena · Capability

Apache Jena Fuseki SPARQL API — SPARQL Query

Apache Jena Fuseki SPARQL API — SPARQL Query. 2 operations. Lead operation: Apache jena Apache Jena Fuseki SPARQL Query via GET. Self-contained Naftiko capability covering one Apache Jena business surface.

Run with Naftiko Apache JenaSPARQL Query

What You Can Do

GET
Sparqlqueryget — Apache jena Apache Jena Fuseki SPARQL Query via GET
/v1/{dataset}/sparql
POST
Sparqlquerypost — Apache jena Apache Jena Fuseki SPARQL Query via POST
/v1/{dataset}/sparql

MCP Tools

apache-jena-apache-jena-fuseki

Apache jena Apache Jena Fuseki SPARQL Query via GET

read-only idempotent
apache-jena-apache-jena-fuseki-2

Apache jena Apache Jena Fuseki SPARQL Query via POST

read-only

Capability Spec

fuseki-sparql-sparql-query.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Apache Jena Fuseki SPARQL API — SPARQL Query
  description: 'Apache Jena Fuseki SPARQL API — SPARQL Query. 2 operations. Lead operation: Apache jena Apache Jena Fuseki
    SPARQL Query via GET. Self-contained Naftiko capability covering one Apache Jena business surface.'
  tags:
  - Apache Jena
  - SPARQL Query
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    APACHE_JENA_API_KEY: APACHE_JENA_API_KEY
capability:
  consumes:
  - type: http
    namespace: fuseki-sparql-sparql-query
    baseUri: http://localhost:3030
    description: Apache Jena Fuseki SPARQL API — SPARQL Query business capability. Self-contained, no shared references.
    resources:
    - name: dataset-sparql
      path: /{dataset}/sparql
      operations:
      - name: sparqlqueryget
        method: GET
        description: Apache jena Apache Jena Fuseki SPARQL Query via GET
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: dataset
          in: path
          type: string
          description: Dataset name
          required: true
        - name: query
          in: query
          type: string
          description: SPARQL query string
          required: true
        - name: default-graph-uri
          in: query
          type: string
          description: Default graph URI
        - name: named-graph-uri
          in: query
          type: string
          description: Named graph URI
      - name: sparqlquerypost
        method: POST
        description: Apache jena Apache Jena Fuseki SPARQL Query via POST
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: dataset
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
  exposes:
  - type: rest
    namespace: fuseki-sparql-sparql-query-rest
    port: 8080
    description: REST adapter for Apache Jena Fuseki SPARQL API — SPARQL Query. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/{dataset}/sparql
      name: dataset-sparql
      description: REST surface for dataset-sparql.
      operations:
      - method: GET
        name: sparqlqueryget
        description: Apache jena Apache Jena Fuseki SPARQL Query via GET
        call: fuseki-sparql-sparql-query.sparqlqueryget
        with:
          dataset: rest.dataset
          query: rest.query
          default-graph-uri: rest.default-graph-uri
          named-graph-uri: rest.named-graph-uri
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: sparqlquerypost
        description: Apache jena Apache Jena Fuseki SPARQL Query via POST
        call: fuseki-sparql-sparql-query.sparqlquerypost
        with:
          dataset: rest.dataset
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: fuseki-sparql-sparql-query-mcp
    port: 9090
    transport: http
    description: MCP adapter for Apache Jena Fuseki SPARQL API — SPARQL Query. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: apache-jena-apache-jena-fuseki
      description: Apache jena Apache Jena Fuseki SPARQL Query via GET
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: fuseki-sparql-sparql-query.sparqlqueryget
      with:
        dataset: tools.dataset
        query: tools.query
        default-graph-uri: tools.default-graph-uri
        named-graph-uri: tools.named-graph-uri
      outputParameters:
      - type: object
        mapping: $.
    - name: apache-jena-apache-jena-fuseki-2
      description: Apache jena Apache Jena Fuseki SPARQL Query via POST
      hints:
        readOnly: true
        destructive: false
        idempotent: false
      call: fuseki-sparql-sparql-query.sparqlquerypost
      with:
        dataset: tools.dataset
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.