Comunica Link Traversal
    Preparing search index...

    Module @comunica/actor-rdf-metadata-extract-shapetrees - v0.8.0

    Comunica Shapetrees RDF Metadata Extract Actor

    npm version

    An RDF Metadata Extract actor that adds the shapetrees entry to the metadata object, which will contain those Shape Trees objects that either match and do not match with the current query. The applicable and non-applicable are stored in separate arrays.

    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-metadata-extract-shapetrees
    

    This actor adds the following entries to the metadata object.

    • shapetrees: An object containing arrays of applicable and nonApplicable ShapeTree objects.

    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-shapetrees/^1.0.0/components/context.jsonld"
      ],
      "actors": [
        ...
        {
          "@id": "urn:comunica:default:rdf-metadata-extract/actors#shapetrees",
          "@type": "ActorRdfMetadataExtractShapetrees"
          "mediatorDereferenceRdf": { "@id": "urn:comunica:default:dereference-rdf/mediators#main" },
          "mediatorHttp": { "@id": "urn:comunica:default:http/mediators#main" }
        }
      ]
    }
    
    • actorInitQuery: An instance of ActorInitQuery, defaults to urn:comunica:default:init/actors#query.
    • mediatorDereferenceRdf: A mediator over the Dereference RDF bus.
    • mediatorHttp: A mediator over the HTTP bus.

    Classes

    ActorRdfMetadataExtractShapetrees
    ShapeTree

    Interfaces

    IActorRdfMetadataExtractShapetreesArgs