Comunica Hypermedia RDF Resolve Quad Pattern Actor
An RDF Resolve Quad Pattern 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-rdf-resolve-quad-pattern-hypermedia
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-quad-pattern-hypermedia/^2.0.0/components/context.jsonld"
],
"actors": [
...
{
"@id": "urn:comunica:default:rdf-resolve-quad-pattern/actors#hypermedia",
"@type": "ActorRdfResolveQuadPatternHypermedia",
"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" },
"mediatorRdfResolveHypermedia": { "@id": "urn:comunica:default:rdf-resolve-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. -
aggregateStore
: If all discovered quads across all links from a seed source should be indexed in an aggregated store, to speed up later calls. This should only be used for sources without filter factor. Defaults to false. -
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. -
mediatorRdfResolveHypermedia
: A mediator over the RDF Resolve Hypermedia bus. -
mediatorRdfResolveHypermediaLinks
: A mediator over the RDF Resolve Hypermedia Links bus. -
mediatorRdfResolveHypermediaLinksQueue
: A mediator over the RDF Resolve Hypermedia Links Queue bus.