@comunica/actor-function-factory-expression-extensions
Version:
A expression-extensions function-factory actor
39 lines (30 loc) • 1.66 kB
Markdown
# Comunica Expression Function Extensions Function Factory Actor
[](https://www.npmjs.com/package/@comunica/actor-function-factory-expression-extensions)
A [function factory](https://github.com/comunica/comunica/tree/master/packages/bus-function-factory) actor
that constructs an [expression function](https://github.com/comunica/comunica/tree/master/packages/bus-function-factory/lib/ActorFunctionFactory.ts)
capable of evaluating any [Extensions](https://www.w3.org/TR/sparql11-query/#extensionFunctions) function passed by the `extensionFunctionCreator` or `extensionFunctions`
[context keys](https://github.com/comunica/comunica/blob/master/packages/context-entries/lib/Keys.ts).
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-function-factory-expression-extensions
```
## Configure
After installing, this package can be added to your engine's configuration as follows:
```text
{
"@context": [
...
"https://linkedsoftwaredependencies.org/bundles/npm/@comunica/actor-function-factory-expression-extensions/^5.0.0/components/context.jsonld"
],
"actors": [
...
{
"@id": "urn:comunica:default:function-factory/actors#expression-function-extensions",
"@type": "ActorFunctionFactoryExpressionExtensions"
}
]
}
```