@comunica/actor-rdf-resolve-hypermedia-links-traverse-prune-shapetrees
v0.6.1
Published
A traverse-prune-shapetrees rdf-resolve-hypermedia-links actor
Downloads
49
Readme
Comunica Traverse Prune Shapetrees RDF Resolve Hypermedia Links Actor
An RDF Resolve Hypermedia Links
actor that only works if there are shapetrees
and traverse
entries available in the metadata.
In that case, it will prune away all links in traverse
that do not match with any of the Shape Trees
that are guaranteed to not match with the current query.
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-resolve-hypermedia-links-traverse-prune-shapetrees
Configure
After installing, this package can be added to your engine's configuration as follows:
{
"@context": [
...
"https://linkedsoftwaredependencies.org/bundles/npm/@comunica/actor-rdf-resolve-hypermedia-links-traverse-prune-shapetrees/^1.0.0/components/context.jsonld"
],
"actors": [
...
{
"@id": "urn:comunica:default:rdf-resolve-hypermedia-links/actors#traverse-prune-shapetrees",
"@type": "ActorRdfResolveHypermediaLinksTraversePruneShapetrees"
"mediatorRdfResolveHypermediaLinks": { "@id": "urn:comunica:default:rdf-resolve-hypermedia-links/mediators#main" }
}
]
}
Config Parameters
mediatorRdfResolveHypermediaLinks
: A mediator over the RDF Resolve Hypermedia Links bus.