1.22.0 • Published 3 years ago

@comunica/actor-sparql-serialize-rdf v1.22.0

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

Comunica RDF SPARQL Serialize Actor

npm version

A SPARQL 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-sparql-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-sparql-serialize-rdf/^1.0.0/components/context.jsonld"  
  ],
  "actors": [
    ...
    {
      "@id": "config-sets:sparql-serializers.json#myRdfSparqlSerializer",
      "@type": "ActorSparqlSerializeRdf",
      "cassr:Actor/SparqlSerialize/Rdf/mediatorRdfSerialize": {
        "@id": "config-sets:sparql-serializers.json#mediatorRdfSerialize",
        "@type": "MediatorRace",
        "cc:Mediator/bus": { "@id": "cbrs:Bus/RdfSerialize" }
      },
      "cassr:Actor/SparqlSerialize/Rdf/mediatorRdfSerializeMediaTypeCombiner": {
        "@type": "MediatorCombineUnion",
        "cc:Mediator/bus": { "@id": "cbrs:Bus/RdfSerialize" },
        "cmcu:Mediator/CombineUnion/field": "mediaTypes"
      },
      "cassr:Actor/SparqlSerialize/Rdf/mediatorRdfSerializeMediaTypeFormatCombiner": {
        "@type": "MediatorCombineUnion",
        "cc:Mediator/bus": { "@id": "cbrs:Bus/RdfSerialize" },
        "cmcu:Mediator/CombineUnion/field": "mediaTypeFormats"
      }
    },
  ]
}

Config Parameters

  • cassr:Actor/SparqlSerialize/Rdf/mediatorRdfSerialize: A mediator over the RDF Serialize bus for actual serialization.
  • cassr:Actor/SparqlSerialize/Rdf/mediatorRdfSerializeMediaTypeCombiner: A mediator over the RDF Serialize bus for collecting media types.
  • cassr:Actor/SparqlSerialize/Rdf/mediatorRdfSerializeMediaTypeFormatCombiner: A mediator over the RDF Serialize bus for collecting media type formats.
1.22.0

3 years ago

1.21.4-alpha.4.0

3 years ago

1.21.1

3 years ago

1.20.1-alpha.3.0

3 years ago

1.20.1-alpha.2.0

3 years ago

1.20.1-alpha.1.0

3 years ago

1.20.1-alpha.0

3 years ago

1.20.0

3 years ago

1.19.2

3 years ago

1.19.0

3 years ago

1.18.1

3 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.1

4 years ago

1.13.0

4 years ago

1.12.1

4 years ago

1.11.1

4 years ago

1.11.0

4 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.6.5

5 years ago

1.6.3

5 years ago

1.6.0

5 years ago

1.4.4

5 years ago

1.4.0

6 years ago

1.2.0

6 years ago

1.1.0

6 years ago

1.0.0

6 years ago