Eclipse RDF4J Statements API

Read and modify the RDF statements in a repository.

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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 API
curl "https://apis.io/api/v1/apis/eclipse-rdf4j-statements-api"
All apis
curl "https://apis.io/api/v1/apis?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.

OpenAPI Specification

eclipse-rdf4j-statements-api-openapi.yml Raw ↑
openapi: 3.0.3
info:
  title: RDF4J Server REST Contexts Statements API
  description: REST API for the Eclipse RDF4J Server. Provides endpoints to list and manage RDF repositories, configure them, query and update their contents using SPARQL, manage namespaces, transactions, contexts and statements, and import/export RDF data in standard serialization formats. The Eclipse RDF4J Server is a Java server application that exposes this protocol over HTTP.
  version: '5.0'
  contact:
    name: Eclipse RDF4J
    url: https://rdf4j.org/
    email: rdf4j-dev@eclipse.org
  license:
    name: Eclipse Distribution License v1.0
    url: https://www.eclipse.org/org/documents/edl-v10.php
servers:
- url: http://localhost:8080/rdf4j-server
  description: Default local RDF4J Server installation
tags:
- name: Statements
  description: Read and modify the RDF statements in a repository.
paths:
  /repositories/{repositoryID}/statements:
    parameters:
    - $ref: '#/components/parameters/RepositoryID'
    get:
      tags:
      - Statements
      summary: Get statements
      description: Retrieve RDF statements matching an optional triple pattern (subj, pred, obj, context).
      operationId: getStatements
      parameters:
      - name: subj
        in: query
        schema:
          type: string
      - name: pred
        in: query
        schema:
          type: string
      - name: obj
        in: query
        schema:
          type: string
      - name: context
        in: query
        schema:
          type: array
          items:
            type: string
      - name: infer
        in: query
        schema:
          type: boolean
          default: true
      responses:
        '200':
          description: Matching RDF statements.
          content:
            application/rdf+xml:
              schema:
                type: string
            text/turtle:
              schema:
                type: string
            application/n-triples:
              schema:
                type: string
    post:
      tags:
      - Statements
      summary: Add or update statements
      description: Add RDF data to the repository, or apply a SPARQL Update via the form parameter `update`.
      operationId: addStatements
      parameters:
      - name: context
        in: query
        schema:
          type: array
          items:
            type: string
      requestBody:
        required: true
        content:
          application/rdf+xml:
            schema:
              type: string
          text/turtle:
            schema:
              type: string
          application/n-triples:
            schema:
              type: string
          application/x-www-form-urlencoded:
            schema:
              type: object
              properties:
                update:
                  type: string
      responses:
        '204':
          description: Statements added or update applied.
        '400':
          description: Malformed RDF or update.
    put:
      tags:
      - Statements
      summary: Replace statements
      description: Clear the repository (or specified context) and replace its content with the supplied RDF data.
      operationId: replaceStatements
      parameters:
      - name: context
        in: query
        schema:
          type: array
          items:
            type: string
      requestBody:
        required: true
        content:
          application/rdf+xml:
            schema:
              type: string
          text/turtle:
            schema:
              type: string
      responses:
        '204':
          description: Statements replaced.
    delete:
      tags:
      - Statements
      summary: Remove statements
      description: Remove statements matching the optional triple pattern.
      operationId: removeStatements
      parameters:
      - name: subj
        in: query
        schema:
          type: string
      - name: pred
        in: query
        schema:
          type: string
      - name: obj
        in: query
        schema:
          type: string
      - name: context
        in: query
        schema:
          type: array
          items:
            type: string
      responses:
        '204':
          description: Statements removed.
components:
  parameters:
    RepositoryID:
      name: repositoryID
      in: path
      required: true
      schema:
        type: string
      description: Identifier of the repository.
externalDocs:
  description: RDF4J Server REST API documentation
  url: https://rdf4j.org/documentation/reference/rest-api/