Papers › Spider: A Large-Scale Human-Labeled Dataset for Complex and Cross-Domain Semantic...

Spider: A Large-Scale Human-Labeled Dataset for Complex and Cross-Domain Semantic Parsing and Text-to-SQL Task

24 Sep 2018EMNLP 2018 10arXiv:1809.08887archive 2025-07-28

Tao Yu, Rui Zhang, Kai Yang, Michihiro Yasunaga, Dongxu Wang, Zifan Li, James Ma, Irene Li, Qingning Yao, Shanelle Roman, Zilin Zhang, Dragomir Radev

We present Spider, a large-scale, complex and cross-domain semantic parsing and text-to-SQL dataset annotated by 11 college students. It consists of 10,181 questions and 5,693 unique complex SQL queries on 200 databases with multiple tables, covering 138 different domains. We define a new complex and cross-domain semantic parsing and text-to-SQL task where different complex SQL queries and databases appear in train and test sets. In this way, the task requires the model to generalize well to both new SQL queries and new database schemas. Spider is distinct from most of the previous semantic parsing tasks because they all use a single database and the exact same programs in the train set and the test set. We experiment with various state-of-the-art models and the best model achieves only 12.4% exact matching accuracy on a database split setting. This shows that Spider presents a strong challenge for future research. Our dataset and task are publicly available at https://yale-lily.github.io/spider

PaperPDFConference PDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="1809.08887")

Code

Syntology Ran 7 of 8 code samples harvested from 3 repositories linked to this paper; 1 has no recorded run. Of those that ran: 2 ran · honoured contract; 3 ran · violated contract; 2 ran · our draft was wrong.

By repository: official repository: 3 samples from 1 repository, 3 ran; community (archive-listed): 5 samples from 2 repositories, 4 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

taoyds/spider officialmentioned on GitHubtf report
ML-KULeuven/deepstochlog-lm mentioned on GitHubpytorch report
openbotai/nl2sql mentioned on GitHubnot reachable when probed 2026-09-17 — repositories for recent papers often appear after camera-ready report
yandex-research/sparqling-queries mentioned on GitHubpytorch report
ygan/spider mentioned on GitHubtf report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

8 samples harvested; 7 ran; 2 honoured the contract we drafted; 1 has no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

2ran · honoured contract
3ran · violated contract
2ran · our draft was wrong
1unverified

Licence: 3 of the 8 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 3 repositories linked to this paper, official or community; each sample names its own and says which. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

condition_has_like taoyds/spider/evaluation.py official repository ran · violated contract Apache-2.0 (permissive) · 8231e3fdffa9c8ee · report
condition_has_or taoyds/spider/evaluation.py official repository ran · violated contract fingerprinted Apache-2.0 (permissive) · f2d76234528d3b57 · report
condition_has_sql taoyds/spider/evaluation.py official repository ran · violated contract Apache-2.0 (permissive) · 954c76e256cc7220 · report
build_prompt ML-KULeuven/deepstochlog-lm/src/task2/task2.py community (archive-listed) ran · our draft was wrong Apache-2.0 (permissive) · abcf216a0f054de7 · report
get_domain ML-KULeuven/deepstochlog-lm/src/task2/task2.py community (archive-listed) ran · our draft was wrong Apache-2.0 (permissive) · 487252da3c521e4a · report
natsql_idx_to_table2_idx saparina/text2sql-nlvariation/RESDSQL/NatSQL/natsql2sql/natsql2sql.py community (archive-listed) ran · honoured contract CC-BY-SA-4.0 (copyleft) · pointer only · b0825d653a089615 · report
reversed_link_back_col saparina/text2sql-nlvariation/RESDSQL/NatSQL/natsql2sql/natsql2sql.py community (archive-listed) ran · honoured contract CC-BY-SA-4.0 (copyleft) · pointer only · 48b57e02e3f2c83d · report
check_relation saparina/text2sql-nlvariation/RESDSQL/NatSQL/natsql2sql/natsql2sql.py community (archive-listed) unverified CC-BY-SA-4.0 (copyleft) · pointer only · 14ad4335d565ea1d · report

Tasks

Semantic ParsingText to SQLText-To-SQL

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Semantic Parsing spider Exact Set Matching Accuracy 19.7 #10 of 10 Archive leaderboard report

Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections