Datasets › WikiSQL
WikiSQL
WikiSQL consists of a corpus of 87,726 hand-annotated SQL query and natural language question pairs. These SQL queries are further split into training (61,297 examples), development (9,145 examples) and test sets (17,284 examples). It can be used for natural language inference tasks related to relational databases.
Source: SQL-to-Text Generation with Graph-to-Sequence Model Image Source: https://blog.einstein.ai/how-to-talk-to-your-database/
Benchmarks archive 2025-07-28
All 4 leaderboards whose dataset resolves to this page shown (sort by any header). "First row" is the archive's own first row at snapshot, in the archive's row order; nothing here re-ranks and metric direction is not asserted.
| First row (archive order) | Paper | Code | ||||
|---|---|---|---|---|---|---|
| Code Generation | WikiSQL | NL2SQL-RULE Execution Accuracy 89.2 | Content Enhanced BERT-based Text-to-SQL Generation | guotong1988/NL2SQL-RULE +4 | 10 | Compare |
| Semantic Parsing | WikiSQL | NL2SQL-BERT Accuracy 89 | Content Enhanced BERT-based Text-to-SQL Generation | guotong1988/NL2SQL-RULE +4 | 5 | Compare |
| Question Answering | WikiSQL | PieTa Exact Match (EM) 88.55 | Piece of Table: A Divide-and-Conquer Approach for... | — | 2 | Compare |
| SQL-to-Text | WikiSQL | Graph2Seq-PGE BLEU-4 38.97 | Graph2Seq: Graph to Sequence Learning with... | IBM/Graph2Seq +3 | 2 | Compare |
Papers archive 2025-07-28
15 shown of 15 papers with a leaderboard row on this dataset's benchmarks, newest first. The archive's own "papers using this dataset" list was never published, so this is the benchmark-backed subset; the archive's count for this dataset is 267. The Syntology column is from Syntology's graph (read 2026-09-24), stated per sample; it is not part of any archive number.
Dataset loaders archive 2025-07-28
4 loaders as listed in the archive; links are outbound and not re-checked here.
Tasks archive 2025-07-28
License archive 2025-07-28
Modalities archive 2025-07-28
Languages archive 2025-07-28
No language tagged.
Variants archive 2025-07-28
- WikiSQL
1 variant name, as the archive lists them.
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