@comunica/actor-sparql-serialize-tree

A tree sparql-serialize actor

Usage no npm install needed!

<script type="module">
  import comunicaActorSparqlSerializeTree from 'https://cdn.skypack.dev/@comunica/actor-sparql-serialize-tree';
</script>

README

Comunica Tree SPARQL Serialize Actor

npm version

A SPARQL Serialize actor that serializes to a JSON tree.

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-tree

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-tree/^1.0.0/components/context.jsonld"  
  ],
  "actors": [
    ...
    {
      "@id": "config-sets:sparql-serializers.json#myTreeSparqlSerializer",
      "@type": "ActorSparqlSerializeTree"
    }
  ]
}