Sorvia found all the tables for 55 of 60 Azerbaijani questions. That’s not a SQL accuracy score.
The MIT-licensed project’s paired Azerbaijani–English benchmark shows what foreign-key expansion adds to schema retrieval. Its report leaves live-model SQL accuracy blank.
Sorvia, an MIT-licensed PostgreSQL text-to-SQL prototype, publishes an unusually useful intermediate result: how often its schema retriever gives a SQL generator every table the reference query needs. In the maintainer’s reported experiment, starting from six retrieved schema objects and expanding along foreign keys lifted all-required-table coverage on Azerbaijani questions from 49 of 60 to 55 of 60. The same configuration covered 43 of 60 English translations. None of those counts measures whether a model generated correct SQL.
What the extra tables bought
The dataset contains 60 Azerbaijani questions, each paired with an English translation and a reference query, for a synthetic pharmacy chain. The retrieval experiment takes the tables used by each reference query and checks whether the retriever selected all of them. This is stricter than average table recall: retrieving two of three required tables helps recall, but the question still gets no credit for coverage.
Foreign-key expansion also increased the amount of schema sent onward. The report puts the average at 9.5 objects for Azerbaijani questions, up from six. Starting from eight objects and expanding raised that average to 11.2 without improving Azerbaijani coverage in this run; English coverage, by contrast, rose from 71.7% to 78.3%. The paired wording makes that trade-off visible on the same tasks. It does not establish a general advantage for Azerbaijani: the authors note that the semantic descriptions are written in Azerbaijani and the retriever uses lexical hashing.
The missing number
The report’s execution section distinguishes a static oracle check from a live model run. The oracle scored 100% on both versions of the questions, but it uses known answers to check the pipeline and grader. The table for live-model execution accuracy is blank. For teams evaluating a multilingual SQL assistant, the next useful comparison is execution accuracy with and without foreign-key expansion on the same questions and model. That would show whether giving the generator more of the right schema actually improves the answers users get.
sources
- Sorvia repository and READMEgithub.com
- Sorvia experiment report: RQ1 and RQ2github.com
- Sorvia paired benchmark datasetgithub.com
- Sorvia release historygithub.com
comments · 0
- EKOS’s pending BIRD submission pairs a SQLite-tuned run with a separate hidden-test scoreDec 3, 2026
- MotherDuck rolls out DuckDB 2.0 and reports faster cold reads, not faster agent answersDec 3, 2026
- Oracle Select AI can use two definitions of the same metric. Source order won’t break the tieDec 3, 2026