# Comunica Bus Query Serialize

[![npm version](https://badge.fury.io/js/%40comunica%2Fbus-query-serialize.svg)](https://www.npmjs.com/package/@comunica/bus-query-serialize)

A bus for serializing SPARQL algebra into a query string.

This module is part of the [Comunica framework](https://github.com/comunica/comunica),
and should only be used by [developers that want to build their own query engine](https://comunica.dev/docs/modify/).

[Click here if you just want to query with Comunica](https://comunica.dev/docs/query/).

## Install

```bash
$ yarn add @comunica/bus-query-serialize
```

## Usage

## Bus usage

* **Context**: `"https://linkedsoftwaredependencies.org/bundles/npm/@comunica/bus-query-serialize/^5.0.0/components/context.jsonld"`
* **Bus name**: `ActorQuerySerialize:_default_bus`

## Creating actors on this bus

Actors extending [`ActorQuerySerialize`](https://comunica.github.io/comunica/classes/_comunica_bus-query-serialize.ActorQuerySerialize.html) are automatically subscribed to this bus.
