File size: 1,217 Bytes
1c73b80
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7c5b9e7
 
 
 
 
 
7053cda
1c73b80
7c5b9e7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
---
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: 
```json
{
    "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](https://huggingface.co/datasets/xlangai/spider)). They have been anonymized using sqlglot ([link](https://github.com/tobymao/sqlglot)).