{"per_item": [{"question": "我们有多少歌手?", "predicted": "SELECT Count(*) FROM singer", "gold": "SELECT count(*) FROM singer", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "歌手的总数是多少?", "predicted": "SELECT Count(*) FROM singer", "gold": "SELECT count(*) FROM singer", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "显示每个歌手的姓名、国家、年龄,按歌手年龄从最大到最小。", "predicted": "SELECT singer.Name, singer.Country, singer.Age FROM singer ORDER BY singer.Age Desc", "gold": "SELECT name , country , age FROM singer ORDER BY age DESC", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "每个歌手的名字、国家、年龄是什么,按年龄降序?", "predicted": "SELECT singer.Name, singer.Country, singer.Age FROM singer ORDER BY singer.Age Desc", "gold": "SELECT name , country , age FROM singer ORDER BY age DESC", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "“France”所有歌手的平均年龄、最小年龄和最大年龄是多少?", "predicted": "SELECT Avg(singer.Age), Min(singer.Age), Max(singer.Age) FROM singer WHERE singer.Country = \"Unitedn\"", "gold": "SELECT avg(age) , min(age) , max(age) FROM singer WHERE country = 'France'", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "所有“France”歌手的平均年龄、最小年龄和最大年龄是多少?", "predicted": "SELECT Avg(singer.Age), Min(singer.Age), Max(singer.Age) FROM singer WHERE singer.Country = \"M\"", "gold": "SELECT avg(age) , min(age) , max(age) FROM singer WHERE country = 'France'", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "显示最年轻歌手的歌曲的名字和发行年份。", "predicted": "SELECT singer.Song_Name, singer.Song_release_year FROM singer ORDER BY singer.Age Asc LIMIT 1", "gold": "SELECT song_name , song_release_year FROM singer ORDER BY age LIMIT 1", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}}}, {"question": "最年轻歌手的所有歌曲的名字和发行年是多少?", "predicted": "SELECT singer.Song_Name, singer.Song_release_year FROM singer ORDER BY singer.Age Asc LIMIT 1", "gold": "SELECT song_name , song_release_year FROM singer ORDER BY age LIMIT 1", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}}}, {"question": "20岁以上的歌手来自哪些不同国家?", "predicted": "SELECT DISTINCT singer.Country FROM singer WHERE singer.Age > 20", "gold": "SELECT DISTINCT country FROM singer WHERE age > 20", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "哪些不同的国家有20岁以上的歌手?", "predicted": "SELECT DISTINCT singer.Country FROM singer WHERE singer.Age > 20", "gold": "SELECT DISTINCT country FROM singer WHERE age > 20", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "显示所有不同国家和每个国家的歌手数量。", "predicted": "SELECT singer.Country, Count(*) FROM singer GROUP BY singer.Country", "gold": "SELECT country , count(*) FROM singer GROUP BY country", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "每个国家有多少歌手?", "predicted": "SELECT singer.Country, Count(*) FROM singer GROUP BY singer.Country", "gold": "SELECT country , count(*) FROM singer GROUP BY country", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "列出高于平均年龄的歌手的所有歌名。", "predicted": "SELECT singer.Song_Name FROM singer WHERE singer.Age > (SELECT Avg(singer.Age) FROM singer)", "gold": "SELECT song_name FROM singer WHERE age > (SELECT avg(age) FROM singer)", "predicted_parse_error": false, "hardness": "hard", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "年龄高于平均年龄的歌手的所有歌名有哪些?", "predicted": "SELECT singer.Song_Name FROM singer WHERE singer.Age > (SELECT Avg(singer.Age) FROM singer)", "gold": "SELECT song_name FROM singer WHERE age > (SELECT avg(age) FROM singer)", "predicted_parse_error": false, "hardness": "hard", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "显示容量在5000到10000之间的所有体育场馆的位置和名称。", "predicted": "SELECT stadium.Location, stadium.Name FROM stadium WHERE stadium.Capacity BETWEEN 4000 AND 10000", "gold": "SELECT LOCATION , name FROM stadium WHERE capacity BETWEEN 5000 AND 10000", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "容量在5000到10000之间的所有体育场的位置和名称是什么?", "predicted": "SELECT stadium.Location, stadium.Name FROM stadium WHERE stadium.Capacity BETWEEN 4000 AND 10000", "gold": "SELECT LOCATION , name FROM stadium WHERE capacity BETWEEN 5000 AND 10000", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "所有体育场的平均出席人数和最大容量是多少?", "predicted": "SELECT Avg(stadium.Average), Max(stadium.Capacity) FROM stadium", "gold": "select max(capacity), average from stadium", "predicted_parse_error": false, "hardness": "medium", "exact": 0, "partial": {"select": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "所有体育场的平均容量和最大容量是多少?", "predicted": "SELECT Avg(stadium.Capacity), Max(stadium.Capacity) FROM stadium", "gold": "select avg(capacity) , max(capacity) from stadium", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "平均到场率最高的体育场名称和容量是多少?", "predicted": "SELECT stadium.Name, stadium.Capacity FROM stadium ORDER BY stadium.Average Desc LIMIT 1", "gold": "SELECT name , capacity FROM stadium ORDER BY average DESC LIMIT 1", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}}}, {"question": "平均到场率最高的体育场的名称是什么,有多少容量?", "predicted": "SELECT stadium.Name, stadium.Capacity FROM stadium ORDER BY stadium.Average Desc LIMIT 1", "gold": "SELECT name , capacity FROM stadium ORDER BY average DESC LIMIT 1", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}}}, {"question": "2014或2015年有多少演唱会?", "predicted": "SELECT Count(*) FROM concert WHERE concert.Year = 2014 OR concert.Year = 2015", "gold": "SELECT count(*) FROM concert WHERE YEAR = 2014 OR YEAR = 2015", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "有多少演唱会在2014或2015年?", "predicted": "SELECT Count(*) FROM concert WHERE concert.Year = 2014 OR concert.Year = 2015", "gold": "SELECT count(*) FROM concert WHERE YEAR = 2014 OR YEAR = 2015", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "显示体育场的名称和每个体育场举办音乐会的数量。", "predicted": "SELECT stadium.Name, Count(*) FROM stadium JOIN concert ON stadium.Stadium_ID = concert.Stadium_ID GROUP BY concert.Stadium_ID", "gold": "SELECT T2.name , count(*) FROM concert AS T1 JOIN stadium AS T2 ON T1.stadium_id = T2.stadium_id GROUP BY T1.stadium_id", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "每个体育场有多少场音乐会?", "predicted": "SELECT stadium.Name, Count(*) FROM stadium JOIN concert ON stadium.Stadium_ID = concert.Stadium_ID GROUP BY concert.Stadium_ID", "gold": "SELECT T2.name , count(*) FROM concert AS T1 JOIN stadium AS T2 ON T1.stadium_id = T2.stadium_id GROUP BY T1.stadium_id", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "在2014年或之后举办的音乐会最多的体育场的名称和容量。", "predicted": "SELECT stadium.Name, stadium.Capacity FROM stadium JOIN concert ON stadium.Stadium_ID = concert.Stadium_ID WHERE concert.Year >= 2014 GROUP BY concert.Stadium_ID ORDER BY Count(*) Desc LIMIT 1", "gold": "SELECT T2.name , T2.capacity FROM concert AS T1 JOIN stadium AS T2 ON T1.stadium_id = T2.stadium_id WHERE T1.year >= 2014 GROUP BY T2.stadium_id ORDER BY count(*) DESC LIMIT 1", "predicted_parse_error": false, "hardness": "extra", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 5, "pred_total": 5}}}, {"question": "在2013年以后音乐会最多的体育场名称和容量是多少?", "predicted": "SELECT stadium.Name, stadium.Capacity FROM stadium JOIN concert ON stadium.Stadium_ID = concert.Stadium_ID WHERE concert.Year > 2013 GROUP BY concert.Stadium_ID ORDER BY Count(*) Desc LIMIT 1", "gold": "select t2.name , t2.capacity from concert as t1 join stadium as t2 on t1.stadium_id = t2.stadium_id where t1.year > 2013 group by t2.stadium_id order by count(*) desc limit 1", "predicted_parse_error": false, "hardness": "extra", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 5, "pred_total": 5}}}, {"question": "哪一年音乐会最多?", "predicted": "SELECT concert.Year FROM concert GROUP BY concert.Year ORDER BY Count(*) Desc LIMIT 1", "gold": "SELECT YEAR FROM concert GROUP BY YEAR ORDER BY count(*) DESC LIMIT 1", "predicted_parse_error": false, "hardness": "hard", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 4, "pred_total": 4}}}, {"question": "音乐会最多的是哪一年?", "predicted": "SELECT concert.Year FROM concert GROUP BY concert.Year ORDER BY Count(*) Desc LIMIT 1", "gold": "SELECT YEAR FROM concert GROUP BY YEAR ORDER BY count(*) DESC LIMIT 1", "predicted_parse_error": false, "hardness": "hard", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 4, "pred_total": 4}}}, {"question": "没有音乐会的体育场的名称。", "predicted": "SELECT stadium.Name FROM stadium WHERE stadium.Stadium_ID NOT IN (SELECT concert.Stadium_ID FROM concert)", "gold": "SELECT name FROM stadium WHERE stadium_id NOT IN (SELECT stadium_id FROM concert)", "predicted_parse_error": false, "hardness": "hard", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}}}, {"question": "没有音乐会的体育场名称是什么?", "predicted": "SELECT stadium.Name FROM stadium WHERE stadium.Stadium_ID NOT IN (SELECT concert.Stadium_ID FROM concert)", "gold": "SELECT name FROM stadium WHERE stadium_id NOT IN (SELECT stadium_id FROM concert)", "predicted_parse_error": false, "hardness": "hard", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}}}, {"question": "显示40岁以上和30岁以下的歌手所来自的国家。", "predicted": "SELECT singer.Country FROM singer WHERE singer.Age > 40 INTERSECT SELECT singer.Country FROM singer WHERE singer.Age < 30", "gold": "SELECT country FROM singer WHERE age > 40 INTERSECT SELECT country FROM singer WHERE age < 30", "predicted_parse_error": false, "hardness": "hard", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "显示除了2014年有音乐会的场馆外的所有体育场的名称。", "predicted": "SELECT stadium.Name FROM stadium EXCEPT SELECT stadium.Name FROM stadium JOIN concert ON stadium.Stadium_ID = concert.Stadium_ID WHERE concert.Year = 2014", "gold": "SELECT name FROM stadium EXCEPT SELECT T2.name FROM concert AS T1 JOIN stadium AS T2 ON T1.stadium_id = T2.stadium_id WHERE T1.year = 2014", "predicted_parse_error": false, "hardness": "hard", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "2014年没有举办音乐会的所有体育场名称是什么?", "predicted": "SELECT stadium.Name FROM stadium EXCEPT SELECT stadium.Name FROM concert JOIN stadium ON concert.Stadium_ID = stadium.Stadium_ID WHERE concert.Year = 2014", "gold": "SELECT name FROM stadium EXCEPT SELECT T2.name FROM concert AS T1 JOIN stadium AS T2 ON T1.stadium_id = T2.stadium_id WHERE T1.year = 2014", "predicted_parse_error": false, "hardness": "hard", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "显示所有音乐会的名称和主题以及每场音乐会的歌手人数。", "predicted": "SELECT concert.concert_Name, concert.Theme, Count(*) FROM singer JOIN concert JOIN singer_in_concert ON singer.Singer_ID = singer_in_concert.Singer_ID AND singer_in_concert.concert_ID = concert.concert_ID GROUP BY concert.concert_ID", "gold": "SELECT T2.concert_name , T2.theme , count(*) FROM singer_in_concert AS T1 JOIN concert AS T2 ON T1.concert_id = T2.concert_id GROUP BY T2.concert_id", "predicted_parse_error": false, "hardness": "medium", "exact": false, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "每场演唱会的名称、主题和歌手数量是多少?", "predicted": "SELECT concert.concert_Name, concert.Theme, Count(*) FROM singer JOIN concert JOIN singer_in_concert ON singer.Singer_ID = singer_in_concert.Singer_ID AND singer_in_concert.concert_ID = concert.concert_ID GROUP BY singer_in_concert.concert_ID", "gold": "select t2.concert_name , t2.theme , count(*) from singer_in_concert as t1 join concert as t2 on t1.concert_id = t2.concert_id group by t2.concert_id", "predicted_parse_error": false, "hardness": "medium", "exact": false, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "列出歌手的名字和每个歌手的演唱会的次数。", "predicted": "SELECT singer.Name, Count(*) FROM singer JOIN singer_in_concert ON singer.Singer_ID = singer_in_concert.Singer_ID GROUP BY singer_in_concert.Singer_ID", "gold": "SELECT T2.name , count(*) FROM singer_in_concert AS T1 JOIN singer AS T2 ON T1.singer_id = T2.singer_id GROUP BY T2.singer_id", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "每个歌手的名字和演唱会的数量是多少?", "predicted": "SELECT singer.Name, Count(*) FROM singer JOIN singer_in_concert ON singer.Singer_ID = singer_in_concert.Singer_ID GROUP BY singer_in_concert.Singer_ID", "gold": "SELECT T2.name , count(*) FROM singer_in_concert AS T1 JOIN singer AS T2 ON T1.singer_id = T2.singer_id GROUP BY T2.singer_id", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "列出2014年音乐会上所有歌手的名字。", "predicted": "SELECT singer.Name FROM singer JOIN concert JOIN singer_in_concert ON singer.Singer_ID = singer_in_concert.Singer_ID AND singer_in_concert.concert_ID = concert.concert_ID WHERE concert.Year = 2014", "gold": "SELECT T2.name FROM singer_in_concert AS T1 JOIN singer AS T2 ON T1.singer_id = T2.singer_id JOIN concert AS T3 ON T1.concert_id = T3.concert_id WHERE T3.year = 2014", "predicted_parse_error": false, "hardness": "hard", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "2014年在演唱会上演唱的歌手的名字是什么?", "predicted": "SELECT singer.Name FROM singer JOIN concert JOIN singer_in_concert ON singer.Singer_ID = singer_in_concert.Singer_ID AND singer_in_concert.concert_ID = concert.concert_ID WHERE concert.Year = 2014", "gold": "SELECT T2.name FROM singer_in_concert AS T1 JOIN singer AS T2 ON T1.singer_id = T2.singer_id JOIN concert AS T3 ON T1.concert_id = T3.concert_id WHERE T3.year = 2014", "predicted_parse_error": false, "hardness": "hard", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "有首歌名含有“Hey”的歌手的名字和国籍是什么?", "predicted": "SELECT singer.Name, singer.Country FROM singer WHERE singer.Song_Name LIKE \"%Hey%\"", "gold": "SELECT name , country FROM singer WHERE song_name LIKE '%Hey%'", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "歌名中有“Hey”这个词的所有歌手的姓名和原籍国是什么?", "predicted": "SELECT singer.Name, singer.Country FROM singer WHERE singer.Song_Name LIKE \"%Hey%\"", "gold": "SELECT name , country FROM singer WHERE song_name LIKE '%Hey%'", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "找出同时在2014年和2015年举办音乐会的场馆的名称和地点。", "predicted": "SELECT stadium.Name, stadium.Location FROM stadium JOIN concert ON stadium.Stadium_ID = concert.Stadium_ID WHERE concert.Year = 2002 INTERSECT SELECT stadium.Name, stadium.Location FROM concert JOIN stadium ON concert.Stadium_ID = stadium.Stadium_ID WHERE concert.Year = 2015", "gold": "SELECT T2.name , T2.location FROM concert AS T1 JOIN stadium AS T2 ON T1.stadium_id = T2.stadium_id WHERE T1.Year = 2014 INTERSECT SELECT T2.name , T2.location FROM concert AS T1 JOIN stadium AS T2 ON T1.stadium_id = T2.stadium_id WHERE T1.Year = 2015", "predicted_parse_error": false, "hardness": "extra", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "在2014年和2015年同时举办音乐会的场馆名称和地点有哪些?", "predicted": "SELECT stadium.Name, stadium.Location FROM stadium JOIN concert ON stadium.Stadium_ID = concert.Stadium_ID WHERE concert.Year = 2002 INTERSECT SELECT stadium.Name, stadium.Location FROM concert JOIN stadium ON concert.Stadium_ID = stadium.Stadium_ID WHERE concert.Year = 2015", "gold": "SELECT T2.name , T2.location FROM concert AS T1 JOIN stadium AS T2 ON T1.stadium_id = T2.stadium_id WHERE T1.Year = 2014 INTERSECT SELECT T2.name , T2.location FROM concert AS T1 JOIN stadium AS T2 ON T1.stadium_id = T2.stadium_id WHERE T1.Year = 2015", "predicted_parse_error": false, "hardness": "extra", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "找出有着最大容量的体育场举办的音乐会数量。", "predicted": "SELECT Count(*) FROM stadium JOIN concert ON stadium.Stadium_ID = concert.Stadium_ID", "gold": "select count(*) from concert where stadium_id = (select stadium_id from stadium order by capacity desc limit 1)", "predicted_parse_error": false, "hardness": "hard", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 0}, "where(no OP)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 0}}}, {"question": "在容量最大的体育场里有多少场音乐会?", "predicted": "SELECT Count(*) FROM stadium ORDER BY stadium.Capacity Desc LIMIT 1", "gold": "select count(*) from concert where stadium_id = (select stadium_id from stadium order by capacity desc limit 1)", "predicted_parse_error": false, "hardness": "hard", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 0}, "where(no OP)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 3}}}, {"question": "找出体重大于10的宠物的数量。", "predicted": "SELECT Count(*) FROM Pets WHERE Pets.weight > 10", "gold": "SELECT count(*) FROM pets WHERE weight > 10", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "有多少宠物的体重比10大?", "predicted": "SELECT Count(*) FROM Pets WHERE Pets.weight > 10", "gold": "SELECT count(*) FROM pets WHERE weight > 10", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "找到最年轻的“dog”的体重。", "predicted": "SELECT Pets.weight FROM Pets WHERE Pets.PetType = \"dog\" AND Pets.pet_age = (SELECT Min(Pets.pet_age) FROM Pets WHERE Pets.PetType = \"dog\")", "gold": "SELECT weight FROM pets ORDER BY pet_age LIMIT 1", "predicted_parse_error": false, "hardness": "medium", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 2}, "where(no OP)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 2}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 0}, "and/or": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 0}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 0, "rec": 0, "f1": 0, "label_total": 3, "pred_total": 1}}}, {"question": "最年轻的“dog”有多重?", "predicted": "SELECT Pets.weight FROM Pets WHERE Pets.PetType = \"dog\" ORDER BY Pets.pet_age Asc LIMIT 1", "gold": "SELECT weight FROM pets ORDER BY pet_age LIMIT 1", "predicted_parse_error": false, "hardness": "medium", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 1}, "where(no OP)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 0, "rec": 0, "f1": 0, "label_total": 3, "pred_total": 4}}}, {"question": "找出每种宠物的最大重量。列出最大重量和宠物类型。", "predicted": "SELECT Max(Pets.weight), Pets.PetType FROM Pets", "gold": "SELECT max(weight) , petType FROM pets GROUP BY petType", "predicted_parse_error": false, "hardness": "medium", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 0}, "group": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 0}}}, {"question": "列出每种宠物的最大重量和类型。", "predicted": "SELECT Max(Pets.weight), Pets.PetType FROM Pets", "gold": "SELECT max(weight) , petType FROM pets GROUP BY petType", "predicted_parse_error": false, "hardness": "medium", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 0}, "group": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 0}}}, {"question": "找出20岁以上学生拥有的宠物数量。", "predicted": "SELECT Count(*) FROM Student JOIN Has_Pet ON Student.StuID = Has_Pet.StuID JOIN Pets ON Has_Pet.PetID = Pets.PetID WHERE Student.Age > 20", "gold": "SELECT count(*) FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid = T2.stuid WHERE T1.age > 20", "predicted_parse_error": false, "hardness": "medium", "exact": false, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "年龄大于20岁的学生拥有多少宠物?", "predicted": "SELECT Count(*) FROM Student JOIN Has_Pet ON Student.StuID = Has_Pet.StuID JOIN Pets ON Has_Pet.PetID = Pets.PetID WHERE Student.Age > 20", "gold": "SELECT count(*) FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid = T2.stuid WHERE T1.age > 20", "predicted_parse_error": false, "hardness": "medium", "exact": false, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "找出由女学生(性别为“F”)养的宠物“dog”的数量。", "predicted": "SELECT Count(*) FROM Student JOIN Has_Pet ON Student.StuID = Has_Pet.StuID JOIN Pets ON Has_Pet.PetID = Pets.PetID WHERE Student.Sex = \"F\" AND Pets.PetType = \"Texas\"", "gold": "SELECT count(*) FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid = T2.stuid JOIN pets AS T3 ON T2.petid = T3.petid WHERE T1.sex = 'F' AND T3.pettype = 'dog'", "predicted_parse_error": false, "hardness": "hard", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "女学生养了多少只宠物“dog”?", "predicted": "SELECT Count(*) FROM Student JOIN Has_Pet ON Student.StuID = Has_Pet.StuID JOIN Pets ON Has_Pet.PetID = Pets.PetID WHERE Student.Sex = \"F\" AND Pets.PetType = \"Cat\"", "gold": "SELECT count(*) FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid = T2.stuid JOIN pets AS T3 ON T2.petid = T3.petid WHERE T1.sex = 'F' AND T3.pettype = 'dog'", "predicted_parse_error": false, "hardness": "hard", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "找出不同类型宠物的数量。", "predicted": "SELECT Count(DISTINCT Pets.PetType) FROM Pets", "gold": "SELECT count(DISTINCT pettype) FROM pets", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "有多少种不同类型的宠物?", "predicted": "SELECT Count(DISTINCT Pets.PetType) FROM Pets", "gold": "SELECT count(DISTINCT pettype) FROM pets", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "查找有“cat”“dog”宠物的学生的名字。", "predicted": "SELECT Student.Fname FROM Student JOIN Has_Pet ON Student.StuID = Has_Pet.StuID JOIN Pets ON Has_Pet.PetID = Pets.PetID WHERE Pets.PetType = \"cat\"", "gold": "SELECT DISTINCT T1.Fname FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid = T2.stuid JOIN pets AS T3 ON T3.petid = T2.petid WHERE T3.pettype = 'cat' OR T3.pettype = 'dog'", "predicted_parse_error": false, "hardness": "extra", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 1}, "where(no OP)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 1}}}, {"question": "每一个养“cat”或“dog”的学生的名字是什么?", "predicted": "SELECT DISTINCT Student.Fname FROM Student JOIN Has_Pet ON Student.StuID = Has_Pet.StuID JOIN Pets ON Has_Pet.PetID = Pets.PetID WHERE Pets.PetType = \"cat\" OR Pets.PetType = \"dog\"", "gold": "SELECT DISTINCT T1.Fname FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid = T2.stuid JOIN pets AS T3 ON T3.petid = T2.petid WHERE T3.pettype = 'cat' OR T3.pettype = 'dog'", "predicted_parse_error": false, "hardness": "extra", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "找出既有“cat”又有“dog”的学生的名字。", "predicted": "SELECT Student.Fname FROM Student WHERE Student.StuID = \"Milk\" INTERSECT SELECT Has_Pet.StuID FROM Has_Pet JOIN Pets ON Has_Pet.PetID = Pets.PetID WHERE Pets.PetType = \"Cat\"", "gold": "select t1.fname from student as t1 join has_pet as t2 on t1.stuid = t2.stuid join pets as t3 on t3.petid = t2.petid where t3.pettype = 'cat' intersect select t1.fname from student as t1 join has_pet as t2 on t1.stuid = t2.stuid join pets as t3 on t3.petid = t2.petid where t3.pettype = 'dog'", "predicted_parse_error": false, "hardness": "extra", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "有“cat”又有“dog”的学生名字是什么?", "predicted": "SELECT Student.Fname FROM Student WHERE Student.StuID = \"Milk\" INTERSECT SELECT Student.Fname FROM Has_Pet JOIN Pets ON Has_Pet.PetID = Pets.PetID WHERE Pets.PetType = \"Cat\"", "gold": "SELECT T1.Fname FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid = T2.stuid JOIN pets AS T3 ON T3.petid = T2.petid WHERE T3.pettype = 'cat' INTERSECT SELECT T1.Fname FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid = T2.stuid JOIN pets AS T3 ON T3.petid = T2.petid WHERE T3.pettype = 'dog'", "predicted_parse_error": false, "hardness": "extra", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "找到没有宠物“cat”的学生的专业和年龄。", "predicted": "SELECT Student.Major, Student.Age FROM Student WHERE Student.StuID NOT IN (SELECT Has_Pet.StuID FROM Has_Pet JOIN Pets ON Has_Pet.PetID = Pets.PetID WHERE Pets.PetType = \"Cat\")", "gold": "SELECT major , age FROM student WHERE stuid NOT IN (SELECT T1.stuid FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid = T2.stuid JOIN pets AS T3 ON T3.petid = T2.petid WHERE T3.pettype = 'cat')", "predicted_parse_error": false, "hardness": "extra", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}}}, {"question": "每个不养“cat”的学生都学什么专业?他们多大了?", "predicted": "SELECT Student.Major, Student.Age FROM Student WHERE Student.StuID NOT IN (SELECT Has_Pet.StuID FROM Has_Pet JOIN Pets ON Has_Pet.PetID = Pets.PetID WHERE Pets.PetType = \"Cat\")", "gold": "SELECT major , age FROM student WHERE stuid NOT IN (SELECT T1.stuid FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid = T2.stuid JOIN pets AS T3 ON T3.petid = T2.petid WHERE T3.pettype = 'cat')", "predicted_parse_error": false, "hardness": "extra", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}}}, {"question": "找到没有宠物“cat”的学生的ID。", "predicted": "SELECT Student.StuID FROM Student EXCEPT SELECT Has_Pet.StuID FROM Has_Pet JOIN Pets ON Has_Pet.PetID = Pets.PetID WHERE Pets.PetType = \"Cat\"", "gold": "SELECT stuid FROM student EXCEPT SELECT T1.stuid FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid = T2.stuid JOIN pets AS T3 ON T3.petid = T2.petid WHERE T3.pettype = 'cat'", "predicted_parse_error": false, "hardness": "hard", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "那些没有“cat”的学生的ID是什么?", "predicted": "SELECT Student.StuID FROM Student EXCEPT SELECT Has_Pet.StuID FROM Has_Pet JOIN Pets ON Has_Pet.PetID = Pets.PetID WHERE Pets.PetType = \"Cat\"", "gold": "SELECT stuid FROM student EXCEPT SELECT T1.stuid FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid = T2.stuid JOIN pets AS T3 ON T3.petid = T2.petid WHERE T3.pettype = 'cat'", "predicted_parse_error": false, "hardness": "hard", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "找出有“dog”但没有“cat”的学生的名字和年龄。", "predicted": "SELECT Student.Fname, Student.Age FROM Student JOIN Has_Pet ON Student.StuID = Has_Pet.StuID WHERE Student.StuID IN (SELECT Has_Pet.StuID FROM Has_Pet JOIN Pets ON Has_Pet.PetID = Pets.PetID WHERE Pets.PetType = \"Milk\" EXCEPT SELECT Has_Pet.StuID FROM Has_Pet WHERE Pets.PetType = \"Cat\")", "gold": "SELECT T1.fname , T1.age FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid = T2.stuid JOIN pets AS T3 ON T3.petid = T2.petid WHERE T3.pettype = 'dog' AND T1.stuid NOT IN (SELECT T1.stuid FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid = T2.stuid JOIN pets AS T3 ON T3.petid = T2.petid WHERE T3.pettype = 'cat')", "predicted_parse_error": false, "hardness": "extra", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 1}, "where(no OP)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 0, "rec": 0, "f1": 0, "label_total": 3, "pred_total": 2}}}, {"question": "养“dog”但没有养“cat”的学生的名字是什么?", "predicted": "SELECT Student.Fname FROM Student JOIN Has_Pet ON Student.StuID = Has_Pet.StuID JOIN Pets ON Has_Pet.PetID = Pets.PetID WHERE Pets.PetType = \"O\" EXCEPT SELECT Student.Fname FROM Student JOIN Has_Pet ON Student.StuID = Has_Pet.StuID JOIN Pets ON Has_Pet.PetID = Pets.PetID WHERE Pets.PetType = \"Cat\"", "gold": "SELECT T1.fname , T1.age FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid = T2.stuid JOIN pets AS T3 ON T3.petid = T2.petid WHERE T3.pettype = 'dog' AND T1.stuid NOT IN (SELECT T1.stuid FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid = T2.stuid JOIN pets AS T3 ON T3.petid = T2.petid WHERE T3.pettype = 'cat')", "predicted_parse_error": false, "hardness": "extra", "exact": 0, "partial": {"select": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 1}, "select(no AGG)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 1}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 1}, "where(no OP)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 1}, "IUEN": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 1}, "keywords": {"acc": 0, "rec": 0, "f1": 0, "label_total": 3, "pred_total": 2}}}, {"question": "找出最年轻的宠物的类型和体重。", "predicted": "SELECT Pets.PetType, Pets.weight FROM Pets ORDER BY Pets.pet_age Asc LIMIT 1", "gold": "SELECT pettype , weight FROM pets ORDER BY pet_age LIMIT 1", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}}}, {"question": "最年轻的宠物是什么类型的,它的重量是多少?", "predicted": "SELECT Pets.PetType, Pets.weight FROM Pets ORDER BY Pets.pet_age Asc LIMIT 1", "gold": "SELECT pettype , weight FROM pets ORDER BY pet_age LIMIT 1", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}}}, {"question": "找出所有年龄大于1岁的宠物的ID和体重。", "predicted": "SELECT Pets.PetID, Pets.weight FROM Pets WHERE Pets.pet_age > 1", "gold": "SELECT petid , weight FROM pets WHERE pet_age > 1", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "每一个1岁以上的宠物的ID和体重是多少?", "predicted": "SELECT Pets.PetID, Pets.weight FROM Pets WHERE Pets.pet_age > 1", "gold": "SELECT petid , weight FROM pets WHERE pet_age > 1", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "找出每种宠物的平均年龄和最大年龄。", "predicted": "SELECT Avg(Pets.pet_age), Max(Pets.pet_age) FROM Pets", "gold": "SELECT avg(pet_age) , max(pet_age) , pettype FROM pets GROUP BY pettype", "predicted_parse_error": false, "hardness": "medium", "exact": 0, "partial": {"select": {"acc": 0, "rec": 0, "f1": 0, "label_total": 3, "pred_total": 2}, "select(no AGG)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 3, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 0}, "group": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 0}}}, {"question": "每种宠物的平均年龄和最大年龄是多少?", "predicted": "SELECT Avg(Pets.pet_age), Max(Pets.pet_age) FROM Pets", "gold": "SELECT avg(pet_age) , max(pet_age) , pettype FROM pets GROUP BY pettype", "predicted_parse_error": false, "hardness": "medium", "exact": 0, "partial": {"select": {"acc": 0, "rec": 0, "f1": 0, "label_total": 3, "pred_total": 2}, "select(no AGG)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 3, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 0}, "group": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 0}}}, {"question": "找到每种宠物类型的平均体重。", "predicted": "SELECT Pets.PetType, Avg(Pets.weight) FROM Pets GROUP BY Pets.PetType", "gold": "SELECT avg(weight) , pettype FROM pets GROUP BY pettype", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "每种宠物的平均体重是多少?", "predicted": "SELECT Pets.weight, Avg(Pets.weight) FROM Pets GROUP BY Pets.PetType", "gold": "SELECT avg(weight) , pettype FROM pets GROUP BY pettype", "predicted_parse_error": false, "hardness": "medium", "exact": 0, "partial": {"select": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "找出有宠物的学生的名字和年龄。", "predicted": "SELECT DISTINCT Student.Fname, Student.Age FROM Student JOIN Has_Pet ON Student.StuID = Has_Pet.StuID", "gold": "SELECT DISTINCT T1.fname , T1.age FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid = T2.stuid", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "有宠物的学生有哪些不同的名字和年龄?", "predicted": "SELECT DISTINCT Student.Fname, Student.Age FROM Student JOIN Has_Pet ON Student.StuID = Has_Pet.StuID", "gold": "SELECT DISTINCT T1.fname , T1.age FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid = T2.stuid", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "找出主人姓氏为“Smith”的宠物的ID。", "predicted": "SELECT Has_Pet.PetID FROM Student JOIN Has_Pet ON Student.StuID = Has_Pet.StuID WHERE Student.LName = \"Smi\"", "gold": "SELECT T2.petid FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid = T2.stuid WHERE T1.Lname = 'Smith'", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "那个姓氏是“Smith”的学生的宠物ID是什么?", "predicted": "SELECT Has_Pet.PetID FROM Student JOIN Has_Pet ON Student.StuID = Has_Pet.StuID JOIN Pets ON Has_Pet.PetID = Pets.PetID WHERE Student.LName = \"Linda\"", "gold": "SELECT T2.petid FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid = T2.stuid WHERE T1.Lname = 'Smith'", "predicted_parse_error": false, "hardness": "medium", "exact": false, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "找出每个有宠物的学生的ID和宠物数量。", "predicted": "SELECT Has_Pet.StuID, Count(*) FROM Has_Pet GROUP BY Has_Pet.StuID", "gold": "SELECT count(*) , T1.stuid FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid = T2.stuid GROUP BY T1.stuid", "predicted_parse_error": false, "hardness": "medium", "exact": false, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "对于有宠物的学生,每个学生有多少宠物?", "predicted": "SELECT Count(*), Student.StuID FROM Student JOIN Has_Pet ON Student.StuID = Has_Pet.StuID GROUP BY Student.StuID", "gold": "select count(*) , t1.stuid from student as t1 join has_pet as t2 on t1.stuid = t2.stuid group by t1.stuid", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "找出拥有不止一只宠物的学生的名字和性别。", "predicted": "SELECT Student.Fname, Student.Sex FROM Student JOIN Has_Pet ON Student.StuID = Has_Pet.StuID GROUP BY Has_Pet.StuID HAVING Count(*) > 1", "gold": "SELECT T1.fname , T1.sex FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid = T2.stuid GROUP BY T1.stuid HAVING count(*) > 1", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "所有拥有多只宠物的学生的名和性别是什么?", "predicted": "SELECT Student.Fname, Student.Sex FROM Student JOIN Has_Pet ON Student.StuID = Has_Pet.StuID GROUP BY Student.StuID ORDER BY Count(*) Desc LIMIT 1", "gold": "SELECT T1.fname , T1.sex FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid = T2.stuid GROUP BY T1.stuid HAVING count(*) > 1", "predicted_parse_error": false, "hardness": "medium", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "order": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 4}}}, {"question": "找出有一只3岁“cat”的学生的姓氏。", "predicted": "SELECT Student.LName FROM Student JOIN Has_Pet ON Student.StuID = Has_Pet.StuID JOIN Pets ON Has_Pet.PetID = Pets.PetID WHERE Student.Age = 3 AND Pets.PetType = \"cat\"", "gold": "SELECT T1.lname FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid = T2.stuid JOIN pets AS T3 ON T3.petid = T2.petid WHERE T3.pet_age = 3 AND T3.pettype = 'cat'", "predicted_parse_error": false, "hardness": "hard", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 2}, "where(no OP)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 2}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "有一只3岁“cat”的学生的姓氏是什么?", "predicted": "SELECT Student.LName FROM Student JOIN Has_Pet ON Student.StuID = Has_Pet.StuID JOIN Pets ON Has_Pet.PetID = Pets.PetID WHERE Student.Age = 3 AND Pets.PetType = \"cat\"", "gold": "SELECT T1.lname FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid = T2.stuid JOIN pets AS T3 ON T3.petid = T2.petid WHERE T3.pet_age = 3 AND T3.pettype = 'cat'", "predicted_parse_error": false, "hardness": "hard", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 2}, "where(no OP)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 2}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "找出没有宠物的学生的平均年龄。", "predicted": "SELECT Avg(Student.Age) FROM Student WHERE Student.StuID NOT IN (SELECT Has_Pet.StuID FROM Has_Pet)", "gold": "select avg(age) from student where stuid not in (select stuid from has_pet)", "predicted_parse_error": false, "hardness": "extra", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}}}, {"question": "所有没有宠物的学生平均年龄是多少?", "predicted": "SELECT Avg(Student.Age) FROM Student WHERE Student.StuID NOT IN (SELECT Has_Pet.StuID FROM Has_Pet)", "gold": "select avg(age) from student where stuid not in (select stuid from has_pet)", "predicted_parse_error": false, "hardness": "extra", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}}}, {"question": "有多少大洲?", "predicted": "SELECT Count(*) FROM continents", "gold": "SELECT count(*) FROM CONTINENTS;", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "大洲的数量是多少?", "predicted": "SELECT Count(*) FROM continents", "gold": "SELECT count(*) FROM CONTINENTS;", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "每个洲有多少个国家?列出大洲ID、大洲名称和国家数目。", "predicted": "SELECT continents.ContId, continents.Continent, Count(*) FROM continents JOIN countries ON continents.ContId = countries.Continent GROUP BY continents.ContId", "gold": "SELECT T1.ContId , T1.Continent , count(*) FROM CONTINENTS AS T1 JOIN COUNTRIES AS T2 ON T1.ContId = T2.Continent GROUP BY T1.ContId;", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "对于每个大洲,列出它的ID、名字和它有多少个国家?", "predicted": "SELECT continents.ContId, continents.Continent, Count(*) FROM continents JOIN countries ON continents.ContId = countries.Continent GROUP BY continents.ContId", "gold": "SELECT T1.ContId , T1.Continent , count(*) FROM CONTINENTS AS T1 JOIN COUNTRIES AS T2 ON T1.ContId = T2.Continent GROUP BY T1.ContId;", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "列出了多少国家?", "predicted": "SELECT Count(*) FROM countries", "gold": "SELECT count(*) FROM COUNTRIES;", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "有多少国家存在?", "predicted": "SELECT Count(*) FROM countries", "gold": "SELECT count(*) FROM COUNTRIES;", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "每个汽车制造商生产多少种型号的汽车?列出制造商全称,ID和号码。", "predicted": "SELECT car_makers.FullName, car_makers.Id, Count(*) FROM car_makers JOIN model_list ON car_makers.Id = model_list.Maker GROUP BY car_makers.Id", "gold": "SELECT T1.FullName , T1.Id , count(*) FROM CAR_MAKERS AS T1 JOIN MODEL_LIST AS T2 ON T1.Id = T2.Maker GROUP BY T1.Id;", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "每个汽车制造商的全称,ID以及生产多少种型号的汽车?", "predicted": "SELECT car_makers.FullName, car_makers.Id, Count(*) FROM car_makers JOIN model_list ON car_makers.Id = model_list.Maker GROUP BY car_makers.Id", "gold": "SELECT T1.FullName , T1.Id , count(*) FROM CAR_MAKERS AS T1 JOIN MODEL_LIST AS T2 ON T1.Id = T2.Maker GROUP BY T1.Id;", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "哪个车型的马力最小?", "predicted": "SELECT car_names.Model FROM car_names JOIN cars_data ON car_names.MakeId = cars_data.Id ORDER BY cars_data.Horsepower Asc LIMIT 1", "gold": "SELECT T1.Model FROM CAR_NAMES AS T1 JOIN CARS_DATA AS T2 ON T1.MakeId = T2.Id ORDER BY T2.horsepower ASC LIMIT 1;", "predicted_parse_error": false, "hardness": "hard", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}}}, {"question": "最小马力的汽车的型号是什么?", "predicted": "SELECT model_list.Model FROM model_list JOIN car_names ON model_list.Model = car_names.Model JOIN cars_data ON car_names.MakeId = cars_data.Id ORDER BY cars_data.Horsepower Asc LIMIT 1", "gold": "SELECT T1.Model FROM CAR_NAMES AS T1 JOIN CARS_DATA AS T2 ON T1.MakeId = T2.Id ORDER BY T2.horsepower ASC LIMIT 1;", "predicted_parse_error": false, "hardness": "hard", "exact": false, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}}}, {"question": "找出重量低于平均重量的汽车的型号。", "predicted": "SELECT model_list.Model FROM model_list JOIN car_names ON model_list.Model = car_names.Model JOIN cars_data ON car_names.MakeId = cars_data.Id WHERE cars_data.Weight < (SELECT Avg(cars_data.Weight) FROM cars_data)", "gold": "SELECT T1.model FROM CAR_NAMES AS T1 JOIN CARS_DATA AS T2 ON T1.MakeId = T2.Id WHERE T2.Weight < (SELECT avg(Weight) FROM CARS_DATA)", "predicted_parse_error": false, "hardness": "extra", "exact": false, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "重量小于平均值的汽车的型号是什么?", "predicted": "SELECT model_list.Model FROM model_list JOIN car_names ON model_list.Model = car_names.Model JOIN cars_data ON car_names.MakeId = cars_data.Id WHERE cars_data.Weight < (SELECT Avg(cars_data.Weight) FROM cars_data)", "gold": "SELECT T1.model FROM CAR_NAMES AS T1 JOIN CARS_DATA AS T2 ON T1.MakeId = T2.Id WHERE T2.Weight < (SELECT avg(Weight) FROM CARS_DATA)", "predicted_parse_error": false, "hardness": "extra", "exact": false, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "找出“1970”年生产汽车的制造商的缩写。", "predicted": "SELECT car_makers.Maker FROM car_makers WHERE car_makers.Maker = \"1970\"", "gold": "SELECT DISTINCT T1.Maker FROM CAR_MAKERS AS T1 JOIN MODEL_LIST AS T2 ON T1.Id = T2.Maker JOIN CAR_NAMES AS T3 ON T2.model = T3.model JOIN CARS_DATA AS T4 ON T3.MakeId = T4.id WHERE T4.year = '1970';", "predicted_parse_error": false, "hardness": "extra", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "“1970”年生产过汽车的不同汽车制造商的缩写是什么?", "predicted": "SELECT DISTINCT car_makers.Maker FROM car_makers WHERE car_makers.Maker = 1970", "gold": "SELECT DISTINCT T1.Maker FROM CAR_MAKERS AS T1 JOIN MODEL_LIST AS T2 ON T1.Id = T2.Maker JOIN CAR_NAMES AS T3 ON T2.model = T3.model JOIN CARS_DATA AS T4 ON T3.MakeId = T4.id WHERE T4.year = '1970';", "predicted_parse_error": false, "hardness": "extra", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "找出最早生产汽车的品牌和生产时间?", "predicted": "SELECT car_names.Make, cars_data.Year FROM car_names JOIN cars_data ON car_names.MakeId = cars_data.Id ORDER BY cars_data.Year Asc LIMIT 1", "gold": "SELECT T2.Make , T1.Year FROM CARS_DATA AS T1 JOIN CAR_NAMES AS T2 ON T1.Id = T2.MakeId WHERE T1.Year = (SELECT min(YEAR) FROM CARS_DATA);", "predicted_parse_error": false, "hardness": "extra", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 0}, "where(no OP)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 3}}}, {"question": "最早生产汽车的品牌是什么,在哪一年?", "predicted": "SELECT car_names.Make, cars_data.Year FROM car_names JOIN cars_data ON car_names.MakeId = cars_data.Id ORDER BY cars_data.Year Asc LIMIT 1", "gold": "SELECT T2.Make , T1.Year FROM CARS_DATA AS T1 JOIN CAR_NAMES AS T2 ON T1.Id = T2.MakeId WHERE T1.Year = (SELECT min(YEAR) FROM CARS_DATA);", "predicted_parse_error": false, "hardness": "extra", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 0}, "where(no OP)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 3}}}, {"question": "“1980”年后生产出哪些不同车的型号?", "predicted": "SELECT DISTINCT model_list.Model FROM model_list JOIN car_names ON model_list.Model = car_names.Model JOIN cars_data ON car_names.MakeId = cars_data.Id WHERE cars_data.Year > 1980", "gold": "SELECT DISTINCT T1.model FROM MODEL_LIST AS T1 JOIN CAR_NAMES AS T2 ON T1.model = T2.model JOIN CARS_DATA AS T3 ON T2.MakeId = T3.id WHERE T3.year > 1980;", "predicted_parse_error": false, "hardness": "hard", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "哪些不同的车型在“1980”年后被生产出来?", "predicted": "SELECT DISTINCT model_list.Model FROM model_list JOIN car_names ON model_list.Model = car_names.Model JOIN cars_data ON car_names.MakeId = cars_data.Id WHERE cars_data.Year > 1980", "gold": "SELECT DISTINCT T1.model FROM MODEL_LIST AS T1 JOIN CAR_NAMES AS T2 ON T1.model = T2.model JOIN CARS_DATA AS T3 ON T2.MakeId = T3.id WHERE T3.year > 1980;", "predicted_parse_error": false, "hardness": "hard", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "每个大洲有多少汽车制造商?列出大洲名称和数量。", "predicted": "SELECT continents.Continent, Count(*) FROM continents JOIN countries ON continents.ContId = countries.Continent GROUP BY continents.Continent", "gold": "SELECT T1.Continent , count(*) FROM CONTINENTS AS T1 JOIN COUNTRIES AS T2 ON T1.ContId = T2.continent JOIN car_makers AS T3 ON T2.CountryId = T3.Country GROUP BY T1.Continent;", "predicted_parse_error": false, "hardness": "hard", "exact": false, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "每个大洲的名称是什么?每个大洲有多少汽车制造商?", "predicted": "SELECT continents.Continent, Count(*) FROM continents JOIN countries ON continents.ContId = countries.Continent GROUP BY continents.Continent", "gold": "SELECT T1.Continent , count(*) FROM CONTINENTS AS T1 JOIN COUNTRIES AS T2 ON T1.ContId = T2.continent JOIN car_makers AS T3 ON T2.CountryId = T3.Country GROUP BY T1.Continent;", "predicted_parse_error": false, "hardness": "hard", "exact": false, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "哪个国家拥有最多的汽车制造商?列出国家名称。", "predicted": "SELECT countries.CountryName FROM countries JOIN car_makers ON countries.CountryId = car_makers.Country GROUP BY countries.CountryName ORDER BY Count(*) Desc LIMIT 1", "gold": "SELECT T2.CountryName FROM CAR_MAKERS AS T1 JOIN COUNTRIES AS T2 ON T1.Country = T2.CountryId GROUP BY T1.Country ORDER BY Count(*) DESC LIMIT 1;", "predicted_parse_error": false, "hardness": "extra", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "group": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 4, "pred_total": 4}}}, {"question": "汽车制造商最多的国家叫什么名字?", "predicted": "SELECT countries.CountryName FROM countries JOIN car_makers ON countries.CountryId = car_makers.Country GROUP BY countries.CountryName ORDER BY Count(*) Desc LIMIT 1", "gold": "SELECT T2.CountryName FROM CAR_MAKERS AS T1 JOIN COUNTRIES AS T2 ON T1.Country = T2.CountryId GROUP BY T1.Country ORDER BY Count(*) DESC LIMIT 1;", "predicted_parse_error": false, "hardness": "extra", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "group": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 4, "pred_total": 4}}}, {"question": "每个制造商生产多少种车型?列出数量和制造商的全称。", "predicted": "SELECT Count(*), car_makers.FullName FROM car_makers JOIN model_list ON car_makers.Id = model_list.Maker GROUP BY car_makers.Id", "gold": "select count(*) , t2.fullname from model_list as t1 join car_makers as t2 on t1.maker = t2.id group by t2.id;", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "每个制造商生产的车型数量是多少?每个制造商的ID和全称是什么?", "predicted": "SELECT Count(*), car_makers.FullName, car_makers.FullName FROM car_makers JOIN model_list ON car_makers.Id = model_list.Maker GROUP BY car_makers.Id", "gold": "SELECT Count(*) , T2.FullName , T2.id FROM MODEL_LIST AS T1 JOIN CAR_MAKERS AS T2 ON T1.Maker = T2.Id GROUP BY T2.id;", "predicted_parse_error": false, "hardness": "medium", "exact": 0, "partial": {"select": {"acc": 0, "rec": 0, "f1": 0, "label_total": 3, "pred_total": 3}, "select(no AGG)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 3, "pred_total": 3}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "“amc hornet sportabout (sw)”的加速度是多少?", "predicted": "SELECT Avg(cars_data.Accelerate) FROM car_names JOIN cars_data ON car_names.MakeId = cars_data.Id WHERE car_names.Make = \"amc-net\"", "gold": "SELECT T1.Accelerate FROM CARS_DATA AS T1 JOIN CAR_NAMES AS T2 ON T1.Id = T2.MakeId WHERE T2.Make = 'amc hornet sportabout (sw)';", "predicted_parse_error": false, "hardness": "medium", "exact": 0, "partial": {"select": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "“amc hornet sportabout (sw)”的加速度有多大?", "predicted": "SELECT Avg(cars_data.Accelerate) FROM car_names JOIN cars_data ON car_names.MakeId = cars_data.Id WHERE car_names.Make = \"amc-net\"", "gold": "SELECT T1.Accelerate FROM CARS_DATA AS T1 JOIN CAR_NAMES AS T2 ON T1.Id = T2.MakeId WHERE T2.Make = 'amc hornet sportabout (sw)';", "predicted_parse_error": false, "hardness": "medium", "exact": 0, "partial": {"select": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "“France”有多少汽车制造商?", "predicted": "SELECT Count(*) FROM countries JOIN car_makers ON countries.CountryId = car_makers.Country WHERE countries.CountryName = \"France\"", "gold": "SELECT count(*) FROM CAR_MAKERS AS T1 JOIN COUNTRIES AS T2 ON T1.Country = T2.CountryId WHERE T2.CountryName = 'france';", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "“France”的汽车制造商有多少?", "predicted": "SELECT Count(*) FROM countries JOIN car_makers ON countries.CountryId = car_makers.Country WHERE countries.CountryName = \"France\"", "gold": "SELECT count(*) FROM CAR_MAKERS AS T1 JOIN COUNTRIES AS T2 ON T1.Country = T2.CountryId WHERE T2.CountryName = 'france';", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "“USA”生产了多少款车?", "predicted": "SELECT Count(*) FROM countries WHERE countries.CountryName = \"USA\"", "gold": "SELECT count(*) FROM MODEL_LIST AS T1 JOIN CAR_MAKERS AS T2 ON T1.Maker = T2.Id JOIN COUNTRIES AS T3 ON T2.Country = T3.CountryId WHERE T3.CountryName = 'usa';", "predicted_parse_error": false, "hardness": "hard", "exact": false, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "在“USA”生产的车型有多少?", "predicted": "SELECT Count(*) FROM countries WHERE countries.CountryName = \"USA\"", "gold": "SELECT count(*) FROM MODEL_LIST AS T1 JOIN CAR_MAKERS AS T2 ON T1.Maker = T2.Id JOIN COUNTRIES AS T3 ON T2.Country = T3.CountryId WHERE T3.CountryName = 'usa';", "predicted_parse_error": false, "hardness": "hard", "exact": false, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "4缸汽车的平均mpg是多少?", "predicted": "SELECT Avg(cars_data.MPG) FROM cars_data WHERE cars_data.Cylinders = 4", "gold": "SELECT avg(mpg) FROM CARS_DATA WHERE Cylinders = 4;", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "所有4缸汽车的平均mpg是多少?", "predicted": "SELECT Avg(cars_data.MPG) FROM cars_data WHERE cars_data.Cylinders = 4", "gold": "SELECT avg(mpg) FROM CARS_DATA WHERE Cylinders = 4;", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "在“1974”年的“8”缸汽车的最小重量是多少?", "predicted": "SELECT Min(cars_data.Weight) FROM cars_data WHERE cars_data.Cylinders = 8 AND cars_data.Year = \"8\"", "gold": "select min(weight) from cars_data where cylinders = 8 and year = 1974", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "“1974”年所生产的“8”缸汽车的最小重量是多少?", "predicted": "SELECT Min(cars_data.Weight) FROM cars_data WHERE cars_data.Cylinders = 8 AND cars_data.Year = \"8\"", "gold": "select min(weight) from cars_data where cylinders = 8 and year = 1974", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "所有的制造商缩写和汽车型号是什么?", "predicted": "SELECT car_makers.Maker, model_list.Model FROM car_makers JOIN model_list ON car_makers.Id = model_list.Maker", "gold": "SELECT Maker , Model FROM MODEL_LIST;", "predicted_parse_error": false, "hardness": "medium", "exact": 0, "partial": {"select": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "制造商缩写和汽车型号是什么?", "predicted": "SELECT car_makers.Maker, model_list.Model FROM car_makers JOIN model_list ON car_makers.Id = model_list.Maker", "gold": "SELECT Maker , Model FROM MODEL_LIST;", "predicted_parse_error": false, "hardness": "medium", "exact": 0, "partial": {"select": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "哪些国家至少拥有一家汽车制造商?列出这些国家的名称和ID。", "predicted": "SELECT countries.CountryName, countries.CountryId FROM countries JOIN car_makers ON countries.CountryId = car_makers.Country", "gold": "SELECT T1.CountryName , T1.CountryId FROM COUNTRIES AS T1 JOIN CAR_MAKERS AS T2 ON T1.CountryId = T2.Country GROUP BY T1.CountryId HAVING count(*) >= 1;", "predicted_parse_error": false, "hardness": "medium", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 0}, "group": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 0}}}, {"question": "拥有至少一家汽车制造商的所有国家的名称和ID是什么?", "predicted": "SELECT countries.CountryName, countries.CountryId FROM countries JOIN car_makers ON countries.CountryId = car_makers.Country", "gold": "SELECT T1.CountryName , T1.CountryId FROM COUNTRIES AS T1 JOIN CAR_MAKERS AS T2 ON T1.CountryId = T2.Country GROUP BY T1.CountryId HAVING count(*) >= 1;", "predicted_parse_error": false, "hardness": "medium", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 0}, "group": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 0}}}, {"question": "马力超过150的汽车的数量是多少?", "predicted": "SELECT Count(*) FROM cars_data WHERE cars_data.Horsepower > 150", "gold": "SELECT count(*) FROM CARS_DATA WHERE horsepower > 150;", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "有多少汽车的马力大于150?", "predicted": "SELECT Count(*) FROM cars_data WHERE cars_data.Horsepower > 150", "gold": "SELECT count(*) FROM CARS_DATA WHERE horsepower > 150;", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "每年汽车的平均重量是多少?", "predicted": "SELECT Avg(cars_data.Weight), cars_data.Year FROM cars_data GROUP BY cars_data.Year", "gold": "SELECT avg(Weight) , YEAR FROM CARS_DATA GROUP BY YEAR;", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "每年的平均重量和年份是多少?", "predicted": "SELECT Avg(cars_data.Weight), cars_data.Year FROM cars_data GROUP BY cars_data.Year", "gold": "SELECT avg(Weight) , YEAR FROM CARS_DATA GROUP BY YEAR;", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "有哪些在“Europe”的国家至少有3家汽车制造商?", "predicted": "SELECT countries.CountryName FROM countries JOIN car_makers ON countries.CountryId = car_makers.Country WHERE countries.CountryName = \"United\" GROUP BY countries.CountryId HAVING Count(*) >= 3", "gold": "SELECT T1.CountryName FROM COUNTRIES AS T1 JOIN CONTINENTS AS T2 ON T1.Continent = T2.ContId JOIN CAR_MAKERS AS T3 ON T1.CountryId = T3.Country WHERE T2.Continent = 'europe' GROUP BY T1.CountryName HAVING count(*) >= 3;", "predicted_parse_error": false, "hardness": "extra", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "group": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}}}, {"question": "拥有至少3家制造商的所有“Europe”国家的名称是什么?", "predicted": "SELECT countries.CountryName FROM countries JOIN car_makers ON countries.CountryId = car_makers.Country WHERE countries.CountryName = \"United\" GROUP BY countries.CountryId HAVING Count(*) >= 3", "gold": "SELECT T1.CountryName FROM COUNTRIES AS T1 JOIN CONTINENTS AS T2 ON T1.Continent = T2.ContId JOIN CAR_MAKERS AS T3 ON T1.CountryId = T3.Country WHERE T2.Continent = 'europe' GROUP BY T1.CountryName HAVING count(*) >= 3;", "predicted_parse_error": false, "hardness": "extra", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "group": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}}}, {"question": "3缸的汽车型号的最大的马力和牌子是什么?", "predicted": "SELECT Max(cars_data.Horsepower), car_names.Make FROM car_names JOIN cars_data ON car_names.MakeId = cars_data.Id WHERE cars_data.Cylinders = 3", "gold": "SELECT T2.horsepower , T1.Make FROM CAR_NAMES AS T1 JOIN CARS_DATA AS T2 ON T1.MakeId = T2.Id WHERE T2.cylinders = 3 ORDER BY T2.horsepower DESC LIMIT 1;", "predicted_parse_error": false, "hardness": "extra", "exact": 0, "partial": {"select": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 0, "rec": 0, "f1": 0, "label_total": 4, "pred_total": 1}}}, {"question": "3缸车型的最大马力是多少?是什么牌子的?", "predicted": "SELECT Max(cars_data.Horsepower), car_names.Make FROM car_names JOIN cars_data ON car_names.MakeId = cars_data.Id WHERE cars_data.Cylinders = 3", "gold": "SELECT T2.horsepower , T1.Make FROM CAR_NAMES AS T1 JOIN CARS_DATA AS T2 ON T1.MakeId = T2.Id WHERE T2.cylinders = 3 ORDER BY T2.horsepower DESC LIMIT 1;", "predicted_parse_error": false, "hardness": "extra", "exact": 0, "partial": {"select": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 0, "rec": 0, "f1": 0, "label_total": 4, "pred_total": 1}}}, {"question": "哪种型号的车最省油?也就是说,它的mpg最大。", "predicted": "SELECT model_list.Model FROM model_list JOIN car_names ON model_list.Model = car_names.Model JOIN cars_data ON car_names.MakeId = cars_data.Id ORDER BY cars_data.MPG Asc LIMIT 1", "gold": "SELECT T1.Model FROM CAR_NAMES AS T1 JOIN CARS_DATA AS T2 ON T1.MakeId = T2.Id ORDER BY T2.mpg DESC LIMIT 1;", "predicted_parse_error": false, "hardness": "hard", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 0, "rec": 0, "f1": 0, "label_total": 3, "pred_total": 3}}}, {"question": "最高MPG的汽车型号是什么?", "predicted": "SELECT model_list.Model FROM model_list JOIN car_names ON model_list.Model = car_names.Model JOIN cars_data ON car_names.MakeId = cars_data.Id ORDER BY cars_data.MPG Desc LIMIT 1", "gold": "select t1.model from car_names as t1 join cars_data as t2 on t1.makeid = t2.id order by t2.mpg desc limit 1;", "predicted_parse_error": false, "hardness": "hard", "exact": false, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}}}, {"question": "汽车在“1980”年之前的平均马力是多少?", "predicted": "SELECT Avg(cars_data.Horsepower) FROM cars_data WHERE cars_data.Year < 1980", "gold": "SELECT avg(horsepower) FROM CARS_DATA WHERE YEAR < 1980;", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "在1980之前生产的所有品牌汽车的平均马力是多少?", "predicted": "SELECT Avg(cars_data.Horsepower) FROM cars_data WHERE cars_data.Year < 1980", "gold": "select avg(horsepower) from cars_data where year < 1980;", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "“volvo”汽车的平均EDISPL是多少?", "predicted": "SELECT Avg(cars_data.Edispl) FROM car_names JOIN cars_data ON car_names.MakeId = cars_data.Id WHERE car_names.Make = \"volvo\"", "gold": "SELECT avg(T2.edispl) FROM CAR_NAMES AS T1 JOIN CARS_DATA AS T2 ON T1.MakeId = T2.Id WHERE T1.Model = 'volvo';", "predicted_parse_error": false, "hardness": "medium", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "所有“volvo”汽车的平均EDISPL是多少?", "predicted": "SELECT Avg(cars_data.Edispl) FROM car_names JOIN cars_data ON car_names.MakeId = cars_data.Id WHERE car_names.Make = \"volvo\"", "gold": "SELECT avg(T2.edispl) FROM CAR_NAMES AS T1 JOIN CARS_DATA AS T2 ON T1.MakeId = T2.Id WHERE T1.Model = 'volvo';", "predicted_parse_error": false, "hardness": "medium", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "对于不同数量的气缸的车,最大加速度是多少?", "predicted": "SELECT Max(cars_data.Accelerate), cars_data.Cylinders FROM cars_data GROUP BY cars_data.Cylinders", "gold": "SELECT max(Accelerate) , Cylinders FROM CARS_DATA GROUP BY Cylinders;", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "不同气缸的车的最大加速度是多少?", "predicted": "SELECT cars_data.Cylinders, Max(cars_data.Accelerate) FROM cars_data GROUP BY cars_data.Cylinders", "gold": "SELECT max(Accelerate) , Cylinders FROM CARS_DATA GROUP BY Cylinders;", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "哪种型号的汽车品牌最多?", "predicted": "SELECT car_names.Model FROM car_names GROUP BY car_names.Model ORDER BY Count(*) Desc LIMIT 1", "gold": "SELECT Model FROM CAR_NAMES GROUP BY Model ORDER BY count(*) DESC LIMIT 1;", "predicted_parse_error": false, "hardness": "hard", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 4, "pred_total": 4}}}, {"question": "什么型号的汽车有最多不同的版本?", "predicted": "SELECT model_list.Model FROM model_list GROUP BY model_list.Model ORDER BY Count(*) Desc LIMIT 1", "gold": "SELECT Model FROM CAR_NAMES GROUP BY Model ORDER BY count(*) DESC LIMIT 1;", "predicted_parse_error": false, "hardness": "hard", "exact": false, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 4, "pred_total": 4}}}, {"question": "有多少辆车有4个以上的气缸?", "predicted": "SELECT Count(*) FROM cars_data WHERE cars_data.Cylinders > 4", "gold": "SELECT count(*) FROM CARS_DATA WHERE Cylinders > 4;", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "4缸以上的汽车数量是多少?", "predicted": "SELECT Count(*) FROM cars_data WHERE cars_data.Cylinders > 4", "gold": "SELECT count(*) FROM CARS_DATA WHERE Cylinders > 4;", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "“1980”年生产了多少辆车?", "predicted": "SELECT Count(*) FROM cars_data WHERE cars_data.Year = \"1980\"", "gold": "SELECT count(*) FROM CARS_DATA WHERE YEAR = 1980;", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "在“1980”年,多少辆车生产出来了?", "predicted": "SELECT Count(*) FROM cars_data WHERE cars_data.Year = \"1980\"", "gold": "SELECT count(*) FROM CARS_DATA WHERE YEAR = 1980;", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "全名为“American Motor Company”的制造商生产了多少种车型?", "predicted": "SELECT Count(*) FROM car_makers JOIN model_list ON car_makers.Id = model_list.Maker WHERE car_makers.FullName = \"Americansgo\"", "gold": "SELECT count(*) FROM CAR_MAKERS AS T1 JOIN MODEL_LIST AS T2 ON T1.Id = T2.Maker WHERE T1.FullName = 'American Motor Company';", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "名为“American Motor Company”的汽车制造商生产的不同汽车型号是多少?", "predicted": "SELECT Count(DISTINCT model_list.Model) FROM car_makers JOIN model_list ON car_makers.Id = model_list.Maker WHERE car_makers.FullName = \"Americans\"", "gold": "SELECT count(*) FROM CAR_MAKERS AS T1 JOIN MODEL_LIST AS T2 ON T1.Id = T2.Maker WHERE T1.FullName = 'American Motor Company';", "predicted_parse_error": false, "hardness": "medium", "exact": 0, "partial": {"select": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "哪些制造商设计了超过3种车型?列出全名和ID。", "predicted": "SELECT car_makers.FullName, car_makers.Id FROM car_makers JOIN model_list ON car_makers.Id = model_list.Maker GROUP BY car_makers.Id HAVING Count(*) >= 3", "gold": "SELECT T1.FullName , T1.Id FROM CAR_MAKERS AS T1 JOIN MODEL_LIST AS T2 ON T1.Id = T2.Maker GROUP BY T1.Id HAVING count(*) > 3;", "predicted_parse_error": false, "hardness": "medium", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "生产超过3种型号汽车的所有制造商的名称和ID是什么?", "predicted": "SELECT car_makers.Id, car_makers.Id FROM car_makers JOIN model_list ON car_makers.Id = model_list.Maker GROUP BY car_makers.Id HAVING Count(*) >= 3", "gold": "SELECT T1.FullName , T1.Id FROM CAR_MAKERS AS T1 JOIN MODEL_LIST AS T2 ON T1.Id = T2.Maker GROUP BY T1.Id HAVING count(*) > 3;", "predicted_parse_error": false, "hardness": "medium", "exact": 0, "partial": {"select": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "哪些车型是“General Motors”公司生产的,或者重量超过3500?", "predicted": "SELECT car_names.Model FROM car_makers JOIN model_list ON car_makers.Id = model_list.Maker JOIN car_names ON model_list.Model = car_names.Model JOIN cars_data ON car_names.MakeId = cars_data.Id WHERE cars_data.Weight > 3500 OR car_names.Make = \"General\"", "gold": "SELECT DISTINCT T2.Model FROM CAR_NAMES AS T1 JOIN MODEL_LIST AS T2 ON T1.Model = T2.Model JOIN CAR_MAKERS AS T3 ON T2.Maker = T3.Id JOIN CARS_DATA AS T4 ON T1.MakeId = T4.Id WHERE T3.FullName = 'General Motors' OR T4.weight > 3500;", "predicted_parse_error": false, "hardness": "extra", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 2}, "where(no OP)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 2}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "“General Motors”公司生产或重量超过3500的不同车型有哪些?", "predicted": "SELECT DISTINCT car_names.Model FROM car_makers JOIN model_list ON car_makers.Id = model_list.Maker JOIN car_names ON model_list.Model = car_names.Model JOIN cars_data ON car_names.MakeId = cars_data.Id WHERE cars_data.Weight > 3500 OR car_makers.FullName > 5000", "gold": "SELECT DISTINCT T2.Model FROM CAR_NAMES AS T1 JOIN MODEL_LIST AS T2 ON T1.Model = T2.Model JOIN CAR_MAKERS AS T3 ON T2.Maker = T3.Id JOIN CARS_DATA AS T4 ON T1.MakeId = T4.Id WHERE T3.FullName = 'General Motors' OR T4.weight > 3500;", "predicted_parse_error": false, "hardness": "extra", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 2}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "哪一年生产的汽车重量不小于3000,也不超过4000?", "predicted": "SELECT cars_data.Year FROM cars_data WHERE cars_data.Weight BETWEEN 3000 AND 4000", "gold": "select distinct year from cars_data where weight between 3000 and 4000;", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "有哪些年份既生产了重量小于4000的汽车,又生产了重量大于3000的汽车?", "predicted": "SELECT cars_data.Year FROM cars_data WHERE cars_data.Weight < 4000 INTERSECT SELECT cars_data.Year FROM cars_data WHERE cars_data.Weight > 3000", "gold": "select distinct year from cars_data where weight between 3000 and 4000;", "predicted_parse_error": false, "hardness": "easy", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 1}, "keywords": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 2}}}, {"question": "最大加速度的汽车的马力是多少?", "predicted": "SELECT cars_data.Horsepower FROM cars_data ORDER BY cars_data.Accelerate Desc LIMIT 1", "gold": "SELECT T1.horsepower FROM CARS_DATA AS T1 ORDER BY T1.accelerate DESC LIMIT 1;", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}}}, {"question": "加速度最大的汽车的马力是多少?", "predicted": "SELECT cars_data.Horsepower FROM cars_data ORDER BY cars_data.Accelerate Desc LIMIT 1", "gold": "SELECT T1.horsepower FROM CARS_DATA AS T1 ORDER BY T1.accelerate DESC LIMIT 1;", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}}}, {"question": "对于“volvo”车型来说,最小加速度的汽车有多少个气缸?", "predicted": "SELECT cars_data.Cylinders FROM car_names JOIN cars_data ON car_names.MakeId = cars_data.Id WHERE car_names.Make = \"volvo\" ORDER BY cars_data.Accelerate Asc LIMIT 1", "gold": "SELECT T1.cylinders FROM CARS_DATA AS T1 JOIN CAR_NAMES AS T2 ON T1.Id = T2.MakeId WHERE T2.Model = 'volvo' ORDER BY T1.accelerate ASC LIMIT 1;", "predicted_parse_error": false, "hardness": "extra", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 4, "pred_total": 4}}}, {"question": "加速度最小的“volvo”车型有多少个汽缸?", "predicted": "SELECT cars_data.Cylinders FROM car_names JOIN cars_data ON car_names.MakeId = cars_data.Id WHERE car_names.Make = \"volvo\"", "gold": "SELECT T1.cylinders FROM CARS_DATA AS T1 JOIN CAR_NAMES AS T2 ON T1.Id = T2.MakeId WHERE T2.Model = 'volvo' ORDER BY T1.accelerate ASC LIMIT 1;", "predicted_parse_error": false, "hardness": "extra", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 0, "rec": 0, "f1": 0, "label_total": 4, "pred_total": 1}}}, {"question": "有多少车比最大马力的汽车有更大的加速度?", "predicted": "SELECT Count(*) FROM cars_data WHERE cars_data.Accelerate > (SELECT Max(cars_data.Accelerate) FROM cars_data)", "gold": "SELECT COUNT(*) FROM CARS_DATA WHERE Accelerate > ( SELECT Accelerate FROM CARS_DATA ORDER BY Horsepower DESC LIMIT 1 );", "predicted_parse_error": false, "hardness": "hard", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "加速度比马力最大的汽车更大的汽车有多少辆?", "predicted": "SELECT Count(*) FROM cars_data WHERE cars_data.Accelerate > (SELECT Max(cars_data.Accelerate) FROM cars_data)", "gold": "SELECT COUNT(*) FROM CARS_DATA WHERE Accelerate > ( SELECT Accelerate FROM CARS_DATA ORDER BY Horsepower DESC LIMIT 1 );", "predicted_parse_error": false, "hardness": "hard", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "有多少国家拥有超过2家汽车制造商?", "predicted": "SELECT Count(*) FROM countries JOIN car_makers ON countries.CountryId = car_makers.Country GROUP BY countries.CountryId HAVING Count(*) > 2", "gold": "select count(*) from countries as t1 join car_makers as t2 on t1.countryid = t2.country group by t1.countryid having count(*) > 2", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "拥有超过2家汽车制造商的国家有多少?", "predicted": "SELECT Count(*) FROM countries JOIN car_makers ON countries.CountryId = car_makers.Country GROUP BY countries.CountryId HAVING Count(*) > 2", "gold": "select count(*) from countries as t1 join car_makers as t2 on t1.countryid = t2.country group by t1.countryid having count(*) > 2", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "有多少辆车超过6个汽缸?", "predicted": "SELECT Count(*) FROM cars_data WHERE cars_data.Cylinders > 6", "gold": "SELECT COUNT(*) FROM CARS_DATA WHERE Cylinders > 6;", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "超过6个气缸的汽车的数量是多少?", "predicted": "SELECT Count(*) FROM cars_data WHERE cars_data.Cylinders > 6", "gold": "SELECT COUNT(*) FROM CARS_DATA WHERE Cylinders > 6;", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "对于有4个汽缸的汽车,哪个型号的车的马力最大?", "predicted": "SELECT cars_data.Horsepower FROM cars_data WHERE cars_data.Cylinders = 4 ORDER BY cars_data.Horsepower Desc LIMIT 1", "gold": "SELECT T1.Model FROM CAR_NAMES AS T1 JOIN CARS_DATA AS T2 ON T1.MakeId = T2.Id WHERE T2.Cylinders = 4 ORDER BY T2.horsepower DESC LIMIT 1;", "predicted_parse_error": false, "hardness": "extra", "exact": 0, "partial": {"select": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 4, "pred_total": 4}}}, {"question": "哪种型号的四缸汽车的马力最大?", "predicted": "SELECT cars_data.Horsepower FROM cars_data ORDER BY cars_data.Horsepower Desc LIMIT 1", "gold": "SELECT T1.Model FROM CAR_NAMES AS T1 JOIN CARS_DATA AS T2 ON T1.MakeId = T2.Id WHERE T2.Cylinders = 4 ORDER BY T2.horsepower DESC LIMIT 1;", "predicted_parse_error": false, "hardness": "extra", "exact": 0, "partial": {"select": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 0}, "where(no OP)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 0, "rec": 0, "f1": 0, "label_total": 4, "pred_total": 3}}}, {"question": "在高于最低马力的车中,哪些没有超过3个汽缸?列出汽车制造商的ID和名称。", "predicted": "SELECT car_makers.Id, car_makers.FullName FROM car_makers EXCEPT SELECT car_makers.Id, car_makers.FullName FROM cars_data JOIN cars_data WHERE cars_data.Cylinders > 3", "gold": "SELECT T2.MakeId , T2.Make FROM CARS_DATA AS T1 JOIN CAR_NAMES AS T2 ON T1.Id = T2.MakeId WHERE T1.Horsepower > (SELECT min(Horsepower) FROM CARS_DATA) AND T1.Cylinders <= 3;", "predicted_parse_error": false, "hardness": "extra", "exact": 0, "partial": {"select": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 2}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 0}, "where(no OP)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 1}, "IUEN": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 1}, "keywords": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}}}, {"question": "在不是最小马力的汽车中,那些少于4个汽缸的汽车制造商的ID和名称是什么?", "predicted": "SELECT car_makers.Id, car_makers.FullName FROM car_makers JOIN model_list ON car_makers.Id = model_list.Maker JOIN car_names ON model_list.Model = car_names.Model JOIN cars_data ON car_names.MakeId = cars_data.Id WHERE cars_data.Cylinders < 4", "gold": "select t2.makeid , t2.make from cars_data as t1 join car_names as t2 on t1.id = t2.makeid where t1.horsepower > (select min(horsepower) from cars_data) and t1.cylinders < 4;", "predicted_parse_error": false, "hardness": "extra", "exact": 0, "partial": {"select": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 2}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 1}, "where(no OP)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "“8”缸或“1980”年前生产的汽车每加仑汽油的最大里程是多少?", "predicted": "SELECT Max(cars_data.Weight), Max(cars_data.Weight) FROM cars_data WHERE cars_data.Cylinders = \"8\" OR cars_data.Year < 1980", "gold": "select max(mpg) from cars_data where cylinders = 8 or year < 1980", "predicted_parse_error": false, "hardness": "medium", "exact": 0, "partial": {"select": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 2}, "select(no AGG)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "在“1980”年之前生产或“8”缸的汽车最大MPG是多少?", "predicted": "SELECT Max(cars_data.MPG) FROM cars_data WHERE cars_data.Cylinders = \"8\" OR cars_data.Year < 1980", "gold": "select max(mpg) from cars_data where cylinders = 8 or year < 1980", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "哪些型号的车比3500轻并且不是“Ford Motor Company”制造?", "predicted": "SELECT model_list.Model FROM model_list EXCEPT SELECT model_list.Model FROM model_list JOIN car_makers ON model_list.Maker = car_makers.Id JOIN car_makers WHERE car_makers.FullName = \"Johnalifornia\"", "gold": "SELECT DISTINCT T1.model FROM MODEL_LIST AS T1 JOIN CAR_NAMES AS T2 ON T1.Model = T2.Model JOIN CARS_DATA AS T3 ON T2.MakeId = T3.Id JOIN CAR_MAKERS AS T4 ON T1.Maker = T4.Id WHERE T3.weight < 3500 AND T4.FullName != 'Ford Motor Company';", "predicted_parse_error": false, "hardness": "extra", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 0}, "where(no OP)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 1}, "IUEN": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 1}, "keywords": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}}}, {"question": "不是“Ford Motor Company”制造的车中,哪些型号的车比3500轻?", "predicted": "SELECT model_list.Model FROM model_list WHERE model_list.Model NOT IN (SELECT model_list.Model FROM car_names JOIN car_makers WHERE car_makers.FullName = \"Italy\")", "gold": "SELECT DISTINCT T1.model FROM MODEL_LIST AS T1 JOIN CAR_NAMES AS T2 ON T1.Model = T2.Model JOIN CARS_DATA AS T3 ON T2.MakeId = T3.Id JOIN CAR_MAKERS AS T4 ON T1.Maker = T4.Id WHERE T3.weight < 3500 AND T4.FullName != 'Ford Motor Company';", "predicted_parse_error": false, "hardness": "extra", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 1}, "where(no OP)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 3}}}, {"question": "没有一个汽车制造商的国家的名字是什么?", "predicted": "SELECT countries.CountryName FROM countries WHERE countries.CountryId NOT IN (SELECT car_makers.Country FROM car_makers)", "gold": "SELECT CountryName FROM countries EXCEPT SELECT T1.CountryName FROM countries AS T1 JOIN CAR_MAKERS AS T2 ON T1.countryId = T2.Country;", "predicted_parse_error": false, "hardness": "hard", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 1}, "where(no OP)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 0}, "keywords": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 3}}}, {"question": "没有汽车制造商的国家的名字是什么?", "predicted": "SELECT countries.CountryName FROM countries WHERE countries.CountryId NOT IN (SELECT car_makers.Country FROM car_makers)", "gold": "SELECT CountryName FROM countries EXCEPT SELECT T1.CountryName FROM countries AS T1 JOIN CAR_MAKERS AS T2 ON T1.countryId = T2.Country;", "predicted_parse_error": false, "hardness": "hard", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 1}, "where(no OP)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 0}, "keywords": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 3}}}, {"question": "哪家汽车制造商生产至少2种型号的汽车和3种以上的汽车品牌?列出ID和制造商。", "predicted": "SELECT car_makers.Id, car_makers.Id FROM car_makers JOIN model_list ON car_makers.Id = model_list.Maker GROUP BY car_makers.Id HAVING Count(*) >= 2", "gold": "select t1.id , t1.maker from car_makers as t1 join model_list as t2 on t1.id = t2.maker group by t1.id having count(*) >= 2 intersect select t1.id , t1.maker from car_makers as t1 join model_list as t2 on t1.id = t2.maker join car_names as t3 on t2.model = t3.model group by t1.id having count(*) > 3;", "predicted_parse_error": false, "hardness": "extra", "exact": 0, "partial": {"select": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 0}, "keywords": {"acc": 0, "rec": 0, "f1": 0, "label_total": 3, "pred_total": 2}}}, {"question": "所有生产至少2种车型、生产超过3种汽车品牌的汽车制造商的ID和制造商是什么?", "predicted": "SELECT car_makers.Id, car_makers.Id FROM car_makers JOIN model_list ON car_makers.Id = model_list.Maker GROUP BY car_makers.Id HAVING Count(*) >= 2", "gold": "SELECT T1.Id , T1.Maker FROM CAR_MAKERS AS T1 JOIN MODEL_LIST AS T2 ON T1.Id = T2.Maker GROUP BY T1.Id HAVING count(*) >= 2 INTERSECT SELECT T1.Id , T1.Maker FROM CAR_MAKERS AS T1 JOIN MODEL_LIST AS T2 ON T1.Id = T2.Maker JOIN CAR_NAMES AS T3 ON T2.model = T3.model GROUP BY T1.Id HAVING count(*) > 3;", "predicted_parse_error": false, "hardness": "extra", "exact": 0, "partial": {"select": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 0}, "keywords": {"acc": 0, "rec": 0, "f1": 0, "label_total": 3, "pred_total": 2}}}, {"question": "拥有3家以上汽车制造商或生产“fiat model”车型的国家的ID和名称是什么?", "predicted": "SELECT countries.CountryId, countries.CountryName FROM countries JOIN car_makers ON countries.CountryId = car_makers.Country WHERE car_makers.Maker = \"fiat\" UNION SELECT countries.CountryId, countries.CountryName FROM countries JOIN car_makers ON countries.CountryId = car_makers.Country JOIN model_list ON car_makers.Id = model_list.Maker GROUP BY car_makers.Id HAVING Count(*) > 3", "gold": "SELECT T1.countryId , T1.CountryName FROM Countries AS T1 JOIN CAR_MAKERS AS T2 ON T1.CountryId = T2.Country GROUP BY T1.countryId HAVING count(*) > 3 UNION SELECT T1.countryId , T1.CountryName FROM Countries AS T1 JOIN CAR_MAKERS AS T2 ON T1.CountryId = T2.Country JOIN MODEL_LIST AS T3 ON T2.Id = T3.Maker WHERE T3.Model = 'fiat';", "predicted_parse_error": false, "hardness": "extra", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 1}, "where(no OP)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 1}, "group(no Having)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 0}, "group": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "keywords": {"acc": 0, "rec": 0, "f1": 0, "label_total": 3, "pred_total": 2}}}, {"question": "哪些国家有3种以上汽车制造商或生产“fiat model”,它们的ID和名称是什么?", "predicted": "SELECT countries.CountryId, countries.CountryName FROM countries JOIN car_makers ON countries.CountryId = car_makers.Country JOIN model_list ON car_makers.Id = model_list.Maker JOIN car_names ON model_list.Model = car_names.Model WHERE car_names.Make = \"fiat\" UNION SELECT countries.CountryId, countries.CountryName FROM countries JOIN car_makers ON countries.CountryId = car_makers.Country JOIN model_list ON car_makers.Id = model_list.Maker GROUP BY car_makers.Id HAVING Count(*) > 2", "gold": "select t1.countryid , t1.countryname from countries as t1 join car_makers as t2 on t1.countryid = t2.country group by t1.countryid having count(*) > 3 union select t1.countryid , t1.countryname from countries as t1 join car_makers as t2 on t1.countryid = t2.country join model_list as t3 on t2.id = t3.maker where t3.model = 'fiat';", "predicted_parse_error": false, "hardness": "extra", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 1}, "where(no OP)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 1}, "group(no Having)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 0}, "group": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "keywords": {"acc": 0, "rec": 0, "f1": 0, "label_total": 3, "pred_total": 2}}}, {"question": "“JetBlue Airways”航空公司属于哪个国家?", "predicted": "SELECT airlines.Country FROM airlines WHERE airlines.Airline = \"Bobna\"", "gold": "SELECT Country FROM AIRLINES WHERE Airline = \"JetBlue Airways\"", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "“JetBlue Airways”航空公司隶属于哪个国家?", "predicted": "SELECT airlines.Country FROM airlines WHERE airlines.Airline = \"Bobna\"", "gold": "SELECT Country FROM AIRLINES WHERE Airline = \"JetBlue Airways\"", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "航空公司“JetBlue Airways”的缩写是什么?", "predicted": "SELECT airlines.Abbreviation FROM airlines WHERE airlines.Airline = \"JetBlue\"", "gold": "SELECT Abbreviation FROM AIRLINES WHERE Airline = \"JetBlue Airways\"", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "哪一个缩写对应于“JetBlue Airways”航空公司?", "predicted": "SELECT airlines.Abbreviation FROM airlines WHERE airlines.Airline = \"JetBlue\"", "gold": "SELECT Abbreviation FROM AIRLINES WHERE Airline = \"JetBlue Airways\"", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "列出所有“USA”的航空公司的名字和缩写。", "predicted": "SELECT airlines.Airline, airlines.Abbreviation FROM airlines WHERE airlines.Country = \"USA\"", "gold": "SELECT Airline , Abbreviation FROM AIRLINES WHERE Country = \"USA\"", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "usa所有航空公司的航空公司名称和缩写是什么?", "predicted": "SELECT airlines.Airline, airlines.Abbreviation FROM airlines WHERE airlines.Country = \"United\"", "gold": "SELECT Airline , Abbreviation FROM AIRLINES WHERE Country = \"USA\"", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "列出“Anthony”市的机场代码和名称。", "predicted": "SELECT airports.AirportCode, airports.AirportName FROM airports WHERE airports.City = \"Austin\"", "gold": "SELECT AirportCode , AirportName FROM AIRPORTS WHERE city = \"Anthony\"", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "给出与城市“Anthony”对应的机场代码和机场名称。", "predicted": "SELECT airports.AirportCode, airports.AirportName FROM airports WHERE airports.City = \"Hono\"", "gold": "SELECT AirportCode , AirportName FROM AIRPORTS WHERE city = \"Anthony\"", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "我们有多少家航空公司?", "predicted": "SELECT Count(*) FROM airlines", "gold": "SELECT count(*) FROM AIRLINES", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "航空公司的总数是多少?", "predicted": "SELECT Count(*) FROM airlines", "gold": "SELECT count(*) FROM AIRLINES", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "我们有多少个机场?", "predicted": "SELECT Count(*) FROM airports", "gold": "SELECT count(*) FROM AIRPORTS", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "返回机场的数量。", "predicted": "SELECT Count(*) FROM airports", "gold": "SELECT count(*) FROM AIRPORTS", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "我们有多少次航班?", "predicted": "SELECT Count(*) FROM flights", "gold": "SELECT count(*) FROM FLIGHTS", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "返回航班次的数量。", "predicted": "SELECT Count(*) FROM flights", "gold": "SELECT count(*) FROM FLIGHTS", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "哪家航空公司的缩写是“UAL”?", "predicted": "SELECT airlines.Airline FROM airlines WHERE airlines.Abbreviation = \"UAL\"", "gold": "SELECT Airline FROM AIRLINES WHERE Abbreviation = \"UAL\"", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "给出缩写为“UAL”的航空公司。", "predicted": "SELECT airlines.Airline FROM airlines WHERE airlines.Abbreviation = \"UAL\"", "gold": "SELECT Airline FROM AIRLINES WHERE Abbreviation = \"UAL\"", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "有多少航空公司来自“USA”?", "predicted": "SELECT Count(*) FROM airlines WHERE airlines.Country = \"USA\"", "gold": "SELECT count(*) FROM AIRLINES WHERE Country = \"USA\"", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "返回“USA”航空公司的数量。", "predicted": "SELECT Count(*) FROM airlines WHERE airlines.Country = \"USA\"", "gold": "SELECT count(*) FROM AIRLINES WHERE Country = \"USA\"", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "“Alton”机场在哪个城市和哪个国家?", "predicted": "SELECT airports.City, airports.Country FROM airports WHERE airports.AirportName = \"Alton\"", "gold": "SELECT City , Country FROM AIRPORTS WHERE AirportName = \"Alton\"", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "给出“Alton”机场所属的城市和国家。", "predicted": "SELECT airports.City, airports.Country FROM airports WHERE airports.AirportName = \"Alton\"", "gold": "SELECT City , Country FROM AIRPORTS WHERE AirportName = \"Alton\"", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "“AKO”机场的名称是什么?", "predicted": "SELECT airports.AirportName FROM airports JOIN flights ON airports.AirportCode = flights.SourceAirport WHERE flights.DestAirport = \"AKO\"", "gold": "SELECT AirportName FROM AIRPORTS WHERE AirportCode = \"AKO\"", "predicted_parse_error": false, "hardness": "easy", "exact": false, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "返回代号为“AKO”的机场名称。", "predicted": "SELECT airports.AirportName FROM airports WHERE airports.AirportCode = \"AKO\"", "gold": "SELECT AirportName FROM AIRPORTS WHERE AirportCode = \"AKO\"", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "“Aberdeen”市的机场名称是什么?", "predicted": "SELECT airports.AirportName FROM airports WHERE airports.City = \"Londonrondeen\"", "gold": "SELECT AirportName FROM AIRPORTS WHERE City = \"Aberdeen\"", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "在“Aberdeen”的机场名称是什么?", "predicted": "SELECT airports.AirportName FROM airports WHERE airports.City = \"Keronen\"", "gold": "SELECT AirportName FROM AIRPORTS WHERE City = \"Aberdeen\"", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "有多少航班从“APG”出发?", "predicted": "SELECT Count(*) FROM flights WHERE flights.SourceAirport = \"APG\"", "gold": "SELECT count(*) FROM FLIGHTS WHERE SourceAirport = \"APG\"", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "统计从“APG”起飞的航班数。", "predicted": "SELECT Count(*) FROM flights WHERE flights.SourceAirport = \"APG\"", "gold": "SELECT count(*) FROM FLIGHTS WHERE SourceAirport = \"APG\"", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "目的地是“ATO”有多少航班?", "predicted": "SELECT Count(*) FROM flights WHERE flights.DestAirport = \"ATO\"", "gold": "SELECT count(*) FROM FLIGHTS WHERE DestAirport = \"ATO\"", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "统计到达“ATO”的航班数。", "predicted": "SELECT Count(*) FROM flights WHERE flights.DestAirport = \"ATO\"", "gold": "SELECT count(*) FROM FLIGHTS WHERE DestAirport = \"ATO\"", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "从“Aberdeen”市起飞的有多少班次?", "predicted": "SELECT Count(*) FROM airports JOIN flights ON airports.AirportCode = flights.SourceAirport WHERE airports.City = \"Londonfemale\"", "gold": "SELECT count(*) FROM FLIGHTS AS T1 JOIN AIRPORTS AS T2 ON T1.SourceAirport = T2.AirportCode WHERE T2.City = \"Aberdeen\"", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "返回从“Aberdeen”起飞的航班数。", "predicted": "SELECT Count(*) FROM airports JOIN flights ON airports.AirportCode = flights.SourceAirport WHERE airports.City = \"KeLondon\"", "gold": "SELECT count(*) FROM FLIGHTS AS T1 JOIN AIRPORTS AS T2 ON T1.SourceAirport = T2.AirportCode WHERE T2.City = \"Aberdeen\"", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "到“Aberdeen”市有多少班次?", "predicted": "SELECT Count(*) FROM airports JOIN flights ON airports.AirportCode = flights.SourceAirport WHERE airports.City = \"KeLondon\"", "gold": "SELECT count(*) FROM FLIGHTS AS T1 JOIN AIRPORTS AS T2 ON T1.DestAirport = T2.AirportCode WHERE T2.City = \"Aberdeen\"", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "返回抵达“Aberdeen”市的航班数量。", "predicted": "SELECT Count(*) FROM airports JOIN flights ON airports.AirportCode = flights.SourceAirport WHERE airports.City = \"Keghanistan\"", "gold": "SELECT count(*) FROM FLIGHTS AS T1 JOIN AIRPORTS AS T2 ON T1.DestAirport = T2.AirportCode WHERE T2.City = \"Aberdeen\"", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "有多少航班从“Aberdeen”起飞,到达“Ashley”?", "predicted": "SELECT Count(*) FROM airports JOIN flights ON airports.AirportCode = flights.SourceAirport WHERE airports.City = \"Chen\" AND airports.AirportName = \"Canada\"", "gold": "SELECT count(*) FROM FLIGHTS AS T1 JOIN AIRPORTS AS T2 ON T1.DestAirport = T2.AirportCode JOIN AIRPORTS AS T3 ON T1.SourceAirport = T3.AirportCode WHERE T2.City = \"Ashley\" AND T3.City = \"Aberdeen\"", "predicted_parse_error": false, "hardness": "hard", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 2}, "where(no OP)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 2}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "从“Aberdeen”飞往“Ashley”有多少班机?", "predicted": "SELECT Count(*) FROM airports JOIN flights ON airports.AirportCode = flights.SourceAirport WHERE airports.City = \"Chench\" AND airports.AirportName = \"Canada\"", "gold": "SELECT count(*) FROM FLIGHTS AS T1 JOIN AIRPORTS AS T2 ON T1.DestAirport = T2.AirportCode JOIN AIRPORTS AS T3 ON T1.SourceAirport = T3.AirportCode WHERE T2.City = \"Ashley\" AND T3.City = \"Aberdeen\"", "predicted_parse_error": false, "hardness": "hard", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 2}, "where(no OP)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 2}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "“JetBlue Airways”航空公司有多少航班?", "predicted": "SELECT Count(*) FROM airlines JOIN flights WHERE airlines.Airline = \"Bob\"", "gold": "SELECT count(*) FROM FLIGHTS AS T1 JOIN AIRLINES AS T2 ON T1.Airline = T2.uid WHERE T2.Airline = \"JetBlue Airways\"", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "给出“JetBlue Airways”航空公司航班的数量。", "predicted": "SELECT Count(*) FROM airlines JOIN flights WHERE airlines.Airline = \"Jete\"", "gold": "SELECT count(*) FROM FLIGHTS AS T1 JOIN AIRLINES AS T2 ON T1.Airline = T2.uid WHERE T2.Airline = \"JetBlue Airways\"", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "有多少“United Airlines”航空公司的航班飞往“ASY”?", "predicted": "SELECT Count(*) FROM airports JOIN flights ON airports.AirportCode = flights.SourceAirport WHERE flights.DestAirport = \"ASY\" AND airports.Country = \"Unitedsa\"", "gold": "SELECT count(*) FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T2.Airline = T1.uid WHERE T1.Airline = \"United Airlines\" AND T2.DestAirport = \"ASY\"", "predicted_parse_error": false, "hardness": "medium", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 2}, "where(no OP)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 2}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "统计“United Airlines”航空公司航班抵达“ASY”机场的数量。", "predicted": "SELECT Count(*) FROM airports JOIN flights ON airports.AirportCode = flights.SourceAirport WHERE flights.SourceAirport = \"ASY\"", "gold": "SELECT count(*) FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T2.Airline = T1.uid WHERE T1.Airline = \"United Airlines\" AND T2.DestAirport = \"ASY\"", "predicted_parse_error": false, "hardness": "medium", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 1}, "where(no OP)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "有多少“United Airlines”航班从“AHD”机场起飞?", "predicted": "SELECT Count(*) FROM airports JOIN flights ON airports.AirportCode = flights.SourceAirport WHERE airports.Country = \"AHD\" AND airports.AirportName = \"UnitedUnited\"", "gold": "SELECT count(*) FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T2.Airline = T1.uid WHERE T1.Airline = \"United Airlines\" AND T2.SourceAirport = \"AHD\"", "predicted_parse_error": false, "hardness": "medium", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 2}, "where(no OP)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 2}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "返回从“AHD”机场起飞的“United Airlines”航空公司航班的数量。", "predicted": "SELECT Count(*) FROM airlines JOIN airports JOIN flights WHERE airports.Country = \"AHD\" AND airlines.Airline = \"Unitedsa\"", "gold": "SELECT count(*) FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T2.Airline = T1.uid WHERE T1.Airline = \"United Airlines\" AND T2.SourceAirport = \"AHD\"", "predicted_parse_error": false, "hardness": "medium", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 2}, "where(no OP)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 2}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "有多少“United Airlines”航空公司的航班飞往“Aberdeen”?", "predicted": "SELECT Count(*) FROM airports JOIN flights ON airports.AirportCode = flights.SourceAirport WHERE airports.City = \"Canada\" AND airports.AirportName = \"Unitedmale\"", "gold": "SELECT count(*) FROM FLIGHTS AS T1 JOIN AIRPORTS AS T2 ON T1.DestAirport = T2.AirportCode JOIN AIRLINES AS T3 ON T3.uid = T1.Airline WHERE T2.City = \"Aberdeen\" AND T3.Airline = \"United Airlines\"", "predicted_parse_error": false, "hardness": "hard", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 2}, "where(no OP)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 2}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "统计到达“Aberdeen”的“United Airlines”航空公司航班的数量。", "predicted": "SELECT Count(*) FROM airlines JOIN airports JOIN flights WHERE airports.City = \"Canada\" AND airlines.Airline = \"Unitedcratic\"", "gold": "SELECT count(*) FROM FLIGHTS AS T1 JOIN AIRPORTS AS T2 ON T1.DestAirport = T2.AirportCode JOIN AIRLINES AS T3 ON T3.uid = T1.Airline WHERE T2.City = \"Aberdeen\" AND T3.Airline = \"United Airlines\"", "predicted_parse_error": false, "hardness": "hard", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "哪个城市有最多的抵达航班?", "predicted": "SELECT airports.City FROM airports JOIN flights ON airports.AirportCode = flights.SourceAirport GROUP BY flights.DestAirport ORDER BY Count(*) Desc LIMIT 1", "gold": "SELECT T1.City FROM AIRPORTS AS T1 JOIN FLIGHTS AS T2 ON T1.AirportCode = T2.DestAirport GROUP BY T1.City ORDER BY count(*) DESC LIMIT 1", "predicted_parse_error": false, "hardness": "extra", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "group": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 4, "pred_total": 4}}}, {"question": "哪个城市有最频繁的目的地机场?", "predicted": "SELECT airports.City FROM airports JOIN flights ON airports.AirportCode = flights.SourceAirport GROUP BY flights.DestAirport ORDER BY Count(*) Desc LIMIT 1", "gold": "SELECT T1.City FROM AIRPORTS AS T1 JOIN FLIGHTS AS T2 ON T1.AirportCode = T2.DestAirport GROUP BY T1.City ORDER BY count(*) DESC LIMIT 1", "predicted_parse_error": false, "hardness": "extra", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "group": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 4, "pred_total": 4}}}, {"question": "哪个城市离开的航班最多?", "predicted": "SELECT airports.City FROM airports JOIN flights ON airports.AirportCode = flights.SourceAirport GROUP BY flights.SourceAirport ORDER BY Count(*) Desc LIMIT 1", "gold": "SELECT T1.City FROM AIRPORTS AS T1 JOIN FLIGHTS AS T2 ON T1.AirportCode = T2.SourceAirport GROUP BY T1.City ORDER BY count(*) DESC LIMIT 1", "predicted_parse_error": false, "hardness": "extra", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "group": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 4, "pred_total": 4}}}, {"question": "哪个城市的机场中起飞航班是最频繁的?", "predicted": "SELECT airports.City FROM airports JOIN flights ON airports.AirportCode = flights.SourceAirport GROUP BY flights.SourceAirport ORDER BY Count(*) Desc LIMIT 1", "gold": "SELECT T1.City FROM AIRPORTS AS T1 JOIN FLIGHTS AS T2 ON T1.AirportCode = T2.SourceAirport GROUP BY T1.City ORDER BY count(*) DESC LIMIT 1", "predicted_parse_error": false, "hardness": "extra", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "group": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 4, "pred_total": 4}}}, {"question": "最多航班数的机场代码是多少?", "predicted": "SELECT flights.SourceAirport FROM airports JOIN flights ON airports.AirportCode = flights.SourceAirport GROUP BY flights.SourceAirport ORDER BY Count(*) Desc LIMIT 1", "gold": "SELECT T1.AirportCode FROM AIRPORTS AS T1 JOIN FLIGHTS AS T2 ON T1.AirportCode = T2.DestAirport OR T1.AirportCode = T2.SourceAirport GROUP BY T1.AirportCode ORDER BY count(*) DESC LIMIT 1", "predicted_parse_error": false, "hardness": "extra", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 4, "pred_total": 4}}}, {"question": "航班数量最多的机场的代码是多少?", "predicted": "SELECT flights.SourceAirport FROM flights GROUP BY flights.SourceAirport ORDER BY Count(*) Desc LIMIT 1", "gold": "SELECT T1.AirportCode FROM AIRPORTS AS T1 JOIN FLIGHTS AS T2 ON T1.AirportCode = T2.DestAirport OR T1.AirportCode = T2.SourceAirport GROUP BY T1.AirportCode ORDER BY count(*) DESC LIMIT 1", "predicted_parse_error": false, "hardness": "extra", "exact": false, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 4, "pred_total": 4}}}, {"question": "航班最少的机场代码是什么?", "predicted": "SELECT flights.SourceAirport FROM flights GROUP BY flights.SourceAirport ORDER BY Count(*) Asc LIMIT 1", "gold": "SELECT T1.AirportCode FROM AIRPORTS AS T1 JOIN FLIGHTS AS T2 ON T1.AirportCode = T2.DestAirport OR T1.AirportCode = T2.SourceAirport GROUP BY T1.AirportCode ORDER BY count(*) LIMIT 1", "predicted_parse_error": false, "hardness": "extra", "exact": false, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 4, "pred_total": 4}}}, {"question": "给出最少的航班数的机场代码。", "predicted": "SELECT flights.SourceAirport FROM airports JOIN flights ON airports.AirportCode = flights.SourceAirport GROUP BY flights.SourceAirport ORDER BY Count(*) Asc LIMIT 1", "gold": "SELECT T1.AirportCode FROM AIRPORTS AS T1 JOIN FLIGHTS AS T2 ON T1.AirportCode = T2.DestAirport OR T1.AirportCode = T2.SourceAirport GROUP BY T1.AirportCode ORDER BY count(*) LIMIT 1", "predicted_parse_error": false, "hardness": "extra", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 4, "pred_total": 4}}}, {"question": "哪家航空公司的航班最多?", "predicted": "SELECT airlines.Airline FROM airlines JOIN flights GROUP BY airlines.Airline ORDER BY Count(*) Desc LIMIT 1", "gold": "SELECT T1.Airline FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T1.uid = T2.Airline GROUP BY T1.Airline ORDER BY count(*) DESC LIMIT 1", "predicted_parse_error": false, "hardness": "extra", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 4, "pred_total": 4}}}, {"question": "哪家航空公司提供最多的航班?", "predicted": "SELECT airlines.Airline FROM airlines JOIN flights GROUP BY airlines.Airline ORDER BY Count(*) Desc LIMIT 1", "gold": "SELECT T1.Airline FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T1.uid = T2.Airline GROUP BY T1.Airline ORDER BY count(*) DESC LIMIT 1", "predicted_parse_error": false, "hardness": "extra", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 4, "pred_total": 4}}}, {"question": "找到航班最少的航空公司的缩写和国家。", "predicted": "SELECT airlines.Abbreviation, airlines.Country FROM airlines JOIN flights GROUP BY airlines.Airline ORDER BY Count(*) Asc LIMIT 1", "gold": "SELECT T1.Abbreviation , T1.Country FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T1.uid = T2.Airline GROUP BY T1.Airline ORDER BY count(*) LIMIT 1", "predicted_parse_error": false, "hardness": "extra", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 4, "pred_total": 4}}}, {"question": "航班最少的航空公司的缩写是什么?它在哪个国家?", "predicted": "SELECT airlines.Abbreviation, airlines.Country FROM airlines JOIN flights GROUP BY airlines.Airline ORDER BY Count(*) Asc LIMIT 1", "gold": "SELECT T1.Abbreviation , T1.Country FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T1.uid = T2.Airline GROUP BY T1.Airline ORDER BY count(*) LIMIT 1", "predicted_parse_error": false, "hardness": "extra", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 4, "pred_total": 4}}}, {"question": "哪些航空公司有从“AHD”机场出发的航班?", "predicted": "SELECT airlines.Airline FROM airlines JOIN flights WHERE flights.SourceAirport = \"AHD\"", "gold": "SELECT T1.Airline FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T1.uid = T2.Airline WHERE T2.SourceAirport = \"AHD\"", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "有哪些航空公司有从“AHD”机场出发的航班?", "predicted": "SELECT airlines.Airline FROM airlines JOIN flights WHERE flights.SourceAirport = \"AHD\"", "gold": "SELECT T1.Airline FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T1.uid = T2.Airline WHERE T2.SourceAirport = \"AHD\"", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "哪些航空公司有到达“AHD”机场的航班?", "predicted": "SELECT airlines.Airline FROM airlines JOIN flights WHERE flights.DestAirport = \"AHD\"", "gold": "SELECT T1.Airline FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T1.uid = T2.Airline WHERE T2.DestAirport = \"AHD\"", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "哪些航空公司有目的机场是“AHD”的航班?", "predicted": "SELECT airlines.Airline FROM airlines JOIN flights WHERE flights.SourceAirport = \"AHD\"", "gold": "SELECT T1.Airline FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T1.uid = T2.Airline WHERE T2.DestAirport = \"AHD\"", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "找出有从“APG”和“CVO”机场出发的航班的所有航空公司。", "predicted": "SELECT airlines.Airline FROM airlines JOIN flights WHERE flights.SourceAirport = \"AnPG\" INTERSECT SELECT airlines.Airline FROM airlines JOIN flights WHERE flights.SourceAirport = \"CVO\"", "gold": "SELECT T1.Airline FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T1.uid = T2.Airline WHERE T2.SourceAirport = \"APG\" INTERSECT SELECT T1.Airline FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T1.uid = T2.Airline WHERE T2.SourceAirport = \"CVO\"", "predicted_parse_error": false, "hardness": "extra", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "哪些航空公司有从“APG”和“CVO”机场起飞的航班?", "predicted": "SELECT airlines.Airline FROM airlines JOIN airports JOIN flights WHERE flights.SourceAirport = \"AnPG\" INTERSECT SELECT airlines.Airline FROM airports JOIN flights ON airports.AirportCode = flights.Airline WHERE flights.SourceAirport = \"CVO\"", "gold": "SELECT T1.Airline FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T1.uid = T2.Airline WHERE T2.SourceAirport = \"APG\" INTERSECT SELECT T1.Airline FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T1.uid = T2.Airline WHERE T2.SourceAirport = \"CVO\"", "predicted_parse_error": false, "hardness": "extra", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "找出有从“CVO”机场出发,但不从“APG”机场出发的航班的所有航空公司。", "predicted": "SELECT airlines.Airline FROM airlines JOIN flights WHERE flights.SourceAirport = \"CVO\" EXCEPT SELECT airlines.Airline FROM airlines JOIN flights ON airlines.uid = flights.Airline WHERE flights.SourceAirport = \"APG\" AND flights.DestAirport = \"APG\"", "gold": "SELECT T1.Airline FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T1.uid = T2.Airline WHERE T2.SourceAirport = \"CVO\" EXCEPT SELECT T1.Airline FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T1.uid = T2.Airline WHERE T2.SourceAirport = \"APG\"", "predicted_parse_error": false, "hardness": "extra", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "哪些航空公司有航班从“CVO”起飞,而不是从“APG”机场起飞?", "predicted": "SELECT airlines.Airline FROM airlines JOIN flights WHERE flights.SourceAirport = \"CVO\" EXCEPT SELECT airlines.Airline FROM airlines JOIN flights ON airlines.uid = flights.Airline WHERE flights.SourceAirport = \"APG\"", "gold": "SELECT T1.Airline FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T1.uid = T2.Airline WHERE T2.SourceAirport = \"CVO\" EXCEPT SELECT T1.Airline FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T1.uid = T2.Airline WHERE T2.SourceAirport = \"APG\"", "predicted_parse_error": false, "hardness": "extra", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "找出所有至少有10个航班的航空公司。", "predicted": "SELECT flights.Airline FROM flights GROUP BY flights.Airline HAVING Count(*) >= 10", "gold": "SELECT T1.Airline FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T1.uid = T2.Airline GROUP BY T1.Airline HAVING count(*) > 10", "predicted_parse_error": false, "hardness": "medium", "exact": 0, "partial": {"select": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "哪家航空公司至少有10次航班?", "predicted": "SELECT airlines.Airline FROM airlines GROUP BY airlines.Airline HAVING Count(*) >= 10", "gold": "SELECT T1.Airline FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T1.uid = T2.Airline GROUP BY T1.Airline HAVING count(*) > 10", "predicted_parse_error": false, "hardness": "medium", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "找出所有少于200个航班的航空公司。", "predicted": "SELECT airlines.Airline FROM airlines JOIN flights WHERE flights.FlightNo < 200", "gold": "SELECT T1.Airline FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T1.uid = T2.Airline GROUP BY T1.Airline HAVING count(*) < 200", "predicted_parse_error": false, "hardness": "medium", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 1}, "where(no OP)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 1}, "group(no Having)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 0}, "group": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 1}}}, {"question": "哪些航空公司的航班少于200?", "predicted": "SELECT airlines.Airline FROM airlines JOIN flights WHERE flights.FlightNo < 200", "gold": "SELECT T1.Airline FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T1.uid = T2.Airline GROUP BY T1.Airline HAVING count(*) < 200", "predicted_parse_error": false, "hardness": "medium", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 1}, "where(no OP)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 1}, "group(no Having)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 0}, "group": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 1}}}, {"question": "“United Airlines”航空公司的航班号是多少?", "predicted": "SELECT flights.FlightNo FROM airlines JOIN flights WHERE airlines.Airline = \"Unitedin\"", "gold": "SELECT T1.FlightNo FROM FLIGHTS AS T1 JOIN AIRLINES AS T2 ON T2.uid = T1.Airline WHERE T2.Airline = \"United Airlines\"", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "哪些航班号对应“United Airlines”航空公司的航班?", "predicted": "SELECT flights.FlightNo FROM airlines JOIN flights WHERE airlines.Airline = \"Unitedcra\"", "gold": "SELECT T1.FlightNo FROM FLIGHTS AS T1 JOIN AIRLINES AS T2 ON T2.uid = T1.Airline WHERE T2.Airline = \"United Airlines\"", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "从“APG”机场起飞的航班的航班号是多少?", "predicted": "SELECT flights.FlightNo FROM flights WHERE flights.SourceAirport = \"APG\"", "gold": "SELECT FlightNo FROM FLIGHTS WHERE SourceAirport = \"APG\"", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "给出从“APG”起飞的航班的航班号。", "predicted": "SELECT flights.FlightNo FROM flights WHERE flights.SourceAirport = \"APG\"", "gold": "SELECT FlightNo FROM FLIGHTS WHERE SourceAirport = \"APG\"", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "到达“APG”机场的航班的航班号是多少?", "predicted": "SELECT flights.FlightNo FROM flights WHERE flights.DestAirport = \"APG\"", "gold": "SELECT FlightNo FROM FLIGHTS WHERE DestAirport = \"APG\"", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "给出在“APG”降落的航班的航班号。", "predicted": "SELECT flights.FlightNo FROM flights WHERE flights.SourceAirport = \"APG\"", "gold": "SELECT FlightNo FROM FLIGHTS WHERE DestAirport = \"APG\"", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "从“Aberdeen”起飞的航班的航班号是多少?", "predicted": "SELECT flights.FlightNo FROM airports JOIN flights ON airports.AirportCode = flights.SourceAirport WHERE airports.City = \"KeLondon\"", "gold": "SELECT T1.FlightNo FROM FLIGHTS AS T1 JOIN AIRPORTS AS T2 ON T1.SourceAirport = T2.AirportCode WHERE T2.City = \"Aberdeen\"", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "给出从“Aberdeen”起飞的航班的航班号。", "predicted": "SELECT flights.FlightNo FROM airports JOIN flights ON airports.AirportCode = flights.SourceAirport WHERE airports.City = \"KeLondon\"", "gold": "SELECT T1.FlightNo FROM FLIGHTS AS T1 JOIN AIRPORTS AS T2 ON T1.SourceAirport = T2.AirportCode WHERE T2.City = \"Aberdeen\"", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "到达“Aberdeen”市的航班的航班号是多少?", "predicted": "SELECT flights.FlightNo FROM airports JOIN flights ON airports.AirportCode = flights.SourceAirport WHERE airports.City = \"Keron\"", "gold": "SELECT T1.FlightNo FROM FLIGHTS AS T1 JOIN AIRPORTS AS T2 ON T1.DestAirport = T2.AirportCode WHERE T2.City = \"Aberdeen\"", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "给出到达“Aberdeen”航班的航班号。", "predicted": "SELECT flights.FlightNo FROM airports JOIN flights ON airports.AirportCode = flights.SourceAirport WHERE airports.City = \"KeLondon\"", "gold": "SELECT T1.FlightNo FROM FLIGHTS AS T1 JOIN AIRPORTS AS T2 ON T1.DestAirport = T2.AirportCode WHERE T2.City = \"Aberdeen\"", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "找出有多少个航班在“Aberdeen”或“Abilene”降落。", "predicted": "SELECT Count(*) FROM airports JOIN flights ON airports.AirportCode = flights.SourceAirport WHERE airports.City = \"Blan\" OR airports.City = \"B\"", "gold": "SELECT count(*) FROM Flights AS T1 JOIN Airports AS T2 ON T1.DestAirport = T2.AirportCode WHERE T2.city = \"Aberdeen\" OR T2.city = \"Abilene\"", "predicted_parse_error": false, "hardness": "hard", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "在“Aberdeen”或“Abilene”有多少航班?", "predicted": "SELECT Count(*) FROM airports JOIN flights ON airports.AirportCode = flights.SourceAirport WHERE airports.City = \"Blanen\" OR airports.City = \"Bna\"", "gold": "SELECT count(*) FROM Flights AS T1 JOIN Airports AS T2 ON T1.DestAirport = T2.AirportCode WHERE T2.city = \"Aberdeen\" OR T2.city = \"Abilene\"", "predicted_parse_error": false, "hardness": "hard", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "找出没有任何起落航班的机场名称。", "predicted": "SELECT airports.AirportName FROM airports WHERE airports.AirportCode NOT IN (SELECT flights.SourceAirport FROM flights)", "gold": "SELECT AirportName FROM Airports WHERE AirportCode NOT IN (SELECT SourceAirport FROM Flights UNION SELECT DestAirport FROM Flights)", "predicted_parse_error": false, "hardness": "hard", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}}}, {"question": "哪些机场没有起飞或到达的航班?", "predicted": "SELECT airports.AirportName FROM airports WHERE airports.AirportCode NOT IN (SELECT flights.SourceAirport FROM flights)", "gold": "SELECT AirportName FROM Airports WHERE AirportCode NOT IN (SELECT SourceAirport FROM Flights UNION SELECT DestAirport FROM Flights)", "predicted_parse_error": false, "hardness": "hard", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}}}, {"question": "那里有多少员工?", "predicted": "SELECT Count(*) FROM employee", "gold": "SELECT count(*) FROM employee", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "统计员工人数。", "predicted": "SELECT Count(*) FROM employee", "gold": "SELECT count(*) FROM employee", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "按年龄升序排列员工的姓名。", "predicted": "SELECT employee.Name FROM employee ORDER BY employee.Age Asc", "gold": "SELECT name FROM employee ORDER BY age", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "按年龄升序,列出员工姓名。", "predicted": "SELECT employee.Name FROM employee ORDER BY employee.Age Asc", "gold": "SELECT name FROM employee ORDER BY age", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "每个城市的雇员人数是多少?", "predicted": "SELECT employee.City, Count(*) FROM employee GROUP BY employee.City", "gold": "SELECT count(*) , city FROM employee GROUP BY city", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "统计每个城市的雇员数量。", "predicted": "SELECT Count(*), employee.City FROM employee GROUP BY employee.City", "gold": "SELECT count(*) , city FROM employee GROUP BY city", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "哪些城市30岁以下的员工多于一个人?", "predicted": "SELECT employee.City FROM employee WHERE employee.Age > 30 GROUP BY employee.City HAVING Count(*) > 30", "gold": "SELECT city FROM employee WHERE age < 30 GROUP BY city HAVING count(*) > 1", "predicted_parse_error": false, "hardness": "medium", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}}}, {"question": "找出那些拥有不止一个30岁以下员工的城市。", "predicted": "SELECT employee.City FROM employee WHERE employee.Age < 30 GROUP BY employee.City HAVING Count(*) > 30", "gold": "SELECT city FROM employee WHERE age < 30 GROUP BY city HAVING count(*) > 1", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}}}, {"question": "找出每个位置的商店的数量。", "predicted": "SELECT shop.Location, Count(*) FROM shop GROUP BY shop.Location", "gold": "SELECT count(*) , LOCATION FROM shop GROUP BY LOCATION", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "每个位置有多少商店?", "predicted": "SELECT shop.Location, Count(*) FROM shop GROUP BY shop.Location", "gold": "SELECT count(*) , LOCATION FROM shop GROUP BY LOCATION", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "找出产品数量最大的商店的经理姓名和所在地区。", "predicted": "SELECT shop.Manager_name, shop.District FROM shop ORDER BY shop.Number_products Desc LIMIT 1", "gold": "SELECT manager_name , district FROM shop ORDER BY number_products DESC LIMIT 1", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}}}, {"question": "销售数量最多的商店的经理姓名和地区是什么?", "predicted": "SELECT shop.Manager_name, shop.District FROM shop ORDER BY shop.Number_products Desc LIMIT 1", "gold": "SELECT manager_name , district FROM shop ORDER BY number_products DESC LIMIT 1", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}}}, {"question": "查找所有商店的最小和最大产品数量。", "predicted": "SELECT Min(shop.Number_products), Max(shop.Number_products) FROM shop", "gold": "SELECT min(Number_products) , max(Number_products) FROM shop", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "所有商店的最小和最大产品数量是多少?", "predicted": "SELECT Min(shop.Number_products), Max(shop.Number_products) FROM shop", "gold": "SELECT min(Number_products) , max(Number_products) FROM shop", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "按照产品数量的降序返回所有商店的名称、位置和区域。", "predicted": "SELECT shop.Name, shop.Location, shop.District FROM shop ORDER BY shop.Number_products Desc", "gold": "SELECT name , LOCATION , district FROM shop ORDER BY number_products DESC", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "按产品编号降序对所有商店进行排序,并返回每个商店的名称、位置和区域。", "predicted": "SELECT shop.Name, shop.Location, shop.District FROM shop ORDER BY shop.Number_products Desc", "gold": "SELECT name , LOCATION , district FROM shop ORDER BY number_products DESC", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "查找产品数量超过平均产品数量的商店的名称。", "predicted": "SELECT shop.Name FROM shop WHERE shop.Number_products > (SELECT Avg(shop.Number_products) FROM shop)", "gold": "SELECT name FROM shop WHERE number_products > (SELECT avg(number_products) FROM shop)", "predicted_parse_error": false, "hardness": "hard", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "哪些商店的产品数量高于平均水平?把店名给我。", "predicted": "SELECT shop.Name FROM shop WHERE shop.Number_products > (SELECT Avg(shop.Number_products) FROM shop)", "gold": "SELECT name FROM shop WHERE number_products > (SELECT avg(number_products) FROM shop)", "predicted_parse_error": false, "hardness": "hard", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "查找在评审中被奖励最多次数的员工的名字。", "predicted": "SELECT employee.Name FROM employee JOIN evaluation ON employee.Employee_ID = evaluation.Employee_ID GROUP BY evaluation.Employee_ID ORDER BY Count(*) Desc LIMIT 1", "gold": "SELECT t1.name FROM employee AS t1 JOIN evaluation AS t2 ON t1.Employee_ID = t2.Employee_ID GROUP BY t2.Employee_ID ORDER BY count(*) DESC LIMIT 1", "predicted_parse_error": false, "hardness": "extra", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 4, "pred_total": 4}}}, {"question": "哪位员工在评审中获得最多奖项?给我员工的名字。", "predicted": "SELECT employee.Name FROM employee JOIN evaluation ON employee.Employee_ID = evaluation.Employee_ID GROUP BY evaluation.Employee_ID ORDER BY Count(*) Desc LIMIT 1", "gold": "SELECT t1.name FROM employee AS t1 JOIN evaluation AS t2 ON t1.Employee_ID = t2.Employee_ID GROUP BY t2.Employee_ID ORDER BY count(*) DESC LIMIT 1", "predicted_parse_error": false, "hardness": "extra", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 4, "pred_total": 4}}}, {"question": "查找获得最高奖金的员工的名字。", "predicted": "SELECT employee.Name FROM employee JOIN evaluation ON employee.Employee_ID = evaluation.Employee_ID ORDER BY evaluation.Bonus Desc LIMIT 1", "gold": "SELECT t1.name FROM employee AS t1 JOIN evaluation AS t2 ON t1.Employee_ID = t2.Employee_ID ORDER BY t2.bonus DESC LIMIT 1", "predicted_parse_error": false, "hardness": "hard", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}}}, {"question": "哪位员工获得最大奖金?给我员工的名字。", "predicted": "SELECT employee.Name FROM employee JOIN evaluation ON employee.Employee_ID = evaluation.Employee_ID GROUP BY evaluation.Employee_ID ORDER BY Sum(evaluation.Bonus) Desc LIMIT 1", "gold": "SELECT t1.name FROM employee AS t1 JOIN evaluation AS t2 ON t1.Employee_ID = t2.Employee_ID ORDER BY t2.bonus DESC LIMIT 1", "predicted_parse_error": false, "hardness": "hard", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 1}, "group": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 1}, "order": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 0, "rec": 0, "f1": 0, "label_total": 3, "pred_total": 4}}}, {"question": "找到那些从未在评审中获奖的员工的名字。", "predicted": "SELECT employee.Name FROM employee WHERE employee.Employee_ID NOT IN (SELECT evaluation.Employee_ID FROM evaluation)", "gold": "SELECT name FROM employee WHERE Employee_ID NOT IN (SELECT Employee_ID FROM evaluation)", "predicted_parse_error": false, "hardness": "hard", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}}}, {"question": "那些从未接受过评估的员工的名字是什么?", "predicted": "SELECT employee.Name FROM employee WHERE employee.Employee_ID NOT IN (SELECT evaluation.Employee_ID FROM evaluation)", "gold": "SELECT name FROM employee WHERE Employee_ID NOT IN (SELECT Employee_ID FROM evaluation)", "predicted_parse_error": false, "hardness": "hard", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}}}, {"question": "员工人数最多的商店名称是什么?", "predicted": "SELECT shop.Name FROM shop JOIN hiring ON shop.Shop_ID = hiring.Shop_ID GROUP BY hiring.Shop_ID ORDER BY Count(*) Desc LIMIT 1", "gold": "SELECT t2.name FROM hiring AS t1 JOIN shop AS t2 ON t1.shop_id = t2.shop_id GROUP BY t1.shop_id ORDER BY count(*) DESC LIMIT 1", "predicted_parse_error": false, "hardness": "extra", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 4, "pred_total": 4}}}, {"question": "哪个商店的员工最多?把店名给我。", "predicted": "SELECT shop.Name FROM employee JOIN shop JOIN hiring ON employee.Employee_ID = hiring.Employee_ID AND hiring.Shop_ID = shop.Shop_ID GROUP BY shop.Name ORDER BY Count(*) Desc LIMIT 1", "gold": "SELECT t2.name FROM hiring AS t1 JOIN shop AS t2 ON t1.shop_id = t2.shop_id GROUP BY t1.shop_id ORDER BY count(*) DESC LIMIT 1", "predicted_parse_error": false, "hardness": "extra", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "group": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 4, "pred_total": 4}}}, {"question": "查询不雇佣任何雇员的商店名称。", "predicted": "SELECT shop.Name FROM shop WHERE shop.Shop_ID NOT IN (SELECT hiring.Shop_ID FROM hiring)", "gold": "SELECT name FROM shop WHERE shop_id NOT IN (SELECT shop_id FROM hiring)", "predicted_parse_error": false, "hardness": "hard", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}}}, {"question": "哪些商店没有员工?查找店铺名称", "predicted": "SELECT shop.Name FROM shop WHERE shop.Shop_ID NOT IN (SELECT hiring.Shop_ID FROM hiring)", "gold": "SELECT name FROM shop WHERE shop_id NOT IN (SELECT shop_id FROM hiring)", "predicted_parse_error": false, "hardness": "hard", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}}}, {"question": "查询每个商店雇佣的员工数量;并且显示商店名称。", "predicted": "SELECT shop.Name, Count(*) FROM employee JOIN shop JOIN hiring ON employee.Employee_ID = hiring.Employee_ID AND hiring.Shop_ID = shop.Shop_ID GROUP BY shop.Name", "gold": "SELECT count(*) , t2.name FROM hiring AS t1 JOIN shop AS t2 ON t1.shop_id = t2.shop_id GROUP BY t2.name", "predicted_parse_error": false, "hardness": "medium", "exact": false, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "对于每个商店,返回在那里工作的雇员人数和店名。", "predicted": "SELECT shop.Name, Count(*) FROM employee JOIN shop JOIN hiring ON employee.Employee_ID = hiring.Employee_ID AND hiring.Shop_ID = shop.Shop_ID GROUP BY shop.Name", "gold": "SELECT count(*) , t2.name FROM hiring AS t1 JOIN shop AS t2 ON t1.shop_id = t2.shop_id GROUP BY t2.name", "predicted_parse_error": false, "hardness": "medium", "exact": false, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "所有评审中给出的总奖金是多少?", "predicted": "SELECT Sum(evaluation.Bonus) FROM evaluation", "gold": "SELECT sum(bonus) FROM evaluation", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "查询所有评审中所给出的奖金总额。", "predicted": "SELECT Sum(evaluation.Bonus) FROM evaluation", "gold": "SELECT sum(bonus) FROM evaluation", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "给我有关招聘的所有信息。", "predicted": "SELECT * FROM hiring", "gold": "SELECT * FROM hiring", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "招聘的所有信息是什么?", "predicted": "SELECT * FROM hiring", "gold": "SELECT * FROM hiring", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "哪个地区有少于3000种产品的商店和多于10000种产品的商店?", "predicted": "SELECT shop.District FROM shop WHERE shop.Number_products BETWEEN 3000 AND 10000", "gold": "SELECT district FROM shop WHERE Number_products < 3000 INTERSECT SELECT district FROM shop WHERE Number_products > 10000", "predicted_parse_error": false, "hardness": "hard", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 0}, "keywords": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 1}}}, {"question": "查询那些既有卖不到3000件产品的商店又有卖超过1000件产品的商店的地区。", "predicted": "SELECT shop.District FROM shop WHERE shop.Number_products < 3000 INTERSECT SELECT shop.District FROM shop WHERE shop.Number_products > 1000", "gold": "SELECT district FROM shop WHERE Number_products < 3000 INTERSECT SELECT district FROM shop WHERE Number_products > 10000", "predicted_parse_error": false, "hardness": "hard", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "有多少个不同的商店位置?", "predicted": "SELECT Count(DISTINCT shop.Location) FROM shop", "gold": "SELECT count(DISTINCT LOCATION) FROM shop", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "计算不同商店位置的数量。", "predicted": "SELECT Count(DISTINCT shop.Location) FROM shop", "gold": "SELECT count(DISTINCT LOCATION) FROM shop", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "我们有多少份文件?", "predicted": "SELECT Count(*) FROM Documents", "gold": "SELECT count(*) FROM Documents", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "计算文件的数量。", "predicted": "SELECT Count(*) FROM Documents", "gold": "SELECT count(*) FROM Documents", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "列出所有文档的文档ID、文档名称和文档描述。", "predicted": "SELECT Documents.Document_ID, Documents.Document_Name, Documents.Document_Description FROM Documents", "gold": "SELECT document_id , document_name , document_description FROM Documents", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "所有文档的ID、名称和描述是什么?", "predicted": "SELECT Documents.Document_ID, Documents.Document_Name, Documents.Document_Description FROM Documents", "gold": "SELECT document_id , document_name , document_description FROM Documents", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "描述中带有字母“w”的文档名称和模板id是什么?", "predicted": "SELECT Documents.Document_Name, Documents.Template_ID FROM Documents WHERE Documents.Document_Description LIKE \"%w%\"", "gold": "SELECT document_name , template_id FROM Documents WHERE Document_Description LIKE \"%w%\"", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "返回描述中包含字母“w”的文档的名称和模板ID。", "predicted": "SELECT Documents.Document_Name, Documents.Template_ID FROM Documents WHERE Documents.Document_Description LIKE \"%w%\"", "gold": "SELECT document_name , template_id FROM Documents WHERE Document_Description LIKE \"%w%\"", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "“Robbin CV”文档的文档ID、模板id和描述是什么?", "predicted": "SELECT Documents.Document_ID, Documents.Template_ID, Documents.Document_Description FROM Documents WHERE Documents.Document_Name = \"Aber\"", "gold": "SELECT document_id , template_id , Document_Description FROM Documents WHERE document_name = \"Robbin CV\"", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "返回名称为“Robbin CV”的文档的文档ID、模板id和描述。", "predicted": "SELECT Documents.Document_ID, Documents.Template_ID, Documents.Document_Description FROM Documents WHERE Documents.Document_Name = \"Aber\"", "gold": "SELECT document_id , template_id , Document_Description FROM Documents WHERE document_name = \"Robbin CV\"", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "所有文档使用的不同模板有多少?", "predicted": "SELECT Count(DISTINCT Documents.Template_ID) FROM Documents", "gold": "SELECT count(DISTINCT template_id) FROM Documents", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "计算文档中使用的不同模板的数量。", "predicted": "SELECT Count(DISTINCT Documents.Template_ID) FROM Documents", "gold": "SELECT count(DISTINCT template_id) FROM Documents", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "有多少文档使用“PPT”类型的模板?", "predicted": "SELECT Count(*) FROM Templates JOIN Documents ON Templates.Template_ID = Documents.Template_ID WHERE Templates.Template_Type_Code = \"PPT\"", "gold": "SELECT count(*) FROM Documents AS T1 JOIN Templates AS T2 ON T1.Template_ID = T2.Template_ID WHERE T2.Template_Type_Code = 'PPT'", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "计算使用“PPT”类型的模板的文档数。", "predicted": "SELECT Count(*) FROM Templates JOIN Documents ON Templates.Template_ID = Documents.Template_ID WHERE Templates.Template_Type_Code = \"PPT\"", "gold": "SELECT count(*) FROM Documents AS T1 JOIN Templates AS T2 ON T1.Template_ID = T2.Template_ID WHERE T2.Template_Type_Code = 'PPT'", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "显示所有被使用的模板ID和每个模板被文档使用次数。", "predicted": "SELECT Documents.Template_ID, Count(*) FROM Documents GROUP BY Documents.Template_ID", "gold": "SELECT template_id , count(*) FROM Documents GROUP BY template_id", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "文档中使用的所有不同的模板ID是什么,以及每个模板被使用了多少次?", "predicted": "SELECT Documents.Template_ID, Count(*) FROM Documents GROUP BY Documents.Template_ID", "gold": "SELECT template_id , count(*) FROM Documents GROUP BY template_id", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "被文档使用次数最多的模板的ID和类型代码是什么?", "predicted": "SELECT Templates.Template_ID, Templates.Template_Type_Code FROM Templates JOIN Documents ON Templates.Template_ID = Documents.Template_ID GROUP BY Templates.Template_ID ORDER BY Count(*) Desc LIMIT 1", "gold": "SELECT T1.template_id , T2.Template_Type_Code FROM Documents AS T1 JOIN Templates AS T2 ON T1.template_id = T2.template_id GROUP BY T1.template_id ORDER BY count(*) DESC LIMIT 1", "predicted_parse_error": false, "hardness": "extra", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 4, "pred_total": 4}}}, {"question": "返回被文档所使用次数最多的模板的ID和类型代码。", "predicted": "SELECT Templates.Template_ID, Templates.Template_Type_Code FROM Templates JOIN Documents ON Templates.Template_ID = Documents.Template_ID GROUP BY Templates.Template_ID ORDER BY Count(*) Desc LIMIT 1", "gold": "SELECT T1.template_id , T2.Template_Type_Code FROM Documents AS T1 JOIN Templates AS T2 ON T1.template_id = T2.template_id GROUP BY T1.template_id ORDER BY count(*) DESC LIMIT 1", "predicted_parse_error": false, "hardness": "extra", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 4, "pred_total": 4}}}, {"question": "显示所有不止一次被文档使用的模板的ID。", "predicted": "SELECT Documents.Template_ID FROM Documents GROUP BY Documents.Template_ID HAVING Count(*) > 1", "gold": "SELECT template_id FROM Documents GROUP BY template_id HAVING count(*) > 1", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "在不止一个文档中使用的模板的ID是什么?", "predicted": "SELECT Documents.Template_ID FROM Documents GROUP BY Documents.Template_ID HAVING Count(*) > 1", "gold": "SELECT template_id FROM Documents GROUP BY template_id HAVING count(*) > 1", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "显示所有没被文档所使用过的模板的ID。", "predicted": "SELECT Templates.Template_ID FROM Templates EXCEPT SELECT Documents.Template_ID FROM Documents", "gold": "SELECT template_id FROM Templates EXCEPT SELECT template_id FROM Documents", "predicted_parse_error": false, "hardness": "hard", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "在任何文档中都没被使用的模板的ID是什么?", "predicted": "SELECT Templates.Template_ID FROM Templates EXCEPT SELECT Documents.Template_ID FROM Documents", "gold": "SELECT template_id FROM Templates EXCEPT SELECT template_id FROM Documents", "predicted_parse_error": false, "hardness": "hard", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "我们有多少模板?", "predicted": "SELECT Count(*) FROM Templates", "gold": "SELECT count(*) FROM Templates", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "计算模板的数量。", "predicted": "SELECT Count(*) FROM Templates", "gold": "SELECT count(*) FROM Templates", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "显示所有模板的ID、版本号和模板类型代码。", "predicted": "SELECT Templates.Template_ID, Templates.Version_Number, Templates.Template_Type_Code FROM Templates", "gold": "SELECT template_id , version_number , template_type_code FROM Templates", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "每个模板的ID、版本号和类型代码是什么?", "predicted": "SELECT Templates.Template_ID, Templates.Version_Number, Templates.Template_Type_Code FROM Templates", "gold": "SELECT template_id , version_number , template_type_code FROM Templates", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "显示所有不同的模板类型代码。", "predicted": "SELECT DISTINCT Templates.Template_Type_Code FROM Ref_Template_Types JOIN Templates ON Ref_Template_Types.Template_Type_Code = Templates.Template_Type_Code", "gold": "SELECT DISTINCT template_type_code FROM Templates", "predicted_parse_error": false, "hardness": "easy", "exact": false, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "不同的模板类型代码是什么?", "predicted": "SELECT DISTINCT Ref_Template_Types.Template_Type_Code FROM Ref_Template_Types", "gold": "SELECT DISTINCT template_type_code FROM Templates", "predicted_parse_error": false, "hardness": "easy", "exact": false, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "模板类型代码是“PP”或“PPT”的模板ID是什么?", "predicted": "SELECT Templates.Template_ID FROM Templates WHERE Templates.Template_Type_Code = \"PP\" OR Templates.Template_Type_Code = \"PPT\"", "gold": "SELECT template_id FROM Templates WHERE template_type_code = \"PP\" OR template_type_code = \"PPT\"", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "返回具有代码“PP”或“PPT”的模板的ID。", "predicted": "SELECT Templates.Template_ID FROM Templates WHERE Templates.Template_Type_Code = \"PP\" OR Templates.Template_Type_Code = \"PPT\"", "gold": "SELECT template_id FROM Templates WHERE template_type_code = \"PP\" OR template_type_code = \"PPT\"", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "有多少个模板的模板类型代码为“CV”?", "predicted": "SELECT Count(*) FROM Templates WHERE Templates.Template_Type_Code = \"CV\"", "gold": "SELECT count(*) FROM Templates WHERE template_type_code = \"CV\"", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "计算“CV”类型的模板数。", "predicted": "SELECT Count(*) FROM Templates WHERE Templates.Template_Type_Code = \"CV\"", "gold": "SELECT count(*) FROM Templates WHERE template_type_code = \"CV\"", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "版本号晚于5的模板的版本号和模板类型代码是什么?", "predicted": "SELECT Templates.Version_Number, Templates.Template_Type_Code FROM Templates WHERE Templates.Version_Number < 5", "gold": "SELECT version_number , template_type_code FROM Templates WHERE version_number > 5", "predicted_parse_error": false, "hardness": "medium", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "返回版本号大于5的模板的版本号和模板类型代码。", "predicted": "SELECT Templates.Version_Number, Templates.Template_Type_Code FROM Templates WHERE Templates.Version_Number > 5", "gold": "SELECT version_number , template_type_code FROM Templates WHERE version_number > 5", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "显示所有模板类型代码和每个模板的模板数。", "predicted": "SELECT Templates.Template_Type_Code, Count(*) FROM Templates GROUP BY Templates.Template_Type_Code", "gold": "SELECT template_type_code , count(*) FROM Templates GROUP BY template_type_code", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "不同的模板类型代码是什么,每个模板类型对应多少个模板?", "predicted": "SELECT Templates.Template_Type_Code, Count(*) FROM Templates GROUP BY Templates.Template_Type_Code", "gold": "SELECT template_type_code , count(*) FROM Templates GROUP BY template_type_code", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "哪个模板类型代码对应的模板数量最多?", "predicted": "SELECT Templates.Template_Type_Code FROM Templates GROUP BY Templates.Template_Type_Code ORDER BY Count(*) Desc LIMIT 1", "gold": "SELECT template_type_code FROM Templates GROUP BY template_type_code ORDER BY count(*) DESC LIMIT 1", "predicted_parse_error": false, "hardness": "hard", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 4, "pred_total": 4}}}, {"question": "返回数量最多的模板所属的模板类型的类型代码。", "predicted": "SELECT Templates.Template_Type_Code FROM Templates GROUP BY Templates.Template_Type_Code ORDER BY Count(*) Desc LIMIT 1", "gold": "SELECT template_type_code FROM Templates GROUP BY template_type_code ORDER BY count(*) DESC LIMIT 1", "predicted_parse_error": false, "hardness": "hard", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 4, "pred_total": 4}}}, {"question": "显示少于三个模板的所有模板类型代码。", "predicted": "SELECT Templates.Template_Type_Code FROM Templates GROUP BY Templates.Template_Type_Code HAVING Count(*) < 3", "gold": "SELECT template_type_code FROM Templates GROUP BY template_type_code HAVING count(*) < 3", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "少于3个模板的模板类型代码是什么?", "predicted": "SELECT Templates.Template_Type_Code FROM Templates GROUP BY Templates.Template_Type_Code HAVING Count(*) < 3", "gold": "SELECT template_type_code FROM Templates GROUP BY template_type_code HAVING count(*) < 3", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "最小版本号及其模板类型代码是什么?", "predicted": "SELECT Templates.Version_Number, Templates.Template_Type_Code FROM Templates", "gold": "SELECT min(Version_Number) , template_type_code FROM Templates", "predicted_parse_error": false, "hardness": "medium", "exact": 0, "partial": {"select": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "返回最低版本号及其对应的模板类型代码。", "predicted": "SELECT Templates.Version_Number, Templates.Template_Type_Code FROM Templates ORDER BY Templates.Version_Number Asc LIMIT 1", "gold": "SELECT min(Version_Number) , template_type_code FROM Templates", "predicted_parse_error": false, "hardness": "medium", "exact": 0, "partial": {"select": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 3}}}, {"question": "名称为“Data base”的文档所使用的模板的模板类型代码是什么?", "predicted": "SELECT Templates.Template_Type_Code FROM Templates JOIN Documents ON Templates.Template_ID = Documents.Template_ID WHERE Documents.Document_Name = \"Paper\"", "gold": "SELECT T1.template_type_code FROM Templates AS T1 JOIN Documents AS T2 ON T1.template_id = T2.template_id WHERE T2.document_name = \"Data base\"", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "返回名为“Data base”的文档使用的模板的模板类型代码。", "predicted": "SELECT Templates.Template_Type_Code FROM Templates JOIN Documents ON Templates.Template_ID = Documents.Template_ID WHERE Documents.Document_Name = \"Paper\"", "gold": "SELECT T1.template_type_code FROM Templates AS T1 JOIN Documents AS T2 ON T1.template_id = T2.template_id WHERE T2.document_name = \"Data base\"", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "显示所有使用模板类型代码为“BK”的文档名称。", "predicted": "SELECT Documents.Document_Name FROM Templates JOIN Documents ON Templates.Template_ID = Documents.Template_ID WHERE Templates.Template_Type_Code = \"BK\"", "gold": "SELECT T2.document_name FROM Templates AS T1 JOIN Documents AS T2 ON T1.template_id = T2.template_id WHERE T1.template_type_code = \"BK\"", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "使用模板代码为“BK”的文档的名称是什么?", "predicted": "SELECT Documents.Document_Name FROM Templates JOIN Documents ON Templates.Template_ID = Documents.Template_ID WHERE Templates.Template_Type_Code = \"BK\"", "gold": "SELECT T2.document_name FROM Templates AS T1 JOIN Documents AS T2 ON T1.template_id = T2.template_id WHERE T1.template_type_code = \"BK\"", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "显示所有模板类型代码和使用每个类型的文档的数量。", "predicted": "SELECT Templates.Template_Type_Code, Count(*) FROM Templates GROUP BY Templates.Template_Type_Code", "gold": "SELECT T1.template_type_code , count(*) FROM Templates AS T1 JOIN Documents AS T2 ON T1.template_id = T2.template_id GROUP BY T1.template_type_code", "predicted_parse_error": false, "hardness": "medium", "exact": false, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "不同的模板类型代码是什么?以及每个类型被多少个文档使用?", "predicted": "SELECT Templates.Template_Type_Code, Count(*) FROM Templates GROUP BY Templates.Template_Type_Code", "gold": "SELECT T1.template_type_code , count(*) FROM Templates AS T1 JOIN Documents AS T2 ON T1.template_id = T2.template_id GROUP BY T1.template_type_code", "predicted_parse_error": false, "hardness": "medium", "exact": false, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "哪种模板类型代码被文档使用的最多?", "predicted": "SELECT Templates.Template_Type_Code FROM Templates GROUP BY Templates.Template_Type_Code ORDER BY Count(*) Desc LIMIT 1", "gold": "SELECT T1.template_type_code FROM Templates AS T1 JOIN Documents AS T2 ON T1.template_id = T2.template_id GROUP BY T1.template_type_code ORDER BY count(*) DESC LIMIT 1", "predicted_parse_error": false, "hardness": "extra", "exact": false, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 4, "pred_total": 4}}}, {"question": "返回文档中最常用的模板类型的代码。", "predicted": "SELECT Templates.Template_Type_Code FROM Templates GROUP BY Templates.Template_Type_Code ORDER BY Count(*) Desc LIMIT 1", "gold": "SELECT T1.template_type_code FROM Templates AS T1 JOIN Documents AS T2 ON T1.template_id = T2.template_id GROUP BY T1.template_type_code ORDER BY count(*) DESC LIMIT 1", "predicted_parse_error": false, "hardness": "extra", "exact": false, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 4, "pred_total": 4}}}, {"question": "显示任何文档都没使用过的所有模板类型代码。", "predicted": "SELECT Ref_Template_Types.Template_Type_Code FROM Ref_Template_Types EXCEPT SELECT Templates.Template_Type_Code FROM Templates", "gold": "SELECT template_type_code FROM Templates EXCEPT SELECT template_type_code FROM Templates AS T1 JOIN Documents AS T2 ON T1.template_id = T2.template_id", "predicted_parse_error": false, "hardness": "hard", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "任何文档都没使用过的的模板类型代码有哪些?", "predicted": "SELECT Ref_Template_Types.Template_Type_Code FROM Ref_Template_Types EXCEPT SELECT Templates.Template_Type_Code FROM Templates", "gold": "SELECT template_type_code FROM Templates EXCEPT SELECT template_type_code FROM Templates AS T1 JOIN Documents AS T2 ON T1.template_id = T2.template_id", "predicted_parse_error": false, "hardness": "hard", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "显示所有模板类型代码和说明。", "predicted": "SELECT Ref_Template_Types.Template_Type_Code, Ref_Template_Types.Template_Type_Description FROM Ref_Template_Types", "gold": "SELECT template_type_code , template_type_description FROM Ref_template_types", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "所有模板类型的类型代码和描述是什么?", "predicted": "SELECT Ref_Template_Types.Template_Type_Code, Ref_Template_Types.Template_Type_Description FROM Ref_Template_Types", "gold": "SELECT template_type_code , template_type_description FROM Ref_template_types", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "模板类型代码“AD”的模板类型说明是什么?", "predicted": "SELECT Ref_Template_Types.Template_Type_Description FROM Ref_Template_Types WHERE Ref_Template_Types.Template_Type_Code = \"AD\"", "gold": "SELECT template_type_description FROM Ref_template_types WHERE template_type_code = \"AD\"", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "返回模板类型代码是“AD”的模板类型描述。", "predicted": "SELECT Ref_Template_Types.Template_Type_Description FROM Ref_Template_Types WHERE Ref_Template_Types.Template_Type_Code = \"AD\"", "gold": "SELECT template_type_description FROM Ref_template_types WHERE template_type_code = \"AD\"", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "模板类型描述是“Book”的模板类型代码是什么?", "predicted": "SELECT Ref_Template_Types.Template_Type_Code FROM Ref_Template_Types WHERE Ref_Template_Types.Template_Type_Description = \"Book\"", "gold": "SELECT template_type_code FROM Ref_template_types WHERE template_type_description = \"Book\"", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "返回描述是“Book”的模板类型的类型代码。", "predicted": "SELECT Ref_Template_Types.Template_Type_Code FROM Ref_Template_Types WHERE Ref_Template_Types.Template_Type_Description = \"Book\"", "gold": "SELECT template_type_code FROM Ref_template_types WHERE template_type_description = \"Book\"", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "对于任何文档使用过的模板,都有哪些不同的模板类型描述?", "predicted": "SELECT DISTINCT Ref_Template_Types.Template_Type_Description FROM Ref_Template_Types", "gold": "SELECT DISTINCT T1.template_type_description FROM Ref_template_types AS T1 JOIN Templates AS T2 ON T1.template_type_code = T2.template_type_code JOIN Documents AS T3 ON T2.Template_ID = T3.template_ID", "predicted_parse_error": false, "hardness": "medium", "exact": false, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "返回文档中使用过的不同的模板类型描述。", "predicted": "SELECT DISTINCT Ref_Template_Types.Template_Type_Description FROM Ref_Template_Types JOIN Templates ON Ref_Template_Types.Template_Type_Code = Templates.Template_Type_Code", "gold": "SELECT DISTINCT T1.template_type_description FROM Ref_template_types AS T1 JOIN Templates AS T2 ON T1.template_type_code = T2.template_type_code JOIN Documents AS T3 ON T2.Template_ID = T3.template_ID", "predicted_parse_error": false, "hardness": "medium", "exact": false, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "模板类型描述是“Presentation”的模板ID是什么?", "predicted": "SELECT Templates.Template_ID FROM Ref_Template_Types JOIN Templates ON Ref_Template_Types.Template_Type_Code = Templates.Template_Type_Code WHERE Ref_Template_Types.Template_Type_Description = \"Gocment\"", "gold": "SELECT T2.template_id FROM Ref_template_types AS T1 JOIN Templates AS T2 ON T1.template_type_code = T2.template_type_code WHERE T1.template_type_description = \"Presentation\"", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "返回对应描述为“Presentation”的模板的ID。", "predicted": "SELECT Templates.Template_ID FROM Ref_Template_Types JOIN Templates ON Ref_Template_Types.Template_Type_Code = Templates.Template_Type_Code WHERE Ref_Template_Types.Template_Type_Description = \"Gocment\"", "gold": "SELECT T2.template_id FROM Ref_template_types AS T1 JOIN Templates AS T2 ON T1.template_type_code = T2.template_type_code WHERE T1.template_type_description = \"Presentation\"", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "总共有多少段落?", "predicted": "SELECT Count(*) FROM Paragraphs", "gold": "SELECT count(*) FROM Paragraphs", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "计算段落数。", "predicted": "SELECT Count(*) FROM Paragraphs", "gold": "SELECT count(*) FROM Paragraphs", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "名为“Summer Show'”的文件有多少段落?", "predicted": "SELECT Count(*) FROM Documents JOIN Paragraphs ON Documents.Document_ID = Paragraphs.Document_ID WHERE Documents.Document_Name = \"King\"", "gold": "SELECT count(*) FROM Paragraphs AS T1 JOIN Documents AS T2 ON T1.document_ID = T2.document_ID WHERE T2.document_name = 'Summer Show'", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "计算名为“Summer Show'”的文件的段落数。", "predicted": "SELECT Count(*) FROM Documents JOIN Paragraphs ON Documents.Document_ID = Paragraphs.Document_ID WHERE Documents.Document_Name = \"King\"", "gold": "SELECT count(*) FROM Paragraphs AS T1 JOIN Documents AS T2 ON T1.document_ID = T2.document_ID WHERE T2.document_name = 'Summer Show'", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "显示包含文本“Korea”的段落的详细内容。", "predicted": "SELECT Paragraphs.Other_Details FROM Paragraphs WHERE Paragraphs.Paragraph_Text LIKE \"Korea%\"", "gold": "select other_details from paragraphs where paragraph_text like 'korea'", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "包含“Korea”一词的段落的详细内容是什么?", "predicted": "SELECT Paragraphs.Other_Details FROM Paragraphs WHERE Paragraphs.Paragraph_Text LIKE \"%Korea%\"", "gold": "select other_details from paragraphs where paragraph_text like 'korea'", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "显示名称为“Welcome to NY”的文件的所有段落ID和文本。", "predicted": "SELECT Paragraphs.Paragraph_ID, Paragraphs.Paragraph_Text FROM Documents JOIN Paragraphs ON Documents.Document_ID = Paragraphs.Document_ID WHERE Documents.Document_Name = \"Booteing\"", "gold": "SELECT T1.paragraph_id , T1.paragraph_text FROM Paragraphs AS T1 JOIN Documents AS T2 ON T1.document_id = T2.document_id WHERE T2.Document_Name = 'Welcome to NY'", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "在名称为“Welcome to NY”的文件中,段落的ID和文本是什么?", "predicted": "SELECT Paragraphs.Paragraph_ID, Paragraphs.Paragraph_Text FROM Documents JOIN Paragraphs ON Documents.Document_ID = Paragraphs.Document_ID WHERE Documents.Document_Name = \"Ry\"", "gold": "SELECT T1.paragraph_id , T1.paragraph_text FROM Paragraphs AS T1 JOIN Documents AS T2 ON T1.document_id = T2.document_id WHERE T2.Document_Name = 'Welcome to NY'", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "显示名称为“Customer reviews”的文档的所有段落文本。", "predicted": "SELECT Paragraphs.Paragraph_Text FROM Documents JOIN Paragraphs ON Documents.Document_ID = Paragraphs.Document_ID WHERE Documents.Document_Name = \"Robins\"", "gold": "SELECT T1.paragraph_text FROM Paragraphs AS T1 JOIN Documents AS T2 ON T1.document_id = T2.document_id WHERE T2.document_name = \"Customer reviews\"", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "名称为“Customer reviews”的文档中的段落文本是什么?", "predicted": "SELECT Paragraphs.Paragraph_Text FROM Documents JOIN Paragraphs ON Documents.Document_ID = Paragraphs.Document_ID WHERE Documents.Document_Name = \"Gs\"", "gold": "SELECT T1.paragraph_text FROM Paragraphs AS T1 JOIN Documents AS T2 ON T1.document_id = T2.document_id WHERE T2.document_name = \"Customer reviews\"", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "按文档ID排序,显示所有文档ID和每个文档中的段落数。", "predicted": "SELECT Paragraphs.Document_ID, Count(*) FROM Paragraphs GROUP BY Paragraphs.Document_ID ORDER BY Count(*) Asc", "gold": "SELECT document_id , count(*) FROM Paragraphs GROUP BY document_id ORDER BY document_id", "predicted_parse_error": false, "hardness": "medium", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}}}, {"question": "按id排序,返回不同的文档id以及每个文档对应的段落数量。", "predicted": "SELECT Paragraphs.Document_ID, Count(*) FROM Paragraphs GROUP BY Paragraphs.Document_ID ORDER BY Count(*) Asc", "gold": "SELECT document_id , count(*) FROM Paragraphs GROUP BY document_id ORDER BY document_id", "predicted_parse_error": false, "hardness": "medium", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}}}, {"question": "显示所有文档ID、名称和每个文档中的段落数。", "predicted": "SELECT Documents.Document_ID, Documents.Document_Name, Count(*) FROM Documents JOIN Paragraphs ON Documents.Document_ID = Paragraphs.Document_ID GROUP BY Documents.Document_ID", "gold": "SELECT T1.document_id , T2.document_name , count(*) FROM Paragraphs AS T1 JOIN Documents AS T2 ON T1.document_id = T2.document_id GROUP BY T1.document_id", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "每个文档的id和名称是什么,以及每个文档中的段落数量是多少?", "predicted": "SELECT Documents.Document_ID, Documents.Document_Name, Count(*) FROM Documents JOIN Paragraphs ON Documents.Document_ID = Paragraphs.Document_ID GROUP BY Documents.Document_ID", "gold": "SELECT T1.document_id , T2.document_name , count(*) FROM Paragraphs AS T1 JOIN Documents AS T2 ON T1.document_id = T2.document_id GROUP BY T1.document_id", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "列出至少包含两个段落的所有文档的ID。", "predicted": "SELECT Paragraphs.Document_ID FROM Paragraphs GROUP BY Paragraphs.Document_ID HAVING Count(*) >= 2", "gold": "SELECT document_id FROM Paragraphs GROUP BY document_id HAVING count(*) >= 2", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "有2个或更多段落的文档的ID是什么?", "predicted": "SELECT Paragraphs.Document_ID FROM Paragraphs GROUP BY Paragraphs.Document_ID HAVING Count(*) >= 2", "gold": "SELECT document_id FROM Paragraphs GROUP BY document_id HAVING count(*) >= 2", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "段落数量最多的文档的ID和名称是什么?", "predicted": "SELECT Documents.Document_ID, Documents.Document_Name FROM Documents JOIN Paragraphs ON Documents.Document_ID = Paragraphs.Document_ID GROUP BY Documents.Document_ID ORDER BY Count(*) Desc LIMIT 1", "gold": "SELECT T1.document_id , T2.document_name FROM Paragraphs AS T1 JOIN Documents AS T2 ON T1.document_id = T2.document_id GROUP BY T1.document_id ORDER BY count(*) DESC LIMIT 1", "predicted_parse_error": false, "hardness": "extra", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 4, "pred_total": 4}}}, {"question": "返回拥有最多段落数量的文档的ID和名称。", "predicted": "SELECT Documents.Document_ID, Documents.Document_Name FROM Documents JOIN Paragraphs ON Documents.Document_ID = Paragraphs.Document_ID GROUP BY Documents.Document_ID ORDER BY Count(*) Desc LIMIT 1", "gold": "SELECT T1.document_id , T2.document_name FROM Paragraphs AS T1 JOIN Documents AS T2 ON T1.document_id = T2.document_id GROUP BY T1.document_id ORDER BY count(*) DESC LIMIT 1", "predicted_parse_error": false, "hardness": "extra", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 4, "pred_total": 4}}}, {"question": "段落数量最少的文档的ID是多少?", "predicted": "SELECT Paragraphs.Document_ID FROM Documents JOIN Paragraphs ON Documents.Document_ID = Paragraphs.Document_ID GROUP BY Paragraphs.Document_ID ORDER BY Count(*) Asc LIMIT 1", "gold": "SELECT document_id FROM Paragraphs GROUP BY document_id ORDER BY count(*) ASC LIMIT 1", "predicted_parse_error": false, "hardness": "hard", "exact": false, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 4, "pred_total": 4}}}, {"question": "返回段落数量最少的文档的ID。", "predicted": "SELECT Paragraphs.Document_ID FROM Documents JOIN Paragraphs ON Documents.Document_ID = Paragraphs.Document_ID GROUP BY Paragraphs.Document_ID ORDER BY Count(*) Asc LIMIT 1", "gold": "SELECT document_id FROM Paragraphs GROUP BY document_id ORDER BY count(*) ASC LIMIT 1", "predicted_parse_error": false, "hardness": "hard", "exact": false, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 4, "pred_total": 4}}}, {"question": "有1个到2个段落的文档ID是什么?", "predicted": "SELECT Paragraphs.Document_ID FROM Paragraphs GROUP BY Paragraphs.Document_ID HAVING Count(*) BETWEEN 1 AND 1", "gold": "SELECT document_id FROM Paragraphs GROUP BY document_id HAVING count(*) BETWEEN 1 AND 2", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "给出包含一到两个段落的文档的ID。", "predicted": "SELECT Paragraphs.Document_ID FROM Paragraphs GROUP BY Paragraphs.Document_ID HAVING Count(*) BETWEEN 2 AND 2", "gold": "SELECT document_id FROM Paragraphs GROUP BY document_id HAVING count(*) BETWEEN 1 AND 2", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "显示段落包含文本“Brazil”和“Ireland”的文档的ID。", "predicted": "SELECT Paragraphs.Document_ID FROM Paragraphs WHERE Paragraphs.Paragraph_Text = \"%Mar\" INTERSECT SELECT Paragraphs.Document_ID FROM Paragraphs WHERE Paragraphs.Paragraph_Text = \"Night\"", "gold": "SELECT document_id FROM Paragraphs WHERE paragraph_text = 'Brazil' INTERSECT SELECT document_id FROM Paragraphs WHERE paragraph_text = 'Ireland'", "predicted_parse_error": false, "hardness": "hard", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "段落包含文本“Brazil”和“Ireland”的文档的ID是什么?", "predicted": "SELECT Paragraphs.Document_ID FROM Paragraphs WHERE Paragraphs.Paragraph_Text = \"%s\" INTERSECT SELECT Paragraphs.Document_ID FROM Paragraphs WHERE Paragraphs.Paragraph_Text = \"%s%\"", "gold": "SELECT document_id FROM Paragraphs WHERE paragraph_text = 'Brazil' INTERSECT SELECT document_id FROM Paragraphs WHERE paragraph_text = 'Ireland'", "predicted_parse_error": false, "hardness": "hard", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "有多少老师?", "predicted": "SELECT Count(*) FROM teacher", "gold": "SELECT count(*) FROM teacher", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "教师总数是多少?", "predicted": "SELECT Count(*) FROM teacher", "gold": "SELECT count(*) FROM teacher", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "按年龄递增顺序列出教师姓名。", "predicted": "SELECT teacher.Name FROM teacher ORDER BY teacher.Age Asc", "gold": "SELECT Name FROM teacher ORDER BY Age ASC", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "按照年龄递增排序,老师的姓名是什么?", "predicted": "SELECT teacher.Name FROM teacher ORDER BY teacher.Age Asc", "gold": "SELECT Name FROM teacher ORDER BY Age ASC", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "教师的年龄和家乡是什么?", "predicted": "SELECT teacher.Age, teacher.Hometown FROM teacher", "gold": "SELECT Age , Hometown FROM teacher", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "每个老师的年龄和家乡是什么?", "predicted": "SELECT teacher.Age, teacher.Hometown FROM teacher", "gold": "SELECT Age , Hometown FROM teacher", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "列出家乡不是“Little Lever Urban District”的教师的姓名。", "predicted": "SELECT teacher.Name FROM teacher WHERE teacher.Hometown != \"Loss\"", "gold": "select name from teacher where hometown != \"little lever urban district\"", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "家乡不是“Little Lever Urban District”的老师叫什么名字?", "predicted": "SELECT teacher.Name FROM teacher WHERE teacher.Hometown != \"Columbus\"", "gold": "select name from teacher where hometown != \"little lever urban district\"", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "显示32岁或33岁的教师姓名。", "predicted": "SELECT teacher.Name FROM teacher WHERE teacher.Age = 32 OR teacher.Age = 33", "gold": "SELECT Name FROM teacher WHERE Age = 32 OR Age = 33", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "32岁或33岁的老师的名字是什么?", "predicted": "SELECT teacher.Name FROM teacher WHERE teacher.Age = 32 OR teacher.Age = 33", "gold": "SELECT Name FROM teacher WHERE Age = 32 OR Age = 33", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "最年轻的老师的家乡是哪里?", "predicted": "SELECT teacher.Hometown FROM teacher ORDER BY teacher.Age Asc LIMIT 1", "gold": "SELECT Hometown FROM teacher ORDER BY Age ASC LIMIT 1", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}}}, {"question": "最年轻的老师来自哪里?", "predicted": "SELECT teacher.Hometown FROM teacher ORDER BY teacher.Age Asc LIMIT 1", "gold": "SELECT Hometown FROM teacher ORDER BY Age ASC LIMIT 1", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}}}, {"question": "展示来自不同家乡的教师和来自每个家乡的教师数量。", "predicted": "SELECT teacher.Hometown, Count(*) FROM teacher GROUP BY teacher.Hometown", "gold": "SELECT Hometown , COUNT(*) FROM teacher GROUP BY Hometown", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "每一个家乡对应有多少老师?", "predicted": "SELECT teacher.Hometown, Count(*) FROM teacher GROUP BY teacher.Hometown", "gold": "SELECT Hometown , COUNT(*) FROM teacher GROUP BY Hometown", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "列出最常见的教师的家乡。", "predicted": "SELECT teacher.Hometown FROM teacher GROUP BY teacher.Hometown ORDER BY Count(*) Desc LIMIT 1", "gold": "SELECT Hometown FROM teacher GROUP BY Hometown ORDER BY COUNT(*) DESC LIMIT 1", "predicted_parse_error": false, "hardness": "hard", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 4, "pred_total": 4}}}, {"question": "最常见的教师的家乡是哪里?", "predicted": "SELECT teacher.Hometown FROM teacher GROUP BY teacher.Hometown ORDER BY Count(*) Desc LIMIT 1", "gold": "SELECT Hometown FROM teacher GROUP BY Hometown ORDER BY COUNT(*) DESC LIMIT 1", "predicted_parse_error": false, "hardness": "hard", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 4, "pred_total": 4}}}, {"question": "展示至少有两位老师来自的家乡。", "predicted": "SELECT teacher.Hometown FROM teacher GROUP BY teacher.Hometown HAVING Count(*) >= 2", "gold": "SELECT Hometown FROM teacher GROUP BY Hometown HAVING COUNT(*) >= 2", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "至少有两位教师来自的家乡是哪些?", "predicted": "SELECT teacher.Hometown FROM teacher GROUP BY teacher.Hometown HAVING Count(*) >= 2", "gold": "SELECT Hometown FROM teacher GROUP BY Hometown HAVING COUNT(*) >= 2", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "展示老师的名字和安排他们教的课程。", "predicted": "SELECT teacher.Name, course.Course FROM course JOIN teacher JOIN course_arrange ON course.Course_ID = course_arrange.Course_ID AND course_arrange.Teacher_ID = teacher.Teacher_ID", "gold": "SELECT T3.Name , T2.Course FROM course_arrange AS T1 JOIN course AS T2 ON T1.Course_ID = T2.Course_ID JOIN teacher AS T3 ON T1.Teacher_ID = T3.Teacher_ID", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "每个老师的名字是什么?他们教什么课程?", "predicted": "SELECT teacher.Name, course.Course FROM course JOIN teacher JOIN course_arrange ON course.Course_ID = course_arrange.Course_ID AND course_arrange.Teacher_ID = teacher.Teacher_ID", "gold": "SELECT T3.Name , T2.Course FROM course_arrange AS T1 JOIN course AS T2 ON T1.Course_ID = T2.Course_ID JOIN teacher AS T3 ON T1.Teacher_ID = T3.Teacher_ID", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "按照老师名字的字母升序排列,显示老师的名字和安排他们教的课程。", "predicted": "SELECT teacher.Name, course.Course FROM course JOIN teacher JOIN course_arrange ON course.Course_ID = course_arrange.Course_ID AND course_arrange.Teacher_ID = teacher.Teacher_ID ORDER BY teacher.Name Asc", "gold": "SELECT T3.Name , T2.Course FROM course_arrange AS T1 JOIN course AS T2 ON T1.Course_ID = T2.Course_ID JOIN teacher AS T3 ON T1.Teacher_ID = T3.Teacher_ID ORDER BY T3.Name", "predicted_parse_error": false, "hardness": "hard", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "将老师姓名按字母顺序升序排列,老师的姓名和他们教的课程是什么?", "predicted": "SELECT teacher.Name, course.Course FROM course JOIN teacher JOIN course_arrange ON course.Course_ID = course_arrange.Course_ID AND course_arrange.Teacher_ID = teacher.Teacher_ID ORDER BY teacher.Name Asc", "gold": "SELECT T3.Name , T2.Course FROM course_arrange AS T1 JOIN course AS T2 ON T1.Course_ID = T2.Course_ID JOIN teacher AS T3 ON T1.Teacher_ID = T3.Teacher_ID ORDER BY T3.Name", "predicted_parse_error": false, "hardness": "hard", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "展示数学课的老师的名字。", "predicted": "SELECT teacher.Name FROM course JOIN teacher JOIN course_arrange ON course.Course_ID = course_arrange.Course_ID AND course_arrange.Teacher_ID = teacher.Teacher_ID WHERE course.Course = \"\"", "gold": "SELECT T3.Name FROM course_arrange AS T1 JOIN course AS T2 ON T1.Course_ID = T2.Course_ID JOIN teacher AS T3 ON T1.Teacher_ID = T3.Teacher_ID WHERE T2.Course = \"Math\"", "predicted_parse_error": false, "hardness": "hard", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "教数学课的老师的名字是什么?", "predicted": "SELECT teacher.Name FROM course JOIN teacher JOIN course_arrange ON course.Course_ID = course_arrange.Course_ID AND course_arrange.Teacher_ID = teacher.Teacher_ID WHERE course.Course = \"\"", "gold": "SELECT T3.Name FROM course_arrange AS T1 JOIN course AS T2 ON T1.Course_ID = T2.Course_ID JOIN teacher AS T3 ON T1.Teacher_ID = T3.Teacher_ID WHERE T2.Course = \"Math\"", "predicted_parse_error": false, "hardness": "hard", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "显示教师姓名和他们教的课程数量。", "predicted": "SELECT teacher.Name, Count(*) FROM teacher JOIN course_arrange ON teacher.Teacher_ID = course_arrange.Teacher_ID GROUP BY teacher.Name", "gold": "SELECT T2.Name , COUNT(*) FROM course_arrange AS T1 JOIN teacher AS T2 ON T1.Teacher_ID = T2.Teacher_ID GROUP BY T2.Name", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "老师的名字是什么?他们教了多少门课?", "predicted": "SELECT teacher.Name, Count(*) FROM teacher JOIN course_arrange ON teacher.Teacher_ID = course_arrange.Teacher_ID GROUP BY teacher.Name", "gold": "SELECT T2.Name , COUNT(*) FROM course_arrange AS T1 JOIN teacher AS T2 ON T1.Teacher_ID = T2.Teacher_ID GROUP BY T2.Name", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "显示至少教两门课的教师的姓名。", "predicted": "SELECT teacher.Name FROM teacher JOIN course_arrange ON teacher.Teacher_ID = course_arrange.Teacher_ID GROUP BY course_arrange.Teacher_ID HAVING Count(*) >= 2", "gold": "SELECT T2.Name FROM course_arrange AS T1 JOIN teacher AS T2 ON T1.Teacher_ID = T2.Teacher_ID GROUP BY T2.Name HAVING COUNT(*) >= 2", "predicted_parse_error": false, "hardness": "medium", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "group": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "教至少两门课程的老师的名字是什么?", "predicted": "SELECT teacher.Name FROM teacher JOIN course_arrange ON teacher.Teacher_ID = course_arrange.Teacher_ID GROUP BY teacher.Teacher_ID HAVING Count(*) >= 2", "gold": "SELECT T2.Name FROM course_arrange AS T1 JOIN teacher AS T2 ON T1.Teacher_ID = T2.Teacher_ID GROUP BY T2.Name HAVING COUNT(*) >= 2", "predicted_parse_error": false, "hardness": "medium", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "group": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "列出没有被安排上课的老师的名字。", "predicted": "SELECT teacher.Name FROM teacher WHERE teacher.Teacher_ID NOT IN (SELECT course_arrange.Teacher_ID FROM course_arrange)", "gold": "SELECT Name FROM teacher WHERE Teacher_id NOT IN (SELECT Teacher_id FROM course_arrange)", "predicted_parse_error": false, "hardness": "hard", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}}}, {"question": "没有被安排教课的老师的名字是什么?", "predicted": "SELECT teacher.Name FROM teacher WHERE teacher.Teacher_ID NOT IN (SELECT course_arrange.Teacher_ID FROM course_arrange)", "gold": "SELECT Name FROM teacher WHERE Teacher_id NOT IN (SELECT Teacher_id FROM course_arrange)", "predicted_parse_error": false, "hardness": "hard", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}}}, {"question": "30岁以下的游客有多少?", "predicted": "SELECT Count(*) FROM visitor WHERE visitor.Age < 30", "gold": "SELECT count(*) FROM visitor WHERE age < 30", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "查找会员级别高于4的游客的姓名,并将结果按级别从高到低排序。", "predicted": "SELECT visitor.Name FROM visitor WHERE visitor.Level_of_membership > 4 ORDER BY visitor.Name Asc", "gold": "SELECT name FROM visitor WHERE Level_of_membership > 4 ORDER BY Level_of_membership DESC", "predicted_parse_error": false, "hardness": "medium", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 0, "rec": 0, "f1": 0, "label_total": 3, "pred_total": 3}}}, {"question": "会员级别不高于4的游客的平均年龄是多少?", "predicted": "SELECT Avg(visitor.Age) FROM visitor WHERE visitor.Level_of_membership > 4", "gold": "SELECT avg(age) FROM visitor WHERE Level_of_membership <= 4", "predicted_parse_error": false, "hardness": "easy", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "查找会员级别高于4的游客的姓名和会员级别,并按年龄从高到低进行排序。", "predicted": "SELECT visitor.Name, visitor.Level_of_membership FROM visitor WHERE visitor.Age > 4 ORDER BY visitor.Level_of_membership Asc", "gold": "SELECT name , Level_of_membership FROM visitor WHERE Level_of_membership > 4 ORDER BY age DESC", "predicted_parse_error": false, "hardness": "medium", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 0, "rec": 0, "f1": 0, "label_total": 3, "pred_total": 3}}}, {"question": "找到员工人数最多的博物馆的ID和名称?", "predicted": "SELECT museum.Museum_ID, museum.Name FROM museum ORDER BY museum.Num_of_Staff Desc LIMIT 1", "gold": "SELECT museum_id , name FROM museum ORDER BY num_of_staff DESC LIMIT 1", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}}}, {"question": "查找在2009年之前开放的博物馆的平均工作人员数量。", "predicted": "SELECT Avg(museum.Num_of_Staff) FROM museum WHERE museum.Open_Year < 2009", "gold": "SELECT avg(num_of_staff) FROM museum WHERE open_year < 2009", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "名称是“Plaza Museum”的博物馆的开馆年和员工人数是多少?", "predicted": "SELECT museum.Open_Year, museum.Num_of_Staff FROM museum WHERE museum.Name = \"Iron\"", "gold": "SELECT Num_of_Staff , Open_Year FROM museum WHERE name = 'Plaza Museum'", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "查找工作人员人数超过2010年后开馆的博物馆的最少工作人员人数的博物馆的名称。", "predicted": "SELECT museum.Name FROM museum WHERE museum.Open_Year > 2010 ORDER BY museum.Num_of_Staff Asc LIMIT 1", "gold": "SELECT name FROM museum WHERE num_of_staff > (SELECT min(num_of_staff) FROM museum WHERE open_year > 2010)", "predicted_parse_error": false, "hardness": "hard", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 4}}}, {"question": "找到不止一次参观博物馆的游客的id、姓名和年龄。", "predicted": "SELECT visitor.ID, visitor.Name, visitor.Age FROM visitor JOIN visit ON visitor.ID = visit.visitor_ID GROUP BY visitor.ID HAVING Count(*) > 1", "gold": "SELECT t1.id , t1.name , t1.age FROM visitor AS t1 JOIN visit AS t2 ON t1.id = t2.visitor_id GROUP BY t1.id HAVING count(*) > 1", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "在所有的博物馆门票中,花钱最多的游客的id、姓名和会员级别是多少?", "predicted": "SELECT visitor.ID, visitor.Name, visitor.Level_of_membership FROM visitor JOIN visit ON visitor.ID = visit.visitor_ID GROUP BY visit.visitor_ID ORDER BY Sum(visit.Total_spent) Desc LIMIT 1", "gold": "SELECT t2.visitor_id , t1.name , t1.Level_of_membership FROM visitor AS t1 JOIN visit AS t2 ON t1.id = t2.visitor_id GROUP BY t2.visitor_id ORDER BY sum(t2.Total_spent) DESC LIMIT 1", "predicted_parse_error": false, "hardness": "extra", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 4, "pred_total": 4}}}, {"question": "被参观次数最多的博物馆的ID和名称是什么时候?", "predicted": "SELECT museum.Museum_ID, museum.Name FROM museum JOIN visit ON museum.Museum_ID = visit.Museum_ID GROUP BY visit.Museum_ID ORDER BY Count(*) Desc LIMIT 1", "gold": "SELECT t2.Museum_ID , t1.name FROM museum AS t1 JOIN visit AS t2 ON t1.Museum_ID = t2.Museum_ID GROUP BY t2.Museum_ID ORDER BY count(*) DESC LIMIT 1", "predicted_parse_error": false, "hardness": "extra", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 4, "pred_total": 4}}}, {"question": "至今没有游客的博物馆叫什么名字?", "predicted": "SELECT museum.Name FROM museum WHERE museum.Museum_ID NOT IN (SELECT visit.Museum_ID FROM visit)", "gold": "SELECT name FROM museum WHERE Museum_ID NOT IN (SELECT museum_id FROM visit)", "predicted_parse_error": false, "hardness": "hard", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}}}, {"question": "找出一次买下最多票的游客的姓名和年龄。", "predicted": "SELECT visitor.Name, visitor.Age FROM visitor JOIN visit ON visitor.ID = visit.visitor_ID GROUP BY visit.visitor_ID ORDER BY Sum(visit.Num_of_Ticket) Desc LIMIT 1", "gold": "SELECT t1.name , t1.age FROM visitor AS t1 JOIN visit AS t2 ON t1.id = t2.visitor_id ORDER BY t2.num_of_ticket DESC LIMIT 1", "predicted_parse_error": false, "hardness": "hard", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 1}, "group": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 1}, "order": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 0, "rec": 0, "f1": 0, "label_total": 3, "pred_total": 4}}}, {"question": "在所有的游玩中,购买的平均票数和最大票数是多少?", "predicted": "SELECT Avg(visit.Num_of_Ticket), Max(visit.Num_of_Ticket) FROM visit", "gold": "SELECT avg(num_of_ticket) , max(num_of_ticket) FROM visit", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "会员级别为“1”的游客的门票总费用是多少?", "predicted": "SELECT Sum(visit.Total_spent) FROM visitor JOIN visit ON visitor.ID = visit.visitor_ID WHERE visitor.Level_of_membership = 1", "gold": "SELECT sum(t2.Total_spent) FROM visitor AS t1 JOIN visit AS t2 ON t1.id = t2.visitor_id WHERE t1.Level_of_membership = 1", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "既参观过2009年之前开放的博物馆又参观过2011年之后开放的博物馆的游客的名字是什么?", "predicted": "SELECT visitor.Name FROM museum JOIN visitor JOIN visit ON museum.Museum_ID = visit.Museum_ID AND visit.visitor_ID = visitor.ID WHERE museum.Open_Year < 2009 INTERSECT SELECT visitor.Name FROM museum JOIN visit ON museum.Museum_ID = visit.Museum_ID JOIN visitor ON visit.visitor_ID = visitor.ID WHERE museum.Open_Year > 2011", "gold": "SELECT t1.name FROM visitor AS t1 JOIN visit AS t2 ON t1.id = t2.visitor_id JOIN museum AS t3 ON t3.Museum_ID = t2.Museum_ID WHERE t3.open_year < 2009 INTERSECT SELECT t1.name FROM visitor AS t1 JOIN visit AS t2 ON t1.id = t2.visitor_id JOIN museum AS t3 ON t3.Museum_ID = t2.Museum_ID WHERE t3.open_year > 2011", "predicted_parse_error": false, "hardness": "extra", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "找到没有参观过2010年开放的博物馆的游客的人数。", "predicted": "SELECT Count(*) FROM visitor JOIN visit ON visitor.ID = visit.visitor_ID WHERE visit.Museum_ID NOT IN (SELECT museum.Museum_ID FROM museum WHERE museum.Open_Year = 2010 OR museum.Open_Year = 2010)", "gold": "SELECT count(*) FROM visitor WHERE id NOT IN (SELECT t2.visitor_id FROM museum AS t1 JOIN visit AS t2 ON t1.Museum_ID = t2.Museum_ID WHERE t1.open_year > 2010)", "predicted_parse_error": false, "hardness": "extra", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}}}, {"question": "2008年前或2013年后开放的博物馆有多少?", "predicted": "SELECT Count(*) FROM museum WHERE museum.Open_Year < 2008 OR museum.Open_Year > 2013", "gold": "SELECT count(*) FROM museum WHERE open_year > 2013 OR open_year < 2008", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "找出球员总数。", "predicted": "SELECT Count(*) FROM players", "gold": "SELECT count(*) FROM players", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "有多少球员?", "predicted": "SELECT Count(*) FROM players", "gold": "SELECT count(*) FROM players", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "找出比赛的总数。", "predicted": "SELECT Count(*) FROM matches", "gold": "SELECT count(*) FROM matches", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "计算比赛的数量。", "predicted": "SELECT Count(*) FROM matches", "gold": "SELECT count(*) FROM matches", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "列出来自国家代码为“USA”的所有球员的名字和生日。", "predicted": "SELECT players.first_name, players.birth_date FROM players WHERE players.country_code = \"USA\"", "gold": "SELECT first_name , birth_date FROM players WHERE country_code = 'USA'", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "来自“USA”的选手的名字和出生日期是什么?", "predicted": "SELECT players.first_name, players.birth_date FROM players WHERE players.country_code = \"USA\"", "gold": "SELECT first_name , birth_date FROM players WHERE country_code = 'USA'", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "找出所有比赛的失败者和胜利者的平均年龄。", "predicted": "SELECT Avg(matches.loser_age), Avg(matches.winner_age) FROM matches", "gold": "SELECT avg(loser_age) , avg(winner_age) FROM matches", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "所有比赛中输家和赢家的平均年龄是多少?", "predicted": "SELECT Avg(matches.loser_age), Avg(matches.winner_age) FROM matches", "gold": "SELECT avg(loser_age) , avg(winner_age) FROM matches", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "找出所有比赛中胜利者的平均排名。", "predicted": "SELECT Avg(matches.winner_rank) FROM matches", "gold": "SELECT avg(winner_rank) FROM matches", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "在所有比赛中胜利者平均排名是多少?", "predicted": "SELECT Avg(matches.winner_rank) FROM matches", "gold": "SELECT avg(winner_rank) FROM matches", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "找出所有比赛中失败者的最高排名。", "predicted": "SELECT Max(matches.loser_rank) FROM matches", "gold": "SELECT min(loser_rank) FROM matches", "predicted_parse_error": false, "hardness": "easy", "exact": 0, "partial": {"select": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "在所有比赛中输家的最好的排名是多少?", "predicted": "SELECT Max(matches.best_of) FROM matches", "gold": "SELECT min(loser_rank) FROM matches", "predicted_parse_error": false, "hardness": "easy", "exact": 0, "partial": {"select": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "找出所有球员所属的不同的国家代码的数量。", "predicted": "SELECT Count(DISTINCT players.country_code) FROM players", "gold": "SELECT count(DISTINCT country_code) FROM players", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "球员来自多少个不同的国家?", "predicted": "SELECT Count(DISTINCT players.country_code) FROM players", "gold": "SELECT count(DISTINCT country_code) FROM players", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "找出不同的失败者姓名的数量。", "predicted": "SELECT Count(DISTINCT matches.loser_name) FROM matches", "gold": "SELECT count(DISTINCT loser_name) FROM matches", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "失败者有多少不同的的名字?", "predicted": "SELECT Count(DISTINCT matches.loser_name) FROM matches", "gold": "SELECT count(DISTINCT loser_name) FROM matches", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "找到有超过10场比赛的联赛的名称。", "predicted": "SELECT matches.tourney_name FROM matches GROUP BY matches.tourney_name HAVING Count(*) > 10", "gold": "SELECT tourney_name FROM matches GROUP BY tourney_name HAVING count(*) > 10", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "有超过10场比赛的联赛名称是什么?", "predicted": "SELECT matches.tourney_name FROM matches GROUP BY matches.tourney_name HAVING Count(*) > 10", "gold": "SELECT tourney_name FROM matches GROUP BY tourney_name HAVING count(*) > 10", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "列出在2013年和2016年都获胜的人的名字。", "predicted": "SELECT players.first_name FROM players JOIN matches ON players.player_id = matches.loser_id WHERE matches.year = 1989 INTERSECT SELECT players.first_name FROM players JOIN matches ON players.player_id = matches.winner_id WHERE matches.year = 2016", "gold": "SELECT winner_name FROM matches WHERE YEAR = 2013 INTERSECT SELECT winner_name FROM matches WHERE YEAR = 2016", "predicted_parse_error": false, "hardness": "hard", "exact": 0, "partial": {"select": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "在2013年和2016年中获胜的球员的名字是什么?", "predicted": "SELECT players.first_name FROM players JOIN matches ON players.player_id = matches.loser_id WHERE matches.year = 2013 INTERSECT SELECT players.first_name FROM players JOIN matches ON players.player_id = matches.winner_id WHERE matches.year = 2016", "gold": "SELECT winner_name FROM matches WHERE YEAR = 2013 INTERSECT SELECT winner_name FROM matches WHERE YEAR = 2016", "predicted_parse_error": false, "hardness": "hard", "exact": 0, "partial": {"select": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "列出所有在2013年或2016年中的比赛的数量。", "predicted": "SELECT Count(*) FROM matches WHERE matches.year = 2013 OR matches.year = 2016", "gold": "SELECT count(*) FROM matches WHERE YEAR = 2013 OR YEAR = 2016", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "在2013年或2016年中有多少场比赛?", "predicted": "SELECT Count(*) FROM matches WHERE matches.year = 2013 OR matches.year = 2016", "gold": "SELECT count(*) FROM matches WHERE YEAR = 2013 OR YEAR = 2016", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "在“WTA Championships”和“Australian Open”中都取胜的球员的国家代码和名字是什么?", "predicted": "SELECT players.country_code, players.first_name FROM players JOIN matches ON players.player_id = matches.loser_id WHERE matches.tourney_name = \"Wo\" INTERSECT SELECT players.country_code, players.first_name FROM players JOIN matches ON players.player_id = matches.winner_id WHERE matches.tourney_name = \"Chicago\"", "gold": "SELECT T1.country_code , T1.first_name FROM players AS T1 JOIN matches AS T2 ON T1.player_id = T2.winner_id WHERE T2.tourney_name = 'WTA Championships' INTERSECT SELECT T1.country_code , T1.first_name FROM players AS T1 JOIN matches AS T2 ON T1.player_id = T2.winner_id WHERE T2.tourney_name = 'Australian Open'", "predicted_parse_error": false, "hardness": "extra", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "获得“WTA Championships”和“Australian Open冠军”的球员的名字和国家代码是什么?", "predicted": "SELECT players.first_name, players.country_code FROM players JOIN matches ON players.player_id = matches.loser_id WHERE matches.tourney_name = \"W\" INTERSECT SELECT players.first_name, players.country_code FROM players JOIN matches ON players.player_id = matches.winner_id WHERE matches.tourney_name = \"Co\"", "gold": "SELECT T1.country_code , T1.first_name FROM players AS T1 JOIN matches AS T2 ON T1.player_id = T2.winner_id WHERE T2.tourney_name = 'WTA Championships' INTERSECT SELECT T1.country_code , T1.first_name FROM players AS T1 JOIN matches AS T2 ON T1.player_id = T2.winner_id WHERE T2.tourney_name = 'Australian Open'", "predicted_parse_error": false, "hardness": "extra", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "查找最老的球员的名字和国家代码。", "predicted": "SELECT players.first_name, players.last_name FROM players ORDER BY players.birth_date Desc LIMIT 1", "gold": "SELECT first_name , country_code FROM players ORDER BY birth_date LIMIT 1", "predicted_parse_error": false, "hardness": "medium", "exact": 0, "partial": {"select": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 0, "rec": 0, "f1": 0, "label_total": 3, "pred_total": 3}}}, {"question": "最老的球员的名字和国家代码是什么?", "predicted": "SELECT players.first_name, players.country_code FROM players ORDER BY players.birth_date Desc LIMIT 1", "gold": "SELECT first_name , country_code FROM players ORDER BY birth_date LIMIT 1", "predicted_parse_error": false, "hardness": "medium", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 0, "rec": 0, "f1": 0, "label_total": 3, "pred_total": 3}}}, {"question": "按出生日期顺序列出所有球员的名字和姓氏。", "predicted": "SELECT players.first_name, players.last_name FROM players ORDER BY players.birth_date Asc", "gold": "SELECT first_name , last_name FROM players ORDER BY birth_date", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "按出生日期排序,所有球员的全名是什么?", "predicted": "SELECT players.first_name, players.last_name FROM players ORDER BY players.birth_date Asc", "gold": "SELECT first_name , last_name FROM players ORDER BY birth_date", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "按照出生日期的顺序列出“L”惯用手球员的名字和姓氏。", "predicted": "SELECT players.first_name, players.last_name FROM players WHERE players.hand = \"L\" ORDER BY players.birth_date Asc", "gold": "SELECT first_name , last_name FROM players WHERE hand = 'L' ORDER BY birth_date", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}}}, {"question": "根据出生日期顺序,所有“L”惯用手球员的全名是什么?", "predicted": "SELECT players.first_name, players.last_name FROM players WHERE players.hand = \"L\" ORDER BY players.birth_date Asc", "gold": "SELECT first_name , last_name FROM players WHERE hand = 'L' ORDER BY birth_date", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}}}, {"question": "找出参加锦标赛次数最多的球员的名字和国家代码。", "predicted": "SELECT players.first_name, players.country_code FROM players JOIN matches ON players.player_id = matches.loser_id JOIN rankings ON players.player_id = rankings.player_id GROUP BY rankings.player_id ORDER BY Count(*) Desc LIMIT 1", "gold": "SELECT T1.country_code , T1.first_name FROM players AS T1 JOIN rankings AS T2 ON T1.player_id = T2.player_id ORDER BY T2.tours DESC LIMIT 1", "predicted_parse_error": false, "hardness": "hard", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 1}, "group": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 1}, "order": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 0, "rec": 0, "f1": 0, "label_total": 3, "pred_total": 4}}}, {"question": "参加锦标赛最多的球员的名字和国家代码是什么?", "predicted": "SELECT players.first_name, players.country_code FROM players JOIN matches ON players.player_id = matches.loser_id GROUP BY players.player_id ORDER BY Count(*) Desc LIMIT 1", "gold": "SELECT T1.country_code , T1.first_name FROM players AS T1 JOIN rankings AS T2 ON T1.player_id = T2.player_id ORDER BY T2.tours DESC LIMIT 1", "predicted_parse_error": false, "hardness": "hard", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 1}, "group": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 1}, "order": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 0, "rec": 0, "f1": 0, "label_total": 3, "pred_total": 4}}}, {"question": "找出比赛数量最多的一年。", "predicted": "SELECT matches.year FROM matches GROUP BY matches.year ORDER BY Count(*) Desc LIMIT 1", "gold": "SELECT YEAR FROM matches GROUP BY YEAR ORDER BY count(*) DESC LIMIT 1", "predicted_parse_error": false, "hardness": "hard", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 4, "pred_total": 4}}}, {"question": "哪一年的比赛最多?", "predicted": "SELECT matches.year FROM matches GROUP BY matches.year ORDER BY Count(*) Desc LIMIT 1", "gold": "SELECT YEAR FROM matches GROUP BY YEAR ORDER BY count(*) DESC LIMIT 1", "predicted_parse_error": false, "hardness": "hard", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 4, "pred_total": 4}}}, {"question": "找出获胜次数最多的获胜者的名字和排名积分。", "predicted": "SELECT matches.winner_name, matches.loser_rank_points FROM matches GROUP BY matches.winner_rank ORDER BY Count(*) Desc LIMIT 1", "gold": "SELECT winner_name , winner_rank_points FROM matches GROUP BY winner_name ORDER BY count(*) DESC LIMIT 1", "predicted_parse_error": false, "hardness": "hard", "exact": 0, "partial": {"select": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "group": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 4, "pred_total": 4}}}, {"question": "赢得比赛最多的赢家的名字是什么?这些球员的排名积分是多少?", "predicted": "SELECT players.first_name, matches.loser_rank_points FROM players JOIN matches ON players.player_id = matches.loser_id GROUP BY matches.winner_name ORDER BY Count(*) Desc LIMIT 1", "gold": "SELECT winner_name , winner_rank_points FROM matches GROUP BY winner_name ORDER BY count(*) DESC LIMIT 1", "predicted_parse_error": false, "hardness": "hard", "exact": 0, "partial": {"select": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 4, "pred_total": 4}}}, {"question": "找出那些排名积分最高的并且参加过“Australian Open”的获胜者的名字。", "predicted": "SELECT players.first_name FROM players JOIN matches ON players.player_id = matches.loser_id WHERE matches.tourney_name = \"Hardly\" ORDER BY matches.winner_rank_points Desc LIMIT 1", "gold": "SELECT winner_name FROM matches WHERE tourney_name = 'Australian Open' ORDER BY winner_rank_points DESC LIMIT 1", "predicted_parse_error": false, "hardness": "hard", "exact": 0, "partial": {"select": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 4, "pred_total": 4}}}, {"question": "参加“Australian Open”的排名积分最高的获胜者叫什么名字?", "predicted": "SELECT players.first_name FROM players JOIN matches ON players.player_id = matches.loser_id WHERE matches.tourney_name = \"Hardmale\" ORDER BY matches.winner_rank_points Desc LIMIT 1", "gold": "SELECT winner_name FROM matches WHERE tourney_name = 'Australian Open' ORDER BY winner_rank_points DESC LIMIT 1", "predicted_parse_error": false, "hardness": "hard", "exact": 0, "partial": {"select": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 4, "pred_total": 4}}}, {"question": "找出比赛时间最长的输家和赢家的名字。", "predicted": "SELECT matches.loser_name, matches.winner_name FROM matches ORDER BY matches.minutes Desc LIMIT 3", "gold": "SELECT winner_name , loser_name FROM matches ORDER BY minutes DESC LIMIT 1", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}}}, {"question": "比赛时间最长的胜利者和失败者的名字是什么?", "predicted": "SELECT matches.winner_name, matches.loser_name FROM matches ORDER BY matches.minutes Desc LIMIT 3", "gold": "SELECT winner_name , loser_name FROM matches ORDER BY minutes DESC LIMIT 1", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}}}, {"question": "找出每个球员的平均排名和他们的名字。", "predicted": "SELECT players.first_name, Avg(rankings.ranking) FROM players JOIN rankings ON players.player_id = rankings.player_id GROUP BY rankings.player_id", "gold": "SELECT avg(ranking) , T1.first_name FROM players AS T1 JOIN rankings AS T2 ON T1.player_id = T2.player_id GROUP BY T1.first_name", "predicted_parse_error": false, "hardness": "medium", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "group": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "所有球员的名字以及他们的平均排名是什么?", "predicted": "SELECT players.first_name, Avg(rankings.ranking_points) FROM players JOIN rankings ON players.player_id = rankings.player_id GROUP BY rankings.player_id", "gold": "SELECT avg(ranking) , T1.first_name FROM players AS T1 JOIN rankings AS T2 ON T1.player_id = T2.player_id GROUP BY T1.first_name", "predicted_parse_error": false, "hardness": "medium", "exact": 0, "partial": {"select": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "group": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "找出每个球员的总排名积分和他们的名字。", "predicted": "SELECT players.first_name, Sum(rankings.ranking_points) FROM players JOIN rankings ON players.player_id = rankings.player_id GROUP BY players.first_name", "gold": "SELECT sum(ranking_points) , T1.first_name FROM players AS T1 JOIN rankings AS T2 ON T1.player_id = T2.player_id GROUP BY T1.first_name", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "所有球员的名字,以及他们的总排名积分是什么?", "predicted": "SELECT players.first_name, Sum(rankings.ranking_points) FROM players JOIN rankings ON players.player_id = rankings.player_id GROUP BY rankings.player_id", "gold": "SELECT sum(ranking_points) , T1.first_name FROM players AS T1 JOIN rankings AS T2 ON T1.player_id = T2.player_id GROUP BY T1.first_name", "predicted_parse_error": false, "hardness": "medium", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "group": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "找出每个国家的球员数量。", "predicted": "SELECT players.country_code, Count(*) FROM players GROUP BY players.country_code", "gold": "SELECT count(*) , country_code FROM players GROUP BY country_code", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "每个国家有多少球员?", "predicted": "SELECT players.country_code, Count(*) FROM players GROUP BY players.country_code", "gold": "SELECT count(*) , country_code FROM players GROUP BY country_code", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "找到拥有球员数量最多的国家的代码。", "predicted": "SELECT players.country_code FROM players GROUP BY players.country_code ORDER BY Count(*) Desc LIMIT 1", "gold": "SELECT country_code FROM players GROUP BY country_code ORDER BY count(*) DESC LIMIT 1", "predicted_parse_error": false, "hardness": "hard", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 4, "pred_total": 4}}}, {"question": "拥有最多球员的国家的代码是什么?", "predicted": "SELECT players.country_code FROM players GROUP BY players.country_code ORDER BY Count(*) Desc LIMIT 1", "gold": "SELECT country_code FROM players GROUP BY country_code ORDER BY count(*) DESC LIMIT 1", "predicted_parse_error": false, "hardness": "hard", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 4, "pred_total": 4}}}, {"question": "找出拥有超过50名球员的国家的代码。", "predicted": "SELECT players.country_code FROM players GROUP BY players.country_code HAVING Count(*) > 50", "gold": "SELECT country_code FROM players GROUP BY country_code HAVING count(*) > 50", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "拥有超过50名球员的国家的代码是什么?", "predicted": "SELECT players.country_code FROM players GROUP BY players.country_code HAVING Count(*) > 50", "gold": "SELECT country_code FROM players GROUP BY country_code HAVING count(*) > 50", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "查找每个排名日期的锦标赛的总数。", "predicted": "SELECT rankings.ranking_date, Count(*) FROM rankings GROUP BY rankings.ranking_date", "gold": "SELECT sum(tours) , ranking_date FROM rankings GROUP BY ranking_date", "predicted_parse_error": false, "hardness": "medium", "exact": 0, "partial": {"select": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "每个排名日期总共有多少次锦标赛?", "predicted": "SELECT rankings.ranking_date, Count(*) FROM rankings GROUP BY rankings.ranking_date", "gold": "SELECT sum(tours) , ranking_date FROM rankings GROUP BY ranking_date", "predicted_parse_error": false, "hardness": "medium", "exact": 0, "partial": {"select": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "找出每年进行的比赛次数。", "predicted": "SELECT Count(*), matches.year FROM matches GROUP BY matches.year", "gold": "SELECT count(*) , YEAR FROM matches GROUP BY YEAR", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "每年有多少场比赛?", "predicted": "SELECT Count(*), matches.year FROM matches GROUP BY matches.year", "gold": "SELECT count(*) , YEAR FROM matches GROUP BY YEAR", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "找出所有比赛中3个最年轻的获胜者的名字和排名。", "predicted": "SELECT players.first_name, matches.loser_rank FROM players JOIN matches ON players.player_id = matches.loser_id ORDER BY matches.winner_age Asc LIMIT 3", "gold": "SELECT DISTINCT winner_name , winner_rank FROM matches ORDER BY winner_age LIMIT 3", "predicted_parse_error": false, "hardness": "medium", "exact": 0, "partial": {"select": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}}}, {"question": "在所有比赛中,三个最年轻的获胜者的名字和等级是什么?", "predicted": "SELECT matches.winner_name, matches.tourney_level FROM players JOIN matches ON players.player_id = matches.loser_id ORDER BY matches.winner_age Asc LIMIT 3", "gold": "SELECT DISTINCT winner_name , winner_rank FROM matches ORDER BY winner_age LIMIT 3", "predicted_parse_error": false, "hardness": "medium", "exact": 0, "partial": {"select": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}}}, {"question": "有多少不同的获胜者都参加了“WTA Championships”,并且都是左撇子?", "predicted": "SELECT Count(*) FROM matches WHERE matches.tourney_name = \"Wal\"", "gold": "SELECT count(DISTINCT winner_name) FROM matches WHERE tourney_name = 'WTA Championships' AND winner_hand = 'L'", "predicted_parse_error": false, "hardness": "medium", "exact": 0, "partial": {"select": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 1}, "where(no OP)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "找出参加“WTA Championships”的左撇子获胜者的数目。", "predicted": "SELECT Count(*) FROM matches WHERE matches.tourney_name = \"W\"", "gold": "SELECT count(DISTINCT winner_name) FROM matches WHERE tourney_name = 'WTA Championships' AND winner_hand = 'L'", "predicted_parse_error": false, "hardness": "medium", "exact": 0, "partial": {"select": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 1}, "where(no OP)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "找出在所有比赛中胜者排名积分最高的获胜者的姓名、国家代码和生日。", "predicted": "SELECT players.first_name, players.last_name, players.birth_date FROM players JOIN matches ON players.player_id = matches.loser_id ORDER BY matches.winner_rank_points Desc LIMIT 1", "gold": "SELECT T1.first_name , T1.country_code , T1.birth_date FROM players AS T1 JOIN matches AS T2 ON T1.player_id = T2.winner_id ORDER BY T2.winner_rank_points DESC LIMIT 1", "predicted_parse_error": false, "hardness": "hard", "exact": 0, "partial": {"select": {"acc": 0, "rec": 0, "f1": 0, "label_total": 3, "pred_total": 3}, "select(no AGG)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 3, "pred_total": 3}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}}}, {"question": "在所有比赛中胜者排名积分最高的选手的名字、国家代码和生日是什么?", "predicted": "SELECT players.first_name, players.last_name, players.birth_date FROM players JOIN matches ON players.player_id = matches.loser_id ORDER BY matches.winner_rank_points Desc LIMIT 1", "gold": "SELECT T1.first_name , T1.country_code , T1.birth_date FROM players AS T1 JOIN matches AS T2 ON T1.player_id = T2.winner_id ORDER BY T2.winner_rank_points DESC LIMIT 1", "predicted_parse_error": false, "hardness": "hard", "exact": 0, "partial": {"select": {"acc": 0, "rec": 0, "f1": 0, "label_total": 3, "pred_total": 3}, "select(no AGG)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 3, "pred_total": 3}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}}}, {"question": "找出每个惯用手型的球员数。", "predicted": "SELECT players.hand, Count(*) FROM players GROUP BY players.hand", "gold": "SELECT count(*) , hand FROM players GROUP BY hand", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "每一种惯用手型有多少球员?", "predicted": "SELECT players.hand, Count(*) FROM players GROUP BY players.hand", "gold": "SELECT count(*) , hand FROM players GROUP BY hand", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "有多少艘船最终被“Captured”?", "predicted": "SELECT Count(*) FROM ship WHERE ship.disposition_of_ship = \"Captured\"", "gold": "SELECT count(*) FROM ship WHERE disposition_of_ship = 'Captured'", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "按名称的字母顺序降序列出名称和吨位。", "predicted": "SELECT ship.name, ship.tonnage FROM ship ORDER BY ship.name Desc", "gold": "SELECT name , tonnage FROM ship ORDER BY name DESC", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "列出每一场战斗的名称和日期。", "predicted": "SELECT battle.name, battle.date FROM battle", "gold": "SELECT name , date FROM battle", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "每一次造成的最大和最小死亡人数是多少?", "predicted": "SELECT death.killed, Max(death.killed), Min(death.killed) FROM death GROUP BY death.killed", "gold": "SELECT max(killed) , min(killed) FROM death", "predicted_parse_error": false, "hardness": "medium", "exact": 0, "partial": {"select": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 3}, "select(no AGG)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 3}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 1}, "group": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 1}}}, {"question": "平均每次受伤次数是多少?", "predicted": "SELECT Avg(death.injured) FROM death", "gold": "SELECT avg(injured) FROM death", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "吨位为“T”的船舶造成的受伤和死亡人数分别是多少?", "predicted": "SELECT death.injured, death.killed FROM ship JOIN death ON ship.id = death.caused_by_ship_id WHERE ship.tonnage = \"T\"", "gold": "SELECT T1.killed , T1.injured FROM death AS T1 JOIN ship AS t2 ON T1.caused_by_ship_id = T2.id WHERE T2.tonnage = 't'", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "当保加利亚指挥官不是“Boril”时,战争的名称和结果是什么?", "predicted": "SELECT battle.name, battle.result FROM battle WHERE battle.bulgarian_commander != \"Borce\"", "gold": "SELECT name , RESULT FROM battle WHERE bulgarian_commander != 'Boril'", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "损失过“Brig”船只的战斗的不同的id和名称是什么?", "predicted": "SELECT DISTINCT battle.id, battle.name FROM battle JOIN ship ON battle.id = ship.lost_in_battle WHERE ship.ship_type = \"Itas\"", "gold": "SELECT DISTINCT T1.id , T1.name FROM battle AS T1 JOIN ship AS T2 ON T1.id = T2.lost_in_battle WHERE T2.ship_type = 'Brig'", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "导致总共超过10人死亡的战斗的ID和名称是什么?", "predicted": "SELECT battle.id, battle.name FROM battle JOIN ship ON battle.id = ship.lost_in_battle JOIN death ON ship.id = death.caused_by_ship_id WHERE death.killed > 10", "gold": "SELECT T1.id , T1.name FROM battle AS T1 JOIN ship AS T2 ON T1.id = T2.lost_in_battle JOIN death AS T3 ON T2.id = T3.caused_by_ship_id GROUP BY T1.id HAVING sum(T3.killed) > 10", "predicted_parse_error": false, "hardness": "hard", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 1}, "where(no OP)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 1}, "group(no Having)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 0}, "group": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 1}}}, {"question": "造成总伤害最多的船的ID和名称是什么?", "predicted": "SELECT ship.id, ship.name FROM ship JOIN death ON ship.id = death.caused_by_ship_id GROUP BY ship.id ORDER BY Sum(death.injured) Desc LIMIT 1", "gold": "SELECT T2.id , T2.name FROM death AS T1 JOIN ship AS t2 ON T1.caused_by_ship_id = T2.id GROUP BY T2.id ORDER BY count(*) DESC LIMIT 1", "predicted_parse_error": false, "hardness": "extra", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 4, "pred_total": 4}}}, {"question": "在保加利亚指挥官“Kaloyan”和拉丁指挥官“Baldwin I”之间,有哪些不同的战斗名称?", "predicted": "SELECT DISTINCT battle.name FROM battle WHERE battle.bulgarian_commander = \"2010-09-21\" AND battle.latin_commander = \"\"", "gold": "SELECT name FROM battle WHERE bulgarian_commander = 'Kaloyan' AND latin_commander = 'Baldwin I'", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "战斗共有多少不同的结果?", "predicted": "SELECT Count(DISTINCT battle.result) FROM battle", "gold": "SELECT count(DISTINCT RESULT) FROM battle", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "有多少次战斗损失了吨位为“225”的船只?", "predicted": "SELECT Count(*) FROM ship WHERE ship.tonnage = 225", "gold": "SELECT count(*) FROM battle WHERE id NOT IN ( SELECT lost_in_battle FROM ship WHERE tonnage = '225' );", "predicted_parse_error": false, "hardness": "extra", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 0, "rec": 0, "f1": 0, "label_total": 3, "pred_total": 1}}}, {"question": "列出损失“Lettice”号和“HMS Atalanta”号战舰的战斗的名称和日期。", "predicted": "SELECT battle.name, battle.date FROM battle JOIN ship ON battle.id = ship.lost_in_battle JOIN death ON ship.id = death.caused_by_ship_id WHERE ship.name = \"Lettice\" INTERSECT SELECT battle.name, battle.date FROM battle JOIN ship ON battle.id = ship.lost_in_battle JOIN death ON ship.id = death.caused_by_ship_id WHERE ship.name = \"HM-\"", "gold": "SELECT T1.name , T1.date FROM battle AS T1 JOIN ship AS T2 ON T1.id = T2.lost_in_battle WHERE T2.name = 'Lettice' INTERSECT SELECT T1.name , T1.date FROM battle AS T1 JOIN ship AS T2 ON T1.id = T2.lost_in_battle WHERE T2.name = 'HMS Atalanta'", "predicted_parse_error": false, "hardness": "extra", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "显示在“English Channel”中没有船只损失的战斗的名称、结果和保加利亚指挥官。", "predicted": "SELECT battle.name, battle.result, battle.bulgarian_commander FROM battle EXCEPT SELECT battle.name, battle.result, battle.bulgarian_commander FROM battle JOIN ship ON battle.id = ship.lost_in_battle WHERE ship.location = \"English\"", "gold": "SELECT name , RESULT , bulgarian_commander FROM battle EXCEPT SELECT T1.name , T1.result , T1.bulgarian_commander FROM battle AS T1 JOIN ship AS T2 ON T1.id = T2.lost_in_battle WHERE T2.location = 'English Channel'", "predicted_parse_error": false, "hardness": "extra", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "包含文本为“East”的死亡事件的注解是什么?", "predicted": "SELECT death.note FROM death WHERE death.note LIKE \"%Ke%\"", "gold": "SELECT note FROM death WHERE note LIKE '%East%'", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "包括第一行和第二行的所有地址是什么?", "predicted": "SELECT Addresses.line_1 FROM Addresses WHERE Addresses.line_1 = 0 INTERSECT SELECT Addresses.line_1 FROM Addresses WHERE Addresses.line_1 = 1", "gold": "SELECT line_1 , line_2 FROM addresses", "predicted_parse_error": false, "hardness": "medium", "exact": 0, "partial": {"select": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 1}, "select(no AGG)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 1}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 1}, "where(no OP)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 1}, "keywords": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 2}}}, {"question": "所有地址的第一和第二行是什么?", "predicted": "SELECT Addresses.line_1, Addresses.line_2 FROM Addresses", "gold": "SELECT line_1 , line_2 FROM addresses", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "总共列出了多少门课程?", "predicted": "SELECT Count(*) FROM Courses", "gold": "SELECT count(*) FROM Courses", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "有多少门课?", "predicted": "SELECT Count(*) FROM Courses", "gold": "SELECT count(*) FROM Courses", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "“math”课程是怎样描述的?", "predicted": "SELECT Courses.course_description FROM Courses WHERE Courses.course_name = \"math\"", "gold": "SELECT course_description FROM Courses WHERE course_name = 'math'", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "所有“math”课程的描述是什么?", "predicted": "SELECT Courses.course_description FROM Courses WHERE Courses.course_name = \"\"", "gold": "SELECT course_description FROM Courses WHERE course_name = 'math'", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "“Port Chelsea”城市的邮政编码是什么?", "predicted": "SELECT Addresses.zip_postcode FROM Addresses WHERE Addresses.city = \"PortM\"", "gold": "SELECT zip_postcode FROM Addresses WHERE city = 'Port Chelsea'", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "“Port Chelsea”的邮政编码是什么?", "predicted": "SELECT Addresses.zip_postcode FROM Addresses WHERE Addresses.city = \"Port-\"", "gold": "SELECT zip_postcode FROM Addresses WHERE city = 'Port Chelsea'", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "哪个学院授予的学位最多?列出学院名称和ID。", "predicted": "SELECT Departments.department_name, Departments.department_id FROM Departments JOIN Degree_Programs ON Departments.department_id = Degree_Programs.department_id GROUP BY Degree_Programs.department_id ORDER BY Count(*) Desc LIMIT 1", "gold": "SELECT T2.department_name , T1.department_id FROM Degree_Programs AS T1 JOIN Departments AS T2 ON T1.department_id = T2.department_id GROUP BY T1.department_id ORDER BY count(*) DESC LIMIT 1", "predicted_parse_error": false, "hardness": "extra", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 4, "pred_total": 4}}}, {"question": "对于每个学院ID,学位数目最多的学院的名称是什么?", "predicted": "SELECT Departments.department_name, Degree_Programs.department_id FROM Departments JOIN Degree_Programs ON Departments.department_id = Degree_Programs.department_id GROUP BY Degree_Programs.department_id ORDER BY Count(*) Desc LIMIT 1", "gold": "select t2.department_name , t1.department_id from degree_programs as t1 join departments as t2 on t1.department_id = t2.department_id group by t1.department_id order by count(*) desc limit 1", "predicted_parse_error": false, "hardness": "extra", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 4, "pred_total": 4}}}, {"question": "有多少学院可以授予学位?", "predicted": "SELECT Count(DISTINCT Degree_Programs.department_id) FROM Degree_Programs", "gold": "SELECT count(DISTINCT department_id) FROM Degree_Programs", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "有多少不同的学院可以授予学位?", "predicted": "SELECT Count(DISTINCT Degree_Programs.department_id) FROM Degree_Programs", "gold": "SELECT count(DISTINCT department_id) FROM Degree_Programs", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "有多少个不同的学位名称?", "predicted": "SELECT Count(DISTINCT Degree_Programs.degree_summary_name) FROM Degree_Programs", "gold": "SELECT count(DISTINCT degree_summary_name) FROM Degree_Programs", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "授予多少个不同的学位?", "predicted": "SELECT Count(DISTINCT Degree_Programs.degree_program_id) FROM Degree_Programs", "gold": "SELECT count(DISTINCT degree_summary_name) FROM Degree_Programs", "predicted_parse_error": false, "hardness": "easy", "exact": 0, "partial": {"select": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "“engineer”学院提供多少学位?", "predicted": "SELECT Count(*) FROM Departments JOIN Degree_Programs ON Departments.department_id = Degree_Programs.department_id WHERE Departments.department_name = \"Computer\"", "gold": "SELECT count(*) FROM Departments AS T1 JOIN Degree_Programs AS T2 ON T1.department_id = T2.department_id WHERE T1.department_name = 'engineer'", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "“engineer”学院有多少学位?", "predicted": "SELECT Count(*) FROM Departments JOIN Degree_Programs ON Departments.department_id = Degree_Programs.department_id WHERE Departments.department_name = \"Computer\"", "gold": "SELECT count(*) FROM Departments AS T1 JOIN Degree_Programs AS T2 ON T1.department_id = T2.department_id WHERE T1.department_name = 'engineer'", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "所有章节的名称和描述是什么?", "predicted": "SELECT Sections.section_name, Sections.section_description FROM Sections", "gold": "SELECT section_name , section_description FROM Sections", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "所有章节的名称和描述是什么?", "predicted": "SELECT Sections.section_name, Sections.section_description FROM Sections", "gold": "SELECT section_name , section_description FROM Sections", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "最多有2个章节的课程的名称和ID是什么?", "predicted": "SELECT Courses.course_name, Courses.course_id FROM Courses JOIN Sections ON Courses.course_id = Sections.course_id GROUP BY Sections.course_id HAVING Count(*) <= 2", "gold": "SELECT T1.course_name , T1.course_id FROM Courses AS T1 JOIN Sections AS T2 ON T1.course_id = T2.course_id GROUP BY T1.course_id HAVING count(*) <= 2", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "每个少于2个章节的课程的名字和ID是什么?", "predicted": "SELECT Courses.course_name, Sections.course_id FROM Courses JOIN Sections ON Courses.course_id = Sections.course_id GROUP BY Sections.course_id HAVING Count(*) < 2", "gold": "SELECT T1.course_name , T1.course_id FROM Courses AS T1 JOIN Sections AS T2 ON T1.course_id = T2.course_id GROUP BY T1.course_id HAVING count(*) <= 2", "predicted_parse_error": false, "hardness": "medium", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "以逆向词典顺序列出章节名称。", "predicted": "SELECT Sections.section_name FROM Sections ORDER BY Sections.section_name Desc", "gold": "SELECT section_name FROM Sections ORDER BY section_name DESC", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "按逆字母顺序排列的章节的名称是什么?", "predicted": "SELECT Sections.section_name FROM Sections ORDER BY Sections.section_name Desc", "gold": "SELECT section_name FROM Sections ORDER BY section_name DESC", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "最多学生注册的学期是哪一学期?显示名称和ID。", "predicted": "SELECT Semesters.semester_name, Semesters.semester_id FROM Semesters JOIN Student_Enrolment ON Semesters.semester_id = Student_Enrolment.semester_id GROUP BY Semesters.semester_id ORDER BY Count(*) Desc LIMIT 1", "gold": "SELECT T1.semester_name , T1.semester_id FROM Semesters AS T1 JOIN Student_Enrolment AS T2 ON T1.semester_id = T2.semester_id GROUP BY T1.semester_id ORDER BY count(*) DESC LIMIT 1", "predicted_parse_error": false, "hardness": "extra", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 4, "pred_total": 4}}}, {"question": "对于每个学期,注册学生最多的那个学期的名字和id是什么?", "predicted": "SELECT Semesters.semester_name, Semesters.semester_id FROM Semesters JOIN Student_Enrolment ON Semesters.semester_id = Student_Enrolment.semester_id GROUP BY Semesters.semester_id ORDER BY Count(*) Desc LIMIT 1", "gold": "SELECT T1.semester_name , T1.semester_id FROM Semesters AS T1 JOIN Student_Enrolment AS T2 ON T1.semester_id = T2.semester_id GROUP BY T1.semester_id ORDER BY count(*) DESC LIMIT 1", "predicted_parse_error": false, "hardness": "extra", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 4, "pred_total": 4}}}, {"question": "名字里含有子串为“computer”的学院的描述是什么?", "predicted": "SELECT Departments.department_description FROM Departments WHERE Departments.department_name LIKE \"%computer%\"", "gold": "SELECT department_description FROM Departments WHERE department_name LIKE '%computer%'", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "那个名字里有“computer”的学院的描述是什么?", "predicted": "SELECT Departments.department_description FROM Departments WHERE Departments.department_name LIKE \"%computer%\"", "gold": "SELECT department_description FROM Departments WHERE department_name LIKE '%computer%'", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "谁在一个学期内修读了2个学位课程?列出名字、中间名、姓氏和ID。", "predicted": "SELECT Students.first_name, Students.middle_name, Students.last_name FROM Students JOIN Student_Enrolment ON Students.student_id = Student_Enrolment.student_id GROUP BY Students.student_id HAVING Count(*) >= 2", "gold": "SELECT T1.first_name , T1.middle_name , T1.last_name , T1.student_id FROM Students AS T1 JOIN Student_Enrolment AS T2 ON T1.student_id = T2.student_id GROUP BY T1.student_id HAVING count(*) = 2", "predicted_parse_error": false, "hardness": "medium", "exact": 0, "partial": {"select": {"acc": 0, "rec": 0, "f1": 0, "label_total": 4, "pred_total": 3}, "select(no AGG)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 4, "pred_total": 3}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "在一学期内修读2个学位课程的所有学生的名字、中间名、姓氏和id是什么?", "predicted": "SELECT Students.first_name, Students.middle_name, Students.last_name FROM Students JOIN Student_Enrolment ON Students.student_id = Student_Enrolment.student_id GROUP BY Students.student_id HAVING Count(*) >= 2", "gold": "SELECT T1.first_name , T1.middle_name , T1.last_name , T1.student_id FROM Students AS T1 JOIN Student_Enrolment AS T2 ON T1.student_id = T2.student_id GROUP BY T1.student_id HAVING count(*) = 2", "predicted_parse_error": false, "hardness": "medium", "exact": 0, "partial": {"select": {"acc": 0, "rec": 0, "f1": 0, "label_total": 4, "pred_total": 3}, "select(no AGG)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 4, "pred_total": 3}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "谁在攻读“Bachelor”学位课程?列出名字,中间名字,姓氏。", "predicted": "SELECT Students.first_name, Students.middle_name, Students.last_name FROM Degree_Programs JOIN Students JOIN Student_Enrolment ON Degree_Programs.degree_program_id = Student_Enrolment.degree_program_id AND Student_Enrolment.student_id = Students.student_id WHERE Degree_Programs.degree_summary_name = \"History\"", "gold": "SELECT DISTINCT T1.first_name , T1.middle_name , T1.last_name FROM Students AS T1 JOIN Student_Enrolment AS T2 ON T1.student_id = T2.student_id JOIN Degree_Programs AS T3 ON T2.degree_program_id = T3.degree_program_id WHERE T3.degree_summary_name = 'Bachelor'", "predicted_parse_error": false, "hardness": "hard", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "申请“Bachelor”学位的每个人的名字、中间名、姓氏是什么?", "predicted": "SELECT Students.first_name, Students.middle_name, Students.last_name FROM Degree_Programs JOIN Students JOIN Student_Enrolment ON Degree_Programs.degree_program_id = Student_Enrolment.degree_program_id AND Student_Enrolment.student_id = Students.student_id WHERE Degree_Programs.degree_summary_name = \"History\"", "gold": "SELECT DISTINCT T1.first_name , T1.middle_name , T1.last_name FROM Students AS T1 JOIN Student_Enrolment AS T2 ON T1.student_id = T2.student_id JOIN Degree_Programs AS T3 ON T2.degree_program_id = T3.degree_program_id WHERE T3.degree_summary_name = 'Bachelor'", "predicted_parse_error": false, "hardness": "hard", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "找到最多数学生报名参加的项目?", "predicted": "SELECT Courses.course_name FROM Courses JOIN Student_Enrolment_Courses ON Courses.course_id = Student_Enrolment_Courses.course_id GROUP BY Courses.course_id ORDER BY Count(*) Desc LIMIT 1", "gold": "SELECT T1.degree_summary_name FROM Degree_Programs AS T1 JOIN Student_Enrolment AS T2 ON T1.degree_program_id = T2.degree_program_id GROUP BY T1.degree_summary_name ORDER BY count(*) DESC LIMIT 1", "predicted_parse_error": false, "hardness": "extra", "exact": 0, "partial": {"select": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "group": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 4, "pred_total": 4}}}, {"question": "申请学生人数最多的学位名称是什么?", "predicted": "SELECT Degree_Programs.degree_summary_name FROM Degree_Programs JOIN Student_Enrolment ON Degree_Programs.degree_program_id = Student_Enrolment.degree_program_id GROUP BY Degree_Programs.degree_program_id ORDER BY Count(*) Desc LIMIT 1", "gold": "SELECT T1.degree_summary_name FROM Degree_Programs AS T1 JOIN Student_Enrolment AS T2 ON T1.degree_program_id = T2.degree_program_id GROUP BY T1.degree_summary_name ORDER BY count(*) DESC LIMIT 1", "predicted_parse_error": false, "hardness": "extra", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "group": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 4, "pred_total": 4}}}, {"question": "找出最多数学生报名参加的学位。列出学位ID和学位名称。", "predicted": "SELECT Student_Enrolment.degree_program_id, Degree_Programs.degree_summary_name FROM Degree_Programs JOIN Student_Enrolment ON Degree_Programs.degree_program_id = Student_Enrolment.degree_program_id GROUP BY Student_Enrolment.degree_program_id ORDER BY Count(*) Desc LIMIT 1", "gold": "SELECT T1.degree_program_id , T1.degree_summary_name FROM Degree_Programs AS T1 JOIN Student_Enrolment AS T2 ON T1.degree_program_id = T2.degree_program_id GROUP BY T1.degree_program_id ORDER BY count(*) DESC LIMIT 1", "predicted_parse_error": false, "hardness": "extra", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 4, "pred_total": 4}}}, {"question": "最多数学生申请的学位ID和学位名称是什么?", "predicted": "SELECT Student_Enrolment.degree_program_id, Degree_Programs.degree_summary_name FROM Degree_Programs JOIN Student_Enrolment ON Degree_Programs.degree_program_id = Student_Enrolment.degree_program_id GROUP BY Student_Enrolment.degree_program_id ORDER BY Count(*) Desc LIMIT 1", "gold": "SELECT T1.degree_program_id , T1.degree_summary_name FROM Degree_Programs AS T1 JOIN Student_Enrolment AS T2 ON T1.degree_program_id = T2.degree_program_id GROUP BY T1.degree_program_id ORDER BY count(*) DESC LIMIT 1", "predicted_parse_error": false, "hardness": "extra", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 4, "pred_total": 4}}}, {"question": "哪些学生报名参加学位的次数最多?列出id、名字、中间名、姓氏、报名次数和学生id。", "predicted": "SELECT Students.student_id, Students.middle_name, Count(*) FROM Students JOIN Student_Enrolment ON Students.student_id = Student_Enrolment.student_id GROUP BY Students.student_id ORDER BY Count(*) Desc LIMIT 1", "gold": "SELECT T1.student_id , T1.first_name , T1.middle_name , T1.last_name , count(*) , T1.student_id FROM Students AS T1 JOIN Student_Enrolment AS T2 ON T1.student_id = T2.student_id GROUP BY T1.student_id ORDER BY count(*) DESC LIMIT 1", "predicted_parse_error": false, "hardness": "extra", "exact": 0, "partial": {"select": {"acc": 0, "rec": 0, "f1": 0, "label_total": 6, "pred_total": 3}, "select(no AGG)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 6, "pred_total": 3}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 4, "pred_total": 4}}}, {"question": "报名课程次数最多的学生的姓名、中间名、姓氏、学生id和报名次数是多少?", "predicted": "SELECT Students.first_name, Students.middle_name, Count(*) FROM Students JOIN Student_Enrolment ON Students.student_id = Student_Enrolment.student_id GROUP BY Students.student_id ORDER BY Count(*) Desc LIMIT 1", "gold": "SELECT T1.student_id , T1.first_name , T1.middle_name , T1.last_name , count(*) , T1.student_id FROM Students AS T1 JOIN Student_Enrolment AS T2 ON T1.student_id = T2.student_id GROUP BY T1.student_id ORDER BY count(*) DESC LIMIT 1", "predicted_parse_error": false, "hardness": "extra", "exact": 0, "partial": {"select": {"acc": 0, "rec": 0, "f1": 0, "label_total": 6, "pred_total": 3}, "select(no AGG)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 6, "pred_total": 3}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 4, "pred_total": 4}}}, {"question": "哪些学期没有任何学生注册?列出学期名称。", "predicted": "SELECT Semesters.semester_name FROM Semesters WHERE Semesters.semester_id NOT IN (SELECT Student_Enrolment.semester_id FROM Student_Enrolment)", "gold": "SELECT semester_name FROM Semesters WHERE semester_id NOT IN( SELECT semester_id FROM Student_Enrolment )", "predicted_parse_error": false, "hardness": "hard", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}}}, {"question": "没有学生注册的学期名称是什么?", "predicted": "SELECT Semesters.semester_name FROM Semesters WHERE Semesters.semester_id NOT IN (SELECT Student_Enrolment.semester_id FROM Student_Enrolment)", "gold": "SELECT semester_name FROM Semesters WHERE semester_id NOT IN( SELECT semester_id FROM Student_Enrolment )", "predicted_parse_error": false, "hardness": "hard", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}}}, {"question": "有学生报名过的所有课程的名称是什么?", "predicted": "SELECT DISTINCT Courses.course_name FROM Courses JOIN Student_Enrolment_Courses ON Courses.course_id = Student_Enrolment_Courses.course_id", "gold": "SELECT DISTINCT T1.course_name FROM Courses AS T1 JOIN Student_Enrolment_Courses AS T2 ON T1.course_id = T2.course_id", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "有学生报名过的所有课程的名称是什么?", "predicted": "SELECT DISTINCT Courses.course_name FROM Courses JOIN Student_Enrolment_Courses ON Courses.course_id = Student_Enrolment_Courses.course_id", "gold": "SELECT DISTINCT T1.course_name FROM Courses AS T1 JOIN Student_Enrolment_Courses AS T2 ON T1.course_id = T2.course_id", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "报名人数最多的课程名称是什么?", "predicted": "SELECT Courses.course_name FROM Courses JOIN Student_Enrolment_Courses ON Courses.course_id = Student_Enrolment_Courses.course_id GROUP BY Student_Enrolment_Courses.course_id ORDER BY Count(*) Desc LIMIT 1", "gold": "SELECT T1.course_name FROM Courses AS T1 JOIN Student_Enrolment_Courses AS T2 ON T1.course_id = T2.course_id GROUP BY T1.course_name ORDER BY count(*) DESC LIMIT 1", "predicted_parse_error": false, "hardness": "extra", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "group": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 4, "pred_total": 4}}}, {"question": "最多人数报名的课程名称是什么?", "predicted": "SELECT Courses.course_name FROM Courses JOIN Student_Enrolment_Courses ON Courses.course_id = Student_Enrolment_Courses.course_id GROUP BY Student_Enrolment_Courses.course_id ORDER BY Count(*) Desc LIMIT 1", "gold": "SELECT T1.course_name FROM Courses AS T1 JOIN Student_Enrolment_Courses AS T2 ON T1.course_id = T2.course_id GROUP BY T1.course_name ORDER BY count(*) DESC LIMIT 1", "predicted_parse_error": false, "hardness": "extra", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "group": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 4, "pred_total": 4}}}, {"question": "查找目前居住在“North Carolina”,但没有报名任何学位课程的学生的姓氏。", "predicted": "SELECT Students.last_name FROM Addresses JOIN Students ON Addresses.address_id = Students.current_address_id WHERE Addresses.city = \"Statistics\" EXCEPT SELECT Students.last_name FROM Addresses JOIN Student_Enrolment ON Addresses.address_id = Student_Enrolment.student_id", "gold": "SELECT T1.last_name FROM Students AS T1 JOIN Addresses AS T2 ON T1.current_address_id = T2.address_id WHERE T2.state_province_county = 'NorthCarolina' EXCEPT SELECT DISTINCT T3.last_name FROM Students AS T3 JOIN Student_Enrolment AS T4 ON T3.student_id = T4.student_id", "predicted_parse_error": false, "hardness": "extra", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "那些住在“North Carolina”但没有报名任何学位课程的学生的姓氏是什么?", "predicted": "SELECT Students.last_name FROM Addresses JOIN Students ON Addresses.address_id = Students.current_address_id JOIN Student_Enrolment ON Students.student_id = Student_Enrolment.student_id WHERE Addresses.city = \"Smith\" EXCEPT SELECT Students.last_name FROM Addresses JOIN Student_Enrolment ON Addresses.address_id = Student_Enrolment.student_id", "gold": "SELECT T1.last_name FROM Students AS T1 JOIN Addresses AS T2 ON T1.current_address_id = T2.address_id WHERE T2.state_province_county = 'NorthCarolina' EXCEPT SELECT DISTINCT T3.last_name FROM Students AS T3 JOIN Student_Enrolment AS T4 ON T3.student_id = T4.student_id", "predicted_parse_error": false, "hardness": "extra", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "显示至少包括2个课程成绩的成绩单的日期和id。", "predicted": "SELECT Transcripts.transcript_date, Transcripts.transcript_id FROM Transcripts JOIN Transcript_Contents ON Transcripts.transcript_id = Transcript_Contents.transcript_id GROUP BY Transcripts.transcript_id HAVING Count(*) >= 2", "gold": "SELECT T2.transcript_date , T1.transcript_id FROM Transcript_Contents AS T1 JOIN Transcripts AS T2 ON T1.transcript_id = T2.transcript_id GROUP BY T1.transcript_id HAVING count(*) >= 2", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "至少有2个课程的成绩单的日期和id是什么?", "predicted": "SELECT Transcripts.transcript_date, Transcript_Contents.transcript_id FROM Transcripts JOIN Transcript_Contents ON Transcripts.transcript_id = Transcript_Contents.transcript_id GROUP BY Transcript_Contents.transcript_id HAVING Count(*) >= 2", "gold": "SELECT T2.transcript_date , T1.transcript_id FROM Transcript_Contents AS T1 JOIN Transcripts AS T2 ON T1.transcript_id = T2.transcript_id GROUP BY T1.transcript_id HAVING count(*) >= 2", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "名字是“Timmothy”、姓氏是“Ward”的人的电话号码是多少?", "predicted": "SELECT Students.cell_mobile_number FROM Students WHERE Students.first_name = \"Timmothy\" AND Students.last_name = \"Ward\"", "gold": "SELECT cell_mobile_number FROM Students WHERE first_name = 'Timmothy' AND last_name = 'Ward'", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "叫“Timmothy Ward”的学生的手机号码是多少?", "predicted": "SELECT Students.cell_mobile_number FROM Students WHERE Students.first_name = \"Timmothy\" AND Students.last_name = \"Ward\"", "gold": "select cell_mobile_number from students where first_name = 'timmothy' and last_name = 'ward'", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "谁是第一个注册的学生?列出名字、中间名和姓氏。", "predicted": "SELECT Students.first_name, Students.middle_name, Students.last_name FROM Students ORDER BY Students.date_first_registered Asc LIMIT 1", "gold": "SELECT first_name , middle_name , last_name FROM Students ORDER BY date_first_registered ASC LIMIT 1", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}}}, {"question": "第一个注册的学生的名字、中间名和姓氏是什么?", "predicted": "SELECT Students.first_name, Students.middle_name, Students.last_name FROM Students ORDER BY Students.date_first_registered Asc LIMIT 1", "gold": "SELECT first_name , middle_name , last_name FROM Students ORDER BY date_first_registered ASC LIMIT 1", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}}}, {"question": "谁是学校最早毕业的学生?列出名字、中间名和姓氏。", "predicted": "SELECT Students.first_name, Students.middle_name, Students.last_name FROM Students ORDER BY Students.date_left Asc LIMIT 1", "gold": "SELECT first_name , middle_name , last_name FROM Students ORDER BY date_left ASC LIMIT 1", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}}}, {"question": "最早的学校毕业生的名字、中间名和姓氏是什么?", "predicted": "SELECT Students.first_name, Students.middle_name, Students.last_name FROM Students ORDER BY Students.date_left Asc LIMIT 1", "gold": "SELECT first_name , middle_name , last_name FROM Students ORDER BY date_left ASC LIMIT 1", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}}}, {"question": "谁的永久地址不同于他或她的当前地址?列出他或她的名字。", "predicted": "SELECT DISTINCT Students.first_name FROM Students WHERE Students.permanent_address_id > (SELECT Min(Students.permanent_address_id) FROM Students)", "gold": "SELECT first_name FROM Students WHERE current_address_id != permanent_address_id", "predicted_parse_error": false, "hardness": "easy", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "永久地址与当前地址不同的学生的名字是什么?", "predicted": "SELECT DISTINCT Students.first_name FROM Students", "gold": "SELECT first_name FROM Students WHERE current_address_id != permanent_address_id", "predicted_parse_error": false, "hardness": "easy", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 0}, "where(no OP)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 0}}}, {"question": "目前哪个地址包含的学生最多?列出地址ID和地址的第1行和第2行。", "predicted": "SELECT Students.current_address_id, Addresses.line_2 FROM Addresses JOIN Students ON Addresses.address_id = Students.current_address_id GROUP BY Students.current_address_id ORDER BY Count(*) Desc LIMIT 1", "gold": "SELECT T1.address_id , T1.line_1 , T1.line_2 FROM Addresses AS T1 JOIN Students AS T2 ON T1.address_id = T2.current_address_id GROUP BY T1.address_id ORDER BY count(*) DESC LIMIT 1", "predicted_parse_error": false, "hardness": "extra", "exact": 0, "partial": {"select": {"acc": 0, "rec": 0, "f1": 0, "label_total": 3, "pred_total": 2}, "select(no AGG)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 3, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 4, "pred_total": 4}}}, {"question": "包含最多数学生的地址的ID、第1行和第2行是什么?", "predicted": "SELECT Students.current_address_id, Addresses.line_1, Addresses.line_2 FROM Addresses JOIN Students ON Addresses.address_id = Students.current_address_id GROUP BY Students.current_address_id ORDER BY Count(*) Desc LIMIT 1", "gold": "SELECT T1.address_id , T1.line_1 , T1.line_2 FROM Addresses AS T1 JOIN Students AS T2 ON T1.address_id = T2.current_address_id GROUP BY T1.address_id ORDER BY count(*) DESC LIMIT 1", "predicted_parse_error": false, "hardness": "extra", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 4, "pred_total": 4}}}, {"question": "平均来说,成绩单是什么时候印的?", "predicted": "SELECT Avg(Transcripts.transcript_date) FROM Transcripts", "gold": "SELECT avg(transcript_date) FROM Transcripts", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "成绩单的平均发布日期是什么?", "predicted": "SELECT Avg(Transcripts.transcript_date) FROM Transcripts", "gold": "SELECT avg(transcript_date) FROM Transcripts", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "第一份成绩单是什么时候发布的?列出日期和细节。", "predicted": "SELECT Transcripts.transcript_date, Transcripts.other_details FROM Transcripts ORDER BY Transcripts.transcript_date Asc LIMIT 1", "gold": "SELECT transcript_date , other_details FROM Transcripts ORDER BY transcript_date ASC LIMIT 1", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}}}, {"question": "发布最早的成绩单的日期是什么?你能告诉我什么细节?", "predicted": "SELECT Transcripts.transcript_date, Transcripts.other_details FROM Transcripts ORDER BY Transcripts.transcript_date Asc LIMIT 1", "gold": "SELECT transcript_date , other_details FROM Transcripts ORDER BY transcript_date ASC LIMIT 1", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}}}, {"question": "发布多少成绩单?", "predicted": "SELECT Count(*) FROM Transcripts", "gold": "SELECT count(*) FROM Transcripts", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "列出了多少个成绩单?", "predicted": "SELECT Count(*) FROM Transcripts", "gold": "SELECT count(*) FROM Transcripts", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "最后一份成绩单发布日期是什么?", "predicted": "SELECT Transcripts.transcript_date FROM Transcripts ORDER BY Transcripts.transcript_date Desc LIMIT 1", "gold": "SELECT transcript_date FROM Transcripts ORDER BY transcript_date DESC LIMIT 1", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}}}, {"question": "最后一份成绩单是什么时候发布的?", "predicted": "SELECT Max(Transcripts.transcript_date) FROM Transcripts", "gold": "SELECT transcript_date FROM Transcripts ORDER BY transcript_date DESC LIMIT 1", "predicted_parse_error": false, "hardness": "medium", "exact": 0, "partial": {"select": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 0, "rec": 0, "f1": 0, "label_total": 3, "pred_total": 0}}}, {"question": "一个课程的注册结果最多能在不同的成绩单显示多少次?同时显示课程注册ID。", "predicted": "SELECT Student_Enrolment.degree_program_id, Count(*) FROM Student_Enrolment JOIN Student_Enrolment_Courses ON Student_Enrolment.student_enrolment_id = Student_Enrolment_Courses.student_enrolment_id JOIN Transcript_Contents ON Student_Enrolment_Courses.student_course_id = Transcript_Contents.student_course_id GROUP BY Transcript_Contents.transcript_id ORDER BY Count(*) Desc LIMIT 1", "gold": "SELECT count(*) , student_course_id FROM Transcript_Contents GROUP BY student_course_id ORDER BY count(*) DESC LIMIT 1", "predicted_parse_error": false, "hardness": "hard", "exact": 0, "partial": {"select": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "group": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 4, "pred_total": 4}}}, {"question": "一个课程在不同成绩单中出现的最大次数是多少?该课程的注册号是多少?", "predicted": "SELECT Count(*), Transcript_Contents.transcript_id FROM Transcript_Contents GROUP BY Transcript_Contents.transcript_id ORDER BY Count(*) Desc LIMIT 1", "gold": "SELECT count(*) , student_course_id FROM Transcript_Contents GROUP BY student_course_id ORDER BY count(*) DESC LIMIT 1", "predicted_parse_error": false, "hardness": "hard", "exact": 0, "partial": {"select": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "group": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 4, "pred_total": 4}}}, {"question": "显示成绩数量最少的成绩单的日期,并列出ID。", "predicted": "SELECT Transcripts.transcript_date, Transcripts.transcript_date FROM Transcripts GROUP BY Transcripts.transcript_date ORDER BY Count(*) Asc LIMIT 1", "gold": "SELECT T2.transcript_date , T1.transcript_id FROM Transcript_Contents AS T1 JOIN Transcripts AS T2 ON T1.transcript_id = T2.transcript_id GROUP BY T1.transcript_id ORDER BY count(*) ASC LIMIT 1", "predicted_parse_error": false, "hardness": "extra", "exact": 0, "partial": {"select": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "group": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 4, "pred_total": 4}}}, {"question": "成绩数量最少的成绩单的日期和id是什么?", "predicted": "SELECT Transcripts.transcript_date, Transcripts.transcript_date FROM Transcripts GROUP BY Transcripts.transcript_date ORDER BY Count(*) Asc LIMIT 1", "gold": "SELECT T2.transcript_date , T1.transcript_id FROM Transcript_Contents AS T1 JOIN Transcripts AS T2 ON T1.transcript_id = T2.transcript_id GROUP BY T1.transcript_id ORDER BY count(*) ASC LIMIT 1", "predicted_parse_error": false, "hardness": "extra", "exact": 0, "partial": {"select": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "group": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 4, "pred_total": 4}}}, {"question": "找到“Master”和“Bachelor”都有注册的那个学期。", "predicted": "SELECT Student_Enrolment.semester_id FROM Degree_Programs JOIN Student_Enrolment ON Degree_Programs.degree_program_id = Student_Enrolment.degree_program_id WHERE Degree_Programs.degree_summary_name = \"History\" INTERSECT SELECT Student_Enrolment.semester_id FROM Student_Enrolment JOIN Degree_Programs ON Student_Enrolment.degree_program_id = Degree_Programs.degree_program_id WHERE Degree_Programs.degree_summary_name = \"Ph\"", "gold": "SELECT DISTINCT T2.semester_id FROM Degree_Programs AS T1 JOIN Student_Enrolment AS T2 ON T1.degree_program_id = T2.degree_program_id WHERE degree_summary_name = 'Master' INTERSECT SELECT DISTINCT T2.semester_id FROM Degree_Programs AS T1 JOIN Student_Enrolment AS T2 ON T1.degree_program_id = T2.degree_program_id WHERE degree_summary_name = 'Bachelor'", "predicted_parse_error": false, "hardness": "extra", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "同时招收了“Master”和“Bachelor”的学期的id是什么?", "predicted": "SELECT Student_Enrolment.semester_id FROM Degree_Programs JOIN Student_Enrolment ON Degree_Programs.degree_program_id = Student_Enrolment.degree_program_id WHERE Degree_Programs.degree_summary_name = \"History\" INTERSECT SELECT Student_Enrolment.semester_id FROM Student_Enrolment JOIN Degree_Programs ON Student_Enrolment.degree_program_id = Degree_Programs.degree_program_id WHERE Degree_Programs.degree_summary_name = \"Ph\"", "gold": "SELECT DISTINCT T2.semester_id FROM Degree_Programs AS T1 JOIN Student_Enrolment AS T2 ON T1.degree_program_id = T2.degree_program_id WHERE degree_summary_name = 'Master' INTERSECT SELECT DISTINCT T2.semester_id FROM Degree_Programs AS T1 JOIN Student_Enrolment AS T2 ON T1.degree_program_id = T2.degree_program_id WHERE degree_summary_name = 'Bachelor'", "predicted_parse_error": false, "hardness": "extra", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "学生现在有多少不同的住址?", "predicted": "SELECT Count(DISTINCT Students.current_address_id) FROM Students", "gold": "SELECT count(DISTINCT current_address_id) FROM Students", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "学生现在有多少个不同的居住地址?", "predicted": "SELECT Count(DISTINCT Students.current_address_id) FROM Students", "gold": "SELECT count(DISTINCT current_address_id) FROM Students", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "按照字母顺序倒序列出所有学生的详细资料。", "predicted": "SELECT * FROM Students ORDER BY Students.other_student_details Asc", "gold": "SELECT other_student_details FROM Students ORDER BY other_student_details DESC", "predicted_parse_error": false, "hardness": "easy", "exact": 0, "partial": {"select": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 2}}}, {"question": "按字母顺序逆序排列,你能告诉我学生其他的一些细节吗?", "predicted": "SELECT Students.other_student_details FROM Students ORDER BY Students.other_student_details Asc", "gold": "SELECT other_student_details FROM Students ORDER BY other_student_details DESC", "predicted_parse_error": false, "hardness": "easy", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 2}}}, {"question": "描述“h”章节。", "predicted": "SELECT Sections.section_description FROM Sections WHERE Sections.section_name = \"h\"", "gold": "SELECT section_description FROM Sections WHERE section_name = 'h'", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "“h”章节的描述是什么?", "predicted": "SELECT Sections.section_description FROM Sections WHERE Sections.section_name = \"h\"", "gold": "SELECT section_description FROM Sections WHERE section_name = 'h'", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "找到永久居住在“Haiti”或手机电话号码是“09700166582”的学生的名字。", "predicted": "SELECT Students.first_name FROM Addresses JOIN Students ON Addresses.address_id = Students.current_address_id WHERE Addresses.country = \"Close\" OR Students.cell_mobile_number = \"09700166582\"", "gold": "select t1.first_name from students as t1 join addresses as t2 on t1.permanent_address_id = t2.address_id where t2.country = 'haiti' or t1.cell_mobile_number = '09700166582'", "predicted_parse_error": false, "hardness": "hard", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "永久居住在“Haiti”或手机号码是“09700166582”的学生的名字是什么?", "predicted": "SELECT Students.first_name FROM Addresses JOIN Students ON Addresses.address_id = Students.current_address_id WHERE Addresses.country = \"Close\" OR Students.cell_mobile_number = \"09700166582\"", "gold": "select t1.first_name from students as t1 join addresses as t2 on t1.permanent_address_id = t2.address_id where t2.country = 'haiti' or t1.cell_mobile_number = '09700166582'", "predicted_parse_error": false, "hardness": "hard", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "按字母顺序列出所有卡通的标题。", "predicted": "SELECT Cartoon.Title FROM Cartoon ORDER BY Cartoon.Title Asc", "gold": "SELECT Title FROM Cartoon ORDER BY title", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "按字母顺序排列,卡通的标题是什么?", "predicted": "SELECT Cartoon.Title FROM Cartoon ORDER BY Cartoon.Title Asc", "gold": "SELECT Title FROM Cartoon ORDER BY title", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "列出所有由“Ben Jones”导演的卡通。", "predicted": "SELECT Cartoon.Title FROM Cartoon WHERE Cartoon.Directed_by = \"Ben-\"", "gold": "SELECT Title FROM Cartoon WHERE Directed_by = \"Ben Jones\";", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "“Ben Jones”导演的卡通作品的名字是什么?", "predicted": "SELECT Cartoon.Title FROM Cartoon WHERE Cartoon.Directed_by = \"Ben-\"", "gold": "SELECT Title FROM Cartoon WHERE Directed_by = \"Ben Jones\";", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "“Joseph Kuhr”写了多少动画片?", "predicted": "SELECT Count(*) FROM Cartoon WHERE Cartoon.Written_by = \"Steven\"", "gold": "SELECT count(*) FROM Cartoon WHERE Written_by = \"Joseph Kuhr\";", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "“Joseph Kuhr”编剧的动画片的数量是多少?", "predicted": "SELECT Count(*) FROM Cartoon WHERE Cartoon.Written_by = \"Steven\"", "gold": "SELECT count(*) FROM Cartoon WHERE Written_by = \"Joseph Kuhr\";", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "列出所有的卡通片的名字和他们的导演,以开播日期排序输出。", "predicted": "SELECT Cartoon.Title, Cartoon.Directed_by FROM Cartoon ORDER BY Cartoon.Original_air_date Asc", "gold": "SELECT title , Directed_by FROM Cartoon ORDER BY Original_air_date", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "按照播出日期排序,所有卡通的名字和导演是什么?", "predicted": "SELECT Cartoon.Title, Cartoon.Directed_by FROM Cartoon ORDER BY Cartoon.Original_air_date Asc", "gold": "SELECT title , Directed_by FROM Cartoon ORDER BY Original_air_date", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "列出“Ben Jones”或“Brandon Vietti”导演的所有卡通片的标题。", "predicted": "SELECT Cartoon.Title FROM Cartoon WHERE Cartoon.Directed_by = \"Ben-\" OR Cartoon.Directed_by = \"Walter\"", "gold": "SELECT Title FROM Cartoon WHERE Directed_by = \"Ben Jones\" OR Directed_by = \"Brandon Vietti\";", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "“Ben Jones”或“Brandon Vietti”导演的卡通作品的标题是什么?", "predicted": "SELECT Cartoon.Title FROM Cartoon WHERE Cartoon.Directed_by = \"Ben-\" OR Cartoon.Directed_by = \"Walter\"", "gold": "SELECT Title FROM Cartoon WHERE Directed_by = \"Ben Jones\" OR Directed_by = \"Brandon Vietti\";", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "哪个国家拥有最多的电视频道?列出这些国家和它们所拥有的电视频道的数量。", "predicted": "SELECT TV_Channel.Country, Count(*) FROM TV_Channel GROUP BY TV_Channel.Country ORDER BY Count(*) Desc LIMIT 1", "gold": "SELECT Country , count(*) FROM TV_Channel GROUP BY Country ORDER BY count(*) DESC LIMIT 1;", "predicted_parse_error": false, "hardness": "hard", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 4, "pred_total": 4}}}, {"question": "电视频道最多的国家是什么?它们有多少个频道?", "predicted": "SELECT TV_Channel.Country, Count(*) FROM TV_Channel GROUP BY TV_Channel.Country ORDER BY Count(*) Desc LIMIT 1", "gold": "SELECT Country , count(*) FROM TV_Channel GROUP BY Country ORDER BY count(*) DESC LIMIT 1;", "predicted_parse_error": false, "hardness": "hard", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 4, "pred_total": 4}}}, {"question": "列出电视频道表中不同的系列名称的数量和不同内容的数量。", "predicted": "SELECT Count(DISTINCT TV_Channel.series_name), Count(DISTINCT TV_Channel.Content) FROM TV_Channel", "gold": "SELECT count(DISTINCT series_name) , count(DISTINCT content) FROM TV_Channel;", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "电视频道表中列出了多少个不同的系列和内容?", "predicted": "SELECT Count(DISTINCT TV_Channel.Content), Count(DISTINCT TV_Channel.Content) FROM TV_Channel", "gold": "SELECT count(DISTINCT series_name) , count(DISTINCT content) FROM TV_Channel;", "predicted_parse_error": false, "hardness": "medium", "exact": 0, "partial": {"select": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "电视频道播出的系列节目“Sky Radio”的内容是什么?", "predicted": "SELECT TV_Channel.Content FROM TV_Channel JOIN TV_series ON TV_Channel.id = TV_series.Channel WHERE TV_Channel.series_name = \"Sky-\"", "gold": "SELECT Content FROM TV_Channel WHERE series_name = \"Sky Radio\";", "predicted_parse_error": false, "hardness": "easy", "exact": false, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "系列节目“Sky Radio”的内容是什么?", "predicted": "SELECT TV_Channel.Content FROM TV_Channel WHERE TV_Channel.series_name = \"Sky-\"", "gold": "SELECT Content FROM TV_Channel WHERE series_name = \"Sky Radio\";", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "播出电视系列节目“Sky Radio”的电视频道的套餐选项是什么?", "predicted": "SELECT TV_Channel.Package_Option FROM TV_Channel WHERE TV_Channel.series_name = \"Sky-\"", "gold": "SELECT Package_Option FROM TV_Channel WHERE series_name = \"Sky Radio\";", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "包含了系列节目“Sky Radio”的电视频道有哪些套餐选项?", "predicted": "SELECT TV_Channel.Package_Option FROM TV_Channel WHERE TV_Channel.series_name = \"Sky-\"", "gold": "SELECT Package_Option FROM TV_Channel WHERE series_name = \"Sky Radio\";", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "有多少电视频道使用语言为“English”?", "predicted": "SELECT Count(*) FROM TV_Channel WHERE TV_Channel.Language = \"english\"", "gold": "SELECT count(*) FROM TV_Channel WHERE LANGUAGE = \"English\";", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "使用“English”的电视频道有多少?", "predicted": "SELECT Count(*) FROM TV_Channel WHERE TV_Channel.Language = \"english\"", "gold": "SELECT count(*) FROM TV_Channel WHERE LANGUAGE = \"English\";", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "列出使用语言数量最少的电视频道所使用的语言和这些电视频道的数量。", "predicted": "SELECT TV_Channel.Language, Count(*) FROM TV_Channel GROUP BY TV_Channel.Language ORDER BY Count(*) Asc LIMIT 1", "gold": "SELECT LANGUAGE , count(*) FROM TV_Channel GROUP BY LANGUAGE ORDER BY count(*) ASC LIMIT 1;", "predicted_parse_error": false, "hardness": "hard", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 4, "pred_total": 4}}}, {"question": "电视频道使用的最少的语言是什么?有多少频道使用它?", "predicted": "SELECT TV_Channel.Language, Count(*) FROM TV_Channel GROUP BY TV_Channel.Language ORDER BY Count(*) Asc LIMIT 1", "gold": "SELECT LANGUAGE , count(*) FROM TV_Channel GROUP BY LANGUAGE ORDER BY count(*) ASC LIMIT 1;", "predicted_parse_error": false, "hardness": "hard", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 4, "pred_total": 4}}}, {"question": "列出每种语言和使用它的电视频道的数量。", "predicted": "SELECT TV_Channel.Language, Count(*) FROM TV_Channel GROUP BY TV_Channel.Language", "gold": "SELECT LANGUAGE , count(*) FROM TV_Channel GROUP BY LANGUAGE", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "对于每种语言,列出使用它的电视频道的数量。", "predicted": "SELECT TV_Channel.Language, Count(*) FROM TV_Channel GROUP BY TV_Channel.Language", "gold": "SELECT LANGUAGE , count(*) FROM TV_Channel GROUP BY LANGUAGE", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "播放卡通“The Rise of the Blue Beetle!”的电视频道是什么?列出电视频道的系列节目的名称。", "predicted": "SELECT TV_Channel.series_name FROM TV_Channel JOIN Cartoon ON TV_Channel.id = Cartoon.Channel WHERE Cartoon.Title = \"Theing\"", "gold": "SELECT T1.series_name FROM TV_Channel AS T1 JOIN Cartoon AS T2 ON T1.id = T2.Channel WHERE T2.Title = \"The Rise of the Blue Beetle!\";", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "放映卡通片“The Rise of the Blue Beetle!”的电视频道播放的系列节目名称是什么?", "predicted": "SELECT TV_Channel.series_name FROM TV_Channel JOIN Cartoon ON TV_Channel.id = Cartoon.Channel WHERE Cartoon.Title = \"Theings-s\"", "gold": "SELECT T1.series_name FROM TV_Channel AS T1 JOIN Cartoon AS T2 ON T1.id = T2.Channel WHERE T2.Title = \"The Rise of the Blue Beetle!\";", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "列出播放系列节目“Sky Radio”的电视频道播出的卡通片名称。", "predicted": "SELECT Cartoon.Title FROM TV_Channel JOIN TV_series ON TV_Channel.id = TV_series.Channel JOIN Cartoon ON TV_Channel.id = Cartoon.Channel WHERE TV_Channel.series_name = \"SkyM\"", "gold": "SELECT T2.Title FROM TV_Channel AS T1 JOIN Cartoon AS T2 ON T1.id = T2.Channel WHERE T1.series_name = \"Sky Radio\";", "predicted_parse_error": false, "hardness": "medium", "exact": false, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "播放系列节目“Sky Radio”的电视频道播出的卡通片标题是什么?", "predicted": "SELECT Cartoon.Title FROM TV_Channel JOIN TV_series ON TV_Channel.id = TV_series.Channel JOIN Cartoon ON TV_Channel.id = Cartoon.Channel WHERE TV_Channel.series_name = \"SkyM\"", "gold": "SELECT T2.Title FROM TV_Channel AS T1 JOIN Cartoon AS T2 ON T1.id = T2.Channel WHERE T1.series_name = \"Sky Radio\";", "predicted_parse_error": false, "hardness": "medium", "exact": false, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "根据评分排序列出所有电视系列节目的剧集。", "predicted": "SELECT TV_series.Episode FROM TV_series ORDER BY TV_series.Rating Asc", "gold": "SELECT Episode FROM TV_series ORDER BY rating", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "按照评分排序的所有剧集是什么?", "predicted": "SELECT TV_series.Episode FROM TV_series ORDER BY TV_series.Rating Asc", "gold": "SELECT Episode FROM TV_series ORDER BY rating", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "列出评分排名前3位的电视系列节目。列出电视系列节目的剧集和评分。", "predicted": "SELECT TV_series.Episode, TV_series.Rating FROM TV_series ORDER BY TV_series.Rating Desc LIMIT 3", "gold": "SELECT Episode , Rating FROM TV_series ORDER BY Rating DESC LIMIT 3;", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}}}, {"question": "在电视系列节目的剧表中评分最高的3个是什么?评分是多少?", "predicted": "SELECT TV_series.Episode, TV_series.Rating FROM TV_series ORDER BY TV_series.Rating Desc LIMIT 3", "gold": "SELECT Episode , Rating FROM TV_series ORDER BY Rating DESC LIMIT 3;", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}}}, {"question": "电视系列节目的最小和最大份额是多少?", "predicted": "SELECT Min(TV_series.Share), Max(TV_series.Share) FROM TV_series", "gold": "SELECT max(SHARE) , min(SHARE) FROM TV_series;", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "电视系列节目的最大和最小份额是多少?", "predicted": "SELECT Max(TV_series.Share), Min(TV_series.Share) FROM TV_series", "gold": "SELECT max(SHARE) , min(SHARE) FROM TV_series;", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "电视系列节目“A Love of a Lifetime”这一剧集的播出日期是什么时候?", "predicted": "SELECT TV_series.Air_Date FROM TV_series WHERE TV_series.Episode = \"A4s\"", "gold": "SELECT Air_Date FROM TV_series WHERE Episode = \"A Love of a Lifetime\";", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "“A Love of a Lifetime”这一剧集是什么时候播出的?", "predicted": "SELECT TV_series.Air_Date FROM TV_series WHERE TV_series.Episode = \"A4s\"", "gold": "SELECT Air_Date FROM TV_series WHERE Episode = \"A Love of a Lifetime\";", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "系列节目“A Love of a Lifetime”剧集的每周排名是多少?", "predicted": "SELECT TV_series.Weekly_Rank FROM TV_series WHERE TV_series.Episode = \"A4s\"", "gold": "SELECT Weekly_Rank FROM TV_series WHERE Episode = \"A Love of a Lifetime\";", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "“A Love of a Lifetime”剧集的每周排名是多少?", "predicted": "SELECT TV_series.Weekly_Rank FROM TV_series WHERE TV_series.Episode = \"A4s\"", "gold": "SELECT Weekly_Rank FROM TV_series WHERE Episode = \"A Love of a Lifetime\";", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "剧集“A Love of a Lifetime”播出的电视频道是什么?列出这个电视频道的系列节目名称。", "predicted": "SELECT TV_Channel.series_name, TV_Channel.series_name FROM TV_Channel JOIN TV_series ON TV_Channel.id = TV_series.Channel JOIN Cartoon ON TV_Channel.id = Cartoon.Channel WHERE TV_series.Episode = \"A-s\"", "gold": "SELECT T1.series_name FROM TV_Channel AS T1 JOIN TV_series AS T2 ON T1.id = T2.Channel WHERE T2.Episode = \"A Love of a Lifetime\";", "predicted_parse_error": false, "hardness": "medium", "exact": 0, "partial": {"select": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 2}, "select(no AGG)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "包含“A Love of a Lifetime”这一剧集的系列节目名字是什么?", "predicted": "SELECT TV_Channel.series_name FROM TV_Channel JOIN TV_series ON TV_Channel.id = TV_series.Channel WHERE TV_series.Episode = \"Abays\"", "gold": "SELECT T1.series_name FROM TV_Channel AS T1 JOIN TV_series AS T2 ON T1.id = T2.Channel WHERE T2.Episode = \"A Love of a Lifetime\";", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "列出播出系列节目“Sky Radio”的电视频道所播出的所有系列节目的剧集。", "predicted": "SELECT TV_series.Episode FROM TV_Channel JOIN TV_series ON TV_Channel.id = TV_series.Channel WHERE TV_Channel.series_name = \"Sky-\"", "gold": "SELECT T2.Episode FROM TV_Channel AS T1 JOIN TV_series AS T2 ON T1.id = T2.Channel WHERE T1.series_name = \"Sky Radio\";", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "播出电视系列节目“Sky Radio”的电视频道的剧集是什么?", "predicted": "SELECT TV_series.Episode FROM TV_Channel JOIN TV_series ON TV_Channel.id = TV_series.Channel WHERE TV_Channel.series_name = \"Sky-\"", "gold": "SELECT T2.Episode FROM TV_Channel AS T1 JOIN TV_series AS T2 ON T1.id = T2.Channel WHERE T1.series_name = \"Sky Radio\";", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "找出每个列出来的导演所导演的卡通作品的数量。", "predicted": "SELECT Cartoon.Directed_by, Count(*) FROM Cartoon GROUP BY Cartoon.Directed_by ORDER BY Count(*) Asc", "gold": "SELECT count(*) , Directed_by FROM cartoon GROUP BY Directed_by", "predicted_parse_error": false, "hardness": "medium", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 3}}}, {"question": "每个导演创作了多少动画片?", "predicted": "SELECT Cartoon.Directed_by, Count(*) FROM Cartoon GROUP BY Cartoon.Directed_by", "gold": "SELECT count(*) , Directed_by FROM cartoon GROUP BY Directed_by", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "找到最近播出的卡通片的制作代码和频道。", "predicted": "SELECT Cartoon.Production_code, Cartoon.Channel FROM Cartoon ORDER BY Cartoon.Original_air_date Desc LIMIT 1", "gold": "select production_code , channel from cartoon order by original_air_date desc limit 1", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}}}, {"question": "最新的动画片的制作代码和频道是什么?", "predicted": "SELECT Cartoon.Production_code, Cartoon.Channel FROM Cartoon ORDER BY Cartoon.Original_air_date Desc LIMIT 1", "gold": "select production_code , channel from cartoon order by original_air_date desc limit 1", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}}}, {"question": "找到高清晰度电视频道的套餐选择和系列节目名称。", "predicted": "SELECT TV_Channel.Package_Option, TV_Channel.series_name FROM TV_Channel WHERE TV_Channel.Pixel_aspect_ratio_PAR = \"H\"", "gold": "SELECT package_option , series_name FROM TV_Channel WHERE hight_definition_TV = \"yes\"", "predicted_parse_error": false, "hardness": "medium", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "支持高清电视的电视频道的套餐选项和系列节目名称是什么?", "predicted": "SELECT TV_Channel.Package_Option, TV_Channel.series_name FROM TV_Channel WHERE TV_Channel.Pixel_aspect_ratio_PAR = \"Y\"", "gold": "SELECT package_option , series_name FROM TV_Channel WHERE hight_definition_TV = \"yes\"", "predicted_parse_error": false, "hardness": "medium", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "哪些国家的电视频道在播放“Todd Casey”写的漫画?", "predicted": "SELECT TV_Channel.Country FROM TV_Channel JOIN Cartoon ON TV_Channel.id = Cartoon.Channel WHERE Cartoon.Written_by = \"Toddne\"", "gold": "SELECT T1.country FROM TV_Channel AS T1 JOIN cartoon AS T2 ON T1.id = T2.Channel WHERE T2.written_by = 'Todd Casey'", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "在电视上播放“Todd Casey”写的漫画的国家有哪些?", "predicted": "SELECT TV_Channel.Country FROM TV_Channel JOIN Cartoon ON TV_Channel.id = Cartoon.Channel WHERE Cartoon.Written_by = \"Toddal\"", "gold": "SELECT T1.country FROM TV_Channel AS T1 JOIN cartoon AS T2 ON T1.id = T2.Channel WHERE T2.written_by = 'Todd Casey'", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "哪些国家的电视频道没有播放“Todd Casey”写的漫画?", "predicted": "SELECT TV_Channel.Country FROM TV_Channel EXCEPT SELECT TV_Channel.Country FROM Cartoon JOIN TV_Channel ON Cartoon.Channel = TV_Channel.id WHERE Cartoon.Written_by = \"Todde\"", "gold": "SELECT country FROM TV_Channel EXCEPT SELECT T1.country FROM TV_Channel AS T1 JOIN cartoon AS T2 ON T1.id = T2.Channel WHERE T2.written_by = 'Todd Casey'", "predicted_parse_error": false, "hardness": "hard", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "没有播放“Todd Casey”写的漫画的国家有哪些?", "predicted": "SELECT TV_Channel.Country FROM TV_Channel EXCEPT SELECT TV_Channel.Country FROM Cartoon JOIN TV_Channel ON Cartoon.Channel = TV_Channel.id WHERE Cartoon.Written_by = \"Todde\"", "gold": "SELECT country FROM TV_Channel EXCEPT SELECT T1.country FROM TV_Channel AS T1 JOIN cartoon AS T2 ON T1.id = T2.Channel WHERE T2.written_by = 'Todd Casey'", "predicted_parse_error": false, "hardness": "hard", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "找到正在播放由“Ben Jones”和“Michael Chang”执导的卡通片的电视频道的系列节目名称和国家。", "predicted": "SELECT TV_Channel.series_name, TV_Channel.Country FROM TV_Channel JOIN Cartoon ON TV_Channel.id = Cartoon.Channel WHERE Cartoon.Directed_by = \"Ben\" INTERSECT SELECT TV_Channel.series_name, TV_Channel.Country FROM Cartoon JOIN TV_Channel ON Cartoon.Channel = TV_Channel.id WHERE Cartoon.Directed_by = \"Michael\"", "gold": "SELECT T1.series_name , T1.country FROM TV_Channel AS T1 JOIN cartoon AS T2 ON T1.id = T2.Channel WHERE T2.directed_by = 'Michael Chang' INTERSECT SELECT T1.series_name , T1.country FROM TV_Channel AS T1 JOIN cartoon AS T2 ON T1.id = T2.Channel WHERE T2.directed_by = 'Ben Jones'", "predicted_parse_error": false, "hardness": "extra", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "所有播放由“Ben Jones”和“Michael Chang”导演的卡通片的电视频道的系列节目名称和国家是什么?", "predicted": "SELECT TV_Channel.series_name, TV_Channel.Country FROM TV_Channel JOIN Cartoon ON TV_Channel.id = Cartoon.Channel WHERE Cartoon.Directed_by = \"Ben\" INTERSECT SELECT TV_Channel.series_name, TV_Channel.Country FROM Cartoon JOIN TV_Channel ON Cartoon.Channel = TV_Channel.id WHERE Cartoon.Directed_by = \"Michael\"", "gold": "SELECT T1.series_name , T1.country FROM TV_Channel AS T1 JOIN cartoon AS T2 ON T1.id = T2.Channel WHERE T2.directed_by = 'Michael Chang' INTERSECT SELECT T1.series_name , T1.country FROM TV_Channel AS T1 JOIN cartoon AS T2 ON T1.id = T2.Channel WHERE T2.directed_by = 'Ben Jones'", "predicted_parse_error": false, "hardness": "extra", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "找出不使用“English”的电视频道的像素纵横比和国家。", "predicted": "SELECT TV_Channel.Pixel_aspect_ratio_PAR, TV_Channel.Country FROM TV_Channel WHERE TV_Channel.Language != \"USA\"", "gold": "SELECT Pixel_aspect_ratio_PAR , country FROM tv_channel WHERE LANGUAGE != 'English'", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "不使用“English”的所有电视频道的像素宽高比和国家是多少?", "predicted": "SELECT TV_Channel.Pixel_aspect_ratio_PAR, TV_Channel.Country FROM TV_Channel WHERE TV_Channel.Language != \"USA\"", "gold": "SELECT Pixel_aspect_ratio_PAR , country FROM tv_channel WHERE LANGUAGE != 'English'", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "有两个以上电视频道的国家的电视频道的ID。", "predicted": "SELECT TV_Channel.Country FROM TV_Channel GROUP BY TV_Channel.Country HAVING Count(*) >= 2", "gold": "SELECT id FROM tv_channel GROUP BY country HAVING count(*) > 2", "predicted_parse_error": false, "hardness": "easy", "exact": 0, "partial": {"select": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "拥有超过2个电视频道的国家的所有电视频道的ID是什么?", "predicted": "SELECT TV_Channel.Country FROM TV_Channel GROUP BY TV_Channel.Country HAVING Count(*) > 2", "gold": "SELECT id FROM tv_channel GROUP BY country HAVING count(*) > 2", "predicted_parse_error": false, "hardness": "easy", "exact": 0, "partial": {"select": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "找到没有播放“Ben Jones”导演的卡通片的电视频道的ID。", "predicted": "SELECT TV_Channel.id FROM TV_Channel JOIN Cartoon ON TV_Channel.id = Cartoon.Channel EXCEPT SELECT Cartoon.Channel FROM Cartoon WHERE Cartoon.Directed_by = \"Ben-\"", "gold": "SELECT id FROM TV_Channel EXCEPT SELECT channel FROM cartoon WHERE directed_by = 'Ben Jones'", "predicted_parse_error": false, "hardness": "hard", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "没有播放“Ben Jones”导演的卡通片的电视频道id是什么?", "predicted": "SELECT Cartoon.Channel FROM Cartoon EXCEPT SELECT Cartoon.Channel FROM Cartoon WHERE Cartoon.Directed_by = \"Ben\"", "gold": "SELECT id FROM TV_Channel EXCEPT SELECT channel FROM cartoon WHERE directed_by = 'Ben Jones'", "predicted_parse_error": false, "hardness": "hard", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "找到没有播放“Ben Jones”导演的任何卡通片的电视频道的套餐选项。", "predicted": "SELECT TV_Channel.Package_Option FROM TV_Channel EXCEPT SELECT TV_Channel.Package_Option FROM Cartoon JOIN TV_Channel ON Cartoon.Channel = TV_Channel.id WHERE Cartoon.Directed_by = \"Bene\"", "gold": "SELECT package_option FROM TV_Channel WHERE id NOT IN (SELECT channel FROM cartoon WHERE directed_by = 'Ben Jones')", "predicted_parse_error": false, "hardness": "hard", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 0}, "where(no OP)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 1}, "keywords": {"acc": 0, "rec": 0, "f1": 0, "label_total": 3, "pred_total": 1}}}, {"question": "目前没有播放“Ben Jones”导演的卡通片的所有电视频道的套餐选择是什么?", "predicted": "SELECT TV_Channel.Package_Option FROM TV_Channel EXCEPT SELECT TV_Channel.Package_Option FROM Cartoon JOIN TV_Channel ON Cartoon.Channel = TV_Channel.id WHERE Cartoon.Directed_by = \"Ben-\"", "gold": "SELECT package_option FROM TV_Channel WHERE id NOT IN (SELECT channel FROM cartoon WHERE directed_by = 'Ben Jones')", "predicted_parse_error": false, "hardness": "hard", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 0}, "where(no OP)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 1}, "keywords": {"acc": 0, "rec": 0, "f1": 0, "label_total": 3, "pred_total": 1}}}, {"question": "有多少扑克玩家?", "predicted": "SELECT Count(*) FROM poker_player", "gold": "SELECT count(*) FROM poker_player", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "计算扑克玩家的数量。", "predicted": "SELECT Count(*) FROM poker_player", "gold": "SELECT count(*) FROM poker_player", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "按降序排列列出扑克玩家的收入。", "predicted": "SELECT poker_player.Earnings FROM poker_player ORDER BY poker_player.Earnings Desc", "gold": "SELECT Earnings FROM poker_player ORDER BY Earnings DESC", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "按价值降序排序的扑克玩家的收入是什么?", "predicted": "SELECT poker_player.Earnings FROM poker_player ORDER BY poker_player.Money_Rank Desc", "gold": "SELECT Earnings FROM poker_player ORDER BY Earnings DESC", "predicted_parse_error": false, "hardness": "easy", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "列出决赛牌桌和扑克玩家的最佳表现。", "predicted": "SELECT poker_player.Best_Finish FROM poker_player ORDER BY poker_player.Best_Finish Desc", "gold": "SELECT Final_Table_Made , Best_Finish FROM poker_player", "predicted_parse_error": false, "hardness": "medium", "exact": 0, "partial": {"select": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 1}, "select(no AGG)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 2}}}, {"question": "所有扑克玩家的决赛牌桌和最佳表现是什么?", "predicted": "SELECT poker_player.Final_Table_Made, poker_player.Best_Finish FROM poker_player", "gold": "SELECT Final_Table_Made , Best_Finish FROM poker_player", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "扑克玩家的平均收入是多少?", "predicted": "SELECT Avg(poker_player.Earnings) FROM poker_player", "gold": "SELECT avg(Earnings) FROM poker_player", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "返回所有扑克玩家的平均收入。", "predicted": "SELECT Avg(poker_player.Earnings) FROM poker_player", "gold": "SELECT avg(Earnings) FROM poker_player", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "收入最高的扑克玩家的财富级别是多少?", "predicted": "SELECT poker_player.Money_Rank FROM poker_player ORDER BY poker_player.Earnings Desc LIMIT 1", "gold": "SELECT Money_Rank FROM poker_player ORDER BY Earnings DESC LIMIT 1", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}}}, {"question": "返回收入最高的玩家的财富级别。", "predicted": "SELECT poker_player.Money_Rank FROM poker_player ORDER BY poker_player.Earnings Desc LIMIT 1", "gold": "SELECT Money_Rank FROM poker_player ORDER BY Earnings DESC LIMIT 1", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}}}, {"question": "在收入少于200000的扑克玩家中,决赛牌桌的最大数量是多少?", "predicted": "SELECT Max(poker_player.Final_Table_Made) FROM poker_player WHERE poker_player.Earnings < 200000", "gold": "SELECT max(Final_Table_Made) FROM poker_player WHERE Earnings < 200000", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "返回所有收入低于200000的扑克玩家的最大决赛牌桌。", "predicted": "SELECT Max(poker_player.Final_Table_Made) FROM poker_player WHERE poker_player.Earnings < 200000", "gold": "SELECT max(Final_Table_Made) FROM poker_player WHERE Earnings < 200000", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "扑克玩家的名字是什么?", "predicted": "SELECT people.Name FROM poker_player JOIN people ON poker_player.People_ID = people.People_ID", "gold": "SELECT T1.Name FROM people AS T1 JOIN poker_player AS T2 ON T1.People_ID = T2.People_ID", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "返回所有扑克玩家的名字。", "predicted": "SELECT people.Name FROM poker_player JOIN people ON poker_player.People_ID = people.People_ID", "gold": "SELECT T1.Name FROM people AS T1 JOIN poker_player AS T2 ON T1.People_ID = T2.People_ID", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "收入在300000以上的扑克玩家的名字是什么?", "predicted": "SELECT people.Name FROM poker_player JOIN people ON poker_player.People_ID = people.People_ID WHERE poker_player.Earnings > 300000", "gold": "SELECT T1.Name FROM people AS T1 JOIN poker_player AS T2 ON T1.People_ID = T2.People_ID WHERE T2.Earnings > 300000", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "给我收入在300000以上的扑克玩家的名字。", "predicted": "SELECT people.Name FROM poker_player JOIN people ON poker_player.People_ID = people.People_ID WHERE poker_player.Earnings > 300000", "gold": "SELECT T1.Name FROM people AS T1 JOIN poker_player AS T2 ON T1.People_ID = T2.People_ID WHERE T2.Earnings > 300000", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "列出按升序排列的决赛牌桌的扑克玩家的姓名。", "predicted": "SELECT people.Name FROM poker_player JOIN people ON poker_player.People_ID = people.People_ID ORDER BY poker_player.Final_Table_Made Asc", "gold": "SELECT T1.Name FROM people AS T1 JOIN poker_player AS T2 ON T1.People_ID = T2.People_ID ORDER BY T2.Final_Table_Made", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "按照所在的决赛牌桌的数量升序排列的扑克玩家的姓名是什么?", "predicted": "SELECT people.Name FROM poker_player JOIN people ON poker_player.People_ID = people.People_ID ORDER BY poker_player.Final_Table_Made Asc", "gold": "SELECT T1.Name FROM people AS T1 JOIN poker_player AS T2 ON T1.People_ID = T2.People_ID ORDER BY T2.Final_Table_Made", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "收入最低的扑克玩家的出生日期是什么?", "predicted": "SELECT people.Birth_Date FROM poker_player JOIN people ON poker_player.People_ID = people.People_ID ORDER BY poker_player.Earnings Asc LIMIT 1", "gold": "SELECT T1.Birth_Date FROM people AS T1 JOIN poker_player AS T2 ON T1.People_ID = T2.People_ID ORDER BY T2.Earnings ASC LIMIT 1", "predicted_parse_error": false, "hardness": "hard", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}}}, {"question": "返回收入最低的扑克玩家的出生日期。", "predicted": "SELECT people.Birth_Date FROM poker_player JOIN people ON poker_player.People_ID = people.People_ID ORDER BY poker_player.Earnings Asc LIMIT 1", "gold": "SELECT T1.Birth_Date FROM people AS T1 JOIN poker_player AS T2 ON T1.People_ID = T2.People_ID ORDER BY T2.Earnings ASC LIMIT 1", "predicted_parse_error": false, "hardness": "hard", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}}}, {"question": "身高最高的扑克玩家的财富等级是多少?", "predicted": "SELECT poker_player.Money_Rank FROM poker_player JOIN people ON poker_player.People_ID = people.People_ID ORDER BY people.Height Desc LIMIT 1", "gold": "SELECT T2.Money_Rank FROM people AS T1 JOIN poker_player AS T2 ON T1.People_ID = T2.People_ID ORDER BY T1.Height DESC LIMIT 1", "predicted_parse_error": false, "hardness": "hard", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}}}, {"question": "返回身高最高的扑克玩家的财富等级。", "predicted": "SELECT poker_player.Money_Rank FROM poker_player JOIN people ON poker_player.People_ID = people.People_ID ORDER BY people.Height Desc LIMIT 1", "gold": "SELECT T2.Money_Rank FROM people AS T1 JOIN poker_player AS T2 ON T1.People_ID = T2.People_ID ORDER BY T1.Height DESC LIMIT 1", "predicted_parse_error": false, "hardness": "hard", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}}}, {"question": "身高在200以上的扑克玩家的平均收入是多少?", "predicted": "SELECT Avg(poker_player.Earnings) FROM poker_player JOIN people ON poker_player.People_ID = people.People_ID WHERE people.Height > 200", "gold": "SELECT avg(T2.Earnings) FROM people AS T1 JOIN poker_player AS T2 ON T1.People_ID = T2.People_ID WHERE T1.Height > 200", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "给出身高大于200的扑克玩家的平均收入。", "predicted": "SELECT Avg(poker_player.Earnings) FROM poker_player JOIN people ON poker_player.People_ID = people.People_ID WHERE people.Height > 200", "gold": "SELECT avg(T2.Earnings) FROM people AS T1 JOIN poker_player AS T2 ON T1.People_ID = T2.People_ID WHERE T1.Height > 200", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "按照收入降序排列的扑克玩家的名字是什么?", "predicted": "SELECT people.Name FROM poker_player JOIN people ON poker_player.People_ID = people.People_ID ORDER BY poker_player.Earnings Desc", "gold": "SELECT T1.Name FROM people AS T1 JOIN poker_player AS T2 ON T1.People_ID = T2.People_ID ORDER BY T2.Earnings DESC", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "返回按照收入降序排列的扑克玩家的名字。", "predicted": "SELECT people.Name FROM poker_player JOIN people ON poker_player.People_ID = people.People_ID ORDER BY poker_player.Earnings Desc", "gold": "SELECT T1.Name FROM people AS T1 JOIN poker_player AS T2 ON T1.People_ID = T2.People_ID ORDER BY T2.Earnings DESC", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "有哪些不同的民族,来自每个民族的相应人数是多少?", "predicted": "SELECT people.Nationality, Count(*) FROM people GROUP BY people.Nationality", "gold": "SELECT Nationality , COUNT(*) FROM people GROUP BY Nationality", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "每个民族有多少人?", "predicted": "SELECT people.Nationality, Count(*) FROM people GROUP BY people.Nationality", "gold": "SELECT Nationality , COUNT(*) FROM people GROUP BY Nationality", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "最常见的国籍是什么?", "predicted": "SELECT people.Nationality FROM people GROUP BY people.Nationality ORDER BY Count(*) Desc LIMIT 1", "gold": "SELECT Nationality FROM people GROUP BY Nationality ORDER BY COUNT(*) DESC LIMIT 1", "predicted_parse_error": false, "hardness": "hard", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 4, "pred_total": 4}}}, {"question": "给我在所有人中最常见的国籍。", "predicted": "SELECT people.Nationality FROM people GROUP BY people.Nationality ORDER BY Count(*) Desc LIMIT 1", "gold": "SELECT Nationality FROM people GROUP BY Nationality ORDER BY COUNT(*) DESC LIMIT 1", "predicted_parse_error": false, "hardness": "hard", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 4, "pred_total": 4}}}, {"question": "至少有两个人共同所属的国籍有哪些?", "predicted": "SELECT people.Nationality FROM people GROUP BY people.Nationality HAVING Count(*) >= 2", "gold": "SELECT Nationality FROM people GROUP BY Nationality HAVING COUNT(*) >= 2", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "返回有两个或更多人所属的国籍。", "predicted": "SELECT people.Nationality FROM people GROUP BY people.Nationality HAVING Count(*) >= 2", "gold": "SELECT Nationality FROM people GROUP BY Nationality HAVING COUNT(*) >= 2", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "按姓名的升序列出所有人的姓名和生日。", "predicted": "SELECT people.Name, people.Birth_Date FROM people ORDER BY people.Name Asc", "gold": "SELECT Name , Birth_Date FROM people ORDER BY Name ASC", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "按照名字的字母顺序排列,所有人的姓名和生日是什么?", "predicted": "SELECT people.Name, people.Birth_Date FROM people ORDER BY people.Name Asc", "gold": "SELECT Name , Birth_Date FROM people ORDER BY Name ASC", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "显示国籍不是“Russia”的人的姓名。", "predicted": "SELECT people.Name FROM people WHERE people.Nationality != \"Canada\"", "gold": "SELECT Name FROM people WHERE Nationality != \"Russia\"", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "不是来自“Russia”的人的名字是什么?", "predicted": "SELECT people.Name FROM people WHERE people.Nationality != \"California\"", "gold": "SELECT Name FROM people WHERE Nationality != \"Russia\"", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "列出不是扑克玩家的人的名字。", "predicted": "SELECT people.Name FROM people WHERE people.People_ID NOT IN (SELECT poker_player.People_ID FROM poker_player)", "gold": "SELECT Name FROM people WHERE People_ID NOT IN (SELECT People_ID FROM poker_player)", "predicted_parse_error": false, "hardness": "hard", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}}}, {"question": "不玩扑克的人的名字是什么?", "predicted": "SELECT people.Name FROM people WHERE people.People_ID NOT IN (SELECT poker_player.People_ID FROM poker_player)", "gold": "SELECT Name FROM people WHERE People_ID NOT IN (SELECT People_ID FROM poker_player)", "predicted_parse_error": false, "hardness": "hard", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}}}, {"question": "有多少个不同的民族?", "predicted": "SELECT Count(DISTINCT people.Nationality) FROM people", "gold": "SELECT count(DISTINCT Nationality) FROM people", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "统计不同民族的数量。", "predicted": "SELECT Count(DISTINCT people.Nationality) FROM people", "gold": "SELECT count(DISTINCT Nationality) FROM people", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "有多少州?", "predicted": "SELECT Count(*) FROM AREA_CODE_STATE", "gold": "SELECT count(*) FROM area_code_state", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "按竞选者的姓名降序排列,列出竞选者的编号和姓名。", "predicted": "SELECT CONTESTANTS.contestant_number, CONTESTANTS.contestant_name FROM CONTESTANTS ORDER BY CONTESTANTS.contestant_name Desc", "gold": "SELECT contestant_number , contestant_name FROM contestants ORDER BY contestant_name DESC", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "列出投票ID、电话号码和所有投票的州。", "predicted": "SELECT VOTES.vote_id, VOTES.phone_number, VOTES.state FROM VOTES", "gold": "SELECT vote_id , phone_number , state FROM votes", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "地区编号的最大值和最小值是多少?", "predicted": "SELECT Max(AREA_CODE_STATE.area_code), Min(AREA_CODE_STATE.area_code) FROM AREA_CODE_STATE", "gold": "SELECT max(area_code) , min(area_code) FROM area_code_state", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "“CA”州最后的投票创建日期是什么时候?", "predicted": "SELECT Max(VOTES.created) FROM VOTES WHERE VOTES.state = \"CA\"", "gold": "SELECT max(created) FROM votes WHERE state = 'CA'", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "那些名字不是“Jessie Alloway”的竞选者的名字是什么?", "predicted": "SELECT CONTESTANTS.contestant_number FROM CONTESTANTS WHERE CONTESTANTS.contestant_name != \"Luke\"", "gold": "SELECT contestant_name FROM contestants WHERE contestant_name != 'Jessie Alloway'", "predicted_parse_error": false, "hardness": "easy", "exact": 0, "partial": {"select": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "有哪些不同的州以及它们投票的开始时间分别是什么?", "predicted": "SELECT DISTINCT VOTES.state, VOTES.created FROM VOTES", "gold": "SELECT DISTINCT state , created FROM votes", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "至少有两张选票的竞选者号码和竞选者名字是什么?", "predicted": "SELECT CONTESTANTS.contestant_number, CONTESTANTS.contestant_name FROM CONTESTANTS JOIN VOTES ON CONTESTANTS.contestant_number = VOTES.contestant_number GROUP BY CONTESTANTS.contestant_number HAVING Count(*) >= 2", "gold": "SELECT T1.contestant_number , T1.contestant_name FROM contestants AS T1 JOIN votes AS T2 ON T1.contestant_number = T2.contestant_number GROUP BY T1.contestant_number HAVING count(*) >= 2", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "在所有得票的竞选者中,得票最少的竞选者的号码和名字是什么?", "predicted": "SELECT CONTESTANTS.contestant_number, CONTESTANTS.contestant_name FROM CONTESTANTS JOIN VOTES ON CONTESTANTS.contestant_number = VOTES.contestant_number ORDER BY CONTESTANTS.contestant_number Asc LIMIT 1", "gold": "SELECT T1.contestant_number , T1.contestant_name FROM contestants AS T1 JOIN votes AS T2 ON T1.contestant_number = T2.contestant_number GROUP BY T1.contestant_number ORDER BY count(*) ASC LIMIT 1", "predicted_parse_error": false, "hardness": "extra", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 0}, "group": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 0}, "order": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 0, "rec": 0, "f1": 0, "label_total": 4, "pred_total": 3}}}, {"question": "来自“NY”州或“CA”州的票数是多少?", "predicted": "SELECT VOTES.state FROM VOTES WHERE VOTES.state = \"NY\" OR VOTES.state = \"CA\"", "gold": "SELECT count(*) FROM votes WHERE state = 'NY' OR state = 'CA'", "predicted_parse_error": false, "hardness": "medium", "exact": 0, "partial": {"select": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "有多少竞选者没有被投票?", "predicted": "SELECT Count(*) FROM CONTESTANTS WHERE CONTESTANTS.contestant_number NOT IN (SELECT VOTES.contestant_number FROM VOTES)", "gold": "SELECT count(*) FROM contestants WHERE contestant_number NOT IN ( SELECT contestant_number FROM votes )", "predicted_parse_error": false, "hardness": "extra", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}}}, {"question": "最多选民投票的地区编号是多少?", "predicted": "SELECT AREA_CODE_STATE.area_code FROM AREA_CODE_STATE JOIN VOTES ON AREA_CODE_STATE.state = VOTES.state GROUP BY AREA_CODE_STATE.state ORDER BY Count(*) Desc LIMIT 1", "gold": "SELECT T1.area_code FROM area_code_state AS T1 JOIN votes AS T2 ON T1.state = T2.state GROUP BY T1.area_code ORDER BY count(*) DESC LIMIT 1", "predicted_parse_error": false, "hardness": "extra", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "group": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 4, "pred_total": 4}}}, {"question": "名字叫“Tabatha Gehling”的竞选者的选票创建日期、州和电话号码是什么?", "predicted": "SELECT VOTES.created, VOTES.created, VOTES.phone_number FROM CONTESTANTS JOIN VOTES ON CONTESTANTS.contestant_number = VOTES.contestant_number WHERE CONTESTANTS.contestant_name = \"Gtha\"", "gold": "SELECT T2.created , T2.state , T2.phone_number FROM contestants AS T1 JOIN votes AS T2 ON T1.contestant_number = T2.contestant_number WHERE T1.contestant_name = 'Tabatha Gehling'", "predicted_parse_error": false, "hardness": "medium", "exact": 0, "partial": {"select": {"acc": 0, "rec": 0, "f1": 0, "label_total": 3, "pred_total": 3}, "select(no AGG)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 3, "pred_total": 3}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "列出既投票给竞选者“Tabatha Gehling”又投票给竞选者“Kelly Clauss”的选民的地区编号。", "predicted": "SELECT AREA_CODE_STATE.area_code FROM AREA_CODE_STATE JOIN CONTESTANTS JOIN VOTES ON AREA_CODE_STATE.state = VOTES.state AND VOTES.contestant_number = CONTESTANTS.contestant_number WHERE CONTESTANTS.contestant_name = \"Matteral\" INTERSECT SELECT AREA_CODE_STATE.area_code FROM AREA_CODE_STATE JOIN VOTES ON AREA_CODE_STATE.state = VOTES.state JOIN CONTESTANTS ON VOTES.contestant_number = CONTESTANTS.contestant_number WHERE CONTESTANTS.contestant_name = \"Gity\"", "gold": "SELECT T3.area_code FROM contestants AS T1 JOIN votes AS T2 ON T1.contestant_number = T2.contestant_number JOIN area_code_state AS T3 ON T2.state = T3.state WHERE T1.contestant_name = 'Tabatha Gehling' INTERSECT SELECT T3.area_code FROM contestants AS T1 JOIN votes AS T2 ON T1.contestant_number = T2.contestant_number JOIN area_code_state AS T3 ON T2.state = T3.state WHERE T1.contestant_name = 'Kelly Clauss'", "predicted_parse_error": false, "hardness": "extra", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "返回名字中包含子字符串“Al”的竞选者的名字。", "predicted": "SELECT CONTESTANTS.contestant_name FROM CONTESTANTS WHERE CONTESTANTS.contestant_name LIKE \"%Al%\"", "gold": "select contestant_name from contestants where contestant_name like \"%al%\"", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "1950年后所有独立的国家的名字是什么?", "predicted": "SELECT country.Name FROM country WHERE country.IndepYear > 1850", "gold": "SELECT Name FROM country WHERE IndepYear > 1950", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "说出1950后建立的国家的名字。", "predicted": "SELECT country.Name FROM country WHERE country.IndepYear > 1950", "gold": "SELECT Name FROM country WHERE IndepYear > 1950", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "有多少国家拥有“republic”政体?", "predicted": "SELECT Count(*) FROM country WHERE country.GovernmentForm = \"Epublic\"", "gold": "SELECT count(*) FROM country WHERE GovernmentForm = \"Republic\"", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "有多少国家的政体是“republic”?", "predicted": "SELECT Count(*) FROM country WHERE country.GovernmentForm = \"Epublic\"", "gold": "SELECT count(*) FROM country WHERE GovernmentForm = \"Republic\"", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "“Caribbean”地区国家的总表面积是多少?", "predicted": "SELECT Sum(country.SurfaceArea) FROM country WHERE country.Region = \"USA\"", "gold": "SELECT sum(SurfaceArea) FROM country WHERE Region = \"Caribbean\"", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "在“Caribbean”的国家的表面积是多少?", "predicted": "SELECT country.SurfaceArea FROM country WHERE country.Region = \"Afghanistan\"", "gold": "SELECT sum(SurfaceArea) FROM country WHERE Region = \"Caribbean\"", "predicted_parse_error": false, "hardness": "easy", "exact": 0, "partial": {"select": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "“Anguilla”在哪个洲?", "predicted": "SELECT country.Continent FROM country WHERE country.Name = \"Angoilla\"", "gold": "SELECT Continent FROM country WHERE Name = \"Anguilla\"", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "“Anguilla”所在的州是什么?", "predicted": "SELECT country.Continent FROM country WHERE country.LocalName = \"Angoilla\"", "gold": "SELECT Continent FROM country WHERE Name = \"Anguilla\"", "predicted_parse_error": false, "hardness": "easy", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "“Kabul”的所在地是哪个地区?", "predicted": "SELECT city.District FROM city WHERE city.Name = \"Howard\"", "gold": "SELECT Region FROM country AS T1 JOIN city AS T2 ON T1.Code = T2.CountryCode WHERE T2.Name = \"Kabul\"", "predicted_parse_error": false, "hardness": "medium", "exact": 0, "partial": {"select": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "“Kabul”在哪个地区?", "predicted": "SELECT city.District FROM city WHERE city.Name = \"Afghanistan\"", "gold": "SELECT Region FROM country AS T1 JOIN city AS T2 ON T1.Code = T2.CountryCode WHERE T2.Name = \"Kabul\"", "predicted_parse_error": false, "hardness": "medium", "exact": 0, "partial": {"select": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "在“Aruba”哪种语言最受欢迎?", "predicted": "SELECT countrylanguage.Language FROM country JOIN countrylanguage ON country.Code = countrylanguage.CountryCode WHERE country.Name = \"Aruba\" GROUP BY countrylanguage.Language ORDER BY Count(*) Desc LIMIT 1", "gold": "SELECT T2.Language FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T1.Name = \"Aruba\" ORDER BY Percentage DESC LIMIT 1", "predicted_parse_error": false, "hardness": "extra", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 1}, "group": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 1}, "order": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 0, "rec": 0, "f1": 0, "label_total": 4, "pred_total": 5}}}, {"question": "“Aruba”主要讲什么语言?", "predicted": "SELECT countrylanguage.Language FROM country JOIN countrylanguage ON country.Code = countrylanguage.CountryCode WHERE country.Name = \"Aruba\"", "gold": "SELECT T2.Language FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T1.Name = \"Aruba\" ORDER BY Percentage DESC LIMIT 1", "predicted_parse_error": false, "hardness": "extra", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 0, "rec": 0, "f1": 0, "label_total": 4, "pred_total": 1}}}, {"question": "“Brazil”的人口和预期寿命是多少?", "predicted": "SELECT country.Population, country.LifeExpectancy FROM country WHERE country.Name = \"Ice\"", "gold": "SELECT Population , LifeExpectancy FROM country WHERE Name = \"Brazil\"", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "列举出“Brazil”的人口数和预期寿命.", "predicted": "SELECT country.Population, country.LifeExpectancy FROM country WHERE country.Name = \"Cat\"", "gold": "SELECT Population , LifeExpectancy FROM country WHERE Name = \"Brazil\"", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "“Angola”的所在区域和人口是多少?", "predicted": "SELECT country.Region, country.Population FROM country WHERE country.Name = \"Cat\"", "gold": "SELECT Population , Region FROM country WHERE Name = \"Angola\"", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "“Angola”属于哪个地区,人口是多少?", "predicted": "SELECT city.District, city.Population FROM city JOIN country ON city.CountryCode = country.Code WHERE country.LocalName = \"East\"", "gold": "SELECT Population , Region FROM country WHERE Name = \"Angola\"", "predicted_parse_error": false, "hardness": "medium", "exact": 0, "partial": {"select": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 2}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "“Central Africa”中部区域各国的平均预期寿命是多少?", "predicted": "SELECT Avg(country.LifeExpectancy), country.Name FROM country WHERE country.Region = \"North\" GROUP BY country.Name", "gold": "SELECT avg(LifeExpectancy) FROM country WHERE Region = \"Central Africa\"", "predicted_parse_error": false, "hardness": "easy", "exact": 0, "partial": {"select": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 2}, "select(no AGG)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 1}, "group": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 2}}}, {"question": "“Central Africa”中部的平均预期寿命是多少??", "predicted": "SELECT Avg(country.LifeExpectancy) FROM country WHERE country.Region = \"North\"", "gold": "SELECT avg(LifeExpectancy) FROM country WHERE Region = \"Central Africa\"", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "在“Asia”预期寿命最短的国家是什么?", "predicted": "SELECT country.Name FROM country WHERE country.Region = \"Asia\" ORDER BY country.LifeExpectancy Asc LIMIT 1", "gold": "SELECT Name FROM country WHERE Continent = \"Asia\" ORDER BY LifeExpectancy LIMIT 1", "predicted_parse_error": false, "hardness": "hard", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 4, "pred_total": 4}}}, {"question": "给出最短预期寿命的“Asia”国家名称。", "predicted": "SELECT country.Name FROM country WHERE country.Region = \"Asia\" ORDER BY country.LifeExpectancy Asc LIMIT 1", "gold": "SELECT Name FROM country WHERE Continent = \"Asia\" ORDER BY LifeExpectancy LIMIT 1", "predicted_parse_error": false, "hardness": "hard", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 4, "pred_total": 4}}}, {"question": "“Asia”的总人口数和最大国民生产总值是多少?", "predicted": "SELECT Sum(country.Population), Max(country.GNP) FROM country WHERE country.Region = \"Unitedin\"", "gold": "SELECT sum(Population) , max(GNP) FROM country WHERE Continent = \"Asia\"", "predicted_parse_error": false, "hardness": "medium", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "“Asia”有多少人,其中最大的国民生产总值是多少?", "predicted": "SELECT country.Population, country.GNP FROM country WHERE country.Region = \"Asia\" ORDER BY country.GNP Desc LIMIT 1", "gold": "SELECT sum(Population) , max(GNP) FROM country WHERE Continent = \"Asia\"", "predicted_parse_error": false, "hardness": "medium", "exact": 0, "partial": {"select": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 4}}}, {"question": "“Africa”“republic”国家的平均预期寿命是多少?", "predicted": "SELECT Avg(country.LifeExpectancy) FROM country WHERE country.Name = \"Moro\"", "gold": "SELECT avg(LifeExpectancy) FROM country WHERE Continent = \"Africa\" AND GovernmentForm = \"Republic\"", "predicted_parse_error": false, "hardness": "medium", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 1}, "where(no OP)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "给出“Africa”“republic”国家的平均预期寿命", "predicted": "SELECT Avg(country.LifeExpectancy) FROM country WHERE country.Name = \"Moro\"", "gold": "SELECT avg(LifeExpectancy) FROM country WHERE Continent = \"Africa\" AND GovernmentForm = \"Republic\"", "predicted_parse_error": false, "hardness": "medium", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 1}, "where(no OP)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "“Asia”和“Europe”州的总表面积是多少?", "predicted": "SELECT Sum(country.SurfaceArea) FROM country WHERE country.Region = \"Asia\" OR country.Region = \"Europe\"", "gold": "SELECT sum(SurfaceArea) FROM country WHERE Continent = \"Asia\" OR Continent = \"Europe\"", "predicted_parse_error": false, "hardness": "medium", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 2}, "where(no OP)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 2}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "给出“Asia”或“Europe”国家覆盖的总表面积。", "predicted": "SELECT Sum(country.SurfaceArea) FROM country WHERE country.Region = \"Asia\" OR country.Region = \"Europe\"", "gold": "SELECT sum(SurfaceArea) FROM country WHERE Continent = \"Asia\" OR Continent = \"Europe\"", "predicted_parse_error": false, "hardness": "medium", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 2}, "where(no OP)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 2}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "“Gelderland”区有多少人居住?", "predicted": "SELECT city.Population FROM city WHERE city.District = \"springnserland\"", "gold": "SELECT sum(Population) FROM city WHERE District = \"Gelderland\"", "predicted_parse_error": false, "hardness": "easy", "exact": 0, "partial": {"select": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "“Gelderland”区的总人口是多少?", "predicted": "SELECT Sum(city.Population) FROM city WHERE city.District = \"Awarderland\"", "gold": "SELECT sum(Population) FROM city WHERE District = \"Gelderland\"", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "政体为“US territory”的国家的平均国民生产总值和总人口是多少?", "predicted": "SELECT Avg(country.GNP), Avg(country.Population) FROM country WHERE country.GovernmentForm = \"US\"", "gold": "SELECT avg(GNP) , sum(population) FROM country WHERE GovernmentForm = \"US Territory\"", "predicted_parse_error": false, "hardness": "medium", "exact": 0, "partial": {"select": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "给出被认为是“US territory”的国家的平均国民生产总值和总人口。", "predicted": "SELECT Avg(country.GNP), Avg(country.Population) FROM country WHERE country.GovernmentForm = \"US\"", "gold": "SELECT avg(GNP) , sum(population) FROM country WHERE GovernmentForm = \"US Territory\"", "predicted_parse_error": false, "hardness": "medium", "exact": 0, "partial": {"select": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "世界上有多少种不同的语言?", "predicted": "SELECT Count(DISTINCT countrylanguage.Language) FROM countrylanguage", "gold": "SELECT count(DISTINCT LANGUAGE) FROM countrylanguage", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "世界上使用的不同语言的数量是多少?", "predicted": "SELECT Count(DISTINCT countrylanguage.Language) FROM countrylanguage", "gold": "SELECT count(DISTINCT LANGUAGE) FROM countrylanguage", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "“Africa”有多少种类型的政体?", "predicted": "SELECT Count(DISTINCT country.GovernmentForm) FROM country WHERE country.Continent = \"East\"", "gold": "SELECT count(DISTINCT GovernmentForm) FROM country WHERE Continent = \"Africa\"", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "“Africa”有多少种不同形式的政体?", "predicted": "SELECT Count(DISTINCT country.GovernmentForm) FROM country WHERE country.Continent = \"East\"", "gold": "SELECT count(DISTINCT GovernmentForm) FROM country WHERE Continent = \"Africa\"", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "在“Aruba”使用的语言总数是多少?", "predicted": "SELECT Count(DISTINCT countrylanguage.Language) FROM country JOIN countrylanguage ON country.Code = countrylanguage.CountryCode WHERE country.Name = \"Aruba\"", "gold": "SELECT COUNT(T2.Language) FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T1.Name = \"Aruba\"", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "在“Aruba”说多少种语言?", "predicted": "SELECT Count(countrylanguage.Language) FROM country JOIN countrylanguage ON country.Code = countrylanguage.CountryCode WHERE country.Name = \"Aruba\"", "gold": "SELECT COUNT(T2.Language) FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T1.Name = \"Aruba\"", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "“Afghanistan”有多少官方语言?", "predicted": "SELECT Count(DISTINCT countrylanguage.Language) FROM country JOIN countrylanguage ON country.Code = countrylanguage.CountryCode WHERE country.Name = \"Afghanistan\"", "gold": "SELECT COUNT(*) FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T1.Name = \"Afghanistan\" AND IsOfficial = \"T\"", "predicted_parse_error": false, "hardness": "medium", "exact": 0, "partial": {"select": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 1}, "where(no OP)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "“Afghanistan”有几种官方语言?", "predicted": "SELECT countrylanguage.Language FROM country JOIN countrylanguage ON country.Code = countrylanguage.CountryCode WHERE country.Name = \"Afghanistan\"", "gold": "SELECT COUNT(*) FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T1.Name = \"Afghanistan\" AND IsOfficial = \"T\"", "predicted_parse_error": false, "hardness": "medium", "exact": 0, "partial": {"select": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 1}, "where(no OP)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "使用语言数量最多的国家的名字是什么?", "predicted": "SELECT country.Name FROM country JOIN countrylanguage ON country.Code = countrylanguage.CountryCode GROUP BY country.Name ORDER BY Count(*) Desc LIMIT 1", "gold": "SELECT T1.Name FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode GROUP BY T1.Name ORDER BY COUNT(*) DESC LIMIT 1", "predicted_parse_error": false, "hardness": "extra", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 4, "pred_total": 4}}}, {"question": "给出使用最多语言数量的国家的名字。", "predicted": "SELECT country.Name FROM country JOIN countrylanguage ON country.Code = countrylanguage.CountryCode GROUP BY country.Name ORDER BY Count(*) Desc LIMIT 1", "gold": "SELECT T1.Name FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode GROUP BY T1.Name ORDER BY COUNT(*) DESC LIMIT 1", "predicted_parse_error": false, "hardness": "extra", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 4, "pred_total": 4}}}, {"question": "哪一个州有最多不同种的语言?", "predicted": "SELECT country.Continent FROM country JOIN countrylanguage ON country.Code = countrylanguage.CountryCode GROUP BY country.Continent ORDER BY Count(*) Desc LIMIT 1", "gold": "SELECT T1.Continent FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode GROUP BY T1.Continent ORDER BY COUNT(*) DESC LIMIT 1", "predicted_parse_error": false, "hardness": "extra", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 4, "pred_total": 4}}}, {"question": "哪个州讲的语言种类最多?", "predicted": "SELECT country.Continent FROM country JOIN countrylanguage ON country.Code = countrylanguage.CountryCode GROUP BY country.Continent ORDER BY Count(*) Desc LIMIT 1", "gold": "SELECT T1.Continent FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode GROUP BY T1.Continent ORDER BY COUNT(*) DESC LIMIT 1", "predicted_parse_error": false, "hardness": "extra", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 4, "pred_total": 4}}}, {"question": "有多少国家既讲“English”又讲“Dutch”?", "predicted": "SELECT Count(*) FROM country WHERE country.Code = \"UK\" INTERSECT SELECT countrylanguage.CountryCode FROM countrylanguage WHERE countrylanguage.Language = \"english\"", "gold": "SELECT COUNT(*) FROM (SELECT T1.Name FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T2.Language = \"English\" INTERSECT SELECT T1.Name FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T2.Language = \"Dutch\")", "predicted_parse_error": false, "hardness": "easy", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 1}, "where(no OP)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 1}, "keywords": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 2}}}, {"question": "使用“English”和“Dutch”的国家的数量是多少?", "predicted": "SELECT Count(*) FROM country JOIN countrylanguage ON country.Code = countrylanguage.CountryCode WHERE countrylanguage.Language = \"USA\" INTERSECT SELECT * FROM countrylanguage WHERE countrylanguage.Language = \"english\"", "gold": "SELECT COUNT(*) FROM (SELECT T1.Name FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T2.Language = \"English\" INTERSECT SELECT T1.Name FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T2.Language = \"Dutch\")", "predicted_parse_error": false, "hardness": "easy", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 1}, "where(no OP)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 1}, "keywords": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 2}}}, {"question": "既说“English”又说“French”的国家的名字是什么?", "predicted": "SELECT country.Name FROM country JOIN countrylanguage ON country.Code = countrylanguage.CountryCode WHERE countrylanguage.Language = \"UK\" INTERSECT SELECT country.Name FROM country JOIN countrylanguage ON country.Code = countrylanguage.CountryCode WHERE countrylanguage.Language = \"english\"", "gold": "SELECT T1.Name FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T2.Language = \"English\" INTERSECT SELECT T1.Name FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T2.Language = \"French\"", "predicted_parse_error": false, "hardness": "extra", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "给出既说“English”又说“French”的国家的名字。", "predicted": "SELECT country.Name FROM country JOIN countrylanguage ON country.Code = countrylanguage.CountryCode WHERE countrylanguage.Language = \"UK\" INTERSECT SELECT country.Name FROM country JOIN countrylanguage ON country.Code = countrylanguage.CountryCode WHERE countrylanguage.Language = \"english\"", "gold": "SELECT T1.Name FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T2.Language = \"English\" INTERSECT SELECT T1.Name FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T2.Language = \"French\"", "predicted_parse_error": false, "hardness": "extra", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "“English”和“French”都是官方语言的国家的名字是什么?", "predicted": "SELECT country.Name FROM country JOIN countrylanguage ON country.Code = countrylanguage.CountryCode WHERE countrylanguage.Language = \"UK\" INTERSECT SELECT country.Name FROM country JOIN countrylanguage ON country.Code = countrylanguage.CountryCode WHERE countrylanguage.Language = \"english\"", "gold": "SELECT T1.Name FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T2.Language = \"English\" AND T2.IsOfficial = \"T\" INTERSECT SELECT T1.Name FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T2.Language = \"French\" AND T2.IsOfficial = \"T\"", "predicted_parse_error": false, "hardness": "extra", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 1}, "where(no OP)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 1}, "IUEN": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "以“English”和“French”为官方语言的国家名称。", "predicted": "SELECT country.Name FROM country JOIN countrylanguage ON country.Code = countrylanguage.CountryCode WHERE countrylanguage.Language = \"UK\" INTERSECT SELECT country.Name FROM country JOIN countrylanguage ON country.Code = countrylanguage.CountryCode WHERE countrylanguage.Language = \"english\"", "gold": "SELECT T1.Name FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T2.Language = \"English\" AND T2.IsOfficial = \"T\" INTERSECT SELECT T1.Name FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T2.Language = \"French\" AND T2.IsOfficial = \"T\"", "predicted_parse_error": false, "hardness": "extra", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 1}, "where(no OP)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 1}, "IUEN": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "讲“Chinese”的不同洲的数量是多少?", "predicted": "SELECT Count(DISTINCT country.Continent) FROM country WHERE country.Region = \"East\"", "gold": "SELECT COUNT( DISTINCT Continent) FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T2.Language = \"Chinese\"", "predicted_parse_error": false, "hardness": "medium", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "有多少洲说“Chinese”?", "predicted": "SELECT Count(*) FROM country WHERE country.Name = \"Dense\"", "gold": "SELECT COUNT( DISTINCT Continent) FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T2.Language = \"Chinese\"", "predicted_parse_error": false, "hardness": "medium", "exact": 0, "partial": {"select": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "使用“English”或“Dutch”的地区是什么?", "predicted": "SELECT country.Region FROM country JOIN countrylanguage ON country.Code = countrylanguage.CountryCode WHERE countrylanguage.Language = \"UK\" OR countrylanguage.Language = \"Man\"", "gold": "SELECT DISTINCT T1.Region FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T2.Language = \"English\" OR T2.Language = \"Dutch\"", "predicted_parse_error": false, "hardness": "hard", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "哪个地区讲“Dutch”或“English”?", "predicted": "SELECT country.Region FROM city JOIN country ON city.CountryCode = country.Code JOIN countrylanguage ON country.Code = countrylanguage.CountryCode WHERE countrylanguage.Language = \"UK\" OR countrylanguage.Language = \"english\"", "gold": "SELECT DISTINCT T1.Region FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T2.Language = \"English\" OR T2.Language = \"Dutch\"", "predicted_parse_error": false, "hardness": "hard", "exact": false, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "“English”或“Dutch”是官方语言的国家是什么?", "predicted": "SELECT country.Name FROM country JOIN countrylanguage ON country.Code = countrylanguage.CountryCode WHERE countrylanguage.Language = \"UK\" OR countrylanguage.Language = \"Man\"", "gold": "select t1.name from country as t1 join countrylanguage as t2 on t1.code = t2.countrycode where t2.language = \"english\" and isofficial = \"t\" union select t1.name from country as t1 join countrylanguage as t2 on t1.code = t2.countrycode where t2.language = \"dutch\" and isofficial = \"t\"", "predicted_parse_error": false, "hardness": "extra", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 2}, "where(no OP)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 2}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 0}, "keywords": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 2}}}, {"question": "哪些国家以“English”或“Dutch”作为官方语言?", "predicted": "SELECT country.Name FROM country JOIN countrylanguage ON country.Code = countrylanguage.CountryCode WHERE countrylanguage.Language = \"UK\" OR countrylanguage.Language = \"Man\"", "gold": "SELECT * FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T2.Language = \"English\" AND IsOfficial = \"T\" UNION SELECT * FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T2.Language = \"Dutch\" AND IsOfficial = \"T\"", "predicted_parse_error": false, "hardness": "extra", "exact": 0, "partial": {"select": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 2}, "where(no OP)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 2}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 0}, "keywords": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 2}}}, {"question": "“Asia”州最流行哪种语言?", "predicted": "SELECT countrylanguage.Language FROM country JOIN countrylanguage ON country.Code = countrylanguage.CountryCode WHERE country.Continent = \"Asia\" GROUP BY countrylanguage.Language ORDER BY Count(*) Desc LIMIT 1", "gold": "SELECT T2.Language FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T1.Continent = \"Asia\" GROUP BY T2.Language ORDER BY COUNT (*) DESC LIMIT 1", "predicted_parse_error": false, "hardness": "extra", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 5, "pred_total": 5}}}, {"question": "“Asia”国家中使用最多的语言是什么?", "predicted": "SELECT countrylanguage.Language FROM country JOIN countrylanguage ON country.Code = countrylanguage.CountryCode WHERE country.Region = \"Asia\" GROUP BY countrylanguage.Language ORDER BY Count(*) Desc LIMIT 1", "gold": "SELECT T2.Language FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T1.Continent = \"Asia\" GROUP BY T2.Language ORDER BY COUNT (*) DESC LIMIT 1", "predicted_parse_error": false, "hardness": "extra", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 5, "pred_total": 5}}}, {"question": "只有一个“republic”国家讲的语言是哪种语言?", "predicted": "SELECT countrylanguage.Language FROM countrylanguage GROUP BY countrylanguage.Language HAVING Count(*) = 1", "gold": "SELECT T2.Language FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T1.GovernmentForm = \"Republic\" GROUP BY T2.Language HAVING COUNT(*) = 1", "predicted_parse_error": false, "hardness": "hard", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 0}, "where(no OP)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 0, "rec": 0, "f1": 0, "label_total": 3, "pred_total": 2}}}, {"question": "哪一种语言,被只有一个“republic”政体的国家使用?", "predicted": "SELECT countrylanguage.Language FROM country JOIN countrylanguage ON country.Code = countrylanguage.CountryCode WHERE country.GovernmentForm = \"No\" GROUP BY countrylanguage.Language HAVING Count(*) = 1", "gold": "SELECT T2.Language FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T1.GovernmentForm = \"Republic\" GROUP BY T2.Language HAVING COUNT(*) = 1", "predicted_parse_error": false, "hardness": "hard", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}}}, {"question": "找到使用“English”的人口最多的城市。", "predicted": "SELECT city.Name FROM city JOIN country ON city.CountryCode = country.Code JOIN countrylanguage ON country.Code = countrylanguage.CountryCode WHERE countrylanguage.Language = \"english\"", "gold": "SELECT T1.Name , T1.Population FROM city AS T1 JOIN countrylanguage AS T2 ON T1.CountryCode = T2.CountryCode WHERE T2.Language = \"English\" ORDER BY T1.Population DESC LIMIT 1", "predicted_parse_error": false, "hardness": "extra", "exact": 0, "partial": {"select": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 1}, "select(no AGG)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 0, "rec": 0, "f1": 0, "label_total": 4, "pred_total": 1}}}, {"question": "说“English”的人口最多的城市是什么?", "predicted": "SELECT city.Name FROM city JOIN country ON city.CountryCode = country.Code JOIN countrylanguage ON country.Code = countrylanguage.CountryCode WHERE countrylanguage.Language = (SELECT Max(city.Population) FROM countrylanguage WHERE countrylanguage.Language = \"english\")", "gold": "SELECT T1.Name , T1.Population FROM city AS T1 JOIN countrylanguage AS T2 ON T1.CountryCode = T2.CountryCode WHERE T2.Language = \"English\" ORDER BY T1.Population DESC LIMIT 1", "predicted_parse_error": false, "hardness": "extra", "exact": 0, "partial": {"select": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 1}, "select(no AGG)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 1}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 0, "rec": 0, "f1": 0, "label_total": 4, "pred_total": 1}}}, {"question": "找出面积最大的“Asia”国家的名称、人口和预期寿命。", "predicted": "SELECT country.Name, country.Population, country.LifeExpectancy FROM country WHERE country.Region = \"Asia\" AND country.SurfaceArea = (SELECT Max(country.SurfaceArea) FROM country WHERE country.Region = \"Canada\")", "gold": "SELECT Name , Population , LifeExpectancy FROM country WHERE Continent = \"Asia\" ORDER BY SurfaceArea DESC LIMIT 1", "predicted_parse_error": false, "hardness": "hard", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 2}, "where(no OP)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 2}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 0}, "and/or": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 0}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 0, "rec": 0, "f1": 0, "label_total": 4, "pred_total": 1}}}, {"question": "面积最大的“Asia”国家的名称、人口和预期寿命是什么?", "predicted": "SELECT country.Name, country.Population, country.LifeExpectancy FROM country WHERE country.Region = \"Asia\" AND country.SurfaceArea = (SELECT Max(country.SurfaceArea) FROM country WHERE country.Region = \"Canada\")", "gold": "SELECT Name , Population , LifeExpectancy FROM country WHERE Continent = \"Asia\" ORDER BY SurfaceArea DESC LIMIT 1", "predicted_parse_error": false, "hardness": "hard", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 2}, "where(no OP)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 2}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 0}, "and/or": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 0}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 0, "rec": 0, "f1": 0, "label_total": 4, "pred_total": 1}}}, {"question": "在“English”不是官方语言的国家中,平均预期寿命是多少?", "predicted": "SELECT Avg(country.LifeExpectancy) FROM country WHERE country.Code NOT IN (SELECT countrylanguage.CountryCode FROM countrylanguage WHERE countrylanguage.Language = \"english\")", "gold": "SELECT avg(LifeExpectancy) FROM country WHERE Name NOT IN (SELECT T1.Name FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T2.Language = \"English\" AND T2.IsOfficial = \"T\")", "predicted_parse_error": false, "hardness": "extra", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}}}, {"question": "给出“English”不“是”官方语言国家的平均预期寿命。", "predicted": "SELECT Avg(country.LifeExpectancy) FROM country WHERE country.Code NOT IN (SELECT countrylanguage.CountryCode FROM countrylanguage WHERE countrylanguage.Language = \"english\")", "gold": "SELECT avg(LifeExpectancy) FROM country WHERE Name NOT IN (SELECT T1.Name FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T2.Language = \"English\" AND T2.IsOfficial = \"T\")", "predicted_parse_error": false, "hardness": "extra", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}}}, {"question": "生活在不使用“English”的国家的总人数是多少?", "predicted": "SELECT Sum(country.Population) FROM country WHERE country.Code NOT IN (SELECT countrylanguage.CountryCode FROM countrylanguage WHERE countrylanguage.Language = \"english\")", "gold": "SELECT sum(Population) FROM country WHERE Name NOT IN (SELECT T1.Name FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T2.Language = \"English\")", "predicted_parse_error": false, "hardness": "extra", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}}}, {"question": "有多少人生活在不讲“English”的国家?", "predicted": "SELECT Count(DISTINCT country.Population) FROM country WHERE country.Code NOT IN (SELECT countrylanguage.CountryCode FROM countrylanguage WHERE countrylanguage.Language = \"english\")", "gold": "SELECT sum(Population) FROM country WHERE Name NOT IN (SELECT T1.Name FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T2.Language = \"English\")", "predicted_parse_error": false, "hardness": "extra", "exact": 0, "partial": {"select": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}}}, {"question": "国家元首是“Beatrix”的国家的官方语言是什么?", "predicted": "SELECT countrylanguage.Language FROM country JOIN countrylanguage ON country.Code = countrylanguage.CountryCode WHERE country.HeadOfState = \"DenKeistan\"", "gold": "SELECT T2.Language FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T1.HeadOfState = \"Beatrix\" AND T2.IsOfficial = \"T\"", "predicted_parse_error": false, "hardness": "medium", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 1}, "where(no OP)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "国家元首是“Beatrix”的国家使用的官方语言是什么?", "predicted": "SELECT countrylanguage.Language FROM country JOIN countrylanguage ON country.Code = countrylanguage.CountryCode WHERE country.HeadOfState = \"DenKeistan\"", "gold": "SELECT T2.Language FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T1.HeadOfState = \"Beatrix\" AND T2.IsOfficial = \"T\"", "predicted_parse_error": false, "hardness": "medium", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 1}, "where(no OP)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "在1930年前建立的国家中,被使用的不同官方语言的总数是多少?", "predicted": "SELECT Count(DISTINCT countrylanguage.Language) FROM country JOIN countrylanguage ON country.Code = countrylanguage.CountryCode WHERE country.IndepYear < 1930", "gold": "SELECT count(DISTINCT T2.Language) FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE IndepYear < 1930 AND T2.IsOfficial = \"T\"", "predicted_parse_error": false, "hardness": "medium", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 1}, "where(no OP)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "对于1930年以前成立的国家来说,不同官方语言的总数是多少?", "predicted": "SELECT Count(DISTINCT countrylanguage.Language) FROM country JOIN countrylanguage ON country.Code = countrylanguage.CountryCode WHERE country.IndepYear < 1930", "gold": "SELECT count(DISTINCT T2.Language) FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE IndepYear < 1930 AND T2.IsOfficial = \"T\"", "predicted_parse_error": false, "hardness": "medium", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 1}, "where(no OP)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "哪些国家的表面积比“Europe”任何国家都大?", "predicted": "SELECT country.Name FROM country WHERE country.SurfaceArea > (SELECT Max(country.SurfaceArea) FROM country WHERE country.Region = \"Europe\")", "gold": "SELECT Name FROM country WHERE SurfaceArea > (SELECT min(SurfaceArea) FROM country WHERE Continent = \"Europe\")", "predicted_parse_error": false, "hardness": "hard", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "面积比“Europe”任何一个国家都大的是哪个国家?", "predicted": "SELECT country.Name FROM country WHERE country.SurfaceArea > (SELECT Max(country.SurfaceArea) FROM country WHERE country.Region = \"Europe\")", "gold": "SELECT Name FROM country WHERE SurfaceArea > (SELECT min(SurfaceArea) FROM country WHERE Continent = \"Europe\")", "predicted_parse_error": false, "hardness": "hard", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "哪些“Africa”国家的人口比“Asia”任何国家都少?", "predicted": "SELECT country.Name FROM country WHERE country.Population < (SELECT Min(country.Population) FROM country WHERE country.Region = \"Canada\")", "gold": "SELECT Name FROM country WHERE Continent = \"Africa\" AND population < (SELECT max(population) FROM country WHERE Continent = \"Asia\")", "predicted_parse_error": false, "hardness": "extra", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 1}, "where(no OP)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "“有哪些Africa”国家的人口比任何“Asia”国家都少?", "predicted": "SELECT country.Name FROM country WHERE country.Population < (SELECT Min(country.Population) FROM country WHERE country.Region = \"Canada\")", "gold": "SELECT Name FROM country WHERE Continent = \"Africa\" AND population < (SELECT min(population) FROM country WHERE Continent = \"Asia\")", "predicted_parse_error": false, "hardness": "extra", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 1}, "where(no OP)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "哪些“Asia”国家的人口比“Africa”任何一个国家都多?", "predicted": "SELECT country.Name FROM country WHERE country.Population > (SELECT country.Population FROM country WHERE country.Region = \"Asia\")", "gold": "SELECT Name FROM country WHERE Continent = \"Asia\" AND population > (SELECT max(population) FROM country WHERE Continent = \"Africa\")", "predicted_parse_error": false, "hardness": "extra", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 1}, "where(no OP)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "人口比“Africa”任何一个国家都多的“Asia”国家有哪些?", "predicted": "SELECT country.Name FROM country WHERE country.Population > (SELECT Max(country.Population) FROM country WHERE country.Region = \"texas\")", "gold": "SELECT Name FROM country WHERE Continent = \"Asia\" AND population > (SELECT min(population) FROM country WHERE Continent = \"Africa\")", "predicted_parse_error": false, "hardness": "extra", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 1}, "where(no OP)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "不讲“English”的国家的国家代码是什么?", "predicted": "SELECT country.Code FROM country WHERE country.Code NOT IN (SELECT countrylanguage.CountryCode FROM countrylanguage WHERE countrylanguage.Language = \"english\")", "gold": "SELECT CountryCode FROM countrylanguage EXCEPT SELECT CountryCode FROM countrylanguage WHERE LANGUAGE = \"English\"", "predicted_parse_error": false, "hardness": "hard", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 1}, "where(no OP)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 0}, "keywords": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 3}}}, {"question": "返回哪些不讲“English”国家的国家代码。", "predicted": "SELECT country.Code FROM country EXCEPT SELECT countrylanguage.CountryCode FROM countrylanguage WHERE countrylanguage.Language = \"english\"", "gold": "SELECT CountryCode FROM countrylanguage EXCEPT SELECT CountryCode FROM countrylanguage WHERE LANGUAGE = \"English\"", "predicted_parse_error": false, "hardness": "hard", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "人们使用“English”以外的语言的国家的国家代码是什么?", "predicted": "SELECT country.Code FROM country JOIN countrylanguage ON country.Code = countrylanguage.CountryCode WHERE countrylanguage.Language != \"english\"", "gold": "SELECT DISTINCT CountryCode FROM countrylanguage WHERE LANGUAGE != \"English\"", "predicted_parse_error": false, "hardness": "easy", "exact": false, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "给出那些不使用“English”语言的国家的国家代码。", "predicted": "SELECT country.Code FROM country WHERE country.Code NOT IN (SELECT countrylanguage.CountryCode FROM countrylanguage WHERE countrylanguage.Language = \"english\")", "gold": "SELECT DISTINCT CountryCode FROM countrylanguage WHERE LANGUAGE != \"English\"", "predicted_parse_error": false, "hardness": "easy", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 3}}}, {"question": "不讲“English”且政体不是“republic”的国家的国家代码有哪些?", "predicted": "SELECT country.Code FROM country WHERE country.Code NOT IN (SELECT countrylanguage.CountryCode FROM countrylanguage WHERE countrylanguage.Language = \"english\")", "gold": "SELECT Code FROM country WHERE GovernmentForm != \"Republic\" EXCEPT SELECT CountryCode FROM countrylanguage WHERE LANGUAGE = \"English\"", "predicted_parse_error": false, "hardness": "hard", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 0}, "keywords": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 3}}}, {"question": "返回那些不讲“English”且没有“republic”政府的国家的代码。", "predicted": "SELECT country.Code FROM country WHERE country.Code NOT IN (SELECT countrylanguage.CountryCode FROM countrylanguage WHERE countrylanguage.Language = \"english\")", "gold": "SELECT Code FROM country WHERE GovernmentForm != \"Republic\" EXCEPT SELECT CountryCode FROM countrylanguage WHERE LANGUAGE = \"English\"", "predicted_parse_error": false, "hardness": "hard", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 0}, "keywords": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 3}}}, {"question": "在“Europe”国家,哪些城市不是以“English”为官方语言?", "predicted": "SELECT city.Name FROM city WHERE city.CountryCode NOT IN (SELECT countrylanguage.CountryCode FROM countrylanguage WHERE countrylanguage.Language = \"Europe\")", "gold": "SELECT DISTINCT T2.Name FROM country AS T1 JOIN city AS T2 ON T2.CountryCode = T1.Code WHERE T1.Continent = 'Europe' AND T1.Name NOT IN (SELECT T3.Name FROM country AS T3 JOIN countrylanguage AS T4 ON T3.Code = T4.CountryCode WHERE T4.IsOfficial = 'T' AND T4.Language = 'English')", "predicted_parse_error": false, "hardness": "extra", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 1}, "where(no OP)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}}}, {"question": "哪些“Europe”国家的城市不把“英文”做为其官方语言?", "predicted": "SELECT city.Name FROM city JOIN country ON city.CountryCode = country.Code WHERE city.CountryCode NOT IN (SELECT countrylanguage.Language FROM countrylanguage WHERE country.Region = \"Europe\")", "gold": "SELECT DISTINCT T2.Name FROM country AS T1 JOIN city AS T2 ON T2.CountryCode = T1.Code WHERE T1.Continent = 'Europe' AND T1.Name NOT IN (SELECT T3.Name FROM country AS T3 JOIN countrylanguage AS T4 ON T3.Code = T4.CountryCode WHERE T4.IsOfficial = 'T' AND T4.Language = 'English')", "predicted_parse_error": false, "hardness": "extra", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 1}, "where(no OP)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}}}, {"question": "在官方语言是“Chinese”的“Asia”国家有哪些不同的城市?", "predicted": "SELECT DISTINCT city.Name FROM city JOIN country ON city.CountryCode = country.Code JOIN countrylanguage ON country.Code = countrylanguage.CountryCode WHERE country.Region = \"Asia\" AND countrylanguage.Language = \"Man\"", "gold": "select distinct t3.name from country as t1 join countrylanguage as t2 on t1.code = t2.countrycode join city as t3 on t1.code = t3.countrycode where t2.isofficial = 't' and t2.language = 'chinese' and t1.continent = \"asia\"", "predicted_parse_error": false, "hardness": "hard", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 3, "pred_total": 2}, "where(no OP)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 3, "pred_total": 2}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "返回在“Asia”,以“Chinese”为官方语言的不同城市的名称。", "predicted": "SELECT DISTINCT city.Name FROM city JOIN country ON city.CountryCode = country.Code JOIN countrylanguage ON country.Code = countrylanguage.CountryCode WHERE country.Region = \"Asia\" AND countrylanguage.Language = \"Man\"", "gold": "SELECT DISTINCT T3.Name FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode JOIN city AS T3 ON T1.Code = T3.CountryCode WHERE T2.IsOfficial = 'T' AND T2.Language = 'Chinese' AND T1.Continent = \"Asia\"", "predicted_parse_error": false, "hardness": "hard", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 3, "pred_total": 2}, "where(no OP)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 3, "pred_total": 2}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "人口最少的国家的名称、独立年份和表面积是多少?", "predicted": "SELECT country.Name, country.IndepYear, country.SurfaceArea FROM country ORDER BY country.Population Asc LIMIT 1", "gold": "SELECT Name , SurfaceArea , IndepYear FROM country ORDER BY Population LIMIT 1", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}}}, {"question": "给出人口最少的国家的名称、独立年份和表面积。", "predicted": "SELECT country.Name, country.IndepYear, country.SurfaceArea FROM country ORDER BY country.Population Asc LIMIT 1", "gold": "SELECT Name , SurfaceArea , IndepYear FROM country ORDER BY Population LIMIT 1", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}}}, {"question": "面积最大的国家的人口、名字和领导人是什么?", "predicted": "SELECT country.Population, country.Name, country.HeadOfState FROM country WHERE country.SurfaceArea = (SELECT Max(country.SurfaceArea) FROM country)", "gold": "SELECT Name , population , HeadOfState FROM country ORDER BY SurfaceArea DESC LIMIT 1", "predicted_parse_error": false, "hardness": "medium", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 1}, "where(no OP)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 0, "rec": 0, "f1": 0, "label_total": 3, "pred_total": 1}}}, {"question": "给出面积最大的国家的名称、人口和领导人。", "predicted": "SELECT country.Name, country.Population, country.HeadOfState FROM country ORDER BY country.SurfaceArea Desc LIMIT 1", "gold": "SELECT Name , population , HeadOfState FROM country ORDER BY SurfaceArea DESC LIMIT 1", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}}}, {"question": "返回至少使用3种语言的不同国家名称和语言数量。", "predicted": "SELECT country.Name, Count(*) FROM country JOIN countrylanguage ON country.Code = countrylanguage.CountryCode GROUP BY country.Name HAVING Count(*) >= 3", "gold": "SELECT COUNT(T2.Language) , T1.Name FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode GROUP BY T1.Name HAVING COUNT(*) > 2", "predicted_parse_error": false, "hardness": "medium", "exact": 0, "partial": {"select": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "讲2种以上语言的国家的名称是什么,以及它们讲多少种语言?", "predicted": "SELECT country.Name, Count(*) FROM country JOIN countrylanguage ON country.Code = countrylanguage.CountryCode GROUP BY country.Name HAVING Count(*) > 2", "gold": "SELECT COUNT(T2.Language) , T1.Name FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode GROUP BY T1.Name HAVING COUNT(*) > 2", "predicted_parse_error": false, "hardness": "medium", "exact": 0, "partial": {"select": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "找出每个地区其人口大于城市平均人口的城市数量。", "predicted": "SELECT Count(*), city.District FROM city WHERE city.Population > (SELECT Avg(city.Population) FROM city) GROUP BY city.District", "gold": "SELECT count(*) , District FROM city WHERE Population > (SELECT avg(Population) FROM city) GROUP BY District", "predicted_parse_error": false, "hardness": "extra", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "每个地区有多少城市的人口高于所有城市的平均人口?", "predicted": "SELECT Count(*), city.District FROM city WHERE city.Population > (SELECT Avg(city.Population) FROM city) GROUP BY city.District", "gold": "SELECT count(*) , District FROM city WHERE Population > (SELECT avg(Population) FROM city) GROUP BY District", "predicted_parse_error": false, "hardness": "extra", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "找出每个平均预期寿命超过72岁的政体的名称及其对应的总人口。", "predicted": "SELECT country.GovernmentForm, Sum(country.Population) FROM country WHERE country.LifeExpectancy > 72 GROUP BY country.GovernmentForm", "gold": "SELECT sum(Population) , GovernmentForm FROM country GROUP BY GovernmentForm HAVING avg(LifeExpectancy) > 72", "predicted_parse_error": false, "hardness": "medium", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 1}, "where(no OP)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 2}}}, {"question": "平均预期寿命大于72岁的政体及其总人口是多少?", "predicted": "SELECT Sum(country.GovernmentForm), country.Population FROM country WHERE country.LifeExpectancy > 72 GROUP BY country.GovernmentForm HAVING Avg(country.LifeExpectancy) >= 72", "gold": "SELECT sum(Population) , GovernmentForm FROM country GROUP BY GovernmentForm HAVING avg(LifeExpectancy) > 72", "predicted_parse_error": false, "hardness": "medium", "exact": 0, "partial": {"select": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 1}, "where(no OP)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 3}}}, {"question": "找出平均预期寿命短于72岁的每个大洲的平均预期寿命和总人口。", "predicted": "SELECT Avg(country.Continent), Sum(country.Population), country.LifeExpectancy FROM country WHERE country.Continent < 72 GROUP BY country.Continent", "gold": "SELECT sum(Population) , avg(LifeExpectancy) , Continent FROM country GROUP BY Continent HAVING avg(LifeExpectancy) < 72", "predicted_parse_error": false, "hardness": "medium", "exact": 0, "partial": {"select": {"acc": 0, "rec": 0, "f1": 0, "label_total": 3, "pred_total": 3}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 1}, "where(no OP)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 2}}}, {"question": "对于平均预期寿命小于72的大洲,不同的大洲以及相应的人口总数和平均预期寿命是什么?", "predicted": "SELECT country.Region, Sum(country.Population), Avg(country.LifeExpectancy) FROM country WHERE country.Continent < 72 GROUP BY country.Continent", "gold": "SELECT sum(Population) , avg(LifeExpectancy) , Continent FROM country GROUP BY Continent HAVING avg(LifeExpectancy) < 72", "predicted_parse_error": false, "hardness": "medium", "exact": 0, "partial": {"select": {"acc": 0, "rec": 0, "f1": 0, "label_total": 3, "pred_total": 3}, "select(no AGG)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 3, "pred_total": 3}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 1}, "where(no OP)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 2}}}, {"question": "面积世界排名前5大的国家的名称和表面积大小是什么?", "predicted": "SELECT country.Name, country.SurfaceArea FROM country ORDER BY country.SurfaceArea Desc LIMIT 5", "gold": "SELECT Name , SurfaceArea FROM country ORDER BY SurfaceArea DESC LIMIT 5", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}}}, {"question": "返回5个最大的国家的名称和表面积。", "predicted": "SELECT country.Name, country.SurfaceArea FROM country ORDER BY country.SurfaceArea Desc LIMIT 5", "gold": "SELECT Name , SurfaceArea FROM country ORDER BY SurfaceArea DESC LIMIT 5", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}}}, {"question": "人口前3多的国家的名字是什么?", "predicted": "SELECT country.Name FROM country ORDER BY country.Population Desc LIMIT 3", "gold": "SELECT Name FROM country ORDER BY Population DESC LIMIT 3", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}}}, {"question": "返回人口前3多的国家的名字。", "predicted": "SELECT country.Name FROM country ORDER BY country.Population Desc LIMIT 3", "gold": "SELECT Name FROM country ORDER BY Population DESC LIMIT 3", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}}}, {"question": "3个最少人口的国家的名字是什么?", "predicted": "SELECT country.Name FROM country ORDER BY country.Population Asc LIMIT 3", "gold": "SELECT Name FROM country ORDER BY Population ASC LIMIT 3", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}}}, {"question": "返回3个人口最少的国家的名字。", "predicted": "SELECT country.Name FROM country ORDER BY country.Population Asc LIMIT 3", "gold": "SELECT Name FROM country ORDER BY Population ASC LIMIT 3", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}}}, {"question": "“Asia”有多少国家?", "predicted": "SELECT Count(*) FROM country WHERE country.Region = \"Asia\"", "gold": "SELECT count(*) FROM country WHERE continent = \"Asia\"", "predicted_parse_error": false, "hardness": "easy", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "统计“Asia”国家的数量。", "predicted": "SELECT Count(*) FROM country WHERE country.Region = \"Asia\"", "gold": "SELECT count(*) FROM country WHERE continent = \"Asia\"", "predicted_parse_error": false, "hardness": "easy", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "“Europe”州有“80000”人口的国家叫什么名字?", "predicted": "SELECT country.Name FROM country WHERE country.Continent = \"Europe\" AND country.Population = \"80000\"", "gold": "SELECT Name FROM country WHERE continent = \"Europe\" AND Population = \"80000\"", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "给出“Europe”人口数是“80000”的国家的名字。", "predicted": "SELECT country.Name FROM country WHERE country.Region = \"Europe\" AND country.Population = 80000", "gold": "SELECT Name FROM country WHERE continent = \"Europe\" AND Population = \"80000\"", "predicted_parse_error": false, "hardness": "medium", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 2}, "where(no OP)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 2}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "面积大于3000的“North America”洲国家的总人口数和平均表面积是多少?", "predicted": "SELECT Sum(country.Population), Avg(country.SurfaceArea) FROM country WHERE country.Region > 3000 AND country.SurfaceArea = \"Sansa\"", "gold": "select sum(population) , avg(surfacearea) from country where continent = \"north america\" and surfacearea > 3000", "predicted_parse_error": false, "hardness": "hard", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 2}, "where(no OP)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 2}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "给出面积大于3000的“North America”洲国家的总人口数和平均表面积。", "predicted": "SELECT Sum(country.Population), Avg(country.SurfaceArea) FROM country WHERE country.Region > 3000 AND country.SurfaceArea = \"Sansa\"", "gold": "select sum(population) , avg(surfacearea) from country where continent = \"north america\" and surfacearea > 3000", "predicted_parse_error": false, "hardness": "hard", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 2}, "where(no OP)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 2}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "人口在160000到900000之间的城市是什么?", "predicted": "SELECT city.Name FROM city WHERE city.Population BETWEEN 160000 AND 900000", "gold": "SELECT name FROM city WHERE Population BETWEEN 160000 AND 900000", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "返回人口在160000到900000之间的城市的名字。", "predicted": "SELECT city.Name FROM city WHERE city.Population BETWEEN 160000 AND 900000", "gold": "select name from city where population between 160000 and 900000", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "那个语言被最多的国家使用?", "predicted": "SELECT countrylanguage.Language FROM countrylanguage GROUP BY countrylanguage.Language ORDER BY Count(*) Desc LIMIT 1", "gold": "SELECT LANGUAGE FROM countrylanguage GROUP BY LANGUAGE ORDER BY count(*) DESC LIMIT 1", "predicted_parse_error": false, "hardness": "hard", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 4, "pred_total": 4}}}, {"question": "给出最多国家使用的语言。", "predicted": "SELECT countrylanguage.Language FROM countrylanguage GROUP BY countrylanguage.Language ORDER BY Count(*) Desc LIMIT 1", "gold": "SELECT LANGUAGE FROM countrylanguage GROUP BY LANGUAGE ORDER BY count(*) DESC LIMIT 1", "predicted_parse_error": false, "hardness": "hard", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 4, "pred_total": 4}}}, {"question": "每个国家中最大比例的人所讲的语言是什么?", "predicted": "SELECT countrylanguage.Language FROM countrylanguage GROUP BY countrylanguage.Language ORDER BY Count(*) Desc LIMIT 1", "gold": "SELECT LANGUAGE , CountryCode , max(Percentage) FROM countrylanguage GROUP BY CountryCode", "predicted_parse_error": false, "hardness": "medium", "exact": 0, "partial": {"select": {"acc": 0, "rec": 0, "f1": 0, "label_total": 3, "pred_total": 1}, "select(no AGG)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 3, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "group": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "order": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 4}}}, {"question": "不同国家的国家代码是什么?每个国家被最多数人讲的语言是什么?", "predicted": "SELECT countrylanguage.CountryCode, countrylanguage.Language FROM countrylanguage GROUP BY countrylanguage.CountryCode ORDER BY Count(*) Desc LIMIT 1", "gold": "SELECT LANGUAGE , CountryCode , max(Percentage) FROM countrylanguage GROUP BY CountryCode", "predicted_parse_error": false, "hardness": "medium", "exact": 0, "partial": {"select": {"acc": 0, "rec": 0, "f1": 0, "label_total": 3, "pred_total": 2}, "select(no AGG)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 3, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 4}}}, {"question": "讲“Spanish”的人口比例最大的国家的总数是多少?", "predicted": "SELECT Count(*) FROM country JOIN countrylanguage ON country.Code = countrylanguage.CountryCode WHERE countrylanguage.Language = \"anada\"", "gold": "SELECT count(*) , max(Percentage) FROM countrylanguage WHERE LANGUAGE = \"Spanish\" GROUP BY CountryCode", "predicted_parse_error": false, "hardness": "extra", "exact": 0, "partial": {"select": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 1}, "select(no AGG)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 0}, "group": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 1}}}, {"question": "计算以讲“Spanish”为主的国家的数目。", "predicted": "SELECT Count(*) FROM country JOIN countrylanguage ON country.Code = countrylanguage.CountryCode WHERE countrylanguage.Language = \"bangla\"", "gold": "SELECT count(*) , max(Percentage) FROM countrylanguage WHERE LANGUAGE = \"Spanish\" GROUP BY CountryCode", "predicted_parse_error": false, "hardness": "extra", "exact": 0, "partial": {"select": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 1}, "select(no AGG)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 0}, "group": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 1}}}, {"question": "讲“Spanish”的人口比例最大的国家的代码是什么?", "predicted": "SELECT countrylanguage.CountryCode FROM countrylanguage WHERE countrylanguage.Language = \"Male\"", "gold": "SELECT CountryCode , max(Percentage) FROM countrylanguage WHERE LANGUAGE = \"Spanish\" GROUP BY CountryCode", "predicted_parse_error": false, "hardness": "medium", "exact": 0, "partial": {"select": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 1}, "select(no AGG)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 0}, "group": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 1}}}, {"question": "返回以“Spanish”为主要语言的国家的代码。", "predicted": "SELECT country.Code FROM country JOIN countrylanguage ON country.Code = countrylanguage.CountryCode WHERE countrylanguage.Language = \"bangla\"", "gold": "SELECT CountryCode , max(Percentage) FROM countrylanguage WHERE LANGUAGE = \"Spanish\" GROUP BY CountryCode", "predicted_parse_error": false, "hardness": "medium", "exact": 0, "partial": {"select": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 1}, "select(no AGG)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 0}, "group": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 1}}}, {"question": "那里有多少个指挥家?", "predicted": "SELECT Count(*) FROM conductor", "gold": "SELECT count(*) FROM conductor", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "计算指挥家的数量。", "predicted": "SELECT Count(*) FROM conductor", "gold": "SELECT count(*) FROM conductor", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "列出按年龄升序排列的指挥家的名字。", "predicted": "SELECT conductor.Name FROM conductor ORDER BY conductor.Age Asc", "gold": "SELECT Name FROM conductor ORDER BY Age ASC", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "按年龄顺序排列的指挥家名字是什么?", "predicted": "SELECT conductor.Name FROM conductor ORDER BY conductor.Age Asc", "gold": "SELECT Name FROM conductor ORDER BY Age ASC", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "国籍不是“USA”的指挥家的名字是什么?", "predicted": "SELECT conductor.Name FROM conductor WHERE conductor.Nationality != \"USA\"", "gold": "SELECT Name FROM conductor WHERE Nationality != 'USA'", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "返回不是“USA”国籍的指挥人员的姓名。", "predicted": "SELECT conductor.Name FROM conductor WHERE conductor.Nationality != \"USA\"", "gold": "SELECT Name FROM conductor WHERE Nationality != 'USA'", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "按创立年份的降序排列的管弦乐队唱片公司是哪些?", "predicted": "SELECT orchestra.Record_Company FROM orchestra ORDER BY orchestra.Year_of_Founded Desc", "gold": "SELECT Record_Company FROM orchestra ORDER BY Year_of_Founded DESC", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "返回按创立年份降序排列的乐团唱片公司的名称。", "predicted": "SELECT orchestra.Record_Company FROM orchestra ORDER BY orchestra.Year_of_Founded Desc", "gold": "SELECT Record_Company FROM orchestra ORDER BY Year_of_Founded DESC", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "表演的平均出席人数是多少?", "predicted": "SELECT Avg(show.Attendance) FROM show", "gold": "SELECT avg(Attendance) FROM SHOW", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "返回所有表演的平均出席人数。", "predicted": "SELECT Avg(show.Attendance) FROM show", "gold": "SELECT avg(Attendance) FROM SHOW", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "不是“Live final”类型的最大和最小份额的表现类型是什么。", "predicted": "SELECT Max(performance.Share), Min(performance.Share) FROM performance WHERE performance.Type != \"Live\"", "gold": "SELECT max(SHARE) , min(SHARE) FROM performance WHERE TYPE != \"Live final\"", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "返回不是“Live final”类型的表演的最大和最小份额。", "predicted": "SELECT Max(performance.Share), Min(performance.Share) FROM performance WHERE performance.Type != \"Live\"", "gold": "SELECT max(SHARE) , min(SHARE) FROM performance WHERE TYPE != \"Live final\"", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "指挥家有多少个不同的国籍?", "predicted": "SELECT Count(DISTINCT conductor.Nationality) FROM conductor", "gold": "SELECT count(DISTINCT Nationality) FROM conductor", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "统计指挥家不同的国籍数量。", "predicted": "SELECT Count(DISTINCT conductor.Nationality) FROM conductor", "gold": "SELECT count(DISTINCT Nationality) FROM conductor", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "按照工作年限的降序顺序列出指挥家的名字。", "predicted": "SELECT conductor.Name FROM conductor ORDER BY conductor.Year_of_Work Desc", "gold": "SELECT Name FROM conductor ORDER BY Year_of_Work DESC", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "按工作年限降序排列的指挥家的名字是什么?", "predicted": "SELECT conductor.Name FROM conductor ORDER BY conductor.Year_of_Work Desc", "gold": "SELECT Name FROM conductor ORDER BY Year_of_Work DESC", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "列出工作年限最长的指挥家的姓名。", "predicted": "SELECT conductor.Name FROM conductor ORDER BY conductor.Year_of_Work Desc LIMIT 1", "gold": "SELECT Name FROM conductor ORDER BY Year_of_Work DESC LIMIT 1", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}}}, {"question": "那位工作时间最长的指挥家叫什么名字?", "predicted": "SELECT conductor.Name FROM conductor ORDER BY conductor.Year_of_Work Desc LIMIT 1", "gold": "SELECT Name FROM conductor ORDER BY Year_of_Work DESC LIMIT 1", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}}}, {"question": "显示指挥家的名字和他们指挥的管弦乐队的名字。", "predicted": "SELECT conductor.Name, orchestra.Orchestra FROM conductor JOIN orchestra ON conductor.Conductor_ID = orchestra.Conductor_ID", "gold": "SELECT T1.Name , T2.Orchestra FROM conductor AS T1 JOIN orchestra AS T2 ON T1.Conductor_ID = T2.Conductor_ID", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "指挥家的名字以及他们指挥的管弦乐队叫什么?", "predicted": "SELECT conductor.Name, orchestra.Orchestra FROM conductor JOIN orchestra ON conductor.Conductor_ID = orchestra.Conductor_ID", "gold": "SELECT T1.Name , T2.Orchestra FROM conductor AS T1 JOIN orchestra AS T2 ON T1.Conductor_ID = T2.Conductor_ID", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "显示指挥过超过一支管弦乐队的指挥家的名字。", "predicted": "SELECT conductor.Name FROM conductor JOIN orchestra ON conductor.Conductor_ID = orchestra.Conductor_ID GROUP BY orchestra.Conductor_ID HAVING Count(*) > 1", "gold": "SELECT T1.Name FROM conductor AS T1 JOIN orchestra AS T2 ON T1.Conductor_ID = T2.Conductor_ID GROUP BY T2.Conductor_ID HAVING COUNT(*) > 1", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "指挥过超过一个管弦乐队的指挥家的名字是什么?", "predicted": "SELECT conductor.Name FROM conductor JOIN orchestra ON conductor.Conductor_ID = orchestra.Conductor_ID GROUP BY orchestra.Conductor_ID HAVING Count(*) > 1", "gold": "SELECT T1.Name FROM conductor AS T1 JOIN orchestra AS T2 ON T1.Conductor_ID = T2.Conductor_ID GROUP BY T2.Conductor_ID HAVING COUNT(*) > 1", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "显示指挥过最多的管弦乐队的指挥家的名字。", "predicted": "SELECT conductor.Name FROM conductor JOIN orchestra ON conductor.Conductor_ID = orchestra.Conductor_ID GROUP BY orchestra.Conductor_ID ORDER BY Count(*) Desc LIMIT 1", "gold": "SELECT T1.Name FROM conductor AS T1 JOIN orchestra AS T2 ON T1.Conductor_ID = T2.Conductor_ID GROUP BY T2.Conductor_ID ORDER BY COUNT(*) DESC LIMIT 1", "predicted_parse_error": false, "hardness": "extra", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 4, "pred_total": 4}}}, {"question": "指挥过最多的管弦乐队的指挥家叫什么名字?", "predicted": "SELECT conductor.Name FROM conductor JOIN orchestra ON conductor.Conductor_ID = orchestra.Conductor_ID GROUP BY orchestra.Conductor_ID ORDER BY Count(*) Desc LIMIT 1", "gold": "SELECT T1.Name FROM conductor AS T1 JOIN orchestra AS T2 ON T1.Conductor_ID = T2.Conductor_ID GROUP BY T2.Conductor_ID ORDER BY COUNT(*) DESC LIMIT 1", "predicted_parse_error": false, "hardness": "extra", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 4, "pred_total": 4}}}, {"question": "请显示指挥过2008年后成立的管弦乐队的指挥家姓名。", "predicted": "SELECT conductor.Name FROM conductor JOIN orchestra ON conductor.Conductor_ID = orchestra.Conductor_ID WHERE orchestra.Year_of_Founded > 2008", "gold": "SELECT T1.Name FROM conductor AS T1 JOIN orchestra AS T2 ON T1.Conductor_ID = T2.Conductor_ID WHERE Year_of_Founded > 2008", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "指挥过2008年后成立的管弦乐队的指挥家叫什么名字?", "predicted": "SELECT conductor.Name FROM conductor JOIN orchestra ON conductor.Conductor_ID = orchestra.Conductor_ID WHERE orchestra.Year_of_Founded > 2008", "gold": "SELECT T1.Name FROM conductor AS T1 JOIN orchestra AS T2 ON T1.Conductor_ID = T2.Conductor_ID WHERE Year_of_Founded > 2008", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "请显示不同唱片公司及相应管弦乐队的数量。", "predicted": "SELECT orchestra.Record_Company, Count(*) FROM orchestra GROUP BY orchestra.Record_Company", "gold": "SELECT Record_Company , COUNT(*) FROM orchestra GROUP BY Record_Company", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "每家唱片公司管理多少支管弦乐队?", "predicted": "SELECT orchestra.Record_Company, Count(*) FROM orchestra GROUP BY orchestra.Record_Company", "gold": "SELECT Record_Company , COUNT(*) FROM orchestra GROUP BY Record_Company", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "请以数量升序显示管弦乐队的唱片格式。", "predicted": "SELECT orchestra.Major_Record_Format FROM orchestra GROUP BY orchestra.Major_Record_Format ORDER BY Count(*) Asc", "gold": "SELECT Major_Record_Format FROM orchestra GROUP BY Major_Record_Format ORDER BY COUNT(*) ASC", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}}}, {"question": "按出现次数排列的管弦乐队的主要唱片格式是什么?", "predicted": "SELECT orchestra.Major_Record_Format FROM orchestra GROUP BY orchestra.Major_Record_Format ORDER BY Count(*) Asc", "gold": "SELECT Major_Record_Format FROM orchestra GROUP BY Major_Record_Format ORDER BY COUNT(*) ASC", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}}}, {"question": "列出被最多数量的管弦乐队共享的唱片公司。", "predicted": "SELECT orchestra.Record_Company FROM orchestra GROUP BY orchestra.Record_Company ORDER BY Count(*) Desc LIMIT 1", "gold": "SELECT Record_Company FROM orchestra GROUP BY Record_Company ORDER BY COUNT(*) DESC LIMIT 1", "predicted_parse_error": false, "hardness": "hard", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 4, "pred_total": 4}}}, {"question": "管弦乐队使用最多的唱片公司是什么?", "predicted": "SELECT orchestra.Record_Company FROM orchestra GROUP BY orchestra.Record_Company ORDER BY Count(*) Desc LIMIT 1", "gold": "SELECT Record_Company FROM orchestra GROUP BY Record_Company ORDER BY COUNT(*) DESC LIMIT 1", "predicted_parse_error": false, "hardness": "hard", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 4, "pred_total": 4}}}, {"question": "列出没有演出过的管弦乐队的名称。", "predicted": "SELECT orchestra.Orchestra FROM orchestra WHERE orchestra.Orchestra_ID NOT IN (SELECT performance.Orchestra_ID FROM performance)", "gold": "SELECT Orchestra FROM orchestra WHERE Orchestra_ID NOT IN (SELECT Orchestra_ID FROM performance)", "predicted_parse_error": false, "hardness": "hard", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}}}, {"question": "没有演出的管弦乐队是什么?", "predicted": "SELECT orchestra.Orchestra FROM orchestra WHERE orchestra.Orchestra_ID NOT IN (SELECT performance.Orchestra_ID FROM performance)", "gold": "SELECT Orchestra FROM orchestra WHERE Orchestra_ID NOT IN (SELECT Orchestra_ID FROM performance)", "predicted_parse_error": false, "hardness": "hard", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}}}, {"question": "显示2003年前和2003年后成立的管弦乐队所共享的唱片公司。", "predicted": "SELECT orchestra.Record_Company FROM orchestra WHERE orchestra.Year_of_Founded < 2003 INTERSECT SELECT orchestra.Record_Company FROM orchestra WHERE orchestra.Year_of_Founded > 2003", "gold": "SELECT Record_Company FROM orchestra WHERE Year_of_Founded < 2003 INTERSECT SELECT Record_Company FROM orchestra WHERE Year_of_Founded > 2003", "predicted_parse_error": false, "hardness": "hard", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "2003年之前成立的和2003年以后成立的乐团都使用的唱片公司有哪些?", "predicted": "SELECT orchestra.Record_Company FROM orchestra WHERE orchestra.Year_of_Founded < 2003 INTERSECT SELECT orchestra.Record_Company FROM orchestra WHERE orchestra.Year_of_Founded > 2003", "gold": "SELECT Record_Company FROM orchestra WHERE Year_of_Founded < 2003 INTERSECT SELECT Record_Company FROM orchestra WHERE Year_of_Founded > 2003", "predicted_parse_error": false, "hardness": "hard", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "找到记录格式为“CD”或“DVD”的管弦乐队的数量。", "predicted": "SELECT Count(*) FROM orchestra WHERE orchestra.Major_Record_Format = \"CD\" OR orchestra.Major_Record_Format = \"DVD\"", "gold": "SELECT COUNT(*) FROM orchestra WHERE Major_Record_Format = \"CD\" OR Major_Record_Format = \"DVD\"", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "计算以“CD”或“DVD”作为记录格式的管弦乐队的数量。", "predicted": "SELECT Count(*) FROM orchestra WHERE orchestra.Major_Record_Format = \"CD\" OR orchestra.Major_Record_Format = \"DVD\"", "gold": "SELECT COUNT(*) FROM orchestra WHERE Major_Record_Format = \"CD\" OR Major_Record_Format = \"DVD\"", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "显示不止一次演出的管弦乐队成立的年份。", "predicted": "SELECT orchestra.Year_of_Founded FROM orchestra JOIN performance ON orchestra.Orchestra_ID = performance.Orchestra_ID GROUP BY performance.Orchestra_ID HAVING Count(*) > 1", "gold": "SELECT Year_of_Founded FROM orchestra AS T1 JOIN performance AS T2 ON T1.Orchestra_ID = T2.Orchestra_ID GROUP BY T2.Orchestra_ID HAVING COUNT(*) > 1", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "拥有超过一次演出经历的管弦乐队的创立年份是什么?", "predicted": "SELECT orchestra.Year_of_Founded FROM orchestra JOIN performance ON orchestra.Orchestra_ID = performance.Orchestra_ID GROUP BY performance.Orchestra_ID HAVING Count(*) > 1", "gold": "SELECT Year_of_Founded FROM orchestra AS T1 JOIN performance AS T2 ON T1.Orchestra_ID = T2.Orchestra_ID GROUP BY T2.Orchestra_ID HAVING COUNT(*) > 1", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "有多少高中学生?", "predicted": "SELECT Count(*) FROM Highschooler", "gold": "SELECT count(*) FROM Highschooler", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "统计高中学生的人数。", "predicted": "SELECT Count(*) FROM Highschooler", "gold": "SELECT count(*) FROM Highschooler", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "显示每个高中学生的姓名和年级。", "predicted": "SELECT DISTINCT Highschooler.name, Highschooler.grade FROM Highschooler", "gold": "SELECT name , grade FROM Highschooler", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "每个高中学生的名字和年级是什么?", "predicted": "SELECT DISTINCT Highschooler.name, Highschooler.grade FROM Highschooler", "gold": "SELECT name , grade FROM Highschooler", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "显示所有高中学生的年级。", "predicted": "SELECT DISTINCT Highschooler.grade FROM Highschooler", "gold": "SELECT grade FROM Highschooler", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "每个高中学生的年级是多少?", "predicted": "SELECT DISTINCT Highschooler.grade FROM Highschooler", "gold": "SELECT grade FROM Highschooler", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "“Kyle”在几年级?", "predicted": "SELECT Highschooler.grade FROM Highschooler WHERE Highschooler.name = \"Carole\"", "gold": "SELECT grade FROM Highschooler WHERE name = \"Kyle\"", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "返回高中学生“Kyle”的年级。", "predicted": "SELECT Highschooler.grade FROM Highschooler WHERE Highschooler.name = \"Carole\"", "gold": "SELECT grade FROM Highschooler WHERE name = \"Kyle\"", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "显示10年级所有高中学生的名字。", "predicted": "SELECT Highschooler.name FROM Highschooler WHERE Highschooler.grade = 10", "gold": "SELECT name FROM Highschooler WHERE grade = 10", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "10年级所有高中学生的名字是什么?", "predicted": "SELECT Highschooler.name FROM Highschooler WHERE Highschooler.grade = 10", "gold": "SELECT name FROM Highschooler WHERE grade = 10", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "显示名字叫“Kyle”的高中学生的ID。", "predicted": "SELECT Highschooler.ID FROM Highschooler WHERE Highschooler.name = \"Carole\"", "gold": "SELECT ID FROM Highschooler WHERE name = \"Kyle\"", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "“Kyle”的id是什么?", "predicted": "SELECT Highschooler.ID FROM Highschooler WHERE Highschooler.name = \"Carole\"", "gold": "SELECT ID FROM Highschooler WHERE name = \"Kyle\"", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "9年级或10年级有多少高中学生?", "predicted": "SELECT Count(*) FROM Highschooler WHERE Highschooler.grade = 2009 OR Highschooler.grade = 10", "gold": "SELECT count(*) FROM Highschooler WHERE grade = 9 OR grade = 10", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "计算9年级或10年级的高中学生人数。", "predicted": "SELECT Count(*) FROM Highschooler WHERE Highschooler.grade = 9 OR Highschooler.grade = 10", "gold": "SELECT count(*) FROM Highschooler WHERE grade = 9 OR grade = 10", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "显示每个年级的高中学生人数。", "predicted": "SELECT Highschooler.grade, Count(*) FROM Highschooler GROUP BY Highschooler.grade", "gold": "SELECT grade , count(*) FROM Highschooler GROUP BY grade", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "每个年级有多少高中学生?", "predicted": "SELECT Count(*), Highschooler.grade FROM Highschooler GROUP BY Highschooler.grade", "gold": "SELECT grade , count(*) FROM Highschooler GROUP BY grade", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "哪个年级的学生最多?", "predicted": "SELECT Highschooler.grade FROM Highschooler GROUP BY Highschooler.grade ORDER BY Count(*) Desc LIMIT 1", "gold": "SELECT grade FROM Highschooler GROUP BY grade ORDER BY count(*) DESC LIMIT 1", "predicted_parse_error": false, "hardness": "hard", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 4, "pred_total": 4}}}, {"question": "返回高中学生人数最多的年级。", "predicted": "SELECT Highschooler.grade FROM Highschooler GROUP BY Highschooler.grade ORDER BY Count(*) Desc LIMIT 1", "gold": "SELECT grade FROM Highschooler GROUP BY grade ORDER BY count(*) DESC LIMIT 1", "predicted_parse_error": false, "hardness": "hard", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 4, "pred_total": 4}}}, {"question": "显示所有至少有4名学生的年级。", "predicted": "SELECT Highschooler.grade FROM Highschooler GROUP BY Highschooler.grade HAVING Count(*) >= 4", "gold": "SELECT grade FROM Highschooler GROUP BY grade HAVING count(*) >= 4", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "哪一个年级有4个或更多的高中学生?", "predicted": "SELECT Highschooler.grade FROM Highschooler GROUP BY Highschooler.grade HAVING Count(*) >= 4", "gold": "SELECT grade FROM Highschooler GROUP BY grade HAVING count(*) >= 4", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "显示学生ID和其对应的朋友数量。", "predicted": "SELECT Friend.student_id, Count(*) FROM Friend GROUP BY Friend.student_id", "gold": "SELECT student_id , count(*) FROM Friend GROUP BY student_id", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "每个学生有多少个朋友?", "predicted": "SELECT Count(*), Friend.student_id FROM Friend GROUP BY Friend.student_id", "gold": "SELECT student_id , count(*) FROM Friend GROUP BY student_id", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "显示高中学生的名字和他们相应的朋友数量。", "predicted": "SELECT Highschooler.name, Count(*) FROM Highschooler JOIN Friend ON Highschooler.ID = Friend.student_id GROUP BY Highschooler.name", "gold": "SELECT T2.name , count(*) FROM Friend AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id GROUP BY T1.student_id", "predicted_parse_error": false, "hardness": "medium", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "group": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "高中学生的名字是什么,每个人有多少朋友?", "predicted": "SELECT Highschooler.name, Count(*) FROM Highschooler JOIN Friend ON Highschooler.ID = Friend.student_id GROUP BY Highschooler.name", "gold": "SELECT T2.name , count(*) FROM Friend AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id GROUP BY T1.student_id", "predicted_parse_error": false, "hardness": "medium", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "group": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "拥有最多人数朋友的高中学生的名字是什么?", "predicted": "SELECT Highschooler.name FROM Highschooler JOIN Friend ON Highschooler.ID = Friend.student_id GROUP BY Highschooler.ID ORDER BY Count(*) Desc LIMIT 1", "gold": "SELECT T2.name FROM Friend AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id GROUP BY T1.student_id ORDER BY count(*) DESC LIMIT 1", "predicted_parse_error": false, "hardness": "extra", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 4, "pred_total": 4}}}, {"question": "返回有最多朋友数量的高中学生的名字。", "predicted": "SELECT Highschooler.name FROM Highschooler JOIN Friend ON Highschooler.ID = Friend.student_id GROUP BY Highschooler.ID ORDER BY Count(*) Desc LIMIT 1", "gold": "SELECT T2.name FROM Friend AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id GROUP BY T1.student_id ORDER BY count(*) DESC LIMIT 1", "predicted_parse_error": false, "hardness": "extra", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 4, "pred_total": 4}}}, {"question": "显示至少有3个朋友的高中学生的名字。", "predicted": "SELECT Highschooler.name FROM Highschooler JOIN Friend ON Highschooler.ID = Friend.student_id GROUP BY Highschooler.ID HAVING Count(*) >= 3", "gold": "SELECT T2.name FROM Friend AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id GROUP BY T1.student_id HAVING count(*) >= 3", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "有3个或更多朋友的高中学生的名字是什么?", "predicted": "SELECT Highschooler.name FROM Highschooler JOIN Friend ON Highschooler.ID = Friend.student_id GROUP BY Highschooler.ID HAVING Count(*) >= 3", "gold": "SELECT T2.name FROM Friend AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id GROUP BY T1.student_id HAVING count(*) >= 3", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "显示高中学生“Kyle”的所有朋友的名字。", "predicted": "SELECT Highschooler.name FROM Highschooler JOIN Friend ON Highschooler.ID = Friend.student_id WHERE Highschooler.name = \"Carole\"", "gold": "SELECT T3.name FROM Friend AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id JOIN Highschooler AS T3 ON T1.friend_id = T3.id WHERE T2.name = \"Kyle\"", "predicted_parse_error": false, "hardness": "hard", "exact": false, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "返回名字是“Kyle”高中学生的朋友的名字。", "predicted": "SELECT Highschooler.name FROM Highschooler JOIN Friend ON Highschooler.ID = Friend.student_id WHERE Highschooler.name = \"Carole\"", "gold": "SELECT T3.name FROM Friend AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id JOIN Highschooler AS T3 ON T1.friend_id = T3.id WHERE T2.name = \"Kyle\"", "predicted_parse_error": false, "hardness": "hard", "exact": false, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "高中学生“Kyle”有多少个朋友?", "predicted": "SELECT Count(*) FROM Highschooler JOIN Friend ON Highschooler.ID = Friend.student_id WHERE Highschooler.name = \"Carole\"", "gold": "SELECT count(*) FROM Friend AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id WHERE T2.name = \"Kyle\"", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "统计下“Kyle”的朋友数。", "predicted": "SELECT Count(*) FROM Highschooler JOIN Friend ON Highschooler.ID = Friend.student_id WHERE Highschooler.name = \"Carole\"", "gold": "SELECT count(*) FROM Friend AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id WHERE T2.name = \"Kyle\"", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "显示所有没有朋友的学生的id。", "predicted": "SELECT Highschooler.ID FROM Highschooler EXCEPT SELECT Friend.student_id FROM Friend", "gold": "SELECT id FROM Highschooler EXCEPT SELECT student_id FROM Friend", "predicted_parse_error": false, "hardness": "hard", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "没有朋友的高中学生的id是什么?", "predicted": "SELECT Highschooler.ID FROM Highschooler EXCEPT SELECT Friend.student_id FROM Friend", "gold": "SELECT id FROM Highschooler EXCEPT SELECT student_id FROM Friend", "predicted_parse_error": false, "hardness": "hard", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "显示所有没有任何朋友的高中学生的名字。", "predicted": "SELECT Highschooler.name FROM Highschooler WHERE Highschooler.ID NOT IN (SELECT Friend.student_id FROM Friend)", "gold": "SELECT name FROM Highschooler EXCEPT SELECT T2.name FROM Friend AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id", "predicted_parse_error": false, "hardness": "hard", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 1}, "where(no OP)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 0}, "keywords": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 3}}}, {"question": "没有朋友的学生的名字是什么?", "predicted": "SELECT Highschooler.name FROM Highschooler WHERE Highschooler.ID NOT IN (SELECT Friend.student_id FROM Friend)", "gold": "SELECT name FROM Highschooler EXCEPT SELECT T2.name FROM Friend AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id", "predicted_parse_error": false, "hardness": "hard", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 1}, "where(no OP)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 0}, "keywords": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 3}}}, {"question": "展示一下那些有朋友而且被别人喜欢的高中学生的id。", "predicted": "SELECT Friend.student_id FROM Friend INTERSECT SELECT Likes.liked_id FROM Likes", "gold": "SELECT student_id FROM Friend INTERSECT SELECT liked_id FROM Likes", "predicted_parse_error": false, "hardness": "hard", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "既有朋友又被人喜欢的学生的id是什么?", "predicted": "SELECT Friend.student_id FROM Friend INTERSECT SELECT Likes.student_id FROM Likes", "gold": "SELECT student_id FROM Friend INTERSECT SELECT liked_id FROM Likes", "predicted_parse_error": false, "hardness": "hard", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "显示所有有朋友和被别人喜欢的学生的名字。", "predicted": "SELECT Highschooler.name FROM Highschooler JOIN Friend ON Highschooler.ID = Friend.student_id INTERSECT SELECT Highschooler.name FROM Likes JOIN Likes", "gold": "SELECT T2.name FROM Friend AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id INTERSECT SELECT T2.name FROM Likes AS T1 JOIN Highschooler AS T2 ON T1.liked_id = T2.id", "predicted_parse_error": false, "hardness": "hard", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "那些既有朋友又有人喜欢的高中学生的名字是什么?", "predicted": "SELECT Highschooler.name FROM Highschooler JOIN Friend ON Highschooler.ID = Friend.student_id INTERSECT SELECT Highschooler.name FROM Highschooler JOIN Likes ON Highschooler.ID = Likes.student_id", "gold": "SELECT T2.name FROM Friend AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id INTERSECT SELECT T2.name FROM Likes AS T1 JOIN Highschooler AS T2 ON T1.liked_id = T2.id", "predicted_parse_error": false, "hardness": "hard", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "针对每个学生ID,统计其对应的喜欢数量。", "predicted": "SELECT Count(*), Likes.student_id FROM Highschooler JOIN Friend ON Friend.student_id = Highschooler.ID JOIN Likes ON Highschooler.ID = Likes.liked_id GROUP BY Friend.student_id", "gold": "SELECT student_id , count(*) FROM Likes GROUP BY student_id", "predicted_parse_error": false, "hardness": "medium", "exact": false, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "有每个学生id对应的喜欢数有多少?", "predicted": "SELECT Friend.student_id, Count(*) FROM Friend GROUP BY Friend.student_id", "gold": "SELECT student_id , count(*) FROM Likes GROUP BY student_id", "predicted_parse_error": false, "hardness": "medium", "exact": false, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "显示被人喜欢的高中学生的名字,以及他们被多少人喜欢。", "predicted": "SELECT Highschooler.name, Count(*) FROM Highschooler JOIN Likes ON Highschooler.ID = Likes.liked_id GROUP BY Highschooler.name", "gold": "SELECT T2.name , count(*) FROM Likes AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id GROUP BY T1.student_id", "predicted_parse_error": false, "hardness": "medium", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "group": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "那些有人喜欢的高中学生叫什么名字?以及他们分别被多少人喜欢?", "predicted": "SELECT Highschooler.name, Count(*) FROM Highschooler JOIN Likes ON Highschooler.ID = Likes.liked_id GROUP BY Highschooler.name", "gold": "SELECT T2.name , count(*) FROM Likes AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id GROUP BY T1.student_id", "predicted_parse_error": false, "hardness": "medium", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "group": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "有最多喜欢数的高中学生叫什么名字?", "predicted": "SELECT Highschooler.name FROM Highschooler JOIN Likes ON Highschooler.ID = Likes.liked_id GROUP BY Likes.student_id ORDER BY Count(*) Desc LIMIT 1", "gold": "SELECT T2.name FROM Likes AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id GROUP BY T1.student_id ORDER BY count(*) DESC LIMIT 1", "predicted_parse_error": false, "hardness": "extra", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 4, "pred_total": 4}}}, {"question": "给出有最多喜欢数的学生的名字。", "predicted": "SELECT Highschooler.name FROM Highschooler JOIN Likes ON Highschooler.ID = Likes.liked_id GROUP BY Likes.student_id ORDER BY Count(*) Desc LIMIT 1", "gold": "SELECT T2.name FROM Likes AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id GROUP BY T1.student_id ORDER BY count(*) DESC LIMIT 1", "predicted_parse_error": false, "hardness": "extra", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 4, "pred_total": 4}}}, {"question": "显示至少被2个人所喜欢的学生的名字。", "predicted": "SELECT Highschooler.name FROM Highschooler JOIN Likes ON Highschooler.ID = Likes.liked_id GROUP BY Likes.student_id HAVING Count(*) >= 2", "gold": "SELECT T2.name FROM Likes AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id GROUP BY T1.student_id HAVING count(*) >= 2", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "有2个或更多喜欢的学生的名字是什么?", "predicted": "SELECT Highschooler.name FROM Highschooler JOIN Likes ON Highschooler.ID = Likes.liked_id GROUP BY Highschooler.name HAVING Count(*) >= 2", "gold": "SELECT T2.name FROM Likes AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id GROUP BY T1.student_id HAVING count(*) >= 2", "predicted_parse_error": false, "hardness": "medium", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "group": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "显示年级高于5且至少有2个朋友的学生的名字。", "predicted": "SELECT Highschooler.name FROM Highschooler JOIN Friend ON Highschooler.ID = Friend.student_id WHERE Highschooler.grade > 5 GROUP BY Highschooler.name HAVING Count(*) >= 2", "gold": "SELECT T2.name FROM Friend AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id WHERE T2.grade > 5 GROUP BY T1.student_id HAVING count(*) >= 2", "predicted_parse_error": false, "hardness": "hard", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "group": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}}}, {"question": "那些年级在5以上且有2个或更多朋友的高中生叫什么名字?", "predicted": "SELECT Highschooler.name FROM Highschooler JOIN Friend ON Highschooler.ID = Friend.student_id WHERE Highschooler.grade > 5 GROUP BY Highschooler.name HAVING Count(*) >= 2", "gold": "SELECT T2.name FROM Friend AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id WHERE T2.grade > 5 GROUP BY T1.student_id HAVING count(*) >= 2", "predicted_parse_error": false, "hardness": "hard", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "group": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}}}, {"question": "“Kyle”有多少喜欢?", "predicted": "SELECT Count(*) FROM Highschooler JOIN Likes ON Highschooler.ID = Likes.liked_id WHERE Highschooler.name = \"Carole\"", "gold": "SELECT count(*) FROM Likes AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id WHERE T2.name = \"Kyle\"", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "返回有多少人喜欢高中学生“Kyle”。", "predicted": "SELECT Count(*) FROM Highschooler JOIN Likes ON Highschooler.ID = Likes.liked_id WHERE Highschooler.name = \"Carole\"", "gold": "SELECT count(*) FROM Likes AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id WHERE T2.name = \"Kyle\"", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "找出所有有朋友的学生的平均年级。", "predicted": "SELECT Avg(Highschooler.grade) FROM Highschooler WHERE Highschooler.ID IN (SELECT Friend.friend_id FROM Friend)", "gold": "SELECT avg(grade) FROM Highschooler WHERE id IN (SELECT T1.student_id FROM Friend AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id)", "predicted_parse_error": false, "hardness": "hard", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "有朋友的学生的平均年级是多少?", "predicted": "SELECT Avg(Highschooler.grade) FROM Highschooler WHERE Highschooler.ID IN (SELECT Friend.friend_id FROM Friend)", "gold": "SELECT avg(grade) FROM Highschooler WHERE id IN (SELECT T1.student_id FROM Friend AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id)", "predicted_parse_error": false, "hardness": "hard", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "找出没有朋友的学生的最低年级。", "predicted": "SELECT Highschooler.grade FROM Highschooler WHERE Highschooler.ID NOT IN (SELECT Friend.student_id FROM Friend)", "gold": "SELECT min(grade) FROM Highschooler WHERE id NOT IN (SELECT T1.student_id FROM Friend AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id)", "predicted_parse_error": false, "hardness": "extra", "exact": 0, "partial": {"select": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}}}, {"question": "没有任何朋友的最低年级学生是谁?", "predicted": "SELECT Highschooler.name FROM Highschooler WHERE Highschooler.ID NOT IN (SELECT Friend.student_id FROM Friend WHERE Highschooler.grade = (SELECT Min(Highschooler.grade) FROM Friend))", "gold": "SELECT min(grade) FROM Highschooler WHERE id NOT IN (SELECT T1.student_id FROM Friend AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id)", "predicted_parse_error": false, "hardness": "extra", "exact": 0, "partial": {"select": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}}}, {"question": "哪些州既有主人又有专家居住?", "predicted": "SELECT Owners.state FROM Owners INTERSECT SELECT Professionals.state FROM Professionals", "gold": "SELECT state FROM Owners INTERSECT SELECT state FROM Professionals", "predicted_parse_error": false, "hardness": "hard", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "找出既有主人又有专家居住的州。", "predicted": "SELECT Owners.state FROM Owners INTERSECT SELECT Professionals.state FROM Professionals", "gold": "SELECT state FROM Owners INTERSECT SELECT state FROM Professionals", "predicted_parse_error": false, "hardness": "hard", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "经过治疗的狗的平均年龄是多少?", "predicted": "SELECT Avg(Dogs.age) FROM Dogs", "gold": "SELECT avg(age) FROM Dogs WHERE dog_id IN ( SELECT dog_id FROM Treatments )", "predicted_parse_error": false, "hardness": "hard", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 0}, "where(no OP)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 0}}}, {"question": "找出经过治疗的狗的平均年龄。", "predicted": "SELECT Avg(Dogs.age) FROM Dogs WHERE Dogs.dog_id IN (SELECT Treatments.dog_id FROM Treatments)", "gold": "SELECT avg(age) FROM Dogs WHERE dog_id IN ( SELECT dog_id FROM Treatments )", "predicted_parse_error": false, "hardness": "hard", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "哪些专家住在“Indiana”州,或者已经做过两次以上的治疗?列出他或她的ID、姓氏和手机。", "predicted": "SELECT Professionals.professional_id, Professionals.last_name, Professionals.cell_number FROM Professionals JOIN Treatments ON Professionals.professional_id = Treatments.professional_id WHERE Professionals.state = \"A\" UNION SELECT Professionals.professional_id, Professionals.cell_number, Professionals.cell_number FROM Professionals JOIN Treatments ON Professionals.professional_id = Treatments.professional_id GROUP BY Professionals.professional_id HAVING Count(*) > 2", "gold": "SELECT professional_id , last_name , cell_number FROM Professionals WHERE state = 'Indiana' UNION SELECT T1.professional_id , T1.last_name , T1.cell_number FROM Professionals AS T1 JOIN Treatments AS T2 ON T1.professional_id = T2.professional_id GROUP BY T1.professional_id HAVING count(*) > 2", "predicted_parse_error": false, "hardness": "extra", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "找出居住在“Indiana”州且曾做过两次以上治疗的专家的ID、姓氏和手机。", "predicted": "SELECT Professionals.professional_id, Professionals.last_name, Professionals.cell_number FROM Professionals JOIN Treatments ON Professionals.professional_id = Treatments.professional_id WHERE Professionals.state = \"Accounting\" GROUP BY Professionals.professional_id HAVING Count(*) >= 2", "gold": "SELECT professional_id , last_name , cell_number FROM Professionals WHERE state = 'Indiana' UNION SELECT T1.professional_id , T1.last_name , T1.cell_number FROM Professionals AS T1 JOIN Treatments AS T2 ON T1.professional_id = T2.professional_id GROUP BY T1.professional_id HAVING count(*) > 2", "predicted_parse_error": false, "hardness": "extra", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 1}, "group": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 0}, "keywords": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 3}}}, {"question": "哪些狗没有花费他们的主人超过1000元的治疗费?列出狗的名字。", "predicted": "SELECT Dogs.name FROM Dogs EXCEPT SELECT Dogs.name FROM Dogs JOIN Treatments ON Dogs.dog_id = Treatments.dog_id WHERE Treatments.cost_of_treatment > 1000", "gold": "select name from dogs where dog_id not in ( select dog_id from treatments group by dog_id having sum(cost_of_treatment) > 1000 )", "predicted_parse_error": false, "hardness": "hard", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 0}, "where(no OP)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 1}, "keywords": {"acc": 0, "rec": 0, "f1": 0, "label_total": 3, "pred_total": 1}}}, {"question": "主人花了1000元以上来治疗的狗的名字是什么?", "predicted": "SELECT Dogs.name FROM Dogs JOIN Treatments ON Dogs.dog_id = Treatments.dog_id WHERE Treatments.cost_of_treatment > 1000", "gold": "select name from dogs where dog_id not in ( select dog_id from treatments group by dog_id having sum(cost_of_treatment) > 1000 )", "predicted_parse_error": false, "hardness": "hard", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 0, "rec": 0, "f1": 0, "label_total": 3, "pred_total": 1}}}, {"question": "哪些名字用于专家或主人,但不用作狗的名字?", "predicted": "SELECT Professionals.first_name FROM Owners JOIN Dogs ON Owners.owner_id = Dogs.owner_id JOIN Professionals JOIN Treatments ON Dogs.dog_id = Treatments.dog_id AND Treatments.professional_id = Professionals.professional_id EXCEPT SELECT Owners.first_name FROM Owners JOIN Dogs ON Owners.owner_id = Dogs.owner_id", "gold": "SELECT first_name FROM Professionals UNION SELECT first_name FROM Owners EXCEPT SELECT name FROM Dogs", "predicted_parse_error": false, "hardness": "hard", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "keywords": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}}}, {"question": "找出专家或主人使用过的但不用作狗名的名字。", "predicted": "SELECT Professionals.first_name FROM Owners JOIN Dogs ON Owners.owner_id = Dogs.owner_id JOIN Professionals JOIN Treatments ON Dogs.dog_id = Treatments.dog_id AND Treatments.professional_id = Professionals.professional_id EXCEPT SELECT Professionals.first_name FROM Professionals ON Professionals.professional_id = Professionals.professional_id JOIN Dogs JOIN Professionals", "gold": "SELECT first_name FROM Professionals UNION SELECT first_name FROM Owners EXCEPT SELECT name FROM Dogs", "predicted_parse_error": false, "hardness": "hard", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "keywords": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}}}, {"question": "哪些专家没有对狗进行任何治疗?列出专家的id、职位和电子邮件。", "predicted": "SELECT Professionals.professional_id, Professionals.role_code, Professionals.email_address FROM Professionals EXCEPT SELECT Professionals.professional_id, Professionals.role_code, Professionals.email_address FROM Professionals JOIN Treatments ON Professionals.professional_id = Treatments.professional_id", "gold": "SELECT professional_id , role_code , email_address FROM Professionals EXCEPT SELECT T1.professional_id , T1.role_code , T1.email_address FROM Professionals AS T1 JOIN Treatments AS T2 ON T1.professional_id = T2.professional_id", "predicted_parse_error": false, "hardness": "extra", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "请告诉我没有对狗进行任何治疗的专家的id、职位和电子邮件。", "predicted": "SELECT Professionals.professional_id, Professionals.role_code, Professionals.email_address FROM Professionals WHERE Professionals.professional_id = \"null\" EXCEPT SELECT Professionals.professional_id, Professionals.email_address, Professionals.email_address FROM Treatments JOIN Treatments", "gold": "SELECT professional_id , role_code , email_address FROM Professionals EXCEPT SELECT T1.professional_id , T1.role_code , T1.email_address FROM Professionals AS T1 JOIN Treatments AS T2 ON T1.professional_id = T2.professional_id", "predicted_parse_error": false, "hardness": "extra", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 1}, "where(no OP)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "keywords": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 2}}}, {"question": "那个主人拥有最多的狗?列出主人的ID、名字和姓氏。", "predicted": "SELECT Owners.owner_id, Owners.first_name, Owners.last_name FROM Owners JOIN Dogs ON Owners.owner_id = Dogs.owner_id GROUP BY Owners.owner_id ORDER BY Count(*) Desc LIMIT 1", "gold": "SELECT T1.owner_id , T2.first_name , T2.last_name FROM Dogs AS T1 JOIN Owners AS T2 ON T1.owner_id = T2.owner_id GROUP BY T1.owner_id ORDER BY count(*) DESC LIMIT 1", "predicted_parse_error": false, "hardness": "extra", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 4, "pred_total": 4}}}, {"question": "返回拥有最多狗的主人的ID、名字和姓氏。", "predicted": "SELECT Owners.owner_id, Owners.first_name, Owners.last_name FROM Owners JOIN Dogs ON Owners.owner_id = Dogs.owner_id GROUP BY Owners.owner_id ORDER BY Count(*) Desc LIMIT 1", "gold": "SELECT T1.owner_id , T2.first_name , T2.last_name FROM Dogs AS T1 JOIN Owners AS T2 ON T1.owner_id = T2.owner_id GROUP BY T1.owner_id ORDER BY count(*) DESC LIMIT 1", "predicted_parse_error": false, "hardness": "extra", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 4, "pred_total": 4}}}, {"question": "哪些专家至少做过两次治疗?列出专家的ID、职位和名字。", "predicted": "SELECT Professionals.professional_id, Professionals.role_code, Professionals.first_name FROM Professionals JOIN Treatments ON Professionals.professional_id = Treatments.professional_id GROUP BY Professionals.professional_id HAVING Count(*) >= 2", "gold": "SELECT T1.professional_id , T1.role_code , T1.first_name FROM Professionals AS T1 JOIN Treatments AS T2 ON T1.professional_id = T2.professional_id GROUP BY T1.professional_id HAVING count(*) >= 2", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "进行过两次或更多次治疗的专家的ID、职位和名字是什么?", "predicted": "SELECT Professionals.professional_id, Professionals.role_code, Professionals.first_name FROM Professionals JOIN Treatments ON Professionals.professional_id = Treatments.professional_id GROUP BY Professionals.professional_id HAVING Count(*) >= 2", "gold": "SELECT T1.professional_id , T1.role_code , T1.first_name FROM Professionals AS T1 JOIN Treatments AS T2 ON T1.professional_id = T2.professional_id GROUP BY T1.professional_id HAVING count(*) >= 2", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "被养的数量最多的狗的品种名称叫什么?", "predicted": "SELECT Breeds.breed_name FROM Breeds JOIN Dogs ON Breeds.breed_code = Dogs.breed_code GROUP BY Dogs.breed_code ORDER BY Count(*) Desc LIMIT 1", "gold": "SELECT T1.breed_name FROM Breeds AS T1 JOIN Dogs AS T2 ON T1.breed_code = T2.breed_code GROUP BY T1.breed_name ORDER BY count(*) DESC LIMIT 1", "predicted_parse_error": false, "hardness": "extra", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "group": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 4, "pred_total": 4}}}, {"question": "最多的狗是哪个品种?给我这个品种的名字。", "predicted": "SELECT Breeds.breed_name FROM Breeds JOIN Dogs ON Breeds.breed_code = Dogs.breed_code GROUP BY Breeds.breed_code ORDER BY Count(*) Desc LIMIT 1", "gold": "SELECT T1.breed_name FROM Breeds AS T1 JOIN Dogs AS T2 ON T1.breed_code = T2.breed_code GROUP BY T1.breed_name ORDER BY count(*) DESC LIMIT 1", "predicted_parse_error": false, "hardness": "extra", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "group": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 4, "pred_total": 4}}}, {"question": "哪一位主人为他或她的狗支付了最多的治疗费?列出主人的ID和姓氏。", "predicted": "SELECT Owners.owner_id, Owners.last_name FROM Owners JOIN Dogs ON Owners.owner_id = Dogs.owner_id JOIN Treatments ON Dogs.dog_id = Treatments.dog_id GROUP BY Owners.owner_id ORDER BY Sum(Treatments.cost_of_treatment) Desc LIMIT 1", "gold": "SELECT T1.owner_id , T1.last_name FROM Owners AS T1 JOIN Dogs AS T2 ON T1.owner_id = T2.owner_id JOIN Treatments AS T3 ON T2.dog_id = T3.dog_id GROUP BY T1.owner_id ORDER BY count(*) DESC LIMIT 1", "predicted_parse_error": false, "hardness": "extra", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 4, "pred_total": 4}}}, {"question": "告诉我花在他或她的狗身上最多治疗费的主人的ID和姓氏。", "predicted": "SELECT Owners.owner_id, Owners.last_name FROM Owners JOIN Dogs ON Owners.owner_id = Dogs.owner_id JOIN Treatments ON Dogs.dog_id = Treatments.dog_id GROUP BY Owners.owner_id ORDER BY Sum(Treatments.cost_of_treatment) Desc LIMIT 1", "gold": "SELECT T1.owner_id , T1.last_name FROM Owners AS T1 JOIN Dogs AS T2 ON T1.owner_id = T2.owner_id JOIN Treatments AS T3 ON T2.dog_id = T3.dog_id GROUP BY T1.owner_id ORDER BY count(*) DESC LIMIT 1", "predicted_parse_error": false, "hardness": "extra", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 4, "pred_total": 4}}}, {"question": "总花费最少的治疗类型的描述是什么?", "predicted": "SELECT Treatment_Types.treatment_type_description FROM Treatment_Types JOIN Treatments ON Treatment_Types.treatment_type_code = Treatments.treatment_type_code GROUP BY Treatments.treatment_type_code ORDER BY Sum(Treatments.cost_of_treatment) Asc LIMIT 1", "gold": "SELECT T1.treatment_type_description FROM Treatment_types AS T1 JOIN Treatments AS T2 ON T1.treatment_type_code = T2.treatment_type_code GROUP BY T1.treatment_type_code ORDER BY sum(cost_of_treatment) ASC LIMIT 1", "predicted_parse_error": false, "hardness": "extra", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 4, "pred_total": 4}}}, {"question": "请给我描述一下总花费最低的治疗类型。", "predicted": "SELECT Treatment_Types.treatment_type_description FROM Treatment_Types JOIN Treatments ON Treatment_Types.treatment_type_code = Treatments.treatment_type_code GROUP BY Treatments.treatment_type_code ORDER BY Sum(Treatments.cost_of_treatment) Asc LIMIT 1", "gold": "SELECT T1.treatment_type_description FROM Treatment_types AS T1 JOIN Treatments AS T2 ON T1.treatment_type_code = T2.treatment_type_code GROUP BY T1.treatment_type_code ORDER BY sum(cost_of_treatment) ASC LIMIT 1", "predicted_parse_error": false, "hardness": "extra", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 4, "pred_total": 4}}}, {"question": "哪一个主人为他们的狗支付了最多的钱?显示主人的ID和邮政编码。", "predicted": "SELECT Owners.owner_id, Owners.zip_code FROM Charges JOIN Owners JOIN Dogs ORDER BY Charges.charge_amount Desc LIMIT 1", "gold": "SELECT T1.owner_id , T1.zip_code FROM Owners AS T1 JOIN Dogs AS T2 ON T1.owner_id = T2.owner_id JOIN Treatments AS T3 ON T2.dog_id = T3.dog_id GROUP BY T1.owner_id ORDER BY sum(T3.cost_of_treatment) DESC LIMIT 1", "predicted_parse_error": false, "hardness": "extra", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 0}, "group": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 0}, "order": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 0, "rec": 0, "f1": 0, "label_total": 4, "pred_total": 3}}}, {"question": "找出总计为他或她的狗花了最多钱的主人的ID和邮政编码。", "predicted": "SELECT Owners.owner_id, Owners.zip_code FROM Owners JOIN Dogs ON Owners.owner_id = Dogs.owner_id JOIN Treatments ON Dogs.dog_id = Treatments.dog_id GROUP BY Owners.owner_id ORDER BY Sum(Treatments.cost_of_treatment) Desc LIMIT 1", "gold": "SELECT T1.owner_id , T1.zip_code FROM Owners AS T1 JOIN Dogs AS T2 ON T1.owner_id = T2.owner_id JOIN Treatments AS T3 ON T2.dog_id = T3.dog_id GROUP BY T1.owner_id ORDER BY sum(T3.cost_of_treatment) DESC LIMIT 1", "predicted_parse_error": false, "hardness": "extra", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 4, "pred_total": 4}}}, {"question": "哪些专家至少做过两种治疗?列出他们的专家ID和手机号码。", "predicted": "SELECT Professionals.professional_id, Professionals.cell_number FROM Professionals JOIN Treatments ON Professionals.professional_id = Treatments.professional_id GROUP BY Professionals.professional_id HAVING Count(*) >= 2", "gold": "SELECT T1.professional_id , T1.cell_number FROM Professionals AS T1 JOIN Treatments AS T2 ON T1.professional_id = T2.professional_id GROUP BY T1.professional_id HAVING count(*) >= 2", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "找出做过两种或更多种治疗的专家ID和手机号码。", "predicted": "SELECT Professionals.professional_id, Professionals.cell_number FROM Professionals JOIN Treatments ON Professionals.professional_id = Treatments.professional_id GROUP BY Professionals.professional_id HAVING Count(*) >= 2", "gold": "SELECT T1.professional_id , T1.cell_number FROM Professionals AS T1 JOIN Treatments AS T2 ON T1.professional_id = T2.professional_id GROUP BY T1.professional_id HAVING count(*) >= 2", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "治疗费用低于平均的专家的名字和姓氏是什么?", "predicted": "SELECT Professionals.first_name, Professionals.last_name FROM Professionals JOIN Treatments ON Professionals.professional_id = Treatments.professional_id WHERE Treatments.cost_of_treatment < (SELECT Avg(Treatments.cost_of_treatment) FROM Treatments)", "gold": "SELECT DISTINCT T1.first_name , T1.last_name FROM Professionals AS T1 JOIN Treatments AS T2 WHERE cost_of_treatment < ( SELECT avg(cost_of_treatment) FROM Treatments )", "predicted_parse_error": false, "hardness": "extra", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "哪些专家的治疗费用低于平均水平?给出名字和姓氏。", "predicted": "SELECT Professionals.first_name, Professionals.last_name FROM Professionals JOIN Treatments ON Professionals.professional_id = Treatments.professional_id WHERE Treatments.cost_of_treatment < (SELECT Avg(Treatments.cost_of_treatment) FROM Treatments)", "gold": "SELECT DISTINCT T1.first_name , T1.last_name FROM Professionals AS T1 JOIN Treatments AS T2 WHERE cost_of_treatment < ( SELECT avg(cost_of_treatment) FROM Treatments )", "predicted_parse_error": false, "hardness": "extra", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "列出每个治疗的日期,以及操作它的专家的名字。", "predicted": "SELECT Treatments.date_of_treatment, Professionals.first_name FROM Professionals JOIN Treatments ON Professionals.professional_id = Treatments.professional_id", "gold": "SELECT T1.date_of_treatment , T2.first_name FROM Treatments AS T1 JOIN Professionals AS T2 ON T1.professional_id = T2.professional_id", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "每次治疗的日期和操作专家的名字是什么?", "predicted": "SELECT Treatments.date_of_treatment, Professionals.first_name FROM Professionals JOIN Treatments ON Professionals.professional_id = Treatments.professional_id", "gold": "SELECT T1.date_of_treatment , T2.first_name FROM Treatments AS T1 JOIN Professionals AS T2 ON T1.professional_id = T2.professional_id", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "列出每种治疗的费用和相应的治疗类型描述。", "predicted": "SELECT Treatments.cost_of_treatment, Treatment_Types.treatment_type_description FROM Charges JOIN Treatment_Types JOIN Treatments", "gold": "SELECT T1.cost_of_treatment , T2.treatment_type_description FROM Treatments AS T1 JOIN treatment_types AS T2 ON T1.treatment_type_code = T2.treatment_type_code", "predicted_parse_error": false, "hardness": "medium", "exact": false, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "每个治疗的费用和治疗类型描述是什么?", "predicted": "SELECT Treatments.cost_of_treatment, Treatment_Types.treatment_type_description FROM Treatment_Types JOIN Treatments ON Treatment_Types.treatment_type_code = Treatments.treatment_type_code", "gold": "SELECT T1.cost_of_treatment , T2.treatment_type_description FROM Treatments AS T1 JOIN treatment_types AS T2 ON T1.treatment_type_code = T2.treatment_type_code", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "列出每个主人的名字、姓氏和他的狗的体型大小。", "predicted": "SELECT Owners.first_name, Owners.last_name, Dogs.size_code FROM Owners JOIN Dogs ON Owners.owner_id = Dogs.owner_id", "gold": "SELECT T1.first_name , T1.last_name , T2.size_code FROM Owners AS T1 JOIN Dogs AS T2 ON T1.owner_id = T2.owner_id", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "每个主人的名字、姓氏和他们的狗的体型大小是什么?", "predicted": "SELECT Owners.first_name, Owners.last_name, Dogs.size_code FROM Owners JOIN Dogs ON Owners.owner_id = Dogs.owner_id", "gold": "SELECT T1.first_name , T1.last_name , T2.size_code FROM Owners AS T1 JOIN Dogs AS T2 ON T1.owner_id = T2.owner_id", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "列出主人的名字和狗的名字对。", "predicted": "SELECT Owners.first_name, Dogs.name FROM Owners JOIN Dogs ON Owners.owner_id = Dogs.owner_id", "gold": "SELECT T1.first_name , T2.name FROM Owners AS T1 JOIN Dogs AS T2 ON T1.owner_id = T2.owner_id", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "每个主人的名字和他们的狗的名字是什么?", "predicted": "SELECT Owners.first_name, Dogs.name FROM Owners JOIN Dogs ON Owners.owner_id = Dogs.owner_id", "gold": "SELECT T1.first_name , T2.name FROM Owners AS T1 JOIN Dogs AS T2 ON T1.owner_id = T2.owner_id", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "列出最稀有品种的狗的名字和它们的治疗日期。", "predicted": "SELECT Dogs.name, Treatments.date_of_treatment FROM Dogs JOIN Treatments ON Dogs.dog_id = Treatments.dog_id GROUP BY Dogs.breed_code ORDER BY Count(*) Asc LIMIT 1", "gold": "SELECT T1.name , T2.date_of_treatment FROM Dogs AS T1 JOIN Treatments AS T2 ON T1.dog_id = T2.dog_id WHERE T1.breed_code = ( SELECT breed_code FROM Dogs GROUP BY breed_code ORDER BY count(*) ASC LIMIT 1 )", "predicted_parse_error": false, "hardness": "extra", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 0}, "where(no OP)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 0}, "group(no Having)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 1}, "group": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 1}, "order": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 4}}}, {"question": "哪种狗最稀有?显示他们的名字和治疗日期。", "predicted": "SELECT Dogs.name, Treatments.date_of_treatment FROM Dogs JOIN Treatments ON Dogs.dog_id = Treatments.dog_id GROUP BY Treatments.dog_id ORDER BY Count(*) Asc LIMIT 1", "gold": "SELECT T1.name , T2.date_of_treatment FROM Dogs AS T1 JOIN Treatments AS T2 ON T1.dog_id = T2.dog_id WHERE T1.breed_code = ( SELECT breed_code FROM Dogs GROUP BY breed_code ORDER BY count(*) ASC LIMIT 1 )", "predicted_parse_error": false, "hardness": "extra", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 0}, "where(no OP)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 0}, "group(no Having)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 1}, "group": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 1}, "order": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 4}}}, {"question": "哪些狗的主人居住在“Virginia”?列出主人的名字和狗的名字。", "predicted": "SELECT Owners.first_name, Dogs.name FROM Owners JOIN Dogs ON Owners.owner_id = Dogs.owner_id WHERE Owners.state = \"Cat\"", "gold": "SELECT T1.first_name , T2.name FROM Owners AS T1 JOIN Dogs AS T2 ON T1.owner_id = T2.owner_id WHERE T1.state = 'Virginia'", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "找出居住在“Virginia”的主人的名字和他们拥有的狗的名字。", "predicted": "SELECT Owners.first_name, Dogs.name FROM Owners JOIN Dogs ON Owners.owner_id = Dogs.owner_id WHERE Owners.state = \"Cat\"", "gold": "SELECT T1.first_name , T2.name FROM Owners AS T1 JOIN Dogs AS T2 ON T1.owner_id = T2.owner_id WHERE T1.state = 'Virginia'", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "接受治疗的狗的住院日期和出院日期是什么?", "predicted": "SELECT Dogs.date_arrived, Dogs.date_departed FROM Dogs JOIN Treatments ON Dogs.dog_id = Treatments.dog_id", "gold": "SELECT DISTINCT T1.date_arrived , T1.date_departed FROM Dogs AS T1 JOIN Treatments AS T2 ON T1.dog_id = T2.dog_id", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "找出接受治疗的狗的住院日期和出院日期。", "predicted": "SELECT Dogs.date_arrived, Dogs.date_departed FROM Dogs JOIN Treatments ON Dogs.dog_id = Treatments.dog_id", "gold": "SELECT DISTINCT T1.date_arrived , T1.date_departed FROM Dogs AS T1 JOIN Treatments AS T2 ON T1.dog_id = T2.dog_id", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "列出拥有年纪最小的狗的主人的姓氏。", "predicted": "SELECT Owners.last_name FROM Owners JOIN Dogs ON Owners.owner_id = Dogs.owner_id ORDER BY Dogs.age Asc LIMIT 1", "gold": "SELECT T1.last_name FROM Owners AS T1 JOIN Dogs AS T2 ON T1.owner_id = T2.owner_id WHERE T2.age = ( SELECT max(age) FROM Dogs )", "predicted_parse_error": false, "hardness": "extra", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 0}, "where(no OP)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 3}}}, {"question": "谁拥有年纪最小的狗?给我他或她的姓氏。", "predicted": "SELECT Owners.last_name FROM Owners JOIN Dogs ON Owners.owner_id = Dogs.owner_id ORDER BY Dogs.age Asc LIMIT 1", "gold": "SELECT T1.last_name FROM Owners AS T1 JOIN Dogs AS T2 ON T1.owner_id = T2.owner_id WHERE T2.age = ( SELECT max(age) FROM Dogs )", "predicted_parse_error": false, "hardness": "extra", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 0}, "where(no OP)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 3}}}, {"question": "列出居住在“Hawaii”州或“Wisconsin”州的专家的电子邮件。", "predicted": "SELECT Professionals.email_address FROM Professionals WHERE Professionals.state = \"Canada\" OR Professionals.state = \"Canada\"", "gold": "SELECT email_address FROM Professionals WHERE state = 'Hawaii' OR state = 'Wisconsin'", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "居住在“Hawaii”州或“Wisconsin”州的专家的电子邮件是什么?", "predicted": "SELECT Professionals.email_address FROM Professionals WHERE Professionals.state = \"Canada\" OR Professionals.state = \"Canada\"", "gold": "SELECT email_address FROM Professionals WHERE state = 'Hawaii' OR state = 'Wisconsin'", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "所有狗的住院日期和出院日期是什么?", "predicted": "SELECT Dogs.date_arrived, Dogs.date_departed FROM Dogs", "gold": "SELECT date_arrived , date_departed FROM Dogs", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "列出所有狗的住院日期和出院日期。", "predicted": "SELECT Dogs.date_arrived, Dogs.date_departed FROM Dogs", "gold": "SELECT date_arrived , date_departed FROM Dogs", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "有多少狗经过治疗?", "predicted": "SELECT Count(DISTINCT Treatments.dog_id) FROM Treatments", "gold": "SELECT count(DISTINCT dog_id) FROM Treatments", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "计算经过治疗的狗的数量。", "predicted": "SELECT Count(DISTINCT Treatments.dog_id) FROM Treatments", "gold": "SELECT count(DISTINCT dog_id) FROM Treatments", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "有多少专家对狗进行过治疗?", "predicted": "SELECT Count(Treatments.professional_id) FROM Treatments", "gold": "SELECT count(DISTINCT professional_id) FROM Treatments", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "找出曾经治疗过狗的专家的数量。", "predicted": "SELECT Count(*) FROM Treatments", "gold": "SELECT count(DISTINCT professional_id) FROM Treatments", "predicted_parse_error": false, "hardness": "easy", "exact": 0, "partial": {"select": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "哪些专家居住在一个包含“West”字的城市?列出他或她的职位,街道,城市和州。", "predicted": "SELECT Professionals.role_code, Professionals.city, Professionals.state, Professionals.state FROM Professionals WHERE Professionals.city LIKE \"%West%\"", "gold": "SELECT role_code , street , city , state FROM professionals WHERE city LIKE '%West%'", "predicted_parse_error": false, "hardness": "medium", "exact": 0, "partial": {"select": {"acc": 0, "rec": 0, "f1": 0, "label_total": 4, "pred_total": 4}, "select(no AGG)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 4, "pred_total": 4}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "找出居住在包含子字符串“West”的城市的专家的职位,街道,城市和州。", "predicted": "SELECT Professionals.role_code, Professionals.city, Professionals.state FROM Professionals WHERE Professionals.city LIKE \"%West%\"", "gold": "SELECT role_code , street , city , state FROM professionals WHERE city LIKE '%West%'", "predicted_parse_error": false, "hardness": "medium", "exact": 0, "partial": {"select": {"acc": 0, "rec": 0, "f1": 0, "label_total": 4, "pred_total": 3}, "select(no AGG)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 4, "pred_total": 3}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "哪些主人居住在名称中包含子字符串“North”的州?列出他的名字、姓氏和电子邮件。", "predicted": "SELECT Owners.first_name, Owners.last_name, Owners.email_address FROM Owners WHERE Owners.state LIKE \"%Ke%\"", "gold": "SELECT first_name , last_name , email_address FROM Owners WHERE state LIKE '%North%'", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "返回居住在名称包含子字符串“North”的州的所有者的姓氏、名字和电子邮件。", "predicted": "SELECT Owners.first_name, Owners.last_name, Owners.email_address FROM Owners WHERE Owners.state LIKE \"%Ke%\"", "gold": "SELECT first_name , last_name , email_address FROM Owners WHERE state LIKE '%North%'", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "有多少狗的年龄低于平均年龄?", "predicted": "SELECT Count(*) FROM Dogs WHERE Dogs.age < (SELECT Avg(Dogs.age) FROM Dogs)", "gold": "SELECT count(*) FROM Dogs WHERE age < ( SELECT avg(age) FROM Dogs )", "predicted_parse_error": false, "hardness": "hard", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "计算年龄低于平均的狗的数量。", "predicted": "SELECT Count(*) FROM Dogs WHERE Dogs.age < (SELECT Avg(Dogs.age) FROM Dogs)", "gold": "SELECT count(*) FROM Dogs WHERE age < ( SELECT avg(age) FROM Dogs )", "predicted_parse_error": false, "hardness": "hard", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "最近的治疗费用是多少?", "predicted": "SELECT Treatments.cost_of_treatment FROM Treatments ORDER BY Treatments.date_of_treatment Desc LIMIT 1", "gold": "SELECT cost_of_treatment FROM Treatments ORDER BY date_of_treatment DESC LIMIT 1", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}}}, {"question": "给我看看最近执行的治疗费用。", "predicted": "SELECT Treatments.cost_of_treatment FROM Treatments ORDER BY Treatments.date_of_treatment Desc LIMIT 1", "gold": "SELECT cost_of_treatment FROM Treatments ORDER BY date_of_treatment DESC LIMIT 1", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}}}, {"question": "有多少狗没有经过任何治疗?", "predicted": "SELECT Count(*) FROM Dogs WHERE Dogs.dog_id NOT IN (SELECT Treatments.dog_id FROM Treatments)", "gold": "SELECT count(*) FROM Dogs WHERE dog_id NOT IN ( SELECT dog_id FROM Treatments )", "predicted_parse_error": false, "hardness": "extra", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}}}, {"question": "告诉我没有接受过治疗的狗的数量。", "predicted": "SELECT Count(*) FROM Dogs WHERE Dogs.dog_id NOT IN (SELECT Treatments.dog_id FROM Treatments)", "gold": "select count(*) from dogs where dog_id not in ( select dog_id from treatments )", "predicted_parse_error": false, "hardness": "extra", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}}}, {"question": "有多少主人暂时没有狗?", "predicted": "SELECT Count(*) FROM Owners WHERE Owners.owner_id NOT IN (SELECT Dogs.owner_id FROM Dogs)", "gold": "SELECT count(*) FROM Owners WHERE owner_id NOT IN ( SELECT owner_id FROM Dogs )", "predicted_parse_error": false, "hardness": "extra", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}}}, {"question": "有多少主人现在不拥有任何狗。", "predicted": "SELECT Count(*) FROM Owners WHERE Owners.owner_id NOT IN (SELECT Dogs.owner_id FROM Dogs)", "gold": "SELECT count(*) FROM Owners WHERE owner_id NOT IN ( SELECT owner_id FROM Dogs )", "predicted_parse_error": false, "hardness": "extra", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}}}, {"question": "有多少专家没有对狗进行任何治疗?", "predicted": "SELECT Count(*) FROM Professionals WHERE Professionals.professional_id NOT IN (SELECT Treatments.professional_id FROM Treatments)", "gold": "SELECT count(*) FROM Professionals WHERE professional_id NOT IN ( SELECT professional_id FROM Treatments )", "predicted_parse_error": false, "hardness": "extra", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}}}, {"question": "找出没有治疗过狗的专家的数量。", "predicted": "SELECT Count(*) FROM Professionals WHERE Professionals.professional_id NOT IN (SELECT Treatments.professional_id FROM Treatments)", "gold": "SELECT count(*) FROM Professionals WHERE professional_id NOT IN ( SELECT professional_id FROM Treatments )", "predicted_parse_error": false, "hardness": "extra", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}}}, {"question": "列出被遗弃的狗的名字、年龄和体重。1代表是,0代表不。", "predicted": "SELECT Dogs.name, Dogs.age, Dogs.weight FROM Dogs WHERE Dogs.abandoned_yn = 1", "gold": "SELECT name , age , weight FROM Dogs WHERE abandoned_yn = 1", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "被遗弃的狗的名字、年龄和体重是多少?注意在表中1表示是,0表示不。", "predicted": "SELECT Dogs.name, Dogs.age, Dogs.weight FROM Dogs WHERE Dogs.abandoned_yn = 1", "gold": "SELECT name , age , weight FROM Dogs WHERE abandoned_yn = 1", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "所有狗的平均年龄是多少?", "predicted": "SELECT Avg(Dogs.age) FROM Dogs", "gold": "SELECT avg(age) FROM Dogs", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "计算所有狗的平均年龄。", "predicted": "SELECT Avg(Dogs.age) FROM Dogs", "gold": "SELECT avg(age) FROM Dogs", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "最老的狗的年龄是多少?", "predicted": "SELECT Dogs.age FROM Dogs ORDER BY Dogs.age Desc LIMIT 1", "gold": "SELECT max(age) FROM Dogs", "predicted_parse_error": false, "hardness": "easy", "exact": 0, "partial": {"select": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 3}}}, {"question": "告诉我最老的狗的年龄。", "predicted": "SELECT Dogs.age FROM Dogs ORDER BY Dogs.age Desc LIMIT 1", "gold": "SELECT max(age) FROM Dogs", "predicted_parse_error": false, "hardness": "easy", "exact": 0, "partial": {"select": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 3}}}, {"question": "每个收费类型要多少钱?列出费用类型及其金额。", "predicted": "SELECT Charges.charge_type, Sum(Charges.charge_amount) FROM Charges GROUP BY Charges.charge_type", "gold": "SELECT charge_type , charge_amount FROM Charges", "predicted_parse_error": false, "hardness": "medium", "exact": 0, "partial": {"select": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 1}, "group": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 1}}}, {"question": "列出每个费用类型及其金额。", "predicted": "SELECT Charges.charge_type, Sum(Charges.charge_amount) FROM Charges GROUP BY Charges.charge_type", "gold": "SELECT charge_type , charge_amount FROM Charges", "predicted_parse_error": false, "hardness": "medium", "exact": 0, "partial": {"select": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 1}, "group": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 1}}}, {"question": "最贵的收费类型要多少钱?", "predicted": "SELECT Charges.charge_amount FROM Charges ORDER BY Charges.charge_type Desc LIMIT 1", "gold": "SELECT max(charge_amount) FROM Charges", "predicted_parse_error": false, "hardness": "easy", "exact": 0, "partial": {"select": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 3}}}, {"question": "最贵的收费类型的金额是多少?", "predicted": "SELECT Charges.charge_amount FROM Charges ORDER BY Charges.charge_amount Desc LIMIT 1", "gold": "SELECT max(charge_amount) FROM Charges", "predicted_parse_error": false, "hardness": "easy", "exact": 0, "partial": {"select": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 3}}}, {"question": "列出所有专家的电子邮件、手机号码和家庭电话。", "predicted": "SELECT Professionals.email_address, Professionals.cell_number, Professionals.home_phone FROM Professionals", "gold": "SELECT email_address , cell_number , home_phone FROM professionals", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "每个专家的电子邮件、手机号码和家庭电话是什么?", "predicted": "SELECT Professionals.email_address, Professionals.cell_number, Professionals.home_phone FROM Professionals", "gold": "SELECT email_address , cell_number , home_phone FROM professionals", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "所有品种类型和体型大小的组合是什么?", "predicted": "SELECT Breeds.breed_name, Dogs.size_code FROM Breeds JOIN Dogs ON Breeds.breed_code = Dogs.breed_code", "gold": "SELECT DISTINCT breed_code , size_code FROM dogs", "predicted_parse_error": false, "hardness": "medium", "exact": 0, "partial": {"select": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "找出不同的狗品种类型和体型的组合。", "predicted": "SELECT DISTINCT Breeds.breed_name, Dogs.size_code FROM Breeds JOIN Dogs ON Breeds.breed_code = Dogs.breed_code", "gold": "SELECT DISTINCT breed_code , size_code FROM dogs", "predicted_parse_error": false, "hardness": "medium", "exact": 0, "partial": {"select": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "列出所有专家的名字以及他们已经做治疗的描述。", "predicted": "SELECT Professionals.first_name, Treatment_Types.treatment_type_description FROM Treatment_Types JOIN Professionals JOIN Treatments ON Treatment_Types.treatment_type_code = Treatments.treatment_type_code AND Treatments.professional_id = Professionals.professional_id", "gold": "SELECT DISTINCT T1.first_name , T3.treatment_type_description FROM professionals AS T1 JOIN Treatments AS T2 ON T1.professional_id = T2.professional_id JOIN Treatment_types AS T3 ON T2.treatment_type_code = T3.treatment_type_code", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "每个专家的名字和所实施的治疗的描述是什么?", "predicted": "SELECT Professionals.first_name, Treatment_Types.treatment_type_description FROM Treatment_Types JOIN Professionals JOIN Treatments ON Treatment_Types.treatment_type_code = Treatments.treatment_type_code AND Treatments.professional_id = Professionals.professional_id", "gold": "SELECT DISTINCT T1.first_name , T3.treatment_type_description FROM professionals AS T1 JOIN Treatments AS T2 ON T1.professional_id = T2.professional_id JOIN Treatment_types AS T3 ON T2.treatment_type_code = T3.treatment_type_code", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "有多少歌手?", "predicted": "SELECT Count(*) FROM singer", "gold": "SELECT count(*) FROM singer", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "歌手的总数是多少?", "predicted": "SELECT Count(*) FROM singer", "gold": "SELECT count(*) FROM singer", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "按净资产升序排列歌手姓名。", "predicted": "SELECT singer.Name FROM singer ORDER BY singer.Net_Worth_Millions Asc", "gold": "SELECT Name FROM singer ORDER BY Net_Worth_Millions ASC", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "按净资产升序排序的歌手的名字是什么?", "predicted": "SELECT singer.Name FROM singer ORDER BY singer.Net_Worth_Millions Asc", "gold": "SELECT Name FROM singer ORDER BY Net_Worth_Millions ASC", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "歌手的出生年份和国籍是什么?", "predicted": "SELECT singer.Birth_Year, singer.Citizenship FROM singer", "gold": "SELECT Birth_Year , Citizenship FROM singer", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "歌手的出生年份和国籍是什么?", "predicted": "SELECT singer.Birth_Year, singer.Citizenship FROM singer", "gold": "SELECT Birth_Year , Citizenship FROM singer", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "列出国籍不是“France”的歌手的名字。", "predicted": "SELECT singer.Name FROM singer WHERE singer.Citizenship != \"France\"", "gold": "SELECT Name FROM singer WHERE Citizenship != \"France\"", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "那些不是“France”公民的歌手的名字是什么?", "predicted": "SELECT singer.Name FROM singer WHERE singer.Citizenship != \"France\"", "gold": "SELECT Name FROM singer WHERE Citizenship != \"France\"", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "显示出生年份是1948年或1949年的歌手的名字", "predicted": "SELECT singer.Name FROM singer WHERE singer.Birth_Year = 1948 OR singer.Birth_Year = 1949", "gold": "SELECT Name FROM singer WHERE Birth_Year = 1948 OR Birth_Year = 1949", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "1948年或1949年出生的歌手的名字是什么?", "predicted": "SELECT singer.Name FROM singer WHERE singer.Birth_Year = 180 OR singer.Birth_Year = 1949", "gold": "SELECT Name FROM singer WHERE Birth_Year = 1948 OR Birth_Year = 1949", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "拥有最大净资产的歌手叫什么名字?", "predicted": "SELECT singer.Name FROM singer GROUP BY singer.Name ORDER BY Sum(singer.Net_Worth_Millions) Desc LIMIT 1", "gold": "SELECT Name FROM singer ORDER BY Net_Worth_Millions DESC LIMIT 1", "predicted_parse_error": false, "hardness": "medium", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 1}, "group": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 1}, "order": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 0, "rec": 0, "f1": 0, "label_total": 3, "pred_total": 4}}}, {"question": "最富裕的歌手叫什么名字?", "predicted": "SELECT singer.Name FROM singer ORDER BY singer.Net_Worth_Millions Desc LIMIT 1", "gold": "SELECT Name FROM singer ORDER BY Net_Worth_Millions DESC LIMIT 1", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}}}, {"question": "显示歌手的不同国籍和每个国籍的歌手人数。", "predicted": "SELECT singer.Citizenship, Count(*) FROM singer GROUP BY singer.Citizenship", "gold": "SELECT Citizenship , COUNT(*) FROM singer GROUP BY Citizenship", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "对于每一个国籍,有多少歌手来自那个国家?", "predicted": "SELECT singer.Citizenship, Count(*) FROM singer GROUP BY singer.Citizenship", "gold": "SELECT Citizenship , COUNT(*) FROM singer GROUP BY Citizenship", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "请显示歌手最常见的国籍。", "predicted": "SELECT singer.Citizenship FROM singer GROUP BY singer.Citizenship ORDER BY Count(*) Desc LIMIT 1", "gold": "SELECT Citizenship FROM singer GROUP BY Citizenship ORDER BY COUNT(*) DESC LIMIT 1", "predicted_parse_error": false, "hardness": "hard", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 4, "pred_total": 4}}}, {"question": "歌手最常见的国籍是什么?", "predicted": "SELECT singer.Citizenship FROM singer GROUP BY singer.Citizenship ORDER BY Count(*) Desc LIMIT 1", "gold": "select citizenship from singer group by citizenship order by count(*) desc limit 1", "predicted_parse_error": false, "hardness": "hard", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 4, "pred_total": 4}}}, {"question": "显示不同国籍以及每个国籍的歌手的最大净资产。", "predicted": "SELECT singer.Citizenship, Sum(singer.Net_Worth_Millions) FROM singer GROUP BY singer.Citizenship", "gold": "SELECT Citizenship , max(Net_Worth_Millions) FROM singer GROUP BY Citizenship", "predicted_parse_error": false, "hardness": "medium", "exact": 0, "partial": {"select": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "对于每个国籍来说,最大的净资产是多少?", "predicted": "SELECT singer.Citizenship, Max(singer.Net_Worth_Millions) FROM singer GROUP BY singer.Citizenship", "gold": "SELECT Citizenship , max(Net_Worth_Millions) FROM singer GROUP BY Citizenship", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "显示歌曲名和歌手的名字。", "predicted": "SELECT song.Title, singer.Name FROM singer JOIN song ON singer.Singer_ID = song.Singer_ID", "gold": "SELECT T2.Title , T1.Name FROM singer AS T1 JOIN song AS T2 ON T1.Singer_ID = T2.Singer_ID", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "歌曲名和歌手名字是什么?", "predicted": "SELECT song.Title, singer.Name FROM singer JOIN song ON singer.Singer_ID = song.Singer_ID", "gold": "SELECT T2.Title , T1.Name FROM singer AS T1 JOIN song AS T2 ON T1.Singer_ID = T2.Singer_ID", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "显示销量超过300000首的不同歌手的名字。", "predicted": "SELECT DISTINCT singer.Name FROM singer JOIN song ON singer.Singer_ID = song.Singer_ID WHERE song.Sales > 30", "gold": "SELECT DISTINCT T1.Name FROM singer AS T1 JOIN song AS T2 ON T1.Singer_ID = T2.Singer_ID WHERE T2.Sales > 300000", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "销售超过300000的歌手的不同的名字是什么?", "predicted": "SELECT DISTINCT singer.Name FROM singer JOIN song ON singer.Singer_ID = song.Singer_ID WHERE song.Sales > 30", "gold": "SELECT DISTINCT T1.Name FROM singer AS T1 JOIN song AS T2 ON T1.Singer_ID = T2.Singer_ID WHERE T2.Sales > 300000", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "显示有不止一首歌曲的歌手的名字。", "predicted": "SELECT singer.Name FROM singer JOIN song ON singer.Singer_ID = song.Singer_ID GROUP BY song.Singer_ID HAVING Count(*) > 1", "gold": "SELECT T1.Name FROM singer AS T1 JOIN song AS T2 ON T1.Singer_ID = T2.Singer_ID GROUP BY T1.Name HAVING COUNT(*) > 1", "predicted_parse_error": false, "hardness": "medium", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "group": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "那些有不止一首歌的歌手的名字是什么?", "predicted": "SELECT singer.Name FROM singer JOIN song ON singer.Singer_ID = song.Singer_ID GROUP BY song.Singer_ID HAVING Count(*) > 1", "gold": "SELECT T1.Name FROM singer AS T1 JOIN song AS T2 ON T1.Singer_ID = T2.Singer_ID GROUP BY T1.Name HAVING COUNT(*) > 1", "predicted_parse_error": false, "hardness": "medium", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "group": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "显示歌手的名字和他们的歌曲的总销售。", "predicted": "SELECT singer.Name, Sum(song.Sales) FROM singer JOIN song ON singer.Singer_ID = song.Singer_ID GROUP BY singer.Name", "gold": "SELECT T1.Name , sum(T2.Sales) FROM singer AS T1 JOIN song AS T2 ON T1.Singer_ID = T2.Singer_ID GROUP BY T1.Name", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "对于每个歌手的名字,他们的歌曲的总销量是多少?", "predicted": "SELECT Sum(song.Sales), singer.Name FROM singer JOIN song ON singer.Singer_ID = song.Singer_ID GROUP BY singer.Name", "gold": "SELECT T1.Name , sum(T2.Sales) FROM singer AS T1 JOIN song AS T2 ON T1.Singer_ID = T2.Singer_ID GROUP BY T1.Name", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "列出没有歌曲的歌手的名字。", "predicted": "SELECT singer.Name FROM singer WHERE singer.Singer_ID NOT IN (SELECT song.Singer_ID FROM song)", "gold": "SELECT Name FROM singer WHERE Singer_ID NOT IN (SELECT Singer_ID FROM song)", "predicted_parse_error": false, "hardness": "hard", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}}}, {"question": "没有任何歌曲的歌手的名字是什么?", "predicted": "SELECT singer.Name FROM singer WHERE singer.Singer_ID NOT IN (SELECT song.Singer_ID FROM song)", "gold": "SELECT Name FROM singer WHERE Singer_ID NOT IN (SELECT Singer_ID FROM song)", "predicted_parse_error": false, "hardness": "hard", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}}}, {"question": "显示1945年前和1955年后出生的歌手所共有的国籍。", "predicted": "SELECT singer.Citizenship FROM singer WHERE singer.Birth_Year < 1945 INTERSECT SELECT singer.Citizenship FROM singer WHERE singer.Birth_Year > 1955", "gold": "SELECT Citizenship FROM singer WHERE Birth_Year < 1945 INTERSECT SELECT Citizenship FROM singer WHERE Birth_Year > 1955", "predicted_parse_error": false, "hardness": "hard", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "在1945年之前和1955年之后出生的歌手所共有的国籍是什么?", "predicted": "SELECT singer.Citizenship FROM singer WHERE singer.Birth_Year < 1945 INTERSECT SELECT singer.Citizenship FROM singer WHERE singer.Birth_Year > 1955", "gold": "SELECT Citizenship FROM singer WHERE Birth_Year < 1945 INTERSECT SELECT Citizenship FROM singer WHERE Birth_Year > 1955", "predicted_parse_error": false, "hardness": "hard", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "一共有多少个可用功能?", "predicted": "SELECT Count(*) FROM Other_Available_Features", "gold": "SELECT count(*) FROM Other_Available_Features", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "“AirCon”功能的功能类型名称是什么?", "predicted": "SELECT Ref_Feature_Types.feature_type_name FROM Ref_Feature_Types JOIN Other_Available_Features ON Ref_Feature_Types.feature_type_code = Other_Available_Features.feature_type_code WHERE Other_Available_Features.feature_name = \"Airing\"", "gold": "SELECT T2.feature_type_name FROM Other_Available_Features AS T1 JOIN Ref_Feature_Types AS T2 ON T1.feature_type_code = T2.feature_type_code WHERE T1.feature_name = \"AirCon\"", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "显示属于该代码的房产的房产类型描述。", "predicted": "SELECT Ref_Property_Types.property_type_description FROM Ref_Property_Types", "gold": "SELECT T2.property_type_description FROM Properties AS T1 JOIN Ref_Property_Types AS T2 ON T1.property_type_code = T2.property_type_code GROUP BY T1.property_type_code", "predicted_parse_error": false, "hardness": "medium", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 0}, "group": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 0}}}, {"question": "超过1个房间的“house”或“apartment”的房产名称是什么?", "predicted": "SELECT Properties.property_name FROM Properties WHERE Properties.room_count = \"house\" AND Properties.property_type_code = \"Paper\"", "gold": "SELECT property_name FROM Properties WHERE property_type_code = \"House\" UNION SELECT property_name FROM Properties WHERE property_type_code = \"Apartment\" AND room_count > 1", "predicted_parse_error": false, "hardness": "hard", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 2}, "where(no OP)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 2}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 0}, "IUEN": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 0}, "keywords": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 1}}}], "total_scores": {"easy": {"count": 248, "partial": {"select": {"acc": 0.9395161290322581, "rec": 0.9395161290322581, "f1": 0.9395161290322581, "acc_count": 248, "rec_count": 248}, "select(no AGG)": {"acc": 0.967741935483871, "rec": 0.967741935483871, "f1": 0.967741935483871, "acc_count": 248, "rec_count": 248}, "where": {"acc": 0.9174311926605505, "rec": 0.9259259259259259, "f1": 0.9216589861751153, "acc_count": 109, "rec_count": 108}, "where(no OP)": {"acc": 0.944954128440367, "rec": 0.9537037037037037, "f1": 0.9493087557603688, "acc_count": 109, "rec_count": 108}, "group(no Having)": {"acc": 0.9523809523809523, "rec": 1.0, "f1": 0.975609756097561, "acc_count": 21, "rec_count": 20}, "group": {"acc": 0.9047619047619048, "rec": 0.95, "f1": 0.9268292682926829, "acc_count": 21, "rec_count": 20}, "order": {"acc": 0.7307692307692307, "rec": 0.8636363636363636, "f1": 0.7916666666666666, "acc_count": 26, "rec_count": 22}, "and/or": {"acc": 1.0, "rec": 1.0, "f1": 1.0, "acc_count": 248, "rec_count": 248}, "IUEN": {"acc": 0.0, "rec": 0, "f1": 1, "acc_count": 3, "rec_count": 0}, "keywords": {"acc": 0.9290322580645162, "rec": 0.96, "f1": 0.9442622950819672, "acc_count": 155, "rec_count": 150}}, "exact": 0.8709677419354839, "exec": 0}, "medium": {"count": 446, "partial": {"select": {"acc": 0.8699551569506726, "rec": 0.8699551569506726, "f1": 0.8699551569506726, "acc_count": 446, "rec_count": 446}, "select(no AGG)": {"acc": 0.9013452914798207, "rec": 0.9013452914798207, "f1": 0.9013452914798207, "acc_count": 446, "rec_count": 446}, "where": {"acc": 0.796875, "rec": 0.8406593406593407, "f1": 0.8181818181818181, "acc_count": 192, "rec_count": 182}, "where(no OP)": {"acc": 0.8072916666666666, "rec": 0.8516483516483516, "f1": 0.8288770053475936, "acc_count": 192, "rec_count": 182}, "group(no Having)": {"acc": 0.8650793650793651, "rec": 0.8195488721804511, "f1": 0.8416988416988417, "acc_count": 126, "rec_count": 133}, "group": {"acc": 0.7619047619047619, "rec": 0.7218045112781954, "f1": 0.7413127413127414, "acc_count": 126, "rec_count": 133}, "order": {"acc": 0.8227848101265823, "rec": 0.8666666666666667, "f1": 0.8441558441558442, "acc_count": 79, "rec_count": 75}, "and/or": {"acc": 0.9752808988764045, "rec": 0.9977011494252873, "f1": 0.9863636363636363, "acc_count": 445, "rec_count": 435}, "IUEN": {"acc": 0.0, "rec": 0, "f1": 1, "acc_count": 1, "rec_count": 0}, "keywords": {"acc": 0.9281914893617021, "rec": 0.9232804232804233, "f1": 0.9257294429708222, "acc_count": 376, "rec_count": 378}}, "exact": 0.7107623318385651, "exec": 0}, "hard": {"count": 174, "partial": {"select": {"acc": 0.9425287356321839, "rec": 0.9425287356321839, "f1": 0.9425287356321839, "acc_count": 174, "rec_count": 174}, "select(no AGG)": {"acc": 0.9425287356321839, "rec": 0.9425287356321839, "f1": 0.9425287356321839, "acc_count": 174, "rec_count": 174}, "where": {"acc": 0.6451612903225806, "rec": 0.6382978723404256, "f1": 0.641711229946524, "acc_count": 93, "rec_count": 94}, "where(no OP)": {"acc": 0.7419354838709677, "rec": 0.7340425531914894, "f1": 0.7379679144385027, "acc_count": 93, "rec_count": 94}, "group(no Having)": {"acc": 0.7857142857142857, "rec": 0.8461538461538461, "f1": 0.8148148148148148, "acc_count": 42, "rec_count": 39}, "group": {"acc": 0.7857142857142857, "rec": 0.8461538461538461, "f1": 0.8148148148148148, "acc_count": 42, "rec_count": 39}, "order": {"acc": 0.8727272727272727, "rec": 0.8727272727272727, "f1": 0.8727272727272727, "acc_count": 55, "rec_count": 55}, "and/or": {"acc": 1.0, "rec": 0.9827586206896551, "f1": 0.9913043478260869, "acc_count": 171, "rec_count": 174}, "IUEN": {"acc": 0.5555555555555556, "rec": 0.47619047619047616, "f1": 0.5128205128205129, "acc_count": 36, "rec_count": 42}, "keywords": {"acc": 0.8488372093023255, "rec": 0.8390804597701149, "f1": 0.8439306358381502, "acc_count": 172, "rec_count": 174}}, "exact": 0.5402298850574713, "exec": 0}, "extra": {"count": 166, "partial": {"select": {"acc": 0.8614457831325302, "rec": 0.8614457831325302, "f1": 0.8614457831325302, "acc_count": 166, "rec_count": 166}, "select(no AGG)": {"acc": 0.8855421686746988, "rec": 0.8855421686746988, "f1": 0.8855421686746989, "acc_count": 166, "rec_count": 166}, "where": {"acc": 0.5227272727272727, "rec": 0.48936170212765956, "f1": 0.5054945054945055, "acc_count": 88, "rec_count": 94}, "where(no OP)": {"acc": 0.5909090909090909, "rec": 0.5531914893617021, "f1": 0.5714285714285714, "acc_count": 88, "rec_count": 94}, "group(no Having)": {"acc": 0.7142857142857143, "rec": 0.6962025316455697, "f1": 0.7051282051282052, "acc_count": 77, "rec_count": 79}, "group": {"acc": 0.7142857142857143, "rec": 0.6962025316455697, "f1": 0.7051282051282052, "acc_count": 77, "rec_count": 79}, "order": {"acc": 0.8481012658227848, "rec": 0.8481012658227848, "f1": 0.8481012658227848, "acc_count": 79, "rec_count": 79}, "and/or": {"acc": 0.8975903614457831, "rec": 0.9867549668874173, "f1": 0.9400630914826498, "acc_count": 166, "rec_count": 151}, "IUEN": {"acc": 0.5, "rec": 0.47058823529411764, "f1": 0.48484848484848486, "acc_count": 32, "rec_count": 34}, "keywords": {"acc": 0.8012048192771084, "rec": 0.8012048192771084, "f1": 0.8012048192771084, "acc_count": 166, "rec_count": 166}}, "exact": 0.42168674698795183, "exec": 0}, "all": {"count": 1034, "partial": {"select": {"acc": 0.8974854932301741, "rec": 0.8974854932301741, "f1": 0.8974854932301741, "acc_count": 1034, "rec_count": 1034}, "select(no AGG)": {"acc": 0.9216634429400387, "rec": 0.9216634429400387, "f1": 0.9216634429400387, "acc_count": 1034, "rec_count": 1034}, "where": {"acc": 0.7448132780082988, "rec": 0.7510460251046025, "f1": 0.7479166666666667, "acc_count": 482, "rec_count": 478}, "where(no OP)": {"acc": 0.7863070539419087, "rec": 0.7928870292887029, "f1": 0.7895833333333334, "acc_count": 482, "rec_count": 478}, "group(no Having)": {"acc": 0.8157894736842105, "rec": 0.8007380073800738, "f1": 0.808193668528864, "acc_count": 266, "rec_count": 271}, "group": {"acc": 0.7631578947368421, "rec": 0.7490774907749077, "f1": 0.7560521415270018, "acc_count": 266, "rec_count": 271}, "order": {"acc": 0.8326359832635983, "rec": 0.8614718614718615, "f1": 0.8468085106382979, "acc_count": 239, "rec_count": 231}, "and/or": {"acc": 0.9728155339805825, "rec": 0.9940476190476191, "f1": 0.9833169774288517, "acc_count": 1030, "rec_count": 1008}, "IUEN": {"acc": 0.5, "rec": 0.47368421052631576, "f1": 0.4864864864864865, "acc_count": 72, "rec_count": 76}, "keywords": {"acc": 0.8883774453394706, "rec": 0.8894009216589862, "f1": 0.8888888888888888, "acc_count": 869, "rec_count": 868}}, "exact": 0.6740812379110251, "exec": 0}}}