@comunica/actor-rdf-dereference-http-parse v1.22.3
Comunica HTTP Parse RDF Dereference Actor
An RDF Dereference actor that resolves the URL using the HTTP bus and parses it using the RDF parse bus.
An RDF Dereference actor implementation for Comunica that resolves the URL using the HTTP bus and parses it using the RDF arse bus.
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-dereference-http-parse
Configure
After installing, this package can be added to your engine's configuration as follows:
{
"@context": [
...
"https://linkedsoftwaredependencies.org/bundles/npm/@comunica/actor-rdf-dereference-http-parse/^1.0.0/components/context.jsonld"
],
"actors": [
...
{
"@id": "config-sets:rdf-dereference.json#myRdfDereferencer",
"@type": "ActorRdfDereferenceHttpParse",
"mediatorHttp": {
"@id": "config-sets:http.json#mediatorHttp"
},
"crdhp:mediatorRdfParseMediatypes": {
"@id": "config-sets:rdf-dereference.json#mediatorRdfParseMediatypes",
"@type": "MediatorCombineUnion",
"cc:Mediator/bus": { "@id": "cbrp:Bus/RdfParse" },
"cmcu:Mediator/CombineUnion/field": "mediaTypes"
},
"crdhp:mediatorRdfParseHandle": {
"@id": "config-sets:rdf-dereference.json#mediatorRdfParseHandle",
"@type": "MediatorRace",
"cc:Mediator/bus": { "@id": "cbrp:Bus/RdfParse" }
},
"crdhp:maxAcceptHeaderLength": 1024,
"crdhp:maxAcceptHeaderLengthBrowser": 128,
}
]
}
Config Parameters
crdhp:mediatorHttp
: A mediator over the HTTP bus.crdhp:mediatorRdfParseMediatypes
: A mediator over the RDF Parse bus for collecting media types.crdhp:mediatorRdfParseHandle
: A mediator over the RDF Parse bus for actual parsing.crdhp:maxAcceptHeaderLength
: The maximum allowed accept header value length for non-browser environments, defaults to1024
.crdhp:maxAcceptHeaderLengthBrowser
: The maximum allowed accept header value length for browser environments, defaults to128
.
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
7 years ago
7 years ago