Module @comunica/actor-context-preprocess-convert-shortcuts - v4.0.2

Comunica Convert Shortcuts Context Preprocess Actor

npm version

An Context Preprocess actor that expands shortcuts in the context to full context keys. Available shortcuts can be configured in this actor via the contextKeyShortcuts parameter.

This module is part of the Comunica framework, and should only be used by developers that want to build their own query engine.

Click here if you just want to query with Comunica.

$ yarn add @comunica/actor-context-preprocess-convert-shortcuts

After installing, this package can be added to your engine's configuration as follows:

{
  "@context": [
    ...
    "https://linkedsoftwaredependencies.org/bundles/npm/@comunica/actor-context-preprocess-convert-shortcuts/^1.0.0/components/context.jsonld"
  ],
  "actors": [
    ...
    {
      "@id": "urn:comunica:default:context-preprocess/actors#convert-shortcuts",
      "@type": "ActorContextPreprocessConvertShortcuts"
    }
  ]
}
  • contextKeyShortcuts: Shortcuts to expand.

Classes

ActorContextPreprocessConvertShortcuts

Interfaces

IActorContextPreprocessConvertShortcutsArgs