Languages: en
Multilinguality: monolingual
Size Categories: 1K<n<10K
Licenses: cc-by-4.0
Annotations Creators: expert-generated
Source Datasets: original

Dataset Card for [spider]

Dataset Summary

Spider is a large-scale complex and cross-domain semantic parsing and text-to-SQL dataset annotated by 11 Yale students The goal of the Spider challenge is to develop natural language interfaces to cross-domain databases

Supported Tasks and Leaderboards

The leaderboard can be seen at


The text in the dataset is in English.

Dataset Structure

Data Instances

What do the instances that comprise the dataset represent?

Each instance is natural language question and the equivalent SQL query

How many instances are there in total?

What data does each instance consist of?

[More Information Needed]

Data Fields

  • db_id: Database name
  • question: Natural language to interpret into SQL
  • query: Target SQL query
  • query_toks: List of tokens for the query
  • query_toks_no_value: List of tokens for the query
  • question_toks: List of tokens for the question

Data Splits

train: 7000 questions and SQL query pairs dev: 1034 question and SQL query pairs

[More Information Needed]

Dataset Creation

Curation Rationale

[More Information Needed]

Source Data

Initial Data Collection and Normalization

Who are the source language producers?

[More Information Needed]


The dataset was annotated by 11 college students at Yale University

Annotation process

Who are the annotators?

Personal and Sensitive Information

[More Information Needed]

Considerations for Using the Data

Social Impact of Dataset

Discussion of Biases

[More Information Needed]

Other Known Limitations

Additional Information

The listed authors in the homepage are maintaining/supporting the dataset.

Dataset Curators

[More Information Needed]

The spider dataset is licensed under the CC BY-SA 4.0

[More Information Needed]

Citation Information

  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 others},
  journal={arXiv preprint arXiv:1809.08887},


Thanks to @olinguyen for adding this dataset.

Models trained or fine-tuned on spider

None yet