UNPKG

@comunica/actor-function-factory-expression-same-term

Version:

A expression-same-term function-factory actor

38 lines (29 loc) 1.48 kB
# Comunica Expression Function Same Term Function Factory Actor [![npm version](https://badge.fury.io/js/%40comunica%2Factor-function-factory-expression-function-same-term.svg)](https://www.npmjs.com/package/@comunica/actor-function-factory-expression-same-term) 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 the [Same Term](https://www.w3.org/TR/sparql11-query/#func-sameTerm) function. 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-same-term ``` ## 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-same-term/^4.0.0/components/context.jsonld" ], "actors": [ ... { "@id": "urn:comunica:default:function-factory/actors#expression-function-same-term", "@type": "ActorFunctionFactoryExpressionSameTerm" } ] } ```