@comunica/actor-rdf-resolve-hypermedia-links-traverse-annotate-source-graph
TypeScript icon, indicating that this package has built-in type declarations

0.6.0 • Public • Published

Comunica Traverse Annotate Source Graph RDF Resolve Hypermedia Links Actor

npm version

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.

Install

$ yarn add @comunica/actor-rdf-resolve-hypermedia-links-traverse-annotate-source-graph

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-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"
    }
  ]
}

Config Parameters

TODO: fill in parameters (this section can be removed if there are none)

  • someParam: Description of the param

Package Sidebar

Install

npm i @comunica/actor-rdf-resolve-hypermedia-links-traverse-annotate-source-graph

Weekly Downloads

3

Version

0.6.0

License

MIT

Unpacked Size

31.7 kB

Total Files

12

Last publish

Collaborators

  • jeswr
  • joachimvh
  • rubensworks
  • rubenverborgh
  • dexagod