Skip to content

@lde/sparql-server

Start, stop and control SPARQL servers with a simple API.

This package is interface-only: it defines the SparqlServer contract (start(), stop(), queryEndpoint) that pipeline components program against. It ships no server of its own.

The concrete adapter is @lde/sparql-qlever, whose Server runs a QLever instance (Docker or native) and whose createQlever pairs it with a matching @lde/sparql-importer Importer for use in an @lde/pipeline ImportResolver.

Installation

sh
npm install @lde/sparql-server

API

ts
export interface SparqlServer {
  start(): Promise<void>;
  stop(): Promise<void>;
  queryEndpoint: URL;
}

Released under the MIT License.