@comunica/actor-query-source-identify-hypermedia-annotate-source
TypeScript icon, indicating that this package has built-in type declarations

4.2.0 • Public • Published

Comunica Annotate Source Query Source Identify Hypermedia Actor

npm version

A Comunica Annotate Source Query Source Identify Hypermedia Actor. This actor wraps around other hypermedia sources and adds the URL from which the bindings are derived to the binding's context.

Warning: This actor does not work when the aggregateTraversalStore is enabled in ActorQuerySourceIdentifyHypermedia.

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-query-source-identify-hypermedia-annotate-source

Configure

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

{
  "@context": [
    ...
    "https://linkedsoftwaredependencies.org/bundles/npm/@comunica/actor-query-source-identify-hypermedia-annotate-source/^1.0.0/components/context.jsonld"
  ],
  "actors": [
    ...
    {
      "@id": "urn:comunica:default:query-source-identify-hypermedia/actors#annotate-source",
      "@type": "ActorQuerySourceIdentifyHypermediaAnnotateSource"
    }
  ]
}

Config Parameters

Package Sidebar

Install

npm i @comunica/actor-query-source-identify-hypermedia-annotate-source

Weekly Downloads

6

Version

4.2.0

License

MIT

Unpacked Size

40 kB

Total Files

16

Last publish

Collaborators

  • joachimvh
  • rubensworks
  • rubenverborgh
  • dexagod
  • jeswr