@comunica/actor-query-result-serialize-rdf
TypeScript icon, indicating that this package has built-in type declarations

4.0.2 • Public • Published

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.

Install

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

Configure

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" }
    },
  ]
}

Config Parameters

  • 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.

Package Sidebar

Install

npm i @comunica/actor-query-result-serialize-rdf

Weekly Downloads

2,409

Version

4.0.2

License

MIT

Unpacked Size

31.4 kB

Total Files

12

Last publish

Collaborators

  • jeswr
  • joachimvh
  • rubensworks
  • rubenverborgh
  • dexagod