@comunica/actor-extract-links-quad-pattern-query
v0.6.0
Published
A traverse-quad-pattern-query extract-links actor
Downloads
277
Readme
Comunica Quad Pattern Query Extract Links Actor
An RDF Metadata Extract actor that collects all URIs in a page that matches at least one quad pattern in the current query.
This corresponds to the cMatch
reachability criterion as defined in "Hartig, Olaf, and Johann-Christoph Freytag. "Foundations of traversal based query execution over linked data." Proceedings of the 23rd ACM conference on Hypertext and social media. 2012.".
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-quad-pattern-query
Metadata entries
This actor adds the following entries to the metadata object.
traverse
: Array of ILink to traverse.
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-quad-pattern-query/^1.0.0/components/context.jsonld"
],
"actors": [
...
{
"@id": "config-sets:resolve-hypermedia.json#myExtractLinksQuadPatternQuery",
"@type": "ActorExtractLinksQuadPatternQuery"
}
]
}
Config Parameters
onlyVariables
: If only links that match a variable in the query should be included. (defaulttrue
)