SPARQL connector for @metreeca/wire backed by an Oxigraph in-memory WASM store.
Exposes an Oxigraph WASM store through the common @metreeca/wire-sparql Repository
interface, running entirely in-process with no external server required.
npm install @metreeca/wire-sparql # the SPARQL query API
npm install @metreeca/wire-sparql-oxigraph # this connector
npm install oxigraph # peer dependency
TypeScript consumers must use "moduleResolution": "nodenext"/"node16"/"bundler" in tsconfig.json.
The legacy "node" resolver is not supported.
Create an in-process Oxigraph store with createOxiRepository, then issue queries and updates through the
@metreeca/wire-sparql Repository API:
import { createOxiRepository } from "@metreeca/wire-sparql-oxigraph";
const repository = createOxiRepository();
See @metreeca/wire-sparql for the Repository query API (ask, select, construct, update, execute, close).
This connector provides no transaction isolation: updates apply immediately to the in-memory store, with no execute bracketing.
This project is licensed under the Apache 2.0 License – see LICENSE file for details.
Creates an in-memory Repository backed by an Oxigraph store.
Oxigraph in-memory WASM store connector for the @metreeca/wire storage connector collection.
Exposes an Oxigraph WASM store, running entirely in-process with no external server required, through the common Repository API.
Transaction Isolation — None. Updates apply immediately to the in-memory store, with no
executebracketing.See
Oxigraph JavaScript/WASM API