[ { "db_id": "baseball_1", "query": "SELECT T1.name_full , T1.college_id FROM college AS T1 JOIN player_college AS T2 ON T1.college_id = T2.college_id GROUP BY T1.college_id ORDER BY count(*) DESC LIMIT 1;", "query_toks": [ "SELECT", "T1.name_full", ",", "T1.college_id", "FROM", "college", "AS", "T1", "JOIN", "player_college", "AS", "T2", "ON", "T1.college_id", "=", "T2.college_id", "GROUP", "BY", "T1.college_id", "ORDER", "BY", "count", "(", "*", ")", "DESC", "LIMIT", "1", ";" ], "query_toks_no_value": [ "select", "t1", ".", "name_full", ",", "t1", ".", "college_id", "from", "college", "as", "t1", "join", "player_college", "as", "t2", "on", "t1", ".", "college_id", "=", "t2", ".", "college_id", "group", "by", "t1", ".", "college_id", "order", "by", "count", "(", "*", ")", "desc", "limit", "value" ], "question_spider": "what is the full name and id of the college with the largest number of baseball players?", "question": "拥有数量最多的棒球运动员的大学的全名和id是什么?", "question_cspider": "拥有数量最多的棒球运动员的大学的全名和id是什么?", "Harold": "BLEU = 39.48, 80.0/63.2/44.4/29.4 (BP=0.779, ratio=0.800, hyp_len=20, ref_len=25)", "question_toks": [ "棒", "球", "人", "数", "最", "多", "的", "大", "学", "的", "全", "名", "和", "身", "份", "证", "是", "什", "么", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 21 ], [ "table_unit", 8 ] ], "conds": [ [ false, 2, [ 0, [ 0, 277, false ], null ], [ 0, 101, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 278, false ], null ] ], [ 0, [ 0, [ 0, 277, false ], null ] ] ] ], "where": [], "groupBy": [ [ 0, 277, false ] ], "having": [], "orderBy": [ "desc", [ [ 0, [ 3, 0, false ], null ] ] ], "limit": 1, "intersect": null, "union": null, "except": null } }, { "db_id": "baseball_1", "query": "SELECT T1.name_full , T1.college_id FROM college AS T1 JOIN player_college AS T2 ON T1.college_id = T2.college_id GROUP BY T1.college_id ORDER BY count(*) DESC LIMIT 1;", "query_toks": [ "SELECT", "T1.name_full", ",", "T1.college_id", "FROM", "college", "AS", "T1", "JOIN", "player_college", "AS", "T2", "ON", "T1.college_id", "=", "T2.college_id", "GROUP", "BY", "T1.college_id", "ORDER", "BY", "count", "(", "*", ")", "DESC", "LIMIT", "1", ";" ], "query_toks_no_value": [ "select", "t1", ".", "name_full", ",", "t1", ".", "college_id", "from", "college", "as", "t1", "join", "player_college", "as", "t2", "on", "t1", ".", "college_id", "=", "t2", ".", "college_id", "group", "by", "t1", ".", "college_id", "order", "by", "count", "(", "*", ")", "desc", "limit", "value" ], "question_spider": "Find the full name and id of the college that has the most baseball players.", "question": "找出拥有最多数量棒球运动员的大学的全名和id。", "question_cspider": "找出拥有最多数量棒球运动员的大学的全名和id。", "Harold": "BLEU = 58.30, 94.7/77.8/64.7/56.2 (BP=0.810, ratio=0.826, hyp_len=19, ref_len=23)", "question_toks": [ "查", "找", "棒", "球", "运", "动", "员", "最", "多", "的", "大", "学", "的", "全", "名", "和", "I", "D", "。" ], "sql": { "from": { "table_units": [ [ "table_unit", 21 ], [ "table_unit", 8 ] ], "conds": [ [ false, 2, [ 0, [ 0, 277, false ], null ], [ 0, 101, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 278, false ], null ] ], [ 0, [ 0, [ 0, 277, false ], null ] ] ] ], "where": [], "groupBy": [ [ 0, 277, false ] ], "having": [], "orderBy": [ "desc", [ [ 0, [ 3, 0, false ], null ] ] ], "limit": 1, "intersect": null, "union": null, "except": null } }, { "db_id": "baseball_1", "query": "SELECT avg(T1.salary) FROM salary AS T1 JOIN team AS T2 ON T1.team_id = T2.team_id_br WHERE T2.name = 'Boston Red Stockings'", "query_toks": [ "SELECT", "avg", "(", "T1.salary", ")", "FROM", "salary", "AS", "T1", "JOIN", "team", "AS", "T2", "ON", "T1.team_id", "=", "T2.team_id_br", "WHERE", "T2.name", "=", "'Boston", "Red", "Stockings", "'" ], "query_toks_no_value": [ "select", "avg", "(", "t1", ".", "salary", ")", "from", "salary", "as", "t1", "join", "team", "as", "t2", "on", "t1", ".", "team_id", "=", "t2", ".", "team_id_br", "where", "t2", ".", "name", "=", "value" ], "question_spider": "What is average salary of the players in the team named 'Boston Red Stockings' ?", "question": "“Boston Red Stockings”队员的平均工资是多少?", "question_cspider": "“Boston Red Stockings”队员的平均工资是多少?", "Harold": "BLEU = 40.04, 54.2/39.1/36.4/33.3 (BP=1.000, ratio=1.333, hyp_len=24, ref_len=18)", "question_toks": [ "名", "为", "“", "波", "士", "顿", "红", "袜", "”", "的", "球", "队", "中", "球", "员", "的", "平", "均", "工", "资", "是", "多", "少", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 20 ], [ "table_unit", 23 ] ], "conds": [ [ false, 2, [ 0, [ 0, 273, false ], null ], [ 0, 336, false ], null ] ] }, "select": [ false, [ [ 5, [ 0, [ 0, 276, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 331, false ], null ], "\"Boston Red Stockings\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "baseball_1", "query": "SELECT avg(T1.salary) FROM salary AS T1 JOIN team AS T2 ON T1.team_id = T2.team_id_br WHERE T2.name = 'Boston Red Stockings'", "query_toks": [ "SELECT", "avg", "(", "T1.salary", ")", "FROM", "salary", "AS", "T1", "JOIN", "team", "AS", "T2", "ON", "T1.team_id", "=", "T2.team_id_br", "WHERE", "T2.name", "=", "'Boston", "Red", "Stockings", "'" ], "query_toks_no_value": [ "select", "avg", "(", "t1", ".", "salary", ")", "from", "salary", "as", "t1", "join", "team", "as", "t2", "on", "t1", ".", "team_id", "=", "t2", ".", "team_id_br", "where", "t2", ".", "name", "=", "value" ], "question_spider": "Compute the average salary of the players in the team called 'Boston Red Stockings'.", "question": "计算“Boston Red Stockings”的球员的平均工资。", "question_cspider": "计算“Boston Red Stockings”的球员的平均工资。", "Harold": "BLEU = 41.87, 58.3/43.5/36.4/33.3 (BP=1.000, ratio=1.333, hyp_len=24, ref_len=18)", "question_toks": [ "计", "算", "球", "队", "中", "被", "称", "为", "“", "波", "士", "顿", "红", "袜", "”", "的", "球", "员", "的", "平", "均", "工", "资", "。" ], "sql": { "from": { "table_units": [ [ "table_unit", 20 ], [ "table_unit", 23 ] ], "conds": [ [ false, 2, [ 0, [ 0, 273, false ], null ], [ 0, 336, false ], null ] ] }, "select": [ false, [ [ 5, [ 0, [ 0, 276, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 331, false ], null ], "\"Boston Red Stockings\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "baseball_1", "query": "SELECT name_first , name_last FROM player AS T1 JOIN all_star AS T2 ON T1.player_id = T2.player_id WHERE YEAR = 1998", "query_toks": [ "SELECT", "name_first", ",", "name_last", "FROM", "player", "AS", "T1", "JOIN", "all_star", "AS", "T2", "ON", "T1.player_id", "=", "T2.player_id", "WHERE", "YEAR", "=", "1998" ], "query_toks_no_value": [ "select", "name_first", ",", "name_last", "from", "player", "as", "t1", "join", "all_star", "as", "t2", "on", "t1", ".", "player_id", "=", "t2", ".", "player_id", "where", "year", "=", "value" ], "question_spider": "What are first and last names of players participating in all star game in 1998?", "question": "1998参加全明星赛的球员的名字和姓氏是什么?", "question_cspider": "1998参加全明星赛的球员的名字和姓氏是什么?", "Harold": "BLEU = 88.44, 95.8/91.3/86.4/81.0 (BP=1.000, ratio=1.043, hyp_len=24, ref_len=23)", "question_toks": [ "1", "9", "9", "8", "年", "参", "加", "全", "明", "星", "赛", "的", "球", "员", "的", "名", "字", "和", "姓", "氏", "是", "什", "么", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 16 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 182, false ], null ], [ 0, 1, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 195, false ], null ] ], [ 0, [ 0, [ 0, 196, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 2, false ], null ], 1998, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "baseball_1", "query": "SELECT name_first , name_last FROM player AS T1 JOIN all_star AS T2 ON T1.player_id = T2.player_id WHERE YEAR = 1998", "query_toks": [ "SELECT", "name_first", ",", "name_last", "FROM", "player", "AS", "T1", "JOIN", "all_star", "AS", "T2", "ON", "T1.player_id", "=", "T2.player_id", "WHERE", "YEAR", "=", "1998" ], "query_toks_no_value": [ "select", "name_first", ",", "name_last", "from", "player", "as", "t1", "join", "all_star", "as", "t2", "on", "t1", ".", "player_id", "=", "t2", ".", "player_id", "where", "year", "=", "value" ], "question_spider": "List the first and last name for players who participated in all star game in 1998.", "question": "列出1998年参加全明星赛的球员的名字和姓氏。", "question_cspider": "列出1998年参加全明星赛的球员的名字和姓氏。", "Harold": "BLEU = 79.58, 100.0/86.4/71.4/65.0 (BP=1.000, ratio=1.000, hyp_len=23, ref_len=23)", "question_toks": [ "列", "出", "参", "加", "1", "9", "9", "8", "年", "全", "明", "星", "赛", "的", "球", "员", "的", "名", "字", "和", "姓", "氏", "。" ], "sql": { "from": { "table_units": [ [ "table_unit", 16 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 182, false ], null ], [ 0, 1, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 195, false ], null ] ], [ 0, [ 0, [ 0, 196, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 2, false ], null ], 1998, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "baseball_1", "query": "SELECT T1.name_first , T1.name_last , T1.player_id , count(*) FROM player AS T1 JOIN all_star AS T2 ON T1.player_id = T2.player_id GROUP BY T1.player_id ORDER BY count(*) DESC LIMIT 1;", "query_toks": [ "SELECT", "T1.name_first", ",", "T1.name_last", ",", "T1.player_id", ",", "count", "(", "*", ")", "FROM", "player", "AS", "T1", "JOIN", "all_star", "AS", "T2", "ON", "T1.player_id", "=", "T2.player_id", "GROUP", "BY", "T1.player_id", "ORDER", "BY", "count", "(", "*", ")", "DESC", "LIMIT", "1", ";" ], "query_toks_no_value": [ "select", "t1", ".", "name_first", ",", "t1", ".", "name_last", ",", "t1", ".", "player_id", ",", "count", "(", "*", ")", "from", "player", "as", "t1", "join", "all_star", "as", "t2", "on", "t1", ".", "player_id", "=", "t2", ".", "player_id", "group", "by", "t1", ".", "player_id", "order", "by", "count", "(", "*", ")", "desc", "limit", "value" ], "question_spider": "What are the first name, last name and id of the player with the most all star game experiences? Also list the count.", "question": "有最多全明星经验的球员的名字、姓氏、id以及其参加的次数是什么?", "question_cspider": "有最多全明星经验的球员的名字、姓氏、id以及其参加的次数是什么?", "Harold": "BLEU = 30.32, 61.8/42.4/25.0/12.9 (BP=1.000, ratio=1.062, hyp_len=34, ref_len=32)", "question_toks": [ "拥", "有", "最", "多", "全", "明", "星", "游", "戏", "经", "验", "的", "玩", "家", "的", "名", "字", ",", "姓", "氏", "和", "I", "D", "是", "什", "么", "?", "同", "时", "列", "出", "计", "数", "。" ], "sql": { "from": { "table_units": [ [ "table_unit", 16 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 182, false ], null ], [ 0, 1, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 195, false ], null ] ], [ 0, [ 0, [ 0, 196, false ], null ] ], [ 0, [ 0, [ 0, 182, false ], null ] ], [ 3, [ 0, [ 0, 0, false ], null ] ] ] ], "where": [], "groupBy": [ [ 0, 182, false ] ], "having": [], "orderBy": [ "desc", [ [ 0, [ 3, 0, false ], null ] ] ], "limit": 1, "intersect": null, "union": null, "except": null } }, { "db_id": "baseball_1", "query": "SELECT T1.name_first , T1.name_last , T1.player_id , count(*) FROM player AS T1 JOIN all_star AS T2 ON T1.player_id = T2.player_id GROUP BY T1.player_id ORDER BY count(*) DESC LIMIT 1;", "query_toks": [ "SELECT", "T1.name_first", ",", "T1.name_last", ",", "T1.player_id", ",", "count", "(", "*", ")", "FROM", "player", "AS", "T1", "JOIN", "all_star", "AS", "T2", "ON", "T1.player_id", "=", "T2.player_id", "GROUP", "BY", "T1.player_id", "ORDER", "BY", "count", "(", "*", ")", "DESC", "LIMIT", "1", ";" ], "query_toks_no_value": [ "select", "t1", ".", "name_first", ",", "t1", ".", "name_last", ",", "t1", ".", "player_id", ",", "count", "(", "*", ")", "from", "player", "as", "t1", "join", "all_star", "as", "t2", "on", "t1", ".", "player_id", "=", "t2", ".", "player_id", "group", "by", "t1", ".", "player_id", "order", "by", "count", "(", "*", ")", "desc", "limit", "value" ], "question_spider": "Which player has the most all star game experiences? Give me the first name, last name and id of the player, as well as the number of times the player participated in all star game.", "question": "哪位球员有最多的全明星比赛经验?给出球员的名字,姓氏和id,以及其参与全明星比赛的次数。", "question_cspider": "哪位球员有最多的全明星比赛经验?给出球员的名字,姓氏和id,以及其参与全明星比赛的次数。", "Harold": "BLEU = 53.68, 75.6/59.1/48.8/38.1 (BP=1.000, ratio=1.023, hyp_len=45, ref_len=44)", "question_toks": [ "哪", "个", "玩", "家", "拥", "有", "最", "多", "的", "全", "明", "星", "赛", "经", "验", "?", "请", "给", "我", "玩", "家", "的", "名", "字", ",", "姓", "氏", "和", "I", "D", ",", "以", "及", "玩", "家", "参", "加", "全", "明", "星", "赛", "的", "次", "数", "。" ], "sql": { "from": { "table_units": [ [ "table_unit", 16 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 182, false ], null ], [ 0, 1, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 195, false ], null ] ], [ 0, [ 0, [ 0, 196, false ], null ] ], [ 0, [ 0, [ 0, 182, false ], null ] ], [ 3, [ 0, [ 0, 0, false ], null ] ] ] ], "where": [], "groupBy": [ [ 0, 182, false ] ], "having": [], "orderBy": [ "desc", [ [ 0, [ 3, 0, false ], null ] ] ], "limit": 1, "intersect": null, "union": null, "except": null } }, { "db_id": "baseball_1", "query": "SELECT yearid , count(*) FROM hall_of_fame GROUP BY yearid;", "query_toks": [ "SELECT", "yearid", ",", "count", "(", "*", ")", "FROM", "hall_of_fame", "GROUP", "BY", "yearid", ";" ], "query_toks_no_value": [ "select", "yearid", ",", "count", "(", "*", ")", "from", "hall_of_fame", "group", "by", "yearid" ], "question_spider": "How many players enter hall of fame each year?", "question": "每年有多少球员进入名人堂?", "question_cspider": "每年有多少球员进入名人堂?", "Harold": "BLEU = 61.63, 78.6/69.2/58.3/45.5 (BP=1.000, ratio=1.077, hyp_len=14, ref_len=13)", "question_toks": [ "每", "年", "有", "多", "少", "名", "玩", "家", "进", "入", "名", "人", "堂", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 12 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 145, false ], null ] ], [ 3, [ 0, [ 0, 0, false ], null ] ] ] ], "where": [], "groupBy": [ [ 0, 145, false ] ], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "baseball_1", "query": "SELECT yearid , count(*) FROM hall_of_fame GROUP BY yearid;", "query_toks": [ "SELECT", "yearid", ",", "count", "(", "*", ")", "FROM", "hall_of_fame", "GROUP", "BY", "yearid", ";" ], "query_toks_no_value": [ "select", "yearid", ",", "count", "(", "*", ")", "from", "hall_of_fame", "group", "by", "yearid" ], "question_spider": "Count the number of players who enter hall of fame for each year.", "question": "统计每年进入名人堂的球员的数量。", "question_cspider": "统计每年进入名人堂的球员的数量。", "Harold": "BLEU = 54.52, 80.0/64.3/53.8/41.7 (BP=0.936, ratio=0.938, hyp_len=15, ref_len=16)", "question_toks": [ "计", "算", "每", "年", "进", "入", "名", "人", "堂", "的", "玩", "家", "数", "量", "。" ], "sql": { "from": { "table_units": [ [ "table_unit", 12 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 145, false ], null ] ], [ 3, [ 0, [ 0, 0, false ], null ] ] ] ], "where": [], "groupBy": [ [ 0, 145, false ] ], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "baseball_1", "query": "SELECT YEAR , avg(attendance) FROM home_game GROUP BY YEAR;", "query_toks": [ "SELECT", "YEAR", ",", "avg", "(", "attendance", ")", "FROM", "home_game", "GROUP", "BY", "YEAR", ";" ], "query_toks_no_value": [ "select", "year", ",", "avg", "(", "attendance", ")", "from", "home_game", "group", "by", "year" ], "question_spider": "What is the average number of attendance at home games for each year?", "question": "每年参加国内比赛的平均人数是多少?", "question_cspider": "每年参加国内比赛的平均人数是多少?", "Harold": "BLEU = 38.45, 76.5/50.0/26.7/21.4 (BP=1.000, ratio=1.000, hyp_len=17, ref_len=17)", "question_toks": [ "每", "年", "平", "均", "参", "加", "家", "庭", "游", "戏", "的", "人", "数", "是", "多", "少", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 13 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 153, false ], null ] ], [ 5, [ 0, [ 0, 161, false ], null ] ] ] ], "where": [], "groupBy": [ [ 0, 153, false ] ], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "baseball_1", "query": "SELECT YEAR , avg(attendance) FROM home_game GROUP BY YEAR;", "query_toks": [ "SELECT", "YEAR", ",", "avg", "(", "attendance", ")", "FROM", "home_game", "GROUP", "BY", "YEAR", ";" ], "query_toks_no_value": [ "select", "year", ",", "avg", "(", "attendance", ")", "from", "home_game", "group", "by", "year" ], "question_spider": "For each year, return the year and the average number of attendance at home games.", "question": "返回每年参加国内比赛的平均人数。", "question_cspider": "返回每年参加国内比赛的平均人数。", "Harold": "BLEU = 26.24, 60.9/40.9/19.0/10.0 (BP=1.000, ratio=1.438, hyp_len=23, ref_len=16)", "question_toks": [ "对", "于", "每", "年", ",", "请", "返", "回", "年", "份", "和", "主", "场", "比", "赛", "的", "平", "均", "参", "加", "人", "数", "。" ], "sql": { "from": { "table_units": [ [ "table_unit", 13 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 153, false ], null ] ], [ 5, [ 0, [ 0, 161, false ], null ] ] ] ], "where": [], "groupBy": [ [ 0, 153, false ] ], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "baseball_1", "query": "SELECT T2.team_id , T2.rank FROM home_game AS T1 JOIN team AS T2 ON T1.team_id = T2.team_id WHERE T1.year = 2014 GROUP BY T1.team_id ORDER BY avg(T1.attendance) DESC LIMIT 1;", "query_toks": [ "SELECT", "T2.team_id", ",", "T2.rank", "FROM", "home_game", "AS", "T1", "JOIN", "team", "AS", "T2", "ON", "T1.team_id", "=", "T2.team_id", "WHERE", "T1.year", "=", "2014", "GROUP", "BY", "T1.team_id", "ORDER", "BY", "avg", "(", "T1.attendance", ")", "DESC", "LIMIT", "1", ";" ], "query_toks_no_value": [ "select", "t2", ".", "team_id", ",", "t2", ".", "rank", "from", "home_game", "as", "t1", "join", "team", "as", "t2", "on", "t1", ".", "team_id", "=", "t2", ".", "team_id", "where", "t1", ".", "year", "=", "value", "group", "by", "t1", ".", "team_id", "order", "by", "avg", "(", "t1", ".", "attendance", ")", "desc", "limit", "value" ], "question_spider": "In 2014, what are the id and rank of the team that has the largest average number of attendance?", "question": "在2014年,平均出勤人数最多的团队的id和级别是什么?", "question_cspider": "在2014年,平均出勤人数最多的团队的id和级别是什么?", "Harold": "BLEU = 66.01, 85.2/69.2/64.0/58.3 (BP=0.964, ratio=0.964, hyp_len=27, ref_len=28)", "question_toks": [ "2", "0", "1", "4", "年", ",", "平", "均", "出", "席", "人", "数", "最", "多", "的", "团", "队", "的", "I", "D", "和", "等", "级", "是", "多", "少", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 13 ], [ "table_unit", 23 ] ], "conds": [ [ false, 2, [ 0, [ 0, 155, false ], null ], [ 0, 293, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 293, false ], null ] ], [ 0, [ 0, [ 0, 296, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 153, false ], null ], 2014, null ] ], "groupBy": [ [ 0, 155, false ] ], "having": [], "orderBy": [ "desc", [ [ 0, [ 5, 161, false ], null ] ] ], "limit": 1, "intersect": null, "union": null, "except": null } }, { "db_id": "baseball_1", "query": "SELECT T2.team_id , T2.rank FROM home_game AS T1 JOIN team AS T2 ON T1.team_id = T2.team_id WHERE T1.year = 2014 GROUP BY T1.team_id ORDER BY avg(T1.attendance) DESC LIMIT 1;", "query_toks": [ "SELECT", "T2.team_id", ",", "T2.rank", "FROM", "home_game", "AS", "T1", "JOIN", "team", "AS", "T2", "ON", "T1.team_id", "=", "T2.team_id", "WHERE", "T1.year", "=", "2014", "GROUP", "BY", "T1.team_id", "ORDER", "BY", "avg", "(", "T1.attendance", ")", "DESC", "LIMIT", "1", ";" ], "query_toks_no_value": [ "select", "t2", ".", "team_id", ",", "t2", ".", "rank", "from", "home_game", "as", "t1", "join", "team", "as", "t2", "on", "t1", ".", "team_id", "=", "t2", ".", "team_id", "where", "t1", ".", "year", "=", "value", "group", "by", "t1", ".", "team_id", "order", "by", "avg", "(", "t1", ".", "attendance", ")", "desc", "limit", "value" ], "question_spider": "Find the id and rank of the team that has the highest average attendance rate in 2014.", "question": "找出2014年平均出勤率最高的团队的id和级别。", "question_cspider": "找出2014年平均出勤率最高的团队的id和级别。", "Harold": "BLEU = 79.68, 87.5/78.3/77.3/76.2 (BP=1.000, ratio=1.000, hyp_len=24, ref_len=24)", "question_toks": [ "查", "找", "2", "0", "1", "4", "年", "平", "均", "出", "勤", "率", "最", "高", "的", "团", "队", "的", "I", "D", "和", "排", "名", "。" ], "sql": { "from": { "table_units": [ [ "table_unit", 13 ], [ "table_unit", 23 ] ], "conds": [ [ false, 2, [ 0, [ 0, 155, false ], null ], [ 0, 293, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 293, false ], null ] ], [ 0, [ 0, [ 0, 296, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 153, false ], null ], 2014, null ] ], "groupBy": [ [ 0, 155, false ] ], "having": [], "orderBy": [ "desc", [ [ 0, [ 5, 161, false ], null ] ] ], "limit": 1, "intersect": null, "union": null, "except": null } }, { "db_id": "baseball_1", "query": "SELECT T1.name_first , T1.name_last , T2.player_id FROM player AS T1 JOIN manager_award AS T2 ON T1.player_id = T2.player_id GROUP BY T2.player_id ORDER BY count(*) DESC LIMIT 1;", "query_toks": [ "SELECT", "T1.name_first", ",", "T1.name_last", ",", "T2.player_id", "FROM", "player", "AS", "T1", "JOIN", "manager_award", "AS", "T2", "ON", "T1.player_id", "=", "T2.player_id", "GROUP", "BY", "T2.player_id", "ORDER", "BY", "count", "(", "*", ")", "DESC", "LIMIT", "1", ";" ], "query_toks_no_value": [ "select", "t1", ".", "name_first", ",", "t1", ".", "name_last", ",", "t2", ".", "player_id", "from", "player", "as", "t1", "join", "manager_award", "as", "t2", "on", "t1", ".", "player_id", "=", "t2", ".", "player_id", "group", "by", "t2", ".", "player_id", "order", "by", "count", "(", "*", ")", "desc", "limit", "value" ], "question_spider": "What are the manager's first name, last name and id who won the most manager award?", "question": "获得经理奖最多的经理的名字、姓氏和id是什么?", "question_cspider": "获得经理奖最多的经理的名字、姓氏和id是什么?", "Harold": "BLEU = 35.26, 69.2/44.0/29.2/17.4 (BP=1.000, ratio=1.130, hyp_len=26, ref_len=23)", "question_toks": [ "赢", "得", "最", "高", "经", "理", "人", "奖", "项", "的", "经", "理", "的", "名", "字", ",", "姓", "氏", "和", "身", "份", "证", "是", "什", "么", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 16 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 182, false ], null ], [ 0, 30, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 195, false ], null ] ], [ 0, [ 0, [ 0, 196, false ], null ] ], [ 0, [ 0, [ 0, 30, false ], null ] ] ] ], "where": [], "groupBy": [ [ 0, 30, false ] ], "having": [], "orderBy": [ "desc", [ [ 0, [ 3, 0, false ], null ] ] ], "limit": 1, "intersect": null, "union": null, "except": null } }, { "db_id": "baseball_1", "query": "SELECT T1.name_first , T1.name_last , T2.player_id FROM player AS T1 JOIN manager_award AS T2 ON T1.player_id = T2.player_id GROUP BY T2.player_id ORDER BY count(*) DESC LIMIT 1;", "query_toks": [ "SELECT", "T1.name_first", ",", "T1.name_last", ",", "T2.player_id", "FROM", "player", "AS", "T1", "JOIN", "manager_award", "AS", "T2", "ON", "T1.player_id", "=", "T2.player_id", "GROUP", "BY", "T2.player_id", "ORDER", "BY", "count", "(", "*", ")", "DESC", "LIMIT", "1", ";" ], "query_toks_no_value": [ "select", "t1", ".", "name_first", ",", "t1", ".", "name_last", ",", "t2", ".", "player_id", "from", "player", "as", "t1", "join", "manager_award", "as", "t2", "on", "t1", ".", "player_id", "=", "t2", ".", "player_id", "group", "by", "t2", ".", "player_id", "order", "by", "count", "(", "*", ")", "desc", "limit", "value" ], "question_spider": "Which manager won the most manager award? Give me the manager's first name, last name and id.", "question": "给出赢得了经理奖的经理的名字、姓氏和id。", "question_cspider": "给出赢得了经理奖的经理的名字、姓氏和id。", "Harold": "BLEU = 22.06, 51.7/32.1/18.5/7.7 (BP=1.000, ratio=1.381, hyp_len=29, ref_len=21)", "question_toks": [ "哪", "个", "经", "理", "获", "得", "了", "最", "高", "经", "理", "奖", "?", "请", "给", "我", "经", "理", "的", "名", "字", ",", "姓", "氏", "和", "身", "份", "证", "。" ], "sql": { "from": { "table_units": [ [ "table_unit", 16 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 182, false ], null ], [ 0, 30, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 195, false ], null ] ], [ 0, [ 0, [ 0, 196, false ], null ] ], [ 0, [ 0, [ 0, 30, false ], null ] ] ] ], "where": [], "groupBy": [ [ 0, 30, false ] ], "having": [], "orderBy": [ "desc", [ [ 0, [ 3, 0, false ], null ] ] ], "limit": 1, "intersect": null, "union": null, "except": null } }, { "db_id": "baseball_1", "query": "SELECT count(*) FROM park WHERE state = 'NY';", "query_toks": [ "SELECT", "count", "(", "*", ")", "FROM", "park", "WHERE", "state", "=", "'NY", "'", ";" ], "query_toks_no_value": [ "select", "count", "(", "*", ")", "from", "park", "where", "state", "=", "value" ], "question_spider": "How many parks are there in the state of NY?", "question": "“NY”州有多少公园?", "question_cspider": "“Los Angeles”州有多少公园?", "Harold": "BLEU = 0.00, 60.0/44.4/25.0/0.0 (BP=0.905, ratio=0.909, hyp_len=10, ref_len=11)", "question_toks": [ "纽", "约", "州", "有", "多", "少", "个", "公", "园", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 17 ] ], "conds": [] }, "select": [ false, [ [ 3, [ 0, [ 0, 0, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 210, false ], null ], "\"NY\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "baseball_1", "query": "SELECT count(*) FROM park WHERE state = 'NY';", "query_toks": [ "SELECT", "count", "(", "*", ")", "FROM", "park", "WHERE", "state", "=", "'NY", "'", ";" ], "query_toks_no_value": [ "select", "count", "(", "*", ")", "from", "park", "where", "state", "=", "value" ], "question_spider": "Show me the number of parks the state of NY has.", "question": "给出“NY”州公园的数量。", "question_cspider": "给出“Los Angeles”州公园的数量。", "Harold": "BLEU = 0.00, 40.0/21.4/7.7/0.0 (BP=1.000, ratio=1.154, hyp_len=15, ref_len=13)", "question_toks": [ "请", "告", "诉", "我", "纽", "约", "州", "拥", "有", "的", "公", "园", "数", "量", "。" ], "sql": { "from": { "table_units": [ [ "table_unit", 17 ] ], "conds": [] }, "select": [ false, [ [ 3, [ 0, [ 0, 0, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 210, false ], null ], "\"NY\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "baseball_1", "query": "SELECT T1.name_first , T1.name_last , T1.player_id FROM player AS T1 JOIN player_award AS T2 ON T1.player_id = T2.player_id GROUP BY T1.player_id ORDER BY count(*) DESC LIMIT 3;", "query_toks": [ "SELECT", "T1.name_first", ",", "T1.name_last", ",", "T1.player_id", "FROM", "player", "AS", "T1", "JOIN", "player_award", "AS", "T2", "ON", "T1.player_id", "=", "T2.player_id", "GROUP", "BY", "T1.player_id", "ORDER", "BY", "count", "(", "*", ")", "DESC", "LIMIT", "3", ";" ], "query_toks_no_value": [ "select", "t1", ".", "name_first", ",", "t1", ".", "name_last", ",", "t1", ".", "player_id", "from", "player", "as", "t1", "join", "player_award", "as", "t2", "on", "t1", ".", "player_id", "=", "t2", ".", "player_id", "group", "by", "t1", ".", "player_id", "order", "by", "count", "(", "*", ")", "desc", "limit", "value" ], "question_spider": "Which 3 players won the most player awards? List their full name and id.", "question": "哪3位球员赢得了最多的球员奖?列出他们的全名和id。", "question_cspider": "哪3位球员赢得了最多的球员奖?列出他们的全名和id。", "Harold": "BLEU = 62.57, 80.8/68.0/58.3/47.8 (BP=1.000, ratio=1.000, hyp_len=26, ref_len=26)", "question_toks": [ "哪", "3", "位", "玩", "家", "赢", "得", "了", "最", "多", "玩", "家", "奖", "励", "?", "列", "出", "他", "们", "的", "全", "名", "和", "I", "D", "。" ], "sql": { "from": { "table_units": [ [ "table_unit", 16 ], [ "table_unit", 3 ] ], "conds": [ [ false, 2, [ 0, [ 0, 182, false ], null ], [ 0, 36, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 195, false ], null ] ], [ 0, [ 0, [ 0, 196, false ], null ] ], [ 0, [ 0, [ 0, 182, false ], null ] ] ] ], "where": [], "groupBy": [ [ 0, 182, false ] ], "having": [], "orderBy": [ "desc", [ [ 0, [ 3, 0, false ], null ] ] ], "limit": 3, "intersect": null, "union": null, "except": null } }, { "db_id": "baseball_1", "query": "SELECT T1.name_first , T1.name_last , T1.player_id FROM player AS T1 JOIN player_award AS T2 ON T1.player_id = T2.player_id GROUP BY T1.player_id ORDER BY count(*) DESC LIMIT 3;", "query_toks": [ "SELECT", "T1.name_first", ",", "T1.name_last", ",", "T1.player_id", "FROM", "player", "AS", "T1", "JOIN", "player_award", "AS", "T2", "ON", "T1.player_id", "=", "T2.player_id", "GROUP", "BY", "T1.player_id", "ORDER", "BY", "count", "(", "*", ")", "DESC", "LIMIT", "3", ";" ], "query_toks_no_value": [ "select", "t1", ".", "name_first", ",", "t1", ".", "name_last", ",", "t1", ".", "player_id", "from", "player", "as", "t1", "join", "player_award", "as", "t2", "on", "t1", ".", "player_id", "=", "t2", ".", "player_id", "group", "by", "t1", ".", "player_id", "order", "by", "count", "(", "*", ")", "desc", "limit", "value" ], "question_spider": "Find the first name, last name and id for the top three players won the most player awards.", "question": "找出获得球员奖次数最多的前三名球员的名字、姓氏和id。", "question_cspider": "找出获得球员奖次数最多的前三名球员的名字、姓氏和id。", "Harold": "BLEU = 30.79, 73.1/44.0/25.0/13.0 (BP=0.962, ratio=0.963, hyp_len=26, ref_len=27)", "question_toks": [ "查", "找", "前", "三", "名", "获", "得", "最", "多", "玩", "家", "奖", "励", "的", "玩", "家", "的", "名", "字", ",", "姓", "氏", "和", "I", "D", "。" ], "sql": { "from": { "table_units": [ [ "table_unit", 16 ], [ "table_unit", 3 ] ], "conds": [ [ false, 2, [ 0, [ 0, 182, false ], null ], [ 0, 36, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 195, false ], null ] ], [ 0, [ 0, [ 0, 196, false ], null ] ], [ 0, [ 0, [ 0, 182, false ], null ] ] ] ], "where": [], "groupBy": [ [ 0, 182, false ] ], "having": [], "orderBy": [ "desc", [ [ 0, [ 3, 0, false ], null ] ] ], "limit": 3, "intersect": null, "union": null, "except": null } }, { "db_id": "baseball_1", "query": "SELECT birth_country FROM player GROUP BY birth_country ORDER BY count(*) ASC LIMIT 3;", "query_toks": [ "SELECT", "birth_country", "FROM", "player", "GROUP", "BY", "birth_country", "ORDER", "BY", "count", "(", "*", ")", "ASC", "LIMIT", "3", ";" ], "query_toks_no_value": [ "select", "birth_country", "from", "player", "group", "by", "birth_country", "order", "by", "count", "(", "*", ")", "asc", "limit", "value" ], "question_spider": "List three countries which are the origins of the least players.", "question": "列出拥有最少数量运动员的三个国家。", "question_cspider": "列出拥有最少数量运动员的三个国家。", "Harold": "BLEU = 20.55, 62.5/33.3/14.3/7.7 (BP=0.939, ratio=0.941, hyp_len=16, ref_len=17)", "question_toks": [ "列", "出", "三", "个", "国", "家", "中", "最", "少", "参", "与", "者", "的", "起", "源", "。" ], "sql": { "from": { "table_units": [ [ "table_unit", 16 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 186, false ], null ] ] ] ], "where": [], "groupBy": [ [ 0, 186, false ] ], "having": [], "orderBy": [ "asc", [ [ 0, [ 3, 0, false ], null ] ] ], "limit": 3, "intersect": null, "union": null, "except": null } }, { "db_id": "baseball_1", "query": "SELECT birth_country FROM player GROUP BY birth_country ORDER BY count(*) ASC LIMIT 3;", "query_toks": [ "SELECT", "birth_country", "FROM", "player", "GROUP", "BY", "birth_country", "ORDER", "BY", "count", "(", "*", ")", "ASC", "LIMIT", "3", ";" ], "query_toks_no_value": [ "select", "birth_country", "from", "player", "group", "by", "birth_country", "order", "by", "count", "(", "*", ")", "asc", "limit", "value" ], "question_spider": "What are the three countries that the least players are from?", "question": "哪三个国家拥有最少数量的运动员?", "question_cspider": "哪三个国家拥有最少数量的运动员?", "Harold": "BLEU = 18.41, 63.6/40.0/22.2/12.5 (BP=0.635, ratio=0.688, hyp_len=11, ref_len=16)", "question_toks": [ "最", "少", "玩", "家", "来", "自", "三", "个", "国", "家", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 16 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 186, false ], null ] ] ] ], "where": [], "groupBy": [ [ 0, 186, false ] ], "having": [], "orderBy": [ "asc", [ [ 0, [ 3, 0, false ], null ] ] ], "limit": 3, "intersect": null, "union": null, "except": null } }, { "db_id": "baseball_1", "query": "SELECT name_first , name_last FROM player WHERE death_year = '';", "query_toks": [ "SELECT", "name_first", ",", "name_last", "FROM", "player", "WHERE", "death_year", "=", "''", ";" ], "query_toks_no_value": [ "select", "name_first", ",", "name_last", "from", "player", "where", "death_year", "=", "value" ], "question_spider": "Find all the players' first name and last name who have empty death record.", "question": "找到所有死亡记录为空的球员的名字和姓氏。", "question_cspider": "找到所有死亡记录为空的球员的名字和姓氏。", "Harold": "BLEU = 44.44, 76.2/50.0/36.8/27.8 (BP=1.000, ratio=1.050, hyp_len=21, ref_len=20)", "question_toks": [ "查", "找", "所", "有", "具", "有", "空", "死", "亡", "记", "录", "的", "玩", "家", "的", "名", "字", "和", "姓", "氏", "。" ], "sql": { "from": { "table_units": [ [ "table_unit", 16 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 195, false ], null ] ], [ 0, [ 0, [ 0, 196, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 189, false ], null ], "\"\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "baseball_1", "query": "SELECT name_first , name_last FROM player WHERE death_year = '';", "query_toks": [ "SELECT", "name_first", ",", "name_last", "FROM", "player", "WHERE", "death_year", "=", "''", ";" ], "query_toks_no_value": [ "select", "name_first", ",", "name_last", "from", "player", "where", "death_year", "=", "value" ], "question_spider": "What are the first name and last name of the players whose death record is empty?", "question": "死亡记录为空的球员的名字和姓氏是什么?", "question_cspider": "死亡记录为空的球员的名字和姓氏是什么?", "Harold": "BLEU = 100.00, 100.0/100.0/100.0/100.0 (BP=1.000, ratio=1.000, hyp_len=19, ref_len=19)", "question_toks": [ "死", "亡", "记", "录", "为", "空", "的", "球", "员", "的", "名", "字", "和", "姓", "氏", "是", "什", "么", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 16 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 195, false ], null ] ], [ 0, [ 0, [ 0, 196, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 189, false ], null ], "\"\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "baseball_1", "query": "SELECT count(*) FROM player WHERE birth_country = 'USA' AND bats = 'R';", "query_toks": [ "SELECT", "count", "(", "*", ")", "FROM", "player", "WHERE", "birth_country", "=", "'USA", "'", "AND", "bats", "=", "'R", "'", ";" ], "query_toks_no_value": [ "select", "count", "(", "*", ")", "from", "player", "where", "birth_country", "=", "value", "and", "bats", "=", "value" ], "question_spider": "How many players born in USA are right-handed batters? That is, have the batter value 'R'.", "question": "在“USA”出生的运动员有多少是右手击球手?也就是说,击球值是“R”。", "question_cspider": "在“China”出生的运动员有多少是右手击球手?也就是说,击球值是“R”。", "Harold": "BLEU = 27.15, 70.6/36.4/21.9/9.7 (BP=1.000, ratio=1.000, hyp_len=34, ref_len=34)", "question_toks": [ "在", "美", "国", "出", "生", "的", "球", "员", "中", "有", "多", "少", "是", "惯", "用", "右", "手", "的", "击", "球", "手", "?", "即", ",", "将", "面", "糊", "值", "设", "为", "“", " ", "R", "”", "。" ], "sql": { "from": { "table_units": [ [ "table_unit", 16 ] ], "conds": [] }, "select": [ false, [ [ 3, [ 0, [ 0, 0, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 186, false ], null ], "\"USA\"", null ], "and", [ false, 2, [ 0, [ 0, 200, false ], null ], "\"R\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "baseball_1", "query": "SELECT count(*) FROM player WHERE birth_country = 'USA' AND bats = 'R';", "query_toks": [ "SELECT", "count", "(", "*", ")", "FROM", "player", "WHERE", "birth_country", "=", "'USA", "'", "AND", "bats", "=", "'R", "'", ";" ], "query_toks_no_value": [ "select", "count", "(", "*", ")", "from", "player", "where", "birth_country", "=", "value", "and", "bats", "=", "value" ], "question_spider": "Count the number of players who were born in USA and have bats information 'R'.", "question": "计算出生在“USA”且击球值信息是“R”的球员的数量。", "question_cspider": "计算出生在\"美国\"且击球值信息是“R”的球员的数量。", "Harold": "BLEU = 27.14, 78.3/40.9/19.0/15.0 (BP=0.878, ratio=0.885, hyp_len=23, ref_len=26)", "question_toks": [ "计", "算", "在", "美", "国", "出", "生", "并", "拥", "有", "击", "球", "信", "息", "“", " ", "R", "”", "的", "球", "员", "人", "数", "。" ], "sql": { "from": { "table_units": [ [ "table_unit", 16 ] ], "conds": [] }, "select": [ false, [ [ 3, [ 0, [ 0, 0, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 186, false ], null ], "\"USA\"", null ], "and", [ false, 2, [ 0, [ 0, 200, false ], null ], "\"R\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "baseball_1", "query": "SELECT avg(T1.height) FROM player AS T1 JOIN player_college AS T2 ON T1.player_id = T2.player_id JOIN college AS T3 ON T3.college_id = T2.college_id WHERE T3.name_full = 'Yale University';", "query_toks": [ "SELECT", "avg", "(", "T1.height", ")", "FROM", "player", "AS", "T1", "JOIN", "player_college", "AS", "T2", "ON", "T1.player_id", "=", "T2.player_id", "JOIN", "college", "AS", "T3", "ON", "T3.college_id", "=", "T2.college_id", "WHERE", "T3.name_full", "=", "'Yale", "University", "'", ";" ], "query_toks_no_value": [ "select", "avg", "(", "t1", ".", "height", ")", "from", "player", "as", "t1", "join", "player_college", "as", "t2", "on", "t1", ".", "player_id", "=", "t2", ".", "player_id", "join", "college", "as", "t3", "on", "t3", ".", "college_id", "=", "t2", ".", "college_id", "where", "t3", ".", "name_full", "=", "value" ], "question_spider": "What is the average height of the players from the college named 'Yale University'?", "question": "来自“Yale University”的运动员的平均身高是多少?", "question_cspider": "来自“Yale University”的运动员的平均身高是多少?", "Harold": "BLEU = 49.12, 68.0/54.2/43.5/36.4 (BP=1.000, ratio=1.190, hyp_len=25, ref_len=21)", "question_toks": [ "来", "自", "名", "为", "“", "耶", "鲁", "大", "学", "”", "的", "学", "院", "的", "球", "员", "的", "平", "均", "身", "高", "是", "多", "少", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 16 ], [ "table_unit", 8 ], [ "table_unit", 21 ] ], "conds": [ [ false, 2, [ 0, [ 0, 182, false ], null ], [ 0, 100, false ], null ], "and", [ false, 2, [ 0, [ 0, 277, false ], null ], [ 0, 101, false ], null ] ] }, "select": [ false, [ [ 5, [ 0, [ 0, 199, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 278, false ], null ], "\"Yale University\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "baseball_1", "query": "SELECT avg(T1.height) FROM player AS T1 JOIN player_college AS T2 ON T1.player_id = T2.player_id JOIN college AS T3 ON T3.college_id = T2.college_id WHERE T3.name_full = 'Yale University';", "query_toks": [ "SELECT", "avg", "(", "T1.height", ")", "FROM", "player", "AS", "T1", "JOIN", "player_college", "AS", "T2", "ON", "T1.player_id", "=", "T2.player_id", "JOIN", "college", "AS", "T3", "ON", "T3.college_id", "=", "T2.college_id", "WHERE", "T3.name_full", "=", "'Yale", "University", "'", ";" ], "query_toks_no_value": [ "select", "avg", "(", "t1", ".", "height", ")", "from", "player", "as", "t1", "join", "player_college", "as", "t2", "on", "t1", ".", "player_id", "=", "t2", ".", "player_id", "join", "college", "as", "t3", "on", "t3", ".", "college_id", "=", "t2", ".", "college_id", "where", "t3", ".", "name_full", "=", "value" ], "question_spider": "Find the average height of the players who belong to the college called 'Yale University'.", "question": "找出“Yale University”运动员的平均身高。", "question_cspider": "找出“Yale University”运动员的平均身高。", "Harold": "BLEU = 35.59, 57.1/40.0/31.6/22.2 (BP=1.000, ratio=1.235, hyp_len=21, ref_len=17)", "question_toks": [ "找", "到", "属", "于", "“", "耶", "鲁", "大", "学", "”", "学", "院", "的", "球", "员", "的", "平", "均", "身", "高", "。" ], "sql": { "from": { "table_units": [ [ "table_unit", 16 ], [ "table_unit", 8 ], [ "table_unit", 21 ] ], "conds": [ [ false, 2, [ 0, [ 0, 182, false ], null ], [ 0, 100, false ], null ], "and", [ false, 2, [ 0, [ 0, 277, false ], null ], [ 0, 101, false ], null ] ] }, "select": [ false, [ [ 5, [ 0, [ 0, 199, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 278, false ], null ], "\"Yale University\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "baseball_1", "query": "SELECT T1.name , T1.team_id , max(T2.salary) FROM team AS T1 JOIN salary AS T2 ON T1.team_id = T2.team_id GROUP BY T1.team_id;", "query_toks": [ "SELECT", "T1.name", ",", "T1.team_id", ",", "max", "(", "T2.salary", ")", "FROM", "team", "AS", "T1", "JOIN", "salary", "AS", "T2", "ON", "T1.team_id", "=", "T2.team_id", "GROUP", "BY", "T1.team_id", ";" ], "query_toks_no_value": [ "select", "t1", ".", "name", ",", "t1", ".", "team_id", ",", "max", "(", "t2", ".", "salary", ")", "from", "team", "as", "t1", "join", "salary", "as", "t2", "on", "t1", ".", "team_id", "=", "t2", ".", "team_id", "group", "by", "t1", ".", "team_id" ], "question_spider": "What is the highest salary among each team? List the team name, id and maximum salary.", "question": "每个队的最高工资是多少?列出团队名称、id和最高工资。", "question_cspider": "每个队的最高工资是多少?列出团队名称、id和最高工资。", "Harold": "BLEU = 28.47, 66.7/41.4/21.4/11.1 (BP=1.000, ratio=1.111, hyp_len=30, ref_len=27)", "question_toks": [ "每", "个", "团", "队", "中", "最", "高", "的", "薪", "水", "是", "多", "少", "?", "列", "出", "球", "队", "名", "称", ",", "身", "份", "证", "和", "最", "高", "薪", "水", "。" ], "sql": { "from": { "table_units": [ [ "table_unit", 23 ], [ "table_unit", 20 ] ], "conds": [ [ false, 2, [ 0, [ 0, 293, false ], null ], [ 0, 273, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 331, false ], null ] ], [ 0, [ 0, [ 0, 293, false ], null ] ], [ 1, [ 0, [ 0, 276, false ], null ] ] ] ], "where": [], "groupBy": [ [ 0, 293, false ] ], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "baseball_1", "query": "SELECT T1.name , T1.team_id , max(T2.salary) FROM team AS T1 JOIN salary AS T2 ON T1.team_id = T2.team_id GROUP BY T1.team_id;", "query_toks": [ "SELECT", "T1.name", ",", "T1.team_id", ",", "max", "(", "T2.salary", ")", "FROM", "team", "AS", "T1", "JOIN", "salary", "AS", "T2", "ON", "T1.team_id", "=", "T2.team_id", "GROUP", "BY", "T1.team_id", ";" ], "query_toks_no_value": [ "select", "t1", ".", "name", ",", "t1", ".", "team_id", ",", "max", "(", "t2", ".", "salary", ")", "from", "team", "as", "t1", "join", "salary", "as", "t2", "on", "t1", ".", "team_id", "=", "t2", ".", "team_id", "group", "by", "t1", ".", "team_id" ], "question_spider": "For each team, return the team name, id and the maximum salary among the team.", "question": "对于每个队,返回球队名称、ID和团队中的最高工资。", "question_cspider": "对于每个队,返回球队名称、ID和团队中的最高工资。", "Harold": "BLEU = 54.76, 80.8/64.0/50.0/34.8 (BP=1.000, ratio=1.040, hyp_len=26, ref_len=25)", "question_toks": [ "对", "于", "每", "个", "团", "队", ",", "返", "回", "团", "队", "名", "称", ",", "I", "D", "和", "团", "队", "中", "的", "最", "高", "薪", "水", "。" ], "sql": { "from": { "table_units": [ [ "table_unit", 23 ], [ "table_unit", 20 ] ], "conds": [ [ false, 2, [ 0, [ 0, 293, false ], null ], [ 0, 273, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 331, false ], null ] ], [ 0, [ 0, [ 0, 293, false ], null ] ], [ 1, [ 0, [ 0, 276, false ], null ] ] ] ], "where": [], "groupBy": [ [ 0, 293, false ] ], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "baseball_1", "query": "SELECT T1.name , T1.team_id FROM team AS T1 JOIN salary AS T2 ON T1.team_id = T2.team_id GROUP BY T1.team_id ORDER BY avg(T2.salary) ASC LIMIT 1;", "query_toks": [ "SELECT", "T1.name", ",", "T1.team_id", "FROM", "team", "AS", "T1", "JOIN", "salary", "AS", "T2", "ON", "T1.team_id", "=", "T2.team_id", "GROUP", "BY", "T1.team_id", "ORDER", "BY", "avg", "(", "T2.salary", ")", "ASC", "LIMIT", "1", ";" ], "query_toks_no_value": [ "select", "t1", ".", "name", ",", "t1", ".", "team_id", "from", "team", "as", "t1", "join", "salary", "as", "t2", "on", "t1", ".", "team_id", "=", "t2", ".", "team_id", "group", "by", "t1", ".", "team_id", "order", "by", "avg", "(", "t2", ".", "salary", ")", "asc", "limit", "value" ], "question_spider": "What are the name and id of the team offering the lowest average salary?", "question": "提供最低平均工资的团队的名称和ID是什么?", "question_cspider": "提供最低平均工资的团队的名称和ID是什么?", "Harold": "BLEU = 51.83, 76.2/60.0/47.4/33.3 (BP=1.000, ratio=1.000, hyp_len=21, ref_len=21)", "question_toks": [ "提", "供", "最", "低", "平", "均", "薪", "水", "的", "球", "队", "的", "名", "称", "和", "编", "号", "是", "什", "么", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 23 ], [ "table_unit", 20 ] ], "conds": [ [ false, 2, [ 0, [ 0, 293, false ], null ], [ 0, 273, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 331, false ], null ] ], [ 0, [ 0, [ 0, 293, false ], null ] ] ] ], "where": [], "groupBy": [ [ 0, 293, false ] ], "having": [], "orderBy": [ "asc", [ [ 0, [ 5, 276, false ], null ] ] ], "limit": 1, "intersect": null, "union": null, "except": null } }, { "db_id": "baseball_1", "query": "SELECT T1.name , T1.team_id FROM team AS T1 JOIN salary AS T2 ON T1.team_id = T2.team_id GROUP BY T1.team_id ORDER BY avg(T2.salary) ASC LIMIT 1;", "query_toks": [ "SELECT", "T1.name", ",", "T1.team_id", "FROM", "team", "AS", "T1", "JOIN", "salary", "AS", "T2", "ON", "T1.team_id", "=", "T2.team_id", "GROUP", "BY", "T1.team_id", "ORDER", "BY", "avg", "(", "T2.salary", ")", "ASC", "LIMIT", "1", ";" ], "query_toks_no_value": [ "select", "t1", ".", "name", ",", "t1", ".", "team_id", "from", "team", "as", "t1", "join", "salary", "as", "t2", "on", "t1", ".", "team_id", "=", "t2", ".", "team_id", "group", "by", "t1", ".", "team_id", "order", "by", "avg", "(", "t2", ".", "salary", ")", "asc", "limit", "value" ], "question_spider": "Which team offers the lowest average salary? Give me the name and id of the team.", "question": "哪一队提供最低的平均工资?给我这个队的名字和id。", "question_cspider": "哪一队提供最低的平均工资?给我这个队的名字和id。", "Harold": "BLEU = 26.30, 69.6/40.9/23.8/10.0 (BP=0.917, ratio=0.920, hyp_len=23, ref_len=25)", "question_toks": [ "哪", "支", "球", "队", "的", "平", "均", "薪", "水", "最", "低", "?", "给", "我", "团", "队", "的", "名", "字", "和", "编", "号", "。" ], "sql": { "from": { "table_units": [ [ "table_unit", 23 ], [ "table_unit", 20 ] ], "conds": [ [ false, 2, [ 0, [ 0, 293, false ], null ], [ 0, 273, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 331, false ], null ] ], [ 0, [ 0, [ 0, 293, false ], null ] ] ] ], "where": [], "groupBy": [ [ 0, 293, false ] ], "having": [], "orderBy": [ "asc", [ [ 0, [ 5, 276, false ], null ] ] ], "limit": 1, "intersect": null, "union": null, "except": null } }, { "db_id": "baseball_1", "query": "SELECT T1.name_first , T1.name_last FROM player AS T1 JOIN player_award AS T2 WHERE T2.year = 1960 INTERSECT SELECT T1.name_first , T1.name_last FROM player AS T1 JOIN player_award AS T2 WHERE T2.year = 1961", "query_toks": [ "SELECT", "T1.name_first", ",", "T1.name_last", "FROM", "player", "AS", "T1", "JOIN", "player_award", "AS", "T2", "WHERE", "T2.year", "=", "1960", "INTERSECT", "SELECT", "T1.name_first", ",", "T1.name_last", "FROM", "player", "AS", "T1", "JOIN", "player_award", "AS", "T2", "WHERE", "T2.year", "=", "1961" ], "query_toks_no_value": [ "select", "t1", ".", "name_first", ",", "t1", ".", "name_last", "from", "player", "as", "t1", "join", "player_award", "as", "t2", "where", "t2", ".", "year", "=", "value", "intersect", "select", "t1", ".", "name_first", ",", "t1", ".", "name_last", "from", "player", "as", "t1", "join", "player_award", "as", "t2", "where", "t2", ".", "year", "=", "value" ], "question_spider": "Find the players' first name and last name who won award both in 1960 and in 1961.", "question": "找出在1960年和1961年都获奖的球员的名字和姓氏。", "question_cspider": "找出在1960年和1961年都获奖的球员的名字和姓氏。", "Harold": "BLEU = 68.16, 85.2/73.1/64.0/54.2 (BP=1.000, ratio=1.000, hyp_len=27, ref_len=27)", "question_toks": [ "查", "找", "在", "1", "9", "6", "0", "年", "和", "1", "9", "6", "1", "年", "均", "获", "奖", "的", "玩", "家", "的", "名", "字", "和", "姓", "氏", "。" ], "sql": { "from": { "table_units": [ [ "table_unit", 16 ], [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 195, false ], null ] ], [ 0, [ 0, [ 0, 196, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 38, false ], null ], 1960, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": { "from": { "table_units": [ [ "table_unit", 16 ], [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 195, false ], null ] ], [ 0, [ 0, [ 0, 196, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 38, false ], null ], 1961, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, "union": null, "except": null } }, { "db_id": "baseball_1", "query": "SELECT T1.name_first , T1.name_last FROM player AS T1 JOIN player_award AS T2 WHERE T2.year = 1960 INTERSECT SELECT T1.name_first , T1.name_last FROM player AS T1 JOIN player_award AS T2 WHERE T2.year = 1961", "query_toks": [ "SELECT", "T1.name_first", ",", "T1.name_last", "FROM", "player", "AS", "T1", "JOIN", "player_award", "AS", "T2", "WHERE", "T2.year", "=", "1960", "INTERSECT", "SELECT", "T1.name_first", ",", "T1.name_last", "FROM", "player", "AS", "T1", "JOIN", "player_award", "AS", "T2", "WHERE", "T2.year", "=", "1961" ], "query_toks_no_value": [ "select", "t1", ".", "name_first", ",", "t1", ".", "name_last", "from", "player", "as", "t1", "join", "player_award", "as", "t2", "where", "t2", ".", "year", "=", "value", "intersect", "select", "t1", ".", "name_first", ",", "t1", ".", "name_last", "from", "player", "as", "t1", "join", "player_award", "as", "t2", "where", "t2", ".", "year", "=", "value" ], "question_spider": "Which players won awards in both 1960 and 1961? Return their first names and last names.", "question": "哪位选手在1960和1961都获奖?返回他们的名字和姓氏。", "question_cspider": "哪位选手在1960和1961都获奖?返回他们的名字和姓氏。", "Harold": "BLEU = 55.83, 76.5/60.6/50.0/41.9 (BP=1.000, ratio=1.172, hyp_len=34, ref_len=29)", "question_toks": [ "哪", "些", "球", "员", "在", "1", "9", "6", "0", "年", "和", "1", "9", "6", "1", "年", "都", "获", "得", "过", "奖", "项", "?", "返", "回", "他", "们", "的", "名", "字", "和", "姓", "氏", "。" ], "sql": { "from": { "table_units": [ [ "table_unit", 16 ], [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 195, false ], null ] ], [ 0, [ 0, [ 0, 196, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 38, false ], null ], 1960, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": { "from": { "table_units": [ [ "table_unit", 16 ], [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 195, false ], null ] ], [ 0, [ 0, [ 0, 196, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 38, false ], null ], 1961, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, "union": null, "except": null } }, { "db_id": "baseball_1", "query": "SELECT name_first , name_last FROM player WHERE weight > 220 OR height < 75", "query_toks": [ "SELECT", "name_first", ",", "name_last", "FROM", "player", "WHERE", "weight", ">", "220", "OR", "height", "<", "75" ], "query_toks_no_value": [ "select", "name_first", ",", "name_last", "from", "player", "where", "weight", ">", "value", "or", "height", "<", "value" ], "question_spider": "List players' first name and last name who have weight greater than 220 or height shorter than 75.", "question": "列出体重大于220或身高小于75的运动员的名字和姓氏。", "question_cspider": "列出体重大于220或身高小于75的运动员的名字和姓氏。", "Harold": "BLEU = 86.05, 96.2/92.0/87.5/82.6 (BP=0.962, ratio=0.963, hyp_len=26, ref_len=27)", "question_toks": [ "列", "出", "体", "重", "大", "于", "2", "2", "0", "或", "身", "高", "小", "于", "7", "5", "的", "球", "员", "的", "名", "字", "和", "姓", "氏", "。" ], "sql": { "from": { "table_units": [ [ "table_unit", 16 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 195, false ], null ] ], [ 0, [ 0, [ 0, 196, false ], null ] ] ] ], "where": [ [ false, 3, [ 0, [ 0, 198, false ], null ], 220, null ], "or", [ false, 4, [ 0, [ 0, 199, false ], null ], 75, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "baseball_1", "query": "SELECT name_first , name_last FROM player WHERE weight > 220 OR height < 75", "query_toks": [ "SELECT", "name_first", ",", "name_last", "FROM", "player", "WHERE", "weight", ">", "220", "OR", "height", "<", "75" ], "query_toks_no_value": [ "select", "name_first", ",", "name_last", "from", "player", "where", "weight", ">", "value", "or", "height", "<", "value" ], "question_spider": "What are the first name and last name of the players who have weight above 220 or height below 75?", "question": "体重超过220或身高低于75的球员的名字和姓氏是什么?", "question_cspider": "体重超过220或身高低于75的球员的名字和姓氏是什么?", "Harold": "BLEU = 100.00, 100.0/100.0/100.0/100.0 (BP=1.000, ratio=1.000, hyp_len=27, ref_len=27)", "question_toks": [ "体", "重", "超", "过", "2", "2", "0", "或", "身", "高", "低", "于", "7", "5", "的", "球", "员", "的", "名", "字", "和", "姓", "氏", "是", "什", "么", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 16 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 195, false ], null ] ], [ 0, [ 0, [ 0, 196, false ], null ] ] ] ], "where": [ [ false, 3, [ 0, [ 0, 198, false ], null ], 220, null ], "or", [ false, 4, [ 0, [ 0, 199, false ], null ], 75, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "baseball_1", "query": "SELECT max(T1.wins) FROM postseason AS T1 JOIN team AS T2 ON T1.team_id_winner = T2.team_id_br WHERE T2.name = 'Boston Red Stockings';", "query_toks": [ "SELECT", "max", "(", "T1.wins", ")", "FROM", "postseason", "AS", "T1", "JOIN", "team", "AS", "T2", "ON", "T1.team_id_winner", "=", "T2.team_id_br", "WHERE", "T2.name", "=", "'Boston", "Red", "Stockings", "'", ";" ], "query_toks_no_value": [ "select", "max", "(", "t1", ".", "wins", ")", "from", "postseason", "as", "t1", "join", "team", "as", "t2", "on", "t1", ".", "team_id_winner", "=", "t2", ".", "team_id_br", "where", "t2", ".", "name", "=", "value" ], "question_spider": "List the maximum scores of the team Boston Red Stockings when the team won in postseason?", "question": "列出“Boston Red Stockings”在季后赛获胜时的最高得分。", "question_cspider": "列出“Boston Red Stockings”在季后赛获胜时的最高得分。", "Harold": "BLEU = 54.88, 83.3/70.6/62.5/60.0 (BP=0.801, ratio=0.818, hyp_len=18, ref_len=22)", "question_toks": [ "列", "出", "球", "队", "在", "季", "后", "赛", "获", "胜", "时", "的", "最", "高", "得", "分", "吗", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 22 ], [ "table_unit", 23 ] ], "conds": [ [ false, 2, [ 0, [ 0, 284, false ], null ], [ 0, 336, false ], null ] ] }, "select": [ false, [ [ 1, [ 0, [ 0, 288, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 331, false ], null ], "\"Boston Red Stockings\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "baseball_1", "query": "SELECT max(T1.wins) FROM postseason AS T1 JOIN team AS T2 ON T1.team_id_winner = T2.team_id_br WHERE T2.name = 'Boston Red Stockings';", "query_toks": [ "SELECT", "max", "(", "T1.wins", ")", "FROM", "postseason", "AS", "T1", "JOIN", "team", "AS", "T2", "ON", "T1.team_id_winner", "=", "T2.team_id_br", "WHERE", "T2.name", "=", "'Boston", "Red", "Stockings", "'", ";" ], "query_toks_no_value": [ "select", "max", "(", "t1", ".", "wins", ")", "from", "postseason", "as", "t1", "join", "team", "as", "t2", "on", "t1", ".", "team_id_winner", "=", "t2", ".", "team_id_br", "where", "t2", ".", "name", "=", "value" ], "question_spider": "What are the maximum scores the team Boston Red Stockings got when the team won in postseason?", "question": "“Boston Red Stockings”在季后赛获胜时的最高得分是多少?", "question_cspider": "“Boston Red Stockings”在季后赛获胜时的最高得分是多少?", "Harold": "BLEU = 37.58, 68.2/47.6/35.0/21.1 (BP=0.956, ratio=0.957, hyp_len=22, ref_len=23)", "question_toks": [ "季", "后", "赛", "获", "胜", "时", ",", "波", "士", "顿", "红", "袜", "队", "的", "最", "高", "分", "数", "是", "多", "少", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 22 ], [ "table_unit", 23 ] ], "conds": [ [ false, 2, [ 0, [ 0, 284, false ], null ], [ 0, 336, false ], null ] ] }, "select": [ false, [ [ 1, [ 0, [ 0, 288, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 331, false ], null ], "\"Boston Red Stockings\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "baseball_1", "query": "SELECT count(*) FROM postseason AS T1 JOIN team AS T2 ON T1.team_id_loser = T2.team_id_br WHERE T2.name = 'Boston Red Stockings' AND T1.year = 2009;", "query_toks": [ "SELECT", "count", "(", "*", ")", "FROM", "postseason", "AS", "T1", "JOIN", "team", "AS", "T2", "ON", "T1.team_id_loser", "=", "T2.team_id_br", "WHERE", "T2.name", "=", "'Boston", "Red", "Stockings", "'", "AND", "T1.year", "=", "2009", ";" ], "query_toks_no_value": [ "select", "count", "(", "*", ")", "from", "postseason", "as", "t1", "join", "team", "as", "t2", "on", "t1", ".", "team_id_loser", "=", "t2", ".", "team_id_br", "where", "t2", ".", "name", "=", "value", "and", "t1", ".", "year", "=", "value" ], "question_spider": "How many times did Boston Red Stockings lose in 2009 postseason?", "question": "“Boston Red Stockings”在2009年的季后赛输了多少次?", "question_cspider": "“Boston Red Stockings”在2009年的季后赛输了多少次?", "Harold": "BLEU = 31.58, 65.0/47.4/33.3/17.6 (BP=0.861, ratio=0.870, hyp_len=20, ref_len=23)", "question_toks": [ "2", "0", "0", "9", "季", "后", "赛", "波", "士", "顿", "红", "袜", "队", "损", "失", "了", "多", "少", "次", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 22 ], [ "table_unit", 23 ] ], "conds": [ [ false, 2, [ 0, [ 0, 286, false ], null ], [ 0, 336, false ], null ] ] }, "select": [ false, [ [ 3, [ 0, [ 0, 0, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 331, false ], null ], "\"Boston Red Stockings\"", null ], "and", [ false, 2, [ 0, [ 0, 282, false ], null ], 2009, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "baseball_1", "query": "SELECT count(*) FROM postseason AS T1 JOIN team AS T2 ON T1.team_id_loser = T2.team_id_br WHERE T2.name = 'Boston Red Stockings' AND T1.year = 2009;", "query_toks": [ "SELECT", "count", "(", "*", ")", "FROM", "postseason", "AS", "T1", "JOIN", "team", "AS", "T2", "ON", "T1.team_id_loser", "=", "T2.team_id_br", "WHERE", "T2.name", "=", "'Boston", "Red", "Stockings", "'", "AND", "T1.year", "=", "2009", ";" ], "query_toks_no_value": [ "select", "count", "(", "*", ")", "from", "postseason", "as", "t1", "join", "team", "as", "t2", "on", "t1", ".", "team_id_loser", "=", "t2", ".", "team_id_br", "where", "t2", ".", "name", "=", "value", "and", "t1", ".", "year", "=", "value" ], "question_spider": "Count the number of times the team \"Boston Red Stockings\" lost in 2009 postseason.", "question": "计算球队“Boston Red Stockings”在2009年季后赛中输掉的次数。", "question_cspider": "计算球队“Boston Red Stockings”在2009年季后赛中输掉的次数。", "Harold": "BLEU = 39.30, 79.2/47.8/36.4/28.6 (BP=0.882, ratio=0.889, hyp_len=24, ref_len=27)", "question_toks": [ "计", "算", "2", "0", "0", "9", "年", "季", "后", "赛", "“", "波", "士", "顿", "红", "袜", "”", "队", "输", "球", "的", "次", "数", "。" ], "sql": { "from": { "table_units": [ [ "table_unit", 22 ], [ "table_unit", 23 ] ], "conds": [ [ false, 2, [ 0, [ 0, 286, false ], null ], [ 0, 336, false ], null ] ] }, "select": [ false, [ [ 3, [ 0, [ 0, 0, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 331, false ], null ], "\"Boston Red Stockings\"", null ], "and", [ false, 2, [ 0, [ 0, 282, false ], null ], 2009, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "baseball_1", "query": "SELECT T2.name , T1.team_id_winner FROM postseason AS T1 JOIN team AS T2 ON T1.team_id_winner = T2.team_id_br WHERE T1.year = 2008 GROUP BY T1.team_id_winner ORDER BY count(*) DESC LIMIT 1;", "query_toks": [ "SELECT", "T2.name", ",", "T1.team_id_winner", "FROM", "postseason", "AS", "T1", "JOIN", "team", "AS", "T2", "ON", "T1.team_id_winner", "=", "T2.team_id_br", "WHERE", "T1.year", "=", "2008", "GROUP", "BY", "T1.team_id_winner", "ORDER", "BY", "count", "(", "*", ")", "DESC", "LIMIT", "1", ";" ], "query_toks_no_value": [ "select", "t2", ".", "name", ",", "t1", ".", "team_id_winner", "from", "postseason", "as", "t1", "join", "team", "as", "t2", "on", "t1", ".", "team_id_winner", "=", "t2", ".", "team_id_br", "where", "t1", ".", "year", "=", "value", "group", "by", "t1", ".", "team_id_winner", "order", "by", "count", "(", "*", ")", "desc", "limit", "value" ], "question_spider": "What are the name and id of the team with the most victories in 2008 postseason?", "question": "2008赛季季后赛获胜次数最多的球队的名字和ID是什么?", "question_cspider": "2008赛季季后赛获胜次数最多的球队的名字和ID是什么?", "Harold": "BLEU = 48.54, 84.6/64.0/45.8/30.4 (BP=0.926, ratio=0.929, hyp_len=26, ref_len=28)", "question_toks": [ "在", "2", "0", "0", "8", "年", "季", "后", "赛", "中", "最", "获", "胜", "的", "球", "队", "的", "名", "称", "和", "I", "D", "是", "什", "么", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 22 ], [ "table_unit", 23 ] ], "conds": [ [ false, 2, [ 0, [ 0, 284, false ], null ], [ 0, 336, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 331, false ], null ] ], [ 0, [ 0, [ 0, 284, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 282, false ], null ], 2008, null ] ], "groupBy": [ [ 0, 284, false ] ], "having": [], "orderBy": [ "desc", [ [ 0, [ 3, 0, false ], null ] ] ], "limit": 1, "intersect": null, "union": null, "except": null } }, { "db_id": "baseball_1", "query": "SELECT T2.name , T1.team_id_winner FROM postseason AS T1 JOIN team AS T2 ON T1.team_id_winner = T2.team_id_br WHERE T1.year = 2008 GROUP BY T1.team_id_winner ORDER BY count(*) DESC LIMIT 1;", "query_toks": [ "SELECT", "T2.name", ",", "T1.team_id_winner", "FROM", "postseason", "AS", "T1", "JOIN", "team", "AS", "T2", "ON", "T1.team_id_winner", "=", "T2.team_id_br", "WHERE", "T1.year", "=", "2008", "GROUP", "BY", "T1.team_id_winner", "ORDER", "BY", "count", "(", "*", ")", "DESC", "LIMIT", "1", ";" ], "query_toks_no_value": [ "select", "t2", ".", "name", ",", "t1", ".", "team_id_winner", "from", "postseason", "as", "t1", "join", "team", "as", "t2", "on", "t1", ".", "team_id_winner", "=", "t2", ".", "team_id_br", "where", "t1", ".", "year", "=", "value", "group", "by", "t1", ".", "team_id_winner", "order", "by", "count", "(", "*", ")", "desc", "limit", "value" ], "question_spider": "Find the name and id of the team that won the most times in 2008 postseason.", "question": "找出在2008季后赛中赢得最多次数的球队的名字和ID。", "question_cspider": "找出在2008季后赛中赢得最多次数的球队的名字和ID。", "Harold": "BLEU = 46.10, 80.8/60.0/41.7/26.1 (BP=0.962, ratio=0.963, hyp_len=26, ref_len=27)", "question_toks": [ "查", "找", "在", "2", "0", "0", "8", "年", "季", "后", "赛", "中", "获", "胜", "最", "多", "的", "球", "队", "的", "名", "称", "和", "I", "D", "。" ], "sql": { "from": { "table_units": [ [ "table_unit", 22 ], [ "table_unit", 23 ] ], "conds": [ [ false, 2, [ 0, [ 0, 284, false ], null ], [ 0, 336, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 331, false ], null ] ], [ 0, [ 0, [ 0, 284, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 282, false ], null ], 2008, null ] ], "groupBy": [ [ 0, 284, false ] ], "having": [], "orderBy": [ "desc", [ [ 0, [ 3, 0, false ], null ] ] ], "limit": 1, "intersect": null, "union": null, "except": null } }, { "db_id": "baseball_1", "query": "SELECT count(*) , T1.year FROM postseason AS T1 JOIN team AS T2 ON T1.team_id_winner = T2.team_id_br WHERE T2.name = 'Boston Red Stockings' GROUP BY T1.year", "query_toks": [ "SELECT", "count", "(", "*", ")", ",", "T1.year", "FROM", "postseason", "AS", "T1", "JOIN", "team", "AS", "T2", "ON", "T1.team_id_winner", "=", "T2.team_id_br", "WHERE", "T2.name", "=", "'Boston", "Red", "Stockings", "'", "GROUP", "BY", "T1.year" ], "query_toks_no_value": [ "select", "count", "(", "*", ")", ",", "t1", ".", "year", "from", "postseason", "as", "t1", "join", "team", "as", "t2", "on", "t1", ".", "team_id_winner", "=", "t2", ".", "team_id_br", "where", "t2", ".", "name", "=", "value", "group", "by", "t1", ".", "year" ], "question_spider": "What is the number of wins the team Boston Red Stockings got in the postseasons each year in history?", "question": "历史上“Boston Red Stockings”在季后赛每年的获胜次数是多少?", "question_cspider": "历史上“Boston Red Stockings”在季后赛每年的获胜次数是多少?", "Harold": "BLEU = 33.03, 67.9/40.7/26.9/16.0 (BP=1.000, ratio=1.120, hyp_len=28, ref_len=25)", "question_toks": [ "历", "史", "上", ",", "每", "年", "波", "士", "顿", "红", "袜", "队", "在", "季", "后", "赛", "中", "获", "得", "的", "胜", "利", "次", "数", "是", "多", "少", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 22 ], [ "table_unit", 23 ] ], "conds": [ [ false, 2, [ 0, [ 0, 284, false ], null ], [ 0, 336, false ], null ] ] }, "select": [ false, [ [ 3, [ 0, [ 0, 0, false ], null ] ], [ 0, [ 0, [ 0, 282, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 331, false ], null ], "\"Boston Red Stockings\"", null ] ], "groupBy": [ [ 0, 282, false ] ], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "baseball_1", "query": "SELECT count(*) , T1.year FROM postseason AS T1 JOIN team AS T2 ON T1.team_id_winner = T2.team_id_br WHERE T2.name = 'Boston Red Stockings' GROUP BY T1.year", "query_toks": [ "SELECT", "count", "(", "*", ")", ",", "T1.year", "FROM", "postseason", "AS", "T1", "JOIN", "team", "AS", "T2", "ON", "T1.team_id_winner", "=", "T2.team_id_br", "WHERE", "T2.name", "=", "'Boston", "Red", "Stockings", "'", "GROUP", "BY", "T1.year" ], "query_toks_no_value": [ "select", "count", "(", "*", ")", ",", "t1", ".", "year", "from", "postseason", "as", "t1", "join", "team", "as", "t2", "on", "t1", ".", "team_id_winner", "=", "t2", ".", "team_id_br", "where", "t2", ".", "name", "=", "value", "group", "by", "t1", ".", "year" ], "question_spider": "For each year, return the year and the number of times the team Boston Red Stockings won in the postseasons.", "question": "返回每年“Boston Red Stockings”在季后赛每年获胜的次数。", "question_cspider": "返回每年“Boston Red Stockings”在季后赛每年获胜的次数。", "Harold": "BLEU = 27.90, 55.2/32.1/22.2/15.4 (BP=1.000, ratio=1.261, hyp_len=29, ref_len=23)", "question_toks": [ "对", "于", "每", "一", "年", ",", "请", "返", "回", "年", "份", "和", "波", "士", "顿", "红", "袜", "队", "在", "季", "后", "赛", "中", "获", "胜", "的", "次", "数", "。" ], "sql": { "from": { "table_units": [ [ "table_unit", 22 ], [ "table_unit", 23 ] ], "conds": [ [ false, 2, [ 0, [ 0, 284, false ], null ], [ 0, 336, false ], null ] ] }, "select": [ false, [ [ 3, [ 0, [ 0, 0, false ], null ] ], [ 0, [ 0, [ 0, 282, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 331, false ], null ], "\"Boston Red Stockings\"", null ] ], "groupBy": [ [ 0, 282, false ] ], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "baseball_1", "query": "SELECT count(*) FROM ( SELECT * FROM postseason AS T1 JOIN team AS T2 ON T1.team_id_winner = T2.team_id_br WHERE T2.name = 'Boston Red Stockings' UNION SELECT * FROM postseason AS T1 JOIN team AS T2 ON T1.team_id_loser = T2.team_id_br WHERE T2.name = 'Boston Red Stockings' );", "query_toks": [ "SELECT", "count", "(", "*", ")", "FROM", "(", "SELECT", "*", "FROM", "postseason", "AS", "T1", "JOIN", "team", "AS", "T2", "ON", "T1.team_id_winner", "=", "T2.team_id_br", "WHERE", "T2.name", "=", "'Boston", "Red", "Stockings", "'", "UNION", "SELECT", "*", "FROM", "postseason", "AS", "T1", "JOIN", "team", "AS", "T2", "ON", "T1.team_id_loser", "=", "T2.team_id_br", "WHERE", "T2.name", "=", "'Boston", "Red", "Stockings", "'", ")", ";" ], "query_toks_no_value": [ "select", "count", "(", "*", ")", "from", "(", "select", "*", "from", "postseason", "as", "t1", "join", "team", "as", "t2", "on", "t1", ".", "team_id_winner", "=", "t2", ".", "team_id_br", "where", "t2", ".", "name", "=", "value", "union", "select", "*", "from", "postseason", "as", "t1", "join", "team", "as", "t2", "on", "t1", ".", "team_id_loser", "=", "t2", ".", "team_id_br", "where", "t2", ".", "name", "=", "value", ")" ], "question_spider": "What is the total number of postseason games that team Boston Red Stockings participated in?", "question": "“Boston Red Stockings”参加的季后赛总数是多少?", "question_cspider": "“Boston Red Stockings”参加的季后赛总数是多少?", "Harold": "BLEU = 61.20, 72.2/64.7/62.5/60.0 (BP=0.946, ratio=0.947, hyp_len=18, ref_len=19)", "question_toks": [ "波", "士", "顿", "红", "袜", "队", "参", "加", "的", "季", "后", "赛", "总", "数", "是", "多", "少", "?" ], "sql": { "from": { "table_units": [ [ "sql", { "from": { "table_units": [ [ "table_unit", 22 ], [ "table_unit", 23 ] ], "conds": [ [ false, 2, [ 0, [ 0, 284, false ], null ], [ 0, 336, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 0, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 331, false ], null ], "\"Boston Red Stockings\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": { "from": { "table_units": [ [ "table_unit", 22 ], [ "table_unit", 23 ] ], "conds": [ [ false, 2, [ 0, [ 0, 286, false ], null ], [ 0, 336, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 0, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 331, false ], null ], "\"Boston Red Stockings\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, "except": null } ] ], "conds": [] }, "select": [ false, [ [ 3, [ 0, [ 0, 0, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "baseball_1", "query": "SELECT count(*) FROM ( SELECT * FROM postseason AS T1 JOIN team AS T2 ON T1.team_id_winner = T2.team_id_br WHERE T2.name = 'Boston Red Stockings' UNION SELECT * FROM postseason AS T1 JOIN team AS T2 ON T1.team_id_loser = T2.team_id_br WHERE T2.name = 'Boston Red Stockings' );", "query_toks": [ "SELECT", "count", "(", "*", ")", "FROM", "(", "SELECT", "*", "FROM", "postseason", "AS", "T1", "JOIN", "team", "AS", "T2", "ON", "T1.team_id_winner", "=", "T2.team_id_br", "WHERE", "T2.name", "=", "'Boston", "Red", "Stockings", "'", "UNION", "SELECT", "*", "FROM", "postseason", "AS", "T1", "JOIN", "team", "AS", "T2", "ON", "T1.team_id_loser", "=", "T2.team_id_br", "WHERE", "T2.name", "=", "'Boston", "Red", "Stockings", "'", ")", ";" ], "query_toks_no_value": [ "select", "count", "(", "*", ")", "from", "(", "select", "*", "from", "postseason", "as", "t1", "join", "team", "as", "t2", "on", "t1", ".", "team_id_winner", "=", "t2", ".", "team_id_br", "where", "t2", ".", "name", "=", "value", "union", "select", "*", "from", "postseason", "as", "t1", "join", "team", "as", "t2", "on", "t1", ".", "team_id_loser", "=", "t2", ".", "team_id_br", "where", "t2", ".", "name", "=", "value", ")" ], "question_spider": "How many times in total did the team Boston Red Stockings participate in postseason games?", "question": "“Boston Red Stockings”总共参加了多少次季后赛?", "question_cspider": "“Boston Red Stockings”总共参加了多少次季后赛?", "Harold": "BLEU = 61.20, 72.2/64.7/62.5/60.0 (BP=0.946, ratio=0.947, hyp_len=18, ref_len=19)", "question_toks": [ "波", "士", "顿", "红", "袜", "队", "总", "共", "参", "加", "了", "多", "少", "次", "季", "后", "赛", "?" ], "sql": { "from": { "table_units": [ [ "sql", { "from": { "table_units": [ [ "table_unit", 22 ], [ "table_unit", 23 ] ], "conds": [ [ false, 2, [ 0, [ 0, 284, false ], null ], [ 0, 336, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 0, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 331, false ], null ], "\"Boston Red Stockings\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": { "from": { "table_units": [ [ "table_unit", 22 ], [ "table_unit", 23 ] ], "conds": [ [ false, 2, [ 0, [ 0, 286, false ], null ], [ 0, 336, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 0, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 331, false ], null ], "\"Boston Red Stockings\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, "except": null } ] ], "conds": [] }, "select": [ false, [ [ 3, [ 0, [ 0, 0, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "baseball_1", "query": "SELECT count(*) FROM postseason WHERE YEAR = 1885 AND ties = 1;", "query_toks": [ "SELECT", "count", "(", "*", ")", "FROM", "postseason", "WHERE", "YEAR", "=", "1885", "AND", "ties", "=", "1", ";" ], "query_toks_no_value": [ "select", "count", "(", "*", ")", "from", "postseason", "where", "year", "=", "value", "and", "ties", "=", "value" ], "question_spider": "How many games in 1885 postseason resulted in ties (that is, the value of \"ties\" is '1')?", "question": "在1885年的季后赛中,有多少场比赛是打成平局的(也就是说,“平局”的值是“1”)?", "question_cspider": "在1885年的季后赛中,有多少场比赛是打成平局的(也就是说,“平局”的值是“1”)?", "Harold": "BLEU = 61.64, 88.9/77.1/67.6/60.6 (BP=0.846, ratio=0.857, hyp_len=36, ref_len=42)", "question_toks": [ "在", "1", "8", "8", "5", "年", "的", "季", "后", "赛", "中", ",", "有", "多", "少", "场", "比", "赛", "导", "致", "平", "局", "(", "即", "“", "平", "局", "”", "的", "值", "为", "“", " ", "1", "”", ")", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 22 ] ], "conds": [] }, "select": [ false, [ [ 3, [ 0, [ 0, 0, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 282, false ], null ], 1885, null ], "and", [ false, 2, [ 0, [ 0, 290, false ], null ], 1, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "baseball_1", "query": "SELECT count(*) FROM postseason WHERE YEAR = 1885 AND ties = 1;", "query_toks": [ "SELECT", "count", "(", "*", ")", "FROM", "postseason", "WHERE", "YEAR", "=", "1885", "AND", "ties", "=", "1", ";" ], "query_toks_no_value": [ "select", "count", "(", "*", ")", "from", "postseason", "where", "year", "=", "value", "and", "ties", "=", "value" ], "question_spider": "Find the number of tied games (the value of \"ties\" is '1') in 1885 postseason.", "question": "找出在1885年季后赛中平局游戏的次数(“平局”的值是“1”)。", "question_cspider": "找出在1885年季后赛中平局游戏的次数(“平局”的值是“1”)。", "Harold": "BLEU = 39.99, 72.4/53.6/37.0/26.9 (BP=0.902, ratio=0.906, hyp_len=29, ref_len=32)", "question_toks": [ "找", "出", "1", "8", "8", "5", "年", "季", "后", "赛", "并", "列", "赛", "的", "次", "数", "(", "“", "并", "列", "”", "的", "值", "为", "'", "1", "'", ")", "。" ], "sql": { "from": { "table_units": [ [ "table_unit", 22 ] ], "conds": [] }, "select": [ false, [ [ 3, [ 0, [ 0, 0, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 282, false ], null ], 1885, null ], "and", [ false, 2, [ 0, [ 0, 290, false ], null ], 1, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "baseball_1", "query": "SELECT sum(T1.salary) FROM salary AS T1 JOIN team AS T2 ON T1.team_id = T2.team_id_br WHERE T2.name = 'Boston Red Stockings' AND T1.year = 2010", "query_toks": [ "SELECT", "sum", "(", "T1.salary", ")", "FROM", "salary", "AS", "T1", "JOIN", "team", "AS", "T2", "ON", "T1.team_id", "=", "T2.team_id_br", "WHERE", "T2.name", "=", "'Boston", "Red", "Stockings", "'", "AND", "T1.year", "=", "2010" ], "query_toks_no_value": [ "select", "sum", "(", "t1", ".", "salary", ")", "from", "salary", "as", "t1", "join", "team", "as", "t2", "on", "t1", ".", "team_id", "=", "t2", ".", "team_id_br", "where", "t2", ".", "name", "=", "value", "and", "t1", ".", "year", "=", "value" ], "question_spider": "What is the total salary paid by team Boston Red Stockings in 2010?", "question": "2010年“Boston Red Stockings”的总薪水是多少?", "question_cspider": "2010年“Boston Red Stockings”的总薪水是多少?", "Harold": "BLEU = 48.49, 63.6/52.4/45.0/36.8 (BP=1.000, ratio=1.100, hyp_len=22, ref_len=20)", "question_toks": [ "波", "士", "顿", "红", "袜", "队", "在", "2", "0", "1", "0", "年", "支", "付", "的", "总", "薪", "水", "是", "多", "少", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 20 ], [ "table_unit", 23 ] ], "conds": [ [ false, 2, [ 0, [ 0, 273, false ], null ], [ 0, 336, false ], null ] ] }, "select": [ false, [ [ 4, [ 0, [ 0, 276, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 331, false ], null ], "\"Boston Red Stockings\"", null ], "and", [ false, 2, [ 0, [ 0, 272, false ], null ], 2010, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "baseball_1", "query": "SELECT sum(T1.salary) FROM salary AS T1 JOIN team AS T2 ON T1.team_id = T2.team_id_br WHERE T2.name = 'Boston Red Stockings' AND T1.year = 2010", "query_toks": [ "SELECT", "sum", "(", "T1.salary", ")", "FROM", "salary", "AS", "T1", "JOIN", "team", "AS", "T2", "ON", "T1.team_id", "=", "T2.team_id_br", "WHERE", "T2.name", "=", "'Boston", "Red", "Stockings", "'", "AND", "T1.year", "=", "2010" ], "query_toks_no_value": [ "select", "sum", "(", "t1", ".", "salary", ")", "from", "salary", "as", "t1", "join", "team", "as", "t2", "on", "t1", ".", "team_id", "=", "t2", ".", "team_id_br", "where", "t2", ".", "name", "=", "value", "and", "t1", ".", "year", "=", "value" ], "question_spider": "What is the total salary expenses of team Boston Red Stockings in 2010?", "question": "2010年度“Boston Red Stockings”的对内总薪水是多少?", "question_cspider": "2010年度“Boston Red Stockings”的对内总薪水是多少?", "Harold": "BLEU = 29.35, 61.9/40.0/26.3/16.7 (BP=0.909, ratio=0.913, hyp_len=21, ref_len=23)", "question_toks": [ "波", "士", "顿", "红", "袜", "队", "2", "0", "1", "0", "年", "的", "总", "薪", "金", "支", "出", "是", "多", "少", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 20 ], [ "table_unit", 23 ] ], "conds": [ [ false, 2, [ 0, [ 0, 273, false ], null ], [ 0, 336, false ], null ] ] }, "select": [ false, [ [ 4, [ 0, [ 0, 276, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 331, false ], null ], "\"Boston Red Stockings\"", null ], "and", [ false, 2, [ 0, [ 0, 272, false ], null ], 2010, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "baseball_1", "query": "SELECT count(*) FROM salary AS T1 JOIN team AS T2 ON T1.team_id = T2.team_id_br WHERE T2.name = 'Boston Red Stockings' AND T1.year = 2000", "query_toks": [ "SELECT", "count", "(", "*", ")", "FROM", "salary", "AS", "T1", "JOIN", "team", "AS", "T2", "ON", "T1.team_id", "=", "T2.team_id_br", "WHERE", "T2.name", "=", "'Boston", "Red", "Stockings", "'", "AND", "T1.year", "=", "2000" ], "query_toks_no_value": [ "select", "count", "(", "*", ")", "from", "salary", "as", "t1", "join", "team", "as", "t2", "on", "t1", ".", "team_id", "=", "t2", ".", "team_id_br", "where", "t2", ".", "name", "=", "value", "and", "t1", ".", "year", "=", "value" ], "question_spider": "How many players were in the team Boston Red Stockings in 2000?", "question": "2000年“Boston Red Stockings”有多少队员?", "question_cspider": "2000年“Boston Red Stockings”有多少队员?", "Harold": "BLEU = 28.53, 57.9/38.9/23.5/12.5 (BP=1.000, ratio=1.056, hyp_len=19, ref_len=18)", "question_toks": [ "2", "0", "0", "0", "年", ",", "波", "士", "顿", "红", "袜", "队", "有", "多", "少", "名", "球", "员", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 20 ], [ "table_unit", 23 ] ], "conds": [ [ false, 2, [ 0, [ 0, 273, false ], null ], [ 0, 336, false ], null ] ] }, "select": [ false, [ [ 3, [ 0, [ 0, 0, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 331, false ], null ], "\"Boston Red Stockings\"", null ], "and", [ false, 2, [ 0, [ 0, 272, false ], null ], 2000, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "baseball_1", "query": "SELECT count(*) FROM salary AS T1 JOIN team AS T2 ON T1.team_id = T2.team_id_br WHERE T2.name = 'Boston Red Stockings' AND T1.year = 2000", "query_toks": [ "SELECT", "count", "(", "*", ")", "FROM", "salary", "AS", "T1", "JOIN", "team", "AS", "T2", "ON", "T1.team_id", "=", "T2.team_id_br", "WHERE", "T2.name", "=", "'Boston", "Red", "Stockings", "'", "AND", "T1.year", "=", "2000" ], "query_toks_no_value": [ "select", "count", "(", "*", ")", "from", "salary", "as", "t1", "join", "team", "as", "t2", "on", "t1", ".", "team_id", "=", "t2", ".", "team_id_br", "where", "t2", ".", "name", "=", "value", "and", "t1", ".", "year", "=", "value" ], "question_spider": "How many players did Boston Red Stockings have in 2000?", "question": "“Boston Red Stockings”在2000年球员的数量有多少?", "question_cspider": "“Boston Red Stockings”在2000年球员的数量有多少?", "Harold": "BLEU = 24.90, 63.2/38.9/23.5/12.5 (BP=0.854, ratio=0.864, hyp_len=19, ref_len=22)", "question_toks": [ "2", "0", "0", "0", "年", ",", "波", "士", "顿", "红", "袜", "队", "有", "多", "少", "名", "球", "员", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 20 ], [ "table_unit", 23 ] ], "conds": [ [ false, 2, [ 0, [ 0, 273, false ], null ], [ 0, 336, false ], null ] ] }, "select": [ false, [ [ 3, [ 0, [ 0, 0, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 331, false ], null ], "\"Boston Red Stockings\"", null ], "and", [ false, 2, [ 0, [ 0, 272, false ], null ], 2000, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "baseball_1", "query": "SELECT salary FROM salary WHERE YEAR = 2001 ORDER BY salary DESC LIMIT 3;", "query_toks": [ "SELECT", "salary", "FROM", "salary", "WHERE", "YEAR", "=", "2001", "ORDER", "BY", "salary", "DESC", "LIMIT", "3", ";" ], "query_toks_no_value": [ "select", "salary", "from", "salary", "where", "year", "=", "value", "order", "by", "salary", "desc", "limit", "value" ], "question_spider": "List the 3 highest salaries of the players in 2001?", "question": "列出2001年度球员的3个最高的薪水。", "question_cspider": "列出2001年度球员的3个最高的薪水。", "Harold": "BLEU = 65.26, 88.9/76.5/62.5/53.3 (BP=0.946, ratio=0.947, hyp_len=18, ref_len=19)", "question_toks": [ "列", "出", "2", "0", "0", "1", "年", "球", "员", "的", "3", "个", "最", "高", "薪", "水", "吗", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 20 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 276, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 272, false ], null ], 2001, null ] ], "groupBy": [], "having": [], "orderBy": [ "desc", [ [ 0, [ 0, 276, false ], null ] ] ], "limit": 3, "intersect": null, "union": null, "except": null } }, { "db_id": "baseball_1", "query": "SELECT salary FROM salary WHERE YEAR = 2001 ORDER BY salary DESC LIMIT 3;", "query_toks": [ "SELECT", "salary", "FROM", "salary", "WHERE", "YEAR", "=", "2001", "ORDER", "BY", "salary", "DESC", "LIMIT", "3", ";" ], "query_toks_no_value": [ "select", "salary", "from", "salary", "where", "year", "=", "value", "order", "by", "salary", "desc", "limit", "value" ], "question_spider": "How much salary did the top 3 well-paid players get in 2001?", "question": "2001年前3名高收益球员的薪水是多少?", "question_cspider": "2001年前3名高收益球员的薪水是多少?", "Harold": "BLEU = 60.08, 85.7/65.0/52.6/44.4 (BP=1.000, ratio=1.050, hyp_len=21, ref_len=20)", "question_toks": [ "2", "0", "0", "1", "年", "收", "入", "最", "高", "的", "3", "名", "球", "员", "的", "薪", "水", "是", "多", "少", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 20 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 276, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 272, false ], null ], 2001, null ] ], "groupBy": [], "having": [], "orderBy": [ "desc", [ [ 0, [ 0, 276, false ], null ] ] ], "limit": 3, "intersect": null, "union": null, "except": null } }, { "db_id": "baseball_1", "query": "SELECT salary FROM salary WHERE YEAR = 2010 UNION SELECT salary FROM salary WHERE YEAR = 2001", "query_toks": [ "SELECT", "salary", "FROM", "salary", "WHERE", "YEAR", "=", "2010", "UNION", "SELECT", "salary", "FROM", "salary", "WHERE", "YEAR", "=", "2001" ], "query_toks_no_value": [ "select", "salary", "from", "salary", "where", "year", "=", "value", "union", "select", "salary", "from", "salary", "where", "year", "=", "value" ], "question_spider": "What were all the salary values of players in 2010 and 2001?", "question": "2010年和2001年的球员的工资值是多少?", "question_cspider": "2010年和2001年的球员的工资值是多少?", "Harold": "BLEU = 48.83, 89.5/72.2/52.9/31.2 (BP=0.854, ratio=0.864, hyp_len=19, ref_len=22)", "question_toks": [ "2", "0", "1", "0", "和", "2", "0", "0", "1", "年", "球", "员", "的", "薪", "水", "是", "多", "少", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 20 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 276, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 272, false ], null ], 2010, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": { "from": { "table_units": [ [ "table_unit", 20 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 276, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 272, false ], null ], 2001, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, "except": null } }, { "db_id": "baseball_1", "query": "SELECT salary FROM salary WHERE YEAR = 2010 UNION SELECT salary FROM salary WHERE YEAR = 2001", "query_toks": [ "SELECT", "salary", "FROM", "salary", "WHERE", "YEAR", "=", "2010", "UNION", "SELECT", "salary", "FROM", "salary", "WHERE", "YEAR", "=", "2001" ], "query_toks_no_value": [ "select", "salary", "from", "salary", "where", "year", "=", "value", "union", "select", "salary", "from", "salary", "where", "year", "=", "value" ], "question_spider": "List all the salary values players received in 2010 and 2001.", "question": "列出所有在2010和2001球员收到的工资值。", "question_cspider": "列出所有在2010和2001球员收到的工资值。", "Harold": "BLEU = 32.85, 75.0/47.8/22.7/14.3 (BP=1.000, ratio=1.043, hyp_len=24, ref_len=23)", "question_toks": [ "列", "出", "2", "0", "1", "0", "年", "和", "2", "0", "0", "1", "年", "球", "员", "获", "得", "的", "所", "有", "薪", "水", "值", "。" ], "sql": { "from": { "table_units": [ [ "table_unit", 20 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 276, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 272, false ], null ], 2010, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": { "from": { "table_units": [ [ "table_unit", 20 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 276, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 272, false ], null ], 2001, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, "except": null } }, { "db_id": "baseball_1", "query": "SELECT yearid FROM hall_of_fame GROUP BY yearid ORDER BY count(*) ASC LIMIT 1;", "query_toks": [ "SELECT", "yearid", "FROM", "hall_of_fame", "GROUP", "BY", "yearid", "ORDER", "BY", "count", "(", "*", ")", "ASC", "LIMIT", "1", ";" ], "query_toks_no_value": [ "select", "yearid", "from", "hall_of_fame", "group", "by", "yearid", "order", "by", "count", "(", "*", ")", "asc", "limit", "value" ], "question_spider": "In which year did the least people enter hall of fame?", "question": "哪一年最少的球员进入名人堂?", "question_cspider": "哪一年最少的球员进入名人堂?", "Harold": "BLEU = 62.07, 84.6/75.0/63.6/50.0 (BP=0.926, ratio=0.929, hyp_len=13, ref_len=14)", "question_toks": [ "哪", "一", "年", "最", "少", "有", "人", "进", "入", "名", "人", "堂", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 12 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 145, false ], null ] ] ] ], "where": [], "groupBy": [ [ 0, 145, false ] ], "having": [], "orderBy": [ "asc", [ [ 0, [ 3, 0, false ], null ] ] ], "limit": 1, "intersect": null, "union": null, "except": null } }, { "db_id": "baseball_1", "query": "SELECT yearid FROM hall_of_fame GROUP BY yearid ORDER BY count(*) ASC LIMIT 1;", "query_toks": [ "SELECT", "yearid", "FROM", "hall_of_fame", "GROUP", "BY", "yearid", "ORDER", "BY", "count", "(", "*", ")", "ASC", "LIMIT", "1", ";" ], "query_toks_no_value": [ "select", "yearid", "from", "hall_of_fame", "group", "by", "yearid", "order", "by", "count", "(", "*", ")", "asc", "limit", "value" ], "question_spider": "Find the year in which the least people enter hall of fame.", "question": "找出最少球员进入名人堂的年份。", "question_cspider": "找出最少球员进入名人堂的年份。", "Harold": "BLEU = 61.00, 80.0/64.3/53.8/50.0 (BP=1.000, ratio=1.000, hyp_len=15, ref_len=15)", "question_toks": [ "寻", "找", "最", "少", "的", "人", "进", "入", "名", "人", "堂", "的", "年", "份", "。" ], "sql": { "from": { "table_units": [ [ "table_unit", 12 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 145, false ], null ] ] ] ], "where": [], "groupBy": [ [ 0, 145, false ] ], "having": [], "orderBy": [ "asc", [ [ 0, [ 3, 0, false ], null ] ] ], "limit": 1, "intersect": null, "union": null, "except": null } }, { "db_id": "baseball_1", "query": "SELECT count(*) FROM park WHERE city = 'Atlanta';", "query_toks": [ "SELECT", "count", "(", "*", ")", "FROM", "park", "WHERE", "city", "=", "'Atlanta", "'", ";" ], "query_toks_no_value": [ "select", "count", "(", "*", ")", "from", "park", "where", "city", "=", "value" ], "question_spider": "How many parks are there in Atlanta city?", "question": "“Atlanta”有多少个公园?", "question_cspider": "“San Jose”有多少个公园?", "Harold": "BLEU = 51.57, 58.3/54.5/50.0/44.4 (BP=1.000, ratio=1.091, hyp_len=12, ref_len=11)", "question_toks": [ "亚", "特", "兰", "大", "市", "有", "多", "少", "个", "公", "园", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 17 ] ], "conds": [] }, "select": [ false, [ [ 3, [ 0, [ 0, 0, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 209, false ], null ], "\"Atlanta\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "baseball_1", "query": "SELECT count(*) FROM park WHERE city = 'Atlanta';", "query_toks": [ "SELECT", "count", "(", "*", ")", "FROM", "park", "WHERE", "city", "=", "'Atlanta", "'", ";" ], "query_toks_no_value": [ "select", "count", "(", "*", ")", "from", "park", "where", "city", "=", "value" ], "question_spider": "How many parks does Atlanta city have?", "question": "“Atlanta”市的公园数有多少?", "question_cspider": "“San Jose”市的公园数有多少?", "Harold": "BLEU = 0.00, 45.5/10.0/0.0/0.0 (BP=0.834, ratio=0.846, hyp_len=11, ref_len=13)", "question_toks": [ "亚", "特", "兰", "大", "市", "有", "几", "个", "公", "园", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 17 ] ], "conds": [] }, "select": [ false, [ [ 3, [ 0, [ 0, 0, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 209, false ], null ], "\"Atlanta\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "baseball_1", "query": "SELECT count(*) FROM home_game AS T1 JOIN park AS T2 ON T1.park_id = T2.park_id WHERE T1.year = 1907 AND T2.park_name = 'Columbia Park';", "query_toks": [ "SELECT", "count", "(", "*", ")", "FROM", "home_game", "AS", "T1", "JOIN", "park", "AS", "T2", "ON", "T1.park_id", "=", "T2.park_id", "WHERE", "T1.year", "=", "1907", "AND", "T2.park_name", "=", "'Columbia", "Park", "'", ";" ], "query_toks_no_value": [ "select", "count", "(", "*", ")", "from", "home_game", "as", "t1", "join", "park", "as", "t2", "on", "t1", ".", "park_id", "=", "t2", ".", "park_id", "where", "t1", ".", "year", "=", "value", "and", "t2", ".", "park_name", "=", "value" ], "question_spider": "How many games were played in park \"Columbia Park\" in 1907?", "question": "1907年在公园“Columbia Park”有多少场比赛?", "question_cspider": "1907年在公园“Columbia Park”有多少场比赛?", "Harold": "BLEU = 32.60, 66.7/43.5/27.3/14.3 (BP=1.000, ratio=1.143, hyp_len=24, ref_len=21)", "question_toks": [ "1", "9", "0", "7", "年", ",", "在", "“", "哥", "伦", "比", "亚", "公", "园", "”", "公", "园", "玩", "了", "几", "场", "比", "赛", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 13 ], [ "table_unit", 17 ] ], "conds": [ [ false, 2, [ 0, [ 0, 156, false ], null ], [ 0, 206, false ], null ] ] }, "select": [ false, [ [ 3, [ 0, [ 0, 0, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 153, false ], null ], 1907, null ], "and", [ false, 2, [ 0, [ 0, 207, false ], null ], "\"Columbia Park\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "baseball_1", "query": "SELECT count(*) FROM home_game AS T1 JOIN park AS T2 ON T1.park_id = T2.park_id WHERE T1.year = 1907 AND T2.park_name = 'Columbia Park';", "query_toks": [ "SELECT", "count", "(", "*", ")", "FROM", "home_game", "AS", "T1", "JOIN", "park", "AS", "T2", "ON", "T1.park_id", "=", "T2.park_id", "WHERE", "T1.year", "=", "1907", "AND", "T2.park_name", "=", "'Columbia", "Park", "'", ";" ], "query_toks_no_value": [ "select", "count", "(", "*", ")", "from", "home_game", "as", "t1", "join", "park", "as", "t2", "on", "t1", ".", "park_id", "=", "t2", ".", "park_id", "where", "t1", ".", "year", "=", "value", "and", "t2", ".", "park_name", "=", "value" ], "question_spider": "Count the number of games taken place in park \"Columbia Park\" in 1907.", "question": "统计1907年在公园“Columbia Park”发生的比赛数量。", "question_cspider": "统计1907年在公园“Columbia Park”发生的比赛数量。", "Harold": "BLEU = 42.18, 70.4/50.0/36.0/25.0 (BP=1.000, ratio=1.125, hyp_len=27, ref_len=24)", "question_toks": [ "计", "算", "1", "9", "0", "7", "年", "在", "“", "哥", "伦", "比", "亚", "公", "园", "”", "公", "园", "内", "举", "行", "的", "比", "赛", "数", "量", "。" ], "sql": { "from": { "table_units": [ [ "table_unit", 13 ], [ "table_unit", 17 ] ], "conds": [ [ false, 2, [ 0, [ 0, 156, false ], null ], [ 0, 206, false ], null ] ] }, "select": [ false, [ [ 3, [ 0, [ 0, 0, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 153, false ], null ], 1907, null ], "and", [ false, 2, [ 0, [ 0, 207, false ], null ], "\"Columbia Park\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "baseball_1", "query": "SELECT count(*) FROM home_game AS T1 JOIN park AS T2 ON T1.park_id = T2.park_id WHERE T1.year = 2000 AND T2.city = 'Atlanta';", "query_toks": [ "SELECT", "count", "(", "*", ")", "FROM", "home_game", "AS", "T1", "JOIN", "park", "AS", "T2", "ON", "T1.park_id", "=", "T2.park_id", "WHERE", "T1.year", "=", "2000", "AND", "T2.city", "=", "'Atlanta", "'", ";" ], "query_toks_no_value": [ "select", "count", "(", "*", ")", "from", "home_game", "as", "t1", "join", "park", "as", "t2", "on", "t1", ".", "park_id", "=", "t2", ".", "park_id", "where", "t1", ".", "year", "=", "value", "and", "t2", ".", "city", "=", "value" ], "question_spider": "How many games were played in city Atlanta in 2000?", "question": "2000年在“Atlanta”市举行了多少比赛?", "question_cspider": "2000年在“San Jose”市举行了多少比赛?", "Harold": "BLEU = 33.50, 61.1/41.2/31.2/20.0 (BP=0.946, ratio=0.947, hyp_len=18, ref_len=19)", "question_toks": [ "2", "0", "0", "0", "年", "在", "亚", "特", "兰", "大", "市", "玩", "了", "几", "场", "比", "赛", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 13 ], [ "table_unit", 17 ] ], "conds": [ [ false, 2, [ 0, [ 0, 156, false ], null ], [ 0, 206, false ], null ] ] }, "select": [ false, [ [ 3, [ 0, [ 0, 0, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 153, false ], null ], 2000, null ], "and", [ false, 2, [ 0, [ 0, 209, false ], null ], "\"Atlanta\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "baseball_1", "query": "SELECT count(*) FROM home_game AS T1 JOIN park AS T2 ON T1.park_id = T2.park_id WHERE T1.year = 2000 AND T2.city = 'Atlanta';", "query_toks": [ "SELECT", "count", "(", "*", ")", "FROM", "home_game", "AS", "T1", "JOIN", "park", "AS", "T2", "ON", "T1.park_id", "=", "T2.park_id", "WHERE", "T1.year", "=", "2000", "AND", "T2.city", "=", "'Atlanta", "'", ";" ], "query_toks_no_value": [ "select", "count", "(", "*", ")", "from", "home_game", "as", "t1", "join", "park", "as", "t2", "on", "t1", ".", "park_id", "=", "t2", ".", "park_id", "where", "t1", ".", "year", "=", "value", "and", "t2", ".", "city", "=", "value" ], "question_spider": "Find the number of games taken place in city Atlanta in 2000.", "question": "找出2000年“Atlanta”市举办的比赛数量。", "question_cspider": "找出2000年“San Jose”市举办的比赛数量。", "Harold": "BLEU = 43.32, 65.0/47.4/38.9/29.4 (BP=1.000, ratio=1.000, hyp_len=20, ref_len=20)", "question_toks": [ "查", "找", "2", "0", "0", "0", "年", "在", "亚", "特", "兰", "大", "举", "行", "的", "比", "赛", "数", "量", "。" ], "sql": { "from": { "table_units": [ [ "table_unit", 13 ], [ "table_unit", 17 ] ], "conds": [ [ false, 2, [ 0, [ 0, 156, false ], null ], [ 0, 206, false ], null ] ] }, "select": [ false, [ [ 3, [ 0, [ 0, 0, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 153, false ], null ], 2000, null ], "and", [ false, 2, [ 0, [ 0, 209, false ], null ], "\"Atlanta\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "baseball_1", "query": "SELECT sum(T1.attendance) FROM home_game AS T1 JOIN team AS T2 ON T1.team_id = T2.team_id_br WHERE T2.name = 'Boston Red Stockings' AND T1.year BETWEEN 2000 AND 2010;", "query_toks": [ "SELECT", "sum", "(", "T1.attendance", ")", "FROM", "home_game", "AS", "T1", "JOIN", "team", "AS", "T2", "ON", "T1.team_id", "=", "T2.team_id_br", "WHERE", "T2.name", "=", "'Boston", "Red", "Stockings", "'", "AND", "T1.year", "BETWEEN", "2000", "AND", "2010", ";" ], "query_toks_no_value": [ "select", "sum", "(", "t1", ".", "attendance", ")", "from", "home_game", "as", "t1", "join", "team", "as", "t2", "on", "t1", ".", "team_id", "=", "t2", ".", "team_id_br", "where", "t2", ".", "name", "=", "value", "and", "t1", ".", "year", "between", "value", "and", "value" ], "question_spider": "What is the total home game attendance of team Boston Red Stockings from 2000 to 2010?", "question": "从2000年到2010年“Boston Red Stockings”主场的比赛数是多少?", "question_cspider": "从2000年到2010年“Boston Red Stockings”主场的比赛数是多少?", "Harold": "BLEU = 52.16, 74.2/56.7/44.8/39.3 (BP=1.000, ratio=1.069, hyp_len=31, ref_len=29)", "question_toks": [ "从", "2", "0", "0", "0", "年", "到", "2", "0", "1", "0", "年", ",", "波", "士", "顿", "红", "袜", "队", "的", "总", "主", "场", "比", "赛", "人", "数", "是", "多", "少", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 13 ], [ "table_unit", 23 ] ], "conds": [ [ false, 2, [ 0, [ 0, 155, false ], null ], [ 0, 336, false ], null ] ] }, "select": [ false, [ [ 4, [ 0, [ 0, 161, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 331, false ], null ], "\"Boston Red Stockings\"", null ], "and", [ false, 1, [ 0, [ 0, 153, false ], null ], 2000, 2010 ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "baseball_1", "query": "SELECT sum(T1.attendance) FROM home_game AS T1 JOIN team AS T2 ON T1.team_id = T2.team_id_br WHERE T2.name = 'Boston Red Stockings' AND T1.year BETWEEN 2000 AND 2010;", "query_toks": [ "SELECT", "sum", "(", "T1.attendance", ")", "FROM", "home_game", "AS", "T1", "JOIN", "team", "AS", "T2", "ON", "T1.team_id", "=", "T2.team_id_br", "WHERE", "T2.name", "=", "'Boston", "Red", "Stockings", "'", "AND", "T1.year", "BETWEEN", "2000", "AND", "2010", ";" ], "query_toks_no_value": [ "select", "sum", "(", "t1", ".", "attendance", ")", "from", "home_game", "as", "t1", "join", "team", "as", "t2", "on", "t1", ".", "team_id", "=", "t2", ".", "team_id_br", "where", "t2", ".", "name", "=", "value", "and", "t1", ".", "year", "between", "value", "and", "value" ], "question_spider": "How many games in total did team Boston Red Stockings attend from 2000 to 2010?", "question": "从2000年到2010年,“Boston Red Stockings”总共参加了多少场比赛?", "question_cspider": "从2000年到2010年,波士顿队的红袜队总共参加了多少场比赛?", "Harold": "BLEU = 88.39, 100.0/96.6/92.9/88.9 (BP=0.936, ratio=0.938, hyp_len=30, ref_len=32)", "question_toks": [ "从", "2", "0", "0", "0", "年", "到", "2", "0", "1", "0", "年", ",", "波", "士", "顿", "红", "袜", "队", "总", "共", "参", "加", "了", "多", "少", "场", "比", "赛", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 13 ], [ "table_unit", 23 ] ], "conds": [ [ false, 2, [ 0, [ 0, 155, false ], null ], [ 0, 336, false ], null ] ] }, "select": [ false, [ [ 4, [ 0, [ 0, 161, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 331, false ], null ], "\"Boston Red Stockings\"", null ], "and", [ false, 1, [ 0, [ 0, 153, false ], null ], 2000, 2010 ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "baseball_1", "query": "SELECT sum(T1.salary) FROM salary AS T1 JOIN player AS T2 ON T1.player_id = T2.player_id WHERE T2.name_first = 'Len' AND T2.name_last = 'Barker' AND T1.year BETWEEN 1985 AND 1990;", "query_toks": [ "SELECT", "sum", "(", "T1.salary", ")", "FROM", "salary", "AS", "T1", "JOIN", "player", "AS", "T2", "ON", "T1.player_id", "=", "T2.player_id", "WHERE", "T2.name_first", "=", "'Len", "'", "AND", "T2.name_last", "=", "'Barker", "'", "AND", "T1.year", "BETWEEN", "1985", "AND", "1990", ";" ], "query_toks_no_value": [ "select", "sum", "(", "t1", ".", "salary", ")", "from", "salary", "as", "t1", "join", "player", "as", "t2", "on", "t1", ".", "player_id", "=", "t2", ".", "player_id", "where", "t2", ".", "name_first", "=", "value", "and", "t2", ".", "name_last", "=", "value", "and", "t1", ".", "year", "between", "value", "and", "value" ], "question_spider": "How much did the the player with first name Len and last name Barker earn between 1985 to 1990 in total?", "question": "在1985年到1990年间,这位名字是“Len”姓氏是“Barker”的球员总共赚了多少钱?", "question_cspider": "在1985年到1990年间,这位名字是“S”姓氏是“左”的球员总共赚了多少钱?", "Harold": "BLEU = 45.34, 61.9/51.2/40.0/33.3 (BP=1.000, ratio=1.077, hyp_len=42, ref_len=39)", "question_toks": [ "在", "1", "9", "8", "5", "年", "至", "1", "9", "9", "0", "年", "之", "间", ",", "名", "字", "叫", "L", "e", "n", "和", "名", "字", "叫", "B", "a", "r", "k", "e", "r", "的", "球", "员", "总", "共", "赚", "了", "多", "少", "钱", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 20 ], [ "table_unit", 16 ] ], "conds": [ [ false, 2, [ 0, [ 0, 275, false ], null ], [ 0, 182, false ], null ] ] }, "select": [ false, [ [ 4, [ 0, [ 0, 276, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 195, false ], null ], "\"Len\"", null ], "and", [ false, 2, [ 0, [ 0, 196, false ], null ], "\"Barker\"", null ], "and", [ false, 1, [ 0, [ 0, 272, false ], null ], 1985, 1990 ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "baseball_1", "query": "SELECT sum(T1.salary) FROM salary AS T1 JOIN player AS T2 ON T1.player_id = T2.player_id WHERE T2.name_first = 'Len' AND T2.name_last = 'Barker' AND T1.year BETWEEN 1985 AND 1990;", "query_toks": [ "SELECT", "sum", "(", "T1.salary", ")", "FROM", "salary", "AS", "T1", "JOIN", "player", "AS", "T2", "ON", "T1.player_id", "=", "T2.player_id", "WHERE", "T2.name_first", "=", "'Len", "'", "AND", "T2.name_last", "=", "'Barker", "'", "AND", "T1.year", "BETWEEN", "1985", "AND", "1990", ";" ], "query_toks_no_value": [ "select", "sum", "(", "t1", ".", "salary", ")", "from", "salary", "as", "t1", "join", "player", "as", "t2", "on", "t1", ".", "player_id", "=", "t2", ".", "player_id", "where", "t2", ".", "name_first", "=", "value", "and", "t2", ".", "name_last", "=", "value", "and", "t1", ".", "year", "between", "value", "and", "value" ], "question_spider": "Compute the total salary that the player with first name Len and last name Barker received between 1985 to 1990.", "question": "计算在1985年到1990年间,名字是“Len”姓氏是“Barker”的球员的总工资。", "question_cspider": "计算在1985年到1990年间,名字是“S”姓氏是“左”的球员的总工资。", "Harold": "BLEU = 28.02, 55.3/35.1/22.2/14.3 (BP=1.000, ratio=1.056, hyp_len=38, ref_len=36)", "question_toks": [ "计", "算", "姓", "L", "e", "n", "和", "姓", "B", "a", "r", "k", "e", "r", "的", "球", "员", "在", "1", "9", "8", "5", "年", "至", "1", "9", "9", "0", "年", "之", "间", "获", "得", "的", "总", "薪", "水", "。" ], "sql": { "from": { "table_units": [ [ "table_unit", 20 ], [ "table_unit", 16 ] ], "conds": [ [ false, 2, [ 0, [ 0, 275, false ], null ], [ 0, 182, false ], null ] ] }, "select": [ false, [ [ 4, [ 0, [ 0, 276, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 195, false ], null ], "\"Len\"", null ], "and", [ false, 2, [ 0, [ 0, 196, false ], null ], "\"Barker\"", null ], "and", [ false, 1, [ 0, [ 0, 272, false ], null ], 1985, 1990 ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "baseball_1", "query": "SELECT T2.name_first , T2.name_last FROM salary AS T1 JOIN player AS T2 ON T1.player_id = T2.player_id JOIN team AS T3 ON T3.team_id_br = T1.team_id WHERE T1.year = 2005 AND T3.name = 'Washington Nationals' INTERSECT SELECT T2.name_first , T2.name_last FROM salary AS T1 JOIN player AS T2 ON T1.player_id = T2.player_id JOIN team AS T3 ON T3.team_id_br = T1.team_id WHERE T1.year = 2007 AND T3.name = 'Washington Nationals'", "query_toks": [ "SELECT", "T2.name_first", ",", "T2.name_last", "FROM", "salary", "AS", "T1", "JOIN", "player", "AS", "T2", "ON", "T1.player_id", "=", "T2.player_id", "JOIN", "team", "AS", "T3", "ON", "T3.team_id_br", "=", "T1.team_id", "WHERE", "T1.year", "=", "2005", "AND", "T3.name", "=", "'Washington", "Nationals", "'", "INTERSECT", "SELECT", "T2.name_first", ",", "T2.name_last", "FROM", "salary", "AS", "T1", "JOIN", "player", "AS", "T2", "ON", "T1.player_id", "=", "T2.player_id", "JOIN", "team", "AS", "T3", "ON", "T3.team_id_br", "=", "T1.team_id", "WHERE", "T1.year", "=", "2007", "AND", "T3.name", "=", "'Washington", "Nationals", "'" ], "query_toks_no_value": [ "select", "t2", ".", "name_first", ",", "t2", ".", "name_last", "from", "salary", "as", "t1", "join", "player", "as", "t2", "on", "t1", ".", "player_id", "=", "t2", ".", "player_id", "join", "team", "as", "t3", "on", "t3", ".", "team_id_br", "=", "t1", ".", "team_id", "where", "t1", ".", "year", "=", "value", "and", "t3", ".", "name", "=", "value", "intersect", "select", "t2", ".", "name_first", ",", "t2", ".", "name_last", "from", "salary", "as", "t1", "join", "player", "as", "t2", "on", "t1", ".", "player_id", "=", "t2", ".", "player_id", "join", "team", "as", "t3", "on", "t3", ".", "team_id_br", "=", "t1", ".", "team_id", "where", "t1", ".", "year", "=", "value", "and", "t3", ".", "name", "=", "value" ], "question_spider": "List players' first name and last name who received salary from team Washington Nationals in both 2005 and 2007.", "question": "列出2005年和2007年从球队“Washington Nationals”得到薪水球员的名字和姓氏。", "question_cspider": "列出2005年和2007年从球队“Washington Nationals”得到薪水球员的名字和姓氏。", "Harold": "BLEU = 58.24, 77.1/61.8/51.5/46.9 (BP=1.000, ratio=1.000, hyp_len=35, ref_len=35)", "question_toks": [ "列", "出", "在", "2", "0", "0", "5", "年", "和", "2", "0", "0", "7", "年", "从", "华", "盛", "顿", "国", "民", "队", "获", "得", "薪", "水", "的", "球", "员", "的", "名", "字", "和", "姓", "氏", "。" ], "sql": { "from": { "table_units": [ [ "table_unit", 20 ], [ "table_unit", 16 ], [ "table_unit", 23 ] ], "conds": [ [ false, 2, [ 0, [ 0, 275, false ], null ], [ 0, 182, false ], null ], "and", [ false, 2, [ 0, [ 0, 336, false ], null ], [ 0, 273, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 195, false ], null ] ], [ 0, [ 0, [ 0, 196, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 272, false ], null ], 2005, null ], "and", [ false, 2, [ 0, [ 0, 331, false ], null ], "\"Washington Nationals\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": { "from": { "table_units": [ [ "table_unit", 20 ], [ "table_unit", 16 ], [ "table_unit", 23 ] ], "conds": [ [ false, 2, [ 0, [ 0, 275, false ], null ], [ 0, 182, false ], null ], "and", [ false, 2, [ 0, [ 0, 336, false ], null ], [ 0, 273, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 195, false ], null ] ], [ 0, [ 0, [ 0, 196, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 272, false ], null ], 2007, null ], "and", [ false, 2, [ 0, [ 0, 331, false ], null ], "\"Washington Nationals\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, "union": null, "except": null } }, { "db_id": "baseball_1", "query": "SELECT T2.name_first , T2.name_last FROM salary AS T1 JOIN player AS T2 ON T1.player_id = T2.player_id JOIN team AS T3 ON T3.team_id_br = T1.team_id WHERE T1.year = 2005 AND T3.name = 'Washington Nationals' INTERSECT SELECT T2.name_first , T2.name_last FROM salary AS T1 JOIN player AS T2 ON T1.player_id = T2.player_id JOIN team AS T3 ON T3.team_id_br = T1.team_id WHERE T1.year = 2007 AND T3.name = 'Washington Nationals'", "query_toks": [ "SELECT", "T2.name_first", ",", "T2.name_last", "FROM", "salary", "AS", "T1", "JOIN", "player", "AS", "T2", "ON", "T1.player_id", "=", "T2.player_id", "JOIN", "team", "AS", "T3", "ON", "T3.team_id_br", "=", "T1.team_id", "WHERE", "T1.year", "=", "2005", "AND", "T3.name", "=", "'Washington", "Nationals", "'", "INTERSECT", "SELECT", "T2.name_first", ",", "T2.name_last", "FROM", "salary", "AS", "T1", "JOIN", "player", "AS", "T2", "ON", "T1.player_id", "=", "T2.player_id", "JOIN", "team", "AS", "T3", "ON", "T3.team_id_br", "=", "T1.team_id", "WHERE", "T1.year", "=", "2007", "AND", "T3.name", "=", "'Washington", "Nationals", "'" ], "query_toks_no_value": [ "select", "t2", ".", "name_first", ",", "t2", ".", "name_last", "from", "salary", "as", "t1", "join", "player", "as", "t2", "on", "t1", ".", "player_id", "=", "t2", ".", "player_id", "join", "team", "as", "t3", "on", "t3", ".", "team_id_br", "=", "t1", ".", "team_id", "where", "t1", ".", "year", "=", "value", "and", "t3", ".", "name", "=", "value", "intersect", "select", "t2", ".", "name_first", ",", "t2", ".", "name_last", "from", "salary", "as", "t1", "join", "player", "as", "t2", "on", "t1", ".", "player_id", "=", "t2", ".", "player_id", "join", "team", "as", "t3", "on", "t3", ".", "team_id_br", "=", "t1", ".", "team_id", "where", "t1", ".", "year", "=", "value", "and", "t3", ".", "name", "=", "value" ], "question_spider": "What are the first name and last name of the players who were paid salary by team Washington Nationals in both 2005 and 2007?", "question": "2005年和2007年从球队“Washington Nationals”得到薪水球员的名字和姓氏是什么?", "question_cspider": "2005年和2007年从球队“Washington Nationals”得到薪水球员的名字和姓氏是什么?", "Harold": "BLEU = 60.13, 72.2/62.9/55.9/51.5 (BP=1.000, ratio=1.000, hyp_len=36, ref_len=36)", "question_toks": [ "在", "2", "0", "0", "5", "年", "和", "2", "0", "0", "7", "年", "由", "华", "盛", "顿", "国", "民", "队", "支", "付", "薪", "水", "的", "球", "员", "的", "名", "字", "和", "姓", "氏", "是", "什", "么", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 20 ], [ "table_unit", 16 ], [ "table_unit", 23 ] ], "conds": [ [ false, 2, [ 0, [ 0, 275, false ], null ], [ 0, 182, false ], null ], "and", [ false, 2, [ 0, [ 0, 336, false ], null ], [ 0, 273, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 195, false ], null ] ], [ 0, [ 0, [ 0, 196, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 272, false ], null ], 2005, null ], "and", [ false, 2, [ 0, [ 0, 331, false ], null ], "\"Washington Nationals\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": { "from": { "table_units": [ [ "table_unit", 20 ], [ "table_unit", 16 ], [ "table_unit", 23 ] ], "conds": [ [ false, 2, [ 0, [ 0, 275, false ], null ], [ 0, 182, false ], null ], "and", [ false, 2, [ 0, [ 0, 336, false ], null ], [ 0, 273, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 195, false ], null ] ], [ 0, [ 0, [ 0, 196, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 272, false ], null ], 2007, null ], "and", [ false, 2, [ 0, [ 0, 331, false ], null ], "\"Washington Nationals\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, "union": null, "except": null } }, { "db_id": "baseball_1", "query": "SELECT sum(T1.games) FROM home_game AS T1 JOIN team AS T2 ON T1.team_id = T2.team_id_br WHERE T2.name = 'Boston Red Stockings' AND T1.year BETWEEN 1990 AND 2000;", "query_toks": [ "SELECT", "sum", "(", "T1.games", ")", "FROM", "home_game", "AS", "T1", "JOIN", "team", "AS", "T2", "ON", "T1.team_id", "=", "T2.team_id_br", "WHERE", "T2.name", "=", "'Boston", "Red", "Stockings", "'", "AND", "T1.year", "BETWEEN", "1990", "AND", "2000", ";" ], "query_toks_no_value": [ "select", "sum", "(", "t1", ".", "games", ")", "from", "home_game", "as", "t1", "join", "team", "as", "t2", "on", "t1", ".", "team_id", "=", "t2", ".", "team_id_br", "where", "t2", ".", "name", "=", "value", "and", "t1", ".", "year", "between", "value", "and", "value" ], "question_spider": "How many home games did the team Boston Red Stockings play from 1990 to 2000 in total?", "question": "从1990年到2000年,“Boston Red Stockings”总共打了几场主场比赛?", "question_cspider": "从1990年到2000年,“Boston Red Stockings”总共打了几场主场比赛?", "Harold": "BLEU = 57.18, 74.2/60.0/51.7/46.4 (BP=1.000, ratio=1.000, hyp_len=31, ref_len=31)", "question_toks": [ "从", "1", "9", "9", "0", "年", "到", "2", "0", "0", "0", "年", ",", "波", "士", "顿", "红", "袜", "队", "总", "共", "踢", "了", "多", "少", "场", "主", "场", "比", "赛", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 13 ], [ "table_unit", 23 ] ], "conds": [ [ false, 2, [ 0, [ 0, 155, false ], null ], [ 0, 336, false ], null ] ] }, "select": [ false, [ [ 4, [ 0, [ 0, 159, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 331, false ], null ], "\"Boston Red Stockings\"", null ], "and", [ false, 1, [ 0, [ 0, 153, false ], null ], 1990, 2000 ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "baseball_1", "query": "SELECT sum(T1.games) FROM home_game AS T1 JOIN team AS T2 ON T1.team_id = T2.team_id_br WHERE T2.name = 'Boston Red Stockings' AND T1.year BETWEEN 1990 AND 2000;", "query_toks": [ "SELECT", "sum", "(", "T1.games", ")", "FROM", "home_game", "AS", "T1", "JOIN", "team", "AS", "T2", "ON", "T1.team_id", "=", "T2.team_id_br", "WHERE", "T2.name", "=", "'Boston", "Red", "Stockings", "'", "AND", "T1.year", "BETWEEN", "1990", "AND", "2000", ";" ], "query_toks_no_value": [ "select", "sum", "(", "t1", ".", "games", ")", "from", "home_game", "as", "t1", "join", "team", "as", "t2", "on", "t1", ".", "team_id", "=", "t2", ".", "team_id_br", "where", "t2", ".", "name", "=", "value", "and", "t1", ".", "year", "between", "value", "and", "value" ], "question_spider": "Count the total number of games the team Boston Red Stockings attended from 1990 to 2000.", "question": "计算从1990年到2000年“Boston Red Stockings”参加的比赛总数。", "question_cspider": "计算从1990年到2000年“Boston Red Stockings”参加的比赛总数。", "Harold": "BLEU = 50.31, 77.8/61.5/48.0/37.5 (BP=0.929, ratio=0.931, hyp_len=27, ref_len=29)", "question_toks": [ "计", "算", "1", "9", "9", "0", "年", "至", "2", "0", "0", "0", "年", "波", "士", "顿", "红", "袜", "队", "参", "加", "的", "比", "赛", "总", "数", "。" ], "sql": { "from": { "table_units": [ [ "table_unit", 13 ], [ "table_unit", 23 ] ], "conds": [ [ false, 2, [ 0, [ 0, 155, false ], null ], [ 0, 336, false ], null ] ] }, "select": [ false, [ [ 4, [ 0, [ 0, 159, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 331, false ], null ], "\"Boston Red Stockings\"", null ], "and", [ false, 1, [ 0, [ 0, 153, false ], null ], 1990, 2000 ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "baseball_1", "query": "SELECT T2.name FROM home_game AS T1 JOIN team AS T2 ON T1.team_id = T2.team_id_br WHERE T1.year = 1980 ORDER BY T1.attendance ASC LIMIT 1;", "query_toks": [ "SELECT", "T2.name", "FROM", "home_game", "AS", "T1", "JOIN", "team", "AS", "T2", "ON", "T1.team_id", "=", "T2.team_id_br", "WHERE", "T1.year", "=", "1980", "ORDER", "BY", "T1.attendance", "ASC", "LIMIT", "1", ";" ], "query_toks_no_value": [ "select", "t2", ".", "name", "from", "home_game", "as", "t1", "join", "team", "as", "t2", "on", "t1", ".", "team_id", "=", "t2", ".", "team_id_br", "where", "t1", ".", "year", "=", "value", "order", "by", "t1", ".", "attendance", "asc", "limit", "value" ], "question_spider": "Which team had the least number of attendances in home games in 1980?", "question": "哪支球队在1980年参加的主场比赛最少?", "question_cspider": "哪支球队在1980年参加的主场比赛最少?", "Harold": "BLEU = 48.83, 89.5/66.7/47.1/25.0 (BP=0.949, ratio=0.950, hyp_len=19, ref_len=20)", "question_toks": [ "哪", "支", "球", "队", "的", "1", "9", "8", "0", "年", "主", "场", "比", "赛", "观", "众", "最", "少", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 13 ], [ "table_unit", 23 ] ], "conds": [ [ false, 2, [ 0, [ 0, 155, false ], null ], [ 0, 336, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 331, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 153, false ], null ], 1980, null ] ], "groupBy": [], "having": [], "orderBy": [ "asc", [ [ 0, [ 0, 161, false ], null ] ] ], "limit": 1, "intersect": null, "union": null, "except": null } }, { "db_id": "baseball_1", "query": "SELECT T2.name FROM home_game AS T1 JOIN team AS T2 ON T1.team_id = T2.team_id_br WHERE T1.year = 1980 ORDER BY T1.attendance ASC LIMIT 1;", "query_toks": [ "SELECT", "T2.name", "FROM", "home_game", "AS", "T1", "JOIN", "team", "AS", "T2", "ON", "T1.team_id", "=", "T2.team_id_br", "WHERE", "T1.year", "=", "1980", "ORDER", "BY", "T1.attendance", "ASC", "LIMIT", "1", ";" ], "query_toks_no_value": [ "select", "t2", ".", "name", "from", "home_game", "as", "t1", "join", "team", "as", "t2", "on", "t1", ".", "team_id", "=", "t2", ".", "team_id_br", "where", "t1", ".", "year", "=", "value", "order", "by", "t1", ".", "attendance", "asc", "limit", "value" ], "question_spider": "Find the team that attended the least number of home games in 1980.", "question": "找出在1980年参加的主场比赛最少的球队。", "question_cspider": "找出在1980年参加的主场比赛最少的球队。", "Harold": "BLEU = 72.25, 94.7/83.3/76.5/68.8 (BP=0.900, ratio=0.905, hyp_len=19, ref_len=21)", "question_toks": [ "寻", "找", "1", "9", "8", "0", "年", "参", "加", "主", "场", "比", "赛", "最", "少", "的", "球", "队", "。" ], "sql": { "from": { "table_units": [ [ "table_unit", 13 ], [ "table_unit", 23 ] ], "conds": [ [ false, 2, [ 0, [ 0, 155, false ], null ], [ 0, 336, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 331, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 153, false ], null ], 1980, null ] ], "groupBy": [], "having": [], "orderBy": [ "asc", [ [ 0, [ 0, 161, false ], null ] ] ], "limit": 1, "intersect": null, "union": null, "except": null } }, { "db_id": "baseball_1", "query": "SELECT state FROM park GROUP BY state HAVING count(*) > 2;", "query_toks": [ "SELECT", "state", "FROM", "park", "GROUP", "BY", "state", "HAVING", "count", "(", "*", ")", ">", "2", ";" ], "query_toks_no_value": [ "select", "state", "from", "park", "group", "by", "state", "having", "count", "(", "*", ")", ">", "value" ], "question_spider": "List the names of states that have more than 2 parks.", "question": "列出有超过2个公园的州的名字。", "question_cspider": "列出有超过2个公园的州的名字。", "Harold": "BLEU = 0.00, 66.7/28.6/7.7/0.0 (BP=1.000, ratio=1.000, hyp_len=15, ref_len=15)", "question_toks": [ "列", "出", "拥", "有", "2", "个", "以", "上", "公", "园", "的", "州", "名", "称", "。" ], "sql": { "from": { "table_units": [ [ "table_unit", 17 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 210, false ], null ] ] ] ], "where": [], "groupBy": [ [ 0, 210, false ] ], "having": [ [ false, 3, [ 0, [ 3, 0, false ], null ], 2, null ] ], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "baseball_1", "query": "SELECT state FROM park GROUP BY state HAVING count(*) > 2;", "query_toks": [ "SELECT", "state", "FROM", "park", "GROUP", "BY", "state", "HAVING", "count", "(", "*", ")", ">", "2", ";" ], "query_toks_no_value": [ "select", "state", "from", "park", "group", "by", "state", "having", "count", "(", "*", ")", ">", "value" ], "question_spider": "Which states have more than 2 parks?", "question": "哪些州有超过2个公园?", "question_cspider": "哪些州有超过2个公园?", "Harold": "BLEU = 0.00, 50.0/18.2/10.0/0.0 (BP=1.000, ratio=1.091, hyp_len=12, ref_len=11)", "question_toks": [ "哪", "个", "州", "有", "两", "个", "以", "上", "的", "公", "园", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 17 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 210, false ], null ] ] ] ], "where": [], "groupBy": [ [ 0, 210, false ] ], "having": [ [ false, 3, [ 0, [ 3, 0, false ], null ], 2, null ] ], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "baseball_1", "query": "SELECT count(*) FROM team_franchise WHERE active = 'Y';", "query_toks": [ "SELECT", "count", "(", "*", ")", "FROM", "team_franchise", "WHERE", "active", "=", "'Y", "'", ";" ], "query_toks_no_value": [ "select", "count", "(", "*", ")", "from", "team_franchise", "where", "active", "=", "value" ], "question_spider": "How many team franchises are active, with active value 'Y'?", "question": "有多少团队的经营权是激活状态的,即活跃值是“Y”?", "question_cspider": "有多少团队的经营权是激活状态的,即活跃值是“Y”?", "Harold": "BLEU = 22.42, 77.3/42.9/25.0/5.3 (BP=0.873, ratio=0.880, hyp_len=22, ref_len=25)", "question_toks": [ "有", "多", "少", "活", "跃", "的", "球", "队", "特", "许", "经", "营", "权", "的", "活", "跃", "值", "为", "“", " ", "Y", "”", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 24 ] ], "conds": [] }, "select": [ false, [ [ 3, [ 0, [ 0, 0, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 341, false ], null ], "\"Y\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "baseball_1", "query": "SELECT count(*) FROM team_franchise WHERE active = 'Y';", "query_toks": [ "SELECT", "count", "(", "*", ")", "FROM", "team_franchise", "WHERE", "active", "=", "'Y", "'", ";" ], "query_toks_no_value": [ "select", "count", "(", "*", ")", "from", "team_franchise", "where", "active", "=", "value" ], "question_spider": "Find the number of team franchises that are active (have 'Y' as \"active\" information).", "question": "找出团队专营权是激活状态的数量(将“Y”作为“active”信息)。", "question_cspider": "找出团队专营权是激活状态的数量(将“Y”作为“激活”信息)。", "Harold": "BLEU = 43.97, 67.9/48.1/42.3/36.0 (BP=0.931, ratio=0.933, hyp_len=28, ref_len=30)", "question_toks": [ "查", "找", "有", "效", "的", "球", "队", "特", "许", "经", "营", "数", "量", "(", "将", "“", " ", "Y", "”", "作", "为", "“", "有", "效", "”", "信", "息", ")", "。" ], "sql": { "from": { "table_units": [ [ "table_unit", 24 ] ], "conds": [] }, "select": [ false, [ [ 3, [ 0, [ 0, 0, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 341, false ], null ], "\"Y\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "baseball_1", "query": "SELECT city FROM park GROUP BY city HAVING count(*) BETWEEN 2 AND 4;", "query_toks": [ "SELECT", "city", "FROM", "park", "GROUP", "BY", "city", "HAVING", "count", "(", "*", ")", "BETWEEN", "2", "AND", "4", ";" ], "query_toks_no_value": [ "select", "city", "from", "park", "group", "by", "city", "having", "count", "(", "*", ")", "between", "value", "and", "value" ], "question_spider": "Which cities have 2 to 4 parks?", "question": "哪些城市有2到4个公园?", "question_cspider": "哪些城市有2到4个公园?", "Harold": "BLEU = 100.00, 100.0/100.0/100.0/100.0 (BP=1.000, ratio=1.000, hyp_len=12, ref_len=12)", "question_toks": [ "哪", "些", "城", "市", "有", "2", "到", "4", "个", "公", "园", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 17 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 209, false ], null ] ] ] ], "where": [], "groupBy": [ [ 0, 209, false ] ], "having": [ [ false, 1, [ 0, [ 3, 0, false ], null ], 2, 4 ] ], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "baseball_1", "query": "SELECT city FROM park GROUP BY city HAVING count(*) BETWEEN 2 AND 4;", "query_toks": [ "SELECT", "city", "FROM", "park", "GROUP", "BY", "city", "HAVING", "count", "(", "*", ")", "BETWEEN", "2", "AND", "4", ";" ], "query_toks_no_value": [ "select", "city", "from", "park", "group", "by", "city", "having", "count", "(", "*", ")", "between", "value", "and", "value" ], "question_spider": "Find all the cities that have 2 to 4 parks.", "question": "找到所有有2到4个公园的城市。", "question_cspider": "找到所有有2到4个公园的城市。", "Harold": "BLEU = 70.98, 87.5/73.3/64.3/61.5 (BP=1.000, ratio=1.067, hyp_len=16, ref_len=15)", "question_toks": [ "查", "找", "所", "有", "拥", "有", "2", "到", "4", "个", "公", "园", "的", "城", "市", "。" ], "sql": { "from": { "table_units": [ [ "table_unit", 17 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 209, false ], null ] ] ] ], "where": [], "groupBy": [ [ 0, 209, false ] ], "having": [ [ false, 1, [ 0, [ 3, 0, false ], null ], 2, 4 ] ], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "baseball_1", "query": "SELECT T2.park_name FROM home_game AS T1 JOIN park AS T2 ON T1.park_id = T2.park_id WHERE T1.year = 2008 ORDER BY T1.attendance DESC LIMIT 1;", "query_toks": [ "SELECT", "T2.park_name", "FROM", "home_game", "AS", "T1", "JOIN", "park", "AS", "T2", "ON", "T1.park_id", "=", "T2.park_id", "WHERE", "T1.year", "=", "2008", "ORDER", "BY", "T1.attendance", "DESC", "LIMIT", "1", ";" ], "query_toks_no_value": [ "select", "t2", ".", "park_name", "from", "home_game", "as", "t1", "join", "park", "as", "t2", "on", "t1", ".", "park_id", "=", "t2", ".", "park_id", "where", "t1", ".", "year", "=", "value", "order", "by", "t1", ".", "attendance", "desc", "limit", "value" ], "question_spider": "Which park had most attendances in 2008?", "question": "哪一个公园在2008年餐馆的最多?", "question_cspider": "哪一个公园在2008年餐馆的最多?", "Harold": "BLEU = 36.94, 86.7/57.1/38.5/16.7 (BP=0.875, ratio=0.882, hyp_len=15, ref_len=17)", "question_toks": [ "2", "0", "0", "8", "年", "哪", "个", "公", "园", "的", "游", "客", "最", "多", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 13 ], [ "table_unit", 17 ] ], "conds": [ [ false, 2, [ 0, [ 0, 156, false ], null ], [ 0, 206, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 207, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 153, false ], null ], 2008, null ] ], "groupBy": [], "having": [], "orderBy": [ "desc", [ [ 0, [ 0, 161, false ], null ] ] ], "limit": 1, "intersect": null, "union": null, "except": null } }, { "db_id": "baseball_1", "query": "SELECT T2.park_name FROM home_game AS T1 JOIN park AS T2 ON T1.park_id = T2.park_id WHERE T1.year = 2008 ORDER BY T1.attendance DESC LIMIT 1;", "query_toks": [ "SELECT", "T2.park_name", "FROM", "home_game", "AS", "T1", "JOIN", "park", "AS", "T2", "ON", "T1.park_id", "=", "T2.park_id", "WHERE", "T1.year", "=", "2008", "ORDER", "BY", "T1.attendance", "DESC", "LIMIT", "1", ";" ], "query_toks_no_value": [ "select", "t2", ".", "park_name", "from", "home_game", "as", "t1", "join", "park", "as", "t2", "on", "t1", ".", "park_id", "=", "t2", ".", "park_id", "where", "t1", ".", "year", "=", "value", "order", "by", "t1", ".", "attendance", "desc", "limit", "value" ], "question_spider": "Which park did the most people attend in 2008?", "question": "2008年参观人数最多的公园是哪一个?", "question_cspider": "2008年参观人数最多的公园是哪一个?", "Harold": "BLEU = 30.96, 88.2/43.8/26.7/14.3 (BP=0.889, ratio=0.895, hyp_len=17, ref_len=19)", "question_toks": [ "2", "0", "0", "8", "年", "最", "多", "的", "人", "参", "加", "了", "哪", "个", "公", "园", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 13 ], [ "table_unit", 17 ] ], "conds": [ [ false, 2, [ 0, [ 0, 156, false ], null ], [ 0, 206, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 207, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 153, false ], null ], 2008, null ] ], "groupBy": [], "having": [], "orderBy": [ "desc", [ [ 0, [ 0, 161, false ], null ] ] ], "limit": 1, "intersect": null, "union": null, "except": null } } ]