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

0.0.2-alpha.e75a15a.0 • Public • Published

Comunica Traverse Content Policies RDF Metadata Extract Actor

npm version

A comunica Traverse Content Policies RDF Metadata Extract Actor.

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-content-policies

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-content-policies/^1.0.0/components/context.jsonld"  
  ],
  "actors": [
    ...
    {
      "@id": "config-sets:resolve-hypermedia.json#myRdfMetadataExtractTraverseContentPolicies",
      "@type": "ActorRdfMetadataExtractTraverseContentPolicies"
    }
  ]
}

Config Parameters

  • cbrme:Actor/RdfMetadataExtract/TraverseContentPolicies#queryEngine: An instance of ActorInitSparql.
  • cbrme:Actor/RdfMetadataExtract/TraverseContentPolicies#traverseConditional: A flag indicating if links should only be follow IF it has been defined by some other link extractor. (default: true)

Package Sidebar

Install

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

Weekly Downloads

1

Version

0.0.2-alpha.e75a15a.0

License

MIT

Unpacked Size

25.8 kB

Total Files

14

Last publish

Collaborators

  • jeswr
  • joachimvh
  • rubensworks
  • rubenverborgh
  • dexagod