metadata
dataset_info:
features:
- name: query_id
dtype: string
- name: query_template
dtype: string
splits:
- name: train
num_bytes: 67807
num_examples: 912
download_size: 20211
dataset_size: 67807
configs:
- config_name: default
data_files:
- split: train
path: data/train-*
license: apache-2.0
task_categories:
- text2text-generation
language:
- en
size_categories:
- n<1K
Dataset Card for SynQL-Spider-Train-Source-Templates
- Developed by: Semiotic Labs
- Model type: [Text to SQL]
- License: [Apache-2.0]
Dataset Details
Example view of data:
{
"0": "SELECT ? FROM ? JOIN ? ON ? = ? WHERE ? IN (SELECT ? FROM ? JOIN ? ON ? = ? WHERE ? = ?)",
"1": "SELECT COUNT(?) FROM ? JOIN ? ON ? = ? WHERE ? != ?",
"2": "SELECT ? FROM ? WHERE ? = ? OR ? = ?",
"3": "SELECT ? FROM ? WHERE ? LIKE ? ORDER BY ?",
...
"911": "SELECT ? FROM ?, ?, ? JOIN ? ON ? = ? AND ? = ? AND ? = ? WHERE ? = ? GROUP BY ? HAVING COUNT(?) >= ?"
}
The Query templates above have been sourced from the Spider dataset (link). They have been anonymized using sqlglot (link).