@comunica/actor-extract-links-content-policies
v0.6.0
Published
A traverse-content-policies extract-links actor
Downloads
234
Readme
Comunica Content Policies Extract Links Actor
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-extract-links-content-policies
Metadata entries
This actor adds the following entries to the metadata object.
traverse
: Array of URLs to traverse. (iftraverseConditional: false
)traverseConditional
: Array of URLs to conditionally traverse. (iftraverseConditional: true
)
Configure
After installing, this package can be added to your engine's configuration as follows:
{
"@context": [
...
"https://linkedsoftwaredependencies.org/bundles/npm/@comunica/actor-extract-links-content-policies/^1.0.0/components/context.jsonld"
],
"actors": [
...
{
"@id": "config-sets:resolve-hypermedia.json#myExtractLinksContentPolicies",
"@type": "ActorExtractLinksContentPolicies"
}
]
}
Config Parameters
actorInitQuery
: An instance of ActorInitQuery.traverseConditional
: A flag indicating if links should only be follow IF it has been defined by some other link extractor. (default:true
)