@comunica/actor-query-result-serialize-rdf
v4.0.2
Published
A rdf query-result-serialize actor
Downloads
12,231
Readme
Comunica RDF Query Result Serialize Actor
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.