An RDF Resolve Hypermedia Links actor that annotates all triples that were obtained from a certain document, with the document URL from which the triple originated. This annotation is done by making the triple part of the document URL's named graph.
When using this actor, it is recommended to run the query engine using union graph semantics (--unionDefaultGraph
).
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.
$ yarn add @comunica/actor-rdf-resolve-hypermedia-links-traverse-annotate-source-graph
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-annotate-source-graph/^1.0.0/components/context.jsonld"
],
"actors": [
...
{
"@id": "urn:comunica:default:rdf-resolve-hypermedia-links/actors#traverse-annotate-source-graph",
"@type": "ActorRdfResolveHypermediaLinksTraverseAnnotateSourceGraph"
}
]
}
TODO: fill in parameters (this section can be removed if there are none)
-
someParam
: Description of the param