Module @comunica/actor-context-preprocess-convert-shortcuts - v3.0.3

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.

Install

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

Configure

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"
    }
  ]
}

Config Parameters

  • contextKeyShortcuts: Shortcuts to expand.

Index

Classes

Interfaces