1.22.3 • Published 3 years ago

@comunica/actor-rdf-dereference-http-parse v1.22.3

Weekly downloads
3,755
License
MIT
Repository
github
Last release
3 years ago

Comunica HTTP Parse RDF Dereference Actor

npm version

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 to 1024.
  • crdhp:maxAcceptHeaderLengthBrowser: The maximum allowed accept header value length for browser environments, defaults to 128.
1.22.3

3 years ago

1.22.2

3 years ago

1.22.1

3 years ago

1.22.0

3 years ago

1.21.4-alpha.4.0

3 years ago

1.21.2

3 years ago

1.21.0

4 years ago

1.21.1

4 years ago

1.20.1-alpha.3.0

4 years ago

1.20.1-alpha.2.0

4 years ago

1.20.1-alpha.1.0

4 years ago

1.20.1-alpha.0

4 years ago

1.20.0

4 years ago

1.19.2

4 years ago

1.19.0

4 years ago

1.18.1

4 years ago

1.18.0

4 years ago

1.17.0

4 years ago

1.16.0

4 years ago

1.15.0

4 years ago

1.14.0

4 years ago

1.13.0

4 years ago

1.11.0

5 years ago

1.10.0

5 years ago

1.9.3

5 years ago

1.9.2

5 years ago

1.9.0

5 years ago

1.8.0

5 years ago

1.7.2

6 years ago

1.7.1

6 years ago

1.6.3

6 years ago

1.6.0

6 years ago

1.5.1

6 years ago

1.4.2

6 years ago

1.4.0

6 years ago

1.2.0

6 years ago

1.1.0

6 years ago

1.0.0

7 years ago