ended3월 24일· 1 sources

SQLite as a Graph Database: Recursive CTEs, Semantic Search, and Why We Ditched Neo4j

SQLite를 그래프 데이터베이스로 활용하기: 재귀 CTE, 시맨틱 검색, 그리고 Neo4j를 버린 이유

Why it matters

The post describes ctxgraph, a project that replaces the typical Neo4j + LLM + vector DB stack for knowledge graphs with a single SQLite-based binary. By leveraging recursive CTEs for graph traversal and FTS5 for search, it achieves 0.800 F1 on extraction benchmarks with zero API calls and no Docker dependency. The schema uses three core tables (episodes, entities, edges) with proper indexing to handle tens of thousands of nodes efficiently.

1
Sources
+0
24h
Growth
180d
Active
SQLiteKnowledge GraphRecursive CTENeo4jctxgraphFTS5

Sources

Related Issues