Datasets:
nt
stringlengths 4
8
| tbl
stringlengths 5
7
| columns
dict | nl
sequence | nl_pos
sequence | nl_ner
sequence | nl_incolumns
sequence | nl_incells
sequence | columns_innl
sequence | tgt
stringlengths 1
935
| sql
dict | nl_ralign
dict | align
dict |
---|---|---|---|---|---|---|---|---|---|---|---|---|
nt-540 | 204_469 | {
"raw_header": [
"coach",
"years",
"seasons",
"wins",
"losses",
"ties",
"pct"
],
"tokenized_header": [
[
"coach"
],
[
"years"
],
[
"seasons"
],
[
"wins"
],
[
"losses"
],
[
"ties"
],
[
"pct"
]
],
"column_suffixes": [
[],
[
"list",
"length",
"list_minimum_number",
"list_minimum_parsed",
"list_minimum_year",
"list_maximum_number",
"list_maximum_parsed",
"list_maximum_year"
],
[
"number"
],
[
"number"
],
[
"number"
],
[
"number"
],
[
"number"
]
],
"column_dtype": [
"text",
"<c,timespan>",
"number",
"number",
"number",
"number",
"number"
],
"example": [
"o. b. \"rip\" sanderson",
"1908",
"1",
"5",
"1",
"0",
"0.833"
]
} | [
"what",
"was",
"the",
"number",
"of",
"loses",
"while",
"fred",
"jordan",
"was",
"coaching",
"?"
] | [
"WP",
"VBD-AUX",
"DT",
"NN",
"IN",
"VBZ",
"IN",
"NNP",
"NNP",
"VBD-AUX",
"NN",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"PERSON",
"PERSON",
"O",
"O",
"O"
] | [
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false
] | [
false,
false,
false,
false,
false,
false,
false,
true,
true,
false,
false,
false
] | [
false,
false,
false,
false,
false,
false,
false
] | 552 | {
"sql_type": [
"Keyword",
"Column",
"Keyword",
"Keyword",
"Keyword",
"Column",
"Keyword",
"Literal.String"
],
"value": [
"select",
"c5_number",
"from",
"w",
"where",
"c1",
"=",
"'fred jordan'"
],
"span_indices": [
[],
[],
[],
[],
[],
[],
[],
[
7,
8
]
]
} | {
"aligned_sql_token_type": [
"None",
"None",
"None",
"None",
"None",
"Column",
"None",
"Literal",
"Literal",
"None",
"Column",
"None"
],
"aligned_sql_token_info": [
null,
null,
null,
null,
null,
"c5_number",
null,
null,
null,
null,
"c1",
null
]
} | {
"nl_indices": [
[
8,
7
],
[
10
],
[
5
]
],
"sql_indices": [
[
7
],
[
5
],
[
1
]
]
} |
nt-2474 | 204_469 | {
"raw_header": [
"coach",
"years",
"seasons",
"wins",
"losses",
"ties",
"pct"
],
"tokenized_header": [
[
"coach"
],
[
"years"
],
[
"seasons"
],
[
"wins"
],
[
"losses"
],
[
"ties"
],
[
"pct"
]
],
"column_suffixes": [
[],
[
"list",
"length",
"list_minimum_number",
"list_minimum_parsed",
"list_minimum_year",
"list_maximum_number",
"list_maximum_parsed",
"list_maximum_year"
],
[
"number"
],
[
"number"
],
[
"number"
],
[
"number"
],
[
"number"
]
],
"column_dtype": [
"text",
"<c,timespan>",
"number",
"number",
"number",
"number",
"number"
],
"example": [
"o. b. \"rip\" sanderson",
"1908",
"1",
"5",
"1",
"0",
"0.833"
]
} | [
"who",
"was",
"the",
"last",
"coach",
"to",
"only",
"have",
"1",
"loss",
"?"
] | [
"WP",
"VBD-AUX",
"DT",
"JJ",
"NN",
"TO",
"RB",
"VBD-AUX",
"CD",
"NN",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"NUMBER",
"O",
"O"
] | [
false,
false,
false,
false,
true,
false,
false,
false,
false,
false,
false
] | [
false,
false,
false,
false,
false,
false,
false,
false,
true,
false,
false
] | [
true,
false,
false,
false,
false,
false,
false
] | Ed Sabre | {
"sql_type": [
"Keyword",
"Column",
"Keyword",
"Keyword",
"Keyword",
"Column",
"Keyword",
"Literal.Number",
"Keyword",
"Keyword",
"Column",
"Keyword",
"Keyword",
"Keyword"
],
"value": [
"select",
"c1",
"from",
"w",
"where",
"c5_number",
"=",
"1",
"order",
"by",
"c2_list_minimum_year",
"desc",
"limit",
"1"
],
"span_indices": [
[],
[],
[],
[],
[],
[],
[],
[
8
],
[],
[],
[],
[],
[],
[]
]
} | {
"aligned_sql_token_type": [
"Column",
"None",
"Column",
"Column",
"Column",
"None",
"None",
"None",
"Literal",
"Column",
"None"
],
"aligned_sql_token_info": [
"c1",
null,
"c2_list_minimum_year",
"c2_list_minimum_year",
"c1",
null,
null,
null,
null,
"c5_number",
null
]
} | {
"nl_indices": [
[
0
],
[
4
],
[
9
],
[
8
],
[
3,
2
]
],
"sql_indices": [
[
1
],
[
1
],
[
5
],
[
7
],
[
8,
9,
10,
11,
12,
13
]
]
} |
nt-4491 | 204_469 | {
"raw_header": [
"coach",
"years",
"seasons",
"wins",
"losses",
"ties",
"pct"
],
"tokenized_header": [
[
"coach"
],
[
"years"
],
[
"seasons"
],
[
"wins"
],
[
"losses"
],
[
"ties"
],
[
"pct"
]
],
"column_suffixes": [
[],
[
"list",
"length",
"list_minimum_number",
"list_minimum_parsed",
"list_minimum_year",
"list_maximum_number",
"list_maximum_parsed",
"list_maximum_year"
],
[
"number"
],
[
"number"
],
[
"number"
],
[
"number"
],
[
"number"
]
],
"column_dtype": [
"text",
"<c,timespan>",
"number",
"number",
"number",
"number",
"number"
],
"example": [
"o. b. \"rip\" sanderson",
"1908",
"1",
"5",
"1",
"0",
"0.833"
]
} | [
"does",
"mack",
"erwin",
"have",
"more",
"or",
"less",
"wins",
"than",
"fred",
"montsdeoca",
"?"
] | [
"VBD-AUX",
"NNP",
"NNP",
"VBD-AUX",
"JJR",
"CC",
"JJR",
"NNS",
"IN",
"NNP",
"NNP",
"."
] | [
"O",
"PERSON",
"PERSON",
"O",
"O",
"O",
"O",
"O",
"O",
"PERSON",
"PERSON",
"O"
] | [
false,
false,
false,
false,
false,
false,
false,
true,
false,
false,
false,
false
] | [
false,
true,
true,
false,
false,
false,
false,
false,
false,
true,
true,
false
] | [
false,
false,
false,
true,
false,
false,
false
] | more | {
"sql_type": [
"Keyword",
"Keyword",
"Keyword",
"Column",
"Keyword",
"Keyword",
"Keyword",
"Column",
"Keyword",
"Literal.String",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Column",
"Keyword",
"Keyword",
"Keyword",
"Column",
"Keyword",
"Literal.String",
"Keyword"
],
"value": [
"select",
"(",
"select",
"c4_number",
"from",
"w",
"where",
"c1",
"=",
"'mack erwin'",
")",
">",
"(",
"select",
"c4_number",
"from",
"w",
"where",
"c1",
"=",
"'fred montsdeoca'",
")"
],
"span_indices": [
[],
[],
[],
[],
[],
[],
[],
[],
[],
[
1,
2
],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[
9,
10
],
[]
]
} | {
"aligned_sql_token_type": [
"None",
"Literal",
"Literal",
"None",
"Keyword",
"Keyword",
"Keyword",
"Column",
"None",
"Literal",
"Literal",
"None"
],
"aligned_sql_token_info": [
null,
null,
null,
null,
"['comp', 'comp_greater']",
"['comp', 'comp_greater']",
"['comp', 'comp_greater']",
"c4_number",
null,
null,
null,
null
]
} | {
"nl_indices": [
[
2,
1
],
[
10,
9
],
[
7
],
[
7
],
[
4,
5,
6
]
],
"sql_indices": [
[
9
],
[
20
],
[
3
],
[
14
],
[
0,
1,
10,
11,
12,
21
]
]
} |
nt-5967 | 204_469 | {
"raw_header": [
"coach",
"years",
"seasons",
"wins",
"losses",
"ties",
"pct"
],
"tokenized_header": [
[
"coach"
],
[
"years"
],
[
"seasons"
],
[
"wins"
],
[
"losses"
],
[
"ties"
],
[
"pct"
]
],
"column_suffixes": [
[],
[
"list",
"length",
"list_minimum_number",
"list_minimum_parsed",
"list_minimum_year",
"list_maximum_number",
"list_maximum_parsed",
"list_maximum_year"
],
[
"number"
],
[
"number"
],
[
"number"
],
[
"number"
],
[
"number"
]
],
"column_dtype": [
"text",
"<c,timespan>",
"number",
"number",
"number",
"number",
"number"
],
"example": [
"o. b. \"rip\" sanderson",
"1908",
"1",
"5",
"1",
"0",
"0.833"
]
} | [
"what",
"is",
"the",
"difference",
"in",
"win",
"pct",
"under",
"fred",
"jordan",
"and",
"chal",
"port",
"?"
] | [
"WP",
"VBD-AUX",
"DT",
"NN",
"IN",
"VB",
"NN",
"IN",
"NNP",
"NNP",
"CC",
"NNP",
"NNP",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"PERSON",
"PERSON",
"O",
"O",
"O",
"O"
] | [
false,
false,
false,
false,
false,
false,
true,
false,
false,
false,
false,
false,
false,
false
] | [
false,
false,
false,
false,
false,
false,
false,
false,
true,
true,
false,
true,
true,
false
] | [
false,
false,
false,
false,
false,
false,
true
] | 0.056 | {
"sql_type": [
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Column",
"Keyword",
"Keyword",
"Keyword",
"Column",
"Keyword",
"Literal.String",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Column",
"Keyword",
"Keyword",
"Keyword",
"Column",
"Keyword",
"Literal.String",
"Keyword",
"Keyword"
],
"value": [
"select",
"abs",
"(",
"(",
"select",
"c7_number",
"from",
"w",
"where",
"c1",
"=",
"'fred jordan'",
")",
"-",
"(",
"select",
"c7_number",
"from",
"w",
"where",
"c1",
"=",
"'chal port'",
")",
")"
],
"span_indices": [
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[
8,
9
],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[
11,
12
],
[],
[]
]
} | {
"aligned_sql_token_type": [
"None",
"None",
"None",
"Keyword",
"None",
"None",
"Column",
"None",
"Literal",
"Literal",
"Keyword",
"Literal",
"Literal",
"None"
],
"aligned_sql_token_info": [
null,
null,
null,
"['diff', '']",
null,
null,
"c7_number",
null,
null,
null,
"['diff', '']",
null,
null,
null
]
} | {
"nl_indices": [
[
8,
9
],
[
11,
12
],
[
3,
10
],
[
6
],
[
6
]
],
"sql_indices": [
[
11
],
[
22
],
[
2,
1,
0,
3,
12,
23,
24,
13,
14
],
[
5
],
[
16
]
]
} |
nt-7621 | 204_469 | {
"raw_header": [
"coach",
"years",
"seasons",
"wins",
"losses",
"ties",
"pct"
],
"tokenized_header": [
[
"coach"
],
[
"years"
],
[
"seasons"
],
[
"wins"
],
[
"losses"
],
[
"ties"
],
[
"pct"
]
],
"column_suffixes": [
[],
[
"list",
"length",
"list_minimum_number",
"list_minimum_parsed",
"list_minimum_year",
"list_maximum_number",
"list_maximum_parsed",
"list_maximum_year"
],
[
"number"
],
[
"number"
],
[
"number"
],
[
"number"
],
[
"number"
]
],
"column_dtype": [
"text",
"<c,timespan>",
"number",
"number",
"number",
"number",
"number"
],
"example": [
"o. b. \"rip\" sanderson",
"1908",
"1",
"5",
"1",
"0",
"0.833"
]
} | [
"who",
"coached",
"more",
"seasons",
":",
"ed",
"sabre",
"or",
"mack",
"erwin",
"?"
] | [
"WP",
"VBD",
"RBR",
"NNS",
":",
"NNP",
"NNP",
"CC",
"NNP",
"NNP",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"PERSON",
"PERSON",
"O"
] | [
false,
false,
false,
true,
false,
false,
false,
false,
false,
false,
false
] | [
false,
false,
false,
false,
false,
true,
true,
false,
true,
true,
false
] | [
false,
false,
true,
false,
false,
false,
false
] | Mack Erwin | {
"sql_type": [
"Keyword",
"Column",
"Keyword",
"Keyword",
"Keyword",
"Column",
"Keyword",
"Keyword",
"Literal.String",
"Keyword",
"Literal.String",
"Keyword",
"Keyword",
"Keyword",
"Column",
"Keyword",
"Keyword",
"Keyword"
],
"value": [
"select",
"c1",
"from",
"w",
"where",
"c1",
"in",
"(",
"'ed sabre'",
",",
"'mack erwin'",
")",
"order",
"by",
"c3_number",
"desc",
"limit",
"1"
],
"span_indices": [
[],
[],
[],
[],
[],
[],
[],
[],
[
5,
6
],
[],
[
8,
9
],
[],
[],
[],
[],
[],
[],
[]
]
} | {
"aligned_sql_token_type": [
"Column",
"Column",
"Keyword",
"Column",
"None",
"Literal",
"Literal",
"Keyword",
"Literal",
"Literal",
"None"
],
"aligned_sql_token_info": [
"c1",
"c1",
"['sort', 'sort_desc']",
"c3_number",
null,
null,
null,
"['conj', 'conj_or']",
null,
null,
null
]
} | {
"nl_indices": [
[
3
],
[
2
],
[
6,
5
],
[
7
],
[
9,
8
],
[
1
],
[
0
],
[
0
],
[
1
]
],
"sql_indices": [
[
14
],
[
12,
13,
15,
16,
17
],
[
8
],
[
6,
7,
9,
11
],
[
10
],
[
1
],
[
1
],
[
5
],
[
5
]
]
} |
nt-10651 | 204_469 | {
"raw_header": [
"coach",
"years",
"seasons",
"wins",
"losses",
"ties",
"pct"
],
"tokenized_header": [
[
"coach"
],
[
"years"
],
[
"seasons"
],
[
"wins"
],
[
"losses"
],
[
"ties"
],
[
"pct"
]
],
"column_suffixes": [
[],
[
"list",
"length",
"list_minimum_number",
"list_minimum_parsed",
"list_minimum_year",
"list_maximum_number",
"list_maximum_parsed",
"list_maximum_year"
],
[
"number"
],
[
"number"
],
[
"number"
],
[
"number"
],
[
"number"
]
],
"column_dtype": [
"text",
"<c,timespan>",
"number",
"number",
"number",
"number",
"number"
],
"example": [
"o. b. \"rip\" sanderson",
"1908",
"1",
"5",
"1",
"0",
"0.833"
]
} | [
"which",
"coach",
"has",
"the",
"least",
"number",
"of",
"total",
"games",
"on",
"their",
"record",
"?"
] | [
"WDT",
"NN",
"VBD-AUX",
"DT",
"JJS",
"NN",
"IN",
"JJ",
"NNS",
"IN",
"PRP$",
"NN",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] | [
false,
true,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false
] | [
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false
] | [
true,
false,
false,
false,
false,
false,
false
] | Ed Sabre | {
"sql_type": [
"Keyword",
"Column",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Column",
"Keyword",
"Column",
"Keyword",
"Column",
"Keyword",
"Keyword"
],
"value": [
"select",
"c1",
"from",
"w",
"order",
"by",
"c4_number",
"+",
"c5_number",
"+",
"c6_number",
"limit",
"1"
],
"span_indices": [
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[]
]
} | {
"aligned_sql_token_type": [
"None",
"Column",
"None",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Column",
"Column",
"None",
"None",
"None",
"None"
],
"aligned_sql_token_info": [
null,
"c1",
null,
"['sort', '']",
"['sort', '']",
"['sort', '']",
"['sort', '']",
"c6_number",
"c6_number",
null,
null,
null,
null
]
} | {
"nl_indices": [
[
1
],
[
4,
3,
6,
5
],
[
8,
7
]
],
"sql_indices": [
[
1
],
[
4,
5,
11,
12
],
[
6,
7,
8,
9,
10
]
]
} |
nt-10889 | 204_469 | {
"raw_header": [
"coach",
"years",
"seasons",
"wins",
"losses",
"ties",
"pct"
],
"tokenized_header": [
[
"coach"
],
[
"years"
],
[
"seasons"
],
[
"wins"
],
[
"losses"
],
[
"ties"
],
[
"pct"
]
],
"column_suffixes": [
[],
[
"list",
"length",
"list_minimum_number",
"list_minimum_parsed",
"list_minimum_year",
"list_maximum_number",
"list_maximum_parsed",
"list_maximum_year"
],
[
"number"
],
[
"number"
],
[
"number"
],
[
"number"
],
[
"number"
]
],
"column_dtype": [
"text",
"<c,timespan>",
"number",
"number",
"number",
"number",
"number"
],
"example": [
"o. b. \"rip\" sanderson",
"1908",
"1",
"5",
"1",
"0",
"0.833"
]
} | [
"who",
"is",
"the",
"only",
"coach",
"with",
"2",
"ties",
"on",
"their",
"record",
"?"
] | [
"WP",
"VBD-AUX",
"DT",
"JJ",
"NN",
"IN",
"CD",
"NNS",
"IN",
"PRP$",
"NN",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"NUMBER",
"O",
"O",
"O",
"O",
"O"
] | [
false,
false,
false,
false,
true,
false,
false,
true,
false,
false,
false,
false
] | [
false,
false,
false,
false,
false,
false,
true,
false,
false,
false,
false,
false
] | [
true,
false,
false,
false,
false,
true,
false
] | Chal Port | {
"sql_type": [
"Keyword",
"Column",
"Keyword",
"Keyword",
"Keyword",
"Column",
"Keyword",
"Literal.Number"
],
"value": [
"select",
"c1",
"from",
"w",
"where",
"c6_number",
"=",
"2"
],
"span_indices": [
[],
[],
[],
[],
[],
[],
[],
[
6
]
]
} | {
"aligned_sql_token_type": [
"None",
"None",
"None",
"None",
"Column",
"None",
"Literal",
"Column",
"None",
"None",
"None",
"None"
],
"aligned_sql_token_info": [
null,
null,
null,
null,
"c1",
null,
null,
"c6_number",
null,
null,
null,
null
]
} | {
"nl_indices": [
[
4
],
[
7
],
[
6
]
],
"sql_indices": [
[
1
],
[
5
],
[
7
]
]
} |
nt-11876 | 204_469 | {
"raw_header": [
"coach",
"years",
"seasons",
"wins",
"losses",
"ties",
"pct"
],
"tokenized_header": [
[
"coach"
],
[
"years"
],
[
"seasons"
],
[
"wins"
],
[
"losses"
],
[
"ties"
],
[
"pct"
]
],
"column_suffixes": [
[],
[
"list",
"length",
"list_minimum_number",
"list_minimum_parsed",
"list_minimum_year",
"list_maximum_number",
"list_maximum_parsed",
"list_maximum_year"
],
[
"number"
],
[
"number"
],
[
"number"
],
[
"number"
],
[
"number"
]
],
"column_dtype": [
"text",
"<c,timespan>",
"number",
"number",
"number",
"number",
"number"
],
"example": [
"o. b. \"rip\" sanderson",
"1908",
"1",
"5",
"1",
"0",
"0.833"
]
} | [
"which",
"coach",
"had",
"greater",
"than",
"700",
"total",
"wins",
"?"
] | [
"WDT",
"NN",
"VBD-AUX",
"JJR",
"IN",
"CD",
"JJ",
"NNS",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"NUMBER",
"O",
"O",
"O"
] | [
false,
true,
false,
false,
false,
false,
false,
true,
false
] | [
false,
false,
false,
false,
false,
false,
false,
false,
false
] | [
true,
false,
false,
true,
false,
false,
false
] | Fred Jordan | {
"sql_type": [
"Keyword",
"Column",
"Keyword",
"Keyword",
"Keyword",
"Column",
"Keyword",
"Literal.Number"
],
"value": [
"select",
"c1",
"from",
"w",
"where",
"c4_number",
">",
"700"
],
"span_indices": [
[],
[],
[],
[],
[],
[],
[],
[
5
]
]
} | {
"aligned_sql_token_type": [
"None",
"Column",
"None",
"Keyword",
"Keyword",
"Literal",
"None",
"Column",
"None"
],
"aligned_sql_token_info": [
null,
"c1",
null,
"['comp', 'comp_greater']",
"['comp', 'comp_greater']",
null,
null,
"c4_number",
null
]
} | {
"nl_indices": [
[
1
],
[
3,
4
],
[
5
],
[
7
]
],
"sql_indices": [
[
1
],
[
6
],
[
7
],
[
5
]
]
} |
nt-12229 | 204_469 | {
"raw_header": [
"coach",
"years",
"seasons",
"wins",
"losses",
"ties",
"pct"
],
"tokenized_header": [
[
"coach"
],
[
"years"
],
[
"seasons"
],
[
"wins"
],
[
"losses"
],
[
"ties"
],
[
"pct"
]
],
"column_suffixes": [
[],
[
"list",
"length",
"list_minimum_number",
"list_minimum_parsed",
"list_minimum_year",
"list_maximum_number",
"list_maximum_parsed",
"list_maximum_year"
],
[
"number"
],
[
"number"
],
[
"number"
],
[
"number"
],
[
"number"
]
],
"column_dtype": [
"text",
"<c,timespan>",
"number",
"number",
"number",
"number",
"number"
],
"example": [
"o. b. \"rip\" sanderson",
"1908",
"1",
"5",
"1",
"0",
"0.833"
]
} | [
"how",
"many",
"coaches",
"had",
"above",
"500",
"wins",
"?"
] | [
"WRB",
"JJ",
"NNS",
"VBD-AUX",
"IN",
"CD",
"NNS",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"NUMBER",
"O",
"O"
] | [
false,
false,
false,
false,
false,
false,
true,
false
] | [
false,
false,
false,
false,
false,
false,
false,
false
] | [
false,
false,
false,
true,
false,
false,
false
] | 2 | {
"sql_type": [
"Keyword",
"Keyword",
"Keyword",
"Column",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Column",
"Keyword",
"Literal.Number"
],
"value": [
"select",
"count",
"(",
"c1",
")",
"from",
"w",
"where",
"c4_number",
">",
"500"
],
"span_indices": [
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[
5
]
]
} | {
"aligned_sql_token_type": [
"Keyword",
"Keyword",
"Column",
"None",
"Keyword",
"Literal",
"Column",
"None"
],
"aligned_sql_token_info": [
"['agg', 'agg_count']",
"['agg', 'agg_count']",
"c1",
null,
"['comp', 'comp_greater']",
null,
"c4_number",
null
]
} | {
"nl_indices": [
[
0,
1
],
[
2
],
[
4
],
[
5
],
[
6
]
],
"sql_indices": [
[
1,
2,
4
],
[
3
],
[
9
],
[
10
],
[
8
]
]
} |
nt-12885 | 204_469 | {
"raw_header": [
"coach",
"years",
"seasons",
"wins",
"losses",
"ties",
"pct"
],
"tokenized_header": [
[
"coach"
],
[
"years"
],
[
"seasons"
],
[
"wins"
],
[
"losses"
],
[
"ties"
],
[
"pct"
]
],
"column_suffixes": [
[],
[
"list",
"length",
"list_minimum_number",
"list_minimum_parsed",
"list_minimum_year",
"list_maximum_number",
"list_maximum_parsed",
"list_maximum_year"
],
[
"number"
],
[
"number"
],
[
"number"
],
[
"number"
],
[
"number"
]
],
"column_dtype": [
"text",
"<c,timespan>",
"number",
"number",
"number",
"number",
"number"
],
"example": [
"o. b. \"rip\" sanderson",
"1908",
"1",
"5",
"1",
"0",
"0.833"
]
} | [
"in",
"1948",
"what",
"was",
"their",
"percentage",
"?"
] | [
"IN",
"CD",
"WP",
"VBD-AUX",
"PRP$",
"NN",
"."
] | [
"O",
"DATE",
"O",
"O",
"O",
"O",
"O"
] | [
false,
false,
false,
false,
false,
false,
false
] | [
false,
true,
false,
false,
false,
false,
false
] | [
false,
false,
false,
false,
false,
false,
false
] | .462 | {
"sql_type": [
"Keyword",
"Column",
"Keyword",
"Keyword",
"Keyword",
"Column",
"Keyword",
"Literal.Number"
],
"value": [
"select",
"c7_number",
"from",
"w",
"where",
"c2_list_minimum_year",
"=",
"1948"
],
"span_indices": [
[],
[],
[],
[],
[],
[],
[],
[
1
]
]
} | {
"aligned_sql_token_type": [
"Column",
"Literal",
"None",
"None",
"None",
"Column",
"None"
],
"aligned_sql_token_info": [
"c2_list_minimum_year",
null,
null,
null,
null,
"c7_number",
null
]
} | {
"nl_indices": [
[
5
],
[
1
],
[
0
]
],
"sql_indices": [
[
1
],
[
7
],
[
5
]
]
} |
nt-1570 | 204_614 | {
"raw_header": [
"date announced",
"plant name",
"location",
"date of closing",
"products",
"employees"
],
"tokenized_header": [
[
"date",
"announced"
],
[
"plant",
"name"
],
[
"location"
],
[
"date",
"of",
"closing"
],
[
"products"
],
[
"employees"
]
],
"column_suffixes": [
[
"number",
"parsed",
"year",
"month",
"day"
],
[],
[
"address"
],
[
"number",
"parsed",
"year",
"month"
],
[
"list",
"length"
],
[
"number"
]
],
"column_dtype": [
"date",
"text",
"address",
"date",
"<nc,text>",
"number"
],
"example": [
"january 23, 2006",
"st. louis assembly",
"hazelwood, missouri",
"oct. 2006",
"ford explorer\nlincoln aviator\nmercury mountaineer",
"1445"
]
} | [
"which",
"plant",
"builds",
"the",
"ford",
"triton",
"engine",
"and",
"the",
"ford",
"essex",
"v6",
"engine",
"?"
] | [
"WDT",
"NN",
"VBZ",
"DT",
"NNP",
"NNP",
"NN",
"CC",
"DT",
"NNP",
"NNP",
"NNP",
"NN",
"."
] | [
"O",
"O",
"O",
"O",
"ORGANIZATION",
"ORGANIZATION",
"O",
"O",
"O",
"ORGANIZATION",
"ORGANIZATION",
"O",
"O",
"O"
] | [
false,
true,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false
] | [
false,
false,
false,
false,
true,
true,
true,
false,
false,
true,
true,
true,
true,
false
] | [
false,
true,
false,
false,
false,
false
] | Essex Engine | {
"sql_type": [
"Keyword",
"Column",
"Keyword",
"Keyword",
"Keyword",
"Column",
"Keyword",
"Literal.String"
],
"value": [
"select",
"c2",
"from",
"w",
"where",
"c5_list",
"=",
"'ford triton engine'"
],
"span_indices": [
[],
[],
[],
[],
[],
[],
[],
[
4,
6
]
]
} | {
"aligned_sql_token_type": [
"None",
"Column",
"Column",
"None",
"Literal",
"Literal",
"Literal",
"None",
"None",
"None",
"None",
"None",
"None",
"None"
],
"aligned_sql_token_info": [
null,
"c2",
"c5_list",
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
]
} | {
"nl_indices": [
[
1
],
[
4,
5,
6
],
[
2
]
],
"sql_indices": [
[
1
],
[
7
],
[
5
]
]
} |
nt-2447 | 204_614 | {
"raw_header": [
"date announced",
"plant name",
"location",
"date of closing",
"products",
"employees"
],
"tokenized_header": [
[
"date",
"announced"
],
[
"plant",
"name"
],
[
"location"
],
[
"date",
"of",
"closing"
],
[
"products"
],
[
"employees"
]
],
"column_suffixes": [
[
"number",
"parsed",
"year",
"month",
"day"
],
[],
[
"address"
],
[
"number",
"parsed",
"year",
"month"
],
[
"list",
"length"
],
[
"number"
]
],
"column_dtype": [
"date",
"text",
"address",
"date",
"<nc,text>",
"number"
],
"example": [
"january 23, 2006",
"st. louis assembly",
"hazelwood, missouri",
"oct. 2006",
"ford explorer\nlincoln aviator\nmercury mountaineer",
"1445"
]
} | [
"which",
"plant",
"is",
"listed",
"first",
"?"
] | [
"WDT",
"NN",
"VBD-AUX",
"VBN",
"RB",
"."
] | [
"O",
"O",
"O",
"O",
"ORDINAL",
"O"
] | [
false,
true,
false,
false,
false,
false
] | [
false,
false,
false,
false,
false,
false
] | [
false,
true,
false,
false,
false,
false
] | St. Louis Assembly | {
"sql_type": [
"Keyword",
"Column",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Literal.Number"
],
"value": [
"select",
"c2",
"from",
"w",
"where",
"id",
"=",
"1"
],
"span_indices": [
[],
[],
[],
[],
[],
[],
[],
[
4
]
]
} | {
"aligned_sql_token_type": [
"None",
"Column",
"None",
"Keyword",
"Keyword",
"None"
],
"aligned_sql_token_info": [
null,
"c2",
null,
"['first', '']",
"['first', '']",
null
]
} | {
"nl_indices": [
[
1
],
[
3,
4
]
],
"sql_indices": [
[
1
],
[
5,
6,
7
]
]
} |
nt-5301 | 204_614 | {
"raw_header": [
"date announced",
"plant name",
"location",
"date of closing",
"products",
"employees"
],
"tokenized_header": [
[
"date",
"announced"
],
[
"plant",
"name"
],
[
"location"
],
[
"date",
"of",
"closing"
],
[
"products"
],
[
"employees"
]
],
"column_suffixes": [
[
"number",
"parsed",
"year",
"month",
"day"
],
[],
[
"address"
],
[
"number",
"parsed",
"year",
"month"
],
[
"list",
"length"
],
[
"number"
]
],
"column_dtype": [
"date",
"text",
"address",
"date",
"<nc,text>",
"number"
],
"example": [
"january 23, 2006",
"st. louis assembly",
"hazelwood, missouri",
"oct. 2006",
"ford explorer\nlincoln aviator\nmercury mountaineer",
"1445"
]
} | [
"which",
"plant",
"had",
"the",
"least",
"amount",
"of",
"employees",
"laid",
"off",
"?"
] | [
"WDT",
"NN",
"VBD-AUX",
"DT",
"JJS",
"NN",
"IN",
"NNS",
"VBN",
"RP",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] | [
false,
true,
false,
false,
false,
false,
true,
true,
false,
false,
false
] | [
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false
] | [
false,
true,
false,
true,
false,
true
] | Windsor Casting | {
"sql_type": [
"Keyword",
"Column",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Column",
"Keyword",
"Keyword",
"Keyword"
],
"value": [
"select",
"c2",
"from",
"w",
"order",
"by",
"c6_number",
"asc",
"limit",
"1"
],
"span_indices": [
[],
[],
[],
[],
[],
[],
[],
[],
[],
[]
]
} | {
"aligned_sql_token_type": [
"None",
"Column",
"None",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Column",
"None",
"None",
"None"
],
"aligned_sql_token_info": [
null,
"c2",
null,
"['sort', 'sort_asc']",
"['sort', 'sort_asc']",
"['sort', 'sort_asc']",
"['sort', 'sort_asc']",
"c6_number",
null,
null,
null
]
} | {
"nl_indices": [
[
1
],
[
3,
4,
5,
6
],
[
7
]
],
"sql_indices": [
[
1
],
[
4,
5,
7,
8,
9
],
[
6
]
]
} |
nt-5690 | 204_614 | {
"raw_header": [
"date announced",
"plant name",
"location",
"date of closing",
"products",
"employees"
],
"tokenized_header": [
[
"date",
"announced"
],
[
"plant",
"name"
],
[
"location"
],
[
"date",
"of",
"closing"
],
[
"products"
],
[
"employees"
]
],
"column_suffixes": [
[
"number",
"parsed",
"year",
"month",
"day"
],
[],
[
"address"
],
[
"number",
"parsed",
"year",
"month"
],
[
"list",
"length"
],
[
"number"
]
],
"column_dtype": [
"date",
"text",
"address",
"date",
"<nc,text>",
"number"
],
"example": [
"january 23, 2006",
"st. louis assembly",
"hazelwood, missouri",
"oct. 2006",
"ford explorer\nlincoln aviator\nmercury mountaineer",
"1445"
]
} | [
"what",
"is",
"the",
"top",
"company",
"that",
"has",
"the",
"most",
"employees",
"?"
] | [
"WP",
"VBD-AUX",
"DT",
"JJ",
"NN",
"WDT",
"VBD-AUX",
"DT",
"RBS",
"NNS",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] | [
false,
false,
false,
false,
false,
false,
false,
false,
false,
true,
false
] | [
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false
] | [
false,
false,
false,
false,
false,
true
] | Norfolk Assembly | {
"sql_type": [
"Keyword",
"Column",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Column",
"Keyword",
"Keyword",
"Keyword"
],
"value": [
"select",
"c2",
"from",
"w",
"order",
"by",
"c6_number",
"desc",
"limit",
"1"
],
"span_indices": [
[],
[],
[],
[],
[],
[],
[],
[],
[],
[]
]
} | {
"aligned_sql_token_type": [
"None",
"None",
"Keyword",
"Keyword",
"Column",
"None",
"None",
"Keyword",
"Keyword",
"Column",
"None"
],
"aligned_sql_token_info": [
null,
null,
"['sort', '']",
"['sort', '']",
"c2",
null,
null,
"['sort', '']",
"['sort', '']",
"c6_number",
null
]
} | {
"nl_indices": [
[
9
],
[
8,
7,
3,
2
],
[
4
]
],
"sql_indices": [
[
6
],
[
5,
4
],
[
1
]
]
} |
nt-10362 | 204_614 | {
"raw_header": [
"date announced",
"plant name",
"location",
"date of closing",
"products",
"employees"
],
"tokenized_header": [
[
"date",
"announced"
],
[
"plant",
"name"
],
[
"location"
],
[
"date",
"of",
"closing"
],
[
"products"
],
[
"employees"
]
],
"column_suffixes": [
[
"number",
"parsed",
"year",
"month",
"day"
],
[],
[
"address"
],
[
"number",
"parsed",
"year",
"month"
],
[
"list",
"length"
],
[
"number"
]
],
"column_dtype": [
"date",
"text",
"address",
"date",
"<nc,text>",
"number"
],
"example": [
"january 23, 2006",
"st. louis assembly",
"hazelwood, missouri",
"oct. 2006",
"ford explorer\nlincoln aviator\nmercury mountaineer",
"1445"
]
} | [
"where",
"is",
"the",
"last",
"plant",
"on",
"the",
"list",
"located",
"?"
] | [
"WRB",
"VBD-AUX",
"DT",
"JJ",
"NN",
"IN",
"DT",
"NN",
"JJ",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] | [
false,
false,
false,
false,
true,
false,
false,
false,
false,
false
] | [
false,
false,
false,
false,
false,
false,
false,
false,
false,
false
] | [
false,
true,
false,
false,
false,
false
] | Maumee, Ohio | {
"sql_type": [
"Keyword",
"Column",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Keyword"
],
"value": [
"select",
"c3",
"from",
"w",
"order",
"by",
"id",
"desc",
"limit",
"1"
],
"span_indices": [
[],
[],
[],
[],
[],
[],
[],
[],
[],
[]
]
} | {
"aligned_sql_token_type": [
"None",
"None",
"Keyword",
"Keyword",
"None",
"Keyword",
"Keyword",
"Keyword",
"Column",
"None"
],
"aligned_sql_token_info": [
null,
null,
"['sort', 'sort_desc']",
"['sort', 'sort_desc']",
null,
"['sort', 'sort_desc']",
"['sort', 'sort_desc']",
"['sort', 'sort_desc']",
"c3",
null
]
} | {
"nl_indices": [
[
8
],
[
2,
3,
5,
6,
7
]
],
"sql_indices": [
[
1
],
[
4,
5,
6,
7,
8,
9
]
]
} |
nt-11175 | 204_614 | {
"raw_header": [
"date announced",
"plant name",
"location",
"date of closing",
"products",
"employees"
],
"tokenized_header": [
[
"date",
"announced"
],
[
"plant",
"name"
],
[
"location"
],
[
"date",
"of",
"closing"
],
[
"products"
],
[
"employees"
]
],
"column_suffixes": [
[
"number",
"parsed",
"year",
"month",
"day"
],
[],
[
"address"
],
[
"number",
"parsed",
"year",
"month"
],
[
"list",
"length"
],
[
"number"
]
],
"column_dtype": [
"date",
"text",
"address",
"date",
"<nc,text>",
"number"
],
"example": [
"january 23, 2006",
"st. louis assembly",
"hazelwood, missouri",
"oct. 2006",
"ford explorer\nlincoln aviator\nmercury mountaineer",
"1445"
]
} | [
"what",
"is",
"the",
"average",
"number",
"of",
"employees",
"at",
"a",
"given",
"plant",
"?"
] | [
"WP",
"VBD-AUX",
"DT",
"JJ",
"NN",
"IN",
"NNS",
"IN",
"DT",
"VBN",
"NN",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] | [
false,
false,
false,
false,
false,
true,
true,
false,
false,
false,
true,
false
] | [
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false
] | [
false,
true,
false,
true,
false,
true
] | 1310 | {
"sql_type": [
"Keyword",
"Keyword",
"Keyword",
"Column",
"Keyword",
"Keyword",
"Keyword"
],
"value": [
"select",
"avg",
"(",
"c6_number",
")",
"from",
"w"
],
"span_indices": [
[],
[],
[],
[],
[],
[],
[]
]
} | {
"aligned_sql_token_type": [
"None",
"None",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Column",
"None",
"None",
"None",
"None",
"None"
],
"aligned_sql_token_info": [
null,
null,
"['agg', 'agg_avg']",
"['agg', 'agg_avg']",
"['agg', 'agg_avg']",
"['agg', 'agg_avg']",
"c6_number",
null,
null,
null,
null,
null
]
} | {
"nl_indices": [
[
2,
3,
4,
5
],
[
6
]
],
"sql_indices": [
[
1,
2,
4
],
[
3
]
]
} |
nt-12384 | 204_614 | {
"raw_header": [
"date announced",
"plant name",
"location",
"date of closing",
"products",
"employees"
],
"tokenized_header": [
[
"date",
"announced"
],
[
"plant",
"name"
],
[
"location"
],
[
"date",
"of",
"closing"
],
[
"products"
],
[
"employees"
]
],
"column_suffixes": [
[
"number",
"parsed",
"year",
"month",
"day"
],
[],
[
"address"
],
[
"number",
"parsed",
"year",
"month"
],
[
"list",
"length"
],
[
"number"
]
],
"column_dtype": [
"date",
"text",
"address",
"date",
"<nc,text>",
"number"
],
"example": [
"january 23, 2006",
"st. louis assembly",
"hazelwood, missouri",
"oct. 2006",
"ford explorer\nlincoln aviator\nmercury mountaineer",
"1445"
]
} | [
"what",
"is",
"the",
"number",
"of",
"plants",
"in",
"ohio",
"?"
] | [
"WP",
"VBD-AUX",
"DT",
"NN",
"IN",
"NNS",
"IN",
"NNP",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"LOCATION",
"O"
] | [
false,
false,
false,
false,
true,
false,
false,
false,
false
] | [
false,
false,
false,
false,
false,
false,
false,
true,
false
] | [
false,
false,
false,
true,
false,
false
] | 2 | {
"sql_type": [
"Keyword",
"Keyword",
"Keyword",
"Column",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Column",
"Keyword",
"Literal.String"
],
"value": [
"select",
"count",
"(",
"c2",
")",
"from",
"w",
"where",
"c3_address",
"=",
"'ohio'"
],
"span_indices": [
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[
7,
7
]
]
} | {
"aligned_sql_token_type": [
"None",
"None",
"Keyword",
"Keyword",
"Keyword",
"Column",
"Column",
"Literal",
"None"
],
"aligned_sql_token_info": [
null,
null,
"['agg', 'agg_count']",
"['agg', 'agg_count']",
"['agg', 'agg_count']",
"c2",
"c3_address",
null,
null
]
} | {
"nl_indices": [
[
2,
3,
4
],
[
5
],
[
7
],
[
6
]
],
"sql_indices": [
[
1,
2,
4
],
[
3
],
[
10
],
[
8
]
]
} |
nt-13360 | 204_614 | {
"raw_header": [
"date announced",
"plant name",
"location",
"date of closing",
"products",
"employees"
],
"tokenized_header": [
[
"date",
"announced"
],
[
"plant",
"name"
],
[
"location"
],
[
"date",
"of",
"closing"
],
[
"products"
],
[
"employees"
]
],
"column_suffixes": [
[
"number",
"parsed",
"year",
"month",
"day"
],
[],
[
"address"
],
[
"number",
"parsed",
"year",
"month"
],
[
"list",
"length"
],
[
"number"
]
],
"column_dtype": [
"date",
"text",
"address",
"date",
"<nc,text>",
"number"
],
"example": [
"january 23, 2006",
"st. louis assembly",
"hazelwood, missouri",
"oct. 2006",
"ford explorer\nlincoln aviator\nmercury mountaineer",
"1445"
]
} | [
"how",
"many",
"plants",
"had",
"more",
"than",
"2000",
"employees",
"laid",
"off",
"?"
] | [
"WRB",
"JJ",
"NNS",
"VBD-AUX",
"RBR",
"IN",
"CD",
"NNS",
"VBN",
"RP",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"DATE",
"O",
"O",
"O",
"O"
] | [
false,
false,
false,
false,
false,
false,
false,
true,
false,
false,
false
] | [
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false
] | [
false,
false,
false,
false,
false,
true
] | 2 | {
"sql_type": [
"Keyword",
"Keyword",
"Keyword",
"Column",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Column",
"Keyword",
"Literal.Number"
],
"value": [
"select",
"count",
"(",
"c2",
")",
"from",
"w",
"where",
"c6_number",
">",
"2000"
],
"span_indices": [
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[
6
]
]
} | {
"aligned_sql_token_type": [
"Keyword",
"Keyword",
"Column",
"None",
"Keyword",
"Keyword",
"Literal",
"Column",
"None",
"None",
"None"
],
"aligned_sql_token_info": [
"['agg', 'agg_count']",
"['agg', 'agg_count']",
"c2",
null,
"['comp', 'comp_greater']",
"['comp', 'comp_greater']",
null,
"c6_number",
null,
null,
null
]
} | {
"nl_indices": [
[
6
],
[
5,
4
],
[
7
],
[
1,
0
],
[
2
]
],
"sql_indices": [
[
10
],
[
9
],
[
8
],
[
1,
2,
4
],
[
3
]
]
} |
nt-13582 | 204_614 | {
"raw_header": [
"date announced",
"plant name",
"location",
"date of closing",
"products",
"employees"
],
"tokenized_header": [
[
"date",
"announced"
],
[
"plant",
"name"
],
[
"location"
],
[
"date",
"of",
"closing"
],
[
"products"
],
[
"employees"
]
],
"column_suffixes": [
[
"number",
"parsed",
"year",
"month",
"day"
],
[],
[
"address"
],
[
"number",
"parsed",
"year",
"month"
],
[
"list",
"length"
],
[
"number"
]
],
"column_dtype": [
"date",
"text",
"address",
"date",
"<nc,text>",
"number"
],
"example": [
"january 23, 2006",
"st. louis assembly",
"hazelwood, missouri",
"oct. 2006",
"ford explorer\nlincoln aviator\nmercury mountaineer",
"1445"
]
} | [
"how",
"many",
"plants",
"have",
"at",
"least",
"1,500",
"employees",
"?"
] | [
"WRB",
"JJ",
"NNS",
"VBD-AUX",
"IN",
"JJS",
"CD",
"NNS",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"NUMBER",
"O",
"O"
] | [
false,
false,
false,
false,
false,
false,
false,
true,
false
] | [
false,
false,
false,
false,
false,
false,
false,
false,
false
] | [
false,
false,
false,
false,
false,
true
] | 5 | {
"sql_type": [
"Keyword",
"Keyword",
"Keyword",
"Column",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Column",
"Keyword",
"Literal.Number"
],
"value": [
"select",
"count",
"(",
"c2",
")",
"from",
"w",
"where",
"c6_number",
">=",
"1500"
],
"span_indices": [
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[
6
]
]
} | {
"aligned_sql_token_type": [
"Keyword",
"Keyword",
"Column",
"None",
"Keyword",
"Keyword",
"Literal",
"Column",
"None"
],
"aligned_sql_token_info": [
"['agg', 'agg_count']",
"['agg', 'agg_count']",
"c2",
null,
"['comp', 'comp_gequal']",
"['comp', 'comp_gequal']",
null,
"c6_number",
null
]
} | {
"nl_indices": [
[
6
],
[
5,
4
],
[
7
],
[
1,
0
],
[
2
]
],
"sql_indices": [
[
10
],
[
9
],
[
8
],
[
1,
2,
4
],
[
3
]
]
} |
nt-3844 | 203_281 | {
"raw_header": [
"season",
"pitcher",
"decision",
"final\nscore",
"opponent",
"location"
],
"tokenized_header": [
[
"season"
],
[
"pitcher"
],
[
"decision"
],
[
"final",
"score"
],
[
"opponent"
],
[
"location"
]
],
"column_suffixes": [
[
"number"
],
[
"first",
"second",
"second_number"
],
[
"first",
"second",
"first_result",
"second_result"
],
[
"number",
"number1",
"number2"
],
[],
[]
],
"column_dtype": [
"number",
"text(number)",
"score(score)",
"score",
"text",
"text"
],
"example": [
"1962",
"larry dierker (2)",
"w",
"11-2",
"chicago cubs",
"colt stadium"
]
} | [
"roy",
"oswalt",
"opened",
"for",
"the",
"astros",
"for",
"eight",
"years",
"in",
"a",
"row",
",",
"seven",
"of",
"which",
"were",
"in",
"minute",
"maid",
"park",
",",
"but",
"in",
"what",
"year",
"did",
"he",
"start",
"the",
"season",
"opener",
"in",
"petco",
"park",
"?"
] | [
"NNP",
"NNP",
"VBD",
"IN",
"DT",
"NNPS",
"IN",
"CD",
"NNS",
"IN",
"DT",
"NN",
",",
"CD",
"IN",
"WDT",
"VBD-AUX",
"IN",
"NN",
"NN",
"NN",
",",
"CC",
"IN",
"WDT",
"NN",
"VBD-AUX",
"PRP",
"VB",
"DT",
"NN",
"NN",
"IN",
"NNP",
"NNP",
"."
] | [
"PERSON",
"PERSON",
"O",
"O",
"O",
"ORGANIZATION",
"O",
"DURATION",
"NUMBER",
"O",
"O",
"O",
"O",
"NUMBER",
"O",
"O",
"O",
"O",
"DURATION",
"O",
"O",
"O",
"O",
"O",
"O",
"DURATION",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"LOCATION",
"LOCATION",
"O"
] | [
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
true,
false,
false,
false,
false,
false
] | [
true,
true,
false,
false,
false,
true,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
true,
true,
true,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
true,
true,
false
] | [
true,
false,
false,
false,
false,
false
] | 2008 | {
"sql_type": [
"Keyword",
"Column",
"Keyword",
"Keyword",
"Keyword",
"Column",
"Keyword",
"Literal.String"
],
"value": [
"select",
"c1",
"from",
"w",
"where",
"c6",
"=",
"'petco park'"
],
"span_indices": [
[],
[],
[],
[],
[],
[],
[],
[
33,
34
]
]
} | {
"aligned_sql_token_type": [
"None",
"None",
"None",
"None",
"None",
"None",
"None",
"None",
"None",
"None",
"None",
"None",
"None",
"None",
"None",
"None",
"None",
"None",
"None",
"None",
"None",
"None",
"None",
"None",
"None",
"Column",
"None",
"None",
"None",
"None",
"None",
"None",
"None",
"Literal",
"Literal",
"None"
],
"aligned_sql_token_info": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
"c1",
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
]
} | {
"nl_indices": [
[
25
],
[
33,
34
]
],
"sql_indices": [
[
1
],
[
7
]
]
} |
nt-5237 | 203_281 | {
"raw_header": [
"season",
"pitcher",
"decision",
"final\nscore",
"opponent",
"location"
],
"tokenized_header": [
[
"season"
],
[
"pitcher"
],
[
"decision"
],
[
"final",
"score"
],
[
"opponent"
],
[
"location"
]
],
"column_suffixes": [
[
"number"
],
[
"first",
"second",
"second_number"
],
[
"first",
"second",
"first_result",
"second_result"
],
[
"number",
"number1",
"number2"
],
[],
[]
],
"column_dtype": [
"number",
"text(number)",
"score(score)",
"score",
"text",
"text"
],
"example": [
"1962",
"larry dierker (2)",
"w",
"11-2",
"chicago cubs",
"colt stadium"
]
} | [
"what",
"was",
"the",
"last",
"season",
"when",
"mike",
"scott",
"was",
"the",
"opening",
"day",
"starter",
"for",
"the",
"astros",
"?"
] | [
"WP",
"VBD-AUX",
"DT",
"JJ",
"NN",
"WRB",
"NNP",
"NNP",
"VBD-AUX",
"DT",
"VBG",
"NN",
"JJ",
"IN",
"DT",
"NNPS",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"PERSON",
"PERSON",
"O",
"O",
"O",
"DURATION",
"O",
"O",
"O",
"ORGANIZATION",
"O"
] | [
false,
false,
false,
false,
true,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false
] | [
false,
false,
false,
false,
false,
false,
true,
true,
false,
false,
false,
false,
false,
false,
false,
true,
false
] | [
true,
false,
false,
false,
false,
false
] | 1991 | {
"sql_type": [
"Keyword",
"Keyword",
"Keyword",
"Column",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Column",
"Keyword",
"Literal.String"
],
"value": [
"select",
"max",
"(",
"c1_number",
")",
"from",
"w",
"where",
"c2_first",
"=",
"'mike scott'"
],
"span_indices": [
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[
6,
7
]
]
} | {
"aligned_sql_token_type": [
"None",
"None",
"Keyword",
"Keyword",
"Column",
"None",
"Literal",
"Literal",
"None",
"None",
"None",
"None",
"Column",
"None",
"None",
"None",
"None"
],
"aligned_sql_token_info": [
null,
null,
"['max', 'max_max']",
"['max', 'max_max']",
"c1_number",
null,
null,
null,
null,
null,
null,
null,
"c2_first",
null,
null,
null,
null
]
} | {
"nl_indices": [
[
2,
3
],
[
4
],
[
6,
7
],
[
12
]
],
"sql_indices": [
[
1,
2,
4
],
[
3
],
[
10
],
[
8
]
]
} |
nt-6957 | 203_281 | {
"raw_header": [
"season",
"pitcher",
"decision",
"final\nscore",
"opponent",
"location"
],
"tokenized_header": [
[
"season"
],
[
"pitcher"
],
[
"decision"
],
[
"final",
"score"
],
[
"opponent"
],
[
"location"
]
],
"column_suffixes": [
[
"number"
],
[
"first",
"second",
"second_number"
],
[
"first",
"second",
"first_result",
"second_result"
],
[
"number",
"number1",
"number2"
],
[],
[]
],
"column_dtype": [
"number",
"text(number)",
"score(score)",
"score",
"text",
"text"
],
"example": [
"1962",
"larry dierker (2)",
"w",
"11-2",
"chicago cubs",
"colt stadium"
]
} | [
"how",
"many",
"times",
"was",
"nolan",
"ryan",
"the",
"opening",
"day",
"pitcher",
"for",
"the",
"astros",
"?"
] | [
"WRB",
"JJ",
"NNS",
"VBD-AUX",
"NNP",
"NNP",
"DT",
"VBG",
"NN",
"NN",
"IN",
"DT",
"NNPS",
"."
] | [
"O",
"O",
"O",
"O",
"PERSON",
"PERSON",
"O",
"O",
"DURATION",
"O",
"O",
"O",
"ORGANIZATION",
"O"
] | [
false,
false,
false,
false,
false,
false,
false,
false,
false,
true,
false,
false,
false,
false
] | [
false,
false,
false,
false,
true,
true,
false,
false,
false,
false,
false,
false,
true,
false
] | [
false,
true,
false,
false,
false,
false
] | 3 | {
"sql_type": [
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Column",
"Keyword",
"Literal.String"
],
"value": [
"select",
"count",
"(",
"*",
")",
"from",
"w",
"where",
"c2_first",
"=",
"'nolan ryan'"
],
"span_indices": [
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[
4,
5
]
]
} | {
"aligned_sql_token_type": [
"Keyword",
"Keyword",
"Keyword",
"None",
"Literal",
"Literal",
"None",
"None",
"None",
"Column",
"None",
"None",
"None",
"None"
],
"aligned_sql_token_info": [
"['agg', 'agg_count']",
"['agg', 'agg_count']",
"['agg', 'agg_count']",
null,
null,
null,
null,
null,
null,
"c2_first",
null,
null,
null,
null
]
} | {
"nl_indices": [
[
0,
1,
2
],
[
5,
4
],
[
9
]
],
"sql_indices": [
[
1,
2,
3,
4
],
[
10
],
[
8
]
]
} |
nt-10110 | 203_281 | {
"raw_header": [
"season",
"pitcher",
"decision",
"final\nscore",
"opponent",
"location"
],
"tokenized_header": [
[
"season"
],
[
"pitcher"
],
[
"decision"
],
[
"final",
"score"
],
[
"opponent"
],
[
"location"
]
],
"column_suffixes": [
[
"number"
],
[
"first",
"second",
"second_number"
],
[
"first",
"second",
"first_result",
"second_result"
],
[
"number",
"number1",
"number2"
],
[],
[]
],
"column_dtype": [
"number",
"text(number)",
"score(score)",
"score",
"text",
"text"
],
"example": [
"1962",
"larry dierker (2)",
"w",
"11-2",
"chicago cubs",
"colt stadium"
]
} | [
"which",
"game",
"had",
"the",
"greatest",
"score",
"difference",
"?"
] | [
"WDT",
"NN",
"VBD-AUX",
"DT",
"JJS",
"NN",
"NN",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"NUMBER",
"O",
"O"
] | [
false,
false,
false,
false,
false,
true,
false,
false
] | [
false,
false,
false,
false,
false,
false,
false,
false
] | [
false,
false,
false,
true,
false,
false
] | 1982 | {
"sql_type": [
"Keyword",
"Column",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Column",
"Keyword",
"Column",
"Keyword",
"Keyword",
"Keyword",
"Keyword"
],
"value": [
"select",
"c1",
"from",
"w",
"order",
"by",
"abs",
"(",
"c4_number1",
"-",
"c4_number2",
")",
"desc",
"limit",
"1"
],
"span_indices": [
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[]
]
} | {
"aligned_sql_token_type": [
"None",
"None",
"None",
"Keyword",
"Keyword",
"Column",
"Column",
"None"
],
"aligned_sql_token_info": [
null,
null,
null,
"['sort', 'sort_desc']",
"['sort', 'sort_desc']",
"c4_number2",
"c4_number2",
null
]
} | {
"nl_indices": [
[
4,
3
],
[
6,
5
]
],
"sql_indices": [
[
4,
5,
12,
13,
14
],
[
6,
7,
11,
8,
9,
10
]
]
} |
nt-10807 | 203_281 | {
"raw_header": [
"season",
"pitcher",
"decision",
"final\nscore",
"opponent",
"location"
],
"tokenized_header": [
[
"season"
],
[
"pitcher"
],
[
"decision"
],
[
"final",
"score"
],
[
"opponent"
],
[
"location"
]
],
"column_suffixes": [
[
"number"
],
[
"first",
"second",
"second_number"
],
[
"first",
"second",
"first_result",
"second_result"
],
[
"number",
"number1",
"number2"
],
[],
[]
],
"column_dtype": [
"number",
"text(number)",
"score(score)",
"score",
"text",
"text"
],
"example": [
"1962",
"larry dierker (2)",
"w",
"11-2",
"chicago cubs",
"colt stadium"
]
} | [
"who",
"was",
"the",
"first",
"astro",
"to",
"be",
"the",
"opening",
"day",
"pitcher",
"in",
"the",
"astrodome",
"?"
] | [
"WP",
"VBD-AUX",
"DT",
"JJ",
"NN",
"TO",
"VBD-AUX",
"DT",
"VBG",
"NN",
"NN",
"IN",
"DT",
"NN",
"."
] | [
"O",
"O",
"O",
"ORDINAL",
"O",
"O",
"O",
"O",
"O",
"DURATION",
"O",
"O",
"O",
"O",
"O"
] | [
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
true,
false,
false,
false,
false
] | [
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
true,
false
] | [
false,
true,
false,
false,
false,
false
] | Bob Bruce | {
"sql_type": [
"Keyword",
"Column",
"Keyword",
"Keyword",
"Keyword",
"Column",
"Keyword",
"Literal.String",
"Keyword",
"Keyword",
"Column",
"Keyword",
"Keyword",
"Literal.Number"
],
"value": [
"select",
"c2",
"from",
"w",
"where",
"c6",
"=",
"'astrodome'",
"order",
"by",
"c1_number",
"asc",
"limit",
"1"
],
"span_indices": [
[],
[],
[],
[],
[],
[],
[],
[
13,
13
],
[],
[],
[],
[],
[],
[
3
]
]
} | {
"aligned_sql_token_type": [
"None",
"None",
"Column",
"Column",
"None",
"None",
"None",
"None",
"None",
"None",
"Column",
"None",
"None",
"Literal",
"None"
],
"aligned_sql_token_info": [
null,
null,
"c1_number",
"c1_number",
null,
null,
null,
null,
null,
null,
"c2",
null,
null,
null,
null
]
} | {
"nl_indices": [
[
10
],
[
13
],
[
3,
2
]
],
"sql_indices": [
[
1
],
[
7
],
[
8,
9,
10,
11,
12,
13
]
]
} |
nt-8079 | 204_437 | {
"raw_header": [
"country",
"2014",
"2013",
"2012",
"2010",
"2009",
"2008",
"2007",
"2006",
"2005",
"2004",
"2003",
"2002"
],
"tokenized_header": [
[
"country"
],
[
"2014"
],
[
"2013"
],
[
"2012"
],
[
"2010"
],
[
"2009"
],
[
"2008"
],
[
"2007"
],
[
"2006"
],
[
"2005"
],
[
"2004"
],
[
"2003"
],
[
"2002"
]
],
"column_suffixes": [
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[]
],
"column_dtype": [
"text",
"text",
"text",
"text",
"text",
"text",
"text",
"text",
"text",
"text",
"text",
"text",
"text"
],
"example": [
"finland",
"(001)\n6.40",
"(001)\n6.38",
"(001)\n-10.00",
"(001)\n0.00",
"(001)\n0.00",
"(004)\n2.00",
"(005)\n1.50",
"(001)\n0.50",
"(001)\n0.50",
"(001)\n0.50",
"(001)\n0.50",
"(001)\n0.50"
]
} | [
"which",
"countries",
"had",
"no",
"listing",
"for",
"2002",
"?"
] | [
"WDT",
"NNS",
"VBD-AUX",
"DT",
"NN",
"IN",
"CD",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"DATE",
"O"
] | [
false,
false,
false,
false,
false,
false,
true,
false
] | [
false,
false,
false,
false,
false,
false,
false,
false
] | [
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
true
] | Luxembourg|Andorra|Liechtenstein|New Zealand|Estonia|Jamaica|Slovakia|Cyprus|Belize|Suriname|Lithuania|Organisation of Eastern Caribbean States|Latvia|Samoa|Botswana|Trinidad and Tobago|Papua New Guinea|Malta|Moldova|Tonga|Guyana|Dominican Republic|Nicaragua|Lesotho|Timor-Leste|Armenia|Northern Cyprus|Georgia|Albania|Fiji|Maldives|Qatar|United Arab Emirates|South Sudan|Macedonia|Honduras|Oman|Singapore|Somalia|United States (extraterritorial)|Israel (extraterritorial)|Grenada | {
"sql_type": [
"Keyword",
"Column",
"Keyword",
"Keyword",
"Keyword",
"Column",
"Keyword",
"Keyword"
],
"value": [
"select",
"c1",
"from",
"w",
"where",
"c13",
"is",
"null"
],
"span_indices": [
[],
[],
[],
[],
[],
[],
[],
[]
]
} | {
"aligned_sql_token_type": [
"None",
"Column",
"None",
"Keyword",
"Keyword",
"None",
"Column",
"None"
],
"aligned_sql_token_info": [
null,
"c1",
null,
"['null', 'null_null']",
"['null', 'null_null']",
null,
"c13",
null
]
} | {
"nl_indices": [
[
1
],
[
6
],
[
3,
4
]
],
"sql_indices": [
[
1
],
[
5
],
[
7,
6
]
]
} |
nt-10625 | 204_437 | {
"raw_header": [
"country",
"2014",
"2013",
"2012",
"2010",
"2009",
"2008",
"2007",
"2006",
"2005",
"2004",
"2003",
"2002"
],
"tokenized_header": [
[
"country"
],
[
"2014"
],
[
"2013"
],
[
"2012"
],
[
"2010"
],
[
"2009"
],
[
"2008"
],
[
"2007"
],
[
"2006"
],
[
"2005"
],
[
"2004"
],
[
"2003"
],
[
"2002"
]
],
"column_suffixes": [
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[]
],
"column_dtype": [
"text",
"text",
"text",
"text",
"text",
"text",
"text",
"text",
"text",
"text",
"text",
"text",
"text"
],
"example": [
"finland",
"(001)\n6.40",
"(001)\n6.38",
"(001)\n-10.00",
"(001)\n0.00",
"(001)\n0.00",
"(004)\n2.00",
"(005)\n1.50",
"(001)\n0.50",
"(001)\n0.50",
"(001)\n0.50",
"(001)\n0.50",
"(001)\n0.50"
]
} | [
"what",
"country",
"is",
"listed",
"before",
"germany",
"?"
] | [
"WDT",
"NN",
"VBD-AUX",
"VBN",
"IN",
"NNP",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"LOCATION",
"O"
] | [
false,
true,
false,
false,
false,
false,
false
] | [
false,
false,
false,
false,
false,
true,
false
] | [
true,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false
] | Czech Republic | {
"sql_type": [
"Keyword",
"Column",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Column",
"Keyword",
"Literal.String",
"Keyword",
"Keyword",
"Keyword"
],
"value": [
"select",
"c1",
"from",
"w",
"where",
"id",
"=",
"(",
"select",
"id",
"from",
"w",
"where",
"c1",
"=",
"'germany'",
")",
"-",
"1"
],
"span_indices": [
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[
5,
5
],
[],
[],
[]
]
} | {
"aligned_sql_token_type": [
"None",
"Column",
"None",
"Keyword",
"Keyword",
"Literal",
"None"
],
"aligned_sql_token_info": [
null,
"c1",
null,
"['before', 'before_minus']",
"['before', 'before_minus']",
null,
null
]
} | {
"nl_indices": [
[
1
],
[
1
],
[
5
],
[
3,
4
]
],
"sql_indices": [
[
1
],
[
13
],
[
15
],
[
5,
6,
7,
9,
16,
18,
17
]
]
} |
nt-1207 | 204_740 | {
"raw_header": [
"pos",
"no",
"driver",
"constructor",
"laps",
"time/retired",
"grid",
"points"
],
"tokenized_header": [
[
"pos"
],
[
"no"
],
[
"driver"
],
[
"constructor"
],
[
"laps"
],
[
"time\\\\/retired"
],
[
"grid"
],
[
"points"
]
],
"column_suffixes": [
[
"number"
],
[
"number"
],
[],
[],
[
"number"
],
[
"number",
"hour",
"min",
"sec"
],
[
"number"
],
[
"number"
]
],
"column_dtype": [
"rank",
"number",
"text",
"text",
"number",
"time",
"number",
"number"
],
"example": [
"1",
"5",
"fernando alonso",
"renault",
"56",
"1:31:33.736",
"1",
"10"
]
} | [
"how",
"many",
"bmws",
"finished",
"before",
"webber",
"?"
] | [
"WRB",
"JJ",
"NNS",
"VBD",
"RB",
"NNP",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"PERSON",
"O"
] | [
false,
false,
false,
false,
false,
false,
false
] | [
false,
false,
false,
false,
false,
true,
false
] | [
false,
false,
false,
false,
false,
false,
false,
false
] | 1 | {
"sql_type": [
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Column",
"Keyword",
"Literal.String",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Column",
"Keyword",
"Literal.String",
"Keyword"
],
"value": [
"select",
"count",
"(",
"*",
")",
"from",
"w",
"where",
"c4",
"=",
"'williams-bmw'",
"and",
"id",
"<",
"(",
"select",
"id",
"from",
"w",
"where",
"c3",
"=",
"'mark webber'",
")"
],
"span_indices": [
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[
2,
2
],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[
5,
5
],
[]
]
} | {
"aligned_sql_token_type": [
"Keyword",
"Keyword",
"Literal",
"None",
"Keyword",
"Literal",
"None"
],
"aligned_sql_token_info": [
"['agg', 'agg_count']",
"['agg', 'agg_count']",
null,
null,
"['comp', '']",
null,
null
]
} | {
"nl_indices": [
[
4
],
[
5
],
[
2
],
[
1,
0
]
],
"sql_indices": [
[
12,
13,
14,
16,
23
],
[
22
],
[
10
],
[
1,
2,
4,
3
]
]
} |
nt-2135 | 204_740 | {
"raw_header": [
"pos",
"no",
"driver",
"constructor",
"laps",
"time/retired",
"grid",
"points"
],
"tokenized_header": [
[
"pos"
],
[
"no"
],
[
"driver"
],
[
"constructor"
],
[
"laps"
],
[
"time\\\\/retired"
],
[
"grid"
],
[
"points"
]
],
"column_suffixes": [
[
"number"
],
[
"number"
],
[],
[],
[
"number"
],
[
"number",
"hour",
"min",
"sec"
],
[
"number"
],
[
"number"
]
],
"column_dtype": [
"rank",
"number",
"text",
"text",
"number",
"time",
"number",
"number"
],
"example": [
"1",
"5",
"fernando alonso",
"renault",
"56",
"1:31:33.736",
"1",
"10"
]
} | [
"who",
"was",
"the",
"last",
"driver",
"to",
"actually",
"finish",
"the",
"race",
"?"
] | [
"WP",
"VBD-AUX",
"DT",
"JJ",
"NN",
"TO",
"RB",
"VB",
"DT",
"NN",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] | [
false,
false,
false,
false,
true,
false,
false,
false,
false,
false,
false
] | [
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false
] | [
false,
false,
true,
false,
false,
false,
false,
false
] | Christijan Albers | {
"sql_type": [
"Keyword",
"Column",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Column",
"Keyword",
"Keyword",
"Keyword"
],
"value": [
"select",
"c3",
"from",
"w",
"order",
"by",
"c1_number",
"desc",
"limit",
"1"
],
"span_indices": [
[],
[],
[],
[],
[],
[],
[],
[],
[],
[]
]
} | {
"aligned_sql_token_type": [
"Column",
"None",
"Column",
"Column",
"Column",
"None",
"None",
"None",
"None",
"None",
"None"
],
"aligned_sql_token_info": [
"c3",
null,
"c1_number",
"c1_number",
"c3",
null,
null,
null,
null,
null,
null
]
} | {
"nl_indices": [
[
4
],
[
3,
2
],
[
0
]
],
"sql_indices": [
[
1
],
[
4,
5,
6,
7,
8,
9
],
[
1
]
]
} |
nt-2750 | 204_740 | {
"raw_header": [
"pos",
"no",
"driver",
"constructor",
"laps",
"time/retired",
"grid",
"points"
],
"tokenized_header": [
[
"pos"
],
[
"no"
],
[
"driver"
],
[
"constructor"
],
[
"laps"
],
[
"time\\\\/retired"
],
[
"grid"
],
[
"points"
]
],
"column_suffixes": [
[
"number"
],
[
"number"
],
[],
[],
[
"number"
],
[
"number",
"hour",
"min",
"sec"
],
[
"number"
],
[
"number"
]
],
"column_dtype": [
"rank",
"number",
"text",
"text",
"number",
"time",
"number",
"number"
],
"example": [
"1",
"5",
"fernando alonso",
"renault",
"56",
"1:31:33.736",
"1",
"10"
]
} | [
"what",
"driver",
"finished",
"first",
"?"
] | [
"WDT",
"NN",
"VBD",
"RB",
"."
] | [
"O",
"O",
"O",
"ORDINAL",
"O"
] | [
false,
true,
false,
false,
false
] | [
false,
false,
false,
false,
false
] | [
false,
false,
true,
false,
false,
false,
false,
false
] | Fernando Alonso | {
"sql_type": [
"Keyword",
"Column",
"Keyword",
"Keyword",
"Keyword",
"Column",
"Keyword",
"Literal.Number"
],
"value": [
"select",
"c3",
"from",
"w",
"where",
"c1_number",
"=",
"1"
],
"span_indices": [
[],
[],
[],
[],
[],
[],
[],
[
3
]
]
} | {
"aligned_sql_token_type": [
"None",
"Column",
"Column",
"Literal",
"None"
],
"aligned_sql_token_info": [
null,
"c3",
"c1_number",
null,
null
]
} | {
"nl_indices": [
[
2
],
[
3
],
[
1
]
],
"sql_indices": [
[
5
],
[
7
],
[
1
]
]
} |
nt-3184 | 204_740 | {
"raw_header": [
"pos",
"no",
"driver",
"constructor",
"laps",
"time/retired",
"grid",
"points"
],
"tokenized_header": [
[
"pos"
],
[
"no"
],
[
"driver"
],
[
"constructor"
],
[
"laps"
],
[
"time\\\\/retired"
],
[
"grid"
],
[
"points"
]
],
"column_suffixes": [
[
"number"
],
[
"number"
],
[],
[],
[
"number"
],
[
"number",
"hour",
"min",
"sec"
],
[
"number"
],
[
"number"
]
],
"column_dtype": [
"rank",
"number",
"text",
"text",
"number",
"time",
"number",
"number"
],
"example": [
"1",
"5",
"fernando alonso",
"renault",
"56",
"1:31:33.736",
"1",
"10"
]
} | [
"what",
"were",
"the",
"total",
"number",
"of",
"laps",
"completed",
"by",
"the",
"1st",
"position",
"winner",
"?"
] | [
"WP",
"VBD-AUX",
"DT",
"JJ",
"NN",
"IN",
"NNS",
"VBN",
"IN",
"DT",
"JJ",
"NN",
"NN",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"ORDINAL",
"O",
"O",
"O"
] | [
false,
false,
false,
false,
false,
false,
true,
false,
false,
false,
false,
false,
false,
false
] | [
false,
false,
false,
false,
false,
false,
true,
false,
false,
false,
false,
false,
false,
false
] | [
false,
false,
false,
false,
true,
false,
false,
false
] | 56 | {
"sql_type": [
"Keyword",
"Column",
"Keyword",
"Keyword",
"Keyword",
"Column",
"Keyword",
"Literal.Number"
],
"value": [
"select",
"c5_number",
"from",
"w",
"where",
"c1_number",
"=",
"1"
],
"span_indices": [
[],
[],
[],
[],
[],
[],
[],
[
10
]
]
} | {
"aligned_sql_token_type": [
"None",
"None",
"None",
"None",
"None",
"None",
"Column",
"None",
"None",
"None",
"Literal",
"Column",
"None",
"None"
],
"aligned_sql_token_info": [
null,
null,
null,
null,
null,
null,
"c5_number",
null,
null,
null,
null,
"c1_number",
null,
null
]
} | {
"nl_indices": [
[
10
],
[
11
],
[
6
]
],
"sql_indices": [
[
7
],
[
5
],
[
1
]
]
} |
nt-5551 | 204_740 | {
"raw_header": [
"pos",
"no",
"driver",
"constructor",
"laps",
"time/retired",
"grid",
"points"
],
"tokenized_header": [
[
"pos"
],
[
"no"
],
[
"driver"
],
[
"constructor"
],
[
"laps"
],
[
"time\\\\/retired"
],
[
"grid"
],
[
"points"
]
],
"column_suffixes": [
[
"number"
],
[
"number"
],
[],
[],
[
"number"
],
[
"number",
"hour",
"min",
"sec"
],
[
"number"
],
[
"number"
]
],
"column_dtype": [
"rank",
"number",
"text",
"text",
"number",
"time",
"number",
"number"
],
"example": [
"1",
"5",
"fernando alonso",
"renault",
"56",
"1:31:33.736",
"1",
"10"
]
} | [
"how",
"long",
"did",
"it",
"take",
"fernando",
"alonso",
"to",
"finish",
"the",
"race",
"?"
] | [
"WRB",
"RB",
"VBD-AUX",
"PRP",
"VB",
"NNP",
"NNP",
"TO",
"VB",
"DT",
"NN",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"PERSON",
"PERSON",
"O",
"O",
"O",
"O",
"O"
] | [
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false
] | [
false,
false,
false,
false,
false,
true,
true,
false,
false,
false,
false,
false
] | [
false,
false,
false,
false,
false,
false,
false,
false
] | 1:31:33.736 | {
"sql_type": [
"Keyword",
"Column",
"Keyword",
"Keyword",
"Keyword",
"Column",
"Keyword",
"Literal.String"
],
"value": [
"select",
"c6",
"from",
"w",
"where",
"c3",
"=",
"'fernando alonso'"
],
"span_indices": [
[],
[],
[],
[],
[],
[],
[],
[
5,
6
]
]
} | {
"aligned_sql_token_type": [
"Column",
"Column",
"None",
"None",
"None",
"Literal",
"Literal",
"None",
"None",
"None",
"None",
"None"
],
"aligned_sql_token_info": [
"c6",
"c6",
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
]
} | {
"nl_indices": [
[
5,
6
],
[
1,
0
]
],
"sql_indices": [
[
7
],
[
1
]
]
} |
nt-9781 | 204_740 | {
"raw_header": [
"pos",
"no",
"driver",
"constructor",
"laps",
"time/retired",
"grid",
"points"
],
"tokenized_header": [
[
"pos"
],
[
"no"
],
[
"driver"
],
[
"constructor"
],
[
"laps"
],
[
"time\\\\/retired"
],
[
"grid"
],
[
"points"
]
],
"column_suffixes": [
[
"number"
],
[
"number"
],
[],
[],
[
"number"
],
[
"number",
"hour",
"min",
"sec"
],
[
"number"
],
[
"number"
]
],
"column_dtype": [
"rank",
"number",
"text",
"text",
"number",
"time",
"number",
"number"
],
"example": [
"1",
"5",
"fernando alonso",
"renault",
"56",
"1:31:33.736",
"1",
"10"
]
} | [
"who",
"finished",
"before",
"nick",
"heidfeld",
"?"
] | [
"WP",
"VBD",
"RB",
"NNP",
"NNP",
"."
] | [
"O",
"O",
"O",
"PERSON",
"PERSON",
"O"
] | [
false,
false,
false,
false,
false,
false
] | [
false,
false,
false,
true,
true,
false
] | [
false,
false,
false,
false,
false,
false,
false,
false
] | Jarno Trulli | {
"sql_type": [
"Keyword",
"Column",
"Keyword",
"Keyword",
"Keyword",
"Column",
"Keyword",
"Keyword",
"Keyword",
"Column",
"Keyword",
"Keyword",
"Keyword",
"Column",
"Keyword",
"Literal.String",
"Keyword",
"Keyword",
"Keyword"
],
"value": [
"select",
"c3",
"from",
"w",
"where",
"c1_number",
"=",
"(",
"select",
"c1_number",
"from",
"w",
"where",
"c3",
"=",
"'nick heidfeld'",
")",
"-",
"1"
],
"span_indices": [
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[
3,
4
],
[],
[],
[]
]
} | {
"aligned_sql_token_type": [
"Column",
"Column",
"Keyword",
"Literal",
"Literal",
"None"
],
"aligned_sql_token_info": [
"c3",
"c1_number",
"['before', 'before_minus']",
null,
null,
null
]
} | {
"nl_indices": [
[
1
],
[
1
],
[
2
],
[
3,
4
],
[
0
],
[
0
]
],
"sql_indices": [
[
5
],
[
9
],
[
6,
7,
17,
16,
18
],
[
15
],
[
1
],
[
13
]
]
} |
nt-11066 | 204_740 | {
"raw_header": [
"pos",
"no",
"driver",
"constructor",
"laps",
"time/retired",
"grid",
"points"
],
"tokenized_header": [
[
"pos"
],
[
"no"
],
[
"driver"
],
[
"constructor"
],
[
"laps"
],
[
"time\\\\/retired"
],
[
"grid"
],
[
"points"
]
],
"column_suffixes": [
[
"number"
],
[
"number"
],
[],
[],
[
"number"
],
[
"number",
"hour",
"min",
"sec"
],
[
"number"
],
[
"number"
]
],
"column_dtype": [
"rank",
"number",
"text",
"text",
"number",
"time",
"number",
"number"
],
"example": [
"1",
"5",
"fernando alonso",
"renault",
"56",
"1:31:33.736",
"1",
"10"
]
} | [
"how",
"many",
"drivers",
"were",
"retired",
"before",
"the",
"race",
"could",
"end",
"?"
] | [
"WRB",
"JJ",
"NNS",
"VBD-AUX",
"VBN",
"IN",
"DT",
"NN",
"VBD-AUX",
"VB",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] | [
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false
] | [
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false
] | [
false,
false,
false,
false,
false,
false,
false,
false
] | 7 | {
"sql_type": [
"Keyword",
"Keyword",
"Keyword",
"Column",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Column",
"Keyword",
"Literal.String"
],
"value": [
"select",
"count",
"(",
"c3",
")",
"from",
"w",
"where",
"c1",
"=",
"'ret'"
],
"span_indices": [
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[
4,
4
]
]
} | {
"aligned_sql_token_type": [
"Keyword",
"Keyword",
"Column",
"None",
"Literal",
"None",
"None",
"None",
"None",
"None",
"None"
],
"aligned_sql_token_info": [
"['agg', 'agg_count']",
"['agg', 'agg_count']",
"c3",
null,
null,
null,
null,
null,
null,
null,
null
]
} | {
"nl_indices": [
[
4
],
[
2
],
[
1,
0
]
],
"sql_indices": [
[
10
],
[
3
],
[
4,
2,
1
]
]
} |
nt-13671 | 204_740 | {
"raw_header": [
"pos",
"no",
"driver",
"constructor",
"laps",
"time/retired",
"grid",
"points"
],
"tokenized_header": [
[
"pos"
],
[
"no"
],
[
"driver"
],
[
"constructor"
],
[
"laps"
],
[
"time\\\\/retired"
],
[
"grid"
],
[
"points"
]
],
"column_suffixes": [
[
"number"
],
[
"number"
],
[],
[],
[
"number"
],
[
"number",
"hour",
"min",
"sec"
],
[
"number"
],
[
"number"
]
],
"column_dtype": [
"rank",
"number",
"text",
"text",
"number",
"time",
"number",
"number"
],
"example": [
"1",
"5",
"fernando alonso",
"renault",
"56",
"1:31:33.736",
"1",
"10"
]
} | [
"how",
"many",
"drivers",
"ended",
"the",
"race",
"early",
"because",
"of",
"engine",
"problems",
"?"
] | [
"WRB",
"JJ",
"NNS",
"VBD",
"DT",
"NN",
"RB",
"IN",
"IN",
"NN",
"NNS",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] | [
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false
] | [
false,
false,
false,
false,
false,
false,
false,
false,
false,
true,
false,
false
] | [
false,
false,
false,
false,
false,
false,
false,
false
] | 2 | {
"sql_type": [
"Keyword",
"Keyword",
"Keyword",
"Column",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Column",
"Keyword",
"Literal.String"
],
"value": [
"select",
"count",
"(",
"c3",
")",
"from",
"w",
"where",
"c6",
"=",
"'engine'"
],
"span_indices": [
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[
9,
9
]
]
} | {
"aligned_sql_token_type": [
"Keyword",
"Keyword",
"Column",
"None",
"None",
"None",
"None",
"None",
"None",
"Literal",
"None",
"None"
],
"aligned_sql_token_info": [
"['agg', 'agg_count']",
"['agg', 'agg_count']",
"c3",
null,
null,
null,
null,
null,
null,
null,
null,
null
]
} | {
"nl_indices": [
[
0,
1
],
[
2
],
[
9
]
],
"sql_indices": [
[
1,
2,
4
],
[
3
],
[
10
]
]
} |
nt-1900 | 204_717 | {
"raw_header": [
"season",
"level",
"division",
"place"
],
"tokenized_header": [
[
"season"
],
[
"level"
],
[
"division"
],
[
"place"
]
],
"column_suffixes": [
[
"minimum_number",
"minimum_parsed",
"minimum_year",
"maximum_number",
"maximum_parsed",
"maximum_year"
],
[
"number"
],
[],
[
"number"
]
],
"column_dtype": [
"timespan",
"number",
"text",
"rank"
],
"example": [
"2001/02",
"4",
"3a",
"4th"
]
} | [
"how",
"many",
"times",
"did",
"the",
"team",
"come",
"in",
"9th",
"place",
"?"
] | [
"WRB",
"JJ",
"NNS",
"VBD-AUX",
"DT",
"NN",
"VBN",
"IN",
"JJ",
"NN",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"ORDINAL",
"O",
"O"
] | [
false,
false,
false,
false,
false,
false,
false,
false,
false,
true,
false
] | [
false,
false,
false,
false,
false,
false,
false,
false,
true,
false,
false
] | [
false,
false,
false,
true
] | 2 | {
"sql_type": [
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Column",
"Keyword",
"Literal.Number"
],
"value": [
"select",
"count",
"(",
"*",
")",
"from",
"w",
"where",
"c4_number",
"=",
"9"
],
"span_indices": [
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[
8
]
]
} | {
"aligned_sql_token_type": [
"Keyword",
"Keyword",
"Keyword",
"None",
"None",
"None",
"None",
"None",
"Literal",
"Column",
"None"
],
"aligned_sql_token_info": [
"['agg', 'agg_count']",
"['agg', 'agg_count']",
"['agg', 'agg_count']",
null,
null,
null,
null,
null,
null,
"c4_number",
null
]
} | {
"nl_indices": [
[
0,
1,
2
],
[
9
],
[
8
]
],
"sql_indices": [
[
1,
2,
3,
4
],
[
8
],
[
10
]
]
} |
nt-2411 | 204_717 | {
"raw_header": [
"season",
"level",
"division",
"place"
],
"tokenized_header": [
[
"season"
],
[
"level"
],
[
"division"
],
[
"place"
]
],
"column_suffixes": [
[
"minimum_number",
"minimum_parsed",
"minimum_year",
"maximum_number",
"maximum_parsed",
"maximum_year"
],
[
"number"
],
[],
[
"number"
]
],
"column_dtype": [
"timespan",
"number",
"text",
"rank"
],
"example": [
"2001/02",
"4",
"3a",
"4th"
]
} | [
"which",
"was",
"a",
"better",
"season",
",",
"2006/07",
"or",
"2007/08",
"?"
] | [
"WDT",
"VBD-AUX",
"DT",
"RBR",
"NN",
",",
"CD",
"CC",
"CD",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"NUMBER",
"O",
"NUMBER",
"O"
] | [
false,
false,
false,
false,
true,
false,
false,
false,
false,
false
] | [
false,
false,
false,
false,
false,
false,
false,
false,
false,
false
] | [
true,
false,
false,
false
] | 2006/07 | {
"sql_type": [
"Keyword",
"Column",
"Keyword",
"Keyword",
"Keyword",
"Column",
"Keyword",
"Keyword",
"Literal.String",
"Keyword",
"Literal.String",
"Keyword",
"Keyword",
"Keyword",
"Column",
"Keyword",
"Keyword"
],
"value": [
"select",
"c1",
"from",
"w",
"where",
"c1",
"in",
"(",
"'2006/07'",
",",
"'2007/08'",
")",
"order",
"by",
"c4_number",
"limit",
"1"
],
"span_indices": [
[],
[],
[],
[],
[],
[],
[],
[],
[
6,
6
],
[],
[
8,
8
],
[],
[],
[],
[],
[],
[]
]
} | {
"aligned_sql_token_type": [
"None",
"None",
"None",
"Column",
"Column",
"None",
"Literal",
"Keyword",
"Literal",
"None"
],
"aligned_sql_token_info": [
null,
null,
null,
"c4_number",
"c1",
null,
null,
"['conj', 'conj_or']",
null,
null
]
} | {
"nl_indices": [
[
4
],
[
4
],
[
7
],
[
6
],
[
8
],
[
3
]
],
"sql_indices": [
[
1
],
[
5
],
[
6,
7,
9,
11
],
[
8
],
[
10
],
[
12,
13,
14,
15,
16
]
]
} |
nt-8843 | 204_717 | {
"raw_header": [
"season",
"level",
"division",
"place"
],
"tokenized_header": [
[
"season"
],
[
"level"
],
[
"division"
],
[
"place"
]
],
"column_suffixes": [
[
"minimum_number",
"minimum_parsed",
"minimum_year",
"maximum_number",
"maximum_parsed",
"maximum_year"
],
[
"number"
],
[],
[
"number"
]
],
"column_dtype": [
"timespan",
"number",
"text",
"rank"
],
"example": [
"2001/02",
"4",
"3a",
"4th"
]
} | [
"the",
"two",
"level",
"6",
"seasons",
"were",
"2012/13",
"and",
"what",
"other",
"season",
"?"
] | [
"DT",
"CD",
"NN",
"CD",
"NNS",
"VBD-AUX",
"CD",
"CC",
"WP",
"JJ",
"NN",
"."
] | [
"O",
"NUMBER",
"O",
"NUMBER",
"O",
"O",
"NUMBER",
"O",
"O",
"O",
"O",
"O"
] | [
false,
false,
true,
false,
false,
false,
false,
false,
false,
false,
true,
false
] | [
false,
false,
false,
true,
false,
false,
false,
false,
false,
false,
false,
false
] | [
true,
true,
false,
false
] | 2013/14 | {
"sql_type": [
"Keyword",
"Column",
"Keyword",
"Keyword",
"Keyword",
"Column",
"Keyword",
"Literal.String",
"Keyword",
"Column",
"Keyword",
"Literal.Number"
],
"value": [
"select",
"c1",
"from",
"w",
"where",
"c1",
"!=",
"'2012/13'",
"and",
"c2_number",
"=",
"6"
],
"span_indices": [
[],
[],
[],
[],
[],
[],
[],
[
6,
6
],
[],
[],
[],
[
3
]
]
} | {
"aligned_sql_token_type": [
"None",
"None",
"Column",
"Literal",
"Column",
"None",
"Literal",
"None",
"None",
"Keyword",
"Column",
"None"
],
"aligned_sql_token_info": [
null,
null,
"c2_number",
null,
"c1",
null,
null,
null,
null,
"['comp', 'comp_not']",
"c1",
null
]
} | {
"nl_indices": [
[
6
],
[
9
],
[
10
],
[
4
],
[
3
],
[
2
]
],
"sql_indices": [
[
7
],
[
6
],
[
1
],
[
5
],
[
11
],
[
9
]
]
} |
nt-9187 | 204_717 | {
"raw_header": [
"season",
"level",
"division",
"place"
],
"tokenized_header": [
[
"season"
],
[
"level"
],
[
"division"
],
[
"place"
]
],
"column_suffixes": [
[
"minimum_number",
"minimum_parsed",
"minimum_year",
"maximum_number",
"maximum_parsed",
"maximum_year"
],
[
"number"
],
[],
[
"number"
]
],
"column_dtype": [
"timespan",
"number",
"text",
"rank"
],
"example": [
"2001/02",
"4",
"3a",
"4th"
]
} | [
"which",
"season",
"came",
"in",
"last",
"place",
"?"
] | [
"WDT",
"NN",
"VBD",
"IN",
"JJ",
"NN",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] | [
false,
true,
false,
false,
false,
true,
false
] | [
false,
false,
false,
false,
false,
false,
false
] | [
true,
false,
false,
true
] | 2002/03 | {
"sql_type": [
"Keyword",
"Column",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Column",
"Keyword",
"Keyword",
"Keyword"
],
"value": [
"select",
"c1",
"from",
"w",
"order",
"by",
"c4_number",
"desc",
"limit",
"1"
],
"span_indices": [
[],
[],
[],
[],
[],
[],
[],
[],
[],
[]
]
} | {
"aligned_sql_token_type": [
"None",
"Column",
"None",
"None",
"Keyword",
"Column",
"None"
],
"aligned_sql_token_info": [
null,
"c1",
null,
null,
"['sort', 'sort_desc']",
"c4_number",
null
]
} | {
"nl_indices": [
[
1
],
[
4
],
[
5
]
],
"sql_indices": [
[
1
],
[
4,
5,
7,
8,
9
],
[
6
]
]
} |
nt-9843 | 204_717 | {
"raw_header": [
"season",
"level",
"division",
"place"
],
"tokenized_header": [
[
"season"
],
[
"level"
],
[
"division"
],
[
"place"
]
],
"column_suffixes": [
[
"minimum_number",
"minimum_parsed",
"minimum_year",
"maximum_number",
"maximum_parsed",
"maximum_year"
],
[
"number"
],
[],
[
"number"
]
],
"column_dtype": [
"timespan",
"number",
"text",
"rank"
],
"example": [
"2001/02",
"4",
"3a",
"4th"
]
} | [
"what",
"is",
"the",
"total",
"number",
"of",
"level",
"4",
"seasons",
"?"
] | [
"WP",
"VBD-AUX",
"DT",
"JJ",
"NN",
"IN",
"NN",
"CD",
"NNS",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"NUMBER",
"O",
"O"
] | [
false,
false,
false,
false,
false,
false,
true,
false,
false,
false
] | [
false,
false,
false,
false,
false,
false,
false,
true,
false,
false
] | [
false,
true,
false,
false
] | 9 | {
"sql_type": [
"Keyword",
"Keyword",
"Keyword",
"Column",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Column",
"Keyword",
"Literal.Number"
],
"value": [
"select",
"count",
"(",
"c1",
")",
"from",
"w",
"where",
"c2_number",
"=",
"4"
],
"span_indices": [
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[
7
]
]
} | {
"aligned_sql_token_type": [
"None",
"None",
"None",
"Keyword",
"Keyword",
"Keyword",
"Column",
"Literal",
"Column",
"None"
],
"aligned_sql_token_info": [
null,
null,
null,
"['agg', 'agg_count']",
"['agg', 'agg_count']",
"['agg', 'agg_count']",
"c2_number",
null,
"c1",
null
]
} | {
"nl_indices": [
[
7
],
[
6
],
[
3,
4,
5
],
[
8
]
],
"sql_indices": [
[
10
],
[
8
],
[
1,
2,
4
],
[
3
]
]
} |
nt-11466 | 204_717 | {
"raw_header": [
"season",
"level",
"division",
"place"
],
"tokenized_header": [
[
"season"
],
[
"level"
],
[
"division"
],
[
"place"
]
],
"column_suffixes": [
[
"minimum_number",
"minimum_parsed",
"minimum_year",
"maximum_number",
"maximum_parsed",
"maximum_year"
],
[
"number"
],
[],
[
"number"
]
],
"column_dtype": [
"timespan",
"number",
"text",
"rank"
],
"example": [
"2001/02",
"4",
"3a",
"4th"
]
} | [
"what",
"place",
"did",
"this",
"team",
"finish",
"immediately",
"after",
"the",
"2008/2009",
"season",
"?"
] | [
"WDT",
"NN",
"VBD-AUX",
"DT",
"NN",
"NN",
"RB",
"IN",
"DT",
"CD",
"NN",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"NUMBER",
"O",
"O"
] | [
false,
true,
false,
false,
false,
false,
false,
false,
false,
false,
true,
false
] | [
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false
] | [
true,
false,
false,
true
] | 6th | {
"sql_type": [
"Keyword",
"Column",
"Keyword",
"Keyword",
"Keyword",
"Column",
"Keyword",
"Literal.String",
"Keyword",
"Keyword",
"Column",
"Keyword",
"Keyword"
],
"value": [
"select",
"c4",
"from",
"w",
"where",
"c1",
">",
"'2008/09'",
"order",
"by",
"c1",
"limit",
"1"
],
"span_indices": [
[],
[],
[],
[],
[],
[],
[],
[
9,
9
],
[],
[],
[],
[],
[]
]
} | {
"aligned_sql_token_type": [
"None",
"Column",
"None",
"None",
"None",
"None",
"Keyword",
"Keyword",
"None",
"Literal",
"Column",
"None"
],
"aligned_sql_token_info": [
null,
"c4",
null,
null,
null,
null,
"['sort', '']",
"['sort', '']",
null,
null,
"c1",
null
]
} | {
"nl_indices": [
[
7,
6
],
[
9
],
[
10
],
[
10
],
[
1
]
],
"sql_indices": [
[
6,
8,
9,
11,
12
],
[
7
],
[
5
],
[
10
],
[
1
]
]
} |
nt-12630 | 204_717 | {
"raw_header": [
"season",
"level",
"division",
"place"
],
"tokenized_header": [
[
"season"
],
[
"level"
],
[
"division"
],
[
"place"
]
],
"column_suffixes": [
[
"minimum_number",
"minimum_parsed",
"minimum_year",
"maximum_number",
"maximum_parsed",
"maximum_year"
],
[
"number"
],
[],
[
"number"
]
],
"column_dtype": [
"timespan",
"number",
"text",
"rank"
],
"example": [
"2001/02",
"4",
"3a",
"4th"
]
} | [
"which",
"season",
"was",
"the",
"only",
"season",
"to",
"come",
"in",
"18th",
"?"
] | [
"WDT",
"NN",
"VBD-AUX",
"DT",
"JJ",
"NN",
"TO",
"VB",
"IN",
"JJ",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"ORDINAL",
"O"
] | [
false,
true,
false,
false,
false,
true,
false,
false,
false,
false,
false
] | [
false,
false,
false,
false,
false,
false,
false,
false,
false,
true,
false
] | [
true,
false,
false,
false
] | 2011/12 | {
"sql_type": [
"Keyword",
"Column",
"Keyword",
"Keyword",
"Keyword",
"Column",
"Keyword",
"Literal.Number"
],
"value": [
"select",
"c1",
"from",
"w",
"where",
"c4_number",
"=",
"18"
],
"span_indices": [
[],
[],
[],
[],
[],
[],
[],
[
9
]
]
} | {
"aligned_sql_token_type": [
"None",
"Column",
"None",
"None",
"None",
"None",
"None",
"Column",
"Column",
"Literal",
"None"
],
"aligned_sql_token_info": [
null,
"c1",
null,
null,
null,
null,
null,
"c4_number",
"c4_number",
null,
null
]
} | {
"nl_indices": [
[
1
],
[
9
],
[
7,
8
]
],
"sql_indices": [
[
1
],
[
7
],
[
5
]
]
} |
nt-86 | 203_139 | {
"raw_header": [
"name",
"abbr.",
"leader",
"ideology",
"political position",
"mps"
],
"tokenized_header": [
[
"name"
],
[
"abbr",
"."
],
[
"leader"
],
[
"ideology"
],
[
"political",
"position"
],
[
"mps"
]
],
"column_suffixes": [
[],
[],
[],
[
"list",
"length"
],
[],
[
"number",
"number1",
"number2"
]
],
"column_dtype": [
"text",
"text",
"text",
"<c,text>",
"text",
"fraction"
],
"example": [
"serbian progressive party\nсрпска напредна странка / srpska napredna stranka",
"sns",
"aleksandar vucic",
"conservatism",
"centre-right",
"134 / 250"
]
} | [
"what",
"party",
"has",
"the",
"most",
"mp",
"'s",
"?"
] | [
"WDT",
"NN",
"VBD-AUX",
"DT",
"JJS",
"NN",
"POS",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] | [
false,
false,
false,
false,
false,
false,
false,
false
] | [
false,
true,
false,
false,
false,
false,
false,
false
] | [
false,
false,
false,
false,
false,
false
] | Serbian Progressive Party Српска напредна странка / Srpska napredna stranka | {
"sql_type": [
"Keyword",
"Column",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Column",
"Keyword",
"Keyword",
"Keyword"
],
"value": [
"select",
"c1",
"from",
"w",
"order",
"by",
"c6_number1",
"desc",
"limit",
"1"
],
"span_indices": [
[],
[],
[],
[],
[],
[],
[],
[],
[],
[]
]
} | {
"aligned_sql_token_type": [
"None",
"Column",
"None",
"Keyword",
"Keyword",
"Column",
"Column",
"None"
],
"aligned_sql_token_info": [
null,
"c1",
null,
"['sort', 'sort_desc']",
"['sort', 'sort_desc']",
"c6_number1",
"c6_number1",
null
]
} | {
"nl_indices": [
[
1
],
[
3,
4
],
[
5,
6
]
],
"sql_indices": [
[
1
],
[
4,
5,
7,
8,
9
],
[
6
]
]
} |
nt-3170 | 203_139 | {
"raw_header": [
"name",
"abbr.",
"leader",
"ideology",
"political position",
"mps"
],
"tokenized_header": [
[
"name"
],
[
"abbr",
"."
],
[
"leader"
],
[
"ideology"
],
[
"political",
"position"
],
[
"mps"
]
],
"column_suffixes": [
[],
[],
[],
[
"list",
"length"
],
[],
[
"number",
"number1",
"number2"
]
],
"column_dtype": [
"text",
"text",
"text",
"<c,text>",
"text",
"fraction"
],
"example": [
"serbian progressive party\nсрпска напредна странка / srpska napredna stranka",
"sns",
"aleksandar vucic",
"conservatism",
"centre-right",
"134 / 250"
]
} | [
"there",
"are",
"at",
"least",
"10",
"mps",
"for",
"how",
"many",
"political",
"parties",
"?"
] | [
"EX",
"VBD-AUX",
"IN",
"JJS",
"CD",
"NNS",
"IN",
"WRB",
"JJ",
"JJ",
"NNS",
"."
] | [
"O",
"O",
"O",
"O",
"NUMBER",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] | [
false,
false,
false,
false,
false,
true,
false,
false,
false,
true,
false,
false
] | [
false,
false,
false,
false,
true,
false,
true,
false,
false,
false,
false,
false
] | [
false,
false,
false,
false,
true,
true
] | 6 | {
"sql_type": [
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Column",
"Keyword",
"Literal.Number"
],
"value": [
"select",
"count",
"(",
"*",
")",
"from",
"w",
"where",
"c6_number",
">=",
"10"
],
"span_indices": [
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[
4
]
]
} | {
"aligned_sql_token_type": [
"None",
"None",
"Keyword",
"Keyword",
"Literal",
"Column",
"None",
"Keyword",
"Keyword",
"None",
"None",
"None"
],
"aligned_sql_token_info": [
null,
null,
"['comp', 'comp_gequal']",
"['comp', 'comp_gequal']",
null,
"c6_number",
null,
"['agg', 'agg_count']",
"['agg', 'agg_count']",
null,
null,
null
]
} | {
"nl_indices": [
[
7,
8
],
[
2,
3
],
[
4
],
[
5
]
],
"sql_indices": [
[
1,
2,
3,
4
],
[
9
],
[
10
],
[
8
]
]
} |
nt-4099 | 203_139 | {
"raw_header": [
"name",
"abbr.",
"leader",
"ideology",
"political position",
"mps"
],
"tokenized_header": [
[
"name"
],
[
"abbr",
"."
],
[
"leader"
],
[
"ideology"
],
[
"political",
"position"
],
[
"mps"
]
],
"column_suffixes": [
[],
[],
[],
[
"list",
"length"
],
[],
[
"number",
"number1",
"number2"
]
],
"column_dtype": [
"text",
"text",
"text",
"<c,text>",
"text",
"fraction"
],
"example": [
"serbian progressive party\nсрпска напредна странка / srpska napredna stranka",
"sns",
"aleksandar vucic",
"conservatism",
"centre-right",
"134 / 250"
]
} | [
"which",
"party",
"has",
"the",
"most",
"mps",
"?"
] | [
"WDT",
"NN",
"VBD-AUX",
"DT",
"RBS",
"NNS",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] | [
false,
false,
false,
false,
false,
true,
false
] | [
false,
true,
false,
false,
false,
false,
false
] | [
false,
false,
false,
false,
false,
true
] | Serbian Progressive Party Српска напредна странка / Srpska napredna stranka | {
"sql_type": [
"Keyword",
"Column",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Column",
"Keyword",
"Keyword",
"Keyword"
],
"value": [
"select",
"c1",
"from",
"w",
"order",
"by",
"c6_number",
"desc",
"limit",
"1"
],
"span_indices": [
[],
[],
[],
[],
[],
[],
[],
[],
[],
[]
]
} | {
"aligned_sql_token_type": [
"None",
"Column",
"None",
"Keyword",
"Keyword",
"Column",
"None"
],
"aligned_sql_token_info": [
null,
"c1",
null,
"['sort', 'sort_desc']",
"['sort', 'sort_desc']",
"c6_number",
null
]
} | {
"nl_indices": [
[
1
],
[
3,
4
],
[
5
]
],
"sql_indices": [
[
1
],
[
4,
5,
7,
8,
9
],
[
6
]
]
} |
nt-6473 | 203_139 | {
"raw_header": [
"name",
"abbr.",
"leader",
"ideology",
"political position",
"mps"
],
"tokenized_header": [
[
"name"
],
[
"abbr",
"."
],
[
"leader"
],
[
"ideology"
],
[
"political",
"position"
],
[
"mps"
]
],
"column_suffixes": [
[],
[],
[],
[
"list",
"length"
],
[],
[
"number",
"number1",
"number2"
]
],
"column_dtype": [
"text",
"text",
"text",
"<c,text>",
"text",
"fraction"
],
"example": [
"serbian progressive party\nсрпска напредна странка / srpska napredna stranka",
"sns",
"aleksandar vucic",
"conservatism",
"centre-right",
"134 / 250"
]
} | [
"what",
"is",
"the",
"total",
"of",
"groups",
"that",
"have",
"a",
"populism",
"ideology",
"?"
] | [
"WP",
"VBD-AUX",
"DT",
"NN",
"IN",
"NNS",
"WDT",
"VBD-AUX",
"DT",
"NN",
"NN",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] | [
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
true,
false
] | [
false,
false,
false,
false,
true,
false,
false,
false,
false,
true,
false,
false
] | [
false,
false,
false,
true,
false,
false
] | 2 | {
"sql_type": [
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Column",
"Keyword",
"Literal.String"
],
"value": [
"select",
"count",
"(",
"*",
")",
"from",
"w",
"where",
"c4",
"=",
"'populism'"
],
"span_indices": [
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[
9,
9
]
]
} | {
"aligned_sql_token_type": [
"None",
"None",
"Keyword",
"Keyword",
"Keyword",
"None",
"None",
"None",
"None",
"Literal",
"Column",
"None"
],
"aligned_sql_token_info": [
null,
null,
"['agg', 'agg_count']",
"['agg', 'agg_count']",
"['agg', 'agg_count']",
null,
null,
null,
null,
null,
"c4",
null
]
} | {
"nl_indices": [
[
9
],
[
10
],
[
2,
3,
4
]
],
"sql_indices": [
[
10
],
[
8
],
[
1,
2,
3,
4
]
]
} |
nt-9432 | 203_139 | {
"raw_header": [
"name",
"abbr.",
"leader",
"ideology",
"political position",
"mps"
],
"tokenized_header": [
[
"name"
],
[
"abbr",
"."
],
[
"leader"
],
[
"ideology"
],
[
"political",
"position"
],
[
"mps"
]
],
"column_suffixes": [
[],
[],
[],
[
"list",
"length"
],
[],
[
"number",
"number1",
"number2"
]
],
"column_dtype": [
"text",
"text",
"text",
"<c,text>",
"text",
"fraction"
],
"example": [
"serbian progressive party\nсрпска напредна странка / srpska napredna stranka",
"sns",
"aleksandar vucic",
"conservatism",
"centre-right",
"134 / 250"
]
} | [
"what",
"party",
"has",
"the",
"highest",
"number",
"of",
"mps",
"?"
] | [
"WDT",
"NN",
"VBD-AUX",
"DT",
"JJS",
"NN",
"IN",
"NNS",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] | [
false,
false,
false,
false,
false,
false,
false,
true,
false
] | [
false,
true,
false,
false,
false,
false,
true,
false,
false
] | [
false,
false,
false,
false,
false,
true
] | Serbian Progressive Party | {
"sql_type": [
"Keyword",
"Column",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Column",
"Keyword",
"Keyword",
"Keyword"
],
"value": [
"select",
"c1",
"from",
"w",
"order",
"by",
"c6_number",
"desc",
"limit",
"1"
],
"span_indices": [
[],
[],
[],
[],
[],
[],
[],
[],
[],
[]
]
} | {
"aligned_sql_token_type": [
"None",
"Column",
"None",
"Keyword",
"Keyword",
"Keyword",
"None",
"Column",
"None"
],
"aligned_sql_token_info": [
null,
"c1",
null,
"['sort', 'sort_desc']",
"['sort', 'sort_desc']",
"['sort', 'sort_desc']",
null,
"c6_number",
null
]
} | {
"nl_indices": [
[
1
],
[
3,
4,
5
],
[
7
]
],
"sql_indices": [
[
1
],
[
4,
5,
7,
8,
9
],
[
6
]
]
} |
nt-11555 | 203_139 | {
"raw_header": [
"name",
"abbr.",
"leader",
"ideology",
"political position",
"mps"
],
"tokenized_header": [
[
"name"
],
[
"abbr",
"."
],
[
"leader"
],
[
"ideology"
],
[
"political",
"position"
],
[
"mps"
]
],
"column_suffixes": [
[],
[],
[],
[
"list",
"length"
],
[],
[
"number",
"number1",
"number2"
]
],
"column_dtype": [
"text",
"text",
"text",
"<c,text>",
"text",
"fraction"
],
"example": [
"serbian progressive party\nсрпска напредна странка / srpska napredna stranka",
"sns",
"aleksandar vucic",
"conservatism",
"centre-right",
"134 / 250"
]
} | [
"how",
"many",
"parties",
"follow",
"the",
"ideology",
"of",
"social",
"democracy",
"?"
] | [
"WRB",
"JJ",
"NNS",
"VBP",
"DT",
"NN",
"IN",
"JJ",
"NN",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] | [
false,
false,
false,
false,
false,
true,
false,
false,
false,
false
] | [
false,
false,
false,
false,
false,
false,
true,
true,
true,
false
] | [
false,
false,
false,
true,
false,
false
] | 5 | {
"sql_type": [
"Keyword",
"Keyword",
"Keyword",
"Column",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Column",
"Keyword",
"Literal.String"
],
"value": [
"select",
"count",
"(",
"c1",
")",
"from",
"w",
"where",
"c4_list",
"=",
"'social democracy'"
],
"span_indices": [
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[
7,
8
]
]
} | {
"aligned_sql_token_type": [
"Keyword",
"Keyword",
"Column",
"None",
"None",
"Column",
"None",
"Literal",
"Literal",
"None"
],
"aligned_sql_token_info": [
"['agg', 'agg_count']",
"['agg', 'agg_count']",
"c1",
null,
null,
"c4_list",
null,
null,
null,
null
]
} | {
"nl_indices": [
[
1,
0
],
[
2
],
[
5
],
[
7,
8
]
],
"sql_indices": [
[
1,
2,
4
],
[
3
],
[
8
],
[
10
]
]
} |
nt-1531 | 203_343 | {
"raw_header": [
"date",
"winning team",
"score",
"losing team",
"score",
"ot",
"city",
"state/province",
"arena",
"attendance"
],
"tokenized_header": [
[
"date"
],
[
"winning",
"team"
],
[
"score"
],
[
"losing",
"team"
],
[
"score"
],
[
"ot"
],
[
"city"
],
[
"state\\\\/province"
],
[
"arena"
],
[
"attendance"
]
],
"column_suffixes": [
[
"number",
"parsed",
"year",
"month",
"day"
],
[],
[
"number"
],
[],
[
"number"
],
[],
[],
[],
[],
[
"number"
]
],
"column_dtype": [
"date",
"text",
"number",
"text",
"number",
"score",
"text",
"text",
"text",
"number"
],
"example": [
"october 21, 1993",
"st. louis",
"5",
"san jose",
"2",
"(ot)",
"sacramento",
"ca",
"arco arena",
"7144"
]
} | [
"when",
"was",
"the",
"first",
"neutral",
"site",
"game",
"to",
"be",
"won",
"by",
"tampa",
"bay",
"?"
] | [
"WRB",
"VBD-AUX",
"DT",
"JJ",
"JJ",
"NN",
"NN",
"TO",
"VBD-AUX",
"VBN",
"IN",
"NNP",
"NNP",
"."
] | [
"O",
"O",
"O",
"ORDINAL",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"LOCATION",
"LOCATION",
"O"
] | [
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false
] | [
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
true,
true,
false
] | [
false,
false,
false,
false,
false,
false,
false,
false,
false,
false
] | January 4, 1994 | {
"sql_type": [
"Keyword",
"Column",
"Keyword",
"Keyword",
"Keyword",
"Column",
"Keyword",
"Literal.String",
"Keyword",
"Keyword",
"Column",
"Keyword",
"Literal.Number"
],
"value": [
"select",
"c1",
"from",
"w",
"where",
"c2",
"=",
"'tampa bay'",
"order",
"by",
"c1_parsed",
"limit",
"1"
],
"span_indices": [
[],
[],
[],
[],
[],
[],
[],
[
11,
12
],
[],
[],
[],
[],
[
3
]
]
} | {
"aligned_sql_token_type": [
"Column",
"None",
"Column",
"Column",
"None",
"None",
"None",
"None",
"None",
"Column",
"Column",
"Literal",
"Literal",
"None"
],
"aligned_sql_token_info": [
"c1",
null,
"c1_parsed",
"c1_parsed",
null,
null,
null,
null,
null,
"c2",
"c2",
null,
null,
null
]
} | {
"nl_indices": [
[
0
],
[
2,
3
],
[
11,
12
],
[
9,
10
]
],
"sql_indices": [
[
1
],
[
8,
9,
10,
11,
12
],
[
7
],
[
5
]
]
} |
nt-6738 | 203_343 | {
"raw_header": [
"date",
"winning team",
"score",
"losing team",
"score",
"ot",
"city",
"state/province",
"arena",
"attendance"
],
"tokenized_header": [
[
"date"
],
[
"winning",
"team"
],
[
"score"
],
[
"losing",
"team"
],
[
"score"
],
[
"ot"
],
[
"city"
],
[
"state\\\\/province"
],
[
"arena"
],
[
"attendance"
]
],
"column_suffixes": [
[
"number",
"parsed",
"year",
"month",
"day"
],
[],
[
"number"
],
[],
[
"number"
],
[],
[],
[],
[],
[
"number"
]
],
"column_dtype": [
"date",
"text",
"number",
"text",
"number",
"score",
"text",
"text",
"text",
"number"
],
"example": [
"october 21, 1993",
"st. louis",
"5",
"san jose",
"2",
"(ot)",
"sacramento",
"ca",
"arco arena",
"7144"
]
} | [
"how",
"many",
"events",
"occurred",
"in",
"minneapolis",
",",
"mn",
"?"
] | [
"WRB",
"JJ",
"NNS",
"VBD",
"IN",
"NNP",
",",
"NN",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"LOCATION",
"O",
"O",
"O"
] | [
false,
false,
false,
false,
false,
false,
false,
false,
false
] | [
false,
false,
false,
false,
false,
true,
true,
true,
false
] | [
false,
false,
false,
false,
false,
false,
false,
false,
false,
false
] | 6 | {
"sql_type": [
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Column",
"Keyword",
"Literal.String"
],
"value": [
"select",
"count",
"(",
"*",
")",
"from",
"w",
"where",
"c7",
"=",
"'minneapolis'"
],
"span_indices": [
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[
5,
5
]
]
} | {
"aligned_sql_token_type": [
"Keyword",
"Keyword",
"None",
"None",
"Column",
"Literal",
"None",
"None",
"None"
],
"aligned_sql_token_info": [
"['agg', 'agg_count']",
"['agg', 'agg_count']",
null,
null,
"c7",
null,
null,
null,
null
]
} | {
"nl_indices": [
[
5
],
[
1,
0
],
[
4
]
],
"sql_indices": [
[
10
],
[
1,
2,
3,
4
],
[
8
]
]
} |
nt-6901 | 203_343 | {
"raw_header": [
"date",
"winning team",
"score",
"losing team",
"score",
"ot",
"city",
"state/province",
"arena",
"attendance"
],
"tokenized_header": [
[
"date"
],
[
"winning",
"team"
],
[
"score"
],
[
"losing",
"team"
],
[
"score"
],
[
"ot"
],
[
"city"
],
[
"state\\\\/province"
],
[
"arena"
],
[
"attendance"
]
],
"column_suffixes": [
[
"number",
"parsed",
"year",
"month",
"day"
],
[],
[
"number"
],
[],
[
"number"
],
[],
[],
[],
[],
[
"number"
]
],
"column_dtype": [
"date",
"text",
"number",
"text",
"number",
"score",
"text",
"text",
"text",
"number"
],
"example": [
"october 21, 1993",
"st. louis",
"5",
"san jose",
"2",
"(ot)",
"sacramento",
"ca",
"arco arena",
"7144"
]
} | [
"how",
"many",
"more",
"people",
"attended",
"the",
"november",
"18",
",",
"1993",
"games",
"than",
"the",
"november",
"9th",
"game",
"?"
] | [
"WRB",
"JJ",
"JJR",
"NNS",
"VBD",
"DT",
"NNP",
"CD",
",",
"CD",
"NNS",
"IN",
"DT",
"NNP",
"JJ",
"NN",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"DATE",
"DATE",
"DATE",
"DATE",
"O",
"O",
"O",
"DATE",
"DATE",
"O",
"O"
] | [
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false
] | [
false,
false,
false,
false,
false,
false,
true,
true,
true,
true,
false,
false,
false,
true,
false,
false,
false
] | [
false,
false,
false,
false,
false,
false,
false,
false,
false,
false
] | 8865 | {
"sql_type": [
"Keyword",
"Keyword",
"Keyword",
"Column",
"Keyword",
"Keyword",
"Keyword",
"Column",
"Keyword",
"Literal.String",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Column",
"Keyword",
"Keyword",
"Keyword",
"Column",
"Keyword",
"Literal.String",
"Keyword"
],
"value": [
"select",
"(",
"select",
"c10_number",
"from",
"w",
"where",
"c1",
"=",
"'november 18, 1993'",
")",
"-",
"(",
"select",
"c10_number",
"from",
"w",
"where",
"c1",
"=",
"'november 9, 1993'",
")"
],
"span_indices": [
[],
[],
[],
[],
[],
[],
[],
[],
[],
[
6,
9
],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[
13,
14
],
[]
]
} | {
"aligned_sql_token_type": [
"Keyword",
"Keyword",
"Keyword",
"Column",
"Column",
"None",
"Literal",
"Literal",
"Literal",
"Literal",
"None",
"Keyword",
"None",
"Literal",
"Literal",
"None",
"None"
],
"aligned_sql_token_info": [
"['diff', '']",
"['diff', '']",
"['diff', '']",
"c10_number",
"c10_number",
null,
null,
null,
null,
null,
null,
"['diff', '']",
null,
null,
null,
null,
null
]
} | {
"nl_indices": [
[
0,
1,
2,
11
],
[
3,
4
],
[
3,
4
],
[
6,
7,
8,
9
],
[
13,
14
]
],
"sql_indices": [
[
0,
1,
10,
11,
12,
21
],
[
3
],
[
14
],
[
9
],
[
20
]
]
} |
nt-6931 | 203_343 | {
"raw_header": [
"date",
"winning team",
"score",
"losing team",
"score",
"ot",
"city",
"state/province",
"arena",
"attendance"
],
"tokenized_header": [
[
"date"
],
[
"winning",
"team"
],
[
"score"
],
[
"losing",
"team"
],
[
"score"
],
[
"ot"
],
[
"city"
],
[
"state\\\\/province"
],
[
"arena"
],
[
"attendance"
]
],
"column_suffixes": [
[
"number",
"parsed",
"year",
"month",
"day"
],
[],
[
"number"
],
[],
[
"number"
],
[],
[],
[],
[],
[
"number"
]
],
"column_dtype": [
"date",
"text",
"number",
"text",
"number",
"score",
"text",
"text",
"text",
"number"
],
"example": [
"october 21, 1993",
"st. louis",
"5",
"san jose",
"2",
"(ot)",
"sacramento",
"ca",
"arco arena",
"7144"
]
} | [
"who",
"won",
"the",
"game",
"the",
"day",
"before",
"the",
"january",
"5",
",",
"1994",
"game",
"?"
] | [
"WP",
"VBD",
"DT",
"NN",
"DT",
"NN",
"IN",
"DT",
"NNP",
"CD",
",",
"CD",
"NN",
"."
] | [
"O",
"O",
"O",
"O",
"DATE",
"DATE",
"DATE",
"O",
"DATE",
"DATE",
"DATE",
"DATE",
"O",
"O"
] | [
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false
] | [
false,
false,
false,
false,
false,
false,
false,
false,
true,
true,
true,
true,
false,
false
] | [
false,
false,
false,
false,
false,
false,
false,
false,
false,
false
] | Tampa Bay | {
"sql_type": [
"Keyword",
"Column",
"Keyword",
"Keyword",
"Keyword",
"Column",
"Keyword",
"Literal.Number",
"Keyword",
"Column",
"Keyword",
"Literal.Number",
"Keyword",
"Column",
"Keyword",
"Literal.Number",
"Keyword",
"Keyword"
],
"value": [
"select",
"c2",
"from",
"w",
"where",
"c1_year",
"=",
"1994",
"and",
"c1_month",
"=",
"1",
"and",
"c1_day",
"=",
"5",
"-",
"1"
],
"span_indices": [
[],
[],
[],
[],
[],
[],
[],
[
11
],
[],
[],
[],
[
8
],
[],
[],
[],
[
9
],
[],
[]
]
} | {
"aligned_sql_token_type": [
"Column",
"Column",
"None",
"None",
"Keyword",
"Keyword",
"Keyword",
"None",
"Literal",
"Literal",
"None",
"Literal",
"None",
"None"
],
"aligned_sql_token_info": [
"c2",
"c2",
null,
null,
"['before', 'before_minus']",
"['before', 'before_minus']",
"['before', 'before_minus']",
null,
null,
null,
null,
null,
null,
null
]
} | {
"nl_indices": [
[
0,
1
],
[
8
],
[
9
],
[
11
],
[
5,
4,
6
]
],
"sql_indices": [
[
1
],
[
11
],
[
15
],
[
7
],
[
17,
16
]
]
} |
nt-11539 | 203_343 | {
"raw_header": [
"date",
"winning team",
"score",
"losing team",
"score",
"ot",
"city",
"state/province",
"arena",
"attendance"
],
"tokenized_header": [
[
"date"
],
[
"winning",
"team"
],
[
"score"
],
[
"losing",
"team"
],
[
"score"
],
[
"ot"
],
[
"city"
],
[
"state\\\\/province"
],
[
"arena"
],
[
"attendance"
]
],
"column_suffixes": [
[
"number",
"parsed",
"year",
"month",
"day"
],
[],
[
"number"
],
[],
[
"number"
],
[],
[],
[],
[],
[
"number"
]
],
"column_dtype": [
"date",
"text",
"number",
"text",
"number",
"score",
"text",
"text",
"text",
"number"
],
"example": [
"october 21, 1993",
"st. louis",
"5",
"san jose",
"2",
"(ot)",
"sacramento",
"ca",
"arco arena",
"7144"
]
} | [
"how",
"many",
"games",
"have",
"been",
"held",
"in",
"minneapolis",
"?"
] | [
"WRB",
"JJ",
"NNS",
"VBD-AUX",
"VBD-AUX",
"VBN",
"IN",
"NNP",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"LOCATION",
"O"
] | [
false,
false,
false,
false,
false,
false,
false,
false,
false
] | [
false,
false,
false,
false,
false,
false,
false,
true,
false
] | [
false,
false,
false,
false,
false,
false,
false,
false,
false,
false
] | 6 | {
"sql_type": [
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Column",
"Keyword",
"Literal.String"
],
"value": [
"select",
"count",
"(",
"*",
")",
"from",
"w",
"where",
"c7",
"=",
"'minneapolis'"
],
"span_indices": [
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[
7,
7
]
]
} | {
"aligned_sql_token_type": [
"Keyword",
"Keyword",
"None",
"None",
"None",
"None",
"Column",
"Literal",
"None"
],
"aligned_sql_token_info": [
"['agg', 'agg_count']",
"['agg', 'agg_count']",
null,
null,
null,
null,
"c7",
null,
null
]
} | {
"nl_indices": [
[
7
],
[
1,
0
],
[
6
]
],
"sql_indices": [
[
10
],
[
1,
2,
3,
4
],
[
8
]
]
} |
nt-11629 | 203_343 | {
"raw_header": [
"date",
"winning team",
"score",
"losing team",
"score",
"ot",
"city",
"state/province",
"arena",
"attendance"
],
"tokenized_header": [
[
"date"
],
[
"winning",
"team"
],
[
"score"
],
[
"losing",
"team"
],
[
"score"
],
[
"ot"
],
[
"city"
],
[
"state\\\\/province"
],
[
"arena"
],
[
"attendance"
]
],
"column_suffixes": [
[
"number",
"parsed",
"year",
"month",
"day"
],
[],
[
"number"
],
[],
[
"number"
],
[],
[],
[],
[],
[
"number"
]
],
"column_dtype": [
"date",
"text",
"number",
"text",
"number",
"score",
"text",
"text",
"text",
"number"
],
"example": [
"october 21, 1993",
"st. louis",
"5",
"san jose",
"2",
"(ot)",
"sacramento",
"ca",
"arco arena",
"7144"
]
} | [
"the",
"game",
"on",
"which",
"date",
"had",
"the",
"most",
"attendance",
"?"
] | [
"DT",
"NN",
"IN",
"WDT",
"NN",
"VBD-AUX",
"DT",
"JJS",
"NN",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] | [
false,
false,
false,
false,
true,
false,
false,
false,
true,
false
] | [
false,
false,
true,
false,
false,
false,
false,
false,
false,
false
] | [
true,
false,
false,
false,
false,
false,
false,
false,
false,
true
] | January 4, 1994 | {
"sql_type": [
"Keyword",
"Column",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Column",
"Keyword",
"Keyword",
"Keyword"
],
"value": [
"select",
"c1",
"from",
"w",
"order",
"by",
"c10_number",
"desc",
"limit",
"1"
],
"span_indices": [
[],
[],
[],
[],
[],
[],
[],
[],
[],
[]
]
} | {
"aligned_sql_token_type": [
"None",
"None",
"None",
"None",
"Column",
"None",
"Keyword",
"Keyword",
"Column",
"None"
],
"aligned_sql_token_info": [
null,
null,
null,
null,
"c1",
null,
"['sort', 'sort_desc']",
"['sort', 'sort_desc']",
"c10_number",
null
]
} | {
"nl_indices": [
[
4
],
[
6,
7
],
[
8
]
],
"sql_indices": [
[
1
],
[
5,
4,
7,
8,
9
],
[
6
]
]
} |
nt-13429 | 203_343 | {
"raw_header": [
"date",
"winning team",
"score",
"losing team",
"score",
"ot",
"city",
"state/province",
"arena",
"attendance"
],
"tokenized_header": [
[
"date"
],
[
"winning",
"team"
],
[
"score"
],
[
"losing",
"team"
],
[
"score"
],
[
"ot"
],
[
"city"
],
[
"state\\\\/province"
],
[
"arena"
],
[
"attendance"
]
],
"column_suffixes": [
[
"number",
"parsed",
"year",
"month",
"day"
],
[],
[
"number"
],
[],
[
"number"
],
[],
[],
[],
[],
[
"number"
]
],
"column_dtype": [
"date",
"text",
"number",
"text",
"number",
"score",
"text",
"text",
"text",
"number"
],
"example": [
"october 21, 1993",
"st. louis",
"5",
"san jose",
"2",
"(ot)",
"sacramento",
"ca",
"arco arena",
"7144"
]
} | [
"did",
"dallas",
"or",
"ottawa",
"win",
"the",
"december",
"9",
",",
"1993",
"game",
"?"
] | [
"VBD-AUX",
"NNP",
"CC",
"NNP",
"VBP",
"DT",
"NNP",
"CD",
",",
"CD",
"NN",
"."
] | [
"O",
"LOCATION",
"O",
"LOCATION",
"O",
"O",
"DATE",
"DATE",
"DATE",
"DATE",
"O",
"O"
] | [
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false
] | [
false,
true,
false,
true,
false,
false,
true,
true,
true,
true,
false,
false
] | [
false,
false,
false,
false,
false,
false,
false,
false,
false,
false
] | Dallas | {
"sql_type": [
"Keyword",
"Column",
"Keyword",
"Keyword",
"Keyword",
"Column",
"Keyword",
"Literal.String"
],
"value": [
"select",
"c2",
"from",
"w",
"where",
"c1",
"=",
"'december 9, 1993'"
],
"span_indices": [
[],
[],
[],
[],
[],
[],
[],
[
6,
9
]
]
} | {
"aligned_sql_token_type": [
"None",
"None",
"None",
"None",
"Column",
"None",
"Literal",
"Literal",
"Literal",
"Literal",
"Column",
"None"
],
"aligned_sql_token_info": [
null,
null,
null,
null,
"c2",
null,
null,
null,
null,
null,
"c1",
null
]
} | {
"nl_indices": [
[
4
],
[
6,
7,
9,
8
],
[
10
]
],
"sql_indices": [
[
1
],
[
7
],
[
5
]
]
} |
nt-2146 | 203_406 | {
"raw_header": [
"entrant",
"constructor",
"chassis",
"engine",
"tyre",
"driver",
"rounds"
],
"tokenized_header": [
[
"entrant"
],
[
"constructor"
],
[
"chassis"
],
[
"engine"
],
[
"tyre"
],
[
"driver"
],
[
"rounds"
]
],
"column_suffixes": [
[],
[
"list",
"length"
],
[
"list",
"length"
],
[],
[],
[],
[
"list",
"length",
"list_number",
"list_number1",
"list_number2"
]
],
"column_dtype": [
"text",
"<d,text>",
"<n, text>",
"text",
"text",
"text",
"<c, score>"
],
"example": [
"scuderia ferrari spa sefac",
"ferrari",
"156",
"ferrari 178 1.5 v6",
"d",
"phil hill",
"1-3, 5-7"
]
} | [
"what",
"is",
"the",
"total",
"amount",
"of",
"times",
"porsche",
"is",
"a",
"constructor",
"?"
] | [
"WP",
"VBD-AUX",
"DT",
"JJ",
"NN",
"IN",
"NNS",
"NNP",
"VBD-AUX",
"DT",
"NN",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] | [
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
true,
false
] | [
false,
false,
false,
false,
false,
false,
false,
true,
false,
false,
false,
false
] | [
false,
true,
false,
false,
false,
false,
false
] | 4 | {
"sql_type": [
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Column",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Column",
"Keyword",
"Literal.String"
],
"value": [
"select",
"count",
"(",
"distinct",
"c1",
")",
"from",
"w",
"where",
"c2_list",
"=",
"'porsche'"
],
"span_indices": [
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[
7,
7
]
]
} | {
"aligned_sql_token_type": [
"None",
"None",
"None",
"Column",
"Column",
"Column",
"Column",
"Literal",
"None",
"None",
"Column",
"None"
],
"aligned_sql_token_info": [
null,
null,
null,
"c1",
"c1",
"c1",
"c1",
null,
null,
null,
"c2_list",
null
]
} | {
"nl_indices": [
[
3,
4,
5,
6
],
[
7
],
[
10
]
],
"sql_indices": [
[
1,
2,
5,
3,
4
],
[
11
],
[
9
]
]
} |
nt-2695 | 203_406 | {
"raw_header": [
"entrant",
"constructor",
"chassis",
"engine",
"tyre",
"driver",
"rounds"
],
"tokenized_header": [
[
"entrant"
],
[
"constructor"
],
[
"chassis"
],
[
"engine"
],
[
"tyre"
],
[
"driver"
],
[
"rounds"
]
],
"column_suffixes": [
[],
[
"list",
"length"
],
[
"list",
"length"
],
[],
[],
[],
[
"list",
"length",
"list_number",
"list_number1",
"list_number2"
]
],
"column_dtype": [
"text",
"<d,text>",
"<n, text>",
"text",
"text",
"text",
"<c, score>"
],
"example": [
"scuderia ferrari spa sefac",
"ferrari",
"156",
"ferrari 178 1.5 v6",
"d",
"phil hill",
"1-3, 5-7"
]
} | [
"how",
"many",
"drivers",
"drove",
"all",
"the",
"rounds",
"?"
] | [
"WRB",
"JJ",
"NNS",
"VBD",
"PDT",
"DT",
"NNS",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] | [
false,
false,
false,
false,
false,
false,
true,
false
] | [
false,
false,
false,
false,
true,
false,
false,
false
] | [
false,
false,
false,
false,
false,
false,
true
] | 8 | {
"sql_type": [
"Keyword",
"Keyword",
"Keyword",
"Column",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Column",
"Keyword",
"Literal.String"
],
"value": [
"select",
"count",
"(",
"c6",
")",
"from",
"w",
"where",
"c7",
"=",
"'all'"
],
"span_indices": [
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[
4,
4
]
]
} | {
"aligned_sql_token_type": [
"Keyword",
"Keyword",
"Column",
"None",
"Literal",
"None",
"Column",
"None"
],
"aligned_sql_token_info": [
"['agg', 'agg_count']",
"['agg', 'agg_count']",
"c6",
null,
null,
null,
"c7",
null
]
} | {
"nl_indices": [
[
1,
0
],
[
2
],
[
6
],
[
4
]
],
"sql_indices": [
[
1,
2,
4
],
[
3
],
[
8
],
[
10
]
]
} |
nt-3505 | 203_406 | {
"raw_header": [
"entrant",
"constructor",
"chassis",
"engine",
"tyre",
"driver",
"rounds"
],
"tokenized_header": [
[
"entrant"
],
[
"constructor"
],
[
"chassis"
],
[
"engine"
],
[
"tyre"
],
[
"driver"
],
[
"rounds"
]
],
"column_suffixes": [
[],
[
"list",
"length"
],
[
"list",
"length"
],
[],
[],
[],
[
"list",
"length",
"list_number",
"list_number1",
"list_number2"
]
],
"column_dtype": [
"text",
"<d,text>",
"<n, text>",
"text",
"text",
"text",
"<c, score>"
],
"example": [
"scuderia ferrari spa sefac",
"ferrari",
"156",
"ferrari 178 1.5 v6",
"d",
"phil hill",
"1-3, 5-7"
]
} | [
"was",
"the",
"ferrari",
"engine",
"used",
"by",
"scuderia",
"ferrari",
"a",
"v6",
"or",
"v8",
"?"
] | [
"VBD-AUX",
"DT",
"NNP",
"NN",
"VBN",
"IN",
"NNP",
"NNP",
"DT",
"NN",
"CC",
"NN",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"ORGANIZATION",
"ORGANIZATION",
"O",
"O",
"O",
"O",
"O"
] | [
false,
false,
false,
true,
false,
false,
false,
false,
false,
false,
false,
false,
false
] | [
false,
false,
true,
false,
false,
false,
true,
true,
false,
true,
false,
true,
false
] | [
false,
false,
false,
true,
false,
false,
false
] | V6 | {
"sql_type": [
"Keyword",
"Keyword",
"Column",
"Keyword",
"Keyword",
"Keyword",
"Column",
"Keyword",
"Literal.String"
],
"value": [
"select",
"distinct",
"c4",
"from",
"w",
"where",
"c1",
"=",
"'scuderia ferrari spa sefac'"
],
"span_indices": [
[],
[],
[],
[],
[],
[],
[],
[],
[
6,
7
]
]
} | {
"aligned_sql_token_type": [
"None",
"None",
"None",
"Column",
"None",
"None",
"Literal",
"Literal",
"None",
"None",
"None",
"None",
"None"
],
"aligned_sql_token_info": [
null,
null,
null,
"c4",
null,
null,
null,
null,
null,
null,
null,
null,
null
]
} | {
"nl_indices": [
[
6,
7
],
[
3
]
],
"sql_indices": [
[
8
],
[
2,
1
]
]
} |
nt-10946 | 203_406 | {
"raw_header": [
"entrant",
"constructor",
"chassis",
"engine",
"tyre",
"driver",
"rounds"
],
"tokenized_header": [
[
"entrant"
],
[
"constructor"
],
[
"chassis"
],
[
"engine"
],
[
"tyre"
],
[
"driver"
],
[
"rounds"
]
],
"column_suffixes": [
[],
[
"list",
"length"
],
[
"list",
"length"
],
[],
[],
[],
[
"list",
"length",
"list_number",
"list_number1",
"list_number2"
]
],
"column_dtype": [
"text",
"<d,text>",
"<n, text>",
"text",
"text",
"text",
"<c, score>"
],
"example": [
"scuderia ferrari spa sefac",
"ferrari",
"156",
"ferrari 178 1.5 v6",
"d",
"phil hill",
"1-3, 5-7"
]
} | [
"what",
"was",
"the",
"average",
"tyre",
"used",
"in",
"the",
"race",
"?"
] | [
"WP",
"VBD-AUX",
"DT",
"JJ",
"NNP",
"VBN",
"IN",
"DT",
"NN",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] | [
false,
false,
false,
false,
true,
false,
false,
false,
false,
false
] | [
false,
false,
false,
false,
false,
false,
false,
false,
false,
false
] | [
false,
false,
false,
false,
true,
false,
false
] | D | {
"sql_type": [
"Keyword",
"Keyword",
"Column",
"Keyword",
"Keyword"
],
"value": [
"select",
"distinct",
"c5",
"from",
"w"
],
"span_indices": [
[],
[],
[],
[],
[]
]
} | {
"aligned_sql_token_type": [
"None",
"None",
"None",
"Keyword",
"Column",
"None",
"None",
"None",
"None",
"None"
],
"aligned_sql_token_info": [
null,
null,
null,
"['conj', 'conj_or']",
"c5",
null,
null,
null,
null,
null
]
} | {
"nl_indices": [
[
3
],
[
4
]
],
"sql_indices": [
[
1
],
[
2
]
]
} |
nt-11135 | 203_406 | {
"raw_header": [
"entrant",
"constructor",
"chassis",
"engine",
"tyre",
"driver",
"rounds"
],
"tokenized_header": [
[
"entrant"
],
[
"constructor"
],
[
"chassis"
],
[
"engine"
],
[
"tyre"
],
[
"driver"
],
[
"rounds"
]
],
"column_suffixes": [
[],
[
"list",
"length"
],
[
"list",
"length"
],
[],
[],
[],
[
"list",
"length",
"list_number",
"list_number1",
"list_number2"
]
],
"column_dtype": [
"text",
"<d,text>",
"<n, text>",
"text",
"text",
"text",
"<c, score>"
],
"example": [
"scuderia ferrari spa sefac",
"ferrari",
"156",
"ferrari 178 1.5 v6",
"d",
"phil hill",
"1-3, 5-7"
]
} | [
"what",
"brand",
"has",
"been",
"constructor",
"the",
"most",
"?"
] | [
"WDT",
"NN",
"VBD-AUX",
"VBD-AUX",
"VBN",
"DT",
"RBS",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] | [
false,
false,
false,
false,
true,
false,
false,
false
] | [
false,
false,
false,
false,
false,
false,
false,
false
] | [
false,
true,
false,
false,
false,
false,
false
] | Lotus-Climax | {
"sql_type": [
"Keyword",
"Column",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Column",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Keyword"
],
"value": [
"select",
"c2",
"from",
"w",
"group",
"by",
"c2",
"order",
"by",
"count",
"(",
"*",
")",
"desc",
"limit",
"1"
],
"span_indices": [
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[]
]
} | {
"aligned_sql_token_type": [
"None",
"None",
"None",
"None",
"Column",
"Keyword",
"Keyword",
"None"
],
"aligned_sql_token_info": [
null,
null,
null,
null,
"c2",
"['sort', 'sort_desc_group_count']",
"['sort', 'sort_desc_group_count']",
null
]
} | {
"nl_indices": [
[
4
],
[
4
],
[
5,
6
]
],
"sql_indices": [
[
1
],
[
6
],
[
4,
5,
7,
8,
9,
10,
11,
12,
13,
14,
15
]
]
} |
nt-11360 | 203_406 | {
"raw_header": [
"entrant",
"constructor",
"chassis",
"engine",
"tyre",
"driver",
"rounds"
],
"tokenized_header": [
[
"entrant"
],
[
"constructor"
],
[
"chassis"
],
[
"engine"
],
[
"tyre"
],
[
"driver"
],
[
"rounds"
]
],
"column_suffixes": [
[],
[
"list",
"length"
],
[
"list",
"length"
],
[],
[],
[],
[
"list",
"length",
"list_number",
"list_number1",
"list_number2"
]
],
"column_dtype": [
"text",
"<d,text>",
"<n, text>",
"text",
"text",
"text",
"<c, score>"
],
"example": [
"scuderia ferrari spa sefac",
"ferrari",
"156",
"ferrari 178 1.5 v6",
"d",
"phil hill",
"1-3, 5-7"
]
} | [
"what",
"entrant",
"is",
"listed",
"after",
"ecurie",
"excelsior",
"?"
] | [
"WDT",
"NN",
"VBD-AUX",
"VBN",
"IN",
"NN",
"NNP",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] | [
false,
true,
false,
false,
false,
false,
false,
false
] | [
false,
false,
false,
false,
false,
true,
true,
false
] | [
true,
false,
false,
false,
false,
false,
false
] | John Dalton | {
"sql_type": [
"Keyword",
"Column",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Column",
"Keyword",
"Literal.String",
"Keyword",
"Keyword",
"Keyword"
],
"value": [
"select",
"c1",
"from",
"w",
"where",
"id",
">",
"(",
"select",
"id",
"from",
"w",
"where",
"c1",
"=",
"'ecurie excelsior'",
")",
"limit",
"1"
],
"span_indices": [
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[
5,
6
],
[],
[],
[]
]
} | {
"aligned_sql_token_type": [
"None",
"Column",
"None",
"Keyword",
"Keyword",
"Literal",
"Literal",
"None"
],
"aligned_sql_token_info": [
null,
"c1",
null,
"['comp', 'comp_greater']",
"['comp', 'comp_greater']",
null,
null,
null
]
} | {
"nl_indices": [
[
1
],
[
1
],
[
4,
3
],
[
5,
6
]
],
"sql_indices": [
[
1
],
[
13
],
[
5,
6,
7,
9,
14,
16,
17,
18
],
[
15
]
]
} |
nt-4258 | 204_408 | {
"raw_header": [
"nation",
"1986",
"1989",
"1991",
"1997",
"1999",
"2000",
"2003",
"2005",
"2007",
"2009",
"2011",
"years"
],
"tokenized_header": [
[
"nation"
],
[
"1986"
],
[
"1989"
],
[
"1991"
],
[
"1997"
],
[
"1999"
],
[
"2000"
],
[
"2003"
],
[
"2005"
],
[
"2007"
],
[
"2009"
],
[
"2011"
],
[
"years"
]
],
"column_suffixes": [
[],
[
"number"
],
[
"number"
],
[
"number"
],
[
"number"
],
[
"number"
],
[
"number"
],
[
"number"
],
[
"number"
],
[
"number"
],
[
"number"
],
[
"number"
],
[
"number"
]
],
"column_dtype": [
"text",
"rank",
"rank",
"rank",
"rank",
"rank",
"rank",
"rank",
"rank",
"rank",
"rank",
"rank",
"number"
],
"example": [
"argentina",
"4th",
"3rd",
"4th",
"4th",
"3rd",
"4th",
"2nd",
"2nd",
"2nd",
"1st",
"2nd",
"10"
]
} | [
"which",
"nation",
"finished",
"higher",
"in",
"2000",
",",
"greenland",
"or",
"mexico",
"?"
] | [
"WDT",
"NN",
"VBD",
"JJR",
"IN",
"CD",
",",
"NNP",
"CC",
"NNP",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"DATE",
"O",
"LOCATION",
"O",
"LOCATION",
"O"
] | [
false,
true,
false,
false,
false,
true,
false,
false,
false,
false,
false
] | [
false,
false,
false,
false,
false,
false,
false,
true,
false,
true,
false
] | [
true,
false,
false,
false,
false,
false,
true,
false,
false,
false,
false,
false,
false
] | Greenland | {
"sql_type": [
"Keyword",
"Column",
"Keyword",
"Keyword",
"Keyword",
"Column",
"Keyword",
"Keyword",
"Literal.String",
"Keyword",
"Literal.String",
"Keyword",
"Keyword",
"Keyword",
"Column",
"Keyword",
"Keyword",
"Keyword"
],
"value": [
"select",
"c1",
"from",
"w",
"where",
"c1",
"in",
"(",
"'greenland'",
",",
"'mexico'",
")",
"order",
"by",
"c7_number",
"asc",
"limit",
"1"
],
"span_indices": [
[],
[],
[],
[],
[],
[],
[],
[],
[
7,
7
],
[],
[
9,
9
],
[],
[],
[],
[],
[],
[],
[]
]
} | {
"aligned_sql_token_type": [
"None",
"Column",
"Keyword",
"Keyword",
"None",
"Column",
"None",
"Literal",
"Keyword",
"Literal",
"None"
],
"aligned_sql_token_info": [
null,
"c1",
"['sort', 'sort_asc']",
"['sort', 'sort_asc']",
null,
"c7_number",
null,
null,
"['conj', 'conj_or']",
null,
null
]
} | {
"nl_indices": [
[
1
],
[
1
],
[
8
],
[
7
],
[
9
],
[
5
],
[
2,
3
]
],
"sql_indices": [
[
1
],
[
5
],
[
6,
7,
9,
11
],
[
8
],
[
10
],
[
14
],
[
12,
13,
15,
16,
17
]
]
} |
nt-5959 | 204_408 | {
"raw_header": [
"nation",
"1986",
"1989",
"1991",
"1997",
"1999",
"2000",
"2003",
"2005",
"2007",
"2009",
"2011",
"years"
],
"tokenized_header": [
[
"nation"
],
[
"1986"
],
[
"1989"
],
[
"1991"
],
[
"1997"
],
[
"1999"
],
[
"2000"
],
[
"2003"
],
[
"2005"
],
[
"2007"
],
[
"2009"
],
[
"2011"
],
[
"years"
]
],
"column_suffixes": [
[],
[
"number"
],
[
"number"
],
[
"number"
],
[
"number"
],
[
"number"
],
[
"number"
],
[
"number"
],
[
"number"
],
[
"number"
],
[
"number"
],
[
"number"
],
[
"number"
]
],
"column_dtype": [
"text",
"rank",
"rank",
"rank",
"rank",
"rank",
"rank",
"rank",
"rank",
"rank",
"rank",
"rank",
"number"
],
"example": [
"argentina",
"4th",
"3rd",
"4th",
"4th",
"3rd",
"4th",
"2nd",
"2nd",
"2nd",
"1st",
"2nd",
"10"
]
} | [
"what",
"is",
"the",
"total",
"number",
"of",
"nations",
"?"
] | [
"WP",
"VBD-AUX",
"DT",
"JJ",
"NN",
"IN",
"NNS",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] | [
false,
false,
false,
false,
false,
false,
false,
false
] | [
false,
false,
false,
false,
false,
false,
false,
false
] | [
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false
] | 16 | {
"sql_type": [
"Keyword",
"Keyword",
"Keyword",
"Column",
"Keyword",
"Keyword",
"Keyword"
],
"value": [
"select",
"count",
"(",
"c1",
")",
"from",
"w"
],
"span_indices": [
[],
[],
[],
[],
[],
[],
[]
]
} | {
"aligned_sql_token_type": [
"None",
"None",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Column",
"None"
],
"aligned_sql_token_info": [
null,
null,
"['agg', 'agg_count']",
"['agg', 'agg_count']",
"['agg', 'agg_count']",
"['agg', 'agg_count']",
"c1",
null
]
} | {
"nl_indices": [
[
6
],
[
2,
3,
4,
5
]
],
"sql_indices": [
[
3
],
[
1,
2,
4
]
]
} |
nt-9342 | 204_408 | {
"raw_header": [
"nation",
"1986",
"1989",
"1991",
"1997",
"1999",
"2000",
"2003",
"2005",
"2007",
"2009",
"2011",
"years"
],
"tokenized_header": [
[
"nation"
],
[
"1986"
],
[
"1989"
],
[
"1991"
],
[
"1997"
],
[
"1999"
],
[
"2000"
],
[
"2003"
],
[
"2005"
],
[
"2007"
],
[
"2009"
],
[
"2011"
],
[
"years"
]
],
"column_suffixes": [
[],
[
"number"
],
[
"number"
],
[
"number"
],
[
"number"
],
[
"number"
],
[
"number"
],
[
"number"
],
[
"number"
],
[
"number"
],
[
"number"
],
[
"number"
],
[
"number"
]
],
"column_dtype": [
"text",
"rank",
"rank",
"rank",
"rank",
"rank",
"rank",
"rank",
"rank",
"rank",
"rank",
"rank",
"number"
],
"example": [
"argentina",
"4th",
"3rd",
"4th",
"4th",
"3rd",
"4th",
"2nd",
"2nd",
"2nd",
"1st",
"2nd",
"10"
]
} | [
"who",
"placed",
"first",
"in",
"2007",
"?"
] | [
"WP",
"VBD",
"RB",
"IN",
"CD",
"."
] | [
"O",
"O",
"ORDINAL",
"O",
"DATE",
"O"
] | [
false,
false,
false,
false,
true,
false
] | [
false,
false,
false,
false,
false,
false
] | [
false,
false,
false,
false,
false,
false,
false,
false,
false,
true,
false,
false,
false
] | Brazil | {
"sql_type": [
"Keyword",
"Column",
"Keyword",
"Keyword",
"Keyword",
"Column",
"Keyword",
"Literal.Number"
],
"value": [
"select",
"c1",
"from",
"w",
"where",
"c10_number",
"=",
"1"
],
"span_indices": [
[],
[],
[],
[],
[],
[],
[],
[
2
]
]
} | {
"aligned_sql_token_type": [
"Column",
"Column",
"Literal",
"Column",
"Column",
"None"
],
"aligned_sql_token_info": [
"c1",
"c10_number",
null,
"c10_number",
"c10_number",
null
]
} | {
"nl_indices": [
[
0
],
[
1,
4,
3
],
[
2
]
],
"sql_indices": [
[
1
],
[
5
],
[
7
]
]
} |
nt-12525 | 204_408 | {
"raw_header": [
"nation",
"1986",
"1989",
"1991",
"1997",
"1999",
"2000",
"2003",
"2005",
"2007",
"2009",
"2011",
"years"
],
"tokenized_header": [
[
"nation"
],
[
"1986"
],
[
"1989"
],
[
"1991"
],
[
"1997"
],
[
"1999"
],
[
"2000"
],
[
"2003"
],
[
"2005"
],
[
"2007"
],
[
"2009"
],
[
"2011"
],
[
"years"
]
],
"column_suffixes": [
[],
[
"number"
],
[
"number"
],
[
"number"
],
[
"number"
],
[
"number"
],
[
"number"
],
[
"number"
],
[
"number"
],
[
"number"
],
[
"number"
],
[
"number"
],
[
"number"
]
],
"column_dtype": [
"text",
"rank",
"rank",
"rank",
"rank",
"rank",
"rank",
"rank",
"rank",
"rank",
"rank",
"rank",
"number"
],
"example": [
"argentina",
"4th",
"3rd",
"4th",
"4th",
"3rd",
"4th",
"2nd",
"2nd",
"2nd",
"1st",
"2nd",
"10"
]
} | [
"who",
"was",
"the",
"top",
"competitor",
"in",
"2009",
"?"
] | [
"WP",
"VBD-AUX",
"DT",
"JJ",
"NN",
"IN",
"CD",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"DATE",
"O"
] | [
false,
false,
false,
false,
false,
false,
true,
false
] | [
false,
false,
false,
false,
false,
false,
false,
false
] | [
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
true,
false,
false
] | Argentina | {
"sql_type": [
"Keyword",
"Column",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Column",
"Keyword",
"Keyword",
"Keyword"
],
"value": [
"select",
"c1",
"from",
"w",
"order",
"by",
"c11_number",
"asc",
"limit",
"1"
],
"span_indices": [
[],
[],
[],
[],
[],
[],
[],
[],
[],
[]
]
} | {
"aligned_sql_token_type": [
"None",
"None",
"Keyword",
"Keyword",
"Column",
"Column",
"Column",
"None"
],
"aligned_sql_token_info": [
null,
null,
"['sort', 'sort_asc']",
"['sort', 'sort_asc']",
"c1",
"c11_number",
"c11_number",
null
]
} | {
"nl_indices": [
[
4
],
[
3,
2
],
[
5,
6
]
],
"sql_indices": [
[
1
],
[
4,
5,
7,
8,
9
],
[
6
]
]
} |
nt-426 | 204_147 | {
"raw_header": [
"#",
"date",
"opponent",
"score",
"win",
"loss",
"save",
"attendance",
"record"
],
"tokenized_header": [
[
"#"
],
[
"date"
],
[
"opponent"
],
[
"score"
],
[
"win"
],
[
"loss"
],
[
"save"
],
[
"attendance"
],
[
"record"
]
],
"column_suffixes": [
[
"number"
],
[
"number",
"parsed",
"year",
"month",
"day"
],
[
"raw",
"home"
],
[
"number",
"number1",
"number2"
],
[
"first",
"second",
"second_number",
"second_number1",
"second_number2"
],
[
"first",
"second",
"second_number",
"second_number1",
"second_number2"
],
[
"first",
"second",
"second_number"
],
[
"number"
],
[
"number",
"number1",
"number2"
]
],
"column_dtype": [
"number",
"date",
"text",
"score",
"text(score)",
"text(score)",
"text(number)",
"number",
"score"
],
"example": [
"79",
"july 1",
"@ braves",
"8-4",
"gonzalez (11-3)",
"hudson (6-4)",
"betancourt (14)",
"18796",
"45-32"
]
} | [
"what",
"is",
"the",
"number",
"of",
"games",
"where",
"the",
"``",
"giants",
"''",
"the",
"opponent",
"?"
] | [
"WP",
"VBD-AUX",
"DT",
"NN",
"IN",
"NNS",
"WRB",
"DT",
"``",
"NNP",
"''",
"DT",
"NN",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] | [
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
true,
false
] | [
false,
false,
false,
false,
false,
false,
false,
false,
false,
true,
false,
false,
false,
false
] | [
false,
false,
true,
false,
false,
false,
false,
false,
false
] | 3 | {
"sql_type": [
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Column",
"Keyword",
"Literal.String"
],
"value": [
"select",
"count",
"(",
"*",
")",
"from",
"w",
"where",
"c3_raw",
"=",
"'giants'"
],
"span_indices": [
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[
9,
9
]
]
} | {
"aligned_sql_token_type": [
"None",
"None",
"Keyword",
"Keyword",
"Keyword",
"None",
"None",
"None",
"None",
"Literal",
"None",
"None",
"Column",
"None"
],
"aligned_sql_token_info": [
null,
null,
"['agg', 'agg_count']",
"['agg', 'agg_count']",
"['agg', 'agg_count']",
null,
null,
null,
null,
null,
null,
null,
"c3_raw",
null
]
} | {
"nl_indices": [
[
9
],
[
12
],
[
2,
3,
4
]
],
"sql_indices": [
[
10
],
[
8
],
[
1,
2,
3,
4
]
]
} |
nt-1830 | 204_147 | {
"raw_header": [
"#",
"date",
"opponent",
"score",
"win",
"loss",
"save",
"attendance",
"record"
],
"tokenized_header": [
[
"#"
],
[
"date"
],
[
"opponent"
],
[
"score"
],
[
"win"
],
[
"loss"
],
[
"save"
],
[
"attendance"
],
[
"record"
]
],
"column_suffixes": [
[
"number"
],
[
"number",
"parsed",
"year",
"month",
"day"
],
[
"raw",
"home"
],
[
"number",
"number1",
"number2"
],
[
"first",
"second",
"second_number",
"second_number1",
"second_number2"
],
[
"first",
"second",
"second_number",
"second_number1",
"second_number2"
],
[
"first",
"second",
"second_number"
],
[
"number"
],
[
"number",
"number1",
"number2"
]
],
"column_dtype": [
"number",
"date",
"text",
"score",
"text(score)",
"text(score)",
"text(number)",
"number",
"score"
],
"example": [
"79",
"july 1",
"@ braves",
"8-4",
"gonzalez (11-3)",
"hudson (6-4)",
"betancourt (14)",
"18796",
"45-32"
]
} | [
"what",
"is",
"the",
"number",
"of",
"saves",
"for",
"the",
"marlins"
] | [
"WP",
"VBD-AUX",
"DT",
"NN",
"IN",
"VBZ",
"IN",
"DT",
"NNPS"
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"ORGANIZATION"
] | [
false,
false,
false,
false,
false,
false,
false,
false,
false
] | [
false,
false,
false,
false,
false,
false,
false,
false,
true
] | [
false,
false,
false,
false,
false,
false,
false,
false,
false
] | 3 | {
"sql_type": [
"Keyword",
"Keyword",
"Keyword",
"Column",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Column",
"Keyword",
"Literal.String"
],
"value": [
"select",
"count",
"(",
"c7",
")",
"from",
"w",
"where",
"c3_raw",
"=",
"'marlins'"
],
"span_indices": [
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[
8,
8
]
]
} | {
"aligned_sql_token_type": [
"None",
"None",
"Keyword",
"Keyword",
"Keyword",
"Column",
"None",
"None",
"Literal"
],
"aligned_sql_token_info": [
null,
null,
"['agg', 'agg_count']",
"['agg', 'agg_count']",
"['agg', 'agg_count']",
"c7",
null,
null,
null
]
} | {
"nl_indices": [
[
2,
3,
4
],
[
5
],
[
8
]
],
"sql_indices": [
[
1,
2,
4
],
[
3
],
[
10
]
]
} |
nt-2784 | 204_147 | {
"raw_header": [
"#",
"date",
"opponent",
"score",
"win",
"loss",
"save",
"attendance",
"record"
],
"tokenized_header": [
[
"#"
],
[
"date"
],
[
"opponent"
],
[
"score"
],
[
"win"
],
[
"loss"
],
[
"save"
],
[
"attendance"
],
[
"record"
]
],
"column_suffixes": [
[
"number"
],
[
"number",
"parsed",
"year",
"month",
"day"
],
[
"raw",
"home"
],
[
"number",
"number1",
"number2"
],
[
"first",
"second",
"second_number",
"second_number1",
"second_number2"
],
[
"first",
"second",
"second_number",
"second_number1",
"second_number2"
],
[
"first",
"second",
"second_number"
],
[
"number"
],
[
"number",
"number1",
"number2"
]
],
"column_dtype": [
"number",
"date",
"text",
"score",
"text(score)",
"text(score)",
"text(number)",
"number",
"score"
],
"example": [
"79",
"july 1",
"@ braves",
"8-4",
"gonzalez (11-3)",
"hudson (6-4)",
"betancourt (14)",
"18796",
"45-32"
]
} | [
"how",
"many",
"games",
"had",
"an",
"attendance",
"of",
"more",
"than",
"30,000",
"?"
] | [
"WRB",
"JJ",
"NNS",
"VBD-AUX",
"DT",
"NN",
"IN",
"JJR",
"IN",
"CD",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"NUMBER",
"O"
] | [
false,
false,
false,
false,
false,
true,
false,
false,
false,
false,
false
] | [
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false
] | [
false,
false,
false,
false,
false,
false,
false,
true,
false
] | 15 | {
"sql_type": [
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Column",
"Keyword",
"Literal.Number"
],
"value": [
"select",
"count",
"(",
"*",
")",
"from",
"w",
"where",
"c8_number",
">",
"30000"
],
"span_indices": [
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[
9
]
]
} | {
"aligned_sql_token_type": [
"Keyword",
"Keyword",
"None",
"None",
"None",
"Column",
"None",
"Keyword",
"Keyword",
"Literal",
"None"
],
"aligned_sql_token_info": [
"['agg', 'agg_count']",
"['agg', 'agg_count']",
null,
null,
null,
"c8_number",
null,
"['comp', 'comp_greater']",
"['comp', 'comp_greater']",
null,
null
]
} | {
"nl_indices": [
[
9
],
[
8,
7
],
[
5
],
[
1,
0
]
],
"sql_indices": [
[
10
],
[
9
],
[
8
],
[
1,
2,
3,
4
]
]
} |
nt-4293 | 204_147 | {
"raw_header": [
"#",
"date",
"opponent",
"score",
"win",
"loss",
"save",
"attendance",
"record"
],
"tokenized_header": [
[
"#"
],
[
"date"
],
[
"opponent"
],
[
"score"
],
[
"win"
],
[
"loss"
],
[
"save"
],
[
"attendance"
],
[
"record"
]
],
"column_suffixes": [
[
"number"
],
[
"number",
"parsed",
"year",
"month",
"day"
],
[
"raw",
"home"
],
[
"number",
"number1",
"number2"
],
[
"first",
"second",
"second_number",
"second_number1",
"second_number2"
],
[
"first",
"second",
"second_number",
"second_number1",
"second_number2"
],
[
"first",
"second",
"second_number"
],
[
"number"
],
[
"number",
"number1",
"number2"
]
],
"column_dtype": [
"number",
"date",
"text",
"score",
"text(score)",
"text(score)",
"text(number)",
"number",
"score"
],
"example": [
"79",
"july 1",
"@ braves",
"8-4",
"gonzalez (11-3)",
"hudson (6-4)",
"betancourt (14)",
"18796",
"45-32"
]
} | [
"what",
"was",
"the",
"difference",
"in",
"attendance",
"between",
"the",
"july",
"7th",
"game",
"and",
"the",
"july",
"8th",
"game",
"?"
] | [
"WP",
"VBD-AUX",
"DT",
"NN",
"IN",
"NN",
"IN",
"DT",
"NNP",
"JJ",
"NN",
"CC",
"DT",
"NNP",
"JJ",
"NN",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"DATE",
"DATE",
"O",
"O",
"O",
"DATE",
"DATE",
"O",
"O"
] | [
false,
false,
false,
false,
false,
true,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false
] | [
false,
false,
false,
false,
true,
false,
false,
false,
true,
false,
true,
false,
false,
true,
false,
true,
false
] | [
false,
false,
false,
false,
false,
false,
false,
true,
false
] | 2907 | {
"sql_type": [
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Column",
"Keyword",
"Keyword",
"Keyword",
"Column",
"Keyword",
"Literal.String",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Column",
"Keyword",
"Keyword",
"Keyword",
"Column",
"Keyword",
"Literal.String",
"Keyword",
"Keyword"
],
"value": [
"select",
"abs",
"(",
"(",
"select",
"c8_number",
"from",
"w",
"where",
"c2",
"=",
"'july 7'",
")",
"-",
"(",
"select",
"c8_number",
"from",
"w",
"where",
"c2",
"=",
"'july 8'",
")",
")"
],
"span_indices": [
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[
8,
9
],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[
13,
14
],
[],
[]
]
} | {
"aligned_sql_token_type": [
"None",
"None",
"None",
"Keyword",
"None",
"Column",
"Keyword",
"None",
"Literal",
"Literal",
"None",
"Keyword",
"None",
"Literal",
"Literal",
"None",
"None"
],
"aligned_sql_token_info": [
null,
null,
null,
"['diff', '']",
null,
"c8_number",
"['diff', '']",
null,
null,
null,
null,
"['diff', '']",
null,
null,
null,
null,
null
]
} | {
"nl_indices": [
[
3,
6,
11
],
[
5
],
[
5
],
[
8,
9
],
[
13,
14
]
],
"sql_indices": [
[
0,
1,
2,
3,
24,
23,
12,
13,
14
],
[
5
],
[
16
],
[
11
],
[
22
]
]
} |
nt-7015 | 204_147 | {
"raw_header": [
"#",
"date",
"opponent",
"score",
"win",
"loss",
"save",
"attendance",
"record"
],
"tokenized_header": [
[
"#"
],
[
"date"
],
[
"opponent"
],
[
"score"
],
[
"win"
],
[
"loss"
],
[
"save"
],
[
"attendance"
],
[
"record"
]
],
"column_suffixes": [
[
"number"
],
[
"number",
"parsed",
"year",
"month",
"day"
],
[
"raw",
"home"
],
[
"number",
"number1",
"number2"
],
[
"first",
"second",
"second_number",
"second_number1",
"second_number2"
],
[
"first",
"second",
"second_number",
"second_number1",
"second_number2"
],
[
"first",
"second",
"second_number"
],
[
"number"
],
[
"number",
"number1",
"number2"
]
],
"column_dtype": [
"number",
"date",
"text",
"score",
"text(score)",
"text(score)",
"text(number)",
"number",
"score"
],
"example": [
"79",
"july 1",
"@ braves",
"8-4",
"gonzalez (11-3)",
"hudson (6-4)",
"betancourt (14)",
"18796",
"45-32"
]
} | [
"how",
"many",
"games",
"have",
"an",
"attendance",
"below",
"25,000",
"?"
] | [
"WRB",
"JJ",
"NNS",
"VBD-AUX",
"DT",
"NN",
"IN",
"CD",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"NUMBER",
"O"
] | [
false,
false,
false,
false,
false,
true,
false,
false,
false
] | [
false,
false,
false,
false,
false,
false,
false,
false,
false
] | [
false,
false,
false,
false,
false,
false,
false,
true,
false
] | 1 | {
"sql_type": [
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Column",
"Keyword",
"Literal.Number"
],
"value": [
"select",
"count",
"(",
"*",
")",
"from",
"w",
"where",
"c8_number",
"<",
"25000"
],
"span_indices": [
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[
7
]
]
} | {
"aligned_sql_token_type": [
"Keyword",
"Keyword",
"None",
"None",
"None",
"Column",
"Keyword",
"Literal",
"None"
],
"aligned_sql_token_info": [
"['agg', 'agg_count']",
"['agg', 'agg_count']",
null,
null,
null,
"c8_number",
"['comp', '']",
null,
null
]
} | {
"nl_indices": [
[
1,
0
],
[
5
],
[
6
],
[
7
]
],
"sql_indices": [
[
1,
2,
3,
4
],
[
8
],
[
9
],
[
10
]
]
} |
nt-10776 | 204_147 | {
"raw_header": [
"#",
"date",
"opponent",
"score",
"win",
"loss",
"save",
"attendance",
"record"
],
"tokenized_header": [
[
"#"
],
[
"date"
],
[
"opponent"
],
[
"score"
],
[
"win"
],
[
"loss"
],
[
"save"
],
[
"attendance"
],
[
"record"
]
],
"column_suffixes": [
[
"number"
],
[
"number",
"parsed",
"year",
"month",
"day"
],
[
"raw",
"home"
],
[
"number",
"number1",
"number2"
],
[
"first",
"second",
"second_number",
"second_number1",
"second_number2"
],
[
"first",
"second",
"second_number",
"second_number1",
"second_number2"
],
[
"first",
"second",
"second_number"
],
[
"number"
],
[
"number",
"number1",
"number2"
]
],
"column_dtype": [
"number",
"date",
"text",
"score",
"text(score)",
"text(score)",
"text(number)",
"number",
"score"
],
"example": [
"79",
"july 1",
"@ braves",
"8-4",
"gonzalez (11-3)",
"hudson (6-4)",
"betancourt (14)",
"18796",
"45-32"
]
} | [
"what",
"is",
"the",
"difference",
"in",
"attendance",
"between",
"the",
"game",
"on",
"july",
"7th",
"and",
"the",
"game",
"on",
"july",
"8th",
"?"
] | [
"WP",
"VBD-AUX",
"DT",
"NN",
"IN",
"NN",
"IN",
"DT",
"NN",
"IN",
"NNP",
"NNP",
"CC",
"DT",
"NN",
"IN",
"NNP",
"JJ",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"DATE",
"DATE",
"O",
"O",
"O",
"O",
"DATE",
"DATE",
"O"
] | [
false,
false,
false,
false,
false,
true,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false
] | [
false,
false,
false,
false,
true,
false,
false,
false,
true,
false,
true,
false,
false,
false,
true,
false,
true,
false,
false
] | [
false,
false,
false,
false,
false,
false,
false,
true,
false
] | 2907 | {
"sql_type": [
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Column",
"Keyword",
"Keyword",
"Keyword",
"Column",
"Keyword",
"Literal.String",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Column",
"Keyword",
"Keyword",
"Keyword",
"Column",
"Keyword",
"Literal.String",
"Keyword",
"Keyword"
],
"value": [
"select",
"abs",
"(",
"(",
"select",
"c8_number",
"from",
"w",
"where",
"c2",
"=",
"'july 7'",
")",
"-",
"(",
"select",
"c8_number",
"from",
"w",
"where",
"c2",
"=",
"'july 8'",
")",
")"
],
"span_indices": [
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[
10,
11
],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[
16,
17
],
[],
[]
]
} | {
"aligned_sql_token_type": [
"None",
"None",
"None",
"Keyword",
"None",
"Column",
"Keyword",
"None",
"None",
"Column",
"Literal",
"Literal",
"Keyword",
"None",
"None",
"Column",
"Literal",
"Literal",
"None"
],
"aligned_sql_token_info": [
null,
null,
null,
"['diff', '']",
null,
"c8_number",
"['diff', '']",
null,
null,
"c2",
null,
null,
"['diff', '']",
null,
null,
"c2",
null,
null,
null
]
} | {
"nl_indices": [
[
10,
11
],
[
16,
17
],
[
9
],
[
15
],
[
3,
6,
12
],
[
5
],
[
5
]
],
"sql_indices": [
[
11
],
[
22
],
[
9
],
[
20
],
[
0,
1,
2,
3,
23,
12,
13,
14,
24
],
[
5
],
[
16
]
]
} |
nt-12393 | 204_147 | {
"raw_header": [
"#",
"date",
"opponent",
"score",
"win",
"loss",
"save",
"attendance",
"record"
],
"tokenized_header": [
[
"#"
],
[
"date"
],
[
"opponent"
],
[
"score"
],
[
"win"
],
[
"loss"
],
[
"save"
],
[
"attendance"
],
[
"record"
]
],
"column_suffixes": [
[
"number"
],
[
"number",
"parsed",
"year",
"month",
"day"
],
[
"raw",
"home"
],
[
"number",
"number1",
"number2"
],
[
"first",
"second",
"second_number",
"second_number1",
"second_number2"
],
[
"first",
"second",
"second_number",
"second_number1",
"second_number2"
],
[
"first",
"second",
"second_number"
],
[
"number"
],
[
"number",
"number1",
"number2"
]
],
"column_dtype": [
"number",
"date",
"text",
"score",
"text(score)",
"text(score)",
"text(number)",
"number",
"score"
],
"example": [
"79",
"july 1",
"@ braves",
"8-4",
"gonzalez (11-3)",
"hudson (6-4)",
"betancourt (14)",
"18796",
"45-32"
]
} | [
"how",
"many",
"games",
"took",
"place",
"in",
"july",
"before",
"the",
"fourth",
"of",
"july",
"?"
] | [
"WRB",
"JJ",
"NNS",
"VBD",
"NN",
"IN",
"NNP",
"IN",
"DT",
"JJ",
"IN",
"NNP",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"DATE",
"DATE",
"DATE",
"DATE",
"DATE",
"DATE",
"DATE"
] | [
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false
] | [
false,
false,
false,
false,
false,
true,
true,
false,
false,
false,
false,
true,
false
] | [
false,
false,
false,
false,
false,
false,
false,
false,
false
] | 2 | {
"sql_type": [
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Column",
"Keyword",
"Literal.Number",
"Keyword",
"Column",
"Keyword",
"Literal.Number"
],
"value": [
"select",
"count",
"(",
"*",
")",
"from",
"w",
"where",
"c2_month",
"=",
"7",
"and",
"c2_day",
"<",
"4"
],
"span_indices": [
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[
6
],
[],
[],
[],
[
9
]
]
} | {
"aligned_sql_token_type": [
"Keyword",
"Keyword",
"None",
"None",
"None",
"Column",
"Literal",
"Keyword",
"None",
"Literal",
"None",
"None",
"None"
],
"aligned_sql_token_info": [
"['agg', 'agg_count']",
"['agg', 'agg_count']",
null,
null,
null,
"c2_month",
null,
"['comp', '']",
null,
null,
null,
null,
null
]
} | {
"nl_indices": [
[
0,
1
],
[
5
],
[
6
],
[
7
],
[
9
]
],
"sql_indices": [
[
1,
2,
3,
4
],
[
8
],
[
10
],
[
13
],
[
14
]
]
} |
nt-12538 | 204_147 | {
"raw_header": [
"#",
"date",
"opponent",
"score",
"win",
"loss",
"save",
"attendance",
"record"
],
"tokenized_header": [
[
"#"
],
[
"date"
],
[
"opponent"
],
[
"score"
],
[
"win"
],
[
"loss"
],
[
"save"
],
[
"attendance"
],
[
"record"
]
],
"column_suffixes": [
[
"number"
],
[
"number",
"parsed",
"year",
"month",
"day"
],
[
"raw",
"home"
],
[
"number",
"number1",
"number2"
],
[
"first",
"second",
"second_number",
"second_number1",
"second_number2"
],
[
"first",
"second",
"second_number",
"second_number1",
"second_number2"
],
[
"first",
"second",
"second_number"
],
[
"number"
],
[
"number",
"number1",
"number2"
]
],
"column_dtype": [
"number",
"date",
"text",
"score",
"text(score)",
"text(score)",
"text(number)",
"number",
"score"
],
"example": [
"79",
"july 1",
"@ braves",
"8-4",
"gonzalez (11-3)",
"hudson (6-4)",
"betancourt (14)",
"18796",
"45-32"
]
} | [
"which",
"player",
"with",
"the",
"most",
"saves"
] | [
"WDT",
"NN",
"IN",
"DT",
"RBS",
"VBZ"
] | [
"O",
"O",
"O",
"O",
"O",
"O"
] | [
false,
false,
false,
false,
false,
false
] | [
false,
false,
false,
false,
false,
false
] | [
false,
false,
false,
false,
false,
false,
false,
false,
false
] | Clippard | {
"sql_type": [
"Keyword",
"Column",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Column",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Keyword"
],
"value": [
"select",
"c7_first",
"from",
"w",
"group",
"by",
"c7_first",
"order",
"by",
"count",
"(",
"*",
")",
"desc",
"limit",
"1"
],
"span_indices": [
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[]
]
} | {
"aligned_sql_token_type": [
"None",
"None",
"None",
"Keyword",
"Keyword",
"Column"
],
"aligned_sql_token_info": [
null,
null,
null,
"['sort', 'sort_desc_group_count']",
"['sort', 'sort_desc_group_count']",
"c7_first"
]
} | {
"nl_indices": [
[
5
],
[
5
],
[
4,
3
]
],
"sql_indices": [
[
1
],
[
6
],
[
5,
4,
7,
8,
9,
10,
11,
12,
13,
14,
15
]
]
} |
nt-2269 | 204_15 | {
"raw_header": [
"year",
"date",
"venue",
"city",
"country",
"notes"
],
"tokenized_header": [
[
"year"
],
[
"date"
],
[
"venue"
],
[
"city"
],
[
"country"
],
[
"notes"
]
],
"column_suffixes": [
[
"number"
],
[
"minimum_number",
"minimum_parsed",
"minimum_day",
"minimum_month",
"minimum_year",
"maximum_number",
"maximum_parsed",
"maximum_day",
"maximum_month",
"maximum_year"
],
[],
[
"address"
],
[],
[]
],
"column_dtype": [
"number",
"timespan",
"text",
"address",
"text",
"text"
],
"example": [
"2012",
"oct 27 - 31",
"nara prefectural new public hall",
"nara",
"japan",
"isbn 1-59593-447-2"
]
} | [
"how",
"many",
"times",
"was",
"the",
"conference",
"not",
"held",
"in",
"the",
"us",
"?"
] | [
"WRB",
"JJ",
"NNS",
"VBD-AUX",
"DT",
"NN",
"RB",
"VBN",
"IN",
"DT",
"NNP",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"LOCATION",
"O"
] | [
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false
] | [
false,
false,
false,
false,
true,
false,
false,
false,
false,
true,
false,
false
] | [
false,
false,
false,
false,
false,
false
] | 9 | {
"sql_type": [
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Column",
"Keyword",
"Literal.String"
],
"value": [
"select",
"count",
"(",
"*",
")",
"from",
"w",
"where",
"c5",
"!=",
"'usa'"
],
"span_indices": [
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[
10,
10
]
]
} | {
"aligned_sql_token_type": [
"Keyword",
"Keyword",
"Keyword",
"None",
"None",
"None",
"Keyword",
"None",
"Column",
"None",
"Literal",
"None"
],
"aligned_sql_token_info": [
"['agg', 'agg_count']",
"['agg', 'agg_count']",
"['agg', 'agg_count']",
null,
null,
null,
"['comp', 'comp_not']",
null,
"c5",
null,
null,
null
]
} | {
"nl_indices": [
[
1,
0,
2
],
[
6
],
[
10
],
[
8
]
],
"sql_indices": [
[
1,
2,
3,
4
],
[
9
],
[
10
],
[
8
]
]
} |
nt-2910 | 204_15 | {
"raw_header": [
"year",
"date",
"venue",
"city",
"country",
"notes"
],
"tokenized_header": [
[
"year"
],
[
"date"
],
[
"venue"
],
[
"city"
],
[
"country"
],
[
"notes"
]
],
"column_suffixes": [
[
"number"
],
[
"minimum_number",
"minimum_parsed",
"minimum_day",
"minimum_month",
"minimum_year",
"maximum_number",
"maximum_parsed",
"maximum_day",
"maximum_month",
"maximum_year"
],
[],
[
"address"
],
[],
[]
],
"column_dtype": [
"number",
"timespan",
"text",
"address",
"text",
"text"
],
"example": [
"2012",
"oct 27 - 31",
"nara prefectural new public hall",
"nara",
"japan",
"isbn 1-59593-447-2"
]
} | [
"in",
"the",
"chart",
"is",
"nara",
"before",
"firenze",
"?"
] | [
"IN",
"DT",
"NN",
"VBD-AUX",
"NN",
"IN",
"NNP",
"."
] | [
"O",
"O",
"O",
"O",
"LOCATION",
"O",
"O",
"O"
] | [
false,
false,
false,
false,
false,
false,
false,
false
] | [
false,
true,
false,
false,
true,
false,
true,
false
] | [
false,
false,
false,
false,
false,
false
] | yes | {
"sql_type": [
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Column",
"Keyword",
"Literal.String",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Column",
"Keyword",
"Literal.String",
"Keyword"
],
"value": [
"select",
"(",
"select",
"id",
"from",
"w",
"where",
"c4_address",
"=",
"'nara'",
")",
"<",
"(",
"select",
"id",
"from",
"w",
"where",
"c4_address",
"=",
"'firenze'",
")"
],
"span_indices": [
[],
[],
[],
[],
[],
[],
[],
[],
[],
[
4,
4
],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[
6,
6
],
[]
]
} | {
"aligned_sql_token_type": [
"Keyword",
"Keyword",
"Keyword",
"None",
"Literal",
"Keyword",
"Literal",
"None"
],
"aligned_sql_token_info": [
"['comp', '']",
"['comp', '']",
"['comp', '']",
null,
null,
"['comp', '']",
null,
null
]
} | {
"nl_indices": [
[
5,
1,
0,
2
],
[
4
],
[
6
]
],
"sql_indices": [
[
0,
1,
10,
11,
12,
3,
21,
14
],
[
9
],
[
20
]
]
} |
nt-3338 | 204_15 | {
"raw_header": [
"year",
"date",
"venue",
"city",
"country",
"notes"
],
"tokenized_header": [
[
"year"
],
[
"date"
],
[
"venue"
],
[
"city"
],
[
"country"
],
[
"notes"
]
],
"column_suffixes": [
[
"number"
],
[
"minimum_number",
"minimum_parsed",
"minimum_day",
"minimum_month",
"minimum_year",
"maximum_number",
"maximum_parsed",
"maximum_day",
"maximum_month",
"maximum_year"
],
[],
[
"address"
],
[],
[]
],
"column_dtype": [
"number",
"timespan",
"text",
"address",
"text",
"text"
],
"example": [
"2012",
"oct 27 - 31",
"nara prefectural new public hall",
"nara",
"japan",
"isbn 1-59593-447-2"
]
} | [
"is",
"canada",
"at",
"least",
"on",
"the",
"chart",
"3",
"times",
"?"
] | [
"VBD-AUX",
"NNP",
"IN",
"JJS",
"IN",
"DT",
"NN",
"CD",
"NNS",
"."
] | [
"O",
"LOCATION",
"O",
"O",
"O",
"O",
"O",
"NUMBER",
"O",
"O"
] | [
false,
false,
false,
false,
false,
false,
false,
false,
false,
false
] | [
false,
true,
false,
false,
true,
true,
false,
true,
false,
false
] | [
false,
false,
false,
false,
false,
false
] | no | {
"sql_type": [
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Column",
"Keyword",
"Literal.String",
"Keyword",
"Keyword",
"Literal.Number"
],
"value": [
"select",
"(",
"select",
"count",
"(",
"*",
")",
"from",
"w",
"where",
"c5",
"=",
"'canada'",
")",
">",
"3"
],
"span_indices": [
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[
1,
1
],
[],
[],
[
7
]
]
} | {
"aligned_sql_token_type": [
"None",
"Literal",
"Keyword",
"Keyword",
"None",
"None",
"None",
"Literal",
"Keyword",
"None"
],
"aligned_sql_token_info": [
null,
null,
"['comp', 'comp_greater']",
"['comp', 'comp_greater']",
null,
null,
null,
null,
"['comp', 'comp_greater']",
null
]
} | {
"nl_indices": [
[
2,
3,
8
],
[
7
],
[
1
]
],
"sql_indices": [
[
0,
1,
13,
14,
3,
4,
5,
6
],
[
15
],
[
12
]
]
} |
nt-4443 | 204_15 | {
"raw_header": [
"year",
"date",
"venue",
"city",
"country",
"notes"
],
"tokenized_header": [
[
"year"
],
[
"date"
],
[
"venue"
],
[
"city"
],
[
"country"
],
[
"notes"
]
],
"column_suffixes": [
[
"number"
],
[
"minimum_number",
"minimum_parsed",
"minimum_day",
"minimum_month",
"minimum_year",
"maximum_number",
"maximum_parsed",
"maximum_day",
"maximum_month",
"maximum_year"
],
[],
[
"address"
],
[],
[]
],
"column_dtype": [
"number",
"timespan",
"text",
"address",
"text",
"text"
],
"example": [
"2012",
"oct 27 - 31",
"nara prefectural new public hall",
"nara",
"japan",
"isbn 1-59593-447-2"
]
} | [
"how",
"many",
"times",
"was",
"a",
"conference",
"held",
"in",
"san",
"francisco",
"?"
] | [
"WRB",
"JJ",
"NNS",
"VBD-AUX",
"DT",
"NN",
"VBN",
"IN",
"NNP",
"NNP",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"LOCATION",
"LOCATION",
"O"
] | [
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false
] | [
false,
false,
false,
false,
false,
false,
false,
false,
true,
true,
false
] | [
false,
false,
false,
false,
false,
false
] | 2 | {
"sql_type": [
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Column",
"Keyword",
"Literal.String"
],
"value": [
"select",
"count",
"(",
"*",
")",
"from",
"w",
"where",
"c4_address",
"=",
"'san francisco'"
],
"span_indices": [
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[
8,
9
]
]
} | {
"aligned_sql_token_type": [
"Keyword",
"Keyword",
"Keyword",
"None",
"None",
"None",
"Column",
"Column",
"Literal",
"Literal",
"None"
],
"aligned_sql_token_info": [
"['agg', 'agg_count']",
"['agg', 'agg_count']",
"['agg', 'agg_count']",
null,
null,
null,
"c4_address",
"c4_address",
null,
null,
null
]
} | {
"nl_indices": [
[
8,
9
],
[
6,
7
],
[
0,
1,
2
]
],
"sql_indices": [
[
10
],
[
8
],
[
1,
2,
3,
4
]
]
} |
nt-4687 | 204_15 | {
"raw_header": [
"year",
"date",
"venue",
"city",
"country",
"notes"
],
"tokenized_header": [
[
"year"
],
[
"date"
],
[
"venue"
],
[
"city"
],
[
"country"
],
[
"notes"
]
],
"column_suffixes": [
[
"number"
],
[
"minimum_number",
"minimum_parsed",
"minimum_day",
"minimum_month",
"minimum_year",
"maximum_number",
"maximum_parsed",
"maximum_day",
"maximum_month",
"maximum_year"
],
[],
[
"address"
],
[],
[]
],
"column_dtype": [
"number",
"timespan",
"text",
"address",
"text",
"text"
],
"example": [
"2012",
"oct 27 - 31",
"nara prefectural new public hall",
"nara",
"japan",
"isbn 1-59593-447-2"
]
} | [
"previous",
"to",
"2000",
",",
"what",
"city",
"was",
"listed",
"the",
"most",
"?"
] | [
"JJ",
"TO",
"CD",
",",
"WDT",
"NN",
"VBD-AUX",
"VBN",
"DT",
"RBS",
"."
] | [
"O",
"O",
"DATE",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] | [
false,
false,
false,
false,
false,
true,
false,
false,
false,
false,
false
] | [
false,
false,
true,
true,
false,
false,
false,
false,
true,
false,
false
] | [
false,
false,
false,
true,
false,
false
] | San Francisco, CA | {
"sql_type": [
"Keyword",
"Column",
"Keyword",
"Keyword",
"Keyword",
"Column",
"Keyword",
"Literal.Number",
"Keyword",
"Keyword",
"Column",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Keyword"
],
"value": [
"select",
"c4",
"from",
"w",
"where",
"c1_number",
"<",
"2000",
"group",
"by",
"c4",
"order",
"by",
"count",
"(",
"*",
")",
"desc",
"limit",
"1"
],
"span_indices": [
[],
[],
[],
[],
[],
[],
[],
[
2
],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[]
]
} | {
"aligned_sql_token_type": [
"Keyword",
"Keyword",
"Literal",
"None",
"None",
"Column",
"None",
"Keyword",
"Keyword",
"Keyword",
"None"
],
"aligned_sql_token_info": [
"['comp', '']",
"['comp', '']",
null,
null,
null,
"c4",
null,
"['sort', 'sort_desc_group_count']",
"['sort', 'sort_desc_group_count']",
"['sort', 'sort_desc_group_count']",
null
]
} | {
"nl_indices": [
[
5
],
[
5
],
[
8,
9,
7
],
[
0,
1
],
[
2
]
],
"sql_indices": [
[
1
],
[
10
],
[
8,
9,
11,
12,
13,
14,
15,
16,
17,
18,
19
],
[
6
],
[
7
]
]
} |
nt-7597 | 204_15 | {
"raw_header": [
"year",
"date",
"venue",
"city",
"country",
"notes"
],
"tokenized_header": [
[
"year"
],
[
"date"
],
[
"venue"
],
[
"city"
],
[
"country"
],
[
"notes"
]
],
"column_suffixes": [
[
"number"
],
[
"minimum_number",
"minimum_parsed",
"minimum_day",
"minimum_month",
"minimum_year",
"maximum_number",
"maximum_parsed",
"maximum_day",
"maximum_month",
"maximum_year"
],
[],
[
"address"
],
[],
[]
],
"column_dtype": [
"number",
"timespan",
"text",
"address",
"text",
"text"
],
"example": [
"2012",
"oct 27 - 31",
"nara prefectural new public hall",
"nara",
"japan",
"isbn 1-59593-447-2"
]
} | [
"where",
"was",
"the",
"previous",
"acm",
"multimedia",
"workshop",
"held",
"at",
"in",
"2012",
"?"
] | [
"WRB",
"VBD-AUX",
"DT",
"JJ",
"NN",
"NNS",
"NN",
"VBN",
"IN",
"IN",
"CD",
"."
] | [
"O",
"O",
"O",
"O",
"MISC",
"O",
"O",
"O",
"O",
"O",
"DATE",
"O"
] | [
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false
] | [
false,
false,
true,
false,
false,
false,
false,
false,
false,
false,
true,
false
] | [
false,
false,
false,
false,
false,
false
] | Nara Prefectural New Public Hall | {
"sql_type": [
"Keyword",
"Column",
"Keyword",
"Keyword",
"Keyword",
"Column",
"Keyword",
"Literal.Number"
],
"value": [
"select",
"c3",
"from",
"w",
"where",
"c1_number",
"=",
"2012"
],
"span_indices": [
[],
[],
[],
[],
[],
[],
[],
[
10
]
]
} | {
"aligned_sql_token_type": [
"Column",
"None",
"None",
"None",
"None",
"None",
"None",
"Column",
"Column",
"Column",
"Literal",
"None"
],
"aligned_sql_token_info": [
"c3",
null,
null,
null,
null,
null,
null,
"c3",
"c3",
"c1_number",
null,
null
]
} | {
"nl_indices": [
[
0,
7,
8
],
[
10
],
[
9
]
],
"sql_indices": [
[
1
],
[
7
],
[
5
]
]
} |
nt-8061 | 204_15 | {
"raw_header": [
"year",
"date",
"venue",
"city",
"country",
"notes"
],
"tokenized_header": [
[
"year"
],
[
"date"
],
[
"venue"
],
[
"city"
],
[
"country"
],
[
"notes"
]
],
"column_suffixes": [
[
"number"
],
[
"minimum_number",
"minimum_parsed",
"minimum_day",
"minimum_month",
"minimum_year",
"maximum_number",
"maximum_parsed",
"maximum_day",
"maximum_month",
"maximum_year"
],
[],
[
"address"
],
[],
[]
],
"column_dtype": [
"number",
"timespan",
"text",
"address",
"text",
"text"
],
"example": [
"2012",
"oct 27 - 31",
"nara prefectural new public hall",
"nara",
"japan",
"isbn 1-59593-447-2"
]
} | [
"is",
"the",
"usa",
"on",
"the",
"chart",
"more",
"or",
"less",
"than",
"7",
"times",
"?"
] | [
"VBD-AUX",
"DT",
"NN",
"IN",
"DT",
"NN",
"RBR",
"CC",
"RBR",
"IN",
"CD",
"NNS",
"."
] | [
"O",
"O",
"LOCATION",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"NUMBER",
"O",
"O"
] | [
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false
] | [
false,
true,
true,
true,
true,
false,
false,
false,
false,
false,
false,
false,
false
] | [
false,
false,
false,
false,
false,
false
] | more | {
"sql_type": [
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Column",
"Keyword",
"Literal.String",
"Keyword",
"Keyword",
"Literal.Number"
],
"value": [
"select",
"(",
"select",
"count",
"(",
"*",
")",
"from",
"w",
"where",
"c5",
"=",
"'usa'",
")",
">",
"7"
],
"span_indices": [
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[
2,
2
],
[],
[],
[
10
]
]
} | {
"aligned_sql_token_type": [
"None",
"None",
"Literal",
"None",
"None",
"None",
"Keyword",
"None",
"None",
"Keyword",
"Literal",
"Keyword",
"None"
],
"aligned_sql_token_info": [
null,
null,
null,
null,
null,
null,
"['comp', 'comp_greater']",
null,
null,
"['comp', 'comp_greater']",
null,
"['comp', 'comp_greater']",
null
]
} | {
"nl_indices": [
[
6,
9,
11
],
[
10
],
[
2
]
],
"sql_indices": [
[
0,
1,
13,
3,
4,
5,
6,
14
],
[
15
],
[
12
]
]
} |
nt-10914 | 204_15 | {
"raw_header": [
"year",
"date",
"venue",
"city",
"country",
"notes"
],
"tokenized_header": [
[
"year"
],
[
"date"
],
[
"venue"
],
[
"city"
],
[
"country"
],
[
"notes"
]
],
"column_suffixes": [
[
"number"
],
[
"minimum_number",
"minimum_parsed",
"minimum_day",
"minimum_month",
"minimum_year",
"maximum_number",
"maximum_parsed",
"maximum_day",
"maximum_month",
"maximum_year"
],
[],
[
"address"
],
[],
[]
],
"column_dtype": [
"number",
"timespan",
"text",
"address",
"text",
"text"
],
"example": [
"2012",
"oct 27 - 31",
"nara prefectural new public hall",
"nara",
"japan",
"isbn 1-59593-447-2"
]
} | [
"how",
"many",
"times",
"is",
"usa",
"listed",
"as",
"the",
"country",
"?"
] | [
"WRB",
"JJ",
"NNS",
"VBD-AUX",
"NNP",
"VBN",
"IN",
"DT",
"NN",
"."
] | [
"O",
"O",
"O",
"O",
"LOCATION",
"O",
"O",
"O",
"O",
"O"
] | [
false,
false,
false,
false,
false,
false,
false,
false,
true,
false
] | [
false,
false,
false,
false,
true,
false,
false,
true,
false,
false
] | [
false,
false,
false,
false,
true,
false
] | 11 | {
"sql_type": [
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Column",
"Keyword",
"Literal.String"
],
"value": [
"select",
"count",
"(",
"*",
")",
"from",
"w",
"where",
"c5",
"=",
"'usa'"
],
"span_indices": [
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[
4,
4
]
]
} | {
"aligned_sql_token_type": [
"Keyword",
"Keyword",
"Keyword",
"None",
"Literal",
"None",
"None",
"None",
"Column",
"None"
],
"aligned_sql_token_info": [
"['agg', 'agg_count']",
"['agg', 'agg_count']",
"['agg', 'agg_count']",
null,
null,
null,
null,
null,
"c5",
null
]
} | {
"nl_indices": [
[
4
],
[
8
],
[
1,
0,
2
]
],
"sql_indices": [
[
10
],
[
8
],
[
1,
2,
3,
4
]
]
} |
nt-1544 | 204_634 | {
"raw_header": [
"tour",
"official title",
"venue",
"city",
"date\nstart",
"date\nfinish",
"prize money\nusd",
"report"
],
"tokenized_header": [
[
"tour"
],
[
"official",
"title"
],
[
"venue"
],
[
"city"
],
[
"date",
"start"
],
[
"date",
"finish"
],
[
"prize",
"money",
"usd"
],
[
"report"
]
],
"column_suffixes": [
[
"number"
],
[],
[],
[],
[
"number",
"parsed",
"year",
"month",
"day"
],
[
"number",
"parsed",
"year",
"month",
"day"
],
[
"number"
],
[]
],
"column_dtype": [
"number",
"text",
"text",
"text",
"date",
"date",
"number",
"text"
],
"example": [
"1",
"korea open super series premier",
"seoul national university gymnasium",
"seoul",
"january 8",
"january 13",
"1,000,000",
"report"
]
} | [
"does",
"the",
"malaysia",
"open",
"super",
"series",
"pay",
"more",
"or",
"less",
"than",
"french",
"super",
"series",
"?"
] | [
"VBD-AUX",
"DT",
"NNP",
"JJ",
"NNP",
"NNP",
"VB",
"JJR",
"CC",
"JJR",
"IN",
"JJ",
"JJ",
"NN",
"."
] | [
"O",
"O",
"MISC",
"MISC",
"MISC",
"MISC",
"O",
"O",
"O",
"O",
"O",
"MISC",
"O",
"O",
"O"
] | [
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false
] | [
false,
false,
true,
true,
true,
true,
false,
false,
false,
false,
false,
true,
true,
true,
false
] | [
false,
false,
false,
false,
false,
false,
false,
false
] | more | {
"sql_type": [
"Keyword",
"Keyword",
"Keyword",
"Column",
"Keyword",
"Keyword",
"Keyword",
"Column",
"Keyword",
"Literal.String",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Column",
"Keyword",
"Keyword",
"Keyword",
"Column",
"Keyword",
"Literal.String",
"Keyword"
],
"value": [
"select",
"(",
"select",
"c7_number",
"from",
"w",
"where",
"c2",
"=",
"'malaysia open super series'",
")",
">",
"(",
"select",
"c7_number",
"from",
"w",
"where",
"c2",
"=",
"'french super series'",
")"
],
"span_indices": [
[],
[],
[],
[],
[],
[],
[],
[],
[],
[
2,
5
],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[
11,
13
],
[]
]
} | {
"aligned_sql_token_type": [
"None",
"None",
"Literal",
"Literal",
"Literal",
"Literal",
"Column",
"Keyword",
"None",
"None",
"Keyword",
"Literal",
"Literal",
"Literal",
"None"
],
"aligned_sql_token_info": [
null,
null,
null,
null,
null,
null,
"c7_number",
"['comp', 'comp_greater']",
null,
null,
"['comp', 'comp_greater']",
null,
null,
null,
null
]
} | {
"nl_indices": [
[
7,
10
],
[
2,
3,
4,
5
],
[
6
],
[
11,
12,
13
],
[
6
]
],
"sql_indices": [
[
0,
1,
10,
11,
12,
21
],
[
9
],
[
3
],
[
20
],
[
14
]
]
} |
nt-2593 | 204_634 | {
"raw_header": [
"tour",
"official title",
"venue",
"city",
"date\nstart",
"date\nfinish",
"prize money\nusd",
"report"
],
"tokenized_header": [
[
"tour"
],
[
"official",
"title"
],
[
"venue"
],
[
"city"
],
[
"date",
"start"
],
[
"date",
"finish"
],
[
"prize",
"money",
"usd"
],
[
"report"
]
],
"column_suffixes": [
[
"number"
],
[],
[],
[],
[
"number",
"parsed",
"year",
"month",
"day"
],
[
"number",
"parsed",
"year",
"month",
"day"
],
[
"number"
],
[]
],
"column_dtype": [
"number",
"text",
"text",
"text",
"date",
"date",
"number",
"text"
],
"example": [
"1",
"korea open super series premier",
"seoul national university gymnasium",
"seoul",
"january 8",
"january 13",
"1,000,000",
"report"
]
} | [
"how",
"many",
"series",
"awarded",
"at",
"least",
"$",
"500,000",
"in",
"prize",
"money",
"?"
] | [
"WRB",
"JJ",
"NN",
"VBN",
"IN",
"JJS",
"$",
"CD",
"IN",
"NN",
"NN",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"MONEY",
"MONEY",
"O",
"O",
"O",
"O"
] | [
false,
false,
false,
false,
false,
false,
false,
false,
false,
true,
true,
false
] | [
false,
false,
true,
false,
false,
false,
false,
true,
false,
false,
false,
false
] | [
false,
false,
false,
false,
false,
false,
true,
false
] | 3 | {
"sql_type": [
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Column",
"Keyword",
"Literal.Number"
],
"value": [
"select",
"count",
"(",
"*",
")",
"from",
"w",
"where",
"c7_number",
">=",
"500000"
],
"span_indices": [
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[
7
]
]
} | {
"aligned_sql_token_type": [
"Keyword",
"Keyword",
"None",
"None",
"Keyword",
"Keyword",
"Column",
"Literal",
"None",
"Column",
"Column",
"None"
],
"aligned_sql_token_info": [
"['agg', 'agg_count']",
"['agg', 'agg_count']",
null,
null,
"['comp', 'comp_gequal']",
"['comp', 'comp_gequal']",
"c7_number",
null,
null,
"c7_number",
"c7_number",
null
]
} | {
"nl_indices": [
[
7
],
[
9,
10,
6
],
[
5,
4
],
[
0,
1
]
],
"sql_indices": [
[
10
],
[
8
],
[
9
],
[
1,
2,
3,
4
]
]
} |
nt-4554 | 204_634 | {
"raw_header": [
"tour",
"official title",
"venue",
"city",
"date\nstart",
"date\nfinish",
"prize money\nusd",
"report"
],
"tokenized_header": [
[
"tour"
],
[
"official",
"title"
],
[
"venue"
],
[
"city"
],
[
"date",
"start"
],
[
"date",
"finish"
],
[
"prize",
"money",
"usd"
],
[
"report"
]
],
"column_suffixes": [
[
"number"
],
[],
[],
[],
[
"number",
"parsed",
"year",
"month",
"day"
],
[
"number",
"parsed",
"year",
"month",
"day"
],
[
"number"
],
[]
],
"column_dtype": [
"number",
"text",
"text",
"text",
"date",
"date",
"number",
"text"
],
"example": [
"1",
"korea open super series premier",
"seoul national university gymnasium",
"seoul",
"january 8",
"january 13",
"1,000,000",
"report"
]
} | [
"how",
"many",
"events",
"of",
"the",
"2013",
"bwf",
"super",
"series",
"pay",
"over",
"$",
"200,000",
"?"
] | [
"WRB",
"JJ",
"NNS",
"IN",
"DT",
"CD",
"NNP",
"NNP",
"NNP",
"VB",
"IN",
"$",
"CD",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"DATE",
"MISC",
"MISC",
"MISC",
"O",
"O",
"MONEY",
"MONEY",
"O"
] | [
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false
] | [
false,
false,
false,
false,
false,
false,
false,
true,
true,
false,
false,
false,
true,
false
] | [
false,
false,
false,
false,
false,
false,
false,
false
] | 9 | {
"sql_type": [
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Column",
"Keyword",
"Literal.Number"
],
"value": [
"select",
"count",
"(",
"*",
")",
"from",
"w",
"where",
"c7_number",
">",
"200000"
],
"span_indices": [
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[
12
]
]
} | {
"aligned_sql_token_type": [
"Keyword",
"Keyword",
"None",
"None",
"None",
"None",
"None",
"None",
"None",
"Column",
"Keyword",
"None",
"Literal",
"None"
],
"aligned_sql_token_info": [
"['agg', 'agg_count']",
"['agg', 'agg_count']",
null,
null,
null,
null,
null,
null,
null,
"c7_number",
"['comp', 'comp_greater']",
null,
null,
null
]
} | {
"nl_indices": [
[
0,
1
],
[
9
],
[
10
],
[
12
]
],
"sql_indices": [
[
1,
2,
3,
4
],
[
8
],
[
9
],
[
10
]
]
} |
nt-4578 | 204_634 | {
"raw_header": [
"tour",
"official title",
"venue",
"city",
"date\nstart",
"date\nfinish",
"prize money\nusd",
"report"
],
"tokenized_header": [
[
"tour"
],
[
"official",
"title"
],
[
"venue"
],
[
"city"
],
[
"date",
"start"
],
[
"date",
"finish"
],
[
"prize",
"money",
"usd"
],
[
"report"
]
],
"column_suffixes": [
[
"number"
],
[],
[],
[],
[
"number",
"parsed",
"year",
"month",
"day"
],
[
"number",
"parsed",
"year",
"month",
"day"
],
[
"number"
],
[]
],
"column_dtype": [
"number",
"text",
"text",
"text",
"date",
"date",
"number",
"text"
],
"example": [
"1",
"korea open super series premier",
"seoul national university gymnasium",
"seoul",
"january 8",
"january 13",
"1,000,000",
"report"
]
} | [
"what",
"is",
"the",
"total",
"prize",
"payout",
"for",
"all",
"13",
"series",
"?"
] | [
"WP",
"VBD-AUX",
"DT",
"JJ",
"NN",
"NN",
"IN",
"DT",
"CD",
"NN",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"NUMBER",
"O",
"O"
] | [
false,
false,
false,
false,
true,
false,
false,
false,
false,
false,
false
] | [
false,
false,
false,
false,
false,
false,
false,
true,
true,
true,
false
] | [
false,
false,
false,
false,
false,
false,
true,
false
] | 5050000 | {
"sql_type": [
"Keyword",
"Keyword",
"Keyword",
"Column",
"Keyword",
"Keyword",
"Keyword"
],
"value": [
"select",
"sum",
"(",
"c7_number",
")",
"from",
"w"
],
"span_indices": [
[],
[],
[],
[],
[],
[],
[]
]
} | {
"aligned_sql_token_type": [
"None",
"None",
"Keyword",
"Keyword",
"Column",
"Column",
"None",
"None",
"None",
"None",
"None"
],
"aligned_sql_token_info": [
null,
null,
"['agg', 'agg_sum']",
"['agg', 'agg_sum']",
"c7_number",
"c7_number",
null,
null,
null,
null,
null
]
} | {
"nl_indices": [
[
3,
2
],
[
4,
5
]
],
"sql_indices": [
[
1,
2,
4
],
[
3
]
]
} |
nt-5325 | 204_634 | {
"raw_header": [
"tour",
"official title",
"venue",
"city",
"date\nstart",
"date\nfinish",
"prize money\nusd",
"report"
],
"tokenized_header": [
[
"tour"
],
[
"official",
"title"
],
[
"venue"
],
[
"city"
],
[
"date",
"start"
],
[
"date",
"finish"
],
[
"prize",
"money",
"usd"
],
[
"report"
]
],
"column_suffixes": [
[
"number"
],
[],
[],
[],
[
"number",
"parsed",
"year",
"month",
"day"
],
[
"number",
"parsed",
"year",
"month",
"day"
],
[
"number"
],
[]
],
"column_dtype": [
"number",
"text",
"text",
"text",
"date",
"date",
"number",
"text"
],
"example": [
"1",
"korea open super series premier",
"seoul national university gymnasium",
"seoul",
"january 8",
"january 13",
"1,000,000",
"report"
]
} | [
"which",
"has",
"the",
"same",
"prize",
"money",
"as",
"the",
"french",
"super",
"series",
"?"
] | [
"WDT",
"VBD-AUX",
"DT",
"JJ",
"NN",
"NN",
"IN",
"DT",
"JJ",
"NNP",
"NNP",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"MISC",
"O",
"O",
"O"
] | [
false,
false,
false,
false,
true,
true,
false,
false,
false,
false,
false,
false
] | [
false,
false,
false,
false,
false,
false,
false,
false,
true,
true,
true,
false
] | [
false,
false,
false,
false,
false,
false,
true,
false
] | Japan Super Series|Singapore Super Series|India Super Series | {
"sql_type": [
"Keyword",
"Column",
"Keyword",
"Keyword",
"Keyword",
"Column",
"Keyword",
"Literal.String",
"Keyword",
"Column",
"Keyword",
"Keyword",
"Keyword",
"Column",
"Keyword",
"Keyword",
"Keyword",
"Column",
"Keyword",
"Literal.String",
"Keyword"
],
"value": [
"select",
"c2",
"from",
"w",
"where",
"c2",
"!=",
"'french super series'",
"and",
"c7_number",
"=",
"(",
"select",
"c7_number",
"from",
"w",
"where",
"c2",
"=",
"'french super series'",
")"
],
"span_indices": [
[],
[],
[],
[],
[],
[],
[],
[
8,
10
],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[
8,
10
],
[]
]
} | {
"aligned_sql_token_type": [
"None",
"None",
"Keyword",
"Keyword",
"Column",
"Column",
"Keyword",
"None",
"Literal",
"Literal",
"Literal",
"None"
],
"aligned_sql_token_info": [
null,
null,
"['conj', 'conj_and']",
"['conj', 'conj_and']",
"c7_number",
"c7_number",
"['conj', 'conj_and']",
null,
null,
null,
null,
null
]
} | {
"nl_indices": [
[
8,
9,
10
],
[
10,
9,
8
],
[
3,
2,
6
],
[
5,
4
],
[
5
]
],
"sql_indices": [
[
7
],
[
19
],
[
6,
8,
10,
20
],
[
13
],
[
9
]
]
} |
nt-6325 | 204_634 | {
"raw_header": [
"tour",
"official title",
"venue",
"city",
"date\nstart",
"date\nfinish",
"prize money\nusd",
"report"
],
"tokenized_header": [
[
"tour"
],
[
"official",
"title"
],
[
"venue"
],
[
"city"
],
[
"date",
"start"
],
[
"date",
"finish"
],
[
"prize",
"money",
"usd"
],
[
"report"
]
],
"column_suffixes": [
[
"number"
],
[],
[],
[],
[
"number",
"parsed",
"year",
"month",
"day"
],
[
"number",
"parsed",
"year",
"month",
"day"
],
[
"number"
],
[]
],
"column_dtype": [
"number",
"text",
"text",
"text",
"date",
"date",
"number",
"text"
],
"example": [
"1",
"korea open super series premier",
"seoul national university gymnasium",
"seoul",
"january 8",
"january 13",
"1,000,000",
"report"
]
} | [
"which",
"series",
"has",
"the",
"highest",
"prize",
"payout",
"?"
] | [
"WDT",
"NN",
"VBD-AUX",
"DT",
"JJS",
"NN",
"NN",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] | [
false,
false,
false,
false,
false,
true,
false,
false
] | [
false,
true,
false,
false,
false,
false,
false,
false
] | [
false,
false,
false,
false,
false,
false,
true,
false
] | Korea Open Super Series Premier | {
"sql_type": [
"Keyword",
"Column",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Column",
"Keyword",
"Keyword",
"Keyword"
],
"value": [
"select",
"c2",
"from",
"w",
"order",
"by",
"c7_number",
"desc",
"limit",
"1"
],
"span_indices": [
[],
[],
[],
[],
[],
[],
[],
[],
[],
[]
]
} | {
"aligned_sql_token_type": [
"None",
"Column",
"None",
"Keyword",
"Keyword",
"Column",
"Column",
"None"
],
"aligned_sql_token_info": [
null,
"c2",
null,
"['sort', 'sort_desc']",
"['sort', 'sort_desc']",
"c7_number",
"c7_number",
null
]
} | {
"nl_indices": [
[
5,
6
],
[
4,
3
],
[
1
]
],
"sql_indices": [
[
6
],
[
5,
4,
7,
8,
9
],
[
1
]
]
} |
nt-11821 | 204_634 | {
"raw_header": [
"tour",
"official title",
"venue",
"city",
"date\nstart",
"date\nfinish",
"prize money\nusd",
"report"
],
"tokenized_header": [
[
"tour"
],
[
"official",
"title"
],
[
"venue"
],
[
"city"
],
[
"date",
"start"
],
[
"date",
"finish"
],
[
"prize",
"money",
"usd"
],
[
"report"
]
],
"column_suffixes": [
[
"number"
],
[],
[],
[],
[
"number",
"parsed",
"year",
"month",
"day"
],
[
"number",
"parsed",
"year",
"month",
"day"
],
[
"number"
],
[]
],
"column_dtype": [
"number",
"text",
"text",
"text",
"date",
"date",
"number",
"text"
],
"example": [
"1",
"korea open super series premier",
"seoul national university gymnasium",
"seoul",
"january 8",
"january 13",
"1,000,000",
"report"
]
} | [
"how",
"many",
"tours",
"took",
"place",
"during",
"january",
"?"
] | [
"WRB",
"JJ",
"NNS",
"VBD",
"NN",
"IN",
"NNP",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"DATE",
"O"
] | [
false,
false,
false,
false,
false,
false,
false,
false
] | [
false,
false,
false,
false,
false,
false,
true,
false
] | [
false,
false,
false,
false,
false,
false,
false,
false
] | 2 | {
"sql_type": [
"Keyword",
"Keyword",
"Keyword",
"Column",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Column",
"Keyword",
"Literal.Number"
],
"value": [
"select",
"count",
"(",
"c2",
")",
"from",
"w",
"where",
"c5_month",
"=",
"1"
],
"span_indices": [
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[
6
]
]
} | {
"aligned_sql_token_type": [
"Keyword",
"Keyword",
"Column",
"Column",
"Column",
"Column",
"Literal",
"None"
],
"aligned_sql_token_info": [
"['agg', 'agg_count']",
"['agg', 'agg_count']",
"c2",
"c5_month",
"c5_month",
"c5_month",
null,
null
]
} | {
"nl_indices": [
[
6
],
[
4,
3,
5
],
[
1,
0
],
[
2
]
],
"sql_indices": [
[
10
],
[
8
],
[
1,
2,
4
],
[
3
]
]
} |
nt-13006 | 204_634 | {
"raw_header": [
"tour",
"official title",
"venue",
"city",
"date\nstart",
"date\nfinish",
"prize money\nusd",
"report"
],
"tokenized_header": [
[
"tour"
],
[
"official",
"title"
],
[
"venue"
],
[
"city"
],
[
"date",
"start"
],
[
"date",
"finish"
],
[
"prize",
"money",
"usd"
],
[
"report"
]
],
"column_suffixes": [
[
"number"
],
[],
[],
[],
[
"number",
"parsed",
"year",
"month",
"day"
],
[
"number",
"parsed",
"year",
"month",
"day"
],
[
"number"
],
[]
],
"column_dtype": [
"number",
"text",
"text",
"text",
"date",
"date",
"number",
"text"
],
"example": [
"1",
"korea open super series premier",
"seoul national university gymnasium",
"seoul",
"january 8",
"january 13",
"1,000,000",
"report"
]
} | [
"which",
"tour",
"was",
"the",
"only",
"one",
"to",
"take",
"place",
"in",
"december",
"?"
] | [
"WDT",
"NN",
"VBD-AUX",
"DT",
"JJ",
"CD",
"TO",
"VB",
"NN",
"IN",
"NNP",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"NUMBER",
"O",
"O",
"O",
"O",
"DATE",
"O"
] | [
false,
true,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false
] | [
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
true,
false
] | [
true,
false,
false,
false,
false,
false,
false,
false
] | Super Series Masters Finals | {
"sql_type": [
"Keyword",
"Column",
"Keyword",
"Keyword",
"Keyword",
"Column",
"Keyword",
"Literal.Number"
],
"value": [
"select",
"c2",
"from",
"w",
"where",
"c6_month",
"=",
"12"
],
"span_indices": [
[],
[],
[],
[],
[],
[],
[],
[
10
]
]
} | {
"aligned_sql_token_type": [
"None",
"Column",
"None",
"None",
"None",
"None",
"None",
"Column",
"Column",
"Column",
"Literal",
"None"
],
"aligned_sql_token_info": [
null,
"c2",
null,
null,
null,
null,
null,
"c6_month",
"c6_month",
"c6_month",
null,
null
]
} | {
"nl_indices": [
[
10
],
[
8,
7,
9
],
[
1
]
],
"sql_indices": [
[
7
],
[
5
],
[
1
]
]
} |
nt-1473 | 203_665 | {
"raw_header": [
"name",
"municipality",
"established",
"tower height\nin meters (ft)",
"focal plane\nin meters (ft)",
"current status",
"current condition"
],
"tokenized_header": [
[
"name"
],
[
"municipality"
],
[
"established"
],
[
"tower",
"height",
"in",
"meters",
"-lrb-",
"ft",
"-rrb-"
],
[
"focal",
"plane",
"in",
"meters",
"-lrb-",
"ft",
"-rrb-"
],
[
"current",
"status"
],
[
"current",
"condition"
]
],
"column_suffixes": [
[],
[
"first",
"second"
],
[
"number"
],
[
"first",
"second",
"first_number",
"second_number"
],
[
"first",
"second",
"first_number",
"second_number"
],
[],
[]
],
"column_dtype": [
"text",
"text(text)",
"number",
"unitnum(unitnum)",
"unitnum(unitnum)",
"text",
"text"
],
"example": [
"los morrillos light",
"mayaguez\n(mona island)",
"1882",
"12 m (40 ft.)",
"37 m (121 ft)",
"active",
"restored for tourism"
]
} | [
"were",
"any",
"towers",
"established",
"before",
"the",
"year",
"1800",
"?"
] | [
"VBD-AUX",
"DT",
"NNS",
"VBN",
"IN",
"DT",
"NN",
"CD",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"DATE",
"DATE",
"DATE",
"O"
] | [
false,
false,
false,
true,
false,
false,
false,
false,
false
] | [
false,
false,
false,
false,
false,
true,
false,
false,
false
] | [
false,
false,
true,
false,
false,
false,
false
] | no | {
"sql_type": [
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Column",
"Keyword",
"Literal.Number",
"Keyword",
"Keyword",
"Keyword"
],
"value": [
"select",
"(",
"select",
"count",
"(",
"*",
")",
"from",
"w",
"where",
"c3_number",
"<",
"1800",
")",
">",
"0"
],
"span_indices": [
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[
7
],
[],
[],
[]
]
} | {
"aligned_sql_token_type": [
"Keyword",
"Keyword",
"None",
"Column",
"Keyword",
"None",
"Column",
"Literal",
"None"
],
"aligned_sql_token_info": [
"['comp', 'comp_greater']",
"['comp', 'comp_greater']",
null,
"c3_number",
"['comp', '']",
null,
"c3_number",
null,
null
]
} | {
"nl_indices": [
[
0,
1
],
[
4
],
[
6,
3
],
[
7
]
],
"sql_indices": [
[
0,
1,
13,
14,
15,
3,
4,
5,
6
],
[
11
],
[
10
],
[
12
]
]
} |
nt-4186 | 203_665 | {
"raw_header": [
"name",
"municipality",
"established",
"tower height\nin meters (ft)",
"focal plane\nin meters (ft)",
"current status",
"current condition"
],
"tokenized_header": [
[
"name"
],
[
"municipality"
],
[
"established"
],
[
"tower",
"height",
"in",
"meters",
"-lrb-",
"ft",
"-rrb-"
],
[
"focal",
"plane",
"in",
"meters",
"-lrb-",
"ft",
"-rrb-"
],
[
"current",
"status"
],
[
"current",
"condition"
]
],
"column_suffixes": [
[],
[
"first",
"second"
],
[
"number"
],
[
"first",
"second",
"first_number",
"second_number"
],
[
"first",
"second",
"first_number",
"second_number"
],
[],
[]
],
"column_dtype": [
"text",
"text(text)",
"number",
"unitnum(unitnum)",
"unitnum(unitnum)",
"text",
"text"
],
"example": [
"los morrillos light",
"mayaguez\n(mona island)",
"1882",
"12 m (40 ft.)",
"37 m (121 ft)",
"active",
"restored for tourism"
]
} | [
"names",
"of",
"municipalities",
"established",
"before",
"1880"
] | [
"NNS",
"IN",
"NNS",
"VBN",
"IN",
"NNP"
] | [
"O",
"O",
"O",
"O",
"O",
"DATE"
] | [
false,
false,
false,
true,
false,
false
] | [
false,
true,
false,
false,
false,
true
] | [
false,
false,
true,
false,
false,
false,
false
] | San Juan | {
"sql_type": [
"Keyword",
"Column",
"Keyword",
"Keyword",
"Keyword",
"Column",
"Keyword",
"Literal.Number"
],
"value": [
"select",
"c2",
"from",
"w",
"where",
"c3_number",
"<",
"1880"
],
"span_indices": [
[],
[],
[],
[],
[],
[],
[],
[
5
]
]
} | {
"aligned_sql_token_type": [
"None",
"None",
"Column",
"Column",
"Keyword",
"Literal"
],
"aligned_sql_token_info": [
null,
null,
"c2",
"c3_number",
"['comp', '']",
null
]
} | {
"nl_indices": [
[
5
],
[
4
],
[
3
],
[
2
]
],
"sql_indices": [
[
7
],
[
6
],
[
5
],
[
1
]
]
} |
nt-5057 | 203_665 | {
"raw_header": [
"name",
"municipality",
"established",
"tower height\nin meters (ft)",
"focal plane\nin meters (ft)",
"current status",
"current condition"
],
"tokenized_header": [
[
"name"
],
[
"municipality"
],
[
"established"
],
[
"tower",
"height",
"in",
"meters",
"-lrb-",
"ft",
"-rrb-"
],
[
"focal",
"plane",
"in",
"meters",
"-lrb-",
"ft",
"-rrb-"
],
[
"current",
"status"
],
[
"current",
"condition"
]
],
"column_suffixes": [
[],
[
"first",
"second"
],
[
"number"
],
[
"first",
"second",
"first_number",
"second_number"
],
[
"first",
"second",
"first_number",
"second_number"
],
[],
[]
],
"column_dtype": [
"text",
"text(text)",
"number",
"unitnum(unitnum)",
"unitnum(unitnum)",
"text",
"text"
],
"example": [
"los morrillos light",
"mayaguez\n(mona island)",
"1882",
"12 m (40 ft.)",
"37 m (121 ft)",
"active",
"restored for tourism"
]
} | [
"how",
"many",
"towers",
"are",
"at",
"least",
"18",
"meters",
"tall",
"?"
] | [
"WRB",
"JJ",
"NNS",
"VBD-AUX",
"IN",
"JJS",
"CD",
"NNS",
"JJ",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"NUMBER",
"O",
"O",
"O"
] | [
false,
false,
false,
false,
false,
false,
false,
true,
false,
false
] | [
false,
true,
false,
false,
false,
false,
true,
false,
false,
false
] | [
false,
false,
false,
true,
true,
false,
false
] | 3 | {
"sql_type": [
"Keyword",
"Keyword",
"Keyword",
"Column",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Column",
"Keyword",
"Literal.Number"
],
"value": [
"select",
"count",
"(",
"c1",
")",
"from",
"w",
"where",
"c4_first_number",
">=",
"18"
],
"span_indices": [
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[
6
]
]
} | {
"aligned_sql_token_type": [
"Keyword",
"Keyword",
"Column",
"None",
"Keyword",
"Keyword",
"Literal",
"Column",
"Column",
"None"
],
"aligned_sql_token_info": [
"['agg', 'agg_count']",
"['agg', 'agg_count']",
"c4_first_number",
null,
"['comp', 'comp_gequal']",
"['comp', 'comp_gequal']",
null,
"c4_first_number",
"c4_first_number",
null
]
} | {
"nl_indices": [
[
1,
0
],
[
2
],
[
4,
5
],
[
6
],
[
7,
8,
2
]
],
"sql_indices": [
[
1,
2,
4
],
[
3
],
[
9
],
[
10
],
[
8
]
]
} |
nt-7268 | 203_665 | {
"raw_header": [
"name",
"municipality",
"established",
"tower height\nin meters (ft)",
"focal plane\nin meters (ft)",
"current status",
"current condition"
],
"tokenized_header": [
[
"name"
],
[
"municipality"
],
[
"established"
],
[
"tower",
"height",
"in",
"meters",
"-lrb-",
"ft",
"-rrb-"
],
[
"focal",
"plane",
"in",
"meters",
"-lrb-",
"ft",
"-rrb-"
],
[
"current",
"status"
],
[
"current",
"condition"
]
],
"column_suffixes": [
[],
[
"first",
"second"
],
[
"number"
],
[
"first",
"second",
"first_number",
"second_number"
],
[
"first",
"second",
"first_number",
"second_number"
],
[],
[]
],
"column_dtype": [
"text",
"text(text)",
"number",
"unitnum(unitnum)",
"unitnum(unitnum)",
"text",
"text"
],
"example": [
"los morrillos light",
"mayaguez\n(mona island)",
"1882",
"12 m (40 ft.)",
"37 m (121 ft)",
"active",
"restored for tourism"
]
} | [
"the",
"difference",
"in",
"years",
"from",
"1882",
"to",
"1889"
] | [
"DT",
"NN",
"IN",
"NNS",
"IN",
"CD",
"TO",
"CD"
] | [
"O",
"O",
"O",
"DATE",
"DATE",
"DATE",
"DATE",
"DATE"
] | [
false,
false,
true,
false,
false,
false,
false,
false
] | [
true,
false,
true,
false,
false,
true,
false,
true
] | [
false,
false,
false,
true,
true,
false,
false
] | 7 | {
"sql_type": [
"Keyword",
"Literal.Number",
"Keyword",
"Literal.Number"
],
"value": [
"select",
"1889",
"-",
"1882"
],
"span_indices": [
[],
[
7
],
[],
[
5
]
]
} | {
"aligned_sql_token_type": [
"None",
"Keyword",
"None",
"None",
"Keyword",
"Literal",
"Keyword",
"Literal"
],
"aligned_sql_token_info": [
null,
"['before', 'before_minus']",
null,
null,
"['before', 'before_minus']",
null,
"['before', 'before_minus']",
null
]
} | {
"nl_indices": [
[
5
],
[
7
],
[
4,
1,
6
]
],
"sql_indices": [
[
3
],
[
1
],
[
2
]
]
} |
nt-9441 | 203_665 | {
"raw_header": [
"name",
"municipality",
"established",
"tower height\nin meters (ft)",
"focal plane\nin meters (ft)",
"current status",
"current condition"
],
"tokenized_header": [
[
"name"
],
[
"municipality"
],
[
"established"
],
[
"tower",
"height",
"in",
"meters",
"-lrb-",
"ft",
"-rrb-"
],
[
"focal",
"plane",
"in",
"meters",
"-lrb-",
"ft",
"-rrb-"
],
[
"current",
"status"
],
[
"current",
"condition"
]
],
"column_suffixes": [
[],
[
"first",
"second"
],
[
"number"
],
[
"first",
"second",
"first_number",
"second_number"
],
[
"first",
"second",
"first_number",
"second_number"
],
[],
[]
],
"column_dtype": [
"text",
"text(text)",
"number",
"unitnum(unitnum)",
"unitnum(unitnum)",
"text",
"text"
],
"example": [
"los morrillos light",
"mayaguez\n(mona island)",
"1882",
"12 m (40 ft.)",
"37 m (121 ft)",
"active",
"restored for tourism"
]
} | [
"cardona",
"island",
"light",
"and",
"caja",
"de",
"muertos",
"light",
"are",
"both",
"located",
"in",
"what",
"municipality",
"?"
] | [
"NNP",
"NNP",
"NN",
"CC",
"FW",
"FW",
"FW",
"NN",
"VBD-AUX",
"DT",
"JJ",
"IN",
"WP",
"NN",
"."
] | [
"PERSON",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] | [
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
true,
false,
true,
false
] | [
true,
true,
true,
true,
true,
true,
true,
true,
false,
false,
false,
true,
false,
false,
false
] | [
false,
true,
false,
true,
true,
false,
false
] | Ponce | {
"sql_type": [
"Keyword",
"Column",
"Keyword",
"Keyword",
"Keyword",
"Column",
"Keyword",
"Keyword",
"Literal.String",
"Keyword",
"Literal.String",
"Keyword"
],
"value": [
"select",
"c2",
"from",
"w",
"where",
"c1",
"in",
"(",
"'cardona island light'",
",",
"'caja de muertos light'",
")"
],
"span_indices": [
[],
[],
[],
[],
[],
[],
[],
[],
[
0,
2
],
[],
[
4,
7
],
[]
]
} | {
"aligned_sql_token_type": [
"Literal",
"Literal",
"Literal",
"Keyword",
"Literal",
"Literal",
"Literal",
"Literal",
"None",
"None",
"None",
"None",
"None",
"Column",
"None"
],
"aligned_sql_token_info": [
null,
null,
null,
"['conj', 'conj_or']",
null,
null,
null,
null,
null,
null,
null,
null,
null,
"c2",
null
]
} | {
"nl_indices": [
[
13
],
[
0,
1,
2
],
[
4,
5,
6,
7
],
[
3
]
],
"sql_indices": [
[
1
],
[
8
],
[
10
],
[
6,
7,
9,
11
]
]
} |
nt-10790 | 203_665 | {
"raw_header": [
"name",
"municipality",
"established",
"tower height\nin meters (ft)",
"focal plane\nin meters (ft)",
"current status",
"current condition"
],
"tokenized_header": [
[
"name"
],
[
"municipality"
],
[
"established"
],
[
"tower",
"height",
"in",
"meters",
"-lrb-",
"ft",
"-rrb-"
],
[
"focal",
"plane",
"in",
"meters",
"-lrb-",
"ft",
"-rrb-"
],
[
"current",
"status"
],
[
"current",
"condition"
]
],
"column_suffixes": [
[],
[
"first",
"second"
],
[
"number"
],
[
"first",
"second",
"first_number",
"second_number"
],
[
"first",
"second",
"first_number",
"second_number"
],
[],
[]
],
"column_dtype": [
"text",
"text(text)",
"number",
"unitnum(unitnum)",
"unitnum(unitnum)",
"text",
"text"
],
"example": [
"los morrillos light",
"mayaguez\n(mona island)",
"1882",
"12 m (40 ft.)",
"37 m (121 ft)",
"active",
"restored for tourism"
]
} | [
"what",
"is",
"the",
"largest",
"tower"
] | [
"WP",
"VBD-AUX",
"DT",
"JJS",
"NN"
] | [
"O",
"O",
"O",
"O",
"O"
] | [
false,
false,
false,
false,
true
] | [
false,
true,
true,
false,
false
] | [
false,
false,
false,
true,
false,
false,
false
] | Punta Higuero Light | {
"sql_type": [
"Keyword",
"Column",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Column",
"Keyword",
"Keyword",
"Keyword"
],
"value": [
"select",
"c1",
"from",
"w",
"order",
"by",
"c4_first_number",
"desc",
"limit",
"1"
],
"span_indices": [
[],
[],
[],
[],
[],
[],
[],
[],
[],
[]
]
} | {
"aligned_sql_token_type": [
"None",
"None",
"Column",
"Column",
"Column"
],
"aligned_sql_token_info": [
null,
null,
"c4_first_number",
"c4_first_number",
"c1"
]
} | {
"nl_indices": [
[
4
],
[
3,
2
]
],
"sql_indices": [
[
1
],
[
4,
5,
6,
7,
8,
9
]
]
} |
nt-12761 | 203_665 | {
"raw_header": [
"name",
"municipality",
"established",
"tower height\nin meters (ft)",
"focal plane\nin meters (ft)",
"current status",
"current condition"
],
"tokenized_header": [
[
"name"
],
[
"municipality"
],
[
"established"
],
[
"tower",
"height",
"in",
"meters",
"-lrb-",
"ft",
"-rrb-"
],
[
"focal",
"plane",
"in",
"meters",
"-lrb-",
"ft",
"-rrb-"
],
[
"current",
"status"
],
[
"current",
"condition"
]
],
"column_suffixes": [
[],
[
"first",
"second"
],
[
"number"
],
[
"first",
"second",
"first_number",
"second_number"
],
[
"first",
"second",
"first_number",
"second_number"
],
[],
[]
],
"column_dtype": [
"text",
"text(text)",
"number",
"unitnum(unitnum)",
"unitnum(unitnum)",
"text",
"text"
],
"example": [
"los morrillos light",
"mayaguez\n(mona island)",
"1882",
"12 m (40 ft.)",
"37 m (121 ft)",
"active",
"restored for tourism"
]
} | [
"which",
"municipality",
"was",
"the",
"first",
"to",
"be",
"established",
"?"
] | [
"WDT",
"NN",
"VBD-AUX",
"DT",
"JJ",
"TO",
"VBD-AUX",
"VBN",
"."
] | [
"O",
"O",
"O",
"O",
"ORDINAL",
"O",
"O",
"O",
"O"
] | [
false,
true,
false,
false,
false,
false,
false,
true,
false
] | [
false,
false,
false,
true,
false,
false,
false,
false,
false
] | [
false,
true,
true,
false,
false,
false,
false
] | San Juan | {
"sql_type": [
"Keyword",
"Column",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Column",
"Keyword",
"Keyword",
"Literal.Number"
],
"value": [
"select",
"c2",
"from",
"w",
"order",
"by",
"c3_number",
"asc",
"limit",
"1"
],
"span_indices": [
[],
[],
[],
[],
[],
[],
[],
[],
[],
[
4
]
]
} | {
"aligned_sql_token_type": [
"None",
"Column",
"None",
"Keyword",
"Keyword",
"None",
"None",
"Column",
"None"
],
"aligned_sql_token_info": [
null,
"c2",
null,
"['sort', 'sort_asc']",
"['sort', 'sort_asc']",
null,
null,
"c3_number",
null
]
} | {
"nl_indices": [
[
1
],
[
4,
3
],
[
7
]
],
"sql_indices": [
[
1
],
[
5,
4,
7,
8,
9
],
[
6
]
]
} |
nt-6404 | 202_265 | {
"raw_header": [
"route number",
"terminals",
"terminals",
"via",
"operator",
"notes"
],
"tokenized_header": [
[
"route",
"number"
],
[
"terminals"
],
[
"terminals"
],
[
"via"
],
[
"operator"
],
[
"notes"
]
],
"column_suffixes": [
[
"list",
"length"
],
[],
[],
[
"list",
"length"
],
[
"list",
"length"
],
[]
],
"column_dtype": [
"<nf,text>",
"text",
"text",
"<c,text>",
"<c,text>",
"text"
],
"example": [
"310\n310a\n311",
"waltham cross bus station",
"hertford bus station",
"cheshunt,\nbroxbourne,\nware",
"arriva shires & essex,\ncentrebus",
"mon-sat (310), mon-fri peaks (310a)"
]
} | [
"how",
"many",
"bus",
"routes",
"are",
"handled",
"by",
"trustybus",
"?"
] | [
"WRB",
"JJ",
"NN",
"NNS",
"VBD-AUX",
"VBN",
"IN",
"NNP",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] | [
false,
false,
false,
false,
false,
false,
false,
false,
false
] | [
false,
false,
true,
false,
false,
false,
false,
true,
false
] | [
false,
false,
false,
false,
false,
false
] | 2 | {
"sql_type": [
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Column",
"Keyword",
"Literal.String"
],
"value": [
"select",
"count",
"(",
"*",
")",
"from",
"w",
"where",
"c5_list",
"=",
"'trustybus'"
],
"span_indices": [
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[
7,
7
]
]
} | {
"aligned_sql_token_type": [
"Keyword",
"Keyword",
"None",
"None",
"None",
"Column",
"Column",
"Literal",
"None"
],
"aligned_sql_token_info": [
"['agg', 'agg_count']",
"['agg', 'agg_count']",
null,
null,
null,
"c5_list",
"c5_list",
null,
null
]
} | {
"nl_indices": [
[
1,
0
],
[
5,
6
],
[
7
]
],
"sql_indices": [
[
1,
2,
3,
4
],
[
8
],
[
10
]
]
} |
nt-13222 | 202_265 | {
"raw_header": [
"route number",
"terminals",
"terminals",
"via",
"operator",
"notes"
],
"tokenized_header": [
[
"route",
"number"
],
[
"terminals"
],
[
"terminals"
],
[
"via"
],
[
"operator"
],
[
"notes"
]
],
"column_suffixes": [
[
"list",
"length"
],
[],
[],
[
"list",
"length"
],
[
"list",
"length"
],
[]
],
"column_dtype": [
"<nf,text>",
"text",
"text",
"<c,text>",
"<c,text>",
"text"
],
"example": [
"310\n310a\n311",
"waltham cross bus station",
"hertford bus station",
"cheshunt,\nbroxbourne,\nware",
"arriva shires & essex,\ncentrebus",
"mon-sat (310), mon-fri peaks (310a)"
]
} | [
"which",
"route",
"travels",
"to",
"broxbourne",
"station",
"and",
"also",
"essex",
"road",
"industrial",
"estate",
"?"
] | [
"WDT",
"NN",
"VBZ",
"TO",
"VB",
"NN",
"CC",
"RB",
"NNP",
"NNP",
"NNP",
"NNP",
"."
] | [
"O",
"O",
"O",
"O",
"LOCATION",
"O",
"O",
"O",
"LOCATION",
"LOCATION",
"O",
"O",
"O"
] | [
false,
true,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false
] | [
false,
false,
false,
true,
true,
true,
false,
false,
true,
true,
true,
true,
false
] | [
true,
false,
false,
false,
false,
false
] | 323 | {
"sql_type": [
"Keyword",
"Column",
"Keyword",
"Keyword",
"Keyword",
"Column",
"Keyword",
"Literal.String",
"Keyword",
"Column",
"Keyword",
"Literal.String"
],
"value": [
"select",
"c1",
"from",
"w",
"where",
"c2",
"=",
"'broxbourne station'",
"and",
"c3",
"=",
"'essex road industrial estate'"
],
"span_indices": [
[],
[],
[],
[],
[],
[],
[],
[
4,
5
],
[],
[],
[],
[
8,
11
]
]
} | {
"aligned_sql_token_type": [
"None",
"Column",
"Column",
"Column",
"Literal",
"Literal",
"Keyword",
"Keyword",
"Literal",
"Literal",
"Literal",
"Literal",
"None"
],
"aligned_sql_token_info": [
null,
"c1",
"c3",
"c3",
null,
null,
"['conj', 'conj_and']",
"['conj', 'conj_and']",
null,
null,
null,
null,
null
]
} | {
"nl_indices": [
[
1
],
[
3,
2
],
[
4,
5
],
[
3,
2
],
[
8,
11,
9,
10
],
[
6,
7
]
],
"sql_indices": [
[
1
],
[
5
],
[
7
],
[
9
],
[
11
],
[
8
]
]
} |
nt-1133 | 204_68 | {
"raw_header": [
"name",
"profession",
"hometown",
"term expires",
"office"
],
"tokenized_header": [
[
"name"
],
[
"profession"
],
[
"hometown"
],
[
"term",
"expires"
],
[
"office"
]
],
"column_suffixes": [
[],
[],
[],
[
"number"
],
[]
],
"column_dtype": [
"text",
"text",
"text",
"number",
"text"
],
"example": [
"bill w. burgess jr",
"attorney",
"lawton",
"2011",
"chair"
]
} | [
"other",
"than",
"william",
"stuart",
"price",
",",
"which",
"other",
"businessman",
"was",
"born",
"in",
"tulsa",
"?"
] | [
"JJ",
"IN",
"NNP",
"NNP",
"NN",
",",
"WDT",
"JJ",
"NN",
"VBD-AUX",
"VBN",
"IN",
"NNP",
"."
] | [
"O",
"O",
"PERSON",
"PERSON",
"PERSON",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"LOCATION",
"O"
] | [
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false
] | [
false,
false,
true,
true,
true,
true,
false,
false,
true,
false,
false,
false,
true,
false
] | [
false,
false,
false,
false,
false
] | Joseph L. Parker Jr. | {
"sql_type": [
"Keyword",
"Column",
"Keyword",
"Keyword",
"Keyword",
"Column",
"Keyword",
"Literal.String",
"Keyword",
"Column",
"Keyword",
"Literal.String"
],
"value": [
"select",
"c1",
"from",
"w",
"where",
"c1",
"!=",
"'william stuart price'",
"and",
"c3",
"=",
"'tulsa'"
],
"span_indices": [
[],
[],
[],
[],
[],
[],
[],
[
2,
4
],
[],
[],
[],
[
12,
12
]
]
} | {
"aligned_sql_token_type": [
"Keyword",
"Keyword",
"Literal",
"Literal",
"Literal",
"None",
"None",
"None",
"Column",
"None",
"Column",
"Column",
"Literal",
"None"
],
"aligned_sql_token_info": [
"['comp', 'comp_not']",
"['comp', 'comp_not']",
null,
null,
null,
null,
null,
null,
"c1",
null,
"c3",
"c3",
null,
null
]
} | {
"nl_indices": [
[
0,
1
],
[
2,
3,
4
],
[
8
],
[
10,
11
],
[
12
]
],
"sql_indices": [
[
6
],
[
7
],
[
1
],
[
9
],
[
11
]
]
} |
nt-2670 | 204_68 | {
"raw_header": [
"name",
"profession",
"hometown",
"term expires",
"office"
],
"tokenized_header": [
[
"name"
],
[
"profession"
],
[
"hometown"
],
[
"term",
"expires"
],
[
"office"
]
],
"column_suffixes": [
[],
[],
[],
[
"number"
],
[]
],
"column_dtype": [
"text",
"text",
"text",
"number",
"text"
],
"example": [
"bill w. burgess jr",
"attorney",
"lawton",
"2011",
"chair"
]
} | [
"what",
"is",
"the",
"total",
"number",
"of",
"state",
"regents",
"who",
"are",
"attorneys",
"?"
] | [
"WP",
"VBD-AUX",
"DT",
"JJ",
"NN",
"IN",
"NN",
"NNS",
"WP",
"VBD-AUX",
"NNS",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] | [
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false
] | [
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false
] | [
false,
false,
false,
false,
false
] | 3 | {
"sql_type": [
"Keyword",
"Keyword",
"Keyword",
"Column",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Column",
"Keyword",
"Literal.String"
],
"value": [
"select",
"count",
"(",
"c1",
")",
"from",
"w",
"where",
"c2",
"=",
"'attorney'"
],
"span_indices": [
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[
10,
10
]
]
} | {
"aligned_sql_token_type": [
"None",
"None",
"None",
"Keyword",
"Keyword",
"Keyword",
"Column",
"Column",
"None",
"None",
"Literal",
"None"
],
"aligned_sql_token_info": [
null,
null,
null,
"['agg', 'agg_count']",
"['agg', 'agg_count']",
"['agg', 'agg_count']",
"c1",
"c1",
null,
null,
null,
null
]
} | {
"nl_indices": [
[
6,
7
],
[
10
],
[
3,
4,
5
]
],
"sql_indices": [
[
3
],
[
10
],
[
1,
2,
4
]
]
} |
nt-5048 | 204_68 | {
"raw_header": [
"name",
"profession",
"hometown",
"term expires",
"office"
],
"tokenized_header": [
[
"name"
],
[
"profession"
],
[
"hometown"
],
[
"term",
"expires"
],
[
"office"
]
],
"column_suffixes": [
[],
[],
[],
[
"number"
],
[]
],
"column_dtype": [
"text",
"text",
"text",
"number",
"text"
],
"example": [
"bill w. burgess jr",
"attorney",
"lawton",
"2011",
"chair"
]
} | [
"total",
"number",
"of",
"members",
"from",
"lawton",
"and",
"oklahoma",
"city"
] | [
"JJ",
"NN",
"IN",
"NNS",
"IN",
"NNP",
"CC",
"NNP",
"NNP"
] | [
"O",
"O",
"O",
"O",
"O",
"PERSON",
"O",
"LOCATION",
"LOCATION"
] | [
false,
false,
false,
false,
false,
false,
false,
false,
false
] | [
false,
false,
false,
false,
false,
true,
false,
true,
true
] | [
false,
false,
false,
false,
false
] | 3 | {
"sql_type": [
"Keyword",
"Keyword",
"Keyword",
"Column",
"Keyword",
"Keyword",
"Keyword",
"Keyword",
"Column",
"Keyword",
"Keyword",
"Literal.String",
"Keyword",
"Literal.String",
"Keyword"
],
"value": [
"select",
"count",
"(",
"c1",
")",
"from",
"w",
"where",
"c3",
"in",
"(",
"'lawton'",
",",
"'oklahoma city'",
")"
],
"span_indices": [
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[
5,
5
],
[],
[
7,
7
],
[]
]
} | {
"aligned_sql_token_type": [
"Keyword",
"Keyword",
"Keyword",
"Column",
"Column",
"Literal",
"Keyword",
"Literal",
"None"
],
"aligned_sql_token_info": [
"['agg', 'agg_count']",
"['agg', 'agg_count']",
"['agg', 'agg_count']",
"c1",
"c3",
null,
"['conj', 'conj_or']",
null,
null
]
} | {
"nl_indices": [
[
0,
1,
2
],
[
3
],
[
5
],
[
7
],
[
6
],
[
4
]
],
"sql_indices": [
[
1,
2,
4
],
[
3
],
[
11
],
[
13
],
[
9,
10,
12,
14
],
[
8
]
]
} |
End of preview. Expand
in Dataset Viewer.
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 for source data.
Use
from datasets import load_dataset
dataset = load_dataset("siyue/squall","0")
Example:
{
'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':
{
'sql_type': ['Keyword', 'Column', 'Keyword', 'Keyword', 'Keyword', 'Column', 'Keyword', 'Literal.String', 'Keyword', 'Keyword', 'Column', 'Keyword', 'Keyword', 'Keyword'],
'value': ['select', 'c1', 'from', 'w', 'where', 'c2', '=', "'minnesota'", 'order', 'by', 'c1_number', 'desc', 'limit', '1'],
'span_indices': [[], [], [], [], [], [], [], [10, 10], [], [], [], [], [], []]
},
'nl_ralign':
{
'aligned_sql_token_type': ['None', 'None', 'Column', 'Column', 'Column', 'None', 'None', 'None', 'Column', 'Column', 'Literal', 'None'],
'aligned_sql_token_info': [None, None, 'c1_number', 'c1_number', 'c1', None, None, None, 'c2', 'c2', None, None],
'align':
{
'nl_indices': [[10], [9, 8], [4], [3, 2]],
'sql_indices': [[7], [5], [1], [8, 9, 10, 11, 12, 13]]
}
},
'align':
{
'nl_indices': [[10], [9, 8], [4], [3, 2]],
'sql_indices': [[7], [5], [1], [8, 9, 10, 11, 12, 13]]
}
}
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},
}
- Downloads last month
- 80