@comunica/actor-rdf-metadata-extract-traverse-quad-pattern-query v0.0.2-alpha.e75a15a.0
Comunica Traverse Quad Pattern Query RDF Metadata Extract Actor
An RDF Metadata Extract actor that
collects all URIs in a page that matches at least one quad pattern in the current query
and stores it inside the metadata under the traverse
key.
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-rdf-metadata-extract-traverse-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-rdf-metadata-extract-traverse-quad-pattern-query/^1.0.0/components/context.jsonld"
],
"actors": [
...
{
"@id": "config-sets:resolve-hypermedia.json#myRdfMetadataExtractTraverseQuadPatternQuery",
"@type": "ActorRdfMetadataExtractTraverseQuadPatternQuery"
}
]
}
Config Parameters
carmetqp:Actor/RdfMetadataExtract/TraverseQuadPatternQuery#onlyVariables
: If only links that match a variable in the query should be included. (defaulttrue
)
2 years ago
2 years ago
2 years ago
3 years ago