squall / README.md
siyue
full data
1048cd7
|
raw
history blame
No virus
2.58 kB
---
license: mit
task_categories:
- table-question-answering
language:
- en
pretty_name: SQUALL
size_categories:
- 10K<n<100K
---
## SQUALL Dataset
To explore the utility of fine-grained, lexical-level supervision, authors introduce SQUALL, a dataset that enriches 11,276 WikiTableQuestions English-language questions with manually created SQL equivalents plus alignments between SQL and question fragments. 5-fold splits are applied to the full dataset (1 fold as dev set at each time). The subset defines which fold is selected as the validation dataset.
WARN: labels of test set are unknown.
## Source
Please refer to [github repo](https://github.com/tzshi/squall/) for source data.
## Use
```python
from datasets import load_dataset
dataset = load_dataset("siyue/squall","0")
```
Example:
```python
{
'nt': 'nt-10922',
'tbl': '204_879',
'columns':
{
'raw_header': ['year', 'host / location', 'division i overall', 'division i undergraduate', 'division ii overall', 'division ii community college'],
'tokenized_header': [['year'], ['host', '\\\\/', 'location'], ['division', 'i', 'overall'], ['division', 'i', 'undergraduate'], ['division', 'ii', 'overall'], ['division', 'ii', 'community', 'college']],
'column_suffixes': [['number'], ['address'], [], [], [], []],
'column_dtype': ['number', 'address', 'text', 'text', 'text', 'text'],
'example': ['1997', 'penn', 'chicago', 'swarthmore', 'harvard', 'valencia cc']
},
'nl': ['when', 'was', 'the', 'last', 'time', 'the', 'event', 'was', 'held', 'in', 'minnesota', '?'],
'nl_pos': ['WRB', 'VBD-AUX', 'DT', 'JJ', 'NN', 'DT', 'NN', 'VBD-AUX', 'VBN', 'IN', 'NNP', '.'],
'nl_ner': ['O', 'O', 'O', 'O', 'O', 'O', 'O', 'O', 'O', 'O', 'LOCATION', 'O'],
'nl_incolumns': [False, False, False, False, False, False, False, False, False, False, False, False],
'nl_incells': [False, False, False, False, False, False, False, False, False, False, True, False],
'columns_innl': [False, False, False, False, False, False],
'tgt': '2007',
'sql': ['select', 'c1', 'from', 'w', 'where', 'c2', '=', "'minnesota'", 'order', 'by', 'c1_number', 'desc', 'limit', '1']
}
```
## Contact
For any issues or questions, kindly email us at: Siyue Zhang (siyue001@e.ntu.edu.sg).
## Citation
```
@inproceedings{Shi:Zhao:Boyd-Graber:Daume-III:Lee-2020,
Title = {On the Potential of Lexico-logical Alignments for Semantic Parsing to {SQL} Queries},
Author = {Tianze Shi and Chen Zhao and Jordan Boyd-Graber and Hal {Daum\'{e} III} and Lillian Lee},
Booktitle = {Findings of EMNLP},
Year = {2020},
}
```