@metreeca/pipe
    Preparing search index...

    Module @metreeca/pipe-sparql - v0.11.1

    SPARQL processing tasks.

    Provides ready-made @metreeca/flow steps for working with SPARQL repositories in pipelines run by the @metreeca/gear executor.

    A job binds a repository connector to createRepository once, and steps use that one unless given their own.

    @metreeca/pipe-sparql

    npm

    SPARQL processing tasks for @metreeca/pipe.

    Provides ready-made @metreeca/flow steps for working with SPARQL repositories in pipelines run by the @metreeca/gear job executor.

    Installation

    npm install @metreeca/gear                       # the job executor
    npm install @metreeca/pipe-sparql # this package
    npm install @metreeca/wire-sparql-<backend> # repository connector for the target engine
    Important

    Node.js 22 or later is required.

    Warning

    TypeScript consumers must use "moduleResolution": "nodenext"/"node16"/"bundler" in tsconfig.json. The legacy "node" resolver is not supported.

    Repositories are reached through the backend connectors listed by @metreeca/wire-sparql: install the one for the engine the pipeline targets, together with any peer dependency that the connector itself requires.

    Usage

    Task Description
    select() SPARQL SELECT query runner
    construct() SPARQL CONSTRUCT query runner
    update() SPARQL Update request runner
    upload() RDF graph uploader

    The repository service has no default: a job binds a repository connector to createRepository() once, and every task or sink given no repository of its own then reads from or writes to the repository it reaches.

    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.

    construct

    Creates a task running a feed of SPARQL CONSTRUCT queries against a SPARQL repository.

    select

    Creates a task running a feed of SPARQL SELECT queries against a SPARQL repository.

    update

    Creates a sink applying a feed of SPARQL Update requests to a SPARQL repository.

    upload

    Creates a sink storing a feed of RDF graphs into a SPARQL repository.

    createRepository

    Creates the default repository.