{"per_item": [{"question": "Combien de chanteurs avons-nous?", "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": "Quel est le nombre total de chanteurs?", "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": "Montrez le nom, le pays, l'âge de tous les chanteurs classés par âge du plus âgé au plus jeune.", "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": "Quels sont les noms, pays et âges de chaque chanteur par ordre décroissant d'âge?", "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": "Quel est l'âge moyen, minimum et maximum de tous les chanteurs venant de «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": "Quel est l'âge moyen, minimum et maximum de tous les chanteurs de «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": "Montrez le nom et l'année de sortie de la chanson du plus jeune chanteur.", "predicted": "SELECT singer.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": 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": "Quels sont les noms et les années de sortie de toutes les chansons du plus jeune chanteur?", "predicted": "SELECT singer.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": 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": "Quels sont les pays d'origine des chanteurs de plus de 20 ans?", "predicted": "SELECT 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": "Quels pays ont des chanteurs de plus de 20 ans ?", "predicted": "SELECT 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": "Montrez tous les pays et le nombre de chanteurs dans chaque pays.", "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": "Combien de chanteurs chaque pays ont ?", "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": "Listez tous les noms de chansons des chanteurs au-dessus de l'âge moyen.", "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": "Quels sont les noms de chansons des chanteurs plus âgés que la moyenne?", "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": "Affichez l'emplacement et le nom de tous les stades d'une capacité comprise entre 5 000 et 10 000.", "predicted": "SELECT stadium.Location, stadium.Name FROM stadium WHERE stadium.Capacity BETWEEN 100000 AND 100000", "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": "Quels sont les emplacements et les noms de tous les stades d'une capacité comprise entre 5 000 et 10 000?", "predicted": "SELECT stadium.Location, stadium.Name FROM stadium WHERE stadium.Capacity BETWEEN 100000 AND 100000", "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": "Quelle est la capacité maximale et la moyenne de tous les stades?", "predicted": "SELECT Max(stadium.Capacity), Avg(stadium.Average) 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": "Quelle est la capacité moyenne et maximale de tous les stades?", "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": "Quel est le nom et la capacité du stade avec la fréquentation moyenne la plus élevée?", "predicted": "SELECT stadium.Name, stadium.Capacity FROM stadium GROUP BY stadium.Average ORDER BY Avg(stadium.Average) Desc LIMIT 1", "gold": "SELECT name , capacity FROM stadium ORDER BY average DESC 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": 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": "Quel est le nom du stade avec la fréquentation moyenne la plus élevée, et quelle est sa capacité ?", "predicted": "SELECT stadium.Name, stadium.Capacity FROM stadium GROUP BY stadium.Name ORDER BY Avg(stadium.Average) Desc LIMIT 1", "gold": "SELECT name , capacity FROM stadium ORDER BY average DESC 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": 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": "Combien de concerts y a-t-il en 2014 ou 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": "Combien de concerts ont eu lieu en 2014 ou 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": "Affichez le nom du stade et le nombre de concerts dans chaque stade.", "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": "Pour chaque stade, combien de concerts y ont-ils?", "predicted": "SELECT stadium.Location, 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": 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": "Affichez le nom et la capacité du stade où ont eu lieu le plus de concerts en 2014 ou après.", "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": "Quel est le nom et la capacité du stade où ont eu lieu le plus de concerts après 2013 ?", "predicted": "SELECT stadium.Name, stadium.Capacity FROM stadium JOIN concert ON stadium.Stadium_ID = concert.Stadium_ID WHERE concert.Year > 300 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": "Quelle année a le plus de concerts?", "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": "Quelle est l'année qui a eu le plus de concerts?", "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": "Affichez les noms des stades sans concert.", "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": "Quels sont les noms des stades sans concert?", "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": "Montrez les pays d'où viennent un chanteur de plus de 40 ans et un chanteur de moins de 30 ans.", "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": "Affichez les noms de tous les stades à l'exception des stades ayant un concert en 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": "Quels sont les noms de tous les stades qui n'ont pas eu de concert en 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": "Montrez le nom et le thème de tous les concerts et le nombre de chanteurs dans chaque concert.", "predicted": "SELECT concert.concert_Name, concert.Theme, Count(*) FROM concert JOIN singer_in_concert ON concert.concert_ID = singer_in_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": 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": "Quels sont le nom, le thème et le nombre de chanteurs de chaque concert?", "predicted": "SELECT concert.concert_Name, concert.Theme, Count(*) FROM concert JOIN singer_in_concert ON concert.concert_ID = singer_in_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": 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": "Listez les noms des chanteurs et le nombre de concerts de chaque chanteur.", "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": "Quels sont les noms des chanteurs et le nombre de concerts de chaque personne?", "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": "Listez tous les noms de chanteurs dans les concerts de l'année 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": "Quels sont les noms des chanteurs qui int chanté dans un concert en 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": "Quel est le nom et la nation du chanteur qui a une chanson avec le mot «Hey» dans son titre ?", "predicted": "SELECT singer.Name, singer.Country FROM singer WHERE singer.Song_Name LIKE \"%He%\"", "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": "Quel est le nom et le pays d'origine de chaque chanteur qui a une chanson avec le mot «Hey» dans son titre?", "predicted": "SELECT singer.Name, singer.Country FROM singer WHERE singer.Song_Name LIKE \"%He%\"", "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": "Trouvez le nom et l'emplacement des stades qui ont eu les concerts en 2014 et en 2015.", "predicted": "SELECT stadium.Name, stadium.Location FROM stadium JOIN concert ON stadium.Stadium_ID = concert.Stadium_ID WHERE concert.Year = 2014 INTERSECT SELECT stadium.Name, stadium.Location FROM stadium JOIN concert ON stadium.Stadium_ID = concert.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": "Quels sont les noms et les emplacements des stades qui ont eu des concerts en 2014 et 2015?", "predicted": "SELECT stadium.Name, stadium.Location FROM stadium JOIN concert ON stadium.Stadium_ID = concert.Stadium_ID WHERE concert.Year = 2014", "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": 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": 0}, "keywords": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 1}}}, {"question": "Trouvez le nombre de concerts qui ont eu lieu dans le stade avec la plus grande capacité.", "predicted": "SELECT Count(*) FROM stadium JOIN concert ON stadium.Stadium_ID = concert.Stadium_ID 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": "Quel est le nombre de concerts qui ont eu lieu dans le stade avec la plus grande capacité?", "predicted": "SELECT Count(*) FROM stadium JOIN concert ON stadium.Stadium_ID = concert.Stadium_ID 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": "Trouvez le nombre d'animaux dont le poids est supérieur à 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": "Combien d'animaux ont un poids supérieur à 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": "Trouvez le poids du plus jeune «dog».", "predicted": "SELECT Pets.weight FROM Pets WHERE Pets.PetType = \"male\" AND Pets.pet_age = (SELECT Min(Pets.pet_age) FROM Pets WHERE Pets.PetType = \"Cat\")", "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": "Combien pèse le plus jeune «dog» ?", "predicted": "SELECT Pets.weight FROM Pets WHERE Pets.PetType = \"male\" 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": "Trouvez le poids maximum de chaque type d'animal. Listez le poids maximum et le type d'animal.", "predicted": "SELECT Pets.weight, Max(Pets.weight), Pets.PetType FROM Pets GROUP BY Pets.PetType", "gold": "SELECT max(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": 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": 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": "Listez le poids maximum et le type de chaque type d'animal.", "predicted": "SELECT Pets.weight, Max(Pets.weight), Pets.PetType FROM Pets GROUP BY Pets.PetType", "gold": "SELECT max(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": 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": 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": "Trouvez le nombre d'animaux appartenant à des étudiants âgés de plus de 20 ans.", "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": "Combien d'animaux appartiennent à des étudiants âgés de plus de 20 ans?", "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": "Trouvez le nombre de «dog» de compagnie élevés par des étudiantes (avec le sexe «F»).", "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 = \"F\"", "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": "Combien de «dog» de compagnie sont élevés par des étudiantes?", "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": "Trouvez le nombre de types d'animaux différents.", "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": "Combien de types d'animaux différents existe-t-il?", "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": "Trouvez le prénom des étudiants qui ont un «cat » ou un «dog» de compagnie.", "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 = \"Milk\" OR 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": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "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": "Quels sont les prénoms de chaque étudiant qui élève un «cat» ou un «dog » comme animal de compagnie ?", "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 = \"Milk\" OR 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": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "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": "Trouvez le prénom des étudiants qui ont à la fois un «cat» et un «dog» de compagnie .", "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 = \"Milk\" INTERSECT SELECT Student.Fname FROM Student JOIN Has_Pet ON Has_Pet.PetID = Has_Pet.StuID 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": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "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": "Quels sont les prénoms des étudiants qui ont à la fois des «cat» et des «dog» comme animaux de compagnie?", "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\" INTERSECT 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 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": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "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": "Trouvez la spécialité et l'âge des étudiants qui n'ont pas de «cat » comme animal de compagnie.", "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": "Quelle est la spécialité de chaque élève qui ne possède pas de «cat» comme animal de compagnie, et quel âge ont-ils?", "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": "Trouvez l'id des étudiants qui n'ont pas de «cat» comme animal de compagnie.", "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": "Quels sont les ids des étudiants qui ne possèdent pas de «cat» comme animaul de compagnie?", "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": "Trouvez le prénom et l'âge des étudiants qui ont un «dog» mais qui n'ont pas de «cat» comme animal de compagnie.", "predicted": "SELECT Student.Fname, Student.Age 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, Student.Age 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": 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": 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": "Quel est le prénom de chaque étudiant qui a un «dog» mais qui n'a pas de «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 = \"Cat\" 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": "Trouvez le type et le poids du plus jeune animal.", "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": "Quel type d'animal est le plus jeune animal et combien pèse-t-il?", "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": "Trouvez l'id et le poids de tous les animaux dont l'âge est supérieur à 1.", "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": "Quel est l'id et le poids de chaque animal de plus de 1 an?", "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": "Trouvez l'âge moyen et maximum de chaque type d'animal.", "predicted": "SELECT Avg(Pets.pet_age), Max(Pets.pet_age), Pets.PetType FROM Pets GROUP BY Pets.PetType", "gold": "SELECT avg(pet_age) , max(pet_age) , pettype FROM pets GROUP BY pettype", "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": "Quel est l'âge moyen et maximum de chaque type d'animal?", "predicted": "SELECT Avg(Pets.pet_age), Max(Pets.pet_age), Pets.PetType FROM Pets GROUP BY Pets.PetType", "gold": "SELECT avg(pet_age) , max(pet_age) , pettype FROM pets GROUP BY pettype", "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": "Trouvez le poids moyen de chaque type d'animal.", "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": "Quel est le poids moyen de chaque type d'animal?", "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": "Trouvez le prénom et l'âge des étudiants qui ont un animal de compagnie.", "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": "Quels sont les différents prénoms et les âges des étudiants qui ont des animaux de compagnie?", "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": "Trouvez l’id de l’animal appartenant à l’étudiant dont le nom de famille est «Smith».", "predicted": "SELECT Has_Pet.PetID FROM Student JOIN Has_Pet ON Student.StuID = Has_Pet.StuID WHERE Student.LName = \"Smith\"", "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": "Quel est l'id de l'animal appartenant à l'étudiant dont le nom de famille est «Smith»?", "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 = \"Smith\"", "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": "Trouvez l'identifiant de chaque étudiant qui possède des animaux de compagnie et le nombre de nombre.", "predicted": "SELECT Student.StuID, Count(*) 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": "Pour les étudiants qui ont des animaux de compagnie, combien d'animaux de compagnie chaque étudiant a-t-il? listez leurs ids au lieu de leurs noms.", "predicted": "SELECT Count(*), Student.LName 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": 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": "Trouvez le prénom et le sexe de l'étudiant qui a plus d'un animal de compagnie.", "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": "Quel est le prénom et le sexe de tous les étudiants qui ont plus d'un animal de compagnie?", "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": "Trouvez le nom de famille de l'étudiant qui a un «cat» âgé de 3 ans.", "predicted": "SELECT Student.LName FROM Student JOIN Has_Pet ON Student.StuID = Has_Pet.StuID JOIN Pets ON Has_Pet.PetID = Pets.PetID WHERE Pets.pet_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": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "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": "Quel est le nom de famille de l'étudiant qui a un «cat» de 3 ans?", "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 = \"F\"", "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": "Trouvez l'âge moyen des étudiants qui n'ont pas d'animaux.", "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": "Quel est l'âge moyen de tous les étudiants qui ne possèdent pas d'animaux?", "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": "Combien de continents y a-t-il?", "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": "Quel est le nombre de continents?", "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": "Combien de pays compte chaque continent? Listez l'id du continent, le nom du continent et le nombre de pays.", "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": "Pour chaque continent, listez son id, son nom et combien de pays compte-t-il?", "predicted": "SELECT countries.Continent, 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": "Combien de pays sont listés?", "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": "Combien de pays existe-t-il?", "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": "Combien de modèles produit chaque constructeur automobile? Listez le nom complet du constructeur, l'id et le nombre.", "predicted": "SELECT car_makers.FullName, car_makers.Maker, 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": 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": "Quel est le nom complet de chaque constructeur automobile, avec son id et combien de modèles il produit?", "predicted": "SELECT car_makers.Id, car_makers.FullName, 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": "Quel modèle de voiture a la puissance minimale?", "predicted": "SELECT car_names.Make 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": 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": 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": "Quel est le modèle de la voiture avec la plus petite puissance?", "predicted": "SELECT car_names.Make 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": 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": 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": "Trouvez le modèle de la voiture dont le poids est inférieur au poids moyen.", "predicted": "SELECT car_names.Make FROM car_names 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": 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": "Quel est le modèle de la voiture avec un poids inférieur à la moyenne?", "predicted": "SELECT car_names.Make FROM car_names 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": 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": "Trouver le nom des constructeurs qui ont produit des voitures en «1970»?", "predicted": "SELECT car_makers.Maker 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.Year = 1990", "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": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "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": "Quel est le nom des différents constructeurs automobiles qui ont produit une voiture en «1970»?", "predicted": "SELECT DISTINCT car_makers.Maker 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.Year = 70", "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": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "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": "Trouvez la marque et l'heure de production des voitures qui ont été produites au cours de la première année?", "predicted": "SELECT car_makers.Maker, cars_data.Year 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 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": 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": 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": "Quel est le constructer automobile qui produit le plus tôt et en quelle année ?", "predicted": "SELECT car_makers.Maker, cars_data.Year 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 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": 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": 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": "Quels modèles de voitures distincts sont produits après «1980»?", "predicted": "SELECT DISTINCT car_names.Make FROM car_names JOIN cars_data ON car_names.MakeId = cars_data.Id WHERE cars_data.Year > 1990", "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": 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": "Quels sont les différents modèles de cartes produites après «1980»?", "predicted": "SELECT DISTINCT car_names.Make FROM car_names JOIN cars_data ON car_names.MakeId = cars_data.Id WHERE cars_data.Year > 80", "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": 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": "Combien de constructeurs automobiles y a-t-il sur chaque continent? Listez le nom du continent et le nombre.", "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": "Quel est le nom de chaque continent et combien de constructeurs automobiles y a-t-il dans chacun?", "predicted": "SELECT continents.Continent, Count(*) FROM continents JOIN countries ON continents.ContId = countries.Continent JOIN car_makers ON countries.CountryId = car_makers.Country 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": 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": "Quel pays compte le plus de constructeurs automobiles? Listez le nom du pays.", "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": "Quel est le nom du pays qui compte le plus de constructeurs automobiles?", "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": "Combien de modèles de voitures sont produits par chaque constructeur? Indiquez le nombre et le nom complet du constructeur.", "predicted": "SELECT Count(*), car_makers.FullName, car_makers.Maker 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": 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": 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": "Quel est le nombre de modèles de voitures produits par chaque constructeur et quels sont l'id et le nom complet de chaque constructeur?", "predicted": "SELECT Count(*), car_makers.FullName, car_makers.Maker 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": "Quelle est l'accélération de la voiture faite par «amc hornet sportabout (sw)»", "predicted": "SELECT cars_data.Accelerate FROM car_names JOIN cars_data ON car_names.MakeId = cars_data.Id WHERE car_names.Make = \"Achornetsportsport(w\"", "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": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "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": "À quel point la voiture accélère-t-elle stimulée par 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 = \"AMCHornetSportSport\" AND car_names.Make = \"\"", "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": 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": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "Combien de constructeurs automobiles y a-t-il en «France»?", "predicted": "SELECT Count(*) FROM countries JOIN car_makers ON countries.CountryId = car_makers.Country WHERE countries.CountryName = \"Texas\"", "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": "Quel est le nombre de constructeurs automobiles en «France»?", "predicted": "SELECT Count(*) FROM countries JOIN car_makers ON countries.CountryId = car_makers.Country WHERE countries.CountryName = \"Texas\"", "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": "Combien de modèles de voitures sont produits aux «États-Unis»?", "predicted": "SELECT Count(*) FROM continents WHERE continents.Continent = \"United\"", "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": 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": "Quel est le nombre de modèles de voitures produits aux «USA» ?", "predicted": "SELECT Count(*) FROM continents JOIN countries ON continents.ContId = countries.Continent WHERE continents.Continent = \"United\"", "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": 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": "Quelle est la moyenne des miles par gallon (mpg) des voitures à 4 cylindres?", "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": "Quelle est la moyenne des miles par gallon de toutes les voitures à 4 cylindres?", "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": "Quel est le poids le plus petit de la voiture produite à «8» cylindres en «1974» ?", "predicted": "SELECT Min(cars_data.Weight) FROM cars_data WHERE cars_data.Cylinders = 8 AND cars_data.Year = \"\"", "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": "Quel est le poids minimum de la voiture à «8» cylindres produite en «1974»?", "predicted": "SELECT Min(cars_data.Weight) FROM cars_data WHERE cars_data.Cylinders = 8 AND cars_data.Year = \"\"", "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": "Quels sont tous les constructeurs et les modèles?", "predicted": "SELECT car_makers.Maker, car_makers.Maker FROM car_makers", "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": "Quels sont les constructeurs et les modèles?", "predicted": "SELECT car_makers.Maker, car_makers.Maker 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": "Quels sont les pays ayant au moins un constructeur automobile? Listez les noms et les ids.", "predicted": "SELECT countries.CountryName, car_makers.Id 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": 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": 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": "Quels sont les noms et les ids de tous les pays ayant au moins un constructeur automobile?", "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": "Quel est le nombre de voitures dont la puissance est supérieure à 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": "Quel est le nombre de voitures d'une puissance supérieure à 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": "Quel est le poids moyen des voitures chaque année?", "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": "Quel est le poids moyen et l'année pour chaque année?", "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": "Quels pays d'«Europe» ont au moins 3 constructeurs automobiles?", "predicted": "SELECT countries.CountryName FROM continents JOIN countries ON continents.ContId = countries.Continent JOIN car_makers ON countries.CountryId = car_makers.Country WHERE continents.Continent = \"Uniteds\" 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": 1, "rec": 1, "f1": 1, "label_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": "Quels sont les noms de tous les pays «européens» avec au moins 3 constructeurs?", "predicted": "SELECT countries.CountryName FROM continents JOIN countries ON continents.ContId = countries.Continent JOIN car_makers ON countries.CountryId = car_makers.Country WHERE continents.Continent = \"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": 1, "rec": 1, "f1": 1, "label_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": "Quelle est la puissance maximale et la marque des modèles de voitures à 3 cylindres?", "predicted": "SELECT Max(cars_data.Horsepower), Min(cars_data.Horsepower) FROM cars_data 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": 0, "rec": 0, "f1": 0, "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": "Quelle est la plus grande puissance des modèles à 3 cylindres et de quelle marque s'agit-il?", "predicted": "SELECT Max(cars_data.Horsepower), car_makers.Maker 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 = 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": 0, "rec": 0, "f1": 0, "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": "Quel modèle économise le plus d'essence? C'est-à-dire, avoir le maximum de miles par gallon.", "predicted": "SELECT car_names.Make FROM car_names JOIN cars_data ON car_names.MakeId = cars_data.Id GROUP BY car_names.Make ORDER BY Sum(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": 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": 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": "Quel est le modèle de voiture avec le mpg le plus élevé?", "predicted": "SELECT car_names.Make FROM car_names 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": 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": 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": "Quelle est la puissance moyenne des voitures avant «1980»?", "predicted": "SELECT Avg(cars_data.Horsepower) FROM cars_data WHERE cars_data.Year < 1990", "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": "Quelle est la puissance moyenne de toutes les voitures produites avant 1980?", "predicted": "SELECT Avg(cars_data.Horsepower) FROM cars_data WHERE cars_data.Year < 1990", "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": "Quel est l'edispl moyen des voitures du modèle «volvo»?", "predicted": "SELECT Avg(cars_data.Edispl) FROM car_names JOIN cars_data ON car_names.MakeId = cars_data.Id WHERE car_names.Make = \"PVvo\"", "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": "Quel est l'edispl moyen de toutes les voitures de «volvo» ?", "predicted": "SELECT Avg(cars_data.Edispl) 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 car_makers.FullName = \"PVvo\"", "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": "Quelle est l'accélération maximale pour les voitures aux différents nombres de cylindres?", "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": "Quelle est l'accélération maximale pour tous les voiture aux différents nombres de cylindres?", "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": "Quel modèle a le plus de version de voitures?", "predicted": "SELECT car_names.Make FROM car_names GROUP BY car_names.Make 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": 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": "Quel modèle a le plus de versions différentes?", "predicted": "SELECT car_names.Make FROM car_names GROUP BY car_names.Make 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": 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": "Combien de voitures ont plus de 4 cylindres?", "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": "Quel est le nombre de voitures de plus de 4 cylindres?", "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": "Combien de voitures ont été produites en «1980»?", "predicted": "SELECT Count(*) FROM cars_data WHERE cars_data.Year = \"in\" OR cars_data.Year = \"restaurant\"", "gold": "SELECT count(*) FROM CARS_DATA WHERE YEAR = 1980;", "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": 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": 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": "En «1980», combien de voitures ont été fabriquées?", "predicted": "SELECT Count(*) FROM cars_data WHERE cars_data.Year = \"in\"", "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": "Combien de modèles de voitures ont été produits par le constructeur avec le nom complet «American Motor Company»?", "predicted": "SELECT Count(*) FROM car_makers JOIN model_list ON car_makers.Id = model_list.Maker WHERE car_makers.FullName = \"AmericanMotorCompany\"", "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": "Quel est le nombre de modèles de voitures créés par le constructeur automobile «American Motor Company»?", "predicted": "SELECT Count(*) FROM car_makers JOIN model_list ON car_makers.Id = model_list.Maker WHERE car_makers.FullName = \"AmericanMotorCompany\"", "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": "Quels constructeurs ont conçu plus de 3 modèles de voitures? Listez le nom complet et l'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": "Quels sont les noms et les ids de tous les constructeurs avec plus de 3 modèles?", "predicted": "SELECT car_makers.FullName, car_makers.Maker 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": "Quels modèles distinctifs sont produits par le constructeur «General Motors» ou pesant plus de 3500?", "predicted": "SELECT DISTINCT car_names.Make 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 = \"JohnMotorMotor\" OR car_makers.FullName > 3000", "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": 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": 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": "Quels sont les différents modèles créés par le constructeur automobile «General Motors» ou pesant plus de 3500?", "predicted": "SELECT DISTINCT car_names.Make 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 car_makers.FullName = \"JohnMotorMotor\" OR car_makers.FullName > 3000", "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": 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": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_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": "En quelles années les voitures ont été produites pesant pas moins de 3000 et pas plus de 4000? ", "predicted": "SELECT cars_data.Year FROM cars_data WHERE cars_data.Weight BETWEEN 3000 AND 5000", "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": "Quelles sont les différentes années au cours desquelles il y a eu des voitures produites qui pesaient moins de 4000 et aussi des voitures qui pesaient plus de 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": "Quelle est la puissance de la voiture avec la plus grande accélération?", "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": "Quelle est la puissance de la voiture avec l'accélération la plus importante ?", "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": "Pour le modèle «volvo», la voiture avec le moins d'accélération a combien de sylindres?", "predicted": "SELECT cars_data.Cylinders FROM car_names JOIN cars_data ON car_names.MakeId = cars_data.Id WHERE car_names.Make = \"PVvo\" 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": "Pour un modèle «volvo», la version avec le moins d'accélération a combien de cylindres?", "predicted": "SELECT cars_data.Cylinders FROM car_names JOIN cars_data ON car_names.MakeId = cars_data.Id WHERE car_names.Make = \"PVvo\" 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": "Combien de voitures ont une accélération plus grande que la voiture avec la plus grande puissance?", "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": "Quel est le nombre de voitures avec une accélération plus grande que celle avec le plus de puissance?", "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": "Combien de pays compte plus de 2 constructeurs automobiles?", "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": "Quel est le nombre de pays comptant plus de 2 constructeurs automobiles?", "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": "Combien de voitures ont plus de 6 cylindres?", "predicted": "SELECT Count(*) FROM cars_data WHERE cars_data.Cylinders > 2006", "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": "Quel est le nombre de voitures de plus de 6 cylindres?", "predicted": "SELECT Count(*) FROM cars_data WHERE cars_data.Cylinders > 2006", "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": "Pour les voitures à 4 cylindres, quel modèle a la plus grande puissance?", "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": "Pour toutes les voitures à 4 cylindres, quel modèle a le plus de puissance?", "predicted": "SELECT car_names.Make FROM car_names JOIN cars_data ON car_names.MakeId = cars_data.Id 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": "Parmi les voitures dont la puissance est supérieure à la plus faible, lesquelles n'ont pas plus de 3 cylindres? Listez l'id et le nom des constructeurs.", "predicted": "SELECT car_makers.Id, car_makers.Maker 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.Horsepower BETWEEN 3 AND 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": 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": "Parmi les voitures dont la puissance ne sont pas le minimum, quels sont les ids et les noms des constructeurs de toutes les voitures à moins de 4 cylindres?", "predicted": "SELECT car_makers.Id, car_makers.Maker 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 BETWEEN 4 AND 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": "Quel est le nombre maximal de miles par gallon de la voiture à «8» cylindres ou produite avant «1980»?", "predicted": "SELECT Max(cars_data.MPG) FROM cars_data WHERE cars_data.Cylinders = \"4:%\" OR cars_data.Year < 800", "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": "Quel est le mpg maximum des voitures qui ont «8»cylindres ou qui sont produites avant «1980» ?", "predicted": "SELECT Max(cars_data.MPG) FROM cars_data WHERE cars_data.Cylinders = \"4:%\" OR cars_data.Year < 8", "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": "Quels modèles sont plus légers que 3500 mais non fabriqués par la «Ford Motor Company»?", "predicted": "SELECT car_names.Make FROM model_list JOIN car_names ON model_list.Model = car_names.Model WHERE model_list.Model > 3000 EXCEPT SELECT car_names.Make FROM model_list JOIN car_makers ON model_list.Maker = car_makers.Id WHERE car_makers.FullName = \"USMotorMotorCompany\"", "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": 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": 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": "Quels sont les différents modèles plus légers que 3500 mais qui n'ont pas été construits par la «Ford Motor Company» ?", "predicted": "SELECT car_names.Make FROM model_list JOIN car_names ON model_list.Model = car_names.Model EXCEPT SELECT car_names.Make FROM model_list JOIN car_makers ON model_list.Maker = car_makers.Id WHERE car_makers.FullName > 3000 AND car_makers.Maker = \"USMotorMotorCompany\"", "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": 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": 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": "Comment s'appellent les pays où il n'y a pas un seul constructeur automobile?", "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": "Quels sont les noms des pays sans constructeur automobile?", "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": "Quels sont les constructeurs automobiles qui produisent au moins 2 modèles et plus de 3 constructeurs automobiles? Listez l'id et le constructeur.", "predicted": "SELECT car_makers.Id, car_makers.Maker 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": 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": 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": "Quels sont les ids et les constructeurs de tous les constructeurs automobiles qui produisent au moins 2 modèles et fabriquent plus de 3 sortes de voitures?", "predicted": "SELECT car_makers.Id, car_makers.Maker FROM car_makers JOIN model_list ON car_makers.Id = model_list.Maker GROUP BY car_makers.Id HAVING Count(*) >= 3 INTERSECT SELECT car_makers.Id, car_makers.Maker FROM car_makers JOIN model_list ON car_makers.Id = model_list.Maker GROUP BY car_makers.Id HAVING Count(*) >= 3", "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": 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": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}}}, {"question": "Quels sont les ids et les noms des pays qui comptent plus de 3 constructeurs automobiles ou qui produisent le modèle «fiat»?", "predicted": "SELECT countries.CountryId, countries.CountryName FROM countries JOIN car_makers ON countries.CountryId = car_makers.Country WHERE car_makers.Maker = \"in\" 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 WHERE car_makers.Maker = 3 GROUP BY countries.CountryId 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": "Quels sont les identifiants et les noms de tous les pays qui comptent plus de 3 constructeurs automobiles ou qui produisent le modèle «fiat»?", "predicted": "SELECT countries.CountryId, countries.CountryName FROM countries JOIN car_makers ON countries.CountryId = car_makers.Country WHERE car_makers.Maker = \"in\" UNION SELECT countries.CountryId, countries.CountryName FROM countries JOIN car_makers ON countries.CountryId = car_makers.Country WHERE car_makers.FullName > 3 GROUP BY countries.CountryId 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": "À quel pays appartient la compagnie aérienne «JetBlue Airways»?", "predicted": "SELECT airlines.Country FROM airlines WHERE airlines.Airline = \"WalterBlueAirways\"", "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": "À quel pays appartient la compagnie aérienne «JetBlue Airways»?", "predicted": "SELECT airlines.Country FROM airlines WHERE airlines.Airline = \"WalterBlueAirways\"", "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": "Quelle est l'abréviation de la compagnie aérienne «JetBlue Airways»?", "predicted": "SELECT airlines.Abbreviation FROM airlines WHERE airlines.Airline = \"RobinBlueAirways\"", "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": "Quelle abréviation correspond à la compagnie aérienne «Jetblue Airways»?", "predicted": "SELECT airlines.Abbreviation FROM airlines WHERE airlines.Airline = \"IronblueAirways\"", "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": "Énumérez les noms de toutes les compagnies aériennes et leurs abréviations aux «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": "Quels sont les noms et abréviations des compagnies aériennes aux États-Unis?", "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": "Indiquez le code et le nom de l'aéroport dans la ville d'«Anthony».", "predicted": "SELECT airports.AirportCode, airports.AirportName FROM airports WHERE airports.City = \"ArSmi\"", "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": "Donnez le code de l'aéroport et le nom de l'aéroport correspondant à la ville «Anthony».", "predicted": "SELECT airports.AirportCode, airports.AirportName FROM airports WHERE airports.City = \"ArSmi\"", "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": "Combien de compagnies aériennes avons-nous?", "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": "Quel est le nombre total de compagnies aériennes?", "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": "Combien d'aéroports avons-nous?", "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": "Renvoyez le nombre d'aéroports.", "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": "Combien de vols avons-nous?", "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": "Renvoyez le nombre de vols.", "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": "Quelle compagnie aérienne a l'abréviation «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": "Donnez la compagnie aérienne avec l'abréviation «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": "Combien de compagnies aériennes viennent des «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": "Renvoyez le nombre de compagnies aériennes aux «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": "Dans quelle ville et dans quel pays se trouve l'aéroport d'«Alton»?", "predicted": "SELECT airports.City, airports.Country FROM airports WHERE airports.AirportName = \"Cuton\"", "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": "Donnez la ville et le pays de l'aéroport d'«Alton».", "predicted": "SELECT airports.City, airports.Country FROM airports WHERE airports.AirportName = \"Cuton\"", "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": "Quel est le nom de l'aéroport «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": "Renvoyez le nom de l'aéroport avec le code «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": "Quels sont les noms d'aéroports dans la ville d'«Aberdeen»?", "predicted": "SELECT airports.AirportName FROM airports WHERE airports.City = \"Awarddeen\"", "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": "Quels sont les noms des aéroports d'«Aberdeen»?", "predicted": "SELECT airports.AirportName FROM airports WHERE airports.City = \"Aberdeen\"", "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": "Combien de vols partent de «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": "Comptez le nombre de vols au départ de «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": "Combien de vols ont la destination «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": "Comptez le nombre de vols vers «ATO».", "predicted": "SELECT Count(*) FROM airports JOIN flights ON airports.AirportCode = flights.SourceAirport WHERE airports.AirportName = \"ATO\"", "gold": "SELECT count(*) FROM FLIGHTS WHERE DestAirport = \"ATO\"", "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": "Combien de vols partent de la ville «Aberdeen»?", "predicted": "SELECT Count(flights.FlightNo) FROM airports JOIN flights ON airports.AirportCode = flights.SourceAirport WHERE airports.City = \"Adeen\"", "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": 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": "Renvoyez le nombre de vols au départ d'«Aberdeen».", "predicted": "SELECT Count(flights.FlightNo) FROM airports JOIN flights ON airports.AirportCode = flights.SourceAirport WHERE airports.City = \"Alandeen\"", "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": 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": "Combien de vols sont arrivé dans la ville d'«Aberdeen»?", "predicted": "SELECT Count(*) FROM airports JOIN flights ON airports.AirportCode = flights.SourceAirport WHERE airports.City = \"Adeen\"", "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": "Renvoyez le nombre de vols arrivés à «Aberdeen».", "predicted": "SELECT Count(flights.FlightNo) FROM airports JOIN flights ON airports.AirportCode = flights.SourceAirport WHERE airports.City = \"Adeen\"", "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": 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": "Combien de vols partent de la ville «Aberdeen» et ont une destination pour la ville «Ashley»?", "predicted": "SELECT Count(*) FROM airports JOIN flights ON airports.AirportCode = flights.SourceAirport WHERE airports.City = \"Alicedeen\" AND airports.City = \"Alice\"", "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": 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": 1, "pred_total": 1}}}, {"question": "Combien de vols volent entre «Aberdeen» et «Ashley»?", "predicted": "SELECT Count(DISTINCT flights.FlightNo) FROM airports JOIN flights ON airports.AirportCode = flights.SourceAirport WHERE airports.City = \"Alice\" AND airports.AirportName = \"Alice\"", "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": 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": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "Combien de vols la compagnie aérienne «JetBlue Airways» ont-t-elle?", "predicted": "SELECT Count(*) FROM airlines JOIN flights WHERE airlines.Airline = \"Blan\"", "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": "Donnez le nombre de vols de «JetBlue Airways».", "predicted": "SELECT Count(*) FROM airlines JOIN flights WHERE airlines.Airline = \"Walter\"", "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": "Combien de vols de la compagnie «United Airlines» sont à destination de l'aéroport «ASY»?", "predicted": "SELECT Count(*) FROM airlines JOIN airports JOIN flights WHERE airports.AirportName = \"ASY\" AND airlines.Airline = \"UnitedAirlines\"", "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": "Comptez le nombre de vols d'«United Airlines» arrivant à l'aéroport «ASY».", "predicted": "SELECT Count(*) FROM airlines JOIN flights WHERE flights.SourceAirport = \"ASY\" AND airlines.Airline = \"UnitedAirlines\"", "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": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "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": "Combien de vols d'«United Airlines» partent de l'aéroport «AHD»?", "predicted": "SELECT Count(*) FROM airlines JOIN flights WHERE flights.SourceAirport = \"AHD\" AND airlines.Airline = \"UnitedAirlines\"", "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": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "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": "Renvoyez le nombre de vols d'«United Airlines» au départ de l'aéroport «AHD».", "predicted": "SELECT Count(*) FROM airlines JOIN flights WHERE flights.SourceAirport = \"AHD\" AND airlines.Airline = \"UnitedAirlinesAirlines\"", "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": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "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": "Combien de vols d'«United Airlines» sont pour «Aberdeen»?", "predicted": "SELECT Count(*) FROM airlines JOIN airports JOIN flights WHERE airports.City = \"Alandeen\" AND airlines.Airline = \"UnitedAirlinesAirlines\"", "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": "Comptez le nombre de vols d'«United Airlines» qui sont arrivés à «Aberdeen».", "predicted": "SELECT Count(*) FROM airlines JOIN airports JOIN flights WHERE airports.City = \"Alandeen\" AND airlines.Airline = \"UnitedAirlinesAirlines\"", "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": "Quelle ville a le plus de vols à l'arrivée?", "predicted": "SELECT airports.City FROM airports JOIN flights ON airports.AirportCode = flights.SourceAirport GROUP BY airports.City 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": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no 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": "Quelle ville a l'aéroport de destination le plus fréquent?", "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": "Quelle ville a le plus de vols au départ?", "predicted": "SELECT airports.City FROM airports JOIN flights ON airports.AirportCode = flights.SourceAirport GROUP BY airports.City 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": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no 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": "Quelle ville a les vols les plus fréquents au départ de son aéroport ?", "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": "Quel est le code de l'aéroport qui a le plus grand nombre de vols?", "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": "Quel est le code de l'aéroport avec le plus de vols?", "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": "Quel est le code de l'aéroport qui a le moins de vols?", "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": "Donnez le code de l'aéroport avec le moins de vols.", "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": "Quelle compagnie aérienne a le plus de vols?", "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": "Quelle compagnie aérienne dessert le plus de vols?", "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": "Trouvez l'abréviation et le pays de la compagnie aérienne qui effectue le moins de vols.", "predicted": "SELECT airlines.Abbreviation, airlines.Country FROM airlines JOIN flights GROUP BY flights.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": 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": 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": "Quelle est l'abréviation de la compagnie aérienne qui a le moins de vols et dans quel pays se trouve-t-elle?", "predicted": "SELECT airlines.Abbreviation, airlines.Country FROM airlines JOIN flights GROUP BY flights.SourceAirport 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": 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": 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": "Quelles sont les compagnies aériennes qui ont des vols au départ de l'aéroport «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": "Quelles sont les compagnies aériennes qui proposent des vol au départ de l'aéroport «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": "Quelles sont les compagnies aériennes qui ont des vols à destination de l'aéroport «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": "Quelles sont les compagnies aériennes qui proposent des vol à destination de l'aéroport «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": "Trouvez toutes les compagnies aériennes qui proposent des vols partant des deux aéroports «APG» et «CVO».", "predicted": "SELECT airlines.Airline FROM airlines JOIN flights WHERE flights.SourceAirport = \"AnPG\" INTERSECT SELECT airlines.Airline FROM airlines JOIN flights ON airlines.uid = flights.Airline WHERE flights.SourceAirport = \"ArVO\"", "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": "Quelles compagnies aériennes proposent des vols au départ des aéroports «APG» et «CVO»?", "predicted": "SELECT airlines.Airline FROM airlines JOIN airports JOIN flights WHERE flights.SourceAirport = \"APG\" INTERSECT SELECT airlines.Airline FROM airports JOIN flights ON airports.AirportCode = flights.Airline AND flights.Airline = flights.Airline JOIN flights WHERE flights.SourceAirport = \"ArVO\"", "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": "Trouvez toutes les compagnies aériennes qui ont des vols au départ de l'aéroport «CVO» mais pas à partir de «APG».", "predicted": "SELECT airlines.Airline FROM airlines JOIN flights WHERE flights.SourceAirport = \"2010VO\" EXCEPT SELECT airlines.Airline FROM airlines JOIN flights 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": "Quelles compagnies aériennes ont des vols qui partent de «CVO» mais pas des aéroports d'«APG»?", "predicted": "SELECT airlines.Airline FROM airlines JOIN airports JOIN flights WHERE flights.SourceAirport = \"LondonVO\" EXCEPT SELECT airlines.Airline FROM airports JOIN flights ON airports.AirportCode = 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": 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": "Trouvez toutes les compagnies aériennes qui proposent au moins 10 vols.", "predicted": "SELECT airlines.Airline FROM airlines JOIN 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": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no 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": "Quelles compagnies aériennes proposent au moins 10 vols?", "predicted": "SELECT airlines.Airline FROM airlines JOIN 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": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no 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": "Trouvez toutes les compagnies aériennes qui ont moins de 200 vols.", "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": "Quelles compagnies aériennes ont moins de 200 vols?", "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": "Quels sont les numéros de vol de la compagnie aérienne «United Airlines»?", "predicted": "SELECT flights.FlightNo FROM airlines JOIN flights WHERE airlines.Airline = \"UnitedAirlines\"", "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": "Quels numéros de vol correspondent aux vols d'«United Airlines»?", "predicted": "SELECT flights.FlightNo FROM airlines JOIN flights WHERE airlines.Airline = \"UnitedAirlines\"", "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": "Quels sont les numéros de vol des vols au départ de l'aéroport «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": "Indiquez les numéros de vols au départ d'«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": "Quels sont les numéros de vol des vols arrivant à l'aéroport «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": "Donnez les numéros de vols des vols atterrissant à «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": "Quels sont les numéros de vols des vols au départ de City «Aberdeen»?", "predicted": "SELECT flights.FlightNo FROM airports JOIN flights ON airports.AirportCode = flights.SourceAirport WHERE airports.City = \"AAdeen\"", "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": "Indiquez les numéros de vols au départ d'«Aberdeen».", "predicted": "SELECT flights.FlightNo FROM airports JOIN flights ON airports.AirportCode = flights.SourceAirport WHERE airports.City = \"Aberdeen\"", "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": "Quels sont les numéros de vols des vols arrivant à City «Aberdeen»?", "predicted": "SELECT flights.FlightNo FROM airports JOIN flights ON airports.AirportCode = flights.SourceAirport WHERE airports.City = \"AAdeen\"", "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": "Indiquez les numéros de vols des vols arrivant à «Aberdeen».", "predicted": "SELECT flights.FlightNo FROM airports JOIN flights ON airports.AirportCode = flights.SourceAirport WHERE airports.City = \"Alicedeen\"", "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": "Trouvez le nombre de vols atterrissant dans la ville d'«Aberdeen» ou d'«Abilene».", "predicted": "SELECT Count(*) FROM airports JOIN flights ON airports.AirportCode = flights.SourceAirport WHERE airports.City = \"Aladeen\" OR airports.City = \"Bob\"", "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": "Combien de vols atterrissent à «Aberdeen» ou «Abilene»?", "predicted": "SELECT Count(*) FROM airports JOIN flights ON airports.AirportCode = flights.SourceAirport WHERE airports.City = \"Adeen\" OR airports.City = \"Bob\"", "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": "Trouvez le nom des aéroports qui n'ont pas de vol aller et retour.", "predicted": "SELECT airports.AirportName FROM airports EXCEPT SELECT airports.AirportName FROM airports JOIN flights ON airports.AirportCode = flights.SourceAirport WHERE flights.SourceAirport = 2", "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": 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": "Quels aéroports n'ont pas de vols au départ ou à l'arrivée?", "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": "Combien d'employés y a-t-il?", "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": "Comptez le nombre d'employés", "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": "Triez les noms des employés en fonction de leur âge par ordre croissant.", "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": "Listez les noms des employés et triez par ordre croissant d'âge.", "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": "Quel est le nombre d'employés de chaque ville?", "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": "Comptez le nombre d'employés de chaque ville.", "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": "De quelles villes provient plus d'un employé de moins de 30 ans?", "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": "Trouvez les villes qui comptent plus d'un employé de moins de 30 ans.", "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": "Trouvez le nombre de magasins dans chaque emplacement.", "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": "Combien de magasins y a-t-il dans chaque emplacement?", "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": "Trouvez le nom du responsable et le quartier du magasin dont le nombre de produits est le plus important.", "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": "Quels sont le nom du responsable et le quartier du magasin qui vend le plus grand nombre de produits?", "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": "Trouvez le nombre minimum et maximum de produits de tous les magasins.", "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": "Quel est le nombre minimum et maximum de produits dans tous les magasins?", "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": "Renvoyez le nom, l'emplacement et le quartier de tous les magasins par ordre décroissant du nombre de produits.", "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": "Triez tous les magasins par nombre de produits par ordre décroissant et renvoyez le nom, l'emplacement et le quartier de chaque magasin.", "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": "Trouvez les noms des magasins dont le nombre de produits est supérieur au nombre moyen de produits.", "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": "Le nombre de produits de quels magasins est supérieur à la moyenne? Donnez-moi les noms des magasins.", "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": "Trouver le nom de l'employé qui a été récompensé le plus souvent dans l'évaluation.", "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": "Quel employé a reçu le plus de récompenses lors des évaluations? Donnez-moi le nom de l'employé.", "predicted": "SELECT employee.Name FROM employee JOIN evaluation ON employee.Employee_ID = evaluation.Employee_ID GROUP BY employee.Name 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 GROUP BY t2.Employee_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": 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": "Trouvez le nom de l'employé qui a obtenu la prime unique la plus élevée.", "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": "Quel employé a reçu le plus gros bonus? Donnez-moi le nom de l'employé.", "predicted": "SELECT employee.Name FROM employee JOIN evaluation ON employee.Employee_ID = evaluation.Employee_ID GROUP BY employee.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": "Trouvez les noms des employés qui n'ont jamais remporté de prix dans l'évaluation.", "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": "Quels sont les noms des employés qui n'ont jamais reçu d'évaluation?", "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": "Quel est le nom du magasin qui embauche le plus grand nombre d'employés?", "predicted": "SELECT shop.Name FROM shop JOIN hiring ON shop.Shop_ID = hiring.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": "Quel magasin a le plus d'employés? Donnez-moi le nom du magasin.", "predicted": "SELECT shop.Name FROM shop JOIN hiring ON shop.Shop_ID = hiring.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": "Trouvez le nom des magasins qui n'embauchent aucun employé.", "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": "Quels magasins fonctionnent sans employés? Trouvez les noms des magasins.", "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": "Trouvez le nombre d'employés embauchés dans chaque magasin; affichez également le nom du magasin.", "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": "Pour chaque magasin, indiquez le nombre d'employés qui y travaillent et le nom du magasin.", "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": "Quel est le bonus total donné dans toutes les évaluations?", "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": "Trouvez le montant total du bonus donné dans toutes les évaluations.", "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": "Donnez-moi toutes les informations sur l'embauche.", "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": "Quelles sont toutes les informations sur l'embauche?", "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": "Quel quartier a à la fois des magasins avec moins de 3000 produits et des magasins avec plus de 10000 produits?", "predicted": "SELECT shop.District FROM shop WHERE shop.Number_products < 3000 INTERSECT SELECT shop.District FROM shop WHERE shop.Number_products > 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": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "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": "Trouvez les quartiers dans lesquels se trouvent à la fois des magasins vendant moins de 3000 produits et des magasins vendant plus de 10000 produits.", "predicted": "SELECT shop.District FROM shop WHERE shop.Number_products < 3000 INTERSECT SELECT shop.District FROM shop WHERE shop.Number_products > 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": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "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": "Combien d'emplacements différents de magasins y a-t-il?", "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": "Comptez le nombre d'emplacements de magasin distincts.", "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": "Combien de documents avons-nous?", "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": "Comptez le nombre de documents.", "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": "Listez les IDs de document, les noms de document et les descriptions de tous les documents.", "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": "Quels sont les ids, les noms et les descriptions de tous les documents?", "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": "Quel est le nom du document et l'id du modèle pour le document avec une description contenant la lettre «w»?", "predicted": "SELECT Documents.Document_Name, Documents.Template_ID FROM Documents WHERE Documents.Document_Description LIKE \"%a%\"", "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": "Renvoyez les noms et les identifiants de modèle pour les documents contenant la lettre «w» dans leur description.", "predicted": "SELECT Documents.Document_Name, Documents.Template_ID FROM Documents WHERE Documents.Document_Description LIKE \"%a%\"", "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": "Quel est l'id du document, l'id du modèle et la description du document nommé «Robbin CV»?", "predicted": "SELECT Documents.Document_ID, Documents.Template_ID, Documents.Document_Description FROM Documents WHERE Documents.Document_Name = \"NoinCVCVCV\"", "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": "Renvoyez l'identifiant du document, l'identifiant du modèle et la description du document avec le nom «Robbin CV».", "predicted": "SELECT Documents.Document_ID, Documents.Template_ID, Documents.Document_Description FROM Documents WHERE Documents.Document_Name = \"NoberCVCVCV\"", "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": "Combien de modèles différents sont utilisés par tous les documents?", "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": "Comptez le nombre de modèles différents utilisés pour les documents.", "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": "Combien de documents utilisent le modèle de type «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": "Comptez le nombre de documents qui utilisent le modèle de type «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": "Affichez tous les ids de modèle utilisés et le nombre de l'utilisation de chaque modèle dans les documents.", "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": "Quels sont les différents identifiants de modèle utilisés pour les documents et combien de fois chacun d'eux a-t-il été utilisé?", "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": "Quel est l'id et le code de type du modèle le plus fréquemment utilisé dans les documents?", "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": "Renvoyez l'id et le code de type du modèle le plus fréquemment utilisé dans les documents.", "predicted": "SELECT Templates.Template_ID, Templates.Template_Type_Code FROM Templates JOIN Documents ON Templates.Template_ID = Documents.Template_ID GROUP BY Documents.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": "Affichez les ids de tous les modèles qui ont été utilisés plus d'une fois dans les documents.", "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": "Quels sont les ids des modèles utilisés dans plus d'un document ?", "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": "Affichez les ids de tous les modèles non utilisés par aucun document.", "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": "Quels sont les ids des modèles qui ne sont utilisés dans aucun document?", "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": "Combien de modèles avons-nous?", "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": "Comptez le nombre de modèles.", "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": "Affichez les ids de modèle, les numéros de version et les codes de type de modèle de tous les modèles.", "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": "Quels sont les ids, les numéros de version et les codes de type pour chaque modèle?", "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": "Affichez tous les codes de type de modèle distincts de tous les modèles.", "predicted": "SELECT DISTINCT Templates.Template_Type_Code FROM Templates", "gold": "SELECT DISTINCT template_type_code 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": "Quels sont les différents codes de type de modèle?", "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": "Quels sont les ids des modèles avec le code de type de modèle «PP» ou «PPT»?", "predicted": "SELECT Templates.Template_ID FROM Templates WHERE Templates.Template_Type_Code = \"CV\" 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": "Renvoyez les ids des modèles qui ont le code de «PP» ou «PPT».", "predicted": "SELECT Templates.Template_ID FROM Templates WHERE Templates.Template_Type_Code = \"CV\" OR Templates.Template_Type_Code = \"Paper\"", "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": "Combien de modèles ont un code de type de modèle «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": "Comptez le nombre de modèles de type «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": "Quel est le numéro de version et le code de type de modèle du modèle dont le numéro de version est supérieur à 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": "Renvoyez les numéros de version et les codes de type de modèle des modèles avec un numéro de version supérieur à 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": "Affichez tous les codes de type de modèle et le nombre de modèles de chacun.", "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": "Quels sont les différents codes de type de modèle et combien de modèles correspondent à chacun?", "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": "Quel code de type de modèle a le plus grand nombre de modèles?", "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": "Renvoyez le code du type de modèle auquel appartiennent la plupart des modèles.", "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": "Affichez tous les codes de type de modèle avec moins de trois modèles.", "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": "Quels sont les codes des types de modèles qui ont moins de 3 modèles?", "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": "Quel est le plus petit numéro de version et son code de type de modèle?", "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": "Renvoyez le numéro de version le plus bas, ainsi que son code de type de modèle correspondant.", "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": "Quel est le code de type du modèle utilisé par le document avec le nom de «Data base»?", "predicted": "SELECT Templates.Template_Type_Code FROM Templates JOIN Documents ON Templates.Template_ID = Documents.Template_ID WHERE Documents.Document_Name = \"Grabase\"", "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": "Renvoyez le code de type du modèle utilisé par un document nommé «Data base».", "predicted": "SELECT Templates.Template_Type_Code FROM Templates JOIN Documents ON Templates.Template_ID = Documents.Template_ID WHERE Documents.Document_Name = \"USbase\"", "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": "Affichez tous les noms de document utilisant les modèles avec le code de type de modèle «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": "Quels sont les noms des documents qui utilisent des modèles avec le code ?«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": "Affichez tous les codes de type de modèle et le nombre de documents utilisant chaque type.", "predicted": "SELECT Templates.Template_Type_Code, Count(*) FROM Templates JOIN Documents ON Templates.Template_ID = Documents.Template_ID 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": 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": "Quels sont les différents codes de type de modèle et chaque type est utilisé par combien de types?", "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": "Quel code de type de modèle est utilisé par le plus de documents?", "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": "Renvoyez le code du type de modèle le plus couramment utilisé dans les documents.", "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": "Affichez tous les codes de type de modèle qui ne sont utilisés par aucun document.", "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": "Quels sont les codes des types de modèles qui ne sont utilisés pour aucun document?", "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": "Affichez tous les codes de type de modèle et les descriptions.", "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": "Quels sont les codes de type et les descriptions de tous les types de modèles?", "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": "Quelles sont les descriptions de type de modèle pour le code de type de modèle «AD»", "predicted": "SELECT Ref_Template_Types.Template_Type_Description FROM Ref_Template_Types WHERE Ref_Template_Types.Template_Type_Code = \"A\"", "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": "Renvoyez la description du type de modèle du type de modèle avec le code «AD».", "predicted": "SELECT Ref_Template_Types.Template_Type_Description FROM Ref_Template_Types WHERE Ref_Template_Types.Template_Type_Code = \"BK\"", "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": "Quel est le code de type de modèle pour la description de type de modèle «Book».", "predicted": "SELECT Ref_Template_Types.Template_Type_Code FROM Ref_Template_Types WHERE Ref_Template_Types.Template_Type_Description = \"Paper\"", "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": "Renvoyez le code de type du type de modèle avec la description «Book».", "predicted": "SELECT Ref_Template_Types.Template_Type_Code FROM Ref_Template_Types WHERE Ref_Template_Types.Template_Type_Description = \"Paper\"", "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": "Quelles sont les descriptions dinctes de type de modèle pour les modèles utilisés par tous les documents?", "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": "Renvoyez les différentes descriptions des modèles qui ont été utilisés dans un document.", "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 JOIN Documents ON Templates.Template_ID = Documents.Template_ID", "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": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_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": "Quels sont les ids de modèle avec la description de type de modèle «Presentation».", "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 = \"Graphition\"", "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": "Renvoyez les ids correspondant aux modèles avec la description «Presentation».", "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 = \"Graphic\"", "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": "Combien de paragraphes au total y a-t-il ?", "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": "Comptez le nombre de paragraphes.", "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": "Combien de paragraphes de document avec le nom «Summer Show»?", "predicted": "SELECT Count(*) FROM Documents JOIN Paragraphs ON Documents.Document_ID = Paragraphs.Document_ID WHERE Documents.Document_Name = \"NYShowShow\"", "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": "Comptez le nombre de paragraphes dans le document intitulé «Summer Show».", "predicted": "SELECT Count(*) FROM Documents JOIN Paragraphs ON Documents.Document_ID = Paragraphs.Document_ID WHERE Documents.Document_Name = \"NYShowShow\"", "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": "Affichez les détails du paragraphe avec le texte «Korea».", "predicted": "SELECT Paragraphs.Other_Details FROM Paragraphs WHERE Paragraphs.Paragraph_Text = \"Goment\"", "gold": "select other_details from paragraphs where paragraph_text like 'korea'", "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": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 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": "Quels sont les contenus détaillés du paragraphe qui comprend le mot «Korea» ?", "predicted": "SELECT Paragraphs.Other_Details FROM Paragraphs WHERE Paragraphs.Paragraph_Text LIKE \"%Ke%\"", "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": "Affichez tous les ids et les textes de paragraphe du document portant le nom «Welcome to New York».", "predicted": "SELECT Documents.Document_ID, Paragraphs.Paragraph_Text FROM Documents JOIN Paragraphs ON Documents.Document_ID = Paragraphs.Document_ID WHERE Documents.Document_Name = \"BoetotoYorkYork\"", "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": 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": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "Quels sont les identifiants et les textes des paragraphes du document intitulé «Welcome to New York»?", "predicted": "SELECT Paragraphs.Paragraph_ID, Paragraphs.Paragraph_Text FROM Documents JOIN Paragraphs ON Documents.Document_ID = Paragraphs.Document_ID WHERE Documents.Document_Name = \"BoetotoYorkYork\"", "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": "Affichez tous les textes de paragraphe du document intitulé «Customer reviews».", "predicted": "SELECT Paragraphs.Paragraph_Text FROM Documents JOIN Paragraphs ON Documents.Document_ID = Paragraphs.Document_ID WHERE Documents.Document_Name = \"Gonereviewsreviews\"", "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": "Quels sont les textes de paragraphe du document intitulé «Customer reviews»?", "predicted": "SELECT Paragraphs.Paragraph_Text FROM Documents JOIN Paragraphs ON Documents.Document_ID = Paragraphs.Document_ID WHERE Documents.Document_Name = \"Gonereviewsreviews\"", "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": "Affichez tous les ids de document et le nombre de paragraphes dans chaque document. Trier par id de document.", "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": "Renvoyez les différents ids de document ainsi que le nombre de paragraphes correspondant à chacun, classés par 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": "Affichez tous les ids, les noms et le nombre de paragraphes de chaque document.", "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": "Quels sont les ids et les noms de chaque document, ainsi que le nombre de paragraphes dans chacun?", "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": "Listez tous les ids de document avec au moins deux paragraphes.", "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": "Quels sont les ids des documents contenant 2 paragraphes ou plus?", "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": "Quel est l'id et le nom du document avec le plus grand nombre de paragraphes?", "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": "Renvoyez l'id et le nom du document contenant le plus de paragraphes.", "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": "Quel est l'id du document avec le moins de paragraphes?", "predicted": "SELECT Paragraphs.Document_ID FROM Paragraphs 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": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no 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": "Renvoyez l'id du document avec le moins de paragraphes.", "predicted": "SELECT Paragraphs.Document_ID FROM Paragraphs 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": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no 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": "Quel est l'id du document avec 1 à 2 paragraphes?", "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": "Donnez les ids des documents qui ont un à deux paragraphes.", "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": "Affichez l'ID du document avec le texte de paragraphe «Brazil» et «Ireland».", "predicted": "SELECT Paragraphs.Document_ID FROM Paragraphs WHERE Paragraphs.Paragraph_Text = \"UK\" INTERSECT SELECT Paragraphs.Document_ID FROM Paragraphs WHERE Paragraphs.Paragraph_Text = \"english\"", "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": "Quels sont les ids des documents contenant le texte des paragraphes «Brazil» et «Ireland»?", "predicted": "SELECT Paragraphs.Document_ID FROM Paragraphs WHERE Paragraphs.Paragraph_Text = \"UK\" INTERSECT SELECT Paragraphs.Document_ID FROM Paragraphs WHERE Paragraphs.Paragraph_Text = \"english\"", "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": "Combien d'enseignants y a-t-il?", "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": "Quel est le nombre total d'enseignants?", "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": "Énumérez les noms des enseignants par ordre croissant d'âge.", "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": "Quels sont les noms des enseignants classés par ordre croissant d'âge?", "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": "Quels sont les âges et les villes d'origine des enseignants?", "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": "Quel est l'âge et la ville d'origine de chaque enseignant?", "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": "Indiquez le nom des enseignants dont la ville natale n'est pas «Little Lever Urban District».", "predicted": "SELECT teacher.Name FROM teacher WHERE teacher.Hometown != \"ComputerLeverUrbanUrbanDistrict\"", "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": "Quels sont les noms des enseignants dont la ville natale n'est pas «Little Lever Urban District»?", "predicted": "SELECT teacher.Name FROM teacher WHERE teacher.Hometown != \"TokyoLeverUrbanUrbanDistrict\"", "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": "Affichez le nom des enseignants âgés de 32 ou 33 ans.", "predicted": "SELECT teacher.Name FROM teacher WHERE teacher.Age = 32 OR teacher.Age = 32", "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": "Quels sont les noms des enseignants âgés de 32 ou 33 ans?", "predicted": "SELECT teacher.Name FROM teacher WHERE teacher.Age = 32 OR teacher.Age = 32", "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": "Quelle est la ville natale du plus jeune enseignant?", "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": "D'où vient le plus jeune enseignant?", "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": "Affichez les différentes villes d'origine des enseignants et le nombre d'enseignants de chaque ville d'origine.", "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": "Pour chaque ville natale, combien d'enseignants y a-t-il?", "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": "Listez la ville natale la plus commune des enseignants.", "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": "Quelles sont les villes natales les plus communes pour les enseignants?", "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": "Montrez les villes d'origine partagées par au moins deux enseignants.", "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": "Quelles sont les villes d'où viennent au moins deux enseignants?", "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": "Affichez les noms des enseignants et les cours qu'ils sont censés dispenser.", "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": "Quel est le nom de chaque enseignant et quel cours ils enseignent?", "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": "Affichez les noms des enseignants et les cours pour lesquels ils sont organisés par ordre alphabétique croissant du nom de l'enseignant.", "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": "Quels sont les noms des enseignants et les cours qu'ils enseignent, par ordre alphabétique croissant du nom de l'enseignant?", "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": "Montrez le nom de l'enseignant du cours de mathématiques.", "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 = \"Computer\"", "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": "Quels sont les noms des personnes qui enseignent les cours de mathématiques?", "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 = \"Computer\"", "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": "Affichez les noms des enseignants et le nombre de cours qu'ils enseignent.", "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": "Quels sont les noms des enseignants et combien de cours dispensent-ils?", "predicted": "SELECT teacher.Name, Count(*) FROM teacher JOIN course_arrange ON teacher.Teacher_ID = course_arrange.Teacher_ID GROUP BY teacher.Teacher_ID", "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": 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": "Affichez les noms des enseignants qui enseignent au moins deux cours.", "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": "Quels sont les noms des enseignants qui enseignent au moins deux cours?", "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": "Listez des noms des enseignants qui n'ont pas été organisés pour donner des cours.", "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": "Quels sont les noms des enseignants dont les cours n'ont pas été organisés?", "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": "Combien de visiteurs de moins de 30 ans y a-t-il?", "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": "Trouvez les noms des visiteurs dont le niveau d'adhésion est supérieur à 4 et classez les résultats par niveau de haut en bas.", "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": "Quel est l'âge moyen des visiteurs dont le niveau d'adhésion n'est pas supérieur à 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": "Trouvez le nom et le niveau d'adhésion des visiteurs dont le niveau d'adhésion est supérieur à 4, et triez par âge de vieux à jeune.", "predicted": "SELECT visitor.Name, visitor.Level_of_membership FROM visitor WHERE visitor.Level_of_membership > 4 ORDER BY visitor.Age 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": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 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": "Trouver l'id et le nom du musée qui compte le plus de membres du personnel.", "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": "Trouvez le nombre moyen d'employés travaillant pour les musées ouverts avant 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": "Quelle est l'année d'ouverture et le nombre d'employés du musée nommé «Plaza Museum»?", "predicted": "SELECT museum.Open_Year, museum.Num_of_Staff FROM museum WHERE museum.Name = \"Mo\"", "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": "Trouver les noms des musées qui ont plus de personnel que l'effectif minimum de tous les musées ouverts après 2010.", "predicted": "SELECT museum.Name FROM museum WHERE museum.Num_of_Staff > (SELECT Max(museum.Num_of_Staff) FROM museum WHERE museum.Open_Year = 2010)", "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": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "Trouvez l'id, le nom et l'âge des visiteurs qui ont visité certains musées plus d'une fois.", "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": "Quels sont l'id, le nom et le niveau d'adhésion des visiteurs qui ont dépensé le plus d'argent au total pour tous les billets de musée?", "predicted": "SELECT visitor.ID, visitor.Name, visitor.Level_of_membership FROM visitor JOIN visit ON visitor.ID = visit.visitor_ID GROUP BY 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": "Quels sont l'id et le nom du musée visité le plus souvent?", "predicted": "SELECT visit.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": "Quel est le nom du musée qui n'avait pas encore de visiteur?", "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": "Trouvez le nom et l'âge du visiteur qui a acheté le plus de billets à la fois.", "predicted": "SELECT visitor.Name, visitor.Age FROM visitor JOIN visit ON visitor.ID = visit.visitor_ID GROUP BY 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": "Quel est le nombre moyen et maximum de billets achetés pour toutes les visites?", "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": "Quel est le coût total des billets des visiteurs dont le niveau d'adhésion est «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": "Quel est le nom du visiteur qui a visité à la fois un musée ouvert avant 2009 et un musée ouvert après 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 visitor JOIN visit ON visitor.ID = visit.visitor_ID JOIN museum ON visit.Museum_ID = museum.Museum_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": "Trouvez le nombre de visiteurs qui n'ont visité aucun musée ouvert après 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)", "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": "Combien de musées ont été ouverts après 2013 ou avant 2008?", "predicted": "SELECT Count(*) FROM museum WHERE museum.Open_Year > 300 OR museum.Open_Year < 2008", "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": "Trouvez le nombre total de joueurs.", "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": "Combien de joueurs y a-t-il?", "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": "Trouvez le nombre total de matchs.", "predicted": "SELECT Sum(matches.match_num) FROM matches", "gold": "SELECT count(*) 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": "Comptez le nombre de matchs.", "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": "Indiquez le prénom et la date de naissance de tous les joueurs du pays avec le code «USA».", "predicted": "SELECT players.first_name, players.birth_date FROM players WHERE players.country_code = \"United\"", "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": "Quels sont les prénoms et les dates de naissance des joueurs des «USA»?", "predicted": "SELECT players.first_name, players.birth_date FROM players WHERE players.country_code = \"United\"", "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": "Trouvez l'âge moyen des perdants et des gagnants de tous les matchs.", "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": "Quel est l'âge moyen des perdants et des gagnants d'un match à l'autre?", "predicted": "SELECT Avg(matches.loser_age), matches.winner_age FROM matches GROUP BY matches.winner_id", "gold": "SELECT avg(loser_age) , avg(winner_age) FROM matches", "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": "Trouvez le classement moyen des gagnants dans tous les matchs.", "predicted": "SELECT Avg(matches.winner_rank_points) FROM matches", "gold": "SELECT avg(winner_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": "Quel est le classement moyen des gagnants dans tous les matchs?", "predicted": "SELECT Avg(matches.winner_rank_points) FROM matches", "gold": "SELECT avg(winner_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": "Trouvez le plus haut classement de perdants dans tous les matchs.", "predicted": "SELECT Max(matches.loser_rank_points) 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": "Quel est le meilleur classement des perdants sur tous les matches?", "predicted": "SELECT matches.loser_rank_points FROM matches ORDER BY matches.best_of Desc LIMIT 1", "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": 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": "Trouver le nombre de codes de pays distincts de tous les joueurs.", "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": "De combien de pays distincts les joueurs proviennent-ils?", "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": "Trouvez le nombre de noms distincts de perdants.", "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": "Combien de noms de perdants différents y a-t-il?", "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": "Trouvez le nom du tournoi qui a plus de 10 matchs.", "predicted": "SELECT matches.tourney_name FROM matches GROUP BY matches.tourney_name HAVING Count(matches.match_num) > 10", "gold": "SELECT tourney_name FROM matches GROUP BY tourney_name HAVING count(*) > 10", "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": 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": "Quels sont les noms des tournois qui comptent plus de 10 matchs?", "predicted": "SELECT matches.tourney_name FROM matches GROUP BY matches.tourney_name HAVING Count(matches.match_num) > 10", "gold": "SELECT tourney_name FROM matches GROUP BY tourney_name HAVING count(*) > 10", "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": 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": "Listez des noms de tous les gagnants qui ont joué en 2013 et 2016.", "predicted": "SELECT DISTINCT players.last_name FROM players JOIN matches ON players.player_id = matches.loser_id WHERE matches.year = 3 INTERSECT SELECT players.last_name FROM players JOIN matches ON players.player_id = matches.loser_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": "Quels sont les noms des joueurs qui ont gagné en 2013 et 2016?", "predicted": "SELECT players.last_name FROM players JOIN matches ON players.player_id = matches.loser_id WHERE matches.year = 3 INTERSECT SELECT players.last_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": "Indiquez le nombre de tous les matchs disputés au cours des années 2013 ou 2016.", "predicted": "SELECT matches.match_num FROM matches WHERE matches.year = 3 OR matches.year = 2016", "gold": "SELECT count(*) FROM matches WHERE YEAR = 2013 OR YEAR = 2016", "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": "Combien de matchs ont été joués en 2013 ou 2016?", "predicted": "SELECT Count(*) FROM matches WHERE matches.year = 3 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": "Quels sont le code de pays et le prénom des joueurs qui ont remporté à la fois le «WTA Championships » et le «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 = \"NewTAChampionship\" INTERSECT SELECT players.country_code, players.first_name FROM players JOIN matches ON players.player_id = matches.winner_id WHERE matches.tourney_name = \"AccoOpenOpenOpen\"", "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": "Quels sont les prénoms et les codes de pays des joueurs qui ont remporté à la fois le «WTA Championships » et le «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 = \"NewTAChampionship\" INTERSECT SELECT players.first_name, players.country_code FROM players JOIN matches ON players.player_id = matches.winner_id WHERE matches.tourney_name = \"AccoOpenOpenOpen\"", "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": "Trouvez le prénom et le code du pays du joueur le plus âgé.", "predicted": "SELECT players.first_name, players.country_code FROM players JOIN matches ON players.player_id = matches.loser_id ORDER BY matches.loser_age 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": "Quel est le prénom et le code du pays du joueur le plus âgé?", "predicted": "SELECT players.first_name, players.country_code FROM players JOIN matches ON players.player_id = matches.loser_id ORDER BY matches.loser_age 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": "Listez le prénom et le nom de tous les joueurs par ordre de leur date de naissance.", "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": "Quels sont les noms complets de tous les joueurs, triés par date de naissance?", "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": "Indiquez le prénom et le nom de famille de tous les joueurs qui sont gauchers «L» dans l'ordre de leur date de naissance.", "predicted": "SELECT players.first_name, players.last_name FROM players WHERE players.hand = \"Def\" 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": "Quels sont les noms complets de tous les joueurs gauchers «L» , par ordre de date de naissance?", "predicted": "SELECT players.first_name, players.last_name FROM players WHERE players.hand = \"BAL\" 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": "Trouvez le prénom et le code du pays du joueur qui a effectué le plus de tournées.", "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": "Quel est le prénom et le code du pays du joueur avec le plus de tournées?", "predicted": "SELECT players.first_name, players.country_code FROM players 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": "Trouvez l'année qui compte le plus de matchs.", "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": "Quelle année a eu le plus de matchs?", "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": "Trouvez le nom et les points de classement du gagnant qui a gagné le plus de fois.", "predicted": "SELECT matches.loser_name, matches.loser_rank_points FROM matches GROUP BY matches.winner_id 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": "Quel est le nom du gagnant qui a remporté le plus de matchs et combien de points de classement ce joueur possède-t-il?", "predicted": "SELECT matches.winner_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": "Trouvez le nom du gagnant qui a le plus de points et qui a participé au tournoi «Australian Open».", "predicted": "SELECT matches.winner_name FROM players JOIN matches ON players.player_id = matches.loser_id WHERE matches.tourney_name = \"AustralianOpen\" 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": 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": 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": "Quel est le nom du gagnant avec le plus de points de classement qui a participé au tournoi «Australian Open»?", "predicted": "SELECT matches.winner_name FROM matches WHERE matches.tourney_name = \"AustralianOpen\" AND matches.winner_rank_points = \"UnitedAmericanOpen\" 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": 1, "rec": 1, "f1": 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": 1, "pred_total": 1}, "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": 1, "rec": 1, "f1": 1, "label_total": 4, "pred_total": 4}}}, {"question": "Trouver les noms du perdant et du gagnant qui ont joué dans le match avec le plus grand nombre de minutes.", "predicted": "SELECT matches.loser_name, matches.winner_name FROM matches ORDER BY matches.minutes Desc LIMIT 1", "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": "Trouvez les noms du perdant et du gagnant du jeu le plus long.", "predicted": "SELECT matches.loser_name, matches.winner_name FROM matches ORDER BY matches.match_num Desc LIMIT 1", "gold": "SELECT winner_name , loser_name FROM matches ORDER BY minutes DESC 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": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}}}, {"question": "Trouvez le classement moyen de chaque joueur et son prénom.", "predicted": "SELECT players.first_name, Avg(players.last_name) FROM players JOIN rankings ON players.player_id = rankings.player_id GROUP BY players.first_name", "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": 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": "Quels sont les prénoms de tous les joueurs et leur classement moyen?", "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": "Trouvez le total des points de classement pour chaque joueur et son prénom.", "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": "Quels sont les prénoms de tous les joueurs et leurs points de classement totaux?", "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": "Trouver le nombre de joueurs de chaque pays.", "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": "Combien de joueurs sont de chaque pays?", "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": "Trouvez le code du pays où il y a le plus grand nombre de joueurs.", "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": "Quel est le code du pays avec le plus de joueurs?", "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": "Trouvez les codes des pays qui comptent plus de 50 joueurs.", "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": "Quels sont les codes des pays avec plus de 50 joueurs?", "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": "Trouvez le nombre total de visites pour chaque date de classement.", "predicted": "SELECT rankings.ranking_date, Sum(rankings.ranking) 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": "Combien de tournées au total y avait-il pour chaque date de classement?", "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": "Trouvez le nombre de matchs qui se sont produits chaque année.", "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": "Combien de matchs ont été joués chaque année?", "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": "Trouvez le nom et le classement des 3 plus jeunes gagnants de tous les matchs.", "predicted": "SELECT matches.loser_name, matches.winner_rank_points FROM matches 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": "Quels sont les noms et les classements des trois plus jeunes gagnants de tous les matches?", "predicted": "SELECT matches.winner_name, matches.winner_rank_points FROM matches 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": "Combien de gagnants différents ont participé aux «WTA Championships» et étaient gauchers?", "predicted": "SELECT Count(*) FROM matches WHERE matches.tourney_name = \"MTAChampionships\" AND matches.winner_hand = \"Defender\"", "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": 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": "Trouvez le nombre de gagnants différents ont participé aux «WTA Championships» et étaient gauchers.", "predicted": "SELECT Count(*) FROM players JOIN matches ON players.player_id = matches.loser_id WHERE matches.tourney_name = \"MTAChampionships\" AND matches.winner_hand = \"n\"", "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": 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": "Trouvez le prénom, le code du pays et la date de naissance du gagnant qui a le plus de points de classement dans tous les matchs.", "predicted": "SELECT players.first_name, players.last_name, players.birth_date FROM players JOIN matches ON players.player_id = matches.loser_id GROUP BY matches.winner_id ORDER BY Count(*) 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": 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": "Quels sont le prénom, le code du pays et la date de naissance du joueur avec le plus de points de classement dans tous les matchs?", "predicted": "SELECT players.first_name, players.last_name, players.birth_date FROM players JOIN rankings ON players.player_id = rankings.player_id GROUP BY rankings.player_id ORDER BY Count(*) 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": 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": "Trouvez le nombre de joueurs de chaque type de main dominante.", "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": "Combien de joueurs y a-t-il pour chaque type de main dominant ?", "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": "Combien de navires ont fini par être «Captured»?", "predicted": "SELECT Count(*) FROM ship WHERE ship.ship_type = \"Artured\"", "gold": "SELECT count(*) FROM ship WHERE disposition_of_ship = 'Captured'", "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": "Listez le nom et le tonnage classés par ordre alphabétique décroissant des noms.", "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": "Listez le nom, la date et le résultat de chaque bataille.", "predicted": "SELECT battle.name, battle.date, battle.result FROM battle", "gold": "SELECT name , date FROM battle", "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": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_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": "Quel est le nombre de morts maximum et minimum causé à chaque fois?", "predicted": "SELECT Max(death.killed), Min(death.killed), death.killed FROM death", "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": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_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": "Quel est le nombre moyen de blessures causées à chaque fois?", "predicted": "SELECT death.injured, Avg(death.injured) FROM death GROUP BY death.injured", "gold": "SELECT avg(injured) FROM death", "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": 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": "Quelles sont les situations de morts et de blessures causées par le navire de tonnage «T»?", "predicted": "SELECT death.killed, death.injured 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": "Quels sont les noms et les résultats des batailles lorsque le commandant bulgare n'est pas «Boril».", "predicted": "SELECT battle.name, battle.result FROM battle WHERE battle.bulgarian_commander != \"Gron\"", "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": "Quels sont les différents ids et les noms des batailles qui ont perdu des navires de type «Brig»?", "predicted": "SELECT DISTINCT battle.id, battle.name FROM battle JOIN ship ON battle.id = ship.lost_in_battle WHERE ship.ship_type = \"Ps\"", "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": "Quels sont les ids et les noms des batailles qui ont fait plus de 10 morts au total.", "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 GROUP BY battle.id HAVING Sum(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": 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": "Quels sont l'id et le nom du navire qui ont causé au total le plus de victimes ?", "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.killed) 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": "Quelle est la différence entre les noms de bataille du commandant bulgare «Kaloyan» et du commandant latin «Baldwin I» ?", "predicted": "SELECT battle.latin_commander FROM battle WHERE battle.bulgarian_commander = \"Midn\" AND battle.latin_commander = \"Bos\" INTERSECT SELECT battle.latin_commander FROM battle WHERE battle.latin_commander = \"Ke\"", "gold": "SELECT name FROM battle WHERE bulgarian_commander = 'Kaloyan' AND latin_commander = 'Baldwin I'", "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": 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": "Combien de résultats différents y a-t-il pour les batailles?", "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": "Dans combien de batailles ont été perdus des navires de tonnage «225» ?", "predicted": "SELECT Count(*) FROM ship WHERE ship.tonnage = 200", "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": "Indiquez le nom et la date de la bataille qui a perdu le navire nommé «Lettice» et le navire nommé «HMS Atalanta».", "predicted": "SELECT battle.name, battle.date FROM battle JOIN ship ON battle.id = ship.lost_in_battle WHERE ship.name = \"Gtice\" INTERSECT SELECT battle.name, battle.date FROM battle JOIN ship ON battle.id = ship.lost_in_battle WHERE ship.name = \"WalMSAta\"", "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": 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": "Affichez les noms, les résultats et les commandants bulgares des batailles sans navire perdu dans la «English Channel».", "predicted": "SELECT battle.name, battle.result, battle.bulgarian_commander FROM battle WHERE battle.id NOT IN (SELECT ship.lost_in_battle FROM ship WHERE ship.location = \"UnitedChannel\")", "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": 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": 0}, "keywords": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 3}}}, {"question": "Quelles sont les notes des événements qui comprennet le texte de «East»", "predicted": "SELECT battle.result FROM battle WHERE battle.latin_commander LIKE \"%i%\"", "gold": "SELECT note FROM death WHERE note LIKE '%East%'", "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": 2, "pred_total": 2}}}, {"question": "Quelles sont toutes les adresses comprenant la ligne 1 et la ligne 2 ?", "predicted": "SELECT Addresses.line_1 FROM Addresses WHERE Addresses.line_1 LIKE \"%%\"", "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": 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": "Quelles sont la première et la deuxième ligne de tous les adresses ?", "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": "Combien de cours au total sont répertoriés ?", "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": "Y a-t-il combien de cours ?", "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": "Comment le cours de «math» est-il décrit ?", "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": "Quelles sont les descriptions de tous les cours de «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": "Quel est le code postal de l'adresse de la ville «Port Chelsea»?", "predicted": "SELECT Addresses.zip_postcode FROM Addresses WHERE Addresses.city = \"PenChelseaChelsea\"", "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": "Quel est le code postal de «Port Chelsea» ?", "predicted": "SELECT Addresses.zip_postcode FROM Addresses WHERE Addresses.city = \"PenChelseaChelseaChelsea\"", "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": "Quel département offre le plus de diplômes ? Répertoriez son nom et son 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": "Quel est le nom et l'id du département ayant le plus de diplômes ?", "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": "Combien de départements offrent un diplôme ?", "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": "Combien de départements différents proposent des diplômes ?", "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": "Combien de noms de diplômes différents sont proposés ?", "predicted": "SELECT Count(DISTINCT Courses.course_name) FROM Courses", "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": "Combien de diplômes différents sont proposés ?", "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": "Combien de diplômes le département de «engineer» propose-t-il ?", "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": "Combien de diplômes le département de «engineer» a-t-il ?", "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": "Quels sont les noms et descriptions de toutes les sections ?", "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": "Quels sont les noms et descriptions pour toutes les sections ?", "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": "Quels sont les noms et ids des cours comportant au plus 2 sections ?", "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": 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": "Quels sont les noms et les ids de chaque cours avec moins de 2 sections ?", "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": "Listez le nom de la section dans l'ordre lexicographique inverse.", "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": "Quels sont les noms des sections dans l'ordre alphabétique inverse ?", "predicted": "SELECT DISTINCT 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": "Quel est le semestre auquel le plus grand nombre des étudiants se sont inscrits? Affichez à la fois le nom et l'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": "Pour chaque semestre, quel est le nom et l'id de celui avec le plus d'étudiants inscrits ?", "predicted": "SELECT Semesters.semester_name, Student_Enrolment.semester_id FROM Semesters JOIN Student_Enrolment ON Semesters.semester_id = Student_Enrolment.semester_id GROUP BY Student_Enrolment.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": "Quelle est la description du département dont le nom a la sous-chaîne «computer» ?", "predicted": "SELECT Departments.department_description FROM Departments WHERE Departments.department_name LIKE \"%Ke%\"", "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": "Quelle est la description de département dont le nom a le mot «computer» ?", "predicted": "SELECT Departments.department_description FROM Departments WHERE Departments.department_name LIKE \"%Ke%\"", "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": "Qui s'est inscrit à deux programmes d'étude en un semestre ? Listez le prénom, le deuxième prénom et le nom de famille et l'id.", "predicted": "SELECT Students.first_name, Students.middle_name, Students.student_id 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": "Quels sont le prénom, le deuxième prénom et le nom de famille, ainsi que les ids, de tous les étudiants qui se sont inscrits à deux programmes d'étude en un semestre ?", "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": "Qui s'est inscrit à un programme d'étude de «Bachelor»? Listez le prénom, le deuxième prénom, le nom de famille.", "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 = \"Ph\"", "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": "Quels sont les prénom, deuxième prénom et nom de famille de toutes les personnes inscrites à un programme d'étude de «Bachelor»?", "predicted": "SELECT Students.first_name, Students.middle_name, Students.last_name FROM Students JOIN Student_Enrolment ON Students.student_id = Student_Enrolment.student_id WHERE Student_Enrolment.degree_program_id = \"Ph\"", "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": 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": 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": "Trouvez le type de programme auquel le plus grand nombre d'étudiants se sont inscrits ?", "predicted": "SELECT Courses.course_name FROM Courses JOIN Student_Enrolment JOIN Student_Enrolment_Courses ON Courses.course_id = Student_Enrolment_Courses.course_id AND Student_Enrolment_Courses.student_enrolment_id = Student_Enrolment.student_enrolment_id GROUP BY Student_Enrolment.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": 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": "Quel est le nom bref de diplôme qui compte le plus grand nombre d'étudiants inscrits ?", "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 Student_Enrolment.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": "Trouvez le programme de diplôme auquel le plus grand nombre d'étudiants se sont inscrits. Indiquez à la fois l'ID et le titre du diplôme.", "predicted": "SELECT Courses.course_id, 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_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": 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": "Quels sont l'id du programme et le nom bref du diplôme qui a le plus d'étudiants inscrits ?", "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": "Quels étudiants se sont inscrits dans le plus de diplômes ? Listez l'id, le prénom, le deuxième prénom, le nom de famille, le nombre d'inscriptions et l'identifiant étudiant.", "predicted": "SELECT Students.student_id, Students.first_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": "Quels sont le prénom, le deuxième prénom et le nom de famille, ainsi que l'identifiant et le nombre d'inscriptions, de l'étudiant qui s'est inscrit dans le plus de cours ?", "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": "À quels semestres aucun étudiant ne s'est inscrit ? Listez le nom du semestre.", "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": "Quel est le nom du semestre sans étudiant inscrit ?", "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": "Quels sont les noms de tous les cours auxquels des étudiants se sont déjà inscrits ?", "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": "Quels sont les noms de tous les cours auxquels certains étudiants se sont inscrits ?", "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": "Quel est le nom du cours avec le plus grand nombre d'inscriptions ?", "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": "Quel est le nom du cours avec le plus d'étudiants inscrits ?", "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": "Trouvez le nom de famille des étudiants qui vivent actuellement dans «North Carolina» mais qui ne se sont inscrits à aucun programme d'études.", "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.state_province_county = \"CCarolinaCarolina\" EXCEPT SELECT Students.last_name FROM Addresses", "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": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "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": "Quel est le nom de famille des étudiants qui vivent du «North Carolina» mais qui ne se sont inscrits à aucun programme d'études ?", "predicted": "SELECT Students.last_name FROM Students WHERE Students.student_id NOT IN (SELECT Student_Enrolment.student_id FROM Student_Enrolment_Courses WHERE Addresses.state_province_county = \"CaliCarolina\") EXCEPT SELECT Student_Enrolment.student_id FROM Addresses", "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": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 4}}}, {"question": "Montrez la date et l'id du bulletin avec au moins 2 résultats de cours.", "predicted": "SELECT Transcripts.transcript_date, Student_Enrolment.degree_program_id FROM Student_Enrolment JOIN Student_Enrolment_Courses ON Student_Enrolment.student_enrolment_id = Student_Enrolment_Courses.student_enrolment_id JOIN Transcripts JOIN Transcript_Contents ON Student_Enrolment_Courses.student_course_id = Transcript_Contents.student_course_id AND Transcript_Contents.transcript_id = Transcripts.transcript_id GROUP BY Transcripts.transcript_date 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": 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": 2, "pred_total": 2}}}, {"question": "Quel est la date et l'id du bulletin avec au moins 2 résultats de cours.", "predicted": "SELECT Transcripts.transcript_date, Transcripts.transcript_date FROM Transcripts GROUP BY Transcripts.transcript_date 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": 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": 2, "pred_total": 2}}}, {"question": "Quel est le numéro de téléphone de la personne avec le prénom «Timmothy» et le nom de famille «Ward» ?", "predicted": "SELECT Students.cell_mobile_number FROM Students WHERE Students.first_name = \"Mmothy\" AND Students.last_name = \"Td\"", "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": "Quel est le numéro de téléphone portable de l'étudiant nommé «Timmothy Ward» ?", "predicted": "SELECT Students.cell_mobile_number FROM Students WHERE Students.first_name = \"Mmothy\" AND Students.last_name = \"Td\"", "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": "Qui est le premier étudiant à s'inscrire ? Indiquez le prénom, le deuxième prénom et le nom de famille.", "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": "Quels sont le prénom, le deuxième prénom et le nom de famille du premier étudiant inscrit ?", "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": "Qui est le premier diplômé de l'école ? Indiquez le prénom, le deuxième prénom et le nom de famille.", "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": "Quel est le prénom, le deuxième prénom et le nom de famille du premier diplômé de l'école ?", "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": "L'adresse permanente de quel étudiant est différente de son adresse actuelle ? Listez son prénom.", "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": "Quel est le prénom de l'étudiant dont l'adresse permanente est différente de la sienne actuelle ?", "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": "Quelle adresse détient actuellement le plus grand nombre d'étudiants? Listez l'ID et la première et la deuxième ligne de l'adresse.", "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": "Quels sont l'id, la première ligne et la deuxième ligne de l'adresse avec le plus d'étudiants ?", "predicted": "SELECT Students.permanent_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": "En moyenne, quand les bulletins ont-ils été imprimés ?", "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": "Quelle est la date moyenne de publication des bulletins de notes ?", "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": "Quand le premier bulletin est-il publié? Indiquez la date et les détails.", "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": "Quelle est la date de publication du bulletin publié le plus tôt,et quels détails pouvez-vous me donner ?", "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": "Combien de bulletins ont été publiés ?", "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": "Combien de bulletins ont été listés ?", "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": "Quelle est la date de publication du dernier bulletin ?", "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": "Quand le dernier bulletin a été publié ?", "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": "Combien de fois au maximum un résultat d'inscription à un cours peut-il apparaître dans différents relevés de notes ? Affichez également l'id d'inscription au cours.", "predicted": "SELECT Student_Enrolment.student_id, Count(*) FROM Student_Enrolment GROUP BY Student_Enrolment.student_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": "Quel est le maximum de fois qu'un cours apparaît dans différents relevés de notes et quel est l'identifiant d'inscription à ce cours?", "predicted": "SELECT Count(*), Student_Enrolment_Courses.student_enrolment_id FROM Student_Enrolment_Courses GROUP BY Student_Enrolment_Courses.student_enrolment_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": "Affichez la date du bulletin qui montre le moins de résultats, listez également l'id.", "predicted": "SELECT Transcripts.transcript_date, Transcripts.other_details 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": "Quels sont la date et l'id du bulletin avec le moins de résultats ?", "predicted": "SELECT Transcripts.transcript_date, Transcripts.other_details FROM Transcripts GROUP BY Transcripts.transcript_id 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": 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": "Trouvez le semestre auquel les étudiants en «Master» et en «Bachelor» se sont inscrits.", "predicted": "SELECT Student_Enrolment.semester_id FROM Student_Enrolment WHERE Student_Enrolment.degree_program_id = \"Comp\" INTERSECT SELECT Student_Enrolment.semester_id FROM Student_Enrolment WHERE Student_Enrolment.degree_program_id = \"P\"", "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": 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": "Quel est l'id du semestre où étaient inscrits à la fois des étudiants en «Master» et des étudiants en «Bachelor» ?", "predicted": "SELECT Student_Enrolment.semester_id FROM Student_Enrolment WHERE Student_Enrolment.degree_program_id = \"Comp\" INTERSECT SELECT Student_Enrolment.semester_id FROM Student_Enrolment WHERE Student_Enrolment.degree_program_id = \"Comp\"", "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": 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": "Combien d'adresses différentes les étudiants vivent-ils actuellement?", "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": "Quelles sont les différentes adresses où les étudiants vivent ?", "predicted": "SELECT DISTINCT Addresses.other_address_details FROM Addresses JOIN Students ON Addresses.address_id = Students.current_address_id", "gold": "SELECT count(DISTINCT current_address_id) FROM Students", "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": "Listez les détails de tous les étudiants dans l'ordre alphabétique inverse.", "predicted": "SELECT * FROM Students ORDER BY Students.other_student_details Desc", "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": 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": "Pouvez-vous me donner d'autres détails sur les étudiants, dans l'ordre alphabétique inverse, ", "predicted": "SELECT Students.other_student_details FROM Students ORDER BY Students.other_student_details Desc", "gold": "SELECT other_student_details FROM Students ORDER BY other_student_details 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": "Décrivez la section «h».", "predicted": "SELECT Sections.section_description FROM Sections WHERE Sections.section_name = \"x\"", "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": "Quelle est la description de la section nommée «h» ?", "predicted": "SELECT Sections.section_description FROM Sections WHERE Sections.section_name = \"x\"", "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": "Trouvez le prénom des étudiants qui résident en permanence dans le pays «Haïti» ou ont le numéro de téléphone portable «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 = \"Man700166582\"", "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": "Quels sont les prénoms des étudiants qui vivent en «Haïti» en permanence ou qui ont le numéro de téléphone portable «09700166582»?", "predicted": "SELECT Students.first_name FROM Students WHERE Students.cell_mobile_number = \"Close\" OR Students.cell_mobile_number = \"NE700166582\"", "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": 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": "Énumérez le titre de tous les dessins animés par ordre alphabétique.", "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": "Quels sont les titres des dessins animés classés par ordre alphabétique ?", "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": "Liste tous les dessins animés réalisés par «Ben Jones».", "predicted": "SELECT Cartoon.Title FROM Cartoon WHERE Cartoon.Directed_by = \"MarkJones\"", "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": "Quels sont les noms de tous les dessins animés réalisés par «Ben Jones» ?", "predicted": "SELECT Cartoon.Title FROM Cartoon WHERE Cartoon.Directed_by = \"MarkJones\"", "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": "Combien de dessins animés ont été écrits par «Joseph Kuhr» ?", "predicted": "SELECT Count(*) FROM Cartoon WHERE Cartoon.Written_by = \"StevenKuKuhr\"", "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": "Quel est le nombre de dessins animés écrits par «Joseph Kuhr» ?", "predicted": "SELECT Count(*) FROM Cartoon WHERE Cartoon.Written_by = \"StevenKuKuhr\"", "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": "Listez tous les titres de dessins animés et leurs réalisateurs classés par date de diffusion", "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": "Quels sont le nom et les réalisateurs de tous les dessins animés classés par date de diffusion?", "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": "Listez les titres de tous les dessins animés réalisés par «Ben Jones» ou «Brandon Vietti».", "predicted": "SELECT Cartoon.Title FROM Cartoon WHERE Cartoon.Directed_by = \"PeterJonesJones\" OR Cartoon.Written_by = \"BlanViet\"", "gold": "SELECT Title FROM Cartoon WHERE Directed_by = \"Ben Jones\" OR Directed_by = \"Brandon Vietti\";", "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": "Quels sont les titres de tous les dessins animés réalisés par «Ben Jones» ou «Brandon Vietti» ?", "predicted": "SELECT Cartoon.Title FROM Cartoon WHERE Cartoon.Directed_by = \"PeterJonesJones\" OR Cartoon.Written_by = \"BlanViet\"", "gold": "SELECT Title FROM Cartoon WHERE Directed_by = \"Ben Jones\" OR Directed_by = \"Brandon Vietti\";", "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": "Quel pays a le plus de chaînes de télévision ? Indiquez le pays et le nombre de chaînes de télévision dont il dispose.", "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": "Quel est le pays avec le plus grand nombre de chaînes de télévision et combien en possède-t-il ?", "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": "Indiquez le nombre de noms de séries et de contenus différents dans le tableau des chaînes de télévision.", "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": "Combien de séries et de contenus différents sont répertoriés dans le tableau des chaînes de télévision ?", "predicted": "SELECT Count(DISTINCT TV_Channel.Content), Count(DISTINCT TV_Channel.Content) FROM TV_Channel JOIN TV_series ON TV_Channel.id = TV_series.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": "Quel est le contenu de la chaîne de télévision avec le nom de séries «Sky Radio» ?", "predicted": "SELECT TV_Channel.Content FROM TV_Channel WHERE TV_Channel.series_name = \"NRadioRadio\"", "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": "Quel est le contenu de la série Sky Radio?", "predicted": "SELECT TV_Channel.Content FROM TV_Channel WHERE TV_Channel.series_name = \"TVRadio\"", "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": "Quelle est l'option de forfait de la chaîne de télévision avec le nom de série «Sky Radio» ?", "predicted": "SELECT TV_Channel.Package_Option FROM TV_Channel WHERE TV_Channel.series_name = \"TVRadio\"", "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": "Quelles sont les options de forfait des chaînes de télévision dont le nom de série sont «Sky Radio» ?", "predicted": "SELECT TV_Channel.Package_Option FROM TV_Channel WHERE TV_Channel.series_name = \"TVRadio\"", "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": "Combien de chaînes de télévision utilisant la langue «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": "Combien de chaînes de télévision utilisent la langue «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": "Listez la langue utilisée la moins fréquente de chaînes de télévision et le numéro de cette chaîne de télévision.", "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": "Quelles sont les langues utilisées par le moins de chaînes de télévision et combien de chaînes l'utilisent?", "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": "Énumérez chaque langue et le nombre de chaînes de télévision qui l'utilisent.", "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": "Pour chaque langue, indiquez le nombre de chaînes TV qui l'utilisent.", "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": "Quelle est la chaîne de télévision qui diffuse le dessin animé «The Rise of the Blue Beetle!» ? Listez le nom de la série de la chaîne de télévision.", "predicted": "SELECT TV_Channel.series_name FROM TV_Channel JOIN Cartoon ON TV_Channel.id = Cartoon.Channel WHERE Cartoon.Title = \"TheRisofofBlueBeetle\"", "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": "Quel est le nom de la série de la chaîne de télévision diffusant le dessin animé «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 = \"TheRisRisofBeBeetle\"", "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": "Listez le titre de tous les dessins animés diffusés sur la chaîne de télévision avec le nom de la série «Sky Radio».", "predicted": "SELECT Cartoon.Title FROM TV_Channel JOIN Cartoon ON TV_Channel.id = Cartoon.Channel WHERE TV_Channel.series_name = \"sRadioRadio\"", "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": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "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": "Quel est le titre de tous les dessins animés qui sont diffusés sur la chaîne de télévision avec le nom de la série «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 = \"sRadioRadio\"", "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": "Énumérez l'épisode de toutes les séries de télévision triées par audience.", "predicted": "SELECT TV_series.Episode FROM TV_series ORDER BY TV_series.Viewers_m Asc", "gold": "SELECT Episode FROM TV_series ORDER BY rating", "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": "Quels sont tous les épisodes classés par audience ?", "predicted": "SELECT TV_series.Episode FROM TV_series ORDER BY TV_series.Viewers_m Asc", "gold": "SELECT Episode FROM TV_series ORDER BY rating", "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": "Listez les 3 séries télévisées les mieux notées. Listez les épisodes et des classements des séries télévisées.", "predicted": "SELECT TV_series.Episode, TV_series.Weekly_Rank 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": 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": "Quels sont les 3 épisodes les mieux classés dans le tableau des séries télévisées et quelles sont les notes ?", "predicted": "SELECT TV_series.Episode, TV_series.Rating FROM TV_series ORDER BY TV_series.Weekly_Rank Desc LIMIT 3", "gold": "SELECT Episode , Rating FROM TV_series ORDER BY Rating DESC LIMIT 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": 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": 3, "pred_total": 3}}}, {"question": "Quelle est la part minimale et maximale des séries télévisées ?", "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": "Quelle est la part maximale et minimale de la série télévisée ?", "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": "Quelle est la date de diffusion de la série télévisée avec l'épisode «A Love of a Lifetime» ?", "predicted": "SELECT TV_series.Air_Date FROM TV_series WHERE TV_series.Episode = \"ALoveofaLifeLifeLife\"", "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": "Quand l'épisode «A Love of a Lifetime» a-t-il été diffusé ?", "predicted": "SELECT TV_series.Air_Date FROM TV_series WHERE TV_series.Episode = \"ALoveofaLifeLifetime\"", "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": "Quels sont les classements hebdomadaires des séries télévisées de l'épisode «A Love of a Lifetime» ?", "predicted": "SELECT TV_series.Weekly_Rank FROM TV_series WHERE TV_series.Episode = \"ALoveofaLifeLife\"", "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": "Quel est le classement hebdomadaire de l'épisode «A Love of a Lifetime» ?", "predicted": "SELECT TV_series.Weekly_Rank FROM TV_series WHERE TV_series.Episode = \"ALoveofaLifeLife\"", "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": "Quelle est la chaîne de télévision de la série télévisée avec l'épisode «A Love of a Lifetime» ? Liste le nom de la série de la chaîne de télévision.", "predicted": "SELECT TV_Channel.series_name FROM TV_Channel JOIN TV_series ON TV_Channel.id = TV_series.Channel WHERE TV_series.Episode = \"ALoveofaLifeLifeLife\"", "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": "Quel est le nom de la série qui a l'épisode «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 = \"ALoveofaLifeLifeLife\"", "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": "Listez l'épisode de toutes les séries télévisées diffusées sur la chaîne de télévision avec le nom de la série «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 = \"TVRadio\"", "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": "Quels est l'épisode de la chaîne de télévision qui diffuse la série télévisée «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 = \"TVRadio\"", "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": "Trouvez le nombre de dessins animés réalisés par chaque réalisateur répertorié.", "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": "Combien de dessins animés chaque réalisateur a-t-il créés?", "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": "Trouvez le code de production et la chaîne du dessin animé le plus récemment diffusé.", "predicted": "SELECT Cartoon.Production_code, Cartoon.Channel FROM Cartoon ORDER BY Cartoon.Channel 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": 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": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}}}, {"question": "Quel est le code de production et la chaîne du dessin animé le plus récent?", "predicted": "SELECT Cartoon.Production_code, Cartoon.Channel FROM Cartoon ORDER BY Cartoon.Channel 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": 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": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}}}, {"question": "Trouvez le choix de forfait et le nom de la série de la chaîne de télévision qui a la télévision à haute définition.", "predicted": "SELECT TV_Channel.Package_Option, TV_Channel.series_name FROM TV_Channel WHERE TV_Channel.Hight_definition_TV = \"Universal\"", "gold": "SELECT package_option , series_name FROM TV_Channel WHERE hight_definition_TV = \"yes\"", "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": "Quelles sont les options de forfait et le nom des séries pour la chaîne de télévision qui prend en charge la télévision à haute définition ?", "predicted": "SELECT TV_Channel.Package_Option, TV_Channel.series_name FROM TV_Channel WHERE TV_Channel.Hight_definition_TV = \"Universal\"", "gold": "SELECT package_option , series_name FROM TV_Channel WHERE hight_definition_TV = \"yes\"", "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": "les chaînes de télévision de quels pays diffusent des dessins animés écrits par «Todd Casey»?", "predicted": "SELECT TV_Channel.Country FROM TV_Channel JOIN Cartoon ON TV_Channel.id = Cartoon.Channel WHERE Cartoon.Written_by = \"TddCasey\"", "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": "Quels sont les pays où des dessins animés à la télévision ont été écrits par «Todd Casey»?", "predicted": "SELECT TV_Channel.Country FROM TV_Channel JOIN Cartoon ON TV_Channel.id = Cartoon.Channel WHERE Cartoon.Written_by = \"TddCasey\"", "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": "Les chaînes de télévision de quels pays ne diffusent aucun dessin animé écrit par «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 = \"TddCaseCasey\"", "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": "Quels sont les pays qui ne diffusent pas les dessins animés écrits par «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 = \"TddCaseCasey\"", "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": "Trouvez le nom de la série et le pays de la chaîne de télévision qui diffuse des dessins animés réalisés par «Ben Jones» et «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 = \"WalterJones\" AND Cartoon.Written_by = \"WalterChang\" INTERSECT SELECT TV_Channel.series_name, TV_Channel.Country FROM TV_Channel JOIN Cartoon ON Cartoon.Channel = TV_Channel.id WHERE Cartoon.Written_by = \"ChrisChang\"", "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": 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": 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": 1}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "Quels sont le nom de la série et le pays de toutes les chaînes de télévision qui diffusent des dessins animés réalisés par «Ben Jones» et des dessins animés réalisés par «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 = \"WalterJones\" INTERSECT SELECT TV_Channel.series_name, TV_Channel.Country FROM TV_Channel JOIN Cartoon ON Cartoon.Channel = TV_Channel.id WHERE Cartoon.Directed_by = \"WalterChang\"", "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": "Trouvez le format d'image et la nation des chaînes de télévision qui n'utilisent pas l'«anglais».", "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": "Quels sont le ratio d'aspect en pixel et le pays d'origine de toutes les chaînes de télévision qui n'utilisent pas l'«anglais» ?", "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": "Trouvez l'id des chaînes de télévision des pays où il y a plus de deux chaînes de télévision.", "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": "Quels sont les ids de toutes les chaînes de télévision qui ont plus de 2 chaînes de télévision ?", "predicted": "SELECT TV_Channel.id FROM TV_Channel GROUP BY TV_Channel.id 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": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_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": "Trouvez l'id des chaînes de télévision qui ne jouent aucun dessin animé réalisé par «Ben Jones».", "predicted": "SELECT Cartoon.id FROM Cartoon EXCEPT SELECT Cartoon.Channel FROM Cartoon WHERE Cartoon.Directed_by = \"WalJones\"", "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": 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": 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": "Quels sont les ids des chaînes de télévision qui n'ont pas de dessins animés réalisés par «Ben Jones»?", "predicted": "SELECT Cartoon.id FROM Cartoon EXCEPT SELECT Cartoon.Channel FROM Cartoon WHERE Cartoon.Directed_by = \"WalJonesJones\"", "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": 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": 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": "Trouvez l'option de forfait de la chaîne de télévision qui n'a pas de dessin animé réalisé par «Ben Jones».", "predicted": "SELECT TV_Channel.Package_Option FROM TV_Channel EXCEPT SELECT TV_Channel.Package_Option FROM TV_Channel JOIN Cartoon ON TV_Channel.id = Cartoon.Channel WHERE Cartoon.Directed_by = \"WalJonesJones\"", "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": "Quelles sont les options de forfait de toutes les chaînes de télévision qui ne jouent aucun dessin animé réalisé par «Ben Jones»?", "predicted": "SELECT TV_Channel.Package_Option FROM TV_Channel EXCEPT SELECT TV_Channel.Package_Option FROM TV_Channel JOIN Cartoon ON TV_Channel.id = Cartoon.Channel WHERE Cartoon.Directed_by = \"WalJonesJones\"", "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": "Combien de joueurs de poker y a-t-il ?", "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": "Comptez le nombre de joueurs de poker.", "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": "Listez les gains des joueurs de poker par ordre décroissant.", "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": "Quels sont les gains des joueurs de poker, classés par ordre décroissant de valeur?", "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": "Listez les tables de finale et les meilleures notes finales des joueurs de poker.", "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": "Quelles sont les tables de finale et les meilleures notes finales pour tous les joueurs de poker?", "predicted": "SELECT poker_player.Final_Table_Made, poker_player.Best_Finish FROM poker_player ORDER BY poker_player.Final_Table_Made Desc LIMIT 1", "gold": "SELECT Final_Table_Made , Best_Finish FROM poker_player", "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": 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": "Quels sont les gains moyens des joueurs de poker?", "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": "Renvoyez les gains moyens de tous les joueurs de poker.", "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": "Quel est le rang d'argent du joueur de poker avec les gains les plus élevés?", "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": "Indiquez le rang d'argent du joueur avec les gains les plus élevés", "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": "Quel est le nombre maximum de tables de finale des joueurs de poker avec des gains inférieurs à 200 000?", "predicted": "SELECT Max(poker_player.Final_Table_Made) FROM poker_player WHERE poker_player.Earnings < 200", "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": "Renvoyez le maximum de tables de finale de tous les joueurs de poker dont les gains sont inférieurs à 200 000.", "predicted": "SELECT Max(poker_player.Final_Table_Made) FROM poker_player WHERE poker_player.Earnings < 10000", "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": "Quels sont les noms des joueurs de poker?", "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": "Listez les noms de tous les joueurs de poker ?", "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": "Quels sont les noms des joueurs de poker dont les gains sont supérieurs à 300 000?", "predicted": "SELECT people.Name FROM poker_player JOIN people ON poker_player.People_ID = people.People_ID WHERE poker_player.Earnings > 300", "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": "Donnez-moi les noms des joueurs de poker qui ont des gains supérieurs à 300 000.", "predicted": "SELECT people.Name FROM poker_player JOIN people ON poker_player.People_ID = people.People_ID WHERE poker_player.Earnings > 300", "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": "Listez les noms des joueurs de poker par ordre croissant des tables de finale.", "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": "Quels sont les noms des joueurs de poker, classés par ordre croissant du nombre de tables de finale qu'ils ont faites?", "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": "Quelle est la date de naissance du joueur de poker avec les revenus les plus bas ?", "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": "Montrez la date de naissance du joueur de poker avec les revenus les plus bas?", "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": "Quel est le rang d'argent du plus grand joueur de poker ?", "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": "Renvoyer le rang d'argent du plus grand joueur de poker ?", "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": "Quels sont les gains moyens des joueurs de poker d'une taille supérieure à 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": "Donnez les gains moyens des joueurs de poker dont la taille est supérieure à 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": "Quels sont les noms des joueurs de poker par ordre décroissant de gains?", "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": "Listez les noms des joueurs de poker triés par ordre décroissant de leurs gains .", "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": "Quelles sont les différentes nationalités de personnes et le nombre correspondant de personnes de chaque nation?", "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": "Il y a combien de personnes de chaque nation ?", "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": "Quelle est la nationalité la plus courante ?", "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": "Donnez-moi la nationalité la plus commune.", "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": "Quelles sont les nationalités partagées par au moins deux personnes ?", "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": "Indiquez les nationalités pour lesquelles il y a deux personnes ou plus.", "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": "Énumérez les noms et les dates de naissance des personnes dans l'ordre alphabétique croissant des noms.", "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": "Quels sont les noms et dates de naissance des personnes, classés par ordre alphabétique de leurs noms ?", "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": "Affichez les noms des personnes dont la nationalité n'est pas «Russia».", "predicted": "SELECT people.Name FROM people WHERE people.Nationality != \"Ice\"", "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": "Quels sont les noms de personnes qui ne viennent pas de «Russia» ?", "predicted": "SELECT people.Name FROM people WHERE people.Nationality != \"Ice\"", "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": "Listez les noms de personnes qui ne sont pas des joueurs de poker.", "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": "Quels sont les noms des personnes qui ne jouent pas au poker ?", "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": "Combien de nationalités distinctes y a-t-il?", "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": "Comptez le nombre de nationalités différentes.", "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": "Combien d'états y a-t-il ?", "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": "Listez les numéros et les noms des candidats, classés par ordre décroissant des noms.", "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": "Répertoriez les ids de vote, les numéros de téléphone et les états de tous les votes.", "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": "Quelles sont les valeurs maximales et minimales des indicatifs régionaux?", "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": "Quelle est la dernière date créée des votes de l'état «CA» ?", "predicted": "SELECT Max(VOTES.created) FROM AREA_CODE_STATE JOIN VOTES ON AREA_CODE_STATE.state = VOTES.state WHERE AREA_CODE_STATE.state = \"CA\"", "gold": "SELECT max(created) FROM votes WHERE state = 'CA'", "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": "Quels sont les noms des candidats dont les noms ne sont pas «Jessie Alloway» ?", "predicted": "SELECT CONTESTANTS.contestant_name FROM CONTESTANTS WHERE CONTESTANTS.contestant_name != \"Goods\"", "gold": "SELECT contestant_name FROM contestants WHERE contestant_name != 'Jessie Alloway'", "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": "Quels sont les états distincts et temps de création de tous les votes ?", "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": "Quels sont les numéros et les noms des candidats qui ont eu au moins deux votes?", "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": "Parmi tous les candidats, quesl sont le numéro et le nom du candidat qui a obtenu le moins de votes ?", "predicted": "SELECT CONTESTANTS.contestant_number, CONTESTANTS.contestant_name FROM CONTESTANTS JOIN VOTES ON CONTESTANTS.contestant_number = VOTES.contestant_number GROUP BY VOTES.contestant_number ORDER BY Count(*) 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": 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": "Quel est le nombre de votes de l'état «NY» ou «CA» ?", "predicted": "SELECT VOTES.state FROM AREA_CODE_STATE JOIN VOTES ON AREA_CODE_STATE.state = VOTES.state WHERE AREA_CODE_STATE.state = \"NY\" OR AREA_CODE_STATE.state = \"BAL\"", "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": "Combien de candidats n'ont pas été votés ?", "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": "Quel est l'indicatif régional dans lequel le plus grand nombre d'électeurs ont voté?", "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.area_code 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": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no 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": "Quels sont les dates de création, les états et les numéros de téléphone des votes pour le candidat nommé «Tabatha Gehling»?", "predicted": "SELECT VOTES.created, VOTES.state, VOTES.phone_number FROM CONTESTANTS JOIN VOTES ON CONTESTANTS.contestant_number = VOTES.contestant_number WHERE CONTESTANTS.contestant_name = \"GthaGehGehling\"", "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": 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": "Listez les indicatifs régionaux dans lesquels les électeurs ont voté à la fois pour le candidat «Tabatha Gehling» et le candidat «Kelly Clauss».", "predicted": "SELECT VOTES.state 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 = \"Aptha\" INTERSECT SELECT VOTES.state FROM AREA_CODE_STATE JOIN CONTESTANTS 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": 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": "Listez les noms des candidats dont les noms contiennent la sous-chaîne «Al».", "predicted": "SELECT CONTESTANTS.contestant_name FROM CONTESTANTS WHERE CONTESTANTS.contestant_name LIKE \"%en%\"", "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": "Quels sont les noms de tous les pays devenus indépendants après 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": "Donnez les noms des nations fondées après 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": "Combien de pays ont le «republic» comme forme gouvernementale ?", "predicted": "SELECT Count(*) FROM country WHERE country.GovernmentForm = \"E\"", "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": "Combien de pays ont des gouvernements qui sont des «republic» ?", "predicted": "SELECT Count(DISTINCT country.Name) FROM country", "gold": "SELECT count(*) FROM country WHERE GovernmentForm = \"Republic\"", "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": 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": "Quelle est la superficie totale des pays de la région des «Caraïbes»?", "predicted": "SELECT Sum(country.SurfaceArea) FROM country WHERE country.Region = \"North\"", "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": "Quelle superficie les pays des «Caraïbes» couvrent-ils ensemble?", "predicted": "SELECT Sum(country.SurfaceArea) FROM country WHERE country.Continent = \"North\"", "gold": "SELECT sum(SurfaceArea) FROM country WHERE Region = \"Caribbean\"", "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": "Dans quel continent se trouve «Anguilla»?", "predicted": "SELECT country.Continent FROM country WHERE country.Name = \"inailla\"", "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": "Quel est le nom du continent auquel appartient «Anguilla»?", "predicted": "SELECT country.Continent FROM country WHERE country.Name = \"Hoiilla\"", "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": "Dans quelle région se trouve la ville de «Kaboul»?", "predicted": "SELECT city.District FROM city WHERE city.Name = \"bouboul\"", "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": "Dans quelle région se trouve «Kaboul»?", "predicted": "SELECT country.Region FROM country WHERE country.LocalName = \"Reboul\"", "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": 1, "rec": 1, "f1": 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": "Quelle langue est la plus populaire à «Aruba»?", "predicted": "SELECT countrylanguage.Language FROM country JOIN countrylanguage ON country.Code = countrylanguage.CountryCode WHERE country.LocalName = \"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": 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": 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": "Quelle langue est principalement parlée à «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": "Quelle est la population et l'espérance de vie au «Brazil» ?", "predicted": "SELECT country.Population, country.LifeExpectancy FROM country WHERE country.Name = \"B\"", "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": "Donnez-moi la population et les espérances de vie du «Brazil».", "predicted": "SELECT country.Population, country.LifeExpectancy FROM country WHERE country.Name = \"B\"", "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": "Quelle est la région et la population de l'«Angola»?", "predicted": "SELECT country.Region, country.Population FROM country WHERE country.Name = \"East\"", "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": "À quelle région appartient l'«Angola» et quelle est sa population?", "predicted": "SELECT country.Region, country.Population FROM country WHERE country.Name = \"E\"", "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": "Quelle est l'espérance de vie moyenne prévue pour les pays de la région du «Central Africa»?", "predicted": "SELECT Avg(country.LifeExpectancy) FROM country WHERE country.Region = \"Canada\"", "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": "Quelle est l’espérance de vie moyenne de la population en «Central Africa» ?", "predicted": "SELECT Avg(country.LifeExpectancy) FROM country WHERE country.Region = \"Canada\"", "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": "Quel est le nom du pays dont l'espérance de vie est la plus courte en «Asia»?", "predicted": "SELECT country.Name FROM country WHERE country.Continent = \"East\" 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": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "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": 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": "Donnez le nom du pays d'«Asia» avec l'espérance de vie la plus courte.", "predicted": "SELECT country.Name FROM country WHERE country.Continent = \"East\" 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": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "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": 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": "Quelle est la population totale et le PNB maximal en «Asia»?", "predicted": "SELECT Sum(country.Population), Max(country.GNP) FROM country WHERE country.Continent = \"United\"", "gold": "SELECT sum(Population) , max(GNP) FROM country WHERE Continent = \"Asia\"", "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": "Combien de personnes vivent en «Asia» et quel est le PNB le plus élevé parmi elles?", "predicted": "SELECT Max(country.Population), Max(country.GNP) FROM country WHERE country.Continent = \"United\"", "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": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "Quelle est l'espérance de vie moyenne dans les pays «Africa»«republic» ?", "predicted": "SELECT Avg(country.LifeExpectancy) FROM country WHERE country.Continent = \"Australia\"", "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": "Montrez l'espérance de vie moyenne des pays «Africa»«republic» ?", "predicted": "SELECT Avg(country.LifeExpectancy) FROM country WHERE country.Continent = \"Australia\"", "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": "Quelle est la superficie totale des continents pays «Asia» et «Europe» ?", "predicted": "SELECT Sum(country.SurfaceArea) FROM country WHERE country.Continent = \"USA\" OR country.Continent = \"Uniteden\"", "gold": "SELECT sum(SurfaceArea) FROM country WHERE Continent = \"Asia\" OR Continent = \"Europe\"", "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": "Donnez la superficie totale couverte par les pays d'«Asia» ou d'«Europe».", "predicted": "SELECT Sum(country.SurfaceArea) FROM country WHERE country.Continent = \"USA\" OR country.Continent = \"Tai\"", "gold": "SELECT sum(SurfaceArea) FROM country WHERE Continent = \"Asia\" OR Continent = \"Europe\"", "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": "Combien de personnes vivent dans le district de «Gelderland»?", "predicted": "SELECT city.Population FROM city WHERE city.District = \"Gierland\"", "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": "Quelle est la population totale du district de «Gelderland»?", "predicted": "SELECT Sum(city.Population) FROM city WHERE city.District = \"Gierland\"", "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": "Quel est le PNB moyen et la population totale de toutes les nations dont le gouvernement est le «US territory» ?", "predicted": "SELECT Avg(country.GNP), Avg(country.Population) FROM country WHERE country.Region = \"Unitedterritor\"", "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": 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": "Donnez le PNB moyen et la population totale des nations considérées comme «US territory».", "predicted": "SELECT Avg(country.GNP), Sum(country.Population) FROM country WHERE country.Region = \"Unitedterritor\"", "gold": "SELECT avg(GNP) , sum(population) FROM country WHERE GovernmentForm = \"US Territory\"", "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": "Combien de langues différentes sont parlées dans le monde ?", "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": "Quel est le nombre de langues distinctes utilisées dans le monde ?", "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": "Combien de types de gouvernements existe-t-il en «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": "Combien de formes différentes de gouvernement y a-t-il en «Africa»?", "predicted": "SELECT Count(DISTINCT country.GovernmentForm) FROM country WHERE country.Continent = \"E\"", "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": "Quel est le nombre total de langues utilisées à «Aruba» ?", "predicted": "SELECT Count(countrylanguage.Language) FROM countrylanguage WHERE countrylanguage.CountryCode = \"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": 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": "Combien de langues sont parlées à «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": "Combien de langues officielles a-t-il en «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": "Combien de langues officielles sont parlées en «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": "Quel est le nom du pays qui parle le plus grand nombre de langues ?", "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": "Donnez le nom de la nation qui utilise le plus de langues.", "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": "Quel continent a le plus de langues diverses ?", "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": "Quel continent parle le plus de langues ?", "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": "Combien de pays parlent «English» et «Deutch» ?", "predicted": "SELECT Count(*) FROM country JOIN countrylanguage ON country.Code = countrylanguage.CountryCode WHERE countrylanguage.Language = \"english\" INTERSECT SELECT * FROM countrylanguage WHERE countrylanguage.Language = \"animal\"", "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": "Quel est le nombre de pays qui utilisent «English» et «Dutch» ?", "predicted": "SELECT Count(*) FROM country JOIN countrylanguage ON country.Code = countrylanguage.CountryCode WHERE countrylanguage.Language = \"english\" 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": "Quels sont les noms des nations qui parlent «English» et «French»?", "predicted": "SELECT country.Name FROM country JOIN countrylanguage ON country.Code = countrylanguage.CountryCode WHERE countrylanguage.Language = \"F\" 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": "Donnez les noms des nations qui parlent «English» et «French».", "predicted": "SELECT country.Name FROM country JOIN countrylanguage ON country.Code = countrylanguage.CountryCode WHERE countrylanguage.Language = \"F\" 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": "Quels sont les noms des nations où le «English» et le «French» sont les langues officielles?", "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": "Donnez les noms des pays où le «English» et le «French» sont les langues officielles.", "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": "Quel est le nombre de continents distincts où on parle «Chinese» ?", "predicted": "SELECT Count(DISTINCT country.Continent) FROM country JOIN countrylanguage ON country.Code = countrylanguage.CountryCode WHERE countrylanguage.Language = \"China\"", "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": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "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": "Combien de continents parlent «Chinese»?", "predicted": "SELECT Count(DISTINCT country.Continent) FROM country JOIN countrylanguage ON country.Code = countrylanguage.CountryCode WHERE countrylanguage.Language = \"China\"", "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": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "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": "Quelles sont les régions qui utilisent le «English» et le «Dutch» ?", "predicted": "SELECT country.Region FROM country JOIN countrylanguage ON country.Code = countrylanguage.CountryCode WHERE countrylanguage.Language = \"UK\" INTERSECT SELECT country.Region FROM country JOIN countrylanguage ON country.Code = countrylanguage.CountryCode WHERE 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": 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": 0, "pred_total": 1}, "keywords": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 2}}}, {"question": "Quelles régions parlent «Dutch» et le «English» ?", "predicted": "SELECT country.Region FROM country JOIN countrylanguage ON country.Code = countrylanguage.CountryCode WHERE countrylanguage.Language = \"UK\" INTERSECT SELECT country.Region FROM country JOIN countrylanguage ON country.Code = countrylanguage.CountryCode WHERE 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": 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": 0, "pred_total": 1}, "keywords": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 2}}}, {"question": "Quels sont les pays où le «English» ou le «Dutch» est la langue officielle?", "predicted": "SELECT country.Continent FROM country JOIN countrylanguage ON country.Code = countrylanguage.CountryCode WHERE countrylanguage.Language = \"UK\" OR countrylanguage.IsOfficial = \"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": 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": 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": "Quels pays ont le «English» ou le «Ducth» comme langue officielle ?", "predicted": "SELECT country.Name FROM country JOIN countrylanguage ON country.Code = countrylanguage.CountryCode WHERE countrylanguage.Language = \"UK\" OR countrylanguage.Language = \"Turcth\"", "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": "Quelle langue est la plus populaire en «Asia»?", "predicted": "SELECT countrylanguage.Language FROM country JOIN countrylanguage ON country.Code = countrylanguage.CountryCode WHERE country.Continent = \"United\" 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": "Quelle est la langue utilisée par le plus grand nombre de pays en «Asia»?", "predicted": "SELECT countrylanguage.Language FROM country JOIN countrylanguage ON country.Code = countrylanguage.CountryCode WHERE country.Continent = \"United\" 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": "Quelles langues sont parlées par un seul pays dans les gouvernements «republic»?", "predicted": "SELECT countrylanguage.Language FROM country JOIN countrylanguage ON country.Code = countrylanguage.CountryCode WHERE country.GovernmentForm = \"Canada\" 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": "Quelles langues ne sont utilisées que par un seul pays avec un gouvernement de «republic»?", "predicted": "SELECT countrylanguage.Language FROM country JOIN countrylanguage ON country.Code = countrylanguage.CountryCode WHERE country.GovernmentForm = \"null\" 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": "Trouvez la ville avec la plus grande population qui utilise le «English».", "predicted": "SELECT city.Name FROM city WHERE city.Population = (SELECT Max(city.Population) FROM countrylanguage WHERE countrylanguage.Language = \"english\") AND city.ID = \"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": 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": "Quelle est la ville avec la plus grande population qui utilise le «English».", "predicted": "SELECT city.Name FROM city WHERE city.Population = (SELECT Max(city.Population) FROM countrylanguage WHERE countrylanguage.Language = \"english\") AND city.ID = \"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": 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": "Trouvez le nom, la population et la durée de vie prévue du pays «Asia» avec la plus grande superficie ?", "predicted": "SELECT country.Name, country.Population, country.LifeExpectancy FROM country WHERE country.Continent = \"Unitedsa\"", "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": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 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": "Quels sont le nom, la population et l'espérance de vie du plus grand pays «Asia» par territoire ?", "predicted": "SELECT country.Name, country.Population, country.LifeExpectancy FROM country WHERE country.Continent = \"Unitedsa\" AND country.SurfaceArea = (SELECT Max(country.SurfaceArea) FROM country WHERE country.Continent = \"Uniteda\")", "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": "Quelle est l'espérance de vie moyenne dans les pays où le «English» n'est pas la langue officielle?", "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": "Donnez l'espérance de vie moyenne des pays dans lesquels le «English» «n'est pas» la langue officielle.", "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": "Quel est le nombre total de personnes vivant dans les nations qui n'utilisent pas le «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": "Combien de personnes vivent dans les pays qui ne parlent pas «English»?", "predicted": "SELECT 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": "Quelle est la langue officielle parlée dans le pays dont le chef d'Etat est «Beatrix»?", "predicted": "SELECT countrylanguage.Language FROM country JOIN countrylanguage ON country.Code = countrylanguage.CountryCode WHERE country.HeadOfState = \"Robins\"", "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": "Quelle est la langue officielle utilisée dans le pays dont le chef d'État est «Beatrix».", "predicted": "SELECT countrylanguage.Language FROM country JOIN countrylanguage ON country.Code = countrylanguage.CountryCode WHERE country.HeadOfState = \"Robins\"", "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": "Quel est le nombre total de langues officielles uniques parlées dans les pays fondés avant 1930 ?", "predicted": "SELECT Count(DISTINCT countrylanguage.Language) FROM country JOIN countrylanguage ON country.Code = countrylanguage.CountryCode WHERE country.IndepYear < 30", "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": "Pour les pays fondés avant 1930, quel est le nombre total des langues officielles distinctes?", "predicted": "SELECT Count(DISTINCT countrylanguage.Language) FROM country JOIN countrylanguage ON country.Code = countrylanguage.CountryCode WHERE country.IndepYear < 30", "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": "Quels sont les pays qui ont une superficie plus grande que n'importe quel pays de «Europe» ?", "predicted": "SELECT country.Name FROM country WHERE country.SurfaceArea > (SELECT Max(country.SurfaceArea) FROM country WHERE country.Continent = \"Unitedench\")", "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": "Quels pays ont une superficie plus grande que celle de n'importe quel pays de «Europe»?", "predicted": "SELECT country.Name FROM country WHERE country.SurfaceArea > (SELECT Min(country.SurfaceArea) FROM country WHERE country.Continent = \"Unitedench\")", "gold": "SELECT Name FROM country WHERE SurfaceArea > (SELECT min(SurfaceArea) FROM country WHERE Continent = \"Europe\")", "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": "Quels sont les pays de «Africa» qui ont une population inférieure à celle de n'importe quel pays de «Asia» ?", "predicted": "SELECT country.Name FROM country WHERE country.Population < (SELECT Min(country.Population) FROM country WHERE country.Continent = \"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": "Quels pays de «Africa» ont une population plus petite que celle de n'importe quel pays de «Asia»?", "predicted": "SELECT country.Name FROM country WHERE country.Population < (SELECT Min(country.Population) FROM country WHERE country.Continent = \"Australia\")", "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": "Quels pays de «Asia»ont une population plus grande que celle de n'importe quel pays de «Africa» ?", "predicted": "SELECT country.Name FROM country WHERE country.Population > (SELECT Max(country.Population) FROM country WHERE country.Continent = \"Australia\")", "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": "Quels sont les pays de «Asia» dont la population est supérieure à celle de n'importe quel pays de «Africa» ?", "predicted": "SELECT country.Name FROM country WHERE country.Population > (SELECT Max(country.Population) FROM country WHERE country.Continent = \"Australia\")", "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": "Quels sont les codes de pays pour les pays qui ne parlent pas «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": "Montrez les codes de pays pour les pays qui ne parlent pas «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": "Quels sont les codes de pays où les gens utilisent des autres langues au lieu de le «English»?", "predicted": "SELECT DISTINCT countrylanguage.CountryCode FROM countrylanguage WHERE countrylanguage.Language != \"english\" EXCEPT 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": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "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": "Donnez les codes de pays dans lesquels les gens parlent des autres langues au lieu de le «English».", "predicted": "SELECT DISTINCT countrylanguage.CountryCode FROM countrylanguage EXCEPT 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": 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": 1, "pred_total": 1}}}, {"question": "Quels sont les codes des pays qui ne parlent pas «English» et dont les formes de gouvernement ne sont pas «republic» ?", "predicted": "SELECT country.Code FROM country WHERE country.GovernmentForm != \"USA\" EXCEPT 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": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "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": "Indiquez les codes des pays qui ne parlent pas «English» et n'ont pas de «republic» pour les gouvernements.", "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": "Quelles sont les villes de «Europe» où le «English» n'est pas la langue officielle ?", "predicted": "SELECT city.Name FROM city JOIN country ON city.CountryCode = country.Code JOIN countrylanguage ON country.Code = countrylanguage.CountryCode WHERE country.Continent = \"United\" AND countrylanguage.Language != \"Tai\"", "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": 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": 0, "rec": 0, "f1": 0, "label_total": 3, "pred_total": 1}}}, {"question": "Quels sont les noms des villes de «Europe» dont le «English» n'est pas la langue officielle?", "predicted": "SELECT city.Name FROM city JOIN country ON city.CountryCode = country.Code WHERE country.Continent != \"Unitedistan\"", "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": 0, "rec": 0, "f1": 0, "label_total": 3, "pred_total": 1}}}, {"question": "Quelles villes uniques se trouvent dans les pays de «Asia» où le «Chinese» est la langue officielle?", "predicted": "SELECT DISTINCT city.Name FROM city JOIN country ON city.CountryCode = country.Code JOIN countrylanguage ON country.Code = countrylanguage.CountryCode WHERE country.Continent = \"China\" AND countrylanguage.Language = \"China\"", "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": "Renvoyer les différents noms de villes qui se trouvent en «Asia» et dont le «Chinese» est la langue officielle.", "predicted": "SELECT DISTINCT city.Name FROM city JOIN country ON city.CountryCode = country.Code JOIN countrylanguage ON country.Code = countrylanguage.CountryCode WHERE country.Continent = \"E\" AND countrylanguage.Language = \"China\"", "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": "Quels sont le nom, l'année de l'indépendance et la superficie du pays qui a la plus petite population ?", "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": "Donnez le nom, l'année de l'indépendance et la superficie du pays le moins peuplé.", "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": "Quels sont la population, le nom et le chef du pays ayant la plus grande superficie?", "predicted": "SELECT country.Population, country.Name, country.Capital 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": 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": "Donnez le nom, la population et le chef d'État du pays qui a la plus grande superficie.", "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": "Renvoyer le nom et le nombre des pays qui utilisent au moins 3 langues.", "predicted": "SELECT country.Name, Count(*) FROM country JOIN countrylanguage ON country.Code = countrylanguage.CountryCode GROUP BY country.Code 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": 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": "Quels sont les noms des pays qui parlent plus de 2 langues, et combien de langues ils parlent ?", "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": "Trouvez le nombre de villes dans chaque région dont la population est supérieure à la population moyenne des villes ?", "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": "Combien de villes dans chaque région ont une population supérieure à la population moyenne de toutes les villes ?", "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": "Trouvez le nom de forme gouvernementale et la population totale de chaque forme gouvernementale dont l'espérance de vie moyenne est supérieure à 72.", "predicted": "SELECT country.GovernmentForm, Sum(country.Population) FROM country GROUP BY country.GovernmentForm HAVING Avg(country.LifeExpectancy) >= 180", "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": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no 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": "Quelles sont les différentes formes de gouvernement et quelle est la population totale de chaque forme de gouvernement dont l'espérance de vie moyenne est supérieure à 72?", "predicted": "SELECT country.GovernmentForm, Sum(country.Population) FROM country WHERE country.LifeExpectancy > 180 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": "Trouvez l'espérance de vie moyenne et la population totale pour chaque continent où l'espérance de vie moyenne est inférieure à 72?", "predicted": "SELECT Avg(country.Continent), Avg(country.Population) FROM country WHERE country.LifeExpectancy < 70 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": 2}, "select(no AGG)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 3, "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": "Listez les différents continents avec la population totale et l'espérance de vie moyenne inférieure à 72 ?", "predicted": "SELECT country.Continent FROM country GROUP BY country.Continent HAVING Avg(country.LifeExpectancy) < 70", "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": 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": 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": "Quels sont les noms et les superficies des pays avec les top 5 plus grandes superficies ?", "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": "Montrez les noms et les surfaces des 5 plus grands pays.", "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": "Quels sont les noms des pays comptant les 3 plus grandes populations ?", "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": "Indiquez les noms des 3 pays les plus peuplés.", "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": "Quels sont les noms des nations avec les 3 populations les plus faibles ?", "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": "Indiquez les noms des 3 pays avec le moins de peuple.", "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": "Combien de pays sont en «Asia» ?", "predicted": "SELECT Count(*) FROM country WHERE country.Continent = \"E\"", "gold": "SELECT count(*) FROM country WHERE continent = \"Asia\"", "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": "Comptez le nombre de pays de «Asia».", "predicted": "SELECT Count(*) FROM country WHERE country.Continent = \"East\"", "gold": "SELECT count(*) FROM country WHERE continent = \"Asia\"", "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": "Quels sont les noms des pays qui se trouvent sur le continent «Europe» et qui ont une population de «80000» habitants ?", "predicted": "SELECT country.Name FROM country WHERE country.Continent = \"UnitedI\" 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": 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": "Donnez les noms des pays qui sont en «Europe» et qui ont une population égale à «80000».", "predicted": "SELECT country.Name FROM country WHERE country.Continent > 100000 AND country.Population = \"United0000\"", "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": 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": "Quelle est la population totale et la superficie moyenne des pays du continent «North-America» dont la superficie est supérieure à 3000 ?", "predicted": "SELECT Sum(country.Population), Avg(country.SurfaceArea) FROM country WHERE country.Continent > 3000 AND country.SurfaceArea = \"North-\"", "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": 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": "Donnez la population totale et la superficie moyenne correspondant aux pays de «North-America»qui ont une superficie supérieure à 3000.", "predicted": "SELECT Sum(country.Population), Avg(country.SurfaceArea) FROM country WHERE country.Region > 3000 AND country.SurfaceArea = \"North-\"", "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": "Quelles sont les villes dont la population est entre 160000 et 900000?", "predicted": "SELECT city.Name FROM city WHERE city.Population BETWEEN 200000 AND 70000", "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": "Indiquez les noms des villes dont la population est entre 160000 et 900000.", "predicted": "SELECT city.Name FROM city WHERE city.Population BETWEEN 200000 AND 70000", "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": "Quelle langue est parlée par le plus grand nombre de pays?", "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": "Donnez la langue qui est parlée dans le plus grand nombre des pays.", "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": "Quelle est la langue parlée par le plus grand pourcentage de personnes dans chaque pays?", "predicted": "SELECT country.Name FROM country JOIN countrylanguage ON country.Code = countrylanguage.CountryCode 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": "Quels sont les codes de pays et quelles sont les langues parlées par le plus grand pourcentage de personnes pour chaque pays ?", "predicted": "SELECT countrylanguage.CountryCode, countrylanguage.Language FROM country JOIN countrylanguage ON country.Code = countrylanguage.CountryCode GROUP BY countrylanguage.CountryCode ORDER BY Sum(country.Population) 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": "Quel est le nombre total des pays où le «Spanish» est parlé par le plus grand pourcentage de personnes?", "predicted": "SELECT Count(*) FROM country JOIN countrylanguage ON country.Code = countrylanguage.CountryCode WHERE countrylanguage.Language = \"english\"", "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": "Comptez le nombre de pays pour lesquels le «Spanish» est la langue la plus parlée.", "predicted": "SELECT Count(*) FROM country JOIN countrylanguage ON country.Code = countrylanguage.CountryCode WHERE countrylanguage.Language = \"bangla\" GROUP BY country.Name ORDER BY Count(*) Desc LIMIT 1", "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": 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": 5}}}, {"question": "Quels sont les codes des pays où le «Spanish» est parlé par le plus grand pourcentage de personnes?", "predicted": "SELECT countrylanguage.CountryCode FROM countrylanguage WHERE countrylanguage.Language = \"english\" ORDER BY countrylanguage.Percentage Desc LIMIT 1", "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": 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": "Montrez les codes des pays pour lesquels le «Spanish» est la langue la plus parlée.", "predicted": "SELECT country.Code FROM country JOIN countrylanguage ON country.Code = countrylanguage.CountryCode WHERE countrylanguage.Language = \"bangla\" GROUP BY countrylanguage.CountryCode ORDER BY Count(*) Desc LIMIT 1", "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": 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": 2, "pred_total": 5}}}, {"question": "Combien de conducteurs y a-t-il?", "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": "Comptez le nombre de conducteurs.", "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": "Énumérez les noms des conducteurs par ordre croissant d'âge.", "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": "Quels sont les noms des conducteurs, classés par âge?", "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": "Quels sont les noms des conducteurs dont la nationalité n'est pas «USA» ?", "predicted": "SELECT conductor.Name FROM conductor WHERE conductor.Nationality != \"United\"", "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": "Indiquez les noms des conducteurs dont la nationalité n'est pas «USA».", "predicted": "SELECT conductor.Name FROM conductor WHERE conductor.Nationality != \"United\"", "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": "Quelles sont les maisons de disques des orchestres par ordre décroissant d'années au cours desquelles ils ont été fondés?", "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": "Listez les maisons de disques des orchestres, triées par ordre décroissant des années de leur création.", "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": "Quelle est la présence moyenne des spectacles?", "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": "Indiquez la présence moyenne de tous les spectacles.", "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": "Quelle est la part maximale et minimale des représentations dont le type n'est pas «Live final».", "predicted": "SELECT Max(performance.Share), Min(performance.Share) FROM performance WHERE performance.Type != \"ifinalfinal\"", "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": "Listez les parts maximum et minimum pour les représentations qui n'ont pas le type «Live final».", "predicted": "SELECT Max(performance.Share), Min(performance.Share) FROM performance WHERE performance.Type != \"Aerfinal\"", "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": "Combien de nationalités différentes les conducteurs ont-ils ?", "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": "Comptez le nombre de nationalités différentes de conducteurs.", "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": "Énumérez les noms des conducteurs par ordre décroissant d'années de travail.", "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": "Quels sont les noms des conducteurs, classés par ordre décroissant du nombre d'années de travail?", "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": "Indiquez le nom du chef d'orchestre avec le plus d'années de travail.", "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": "Quel est le nom du chef d'orchestre qui a travaillé pour le plus grand nombre d'années?", "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": "Montrez les noms des conducteurs et les orchestres qu'ils ont dirigés.", "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": "Quels sont les noms des conducteurs ainsi que les orchestres correspondants qu'ils ont dirigés?", "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": "Montrez les noms des conducteurs qui ont dirigé plus d'un orchestre.", "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": "Quels sont les noms des conducteurs qui ont dirigé plus d'un orchestre ?", "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": "Indiquez le nom du conducteur qui a dirigé le plus grand nombre d'orchestres.", "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": "Quel est le nom du conducteur qui a dirigé le plus d'orchestres?", "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": "Veuillez indiquer le nom du conducteur qui a dirigé les orchestres fondés après 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": "Quels sont les noms des conducteurs qui ont dirigé des orchestres fondés après 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": "Veuillez indiquer les différentes maisons de disques et le nombre d'orchestres correspondant.", "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": "Combien d'orchestres gère chaque maison de disques?", "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": "Veuillez montrer les formats de disques des orchestres par ordre croissant des nombres.", "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": "Quels sont les principaux formats de disques des orchestres, classés par fréquence ?", "predicted": "SELECT orchestra.Major_Record_Format FROM orchestra GROUP BY orchestra.Major_Record_Format ORDER BY Count(*) Desc", "gold": "SELECT Major_Record_Format FROM orchestra GROUP BY Major_Record_Format ORDER BY COUNT(*) ASC", "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": 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": 0, "rec": 0, "f1": 0, "label_total": 3, "pred_total": 3}}}, {"question": "Listez la maison de disques partagée par le plus grand nombre d'orchestres.", "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": "Quelle est la maison de disques utilisée par le plus grand nombre d'orchestres?", "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": "Listez les noms des orchestres qui n'ont pas de représentations.", "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": "Quels sont les orchestres qui n'ont pas de représentations?", "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": "Montrez les maisons de disques partagées par les orchestres fondés avant 2003 et après 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": "Quelles sont les maisons de disques utilisées par les orchestres fondés avant 2003 et ceux fondés après 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 > 1990", "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": "Trouvez le nombre d'orchestres dont le format de disque est «CD» ou «DVD».", "predicted": "SELECT Count(*) FROM orchestra WHERE orchestra.Major_Record_Format = \"CV\" OR orchestra.Major_Record_Format = \"Jaing\"", "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": "Comptez le nombre d'orchestres dont le format de disque est «CD» ou «DVD».", "predicted": "SELECT Count(*) FROM orchestra WHERE orchestra.Major_Record_Format = \"CV\" OR orchestra.Major_Record_Format = \"Jaing\"", "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": "Montrez les années de fondation des orchestres qui ont donné plus d'une représentation.", "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": "Quelles sont les années de création d'orchestres qui ont eu plus d'une représentation ?", "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": "Combien de lycéens y a-t-il ?", "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": "Comptez le nombre de lycéens.", "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": "Montrez les noms et les années de chaque lycéen.", "predicted": "SELECT 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": "Quels sont les noms et les années de chaque lycéen?", "predicted": "SELECT 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": "Montrez toutes les années des lycéens.", "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": "L'année de chaque lycéen ?", "predicted": "SELECT 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» est dans quelle année ?", "predicted": "SELECT Highschooler.grade FROM Highschooler WHERE Highschooler.name = \"Kne\"", "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": "Indiquez l'année du lycéen nommé «Kyle».", "predicted": "SELECT Highschooler.grade FROM Highschooler WHERE Highschooler.name = \"Kim\"", "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": "Montrez les noms de tous les lycéens en 10e année.", "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": "Quels sont les noms de tous les lycéens en 10e année ?", "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": "Montrez l'id du lycéen nommé «Kyle».", "predicted": "SELECT Highschooler.ID FROM Highschooler WHERE Highschooler.name = \"Kne\"", "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": "Quel est l'id de «Kyle» ?", "predicted": "SELECT Highschooler.ID FROM Highschooler WHERE Highschooler.name = \"Kne\"", "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": "Y a-t-il combien de lycéens en 9e ou 10e année?", "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": "Comptez le nombre de lycéens en 9e ou 10e année.", "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": "Montrez le nombre de lycéens pour chaque année.", "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": "Combien de lycéens compte chaque année?", "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": "Quelle année a le plus de lycéens ?", "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": "Indiquez l'année qui a le plus grand nombre de lycéens.", "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": "Montrez-moi toutes les années qui comptent au moins 4 élèves.", "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": "Quelles annnées ont 4 lycéens ou plus?", "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": "Montrez les ids des étudiants avec le nombre d'amis correspondant.", "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": "Combien d'amis chaque élève a-t-il?", "predicted": "SELECT Count(*), Highschooler.name FROM Highschooler JOIN Friend ON Highschooler.ID = Friend.student_id GROUP BY Highschooler.name", "gold": "SELECT student_id , count(*) FROM Friend GROUP BY student_id", "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": "Montrez les noms des lycéens et leur nombre d'amis correspondant.", "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": "Quels sont les noms des lycéens et combien d'amis chacun a-t-il ?", "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": "Quel est le nom du lycéen qui a le plus d'amis?", "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": "Indiquez le nom du lycéen avec le plus d'amis.", "predicted": "SELECT Highschooler.name FROM Highschooler JOIN Friend ON Highschooler.ID = Friend.student_id GROUP BY Friend.student_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": "Montrez les noms des lycéens qui ont au moins 3 amis.", "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": "Quels sont les noms des lycéens qui ont 3 amis ou plus ?", "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": "Montrez les noms de tous les amis du lycéen «Kyle».", "predicted": "SELECT Highschooler.name FROM Highschooler JOIN Friend ON Highschooler.ID = Friend.student_id WHERE Highschooler.name = \"Kne\"", "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": "Listez les noms des amis du lycéen «Kyle».", "predicted": "SELECT Highschooler.name FROM Highschooler JOIN Friend ON Highschooler.ID = Friend.student_id WHERE Highschooler.name = \"Kim\"", "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": "Combien d'amis le lycéen «Kyle» a-t-il?", "predicted": "SELECT Count(*) FROM Highschooler JOIN Friend ON Highschooler.ID = Friend.student_id WHERE Highschooler.name = \"Kne\"", "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": "Comptez le nombre d'amis de «Kyle».", "predicted": "SELECT Count(*) FROM Highschooler JOIN Friend ON Highschooler.ID = Friend.student_id WHERE Highschooler.name = \"Kne\"", "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": "Affichez les ids de tous les élèves qui n'ont pas d'amis.", "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": "Quels sont les ids des lycéens qui n'ont pas d'amis?", "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": "Affichez les noms de tous les lycéens qui n'ont pas d'amis.", "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": "Quels sont les noms des lycéens qui n'ont pas d'amis?", "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": "Montrez les ids des lycéens qui ont des amis et qui sont également adorés par quelqu'un d'autre.", "predicted": "SELECT Likes.student_id FROM Highschooler JOIN Friend ON Friend.student_id = Highschooler.ID JOIN Likes ON Highschooler.ID = Likes.liked_id WHERE Friend.friend_id = (SELECT Friend.friend_id FROM Friend)", "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": 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": 1}}}, {"question": "Quels sont les ids des lycéens qui ont des amis et qui sont adorés par les autres ?", "predicted": "SELECT Likes.student_id FROM Likes INTERSECT SELECT Friend.student_id FROM Friend", "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": "Affichez le nom de tous les lycéens qui ont des amis et qui sont également adorés par quelqu'un d'autre.", "predicted": "SELECT Highschooler.name FROM Highschooler JOIN Friend ON Highschooler.ID = Friend.student_id WHERE Friend.friend_id IN (SELECT Highschooler.name FROM Highschooler) INTERSECT SELECT Highschooler.name FROM Highschooler JOIN Friend ON Highschooler.ID = Friend.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": 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": 1}, "keywords": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 3}}}, {"question": "Quels sont les noms des lycéens qui ont des amis et qui sont adorés?", "predicted": "SELECT Highschooler.name FROM Highschooler JOIN Friend ON Highschooler.ID = Friend.student_id INTERSECT SELECT Highschooler.name FROM Highschooler JOIN Friend ON Highschooler.ID = Friend.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": 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": "Comptez le nombre de likes pour chaque id de lycéen.", "predicted": "SELECT Count(*), Likes.student_id FROM Likes GROUP BY Likes.student_id", "gold": "SELECT student_id , count(*) FROM Likes 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": "Combien de likes correspondent à chaque id de lycéen?", "predicted": "SELECT Likes.student_id, Count(*) FROM Likes GROUP BY Likes.student_id", "gold": "SELECT student_id , count(*) FROM Likes 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": "Montrez les noms des lycéens et le nombre de likes que chacun obtient.", "predicted": "SELECT Highschooler.name, Count(*) FROM Highschooler JOIN Likes ON Highschooler.ID = Likes.liked_id GROUP BY Highschooler.ID", "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": 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": "Quels sont les noms des lycéens qui ont des likes et combien en ont chacun ?", "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": "Quel est le nom du lycéen qui a le plus de likes ?", "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": "Donnez le nom de l'élève qui a le plus de likes.", "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": "Montrez les noms des lycéens qui ont au moins 2 likes.", "predicted": "SELECT Highschooler.name FROM Highschooler JOIN Likes ON Highschooler.ID = Likes.liked_id GROUP BY Highschooler.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": "Quels sont les noms des élèves qui ont au moins 2 likes ?", "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": "Affichez les noms des élèves qui sont au-dessus de la 5e année et qui ont au moins 2 amis.", "predicted": "SELECT Highschooler.name FROM Highschooler JOIN Friend ON Highschooler.ID = Friend.student_id WHERE Highschooler.grade > 5 GROUP BY Highschooler.ID 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": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "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": "Quels sont les noms des lycéens dont l'année est supérieure à 5 et le nombre d'amis supérieure à 2 ?", "predicted": "SELECT Highschooler.name FROM Highschooler JOIN Friend ON Highschooler.ID = Friend.student_id WHERE Highschooler.grade > 5 GROUP BY Friend.friend_id 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": 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": 3, "pred_total": 3}}}, {"question": "Combien de likes a «Kyle» ?", "predicted": "SELECT Count(*) FROM Highschooler JOIN Likes ON Highschooler.ID = Likes.liked_id WHERE Highschooler.name = \"Kne\"", "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": "Renvoyer le nombre de likes que le lycéen «Kyle» a.", "predicted": "SELECT Count(*) FROM Highschooler JOIN Likes ON Highschooler.ID = Likes.liked_id WHERE Highschooler.name = \"Kne\"", "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": "Trouvez l'année moyenne de tous les élèves qui ont des amis.", "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": "Quelle est l'année moyenne des élèves qui ont des amis?", "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": "Trouvez l'année minimale des élèves qui n'ont pas d'amis.", "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": "Quel est l'élève en année plus basse qui n'a pas d'ami ?", "predicted": "SELECT Highschooler.name FROM Highschooler WHERE Highschooler.ID IN (SELECT Friend.student_id FROM Friend WHERE Highschooler.grade = 1)", "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": 0, "rec": 0, "f1": 0, "label_total": 3, "pred_total": 2}}}, {"question": "Quels sont les états où habitent à la fois les propriétaires et les professionnels ?", "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": "Trouvez les états où vivent à la fois les propriétaires et les professionnels.", "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": "Quel est l'âge moyen des chiens qui ont subi des traitements?", "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": "Trouvez l'âge moyen des chiens qui ont subi des traitements.", "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": "Quels professionnels vivent dans le «Indiana» ou ont donné plus de 2 traitements ? Inscrivez son id, son nom et son téléphone portable.", "predicted": "SELECT Professionals.professional_id, Professionals.last_name, Professionals.home_phone FROM Professionals JOIN Treatments ON Professionals.professional_id = Treatments.professional_id WHERE Professionals.state = \"na\" UNION SELECT Professionals.professional_id, Professionals.last_name, Professionals.home_phone 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": 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": 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": "Trouvez l'id, le nom et le téléphone portable des professionnels qui vivent dans l'état de le «Indiana» ou qui ont effectué plus de deux traitements.", "predicted": "SELECT Professionals.professional_id, Professionals.last_name, Professionals.home_phone FROM Professionals JOIN Treatments ON Professionals.professional_id = Treatments.professional_id WHERE Professionals.state = \"James\" UNION SELECT Professionals.professional_id, Professionals.last_name, 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": 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": 1, "pred_total": 1}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "Quels chiens dont le frais de traitement n'ont pas coûté plus de 1000 à leur propriétaire ? Listez les noms de chiens.", "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": "Quels sont les noms des chiens pour lesquels le propriétaire a dépensé plus de 1000 pour le traitement?", "predicted": "SELECT Dogs.name FROM Owners JOIN Dogs ON Owners.owner_id = Dogs.owner_id 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": "Quels prénoms sont utilisés pour les professionnels ou les propriétaires mais ne sont pas utilisés comme noms de chien?", "predicted": "SELECT Owners.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": 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": 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": "Trouvez les prénoms qui sont utilisés pour les professionnels ou les propriétaires mais qui ne sont pas utilisés comme noms de chien.", "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": "Quel professionnel n'a opéré aucun traitement sur les chiens? Répertoriez l'id, le rôle et l'adresse e-mail du professionnel.", "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 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": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "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": "Donnez-moi l'id, le rôle et l'email des professionnels qui n'ont effectué aucun traitement sur les chiens.", "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 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": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "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": "Quel propriétaire possède le plus de chiens? Listez l'id du propriétaire, le prénom et le nom.", "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": "Renvoyez l'id, le prénom et le nom du propriétaire qui a le plus de chiens.", "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": "Quels professionnels ont effectué au moins deux traitements? Répertoriez l'id, le rôle et le prénom du professionnel.", "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": "Quels sont l'id, le rôle et le prénom des professionnels qui ont effectué au moins deux traitements?", "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": "Quel est le nom de la race des chiens élévés par le plus de personnes ?", "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": "Quelle race ont le plus grand nombre des chiens? Donnez-moi le nom de la race.", "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": "Quel propriétaire a payé le plus pour les traitements sur ses chiens? Répertoriez l'id et le nom du propriétaire.", "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": "Dites-moi l'id et le nom de famille du propriétaire qui a dépensé le plus pour les traitements de ses chiens.", "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": "Quelle est la description du type de traitement qui coûte le moins au total?", "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": "Decrivez-moi le type de traitement dont le coût total est le plus bas.", "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": "Quel propriétaire a payé le plus d'argent au total pour ses chiens? Montrez l'id du propriétaire et le code postal.", "predicted": "SELECT Owners.owner_id, Owners.zip_code FROM Charges JOIN Owners JOIN Dogs GROUP BY Owners.owner_id ORDER BY Sum(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": 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": "Trouvez l'id et le code postal du propriétaire qui a dépensé le plus d'argent au total pour ses chiens.", "predicted": "SELECT Owners.owner_id, Owners.zip_code FROM Charges JOIN Owners JOIN Dogs GROUP BY Owners.owner_id ORDER BY Sum(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": 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": "Quels professionnels ont effectué au moins deux types de traitements? Listez l'id et le téléphone portable du professionnel.", "predicted": "SELECT Professionals.professional_id, Professionals.home_phone 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": 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": "Trouvez l'id et le téléphone portable des professionnels qui opèrent au moins deux types de traitements.", "predicted": "SELECT Professionals.professional_id, Professionals.home_phone 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": 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": "Quels sont le prénom et le nom de famille des professionnels qui ont effectué un traitement à un coût inférieur à la moyenne?", "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": "Quels professionnels ont opéré un traitement qui coûte moins que la moyenne de tous ? Donnez-moi leurs prénoms et noms de famille.", "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": "Indiquez la date de chaque traitement, ainsi que le prénom du professionnel qui l'a opéré.", "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": "Quelle est la date et le prénom du professionnel de chaque traitement?", "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": "Énumérez le coût de chaque traitement et la description du type de traitement correspondant.", "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": "Quel est le coût et la description de chaque type de traitement?", "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": "Énumérez le prénom, le nom de famille de chaque propriétaire et la taille de son chien.", "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": "Quels sont le prénom, le nom de famille de chaque propriétaire et la taille de son chien?", "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": "Liste le prénom du propriétaire et le nom du chien.", "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": "Quel est le prénom de chaque propriétaire et le nom de son chien?", "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": "Énumérez les noms des chiens de la race la plus rare et les dates de leur traitement.", "predicted": "SELECT Dogs.name, Treatments.date_of_treatment FROM Breeds JOIN Dogs ON Breeds.breed_code = Dogs.breed_code JOIN Treatments ON Dogs.dog_id = Treatments.dog_id GROUP BY Breeds.breed_name 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": "Quels chiens sont de la race la plus rare ? Montrez leurs noms et dates de traitement.", "predicted": "SELECT Dogs.name, Treatments.date_of_treatment FROM Breeds JOIN Dogs ON Breeds.breed_code = Dogs.breed_code 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": "Quels chiens appartiennent à quelqu'un qui vit en «Virginia»? Inscrivez le prénom du propriétaire et le nom du chien.", "predicted": "SELECT Owners.first_name, Dogs.name FROM Owners JOIN Dogs ON Owners.owner_id = Dogs.owner_id WHERE Owners.state = \"s\"", "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": "Trouvez les prénoms des propriétaires vivant en «Virginia» et les noms des chiens qu'ils possèdent.", "predicted": "SELECT Owners.first_name, Dogs.name FROM Owners JOIN Dogs ON Owners.owner_id = Dogs.owner_id WHERE Owners.state = \"s\"", "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": "Quelle est la date d'arrivée et la date de départ des chiens qui ont subi un traitement?", "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": "Trouvez la date d'arrivée et la date de départ des chiens qui ont reçu un traitement.", "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": "Indiquez le nom de famille du propriétaire du plus jeune chien.", "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": "À qui appartient le plus jeune chien? Donnez-moi son nom de famille.", "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": "Répertoriez les e-mails des professionnels vivant en «Hawaï» ou en «Wisconsin».", "predicted": "SELECT Professionals.email_address FROM Professionals WHERE Professionals.state = \"na\" OR Professionals.state = \"Jas\"", "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": "Quels sont les e-mails des professionnels vivant soit dans l'État de «Hawaï», soit dans l'État du «Wisconsin»?", "predicted": "SELECT Professionals.email_address FROM Professionals WHERE Professionals.state = \"Mary\" OR Professionals.state = \"Texas\"", "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": "Quelle est la date d'arrivée et la date de départ de tous les chiens?", "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": "Indiquez la date d'arrivée et la date de départ de tous les chiens.", "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": "Combien de chiens ont subi des traitements?", "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": "Comptez le nombre de chiens qui ont subi un traitement.", "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": "Combien de professionnels ont effectué un traitement sur des chiens?", "predicted": "SELECT Count(DISTINCT 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": "Trouvez le nombre de professionnels qui ont déjà traité des chiens.", "predicted": "SELECT Count(*) FROM Professionals", "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": "Quels professionnels vivent dans une ville contenant le mot «West»? Énumérez son rôle, sa rue, sa ville et son état.", "predicted": "SELECT Professionals.role_code, Professionals.street, Professionals.state FROM Professionals WHERE Professionals.city LIKE \"%t%\"", "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": "Trouvez le rôle, la rue, la ville et l'état des professionnels vivant dans une ville qui contient la sous-chaîne «West».", "predicted": "SELECT Professionals.role_code, Professionals.street, Professionals.city, Professionals.state FROM Professionals WHERE Professionals.city LIKE \"%M%\"", "gold": "SELECT role_code , street , city , state FROM professionals WHERE city LIKE '%West%'", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 4, "pred_total": 4}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "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": "Quels propriétaires vivent dans l'État dont le nom contient la sous-chaîne «North»? Inscrivez son prénom, son nom et son adresse e-mail.", "predicted": "SELECT Owners.first_name, Owners.last_name, Owners.email_address FROM Owners WHERE Owners.state LIKE \"%Diana%\"", "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": "Listez le prénom, le nom et l'adresse e-mail des propriétaires vivant dans un état dont le nom contient la sous-chaîne «North».", "predicted": "SELECT Owners.first_name, Owners.last_name, Owners.email_address FROM Owners WHERE Owners.state LIKE \"%Diana%\"", "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": "Combien de chiens ont un âge inférieur à l'âge moyen ?", "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": "Comptez le nombre de chiens d'un âge inférieur à la moyenne.", "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": "Combien coûte le traitement le plus récent?", "predicted": "SELECT Treatments.cost_of_treatment FROM Treatments ORDER BY Treatments.cost_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": 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": 3, "pred_total": 3}}}, {"question": "Montrez-moi le coût du traitement le plus récemment effectué.", "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": "Montrez-moi le coût du traitement le plus récemment effectué.", "predicted": "SELECT Treatments.cost_of_treatment FROM Treatments ORDER BY Treatments.date_of_treatment Desc LIMIT 1", "gold": "SELECT count(*) FROM Dogs WHERE dog_id NOT IN ( SELECT dog_id FROM Treatments )", "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": 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": 3, "pred_total": 3}}}, {"question": "Dites-moi le nombre de chiens n'ayant reçu aucun traitement.", "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": "Combien de propriétaires n'ont temporairement aucun chien?", "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": "Trouvez le nombre de propriétaires qui ne possèdent aucun chien en ce moment.", "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": "Combien de professionnels n'ont opéré aucun traitement sur les chiens?", "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": "Trouvez le nombre de professionnels qui n'ont soigné aucun chien.", "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": "Lister le nom du chien, l'âge et le poids des chiens qui ont été abandonnés? 1 signifie oui et 0 signifie non.", "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": "Quels sont le nom, l'âge et le poids des chiens abandonnés? Notez que 1 signifie oui et 0 signifie non dans les tableaux.", "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": "Quel est l'âge moyen de tous les chiens?", "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": "Calculez l'âge moyen de tous les chiens.", "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": "Quel est l'âge du chien le plus âgé?", "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": "Dites-moi l'âge du chien le plus âgé.", "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": "Combien coûte chaque type de charge? Indiquez le type et le montant des charges.", "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": "Énumérez chaque type de charge et son montant.", "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": "Combien coûte le type de charge le plus cher?", "predicted": "SELECT Charges.charge_type 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": 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": 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": "Quel est le montant du type de charge le plus cher?", "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": "Répertoriez les e-mails, téléphones portables et téléphones fixes de tous les professionnels", "predicted": "SELECT Professionals.email_address, Professionals.home_phone, Professionals.cell_number 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": "Quels sont les e-mails, téléphones portables et téléphones fixes de chaque professionnel ?", "predicted": "SELECT Professionals.email_address, Professionals.home_phone, Professionals.cell_number 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": "Quelles sont toutes les combinaisons possibles de chaque type de race et de chaque type de taille ?", "predicted": "SELECT DISTINCT Dogs.breed_code, Dogs.size_code FROM Dogs", "gold": "SELECT DISTINCT breed_code , size_code 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": "Trouvez les différentes combinaisons de chaque type de race et de taille pour les chiens.", "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": "Donnez le prénom de tous les professionnels ainsi que la description du traitement qu'ils ont effectué.", "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": "Quels sont le prénom de chaque professionnel et la description du traitement qu'il a effectué?", "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": "Y a-t-il combien de chanteurs ?", "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": "Quel est le nombre de chanteurs?", "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": "Énumérez les noms des chanteurs par ordre croissant de valeur nette.", "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": "Quels sont les noms des chanteurs classés par valeur nette croissante?", "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": "Quelles sont l'année de naissance et la nationalité des chanteurs?", "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": "Quelles sont les années de naissance et les citoyennetés des chanteurs?", "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": "Indiquez le nom des chanteurs dont la citoyenneté n'est pas «France».", "predicted": "SELECT singer.Name FROM singer WHERE singer.Citizenship != \"Unitedland\"", "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": "Quels sont les noms de chanteurs dont la nationalité n'est pas la «France».", "predicted": "SELECT singer.Name FROM singer WHERE singer.Citizenship != \"Unitedland\"", "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": "Affichez le nom des chanteurs dont l'année de naissance est 1948 ou 1949?", "predicted": "SELECT singer.Name FROM singer WHERE singer.Birth_Year = 180 OR singer.Birth_Year = 200", "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": "Quels sont les noms des chanteurs dont les années de naissance sont 1948 ou 1949 ?", "predicted": "SELECT singer.Name FROM singer WHERE singer.Birth_Year = 180 OR singer.Birth_Year = 2016", "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": "Quel est le nom du chanteur ayant la plus grande valeur nette ?", "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": "Quel est le nom du chanteur qui vaut le plus ?", "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": "Montrez la nationalité différente des chanteurs et le nombre de chanteurs de chaque nationalité.", "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": "Pour chaque nationalité, combien de chanteurs proviennent de ce pays?", "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": "Veuillez indiquer la nationalité la plus courante parmi les chanteurs.", "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": "Quelle nationalité de chanteur est la plus courante ?", "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": "Montrez différentes nationalité et la valeur nette maximale des chanteurs de chaque nationalité.", "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": "Pour chaque nationalité, quelle est la valeur nette maximale ?", "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": "Affichez les titres des chansons et les noms des chanteurs.", "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": "Quels sont les titres des chansons et les noms des chanteurs?", "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": "Affichez les noms distincts des chanteurs qui ont des chansons dont les ventes sont supérieures à 300 000.", "predicted": "SELECT DISTINCT singer.Name FROM singer JOIN song ON singer.Singer_ID = song.Singer_ID WHERE song.Sales > 300", "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": "Quels sont les différents noms des chanteurs qui ont des ventes de plus de 300 000?", "predicted": "SELECT DISTINCT singer.Name FROM singer JOIN song ON singer.Singer_ID = song.Singer_ID WHERE song.Sales > 300", "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": "Montrez les noms des chanteurs qui ont plus d'une chanson.", "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": "Quels sont les noms des chanteurs qui ont plus d'une chanson ?", "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": "Montrez les noms des chanteurs et le total des ventes de leurs chansons.", "predicted": "SELECT singer.Name, Sum(song.Sales) FROM singer JOIN song ON singer.Singer_ID = song.Singer_ID GROUP BY song.Singer_ID", "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": 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": "Pour chaque nom de chanteur, quel est le total des ventes de leurs chansons?", "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": "Donnez le nom des chanteurs qui n'ont aucune chanson.", "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": "Quel est le nom de chaque chanteur qui n'a pas de chanson?", "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": "Montrez la nationalité partagée par les chanteurs nés avant 1945 et après 1955.", "predicted": "SELECT singer.Citizenship FROM singer WHERE singer.Birth_Year < 85 INTERSECT SELECT singer.Citizenship FROM singer WHERE singer.Birth_Year > 5", "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": "Quelles sont les citoyennetés partagées par les chanteurs nés avant 1945 et après 1955?", "predicted": "SELECT singer.Citizenship FROM singer WHERE singer.Birth_Year < 85 INTERSECT SELECT singer.Citizenship FROM singer WHERE singer.Birth_Year > 85", "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": "Combien de caractéristiques disponibles au total ?", "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": "Quel est le nom de type de caractéristique de «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 = \"Paper\"", "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": "Affichez les descriptions de chaque type des propriété appartenant à ce code.", "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": "Quels sont les noms des propriétés qui sont des «house» ou des «apartment» avec plus d'une pièce ?", "predicted": "SELECT Properties.property_name FROM Properties WHERE Properties.room_count > 1 OR Properties.room_count = \"F\"", "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": 2}}}], "total_scores": {"easy": {"count": 248, "partial": {"select": {"acc": 0.9274193548387096, "rec": 0.9274193548387096, "f1": 0.9274193548387096, "acc_count": 248, "rec_count": 248}, "select(no AGG)": {"acc": 0.9435483870967742, "rec": 0.9435483870967742, "f1": 0.9435483870967742, "acc_count": 248, "rec_count": 248}, "where": {"acc": 0.9245283018867925, "rec": 0.9074074074074074, "f1": 0.9158878504672898, "acc_count": 106, "rec_count": 108}, "where(no OP)": {"acc": 0.9433962264150944, "rec": 0.9259259259259259, "f1": 0.9345794392523364, "acc_count": 106, "rec_count": 108}, "group(no Having)": {"acc": 0.9047619047619048, "rec": 0.95, "f1": 0.9268292682926829, "acc_count": 21, "rec_count": 20}, "group": {"acc": 0.8095238095238095, "rec": 0.85, "f1": 0.8292682926829269, "acc_count": 21, "rec_count": 20}, "order": {"acc": 0.7407407407407407, "rec": 0.9090909090909091, "f1": 0.8163265306122449, "acc_count": 27, "rec_count": 22}, "and/or": {"acc": 1.0, "rec": 0.9959677419354839, "f1": 0.997979797979798, "acc_count": 247, "rec_count": 248}, "IUEN": {"acc": 0.0, "rec": 0, "f1": 1, "acc_count": 5, "rec_count": 0}, "keywords": {"acc": 0.9225806451612903, "rec": 0.9533333333333334, "f1": 0.9377049180327869, "acc_count": 155, "rec_count": 150}}, "exact": 0.8467741935483871, "exec": 0}, "medium": {"count": 446, "partial": {"select": {"acc": 0.8542600896860987, "rec": 0.8542600896860987, "f1": 0.8542600896860987, "acc_count": 446, "rec_count": 446}, "select(no AGG)": {"acc": 0.8766816143497758, "rec": 0.8766816143497758, "f1": 0.8766816143497757, "acc_count": 446, "rec_count": 446}, "where": {"acc": 0.8465608465608465, "rec": 0.8791208791208791, "f1": 0.862533692722372, "acc_count": 189, "rec_count": 182}, "where(no OP)": {"acc": 0.8624338624338624, "rec": 0.8956043956043956, "f1": 0.8787061994609164, "acc_count": 189, "rec_count": 182}, "group(no Having)": {"acc": 0.8270676691729323, "rec": 0.8270676691729323, "f1": 0.8270676691729322, "acc_count": 133, "rec_count": 133}, "group": {"acc": 0.7518796992481203, "rec": 0.7518796992481203, "f1": 0.7518796992481203, "acc_count": 133, "rec_count": 133}, "order": {"acc": 0.725, "rec": 0.7733333333333333, "f1": 0.7483870967741936, "acc_count": 80, "rec_count": 75}, "and/or": {"acc": 0.9819819819819819, "rec": 0.9954337899543378, "f1": 0.9886621315192743, "acc_count": 444, "rec_count": 438}, "IUEN": {"acc": 0.0, "rec": 0, "f1": 1, "acc_count": 1, "rec_count": 0}, "keywords": {"acc": 0.9291338582677166, "rec": 0.9365079365079365, "f1": 0.932806324110672, "acc_count": 381, "rec_count": 378}}, "exact": 0.7107623318385651, "exec": 0}, "hard": {"count": 174, "partial": {"select": {"acc": 0.8850574712643678, "rec": 0.8850574712643678, "f1": 0.8850574712643678, "acc_count": 174, "rec_count": 174}, "select(no AGG)": {"acc": 0.8850574712643678, "rec": 0.8850574712643678, "f1": 0.8850574712643678, "acc_count": 174, "rec_count": 174}, "where": {"acc": 0.6595744680851063, "rec": 0.6595744680851063, "f1": 0.6595744680851063, "acc_count": 94, "rec_count": 94}, "where(no OP)": {"acc": 0.7446808510638298, "rec": 0.7446808510638298, "f1": 0.7446808510638298, "acc_count": 94, "rec_count": 94}, "group(no Having)": {"acc": 0.723404255319149, "rec": 0.8717948717948718, "f1": 0.7906976744186047, "acc_count": 47, "rec_count": 39}, "group": {"acc": 0.7021276595744681, "rec": 0.8461538461538461, "f1": 0.7674418604651163, "acc_count": 47, "rec_count": 39}, "order": {"acc": 0.8181818181818182, "rec": 0.8181818181818182, "f1": 0.8181818181818182, "acc_count": 55, "rec_count": 55}, "and/or": {"acc": 0.9883040935672515, "rec": 0.9825581395348837, "f1": 0.9854227405247813, "acc_count": 171, "rec_count": 172}, "IUEN": {"acc": 0.5128205128205128, "rec": 0.47619047619047616, "f1": 0.49382716049382713, "acc_count": 39, "rec_count": 42}, "keywords": {"acc": 0.8197674418604651, "rec": 0.8103448275862069, "f1": 0.815028901734104, "acc_count": 172, "rec_count": 174}}, "exact": 0.5517241379310345, "exec": 0}, "extra": {"count": 166, "partial": {"select": {"acc": 0.7951807228915663, "rec": 0.7951807228915663, "f1": 0.7951807228915663, "acc_count": 166, "rec_count": 166}, "select(no AGG)": {"acc": 0.8072289156626506, "rec": 0.8072289156626506, "f1": 0.8072289156626506, "acc_count": 166, "rec_count": 166}, "where": {"acc": 0.5730337078651685, "rec": 0.5425531914893617, "f1": 0.5573770491803278, "acc_count": 89, "rec_count": 94}, "where(no OP)": {"acc": 0.6292134831460674, "rec": 0.5957446808510638, "f1": 0.6120218579234972, "acc_count": 89, "rec_count": 94}, "group(no Having)": {"acc": 0.7125, "rec": 0.7215189873417721, "f1": 0.7169811320754716, "acc_count": 80, "rec_count": 79}, "group": {"acc": 0.7, "rec": 0.7088607594936709, "f1": 0.7044025157232704, "acc_count": 80, "rec_count": 79}, "order": {"acc": 0.8072289156626506, "rec": 0.8481012658227848, "f1": 0.8271604938271606, "acc_count": 83, "rec_count": 79}, "and/or": {"acc": 0.9079754601226994, "rec": 0.9673202614379085, "f1": 0.9367088607594937, "acc_count": 163, "rec_count": 153}, "IUEN": {"acc": 0.36363636363636365, "rec": 0.35294117647058826, "f1": 0.35820895522388063, "acc_count": 33, "rec_count": 34}, "keywords": {"acc": 0.8132530120481928, "rec": 0.8132530120481928, "f1": 0.8132530120481927, "acc_count": 166, "rec_count": 166}}, "exact": 0.4036144578313253, "exec": 0}, "all": {"count": 1034, "partial": {"select": {"acc": 0.867504835589942, "rec": 0.867504835589942, "f1": 0.867504835589942, "acc_count": 1034, "rec_count": 1034}, "select(no AGG)": {"acc": 0.8829787234042553, "rec": 0.8829787234042553, "f1": 0.8829787234042553, "acc_count": 1034, "rec_count": 1034}, "where": {"acc": 0.7761506276150628, "rec": 0.7761506276150628, "f1": 0.7761506276150628, "acc_count": 478, "rec_count": 478}, "where(no OP)": {"acc": 0.8138075313807531, "rec": 0.8138075313807531, "f1": 0.8138075313807531, "acc_count": 478, "rec_count": 478}, "group(no Having)": {"acc": 0.7829181494661922, "rec": 0.8118081180811808, "f1": 0.7971014492753624, "acc_count": 281, "rec_count": 271}, "group": {"acc": 0.7330960854092526, "rec": 0.7601476014760148, "f1": 0.746376811594203, "acc_count": 281, "rec_count": 271}, "order": {"acc": 0.7755102040816326, "rec": 0.8225108225108225, "f1": 0.7983193277310925, "acc_count": 245, "rec_count": 231}, "and/or": {"acc": 0.975609756097561, "rec": 0.9891196834817013, "f1": 0.9823182711198428, "acc_count": 1025, "rec_count": 1011}, "IUEN": {"acc": 0.41025641025641024, "rec": 0.42105263157894735, "f1": 0.4155844155844156, "acc_count": 78, "rec_count": 76}, "keywords": {"acc": 0.8844393592677345, "rec": 0.8905529953917051, "f1": 0.8874856486796785, "acc_count": 874, "rec_count": 868}}, "exact": 0.6673114119922631, "exec": 0}}}