# @comunica/actor-rdf-update-hypermedia-patch-sparql-update

> A patch-sparql-update rdf-update-hypermedia actor

Latest version **5.4.0** (published 2026-09-14) · MIT license · 0 weekly downloads

## Install

```sh
npm install @comunica/actor-rdf-update-hypermedia-patch-sparql-update
pnpm add @comunica/actor-rdf-update-hypermedia-patch-sparql-update
yarn add @comunica/actor-rdf-update-hypermedia-patch-sparql-update
bun add @comunica/actor-rdf-update-hypermedia-patch-sparql-update
```

## Health

**Score 60/100 (C)** — status: active.

Positive: has types; no vulnerabilities; recently updated; high maintenance score.

Warnings: low downloads; no esm support.

## Facts

| | |
|---|---|
| Version | 5.4.0 |
| Published | 2026-09-14 |
| First published | 2021-04-14 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 9 |
| Unpacked size | 43.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 590 |
| Maintainers | joachimvh, rubensworks, rubenverborgh, dexagod, jeswr |
| Keywords | comunica, actor, rdf-update-hypermedia, patch-sparql-update |

## Links

- npm: https://www.npmjs.com/package/@comunica/actor-rdf-update-hypermedia-patch-sparql-update
- Repository: https://github.com/comunica/comunica
- Homepage: https://comunica.dev/
- Issues: https://github.com/comunica/comunica/issues
- Funding: https://opencollective.com/comunica-association
- npm.io page: https://npm.io/package/@comunica/actor-rdf-update-hypermedia-patch-sparql-update

## Dependencies (9)

- [@rdfjs/types](https://npm.io/package/@rdfjs/types.md) *
- [asynciterator](https://npm.io/package/asynciterator.md) ^3.10.0
- [@comunica/core](https://npm.io/package/@comunica/core.md) ^5.4.0
- [rdf-string-ttl](https://npm.io/package/rdf-string-ttl.md) ^2.0.1
- [@comunica/types](https://npm.io/package/@comunica/types.md) ^5.4.0
- [readable-stream](https://npm.io/package/readable-stream.md) ^4.7.0
- [@comunica/bus-http](https://npm.io/package/@comunica/bus-http.md) ^5.4.0
- [@comunica/bus-rdf-update-quads](https://npm.io/package/@comunica/bus-rdf-update-quads.md) ^5.4.0
- [@comunica/bus-rdf-update-hypermedia](https://npm.io/package/@comunica/bus-rdf-update-hypermedia.md) ^5.4.0

## Recent versions

- 5.4.0 (latest) — 2026-09-14
- 4.4.2-alpha.49.0 (next) — 2025-10-22
- 5.3.0 — 2026-07-10
- 5.2.3 — 2026-05-26
- 5.2.2 — 2026-05-03
- 5.2.0 — 2026-04-14
- 5.1.3 — 2026-01-30
- 5.1.0 — 2026-01-16
- 5.0.3 — 2026-01-12
- 5.0.2 — 2026-01-12
- 5.0.0 — 2026-01-08
- 4.5.0 — 2025-11-18
- 4.4.1 — 2025-09-25
- 4.4.0 — 2025-09-17
- 4.2.0 — 2025-04-29
- … 81 more at https://npm.io/package/@comunica/actor-rdf-update-hypermedia-patch-sparql-update/versions

## README

# Comunica Patch SPARQL Update RDF Update Hypermedia Actor

[![npm version](https://badge.fury.io/js/%40comunica%2Factor-rdf-update-hypermedia-patch-sparql-update.svg)](https://www.npmjs.com/package/@comunica/actor-rdf-update-hypermedia-patch-sparql-update)

An [RDF Update Hypermedia](https://github.com/comunica/comunica/tree/master/packages/bus-rdf-update-hypermedia) actor
that handles destinations over HTTP using SPARQL Update queries.

For example, this can be used for updating [Solid servers](https://github.com/solid/solid-spec/blob/master/api-rest.md#alternative-using-sparql-1).

This module is part of the [Comunica framework](https://github.com/comunica/comunica),
and should only be used by [developers that want to build their own query engine](https://comunica.dev/docs/modify/).

[Click here if you just want to query with Comunica](https://comunica.dev/docs/query/).

## Install

```bash
$ yarn add @comunica/actor-rdf-update-hypermedia-patch-sparql-update
```

## Configure

After installing, this package can be added to your engine's configuration as follows:
```text
{
  "@context": [
    ...
    "https://linkedsoftwaredependencies.org/bundles/npm/@comunica/actor-rdf-update-hypermedia-patch-sparql-update/^5.0.0/components/context.jsonld"
  ],
  "actors": [
    ...
    {
      "@id": "urn:comunica:default:rdf-update-hypermedia/actors#patch-sparql-update",
      "@type": "ActorRdfUpdateHypermediaPatchSparqlUpdate",
      "mediatorHttp": { "@id": "urn:comunica:default:http/mediators#main" },
      "mediatorRdfSerialize": { "@id": "urn:comunica:default:query-result-serialize/mediators#main" }
    }
  ]
}
```

### Config Parameters

* `mediatorHttp`: A mediator over the [HTTP bus](https://github.com/comunica/comunica/tree/master/packages/bus-http).
* `mediatorRdfSerialize`: A mediator over the [RDF serialize bus](https://github.com/comunica/comunica/tree/master/packages/bus-rdf-serialize).

---
_Source: https://npm.io/package/@comunica/actor-rdf-update-hypermedia-patch-sparql-update · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
