@metreeca/wire-sparql-oxigraph
v0.9.0
Published
SPARQL connector for @metreeca/wire backed by an Oxigraph in-memory WASM store.
Maintainers
Readme
@metreeca/wire-sparql-oxigraph
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.
Installation
npm install @metreeca/wire-sparql # the SPARQL query API
npm install @metreeca/wire-sparql-oxigraph # this connector
npm install oxigraph # peer dependency[!WARNING]
TypeScript consumers must use
"moduleResolution": "nodenext"/"node16"/"bundler"intsconfig.json. The legacy"node"resolver is not supported.
Usage
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).
[!IMPORTANT]
This connector provides no transaction isolation: updates apply immediately to the in-memory store, with no
executebracketing.
Support
- open an issue to report a problem or to suggest a new feature
- start a discussion to ask a how-to question or to share an idea
License
This project is licensed under the Apache 2.0 License – see LICENSE file for details.
