dreamerdeo's picture
Upload folder using huggingface_hub
1faca1c
[
{
"db_id": "concert_singer",
"query": "SELECT count(*) FROM singer",
"query_toks": [
"SELECT",
"count",
"(",
"*",
")",
"FROM",
"singer"
],
"query_toks_no_value": [
"select",
"count",
"(",
"*",
")",
"from",
"singer"
],
"question_spider": "How many singers do we have?",
"question": "我们有多少歌手?",
"question_cspider": "我们有多少歌手?",
"bleu_from_cspider_question": "BLEU = 100.00, 100.0/100.0/100.0/100.0 (BP=1.000, ratio=1.000, hyp_len=8, ref_len=8)",
"question_toks": [
"我",
"们",
"有",
"多",
"少",
"歌",
"手",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
1
]
],
"conds": []
},
"select": [
false,
[
[
3,
[
0,
[
0,
0,
false
],
null
]
]
]
],
"where": [],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "concert_singer",
"query": "SELECT count(*) FROM singer",
"query_toks": [
"SELECT",
"count",
"(",
"*",
")",
"FROM",
"singer"
],
"query_toks_no_value": [
"select",
"count",
"(",
"*",
")",
"from",
"singer"
],
"question_spider": "What is the total number of singers?",
"question": "歌手的总数是多少?",
"question_cspider": "歌手的总数是多少?",
"bleu_from_cspider_question": "BLEU = 67.53, 100.0/85.7/66.7/60.0 (BP=0.882, ratio=0.889, hyp_len=8, ref_len=9)",
"question_toks": [
"歌",
"手",
"总",
"数",
"是",
"多",
"少",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
1
]
],
"conds": []
},
"select": [
false,
[
[
3,
[
0,
[
0,
0,
false
],
null
]
]
]
],
"where": [],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "concert_singer",
"query": "SELECT name , country , age FROM singer ORDER BY age DESC",
"query_toks": [
"SELECT",
"name",
",",
"country",
",",
"age",
"FROM",
"singer",
"ORDER",
"BY",
"age",
"DESC"
],
"query_toks_no_value": [
"select",
"name",
",",
"country",
",",
"age",
"from",
"singer",
"order",
"by",
"age",
"desc"
],
"question_spider": "Show name, country, age for all singers ordered by age from the oldest to the youngest.",
"question": "显示每个歌手的姓名、国家、年龄,按歌手年龄从最大到最小。",
"question_cspider": "按歌手年龄从最大到最小,显示每个歌手的姓名、国家、年龄。",
"bleu_from_cspider_question": "BLEU = 23.92, 74.1/38.5/16.0/8.3 (BP=0.964, ratio=0.964, hyp_len=27, ref_len=28)",
"question_toks": [
"显",
"示",
"歌",
"手",
"的",
"姓",
"名",
",",
"国",
"家",
"/",
"地",
"区",
",",
"年",
"龄",
",",
"按",
"年",
"龄",
"从",
"大",
"到",
"小",
"排",
"列",
"。"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
1
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
9,
false
],
null
]
],
[
0,
[
0,
[
0,
10,
false
],
null
]
],
[
0,
[
0,
[
0,
13,
false
],
null
]
]
]
],
"where": [],
"groupBy": [],
"having": [],
"orderBy": [
"desc",
[
[
0,
[
0,
13,
false
],
null
]
]
],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "concert_singer",
"query": "SELECT name , country , age FROM singer ORDER BY age DESC",
"query_toks": [
"SELECT",
"name",
",",
"country",
",",
"age",
"FROM",
"singer",
"ORDER",
"BY",
"age",
"DESC"
],
"query_toks_no_value": [
"select",
"name",
",",
"country",
",",
"age",
"from",
"singer",
"order",
"by",
"age",
"desc"
],
"question_spider": "What are the names, countries, and ages for every singer in descending order of age?",
"question": "每个歌手的名字、国家、年龄是什么,按年龄降序?",
"question_cspider": "按年龄降序,每个歌手的名字、国家、年龄是什么?",
"bleu_from_cspider_question": "BLEU = 37.32, 81.0/50.0/31.6/22.2 (BP=0.909, ratio=0.913, hyp_len=21, ref_len=23)",
"question_toks": [
"每",
"个",
"歌",
"手",
"的",
"姓",
"名",
",",
"国",
"家",
"和",
"年",
"龄",
"按",
"年",
"龄",
"降",
"序",
"排",
"列",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
1
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
9,
false
],
null
]
],
[
0,
[
0,
[
0,
10,
false
],
null
]
],
[
0,
[
0,
[
0,
13,
false
],
null
]
]
]
],
"where": [],
"groupBy": [],
"having": [],
"orderBy": [
"desc",
[
[
0,
[
0,
13,
false
],
null
]
]
],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "concert_singer",
"query": "SELECT avg(age) , min(age) , max(age) FROM singer WHERE country = 'France'",
"query_toks": [
"SELECT",
"avg",
"(",
"age",
")",
",",
"min",
"(",
"age",
")",
",",
"max",
"(",
"age",
")",
"FROM",
"singer",
"WHERE",
"country",
"=",
"'France",
"'"
],
"query_toks_no_value": [
"select",
"avg",
"(",
"age",
")",
",",
"min",
"(",
"age",
")",
",",
"max",
"(",
"age",
")",
"from",
"singer",
"where",
"country",
"=",
"value"
],
"question_spider": "What is the average, minimum, and maximum age of all singers from France?",
"question": "“France”所有歌手的平均年龄、最小年龄和最大年龄是多少?",
"question_cspider": "France所有歌手的平均年龄、最小年龄和最大年龄是多少?",
"bleu_from_cspider_question": "BLEU = 56.08, 78.6/63.0/50.0/40.0 (BP=1.000, ratio=1.120, hyp_len=28, ref_len=25)",
"question_toks": [
"来",
"自",
"法",
"国",
"的",
"所",
"有",
"歌",
"手",
"的",
"平",
"均",
"年",
"龄",
",",
"最",
"低",
"年",
"龄",
"和",
"最",
"高",
"年",
"龄",
"是",
"多",
"少",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
1
]
],
"conds": []
},
"select": [
false,
[
[
5,
[
0,
[
0,
13,
false
],
null
]
],
[
2,
[
0,
[
0,
13,
false
],
null
]
],
[
1,
[
0,
[
0,
13,
false
],
null
]
]
]
],
"where": [
[
false,
2,
[
0,
[
0,
10,
false
],
null
],
"\"France\"",
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "concert_singer",
"query": "SELECT avg(age) , min(age) , max(age) FROM singer WHERE country = 'France'",
"query_toks": [
"SELECT",
"avg",
"(",
"age",
")",
",",
"min",
"(",
"age",
")",
",",
"max",
"(",
"age",
")",
"FROM",
"singer",
"WHERE",
"country",
"=",
"'France",
"'"
],
"query_toks_no_value": [
"select",
"avg",
"(",
"age",
")",
",",
"min",
"(",
"age",
")",
",",
"max",
"(",
"age",
")",
"from",
"singer",
"where",
"country",
"=",
"value"
],
"question_spider": "What is the average, minimum, and maximum age for all French singers?",
"question": "所有“France”歌手的平均年龄、最小年龄和最大年龄是多少?",
"question_cspider": "所有France歌手的平均年龄、最小年龄和最大年龄是多少?",
"bleu_from_cspider_question": "BLEU = 69.61, 88.0/75.0/65.2/54.5 (BP=1.000, ratio=1.000, hyp_len=25, ref_len=25)",
"question_toks": [
"所",
"有",
"法",
"国",
"歌",
"手",
"的",
"平",
"均",
"年",
"龄",
",",
"最",
"低",
"年",
"龄",
"和",
"最",
"高",
"年",
"龄",
"是",
"多",
"少",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
1
]
],
"conds": []
},
"select": [
false,
[
[
5,
[
0,
[
0,
13,
false
],
null
]
],
[
2,
[
0,
[
0,
13,
false
],
null
]
],
[
1,
[
0,
[
0,
13,
false
],
null
]
]
]
],
"where": [
[
false,
2,
[
0,
[
0,
10,
false
],
null
],
"\"France\"",
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "concert_singer",
"query": "SELECT song_name , song_release_year FROM singer ORDER BY age LIMIT 1",
"query_toks": [
"SELECT",
"song_name",
",",
"song_release_year",
"FROM",
"singer",
"ORDER",
"BY",
"age",
"LIMIT",
"1"
],
"query_toks_no_value": [
"select",
"song_name",
",",
"song_release_year",
"from",
"singer",
"order",
"by",
"age",
"limit",
"value"
],
"question_spider": "Show the name and the release year of the song by the youngest singer.",
"question": "显示最年轻歌手的歌曲的名字和发行年份。",
"question_cspider": "显示最年轻歌手的歌曲的名字和发行年份。",
"bleu_from_cspider_question": "BLEU = 70.38, 100.0/93.8/73.3/57.1 (BP=0.889, ratio=0.895, hyp_len=17, ref_len=19)",
"question_toks": [
"显",
"示",
"最",
"年",
"轻",
"的",
"歌",
"手",
"的",
"名",
"字",
"和",
"发",
"行",
"年",
"份",
"。"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
1
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
11,
false
],
null
]
],
[
0,
[
0,
[
0,
12,
false
],
null
]
]
]
],
"where": [],
"groupBy": [],
"having": [],
"orderBy": [
"asc",
[
[
0,
[
0,
13,
false
],
null
]
]
],
"limit": 1,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "concert_singer",
"query": "SELECT song_name , song_release_year FROM singer ORDER BY age LIMIT 1",
"query_toks": [
"SELECT",
"song_name",
",",
"song_release_year",
"FROM",
"singer",
"ORDER",
"BY",
"age",
"LIMIT",
"1"
],
"query_toks_no_value": [
"select",
"song_name",
",",
"song_release_year",
"from",
"singer",
"order",
"by",
"age",
"limit",
"value"
],
"question_spider": "What are the names and release years for all the songs of the youngest singer?",
"question": "最年轻歌手的所有歌曲的名字和发行年是多少?",
"question_cspider": "最年轻歌手的所有歌曲的名字和发行年是多少?",
"bleu_from_cspider_question": "BLEU = 61.66, 87.0/72.7/57.1/40.0 (BP=1.000, ratio=1.095, hyp_len=23, ref_len=21)",
"question_toks": [
"最",
"年",
"轻",
"的",
"歌",
"手",
"的",
"所",
"有",
"歌",
"曲",
"的",
"名",
"称",
"和",
"发",
"行",
"年",
"份",
"是",
"多",
"少",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
1
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
11,
false
],
null
]
],
[
0,
[
0,
[
0,
12,
false
],
null
]
]
]
],
"where": [],
"groupBy": [],
"having": [],
"orderBy": [
"asc",
[
[
0,
[
0,
13,
false
],
null
]
]
],
"limit": 1,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "concert_singer",
"query": "SELECT DISTINCT country FROM singer WHERE age > 20",
"query_toks": [
"SELECT",
"DISTINCT",
"country",
"FROM",
"singer",
"WHERE",
"age",
">",
"20"
],
"query_toks_no_value": [
"select",
"distinct",
"country",
"from",
"singer",
"where",
"age",
">",
"value"
],
"question_spider": "What are all distinct countries where singers above age 20 are from?",
"question": "20岁以上的歌手来自哪些不同国家?",
"question_cspider": "20岁以上的歌手来自哪些不同国家?",
"bleu_from_cspider_question": "BLEU = 59.24, 70.8/60.9/54.5/52.4 (BP=1.000, ratio=1.412, hyp_len=24, ref_len=17)",
"question_toks": [
"年",
"龄",
"在",
"2",
"0",
"岁",
"以",
"上",
"的",
"歌",
"手",
"来",
"自",
"哪",
"些",
"不",
"同",
"的",
"国",
"家",
"/",
"地",
"区",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
1
]
],
"conds": []
},
"select": [
true,
[
[
0,
[
0,
[
0,
10,
false
],
null
]
]
]
],
"where": [
[
false,
3,
[
0,
[
0,
13,
false
],
null
],
20.0,
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "concert_singer",
"query": "SELECT DISTINCT country FROM singer WHERE age > 20",
"query_toks": [
"SELECT",
"DISTINCT",
"country",
"FROM",
"singer",
"WHERE",
"age",
">",
"20"
],
"query_toks_no_value": [
"select",
"distinct",
"country",
"from",
"singer",
"where",
"age",
">",
"value"
],
"question_spider": "What are the different countries with singers above age 20?",
"question": "哪些不同的国家有20岁以上的歌手?",
"question_cspider": "哪些国家有20岁以上的歌手?",
"bleu_from_cspider_question": "BLEU = 42.46, 70.0/47.4/33.3/29.4 (BP=1.000, ratio=1.429, hyp_len=20, ref_len=14)",
"question_toks": [
"年",
"龄",
"在",
"2",
"0",
"岁",
"以",
"上",
"的",
"歌",
"手",
"有",
"哪",
"些",
"不",
"同",
"的",
"国",
"家",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
1
]
],
"conds": []
},
"select": [
true,
[
[
0,
[
0,
[
0,
10,
false
],
null
]
]
]
],
"where": [
[
false,
3,
[
0,
[
0,
13,
false
],
null
],
20.0,
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "concert_singer",
"query": "SELECT country , count(*) FROM singer GROUP BY country",
"query_toks": [
"SELECT",
"country",
",",
"count",
"(",
"*",
")",
"FROM",
"singer",
"GROUP",
"BY",
"country"
],
"query_toks_no_value": [
"select",
"country",
",",
"count",
"(",
"*",
")",
"from",
"singer",
"group",
"by",
"country"
],
"question_spider": "Show all countries and the number of singers in each country.",
"question": "显示所有不同国家和每个国家的歌手数量。",
"question_cspider": "显示所有不同国家和每个国家的歌手数量。",
"bleu_from_cspider_question": "BLEU = 26.97, 62.5/39.1/22.7/9.5 (BP=1.000, ratio=1.263, hyp_len=24, ref_len=19)",
"question_toks": [
"显",
"示",
"所",
"有",
"国",
"家",
"/",
"地",
"区",
"以",
"及",
"每",
"个",
"国",
"家",
"/",
"地",
"区",
"的",
"歌",
"手",
"人",
"数",
"。"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
1
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
10,
false
],
null
]
],
[
3,
[
0,
[
0,
0,
false
],
null
]
]
]
],
"where": [],
"groupBy": [
[
0,
10,
false
]
],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "concert_singer",
"query": "SELECT country , count(*) FROM singer GROUP BY country",
"query_toks": [
"SELECT",
"country",
",",
"count",
"(",
"*",
")",
"FROM",
"singer",
"GROUP",
"BY",
"country"
],
"query_toks_no_value": [
"select",
"country",
",",
"count",
"(",
"*",
")",
"from",
"singer",
"group",
"by",
"country"
],
"question_spider": "How many singers are from each country?",
"question": "每个国家有多少歌手?",
"question_cspider": "每个国家有多少歌手?",
"bleu_from_cspider_question": "BLEU = 100.00, 100.0/100.0/100.0/100.0 (BP=1.000, ratio=1.000, hyp_len=10, ref_len=10)",
"question_toks": [
"每",
"个",
"国",
"家",
"有",
"多",
"少",
"歌",
"手",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
1
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
10,
false
],
null
]
],
[
3,
[
0,
[
0,
0,
false
],
null
]
]
]
],
"where": [],
"groupBy": [
[
0,
10,
false
]
],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "concert_singer",
"query": "SELECT song_name FROM singer WHERE age > (SELECT avg(age) FROM singer)",
"query_toks": [
"SELECT",
"song_name",
"FROM",
"singer",
"WHERE",
"age",
">",
"(",
"SELECT",
"avg",
"(",
"age",
")",
"FROM",
"singer",
")"
],
"query_toks_no_value": [
"select",
"song_name",
"from",
"singer",
"where",
"age",
">",
"(",
"select",
"avg",
"(",
"age",
")",
"from",
"singer",
")"
],
"question_spider": "List all song names by singers above the average age.",
"question": "列出高于平均年龄的歌手的所有歌名。",
"question_cspider": "列出高于平均年龄的歌手的所有歌名。",
"bleu_from_cspider_question": "BLEU = 53.63, 71.4/55.0/47.4/44.4 (BP=1.000, ratio=1.235, hyp_len=21, ref_len=17)",
"question_toks": [
"列",
"出",
"年",
"龄",
"超",
"过",
"平",
"均",
"年",
"龄",
"的",
"歌",
"手",
"的",
"所",
"有",
"歌",
"曲",
"名",
"称",
"。"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
1
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
11,
false
],
null
]
]
]
],
"where": [
[
false,
3,
[
0,
[
0,
13,
false
],
null
],
{
"from": {
"table_units": [
[
"table_unit",
1
]
],
"conds": []
},
"select": [
false,
[
[
5,
[
0,
[
0,
13,
false
],
null
]
]
]
],
"where": [],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
},
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "concert_singer",
"query": "SELECT song_name FROM singer WHERE age > (SELECT avg(age) FROM singer)",
"query_toks": [
"SELECT",
"song_name",
"FROM",
"singer",
"WHERE",
"age",
">",
"(",
"SELECT",
"avg",
"(",
"age",
")",
"FROM",
"singer",
")"
],
"query_toks_no_value": [
"select",
"song_name",
"from",
"singer",
"where",
"age",
">",
"(",
"select",
"avg",
"(",
"age",
")",
"from",
"singer",
")"
],
"question_spider": "What are all the song names by singers who are older than average?",
"question": "年龄高于平均年龄的歌手的所有歌名有哪些?",
"question_cspider": "年龄高于平均年龄的歌手的所有歌名有哪些?",
"bleu_from_cspider_question": "BLEU = 26.38, 58.8/43.8/26.7/14.3 (BP=0.838, ratio=0.850, hyp_len=17, ref_len=20)",
"question_toks": [
"比",
"平",
"均",
"年",
"龄",
"还",
"大",
"的",
"歌",
"手",
"的",
"歌",
"名",
"是",
"什",
"么",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
1
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
11,
false
],
null
]
]
]
],
"where": [
[
false,
3,
[
0,
[
0,
13,
false
],
null
],
{
"from": {
"table_units": [
[
"table_unit",
1
]
],
"conds": []
},
"select": [
false,
[
[
5,
[
0,
[
0,
13,
false
],
null
]
]
]
],
"where": [],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
},
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "concert_singer",
"query": "SELECT LOCATION , name FROM stadium WHERE capacity BETWEEN 5000 AND 10000",
"query_toks": [
"SELECT",
"LOCATION",
",",
"name",
"FROM",
"stadium",
"WHERE",
"capacity",
"BETWEEN",
"5000",
"AND",
"10000"
],
"query_toks_no_value": [
"select",
"location",
",",
"name",
"from",
"stadium",
"where",
"capacity",
"between",
"value",
"and",
"value"
],
"question_spider": "Show location and name for all stadiums with a capacity between 5000 and 10000.",
"question": "显示容量在5000到10000之间的所有体育场馆的位置和名称。",
"question_cspider": "显示容量在5000到10000之间的所有体育场馆的位置和名称。",
"bleu_from_cspider_question": "BLEU = 91.39, 100.0/96.6/92.9/88.9 (BP=0.967, ratio=0.968, hyp_len=30, ref_len=31)",
"question_toks": [
"显",
"示",
"容",
"量",
"在",
"5",
"0",
"0",
"0",
"到",
"1",
"0",
"0",
"0",
"0",
"之",
"间",
"的",
"所",
"有",
"体",
"育",
"场",
"的",
"位",
"置",
"和",
"名",
"称",
"。"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
0
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
2,
false
],
null
]
],
[
0,
[
0,
[
0,
3,
false
],
null
]
]
]
],
"where": [
[
false,
1,
[
0,
[
0,
4,
false
],
null
],
5000.0,
10000.0
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "concert_singer",
"query": "SELECT LOCATION , name FROM stadium WHERE capacity BETWEEN 5000 AND 10000",
"query_toks": [
"SELECT",
"LOCATION",
",",
"name",
"FROM",
"stadium",
"WHERE",
"capacity",
"BETWEEN",
"5000",
"AND",
"10000"
],
"query_toks_no_value": [
"select",
"location",
",",
"name",
"from",
"stadium",
"where",
"capacity",
"between",
"value",
"and",
"value"
],
"question_spider": "What are the locations and names of all stations with capacity between 5000 and 10000?",
"question": "容量在5000到10000之间的所有体育场的位置和名称是什么?",
"question_cspider": "容量在5000到10000之间的所有体育场的位置和名称是什么?",
"bleu_from_cspider_question": "BLEU = 84.57, 93.3/89.7/85.7/81.5 (BP=0.967, ratio=0.968, hyp_len=30, ref_len=31)",
"question_toks": [
"容",
"量",
"在",
"5",
"0",
"0",
"0",
"到",
"1",
"0",
"0",
"0",
"0",
"之",
"间",
"的",
"所",
"有",
"站",
"点",
"的",
"位",
"置",
"和",
"名",
"称",
"是",
"什",
"么",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
0
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
2,
false
],
null
]
],
[
0,
[
0,
[
0,
3,
false
],
null
]
]
]
],
"where": [
[
false,
1,
[
0,
[
0,
4,
false
],
null
],
5000.0,
10000.0
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "concert_singer",
"query": "select max(capacity), average from stadium",
"query_toks": [
"select",
"max",
"(",
"capacity",
")",
",",
"average",
"from",
"stadium"
],
"query_toks_no_value": [
"select",
"max",
"(",
"capacity",
")",
",",
"average",
"from",
"stadium"
],
"question_spider": "What is the maximum capacity and the average of all stadiums ?",
"question": "所有体育场的平均出席人数和最大容量是多少?",
"question_cspider": "所有体育场的平均容量和最大容量是多少?",
"bleu_from_cspider_question": "BLEU = 76.35, 100.0/88.9/76.5/50.0 (BP=1.000, ratio=1.000, hyp_len=19, ref_len=19)",
"question_toks": [
"所",
"有",
"体",
"育",
"场",
"的",
"最",
"大",
"容",
"量",
"和",
"平",
"均",
"容",
"量",
"是",
"多",
"少",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
0
]
],
"conds": []
},
"select": [
false,
[
[
1,
[
0,
[
0,
4,
false
],
null
]
],
[
0,
[
0,
[
0,
7,
false
],
null
]
]
]
],
"where": [],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "concert_singer",
"query": "select avg(capacity) , max(capacity) from stadium",
"query_toks": [
"select",
"avg",
"(",
"capacity",
")",
",",
"max",
"(",
"capacity",
")",
"from",
"stadium"
],
"query_toks_no_value": [
"select",
"avg",
"(",
"capacity",
")",
",",
"max",
"(",
"capacity",
")",
"from",
"stadium"
],
"question_spider": "What is the average and maximum capacities for all stadiums ?",
"question": "所有体育场的平均容量和最大容量是多少?",
"question_cspider": "所有体育场的平均容量和最大容量是多少?",
"bleu_from_cspider_question": "BLEU = 69.13, 94.4/82.4/68.8/53.3 (BP=0.946, ratio=0.947, hyp_len=18, ref_len=19)",
"question_toks": [
"所",
"有",
"体",
"育",
"场",
"的",
"平",
"均",
"和",
"最",
"大",
"容",
"纳",
"量",
"是",
"多",
"少",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
0
]
],
"conds": []
},
"select": [
false,
[
[
5,
[
0,
[
0,
4,
false
],
null
]
],
[
1,
[
0,
[
0,
4,
false
],
null
]
]
]
],
"where": [],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "concert_singer",
"query": "SELECT name , capacity FROM stadium ORDER BY average DESC LIMIT 1",
"query_toks": [
"SELECT",
"name",
",",
"capacity",
"FROM",
"stadium",
"ORDER",
"BY",
"average",
"DESC",
"LIMIT",
"1"
],
"query_toks_no_value": [
"select",
"name",
",",
"capacity",
"from",
"stadium",
"order",
"by",
"average",
"desc",
"limit",
"value"
],
"question_spider": "What is the name and capacity for the stadium with highest average attendance?",
"question": "平均到场率最高的体育场名称和容量是多少?",
"question_cspider": "平均到场率最高的体育场名称和容量是多少?",
"bleu_from_cspider_question": "BLEU = 68.92, 85.7/75.0/63.2/55.6 (BP=1.000, ratio=1.050, hyp_len=21, ref_len=20)",
"question_toks": [
"平",
"均",
"出",
"勤",
"率",
"最",
"高",
"的",
"体",
"育",
"场",
"的",
"名",
"称",
"和",
"容",
"量",
"是",
"多",
"少",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
0
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
3,
false
],
null
]
],
[
0,
[
0,
[
0,
4,
false
],
null
]
]
]
],
"where": [],
"groupBy": [],
"having": [],
"orderBy": [
"desc",
[
[
0,
[
0,
7,
false
],
null
]
]
],
"limit": 1,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "concert_singer",
"query": "SELECT name , capacity FROM stadium ORDER BY average DESC LIMIT 1",
"query_toks": [
"SELECT",
"name",
",",
"capacity",
"FROM",
"stadium",
"ORDER",
"BY",
"average",
"DESC",
"LIMIT",
"1"
],
"query_toks_no_value": [
"select",
"name",
",",
"capacity",
"from",
"stadium",
"order",
"by",
"average",
"desc",
"limit",
"value"
],
"question_spider": "What is the name and capacity for the stadium with the highest average attendance?",
"question": "平均到场率最高的体育场的名称是什么,有多少容量?",
"question_cspider": "平均到场率最高的体育场的名称是什么,有多少容量?",
"bleu_from_cspider_question": "BLEU = 46.70, 85.7/60.0/42.1/38.9 (BP=0.867, ratio=0.875, hyp_len=21, ref_len=24)",
"question_toks": [
"平",
"均",
"出",
"勤",
"率",
"最",
"高",
"的",
"体",
"育",
"场",
"的",
"名",
"称",
"和",
"容",
"量",
"是",
"多",
"少",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
0
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
3,
false
],
null
]
],
[
0,
[
0,
[
0,
4,
false
],
null
]
]
]
],
"where": [],
"groupBy": [],
"having": [],
"orderBy": [
"desc",
[
[
0,
[
0,
7,
false
],
null
]
]
],
"limit": 1,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "concert_singer",
"query": "SELECT count(*) FROM concert WHERE YEAR = 2014 OR YEAR = 2015",
"query_toks": [
"SELECT",
"count",
"(",
"*",
")",
"FROM",
"concert",
"WHERE",
"YEAR",
"=",
"2014",
"OR",
"YEAR",
"=",
"2015"
],
"query_toks_no_value": [
"select",
"count",
"(",
"*",
")",
"from",
"concert",
"where",
"year",
"=",
"value",
"or",
"year",
"=",
"value"
],
"question_spider": "How many concerts are there in year 2014 or 2015?",
"question": "2014或2015年有多少演唱会?",
"question_cspider": "2014或2015年有多少演唱会?",
"bleu_from_cspider_question": "BLEU = 65.16, 76.5/68.8/60.0/57.1 (BP=1.000, ratio=1.000, hyp_len=17, ref_len=17)",
"question_toks": [
"2",
"0",
"1",
"4",
"或",
"2",
"0",
"1",
"5",
"年",
"有",
"几",
"场",
"音",
"乐",
"会",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
2
]
],
"conds": []
},
"select": [
false,
[
[
3,
[
0,
[
0,
0,
false
],
null
]
]
]
],
"where": [
[
false,
2,
[
0,
[
0,
19,
false
],
null
],
2014.0,
null
],
"or",
[
false,
2,
[
0,
[
0,
19,
false
],
null
],
2015.0,
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "concert_singer",
"query": "SELECT count(*) FROM concert WHERE YEAR = 2014 OR YEAR = 2015",
"query_toks": [
"SELECT",
"count",
"(",
"*",
")",
"FROM",
"concert",
"WHERE",
"YEAR",
"=",
"2014",
"OR",
"YEAR",
"=",
"2015"
],
"query_toks_no_value": [
"select",
"count",
"(",
"*",
")",
"from",
"concert",
"where",
"year",
"=",
"value",
"or",
"year",
"=",
"value"
],
"question_spider": "How many concerts occurred in 2014 or 2015?",
"question": "有多少演唱会在2014或2015年?",
"question_cspider": "有多少演唱会在2014或2015年?",
"bleu_from_cspider_question": "BLEU = 38.09, 66.7/45.0/31.6/22.2 (BP=1.000, ratio=1.167, hyp_len=21, ref_len=18)",
"question_toks": [
"2",
"0",
"1",
"4",
"年",
"或",
"2",
"0",
"1",
"5",
"年",
"举",
"行",
"了",
"多",
"少",
"场",
"音",
"乐",
"会",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
2
]
],
"conds": []
},
"select": [
false,
[
[
3,
[
0,
[
0,
0,
false
],
null
]
]
]
],
"where": [
[
false,
2,
[
0,
[
0,
19,
false
],
null
],
2014.0,
null
],
"or",
[
false,
2,
[
0,
[
0,
19,
false
],
null
],
2015.0,
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "concert_singer",
"query": "SELECT T2.name , count(*) FROM concert AS T1 JOIN stadium AS T2 ON T1.stadium_id = T2.stadium_id GROUP BY T1.stadium_id",
"query_toks": [
"SELECT",
"T2.name",
",",
"count",
"(",
"*",
")",
"FROM",
"concert",
"AS",
"T1",
"JOIN",
"stadium",
"AS",
"T2",
"ON",
"T1.stadium_id",
"=",
"T2.stadium_id",
"GROUP",
"BY",
"T1.stadium_id"
],
"query_toks_no_value": [
"select",
"t2",
".",
"name",
",",
"count",
"(",
"*",
")",
"from",
"concert",
"as",
"t1",
"join",
"stadium",
"as",
"t2",
"on",
"t1",
".",
"stadium_id",
"=",
"t2",
".",
"stadium_id",
"group",
"by",
"t1",
".",
"stadium_id"
],
"question_spider": "Show the stadium name and the number of concerts in each stadium.",
"question": "显示体育场的名称和每个体育场举办音乐会的数量。",
"question_cspider": "显示体育场的名称和每个体育场举办音乐会的数量。",
"bleu_from_cspider_question": "BLEU = 57.65, 95.0/73.7/61.1/47.1 (BP=0.861, ratio=0.870, hyp_len=20, ref_len=23)",
"question_toks": [
"显",
"示",
"体",
"育",
"场",
"名",
"称",
"和",
"每",
"个",
"体",
"育",
"场",
"的",
"音",
"乐",
"会",
"数",
"目",
"。"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
2
],
[
"table_unit",
0
]
],
"conds": [
[
false,
2,
[
0,
[
0,
18,
false
],
null
],
[
0,
1,
false
],
null
]
]
},
"select": [
false,
[
[
0,
[
0,
[
0,
3,
false
],
null
]
],
[
3,
[
0,
[
0,
0,
false
],
null
]
]
]
],
"where": [],
"groupBy": [
[
0,
18,
false
]
],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "concert_singer",
"query": "SELECT T2.name , count(*) FROM concert AS T1 JOIN stadium AS T2 ON T1.stadium_id = T2.stadium_id GROUP BY T1.stadium_id",
"query_toks": [
"SELECT",
"T2.name",
",",
"count",
"(",
"*",
")",
"FROM",
"concert",
"AS",
"T1",
"JOIN",
"stadium",
"AS",
"T2",
"ON",
"T1.stadium_id",
"=",
"T2.stadium_id",
"GROUP",
"BY",
"T1.stadium_id"
],
"query_toks_no_value": [
"select",
"t2",
".",
"name",
",",
"count",
"(",
"*",
")",
"from",
"concert",
"as",
"t1",
"join",
"stadium",
"as",
"t2",
"on",
"t1",
".",
"stadium_id",
"=",
"t2",
".",
"stadium_id",
"group",
"by",
"t1",
".",
"stadium_id"
],
"question_spider": "For each stadium, how many concerts play there?",
"question": "每个体育场有多少场音乐会?",
"question_cspider": "每个体育场有多少场音乐会?",
"bleu_from_cspider_question": "BLEU = 100.00, 100.0/100.0/100.0/100.0 (BP=1.000, ratio=1.000, hyp_len=13, ref_len=13)",
"question_toks": [
"每",
"个",
"体",
"育",
"场",
"有",
"多",
"少",
"场",
"音",
"乐",
"会",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
2
],
[
"table_unit",
0
]
],
"conds": [
[
false,
2,
[
0,
[
0,
18,
false
],
null
],
[
0,
1,
false
],
null
]
]
},
"select": [
false,
[
[
0,
[
0,
[
0,
3,
false
],
null
]
],
[
3,
[
0,
[
0,
0,
false
],
null
]
]
]
],
"where": [],
"groupBy": [
[
0,
18,
false
]
],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "concert_singer",
"query": "SELECT T2.name , T2.capacity FROM concert AS T1 JOIN stadium AS T2 ON T1.stadium_id = T2.stadium_id WHERE T1.year >= 2014 GROUP BY T2.stadium_id ORDER BY count(*) DESC LIMIT 1",
"query_toks": [
"SELECT",
"T2.name",
",",
"T2.capacity",
"FROM",
"concert",
"AS",
"T1",
"JOIN",
"stadium",
"AS",
"T2",
"ON",
"T1.stadium_id",
"=",
"T2.stadium_id",
"WHERE",
"T1.year",
">",
"=",
"2014",
"GROUP",
"BY",
"T2.stadium_id",
"ORDER",
"BY",
"count",
"(",
"*",
")",
"DESC",
"LIMIT",
"1"
],
"query_toks_no_value": [
"select",
"t2",
".",
"name",
",",
"t2",
".",
"capacity",
"from",
"concert",
"as",
"t1",
"join",
"stadium",
"as",
"t2",
"on",
"t1",
".",
"stadium_id",
"=",
"t2",
".",
"stadium_id",
"where",
"t1",
".",
"year",
">",
"=",
"value",
"group",
"by",
"t2",
".",
"stadium_id",
"order",
"by",
"count",
"(",
"*",
")",
"desc",
"limit",
"value"
],
"question_spider": "Show the stadium name and capacity with most number of concerts in year 2014 or after.",
"question": "在2014年或之后举办的音乐会最多的体育场的名称和容量。",
"question_cspider": "在2014年或之后举办的音乐会最多的体育场的名称和容量。",
"bleu_from_cspider_question": "BLEU = 42.83, 71.0/50.0/37.9/25.0 (BP=1.000, ratio=1.107, hyp_len=31, ref_len=28)",
"question_toks": [
"在",
"2",
"0",
"1",
"4",
"年",
"或",
"之",
"后",
"的",
"大",
"多",
"数",
"音",
"乐",
"会",
"中",
",",
"显",
"示",
"体",
"育",
"场",
"名",
"称",
"和",
"容",
"纳",
"人",
"数",
"。"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
2
],
[
"table_unit",
0
]
],
"conds": [
[
false,
2,
[
0,
[
0,
18,
false
],
null
],
[
0,
1,
false
],
null
]
]
},
"select": [
false,
[
[
0,
[
0,
[
0,
3,
false
],
null
]
],
[
0,
[
0,
[
0,
4,
false
],
null
]
]
]
],
"where": [
[
false,
5,
[
0,
[
0,
19,
false
],
null
],
2014.0,
null
]
],
"groupBy": [
[
0,
1,
false
]
],
"having": [],
"orderBy": [
"desc",
[
[
0,
[
3,
0,
false
],
null
]
]
],
"limit": 1,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "concert_singer",
"query": "select t2.name , t2.capacity from concert as t1 join stadium as t2 on t1.stadium_id = t2.stadium_id where t1.year > 2013 group by t2.stadium_id order by count(*) desc limit 1",
"query_toks": [
"select",
"t2.name",
",",
"t2.capacity",
"from",
"concert",
"as",
"t1",
"join",
"stadium",
"as",
"t2",
"on",
"t1.stadium_id",
"=",
"t2.stadium_id",
"where",
"t1.year",
">",
"2013",
"group",
"by",
"t2.stadium_id",
"order",
"by",
"count",
"(",
"*",
")",
"desc",
"limit",
"1"
],
"query_toks_no_value": [
"select",
"t2",
".",
"name",
",",
"t2",
".",
"capacity",
"from",
"concert",
"as",
"t1",
"join",
"stadium",
"as",
"t2",
"on",
"t1",
".",
"stadium_id",
"=",
"t2",
".",
"stadium_id",
"where",
"t1",
".",
"year",
">",
"value",
"group",
"by",
"t2",
".",
"stadium_id",
"order",
"by",
"count",
"(",
"*",
")",
"desc",
"limit",
"value"
],
"question_spider": "What is the name and capacity of the stadium with the most concerts after 2013 ?",
"question": "在2013年以后音乐会最多的体育场名称和容量是多少?",
"question_cspider": "在2013年以后音乐会最多的体育场名称和容量是多少?",
"bleu_from_cspider_question": "BLEU = 56.63, 85.7/66.7/50.0/36.0 (BP=1.000, ratio=1.077, hyp_len=28, ref_len=26)",
"question_toks": [
"2",
"0",
"1",
"3",
"年",
"之",
"后",
"举",
"办",
"最",
"多",
"音",
"乐",
"会",
"的",
"体",
"育",
"场",
"的",
"名",
"称",
"和",
"容",
"量",
"是",
"多",
"少",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
2
],
[
"table_unit",
0
]
],
"conds": [
[
false,
2,
[
0,
[
0,
18,
false
],
null
],
[
0,
1,
false
],
null
]
]
},
"select": [
false,
[
[
0,
[
0,
[
0,
3,
false
],
null
]
],
[
0,
[
0,
[
0,
4,
false
],
null
]
]
]
],
"where": [
[
false,
3,
[
0,
[
0,
19,
false
],
null
],
2013.0,
null
]
],
"groupBy": [
[
0,
1,
false
]
],
"having": [],
"orderBy": [
"desc",
[
[
0,
[
3,
0,
false
],
null
]
]
],
"limit": 1,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "concert_singer",
"query": "SELECT YEAR FROM concert GROUP BY YEAR ORDER BY count(*) DESC LIMIT 1",
"query_toks": [
"SELECT",
"YEAR",
"FROM",
"concert",
"GROUP",
"BY",
"YEAR",
"ORDER",
"BY",
"count",
"(",
"*",
")",
"DESC",
"LIMIT",
"1"
],
"query_toks_no_value": [
"select",
"year",
"from",
"concert",
"group",
"by",
"year",
"order",
"by",
"count",
"(",
"*",
")",
"desc",
"limit",
"value"
],
"question_spider": "Which year has most number of concerts?",
"question": "哪一年音乐会最多?",
"question_cspider": "哪一年音乐会最多?",
"bleu_from_cspider_question": "BLEU = 53.11, 75.0/63.6/50.0/33.3 (BP=1.000, ratio=1.333, hyp_len=12, ref_len=9)",
"question_toks": [
"哪",
"一",
"年",
"举",
"行",
"的",
"音",
"乐",
"会",
"最",
"多",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
2
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
19,
false
],
null
]
]
]
],
"where": [],
"groupBy": [
[
0,
19,
false
]
],
"having": [],
"orderBy": [
"desc",
[
[
0,
[
3,
0,
false
],
null
]
]
],
"limit": 1,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "concert_singer",
"query": "SELECT YEAR FROM concert GROUP BY YEAR ORDER BY count(*) DESC LIMIT 1",
"query_toks": [
"SELECT",
"YEAR",
"FROM",
"concert",
"GROUP",
"BY",
"YEAR",
"ORDER",
"BY",
"count",
"(",
"*",
")",
"DESC",
"LIMIT",
"1"
],
"query_toks_no_value": [
"select",
"year",
"from",
"concert",
"group",
"by",
"year",
"order",
"by",
"count",
"(",
"*",
")",
"desc",
"limit",
"value"
],
"question_spider": "What is the year that had the most concerts?",
"question": "音乐会最多的是哪一年?",
"question_cspider": "音乐会最多的是哪一年?",
"bleu_from_cspider_question": "BLEU = 67.03, 84.6/75.0/63.6/50.0 (BP=1.000, ratio=1.182, hyp_len=13, ref_len=11)",
"question_toks": [
"音",
"乐",
"会",
"最",
"多",
"的",
"年",
"份",
"是",
"哪",
"一",
"年",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
2
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
19,
false
],
null
]
]
]
],
"where": [],
"groupBy": [
[
0,
19,
false
]
],
"having": [],
"orderBy": [
"desc",
[
[
0,
[
3,
0,
false
],
null
]
]
],
"limit": 1,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "concert_singer",
"query": "SELECT name FROM stadium WHERE stadium_id NOT IN (SELECT stadium_id FROM concert)",
"query_toks": [
"SELECT",
"name",
"FROM",
"stadium",
"WHERE",
"stadium_id",
"NOT",
"IN",
"(",
"SELECT",
"stadium_id",
"FROM",
"concert",
")"
],
"query_toks_no_value": [
"select",
"name",
"from",
"stadium",
"where",
"stadium_id",
"not",
"in",
"(",
"select",
"stadium_id",
"from",
"concert",
")"
],
"question_spider": "Show the stadium names without any concert.",
"question": "没有音乐会的体育场的名称。",
"question_cspider": "没有音乐会的体育场的名称。",
"bleu_from_cspider_question": "BLEU = 23.97, 60.0/42.1/22.2/5.9 (BP=1.000, ratio=1.538, hyp_len=20, ref_len=13)",
"question_toks": [
"在",
"没",
"有",
"任",
"何",
"音",
"乐",
"会",
"的",
"情",
"况",
"下",
"显",
"示",
"体",
"育",
"场",
"名",
"称",
"。"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
0
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
3,
false
],
null
]
]
]
],
"where": [
[
true,
8,
[
0,
[
0,
1,
false
],
null
],
{
"from": {
"table_units": [
[
"table_unit",
2
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
18,
false
],
null
]
]
]
],
"where": [],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
},
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "concert_singer",
"query": "SELECT name FROM stadium WHERE stadium_id NOT IN (SELECT stadium_id FROM concert)",
"query_toks": [
"SELECT",
"name",
"FROM",
"stadium",
"WHERE",
"stadium_id",
"NOT",
"IN",
"(",
"SELECT",
"stadium_id",
"FROM",
"concert",
")"
],
"query_toks_no_value": [
"select",
"name",
"from",
"stadium",
"where",
"stadium_id",
"not",
"in",
"(",
"select",
"stadium_id",
"from",
"concert",
")"
],
"question_spider": "What are the names of the stadiums without any concerts?",
"question": "没有音乐会的体育场名称是什么?",
"question_cspider": "没有音乐会的体育场名称是什么?",
"bleu_from_cspider_question": "BLEU = 78.28, 88.2/81.2/73.3/71.4 (BP=1.000, ratio=1.133, hyp_len=17, ref_len=15)",
"question_toks": [
"没",
"有",
"举",
"行",
"音",
"乐",
"会",
"的",
"体",
"育",
"场",
"名",
"称",
"是",
"什",
"么",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
0
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
3,
false
],
null
]
]
]
],
"where": [
[
true,
8,
[
0,
[
0,
1,
false
],
null
],
{
"from": {
"table_units": [
[
"table_unit",
2
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
18,
false
],
null
]
]
]
],
"where": [],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
},
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "concert_singer",
"query": "SELECT country FROM singer WHERE age > 40 INTERSECT SELECT country FROM singer WHERE age < 30",
"query_toks": [
"SELECT",
"country",
"FROM",
"singer",
"WHERE",
"age",
">",
"40",
"INTERSECT",
"SELECT",
"country",
"FROM",
"singer",
"WHERE",
"age",
"<",
"30"
],
"query_toks_no_value": [
"select",
"country",
"from",
"singer",
"where",
"age",
">",
"value",
"intersect",
"select",
"country",
"from",
"singer",
"where",
"age",
"<",
"value"
],
"question_spider": "Show countries where a singer above age 40 and a singer below 30 are from.",
"question": "显示40岁以上和30岁以下的歌手所来自的国家。",
"question_cspider": "显示40岁以上和30岁以下的歌手所来自的国家。",
"bleu_from_cspider_question": "BLEU = 42.55, 80.8/56.0/33.3/21.7 (BP=1.000, ratio=1.130, hyp_len=26, ref_len=23)",
"question_toks": [
"显",
"示",
"来",
"自",
"4",
"0",
"岁",
"以",
"上",
"歌",
"手",
"和",
"3",
"0",
"岁",
"以",
"下",
"歌",
"手",
"的",
"国",
"家",
"/",
"地",
"区",
"。"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
1
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
10,
false
],
null
]
]
]
],
"where": [
[
false,
3,
[
0,
[
0,
13,
false
],
null
],
40.0,
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": {
"from": {
"table_units": [
[
"table_unit",
1
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
10,
false
],
null
]
]
]
],
"where": [
[
false,
4,
[
0,
[
0,
13,
false
],
null
],
30.0,
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
},
"union": null,
"except": null
}
},
{
"db_id": "concert_singer",
"query": "SELECT name FROM stadium EXCEPT SELECT T2.name FROM concert AS T1 JOIN stadium AS T2 ON T1.stadium_id = T2.stadium_id WHERE T1.year = 2014",
"query_toks": [
"SELECT",
"name",
"FROM",
"stadium",
"EXCEPT",
"SELECT",
"T2.name",
"FROM",
"concert",
"AS",
"T1",
"JOIN",
"stadium",
"AS",
"T2",
"ON",
"T1.stadium_id",
"=",
"T2.stadium_id",
"WHERE",
"T1.year",
"=",
"2014"
],
"query_toks_no_value": [
"select",
"name",
"from",
"stadium",
"except",
"select",
"t2",
".",
"name",
"from",
"concert",
"as",
"t1",
"join",
"stadium",
"as",
"t2",
"on",
"t1",
".",
"stadium_id",
"=",
"t2",
".",
"stadium_id",
"where",
"t1",
".",
"year",
"=",
"value"
],
"question_spider": "Show names for all stadiums except for stadiums having a concert in year 2014.",
"question": "显示除了2014年有音乐会的场馆外的所有体育场的名称。",
"question_cspider": "显示除了2014年有音乐会的场馆外的所有体育场的名称。",
"bleu_from_cspider_question": "BLEU = 48.04, 79.3/53.6/40.7/30.8 (BP=1.000, ratio=1.074, hyp_len=29, ref_len=27)",
"question_toks": [
"显",
"示",
"所",
"有",
"体",
"育",
"场",
"的",
"名",
"称",
",",
"但",
"2",
"0",
"1",
"4",
"年",
"举",
"办",
"音",
"乐",
"会",
"的",
"体",
"育",
"场",
"除",
"外",
"。"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
0
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
3,
false
],
null
]
]
]
],
"where": [],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": {
"from": {
"table_units": [
[
"table_unit",
2
],
[
"table_unit",
0
]
],
"conds": [
[
false,
2,
[
0,
[
0,
18,
false
],
null
],
[
0,
1,
false
],
null
]
]
},
"select": [
false,
[
[
0,
[
0,
[
0,
3,
false
],
null
]
]
]
],
"where": [
[
false,
2,
[
0,
[
0,
19,
false
],
null
],
2014.0,
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
}
},
{
"db_id": "concert_singer",
"query": "SELECT name FROM stadium EXCEPT SELECT T2.name FROM concert AS T1 JOIN stadium AS T2 ON T1.stadium_id = T2.stadium_id WHERE T1.year = 2014",
"query_toks": [
"SELECT",
"name",
"FROM",
"stadium",
"EXCEPT",
"SELECT",
"T2.name",
"FROM",
"concert",
"AS",
"T1",
"JOIN",
"stadium",
"AS",
"T2",
"ON",
"T1.stadium_id",
"=",
"T2.stadium_id",
"WHERE",
"T1.year",
"=",
"2014"
],
"query_toks_no_value": [
"select",
"name",
"from",
"stadium",
"except",
"select",
"t2",
".",
"name",
"from",
"concert",
"as",
"t1",
"join",
"stadium",
"as",
"t2",
"on",
"t1",
".",
"stadium_id",
"=",
"t2",
".",
"stadium_id",
"where",
"t1",
".",
"year",
"=",
"value"
],
"question_spider": "What are the names of all stadiums that did not have a concert in 2014?",
"question": "2014年没有举办音乐会的所有体育场名称是什么?",
"question_cspider": "2014年没有举办音乐会的所有体育场名称是什么?",
"bleu_from_cspider_question": "BLEU = 63.40, 77.8/69.2/60.0/50.0 (BP=1.000, ratio=1.125, hyp_len=27, ref_len=24)",
"question_toks": [
"2",
"0",
"1",
"4",
"年",
"没",
"有",
"举",
"行",
"过",
"演",
"唱",
"会",
"的",
"所",
"有",
"体",
"育",
"场",
"馆",
"的",
"名",
"称",
"是",
"什",
"么",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
0
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
3,
false
],
null
]
]
]
],
"where": [],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": {
"from": {
"table_units": [
[
"table_unit",
2
],
[
"table_unit",
0
]
],
"conds": [
[
false,
2,
[
0,
[
0,
18,
false
],
null
],
[
0,
1,
false
],
null
]
]
},
"select": [
false,
[
[
0,
[
0,
[
0,
3,
false
],
null
]
]
]
],
"where": [
[
false,
2,
[
0,
[
0,
19,
false
],
null
],
2014.0,
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
}
},
{
"db_id": "concert_singer",
"query": "SELECT T2.concert_name , T2.theme , count(*) FROM singer_in_concert AS T1 JOIN concert AS T2 ON T1.concert_id = T2.concert_id GROUP BY T2.concert_id",
"query_toks": [
"SELECT",
"T2.concert_name",
",",
"T2.theme",
",",
"count",
"(",
"*",
")",
"FROM",
"singer_in_concert",
"AS",
"T1",
"JOIN",
"concert",
"AS",
"T2",
"ON",
"T1.concert_id",
"=",
"T2.concert_id",
"GROUP",
"BY",
"T2.concert_id"
],
"query_toks_no_value": [
"select",
"t2",
".",
"concert_name",
",",
"t2",
".",
"theme",
",",
"count",
"(",
"*",
")",
"from",
"singer_in_concert",
"as",
"t1",
"join",
"concert",
"as",
"t2",
"on",
"t1",
".",
"concert_id",
"=",
"t2",
".",
"concert_id",
"group",
"by",
"t2",
".",
"concert_id"
],
"question_spider": "Show the name and theme for all concerts and the number of singers in each concert.",
"question": "显示所有音乐会的名称和主题以及每场音乐会的歌手人数。",
"question_cspider": "显示所有音乐会的名称和主题以及每场音乐会的歌手人数。",
"bleu_from_cspider_question": "BLEU = 79.38, 92.6/84.6/76.0/66.7 (BP=1.000, ratio=1.038, hyp_len=27, ref_len=26)",
"question_toks": [
"显",
"示",
"所",
"有",
"音",
"乐",
"会",
"的",
"名",
"称",
"和",
"主",
"题",
"以",
"及",
"每",
"个",
"音",
"乐",
"会",
"中",
"的",
"歌",
"手",
"人",
"数",
"。"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
3
],
[
"table_unit",
2
]
],
"conds": [
[
false,
2,
[
0,
[
0,
20,
false
],
null
],
[
0,
15,
false
],
null
]
]
},
"select": [
false,
[
[
0,
[
0,
[
0,
16,
false
],
null
]
],
[
0,
[
0,
[
0,
17,
false
],
null
]
],
[
3,
[
0,
[
0,
0,
false
],
null
]
]
]
],
"where": [],
"groupBy": [
[
0,
15,
false
]
],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "concert_singer",
"query": "select t2.concert_name , t2.theme , count(*) from singer_in_concert as t1 join concert as t2 on t1.concert_id = t2.concert_id group by t2.concert_id",
"query_toks": [
"select",
"t2.concert_name",
",",
"t2.theme",
",",
"count",
"(",
"*",
")",
"from",
"singer_in_concert",
"as",
"t1",
"join",
"concert",
"as",
"t2",
"on",
"t1.concert_id",
"=",
"t2.concert_id",
"group",
"by",
"t2.concert_id"
],
"query_toks_no_value": [
"select",
"t2",
".",
"concert_name",
",",
"t2",
".",
"theme",
",",
"count",
"(",
"*",
")",
"from",
"singer_in_concert",
"as",
"t1",
"join",
"concert",
"as",
"t2",
"on",
"t1",
".",
"concert_id",
"=",
"t2",
".",
"concert_id",
"group",
"by",
"t2",
".",
"concert_id"
],
"question_spider": "What are the names , themes , and number of singers for every concert ?",
"question": "每场演唱会的名称、主题和歌手数量是多少?",
"question_cspider": "每场演唱会的名称、主题和歌手数量是多少?",
"bleu_from_cspider_question": "BLEU = 45.37, 80.0/57.9/38.9/23.5 (BP=1.000, ratio=1.000, hyp_len=20, ref_len=20)",
"question_toks": [
"每",
"场",
"音",
"乐",
"会",
"的",
"名",
"称",
",",
"主",
"题",
"和",
"歌",
"手",
"人",
"数",
"是",
"多",
"少",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
3
],
[
"table_unit",
2
]
],
"conds": [
[
false,
2,
[
0,
[
0,
20,
false
],
null
],
[
0,
15,
false
],
null
]
]
},
"select": [
false,
[
[
0,
[
0,
[
0,
16,
false
],
null
]
],
[
0,
[
0,
[
0,
17,
false
],
null
]
],
[
3,
[
0,
[
0,
0,
false
],
null
]
]
]
],
"where": [],
"groupBy": [
[
0,
15,
false
]
],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "concert_singer",
"query": "SELECT T2.name , count(*) FROM singer_in_concert AS T1 JOIN singer AS T2 ON T1.singer_id = T2.singer_id GROUP BY T2.singer_id",
"query_toks": [
"SELECT",
"T2.name",
",",
"count",
"(",
"*",
")",
"FROM",
"singer_in_concert",
"AS",
"T1",
"JOIN",
"singer",
"AS",
"T2",
"ON",
"T1.singer_id",
"=",
"T2.singer_id",
"GROUP",
"BY",
"T2.singer_id"
],
"query_toks_no_value": [
"select",
"t2",
".",
"name",
",",
"count",
"(",
"*",
")",
"from",
"singer_in_concert",
"as",
"t1",
"join",
"singer",
"as",
"t2",
"on",
"t1",
".",
"singer_id",
"=",
"t2",
".",
"singer_id",
"group",
"by",
"t2",
".",
"singer_id"
],
"question_spider": "List singer names and number of concerts for each singer.",
"question": "列出歌手的名字和每个歌手的演唱会的次数。",
"question_cspider": "列出歌手的名字和每个歌手的演唱会的次数。",
"bleu_from_cspider_question": "BLEU = 41.01, 83.3/52.9/37.5/26.7 (BP=0.895, ratio=0.900, hyp_len=18, ref_len=20)",
"question_toks": [
"列",
"出",
"歌",
"手",
"姓",
"名",
"和",
"每",
"位",
"歌",
"手",
"的",
"演",
"唱",
"会",
"数",
"量",
"。"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
3
],
[
"table_unit",
1
]
],
"conds": [
[
false,
2,
[
0,
[
0,
21,
false
],
null
],
[
0,
8,
false
],
null
]
]
},
"select": [
false,
[
[
0,
[
0,
[
0,
9,
false
],
null
]
],
[
3,
[
0,
[
0,
0,
false
],
null
]
]
]
],
"where": [],
"groupBy": [
[
0,
8,
false
]
],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "concert_singer",
"query": "SELECT T2.name , count(*) FROM singer_in_concert AS T1 JOIN singer AS T2 ON T1.singer_id = T2.singer_id GROUP BY T2.singer_id",
"query_toks": [
"SELECT",
"T2.name",
",",
"count",
"(",
"*",
")",
"FROM",
"singer_in_concert",
"AS",
"T1",
"JOIN",
"singer",
"AS",
"T2",
"ON",
"T1.singer_id",
"=",
"T2.singer_id",
"GROUP",
"BY",
"T2.singer_id"
],
"query_toks_no_value": [
"select",
"t2",
".",
"name",
",",
"count",
"(",
"*",
")",
"from",
"singer_in_concert",
"as",
"t1",
"join",
"singer",
"as",
"t2",
"on",
"t1",
".",
"singer_id",
"=",
"t2",
".",
"singer_id",
"group",
"by",
"t2",
".",
"singer_id"
],
"question_spider": "What are the names of the singers and number of concerts for each person?",
"question": "每个歌手的名字和演唱会的数量是多少?",
"question_cspider": "每个歌手的名字和演唱会的数量是多少?",
"bleu_from_cspider_question": "BLEU = 41.95, 84.2/55.6/35.3/18.8 (BP=1.000, ratio=1.056, hyp_len=19, ref_len=18)",
"question_toks": [
"歌",
"手",
"的",
"名",
"字",
"和",
"每",
"个",
"人",
"的",
"演",
"唱",
"会",
"数",
"量",
"是",
"什",
"么",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
3
],
[
"table_unit",
1
]
],
"conds": [
[
false,
2,
[
0,
[
0,
21,
false
],
null
],
[
0,
8,
false
],
null
]
]
},
"select": [
false,
[
[
0,
[
0,
[
0,
9,
false
],
null
]
],
[
3,
[
0,
[
0,
0,
false
],
null
]
]
]
],
"where": [],
"groupBy": [
[
0,
8,
false
]
],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "concert_singer",
"query": "SELECT T2.name FROM singer_in_concert AS T1 JOIN singer AS T2 ON T1.singer_id = T2.singer_id JOIN concert AS T3 ON T1.concert_id = T3.concert_id WHERE T3.year = 2014",
"query_toks": [
"SELECT",
"T2.name",
"FROM",
"singer_in_concert",
"AS",
"T1",
"JOIN",
"singer",
"AS",
"T2",
"ON",
"T1.singer_id",
"=",
"T2.singer_id",
"JOIN",
"concert",
"AS",
"T3",
"ON",
"T1.concert_id",
"=",
"T3.concert_id",
"WHERE",
"T3.year",
"=",
"2014"
],
"query_toks_no_value": [
"select",
"t2",
".",
"name",
"from",
"singer_in_concert",
"as",
"t1",
"join",
"singer",
"as",
"t2",
"on",
"t1",
".",
"singer_id",
"=",
"t2",
".",
"singer_id",
"join",
"concert",
"as",
"t3",
"on",
"t1",
".",
"concert_id",
"=",
"t3",
".",
"concert_id",
"where",
"t3",
".",
"year",
"=",
"value"
],
"question_spider": "List all singer names in concerts in year 2014.",
"question": "列出2014年音乐会上所有歌手的名字。",
"question_cspider": "列出2014年音乐会上所有歌手的名字。",
"bleu_from_cspider_question": "BLEU = 47.47, 78.9/50.0/41.2/31.2 (BP=1.000, ratio=1.000, hyp_len=19, ref_len=19)",
"question_toks": [
"列",
"出",
"2",
"0",
"1",
"4",
"年",
"演",
"唱",
"会",
"中",
"的",
"所",
"有",
"歌",
"手",
"姓",
"名",
"。"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
3
],
[
"table_unit",
1
],
[
"table_unit",
2
]
],
"conds": [
[
false,
2,
[
0,
[
0,
21,
false
],
null
],
[
0,
8,
false
],
null
],
"and",
[
false,
2,
[
0,
[
0,
20,
false
],
null
],
[
0,
15,
false
],
null
]
]
},
"select": [
false,
[
[
0,
[
0,
[
0,
9,
false
],
null
]
]
]
],
"where": [
[
false,
2,
[
0,
[
0,
19,
false
],
null
],
2014.0,
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "concert_singer",
"query": "SELECT T2.name FROM singer_in_concert AS T1 JOIN singer AS T2 ON T1.singer_id = T2.singer_id JOIN concert AS T3 ON T1.concert_id = T3.concert_id WHERE T3.year = 2014",
"query_toks": [
"SELECT",
"T2.name",
"FROM",
"singer_in_concert",
"AS",
"T1",
"JOIN",
"singer",
"AS",
"T2",
"ON",
"T1.singer_id",
"=",
"T2.singer_id",
"JOIN",
"concert",
"AS",
"T3",
"ON",
"T1.concert_id",
"=",
"T3.concert_id",
"WHERE",
"T3.year",
"=",
"2014"
],
"query_toks_no_value": [
"select",
"t2",
".",
"name",
"from",
"singer_in_concert",
"as",
"t1",
"join",
"singer",
"as",
"t2",
"on",
"t1",
".",
"singer_id",
"=",
"t2",
".",
"singer_id",
"join",
"concert",
"as",
"t3",
"on",
"t1",
".",
"concert_id",
"=",
"t3",
".",
"concert_id",
"where",
"t3",
".",
"year",
"=",
"value"
],
"question_spider": "What are the names of the singers who performed in a concert in 2014?",
"question": "2014年在演唱会上演唱的歌手的名字是什么?",
"question_cspider": "2014年在演唱会上演唱的歌手的名字是什么?",
"bleu_from_cspider_question": "BLEU = 30.49, 94.1/62.5/33.3/14.3 (BP=0.745, ratio=0.773, hyp_len=17, ref_len=22)",
"question_toks": [
"2",
"0",
"1",
"4",
"年",
"演",
"唱",
"会",
"的",
"歌",
"手",
"叫",
"什",
"么",
"名",
"字",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
3
],
[
"table_unit",
1
],
[
"table_unit",
2
]
],
"conds": [
[
false,
2,
[
0,
[
0,
21,
false
],
null
],
[
0,
8,
false
],
null
],
"and",
[
false,
2,
[
0,
[
0,
20,
false
],
null
],
[
0,
15,
false
],
null
]
]
},
"select": [
false,
[
[
0,
[
0,
[
0,
9,
false
],
null
]
]
]
],
"where": [
[
false,
2,
[
0,
[
0,
19,
false
],
null
],
2014.0,
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "concert_singer",
"query": "SELECT name , country FROM singer WHERE song_name LIKE '%Hey%'",
"query_toks": [
"SELECT",
"name",
",",
"country",
"FROM",
"singer",
"WHERE",
"song_name",
"LIKE",
"'",
"%",
"Hey",
"%",
"'"
],
"query_toks_no_value": [
"select",
"name",
",",
"country",
"from",
"singer",
"where",
"song_name",
"like",
"value"
],
"question_spider": "what is the name and nation of the singer who have a song having 'Hey' in its name?",
"question": "有首歌名含有“Hey”的歌手的名字和国籍是什么?",
"question_cspider": "有首歌名含有“你”的歌手的名字和国籍是什么?",
"bleu_from_cspider_question": "BLEU = 24.13, 52.2/22.7/19.0/15.0 (BP=1.000, ratio=1.045, hyp_len=23, ref_len=22)",
"question_toks": [
"歌",
"手",
"的",
"名",
"字",
"和",
"所",
"在",
"国",
"家",
"/",
"地",
"区",
"名",
"称",
"是",
"“",
" ",
"H",
"e",
"y",
"”",
"吗",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
1
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
9,
false
],
null
]
],
[
0,
[
0,
[
0,
10,
false
],
null
]
]
]
],
"where": [
[
false,
9,
[
0,
[
0,
11,
false
],
null
],
"\"%Hey%\"",
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "concert_singer",
"query": "SELECT name , country FROM singer WHERE song_name LIKE '%Hey%'",
"query_toks": [
"SELECT",
"name",
",",
"country",
"FROM",
"singer",
"WHERE",
"song_name",
"LIKE",
"'",
"%",
"Hey",
"%",
"'"
],
"query_toks_no_value": [
"select",
"name",
",",
"country",
"from",
"singer",
"where",
"song_name",
"like",
"value"
],
"question_spider": "What is the name and country of origin of every singer who has a song with the word 'Hey' in its title?",
"question": "歌名中有“Hey”这个词的所有歌手的姓名和原籍国是什么?",
"question_cspider": "歌名中有“你”这个词的所有歌手的姓名和原籍国是什么?",
"bleu_from_cspider_question": "BLEU = 16.13, 57.1/35.0/15.8/5.6 (BP=0.788, ratio=0.808, hyp_len=21, ref_len=26)",
"question_toks": [
"每",
"个",
"歌",
"手",
"的",
"歌",
"名",
"和",
"出",
"生",
"国",
"家",
"/",
"地",
"区",
"分",
"别",
"是",
"什",
"么",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
1
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
9,
false
],
null
]
],
[
0,
[
0,
[
0,
10,
false
],
null
]
]
]
],
"where": [
[
false,
9,
[
0,
[
0,
11,
false
],
null
],
"\"%Hey%\"",
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "concert_singer",
"query": "SELECT T2.name , T2.location FROM concert AS T1 JOIN stadium AS T2 ON T1.stadium_id = T2.stadium_id WHERE T1.Year = 2014 INTERSECT SELECT T2.name , T2.location FROM concert AS T1 JOIN stadium AS T2 ON T1.stadium_id = T2.stadium_id WHERE T1.Year = 2015",
"query_toks": [
"SELECT",
"T2.name",
",",
"T2.location",
"FROM",
"concert",
"AS",
"T1",
"JOIN",
"stadium",
"AS",
"T2",
"ON",
"T1.stadium_id",
"=",
"T2.stadium_id",
"WHERE",
"T1.Year",
"=",
"2014",
"INTERSECT",
"SELECT",
"T2.name",
",",
"T2.location",
"FROM",
"concert",
"AS",
"T1",
"JOIN",
"stadium",
"AS",
"T2",
"ON",
"T1.stadium_id",
"=",
"T2.stadium_id",
"WHERE",
"T1.Year",
"=",
"2015"
],
"query_toks_no_value": [
"select",
"t2",
".",
"name",
",",
"t2",
".",
"location",
"from",
"concert",
"as",
"t1",
"join",
"stadium",
"as",
"t2",
"on",
"t1",
".",
"stadium_id",
"=",
"t2",
".",
"stadium_id",
"where",
"t1",
".",
"year",
"=",
"value",
"intersect",
"select",
"t2",
".",
"name",
",",
"t2",
".",
"location",
"from",
"concert",
"as",
"t1",
"join",
"stadium",
"as",
"t2",
"on",
"t1",
".",
"stadium_id",
"=",
"t2",
".",
"stadium_id",
"where",
"t1",
".",
"year",
"=",
"value"
],
"question_spider": "Find the name and location of the stadiums which some concerts happened in the years of both 2014 and 2015.",
"question": "找出同时在2014年和2015年举办音乐会的场馆的名称和地点。",
"question_cspider": "找出同时在2014年和2015年举办音乐会的场馆的名称和地点。",
"bleu_from_cspider_question": "BLEU = 48.52, 71.9/51.6/43.3/34.5 (BP=1.000, ratio=1.032, hyp_len=32, ref_len=31)",
"question_toks": [
"查",
"找",
"2",
"0",
"1",
"4",
"年",
"和",
"2",
"0",
"1",
"5",
"年",
"间",
"一",
"些",
"音",
"乐",
"会",
"所",
"在",
"的",
"体",
"育",
"馆",
"的",
"名",
"称",
"和",
"位",
"置",
"。"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
2
],
[
"table_unit",
0
]
],
"conds": [
[
false,
2,
[
0,
[
0,
18,
false
],
null
],
[
0,
1,
false
],
null
]
]
},
"select": [
false,
[
[
0,
[
0,
[
0,
3,
false
],
null
]
],
[
0,
[
0,
[
0,
2,
false
],
null
]
]
]
],
"where": [
[
false,
2,
[
0,
[
0,
19,
false
],
null
],
2014.0,
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": {
"from": {
"table_units": [
[
"table_unit",
2
],
[
"table_unit",
0
]
],
"conds": [
[
false,
2,
[
0,
[
0,
18,
false
],
null
],
[
0,
1,
false
],
null
]
]
},
"select": [
false,
[
[
0,
[
0,
[
0,
3,
false
],
null
]
],
[
0,
[
0,
[
0,
2,
false
],
null
]
]
]
],
"where": [
[
false,
2,
[
0,
[
0,
19,
false
],
null
],
2015.0,
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
},
"union": null,
"except": null
}
},
{
"db_id": "concert_singer",
"query": "SELECT T2.name , T2.location FROM concert AS T1 JOIN stadium AS T2 ON T1.stadium_id = T2.stadium_id WHERE T1.Year = 2014 INTERSECT SELECT T2.name , T2.location FROM concert AS T1 JOIN stadium AS T2 ON T1.stadium_id = T2.stadium_id WHERE T1.Year = 2015",
"query_toks": [
"SELECT",
"T2.name",
",",
"T2.location",
"FROM",
"concert",
"AS",
"T1",
"JOIN",
"stadium",
"AS",
"T2",
"ON",
"T1.stadium_id",
"=",
"T2.stadium_id",
"WHERE",
"T1.Year",
"=",
"2014",
"INTERSECT",
"SELECT",
"T2.name",
",",
"T2.location",
"FROM",
"concert",
"AS",
"T1",
"JOIN",
"stadium",
"AS",
"T2",
"ON",
"T1.stadium_id",
"=",
"T2.stadium_id",
"WHERE",
"T1.Year",
"=",
"2015"
],
"query_toks_no_value": [
"select",
"t2",
".",
"name",
",",
"t2",
".",
"location",
"from",
"concert",
"as",
"t1",
"join",
"stadium",
"as",
"t2",
"on",
"t1",
".",
"stadium_id",
"=",
"t2",
".",
"stadium_id",
"where",
"t1",
".",
"year",
"=",
"value",
"intersect",
"select",
"t2",
".",
"name",
",",
"t2",
".",
"location",
"from",
"concert",
"as",
"t1",
"join",
"stadium",
"as",
"t2",
"on",
"t1",
".",
"stadium_id",
"=",
"t2",
".",
"stadium_id",
"where",
"t1",
".",
"year",
"=",
"value"
],
"question_spider": "What are the names and locations of the stadiums that had concerts that occurred in both 2014 and 2015?",
"question": "在2014年和2015年同时举办音乐会的场馆名称和地点有哪些?",
"question_cspider": "在2014年和2015年同时举办音乐会的场馆名称和地点有哪些?",
"bleu_from_cspider_question": "BLEU = 54.48, 77.4/60.0/48.3/39.3 (BP=1.000, ratio=1.000, hyp_len=31, ref_len=31)",
"question_toks": [
"2",
"0",
"1",
"4",
"年",
"和",
"2",
"0",
"1",
"5",
"年",
"举",
"办",
"过",
"音",
"乐",
"会",
"的",
"体",
"育",
"馆",
"的",
"名",
"称",
"和",
"地",
"点",
"是",
"什",
"么",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
2
],
[
"table_unit",
0
]
],
"conds": [
[
false,
2,
[
0,
[
0,
18,
false
],
null
],
[
0,
1,
false
],
null
]
]
},
"select": [
false,
[
[
0,
[
0,
[
0,
3,
false
],
null
]
],
[
0,
[
0,
[
0,
2,
false
],
null
]
]
]
],
"where": [
[
false,
2,
[
0,
[
0,
19,
false
],
null
],
2014.0,
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": {
"from": {
"table_units": [
[
"table_unit",
2
],
[
"table_unit",
0
]
],
"conds": [
[
false,
2,
[
0,
[
0,
18,
false
],
null
],
[
0,
1,
false
],
null
]
]
},
"select": [
false,
[
[
0,
[
0,
[
0,
3,
false
],
null
]
],
[
0,
[
0,
[
0,
2,
false
],
null
]
]
]
],
"where": [
[
false,
2,
[
0,
[
0,
19,
false
],
null
],
2015.0,
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
},
"union": null,
"except": null
}
},
{
"db_id": "concert_singer",
"query": "select count(*) from concert where stadium_id = (select stadium_id from stadium order by capacity desc limit 1)",
"query_toks": [
"select",
"count",
"(",
"*",
")",
"from",
"concert",
"where",
"stadium_id",
"=",
"(",
"select",
"stadium_id",
"from",
"stadium",
"order",
"by",
"capacity",
"desc",
"limit",
"1",
")"
],
"query_toks_no_value": [
"select",
"count",
"(",
"*",
")",
"from",
"concert",
"where",
"stadium_id",
"=",
"(",
"select",
"stadium_id",
"from",
"stadium",
"order",
"by",
"capacity",
"desc",
"limit",
"value",
")"
],
"question_spider": "Find the number of concerts happened in the stadium with the highest capacity .",
"question": "找出有着最大容量的体育场举办的音乐会数量。",
"question_cspider": "找出有着最大容量的体育场举办的音乐会数量。",
"bleu_from_cspider_question": "BLEU = 22.63, 94.1/50.0/20.0/7.1 (BP=0.790, ratio=0.810, hyp_len=17, ref_len=21)",
"question_toks": [
"找",
"出",
"体",
"育",
"场",
"容",
"量",
"最",
"大",
"的",
"音",
"乐",
"会",
"的",
"数",
"目",
"。"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
2
]
],
"conds": []
},
"select": [
false,
[
[
3,
[
0,
[
0,
0,
false
],
null
]
]
]
],
"where": [
[
false,
2,
[
0,
[
0,
18,
false
],
null
],
{
"from": {
"table_units": [
[
"table_unit",
0
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
1,
false
],
null
]
]
]
],
"where": [],
"groupBy": [],
"having": [],
"orderBy": [
"desc",
[
[
0,
[
0,
4,
false
],
null
]
]
],
"limit": 1,
"intersect": null,
"union": null,
"except": null
},
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "concert_singer",
"query": "select count(*) from concert where stadium_id = (select stadium_id from stadium order by capacity desc limit 1)",
"query_toks": [
"select",
"count",
"(",
"*",
")",
"from",
"concert",
"where",
"stadium_id",
"=",
"(",
"select",
"stadium_id",
"from",
"stadium",
"order",
"by",
"capacity",
"desc",
"limit",
"1",
")"
],
"query_toks_no_value": [
"select",
"count",
"(",
"*",
")",
"from",
"concert",
"where",
"stadium_id",
"=",
"(",
"select",
"stadium_id",
"from",
"stadium",
"order",
"by",
"capacity",
"desc",
"limit",
"value",
")"
],
"question_spider": "What are the number of concerts that occurred in the stadium with the largest capacity ?",
"question": "在容量最大的体育场里有多少场音乐会?",
"question_cspider": "在容量最大的体育场里有多少场音乐会?",
"bleu_from_cspider_question": "BLEU = 47.98, 80.0/57.9/38.9/29.4 (BP=1.000, ratio=1.111, hyp_len=20, ref_len=18)",
"question_toks": [
"在",
"最",
"大",
"容",
"量",
"的",
"体",
"育",
"场",
"内",
"举",
"行",
"了",
"多",
"少",
"场",
"音",
"乐",
"会",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
2
]
],
"conds": []
},
"select": [
false,
[
[
3,
[
0,
[
0,
0,
false
],
null
]
]
]
],
"where": [
[
false,
2,
[
0,
[
0,
18,
false
],
null
],
{
"from": {
"table_units": [
[
"table_unit",
0
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
1,
false
],
null
]
]
]
],
"where": [],
"groupBy": [],
"having": [],
"orderBy": [
"desc",
[
[
0,
[
0,
4,
false
],
null
]
]
],
"limit": 1,
"intersect": null,
"union": null,
"except": null
},
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
}
]