# @comunica/actor-rdf-metadata-extract-query-accepted

> A query-accepted rdf-metadata-extract actor

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

## Install

```sh
npm install @comunica/actor-rdf-metadata-extract-query-accepted
pnpm add @comunica/actor-rdf-metadata-extract-query-accepted
yarn add @comunica/actor-rdf-metadata-extract-query-accepted
bun add @comunica/actor-rdf-metadata-extract-query-accepted
```

## 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 | 2026-09-14 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 21.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 592 |
| Maintainers | joachimvh, rubensworks, rubenverborgh, dexagod, jeswr |
| Keywords | comunica, actor, rdf-metadata-extract, query-accepted |

## Links

- npm: https://www.npmjs.com/package/@comunica/actor-rdf-metadata-extract-query-accepted
- 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-metadata-extract-query-accepted

## Dependencies (2)

- [@comunica/core](https://npm.io/package/@comunica/core.md) ^5.4.0
- [@comunica/bus-rdf-metadata-extract](https://npm.io/package/@comunica/bus-rdf-metadata-extract.md) ^5.4.0

## Alternatives

- [gamedig](https://npm.io/package/gamedig.md) — 29.3K weekly downloads
- [join-monster](https://npm.io/package/join-monster.md) — 12.8K weekly downloads
- [masked](https://npm.io/package/masked.md) — 5.5K weekly downloads
- [@comunica/actor-query-process-explain-logical](https://npm.io/package/@comunica/actor-query-process-explain-logical.md) — 4.7K weekly downloads
- [@veracity/vui](https://npm.io/package/@veracity/vui.md) — 4.6K weekly downloads

## Recent versions

- 5.4.0 (latest) — 2026-09-14

## README

# Comunica Query Accepted RDF Metadata Extract Actor

[![npm version](https://badge.fury.io/js/%40comunica%2Factor-rdf-metadata-extract-query-accepted.svg)](https://www.npmjs.com/package/@comunica/actor-rdf-metadata-extract-query-accepted)

An [RDF Metadata Extract](https://github.com/comunica/comunica/tree/master/packages/bus-rdf-metadata-extract) actor that
extracts the `Accept-Query` header, which servers use to advertise support for
the [HTTP QUERY method (RFC 10008)](https://www.rfc-editor.org/rfc/rfc10008.html)
together with the query formats they accept.

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-metadata-extract-query-accepted
```

## Metadata entries

This actor adds the following entries to the metadata object.

* `queryAccepted`: `[ 'application/sparql-query', ... ]`.

Media type parameters and weights are stripped, so an `Accept-Query` value of
`application/sparql-query;charset=utf-8;q=0.9` is extracted as `application/sparql-query`.

## 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-metadata-extract-query-accepted/^5.0.0/components/context.jsonld"
  ],
  "actors": [
    ...
    {
      "@id": "urn:comunica:default:rdf-metadata-extract/actors#query-accepted",
      "@type": "ActorRdfMetadataExtractQueryAccepted"
    }
  ]
}
```

---
_Source: https://npm.io/package/@comunica/actor-rdf-metadata-extract-query-accepted · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
