comunica/comunica

📬 A knowledge graph querying framework for JavaScript

What it solves

Comunica provides a flexible framework for querying decentralized RDF (Resource Description Framework) data on the Web. It allows users to execute SPARQL and GraphQL queries across various sources, including local files, in-memory data, and remote endpoints, without requiring a centralized database.

How it works

Comunica is a modular query engine implemented in JavaScript. It offers a variety of specialized engines for different use cases, such as link traversal (following links between documents to discover data), reasoning support, and integration with Solid access control. It can be run in the browser, via a CLI, or within a Node.js application.

Who it’s for

It is designed for developers building applications that need to interact with knowledge graphs and decentralized data, as well as researchers in the semantic web space.

Highlights

  • Multi-source querying: Supports querying across local files, RDF/JS sources, HDT files, and remote endpoints.
  • Diverse query languages: Supports both SPARQL and GraphQL.
  • Decentralized approach: Capable of link traversal to query data across the web.
  • AI Agent Integration: Includes MCP (Model Context Protocol) wrappers to allow AI agents to interact with its query engines.
  • Extensible architecture: Modular design allows developers to contribute new query operation actors or custom configurations.

Related

  • Project
  • Project
  • Project
  • Project