@comunica/actor-bindings-aggregator-factory-count
Version:
A count bindings aggregator factory actor
37 lines (28 loc) • 1.32 kB
Markdown
# Comunica Bindings Aggregator Factory Count Actor
[](https://www.npmjs.com/package/@comunica/actor-bindings-aggregator-factory-count)
A [bindings aggregator factory](https://github.com/comunica/comunica/tree/master/packages/bus-bindings-aggregator-factory) actor
that constructs a bindings aggregator capable of evaluating [count](https://www.w3.org/TR/sparql11-query/#defn_aggCount).
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-bindings-aggregator-factory-count
```
## Configure
After installing, this package can be added to your engine's configuration as follows:
```text
{
"@context": [
...
"https://linkedsoftwaredependencies.org/bundles/npm/@comunica/actor-bindings-aggregator-factory-count/^1.0.0/components/context.jsonld"
],
"actors": [
...
{
"@id": "urn:comunica:default:bindings-aggregator-factory/actors#count",
"@type": "ActorBindingsAggregatorFactoryCount"
}
]
}
```