open-source · since 2026-09-29
TEXTtoSQL GraphModule
adminaluru
MIT-licensed Python text-to-SQL research implementation that maps questions into a semantic query, resolves business concepts and join paths through Neo4j, deterministically compiles SQL, validates and guardrails it, then executes against PostgreSQL.
Verified from repository metadata and source on 2026-09-29. The pipeline separates LLM question analysis from semantic normalization, graph planning, grain/column resolution, deterministic SQL compilation, validation, guardrails, read-only PostgreSQL execution, result analysis and answer assembly. Graph planning rejects physical join paths unless each adjacent table pair is also authorized by a semantic relationship. Execution uses parameterized SQL, a read-only transaction, a 5-second default timeout and a 500-row default cap. Early-stage caveats: 0 stars/forks at discovery, no README at repository root, configuration requires PostgreSQL and Neo4j credentials, and no published benchmark result was found.