3.0.3 • Published 16 days ago

@comunica/actor-query-source-identify-hypermedia v3.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
16 days ago

Comunica Hypermedia Query Source Identify Actor

npm version

A Query Source Identify actor that handles hypermedia-based sources.

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-query-source-identify-hypermedia

Configure

After installing, this package can be added to your engine's configuration as follows:

{
  "@context": [
    ...
    "https://linkedsoftwaredependencies.org/bundles/npm/@comunica/actor-query-source-identify-hypermedia/^1.0.0/components/context.jsonld"
  ],
  "actors": [
    ...
    {
      "@id": "urn:comunica:default:query-source-identify/actors#hypermedia",
      "@type": "ActorQuerySourceIdentifyHypermedia",
      "mediatorDereferenceRdf": { "@id": "urn:comunica:default:dereference-rdf/mediators#main" },
      "mediatorMetadata": { "@id": "urn:comunica:default:rdf-metadata/mediators#main" },
      "mediatorMetadataExtract": { "@id": "urn:comunica:default:rdf-metadata-extract/mediators#main" },
      "mediatorMetadataAccumulate": { "@id": "urn:comunica:default:rdf-metadata-accumulate/mediators#main" },
      "mediatorQuerySourceIdentifyHypermedia": { "@id": "urn:comunica:default:query-source-identify-hypermedia/mediators#main" },
      "mediatorRdfResolveHypermediaLinks": { "@id": "urn:comunica:default:rdf-resolve-hypermedia-links/mediators#main" },
      "mediatorRdfResolveHypermediaLinksQueue": { "@id": "urn:comunica:default:rdf-resolve-hypermedia-links-queue/mediators#main" }
    }
  ]
}

Config Parameters

  • cacheSize: The maximum number of entries in the LRU cache, set to 0 to disable, defaults to 100.
  • maxIterators: The maximum number of links that can be followed in parallel, defaults to 64.
  • aggregateTraversalStore: If all discovered quads across all links from a traversal source should be indexed in an aggregated store, to speed up later calls. This only applies to sources annotated with KeysQuerySourceIdentify.traverse. Defaults to true.
  • httpInvalidator: An optional actor that listens to HTTP invalidation events.
  • mediatorDereferenceRdf: A mediator over the RDF Dereference bus.
  • mediatorMetadata: A mediator over the RDF Metadata bus.
  • mediatorMetadataExtract: A mediator over the RDF Metadata Extract bus.
  • mediatorMetadataAccumulate: A mediator over the RDF Metadata Accumulate bus.
  • mediatorQuerySourceIdentifyHypermedia: A mediator over the Query Source Identify Hypermedia bus.
  • mediatorRdfResolveHypermediaLinks: A mediator over the RDF Resolve Hypermedia Links bus.
  • mediatorRdfResolveHypermediaLinksQueue: A mediator over the RDF Resolve Hypermedia Links Queue bus.