Metreeca Wire
    Preparing search index...

    Module @metreeca/wire-sparql-oxigraph - v0.9.0

    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.

    Important

    Transaction Isolation — None. Updates apply immediately to the in-memory store, with no execute bracketing.

    @metreeca/wire-sparql-oxigraph

    npm

    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" in tsconfig.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 execute bracketing.

    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.

    Functions

    createOxiRepository

    Creates an in-memory Repository backed by an Oxigraph store.