colliery-io/graphqlite

A SQLite extension that adds graph database capabilities with Cypher query language support and built-in graph algorithms.

What it solves

GraphQLite is an SQLite extension that allows users to store and query graph data using the Cypher query language. It bridges the gap between the simplicity of a zero-config, single-file embedded database and the expressive power of graph databases for modeling complex relationships.

How it works

It integrates directly into SQLite, enabling the execution of Cypher queries (such as MATCH, CREATE, and MERGE) and the use of built-in graph algorithms. It provides interfaces for Python, Rust, and raw SQL, allowing users to manage graph data without needing a separate server.

Who it’s for

Developers who want graph database capabilities within an SQLite environment, particularly those building applications that require relationship-heavy data modeling or GraphRAG implementations.

Highlights

  • Cypher Support: High conformance with the openCypher TCK, supporting standard clauses like MATCH, WITH, and UNWIND.
  • Graph Algorithms: Includes built-in implementations of PageRank, Louvain, Dijkstra, BFS/DFS, and connected components.
  • GraphRAG: Provides examples for implementing GraphRAG using the HotpotQA dataset.
  • Zero Configuration: Operates as an embedded extension with no server required.

Related

  • Project
  • Project
  • Project
  • Project