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 API: ask, select and construct query the store, update,
merge and store write to it, and execute and close manage transactions and resources.
This connector provides no transaction isolation: updates apply immediately to the in-memory store, with no execute bracketing.
Datasets apply to queries only: an update given a dataset listing any graphs is rejected and leaves the store as it was, since Oxigraph offers no way to run an update against an explicit dataset.
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