Intent-first Text2Cypher: LLM never writes Cypher, but only 1 of 4 runs correct

JeremyCMorgan · x · 2026-10-28

The Ontographia project's part-2 article details an architecture for natural-language querying of Neo4j: the LLM's only job is extracting a structured Intent (start node, relationship paths, filters, returns), which a fixed core validates against the ontology and deterministically compiles into parameterized Cypher — nothing the LLM writes reaches the database as query text.

The honest benchmark: only 1 of 4 end-to-end attempts was fully correct. Syntax is solved; semantics is not — intent extraction remains the bottleneck. Open source at github.com/edgesentry/ontographia, with stress tests and public-dataset validation coming in part 3.

Original post →

More from coding & agent

coding & agent channel →