@metreeca/pipe-sparql
v0.11.1
Published
SPARQL processing tasks for @metreeca/pipe.
Maintainers
Readme
@metreeca/pipe-sparql
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"intsconfig.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.
