[ { "db_id": "debate", "query": "SELECT count(*) FROM debate", "query_toks": [ "SELECT", "count", "(", "*", ")", "FROM", "debate" ], "query_toks_no_value": [ "select", "count", "(", "*", ")", "from", "debate" ], "question_spider": "How many debates are there?", "question": "有多少辩论?", "question_cspider": "有多少辩论?", "Harold": "BLEU = 0.00, 85.7/66.7/40.0/0.0 (BP=1.000, ratio=1.167, hyp_len=7, ref_len=6)", "question_toks": [ "有", "多", "少", "场", "辩", "论", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 3, [ 0, [ 0, 0, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "debate", "query": "SELECT Venue FROM debate ORDER BY Num_of_Audience ASC", "query_toks": [ "SELECT", "Venue", "FROM", "debate", "ORDER", "BY", "Num_of_Audience", "ASC" ], "query_toks_no_value": [ "select", "venue", "from", "debate", "order", "by", "num_of_audience", "asc" ], "question_spider": "List the venues of debates in ascending order of the number of audience.", "question": "以观众数量的升序排列,列出辩论的场馆。", "question_cspider": "以观众数量的升序排列,列出辩论的场馆。", "Harold": "BLEU = 28.99, 80.0/50.0/30.8/16.7 (BP=0.766, ratio=0.789, hyp_len=15, ref_len=19)", "question_toks": [ "以", "观", "众", "人", "数", "的", "升", "序", "排", "列", "辩", "论", "地", "点", "。" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 8, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [ "asc", [ [ 0, [ 0, 9, false ], null ] ] ], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "debate", "query": "SELECT Date , Venue FROM debate", "query_toks": [ "SELECT", "Date", ",", "Venue", "FROM", "debate" ], "query_toks_no_value": [ "select", "date", ",", "venue", "from", "debate" ], "question_spider": "What are the date and venue of each debate?", "question": "每次辩论的日期和场馆是什么?", "question_cspider": "每次辩论的日期和场馆是什么?", "Harold": "BLEU = 69.98, 85.7/76.9/66.7/54.5 (BP=1.000, ratio=1.000, hyp_len=14, ref_len=14)", "question_toks": [ "每", "次", "辩", "论", "的", "日", "期", "和", "地", "点", "是", "什", "么", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 7, false ], null ] ], [ 0, [ 0, [ 0, 8, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "debate", "query": "SELECT Date FROM debate WHERE Num_of_Audience > 150", "query_toks": [ "SELECT", "Date", "FROM", "debate", "WHERE", "Num_of_Audience", ">", "150" ], "query_toks_no_value": [ "select", "date", "from", "debate", "where", "num_of_audience", ">", "value" ], "question_spider": "List the dates of debates with number of audience bigger than 150", "question": "列出超过150观众人数的辩论日期", "question_cspider": "列出超过150观众人数的辩论日期", "Harold": "BLEU = 45.27, 94.1/62.5/33.3/21.4 (BP=1.000, ratio=1.062, hyp_len=17, ref_len=16)", "question_toks": [ "列", "出", "辩", "论", "的", "日", "期", ",", "观", "众", "人", "数", "超", "过", "1", "5", "0" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 7, false ], null ] ] ] ], "where": [ [ false, 3, [ 0, [ 0, 9, false ], null ], 150, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "debate", "query": "SELECT Name FROM people WHERE Age = 35 OR Age = 36", "query_toks": [ "SELECT", "Name", "FROM", "people", "WHERE", "Age", "=", "35", "OR", "Age", "=", "36" ], "query_toks_no_value": [ "select", "name", "from", "people", "where", "age", "=", "value", "or", "age", "=", "value" ], "question_spider": "Show the names of people aged either 35 or 36.", "question": "显示35岁或36岁的人的姓名。", "question_cspider": "显示35岁或36岁的人的姓名。", "Harold": "BLEU = 80.65, 93.3/78.6/76.9/75.0 (BP=1.000, ratio=1.000, hyp_len=15, ref_len=15)", "question_toks": [ "显", "示", "3", "5", "岁", "或", "3", "6", "岁", "的", "人", "的", "名", "字", "。" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 5, false ], null ], 35, null ], "or", [ false, 2, [ 0, [ 0, 5, false ], null ], 36, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "debate", "query": "SELECT Party FROM people ORDER BY Age ASC LIMIT 1", "query_toks": [ "SELECT", "Party", "FROM", "people", "ORDER", "BY", "Age", "ASC", "LIMIT", "1" ], "query_toks_no_value": [ "select", "party", "from", "people", "order", "by", "age", "asc", "limit", "value" ], "question_spider": "What is the party of the youngest people?", "question": "最年轻的人的党派是什么?", "question_cspider": "最年轻的人的党派是什么?", "Harold": "BLEU = 37.70, 66.7/45.5/30.0/22.2 (BP=1.000, ratio=1.000, hyp_len=12, ref_len=12)", "question_toks": [ "最", "年", "轻", "的", "人", "参", "加", "什", "么", "聚", "会", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 4, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [ "asc", [ [ 0, [ 0, 5, false ], null ] ] ], "limit": 1, "intersect": null, "union": null, "except": null } }, { "db_id": "debate", "query": "SELECT Party , COUNT(*) FROM people GROUP BY Party", "query_toks": [ "SELECT", "Party", ",", "COUNT", "(", "*", ")", "FROM", "people", "GROUP", "BY", "Party" ], "query_toks_no_value": [ "select", "party", ",", "count", "(", "*", ")", "from", "people", "group", "by", "party" ], "question_spider": "Show different parties of people along with the number of people in each party.", "question": "显示不同党派的人以及每个政党的人数。", "question_cspider": "显示不同党派的人以及每个政党的人数。", "Harold": "BLEU = 38.79, 68.4/50.0/35.3/18.8 (BP=1.000, ratio=1.056, hyp_len=19, ref_len=18)", "question_toks": [ "显", "示", "不", "同", "的", "聚", "会", "方", "以", "及", "每", "个", "聚", "会", "中", "的", "人", "数", "。" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 4, false ], null ] ], [ 3, [ 0, [ 0, 0, false ], null ] ] ] ], "where": [], "groupBy": [ [ 0, 4, false ] ], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "debate", "query": "SELECT Party FROM people GROUP BY Party ORDER BY COUNT(*) DESC LIMIT 1", "query_toks": [ "SELECT", "Party", "FROM", "people", "GROUP", "BY", "Party", "ORDER", "BY", "COUNT", "(", "*", ")", "DESC", "LIMIT", "1" ], "query_toks_no_value": [ "select", "party", "from", "people", "group", "by", "party", "order", "by", "count", "(", "*", ")", "desc", "limit", "value" ], "question_spider": "Show the party that has the most people.", "question": "显示拥有最多人的政党。", "question_cspider": "显示拥有最多人的政党。", "Harold": "BLEU = 0.00, 60.0/11.1/0.0/0.0 (BP=0.905, ratio=0.909, hyp_len=10, ref_len=11)", "question_toks": [ "展", "示", "人", "数", "最", "多", "的", "聚", "会", "。" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 4, false ], null ] ] ] ], "where": [], "groupBy": [ [ 0, 4, false ] ], "having": [], "orderBy": [ "desc", [ [ 0, [ 3, 0, false ], null ] ] ], "limit": 1, "intersect": null, "union": null, "except": null } }, { "db_id": "debate", "query": "SELECT DISTINCT Venue FROM debate", "query_toks": [ "SELECT", "DISTINCT", "Venue", "FROM", "debate" ], "query_toks_no_value": [ "select", "distinct", "venue", "from", "debate" ], "question_spider": "Show the distinct venues of debates", "question": "显示不同的辩论场地", "question_cspider": "显示不同的辩论场地", "Harold": "BLEU = 0.00, 88.9/37.5/0.0/0.0 (BP=1.000, ratio=1.000, hyp_len=9, ref_len=9)", "question_toks": [ "显", "示", "辩", "论", "的", "不", "同", "地", "点" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ true, [ [ 0, [ 0, [ 0, 8, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "debate", "query": "SELECT T3.Name , T2.Date , T2.Venue FROM debate_people AS T1 JOIN debate AS T2 ON T1.Debate_ID = T2.Debate_ID JOIN people AS T3 ON T1.Affirmative = T3.People_ID", "query_toks": [ "SELECT", "T3.Name", ",", "T2.Date", ",", "T2.Venue", "FROM", "debate_people", "AS", "T1", "JOIN", "debate", "AS", "T2", "ON", "T1.Debate_ID", "=", "T2.Debate_ID", "JOIN", "people", "AS", "T3", "ON", "T1.Affirmative", "=", "T3.People_ID" ], "query_toks_no_value": [ "select", "t3", ".", "name", ",", "t2", ".", "date", ",", "t2", ".", "venue", "from", "debate_people", "as", "t1", "join", "debate", "as", "t2", "on", "t1", ".", "debate_id", "=", "t2", ".", "debate_id", "join", "people", "as", "t3", "on", "t1", ".", "affirmative", "=", "t3", ".", "people_id" ], "question_spider": "Show the names of people, and dates and venues of debates they are on the affirmative side.", "question": "显示出在赞成一面的对方的姓名、辩论的日期和地点。", "question_cspider": "显示出在赞成一面的对方的姓名、辩论的日期和地点。", "Harold": "BLEU = 35.13, 81.2/60.0/50.0/46.2 (BP=0.607, ratio=0.667, hyp_len=16, ref_len=24)", "question_toks": [ "显", "示", "人", "的", "名", "字", ",", "辩", "论", "的", "日", "期", "和", "地", "点", "。" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ], [ "table_unit", 1 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 10, false ], null ], [ 0, 6, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 1, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 3, false ], null ] ], [ 0, [ 0, [ 0, 7, false ], null ] ], [ 0, [ 0, [ 0, 8, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "debate", "query": "SELECT T3.Name , T2.Date , T2.Venue FROM debate_people AS T1 JOIN debate AS T2 ON T1.Debate_ID = T2.Debate_ID JOIN people AS T3 ON T1.Negative = T3.People_ID ORDER BY T3.Name ASC", "query_toks": [ "SELECT", "T3.Name", ",", "T2.Date", ",", "T2.Venue", "FROM", "debate_people", "AS", "T1", "JOIN", "debate", "AS", "T2", "ON", "T1.Debate_ID", "=", "T2.Debate_ID", "JOIN", "people", "AS", "T3", "ON", "T1.Negative", "=", "T3.People_ID", "ORDER", "BY", "T3.Name", "ASC" ], "query_toks_no_value": [ "select", "t3", ".", "name", ",", "t2", ".", "date", ",", "t2", ".", "venue", "from", "debate_people", "as", "t1", "join", "debate", "as", "t2", "on", "t1", ".", "debate_id", "=", "t2", ".", "debate_id", "join", "people", "as", "t3", "on", "t1", ".", "negative", "=", "t3", ".", "people_id", "order", "by", "t3", ".", "name", "asc" ], "question_spider": "Show the names of people, and dates and venues of debates they are on the negative side, ordered in ascending alphabetical order of name.", "question": "显示处于否定的一面人物的姓名、辩论的日期和地点,按姓名的升序排列。", "question_cspider": "显示处于否定的一面人物的姓名、辩论的日期和地点,按姓名的升序排列。", "Harold": "BLEU = 36.48, 69.7/37.5/29.0/23.3 (BP=1.000, ratio=1.000, hyp_len=33, ref_len=33)", "question_toks": [ "显", "示", "人", "的", "名", "字", ",", "以", "及", "辩", "论", "的", "日", "期", "和", "地", "点", "在", "反", "面", ",", "并", "按", "名", "字", "的", "字", "母", "升", "序", "排", "列", "。" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ], [ "table_unit", 1 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 10, false ], null ], [ 0, 6, false ], null ], "and", [ false, 2, [ 0, [ 0, 12, false ], null ], [ 0, 1, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 3, false ], null ] ], [ 0, [ 0, [ 0, 7, false ], null ] ], [ 0, [ 0, [ 0, 8, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [ "asc", [ [ 0, [ 0, 3, false ], null ] ] ], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "debate", "query": "SELECT T3.Name FROM debate_people AS T1 JOIN debate AS T2 ON T1.Debate_ID = T2.Debate_ID JOIN people AS T3 ON T1.Affirmative = T3.People_ID WHERE T2.Num_of_Audience > 200", "query_toks": [ "SELECT", "T3.Name", "FROM", "debate_people", "AS", "T1", "JOIN", "debate", "AS", "T2", "ON", "T1.Debate_ID", "=", "T2.Debate_ID", "JOIN", "people", "AS", "T3", "ON", "T1.Affirmative", "=", "T3.People_ID", "WHERE", "T2.Num_of_Audience", ">", "200" ], "query_toks_no_value": [ "select", "t3", ".", "name", "from", "debate_people", "as", "t1", "join", "debate", "as", "t2", "on", "t1", ".", "debate_id", "=", "t2", ".", "debate_id", "join", "people", "as", "t3", "on", "t1", ".", "affirmative", "=", "t3", ".", "people_id", "where", "t2", ".", "num_of_audience", ">", "value" ], "question_spider": "Show the names of people that are on affirmative side of debates with number of audience bigger than 200.", "question": "显示那些在辩论中持肯定态度的人的名字,参加辩论的人数超过200人。", "question_cspider": "显示那些在辩论中持肯定态度的人的名字,参加辩论的人数超过200人。", "Harold": "BLEU = 41.91, 78.6/59.3/42.3/32.0 (BP=0.836, ratio=0.848, hyp_len=28, ref_len=33)", "question_toks": [ "显", "示", "在", "辩", "论", "中", "处", "于", "肯", "定", "立", "场", "的", "人", "的", "名", "字", ",", "观", "众", "人", "数", "超", "过", "2", "0", "0", "。" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ], [ "table_unit", 1 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 10, false ], null ], [ 0, 6, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 1, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [ [ false, 3, [ 0, [ 0, 9, false ], null ], 200, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "debate", "query": "SELECT T2.Name , COUNT(*) FROM debate_people AS T1 JOIN people AS T2 ON T1.Affirmative = T2.People_ID GROUP BY T2.Name", "query_toks": [ "SELECT", "T2.Name", ",", "COUNT", "(", "*", ")", "FROM", "debate_people", "AS", "T1", "JOIN", "people", "AS", "T2", "ON", "T1.Affirmative", "=", "T2.People_ID", "GROUP", "BY", "T2.Name" ], "query_toks_no_value": [ "select", "t2", ".", "name", ",", "count", "(", "*", ")", "from", "debate_people", "as", "t1", "join", "people", "as", "t2", "on", "t1", ".", "affirmative", "=", "t2", ".", "people_id", "group", "by", "t2", ".", "name" ], "question_spider": "Show the names of people and the number of times they have been on the affirmative side of debates.", "question": "显示出参加辩论的人的姓名和他们在正面辩论的次数。", "question_cspider": "显示出参加辩论的人的姓名和他们在正面辩论的次数。", "Harold": "BLEU = 15.06, 56.5/22.7/9.5/5.0 (BP=0.957, ratio=0.958, hyp_len=23, ref_len=24)", "question_toks": [ "显", "示", "人", "们", "的", "名", "字", "及", "其", "在", "辩", "论", "中", "处", "于", "肯", "定", "立", "场", "的", "次", "数", "。" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 1, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 3, false ], null ] ], [ 3, [ 0, [ 0, 0, false ], null ] ] ] ], "where": [], "groupBy": [ [ 0, 3, false ] ], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "debate", "query": "SELECT T2.Name FROM debate_people AS T1 JOIN people AS T2 ON T1.Negative = T2.People_ID GROUP BY T2.Name HAVING COUNT(*) >= 2", "query_toks": [ "SELECT", "T2.Name", "FROM", "debate_people", "AS", "T1", "JOIN", "people", "AS", "T2", "ON", "T1.Negative", "=", "T2.People_ID", "GROUP", "BY", "T2.Name", "HAVING", "COUNT", "(", "*", ")", ">", "=", "2" ], "query_toks_no_value": [ "select", "t2", ".", "name", "from", "debate_people", "as", "t1", "join", "people", "as", "t2", "on", "t1", ".", "negative", "=", "t2", ".", "people_id", "group", "by", "t2", ".", "name", "having", "count", "(", "*", ")", ">", "=", "value" ], "question_spider": "Show the names of people who have been on the negative side of debates at least twice.", "question": "显示那些在辩论中至少两次处于负面的人的名字。", "question_cspider": "显示那些在辩论中至少两次处于负面的人的名字。", "Harold": "BLEU = 39.52, 78.3/54.5/28.6/20.0 (BP=1.000, ratio=1.045, hyp_len=23, ref_len=22)", "question_toks": [ "至", "少", "要", "显", "示", "两", "次", "在", "辩", "论", "中", "处", "于", "不", "利", "地", "位", "的", "人", "的", "名", "字", "。" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 12, false ], null ], [ 0, 1, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [], "groupBy": [ [ 0, 3, false ] ], "having": [ [ false, 5, [ 0, [ 3, 0, false ], null ], 2, null ] ], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "debate", "query": "SELECT Name FROM people WHERE People_id NOT IN (SELECT Affirmative FROM debate_people)", "query_toks": [ "SELECT", "Name", "FROM", "people", "WHERE", "People_id", "NOT", "IN", "(", "SELECT", "Affirmative", "FROM", "debate_people", ")" ], "query_toks_no_value": [ "select", "name", "from", "people", "where", "people_id", "not", "in", "(", "select", "affirmative", "from", "debate_people", ")" ], "question_spider": "List the names of people that have not been on the affirmative side of debates.", "question": "列出没有在辩论的正面的人的名字。", "question_cspider": "列出没有在辩论的正面的人的名字。", "Harold": "BLEU = 0.00, 64.3/38.5/16.7/0.0 (BP=0.867, ratio=0.875, hyp_len=14, ref_len=16)", "question_toks": [ "列", "出", "尚", "未", "参", "加", "辩", "论", "的", "人", "的", "姓", "名", "。" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [ [ true, 8, [ 0, [ 0, 1, false ], null ], { "from": { "table_units": [ [ "table_unit", 2 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } } ]