{"per_item": [{"question": "¿Cuántos cantantes tenemos?", "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": "¿Cuál es el número total de cantantes?", "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": "Muestre el nombre, el país y la edad de todos los cantantes ordenados por edad, desde el mayor al más joven.", "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": "¿Cuáles son los nombres, países y edades de cada cantante en orden descendente de edad?", "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": "¿Cuál es la edad media, mínima y máxima de todos los cantantes 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": "¿Cuál es la edad media, mínima y máxima de todos los cantantes 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": "Muestra el nombre y el año de lanzamiento de la canción del cantante más joven.", "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": "¿Cuáles son los nombres y años de lanzamiento de todas las canciones del cantante más joven?", "predicted": "SELECT singer.Song_Name, singer.Song_release_year FROM singer ORDER BY singer.Age Asc LIMIT 1", "gold": "SELECT song_name , song_release_year FROM singer ORDER BY age LIMIT 1", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}}}, {"question": "¿Cuáles son todos los países distintos de donde vienen los cantantes mayores de 20 años?", "predicted": "SELECT DISTINCT singer.Country FROM singer WHERE singer.Age > 20", "gold": "SELECT DISTINCT country FROM singer WHERE age > 20", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "¿Cuáles son los países differentes con cantantes mayores de 20 años?", "predicted": "SELECT DISTINCT singer.Country FROM singer WHERE singer.Age > 20", "gold": "SELECT DISTINCT country FROM singer WHERE age > 20", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "Muestra todos los países y el número de cantantes de cada país.", "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": "¿Cuántos cantantes vienen de cada país?", "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": "Enumere todos los nombres de las canciones por cantantes que están por encima de la edad promedio.", "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": "¿Cuáles son todos los nombres de las canciones de cantantes mayores que promedio?", "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": "Muestre localizaciones y nombres de todos los estadios con una capacidad entre 5000 y 10000.", "predicted": "SELECT stadium.Location, stadium.Name FROM stadium WHERE stadium.Capacity BETWEEN 4000 AND 5000", "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": "¿Cuáles son las localizaciones y los nombres de todos los estadios con capacidad entre 5000 y 10000?", "predicted": "SELECT stadium.Location, stadium.Name FROM stadium WHERE stadium.Capacity BETWEEN 4000 AND 5000", "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": "¿Cuál es la asistencia media y la capacidad máxima de todos los estadios?", "predicted": "SELECT Avg(stadium.Capacity), Max(stadium.Highest) 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": 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": "¿Cuál es la capacidad media y máxima de todos los estadios?", "predicted": "SELECT Avg(stadium.Capacity), Max(stadium.Highest) FROM stadium", "gold": "select avg(capacity) , max(capacity) 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": 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": "¿Cuál es el nombre y la capacidad del estadio con una mayor asistencia promedio?", "predicted": "SELECT stadium.Name, stadium.Capacity FROM stadium ORDER BY stadium.Average Desc LIMIT 1", "gold": "SELECT name , capacity FROM stadium ORDER BY average DESC LIMIT 1", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}}}, {"question": "¿Cuál es el nombre y la capacidad del estadio con una mayor asistencia promedio?", "predicted": "SELECT stadium.Name, stadium.Capacity FROM stadium ORDER BY stadium.Average Desc LIMIT 1", "gold": "SELECT name , capacity FROM stadium ORDER BY average DESC LIMIT 1", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}}}, {"question": "¿Cuántos conciertos hay en el año 2014 o 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": "¿Cuántos conciertos se realizaron en 2014 o 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": "Muestre el nombre del estadio y el número de conciertos en cada estadio.", "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": "Para cada estadio, ¿cuántos conciertos se celebran?", "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": "Muestra el nombre de estadio y su capacidad con la mayor cantidad de conciertos en el año 2014 o despué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": "¿Cuál es el nombre y la capacidad del estadio donde celebra más conciertos después de 2013?", "predicted": "SELECT stadium.Name, stadium.Capacity FROM stadium JOIN concert ON stadium.Stadium_ID = concert.Stadium_ID WHERE concert.Year > 85 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": "¿En qué año hay más conciertos?", "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": "¿Cuál es el año cuando se celebraron más conciertos?", "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": "Muestre los nombres de los estadios sin ningún concierto.", "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": "¿Cómo se llaman los estadios sin conciertos?", "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": "Muestre los países de donde vienen los cantantes mayores de 40 años o menores de 30.", "predicted": "SELECT singer.Country FROM singer WHERE singer.Age > 40 OR 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": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 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}}}, {"question": "Muestre los nombres de todos los estadios, excepto los en que se celebraron conciertos en el año 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": "¿Cuáles son los nombres de todos los estadios donde no hubieron conciertos 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": "Muestre los nombres, temas y el número de cantantes en cada concierto.", "predicted": "SELECT concert.concert_Name, concert.Theme, Count(*) FROM singer JOIN concert JOIN singer_in_concert ON singer.Singer_ID = singer_in_concert.Singer_ID AND singer_in_concert.concert_ID = concert.concert_ID GROUP BY concert.concert_ID", "gold": "SELECT T2.concert_name , T2.theme , count(*) FROM singer_in_concert AS T1 JOIN concert AS T2 ON T1.concert_id = T2.concert_id GROUP BY T2.concert_id", "predicted_parse_error": false, "hardness": "medium", "exact": false, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "¿Cuáles son los nombres, temas y número de cantantes de cada concierto?", "predicted": "SELECT concert.concert_Name, concert.Theme, Count(*) FROM singer JOIN concert JOIN singer_in_concert ON singer.Singer_ID = singer_in_concert.Singer_ID AND singer_in_concert.concert_ID = concert.concert_ID GROUP BY singer_in_concert.concert_ID", "gold": "select t2.concert_name , t2.theme , count(*) from singer_in_concert as t1 join concert as t2 on t1.concert_id = t2.concert_id group by t2.concert_id", "predicted_parse_error": false, "hardness": "medium", "exact": false, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "Enumere los nombres y el número de conciertos para cada cantante.", "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": "¿Cuáles son los nombres de los cantantes y el número de conciertos de cada persona?", "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": "Enumere todos los nombres de los cantantes en los conciertos del año 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": "¿Cuáles son los nombres de los cantantes que cantaron en los concierto 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": "¿Cuál es el nombre y la nacionalidad del cantante que tiene una canción con 'Hey' en su nombre?", "predicted": "SELECT singer.Name, singer.Country FROM singer WHERE singer.Song_Name LIKE \"%en%\"", "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": "¿Cuál es los nombres y el país de origen de cada cantante que tiene la canción con la palabra 'Hey' en su nombre?", "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": "Encuentre nombres y localizaciones de los estadios en los que se realizaron algunos conciertos en 2014 y 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": "¿Cuáles son los nombres y las localizaciones de los estadios donde tuvieron lugar conciertos en 2014 y 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": "Encuentre el número de conciertos que se realizaron en el estadio con mayor capacidad.", "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": "¿Cuál es el número de conciertos que se realizaron en el estadio con mayor capacidad?", "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": "Encuentre la cantidad de mascotas cuyo peso es superior a 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": "¿Cuántas mascotas pesan más de 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": "Encuentre el peso del\"dog\" de edad más pequeña.", "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": "¿Cuánto pesa el \"dog\" más joven?", "predicted": "SELECT Pets.weight FROM Pets WHERE Pets.PetType = \"male\" AND Pets.pet_age = (SELECT Min(Pets.pet_age) FROM Pets WHERE Pets.PetType = \"male\")", "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": "Encuentre el peso máximo para cada tipo de mascotas. Indique el peso máximo y el tipo correspondiente.", "predicted": "SELECT 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": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_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": "Enumere el peso máximo y tipo para cada mascota.", "predicted": "SELECT Max(Pets.weight), Pets.PetType FROM Pets", "gold": "SELECT max(weight) , petType FROM pets GROUP BY petType", "predicted_parse_error": false, "hardness": "medium", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 0}, "group": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 0}}}, {"question": "Encuentre la cantidad de mascotas que pertenecen a estudiantes mayores de 20 años.", "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": "¿Cuántas mascotas tienen los estudiantes de una edad mayor de 20 años?", "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": "Encuentre el número de mascotas de \"dog\" que crían estudiantes femeninas (Sexo \"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": "¿Cuántas mascotas de \"dog\" crían las alumnas?", "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": "Encuentre el número de distintos tipos de mascotas.", "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": "¿Cuántos tipos diferentes de mascota hay?", "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": "Dime el nombre de pila de los estudiantes que tengan \"cat\"o\"dog\" como mascota.", "predicted": "SELECT DISTINCT Student.Fname FROM Student JOIN Has_Pet ON Student.StuID = Has_Pet.StuID JOIN Pets ON Has_Pet.PetID = Pets.PetID WHERE Pets.PetType = \"Cat\" OR Pets.PetType = \"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": "¿Cuáles son los nombres de pila de todos los estudiantes que tienen un \"cat\"o\"dog\"como mascota?", "predicted": "SELECT DISTINCT Student.Fname FROM Student JOIN Has_Pet ON Student.StuID = Has_Pet.StuID JOIN Pets ON Has_Pet.PetID = Pets.PetID WHERE Pets.PetType = \"Cat\" OR Pets.PetType = \"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": "Dime nombres de pila de los estudiantes que tengan tanto\"cat\"como\"dog\".", "predicted": "SELECT Student.Fname FROM Student JOIN Has_Pet ON Student.StuID = Has_Pet.StuID JOIN Pets ON Has_Pet.PetID = Pets.PetID WHERE Pets.PetType = \"Cat\" 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": "¿Cuáles son los nombres de pila de los estudiantes que tengan como \"cat\"tanto \"dog\" como mascotas?", "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 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": "Encuentre la especialidad y la edad de los estudiantes que no tengan un \"cat\"como mascota.", "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": "¿Cuál es la especialidad de cada estudiante que no tenga un \"cat\" como mascota y cuántos años tienen estos alumnos?", "predicted": "SELECT Student.Age, 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": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 2}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_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": "Encuentre identificaciones de los estudiantes que no tengan un \"cat\" como mascota.", "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": "¿Cuáles son las identificaciones de los estudiantes que no cuenten con \"cat\" como mascotas?", "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": "Encuentre nombres de pila y edades de los estudiantes que tengan un \"dog\"pero no \"cat\"como mascota.", "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 = \"Milk\" EXCEPT SELECT Student.Fname, Student.Age FROM Student JOIN Has_Pet ON Student.StuID = Has_Pet.StuID 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": "¿Cuál es los nombres de pila de cada estudiante que no tenga un\"cat\" sino un \"dog\"?", "predicted": "SELECT Student.Fname FROM Student EXCEPT SELECT Has_Pet.StuID FROM Has_Pet 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": 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": 3, "pred_total": 1}}}, {"question": "Encuentre el tipo y el peso de la mascota más joven", "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": "¿Qué tipo de mascota es el animal más joven y cuánto pesa?", "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": "Encuentre identificaciones y pesos de todas las mascotas cuya edad sea mayor de 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": "¿Cuál es la identificación y el peso de cada mascota mayor de 1 año?", "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": "Calcula la edad media y máxima para cada tipo de mascota.", "predicted": "SELECT Avg(Pets.PetType), 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": 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": "¿Cuál es la edad media y mayor para cada tipo de mascota?", "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": "Dime el peso promedio de cada tipo de mascota.", "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": "¿Cuál es el peso medio de cada tipo de mascota?", "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": "Dime nombres de pila y edades de los estudiantes que tengan una mascota.", "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": "¿Cuáles son los distintos nombres de pila y edades de los estudiantes con mascotas?", "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": "Encuentre la identificación de la mascota del estudiante cuyo apellido es\"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": "¿Cuál es la identificación de la mascota del estudiante cuyo apellido es '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": "Encuentre el número de mascotas para cada estudiante que tenga mascota y su id de estudiante.", "predicted": "SELECT Count(*), Student.StuID FROM Student JOIN Has_Pet ON Student.StuID = Has_Pet.StuID GROUP BY Student.StuID", "gold": "SELECT count(*) , T1.stuid FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid = T2.stuid GROUP BY T1.stuid", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "Para los estudiantes que tienen mascotas, ¿cuántas tiene cada uno?", "predicted": "SELECT Count(*), Student.StuID FROM Student JOIN Has_Pet ON Student.StuID = Has_Pet.StuID GROUP BY Student.StuID", "gold": "select count(*) , t1.stuid from student as t1 join has_pet as t2 on t1.stuid = t2.stuid group by t1.stuid", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "Dime el nombre de pila y el sexo del estudiante que tenga más de una mascota.", "predicted": "SELECT Student.Fname, Student.Sex FROM Student JOIN Has_Pet ON Student.StuID = Has_Pet.StuID GROUP BY Student.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": "¿Cuáles son los nombres de pila y sexo de todos los estudiantes que tengan más de una mascota?", "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": "Encuentre el apellido del estudiante que tenga un \"cat\"de 3 años.", "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": "¿Cuál es el apellido del estudiante que tenga un \"cat\" de 3 años?", "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": "Encuentre la edad promedio de los estudiantes sin mascotas.", "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": "¿Cuál es la edad promedio de todos los estudiantes que no tengan mascotas?", "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": "¿Cuántos continentes hay?", "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": "¿Cuál es el número de continentes?", "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": "¿Cuántos países hay en cada continente? Enumere la identificación de continente, el nombre de continente y el número de países.", "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": "Para cada continente, indique su identificación, nombre y cuántos países tiene.", "predicted": "SELECT continents.Continent, continents.Continent, Count(*) FROM continents JOIN countries ON continents.ContId = countries.Continent GROUP BY continents.Continent", "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": 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": 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": "¿Cuántos países se enumeran?", "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": "Cuantos paises existen?", "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": "¿Cuántos modelos produce cada fabricante de automóviles? Enumere nombres completos, identificaciones y números de estos fabricantes.", "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": "¿Cuál es el nombre completo de cada fabricante de automóviles, junto con su identificación y cuántos modelos produce?", "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": "¿Qué modelo de coche tiene la caballo de fuerza mínima?", "predicted": "SELECT car_names.Model FROM car_names JOIN cars_data ON car_names.MakeId = cars_data.Id ORDER BY cars_data.Horsepower Asc LIMIT 1", "gold": "SELECT T1.Model FROM CAR_NAMES AS T1 JOIN CARS_DATA AS T2 ON T1.MakeId = T2.Id ORDER BY T2.horsepower ASC LIMIT 1;", "predicted_parse_error": false, "hardness": "hard", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}}}, {"question": "¿Cuál es el modelo del coche con menor caballo de fuerza?", "predicted": "SELECT model_list.Model FROM model_list JOIN car_names ON model_list.Model = car_names.Model JOIN cars_data ON car_names.MakeId = cars_data.Id ORDER BY cars_data.Horsepower Asc LIMIT 1", "gold": "SELECT T1.Model FROM CAR_NAMES AS T1 JOIN CARS_DATA AS T2 ON T1.MakeId = T2.Id ORDER BY T2.horsepower ASC LIMIT 1;", "predicted_parse_error": false, "hardness": "hard", "exact": false, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}}}, {"question": "Encuentre el modelo del coche cuyo peso está por debajo del peso promedio.", "predicted": "SELECT model_list.Model FROM model_list JOIN car_names ON model_list.Model = car_names.Model JOIN cars_data ON car_names.MakeId = cars_data.Id WHERE cars_data.Weight < (SELECT Avg(cars_data.Weight) FROM cars_data)", "gold": "SELECT T1.model FROM CAR_NAMES AS T1 JOIN CARS_DATA AS T2 ON T1.MakeId = T2.Id WHERE T2.Weight < (SELECT avg(Weight) FROM CARS_DATA)", "predicted_parse_error": false, "hardness": "extra", "exact": false, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "¿Cuál es el modelo del automóvil con un peso menor que el promedio?", "predicted": "SELECT model_list.Model FROM model_list JOIN car_names ON model_list.Model = car_names.Model JOIN cars_data ON car_names.MakeId = cars_data.Id WHERE cars_data.Weight < (SELECT Avg(cars_data.Weight) FROM cars_data)", "gold": "SELECT T1.model FROM CAR_NAMES AS T1 JOIN CARS_DATA AS T2 ON T1.MakeId = T2.Id WHERE T2.Weight < (SELECT avg(Weight) FROM CARS_DATA)", "predicted_parse_error": false, "hardness": "extra", "exact": false, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "Encontre nombres completos de los fabricantes que produjeron algunos coches en el año \"1970\".", "predicted": "SELECT car_makers.FullName, 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": 0, "partial": {"select": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 2}, "select(no AGG)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "¿Cómo se llaman los fabricantes que produjeron un coche 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 = 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": "Encuentre el tiempo de fabricación y producción de los autosmóviles que se produjeron en el primer año.", "predicted": "SELECT cars_data.Year, cars_data.Year FROM cars_data 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": "¿Cuál es el fabricante del coche producido en el primer año y qué año fue?", "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": "¿Qué modelos de automóviles se fabricaron después de \"1980\"?", "predicted": "SELECT model_list.Model FROM model_list JOIN car_names ON model_list.Model = car_names.Model JOIN cars_data ON car_names.MakeId = cars_data.Id WHERE cars_data.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": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "¿Cuáles son los diferentes modelos de coches producidos después de \"1980\"?", "predicted": "SELECT DISTINCT model_list.Model FROM model_list JOIN car_names ON model_list.Model = car_names.Model JOIN cars_data ON car_names.MakeId = cars_data.Id WHERE cars_data.Year > 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": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "¿Cuántos fabricantes de automóviles hay en cada continente? Enumere nombres de continente y recuentos.", "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": "¿Cómo se llama cada continente y cuántos fabricantes de automóviles hay en cada uno?", "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": "¿Cuál de los países tiene más fabricantes de automóviles? Indique sus nombres.", "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": "¿Cómo se llama el país en que se ubican más fabricantes de automóviles?", "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": "¿Cuántos modelos de automóviles produce cada fabricante? Enumere el recuento y el nombre completo del fabricante.", "predicted": "SELECT Count(*), car_makers.FullName FROM car_makers JOIN model_list ON car_makers.Id = model_list.Maker GROUP BY car_makers.Id", "gold": "select count(*) , t2.fullname from model_list as t1 join car_makers as t2 on t1.maker = t2.id group by t2.id;", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "¿Cuál es la cantidad de modelos de automóviles que produce cada fabricante y cuál es la identificación y el nombre completo de cada fabricante?", "predicted": "SELECT Count(*), car_makers.FullName, car_makers.Id 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": 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": "¿Cuál es la aceleración del coche de \"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 = \"Anchorsportsportsportabout(\"", "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": "¿Cuánto acelera el coche de \"amc hornet sea sportabout (sw)\"?", "predicted": "SELECT cars_data.Accelerate FROM car_names JOIN cars_data ON car_names.MakeId = cars_data.Id WHERE car_names.Make = \"Anchornetseasportsportabout(\"", "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": "¿Cuántos fabricantes de automóviles hay 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": "¿Cuál es el número de fabricantes de coches 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": "¿Cuántos modelos de automóviles se producen en \"USA\"?", "predicted": "SELECT Count(*) FROM countries WHERE countries.CountryName = \"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": 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": "¿Cuál es el recuento de modelos de automóviles producidos en \"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": "¿Cuál es el promedio de mpg de los autos con 4 cilindros?", "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": "¿Cuál es el promedio de mpg de todos los coches con 4 cilindros?", "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": "¿Cuál es el menor peso del automóviles producidos con\"8\" cilindros 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": "¿Cuál es el peso mínimo del automóviles con \"8\" cilindros producidos en \"1974\"?", "predicted": "SELECT Min(cars_data.Weight) FROM cars_data WHERE cars_data.Cylinders = 8 AND cars_data.Year = \"A\"", "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": "¿Cuáles son todos los fabricantes y modelos?", "predicted": "SELECT car_makers.Maker, model_list.Model FROM car_makers JOIN model_list ON car_makers.Id = model_list.Maker", "gold": "SELECT Maker , Model FROM MODEL_LIST;", "predicted_parse_error": false, "hardness": "medium", "exact": 0, "partial": {"select": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "¿Cuáles son los fabricantes y modelos?", "predicted": "SELECT car_makers.Maker, model_list.Model FROM car_makers JOIN model_list ON car_makers.Id = model_list.Maker", "gold": "SELECT Maker , Model FROM MODEL_LIST;", "predicted_parse_error": false, "hardness": "medium", "exact": 0, "partial": {"select": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "¿Cuáles son los países que tienen al menos un fabricante de automóviles? Dime su nombre e identificación.", "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": "¿Cuáles son los nombres e identificaciones de todos los países con al menos un fabricante de automóviles?", "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": "¿Cuál es el número de automóviles con caballos de fuerza superiores a 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": "¿Cuál es el número de automóviles con caballo de fuerza superior a 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": "¿Cuál es el peso medio de los coches cada año?", "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": "¿Cuál es el peso medio y el año de cada año?", "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": "¿Qué países de \"Europe\"tienen al menos 3 fabricantes de automóviles?", "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": "¿Cuáles son los nombres de todos los países \"Europe\" con al menos 3 fabricantes?", "predicted": "SELECT countries.CountryName FROM continents JOIN countries ON continents.ContId = countries.Continent 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": "¿Cuál es el caballo de fuerza máximo y la marca de los modelos de automóvil con 3 cilindros?", "predicted": "SELECT Max(cars_data.Horsepower), car_names.Make FROM car_names JOIN cars_data ON car_names.MakeId = cars_data.Id WHERE cars_data.Cylinders = 3", "gold": "SELECT T2.horsepower , T1.Make FROM CAR_NAMES AS T1 JOIN CARS_DATA AS T2 ON T1.MakeId = T2.Id WHERE T2.cylinders = 3 ORDER BY T2.horsepower DESC LIMIT 1;", "predicted_parse_error": false, "hardness": "extra", "exact": 0, "partial": {"select": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 0, "rec": 0, "f1": 0, "label_total": 4, "pred_total": 1}}}, {"question": "¿Cuál es el mayor caballo de fuerza para los modelos con 3 cilindros y de qué marcas son?", "predicted": "SELECT Max(cars_data.Horsepower), car_names.Make FROM car_names JOIN cars_data ON car_names.MakeId = cars_data.Id WHERE cars_data.Cylinders >= 3", "gold": "SELECT T2.horsepower , T1.Make FROM CAR_NAMES AS T1 JOIN CARS_DATA AS T2 ON T1.MakeId = T2.Id WHERE T2.cylinders = 3 ORDER BY T2.horsepower DESC LIMIT 1;", "predicted_parse_error": false, "hardness": "extra", "exact": 0, "partial": {"select": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 0, "rec": 0, "f1": 0, "label_total": 4, "pred_total": 1}}}, {"question": "¿Qué modelo ahorra más gasolina, es decir, tenga máxima mpg? ", "predicted": "SELECT car_names.Model 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": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_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": "¿Cuál es el modelo de automóvil con mayor mpg?", "predicted": "SELECT car_names.Model 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": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_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": "¿Cuál es el caballo de fuerza medio de los coches antes de \"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": "¿Cuál es el caballo de fuerza promedio de todas las marcas de autosmóviles producidos antes de 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": "¿Cuál es el edispl medio de los coches del modelo \"volvo\"?", "predicted": "SELECT Avg(cars_data.Edispl) FROM model_list JOIN car_names ON model_list.Model = car_names.Model JOIN cars_data ON car_names.MakeId = cars_data.Id WHERE car_names.Model = \"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": 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": "¿Cuál es el edispl promedio para todos los \"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": "¿Cuál es la aceleración máxima para coches de números de cilindros diferentes?", "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": "¿Cuál es la aceleración máxima para todos los coches de cilindros diferentes?", "predicted": "SELECT Max(cars_data.Accelerate), cars_data.Cylinders FROM cars_data", "gold": "SELECT max(Accelerate) , Cylinders FROM CARS_DATA GROUP BY Cylinders;", "predicted_parse_error": false, "hardness": "medium", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 0}, "group": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 0}}}, {"question": "¿Qué modelo tiene más versiones (marcas) de automóviles?", "predicted": "SELECT car_names.Model FROM car_names GROUP BY car_names.Model ORDER BY Count(*) Desc LIMIT 1", "gold": "SELECT Model FROM CAR_NAMES GROUP BY Model ORDER BY count(*) DESC LIMIT 1;", "predicted_parse_error": false, "hardness": "hard", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 4, "pred_total": 4}}}, {"question": "¿Qué modelo tiene las versiones más diversas?", "predicted": "SELECT model_list.Model FROM model_list GROUP BY model_list.Model ORDER BY Count(*) Desc LIMIT 1", "gold": "SELECT Model FROM CAR_NAMES GROUP BY Model ORDER BY count(*) DESC LIMIT 1;", "predicted_parse_error": false, "hardness": "hard", "exact": false, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 4, "pred_total": 4}}}, {"question": "¿Cuántos coches tienen más de 4 cilindros?", "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": "¿Cuál es la cantidad de automóviles con más de 4 cilindros?", "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": "¿cuántos coches se fabricaron en \"1980\"?", "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": "En \"1980\", ¿cuántos coches se fabricaron?", "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": "¿Cuántos modelos de autos produjo el fabricante con el nombre completo \"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": "¿Cuál es la cantidad de modelos de autos creados por el fabricante de automóviles\"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": "¿Qué fabricantes diseñaron más de 3 modelos de autos? Indique su nombre completo y la identificación.", "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": "¿Cuáles son los nombres e ids de todos los fabricantes con más de 3 modelos?", "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": "¿Qué modelos distintos son producidos por el fabricante con el nombre completo de \"General Motors\" o que pesan más de 3500?", "predicted": "SELECT DISTINCT model_list.Model FROM car_makers JOIN model_list ON car_makers.Id = model_list.Maker WHERE car_makers.FullName = \"JohnMotorMotor\" OR car_makers.Maker > 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": 1, "rec": 1, "f1": 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": "¿Cuáles son los diferentes modelos producidos por el fabricante de automóviles \"General Motors\" o que pesan más de 3500?", "predicted": "SELECT DISTINCT model_list.Model FROM car_makers JOIN model_list ON car_makers.Id = model_list.Maker 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": 1, "rec": 1, "f1": 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": "¿En qué años se produjeron automóviles que pesaban no menos de 3000 y no más 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": "¿Cuáles son los diferentes años en los que se produjeron coches que pesaban menos de 4000 y también más 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": "¿Cuál es el caballo de fuerza del auto con la mayor aceleración?", "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": "¿Cuál es el caballo de fuerza del auto con la mayor aceleración?", "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": "Para el modelo \"volvo\", ¿cuántos cilindros tiene el coche con menor aceleración?", "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": "Para un modelo de \"volvo\", ¿cuántos cilindros tiene la versión con menor aceleración?", "predicted": "SELECT cars_data.Cylinders 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.Maker = \"PVvo\"", "gold": "SELECT T1.cylinders FROM CARS_DATA AS T1 JOIN CAR_NAMES AS T2 ON T1.Id = T2.MakeId WHERE T2.Model = 'volvo' ORDER BY T1.accelerate ASC LIMIT 1;", "predicted_parse_error": false, "hardness": "extra", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 0, "rec": 0, "f1": 0, "label_total": 4, "pred_total": 1}}}, {"question": "¿Cuántos automóviles tienen una aceleración mayor que el con la mayor caballo de fuerza?", "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": "¿Cuál es el número de autos con una mayor aceleración que el que lleva mayores caballos de fuerza?", "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": "¿Cuántos países tienen más de 2 fabricantes de automóviles?", "predicted": "SELECT Count(*) FROM (SELECT car_makers.Country FROM car_makers GROUP BY car_makers.Country 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": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_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": "¿Cuál es el número de los países con más de 2 fabricantes de automóviles?", "predicted": "SELECT Count(*) FROM (SELECT car_makers.Country FROM car_makers GROUP BY car_makers.Country 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": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_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": "¿Cuántos coches tiene más de 6 cilindros?", "predicted": "SELECT Count(*) FROM cars_data WHERE cars_data.Cylinders > 8", "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": "¿Cuál es el número de automóviles con más de 6 cilindros?", "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": "Para los coches de 4 cilindros, ¿qué modelo suyo tiene el mayor caballo de fuerza?", "predicted": "SELECT cars_data.Id FROM cars_data ORDER BY cars_data.Cylinders Desc LIMIT 1", "gold": "SELECT T1.Model FROM CAR_NAMES AS T1 JOIN CARS_DATA AS T2 ON T1.MakeId = T2.Id WHERE T2.Cylinders = 4 ORDER BY T2.horsepower DESC LIMIT 1;", "predicted_parse_error": false, "hardness": "extra", "exact": 0, "partial": {"select": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 0}, "where(no OP)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 0, "rec": 0, "f1": 0, "label_total": 4, "pred_total": 3}}}, {"question": "Entre todos los coches de 4 cilindros, ¿qué modelo tiene más caballo de fuerza?", "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": "Entre los coches con el caballo de fuerza más del mínimo, ¿cuáles no tienen más de 3 cilindros? Enumere los nombres completos de sus fabricantes, así como ids de dichos fabricantes.", "predicted": "SELECT car_makers.FullName, car_makers.Maker, car_makers.Id 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 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": 3}, "select(no AGG)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 3}, "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": "Entre los autos que no tienen el caballo de fuerza mínimo, ¿cuáles son las identificaciones y los nombres completos de todos los que tienen menos de 4 cilindros?", "predicted": "SELECT cars_data.Edispl, cars_data.Edispl FROM cars_data WHERE cars_data.Cylinders < 4", "gold": "select t2.makeid , t2.make from cars_data as t1 join car_names as t2 on t1.id = t2.makeid where t1.horsepower > (select min(horsepower) from cars_data) and t1.cylinders < 4;", "predicted_parse_error": false, "hardness": "extra", "exact": 0, "partial": {"select": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 2}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 1}, "where(no OP)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "¿Cuál es el máximo del mpg de los coche con\"8\" cilindros o producido antes de \"1980\"?", "predicted": "SELECT Max(cars_data.MPG) FROM cars_data WHERE cars_data.Cylinders = \"in\" 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": "¿Cuál es el mpg máximo de los autos que tenían \"8\"cilindros o que se produjeron antes de \"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": "¿Qué modelos son más ligeros de 3500 pero no fabricados por\"Ford Motor Company\"?", "predicted": "SELECT model_list.Model FROM model_list WHERE model_list.Model < 3000 EXCEPT SELECT model_list.Model 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": 1, "rec": 1, "f1": 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": 1, "pred_total": 2}}}, {"question": "¿Cuáles son los diferentes modelos que son más ligeros de 3500 pero que no fueron fabricados por \"Ford Motor Company\"?", "predicted": "SELECT model_list.Model FROM model_list EXCEPT SELECT model_list.Model FROM model_list JOIN car_makers ON model_list.Maker = car_makers.Id 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": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 0}, "where(no OP)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 1}, "IUEN": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 1}, "keywords": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}}}, {"question": "¿Cómo se llaman los países que no disponen de ningún fabricante de automóviles?", "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": "¿Cuáles son los nombres de los países sin fabricantes de automóviles?", "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": "¿Cuáles son los fabricantes de automóviles que producen al menos 2 modelos y más de 3 fabricantes de automóviles? Enumere la identificación y el fabricante.", "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": "¿Cuáles son las ids y fabricantes de todos los fabricantes de automóviles que producen al menos 2 modelos y fabrican más de 3 marcas?", "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 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": "¿Cuáles son las identificaciones y los nombres de los países que tienen más de 3 fabricantes de automóviles o producen el modelo \"fiat model\"?", "predicted": "SELECT car_makers.Id, countries.CountryName FROM countries JOIN car_makers ON countries.CountryId = car_makers.Country WHERE car_makers.Maker = \"in\" UNION SELECT car_makers.Id, 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.FullName > 3 GROUP BY car_makers.Id HAVING Count(*) > 2", "gold": "SELECT T1.countryId , T1.CountryName FROM Countries AS T1 JOIN CAR_MAKERS AS T2 ON T1.CountryId = T2.Country GROUP BY T1.countryId HAVING count(*) > 3 UNION SELECT T1.countryId , T1.CountryName FROM Countries AS T1 JOIN CAR_MAKERS AS T2 ON T1.CountryId = T2.Country JOIN MODEL_LIST AS T3 ON T2.Id = T3.Maker WHERE T3.Model = 'fiat';", "predicted_parse_error": false, "hardness": "extra", "exact": 0, "partial": {"select": {"acc": 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": 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": "¿Cuáles son las identificaciones y nombres de todos los países que tienen más de 3 fabricantes de automóviles o producen \"fiat model\"?", "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.FullName = \"film\" GROUP BY car_makers.Id HAVING Count(*) > 3", "gold": "select t1.countryid , t1.countryname from countries as t1 join car_makers as t2 on t1.countryid = t2.country group by t1.countryid having count(*) > 3 union select t1.countryid , t1.countryname from countries as t1 join car_makers as t2 on t1.countryid = t2.country join model_list as t3 on t2.id = t3.maker where t3.model = 'fiat';", "predicted_parse_error": false, "hardness": "extra", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 1}, "where(no OP)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 1}, "group(no Having)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 0}, "group": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "keywords": {"acc": 0, "rec": 0, "f1": 0, "label_total": 3, "pred_total": 2}}}, {"question": "¿A qué país pertenece la aerolínea\"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": "¿A qué país está afiliado Jetblue Airways?", "predicted": "SELECT airlines.Country FROM airlines WHERE airlines.Airline = \"Walter%\"", "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": "¿Cuál es la abreviatura de Aerolínea\"JetBlue Airways\"?", "predicted": "SELECT airlines.Abbreviation FROM airlines WHERE airlines.Airline = \"WalterBlueAirways\"", "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": "¿Qué abreviatura corresponde a \"JetBlue Airways\"?", "predicted": "SELECT airlines.Abbreviation FROM airlines WHERE airlines.Airline = \"Walter\"", "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": "Enumere todos los nombres de aerolíneas y sus abreviaturas en \"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": "¿Cuáles son los nombres y abreviaturas de las aerolíneas en \"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": "Enumere el código y el nombre del aeropuerto de la ciudad de \"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": "Proporcione el código del aeropuerto y el nombre del aeropuerto correspondiente a la ciudad \"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": "¿Cuántas aerolíneas tenemos?", "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": "¿Cuál es el número total de aerolíneas?", "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": "¿Cuántos aeropuertos tenemos?", "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": "Dame el número de aeropuertos.", "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": "Cuántos vuelos tenemos?", "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": "Dame el número de vuelos.", "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": "¿Qué aerolínea tiene la abreviatura \"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": "Indique la aerolínea con la abreviatura \"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": "¿Cuántas aerolíneas son de \"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": "Dame el número de aerolíneas de \"USA\".", "predicted": "SELECT Count(*) FROM airlines WHERE airlines.Country = \"United\"", "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": "¿En qué ciudad y país se encuentra el aeropuerto de \"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": "Indique la ciudad y el país para el aeropuerto de \"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": "¿Cuál es el nombre del aeropuerto de \"AKO\"?", "predicted": "SELECT airports.AirportName FROM airports JOIN flights ON airports.AirportCode = flights.SourceAirport WHERE flights.SourceAirport = \"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": "Dime el nombre del aeropuerto con el código \"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": "¿Cuáles son los nombres de los aeropuertos en ciudad \"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": "¿Cuáles son los nombres de los aeropuertos de \"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": "¿Cuántos vuelos salen 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": "Cuente el número de vuelos que salen 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": "¿Cuántos vuelos dirigen \"ATO\" como destino?", "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": "Cuente el número de vuelos que llegan a \"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": "¿Cuántos vuelos salen de la ciudad de \"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": "Dame el número de vuelos que salen de \"Aberdeen\".", "predicted": "SELECT flights.FlightNo FROM airports JOIN flights ON airports.AirportCode = flights.SourceAirport WHERE airports.City = \"AAdeen\"", "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": "¿Cuántos vuelos llegan a la ciudad de \"Aberdeen\"?", "predicted": "SELECT 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": "Dame el número de vuelos que llegan a \"Aberdeen\".", "predicted": "SELECT 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": "¿Cuántos vuelos salen de la ciudad de \"Aberdeen\" y tienen como destino la ciudad de \"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": "¿Cuántos vuelos vuelan de\"Aberdeen\" a \"Ashley\"?", "predicted": "SELECT flights.FlightNo FROM airports JOIN flights ON airports.AirportCode = flights.SourceAirport WHERE airports.City = \"Alicedeen\" AND flights.DestAirport = \"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": "¿Cuántos vuelos tiene la aerolínea 'JetBlue Airways'?", "predicted": "SELECT Count(*) FROM airlines JOIN flights WHERE airlines.Airline = \"Bootball\"", "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": "Indique el número de vuelos de \"JetBlue Airways\".", "predicted": "SELECT Count(*) FROM airlines JOIN flights WHERE airlines.Airline = \"Bob\"", "gold": "SELECT count(*) FROM FLIGHTS AS T1 JOIN AIRLINES AS T2 ON T1.Airline = T2.uid WHERE T2.Airline = \"JetBlue Airways\"", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "¿Cuántos vuelos de 'United Airlines' van al aeropuerto '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": "Cuente el número de vuelos de \"United Airlines\" que llegan al aeropuerto\"ASY\".", "predicted": "SELECT Count(*) FROM airlines JOIN flights WHERE flights.DestAirport = \"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": "¿Cuántos vuelos de 'United Airlines' salen del aeropuerto 'AHD'?", "predicted": "SELECT Count(*) FROM airlines JOIN airports JOIN flights WHERE airports.AirportName = \"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": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 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": "Dame el número de vuelos de \"United Airlines\"que salen del aeropuerto \"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": "¿Cuántos vuelos de \"United Airlines\"van a la ciudad de 'Aberdeen'?", "predicted": "SELECT Count(flights.FlightNo) FROM airlines JOIN airports JOIN flights WHERE airports.City = \"Alicedeen\" 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": 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": "Cuente el número de vuelos de \"United Airlines\"que llegan a \"Aberdeen\".", "predicted": "SELECT Count(*) FROM airlines JOIN airports JOIN flights WHERE airports.City = \"Alicedeen\" 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": "¿Qué ciudad tiene más vuelos de llegadas?", "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.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": "¿Qué ciudad tiene el aeropuerto de destino más frecuente?", "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": "¿Qué ciudad tiene una mayor cantidad de vuelos de salida?", "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": "¿En qué ciudad se ubica el aeropuerto de origen más frecuente?", "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": "¿Cuál es el código del aeropuerto que tiene el mayor número de vuelos?", "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": "¿Cuál es el código del aeropuerto con más vuelos?", "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": "¿Cuál es el código del aeropuerto que tiene el menor volumne de vuelos?", "predicted": "SELECT airports.AirportCode FROM airports JOIN flights ON airports.AirportCode = flights.SourceAirport GROUP BY airports.AirportCode ORDER BY Count(*) Asc LIMIT 1", "gold": "SELECT T1.AirportCode FROM AIRPORTS AS T1 JOIN FLIGHTS AS T2 ON T1.AirportCode = T2.DestAirport OR T1.AirportCode = T2.SourceAirport GROUP BY T1.AirportCode ORDER BY count(*) LIMIT 1", "predicted_parse_error": false, "hardness": "extra", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 4, "pred_total": 4}}}, {"question": "Da el código del aeropuerto con menos vuelos.", "predicted": "SELECT flights.SourceAirport FROM airports JOIN flights ON airports.AirportCode = flights.SourceAirport GROUP BY flights.SourceAirport ORDER BY Count(*) Asc LIMIT 1", "gold": "SELECT T1.AirportCode FROM AIRPORTS AS T1 JOIN FLIGHTS AS T2 ON T1.AirportCode = T2.DestAirport OR T1.AirportCode = T2.SourceAirport GROUP BY T1.AirportCode ORDER BY count(*) LIMIT 1", "predicted_parse_error": false, "hardness": "extra", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 4, "pred_total": 4}}}, {"question": "¿Qué aerolínea tiene más vuelos?", "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": "¿Qué aerolínea brinda más vuelos?", "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": "Encuentre la abreviatura de la aerolínea que tenga el menor número de vuelos y el país a que pertenece", "predicted": "SELECT airlines.Abbreviation, airlines.Country FROM airlines JOIN airports JOIN flights GROUP BY airlines.Abbreviation 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": "¿Cuál es la abreviatura de aerolínea con la menor cantidad de vuelos y en qué país se encuentra?", "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": "¿Cuáles son las aerolíneas que tienen algún vuelo que sale del aeropuerto '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": "¿Qué aerolíneas tienen un vuelo del aeropuerto de origen\"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": "¿Cuáles son las aerolíneas que tienen vuelos que llegan al aeropuerto 'AHD'?", "predicted": "SELECT airlines.Airline FROM airlines JOIN airports JOIN flights WHERE flights.SourceAirport = \"AHD\"", "gold": "SELECT T1.Airline FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T1.uid = T2.Airline WHERE T2.DestAirport = \"AHD\"", "predicted_parse_error": false, "hardness": "medium", "exact": 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": "¿Qué aerolíneas tienen un vuelo con el aeropuerto de destino \"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": "Encuentre todas las aerolíneas que tienen vuelos desde ambos aeropuertos 'APG' y '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.DestAirport = flights.Airline JOIN airlines WHERE flights.SourceAirport = \"CVO\"", "gold": "SELECT T1.Airline FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T1.uid = T2.Airline WHERE T2.SourceAirport = \"APG\" INTERSECT SELECT T1.Airline FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T1.uid = T2.Airline WHERE T2.SourceAirport = \"CVO\"", "predicted_parse_error": false, "hardness": "extra", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "¿Qué aerolíneas tienen vuelos desde ambos aeropuertos \"APG\"y \"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.DestAirport = flights.Airline JOIN airlines WHERE flights.SourceAirport = \"CVO\"", "gold": "SELECT T1.Airline FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T1.uid = T2.Airline WHERE T2.SourceAirport = \"APG\" INTERSECT SELECT T1.Airline FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T1.uid = T2.Airline WHERE T2.SourceAirport = \"CVO\"", "predicted_parse_error": false, "hardness": "extra", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "Encuentre todas las aerolíneas que tienen vuelos desde el aeropuerto 'CVO' pero no desde 'APG'.", "predicted": "SELECT airlines.Airline FROM airlines JOIN airports JOIN flights WHERE flights.SourceAirport = \"AnVO\" EXCEPT SELECT airlines.Airline FROM airports 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": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "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": "¿Qué aerolíneas tienen salidas desde\"CVO\" pero no desde\"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": "Encuentre todas las aerolíneas que tengan al menos 10 vuelos.", "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": "¿Qué aerolíneas tienen al menos 10 vuelos?", "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": "Encuentre todas las aerolíneas que tienen menos de 200 vuelos.", "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": "¿Qué aerolíneas tienen menos de 200 vuelos?", "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": "¿Cuáles son los números de vuelo de la aerolínea\"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": "¿Qué números de vuelo corresponden a los vuelos de \"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": "¿Cuáles son los números de vuelo de los vuelos que salen del aeropuerto\"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": "Indique los números de vuelo de los vuelos que salen de\"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": "¿Cuáles son los números de vuelo de los vuelos que llegan al aeropuerto\"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": "Indique los números de vuelo de los vuelos que aterrizan en \"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": "¿Cuáles son los números de vuelo de los vuelos que salen de la ciudad de\"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.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": "Indique los números de vuelo de los vuelos que salen de \"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": "¿Cuáles son los números de los vuelos que llegan a la ciudad \"Aberdeen\"?", "predicted": "SELECT flights.FlightNo FROM airports JOIN flights ON airports.AirportCode = flights.SourceAirport WHERE airports.City = \"Adeen\"", "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": "Indique los números de los vuelos que llegan a \"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": "Encuentre el número de vuelos que aterrizan en la ciudad de \"Aberdeen\" o \"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": "¿Cuántos vuelos hay en \"Aberdeen\"o \"Abilene\"?", "predicted": "SELECT flights.FlightNo FROM airports JOIN flights ON airports.AirportCode = flights.SourceAirport WHERE airports.City = \"Alicedeen\" OR airports.City = \"BA\"", "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": 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": "Encuentre los nombres de los aeropuertos que no tienen vuelos de entrada ni de salida.", "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": "¿Qué aeropuertos no tienen vuelos de salida o llegada?", "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": "¿Cuántos empleados hay?", "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": "Cuente el número de empleados.", "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": "Ordene los nombres de los empleados por su edad en orden ascendente.", "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": "Enumere los nombres de los empleados y ordénelos en orden ascendente de edad.", "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": "¿Cuál es el número de empleados de cada ciudad?", "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": "Cuente el número de empleados de cada ciudad.", "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 qué ciudades provienen más de un empleado menor de 30 años?", "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": "Encuentre las ciudades que tienen más de un empleado menor de 30 años.", "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": "Encuentra el número de tiendas en cada localización.", "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": "¿Cuántas tiendas hay en cada localización?", "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": "Encuentre el nombre del gerente y el distrito de la tienda cuyo número de productos sea el mayor.", "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": "¿Cuál es el nombre del gerente y el distrito de la tienda que vende la mayor cantidad de productos?", "predicted": "SELECT shop.Manager_name, shop.District FROM shop GROUP BY shop.Manager_name ORDER BY Sum(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": 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": "Encuentra el número mínimo y máximo de productos de todas las tiendas.", "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": "¿Cuál es el número mínimo y máximo de productos en todas las tiendas?", "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": "Dame nombres, localizaciones y distritos de todas las tiendas en orden descendente de números de productos.", "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": "Ordene todas las tiendas por números de productos en orden descendente y devuelva el nombre, la localización y el distrito de cada tienda.", "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": "Encuentre los nombres de las tiendas cuyos números de productos sean mayores que el número promedio.", "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": "¿Cuáles son las tiendas que tienen productos por encima del promedio? Dame los nombres de las tiendas.", "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": "Encuentre el nombre del empleado que recibió más premios en la evaluación.", "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 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": 1, "rec": 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": "¿Cuál es el empleado quien recibió más premios en las evaluaciones? Dame su nombre.", "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 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": 1, "rec": 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": "Encuentre el nombre del empleado que obtuvo la prima más alta a la vez.", "predicted": "SELECT employee.Name FROM employee JOIN evaluation ON employee.Employee_ID = evaluation.Employee_ID ORDER BY evaluation.Bonus Desc LIMIT 1", "gold": "SELECT t1.name FROM employee AS t1 JOIN evaluation AS t2 ON t1.Employee_ID = t2.Employee_ID ORDER BY t2.bonus DESC LIMIT 1", "predicted_parse_error": false, "hardness": "hard", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}}}, {"question": "¿Qué empleado recibió la mayor prima? Dame su nombre.", "predicted": "SELECT employee.Name FROM employee JOIN evaluation ON employee.Employee_ID = evaluation.Employee_ID ORDER BY evaluation.Bonus Desc LIMIT 1", "gold": "SELECT t1.name FROM employee AS t1 JOIN evaluation AS t2 ON t1.Employee_ID = t2.Employee_ID ORDER BY t2.bonus DESC LIMIT 1", "predicted_parse_error": false, "hardness": "hard", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}}}, {"question": "Encuentre los nombres de los empleados que nunca ganaron ningún premio en la evaluación.", "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": "¿Cuáles son los nombres de los empleados que nunca recibieron ninguna evaluación?", "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": "¿Cuál es el nombre de la tienda que está contratando a la mayor cantidad de empleados?", "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": "¿Qué tienda tiene más empleados? Dame el nombre de la tienda.", "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": "Encuentre nombres de las tiendas que no contratan a ningún empleado.", "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": "¿Qué tiendas funcionan sin empleados? Encuentra sus nombres.", "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": "Encuentre el número de empleados contratados en cada tienda; muestre el nombre de la tienda también.", "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": "Para cada tienda, dime el número de empleados que trabajan allí y el nombre de la tienda.", "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": "¿Cuál es la prima total otorgado en todas las evaluaciones?", "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": "Encuentre la cantidad total de prima otorgada en todas las evaluaciones.", "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": "Dame toda la información sobre la contratación.", "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": "¿Cuál es toda la información sobre contratación?", "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": "¿Qué distrito tiene tiendas con menos de 3000 productos y tiendas con más de 10000 productos?", "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": "Encuentre los distritos en los que hay tiendas que venden menos de 3000 productos y tiendas que venden más de 10000 productos.", "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": "¿Cuántas localizaciones de tiendas diferentes hay?", "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": "Cuente el número de localizaciones de tiendas distintas.", "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": "¿Cuántos documentos tenemos?", "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": "Cuente el número de documentos.", "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": "Enumere IDs de documento, los nombres de documento y las descripciones de todos los documentos.", "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": "¿Cuáles son las identificaciones, nombres y descripciones de todos los documentos?", "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": "¿Cuál es el nombre de documento y la identificación de plantilla para el documento con una descripción con la letra \"w\" en él?", "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": "Dame los nombres y las identificaciones de plantilla de los documentos que contienen la letra \"w\" en sus descripciones.", "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": "¿Cuál es la identificación de documento, la identificación de plantilla y la descripción del documento llamado\"Robbin CV\"?", "predicted": "SELECT Documents.Document_ID, Documents.Template_ID, Documents.Document_Description FROM Documents WHERE Documents.Document_Name = \"Nober\"", "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": "Dame la identificación de documento, la identificación de plantilla y la descripción del documento con el nombre \"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": "¿Cuántas plantillas diferentes utilizan todos los documentos?", "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": "Cuente el número de plantillas diferentes utilizadas entre documentos.", "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": "¿Cuántos documentos están usando la plantilla de \"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": "Cuente el número de documentos que utilizan\"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": "Muestre todas las IDs de plantilla utilizadas y el recuento de utilización.", "predicted": "SELECT Templates.Template_ID, Count(*) FROM Templates GROUP BY Templates.Template_ID", "gold": "SELECT template_id , count(*) FROM Documents GROUP BY template_id", "predicted_parse_error": false, "hardness": "medium", "exact": false, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "¿Cuáles son las diferentes IDs de plantilla que se utilizan para los documentos y cuántas veces se ha utilizado cada una?", "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": "¿Cuál es la identificación y el código de tipo de la plantilla que utilizan más los documentos?", "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": "Dame la identificación y el código de tipo de la plantilla que se utiliza más por los documentos.", "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": "Muestre las identificaciones de todas las plantillas que los documentos utilizan más de una vez.", "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": "¿Cuáles son las IDs de plantilla que se utilice en más de un documento?", "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": "Muestra las identificaciones de todas las plantillas que no utiliza ningún documento.", "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": "¿Cuáles son las identificaciones de las plantillas que no se utilizan en ningún documento?", "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": "¿Cuántas plantillas tenemos?", "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": "Cuente el número de plantillas.", "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": "Muestre las identificaciones, los números de versión y los códigos de tipo para todas las plantillas.", "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": "¿Cuáles son ID, el número de versión y el código de tipo de cada plantilla?", "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": "Muestre todos los códigos de tipo distintos para todas las plantillas.", "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": "¿Cuáles son los diferentes códigos de tipo de plantilla?", "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": "¿Cuáles son los identificadores de las plantillas con código de tipo de plantilla \"PP\" o \"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": "Dame los identificadores de las plantillas que tienen el código\"PP\"o\"PPT\".", "predicted": "SELECT Templates.Template_ID FROM Templates WHERE Templates.Template_Type_Code = \"PPT\" 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": "¿Cuántas plantillas tienen el código de tipo de plantilla \"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": "Cuente el número de plantillas del tipo \"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": "¿Cuál es el número de versión y el código de tipo de plantilla para la plantilla con un número de versión posterior a 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": "Dame los números de versión y los códigos de tipo de plantilla de las plantillas con un número de versión superior a 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": "Muestre todos los códigos de tipo de plantilla y el número de plantillas para cada una.", "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": "¿Cuáles son los diferentes códigos de tipo de plantilla y cuántas plantillas corresponden a cada una?", "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": "¿Qué código de tipo de plantilla tiene la mayor cantidad de plantillas?", "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": "Dame el código de tipo del tipo de plantilla al que pertenecen más plantillas.", "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": "Muestre todos los códigos de tipo de plantilla con menos de tres plantillas.", "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": "¿Cuáles son los códigos de los tipos de plantillas que tienen menos de 3 plantillas?", "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": "¿Cuál es el número de versión más pequeño y su código de tipo de plantilla?", "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": "Dame el número de versión más pequeño, junto con su código de tipo de plantilla correspondiente.", "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": "¿Cuál es el código de tipo de la plantilla que utiliza el documento con el nombre\"Base de datos\"?", "predicted": "SELECT Templates.Template_Type_Code FROM Templates JOIN Documents ON Templates.Template_ID = Documents.Template_ID WHERE Documents.Document_Name = \"x\"", "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": "Dame el código de tipo de la plantilla que se utiliza por un documento denominado \"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": "Muestre los nombres de todos los documentos utilizando plantillas con el código de tipo de plantilla \"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": "¿Cuáles son los nombres de los documentos que utilizan plantillas con el código \"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": "Muestre todos los códigos de tipo de plantilla y el número de documentos que utilizan cada tipo.", "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": "¿Cuáles son los diferentes códigos de tipo de plantilla y cuántos documentos utilizan cada tipo?", "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": "¿Qué código de tipo de plantilla se utiliza más entre los documentos?", "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": "Dame el código del tipo de plantilla que se usa con más frecuencia en los documentos.", "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": "Muestra todos los códigos de tipo de plantilla que no se utiliza por ningún documento.", "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": "¿Cuáles son los códigos de tipos de plantilla que no se utiliza por ningún documento?", "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": "Muestre todos los códigos de tipo de plantilla y descripciones.", "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": "¿Cuáles son los códigos de tipo y las descripciones para todos los tipos de plantillas?", "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": "¿Cuáles son las descripciones de tipo de plantilla para el código\"AD\"?", "predicted": "SELECT Ref_Template_Types.Template_Type_Description FROM Ref_Template_Types WHERE Ref_Template_Types.Template_Type_Code = \"CV\"", "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": "Dame la descripción del tipo de plantilla con el código \"AD\".", "predicted": "SELECT Ref_Template_Types.Template_Type_Description FROM Ref_Template_Types WHERE Ref_Template_Types.Template_Type_Code = \"CV\"", "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": "¿Cuál es el código de tipo de plantilla para la descripción del tipo de plantilla \"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": "Dame el código de tipo del tipo de plantilla con la descripción \"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": "¿Cuáles son las distintas descripciones de tipo de plantilla para las plantillas que se utilizan por cualquier documento?", "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": "Dame las diferentes descripciones de las plantillas que se han utilizado en un documento.", "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": "¿Qué son las IDs de plantilla con la descripción de tipo de plantilla\"Presentación\"?", "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 = \"Graphi\"", "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": "Dame las identificaciones correspondientes a las plantillas con la descripción 'Presentación'.", "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 = \"Graphi\"", "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": "¿Cuántos párrafos hay en total?", "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": "Cuente el número de párrafos.", "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": "¿Cuántos párrafos tiene el documento con el nombre \"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": "Cuente el número de párrafos en el documento llamado\"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": "Muestra los otros detalles del párrafo con el texto \"Korea\".", "predicted": "SELECT Paragraphs.Other_Details FROM Paragraphs WHERE Paragraphs.Paragraph_Text = \"Research\"", "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": "¿Cuáles son los otros detalles del párrafo que incluye \"Korea\" en texto?", "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": "Muestre todas las identicificaciones de párrafo y los textos de párrafo del documento con el nombre de \"Welcome to NY\".", "predicted": "SELECT Paragraphs.Paragraph_ID, Paragraphs.Paragraph_Text FROM Documents JOIN Paragraphs ON Documents.Document_ID = Paragraphs.Document_ID WHERE Documents.Document_Name = \"Boetoto\"", "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": "¿Cuáles son las identificaciones y los textos de párrafos del documento titulado 'Bienvenido a Nueva York'?", "predicted": "SELECT Documents.Document_ID, Paragraphs.Paragraph_Text FROM Documents JOIN Paragraphs ON Documents.Document_ID = Paragraphs.Document_ID WHERE Documents.Document_Name = \"NewYorkal\"", "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": "Muestre todos los textos de párrafos del documento\"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": "¿Cuáles son los textos de párrafos del documento titulado \"Customer reviews\"?", "predicted": "SELECT Paragraphs.Paragraph_Text FROM Documents JOIN Paragraphs ON Documents.Document_ID = Paragraphs.Document_ID WHERE Documents.Document_Name = \"Gronreviewsreviews\"", "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": "Muestra todas las identificaciones de documentos y el número de párrafos de cada uno. Ordénelos por ID de documento.", "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": "Dame las diferentes identificaciones de documentos junto con sus números de párrafos correspondientes a cada uno, ordenados por 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": "Muestre todas identificaciones de documentos, los nombres y el número de párrafos de cada uno.", "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": "¿Cuáles son las identificaciones y nombres de cada documento, así como el número de párrafos en cada uno?", "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": "Enumere todos las identificaciones de los documentos con al menos dos párrafos.", "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": "¿Cuáles son las identificaciones de los documentos que contienen 2 o más párrafos?", "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": "¿Cuál es la identificación y el nombre del documento que contiene más párrafos?", "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": "Dame la identificación y el nombre del documento con más párrafos.", "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": "¿Cuál es la identificación del documento con el menor número de párrafos?", "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": "Dame la identificación del documento con la menor cantidad de párrafos.", "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": "¿Cuál es la identificación del documento con 1 o 2 párrafos?", "predicted": "SELECT Paragraphs.Document_ID FROM Paragraphs GROUP BY Paragraphs.Document_ID HAVING Count(*) = 1", "gold": "SELECT document_id FROM Paragraphs GROUP BY document_id HAVING count(*) BETWEEN 1 AND 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": 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": "Proporcione las identificaciones de documentos que tengan entre uno y dos párrafos.", "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": "Muestre la identificación del documento con el texto de párrafo \"Brazil\"e \"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": "¿Cuáles son las identificaciones de documentos que contienen el texto de párrafo\"Brazil\" e \"Ireland\"?", "predicted": "SELECT Paragraphs.Document_ID FROM Paragraphs WHERE Paragraphs.Paragraph_Text = \"UK\" INTERSECT SELECT Paragraphs.Document_ID FROM Paragraphs WHERE Paragraphs.Paragraph_Text = \"I\"", "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": "¿Cuántos profesores hay?", "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": "¿Cuál es el recuento total de profesores?", "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": "Enumere los nombres de los profesores en orden ascendente de edad.", "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": "¿Cuáles son los nombres de los profesores ordenados por edades de manera ascendente?", "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": "¿Cuáles son las edades y los pueblos natales de los profesores?", "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": "¿Cuál es la edad y el pueblo natal de cada profesor?", "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": "Indique los nombres de los profesores cuyo pueblo natal no sea el \"Little Lever Urban District\".", "predicted": "SELECT teacher.Name FROM teacher WHERE teacher.Hometown != \"ScaLeverLeverDistrictDistrict\"", "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": "¿Cuáles son los nombres de los profesores cuyo pueblo natal no es el \"Little Lever Urban District\"?", "predicted": "SELECT teacher.Name FROM teacher WHERE teacher.Hometown != \"ScaLeverLeverUrbanDistrict\"", "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": "Muestre los nombres de los profesores de 32 o 33 años", "predicted": "SELECT teacher.Name FROM teacher WHERE teacher.Age = 32 OR teacher.Age = 300", "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": "¿Cuáles son los nombres de los profesores que tienen 32 o 33 años?", "predicted": "SELECT teacher.Name FROM teacher WHERE teacher.Age = 32 OR teacher.Age = 3000", "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": "¿Cuál es el pueblo natal del profesor más joven?", "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": "¿De dónde es el profesor más joven?", "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": "Muestre los profesores de pueblos diferentes y el número de profesores provenientes de cada uno.", "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": "Para cada pueblo natal, ¿cuántos profesores hay?", "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": "Enumere el pueblo natal más común de los profesores.", "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": "¿Cuáles son los pubelos natales donde nacen más profesores?", "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": "Muestre los pubelos natales donce nacen al menos dos profesores.", "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": "¿Cuáles son los pubelos natales de las que vienen al menos dos profesores?", "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": "Muestre los nombres de los profesores y las asignaturas que están dispuestos a impartir.", "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": "¿Cuál es el nombre de cada profesores y qué curso imparte?", "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": "Muestre los nombres de los profesores y los cursos que están dispuestos a enseñar en orden alfabético de sus nombres de manera ascendiente", "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": "¿Cuáles son los nombres de los profesores y las asignaturas que imparten en orden alfabético de sus nombres de manera ascendiente.", "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": "Muestre el nombre del profesor del curso de matemáticas.", "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 = \"Ps\"", "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": "¿Cuáles son los nombres de las profesores que imparten cursos de matemáticas?", "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": "Muestre los nombres de los profesores y número de cursos que imparten.", "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": "¿Cuáles son los nombres de los profesores y cuántos cursos imparten?", "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": "Muestre los nombres de los profesores que enseñan al menos dos cursos.", "predicted": "SELECT teacher.Name FROM teacher JOIN course_arrange ON teacher.Teacher_ID = course_arrange.Teacher_ID GROUP BY teacher.Teacher_ID HAVING Count(*) >= 2", "gold": "SELECT T2.Name FROM course_arrange AS T1 JOIN teacher AS T2 ON T1.Teacher_ID = T2.Teacher_ID GROUP BY T2.Name HAVING COUNT(*) >= 2", "predicted_parse_error": false, "hardness": "medium", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "group": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "¿Cómo se llaman los profesores que imparten al menos dos cursos?", "predicted": "SELECT teacher.Name FROM teacher JOIN course_arrange ON teacher.Teacher_ID = course_arrange.Teacher_ID GROUP BY teacher.Teacher_ID HAVING Count(*) >= 2", "gold": "SELECT T2.Name FROM course_arrange AS T1 JOIN teacher AS T2 ON T1.Teacher_ID = T2.Teacher_ID GROUP BY T2.Name HAVING COUNT(*) >= 2", "predicted_parse_error": false, "hardness": "medium", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "group": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "Enumere los nombres de los profesores que no han sido asignados para impartir cursos.", "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": "¿Cuáles son los profesores cuyos cursos no se han asignado?", "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": "¿Cuántos visitantes menores de 30 años hay?", "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": "Encuentre los nombres de los visitantes cuyo nivel de membresía sea superior a 4 y ordénelos por este nivel de alto a bajo.", "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": "¿Cuál es la edad promedia de los visitanes de nivel de membresía no más de 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": "Encuentre los nombres y niveles de membresía de los visitantes que son miembros superiores a cuarto nivel y ordánelos por edades de mayores a jóvenes.", "predicted": "SELECT visitor.Name, visitor.Level_of_membership FROM visitor WHERE visitor.Age > 4 ORDER BY visitor.Level_of_membership Asc", "gold": "SELECT name , Level_of_membership FROM visitor WHERE Level_of_membership > 4 ORDER BY age DESC", "predicted_parse_error": false, "hardness": "medium", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 0, "rec": 0, "f1": 0, "label_total": 3, "pred_total": 3}}}, {"question": "Encuentre la identificación y el nombre del museo que tiene más personal.", "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": "Encuentre la cantidad media de personal que trabaja en los museos que estuvieron abiertos antes de 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": "¿Cuál es el año abierto y el número de personal del Museo llamado \"Plaza Museum\"?", "predicted": "SELECT museum.Open_Year, museum.Num_of_Staff FROM museum WHERE museum.Name = \"DinMuseumMuseum\"", "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": "Encuentre los nombres de los museos que tienen más personal que el mínimo de todos abiertos después de 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": "Encuentre identificaciones, nombres y edades de los visitantes que visitaron algunos museos más de una vez.", "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": "¿Cuáles son la identificación, el nombre y el nivel de membresía de los visitantes que han gastado más dinero en total en todas las entradas al museo?", "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": "¿Cuál es la identificación y el nombre del museo más visitado?", "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": "¿Cómo se llama el museo que no ha tenido ninguna visita hasta hoy?", "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": "Encuentre el nombre y la edad del visitante que compró más entradas a la vez.", "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": "¿Cuál es el número medio y máximo de entradas compradas entre todas las visitas?", "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": "¿Cuál es el gasto total de entradas de los miembros de nivel \"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": "¿Cómo se llama el visitante que visitó un museo abierto antes de 2009 y otro abierto después de 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 visit.Museum_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": "Encuentre el número de visitantes que no visitaron ningún museo abierto después de 2010.", "predicted": "SELECT Count(*) FROM visit 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": "¿Cuántos museos se abrieron después de 2013 o antes de 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": "Encuentra el número total de jugadores.", "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": "¿Cuantos jugadores hay?", "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": "Encuentra el número total de partidos.", "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": "Cuente el número de partidos.", "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": "Enumere el nombre y la fecha de nacimiento de todos los jugadores de código de país \"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": "¿Cuáles son los nombres y las fechas de nacimiento de los jugadores de\"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": "Encuentra la edad media de los ganadores y perdedores de todos los partidos.", "predicted": "SELECT Avg(matches.loser_age), matches.winner_age FROM matches GROUP BY matches.winner_age", "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": "¿Cuáles son las edades medias de los perdedores y ganadores en los partidos?", "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": "Encuentra la clasificaciones medias de ganadores en todos los partidos.", "predicted": "SELECT Avg(rankings.ranking) FROM rankings", "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": "¿Cuál es la clasificaciones medias de los ganadores en todos los partidos?", "predicted": "SELECT Avg(rankings.ranking) FROM rankings", "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": "Encuentra la clasificación más alta de los perdedores en todos los partidos.", "predicted": "SELECT Max(rankings.ranking) FROM rankings", "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": "¿Cuál es la mejor clasificaiones de perdedores en todos los partidos?", "predicted": "SELECT matches.best_of 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": "Encuentre el número de códigos de países distintos de todos los jugadores.", "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 cuántos países distintos provienen los jugadores?", "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": "¿Cuántos perderdores hay?", "predicted": "SELECT Count(*) FROM matches", "gold": "SELECT count(DISTINCT loser_name) 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": "¿Cuántos nombres diferentes de perdedores hay?", "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": "Encuentra el nombre del torneo que tiene más de 10 partidos.", "predicted": "SELECT matches.tourney_name FROM matches GROUP BY matches.tourney_name HAVING Count(*) > 10", "gold": "SELECT tourney_name FROM matches GROUP BY tourney_name HAVING count(*) > 10", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "¿Cuáles son los nombres de los torneos que tienen más de 10 partidos?", "predicted": "SELECT matches.tourney_name FROM matches GROUP BY matches.tourney_name HAVING Count(*) > 10", "gold": "SELECT tourney_name FROM matches GROUP BY tourney_name HAVING count(*) > 10", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "Enumere los nombres de todos los ganadores que jugaron tanto en 2013 como en 2016.", "predicted": "SELECT players.first_name FROM players JOIN matches ON players.player_id = matches.loser_id WHERE matches.year = 2003 INTERSECT SELECT players.first_name FROM players JOIN matches ON players.player_id = matches.winner_id WHERE matches.year = 2016", "gold": "SELECT winner_name FROM matches WHERE YEAR = 2013 INTERSECT SELECT winner_name FROM matches WHERE YEAR = 2016", "predicted_parse_error": false, "hardness": "hard", "exact": 0, "partial": {"select": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "¿Cuáles son los nombres de los jugadores que ganaron tanto en 2013 como en 2016?", "predicted": "SELECT players.first_name FROM players JOIN matches ON players.player_id = matches.loser_id WHERE matches.year = 2003 INTERSECT SELECT players.first_name FROM players JOIN matches ON players.player_id = matches.winner_id WHERE matches.year = 2016", "gold": "SELECT winner_name FROM matches WHERE YEAR = 2013 INTERSECT SELECT winner_name FROM matches WHERE YEAR = 2016", "predicted_parse_error": false, "hardness": "hard", "exact": 0, "partial": {"select": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "Enumere el número de todos los partidos en 2013 o 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": "¿Cuántos partidos se celebraon en 2013 o 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": "¿Cuál es el código de país y el nombre de los jugadores que ganaron tanto en el torneo\"WTA Championships\" como en el \"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": "¿Cuáles son los nombres y códigos de país de los jugadores que ganaron tanto el \"WTA Championships\" como el \"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 = \"Alice\"", "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": "Encuentre el nombre y el código de país del jugador de edad más alta.", "predicted": "SELECT players.first_name, players.country_code FROM players JOIN matches ON players.player_id = matches.loser_id ORDER BY matches.winner_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": "¿Cuál es el nombre y el código de país del jugador de edad más alta?", "predicted": "SELECT players.first_name, players.country_code FROM players JOIN matches ON players.player_id = matches.loser_id ORDER BY matches.winner_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": "Enumere el nombre y apellido de todos los jugadores en orden de fecha de nacimiento.", "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": "¿Cuáles son los nombres completos de todos los jugadores, ordenados por fechas de nacimiento?", "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": "Enumere los nombres y apellidos de todos los jugadores de mano acostumbrada de\"L\" en el orden de fecha de nacimiento.", "predicted": "SELECT players.first_name, players.last_name FROM players WHERE players.hand = \"\" 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": "¿Cuáles son los nombres completos de todos los jugadores de mano acostumbrada de\"L\", en orden de fecha de nacimiento?", "predicted": "SELECT players.first_name, players.last_name FROM players WHERE players.hand = \"null\" 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": "Encuentre el nombre y el código de país del jugador que ha particiàdo la mayor cantidad de torneos.", "predicted": "SELECT players.first_name, players.country_code FROM players JOIN matches ON players.player_id = matches.loser_id GROUP BY players.player_id ORDER BY Count(*) Desc LIMIT 1", "gold": "SELECT T1.country_code , T1.first_name FROM players AS T1 JOIN rankings AS T2 ON T1.player_id = T2.player_id ORDER BY T2.tours DESC LIMIT 1", "predicted_parse_error": false, "hardness": "hard", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 1}, "group": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 1}, "order": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 0, "rec": 0, "f1": 0, "label_total": 3, "pred_total": 4}}}, {"question": "¿Cuál es el nombre y el código de país del jugador que ha particiàdo la mayor cantidad de torneos?", "predicted": "SELECT players.first_name, players.country_code FROM players JOIN matches ON players.player_id = matches.loser_id GROUP BY players.player_id ORDER BY Count(*) Desc LIMIT 1", "gold": "SELECT T1.country_code , T1.first_name FROM players AS T1 JOIN rankings AS T2 ON T1.player_id = T2.player_id ORDER BY T2.tours DESC LIMIT 1", "predicted_parse_error": false, "hardness": "hard", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 1}, "group": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 1}, "order": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 0, "rec": 0, "f1": 0, "label_total": 3, "pred_total": 4}}}, {"question": "Encuentre el año en que se celebró más partidos.", "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": "¿Qué año tuvo más partidos?", "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": "Encuentre el nombre y los puntos de clasificación del ganador que ganó más veces.", "predicted": "SELECT matches.winner_name, matches.winner_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": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_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": "¿Cuál es el nombre del ganador que ha ganado más partidos y cuántos puntos de clasificación sacó este jugador?", "predicted": "SELECT players.first_name, matches.winner_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": "Encuentre el nombre del ganador que tiene los puntos de clasificación más altos y participó en el torneo del \"Australian Open\".", "predicted": "SELECT matches.winner_name FROM players JOIN matches ON players.player_id = matches.loser_id JOIN rankings ON players.player_id = rankings.player_id WHERE matches.tourney_name = \"AustralianOpen\" AND matches.winner_rank_points = \"AmericanOpen\" ORDER BY rankings.ranking_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": 0, "rec": 0, "f1": 0, "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": "¿Cuál es el nombre del ganador con más puntos de clasificación que participó en el torneo \"Australian Open\"?", "predicted": "SELECT players.first_name FROM players JOIN matches ON players.player_id = matches.loser_id WHERE matches.tourney_name = \"Australian\" AND matches.winner_rank_points = \"AmericanOpen\" ORDER BY matches.winner_rank_points Desc LIMIT 1", "gold": "SELECT winner_name FROM matches WHERE tourney_name = 'Australian Open' ORDER BY winner_rank_points DESC LIMIT 1", "predicted_parse_error": false, "hardness": "hard", "exact": 0, "partial": {"select": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "where": {"acc": 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": "Encuentre los nombres de perdedores y de ganadores que jugaron en el partido más tiempo.", "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": "¿Cómo se llaman los ganadores y perdedores que jugaron en el partido más largo?", "predicted": "SELECT matches.winner_name, matches.loser_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": "Encuentra la clasificación media de cada jugador y su nombre.", "predicted": "SELECT players.first_name, Avg(rankings.ranking_points) 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": "¿Cuáles son los nombres de todos los jugadores y su clasificación media?", "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": "Encuentra el total de puntos de clasificación de cada jugador y su nombre.", "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": "¿Cuáles son los nombres de todos los jugadores y sus puntos de clasificación totales?", "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": "Encuentra el número de jugadores de cada país.", "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": "¿Cuántos jugadores son de cada país?", "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": "Encuentre el código del país donde tiene el mayor número de jugadores.", "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": "¿Cuál es el código del país con más jugadores?", "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": "Encuentra los códigos de países que tienen más de 50 jugadores.", "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": "¿Cuáles son los códigos de países con más de 50 jugadores?", "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": "Encuentre el número total de torneos para cada fecha de clasificación.", "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": "¿Cuántos torneos en total hubo para cada fecha de clasificación?", "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": "Calcula el número de partidos jugados de cada año.", "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": "¿Cuántos partidos se jugaron cada año?", "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": "Encuentra nombres y clasificaciones de los 3 ganadores más jóvenes entre todos los partidos.", "predicted": "SELECT matches.winner_name, players.first_name FROM players JOIN matches ON players.player_id = matches.loser_id ORDER BY matches.winner_age Asc LIMIT 3", "gold": "SELECT DISTINCT winner_name , winner_rank FROM matches ORDER BY winner_age LIMIT 3", "predicted_parse_error": false, "hardness": "medium", "exact": 0, "partial": {"select": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}}}, {"question": "¿Cuáles son los nombres y clasificaciones de los tres ganadores más jóvenes entre todos los partidos?", "predicted": "SELECT matches.winner_name, players.first_name FROM players JOIN matches ON players.player_id = matches.loser_id ORDER BY matches.winner_age Asc LIMIT 3", "gold": "SELECT DISTINCT winner_name , winner_rank FROM matches ORDER BY winner_age LIMIT 3", "predicted_parse_error": false, "hardness": "medium", "exact": 0, "partial": {"select": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}}}, {"question": "¿Cuántos ganadores diferentes participaron en \"WTA Championships\" y fueron zurdos?", "predicted": "SELECT Count(*) FROM players JOIN matches ON players.player_id = matches.loser_id WHERE matches.tourney_name = \"NewTAChampionship\" AND players.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": 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": "Encuentra el número de ganadores zurdos que participaron en \"WTA Championships\".", "predicted": "SELECT Count(*) FROM players JOIN matches ON players.player_id = matches.loser_id WHERE players.hand = \"Y\" AND matches.tourney_name = \"JohnTAChampionship\"", "gold": "SELECT count(DISTINCT winner_name) FROM matches WHERE tourney_name = 'WTA Championships' AND winner_hand = 'L'", "predicted_parse_error": false, "hardness": "medium", "exact": 0, "partial": {"select": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 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": "Encuentre el nombre, código de país y fecha de nacimiento del ganador que tenga los puntos de clasificación más altos entre todos los partidos.", "predicted": "SELECT players.first_name, players.country_code, players.birth_date FROM players JOIN matches ON players.player_id = matches.loser_id GROUP BY matches.winner_id ORDER BY matches.winner_rank_points Desc LIMIT 1", "gold": "SELECT T1.first_name , T1.country_code , T1.birth_date FROM players AS T1 JOIN matches AS T2 ON T1.player_id = T2.winner_id ORDER BY T2.winner_rank_points DESC LIMIT 1", "predicted_parse_error": false, "hardness": "hard", "exact": 0, "partial": {"select": {"acc": 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": 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": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 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": "¿Cuál es el nombre, el código de país y la fecha de nacimiento del jugador con más puntos de clasificación de ganador entre todos los partidos?", "predicted": "SELECT players.first_name, players.country_code, 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": 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": 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": "Encuentra el número de jugadores diestros y zurdos.", "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": "¿Cuántos jugadores diestros y zurdos hay respectivamente?", "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": "¿Cuántos barcos terminaron siendo \"Captured\"?", "predicted": "SELECT Count(*) FROM ship WHERE ship.disposition_of_ship = \"Motured\"", "gold": "SELECT count(*) FROM ship WHERE disposition_of_ship = 'Captured'", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "Enumere nombres y tonelajes en orden alfabético reverso de nombres.", "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": "Enumere el nombre, la fecha y el resultado de cada batalla.", "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": "¿Cuál es el número máximo y mínimo de muertes causadas cada vez?", "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": "¿Cuál es el número medio de heridas causadas cada vez?", "predicted": "SELECT Avg(death.injured) FROM death", "gold": "SELECT avg(injured) FROM death", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "¿Cuáles son las situaciones de muertes y lesiones causadas por el barco con tonelaje \"T\"?", "predicted": "SELECT death.killed, death.injured FROM ship JOIN death ON ship.id = death.caused_by_ship_id WHERE ship.tonnage = \"Te\"", "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": "¿Cuáles son los nombres y los resultados de las batallas cuyo comandante búlgaro no es \"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": "¿Cuáles son las identificaciones y nombres diferentes de las batallas que perdieron algún barco del tipo '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": "¿Cuáles son las identificaciones y nombres de las batallas que llevaron a más de 10 personas muertas en 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": "¿Cuál es la identificación y el nombre del barco que causó más lesiones?", "predicted": "SELECT ship.id, ship.name FROM ship JOIN death ON ship.id = death.caused_by_ship_id GROUP BY ship.id ORDER BY Count(*) 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": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_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": "¿Cuáles son los distintos nombres de batalla entre el comandante búlgaro \"Kaloyan\" y el comandante latino \"Baldwin I\"?", "predicted": "SELECT DISTINCT battle.result FROM battle WHERE battle.bulgarian_commander = \"Democratic\" AND battle.latin_commander = \"Comp\"", "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": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "¿Cuántos resultados diferentes hay para las batallas?", "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": "¿Cuántas batallas no perdió ningún barco con tonelaje \"225\"?", "predicted": "SELECT Count(*) FROM battle WHERE battle.id NOT IN (SELECT ship.lost_in_battle 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": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_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": "Indique el nombre y la fecha de la batalla que ha perdido el barco llamado \"Lettice\" y el barco llamado \"HMS Atalanta\"", "predicted": "SELECT battle.name, battle.date FROM battle JOIN ship ON battle.id = ship.lost_in_battle WHERE ship.name = \"Latice\" INTERSECT SELECT battle.name, battle.date FROM battle JOIN ship ON battle.id = ship.lost_in_battle WHERE ship.name = \"KeMSAta\"", "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": "Muestra nombres, resultados y comandantes búlgaros de las batallas sin barcos perdidos en el \"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": "¿Cuáles son las notas de muertes que tienen la subcadena \"East\"?", "predicted": "SELECT death.note FROM death WHERE death.note LIKE \"A%\"", "gold": "SELECT note FROM death WHERE note LIKE '%East%'", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "¿Cuáles son todas las direcciones, incluidas la línea 1 y la línea 2?", "predicted": "SELECT Addresses.line_1 FROM Addresses WHERE Addresses.line_1 LIKE 40 INTERSECT 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": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 1}, "keywords": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 3}}}, {"question": "¿Cuál es la primera y segunda línea para todas las direcciones?", "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": "¿Cuántos cursos en total se enumeran?", "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": "Cuántos cursos hay?", "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": "¿Cómo se describe el curso 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": "¿Cuáles son las descripciones de todos los cursos 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": "¿Cuál es el código postal de la dirección en la ciudad de \"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": "¿Cuál es el código postal de\"Port Chelsea\"?", "predicted": "SELECT Addresses.zip_postcode FROM Addresses WHERE Addresses.city = \"LondonChelseaChelsea\"", "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": "¿Qué departamento ofrece la mayor cantidad de programas de grado? Indique el nombre y la identificación del departamento.", "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": "¿Cuál es el nombre y la identificación del departamento con la mayor cantidad de programas de grados?", "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": "¿Cuántos departamentos ofrecen programas de grado?", "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": "¿Cuántos departamentos diferentes ofrecen programas de grado?", "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": "¿Cuántos nombres de resumen de grado diferentes hay?", "predicted": "SELECT Count(DISTINCT Degree_Programs.degree_summary_name) FROM Degree_Programs", "gold": "SELECT count(DISTINCT degree_summary_name) FROM Degree_Programs", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "¿Cuántos programas de grado se otorgan?", "predicted": "SELECT Count(*) 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": "¿Cuántos programas de grado ofrece el departamento de \"engineer\"?", "predicted": "SELECT Count(*) FROM Departments JOIN Degree_Programs ON Departments.department_id = Degree_Programs.department_id WHERE Departments.department_name = \"Computer\"", "gold": "SELECT count(*) FROM Departments AS T1 JOIN Degree_Programs AS T2 ON T1.department_id = T2.department_id WHERE T1.department_name = 'engineer'", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "¿Cuántos programas de grado tiene el departamento de \"engineer\"?", "predicted": "SELECT Count(*) FROM Departments JOIN Degree_Programs ON Departments.department_id = Degree_Programs.department_id WHERE Departments.department_name = \"Computer\"", "gold": "SELECT count(*) FROM Departments AS T1 JOIN Degree_Programs AS T2 ON T1.department_id = T2.department_id WHERE T1.department_name = 'engineer'", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "¿Cuáles son los nombres y descripciones de todas las secciones?", "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": "¿Cuáles son los nombres y descripciones para todas las secciones?", "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": "¿Cuáles son los nombres y las identificaciones de los cursos que tienen 2 secciones como máximo?", "predicted": "SELECT Courses.course_name, Courses.course_id FROM Courses JOIN Sections ON Courses.course_id = Sections.course_id GROUP BY Sections.course_id HAVING Count(*) <= 2", "gold": "SELECT T1.course_name , T1.course_id FROM Courses AS T1 JOIN Sections AS T2 ON T1.course_id = T2.course_id GROUP BY T1.course_id HAVING count(*) <= 2", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "¿Cuáles son los nombres e identificaciones de cada curso con menos de 2 secciones?", "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": "Enumere los nombres de secciones en orden lexicográfico inverso.", "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": "¿Cuáles son los nombres de las secciones en orden alfabético inverso?", "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": "¿Cuál es el semestre en el que se registra másestudiantes? Muestre tanto el nombre como la identificación.", "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": "Para cada semestre, ¿cuál es el nombre y la identificación del que tiene más estudiantes registrados?", "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": "¿Cuál es la descripción del departamento cuyo nombre tiene la subcadena \"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": "¿Cuál es la descripción del departamento cuyo nombre tiene la palabra \"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énes están inscritos en dos programas en un semestre? Indique el nombre primero, segundo y apellido y la identificación.", "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": "¿Cuáles son los nombre completos junto con las identificaciones, de todos los estudiantes que se inscribieron en 2 programas en un semestre?", "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": "¿Quién está inscrito en un programa de \"Bachelor\"? Escriba el nombre, segundo nombre, apellido.", "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 = \"Ded\"", "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": "¿Cuáles son el nombre, el segundo nombre y el apellido de todas las personas inscritas en un programa de \"Bachelor\"?", "predicted": "SELECT Students.first_name, Students.middle_name, Students.last_name FROM Degree_Programs JOIN Students JOIN Student_Enrolment ON Degree_Programs.degree_program_id = Student_Enrolment.degree_program_id AND Student_Enrolment.student_id = Students.student_id WHERE Degree_Programs.degree_summary_name = \"PhC\"", "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": "¿Encuentra el tipo de programa en el que está matriculado la mayor cantidad de estudiantes?", "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": "¿Cuál es el nombre de resumen de grado que tiene la mayor cantidad de estudiantes matriculados?", "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": "Encuentre el programa de grado en el que está inscrito la mayor cantidad de estudiantes. Enumere tanto la identificación como el nombre del resumen del grado.", "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": "¿Cuál es la identificación del programa de grado y el nombre del resumen del grado que tiene más estudiantes matriculados?", "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": "¿Qué estudiante se ha matriculado más veces en cualquier programa? Indique la identificación, nombre, segundo nombre, apellido, el número de inscripciones y la identificación del estudiante.", "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": "¿Cuál es el nombre, el segundo nombre y el apellido, junto con la identificación y el número de inscripciones, del estudiante que se inscribió más en cualquier programa?", "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": "¿Qué semestres no tienen ningún alumno matriculado? Dime sus nombres.", "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": "¿Cuál es el nombre del semestre sin estudiantes inscritos?", "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": "¿Cuáles son los nombres de todos los cursos inscritos por los estudiantes?", "predicted": "SELECT 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": "¿Cuáles son los nombres de todos los cursos que tienen algunos estudiantes inscritos?", "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": "¿Cuál es el nombre del curso con mayores inscripciones?", "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": "¿Cuál es el nombre del curso con más estudiantes matriculados?", "predicted": "SELECT Courses.course_name FROM Courses JOIN Student_Enrolment_Courses ON Courses.course_id = Student_Enrolment_Courses.course_id GROUP BY Courses.course_id ORDER BY Count(*) Desc LIMIT 1", "gold": "SELECT T1.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": "Encuentre apellidos de los estudiantes que actualmente viven en\"North Carolina\"pero que no se han registrado en ningún programa de grado.", "predicted": "SELECT Students.last_name FROM Addresses JOIN Students ON Addresses.address_id = Students.current_address_id WHERE Addresses.state_province_county = \"CCarolina\" EXCEPT SELECT Students.last_name FROM Students EXCEPT SELECT Addresses.city FROM Student_Enrolment WHERE Student_Enrolment.degree_program_id = \"PaloCarolina\"", "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": "¿Cuáles son los apellidos de los estudiantes que viven en \"North Carolina\" pero que no se han registrado en ningún programa de grado?", "predicted": "SELECT Students.last_name FROM Addresses JOIN Students ON Addresses.address_id = Students.current_address_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": "Muestre la fecha y la identificación de transcripciones con al menos 2 resultados de curso.", "predicted": "SELECT Transcripts.transcript_date, Transcripts.transcript_id FROM Transcripts GROUP BY Transcripts.transcript_id HAVING Count(*) >= 2", "gold": "SELECT T2.transcript_date , T1.transcript_id FROM Transcript_Contents AS T1 JOIN Transcripts AS T2 ON T1.transcript_id = T2.transcript_id GROUP BY T1.transcript_id HAVING count(*) >= 2", "predicted_parse_error": false, "hardness": "medium", "exact": 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": 2, "pred_total": 2}}}, {"question": "¿Cuál es la fecha y la identificación de transcripciones con al menos 2 cursos enumerados?", "predicted": "SELECT Transcripts.transcript_date, Transcripts.transcript_id FROM Transcripts JOIN Transcript_Contents ON Transcripts.transcript_id = Transcript_Contents.transcript_id GROUP BY Transcripts.transcript_id HAVING Count(*) >= 2", "gold": "SELECT T2.transcript_date , T1.transcript_id FROM Transcript_Contents AS T1 JOIN Transcripts AS T2 ON T1.transcript_id = T2.transcript_id GROUP BY T1.transcript_id HAVING count(*) >= 2", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "¿Cuál es el número de móvil celular de la persona con el nombre de \"Timmothy\"y el apellido de\"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": "¿Cuál es el número de móvil celular del estudiante llamado \"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én es el primer estudiante que se registró? Indique el nombre, segundo nombre y apellido.", "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": "¿Cuál es el nombre, segundo nombre y apellido del primer estudiante que se inscribió?", "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én es el primer graduado de la escuela? Indique el nombre, segundo nombre y apellido.", "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": "¿Cuál es el nombre, el segundo nombre y el apellido del primer graduado de la escuela?", "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": "¿La dirección permanente de quién es diferente a su dirección actual? Dame sus numbres .", "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": "¿Cuál es el nombre del estudiante cuya dirección permanente es diferente a la actual?", "predicted": "SELECT DISTINCT Students.first_name FROM Students WHERE Students.permanent_address_id > (SELECT Min(Students.permanent_address_id) FROM Students)", "gold": "SELECT first_name FROM Students WHERE current_address_id != permanent_address_id", "predicted_parse_error": false, "hardness": "easy", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "¿En qué dirección vive la mayor cantidad de estudiantes actualmente? Enumere la identificación de la dirección y su primera y segunda línea.", "predicted": "SELECT Students.current_address_id, Addresses.line_1 FROM Addresses JOIN Students ON Addresses.address_id = Students.current_address_id GROUP BY Students.current_address_id ORDER BY Count(*) Desc LIMIT 1", "gold": "SELECT T1.address_id , T1.line_1 , T1.line_2 FROM Addresses AS T1 JOIN Students AS T2 ON T1.address_id = T2.current_address_id GROUP BY T1.address_id ORDER BY count(*) DESC LIMIT 1", "predicted_parse_error": false, "hardness": "extra", "exact": 0, "partial": {"select": {"acc": 0, "rec": 0, "f1": 0, "label_total": 3, "pred_total": 2}, "select(no AGG)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 3, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 4, "pred_total": 4}}}, {"question": "¿Cuál es la identificación, la línea 1 y la línea 2 de la dirección con más estudiantes?", "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": "En promedio, ¿cuándo se imprimieron las transcripciones?", "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": "¿Cuál es la fecha media de transcripción?", "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": "¿Cuándo se publica la primera transcripción? Enumere la fecha y otros detalles.", "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": "¿Cuál es la fecha más temprana de la publicación de la transcripción y qué detalles puede darme?", "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": "¿Cuántas transcripciones se publican?", "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": "¿Cuántas transcripciones se enumeran?", "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": "¿Cuál es la fecha de publicación de la última transcripción?", "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": "¿Cuándo se publicó la última transcripción?", "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": "¿Cuántas veces como máxima se puede mostrar el resultado de la inscripción a un curso en diferentes transcripciones? También muestre ID de inscripción al curso.", "predicted": "SELECT Transcripts.transcript_id, Count(*) FROM Transcripts GROUP BY Transcripts.transcript_id ORDER BY Count(*) Desc LIMIT 1", "gold": "SELECT count(*) , student_course_id FROM Transcript_Contents GROUP BY student_course_id ORDER BY count(*) DESC LIMIT 1", "predicted_parse_error": false, "hardness": "hard", "exact": 0, "partial": {"select": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "group": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 4, "pred_total": 4}}}, {"question": "Las veces máximas que un curso aparece en diferentes transcripciones y cuál es la identificación de inscripción suya?", "predicted": "SELECT Count(*), Transcripts.transcript_id FROM Transcripts GROUP BY Transcripts.transcript_id ORDER BY Count(*) Desc LIMIT 1", "gold": "SELECT count(*) , student_course_id FROM Transcript_Contents GROUP BY student_course_id ORDER BY count(*) DESC LIMIT 1", "predicted_parse_error": false, "hardness": "hard", "exact": 0, "partial": {"select": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "group": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 4, "pred_total": 4}}}, {"question": "Muestre la fecha de la transcripción que da el menor número de resultados, también enumere la identificación.", "predicted": "SELECT Transcripts.transcript_date, Transcripts.transcript_id 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": 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": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_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": "¿Cuál es la fecha y la identificación de l atranscripción con el menor número de resultados?", "predicted": "SELECT Transcripts.transcript_date, Transcripts.transcript_id 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": 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": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_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": "Encuentre el semestre en el que se inscribieron tanto \"Master\"como \"Bachelor\".", "predicted": "SELECT Semesters.semester_name FROM Semesters JOIN Student_Enrolment ON Semesters.semester_id = Student_Enrolment.semester_id WHERE Student_Enrolment.degree_program_id = \"Comp\" INTERSECT SELECT Semesters.semester_name FROM Student_Enrolment JOIN Semesters ON Student_Enrolment.semester_id = Semesters.semester_id WHERE Student_Enrolment.degree_program_id = \"Ph\"", "gold": "SELECT DISTINCT T2.semester_id FROM Degree_Programs AS T1 JOIN Student_Enrolment AS T2 ON T1.degree_program_id = T2.degree_program_id WHERE degree_summary_name = 'Master' INTERSECT SELECT DISTINCT T2.semester_id FROM Degree_Programs AS T1 JOIN Student_Enrolment AS T2 ON T1.degree_program_id = T2.degree_program_id WHERE degree_summary_name = 'Bachelor'", "predicted_parse_error": false, "hardness": "extra", "exact": 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": 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": "¿Cuál es la identificación del semestre en el que se inscribieron \"Master\"y \"Bachelor\"?", "predicted": "SELECT Student_Enrolment.semester_id FROM Student_Enrolment WHERE Student_Enrolment.degree_program_id = \"Professor\" 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": "¿Cuántas direcciones diferentes viven actualmente los estudiantes?", "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": "¿Cuáles son las diferentes direcciones que tienen los estudiantes viviendo allí?", "predicted": "SELECT DISTINCT Students.current_address_id FROM Students", "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": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "Enumere todos los detalles del alumno en orden lexicográfico inverso.", "predicted": "SELECT * FROM Students ORDER BY Students.first_name 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": 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": "¿Qué otros detalles me puedes contar sobre los estudiantes en orden alfabético inverso?", "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": "Describe la sección \"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": "¿Cuál es la descripción de la sección denominada\"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": "Encuentre los nombres de los estudiantes que viven permanentemente en el país \"Haiti\" o tienen el número de móvil celular\"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 = \"C700166582\"", "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": "¿Cuáles son los nombres de los estudiantes que viven en \"Haiti\" de forma permanente o tienen el número de móvil celular\"09700166582\"?", "predicted": "SELECT Students.first_name FROM Addresses JOIN Students ON Addresses.address_id = Students.current_address_id WHERE Students.cell_mobile_number = \"Close\" OR Addresses.country = \"Canada\"", "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": "Enumere títulos de todos los dibujos animados en orden alfabético.", "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": "¿Cuáles son los títulos de los dibujos animados ordenados alfabéticamente?", "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": "Lista todos los dibujos animados dirigidos por \"Ben Jones\".", "predicted": "SELECT Cartoon.Title FROM Cartoon WHERE Cartoon.Directed_by = \"JohnJones\"", "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": "¿Cuáles son los nombres de todos los dibujos animados dirigidos por\"Ben Jones\"?", "predicted": "SELECT Cartoon.Title FROM Cartoon WHERE Cartoon.Directed_by = \"WalJones\"", "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": "¿Cuántos dibujos animados fueron escritos por\"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": "¿Cuál es el número de dibujos animados escritos por\"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": "Enumere todos los títulos de dibujos animados y sus directores ordenados por fecha del aire.", "predicted": "SELECT Cartoon.Title, Cartoon.Directed_by FROM Cartoon ORDER BY Cartoon.Title Asc", "gold": "SELECT title , Directed_by FROM Cartoon ORDER BY Original_air_date", "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": 2, "pred_total": 2}}}, {"question": "¿Cuáles son los títulos y los directores de todos los dibujos animados ordenados por fecha del aire?", "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": "Enumere títulos de todos los dibujos animados dirigidos por\"Ben Jones\" o\"Brandon Vietti\".", "predicted": "SELECT Cartoon.Title FROM Cartoon WHERE Cartoon.Directed_by = \"PeterJonesJones\" OR Cartoon.Written_by = \"BlanVietViet\"", "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": "¿Cuáles son los títulos de todos los dibujos animados dirigidos por \"Ben Jones\"o\"Brandon Vietti\"?", "predicted": "SELECT Cartoon.Title FROM Cartoon WHERE Cartoon.Directed_by = \"PeterJonesJones\" OR Cartoon.Written_by = \"JamesVietViet\"", "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": "¿Qué país tiene más canales de televisión? Enumere los países y la cantidad de canales de televisión que tiene.", "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": "¿Cuál es el país con más canales de televisión y cuántos tiene?", "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": "Enumere el número de diferentes nombres de la serie y el de contenidos diferentes en la tabla de canales de TV.", "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": "¿Cuántas series y contenidos diferentes se enumeran en la tabla de canales de TV?", "predicted": "SELECT Count(DISTINCT TV_Channel.Content), Count(DISTINCT TV_Channel.Content) FROM TV_Channel", "gold": "SELECT count(DISTINCT series_name) , count(DISTINCT content) FROM TV_Channel;", "predicted_parse_error": false, "hardness": "medium", "exact": 0, "partial": {"select": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "¿Cuál es el contenido de la serie de televisión de \"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": "¿Cuál es el contenido de la serie de televisión\"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": "¿Cuál es la opción de paquete del canal de televisión con la serie \"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": "¿Cuáles son las opciones de paquete de los canales de televisión con la serie de\"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": "¿Cuántos canales de televisión utilizan el idioma \"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": "¿Cuántos canales de televisión utilizan el idioma \"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": "Enumere el idioma utilizado por el canal de televisión que usa menos idiomas. Lista el número de tales canales de televisión .", "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": "¿Cuál es el idioma que menos usan los canales de televisión y cuántos canales lo usan?", "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": "Enumere cada idioma y el número de canales de televisión que lo utilizan.", "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": "Para cada idioma, indique el número de canales de televisión que lo utilizan.", "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": "¿Cuál es el canal de televisión que proyectó el dibujo animado \"The Rise of the Blue Beetle!\"? Indique el nombre de la serie de este canal de televisión.", "predicted": "SELECT TV_Channel.series_name FROM TV_Channel JOIN Cartoon ON TV_Channel.id = Cartoon.Channel WHERE Cartoon.Title = \"TheRisRisofBlueetle!\"", "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": "¿Cuál es el nombre de la serie del canal de televisión que proyectó\"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 = \"TheRisBeBeofBele!\"", "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": "Enumere nombres de todos los dibujos animados disponibles en el canal de televisión con la serie de televisión \"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 = \"JaRadioRadio\"", "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": "¿Cuáles son los títulos de todos los dibujos animados que están en el canal de televisión con la serie de televisión \"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": "Enumere los episodios de todas las series de televisión ordenadas por calificaciones.", "predicted": "SELECT TV_series.Episode FROM TV_series ORDER BY TV_series.Rating Asc", "gold": "SELECT Episode FROM TV_series ORDER BY rating", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "¿Cuáles son todos los episodios ordenados por calificaciones?", "predicted": "SELECT TV_series.Episode FROM TV_series ORDER BY TV_series.Rating Asc", "gold": "SELECT Episode FROM TV_series ORDER BY rating", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "Enumere las 3 series de televisión de mayor calificación. Enumere los episodios y las clasificaciones.", "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": "¿Cuáles son los 3 episodios mejor calificados en la tabla de series de televisión y cuáles fueron esas calificaciones?", "predicted": "SELECT TV_series.Episode, TV_series.Rating FROM TV_series ORDER BY TV_series.Rating Desc LIMIT 3", "gold": "SELECT Episode , Rating FROM TV_series ORDER BY Rating DESC LIMIT 3;", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}}}, {"question": "¿Cuál es la cuota mínima y máxima de las series de televisión?", "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": "¿Cuál es la cuota máxima y mínima de la serie de televisión?", "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": "¿Cuál es la fecha del aire de la serie de televisión con el episodio \"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": "¿Cuándo emitió el episodio \"A Love of a Lifetime\"?", "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": "¿Cuál es el rango semanal de la serie de televisión\"A Love of a Lifetime\"?", "predicted": "SELECT TV_series.Weekly_Rank FROM TV_series WHERE TV_series.Episode = \"ALoveofaLifeLifeLife\"", "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": "¿Cuál es el rango semanal del episodio \"A Love of a Lifetime\"?", "predicted": "SELECT TV_series.Weekly_Rank FROM TV_series WHERE TV_series.Episode = \"ALoveofaLifeLifeLife\"", "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": "¿Cuál es el canal de televisión de la serie de televisión con el episodio \"A Love of a Lifetime\"? Indique el nombre de la serie de este canal de televisión.", "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": "¿Cuál es el nombre de la serie que contiene el episodio \"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": "Enumere los episodios de todas las series de televisión que están disponibles en el canal de televisión con una serie\"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": "¿Cuál es el episodio de la serie de televisión que emitió la serie de televisión \"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": "Encuentra el número de dibujos animados dirigidas por cada uno de los directores listados.", "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": "¿Cuántos dibujos animados dirigió cada director?", "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": "Encuentra el código de producción y el canal del dibujo animado emitido más recientemente.", "predicted": "SELECT Cartoon.Production_code, Cartoon.Channel FROM Cartoon ORDER BY Cartoon.Original_air_date Desc LIMIT 1", "gold": "select production_code , channel from cartoon order by original_air_date desc limit 1", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}}}, {"question": "¿Cuál es el código de producción y el canal del dibujo animado más reciente?", "predicted": "SELECT Cartoon.Production_code, Cartoon.Channel FROM Cartoon ORDER BY Cartoon.Production_code 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": "Encuentre la opción de paquete y el nombre de la serie del canal de televisión de alta definición.", "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": "¿Cuáles son las opciones de paquete y los nombres de las series para el canal que admite televisión de alta definición?", "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": "¿Qué países tienen los canales de televisiones que están reproduciendo algunos dibujos animados escritos por \"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": "¿Cuáles son los países que tienen dibujos animados en la televisión escritos por \"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": "¿Qué países tienen los canales que no están reproduciendo ningún dibujo animado escrito por \"Todd Casey\"?", "predicted": "SELECT TV_Channel.Country FROM TV_Channel EXCEPT SELECT TV_Channel.Country FROM TV_Channel JOIN TV_Channel 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": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "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": "¿Cuáles son los países que no están reproduciendo dibujos animados escritos por \"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": "Encontre el nombre de la serie y el país del canal de televisión que está reproduciendo algunos dibujos animados dirigidos por \"Ben Jones\"y \"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 Cartoon JOIN TV_Channel 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": "¿Cuál es el nombre de la serie y el país de todos los canales de televisión que reproducen dibujos animados dirigidos por\"Ben Jones\"y por \"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 = \"WalJones\" INTERSECT SELECT TV_Channel.series_name, TV_Channel.Country FROM TV_Channel JOIN Cartoon ON TV_Channel.id = Cartoon.Channel WHERE Cartoon.Directed_by = \"WalterChang\" AND Cartoon.Written_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": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "Encuentre la relación de aspecto de píxeles par y el país de origen de los canales de televisión que no utilizan \"English\".", "predicted": "SELECT TV_Channel.Pixel_aspect_ratio_PAR, TV_Channel.Country FROM TV_Channel WHERE TV_Channel.Language != \"USA\"", "gold": "SELECT Pixel_aspect_ratio_PAR , country FROM tv_channel WHERE LANGUAGE != 'English'", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "¿Cuál es la relación de aspecto de píxeles par y el país de origen de todos los canales de televisión que no utilizan \"English\"?", "predicted": "SELECT TV_Channel.Pixel_aspect_ratio_PAR, TV_Channel.Country FROM TV_Channel WHERE TV_Channel.Language != \"USA\"", "gold": "SELECT Pixel_aspect_ratio_PAR , country FROM tv_channel WHERE LANGUAGE != 'English'", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "Encuentre id de los canales de televisión que de los paises en los que hay más de dos canales de televisión.", "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": "¿Cuáles son las identificaciones de todos los canales de televisión que tienen más de 2 canales d e televisión?", "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": "Encuentre las identificaciones de los canales de televisión que no reproducen ningún dibujo animado dirigido por \"Ben Jones\".", "predicted": "SELECT TV_Channel.id FROM TV_Channel EXCEPT SELECT Cartoon.id 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": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "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": "¿Cuáles son las identificaciones de los canales de televisión que no tienen dibujos animados dirigidos por\"Ben Jones\"?", "predicted": "SELECT TV_Channel.id FROM TV_Channel EXCEPT SELECT Cartoon.id FROM Cartoon WHERE Cartoon.Directed_by = \"TVJones\"", "gold": "SELECT id FROM TV_Channel EXCEPT SELECT channel FROM cartoon WHERE directed_by = 'Ben Jones'", "predicted_parse_error": false, "hardness": "hard", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "Encuentre la opción de paquete del canal de televisión que no tenga ningún dibujo animado dirigido por \"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": "¿Cuáles son las opciones de paquete de todos los canales de televisión que no reproducen dibujos animados dirigidos por\"Ben Jones\"?", "predicted": "SELECT TV_Channel.Package_Option FROM TV_Channel EXCEPT SELECT TV_Channel.Package_Option FROM Cartoon JOIN TV_Channel ON Cartoon.Channel = TV_Channel.id WHERE Cartoon.Directed_by = \"TVJones\"", "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": "¿Cuántos jugadores de póquer hay?", "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": "Cuente el número de jugadores de póquer.", "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": "Enumere las ganancias de los jugadores de póquer en orden descendente.", "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": "¿Cuáles son las ganancias de los jugadores de póquer, ordenadas de forma descendente por valor?", "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": "Enumera las rondas finales realizadas y los mejores acabados de los jugadores de póquer.", "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": "¿Cuáles son las rondas finales hechas y los mejores acabados para todos los jugadores de póquer?", "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": "¿Cuáles son las ganancias medias de los jugadores de póquer?", "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": "Dame las ganancias medias de todos los jugadores de póquer.", "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": "¿Cuál es el rango de dinero del jugador de póquer con mayores ganancias?", "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": "Dame el rango de dinero del jugador con mayores ganancias.", "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": "¿Cuál es el máximo de rondas finales realizadas entre los jugadores de póquer con ganancias inferiores a 200000?", "predicted": "SELECT Max(poker_player.Final_Table_Made) FROM poker_player WHERE poker_player.Earnings < 200000", "gold": "SELECT max(Final_Table_Made) FROM poker_player WHERE Earnings < 200000", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "Dame las rondas finales realizadas entre todos los jugadores de póquer que tienen ganancias por debajo de 200000.", "predicted": "SELECT poker_player.Final_Table_Made FROM poker_player WHERE poker_player.Earnings < 200000", "gold": "SELECT max(Final_Table_Made) FROM poker_player WHERE Earnings < 200000", "predicted_parse_error": false, "hardness": "easy", "exact": 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": "¿Cuáles son los nombres de los jugadores de póquer?", "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": "¿Cómo se llaman todos los jugadores de póquer?", "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": "¿Cuáles son los nombres de los jugadores de póquer cuyas ganancias son superiores a 300000?", "predicted": "SELECT people.Name FROM poker_player JOIN people ON poker_player.People_ID = people.People_ID WHERE poker_player.Earnings > 300000", "gold": "SELECT T1.Name FROM people AS T1 JOIN poker_player AS T2 ON T1.People_ID = T2.People_ID WHERE T2.Earnings > 300000", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "Indique los nombres de los jugadores de póquer que tengan ganancias superiores a 300000.", "predicted": "SELECT people.Name FROM poker_player JOIN people ON poker_player.People_ID = people.People_ID WHERE poker_player.Earnings > 300000", "gold": "SELECT T1.Name FROM people AS T1 JOIN poker_player AS T2 ON T1.People_ID = T2.People_ID WHERE T2.Earnings > 300000", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "Enumere los nombres de los jugadores de póquer ordenados por sus rondas finales realizadas en orden ascendente.", "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": "¿Cuáles son los nombres de los jugadores de póquer, ordenados de forma ascendente por rondas finales que han realizado?", "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": "¿Cuál es la fecha de nacimiento del jugador de póquer con las ganancias más bajas?", "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": "La fecha de nacimiento del jugador de póquer con las ganancias más bajas.", "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": "¿Cuál es el rango de dinero del jugador de póquer más alto?", "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": "Dame el rango de dinero del jugador de póquer más alto.", "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": "¿Cuáles son las ganancias medias de los jugadores de póquer con una altura superior a 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": "Indique las ganancias medias de los jugadores de póquer más altos que 200.", "predicted": "SELECT Avg(poker_player.Earnings) FROM poker_player WHERE poker_player.Earnings > 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": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 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": "¿Cuáles son los nombres de los jugadores de póquer en orden descendente de ganancias?", "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": "Dame los nombres de los jugadores de póquer ordenados por sus ganancias de forma descendente.", "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": "¿Cuáles son las nacionalidades de personas y el número correspondiente de personas bajo cada una?", "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": "¿Cuántas personas hay de cada nacionalidad?", "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": "¿Cuál es la nacionalidad más común de las personas?", "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": "Indique la nacionalidad que sea más común entre todas las personas.", "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": "¿Cuáles son las nacionalidades que al menos dos personas pertenencen?", "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": "Dame las nacionalidades a la que dos o más personas pertenecen .", "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": "Enumere los nombres y las fechas de nacimiento de las personas en orden alfabético ascendente de nombres.", "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": "¿Cuáles son los nombres y las fechas de nacimiento de las personas, ordenados por sus nombres en orden alfabético?", "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": "Muestre los nombres de todas las personas excepto los de\"Russia\".", "predicted": "SELECT people.Name FROM people WHERE people.Nationality != \"Unitedin\"", "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": "¿Cuáles son los nombres de las personas que no son 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": "Enumere los nombres de personas que no son jugadores de póquer.", "predicted": "SELECT people.Name FROM people EXCEPT SELECT people.Name FROM poker_player JOIN 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": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 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": "¿Cuáles son los nombres de las personas que no juegan al póquer?", "predicted": "SELECT people.Name FROM people EXCEPT SELECT people.Name 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": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 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": "¿Cuántas nacionalidades distintas hay?", "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": "Cuente el número de diferentes nacionalidades.", "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": "¿Cuántos estados hay?", "predicted": "SELECT Count(AREA_CODE_STATE.state) FROM AREA_CODE_STATE", "gold": "SELECT count(*) FROM area_code_state", "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": "Enumere los números y nombres de los concursantes, ordenados alfabéticamente por sus nombres de forma descendente.", "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": "Enumere ids de voto, los números de teléfono y los estados de todos los votos.", "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": "¿Cuáles son los valores máximos y mínimos corresponden a cada código de área?", "predicted": "SELECT AREA_CODE_STATE.area_code, Max(AREA_CODE_STATE.area_code), Min(AREA_CODE_STATE.area_code) FROM AREA_CODE_STATE GROUP BY AREA_CODE_STATE.area_code", "gold": "SELECT max(area_code) , min(area_code) FROM area_code_state", "predicted_parse_error": false, "hardness": "medium", "exact": 0, "partial": {"select": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 3}, "select(no AGG)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 3}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 1}, "group": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 1}}}, {"question": "¿Cuál es la última fecha de creación de votos del estado \"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": "¿Cuáles son los nombres de los concursantes excepto \"Jessie Alloway\"?", "predicted": "SELECT CONTESTANTS.contestant_name FROM CONTESTANTS WHERE CONTESTANTS.contestant_name != \"Michaelgoalie\"", "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": "¿Cuáles son los distintos estados y fecha de creación de todos los votos?", "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": "¿Cuáles son los números de los concursantes y sus nombres que tuvieron al menos dos votos?", "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": "De todos los concursantes que fueron votados, ¿cuál es el número y el nombre del concursante que obtuvo menos votos?", "predicted": "SELECT CONTESTANTS.contestant_number, CONTESTANTS.contestant_name FROM CONTESTANTS JOIN VOTES ON CONTESTANTS.contestant_number = VOTES.contestant_number ORDER BY VOTES.contestant_number Asc LIMIT 1", "gold": "SELECT T1.contestant_number , T1.contestant_name FROM contestants AS T1 JOIN votes AS T2 ON T1.contestant_number = T2.contestant_number GROUP BY T1.contestant_number ORDER BY count(*) ASC LIMIT 1", "predicted_parse_error": false, "hardness": "extra", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 0}, "group": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 0}, "order": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 0, "rec": 0, "f1": 0, "label_total": 4, "pred_total": 3}}}, {"question": "¿Cuál es el número de votos de\"NY\"o\"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": "¿Cuántos concursantes no fueron votados?", "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": "¿Cuál es el código de área en el que votaron más los votantes?", "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": "¿Cuáles son las fechas de creación, estados y números de teléfono del concursante llamado \"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 = \"Bsetha\"", "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": "Enumere los códigos de área en los que los votantes votaron tanto por \"Tabatha Gehling\" como \"Kelly Clauss\".", "predicted": "SELECT AREA_CODE_STATE.area_code FROM AREA_CODE_STATE JOIN CONTESTANTS JOIN VOTES ON AREA_CODE_STATE.state = VOTES.state AND VOTES.contestant_number = CONTESTANTS.contestant_number WHERE CONTESTANTS.contestant_name = \"ApthaGehling\" INTERSECT SELECT AREA_CODE_STATE.area_code FROM AREA_CODE_STATE JOIN VOTES ON VOTES.contestant_number = VOTES.contestant_number JOIN CONTESTANTS ON VOTES.contestant_number = CONTESTANTS.contestant_number WHERE CONTESTANTS.contestant_name = \"Gity\"", "gold": "SELECT T3.area_code FROM contestants AS T1 JOIN votes AS T2 ON T1.contestant_number = T2.contestant_number JOIN area_code_state AS T3 ON T2.state = T3.state WHERE T1.contestant_name = 'Tabatha Gehling' INTERSECT SELECT T3.area_code FROM contestants AS T1 JOIN votes AS T2 ON T1.contestant_number = T2.contestant_number JOIN area_code_state AS T3 ON T2.state = T3.state WHERE T1.contestant_name = 'Kelly Clauss'", "predicted_parse_error": false, "hardness": "extra", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "Dame los concursantes cuyos nombres contienen la subcadena \"Al\".", "predicted": "SELECT CONTESTANTS.contestant_name FROM CONTESTANTS WHERE CONTESTANTS.contestant_name LIKE \"%a%\"", "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": "¿Cuáles son los países que fueron independientes después de 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": "Dame los países que se fundaron después de 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": "¿Cuántos países tienen \"republic\" como formulario de gobierno?", "predicted": "SELECT Count(*) FROM country WHERE country.GovernmentForm = \"Epublic\"", "gold": "SELECT count(*) FROM country WHERE GovernmentForm = \"Republic\"", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "¿Cuántos países tienen gobiernos \"republic\"?", "predicted": "SELECT Count(*) FROM country WHERE country.GovernmentForm = \"Epublic\"", "gold": "SELECT count(*) FROM country WHERE GovernmentForm = \"Republic\"", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "¿Cuál es el área de superficie total de los países del \"Caribbean\"?", "predicted": "SELECT Sum(country.SurfaceArea) FROM country WHERE country.Region = \"Research\"", "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": "¿Cuánta área de superficie cubren juntos los países del \"Caribbean\"?", "predicted": "SELECT Sum(country.SurfaceArea) FROM country WHERE country.Region = \"Research\"", "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": "¿En qué continente se encuentra \"Anguilla\"a?", "predicted": "SELECT country.Continent FROM country WHERE country.Name = \"Eilla\"", "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": "¿Cuál es el continente al que pertenece \"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": "¿En qué región se encuentra la ciudad de \"Kabul\"?", "predicted": "SELECT country.Region FROM city JOIN country ON city.CountryCode = country.Code WHERE city.Name = \"Texas\"", "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": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "¿En qué región se encuentra \"Kabul\"?", "predicted": "SELECT country.Region FROM city JOIN country ON city.CountryCode = country.Code WHERE city.Name = \"FCo\"", "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": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "¿Qué idioma es el más popular en \"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": "¿Qué idioma se habla predominantemente en \"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": "¿Cuáles son la población y la esperanza de vida en \"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": "Dame la población y la esperanza de vida de \"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": "¿Cuáles son la región y la población de \"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": "¿A qué región pertenece \"Angola\" y cuánto es su población?", "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": "¿Cuál es la esperanza de vida en promedio esperada para los países de África Central?", "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": "¿Cuál es la esperanza de vida de media de las personas 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": "¿Cuál es el país en \"Asia\"que tiene la esperanza de vida peor?", "predicted": "SELECT country.Name FROM country WHERE country.Region = \"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": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 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": "Indique el país de \"Asia\" con la esperanza de vida más baja.", "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": "¿Cuál es la población total y el PNB máximo en \"Asia\"?", "predicted": "SELECT Sum(country.Population), Max(country.GNP) FROM country WHERE country.Region = \"United\"", "gold": "SELECT sum(Population) , max(GNP) FROM country WHERE Continent = \"Asia\"", "predicted_parse_error": false, "hardness": "medium", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "¿Cuántas personas viven en \"Asia\" y cuál es el mayor PNB entre ellas?", "predicted": "SELECT Max(country.Population), Max(country.GNP) FROM country WHERE country.Continent = \"Uniteden\"", "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": "¿Cuál es la esperanza de vida de promedio en los países \"Africa\" que son \"republic\"?", "predicted": "SELECT Avg(country.LifeExpectancy) FROM country WHERE country.Continent = \"Canada\" AND country.Name = \"Honopublic\"", "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": 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": "Indique la esperanza de vida media de los países\"republic\" en \"Africa\".", "predicted": "SELECT Avg(country.LifeExpectancy) FROM country WHERE country.Region = \"East\" OR country.Name = \"Tourna\"", "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": 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": 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": "¿Cuál es el área de superficie total de \"Asia\" y\"Europe\"?", "predicted": "SELECT Sum(country.SurfaceArea) FROM country WHERE country.Region = \"USA\" OR country.Region = \"Tai\"", "gold": "SELECT sum(SurfaceArea) FROM country WHERE Continent = \"Asia\" OR Continent = \"Europe\"", "predicted_parse_error": false, "hardness": "medium", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 2}, "where(no OP)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 2}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "Indique el área de superficie total cubierta por países de \"Asia\" o \"Europe\".", "predicted": "SELECT Sum(country.SurfaceArea) FROM country WHERE country.Region = \"Tokyo\" OR country.Region = \"Tai\"", "gold": "SELECT sum(SurfaceArea) FROM country WHERE Continent = \"Asia\" OR Continent = \"Europe\"", "predicted_parse_error": false, "hardness": "medium", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 2}, "where(no OP)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 2}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "¿Cuántas personas viven en el distrito 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": "¿Cuál es la población total del distrito 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": "¿Cuál es el PNB en promedio y la población total de todos los países que son de \"US territory\"?", "predicted": "SELECT Avg(country.GNP), Sum(country.Population) FROM country WHERE country.Region = \"United\"", "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": "Indique el PNB en promedio y la población total de los países que se consideran \"US territory\".", "predicted": "SELECT Avg(country.GNP), Sum(country.Population) FROM country WHERE country.Region = \"United\"", "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": "¿Cuántos idiomas distintos se hablan en el mundo?", "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": "¿Cuál es la cantidad de idiomas distintos que se utilizan en todo el mundo?", "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": "¿Cuántos tipos de gobiernos hay 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": "¿Cuántas formas diferentes de gobierno hay 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": "¿Cuál es el número total de idiomas que se utilizan en \"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": "¿Cuántos idiomas se hablan en \"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": "¿Cuántos idiomas oficiales tiene \"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": "¿Cuántos idiomas oficiales se hablan 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": "¿Cuál es el país en que se habla una mayor cantidad de idiomas?", "predicted": "SELECT country.Name FROM country JOIN countrylanguage ON country.Code = countrylanguage.CountryCode GROUP BY countrylanguage.CountryCode 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": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_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": "Indique el nombre de el país que usa más idiomas.", "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": "¿Qué continente tiene los idiomas más diversos?", "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": "¿Qué continente habla más idiomas?", "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": "¿Cuántos países hablan \"English\" y \"Dutch\"?", "predicted": "SELECT Count(*) FROM country JOIN countrylanguage ON country.Code = countrylanguage.CountryCode WHERE countrylanguage.Language = \"USA\" INTERSECT SELECT * FROM countrylanguage WHERE countrylanguage.Language = \"english\"", "gold": "SELECT COUNT(*) FROM (SELECT T1.Name FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T2.Language = \"English\" INTERSECT SELECT T1.Name FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T2.Language = \"Dutch\")", "predicted_parse_error": false, "hardness": "easy", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 1}, "where(no OP)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 1}, "keywords": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 2}}}, {"question": "¿Cuál es el número de países que usan \"English\" y \"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": "¿Cuáles son los nombres de los países que hablan tanto \"English\"como\"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": "Dame los países que hablan \"English\" y \"French\".", "predicted": "SELECT country.Continent FROM country JOIN countrylanguage ON country.Code = countrylanguage.CountryCode WHERE countrylanguage.Language = \"F\" INTERSECT SELECT country.Continent 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": 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": "¿Cuáles son los países de los que \"English\"y \"French\" son idiomas oficiales?", "predicted": "SELECT country.Continent FROM country JOIN countrylanguage ON country.Code = countrylanguage.CountryCode WHERE countrylanguage.Language = \"UK\" INTERSECT SELECT country.Continent 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": 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": 1, "pred_total": 1}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "Indique los países con \"English\" y \"French\" como idiomas oficiales.", "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": "¿Cuál es el número de continentes en los que se habla \"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": "¿Cuántos continentes hablan \"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": "¿Cuáles son las regiones en que usan \"English\" u\"Dutch\"?", "predicted": "SELECT country.Region FROM country JOIN countrylanguage ON country.Code = countrylanguage.CountryCode WHERE countrylanguage.Language = \"UK\" OR countrylanguage.Language = \"english\"", "gold": "SELECT DISTINCT T1.Region FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T2.Language = \"English\" OR T2.Language = \"Dutch\"", "predicted_parse_error": false, "hardness": "hard", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "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": "¿En qué regiones hablan \"Dutch\" o \"English\"?", "predicted": "SELECT country.Region FROM country JOIN countrylanguage ON country.Code = countrylanguage.CountryCode WHERE countrylanguage.Language = \"UK\" OR countrylanguage.Language = \"Man\"", "gold": "SELECT DISTINCT T1.Region FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T2.Language = \"English\" OR T2.Language = \"Dutch\"", "predicted_parse_error": false, "hardness": "hard", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "¿Cuáles son los países en los que el \"English\" u \"Dutch\" es el idioma oficial?", "predicted": "SELECT country.Name FROM country JOIN countrylanguage ON country.Code = countrylanguage.CountryCode WHERE countrylanguage.Language = \"UK\" OR countrylanguage.Language = \"Man\"", "gold": "select t1.name from country as t1 join countrylanguage as t2 on t1.code = t2.countrycode where t2.language = \"english\" and isofficial = \"t\" union select t1.name from country as t1 join countrylanguage as t2 on t1.code = t2.countrycode where t2.language = \"dutch\" and isofficial = \"t\"", "predicted_parse_error": false, "hardness": "extra", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 2}, "where(no OP)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 2}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 0}, "keywords": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 2}}}, {"question": "¿Qué países tienen \"English\" u \"Dutch\" como idioma oficial?", "predicted": "SELECT country.Name FROM country JOIN countrylanguage ON country.Code = countrylanguage.CountryCode WHERE countrylanguage.Language = \"UK\" OR countrylanguage.Language = \"Man\"", "gold": "SELECT * FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T2.Language = \"English\" AND IsOfficial = \"T\" UNION SELECT * FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T2.Language = \"Dutch\" AND IsOfficial = \"T\"", "predicted_parse_error": false, "hardness": "extra", "exact": 0, "partial": {"select": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 2}, "where(no OP)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 2}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 0}, "keywords": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 2}}}, {"question": "¿Qué idioma es el más popular en el continente \"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": "¿Cuál es el idioma que hablan más en los países de\"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": "¿Qué idiomas habla solo un país con el gobierno\"republic\"?", "predicted": "SELECT countrylanguage.Language FROM country JOIN countrylanguage ON country.Code = countrylanguage.CountryCode WHERE country.GovernmentForm = \"Unitedpublic\" 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": "¿Qué idiomas solo usa un país con un gobierno \"republic\"?", "predicted": "SELECT countrylanguage.Language FROM country JOIN countrylanguage ON country.Code = countrylanguage.CountryCode WHERE country.GovernmentForm = \"Unitedpublic\"", "gold": "SELECT T2.Language FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T1.GovernmentForm = \"Republic\" GROUP BY T2.Language HAVING COUNT(*) = 1", "predicted_parse_error": false, "hardness": "hard", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_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": 3, "pred_total": 1}}}, {"question": "Encuentra la ciudad con la mayor población que habla \"English\".", "predicted": "SELECT city.Name FROM city WHERE city.Population = (SELECT Max(city.Population) FROM countrylanguage JOIN countrylanguage WHERE countrylanguage.Language = \"english\") AND city.Population = \"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": "¿Cuál es la ciudad más poblada que habla \"English\"?", "predicted": "SELECT city.Name FROM city WHERE city.Population = (SELECT Max(city.Population) FROM countrylanguage JOIN countrylanguage WHERE countrylanguage.Language = \"english\") AND city.Population = \"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": "Encuentra el nombre, la población y la esperanza de vida del país de \"Asia\" con el área de superficie más grande.", "predicted": "SELECT country.Name, country.Population, country.LifeExpectancy FROM country WHERE country.Region = \"Alice\" AND country.SurfaceArea = (SELECT Max(country.SurfaceArea) FROM country WHERE country.Region = \"Alice\")", "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": "¿Cuál es el nombre, la población y la esperanza de vida del país de \"Asia\" más grande por el área de superficie?", "predicted": "SELECT country.Name, country.Population, country.LifeExpectancy FROM country WHERE country.Region = \"Alice\" AND country.SurfaceArea = (SELECT Max(country.SurfaceArea) FROM country WHERE country.Region = \"Alice\")", "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": "¿Cuál es la esperanza media de vida en los países en los que el \"English\" no es el idioma oficial?", "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": "Indique la esperanza media de vida de los países en los que el \"English\"no \"es\" el idioma oficial.", "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": "¿Cuál es el número total de personas que viven en los países que no usan \"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": "¿Cuántas personas viven en países que no hablan \"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": "¿Cuál es el idioma oficial que se habla en el país cuyo jefe de estado es \"Beatrix\"?", "predicted": "SELECT countrylanguage.Language FROM country JOIN countrylanguage ON country.Code = countrylanguage.CountryCode WHERE country.HeadOfState = \"RodP\"", "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": "¿Cuál es el idioma oficial que se utiliza en el país cuyo jefe de estado es \"Beatrix\"?", "predicted": "SELECT countrylanguage.Language FROM country JOIN countrylanguage ON country.Code = countrylanguage.CountryCode WHERE country.HeadOfState = \"Robinne\"", "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": "¿Cuál es el número total de idiomas oficiales distintos que se hablan en los países que se fundaron antes de 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": "Para los países fundados antes de 1930, ¿cuál es el número total de idiomas oficiales?", "predicted": "SELECT Count(*) 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": 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": "¿Cuáles son los países que tienen mayor área de superficie que cualquier país de Europa?", "predicted": "SELECT country.Name FROM country WHERE country.SurfaceArea > (SELECT Max(country.SurfaceArea) FROM country WHERE country.Continent = \"Unitedy\")", "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": "¿Qué países tienen un área de superficie mayor que la de cualquier país de Europa?", "predicted": "SELECT country.Name FROM country WHERE country.SurfaceArea > (SELECT country.SurfaceArea FROM country WHERE country.Continent = \"United0\")", "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": "¿Cuáles son los países de \"Africa\" que tienen una población menor que cualquier país 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 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": "¿Qué países de \"Africa\" tienen una población menor que la de cualquier país 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": "¿Qué países de \"Asia\"tienen una población mayor que la de cualquier país 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": "¿Cuáles son los países de \"Asia\" que tienen una población mayor que la de cualquier país 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": "¿Cuáles son los códigos de país para los que no hablan \"English\"?", "predicted": "SELECT country.Code FROM country EXCEPT SELECT countrylanguage.CountryCode FROM countrylanguage WHERE countrylanguage.Language = \"english\"", "gold": "SELECT CountryCode FROM countrylanguage EXCEPT SELECT CountryCode FROM countrylanguage WHERE LANGUAGE = \"English\"", "predicted_parse_error": false, "hardness": "hard", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "Dame los códigos de país de los que no hablan\"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": "¿Cuáles son los códigos de país en los que la gente usa idiomas distintos al \"English\"?", "predicted": "SELECT DISTINCT countrylanguage.CountryCode FROM country JOIN countrylanguage ON country.Code = countrylanguage.CountryCode WHERE country.Code > (SELECT Min(country.Code) FROM countrylanguage WHERE countrylanguage.Language = \"english\")", "gold": "SELECT DISTINCT CountryCode FROM countrylanguage WHERE LANGUAGE != \"English\"", "predicted_parse_error": false, "hardness": "easy", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "Proporcione los códigos de países en los que las personas no hablan \"English\".", "predicted": "SELECT country.Code FROM country WHERE country.Code NOT IN (SELECT countrylanguage.CountryCode FROM countrylanguage WHERE countrylanguage.Language = \"english\")", "gold": "SELECT DISTINCT CountryCode FROM countrylanguage WHERE LANGUAGE != \"English\"", "predicted_parse_error": false, "hardness": "easy", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 3}}}, {"question": "¿Cuáles son los códigos de los países que no hablan \"English\" y no son \"republic\"?", "predicted": "SELECT country.Code FROM country WHERE country.Code NOT IN (SELECT countrylanguage.CountryCode FROM countrylanguage WHERE countrylanguage.Language = \"english\")", "gold": "SELECT Code FROM country WHERE GovernmentForm != \"Republic\" EXCEPT SELECT CountryCode FROM countrylanguage WHERE LANGUAGE = \"English\"", "predicted_parse_error": false, "hardness": "hard", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 0}, "keywords": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 3}}}, {"question": "Dame los códigos de los países que no hablan \"English\" y no cuentan con goberinos \"republic\".", "predicted": "SELECT country.Code FROM country WHERE country.Code NOT IN (SELECT countrylanguage.CountryCode FROM countrylanguage WHERE countrylanguage.Language = \"USA\")", "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": "¿Qué ciudades hay en países de \"Europe\" en los que el \"English\" no es el idioma oficial?", "predicted": "SELECT city.Name FROM city JOIN country ON city.CountryCode = country.Code WHERE city.CountryCode NOT IN (SELECT countrylanguage.CountryCode FROM countrylanguage 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": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}}}, {"question": "¿Cuáles son las ciudades de \"Europe\" en las que el \"英文\" no es el idioma oficial?", "predicted": "SELECT city.Name FROM city JOIN country ON city.CountryCode = country.Code JOIN countrylanguage ON country.Code = countrylanguage.CountryCode 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": "¿Qué ciudades distintas se encuentran en los países de \"Asia\" en los que el \"Chinese\" es el idioma oficial?", "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": "Dame las ciudades que están en \"Asia\" en las que el \"Chinese\" es el idioma oficial.", "predicted": "SELECT 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": "¿Cuál es el nombre, el año de la independencia y el área de superficie del país con menor población?", "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": "Indique el nombre, el año de la independencia y el área de superficie del país menos poblado.", "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": "¿Cuál es la población, nombre y jefe de estado con mayor área?", "predicted": "SELECT country.Population, country.Name, country.HeadOfState FROM country WHERE country.SurfaceArea = (SELECT Max(country.SurfaceArea) FROM country)", "gold": "SELECT Name , population , HeadOfState FROM country ORDER BY SurfaceArea DESC LIMIT 1", "predicted_parse_error": false, "hardness": "medium", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 1}, "where(no OP)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 0, "rec": 0, "f1": 0, "label_total": 3, "pred_total": 1}}}, {"question": "Indique el nombre, la población y el jefe de estado del país que tiene el área de superficie más grande.", "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": "Dame el nombre del país y la cantidad de idiomas que se hablan para cada país que habla al menos 3 idiomas.", "predicted": "SELECT country.Name, Count(*) FROM country JOIN countrylanguage ON country.Code = countrylanguage.CountryCode GROUP BY country.Name HAVING Count(*) >= 3", "gold": "SELECT COUNT(T2.Language) , T1.Name FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode GROUP BY T1.Name HAVING COUNT(*) > 2", "predicted_parse_error": false, "hardness": "medium", "exact": 0, "partial": {"select": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "¿Cuáles son los países que hablan más de 2 idiomas, y cuántos idiomas hablan?", "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": "Encuentre el número de ciudades en cada distrito cuya población es mayor que la población en promedio.", "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": "¿Cuántas ciudades en cada distrito tienen una población que está por encima de la población en promedio entre todas las ciudades?", "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": "Encuentre los nombres de los fomularios de gobierno y la población total para cada formulario cuya esperanza de vida en promedio sea superior a 72.", "predicted": "SELECT country.GovernmentForm, Sum(country.Population) FROM country GROUP BY country.GovernmentForm HAVING Avg(country.LifeExpectancy) >= 70", "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": "¿Cuáles son las diferentes fomularios de gobierno y cuál es la población total de cada una que tienen una esperanza de vida en promedio superior a 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": "Encuentre la esperanza de vida en promedio y la población total para cada continente en el que la esperanza de vida en promedio es menor a 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": "¿Cuáles son los diferentes continentes, la población total y la esperanza de vida de promedio correspondiente a cada uno, para los continentes que tienen una esperanza de vida de promedio inferior a 72?", "predicted": "SELECT country.Continent, country.Population, Sum(country.LifeExpectancy) FROM country WHERE country.Continent < 6000 GROUP BY country.Continent", "gold": "SELECT sum(Population) , avg(LifeExpectancy) , Continent FROM country GROUP BY Continent HAVING avg(LifeExpectancy) < 72", "predicted_parse_error": false, "hardness": "medium", "exact": 0, "partial": {"select": {"acc": 0, "rec": 0, "f1": 0, "label_total": 3, "pred_total": 3}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 1}, "where(no OP)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 2}}}, {"question": "¿Cuáles son los nombres y las áreas de superficie de los cinco países más grandes?", "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": "Dame los nombres y las áreas de superficies de los 5 países más grandes.", "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": "¿Cuáles son los nombres de los países con las 3 poblaciones más grandes?", "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": "Dame los nombres de los 3 países más poblados.", "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": "¿Cuáles son los nombres de los países con las 3 poblaciones más bajas?", "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": "Dame los nombres de los 3 países con menos personas.", "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": "¿Cuántos países hay en \"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": "Cuente el número de países 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": "¿Cuáles son los nombres de los países que están en el continente de \"Europe\"y tienen una población de \"80000\"?", "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": "Dé los nombres de países de \"Europe\" con una población igual a \"80000\".", "predicted": "SELECT country.Name FROM country WHERE country.Region > 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": 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": "¿Cuál es la población total y el área de superficie en promedio de los países del continente de \"North America\"cuya área de superficie es mayor a 3000?", "predicted": "SELECT Sum(country.Population), Avg(country.SurfaceArea) FROM country WHERE country.Continent = \"NorthAmerica\" AND country.SurfaceArea > 3000", "gold": "select sum(population) , avg(surfacearea) from country where continent = \"north america\" and surfacearea > 3000", "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": 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": "Indique la población total y el área de superficie en promedio correspondiente a los países de\"North America\" que cubren un área superior a 3000.", "predicted": "SELECT Sum(country.Population), Avg(country.SurfaceArea) FROM country WHERE country.Region = \"NorthAmericaAmerica\" AND country.Continent > 3000", "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": "¿Cuáles son las ciudades cuya población está entre 160000 y 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": "Dame los nombres de las ciudades que tienen una población entre 160000 y 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": "¿Qué idioma habla los más países?", "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": "Indique el idioma que se habla en los más países.", "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": "¿Cuál es el idioma que habla el mayor porcentaje de gente en cada país?", "predicted": "SELECT countrylanguage.Language 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": "¿Cuáles son los códigos de los diferentes países y cuáles son los idiomas que habla más gente en cada uno?", "predicted": "SELECT countrylanguage.CountryCode, countrylanguage.Language FROM countrylanguage GROUP BY countrylanguage.CountryCode ORDER BY Count(*) Desc LIMIT 1", "gold": "SELECT LANGUAGE , CountryCode , max(Percentage) FROM countrylanguage GROUP BY CountryCode", "predicted_parse_error": false, "hardness": "medium", "exact": 0, "partial": {"select": {"acc": 0, "rec": 0, "f1": 0, "label_total": 3, "pred_total": 2}, "select(no AGG)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 3, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 4}}}, {"question": "¿Cuál es el número total de países en el que la gente habla más \"Spanish\"?", "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": "Cuente el número de países en los que el \"Spanish\" es el idioma predominantemente hablado.", "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": "¿Cuáles son los códigos de países donde el\"Spanish\"habla el mayor porcentaje de personas?", "predicted": "SELECT countrylanguage.CountryCode FROM countrylanguage WHERE countrylanguage.Language = \"english\" GROUP BY countrylanguage.CountryCode ORDER BY Count(countrylanguage.CountryCode) 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": "Dame los códigos de los países en los que el \"Spanish\" es el idioma predominantemente hablado.", "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": "¿Cuántos conductores hay?", "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": "Cuente el número de conductores.", "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": "Enumere los nombres de los conductores en orden ascendente de edad.", "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": "¿Cuáles son los nombres de los conductores, ordenados por edad?", "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": "¿Cuáles son los nombres de los conductores que no son de\"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": "Dame los nombres de los conductores excepto los de \"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": "¿Cuáles son las compañías discográficas de las orquestas en orden descendente de años de fundación?", "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": "Dame los nombres de las compañías discográficas de las orquestas, ordenadas descendentemente en función de los años de fundación.", "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": "¿Cuál es la asistencia media a los espectáculos?", "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": "Dame la asistencia en promedio entre todos los espectáculos.", "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": "¿Cuál es el tipo de espectáculo de la cuota máxima y mínima excepto el de \"Live final\"?", "predicted": "SELECT Max(performance.Type), Min(performance.Share) FROM performance WHERE performance.Type != \"ner\"", "gold": "SELECT max(SHARE) , min(SHARE) FROM performance WHERE TYPE != \"Live final\"", "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": "Dame las cuotas máximas y mínimas para espectáculos excepto \"Live final\".", "predicted": "SELECT Max(performance.Share), Min(performance.Share) FROM performance WHERE performance.Type != \"Aer\"", "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": "¿Cuántas nacionalidades diferentes tienen los conductores?", "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": "Cuente el número de conductores de diferentes nacionalidades.", "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": "Enumere los nombres de los conductores en orden descendente de años de trabajo.", "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": "¿Cuáles son los nombres de los conductores, ordenados descendentemente en función del año de trabajo?", "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": "Enumere el nombre del director con más años de trabajo.", "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": "¿Cuál es el nombre del director que tiene año de trabajo más largo?", "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": "Muestre los nombres de los conductores y las orquestas que han dirigido.", "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": "¿Cuáles son los nombres de los conductores y las orquestas correspondientes que han dirigido?", "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": "Muestre los nombres de los conductores que han dirigido más de una orquesta.", "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": "¿Cuáles son los nombres de los conductores que han dirigido en más de una orquesta?", "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": "Muestre el nombre del conductores que ha dirigido la mayor cantidad de orquestas.", "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": "¿Cuál es el nombre del conductor que ha dirigido más orquestas?", "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": "Por favor muestre el nombre del conductor que ha dirigido orquestas fundadas después de 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": "¿Cuáles son los nombres de los conductor que han dirigido orquestas creadas después del año 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": "Indique las diferentes compañías discográficas y el número de orquestas correspondientes.", "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": "¿Cuántas orquestas gestiona cada compañía discográfica?", "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": "Muestre los formatos de de registro principal de las orquestas en orden ascendente de recuento.", "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": "¿Cuáles son los formatos deregistro principal de las orquestas, ordenados por frecuencia?", "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": "Enumere la compañía discográfica compartida por el mayor número de orquestas.", "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": "¿Cuál es la compañía discográfica seleccionada por más orquestas?", "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": "Enumere los nombres de las orquestas que no tienen espectáculos.", "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": "¿Cuáles son las orquestas que no tienen espectáculos?", "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": "Muestra las compañías discográficas que colaboran con orquestas fundadas antes de 2003 y después de 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": "¿Cuáles son las compañías discográficas eligidos por tanto las orquestas fundadas antes de 2003 como las fundadas después de 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": "Encuentre el número de orquestas cuyo formato de registro principal es \"CD\" o \"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": "Cuente el número de orquestas que tienen \"CD\" o\"DVD\"como formato de registro principal.", "predicted": "SELECT Count(*) FROM orchestra WHERE orchestra.Major_Record_Format = \"CV\" OR orchestra.Major_Record_Format = \"Japan\"", "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": "Muestra los años de fundación de las orquestas que han dado más de una espectáculo.", "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": "¿Cuáles son los años de fundación de orquestas que han tenido más de un espectáculo?", "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": "¿Cuántos estudiantes de secundaria hay?", "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": "Cuente el número de estudiantes de secundaria.", "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": "Muestre los nombres y grados de cada estudiante de secundaria.", "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": "¿Cuál es el nombres y grado de cada estudiante de secundaria?", "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": "Muestre todas los grados de los estudiantes de secundaria.", "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": "¿Cuál es el grado de cada estudiante de secundaria?", "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": "¿De qué grado está \"Kyle\"?", "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": "Dame el grado del estudiante de secundaria llamado \"Kyle\".", "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": "Muestre los nombres de todos los estudiantes de secundaria del grado 10.", "predicted": "SELECT Highschooler.name FROM Highschooler WHERE Highschooler.grade = 10", "gold": "SELECT name FROM Highschooler WHERE grade = 10", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "¿Cuáles son los nombres de todos los estudiantes de secundaria del grado 10?", "predicted": "SELECT Highschooler.name FROM Highschooler WHERE Highschooler.grade = 10", "gold": "SELECT name FROM Highschooler WHERE grade = 10", "predicted_parse_error": false, "hardness": "easy", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "Muestre la identificación del estudiante de secundaria llamado \"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": "¿Cuál es la identificación 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": "¿Cuántos estudiantes de secundaria hay del grado 9 o 10?", "predicted": "SELECT Count(*) FROM Highschooler WHERE Highschooler.grade = 2009 OR Highschooler.grade = 10", "gold": "SELECT count(*) FROM Highschooler WHERE grade = 9 OR grade = 10", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "Cuente el número de estudiantes de secundaria del grado 9 o 10.", "predicted": "SELECT Count(*) FROM Highschooler WHERE Highschooler.grade = 2009 OR Highschooler.grade = 10", "gold": "SELECT count(*) FROM Highschooler WHERE grade = 9 OR grade = 10", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "Muestre el número de estudiantes de secundaria de cada grado.", "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": "¿Cuántos estudiantes de secundaria hay en cada grado?", "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": "¿En qué grado estudia la mayor cantidad de estudiantes de secundaria?", "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": "Dame el grado que tenga la mayor cantidad de estudiantes de secundaria.", "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": "Muéstrame todos los grados que tengan al menos 4 estudiantes.", "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": "¿Qué grados tienen 4 o más estudiantes de secundaria?", "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": "Muestre las identificaciones de los estudiantes y el número de amigos correspondientes a cada uno.", "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": "¿Cuántos amigos tiene cada estudiante?", "predicted": "SELECT Count(*), Friend.student_id FROM Friend GROUP BY Friend.student_id", "gold": "SELECT student_id , count(*) FROM Friend GROUP BY student_id", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "Muestre los nombres de los estudiantes de secundaria y el número de amigos suyos correspondientes.", "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": "¿Cuáles son los nombres de los estudiantes de secundaria y cuántos amigos tiene cada uno?", "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": "¿Cómo se llama el estudiante de secundaria que tiene el mayor número de amigos?", "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": "Dame el nombre del estudiante de secundaria con más amigos.", "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": "Muestre los nombres de estudiantes de secundaria que tengan al menos 3 amigos.", "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": "¿Cuáles son los nombres de los estudiantes de secundaria que tienen 3 o más amigos?", "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": "Muestre los nombres de todos los amigos del estudiante de secundaria \"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": "Dame los nombres de los amigos del estudiante de secundaria \"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": "¿Cuántos amigos tiene el estudiante de secundaria \"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": "Cuenta el número de amigos que tiene \"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": "Muestre las ids de todos los estudiantes que no tengan amigos.", "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": "¿Cuáles son las identificaciones de los estudiantes de secundaria que no tienen amigos?", "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": "Muestre los nombres de todos los estudiantes de secundaria que no tengan amigos.", "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": "¿Cuáles son los nombres de los estudiantes que no tienen amigos?", "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": "Muestre las identificaciones de estudiantes de secundaria que tienen amigos y que también les gustan a otra persona.", "predicted": "SELECT Friend.student_id FROM Friend INTERSECT SELECT Likes.student_id FROM Likes", "gold": "SELECT student_id FROM Friend INTERSECT SELECT liked_id FROM Likes", "predicted_parse_error": false, "hardness": "hard", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "¿Cuáles son las identificaciones de los estudiantes que tienen amigos y les agradan?", "predicted": "SELECT Friend.student_id FROM Friend INTERSECT SELECT Likes.student_id FROM Likes", "gold": "SELECT student_id FROM Friend INTERSECT SELECT liked_id FROM Likes", "predicted_parse_error": false, "hardness": "hard", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "Muestre nombres de todos los estudiantes que tienen algunos amigos y que también les agradan a otra persona.", "predicted": "SELECT Highschooler.name FROM Highschooler JOIN Friend ON Highschooler.ID = Friend.student_id INTERSECT SELECT Highschooler.name FROM Highschooler JOIN Likes ON Highschooler.ID = Likes.student_id", "gold": "SELECT T2.name FROM Friend AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id INTERSECT SELECT T2.name FROM Likes AS T1 JOIN Highschooler AS T2 ON T1.liked_id = T2.id", "predicted_parse_error": false, "hardness": "hard", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "¿Cuáles son los nombres de los estudiantes de secundaria que tienen amigos y les agradan?", "predicted": "SELECT DISTINCT Highschooler.name FROM Highschooler JOIN Friend ON Highschooler.ID = Friend.student_id INTERSECT SELECT Highschooler.name FROM Highschooler JOIN Likes ON Highschooler.ID = Likes.student_id", "gold": "SELECT T2.name FROM Friend AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id INTERSECT SELECT T2.name FROM Likes AS T1 JOIN Highschooler AS T2 ON T1.liked_id = T2.id", "predicted_parse_error": false, "hardness": "hard", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "Cuente el número de\"Me gusta\" bajo cada identificación de estudiante.", "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": "¿Cuántos\"Me gusta\" corresponden a cada id de estudiante?", "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": "Muestre los nombres de los estudiantes de secundaria que tienen \"me gusta\" y la cantidad de \"me gusta\" para cada uno.", "predicted": "SELECT Highschooler.name, Count(*) FROM Highschooler JOIN Likes ON Highschooler.ID = Likes.liked_id WHERE Likes.liked_id = \"Mar\" 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": 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": 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": 1, "pred_total": 2}}}, {"question": "¿Cuáles son los nombres de los estudiantes de secundaria que tienen Me gusta y cuántos me gusta tiene cada uno?", "predicted": "SELECT Highschooler.name, Count(*) FROM Highschooler JOIN Likes ON Highschooler.ID = Likes.liked_id WHERE Likes.liked_id = \"mith\" 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": 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": 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": 1, "pred_total": 2}}}, {"question": "¿Cuál es el nombre del estudiante de secundaria que tiene la mayor cantidad de\"Me gusta\"?", "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": "Dame el nombre del alumno con más \"me gusta\".", "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": "Muestre los nombres de los estudiantes que tengan al menos 2\"me gusta\".", "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": "¿Cuáles son los nombres de los estudiantes que tienen 2 o más Me gusta?", "predicted": "SELECT Highschooler.name FROM Highschooler JOIN Likes ON Highschooler.ID = Likes.liked_id GROUP BY Likes.student_id HAVING Count(*) >= 2", "gold": "SELECT T2.name FROM Likes AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id GROUP BY T1.student_id HAVING count(*) >= 2", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "Muestre los nombres de los estudiantes superiores a grado 5 y tengan al menos 2 amigos.", "predicted": "SELECT Highschooler.name FROM Highschooler JOIN Friend ON Highschooler.ID = Friend.student_id WHERE Highschooler.grade > 5 GROUP BY Highschooler.name HAVING Count(*) >= 2", "gold": "SELECT T2.name FROM Friend AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id WHERE T2.grade > 5 GROUP BY T1.student_id HAVING count(*) >= 2", "predicted_parse_error": false, "hardness": "hard", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "group": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}}}, {"question": "¿Cuáles son los nombres de los estudiantes de secundaria más de grado 5 y tienen 2 o más amigos?", "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": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}}}, {"question": "¿Cuántos me gusta tiene\"Kyle\"?", "predicted": "SELECT Count(*) FROM Highschooler JOIN Friend ON Highschooler.ID = Friend.student_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": 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": "Dame la cantidad de Me gusta que tiene el estudiante de secundaria llamado \"Kyle\".", "predicted": "SELECT Count(*) FROM Highschooler JOIN Friend ON Highschooler.ID = Friend.student_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": 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": "Encuentre el grado en promedio de todos los estudiantes que tienen algunos amigos.", "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": "¿Cuál es el grado en promedio de los estudiantes que tienen amigos?", "predicted": "SELECT Avg(Highschooler.grade) FROM Highschooler JOIN Friend ON Highschooler.ID = Friend.student_id WHERE Friend.friend_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": "Encuentra el grado más bajo de los estudiantes que no tienen amigos.", "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": "¿Cuál es el grado más bajo de los estudiantes que no tienen amigos?", "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": "¿Qué estados tienen amos y profesionales viviendo allí?", "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": "Encuentre los estados donde viven tanto amos como profesionales.", "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": "¿Cuál es la edad media de los perros que han pasado por algún tratamiento?", "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": "Encuentre la edad en promedio de los perros que se sometieron a tratamientos.", "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": "¿Qué profesionales viven en el estado de \"Indiana\" o han realizado más de 2 tratamientos? Indique su identificación, apellido y número de móvil.", "predicted": "SELECT Professionals.professional_id, Professionals.last_name, Professionals.cell_number FROM Professionals JOIN Treatments ON Professionals.professional_id = Treatments.professional_id WHERE Professionals.state = \"S\" UNION SELECT Professionals.professional_id, Professionals.cell_number, Professionals.cell_number FROM Professionals JOIN Treatments ON Professionals.professional_id = Treatments.professional_id GROUP BY Professionals.professional_id HAVING Count(*) > 2", "gold": "SELECT professional_id , last_name , cell_number FROM Professionals WHERE state = 'Indiana' UNION SELECT T1.professional_id , T1.last_name , T1.cell_number FROM Professionals AS T1 JOIN Treatments AS T2 ON T1.professional_id = T2.professional_id GROUP BY T1.professional_id HAVING count(*) > 2", "predicted_parse_error": false, "hardness": "extra", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "Encuentra id, apellido y número de móvide los profesionales que viven en \"Indiana\" y han realizado más de dos tratamientos.", "predicted": "SELECT Professionals.professional_id, Professionals.last_name, Professionals.cell_number FROM Professionals JOIN Treatments ON Professionals.professional_id = Treatments.professional_id WHERE Professionals.state = \"S\" GROUP BY Professionals.professional_id HAVING Count(*) >= 2", "gold": "SELECT professional_id , last_name , cell_number FROM Professionals WHERE state = 'Indiana' UNION SELECT T1.professional_id , T1.last_name , T1.cell_number FROM Professionals AS T1 JOIN Treatments AS T2 ON T1.professional_id = T2.professional_id GROUP BY T1.professional_id HAVING count(*) > 2", "predicted_parse_error": false, "hardness": "extra", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 1}, "group": {"acc": 0, "rec": 0, "f1": 0, "label_total": 0, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 0}, "keywords": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 3}}}, {"question": "¿Qué perros no le han costado a su amo más de 1000 por tratamiento? Enumere sus nombres.", "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": "¿Cuáles son los nombres de los perros por los que el amo no ha gastado más de 1000 en el costo de tratamiento?", "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": "¿Qué nombres tienen los profesionales o amos excepto los perros?", "predicted": "SELECT Professionals.first_name FROM Professionals EXCEPT SELECT Professionals.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": "Encuentre los nombres que se utilizan para profesionales o amos , pero que no se utilizan como nombres de perros.", "predicted": "SELECT Professionals.first_name FROM Owners JOIN Dogs ON Owners.owner_id = Dogs.owner_id JOIN Professionals JOIN Treatments ON Dogs.dog_id = Treatments.dog_id AND Treatments.professional_id = Professionals.professional_id EXCEPT SELECT Professionals.first_name FROM 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": "¿Qué profesional no operó ningún tratamiento en perros? Enumere la identificación, su cargo y el correo electrónico.", "predicted": "SELECT Professionals.professional_id, Professionals.role_code, Professionals.email_address FROM Professionals EXCEPT SELECT Professionals.professional_id, Professionals.role_code, Professionals.email_address FROM Professionals JOIN Treatments ON Professionals.professional_id = Treatments.professional_id", "gold": "SELECT professional_id , role_code , email_address FROM Professionals EXCEPT SELECT T1.professional_id , T1.role_code , T1.email_address FROM Professionals AS T1 JOIN Treatments AS T2 ON T1.professional_id = T2.professional_id", "predicted_parse_error": false, "hardness": "extra", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "Dame id, cargo y email de los profesionales que no realizaron ningún tratamiento en perros.", "predicted": "SELECT Professionals.professional_id, Professionals.role_code, Professionals.email_address FROM Professionals EXCEPT SELECT Professionals.professional_id, Professionals.role_code, Professionals.email_address FROM Professionals JOIN Treatments ON Professionals.professional_id = Treatments.professional_id", "gold": "SELECT professional_id , role_code , email_address FROM Professionals EXCEPT SELECT T1.professional_id , T1.role_code , T1.email_address FROM Professionals AS T1 JOIN Treatments AS T2 ON T1.professional_id = T2.professional_id", "predicted_parse_error": false, "hardness": "extra", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "¿Qué amo tiene más perros? Indique la identificación del amo, el nombre y el apellido.", "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": "Dame la identificación, el nombre y el apellido del amo que tiene más perros.", "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": "¿Qué profesionales han realizado al menos dos tratamientos? Enumere la identificación, el cargo y el nombre del profesional.", "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": "¿Cuáles son ids, cargos y nombres de los profesionales que han realizado dos o más tratamientos?", "predicted": "SELECT Professionals.professional_id, Professionals.role_code, Professionals.last_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": 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": 2, "pred_total": 2}}}, {"question": "¿Cuál es el nombre de la raza con más perros adoptados?", "predicted": "SELECT Breeds.breed_name FROM Breeds JOIN Dogs ON Breeds.breed_code = Dogs.breed_code GROUP BY Breeds.breed_code ORDER BY Count(*) Desc LIMIT 1", "gold": "SELECT T1.breed_name FROM Breeds AS T1 JOIN Dogs AS T2 ON T1.breed_code = T2.breed_code GROUP BY T1.breed_name ORDER BY count(*) DESC LIMIT 1", "predicted_parse_error": false, "hardness": "extra", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "group": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 4, "pred_total": 4}}}, {"question": "¿Qué raza tiene la mayoría de los perros? Dame el nombre de la raza.", "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": "¿Qué amo ha pagado más costo de tratamientos para sus perros? Indique su identificación y apellido.", "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": "Dime la identificación y el apellido del amo que gastó más costo de tratamiento de sus perros.", "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": "¿Cuál es la descripción del tipo de tratamiento que cuesta menos dinero en 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": "Dame la descripción del tipo de tratamiento cuyo costo total es el más bajo.", "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": "¿Qué amo ha pagado más costo de tratamiento en total por sus perros? Muestre la identificación suya y el código postal.", "predicted": "SELECT Owners.owner_id, Owners.zip_code FROM Owners JOIN Dogs ON Owners.owner_id = Dogs.owner_id JOIN Treatments ON Dogs.dog_id = Treatments.dog_id GROUP BY Owners.owner_id ORDER BY Sum(Treatments.cost_of_treatment) Desc LIMIT 1", "gold": "SELECT T1.owner_id , T1.zip_code FROM Owners AS T1 JOIN Dogs AS T2 ON T1.owner_id = T2.owner_id JOIN Treatments AS T3 ON T2.dog_id = T3.dog_id GROUP BY T1.owner_id ORDER BY sum(T3.cost_of_treatment) DESC LIMIT 1", "predicted_parse_error": false, "hardness": "extra", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 4, "pred_total": 4}}}, {"question": "Encuentre la identificación y el código postal del amo que gastó más costo de tratamoiento en total para sus perros.", "predicted": "SELECT Owners.owner_id, Owners.zip_code FROM Owners JOIN Dogs ON Owners.owner_id = Dogs.owner_id JOIN Treatments ON Dogs.dog_id = Treatments.dog_id GROUP BY Owners.owner_id ORDER BY Sum(Treatments.cost_of_treatment) Desc LIMIT 1", "gold": "SELECT T1.owner_id , T1.zip_code FROM Owners AS T1 JOIN Dogs AS T2 ON T1.owner_id = T2.owner_id JOIN Treatments AS T3 ON T2.dog_id = T3.dog_id GROUP BY T1.owner_id ORDER BY sum(T3.cost_of_treatment) DESC LIMIT 1", "predicted_parse_error": false, "hardness": "extra", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 4, "pred_total": 4}}}, {"question": "¿Qué profesionales han realizado al menos dos tipos de tratamientos? Enumere la identificación profesional y su número de móvil.", "predicted": "SELECT Professionals.professional_id, Professionals.cell_number FROM Professionals JOIN Treatments ON Professionals.professional_id = Treatments.professional_id GROUP BY Professionals.professional_id HAVING Count(*) >= 2", "gold": "SELECT T1.professional_id , T1.cell_number FROM Professionals AS T1 JOIN Treatments AS T2 ON T1.professional_id = T2.professional_id GROUP BY T1.professional_id HAVING count(*) >= 2", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "Encuentre la id y el número de móvil de los profesionales que operan dos o más tipos de tratamientos.", "predicted": "SELECT Professionals.professional_id, Professionals.cell_number FROM Professionals JOIN Treatments ON Professionals.professional_id = Treatments.professional_id GROUP BY Professionals.professional_id HAVING Count(*) >= 2", "gold": "SELECT T1.professional_id , T1.cell_number FROM Professionals AS T1 JOIN Treatments AS T2 ON T1.professional_id = T2.professional_id GROUP BY T1.professional_id HAVING count(*) >= 2", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "¿Cuáles son nombres y apellidos de los profesionales que han realizado tratamientos con coste por debajo de la media?", "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": "¿Qué profesionales han operado un tratamiento que cuesta menos que la media? Dame los nombres y apellidos de suyos.", "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": "Indique la fecha de cada tratamiento, junto con el nombre del profesional que lo operó.", "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": "¿Cuál es la fecha de tratamiento y el nombre del profesional correspondiente a cada uno?", "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": "Enumere el costo de cada tratamiento y la descripción del tipo de tratamiento correspondiente.", "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": "¿Cuáles son el costo y la descripción del tipo de tratamiento para cada tratamiento?", "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": "Enumere el nombre, el apellido de cada amo y el tamaño de su perro.", "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": "¿Cuáles son los nombres, apellidos y tamaños de los perros de cada amo?", "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": "Enumere los nombres de amos y nombres de sus perros en pares.", "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": "¿Cuáles son el nombre de cada amo y el nombre de sus perros?", "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": "Enumere los nombres de los perros de la raza más rara y las fechas de tratamiento de los mismos.", "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": "¿Qué perros son de las razas más raras? Muestre sus nombres y fechas de tratamiento.", "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": "¿Qué perros son de alguien que vive en \"Virginia\"? Escriba el nombre del amo y el nombre del perro.", "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": "Encuentre los nombres de los amos que viven en \"Virginia\" y los nombres de los perros que poseen.", "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": "¿Cuál es la fecha de llegada y la fecha de salida de los perros que han pasado por un tratamiento?", "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": "Encuentre la fecha de llegada y la fecha de salida de los perros que recibieron tratamiento.", "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": "Indique el apellido del amo que tiene el perro menor de edad.", "predicted": "SELECT Owners.last_name FROM Owners JOIN Dogs ON Owners.owner_id = Dogs.owner_id WHERE Dogs.age = (SELECT Min(Dogs.age) FROM Dogs)", "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": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "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én es el amo del perro menor? Dame su apellido.", "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": "Enumere los correos electrónicos de los profesionales que viven en\"Hawaii\" Hawái o \"Wisconsin\".", "predicted": "SELECT Professionals.email_address FROM Professionals WHERE Professionals.state = \"Mary\" OR Professionals.state = \"Texas\" UNION SELECT Professionals.email_address FROM Professionals WHERE Professionals.state = \"Gs\" AND Professionals.state = \"L\"", "gold": "SELECT email_address FROM Professionals WHERE state = 'Hawaii' OR state = 'Wisconsin'", "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": 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": 2, "pred_total": 3}}}, {"question": "¿Cuáles son los correos electrónicos de los profesionales que viven en el estado de \"Hawaii\" o en el estado de \"Wisconsin\"?", "predicted": "SELECT Professionals.email_address FROM Professionals WHERE Professionals.state = \"Fri\" 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": "¿Cuál es la fecha de llegada y la fecha de salida de todos los perros?", "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": "Indique la fecha de llegada y la fecha de salida de todos los perros.", "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": "¿Cuántos perros se sometieron a algún tratamiento?", "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": "Cuente la cantidad de perros que pasaron por un tratamiento.", "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": "¿Cuántos profesionales han realizado algún tratamiento a los perros?", "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": "Encuentre el número de profesionales que alguna vez han tratado a los perros.", "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": "¿Qué profesionales viven en una ciudad que contiene la subcadena\"West\"? Enumere su código de función, calle, ciudad y estado.", "predicted": "SELECT Professionals.role_code, Professionals.street, Professionals.state FROM Professionals WHERE Professionals.city LIKE \"%0\"", "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": "Encuentre el código de función, la calle, la ciudad y el estado de los profesionales que viven en una ciudad que contiene la subcadena \"West\".", "predicted": "SELECT Professionals.role_code, Professionals.street, Professionals.state, Professionals.state FROM Professionals WHERE Professionals.city LIKE \"%London%\"", "gold": "SELECT role_code , street , city , state FROM professionals WHERE city LIKE '%West%'", "predicted_parse_error": false, "hardness": "medium", "exact": 0, "partial": {"select": {"acc": 0, "rec": 0, "f1": 0, "label_total": 4, "pred_total": 4}, "select(no AGG)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 4, "pred_total": 4}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}}}, {"question": "¿Qué amos viven en el estado cuyo nombre contiene la subcadena \"North\"? Escriba su nombre, apellido y correo electrónico.", "predicted": "SELECT Owners.first_name, Owners.last_name, Owners.email_address FROM Owners WHERE Owners.state LIKE \"%Universal%\"", "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": "Dame nombres, apellidos y correos electrónicos de los amos que viven en un estado cuyo nombre contiene la subcadena \"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": "¿Cuántos perros tienen una edad inferior a la media?", "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": "Cuente el número de perros de la edad por debajo del promedio.", "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": "¿Cuánto es el costo de tratamiento más reciente?", "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": "Muéstreme el costo del tratamiento realizado más recientemente.", "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": "¿Cuántos perros no han pasado por ningún tratamiento?", "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": "Dime el número de perros que no han recibido ningún tratamiento.", "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": "¿Cuántos amos no tienen perros temporalmente?", "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": "Encuentre el número de amos que no tienen perros en este momento.", "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": "¿Cuántos profesionales no operaron ningún tratamiento en perros?", "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": "Encuentra el número de profesionales que no han tratado a ningún perro.", "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": "Indique nombres, edades y pesos de los perros que han sido abandonados, con 1 representando sí y 0 no.", "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": "¿Cuáles son los nombres, edades y pesos de los perros que fueron abandonados, con 1 representando sí y 0 no.", "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": "¿Cuál es la edad media de todos los perros?", "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": "Calcule la edad en promedio de todos los perros.", "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": "¿Cuál es la edad del perro más viejo?", "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": "Dime la edad del perro más viejo.", "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": "¿Cuánto cuesta cada tipo de carga? Enumere tanto el tipo de carga como el precio a cobrar.", "predicted": "SELECT Charges.charge_type, Charges.charge_amount FROM Charges", "gold": "SELECT charge_type , charge_amount FROM Charges", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "Enumere cada tipo de carga y su precio a cobrar.", "predicted": "SELECT Charges.charge_type, Charges.charge_amount FROM Charges", "gold": "SELECT charge_type , charge_amount FROM Charges", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "¿Cuánto cuesta el tipo de carga más cara?", "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": "¿Cuál es el precio a cobrar del tipo de carga más cara?", "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": "Enumere correos electrónicos, número de móvil y teléfonos de casa de todos los profesionales.", "predicted": "SELECT Professionals.email_address, Professionals.cell_number, Professionals.home_phone FROM Professionals", "gold": "SELECT email_address , cell_number , home_phone FROM professionals", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "¿Cuáles son el correo electrónico, número de móvil y teléfono de casa de cada profesional?", "predicted": "SELECT Professionals.email_address, Professionals.cell_number, Professionals.home_phone FROM Professionals", "gold": "SELECT email_address , cell_number , home_phone FROM professionals", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 3, "pred_total": 3}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}}}, {"question": "¿Cuáles son todas las posibles combinaciones de tipo de raza y tipo de tamaño?", "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": "Encuentre las distintas combinaciones de tipo de raza y tipo de tamaño para perros.", "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": "Enumere los nombres de todos los profesionales junto con las descripciones del tratamiento que han realizado.", "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": "¿Cuál es el nombre de cada profesional y la descripción del tratamiento que ha realizado?", "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": "¿Cuántos cantantes hay?", "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": "¿Cuál es el recuento de cantantes?", "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": "Enumere nombres de los cantantes en orden ascendente por millones de patrimonio neto.", "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": "¿Cuáles son los nombres de los cantantes ordenados por millones de patrimonio neto en orden ascendente?", "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": "¿Cuáles son el año de nacimiento y la ciudadanía de los cantantes?", "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": "¿Cuáles son los años de nacimiento y ciudadaníad de los cantantes?", "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": "Indique nombres de los cantantes cuya ciudadanía no sea \"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": "¿Cuáles son los nombres de los cantantes que no son ciudadanos de \"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": "¿Mostrar el nombre de los cantantes cuyo año de nacimiento es 1948 o 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": "¿Cuáles son los nombres de los cantantes que nacieron en 1948 o 1949?", "predicted": "SELECT singer.Name FROM singer WHERE singer.Birth_Year = 150 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": "¿Cuál es el nombre del cantante con mayores millones de patrimonio neto?", "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": "¿Cuál es el nombre del cantante que tiene mayores millones de patrimonio neto?", "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": "Muestre diferentes ciudadanías de cantantes y el número de cantantes bajo cada ciudadanía.", "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": "Por cada ciudadanía, ¿cuántos cantantes hay?", "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": "Por favor, muestre la ciudadanía más común de los cantantes.", "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": "¿Cuál es la ciudadanía de los cantantes más común?", "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": "Muestra diferentes ciudadanías y los mayores millones de patrimonio neto de los cantantes de cada ciudadanía.", "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": "Para cada ciudadanía, ¿cuáles son los mayores millones de patrimonio neto?", "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": "Muestra títulos de canciones y nombres de cantantes.", "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": "¿Cuáles son los títulos de las canciones y los nombres de sus cantantes?", "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": "Muestre nombres de cantantes que tengan canciones con ventas superiores a 300000.", "predicted": "SELECT singer.Name FROM singer JOIN song ON singer.Singer_ID = song.Singer_ID WHERE song.Sales > 300000", "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": "¿Cuáles son los nombres distintos de los cantantes que tienen ventas superiores a 300000?", "predicted": "SELECT DISTINCT singer.Name FROM singer JOIN song ON singer.Singer_ID = song.Singer_ID WHERE song.Sales > 30", "gold": "SELECT DISTINCT T1.Name FROM singer AS T1 JOIN song AS T2 ON T1.Singer_ID = T2.Singer_ID WHERE T2.Sales > 300000", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "Muestre los nombres de los cantantes que tienen más de una canción.", "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": "¿Cuáles son los nombres de los cantantes que tienen más de una canción?", "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": "Muestre los nombres de los cantantes y las ventas totales de sus canciones.", "predicted": "SELECT singer.Name, Sum(song.Sales) FROM singer JOIN song ON singer.Singer_ID = song.Singer_ID GROUP BY singer.Name", "gold": "SELECT T1.Name , sum(T2.Sales) FROM singer AS T1 JOIN song AS T2 ON T1.Singer_ID = T2.Singer_ID GROUP BY T1.Name", "predicted_parse_error": false, "hardness": "medium", "exact": true, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 2, "pred_total": 2}, "where": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "where(no OP)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "IUEN": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "keywords": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}}}, {"question": "Para el nombre de cada cantante, ¿cuál es el total de ventas de sus canciones?", "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": "Enumere nombres de los cantantes que no tienen canción.", "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": "¿Cuál es el nombre de cada cantante que no publica ninguna canción?", "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": "Muestre la ciudadanía compartida por cantantes nacidos antes de 1945 y después de 1955.", "predicted": "SELECT singer.Citizenship FROM singer WHERE singer.Birth_Year < 1850 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": "¿Cuáles son las ciudadanías que comparten los cantantes nacidos antes de 1945 y después de 1955?", "predicted": "SELECT singer.Citizenship FROM singer WHERE singer.Birth_Year < 32 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": "¿Cuántas características disponibles hay en 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": "¿Cuál es el código de tipo de función de la característica \"AirCon\"?", "predicted": "SELECT Other_Available_Features.feature_type_code FROM Other_Available_Features 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": 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": "Muestre las descripciones del tipo de propiedad de las que pertenecen a ese código.", "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": "¿Cuáles son los nombres de las propiedades que son \"house\" o \"apartment\" con más de una habitación?", "predicted": "SELECT Properties.property_name FROM Properties WHERE Properties.room_count = \"King\" AND Properties.property_type_code > 1", "gold": "SELECT property_name FROM Properties WHERE property_type_code = \"House\" UNION SELECT property_name FROM Properties WHERE property_type_code = \"Apartment\" AND room_count > 1", "predicted_parse_error": false, "hardness": "hard", "exact": 0, "partial": {"select": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "select(no AGG)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 1, "pred_total": 1}, "where": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 2}, "where(no OP)": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 2}, "group(no Having)": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "group": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "order": {"acc": 1, "rec": 1, "f1": 1, "label_total": 0, "pred_total": 0}, "and/or": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 0}, "IUEN": {"acc": 0, "rec": 0, "f1": 0, "label_total": 1, "pred_total": 0}, "keywords": {"acc": 0, "rec": 0, "f1": 0, "label_total": 2, "pred_total": 1}}}], "total_scores": {"easy": {"count": 248, "partial": {"select": {"acc": 0.9314516129032258, "rec": 0.9314516129032258, "f1": 0.9314516129032258, "acc_count": 248, "rec_count": 248}, "select(no AGG)": {"acc": 0.9556451612903226, "rec": 0.9556451612903226, "f1": 0.9556451612903226, "acc_count": 248, "rec_count": 248}, "where": {"acc": 0.9357798165137615, "rec": 0.9444444444444444, "f1": 0.9400921658986177, "acc_count": 109, "rec_count": 108}, "where(no OP)": {"acc": 0.963302752293578, "rec": 0.9722222222222222, "f1": 0.9677419354838711, "acc_count": 109, "rec_count": 108}, "group(no Having)": {"acc": 0.95, "rec": 0.95, "f1": 0.9500000000000001, "acc_count": 20, "rec_count": 20}, "group": {"acc": 0.9, "rec": 0.9, "f1": 0.9, "acc_count": 20, "rec_count": 20}, "order": {"acc": 0.7777777777777778, "rec": 0.9545454545454546, "f1": 0.8571428571428572, "acc_count": 27, "rec_count": 22}, "and/or": {"acc": 1.0, "rec": 1.0, "f1": 1.0, "acc_count": 248, "rec_count": 248}, "IUEN": {"acc": 0.0, "rec": 0, "f1": 1, "acc_count": 3, "rec_count": 0}, "keywords": {"acc": 0.9423076923076923, "rec": 0.98, "f1": 0.9607843137254902, "acc_count": 156, "rec_count": 150}}, "exact": 0.8830645161290323, "exec": 0}, "medium": {"count": 446, "partial": {"select": {"acc": 0.8721973094170403, "rec": 0.8721973094170403, "f1": 0.8721973094170403, "acc_count": 446, "rec_count": 446}, "select(no AGG)": {"acc": 0.8878923766816144, "rec": 0.8878923766816144, "f1": 0.8878923766816144, "acc_count": 446, "rec_count": 446}, "where": {"acc": 0.8134715025906736, "rec": 0.8626373626373627, "f1": 0.8373333333333334, "acc_count": 193, "rec_count": 182}, "where(no OP)": {"acc": 0.8238341968911918, "rec": 0.8736263736263736, "f1": 0.8480000000000001, "acc_count": 193, "rec_count": 182}, "group(no Having)": {"acc": 0.859375, "rec": 0.8270676691729323, "f1": 0.8429118773946361, "acc_count": 128, "rec_count": 133}, "group": {"acc": 0.765625, "rec": 0.7368421052631579, "f1": 0.7509578544061302, "acc_count": 128, "rec_count": 133}, "order": {"acc": 0.7922077922077922, "rec": 0.8133333333333334, "f1": 0.8026315789473685, "acc_count": 77, "rec_count": 75}, "and/or": {"acc": 0.9842342342342343, "rec": 0.9931818181818182, "f1": 0.9886877828054299, "acc_count": 444, "rec_count": 440}, "IUEN": {"acc": 0.0, "rec": 0, "f1": 1, "acc_count": 2, "rec_count": 0}, "keywords": {"acc": 0.925531914893617, "rec": 0.9206349206349206, "f1": 0.9230769230769229, "acc_count": 376, "rec_count": 378}}, "exact": 0.7107623318385651, "exec": 0}, "hard": {"count": 174, "partial": {"select": {"acc": 0.9482758620689655, "rec": 0.9482758620689655, "f1": 0.9482758620689655, "acc_count": 174, "rec_count": 174}, "select(no AGG)": {"acc": 0.9482758620689655, "rec": 0.9482758620689655, "f1": 0.9482758620689655, "acc_count": 174, "rec_count": 174}, "where": {"acc": 0.651685393258427, "rec": 0.6170212765957447, "f1": 0.6338797814207652, "acc_count": 89, "rec_count": 94}, "where(no OP)": {"acc": 0.7640449438202247, "rec": 0.723404255319149, "f1": 0.7431693989071038, "acc_count": 89, "rec_count": 94}, "group(no Having)": {"acc": 0.7906976744186046, "rec": 0.8717948717948718, "f1": 0.8292682926829267, "acc_count": 43, "rec_count": 39}, "group": {"acc": 0.7906976744186046, "rec": 0.8717948717948718, "f1": 0.8292682926829267, "acc_count": 43, "rec_count": 39}, "order": {"acc": 0.8727272727272727, "rec": 0.8727272727272727, "f1": 0.8727272727272727, "acc_count": 55, "rec_count": 55}, "and/or": {"acc": 1.0, "rec": 0.9655172413793104, "f1": 0.9824561403508771, "acc_count": 168, "rec_count": 174}, "IUEN": {"acc": 0.48717948717948717, "rec": 0.4523809523809524, "f1": 0.4691358024691358, "acc_count": 39, "rec_count": 42}, "keywords": {"acc": 0.8430232558139535, "rec": 0.8333333333333334, "f1": 0.838150289017341, "acc_count": 172, "rec_count": 174}}, "exact": 0.5689655172413793, "exec": 0}, "extra": {"count": 166, "partial": {"select": {"acc": 0.8433734939759037, "rec": 0.8433734939759037, "f1": 0.8433734939759037, "acc_count": 166, "rec_count": 166}, "select(no AGG)": {"acc": 0.8674698795180723, "rec": 0.8674698795180723, "f1": 0.8674698795180723, "acc_count": 166, "rec_count": 166}, "where": {"acc": 0.5955056179775281, "rec": 0.5638297872340425, "f1": 0.5792349726775957, "acc_count": 89, "rec_count": 94}, "where(no OP)": {"acc": 0.6629213483146067, "rec": 0.6276595744680851, "f1": 0.6448087431693988, "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.825, "rec": 0.8354430379746836, "f1": 0.8301886792452831, "acc_count": 80, "rec_count": 79}, "and/or": {"acc": 0.9024390243902439, "rec": 0.9736842105263158, "f1": 0.9367088607594938, "acc_count": 164, "rec_count": 152}, "IUEN": {"acc": 0.34375, "rec": 0.3235294117647059, "f1": 0.33333333333333337, "acc_count": 32, "rec_count": 34}, "keywords": {"acc": 0.8253012048192772, "rec": 0.8253012048192772, "f1": 0.8253012048192772, "acc_count": 166, "rec_count": 166}}, "exact": 0.41566265060240964, "exec": 0}, "all": {"count": 1034, "partial": {"select": {"acc": 0.8945841392649904, "rec": 0.8945841392649904, "f1": 0.8945841392649903, "acc_count": 1034, "rec_count": 1034}, "select(no AGG)": {"acc": 0.9110251450676983, "rec": 0.9110251450676983, "f1": 0.9110251450676983, "acc_count": 1034, "rec_count": 1034}, "where": {"acc": 0.7708333333333334, "rec": 0.7740585774058577, "f1": 0.7724425887265136, "acc_count": 480, "rec_count": 478}, "where(no OP)": {"acc": 0.8145833333333333, "rec": 0.8179916317991632, "f1": 0.8162839248434238, "acc_count": 480, "rec_count": 478}, "group(no Having)": {"acc": 0.8118081180811808, "rec": 0.8118081180811808, "f1": 0.8118081180811808, "acc_count": 271, "rec_count": 271}, "group": {"acc": 0.7601476014760148, "rec": 0.7601476014760148, "f1": 0.7601476014760148, "acc_count": 271, "rec_count": 271}, "order": {"acc": 0.8200836820083682, "rec": 0.8484848484848485, "f1": 0.8340425531914895, "acc_count": 239, "rec_count": 231}, "and/or": {"acc": 0.9775390625, "rec": 0.9871794871794872, "f1": 0.9823356231599608, "acc_count": 1024, "rec_count": 1014}, "IUEN": {"acc": 0.39473684210526316, "rec": 0.39473684210526316, "f1": 0.39473684210526316, "acc_count": 76, "rec_count": 76}, "keywords": {"acc": 0.8931034482758621, "rec": 0.8951612903225806, "f1": 0.8941311852704258, "acc_count": 870, "rec_count": 868}}, "exact": 0.6808510638297872, "exec": 0}}}