@comunica/actor-rdf-metadata-extract-traverse
TypeScript icon, indicating that this package has built-in type declarations

0.6.0 • Public • Published

Comunica Traverse RDF Metadata Extract Actor

npm version

An RDF Metadata Extract actor that adds the traverse entry to the metadata object by delegating the metadata stream to the Extract Links bus.

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-rdf-metadata-extract-traverse

Metadata entries

This actor adds the following entries to the metadata object.

  • traverse: Array of URLs to traverse. (if traverseConditional: false)
  • traverseConditional: Array of URLs to conditionally traverse. (if traverseConditional: true)

Configure

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

{
  "@context": [
    ...
    "https://linkedsoftwaredependencies.org/bundles/npm/@comunica/actor-rdf-metadata-extract-traverse/^1.0.0/components/context.jsonld"
  ],
  "actors": [
    ...
    {
      "@id": "urn:comunica:default:rdf-metadata-extract/actors#traverse",
      "@type": "ActorRdfMetadataExtractTraverse"
    }
  ]
}

Config Parameters

Package Sidebar

Install

npm i @comunica/actor-rdf-metadata-extract-traverse

Weekly Downloads

29

Version

0.6.0

License

MIT

Unpacked Size

23.6 kB

Total Files

12

Last publish

Collaborators

  • jeswr
  • joachimvh
  • rubensworks
  • rubenverborgh
  • dexagod