0.4.0 • Published 20 days ago

@comunica/actor-rdf-metadata-extract-traverse v0.4.0

Weekly downloads
-
License
MIT
Repository
github
Last release
20 days ago

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