SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2404.10150 · NAACL · 2024

TabSQLify: Enhancing Reasoning Capabilities of LLMs Through Table Decomposition

Davood Rafiei, Md Mahadi, Hasan Nahid

arXiv · PDF · Open in the Atlas

Code that ran

7 of 15 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; 6 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 1 failure of our instrument; 8 no recorded run), measured 2026-11-23; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; 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/2404.10150.json · badge: /api/ran/2404.10150.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
mahadi-nahid/tabsqlify marked official in Papers with Code
Papers with Code archive
7 ran · 8 no recorded run
FunctionStatusWhere it lives
parse_limit Ran
ran, honoured the contract we drafted
mahadi-nahid/tabsqlify/utils/extraction_from_sql.py
pointer only (licence: NONE) · get_code("38e4069e5b096cec")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mahadi-nahid/tabsqlify 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.

parse_order_by Ran
ran, honoured the contract we drafted
mahadi-nahid/tabsqlify/utils/extraction_from_sql.py
pointer only (licence: NONE) · get_code("cb44b522e20def3b")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mahadi-nahid/tabsqlify 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.

parse_select Ran
ran, honoured the contract we drafted
mahadi-nahid/tabsqlify/utils/extraction_from_sql.py
pointer only (licence: NONE) · get_code("651dbafae2c91680")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mahadi-nahid/tabsqlify 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.

parse_table_unit Ran
ran; our contract draft was wrong, not the code
mahadi-nahid/tabsqlify/utils/extraction_from_sql.py
pointer only (licence: NONE) · get_code("218726c6afc81470")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mahadi-nahid/tabsqlify 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.

parse_value Ran
ran, honoured the contract we drafted
mahadi-nahid/tabsqlify/utils/extraction_from_sql.py
pointer only (licence: NONE) · get_code("20e6bf91068797e9")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mahadi-nahid/tabsqlify 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.

parse_where Ran
ran, honoured the contract we drafted
mahadi-nahid/tabsqlify/utils/extraction_from_sql.py
pointer only (licence: NONE) · get_code("36cb09c5018fd5f4")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mahadi-nahid/tabsqlify 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.

skip_semicolon Ran
ran, honoured the contract we drafted
mahadi-nahid/tabsqlify/utils/extraction_from_sql.py
pointer only (licence: NONE) · get_code("7523ecfde4aa5252")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mahadi-nahid/tabsqlify 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.

parse_col Not yet run
unverified (harvested, no recorded run)
mahadi-nahid/tabsqlify/utils/extraction_from_sql.py
pointer only (licence: NONE) · get_code("e02203bc18aaec5e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mahadi-nahid/tabsqlify 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_unit Not yet run
unverified (harvested, no recorded run)
mahadi-nahid/tabsqlify/utils/extraction_from_sql.py
pointer only (licence: NONE) · get_code("1cf8d3a86aefa5ca")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mahadi-nahid/tabsqlify 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_condition Not yet run
unverified (harvested, no recorded run)
mahadi-nahid/tabsqlify/utils/extraction_from_sql.py
pointer only (licence: NONE) · get_code("50401742feeda9e6")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mahadi-nahid/tabsqlify 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_from Not yet run
unverified (harvested, no recorded run)
mahadi-nahid/tabsqlify/utils/extraction_from_sql.py
pointer only (licence: NONE) · get_code("1ff435f71c45515d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mahadi-nahid/tabsqlify 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_group_by Not yet run
unverified (harvested, no recorded run)
mahadi-nahid/tabsqlify/utils/extraction_from_sql.py
pointer only (licence: NONE) · get_code("b0f4816227ae33c5")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mahadi-nahid/tabsqlify 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_having Not yet run
unverified (harvested, no recorded run)
mahadi-nahid/tabsqlify/utils/extraction_from_sql.py
pointer only (licence: NONE) · get_code("74e1de748313ae30")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mahadi-nahid/tabsqlify 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_sql Not yet run
unverified (harvested, no recorded run)
mahadi-nahid/tabsqlify/utils/extraction_from_sql.py
pointer only (licence: NONE) · get_code("4530fd8535c9d726")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mahadi-nahid/tabsqlify 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_val_unit Not yet run
unverified (harvested, no recorded run)
mahadi-nahid/tabsqlify/utils/extraction_from_sql.py
pointer only (licence: NONE) · get_code("412bddc33084d837")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mahadi-nahid/tabsqlify 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 15 samples lifted from this paper's linked repositories, 15 carry a function identity and 0 do not. Of the 15 distinct functions with an identity, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 15 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.

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

Table reasoning is a challenging task that requires understanding both natural language questions and structured tabular data. Large language models (LLMs) have shown impressive capabilities in natural language understanding and generation, but they often struggle with large tables due to their limited input length. In this paper, we propose TabSQLify, a novel method that leverages text-to-SQL generation to decompose tables into smaller and relevant sub-tables, containing only essential information for answering questions or verifying statements, before performing the reasoning task. In our comprehensive evaluation on four challenging datasets, our approach demonstrates comparable or superior performance compared to prevailing methods reliant on full tables as input. Moreover, our method can reduce the input context length significantly, making it more scalable and efficient for large-scale table reasoning applications. Our method performs remarkably well on the WikiTQ benchmark, achieving an accuracy of 64.7%. Additionally, on the TabFact benchmark, it achieves a high accuracy of 79.5%. These results surpass other LLM-based baseline models on gpt-3.5-turbo (chatgpt). TabSQLify can reduce the table size significantly alleviating the computational load on LLMs when handling large tables without compromising performance.

For agents

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

get_harvested_code_for_paper("2404.10150")
get_code_for_paper("2404.10150")
have("2404.10150")

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

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

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

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

Connect an agent — have() is free.