Dataset Viewer
Auto-converted to Parquet Duplicate
statement
stringlengths
30
125
table_text
listlengths
183
1.2k
answer
listlengths
1
1
ids
stringlengths
4
7
What is the store_id for inventory_id 5?
[ [ "inventory_id", "film_id", "store_id", "last_update" ], [ "1", "1", "1", "2006-02-15 05:09:17" ], [ "2", "1", "1", "2006-02-15 05:09:17" ], [ "3", "1", "1", "2006-02-15 05:09:17" ], [ "4", "1", "1", "2006-02-15 05:09:1...
[ "2" ]
nu-0
Which film_id is associated with inventory_id 100?
[ [ "inventory_id", "film_id", "store_id", "last_update" ], [ "1", "1", "1", "2006-02-15 05:09:17" ], [ "2", "1", "1", "2006-02-15 05:09:17" ], [ "3", "1", "1", "2006-02-15 05:09:17" ], [ "4", "1", "1", "2006-02-15 05:09:1...
[ "1" ]
nu-1
What is the last_update date for inventory_id 250?
[ [ "inventory_id", "film_id", "store_id", "last_update" ], [ "1", "1", "1", "2006-02-15 05:09:17" ], [ "2", "1", "1", "2006-02-15 05:09:17" ], [ "3", "1", "1", "2006-02-15 05:09:17" ], [ "4", "1", "1", "2006-02-15 05:09:1...
[ "2006-02-15 05:09:17" ]
nu-2
How many inventory records are there for film_id 4?
[ [ "inventory_id", "film_id", "store_id", "last_update" ], [ "1", "1", "1", "2006-02-15 05:09:17" ], [ "2", "1", "1", "2006-02-15 05:09:17" ], [ "3", "1", "1", "2006-02-15 05:09:17" ], [ "4", "1", "1", "2006-02-15 05:09:1...
[ "7" ]
nu-3
What is the inventory_id for the first record of film_id 19?
[ [ "inventory_id", "film_id", "store_id", "last_update" ], [ "1", "1", "1", "2006-02-15 05:09:17" ], [ "2", "1", "1", "2006-02-15 05:09:17" ], [ "3", "1", "1", "2006-02-15 05:09:17" ], [ "4", "1", "1", "2006-02-15 05:09:1...
[ "93" ]
nu-4
Which store_id has inventory_id 67?
[ [ "inventory_id", "film_id", "store_id", "last_update" ], [ "1", "1", "1", "2006-02-15 05:09:17" ], [ "2", "1", "1", "2006-02-15 05:09:17" ], [ "3", "1", "1", "2006-02-15 05:09:17" ], [ "4", "1", "1", "2006-02-15 05:09:1...
[ "2" ]
nu-5
What is the film_id for inventory_id 450?
[ [ "inventory_id", "film_id", "store_id", "last_update" ], [ "1", "1", "1", "2006-02-15 05:09:17" ], [ "2", "1", "1", "2006-02-15 05:09:17" ], [ "3", "1", "1", "2006-02-15 05:09:17" ], [ "4", "1", "1", "2006-02-15 05:09:1...
[ "99" ]
nu-6
What is the last_update timestamp for inventory_id 1?
[["inventory_id","film_id","store_id","last_update"],["1","1","1","2006-02-15 05:09:17"],["2","1","1(...TRUNCATED)
[ "2006-02-15 05:09:17" ]
nu-7
How many records are there for film_id 12?
[["inventory_id","film_id","store_id","last_update"],["1","1","1","2006-02-15 05:09:17"],["2","1","1(...TRUNCATED)
[ "7" ]
nu-8
What is the inventory_id for the last record of film_id 135?
[["inventory_id","film_id","store_id","last_update"],["1","1","1","2006-02-15 05:09:17"],["2","1","1(...TRUNCATED)
[ "625" ]
nu-9
End of preview. Expand in Data Studio

SLQA: A Long-Table Question Answering Benchmark

SLQA is a human-verified benchmark for question answering over long tables. It was introduced in TabScope: Question-Adaptive Scope Selection for Table Question Answering (ALTA 2026). Code: https://github.com/yxw-11/TabScope.

Construction

  • Source tables. Tables come from the Spider databases. Only tables whose serialized form is longer than 4,096 tokens are kept.
  • Questions. The original Spider NL-to-SQL questions are discarded. New table QA questions are generated with GPT-4o mini through a self-adaptive procedure: given an evidence scope (a single cell, a row, a column, or a sub-table), the model first selects an answer that this scope supports, and then writes a question for it. The questions include both SQL-executable and non-SQL-executable ones.
  • Quality control. Every question–answer pair was manually checked for answerability, grounding and correctness. Pairs that could not be repaired were discarded.

Data

This release contains the test split (1,110 questions). All 1,110 questions have been manually verified: each question–answer pair was checked by hand for answerability, grounding in the table and correctness.

split # questions manually verified
test 1,110 ✅ all 1,110

Each line of data/test.jsonl is one example:

field type description
ids string Example identifier (e.g. nu-0)
statement string The question
table_text list[list[string]] The table. The first row is the header, and each following row is a data row. All cells are strings.
answer list[string] Gold answer(s)

Example:

{"statement": "What is the store_id for inventory_id 5?",
 "table_text": [["inventory_id", "film_id", "store_id", "last_update"],
                ["1", "1", "1", "2006-02-15 05:09:17"], "..."],
 "answer": ["2"],
 "ids": "nu-0"}

In the test split, tables have on average 13.0 columns and 579.8 data rows.

Usage

from datasets import load_dataset

ds = load_dataset("Shaunwyx/SLQA", split="test")
ex = ds[0]
header, rows = ex["table_text"][0], ex["table_text"][1:]
print(ex["statement"], ex["answer"])

License

Released under CC BY-SA 4.0. The tables come from Spider (CC BY-SA 4.0).

Citation

If you use this dataset, please cite our papers:

@article{wang2026tabscope,
  title   = {TabScope: Question-Adaptive Scope Selection for Table Question Answering},
  author  = {Wang, Yuxiang and Gan, Junhao and Qi, Jianzhong},
  journal = {arXiv preprint arXiv:2609.03395},
  year    = {2026}
}

@article{wang2025towards,
  title   = {Towards Question Answering over Large Semi-structured Tables},
  author  = {Wang, Yuxiang and Gan, Junhao and Qi, Jianzhong},
  journal = {arXiv preprint arXiv:2502.13422},
  year    = {2025}
}

Please also cite Spider:

@inproceedings{yu2018spider,
  title     = {Spider: A Large-Scale Human-Labeled Dataset for Complex and Cross-Domain Semantic Parsing and Text-to-SQL Task},
  author    = {Yu, Tao and Zhang, Rui and Yang, Kai and Yasunaga, Michihiro and Wang, Dongxu and Li, Zifan and Ma, James and Li, Irene and Yao, Qingning and Roman, Shanelle and Zhang, Zilin and Radev, Dragomir},
  booktitle = {Proceedings of EMNLP},
  year      = {2018}
}
Downloads last month
4

Papers for Shaunwyx/SLQA