SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2607.10911 · 2026

The Nuts and Bolts of Natural Language to SQL Translation: A Systematic Analysis of Model Pipeline Optimisation Approaches and their Interactions

John Kelleher, Mingxue Wang, Filip Klubička, Vasudevan Nedumpozhimana, Sneha Rautmare, Bora Caglayan

arXiv · PDF · Open in the Atlas

Code that ran

14 of 20 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 2 honoured the contract we drafted, 3 violated it and 0 have no contract verdict; 9 failures of our instrument; 6 no recorded run), measured 2026-11-23; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2607.10911.json · badge: /api/ran/2607.10911.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
ygan/NatSQL canonical (classifier label)
classifier basis: census
14 ran · 6 no recorded run
FunctionStatusWhere it lives
before_or_after Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
ygan/NatSQL/pattern_generation.py
pointer only (licence: NONE) · get_code("4afe995f7b1ddf57")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ygan/NatSQL when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

col_match_not_in_table Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
ygan/NatSQL/natsql2sql/preprocess/col_match.py
pointer only (licence: NONE) · get_code("96702b7e3c7a6a21")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ygan/NatSQL when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

col_unit_back Ran
ran; our contract draft was wrong, not the code
ygan/NatSQL/natsql2sql/utils.py
pointer only (licence: NONE) · get_code("870f513d8cee4cab")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ygan/NatSQL when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_next_table Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
ygan/NatSQL/table_transform.py
pointer only (licence: NONE) · get_code("9e81d6c0dbfbb852")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ygan/NatSQL when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_schema Ran
ran; our contract draft was wrong, not the code
ygan/NatSQL/natsql2sql/process_sql.py
pointer only (licence: NONE) · get_code("58c07f808a94f086")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ygan/NatSQL when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_schema_from_json Ran
ran; our contract draft was wrong, not the code
ygan/NatSQL/natsql2sql/process_sql.py
pointer only (licence: NONE) · get_code("c4dcaf29b663a364")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ygan/NatSQL when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

jjs_not_order Ran
ran, violated the contract we drafted
ygan/NatSQL/pattern_generation.py
pointer only (licence: NONE) · get_code("a2266df86cae8784")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ygan/NatSQL when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

natsql_idx_to_table2_idx Ran
ran, honoured the contract we drafted
ygan/NatSQL/natsql2sql/natsql2sql.py
pointer only (licence: NONE); the stored copy get_code serves, from saparina/text2sql-nlvariation, is pointer only (licence: CC-BY-SA-4.0) · get_code("b0825d653a089615")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ygan/NatSQL when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

not_in_all_q Ran
ran, violated the contract we drafted
ygan/NatSQL/pattern_generation.py
pointer only (licence: NONE) · get_code("4a745be5f30afaae")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ygan/NatSQL when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

of_for_structure_in_col Ran
ran, violated the contract we drafted
ygan/NatSQL/natsql2sql/preprocess/col_match.py
pointer only (licence: NONE) · get_code("ef3dbdae33ca2c48")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ygan/NatSQL when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

return_result Ran
ran; our contract draft was wrong, not the code
ygan/NatSQL/natsql2sql/preprocess/db_match.py
pointer only (licence: NONE) · get_code("0e25e2e0733db4c8")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ygan/NatSQL when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

