Module @comunica/actor-query-result-serialize-rdf - v4.0.2

Comunica RDF Query Result Serialize Actor

npm version

A Query Result Serialize actor that serializes to RDF by delegating to the RDF Serialize 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.

$ yarn add @comunica/actor-query-result-serialize-rdf

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

{
  "@context": [
    ...
    "https://linkedsoftwaredependencies.org/bundles/npm/@comunica/actor-query-result-serialize-rdf/^4.0.0/components/context.jsonld"
  ],
  "actors": [
    ...
    {
      "@id": "urn:comunica:default:query-result-serialize/actors#rdf",
      "@type": "ActorQueryResultSerializeRdf",
      "mediatorRdfSerialize": { "@id": "urn:comunica:default:rdf-serialize/mediators#serialize" },
      "mediatorMediaTypeCombiner": { "@id": "urn:comunica:default:rdf-serialize/mediators#mediaType" },
      "mediatorMediaTypeFormatCombiner": { "@id": "urn:comunica:default:rdf-serialize/mediators#mediaTypeFormat" }
    },
  ]
}
  • mediatorRdfSerialize: A mediator over the RDF Serialize bus for actual serialization.
  • mediatorRdfSerializeMediaTypeCombiner: A mediator over the RDF Serialize bus for collecting media types.
  • mediatorRdfSerializeMediaTypeFormatCombiner: A mediator over the RDF Serialize bus for collecting media type formats.

Classes

ActorQueryResultSerializeRdf

Interfaces

IActorQueryResultSerializeRdfArgs