reversed_link_back_col Ran
ran, honoured the contract we drafted
ygan/NatSQL/table_transform.py
pointer only (licence: NONE); the stored copy get_code serves, from saparina/text2sql-nlvariation, is pointer only (licence: CC-BY-SA-4.0) · get_code("48b57e02e3f2c83d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ygan/NatSQL when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

special_replace Ran
ran; our contract draft was wrong, not the code
ygan/NatSQL/setence_split.py
pointer only (licence: NONE) · get_code("8833c58230d6386e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ygan/NatSQL when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

val_unit_back Ran
ran; our contract draft was wrong, not the code
ygan/NatSQL/natsql2sql/utils.py
pointer only (licence: NONE) · get_code("815b613db137fa80")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ygan/NatSQL when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

check_relation Not yet run
unverified (harvested, no recorded run)
ygan/NatSQL/natsql2sql/natsql2sql.py
pointer only (licence: NONE); the stored copy get_code serves, from saparina/text2sql-nlvariation, is pointer only (licence: CC-BY-SA-4.0) · get_code("14ad4335d565ea1d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ygan/NatSQL when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

col_match_main Not yet run
unverified (harvested, no recorded run)
ygan/NatSQL/natsql2sql/preprocess/col_match.py
pointer only (licence: NONE) · get_code("ec17bb9f6919d410")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ygan/NatSQL when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

lemmatization Not yet run
unverified (harvested, no recorded run)
ygan/NatSQL/natsql2sql/preprocess/TokenString.py
pointer only (licence: NONE) · get_code("afc0b5023361df91")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ygan/NatSQL when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

parse_col Not yet run
unverified (harvested, no recorded run)
ygan/NatSQL/natsql2sql/natsql_parser.py
pointer only (licence: NONE) · get_code("972a58657cfed15c")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ygan/NatSQL when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

select_unit_back Not yet run
unverified (harvested, no recorded run)
ygan/NatSQL/natsql2sql/utils.py
pointer only (licence: NONE) · get_code("bfc0a46be80f851a")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ygan/NatSQL when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

table_transform Not yet run
unverified (harvested, no recorded run)
ygan/NatSQL/table_transform.py
pointer only (licence: NONE) · get_code("7a8b99916d022ef1")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ygan/NatSQL when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 20 samples lifted from this paper's linked repositories, 20 carry a function identity and 0 do not. Of the 20 distinct functions with an identity, 4 are also present in other papers whose code we hold (4 with at least one paper dated earlier, 0 the same month, 0 later) and 16 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
get_schema_from_json 13 other papers
13 dated earlier
1911.04942 (2019-11)
RAT-SQL: Relation-Aware Schema Encoding and Linking for Text-to-SQL Parsers
2020.emnlp-main.564 (2020 (year only))
Re-examining the Role of Schema Linking in Text-to-SQL
2106.01093 (2021-06)
LGESQL: Line Graph Enhanced Text-to-SQL Model with Mixed Local and Non-Local Relations
and 10 more not named here
check_relation 2 other papers
2 dated earlier
1809.08887 (2018-09)
Spider: A Large-Scale Human-Labeled Dataset for Complex and Cross-Domain Semantic Parsing and Text-to-SQL Task
2109.05153 (2021-09)
Natural SQL: Making SQL Easier to Infer from Natural Language Specifications
natsql_idx_to_table2_idx 2 other papers
2 dated earlier
1809.08887 (2018-09)
Spider: A Large-Scale Human-Labeled Dataset for Complex and Cross-Domain Semantic Parsing and Text-to-SQL Task
2109.05153 (2021-09)
Natural SQL: Making SQL Easier to Infer from Natural Language Specifications
reversed_link_back_col 2 other papers
2 dated earlier
1809.08887 (2018-09)
Spider: A Large-Scale Human-Labeled Dataset for Complex and Cross-Domain Semantic Parsing and Text-to-SQL Task
2109.05153 (2021-09)
Natural SQL: Making SQL Easier to Infer from Natural Language Specifications

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

In the age of large language models, Natural Language to SQL (NL2SQL) translation remains an open problem with many useful applications. We explore interactions between several NL2SQL pipeline extensions to inspire development of more lightweight models. Specifically, we integrate the NatSQL intermediate representation, include a preprocessing step and a fine-tuning step based on synthetic data, and develop a novel reranker model to improve SQL selection in the final beam. We perform an ablation study supplemented by a Shapley analysis of these different components integrated with two backbone architectures, SmBoP and RASAT. We find that simply combining all of them does not lead to best results, but that their impact depends on their interactions with the baseline system, as well as each other. NL2SQL • SQL • reranker • Spider • generative models • data augmentation • optimization methods • model architectures • code generation

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2607.10911")
get_code_for_paper("2607.10911")
have("2607.10911")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2607.10911.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2607.10911.svg)](https://syntology.ai/paper/2607.10911)

Connect an agent — have() is free.