[ { "db_id": "geo", "query": "SELECT city_name FROM city WHERE population = ( SELECT MAX ( population ) FROM city WHERE state_name = \"wyoming\" ) AND state_name = \"wyoming\";", "query_toks": [ "SELECT", "city_name", "FROM", "city", "WHERE", "population", "=", "(", "SELECT", "MAX", "(", "population", ")", "FROM", "city", "WHERE", "state_name", "=", "``", "wyoming", "''", ")", "AND", "state_name", "=", "``", "wyoming", "''", ";" ], "query_toks_no_value": [ "select", "city_name", "from", "city", "where", "population", "=", "(", "select", "max", "(", "population", ")", "from", "city", "where", "state_name", "=", "value", ")", "and", "state_name", "=", "value" ], "question": "Qual é a maior cidade de Wyoming?", "question_toks": [ "Qual", "é", "a", "maior", "cidade", "de", "Wyoming", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 7, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 8, false ], null ], { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 8, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"wyoming\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ], "and", [ false, 2, [ 0, [ 0, 10, false ], null ], "\"wyoming\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT city_name FROM city WHERE population = ( SELECT MAX ( population ) FROM city WHERE state_name = \"wyoming\" ) AND state_name = \"wyoming\";", "query_toks": [ "SELECT", "city_name", "FROM", "city", "WHERE", "population", "=", "(", "SELECT", "MAX", "(", "population", ")", "FROM", "city", "WHERE", "state_name", "=", "``", "wyoming", "''", ")", "AND", "state_name", "=", "``", "wyoming", "''", ";" ], "query_toks_no_value": [ "select", "city_name", "from", "city", "where", "population", "=", "(", "select", "max", "(", "population", ")", "from", "city", "where", "state_name", "=", "value", ")", "and", "state_name", "=", "value" ], "question": "Qual cidade de Wyoming tem a maior população", "question_toks": [ "Qual", "cidade", "de", "Wyoming", "tem", "a", "maior", "população" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 7, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 8, false ], null ], { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 8, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"wyoming\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ], "and", [ false, 2, [ 0, [ 0, 10, false ], null ], "\"wyoming\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT city_name FROM city WHERE population = ( SELECT MAX ( population ) FROM city WHERE state_name = \"wyoming\" ) AND state_name = \"wyoming\";", "query_toks": [ "SELECT", "city_name", "FROM", "city", "WHERE", "population", "=", "(", "SELECT", "MAX", "(", "population", ")", "FROM", "city", "WHERE", "state_name", "=", "``", "wyoming", "''", ")", "AND", "state_name", "=", "``", "wyoming", "''", ";" ], "query_toks_no_value": [ "select", "city_name", "from", "city", "where", "population", "=", "(", "select", "max", "(", "population", ")", "from", "city", "where", "state_name", "=", "value", ")", "and", "state_name", "=", "value" ], "question": "Qual é a maior cidade de Wyoming", "question_toks": [ "Qual", "é", "a", "maior", "cidade", "de", "Wyoming" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 7, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 8, false ], null ], { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 8, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"wyoming\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ], "and", [ false, 2, [ 0, [ 0, 10, false ], null ], "\"wyoming\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT city_name FROM city WHERE population = ( SELECT MAX ( population ) FROM city WHERE state_name = \"wyoming\" ) AND state_name = \"wyoming\";", "query_toks": [ "SELECT", "city_name", "FROM", "city", "WHERE", "population", "=", "(", "SELECT", "MAX", "(", "population", ")", "FROM", "city", "WHERE", "state_name", "=", "``", "wyoming", "''", ")", "AND", "state_name", "=", "``", "wyoming", "''", ";" ], "query_toks_no_value": [ "select", "city_name", "from", "city", "where", "population", "=", "(", "select", "max", "(", "population", ")", "from", "city", "where", "state_name", "=", "value", ")", "and", "state_name", "=", "value" ], "question": "onde fica a área mais populosa de Wyoming", "question_toks": [ "onde", "fica", "a", "área", "mais", "populosa", "de", "Wyoming" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 7, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 8, false ], null ], { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 8, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"wyoming\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ], "and", [ false, 2, [ 0, [ 0, 10, false ], null ], "\"wyoming\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT city_name FROM city WHERE population = ( SELECT MAX ( population ) FROM city WHERE state_name = \"wyoming\" ) AND state_name = \"wyoming\";", "query_toks": [ "SELECT", "city_name", "FROM", "city", "WHERE", "population", "=", "(", "SELECT", "MAX", "(", "population", ")", "FROM", "city", "WHERE", "state_name", "=", "``", "wyoming", "''", ")", "AND", "state_name", "=", "``", "wyoming", "''", ";" ], "query_toks_no_value": [ "select", "city_name", "from", "city", "where", "population", "=", "(", "select", "max", "(", "population", ")", "from", "city", "where", "state_name", "=", "value", ")", "and", "state_name", "=", "value" ], "question": "qual cidade em Wyoming tem a maior população", "question_toks": [ "qual", "cidade", "em", "Wyoming", "tem", "a", "maior", "população" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 7, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 8, false ], null ], { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 8, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"wyoming\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ], "and", [ false, 2, [ 0, [ 0, 10, false ], null ], "\"wyoming\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT city_name FROM city WHERE population = ( SELECT MAX ( population ) FROM city WHERE state_name = \"wyoming\" ) AND state_name = \"wyoming\";", "query_toks": [ "SELECT", "city_name", "FROM", "city", "WHERE", "population", "=", "(", "SELECT", "MAX", "(", "population", ")", "FROM", "city", "WHERE", "state_name", "=", "``", "wyoming", "''", ")", "AND", "state_name", "=", "``", "wyoming", "''", ";" ], "query_toks_no_value": [ "select", "city_name", "from", "city", "where", "population", "=", "(", "select", "max", "(", "population", ")", "from", "city", "where", "state_name", "=", "value", ")", "and", "state_name", "=", "value" ], "question": "quais cidades em Wyoming têm o maior número de cidadãos", "question_toks": [ "quais", "cidades", "em", "Wyoming", "têm", "o", "maior", "número", "de", "cidadãos" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 7, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 8, false ], null ], { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 8, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"wyoming\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ], "and", [ false, 2, [ 0, [ 0, 10, false ], null ], "\"wyoming\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT city_name FROM city WHERE population = ( SELECT MAX ( population ) FROM city WHERE state_name = \"wyoming\" ) AND state_name = \"wyoming\";", "query_toks": [ "SELECT", "city_name", "FROM", "city", "WHERE", "population", "=", "(", "SELECT", "MAX", "(", "population", ")", "FROM", "city", "WHERE", "state_name", "=", "``", "wyoming", "''", ")", "AND", "state_name", "=", "``", "wyoming", "''", ";" ], "query_toks_no_value": [ "select", "city_name", "from", "city", "where", "population", "=", "(", "select", "max", "(", "population", ")", "from", "city", "where", "state_name", "=", "value", ")", "and", "state_name", "=", "value" ], "question": "quais cidades em Wyoming têm a maior população", "question_toks": [ "quais", "cidades", "em", "Wyoming", "têm", "a", "maior", "população" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 7, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 8, false ], null ], { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 8, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"wyoming\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ], "and", [ false, 2, [ 0, [ 0, 10, false ], null ], "\"wyoming\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT city_name FROM city WHERE population = ( SELECT MAX ( population ) FROM city WHERE state_name = \"wyoming\" ) AND state_name = \"wyoming\";", "query_toks": [ "SELECT", "city_name", "FROM", "city", "WHERE", "population", "=", "(", "SELECT", "MAX", "(", "population", ")", "FROM", "city", "WHERE", "state_name", "=", "``", "wyoming", "''", ")", "AND", "state_name", "=", "``", "wyoming", "''", ";" ], "query_toks_no_value": [ "select", "city_name", "from", "city", "where", "population", "=", "(", "select", "max", "(", "population", ")", "from", "city", "where", "state_name", "=", "value", ")", "and", "state_name", "=", "value" ], "question": "Qual é a cidade mais populosa de Wyoming", "question_toks": [ "Qual", "é", "a", "cidade", "mais", "populosa", "de", "Wyoming" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 7, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 8, false ], null ], { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 8, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"wyoming\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ], "and", [ false, 2, [ 0, [ 0, 10, false ], null ], "\"wyoming\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT city_name FROM city WHERE population = ( SELECT MAX ( population ) FROM city WHERE state_name = \"wyoming\" ) AND state_name = \"wyoming\";", "query_toks": [ "SELECT", "city_name", "FROM", "city", "WHERE", "population", "=", "(", "SELECT", "MAX", "(", "population", ")", "FROM", "city", "WHERE", "state_name", "=", "``", "wyoming", "''", ")", "AND", "state_name", "=", "``", "wyoming", "''", ";" ], "query_toks_no_value": [ "select", "city_name", "from", "city", "where", "population", "=", "(", "select", "max", "(", "population", ")", "from", "city", "where", "state_name", "=", "value", ")", "and", "state_name", "=", "value" ], "question": "qual é a maior cidade de Wyoming em população", "question_toks": [ "qual", "é", "a", "maior", "cidade", "de", "Wyoming", "em", "população" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 7, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 8, false ], null ], { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 8, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"wyoming\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ], "and", [ false, 2, [ 0, [ 0, 10, false ], null ], "\"wyoming\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT city_name FROM city WHERE population = ( SELECT MAX ( population ) FROM city WHERE state_name = \"wyoming\" ) AND state_name = \"wyoming\";", "query_toks": [ "SELECT", "city_name", "FROM", "city", "WHERE", "population", "=", "(", "SELECT", "MAX", "(", "population", ")", "FROM", "city", "WHERE", "state_name", "=", "``", "wyoming", "''", ")", "AND", "state_name", "=", "``", "wyoming", "''", ";" ], "query_toks_no_value": [ "select", "city_name", "from", "city", "where", "population", "=", "(", "select", "max", "(", "population", ")", "from", "city", "where", "state_name", "=", "value", ")", "and", "state_name", "=", "value" ], "question": "qual é a maior cidade de Wyoming", "question_toks": [ "qual", "é", "a", "maior", "cidade", "de", "Wyoming" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 7, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 8, false ], null ], { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 8, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"wyoming\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ], "and", [ false, 2, [ 0, [ 0, 10, false ], null ], "\"wyoming\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT city_name FROM city WHERE population = ( SELECT MAX ( population ) FROM city WHERE state_name = \"wyoming\" ) AND state_name = \"wyoming\";", "query_toks": [ "SELECT", "city_name", "FROM", "city", "WHERE", "population", "=", "(", "SELECT", "MAX", "(", "population", ")", "FROM", "city", "WHERE", "state_name", "=", "``", "wyoming", "''", ")", "AND", "state_name", "=", "``", "wyoming", "''", ";" ], "query_toks_no_value": [ "select", "city_name", "from", "city", "where", "population", "=", "(", "select", "max", "(", "population", ")", "from", "city", "where", "state_name", "=", "value", ")", "and", "state_name", "=", "value" ], "question": "qual é a cidade em Wyoming com a maior população", "question_toks": [ "qual", "é", "a", "cidade", "em", "Wyoming", "com", "a", "maior", "população" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 7, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 8, false ], null ], { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 8, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"wyoming\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ], "and", [ false, 2, [ 0, [ 0, 10, false ], null ], "\"wyoming\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT river_name FROM river WHERE traverse IN ( SELECT state_name FROM city WHERE population = ( SELECT MAX ( population ) FROM city ) );", "query_toks": [ "SELECT", "river_name", "FROM", "river", "WHERE", "traverse", "IN", "(", "SELECT", "state_name", "FROM", "city", "WHERE", "population", "=", "(", "SELECT", "MAX", "(", "population", ")", "FROM", "city", ")", ")", ";" ], "query_toks_no_value": [ "select", "river_name", "from", "river", "where", "traverse", "in", "(", "select", "state_name", "from", "city", "where", "population", "=", "(", "select", "max", "(", "population", ")", "from", "city", ")", ")" ], "question": "quais rios percorrem o estado com a maior cidade dos EUA", "question_toks": [ "quais", "rios", "percorrem", "o", "estado", "com", "a", "maior", "cidade", "dos", "EUA" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 26, false ], null ] ] ] ], "where": [ [ false, 8, [ 0, [ 0, 29, false ], null ], { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 10, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 8, false ], null ], { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 8, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT area FROM state WHERE state_name = \"new mexico\";", "query_toks": [ "SELECT", "area", "FROM", "state", "WHERE", "state_name", "=", "``", "new", "mexico", "''", ";" ], "query_toks_no_value": [ "select", "area", "from", "state", "where", "state_name", "=", "value" ], "question": "quão grande é o novo méxico", "question_toks": [ "quão", "grande", "é", "o", "novo", "méxico" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 1, false ], null ], "\"new mexico\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT area FROM state WHERE state_name = \"new mexico\";", "query_toks": [ "SELECT", "area", "FROM", "state", "WHERE", "state_name", "=", "``", "new", "mexico", "''", ";" ], "query_toks_no_value": [ "select", "area", "from", "state", "where", "state_name", "=", "value" ], "question": "qual é a área do novo méxico", "question_toks": [ "qual", "é", "a", "área", "do", "novo", "méxico" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 1, false ], null ], "\"new mexico\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT area FROM state WHERE state_name = \"new mexico\";", "query_toks": [ "SELECT", "area", "FROM", "state", "WHERE", "state_name", "=", "``", "new", "mexico", "''", ";" ], "query_toks_no_value": [ "select", "area", "from", "state", "where", "state_name", "=", "value" ], "question": "quão grande é o novo méxico", "question_toks": [ "quão", "grande", "é", "o", "novo", "méxico" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 1, false ], null ], "\"new mexico\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT area FROM state WHERE state_name = \"new mexico\";", "query_toks": [ "SELECT", "area", "FROM", "state", "WHERE", "state_name", "=", "``", "new", "mexico", "''", ";" ], "query_toks_no_value": [ "select", "area", "from", "state", "where", "state_name", "=", "value" ], "question": "qual é a área do estado do novo méxico", "question_toks": [ "qual", "é", "a", "área", "do", "estado", "do", "novo", "méxico" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 1, false ], null ], "\"new mexico\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT area FROM state WHERE state_name = \"new mexico\";", "query_toks": [ "SELECT", "area", "FROM", "state", "WHERE", "state_name", "=", "``", "new", "mexico", "''", ";" ], "query_toks_no_value": [ "select", "area", "from", "state", "where", "state_name", "=", "value" ], "question": "qual é o tamanho do novo méxico", "question_toks": [ "qual", "é", "o", "tamanho", "do", "novo", "méxico" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 1, false ], null ], "\"new mexico\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT area FROM state WHERE state_name = \"new mexico\";", "query_toks": [ "SELECT", "area", "FROM", "state", "WHERE", "state_name", "=", "``", "new", "mexico", "''", ";" ], "query_toks_no_value": [ "select", "area", "from", "state", "where", "state_name", "=", "value" ], "question": "qual é a área do novo méxico em quilômetros quadrados", "question_toks": [ "qual", "é", "a", "área", "do", "novo", "méxico", "em", "quilômetros", "quadrados" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 1, false ], null ], "\"new mexico\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT population FROM state WHERE state_name = \"california\";", "query_toks": [ "SELECT", "population", "FROM", "state", "WHERE", "state_name", "=", "``", "california", "''", ";" ], "query_toks_no_value": [ "select", "population", "from", "state", "where", "state_name", "=", "value" ], "question": "quantas pessoas vivem na Califórnia", "question_toks": [ "quantas", "pessoas", "vivem", "na", "Califórnia" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 2, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 1, false ], null ], "\"california\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT population FROM state WHERE state_name = \"california\";", "query_toks": [ "SELECT", "population", "FROM", "state", "WHERE", "state_name", "=", "``", "california", "''", ";" ], "query_toks_no_value": [ "select", "population", "from", "state", "where", "state_name", "=", "value" ], "question": "quantas pessoas residem na Califórnia", "question_toks": [ "quantas", "pessoas", "residem", "na", "Califórnia" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 2, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 1, false ], null ], "\"california\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT population FROM state WHERE state_name = \"california\";", "query_toks": [ "SELECT", "population", "FROM", "state", "WHERE", "state_name", "=", "``", "california", "''", ";" ], "query_toks_no_value": [ "select", "population", "from", "state", "where", "state_name", "=", "value" ], "question": "quantos residentes vivem na Califórnia", "question_toks": [ "quantos", "residentes", "vivem", "na", "Califórnia" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 2, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 1, false ], null ], "\"california\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT population FROM state WHERE state_name = \"california\";", "query_toks": [ "SELECT", "population", "FROM", "state", "WHERE", "state_name", "=", "``", "california", "''", ";" ], "query_toks_no_value": [ "select", "population", "from", "state", "where", "state_name", "=", "value" ], "question": "quanta população a Califórnia tem", "question_toks": [ "quanta", "população", "a", "Califórnia", "tem" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 2, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 1, false ], null ], "\"california\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT population FROM state WHERE state_name = \"california\";", "query_toks": [ "SELECT", "population", "FROM", "state", "WHERE", "state_name", "=", "``", "california", "''", ";" ], "query_toks_no_value": [ "select", "population", "from", "state", "where", "state_name", "=", "value" ], "question": "quais são a população da califórnia", "question_toks": [ "quais", "são", "a", "população", "da", "califórnia" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 2, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 1, false ], null ], "\"california\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT population FROM state WHERE state_name = \"california\";", "query_toks": [ "SELECT", "population", "FROM", "state", "WHERE", "state_name", "=", "``", "california", "''", ";" ], "query_toks_no_value": [ "select", "population", "from", "state", "where", "state_name", "=", "value" ], "question": "qual é a população da califórnia", "question_toks": [ "qual", "é", "a", "população", "da", "califórnia" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 2, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 1, false ], null ], "\"california\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT population FROM state WHERE state_name = \"california\";", "query_toks": [ "SELECT", "population", "FROM", "state", "WHERE", "state_name", "=", "``", "california", "''", ";" ], "query_toks_no_value": [ "select", "population", "from", "state", "where", "state_name", "=", "value" ], "question": "quantas pessoas estão no estado da califórnia", "question_toks": [ "quantas", "pessoas", "estão", "no", "estado", "da", "califórnia" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 2, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 1, false ], null ], "\"california\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT population FROM state WHERE state_name = \"california\";", "query_toks": [ "SELECT", "population", "FROM", "state", "WHERE", "state_name", "=", "``", "california", "''", ";" ], "query_toks_no_value": [ "select", "population", "from", "state", "where", "state_name", "=", "value" ], "question": "O que você pode me dizer sobre a população da Califórnia", "question_toks": [ "O", "que", "você", "pode", "me", "dizer", "sobre", "a", "população", "da", "Califórnia" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 2, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 1, false ], null ], "\"california\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT population FROM state WHERE state_name = \"california\";", "query_toks": [ "SELECT", "population", "FROM", "state", "WHERE", "state_name", "=", "``", "california", "''", ";" ], "query_toks_no_value": [ "select", "population", "from", "state", "where", "state_name", "=", "value" ], "question": "quantas pessoas há na Califórnia", "question_toks": [ "quantas", "pessoas", "há", "na", "Califórnia" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 2, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 1, false ], null ], "\"california\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT population FROM state WHERE state_name = \"california\";", "query_toks": [ "SELECT", "population", "FROM", "state", "WHERE", "state_name", "=", "``", "california", "''", ";" ], "query_toks_no_value": [ "select", "population", "from", "state", "where", "state_name", "=", "value" ], "question": "quantos cidadãos na Califórnia", "question_toks": [ "quantos", "cidadãos", "na", "Califórnia" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 2, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 1, false ], null ], "\"california\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT population FROM state WHERE state_name = \"california\";", "query_toks": [ "SELECT", "population", "FROM", "state", "WHERE", "state_name", "=", "``", "california", "''", ";" ], "query_toks_no_value": [ "select", "population", "from", "state", "where", "state_name", "=", "value" ], "question": "quantas pessoas ficam na Califórnia", "question_toks": [ "quantas", "pessoas", "ficam", "na", "Califórnia" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 2, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 1, false ], null ], "\"california\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT population FROM state WHERE state_name = \"california\";", "query_toks": [ "SELECT", "population", "FROM", "state", "WHERE", "state_name", "=", "``", "california", "''", ";" ], "query_toks_no_value": [ "select", "population", "from", "state", "where", "state_name", "=", "value" ], "question": "quantos cidadãos vivem na Califórnia", "question_toks": [ "quantos", "cidadãos", "vivem", "na", "Califórnia" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 2, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 1, false ], null ], "\"california\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT state_name FROM state WHERE population = ( SELECT MIN ( population ) FROM state );", "query_toks": [ "SELECT", "state_name", "FROM", "state", "WHERE", "population", "=", "(", "SELECT", "MIN", "(", "population", ")", "FROM", "state", ")", ";" ], "query_toks_no_value": [ "select", "state_name", "from", "state", "where", "population", "=", "(", "select", "min", "(", "population", ")", "from", "state", ")" ], "question": "qual estado tem a menor população", "question_toks": [ "qual", "estado", "tem", "a", "menor", "população" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 1, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 2, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 2, [ 0, [ 0, 2, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT state_name FROM state WHERE population = ( SELECT MIN ( population ) FROM state );", "query_toks": [ "SELECT", "state_name", "FROM", "state", "WHERE", "population", "=", "(", "SELECT", "MIN", "(", "population", ")", "FROM", "state", ")", ";" ], "query_toks_no_value": [ "select", "state_name", "from", "state", "where", "population", "=", "(", "select", "min", "(", "population", ")", "from", "state", ")" ], "question": "qual é o estado menos populoso", "question_toks": [ "qual", "é", "o", "estado", "menos", "populoso" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 1, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 2, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 2, [ 0, [ 0, 2, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT state_name FROM state WHERE population = ( SELECT MIN ( population ) FROM state );", "query_toks": [ "SELECT", "state_name", "FROM", "state", "WHERE", "population", "=", "(", "SELECT", "MIN", "(", "population", ")", "FROM", "state", ")", ";" ], "query_toks_no_value": [ "select", "state_name", "from", "state", "where", "population", "=", "(", "select", "min", "(", "population", ")", "from", "state", ")" ], "question": "qual é o estado com a população mais baixa", "question_toks": [ "qual", "é", "o", "estado", "com", "a", "população", "mais", "baixa" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 1, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 2, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 2, [ 0, [ 0, 2, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT city_name FROM city WHERE state_name = \"texas\";", "query_toks": [ "SELECT", "city_name", "FROM", "city", "WHERE", "state_name", "=", "``", "texas", "''", ";" ], "query_toks_no_value": [ "select", "city_name", "from", "city", "where", "state_name", "=", "value" ], "question": "me dê as cidades no texas", "question_toks": [ "me", "dê", "as", "cidades", "no", "texas" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 7, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"texas\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT city_name FROM city WHERE state_name = \"texas\";", "query_toks": [ "SELECT", "city_name", "FROM", "city", "WHERE", "state_name", "=", "``", "texas", "''", ";" ], "query_toks_no_value": [ "select", "city_name", "from", "city", "where", "state_name", "=", "value" ], "question": "diga-me quais são as cidades do texas", "question_toks": [ "diga-me", "quais", "são", "as", "cidades", "do", "texas" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 7, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"texas\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT city_name FROM city WHERE state_name = \"texas\";", "query_toks": [ "SELECT", "city_name", "FROM", "city", "WHERE", "state_name", "=", "``", "texas", "''", ";" ], "query_toks_no_value": [ "select", "city_name", "from", "city", "where", "state_name", "=", "value" ], "question": "quais cidades estão localizadas no texas", "question_toks": [ "quais", "cidades", "estão", "localizadas", "no", "texas" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 7, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"texas\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT city_name FROM city WHERE state_name = \"texas\";", "query_toks": [ "SELECT", "city_name", "FROM", "city", "WHERE", "state_name", "=", "``", "texas", "''", ";" ], "query_toks_no_value": [ "select", "city_name", "from", "city", "where", "state_name", "=", "value" ], "question": "quais são as cidades no texas", "question_toks": [ "quais", "são", "as", "cidades", "no", "texas" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 7, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"texas\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT city_name FROM city WHERE state_name = \"texas\";", "query_toks": [ "SELECT", "city_name", "FROM", "city", "WHERE", "state_name", "=", "``", "texas", "''", ";" ], "query_toks_no_value": [ "select", "city_name", "from", "city", "where", "state_name", "=", "value" ], "question": "que cidades no texas", "question_toks": [ "que", "cidades", "no", "texas" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 7, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"texas\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT city_name FROM city WHERE state_name = \"texas\";", "query_toks": [ "SELECT", "city_name", "FROM", "city", "WHERE", "state_name", "=", "``", "texas", "''", ";" ], "query_toks_no_value": [ "select", "city_name", "from", "city", "where", "state_name", "=", "value" ], "question": "dê-me as cidades que estão no Texas", "question_toks": [ "dê-me", "as", "cidades", "que", "estão", "no", "Texas" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 7, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"texas\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT area FROM state WHERE capital = \"albany\";", "query_toks": [ "SELECT", "area", "FROM", "state", "WHERE", "capital", "=", "``", "albany", "''", ";" ], "query_toks_no_value": [ "select", "area", "from", "state", "where", "capital", "=", "value" ], "question": "qual é a área do estado com a capital albania", "question_toks": [ "qual", "é", "a", "área", "do", "estado", "com", "a", "capital", "albania" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 5, false ], null ], "\"albany\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT lake_name FROM lake WHERE state_name = \"california\";", "query_toks": [ "SELECT", "lake_name", "FROM", "lake", "WHERE", "state_name", "=", "``", "california", "''", ";" ], "query_toks_no_value": [ "select", "lake_name", "from", "lake", "where", "state_name", "=", "value" ], "question": "dê-me os lagos na Califórnia", "question_toks": [ "dê-me", "os", "lagos", "na", "Califórnia" ], "sql": { "from": { "table_units": [ [ "table_unit", 4 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 18, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 21, false ], null ], "\"california\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT lake_name FROM lake WHERE area > 750 AND state_name = \"michigan\";", "query_toks": [ "SELECT", "lake_name", "FROM", "lake", "WHERE", "area", ">", "750", "AND", "state_name", "=", "``", "michigan", "''", ";" ], "query_toks_no_value": [ "select", "lake_name", "from", "lake", "where", "area", ">", "value", "and", "state_name", "=", "value" ], "question": "cite os principais lagos de Michigan", "question_toks": [ "cite", "os", "principais", "lagos", "de", "Michigan" ], "sql": { "from": { "table_units": [ [ "table_unit", 4 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 18, false ], null ] ] ] ], "where": [ [ false, 3, [ 0, [ 0, 19, false ], null ], 750.0, null ], "and", [ false, 2, [ 0, [ 0, 21, false ], null ], "\"michigan\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT state_name FROM state;", "query_toks": [ "SELECT", "state_name", "FROM", "state", ";" ], "query_toks_no_value": [ "select", "state_name", "from", "state" ], "question": "quais são os estados", "question_toks": [ "quais", "são", "os", "estados" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 1, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT state_name FROM state;", "query_toks": [ "SELECT", "state_name", "FROM", "state", ";" ], "query_toks_no_value": [ "select", "state_name", "from", "state" ], "question": "liste os estados", "question_toks": [ "liste", "os", "estados" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 1, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT state_name FROM state;", "query_toks": [ "SELECT", "state_name", "FROM", "state", ";" ], "query_toks_no_value": [ "select", "state_name", "from", "state" ], "question": "dê-me todos os estados dos EUA", "question_toks": [ "dê-me", "todos", "os", "estados", "dos", "EUA" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 1, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT traverse FROM river WHERE river_name = \"ohio\";", "query_toks": [ "SELECT", "traverse", "FROM", "river", "WHERE", "river_name", "=", "``", "ohio", "''", ";" ], "query_toks_no_value": [ "select", "traverse", "from", "river", "where", "river_name", "=", "value" ], "question": "quais estados fazem o rio ohio fluir", "question_toks": [ "quais", "estados", "fazem", "o", "rio", "ohio", "fluir" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 29, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 26, false ], null ], "\"ohio\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT traverse FROM river WHERE river_name = \"ohio\";", "query_toks": [ "SELECT", "traverse", "FROM", "river", "WHERE", "river_name", "=", "``", "ohio", "''", ";" ], "query_toks_no_value": [ "select", "traverse", "from", "river", "where", "river_name", "=", "value" ], "question": "em que estados passa o rio ohio", "question_toks": [ "em", "que", "estados", "passa", "o", "rio", "ohio" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 29, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 26, false ], null ], "\"ohio\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT traverse FROM river WHERE river_name = \"ohio\";", "query_toks": [ "SELECT", "traverse", "FROM", "river", "WHERE", "river_name", "=", "``", "ohio", "''", ";" ], "query_toks_no_value": [ "select", "traverse", "from", "river", "where", "river_name", "=", "value" ], "question": "quais estados fazem fronteira com o rio ohio", "question_toks": [ "quais", "estados", "fazem", "fronteira", "com", "o", "rio", "ohio" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 29, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 26, false ], null ], "\"ohio\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT traverse FROM river WHERE river_name = \"ohio\";", "query_toks": [ "SELECT", "traverse", "FROM", "river", "WHERE", "river_name", "=", "``", "ohio", "''", ";" ], "query_toks_no_value": [ "select", "traverse", "from", "river", "where", "river_name", "=", "value" ], "question": "que estados fazem fronteira com o rio ohio", "question_toks": [ "que", "estados", "fazem", "fronteira", "com", "o", "rio", "ohio" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 29, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 26, false ], null ], "\"ohio\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT traverse FROM river WHERE river_name = \"ohio\";", "query_toks": [ "SELECT", "traverse", "FROM", "river", "WHERE", "river_name", "=", "``", "ohio", "''", ";" ], "query_toks_no_value": [ "select", "traverse", "from", "river", "where", "river_name", "=", "value" ], "question": "quais estados o ohio percorre", "question_toks": [ "quais", "estados", "o", "ohio", "percorre" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 29, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 26, false ], null ], "\"ohio\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT traverse FROM river WHERE river_name = \"ohio\";", "query_toks": [ "SELECT", "traverse", "FROM", "river", "WHERE", "river_name", "=", "``", "ohio", "''", ";" ], "query_toks_no_value": [ "select", "traverse", "from", "river", "where", "river_name", "=", "value" ], "question": "onde fica o rio ohio", "question_toks": [ "onde", "fica", "o", "rio", "ohio" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 29, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 26, false ], null ], "\"ohio\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT traverse FROM river WHERE river_name = \"ohio\";", "query_toks": [ "SELECT", "traverse", "FROM", "river", "WHERE", "river_name", "=", "``", "ohio", "''", ";" ], "query_toks_no_value": [ "select", "traverse", "from", "river", "where", "river_name", "=", "value" ], "question": "em que estados o rio Ohio corre", "question_toks": [ "em", "que", "estados", "o", "rio", "Ohio", "corre" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 29, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 26, false ], null ], "\"ohio\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT traverse FROM river WHERE river_name = \"ohio\";", "query_toks": [ "SELECT", "traverse", "FROM", "river", "WHERE", "river_name", "=", "``", "ohio", "''", ";" ], "query_toks_no_value": [ "select", "traverse", "from", "river", "where", "river_name", "=", "value" ], "question": "quais estados o ohio percorre", "question_toks": [ "quais", "estados", "o", "ohio", "percorre" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 29, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 26, false ], null ], "\"ohio\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT traverse FROM river WHERE river_name = \"ohio\";", "query_toks": [ "SELECT", "traverse", "FROM", "river", "WHERE", "river_name", "=", "``", "ohio", "''", ";" ], "query_toks_no_value": [ "select", "traverse", "from", "river", "where", "river_name", "=", "value" ], "question": "de quais estados o rio ohio passa", "question_toks": [ "de", "quais", "estados", "o", "rio", "ohio", "passa" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 29, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 26, false ], null ], "\"ohio\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT traverse FROM river WHERE river_name = \"ohio\";", "query_toks": [ "SELECT", "traverse", "FROM", "river", "WHERE", "river_name", "=", "``", "ohio", "''", ";" ], "query_toks_no_value": [ "select", "traverse", "from", "river", "where", "river_name", "=", "value" ], "question": "quais são os estados que o ohio percorre", "question_toks": [ "quais", "são", "os", "estados", "que", "o", "ohio", "percorre" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 29, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 26, false ], null ], "\"ohio\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT traverse FROM river WHERE river_name = \"ohio\";", "query_toks": [ "SELECT", "traverse", "FROM", "river", "WHERE", "river_name", "=", "``", "ohio", "''", ";" ], "query_toks_no_value": [ "select", "traverse", "from", "river", "where", "river_name", "=", "value" ], "question": "qual estado tem o rio ohio", "question_toks": [ "qual", "estado", "tem", "o", "rio", "ohio" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 29, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 26, false ], null ], "\"ohio\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT traverse FROM river WHERE river_name = \"ohio\";", "query_toks": [ "SELECT", "traverse", "FROM", "river", "WHERE", "river_name", "=", "``", "ohio", "''", ";" ], "query_toks_no_value": [ "select", "traverse", "from", "river", "where", "river_name", "=", "value" ], "question": "quais estados têm rios chamados ohio", "question_toks": [ "quais", "estados", "têm", "rios", "chamados", "ohio" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 29, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 26, false ], null ], "\"ohio\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT traverse FROM river WHERE river_name = \"ohio\";", "query_toks": [ "SELECT", "traverse", "FROM", "river", "WHERE", "river_name", "=", "``", "ohio", "''", ";" ], "query_toks_no_value": [ "select", "traverse", "from", "river", "where", "river_name", "=", "value" ], "question": "através de quais estados o ohio flui", "question_toks": [ "através", "de", "quais", "estados", "o", "ohio", "flui" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 29, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 26, false ], null ], "\"ohio\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT traverse FROM river WHERE river_name = \"ohio\";", "query_toks": [ "SELECT", "traverse", "FROM", "river", "WHERE", "river_name", "=", "``", "ohio", "''", ";" ], "query_toks_no_value": [ "select", "traverse", "from", "river", "where", "river_name", "=", "value" ], "question": "quais estados estão próximos ao ohio", "question_toks": [ "quais", "estados", "estão", "próximos", "ao", "ohio" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 29, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 26, false ], null ], "\"ohio\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT traverse FROM river WHERE river_name = \"ohio\";", "query_toks": [ "SELECT", "traverse", "FROM", "river", "WHERE", "river_name", "=", "``", "ohio", "''", ";" ], "query_toks_no_value": [ "select", "traverse", "from", "river", "where", "river_name", "=", "value" ], "question": "através de quais estados o ohio corre", "question_toks": [ "através", "de", "quais", "estados", "o", "ohio", "corre" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 29, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 26, false ], null ], "\"ohio\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT traverse FROM river WHERE river_name = \"ohio\";", "query_toks": [ "SELECT", "traverse", "FROM", "river", "WHERE", "river_name", "=", "``", "ohio", "''", ";" ], "query_toks_no_value": [ "select", "traverse", "from", "river", "where", "river_name", "=", "value" ], "question": "por quais estados o rio ohio passa", "question_toks": [ "por", "quais", "estados", "o", "rio", "ohio", "passa" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 29, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 26, false ], null ], "\"ohio\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT state_name FROM state WHERE population = ( SELECT MAX ( population ) FROM state );", "query_toks": [ "SELECT", "state_name", "FROM", "state", "WHERE", "population", "=", "(", "SELECT", "MAX", "(", "population", ")", "FROM", "state", ")", ";" ], "query_toks_no_value": [ "select", "state_name", "from", "state", "where", "population", "=", "(", "select", "max", "(", "population", ")", "from", "state", ")" ], "question": "qual estado tem a maior população", "question_toks": [ "qual", "estado", "tem", "a", "maior", "população" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 1, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 2, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 2, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT state_name FROM state WHERE population = ( SELECT MAX ( population ) FROM state );", "query_toks": [ "SELECT", "state_name", "FROM", "state", "WHERE", "population", "=", "(", "SELECT", "MAX", "(", "population", ")", "FROM", "state", ")", ";" ], "query_toks_no_value": [ "select", "state_name", "from", "state", "where", "population", "=", "(", "select", "max", "(", "population", ")", "from", "state", ")" ], "question": "qual é o estado mais populoso", "question_toks": [ "qual", "é", "o", "estado", "mais", "populoso" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 1, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 2, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 2, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT state_name FROM state WHERE population = ( SELECT MAX ( population ) FROM state );", "query_toks": [ "SELECT", "state_name", "FROM", "state", "WHERE", "population", "=", "(", "SELECT", "MAX", "(", "population", ")", "FROM", "state", ")", ";" ], "query_toks_no_value": [ "select", "state_name", "from", "state", "where", "population", "=", "(", "select", "max", "(", "population", ")", "from", "state", ")" ], "question": "qual estado é o maior em população", "question_toks": [ "qual", "estado", "é", "o", "maior", "em", "população" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 1, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 2, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 2, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT state_name FROM state WHERE population = ( SELECT MAX ( population ) FROM state );", "query_toks": [ "SELECT", "state_name", "FROM", "state", "WHERE", "population", "=", "(", "SELECT", "MAX", "(", "population", ")", "FROM", "state", ")", ";" ], "query_toks_no_value": [ "select", "state_name", "from", "state", "where", "population", "=", "(", "select", "max", "(", "population", ")", "from", "state", ")" ], "question": "qual estado tem a maior população", "question_toks": [ "qual", "estado", "tem", "a", "maior", "população" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 1, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 2, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 2, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT state_name FROM state WHERE population = ( SELECT MAX ( population ) FROM state );", "query_toks": [ "SELECT", "state_name", "FROM", "state", "WHERE", "population", "=", "(", "SELECT", "MAX", "(", "population", ")", "FROM", "state", ")", ";" ], "query_toks_no_value": [ "select", "state_name", "from", "state", "where", "population", "=", "(", "select", "max", "(", "population", ")", "from", "state", ")" ], "question": "qual estado tem a maior população", "question_toks": [ "qual", "estado", "tem", "a", "maior", "população" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 1, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 2, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 2, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT state_name FROM state WHERE population = ( SELECT MAX ( population ) FROM state );", "query_toks": [ "SELECT", "state_name", "FROM", "state", "WHERE", "population", "=", "(", "SELECT", "MAX", "(", "population", ")", "FROM", "state", ")", ";" ], "query_toks_no_value": [ "select", "state_name", "from", "state", "where", "population", "=", "(", "select", "max", "(", "population", ")", "from", "state", ")" ], "question": "qual estado tem mais população", "question_toks": [ "qual", "estado", "tem", "mais", "população" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 1, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 2, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 2, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT state_name FROM state WHERE population = ( SELECT MAX ( population ) FROM state );", "query_toks": [ "SELECT", "state_name", "FROM", "state", "WHERE", "population", "=", "(", "SELECT", "MAX", "(", "population", ")", "FROM", "state", ")", ";" ], "query_toks_no_value": [ "select", "state_name", "from", "state", "where", "population", "=", "(", "select", "max", "(", "population", ")", "from", "state", ")" ], "question": "qual estado tem mais pessoas", "question_toks": [ "qual", "estado", "tem", "mais", "pessoas" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 1, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 2, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 2, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT state_name FROM state WHERE population = ( SELECT MAX ( population ) FROM state );", "query_toks": [ "SELECT", "state_name", "FROM", "state", "WHERE", "population", "=", "(", "SELECT", "MAX", "(", "population", ")", "FROM", "state", ")", ";" ], "query_toks_no_value": [ "select", "state_name", "from", "state", "where", "population", "=", "(", "select", "max", "(", "population", ")", "from", "state", ")" ], "question": "qual estado tem mais pessoas", "question_toks": [ "qual", "estado", "tem", "mais", "pessoas" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 1, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 2, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 2, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT state_name FROM state WHERE population = ( SELECT MAX ( population ) FROM state );", "query_toks": [ "SELECT", "state_name", "FROM", "state", "WHERE", "population", "=", "(", "SELECT", "MAX", "(", "population", ")", "FROM", "state", ")", ";" ], "query_toks_no_value": [ "select", "state_name", "from", "state", "where", "population", "=", "(", "select", "max", "(", "population", ")", "from", "state", ")" ], "question": "qual é o estado mais populoso dos EUA", "question_toks": [ "qual", "é", "o", "estado", "mais", "populoso", "dos", "EUA" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 1, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 2, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 2, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT state_name FROM state WHERE population = ( SELECT MAX ( population ) FROM state );", "query_toks": [ "SELECT", "state_name", "FROM", "state", "WHERE", "population", "=", "(", "SELECT", "MAX", "(", "population", ")", "FROM", "state", ")", ";" ], "query_toks_no_value": [ "select", "state_name", "from", "state", "where", "population", "=", "(", "select", "max", "(", "population", ")", "from", "state", ")" ], "question": "qual estado tem a maior população", "question_toks": [ "qual", "estado", "tem", "a", "maior", "população" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 1, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 2, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 2, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT lowest_elevation FROM highlow WHERE state_name = \"pennsylvania\";", "query_toks": [ "SELECT", "lowest_elevation", "FROM", "highlow", "WHERE", "state_name", "=", "``", "pennsylvania", "''", ";" ], "query_toks_no_value": [ "select", "lowest_elevation", "from", "highlow", "where", "state_name", "=", "value" ], "question": "Qual é a altitude mais baixa na Pensilvânia", "question_toks": [ "Qual", "é", "a", "altitude", "mais", "baixa", "na", "Pensilvânia" ], "sql": { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 17, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 13, false ], null ], "\"pennsylvania\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT highest_point , state_name FROM highlow WHERE lowest_elevation = 0;", "query_toks": [ "SELECT", "highest_point", ",", "state_name", "FROM", "highlow", "WHERE", "lowest_elevation", "=", "0", ";" ], "query_toks_no_value": [ "select", "highest_point", ",", "state_name", "from", "highlow", "where", "lowest_elevation", "=", "value" ], "question": "qual é o ponto mais alto em cada estado cujo ponto mais baixo é o nível do mar", "question_toks": [ "qual", "é", "o", "ponto", "mais", "alto", "em", "cada", "estado", "cujo", "ponto", "mais", "baixo", "é", "o", "nível", "do", "mar" ], "sql": { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 16, false ], null ] ], [ 0, [ 0, [ 0, 13, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 17, false ], null ], 0.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT LENGTH FROM river WHERE LENGTH = ( SELECT MAX ( LENGTH ) FROM river );", "query_toks": [ "SELECT", "LENGTH", "FROM", "river", "WHERE", "LENGTH", "=", "(", "SELECT", "MAX", "(", "LENGTH", ")", "FROM", "river", ")", ";" ], "query_toks_no_value": [ "select", "length", "from", "river", "where", "length", "=", "(", "select", "max", "(", "length", ")", "from", "river", ")" ], "question": "qual é o comprimento do maior rio dos EUA", "question_toks": [ "qual", "é", "o", "comprimento", "do", "maior", "rio", "dos", "EUA" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 27, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 27, false ], null ], { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 27, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT LENGTH FROM river WHERE LENGTH = ( SELECT MAX ( LENGTH ) FROM river );", "query_toks": [ "SELECT", "LENGTH", "FROM", "river", "WHERE", "LENGTH", "=", "(", "SELECT", "MAX", "(", "LENGTH", ")", "FROM", "river", ")", ";" ], "query_toks_no_value": [ "select", "length", "from", "river", "where", "length", "=", "(", "select", "max", "(", "length", ")", "from", "river", ")" ], "question": "Qual é o comprimento do rio mais longo dos EUA?", "question_toks": [ "Qual", "é", "o", "comprimento", "do", "rio", "mais", "longo", "dos", "EUA", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 27, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 27, false ], null ], { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 27, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT river_name FROM river WHERE LENGTH = ( SELECT MAX ( LENGTH ) FROM river WHERE traverse = \"texas\" ) AND traverse = \"texas\";", "query_toks": [ "SELECT", "river_name", "FROM", "river", "WHERE", "LENGTH", "=", "(", "SELECT", "MAX", "(", "LENGTH", ")", "FROM", "river", "WHERE", "traverse", "=", "``", "texas", "''", ")", "AND", "traverse", "=", "``", "texas", "''", ";" ], "query_toks_no_value": [ "select", "river_name", "from", "river", "where", "length", "=", "(", "select", "max", "(", "length", ")", "from", "river", "where", "traverse", "=", "value", ")", "and", "traverse", "=", "value" ], "question": "qual é o maior rio fluindo pelo texas", "question_toks": [ "qual", "é", "o", "maior", "rio", "fluindo", "pelo", "texas" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 26, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 27, false ], null ], { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 27, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 29, false ], null ], "\"texas\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ], "and", [ false, 2, [ 0, [ 0, 29, false ], null ], "\"texas\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT river_name FROM river WHERE LENGTH = ( SELECT MAX ( LENGTH ) FROM river WHERE traverse = \"texas\" ) AND traverse = \"texas\";", "query_toks": [ "SELECT", "river_name", "FROM", "river", "WHERE", "LENGTH", "=", "(", "SELECT", "MAX", "(", "LENGTH", ")", "FROM", "river", "WHERE", "traverse", "=", "``", "texas", "''", ")", "AND", "traverse", "=", "``", "texas", "''", ";" ], "query_toks_no_value": [ "select", "river_name", "from", "river", "where", "length", "=", "(", "select", "max", "(", "length", ")", "from", "river", "where", "traverse", "=", "value", ")", "and", "traverse", "=", "value" ], "question": "qual é o maior rio do estado do texas", "question_toks": [ "qual", "é", "o", "maior", "rio", "do", "estado", "do", "texas" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 26, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 27, false ], null ], { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 27, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 29, false ], null ], "\"texas\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ], "and", [ false, 2, [ 0, [ 0, 29, false ], null ], "\"texas\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT river_name FROM river WHERE LENGTH = ( SELECT MAX ( LENGTH ) FROM river WHERE traverse = \"texas\" ) AND traverse = \"texas\";", "query_toks": [ "SELECT", "river_name", "FROM", "river", "WHERE", "LENGTH", "=", "(", "SELECT", "MAX", "(", "LENGTH", ")", "FROM", "river", "WHERE", "traverse", "=", "``", "texas", "''", ")", "AND", "traverse", "=", "``", "texas", "''", ";" ], "query_toks_no_value": [ "select", "river_name", "from", "river", "where", "length", "=", "(", "select", "max", "(", "length", ")", "from", "river", "where", "traverse", "=", "value", ")", "and", "traverse", "=", "value" ], "question": "qual é o maior rio do texas", "question_toks": [ "qual", "é", "o", "maior", "rio", "do", "texas" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 26, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 27, false ], null ], { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 27, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 29, false ], null ], "\"texas\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ], "and", [ false, 2, [ 0, [ 0, 29, false ], null ], "\"texas\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT river_name FROM river WHERE LENGTH = ( SELECT MAX ( LENGTH ) FROM river WHERE traverse = \"texas\" ) AND traverse = \"texas\";", "query_toks": [ "SELECT", "river_name", "FROM", "river", "WHERE", "LENGTH", "=", "(", "SELECT", "MAX", "(", "LENGTH", ")", "FROM", "river", "WHERE", "traverse", "=", "``", "texas", "''", ")", "AND", "traverse", "=", "``", "texas", "''", ";" ], "query_toks_no_value": [ "select", "river_name", "from", "river", "where", "length", "=", "(", "select", "max", "(", "length", ")", "from", "river", "where", "traverse", "=", "value", ")", "and", "traverse", "=", "value" ], "question": "qual é o maior rio do texas", "question_toks": [ "qual", "é", "o", "maior", "rio", "do", "texas" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 26, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 27, false ], null ], { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 27, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 29, false ], null ], "\"texas\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ], "and", [ false, 2, [ 0, [ 0, 29, false ], null ], "\"texas\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT river_name FROM river WHERE LENGTH = ( SELECT MAX ( LENGTH ) FROM river WHERE traverse = \"texas\" ) AND traverse = \"texas\";", "query_toks": [ "SELECT", "river_name", "FROM", "river", "WHERE", "LENGTH", "=", "(", "SELECT", "MAX", "(", "LENGTH", ")", "FROM", "river", "WHERE", "traverse", "=", "``", "texas", "''", ")", "AND", "traverse", "=", "``", "texas", "''", ";" ], "query_toks_no_value": [ "select", "river_name", "from", "river", "where", "length", "=", "(", "select", "max", "(", "length", ")", "from", "river", "where", "traverse", "=", "value", ")", "and", "traverse", "=", "value" ], "question": "qual é o maior rio que flui pelo texas", "question_toks": [ "qual", "é", "o", "maior", "rio", "que", "flui", "pelo", "texas" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 26, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 27, false ], null ], { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 27, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 29, false ], null ], "\"texas\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ], "and", [ false, 2, [ 0, [ 0, 29, false ], null ], "\"texas\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT river_name FROM river WHERE LENGTH = ( SELECT MAX ( LENGTH ) FROM river WHERE traverse = \"texas\" ) AND traverse = \"texas\";", "query_toks": [ "SELECT", "river_name", "FROM", "river", "WHERE", "LENGTH", "=", "(", "SELECT", "MAX", "(", "LENGTH", ")", "FROM", "river", "WHERE", "traverse", "=", "``", "texas", "''", ")", "AND", "traverse", "=", "``", "texas", "''", ";" ], "query_toks_no_value": [ "select", "river_name", "from", "river", "where", "length", "=", "(", "select", "max", "(", "length", ")", "from", "river", "where", "traverse", "=", "value", ")", "and", "traverse", "=", "value" ], "question": "quais são os maiores rios do texas", "question_toks": [ "quais", "são", "os", "maiores", "rios", "do", "texas" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 26, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 27, false ], null ], { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 27, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 29, false ], null ], "\"texas\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ], "and", [ false, 2, [ 0, [ 0, 29, false ], null ], "\"texas\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT COUNT ( river_name ) FROM river WHERE traverse = \"idaho\";", "query_toks": [ "SELECT", "COUNT", "(", "river_name", ")", "FROM", "river", "WHERE", "traverse", "=", "``", "idaho", "''", ";" ], "query_toks_no_value": [ "select", "count", "(", "river_name", ")", "from", "river", "where", "traverse", "=", "value" ], "question": "quantos rios existem em idaho", "question_toks": [ "quantos", "rios", "existem", "em", "idaho" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 3, [ 0, [ 0, 26, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 29, false ], null ], "\"idaho\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT COUNT ( river_name ) FROM river WHERE traverse = \"idaho\";", "query_toks": [ "SELECT", "COUNT", "(", "river_name", ")", "FROM", "river", "WHERE", "traverse", "=", "``", "idaho", "''", ";" ], "query_toks_no_value": [ "select", "count", "(", "river_name", ")", "from", "river", "where", "traverse", "=", "value" ], "question": "me dê o número de rios em idaho", "question_toks": [ "me", "dê", "o", "número", "de", "rios", "em", "idaho" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 3, [ 0, [ 0, 26, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 29, false ], null ], "\"idaho\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT COUNT ( river_name ) FROM river WHERE traverse = \"idaho\";", "query_toks": [ "SELECT", "COUNT", "(", "river_name", ")", "FROM", "river", "WHERE", "traverse", "=", "``", "idaho", "''", ";" ], "query_toks_no_value": [ "select", "count", "(", "river_name", ")", "from", "river", "where", "traverse", "=", "value" ], "question": "quantos rios idaho tem", "question_toks": [ "quantos", "rios", "idaho", "tem" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 3, [ 0, [ 0, 26, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 29, false ], null ], "\"idaho\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT COUNT ( river_name ) FROM river WHERE traverse = \"idaho\";", "query_toks": [ "SELECT", "COUNT", "(", "river_name", ")", "FROM", "river", "WHERE", "traverse", "=", "``", "idaho", "''", ";" ], "query_toks_no_value": [ "select", "count", "(", "river_name", ")", "from", "river", "where", "traverse", "=", "value" ], "question": "quantos rios existem em idaho", "question_toks": [ "quantos", "rios", "existem", "em", "idaho" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 3, [ 0, [ 0, 26, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 29, false ], null ], "\"idaho\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT COUNT ( river_name ) FROM river WHERE traverse = \"idaho\";", "query_toks": [ "SELECT", "COUNT", "(", "river_name", ")", "FROM", "river", "WHERE", "traverse", "=", "``", "idaho", "''", ";" ], "query_toks_no_value": [ "select", "count", "(", "river_name", ")", "from", "river", "where", "traverse", "=", "value" ], "question": "quantos rios correm através de idaho", "question_toks": [ "quantos", "rios", "correm", "através", "de", "idaho" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 3, [ 0, [ 0, 26, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 29, false ], null ], "\"idaho\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT COUNT ( river_name ) FROM river WHERE traverse = \"idaho\";", "query_toks": [ "SELECT", "COUNT", "(", "river_name", ")", "FROM", "river", "WHERE", "traverse", "=", "``", "idaho", "''", ";" ], "query_toks_no_value": [ "select", "count", "(", "river_name", ")", "from", "river", "where", "traverse", "=", "value" ], "question": "quantos rios são encontrados em idaho", "question_toks": [ "quantos", "rios", "são", "encontrados", "em", "idaho" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 3, [ 0, [ 0, 26, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 29, false ], null ], "\"idaho\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT COUNT ( river_name ) FROM river WHERE traverse = \"idaho\";", "query_toks": [ "SELECT", "COUNT", "(", "river_name", ")", "FROM", "river", "WHERE", "traverse", "=", "``", "idaho", "''", ";" ], "query_toks_no_value": [ "select", "count", "(", "river_name", ")", "from", "river", "where", "traverse", "=", "value" ], "question": "quantos rios em idaho", "question_toks": [ "quantos", "rios", "em", "idaho" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 3, [ 0, [ 0, 26, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 29, false ], null ], "\"idaho\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT border FROM border_info WHERE state_name = \"kentucky\";", "query_toks": [ "SELECT", "border", "FROM", "border_info", "WHERE", "state_name", "=", "``", "kentucky", "''", ";" ], "query_toks_no_value": [ "select", "border", "from", "border_info", "where", "state_name", "=", "value" ], "question": "o que diz o vizinho kentucky", "question_toks": [ "o", "que", "diz", "o", "vizinho", "kentucky" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 12, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 11, false ], null ], "\"kentucky\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT border FROM border_info WHERE state_name = \"kentucky\";", "query_toks": [ "SELECT", "border", "FROM", "border_info", "WHERE", "state_name", "=", "``", "kentucky", "''", ";" ], "query_toks_no_value": [ "select", "border", "from", "border_info", "where", "state_name", "=", "value" ], "question": "que estados fazem fronteira com kentucky", "question_toks": [ "que", "estados", "fazem", "fronteira", "com", "kentucky" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 12, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 11, false ], null ], "\"kentucky\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT border FROM border_info WHERE state_name = \"kentucky\";", "query_toks": [ "SELECT", "border", "FROM", "border_info", "WHERE", "state_name", "=", "``", "kentucky", "''", ";" ], "query_toks_no_value": [ "select", "border", "from", "border_info", "where", "state_name", "=", "value" ], "question": "quais estados fazem fronteira com kentucky", "question_toks": [ "quais", "estados", "fazem", "fronteira", "com", "kentucky" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 12, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 11, false ], null ], "\"kentucky\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT border FROM border_info WHERE state_name = \"kentucky\";", "query_toks": [ "SELECT", "border", "FROM", "border_info", "WHERE", "state_name", "=", "``", "kentucky", "''", ";" ], "query_toks_no_value": [ "select", "border", "from", "border_info", "where", "state_name", "=", "value" ], "question": "dê-me os estados que fazem fronteira com Kentucky", "question_toks": [ "dê-me", "os", "estados", "que", "fazem", "fronteira", "com", "Kentucky" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 12, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 11, false ], null ], "\"kentucky\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT border FROM border_info WHERE state_name = \"kentucky\";", "query_toks": [ "SELECT", "border", "FROM", "border_info", "WHERE", "state_name", "=", "``", "kentucky", "''", ";" ], "query_toks_no_value": [ "select", "border", "from", "border_info", "where", "state_name", "=", "value" ], "question": "que estado faz fronteira com kentucky", "question_toks": [ "que", "estado", "faz", "fronteira", "com", "kentucky" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 12, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 11, false ], null ], "\"kentucky\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT border FROM border_info WHERE state_name = \"kentucky\";", "query_toks": [ "SELECT", "border", "FROM", "border_info", "WHERE", "state_name", "=", "``", "kentucky", "''", ";" ], "query_toks_no_value": [ "select", "border", "from", "border_info", "where", "state_name", "=", "value" ], "question": "quais estados estão próximos de kentucky", "question_toks": [ "quais", "estados", "estão", "próximos", "de", "kentucky" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 12, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 11, false ], null ], "\"kentucky\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT border FROM border_info WHERE state_name = \"kentucky\";", "query_toks": [ "SELECT", "border", "FROM", "border_info", "WHERE", "state_name", "=", "``", "kentucky", "''", ";" ], "query_toks_no_value": [ "select", "border", "from", "border_info", "where", "state_name", "=", "value" ], "question": "quais estados cercam kentucky", "question_toks": [ "quais", "estados", "cercam", "kentucky" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 12, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 11, false ], null ], "\"kentucky\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT border FROM border_info WHERE state_name = \"kentucky\";", "query_toks": [ "SELECT", "border", "FROM", "border_info", "WHERE", "state_name", "=", "``", "kentucky", "''", ";" ], "query_toks_no_value": [ "select", "border", "from", "border_info", "where", "state_name", "=", "value" ], "question": "qual estado faz fronteira com kentucky", "question_toks": [ "qual", "estado", "faz", "fronteira", "com", "kentucky" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 12, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 11, false ], null ], "\"kentucky\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT border FROM border_info WHERE state_name = \"kentucky\";", "query_toks": [ "SELECT", "border", "FROM", "border_info", "WHERE", "state_name", "=", "``", "kentucky", "''", ";" ], "query_toks_no_value": [ "select", "border", "from", "border_info", "where", "state_name", "=", "value" ], "question": "quais são os estados vizinhos de kentucky", "question_toks": [ "quais", "são", "os", "estados", "vizinhos", "de", "kentucky" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 12, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 11, false ], null ], "\"kentucky\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT border FROM border_info WHERE state_name = \"kentucky\";", "query_toks": [ "SELECT", "border", "FROM", "border_info", "WHERE", "state_name", "=", "``", "kentucky", "''", ";" ], "query_toks_no_value": [ "select", "border", "from", "border_info", "where", "state_name", "=", "value" ], "question": "que afirma ser adjacente a Kentucky", "question_toks": [ "que", "afirma", "ser", "adjacente", "a", "Kentucky" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 12, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 11, false ], null ], "\"kentucky\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT border FROM border_info WHERE state_name = \"kentucky\";", "query_toks": [ "SELECT", "border", "FROM", "border_info", "WHERE", "state_name", "=", "``", "kentucky", "''", ";" ], "query_toks_no_value": [ "select", "border", "from", "border_info", "where", "state_name", "=", "value" ], "question": "estados que fazem fronteira com o kentucky", "question_toks": [ "estados", "que", "fazem", "fronteira", "com", "o", "kentucky" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 12, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 11, false ], null ], "\"kentucky\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT border FROM border_info WHERE state_name = \"kentucky\";", "query_toks": [ "SELECT", "border", "FROM", "border_info", "WHERE", "state_name", "=", "``", "kentucky", "''", ";" ], "query_toks_no_value": [ "select", "border", "from", "border_info", "where", "state_name", "=", "value" ], "question": "qual fronteira do estado kentucky", "question_toks": [ "qual", "fronteira", "do", "estado", "kentucky" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 12, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 11, false ], null ], "\"kentucky\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT border FROM border_info WHERE state_name = \"kentucky\";", "query_toks": [ "SELECT", "border", "FROM", "border_info", "WHERE", "state_name", "=", "``", "kentucky", "''", ";" ], "query_toks_no_value": [ "select", "border", "from", "border_info", "where", "state_name", "=", "value" ], "question": "qual é o estado adjacente de kentucky", "question_toks": [ "qual", "é", "o", "estado", "adjacente", "de", "kentucky" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 12, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 11, false ], null ], "\"kentucky\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT river_name FROM river WHERE traverse = \"illinois\";", "query_toks": [ "SELECT", "river_name", "FROM", "river", "WHERE", "traverse", "=", "``", "illinois", "''", ";" ], "query_toks_no_value": [ "select", "river_name", "from", "river", "where", "traverse", "=", "value" ], "question": "nomeie todos os rios em Illinois", "question_toks": [ "nomeie", "todos", "os", "rios", "em", "Illinois" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 26, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 29, false ], null ], "\"illinois\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT river_name FROM river WHERE traverse = \"illinois\";", "query_toks": [ "SELECT", "river_name", "FROM", "river", "WHERE", "traverse", "=", "``", "illinois", "''", ";" ], "query_toks_no_value": [ "select", "river_name", "from", "river", "where", "traverse", "=", "value" ], "question": "rios em Illinois", "question_toks": [ "rios", "em", "Illinois" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 26, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 29, false ], null ], "\"illinois\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT river_name FROM river WHERE traverse = \"illinois\";", "query_toks": [ "SELECT", "river_name", "FROM", "river", "WHERE", "traverse", "=", "``", "illinois", "''", ";" ], "query_toks_no_value": [ "select", "river_name", "from", "river", "where", "traverse", "=", "value" ], "question": "o que são todos os rios de Illinois", "question_toks": [ "o", "que", "são", "todos", "os", "rios", "de", "Illinois" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 26, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 29, false ], null ], "\"illinois\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT river_name FROM river WHERE traverse = \"illinois\";", "query_toks": [ "SELECT", "river_name", "FROM", "river", "WHERE", "traverse", "=", "``", "illinois", "''", ";" ], "query_toks_no_value": [ "select", "river_name", "from", "river", "where", "traverse", "=", "value" ], "question": "o que são os rios em illinois", "question_toks": [ "o", "que", "são", "os", "rios", "em", "illinois" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 26, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 29, false ], null ], "\"illinois\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT river_name FROM river WHERE traverse = \"illinois\";", "query_toks": [ "SELECT", "river_name", "FROM", "river", "WHERE", "traverse", "=", "``", "illinois", "''", ";" ], "query_toks_no_value": [ "select", "river_name", "from", "river", "where", "traverse", "=", "value" ], "question": "que rios são em Illinois", "question_toks": [ "que", "rios", "são", "em", "Illinois" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 26, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 29, false ], null ], "\"illinois\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT river_name FROM river WHERE traverse = \"illinois\";", "query_toks": [ "SELECT", "river_name", "FROM", "river", "WHERE", "traverse", "=", "``", "illinois", "''", ";" ], "query_toks_no_value": [ "select", "river_name", "from", "river", "where", "traverse", "=", "value" ], "question": "que rios existem em Illinois", "question_toks": [ "que", "rios", "existem", "em", "Illinois" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 26, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 29, false ], null ], "\"illinois\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT river_name FROM river WHERE traverse = \"illinois\";", "query_toks": [ "SELECT", "river_name", "FROM", "river", "WHERE", "traverse", "=", "``", "illinois", "''", ";" ], "query_toks_no_value": [ "select", "river_name", "from", "river", "where", "traverse", "=", "value" ], "question": "que rios correm através de Illinois", "question_toks": [ "que", "rios", "correm", "através", "de", "Illinois" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 26, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 29, false ], null ], "\"illinois\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT river_name FROM river WHERE traverse = \"illinois\";", "query_toks": [ "SELECT", "river_name", "FROM", "river", "WHERE", "traverse", "=", "``", "illinois", "''", ";" ], "query_toks_no_value": [ "select", "river_name", "from", "river", "where", "traverse", "=", "value" ], "question": "que rios correm através de Illinois", "question_toks": [ "que", "rios", "correm", "através", "de", "Illinois" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 26, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 29, false ], null ], "\"illinois\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT river_name FROM river WHERE traverse = \"illinois\";", "query_toks": [ "SELECT", "river_name", "FROM", "river", "WHERE", "traverse", "=", "``", "illinois", "''", ";" ], "query_toks_no_value": [ "select", "river_name", "from", "river", "where", "traverse", "=", "value" ], "question": "que rio corre através de Illinois", "question_toks": [ "que", "rio", "corre", "através", "de", "Illinois" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 26, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 29, false ], null ], "\"illinois\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT river_name FROM river WHERE traverse = \"illinois\";", "query_toks": [ "SELECT", "river_name", "FROM", "river", "WHERE", "traverse", "=", "``", "illinois", "''", ";" ], "query_toks_no_value": [ "select", "river_name", "from", "river", "where", "traverse", "=", "value" ], "question": "quais são os rios no estado de illinois", "question_toks": [ "quais", "são", "os", "rios", "no", "estado", "de", "illinois" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 26, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 29, false ], null ], "\"illinois\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT river_name FROM river WHERE traverse = \"illinois\";", "query_toks": [ "SELECT", "river_name", "FROM", "river", "WHERE", "traverse", "=", "``", "illinois", "''", ";" ], "query_toks_no_value": [ "select", "river_name", "from", "river", "where", "traverse", "=", "value" ], "question": "Nomeie os rios em Illinois", "question_toks": [ "Nomeie", "os", "rios", "em", "Illinois" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 26, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 29, false ], null ], "\"illinois\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT river_name FROM river WHERE traverse = \"illinois\";", "query_toks": [ "SELECT", "river_name", "FROM", "river", "WHERE", "traverse", "=", "``", "illinois", "''", ";" ], "query_toks_no_value": [ "select", "river_name", "from", "river", "where", "traverse", "=", "value" ], "question": "o que são os rios de Illinois", "question_toks": [ "o", "que", "são", "os", "rios", "de", "Illinois" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 26, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 29, false ], null ], "\"illinois\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT river_name FROM river WHERE traverse = \"illinois\";", "query_toks": [ "SELECT", "river_name", "FROM", "river", "WHERE", "traverse", "=", "``", "illinois", "''", ";" ], "query_toks_no_value": [ "select", "river_name", "from", "river", "where", "traverse", "=", "value" ], "question": "quais rios estão em Illinois", "question_toks": [ "quais", "rios", "estão", "em", "Illinois" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 26, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 29, false ], null ], "\"illinois\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT river_name FROM river WHERE traverse = \"illinois\";", "query_toks": [ "SELECT", "river_name", "FROM", "river", "WHERE", "traverse", "=", "``", "illinois", "''", ";" ], "query_toks_no_value": [ "select", "river_name", "from", "river", "where", "traverse", "=", "value" ], "question": "quais rios correm através de Illinois", "question_toks": [ "quais", "rios", "correm", "através", "de", "Illinois" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 26, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 29, false ], null ], "\"illinois\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT river_name FROM river WHERE traverse = \"illinois\";", "query_toks": [ "SELECT", "river_name", "FROM", "river", "WHERE", "traverse", "=", "``", "illinois", "''", ";" ], "query_toks_no_value": [ "select", "river_name", "from", "river", "where", "traverse", "=", "value" ], "question": "qual é o rio que atravessa Illinois", "question_toks": [ "qual", "é", "o", "rio", "que", "atravessa", "Illinois" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 26, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 29, false ], null ], "\"illinois\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT river_name FROM river WHERE traverse = \"illinois\";", "query_toks": [ "SELECT", "river_name", "FROM", "river", "WHERE", "traverse", "=", "``", "illinois", "''", ";" ], "query_toks_no_value": [ "select", "river_name", "from", "river", "where", "traverse", "=", "value" ], "question": "que rio atravessa Illinois", "question_toks": [ "que", "rio", "atravessa", "Illinois" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 26, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 29, false ], null ], "\"illinois\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT state_name FROM city WHERE city_name = \"springfield\";", "query_toks": [ "SELECT", "state_name", "FROM", "city", "WHERE", "city_name", "=", "``", "springfield", "''", ";" ], "query_toks_no_value": [ "select", "state_name", "from", "city", "where", "city_name", "=", "value" ], "question": "em que estado está Springfield", "question_toks": [ "em", "que", "estado", "está", "Springfield" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 10, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 7, false ], null ], "\"springfield\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT state_name FROM city WHERE city_name = \"springfield\";", "query_toks": [ "SELECT", "state_name", "FROM", "city", "WHERE", "city_name", "=", "``", "springfield", "''", ";" ], "query_toks_no_value": [ "select", "state_name", "from", "city", "where", "city_name", "=", "value" ], "question": "onde está Springfield", "question_toks": [ "onde", "está", "Springfield" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 10, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 7, false ], null ], "\"springfield\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT state_name FROM city WHERE city_name = \"springfield\";", "query_toks": [ "SELECT", "state_name", "FROM", "city", "WHERE", "city_name", "=", "``", "springfield", "''", ";" ], "query_toks_no_value": [ "select", "state_name", "from", "city", "where", "city_name", "=", "value" ], "question": "Springfield está em que estado", "question_toks": [ "Springfield", "está", "em", "que", "estado" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 10, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 7, false ], null ], "\"springfield\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT state_name FROM city WHERE city_name = \"springfield\";", "query_toks": [ "SELECT", "state_name", "FROM", "city", "WHERE", "city_name", "=", "``", "springfield", "''", ";" ], "query_toks_no_value": [ "select", "state_name", "from", "city", "where", "city_name", "=", "value" ], "question": "quais estados têm cidades chamadas springfield", "question_toks": [ "quais", "estados", "têm", "cidades", "chamadas", "springfield" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 10, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 7, false ], null ], "\"springfield\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT state_name FROM city WHERE city_name = \"springfield\";", "query_toks": [ "SELECT", "state_name", "FROM", "city", "WHERE", "city_name", "=", "``", "springfield", "''", ";" ], "query_toks_no_value": [ "select", "state_name", "from", "city", "where", "city_name", "=", "value" ], "question": "quais estados têm cidades chamadas springfield", "question_toks": [ "quais", "estados", "têm", "cidades", "chamadas", "springfield" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 10, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 7, false ], null ], "\"springfield\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT state_name FROM city WHERE city_name = \"springfield\";", "query_toks": [ "SELECT", "state_name", "FROM", "city", "WHERE", "city_name", "=", "``", "springfield", "''", ";" ], "query_toks_no_value": [ "select", "state_name", "from", "city", "where", "city_name", "=", "value" ], "question": "em qual estado é Springfield", "question_toks": [ "em", "qual", "estado", "é", "Springfield" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 10, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 7, false ], null ], "\"springfield\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT state_name FROM city WHERE city_name = \"springfield\";", "query_toks": [ "SELECT", "state_name", "FROM", "city", "WHERE", "city_name", "=", "``", "springfield", "''", ";" ], "query_toks_no_value": [ "select", "state_name", "from", "city", "where", "city_name", "=", "value" ], "question": "quais estados têm uma cidade chamada springfield", "question_toks": [ "quais", "estados", "têm", "uma", "cidade", "chamada", "springfield" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 10, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 7, false ], null ], "\"springfield\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT state_name FROM city WHERE city_name = \"springfield\";", "query_toks": [ "SELECT", "state_name", "FROM", "city", "WHERE", "city_name", "=", "``", "springfield", "''", ";" ], "query_toks_no_value": [ "select", "state_name", "from", "city", "where", "city_name", "=", "value" ], "question": "em que estado tem a cidade de Springfield", "question_toks": [ "em", "que", "estado", "tem", "a", "cidade", "de", "Springfield" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 10, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 7, false ], null ], "\"springfield\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT state_name FROM city WHERE city_name = \"springfield\";", "query_toks": [ "SELECT", "state_name", "FROM", "city", "WHERE", "city_name", "=", "``", "springfield", "''", ";" ], "query_toks_no_value": [ "select", "state_name", "from", "city", "where", "city_name", "=", "value" ], "question": "quais estados têm cidades chamadas springfield", "question_toks": [ "quais", "estados", "têm", "cidades", "chamadas", "springfield" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 10, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 7, false ], null ], "\"springfield\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT state_name FROM city WHERE city_name = \"springfield\";", "query_toks": [ "SELECT", "state_name", "FROM", "city", "WHERE", "city_name", "=", "``", "springfield", "''", ";" ], "query_toks_no_value": [ "select", "state_name", "from", "city", "where", "city_name", "=", "value" ], "question": "em que estado Springfield está localizado", "question_toks": [ "em", "que", "estado", "Springfield", "está", "localizado" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 10, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 7, false ], null ], "\"springfield\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT state_name FROM city WHERE city_name = \"springfield\";", "query_toks": [ "SELECT", "state_name", "FROM", "city", "WHERE", "city_name", "=", "``", "springfield", "''", ";" ], "query_toks_no_value": [ "select", "state_name", "from", "city", "where", "city_name", "=", "value" ], "question": "em qual estado é Springfield", "question_toks": [ "em", "qual", "estado", "é", "Springfield" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 10, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 7, false ], null ], "\"springfield\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT state_name FROM city WHERE city_name = \"springfield\";", "query_toks": [ "SELECT", "state_name", "FROM", "city", "WHERE", "city_name", "=", "``", "springfield", "''", ";" ], "query_toks_no_value": [ "select", "state_name", "from", "city", "where", "city_name", "=", "value" ], "question": "em qual estado é a cidade localizada em Springfield", "question_toks": [ "em", "qual", "estado", "é", "a", "cidade", "localizada", "em", "Springfield" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 10, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 7, false ], null ], "\"springfield\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT state_name FROM city WHERE city_name = \"springfield\";", "query_toks": [ "SELECT", "state_name", "FROM", "city", "WHERE", "city_name", "=", "``", "springfield", "''", ";" ], "query_toks_no_value": [ "select", "state_name", "from", "city", "where", "city_name", "=", "value" ], "question": "quais estados nos estados unidos têm uma cidade de springfield", "question_toks": [ "quais", "estados", "nos", "estados", "unidos", "têm", "uma", "cidade", "de", "springfield" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 10, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 7, false ], null ], "\"springfield\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT population FROM state WHERE area = ( SELECT MAX ( area ) FROM state );", "query_toks": [ "SELECT", "population", "FROM", "state", "WHERE", "area", "=", "(", "SELECT", "MAX", "(", "area", ")", "FROM", "state", ")", ";" ], "query_toks_no_value": [ "select", "population", "from", "state", "where", "area", "=", "(", "select", "max", "(", "area", ")", "from", "state", ")" ], "question": "qual é a população do estado com maior área", "question_toks": [ "qual", "é", "a", "população", "do", "estado", "com", "maior", "área" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 2, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT population FROM state WHERE area = ( SELECT MAX ( area ) FROM state );", "query_toks": [ "SELECT", "population", "FROM", "state", "WHERE", "area", "=", "(", "SELECT", "MAX", "(", "area", ")", "FROM", "state", ")", ";" ], "query_toks_no_value": [ "select", "population", "from", "state", "where", "area", "=", "(", "select", "max", "(", "area", ")", "from", "state", ")" ], "question": "qual é a população do maior estado", "question_toks": [ "qual", "é", "a", "população", "do", "maior", "estado" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 2, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT population FROM city WHERE city_name = \"boulder\";", "query_toks": [ "SELECT", "population", "FROM", "city", "WHERE", "city_name", "=", "``", "boulder", "''", ";" ], "query_toks_no_value": [ "select", "population", "from", "city", "where", "city_name", "=", "value" ], "question": "quantas pessoas vivem em pedregulho", "question_toks": [ "quantas", "pessoas", "vivem", "em", "pedregulho" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 8, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 7, false ], null ], "\"boulder\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT population FROM city WHERE city_name = \"boulder\";", "query_toks": [ "SELECT", "population", "FROM", "city", "WHERE", "city_name", "=", "``", "boulder", "''", ";" ], "query_toks_no_value": [ "select", "population", "from", "city", "where", "city_name", "=", "value" ], "question": "qual é a população de pedregulho", "question_toks": [ "qual", "é", "a", "população", "de", "pedregulho" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 8, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 7, false ], null ], "\"boulder\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT population FROM city WHERE city_name = \"boulder\";", "query_toks": [ "SELECT", "population", "FROM", "city", "WHERE", "city_name", "=", "``", "boulder", "''", ";" ], "query_toks_no_value": [ "select", "population", "from", "city", "where", "city_name", "=", "value" ], "question": "quantas pessoas viviam em pedregulho", "question_toks": [ "quantas", "pessoas", "viviam", "em", "pedregulho" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 8, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 7, false ], null ], "\"boulder\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT population FROM city WHERE city_name = \"boulder\";", "query_toks": [ "SELECT", "population", "FROM", "city", "WHERE", "city_name", "=", "``", "boulder", "''", ";" ], "query_toks_no_value": [ "select", "population", "from", "city", "where", "city_name", "=", "value" ], "question": "número de pessoas em pedregulho", "question_toks": [ "número", "de", "pessoas", "em", "pedregulho" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 8, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 7, false ], null ], "\"boulder\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT population FROM city WHERE city_name = \"boulder\";", "query_toks": [ "SELECT", "population", "FROM", "city", "WHERE", "city_name", "=", "``", "boulder", "''", ";" ], "query_toks_no_value": [ "select", "population", "from", "city", "where", "city_name", "=", "value" ], "question": "qual é a população da cidade de pedregulho", "question_toks": [ "qual", "é", "a", "população", "da", "cidade", "de", "pedregulho" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 8, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 7, false ], null ], "\"boulder\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT population FROM city WHERE city_name = \"boulder\";", "query_toks": [ "SELECT", "population", "FROM", "city", "WHERE", "city_name", "=", "``", "boulder", "''", ";" ], "query_toks_no_value": [ "select", "population", "from", "city", "where", "city_name", "=", "value" ], "question": "quão grande é a cidade de pedregulho", "question_toks": [ "quão", "grande", "é", "a", "cidade", "de", "pedregulho" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 8, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 7, false ], null ], "\"boulder\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT population FROM city WHERE city_name = \"boulder\";", "query_toks": [ "SELECT", "population", "FROM", "city", "WHERE", "city_name", "=", "``", "boulder", "''", ";" ], "query_toks_no_value": [ "select", "population", "from", "city", "where", "city_name", "=", "value" ], "question": "população de pedregulho", "question_toks": [ "população", "de", "pedregulho" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 8, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 7, false ], null ], "\"boulder\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT population FROM city WHERE city_name = \"boulder\";", "query_toks": [ "SELECT", "population", "FROM", "city", "WHERE", "city_name", "=", "``", "boulder", "''", ";" ], "query_toks_no_value": [ "select", "population", "from", "city", "where", "city_name", "=", "value" ], "question": "qual é a população em pedregulho", "question_toks": [ "qual", "é", "a", "população", "em", "pedregulho" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 8, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 7, false ], null ], "\"boulder\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT population FROM city WHERE city_name = \"boulder\";", "query_toks": [ "SELECT", "population", "FROM", "city", "WHERE", "city_name", "=", "``", "boulder", "''", ";" ], "query_toks_no_value": [ "select", "population", "from", "city", "where", "city_name", "=", "value" ], "question": "pessoas em pedregulho", "question_toks": [ "pessoas", "em", "pedregulho" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 8, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 7, false ], null ], "\"boulder\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT population FROM city WHERE city_name = \"boulder\";", "query_toks": [ "SELECT", "population", "FROM", "city", "WHERE", "city_name", "=", "``", "boulder", "''", ";" ], "query_toks_no_value": [ "select", "population", "from", "city", "where", "city_name", "=", "value" ], "question": "quantas pessoas em pedregulho", "question_toks": [ "quantas", "pessoas", "em", "pedregulho" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 8, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 7, false ], null ], "\"boulder\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT population FROM city WHERE city_name = \"boulder\";", "query_toks": [ "SELECT", "population", "FROM", "city", "WHERE", "city_name", "=", "``", "boulder", "''", ";" ], "query_toks_no_value": [ "select", "population", "from", "city", "where", "city_name", "=", "value" ], "question": "quantos habitantes Boulder tem", "question_toks": [ "quantos", "habitantes", "Boulder", "tem" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 8, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 7, false ], null ], "\"boulder\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT population FROM city WHERE city_name = \"boulder\";", "query_toks": [ "SELECT", "population", "FROM", "city", "WHERE", "city_name", "=", "``", "boulder", "''", ";" ], "query_toks_no_value": [ "select", "population", "from", "city", "where", "city_name", "=", "value" ], "question": "número de cidadãos em pedregulho", "question_toks": [ "número", "de", "cidadãos", "em", "pedregulho" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 8, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 7, false ], null ], "\"boulder\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT population FROM city WHERE city_name = \"boulder\";", "query_toks": [ "SELECT", "population", "FROM", "city", "WHERE", "city_name", "=", "``", "boulder", "''", ";" ], "query_toks_no_value": [ "select", "population", "from", "city", "where", "city_name", "=", "value" ], "question": "quantos cidadãos em pedregulho", "question_toks": [ "quantos", "cidadãos", "em", "pedregulho" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 8, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 7, false ], null ], "\"boulder\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT city_name FROM city WHERE population = ( SELECT MIN ( population ) FROM city WHERE state_name = \"alaska\" ) AND state_name = \"alaska\";", "query_toks": [ "SELECT", "city_name", "FROM", "city", "WHERE", "population", "=", "(", "SELECT", "MIN", "(", "population", ")", "FROM", "city", "WHERE", "state_name", "=", "``", "alaska", "''", ")", "AND", "state_name", "=", "``", "alaska", "''", ";" ], "query_toks_no_value": [ "select", "city_name", "from", "city", "where", "population", "=", "(", "select", "min", "(", "population", ")", "from", "city", "where", "state_name", "=", "value", ")", "and", "state_name", "=", "value" ], "question": "Qual é a menor cidade do Alasca", "question_toks": [ "Qual", "é", "a", "menor", "cidade", "do", "Alasca" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 7, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 8, false ], null ], { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 2, [ 0, [ 0, 8, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"alaska\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ], "and", [ false, 2, [ 0, [ 0, 10, false ], null ], "\"alaska\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT traverse FROM river WHERE LENGTH = ( SELECT MAX ( LENGTH ) FROM river );", "query_toks": [ "SELECT", "traverse", "FROM", "river", "WHERE", "LENGTH", "=", "(", "SELECT", "MAX", "(", "LENGTH", ")", "FROM", "river", ")", ";" ], "query_toks_no_value": [ "select", "traverse", "from", "river", "where", "length", "=", "(", "select", "max", "(", "length", ")", "from", "river", ")" ], "question": "quais estados ficam no maior rio dos estados unidos", "question_toks": [ "quais", "estados", "ficam", "no", "maior", "rio", "dos", "estados", "unidos" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 29, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 27, false ], null ], { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 27, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT traverse FROM river WHERE LENGTH = ( SELECT MAX ( LENGTH ) FROM river );", "query_toks": [ "SELECT", "traverse", "FROM", "river", "WHERE", "LENGTH", "=", "(", "SELECT", "MAX", "(", "LENGTH", ")", "FROM", "river", ")", ";" ], "query_toks_no_value": [ "select", "traverse", "from", "river", "where", "length", "=", "(", "select", "max", "(", "length", ")", "from", "river", ")" ], "question": "em quais estados o rio mais longo corre", "question_toks": [ "em", "quais", "estados", "o", "rio", "mais", "longo", "corre" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 29, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 27, false ], null ], { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 27, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT traverse FROM river WHERE LENGTH = ( SELECT MAX ( LENGTH ) FROM river );", "query_toks": [ "SELECT", "traverse", "FROM", "river", "WHERE", "LENGTH", "=", "(", "SELECT", "MAX", "(", "LENGTH", ")", "FROM", "river", ")", ";" ], "query_toks_no_value": [ "select", "traverse", "from", "river", "where", "length", "=", "(", "select", "max", "(", "length", ")", "from", "river", ")" ], "question": "qual estado tem o rio mais longo", "question_toks": [ "qual", "estado", "tem", "o", "rio", "mais", "longo" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 29, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 27, false ], null ], { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 27, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT traverse FROM river WHERE LENGTH = ( SELECT MAX ( LENGTH ) FROM river );", "query_toks": [ "SELECT", "traverse", "FROM", "river", "WHERE", "LENGTH", "=", "(", "SELECT", "MAX", "(", "LENGTH", ")", "FROM", "river", ")", ";" ], "query_toks_no_value": [ "select", "traverse", "from", "river", "where", "length", "=", "(", "select", "max", "(", "length", ")", "from", "river", ")" ], "question": "quais são os estados através dos quais o rio mais longo corre", "question_toks": [ "quais", "são", "os", "estados", "através", "dos", "quais", "o", "rio", "mais", "longo", "corre" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 29, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 27, false ], null ], { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 27, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT traverse FROM river WHERE LENGTH = ( SELECT MAX ( LENGTH ) FROM river );", "query_toks": [ "SELECT", "traverse", "FROM", "river", "WHERE", "LENGTH", "=", "(", "SELECT", "MAX", "(", "LENGTH", ")", "FROM", "river", ")", ";" ], "query_toks_no_value": [ "select", "traverse", "from", "river", "where", "length", "=", "(", "select", "max", "(", "length", ")", "from", "river", ")" ], "question": "em quais estados o rio mais longo atravessa", "question_toks": [ "em", "quais", "estados", "o", "rio", "mais", "longo", "atravessa" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 29, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 27, false ], null ], { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 27, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT density FROM state WHERE area = ( SELECT MIN ( area ) FROM state );", "query_toks": [ "SELECT", "density", "FROM", "state", "WHERE", "area", "=", "(", "SELECT", "MIN", "(", "area", ")", "FROM", "state", ")", ";" ], "query_toks_no_value": [ "select", "density", "from", "state", "where", "area", "=", "(", "select", "min", "(", "area", ")", "from", "state", ")" ], "question": "qual é a densidade populacional do estado com a menor área", "question_toks": [ "qual", "é", "a", "densidade", "populacional", "do", "estado", "com", "a", "menor", "área" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 6, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 2, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT density FROM state WHERE area = ( SELECT MIN ( area ) FROM state );", "query_toks": [ "SELECT", "density", "FROM", "state", "WHERE", "area", "=", "(", "SELECT", "MIN", "(", "area", ")", "FROM", "state", ")", ";" ], "query_toks_no_value": [ "select", "density", "from", "state", "where", "area", "=", "(", "select", "min", "(", "area", ")", "from", "state", ")" ], "question": "qual é a densidade populacional do menor estado", "question_toks": [ "qual", "é", "a", "densidade", "populacional", "do", "menor", "estado" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 6, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 2, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT state_name FROM highlow WHERE highest_elevation > ( SELECT highest_elevation FROM highlow WHERE state_name = \"colorado\" );", "query_toks": [ "SELECT", "state_name", "FROM", "highlow", "WHERE", "highest_elevation", ">", "(", "SELECT", "highest_elevation", "FROM", "highlow", "WHERE", "state_name", "=", "``", "colorado", "''", ")", ";" ], "query_toks_no_value": [ "select", "state_name", "from", "highlow", "where", "highest_elevation", ">", "(", "select", "highest_elevation", "from", "highlow", "where", "state_name", "=", "value", ")" ], "question": "quais estados têm pontos mais altos que o ponto mais alto do Colorado", "question_toks": [ "quais", "estados", "têm", "pontos", "mais", "altos", "que", "o", "ponto", "mais", "alto", "do", "Colorado" ], "sql": { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 13, false ], null ] ] ] ], "where": [ [ false, 3, [ 0, [ 0, 14, false ], null ], { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 14, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 13, false ], null ], "\"colorado\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT state_name FROM highlow WHERE highest_elevation > ( SELECT highest_elevation FROM highlow WHERE state_name = \"colorado\" );", "query_toks": [ "SELECT", "state_name", "FROM", "highlow", "WHERE", "highest_elevation", ">", "(", "SELECT", "highest_elevation", "FROM", "highlow", "WHERE", "state_name", "=", "``", "colorado", "''", ")", ";" ], "query_toks_no_value": [ "select", "state_name", "from", "highlow", "where", "highest_elevation", ">", "(", "select", "highest_elevation", "from", "highlow", "where", "state_name", "=", "value", ")" ], "question": "quais estados têm pontos que são mais altos do que o ponto mais alto do Colorado", "question_toks": [ "quais", "estados", "têm", "pontos", "que", "são", "mais", "altos", "do", "que", "o", "ponto", "mais", "alto", "do", "Colorado" ], "sql": { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 13, false ], null ] ] ] ], "where": [ [ false, 3, [ 0, [ 0, 14, false ], null ], { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 14, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 13, false ], null ], "\"colorado\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT state_name FROM highlow WHERE highest_elevation > ( SELECT highest_elevation FROM highlow WHERE state_name = \"colorado\" );", "query_toks": [ "SELECT", "state_name", "FROM", "highlow", "WHERE", "highest_elevation", ">", "(", "SELECT", "highest_elevation", "FROM", "highlow", "WHERE", "state_name", "=", "``", "colorado", "''", ")", ";" ], "query_toks_no_value": [ "select", "state_name", "from", "highlow", "where", "highest_elevation", ">", "(", "select", "highest_elevation", "from", "highlow", "where", "state_name", "=", "value", ")" ], "question": "o que afirma o ponto alto é mais alto do que o Colorado", "question_toks": [ "o", "que", "afirma", "o", "ponto", "alto", "é", "mais", "alto", "do", "que", "o", "Colorado" ], "sql": { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 13, false ], null ] ] ] ], "where": [ [ false, 3, [ 0, [ 0, 14, false ], null ], { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 14, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 13, false ], null ], "\"colorado\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT highest_elevation FROM highlow WHERE state_name = \"delaware\";", "query_toks": [ "SELECT", "highest_elevation", "FROM", "highlow", "WHERE", "state_name", "=", "``", "delaware", "''", ";" ], "query_toks_no_value": [ "select", "highest_elevation", "from", "highlow", "where", "state_name", "=", "value" ], "question": "qual é a maior elevação em delaware", "question_toks": [ "qual", "é", "a", "maior", "elevação", "em", "delaware" ], "sql": { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 14, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 13, false ], null ], "\"delaware\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT highest_elevation FROM highlow WHERE state_name = \"delaware\";", "query_toks": [ "SELECT", "highest_elevation", "FROM", "highlow", "WHERE", "state_name", "=", "``", "delaware", "''", ";" ], "query_toks_no_value": [ "select", "highest_elevation", "from", "highlow", "where", "state_name", "=", "value" ], "question": "quão alto é o ponto mais alto de delaware", "question_toks": [ "quão", "alto", "é", "o", "ponto", "mais", "alto", "de", "delaware" ], "sql": { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 14, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 13, false ], null ], "\"delaware\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT highest_elevation FROM highlow WHERE state_name = \"delaware\";", "query_toks": [ "SELECT", "highest_elevation", "FROM", "highlow", "WHERE", "state_name", "=", "``", "delaware", "''", ";" ], "query_toks_no_value": [ "select", "highest_elevation", "from", "highlow", "where", "state_name", "=", "value" ], "question": "quão alto é o ponto mais alto em delaware", "question_toks": [ "quão", "alto", "é", "o", "ponto", "mais", "alto", "em", "delaware" ], "sql": { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 14, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 13, false ], null ], "\"delaware\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT highest_elevation FROM highlow WHERE state_name = \"delaware\";", "query_toks": [ "SELECT", "highest_elevation", "FROM", "highlow", "WHERE", "state_name", "=", "``", "delaware", "''", ";" ], "query_toks_no_value": [ "select", "highest_elevation", "from", "highlow", "where", "state_name", "=", "value" ], "question": "qual é o ponto mais alto de delaware em metros", "question_toks": [ "qual", "é", "o", "ponto", "mais", "alto", "de", "delaware", "em", "metros" ], "sql": { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 14, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 13, false ], null ], "\"delaware\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT highest_elevation FROM highlow WHERE state_name = \"delaware\";", "query_toks": [ "SELECT", "highest_elevation", "FROM", "highlow", "WHERE", "state_name", "=", "``", "delaware", "''", ";" ], "query_toks_no_value": [ "select", "highest_elevation", "from", "highlow", "where", "state_name", "=", "value" ], "question": "quão alto é o ponto mais alto em delaware", "question_toks": [ "quão", "alto", "é", "o", "ponto", "mais", "alto", "em", "delaware" ], "sql": { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 14, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 13, false ], null ], "\"delaware\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT river_name FROM river WHERE LENGTH = ( SELECT MAX ( LENGTH ) FROM river );", "query_toks": [ "SELECT", "river_name", "FROM", "river", "WHERE", "LENGTH", "=", "(", "SELECT", "MAX", "(", "LENGTH", ")", "FROM", "river", ")", ";" ], "query_toks_no_value": [ "select", "river_name", "from", "river", "where", "length", "=", "(", "select", "max", "(", "length", ")", "from", "river", ")" ], "question": "dê-me o rio mais longo que passa por nós", "question_toks": [ "dê-me", "o", "rio", "mais", "longo", "que", "passa", "por", "nós" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 26, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 27, false ], null ], { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 27, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT river_name FROM river WHERE LENGTH = ( SELECT MAX ( LENGTH ) FROM river );", "query_toks": [ "SELECT", "river_name", "FROM", "river", "WHERE", "LENGTH", "=", "(", "SELECT", "MAX", "(", "LENGTH", ")", "FROM", "river", ")", ";" ], "query_toks_no_value": [ "select", "river_name", "from", "river", "where", "length", "=", "(", "select", "max", "(", "length", ")", "from", "river", ")" ], "question": "qual é o maior rio dos EUA", "question_toks": [ "qual", "é", "o", "maior", "rio", "dos", "EUA" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 26, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 27, false ], null ], { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 27, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT river_name FROM river WHERE LENGTH = ( SELECT MAX ( LENGTH ) FROM river );", "query_toks": [ "SELECT", "river_name", "FROM", "river", "WHERE", "LENGTH", "=", "(", "SELECT", "MAX", "(", "LENGTH", ")", "FROM", "river", ")", ";" ], "query_toks_no_value": [ "select", "river_name", "from", "river", "where", "length", "=", "(", "select", "max", "(", "length", ")", "from", "river", ")" ], "question": "qual é o maior rio da américa", "question_toks": [ "qual", "é", "o", "maior", "rio", "da", "américa" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 26, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 27, false ], null ], { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 27, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT river_name FROM river WHERE LENGTH = ( SELECT MAX ( LENGTH ) FROM river );", "query_toks": [ "SELECT", "river_name", "FROM", "river", "WHERE", "LENGTH", "=", "(", "SELECT", "MAX", "(", "LENGTH", ")", "FROM", "river", ")", ";" ], "query_toks_no_value": [ "select", "river_name", "from", "river", "where", "length", "=", "(", "select", "max", "(", "length", ")", "from", "river", ")" ], "question": "diga o nome do rio mais longo em nós", "question_toks": [ "diga", "o", "nome", "do", "rio", "mais", "longo", "em", "nós" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 26, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 27, false ], null ], { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 27, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT river_name FROM river WHERE LENGTH = ( SELECT MAX ( LENGTH ) FROM river );", "query_toks": [ "SELECT", "river_name", "FROM", "river", "WHERE", "LENGTH", "=", "(", "SELECT", "MAX", "(", "LENGTH", ")", "FROM", "river", ")", ";" ], "query_toks_no_value": [ "select", "river_name", "from", "river", "where", "length", "=", "(", "select", "max", "(", "length", ")", "from", "river", ")" ], "question": "qual rio é o mais longo dos estados unidos", "question_toks": [ "qual", "rio", "é", "o", "mais", "longo", "dos", "estados", "unidos" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 26, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 27, false ], null ], { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 27, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT river_name FROM river WHERE LENGTH = ( SELECT MAX ( LENGTH ) FROM river );", "query_toks": [ "SELECT", "river_name", "FROM", "river", "WHERE", "LENGTH", "=", "(", "SELECT", "MAX", "(", "LENGTH", ")", "FROM", "river", ")", ";" ], "query_toks_no_value": [ "select", "river_name", "from", "river", "where", "length", "=", "(", "select", "max", "(", "length", ")", "from", "river", ")" ], "question": "qual é o maior rio nos Estados Unidos", "question_toks": [ "qual", "é", "o", "maior", "rio", "nos", "Estados", "Unidos" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 26, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 27, false ], null ], { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 27, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT river_name FROM river WHERE LENGTH = ( SELECT MAX ( LENGTH ) FROM river );", "query_toks": [ "SELECT", "river_name", "FROM", "river", "WHERE", "LENGTH", "=", "(", "SELECT", "MAX", "(", "LENGTH", ")", "FROM", "river", ")", ";" ], "query_toks_no_value": [ "select", "river_name", "from", "river", "where", "length", "=", "(", "select", "max", "(", "length", ")", "from", "river", ")" ], "question": "qual é o rio mais longo", "question_toks": [ "qual", "é", "o", "rio", "mais", "longo" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 26, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 27, false ], null ], { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 27, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT river_name FROM river WHERE LENGTH = ( SELECT MAX ( LENGTH ) FROM river );", "query_toks": [ "SELECT", "river_name", "FROM", "river", "WHERE", "LENGTH", "=", "(", "SELECT", "MAX", "(", "LENGTH", ")", "FROM", "river", ")", ";" ], "query_toks_no_value": [ "select", "river_name", "from", "river", "where", "length", "=", "(", "select", "max", "(", "length", ")", "from", "river", ")" ], "question": "qual é o maior rio dos estados unidos", "question_toks": [ "qual", "é", "o", "maior", "rio", "dos", "estados", "unidos" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 26, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 27, false ], null ], { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 27, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT state_name FROM city WHERE population = ( SELECT MAX ( population ) FROM city );", "query_toks": [ "SELECT", "state_name", "FROM", "city", "WHERE", "population", "=", "(", "SELECT", "MAX", "(", "population", ")", "FROM", "city", ")", ";" ], "query_toks_no_value": [ "select", "state_name", "from", "city", "where", "population", "=", "(", "select", "max", "(", "population", ")", "from", "city", ")" ], "question": "qual estado tem a cidade com maior população", "question_toks": [ "qual", "estado", "tem", "a", "cidade", "com", "maior", "população" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 10, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 8, false ], null ], { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 8, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT state_name FROM city WHERE population = ( SELECT MAX ( population ) FROM city );", "query_toks": [ "SELECT", "state_name", "FROM", "city", "WHERE", "population", "=", "(", "SELECT", "MAX", "(", "population", ")", "FROM", "city", ")", ";" ], "query_toks_no_value": [ "select", "state_name", "from", "city", "where", "population", "=", "(", "select", "max", "(", "population", ")", "from", "city", ")" ], "question": "qual estado tem a maior cidade", "question_toks": [ "qual", "estado", "tem", "a", "maior", "cidade" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 10, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 8, false ], null ], { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 8, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT state_name FROM city WHERE population = ( SELECT MAX ( population ) FROM city );", "query_toks": [ "SELECT", "state_name", "FROM", "city", "WHERE", "population", "=", "(", "SELECT", "MAX", "(", "population", ")", "FROM", "city", ")", ";" ], "query_toks_no_value": [ "select", "state_name", "from", "city", "where", "population", "=", "(", "select", "max", "(", "population", ")", "from", "city", ")" ], "question": "qual estado tem a maior cidade", "question_toks": [ "qual", "estado", "tem", "a", "maior", "cidade" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 10, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 8, false ], null ], { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 8, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT state_name FROM city WHERE population = ( SELECT MAX ( population ) FROM city );", "query_toks": [ "SELECT", "state_name", "FROM", "city", "WHERE", "population", "=", "(", "SELECT", "MAX", "(", "population", ")", "FROM", "city", ")", ";" ], "query_toks_no_value": [ "select", "state_name", "from", "city", "where", "population", "=", "(", "select", "max", "(", "population", ")", "from", "city", ")" ], "question": "qual estado tem a cidade com mais população", "question_toks": [ "qual", "estado", "tem", "a", "cidade", "com", "mais", "população" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 10, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 8, false ], null ], { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 8, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT city_name FROM city WHERE population = ( SELECT MIN ( population ) FROM city WHERE state_name IN ( SELECT state_name FROM state WHERE area = ( SELECT MAX ( area ) FROM state ) ) ) AND state_name IN ( SELECT state_name FROM state WHERE area = ( SELECT MAX ( area ) FROM state ) );", "query_toks": [ "SELECT", "city_name", "FROM", "city", "WHERE", "population", "=", "(", "SELECT", "MIN", "(", "population", ")", "FROM", "city", "WHERE", "state_name", "IN", "(", "SELECT", "state_name", "FROM", "state", "WHERE", "area", "=", "(", "SELECT", "MAX", "(", "area", ")", "FROM", "state", ")", ")", ")", "AND", "state_name", "IN", "(", "SELECT", "state_name", "FROM", "state", "WHERE", "area", "=", "(", "SELECT", "MAX", "(", "area", ")", "FROM", "state", ")", ")", ";" ], "query_toks_no_value": [ "select", "city_name", "from", "city", "where", "population", "=", "(", "select", "min", "(", "population", ")", "from", "city", "where", "state_name", "in", "(", "select", "state_name", "from", "state", "where", "area", "=", "(", "select", "max", "(", "area", ")", "from", "state", ")", ")", ")", "and", "state_name", "in", "(", "select", "state_name", "from", "state", "where", "area", "=", "(", "select", "max", "(", "area", ")", "from", "state", ")", ")" ], "question": "qual é a menor cidade do maior estado", "question_toks": [ "qual", "é", "a", "menor", "cidade", "do", "maior", "estado" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 7, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 8, false ], null ], { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 2, [ 0, [ 0, 8, false ], null ] ] ] ], "where": [ [ false, 8, [ 0, [ 0, 10, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 1, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ], "and", [ false, 8, [ 0, [ 0, 10, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 1, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT state_name FROM state WHERE area = ( SELECT MAX ( area ) FROM state );", "query_toks": [ "SELECT", "state_name", "FROM", "state", "WHERE", "area", "=", "(", "SELECT", "MAX", "(", "area", ")", "FROM", "state", ")", ";" ], "query_toks_no_value": [ "select", "state_name", "from", "state", "where", "area", "=", "(", "select", "max", "(", "area", ")", "from", "state", ")" ], "question": "qual estado é o maior", "question_toks": [ "qual", "estado", "é", "o", "maior" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 1, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT state_name FROM state WHERE area = ( SELECT MAX ( area ) FROM state );", "query_toks": [ "SELECT", "state_name", "FROM", "state", "WHERE", "area", "=", "(", "SELECT", "MAX", "(", "area", ")", "FROM", "state", ")", ";" ], "query_toks_no_value": [ "select", "state_name", "from", "state", "where", "area", "=", "(", "select", "max", "(", "area", ")", "from", "state", ")" ], "question": "qual é o estado com a maior área", "question_toks": [ "qual", "é", "o", "estado", "com", "a", "maior", "área" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 1, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT state_name FROM state WHERE area = ( SELECT MAX ( area ) FROM state );", "query_toks": [ "SELECT", "state_name", "FROM", "state", "WHERE", "area", "=", "(", "SELECT", "MAX", "(", "area", ")", "FROM", "state", ")", ";" ], "query_toks_no_value": [ "select", "state_name", "from", "state", "where", "area", "=", "(", "select", "max", "(", "area", ")", "from", "state", ")" ], "question": "qual estado tem a maior área", "question_toks": [ "qual", "estado", "tem", "a", "maior", "área" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 1, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT state_name FROM state WHERE area = ( SELECT MAX ( area ) FROM state );", "query_toks": [ "SELECT", "state_name", "FROM", "state", "WHERE", "area", "=", "(", "SELECT", "MAX", "(", "area", ")", "FROM", "state", ")", ";" ], "query_toks_no_value": [ "select", "state_name", "from", "state", "where", "area", "=", "(", "select", "max", "(", "area", ")", "from", "state", ")" ], "question": "qual é o maior estado nos nós continentais", "question_toks": [ "qual", "é", "o", "maior", "estado", "nos", "nós", "continentais" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 1, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT state_name FROM state WHERE area = ( SELECT MAX ( area ) FROM state );", "query_toks": [ "SELECT", "state_name", "FROM", "state", "WHERE", "area", "=", "(", "SELECT", "MAX", "(", "area", ")", "FROM", "state", ")", ";" ], "query_toks_no_value": [ "select", "state_name", "from", "state", "where", "area", "=", "(", "select", "max", "(", "area", ")", "from", "state", ")" ], "question": "estado o estado com a maior área", "question_toks": [ "estado", "o", "estado", "com", "a", "maior", "área" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 1, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT state_name FROM state WHERE area = ( SELECT MAX ( area ) FROM state );", "query_toks": [ "SELECT", "state_name", "FROM", "state", "WHERE", "area", "=", "(", "SELECT", "MAX", "(", "area", ")", "FROM", "state", ")", ";" ], "query_toks_no_value": [ "select", "state_name", "from", "state", "where", "area", "=", "(", "select", "max", "(", "area", ")", "from", "state", ")" ], "question": "qual é o maior estado dos eua", "question_toks": [ "qual", "é", "o", "maior", "estado", "dos", "eua" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 1, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT state_name FROM state WHERE area = ( SELECT MAX ( area ) FROM state );", "query_toks": [ "SELECT", "state_name", "FROM", "state", "WHERE", "area", "=", "(", "SELECT", "MAX", "(", "area", ")", "FROM", "state", ")", ";" ], "query_toks_no_value": [ "select", "state_name", "from", "state", "where", "area", "=", "(", "select", "max", "(", "area", ")", "from", "state", ")" ], "question": "qual é o maior estado", "question_toks": [ "qual", "é", "o", "maior", "estado" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 1, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT state_name FROM state WHERE area = ( SELECT MAX ( area ) FROM state );", "query_toks": [ "SELECT", "state_name", "FROM", "state", "WHERE", "area", "=", "(", "SELECT", "MAX", "(", "area", ")", "FROM", "state", ")", ";" ], "query_toks_no_value": [ "select", "state_name", "from", "state", "where", "area", "=", "(", "select", "max", "(", "area", ")", "from", "state", ")" ], "question": "qual é o maior estado dos EUA", "question_toks": [ "qual", "é", "o", "maior", "estado", "dos", "EUA" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 1, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT state_name FROM state WHERE area = ( SELECT MAX ( area ) FROM state );", "query_toks": [ "SELECT", "state_name", "FROM", "state", "WHERE", "area", "=", "(", "SELECT", "MAX", "(", "area", ")", "FROM", "state", ")", ";" ], "query_toks_no_value": [ "select", "state_name", "from", "state", "where", "area", "=", "(", "select", "max", "(", "area", ")", "from", "state", ")" ], "question": "me dê o maior estado", "question_toks": [ "me", "dê", "o", "maior", "estado" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 1, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT state_name FROM state WHERE area = ( SELECT MAX ( area ) FROM state );", "query_toks": [ "SELECT", "state_name", "FROM", "state", "WHERE", "area", "=", "(", "SELECT", "MAX", "(", "area", ")", "FROM", "state", ")", ";" ], "query_toks_no_value": [ "select", "state_name", "from", "state", "where", "area", "=", "(", "select", "max", "(", "area", ")", "from", "state", ")" ], "question": "qual é o maior estado nos EUA", "question_toks": [ "qual", "é", "o", "maior", "estado", "nos", "EUA" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 1, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT state_name FROM state WHERE area = ( SELECT MAX ( area ) FROM state );", "query_toks": [ "SELECT", "state_name", "FROM", "state", "WHERE", "area", "=", "(", "SELECT", "MAX", "(", "area", ")", "FROM", "state", ")", ";" ], "query_toks_no_value": [ "select", "state_name", "from", "state", "where", "area", "=", "(", "select", "max", "(", "area", ")", "from", "state", ")" ], "question": "qual é o maior estado", "question_toks": [ "qual", "é", "o", "maior", "estado" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 1, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT highest_point FROM highlow WHERE state_name IN ( SELECT border FROM border_info WHERE state_name = \"mississippi\" );", "query_toks": [ "SELECT", "highest_point", "FROM", "highlow", "WHERE", "state_name", "IN", "(", "SELECT", "border", "FROM", "border_info", "WHERE", "state_name", "=", "``", "mississippi", "''", ")", ";" ], "query_toks_no_value": [ "select", "highest_point", "from", "highlow", "where", "state_name", "in", "(", "select", "border", "from", "border_info", "where", "state_name", "=", "value", ")" ], "question": "quais são os pontos mais altos dos estados ao redor do Mississippi", "question_toks": [ "quais", "são", "os", "pontos", "mais", "altos", "dos", "estados", "ao", "redor", "do", "Mississippi" ], "sql": { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 16, false ], null ] ] ] ], "where": [ [ false, 8, [ 0, [ 0, 13, false ], null ], { "from": { "table_units": [ [ "table_unit", 2 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 12, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 11, false ], null ], "\"mississippi\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT highest_point FROM highlow WHERE state_name IN ( SELECT border FROM border_info WHERE state_name = \"mississippi\" );", "query_toks": [ "SELECT", "highest_point", "FROM", "highlow", "WHERE", "state_name", "IN", "(", "SELECT", "border", "FROM", "border_info", "WHERE", "state_name", "=", "``", "mississippi", "''", ")", ";" ], "query_toks_no_value": [ "select", "highest_point", "from", "highlow", "where", "state_name", "in", "(", "select", "border", "from", "border_info", "where", "state_name", "=", "value", ")" ], "question": "quais são os pontos altos dos estados ao redor do Mississippi", "question_toks": [ "quais", "são", "os", "pontos", "altos", "dos", "estados", "ao", "redor", "do", "Mississippi" ], "sql": { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 16, false ], null ] ] ] ], "where": [ [ false, 8, [ 0, [ 0, 13, false ], null ], { "from": { "table_units": [ [ "table_unit", 2 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 12, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 11, false ], null ], "\"mississippi\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT highest_point FROM highlow WHERE state_name IN ( SELECT border FROM border_info WHERE state_name = \"colorado\" ) ORDER BY highest_elevation DESC LIMIT 1;", "query_toks": [ "SELECT", "highest_point", "FROM", "highlow", "WHERE", "state_name", "IN", "(", "SELECT", "border", "FROM", "border_info", "WHERE", "state_name", "=", "``", "colorado", "''", ")", "ORDER", "BY", "highest_elevation", "DESC", "LIMIT", "1", ";" ], "query_toks_no_value": [ "select", "highest_point", "from", "highlow", "where", "state_name", "in", "(", "select", "border", "from", "border_info", "where", "state_name", "=", "value", ")", "order", "by", "highest_elevation", "desc", "limit", "value" ], "question": "qual é o ponto mais alto dos estados da fronteira com o Colorado", "question_toks": [ "qual", "é", "o", "ponto", "mais", "alto", "dos", "estados", "da", "fronteira", "com", "o", "Colorado" ], "sql": { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 16, false ], null ] ] ] ], "where": [ [ false, 8, [ 0, [ 0, 13, false ], null ], { "from": { "table_units": [ [ "table_unit", 2 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 12, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 11, false ], null ], "\"colorado\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [ "desc", [ [ 0, [ 0, 14, false ], null ] ] ], "limit": 1, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT highest_point FROM highlow WHERE state_name IN ( SELECT border FROM border_info WHERE state_name = \"colorado\" ) ORDER BY highest_elevation DESC LIMIT 1;", "query_toks": [ "SELECT", "highest_point", "FROM", "highlow", "WHERE", "state_name", "IN", "(", "SELECT", "border", "FROM", "border_info", "WHERE", "state_name", "=", "``", "colorado", "''", ")", "ORDER", "BY", "highest_elevation", "DESC", "LIMIT", "1", ";" ], "query_toks_no_value": [ "select", "highest_point", "from", "highlow", "where", "state_name", "in", "(", "select", "border", "from", "border_info", "where", "state_name", "=", "value", ")", "order", "by", "highest_elevation", "desc", "limit", "value" ], "question": "qual é o ponto mais alto dos estados que fazem fronteira com o Colorado", "question_toks": [ "qual", "é", "o", "ponto", "mais", "alto", "dos", "estados", "que", "fazem", "fronteira", "com", "o", "Colorado" ], "sql": { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 16, false ], null ] ] ] ], "where": [ [ false, 8, [ 0, [ 0, 13, false ], null ], { "from": { "table_units": [ [ "table_unit", 2 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 12, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 11, false ], null ], "\"colorado\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [ "desc", [ [ 0, [ 0, 14, false ], null ] ] ], "limit": 1, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT state_name FROM state WHERE density = ( SELECT MIN ( density ) FROM state );", "query_toks": [ "SELECT", "state_name", "FROM", "state", "WHERE", "density", "=", "(", "SELECT", "MIN", "(", "density", ")", "FROM", "state", ")", ";" ], "query_toks_no_value": [ "select", "state_name", "from", "state", "where", "density", "=", "(", "select", "min", "(", "density", ")", "from", "state", ")" ], "question": "qual é o estado com a menor densidade populacional", "question_toks": [ "qual", "é", "o", "estado", "com", "a", "menor", "densidade", "populacional" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 1, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 6, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 2, [ 0, [ 0, 6, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT state_name FROM state WHERE density = ( SELECT MIN ( density ) FROM state );", "query_toks": [ "SELECT", "state_name", "FROM", "state", "WHERE", "density", "=", "(", "SELECT", "MIN", "(", "density", ")", "FROM", "state", ")", ";" ], "query_toks_no_value": [ "select", "state_name", "from", "state", "where", "density", "=", "(", "select", "min", "(", "density", ")", "from", "state", ")" ], "question": "qual estado tem a menor densidade populacional", "question_toks": [ "qual", "estado", "tem", "a", "menor", "densidade", "populacional" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 1, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 6, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 2, [ 0, [ 0, 6, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT state_name FROM state WHERE density = ( SELECT MIN ( density ) FROM state );", "query_toks": [ "SELECT", "state_name", "FROM", "state", "WHERE", "density", "=", "(", "SELECT", "MIN", "(", "density", ")", "FROM", "state", ")", ";" ], "query_toks_no_value": [ "select", "state_name", "from", "state", "where", "density", "=", "(", "select", "min", "(", "density", ")", "from", "state", ")" ], "question": "qual estado tem a menor densidade populacional", "question_toks": [ "qual", "estado", "tem", "a", "menor", "densidade", "populacional" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 1, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 6, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 2, [ 0, [ 0, 6, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT state_name FROM state WHERE density = ( SELECT MIN ( density ) FROM state );", "query_toks": [ "SELECT", "state_name", "FROM", "state", "WHERE", "density", "=", "(", "SELECT", "MIN", "(", "density", ")", "FROM", "state", ")", ";" ], "query_toks_no_value": [ "select", "state_name", "from", "state", "where", "density", "=", "(", "select", "min", "(", "density", ")", "from", "state", ")" ], "question": "qual estado tem a menor densidade populacional", "question_toks": [ "qual", "estado", "tem", "a", "menor", "densidade", "populacional" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 1, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 6, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 2, [ 0, [ 0, 6, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT state_name FROM state WHERE density = ( SELECT MIN ( density ) FROM state );", "query_toks": [ "SELECT", "state_name", "FROM", "state", "WHERE", "density", "=", "(", "SELECT", "MIN", "(", "density", ")", "FROM", "state", ")", ";" ], "query_toks_no_value": [ "select", "state_name", "from", "state", "where", "density", "=", "(", "select", "min", "(", "density", ")", "from", "state", ")" ], "question": "qual estado tem a densidade populacional mais esparsa", "question_toks": [ "qual", "estado", "tem", "a", "densidade", "populacional", "mais", "esparsa" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 1, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 6, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 2, [ 0, [ 0, 6, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT state_name FROM state WHERE density = ( SELECT MIN ( density ) FROM state );", "query_toks": [ "SELECT", "state_name", "FROM", "state", "WHERE", "density", "=", "(", "SELECT", "MIN", "(", "density", ")", "FROM", "state", ")", ";" ], "query_toks_no_value": [ "select", "state_name", "from", "state", "where", "density", "=", "(", "select", "min", "(", "density", ")", "from", "state", ")" ], "question": "qual estado tem a densidade populacional mais esparsa", "question_toks": [ "qual", "estado", "tem", "a", "densidade", "populacional", "mais", "esparsa" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 1, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 6, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 2, [ 0, [ 0, 6, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT state_name FROM state WHERE density = ( SELECT MIN ( density ) FROM state );", "query_toks": [ "SELECT", "state_name", "FROM", "state", "WHERE", "density", "=", "(", "SELECT", "MIN", "(", "density", ")", "FROM", "state", ")", ";" ], "query_toks_no_value": [ "select", "state_name", "from", "state", "where", "density", "=", "(", "select", "min", "(", "density", ")", "from", "state", ")" ], "question": "qual estado tem a menor densidade populacional", "question_toks": [ "qual", "estado", "tem", "a", "menor", "densidade", "populacional" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 1, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 6, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 2, [ 0, [ 0, 6, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT state_name FROM state WHERE density = ( SELECT MIN ( density ) FROM state );", "query_toks": [ "SELECT", "state_name", "FROM", "state", "WHERE", "density", "=", "(", "SELECT", "MIN", "(", "density", ")", "FROM", "state", ")", ";" ], "query_toks_no_value": [ "select", "state_name", "from", "state", "where", "density", "=", "(", "select", "min", "(", "density", ")", "from", "state", ")" ], "question": "qual estado tem a menor densidade populacional", "question_toks": [ "qual", "estado", "tem", "a", "menor", "densidade", "populacional" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 1, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 6, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 2, [ 0, [ 0, 6, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT state_name FROM state WHERE density = ( SELECT MIN ( density ) FROM state );", "query_toks": [ "SELECT", "state_name", "FROM", "state", "WHERE", "density", "=", "(", "SELECT", "MIN", "(", "density", ")", "FROM", "state", ")", ";" ], "query_toks_no_value": [ "select", "state_name", "from", "state", "where", "density", "=", "(", "select", "min", "(", "density", ")", "from", "state", ")" ], "question": "qual estado tem a menor densidade populacional", "question_toks": [ "qual", "estado", "tem", "a", "menor", "densidade", "populacional" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 1, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 6, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 2, [ 0, [ 0, 6, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT highest_point FROM highlow WHERE state_name = \"texas\";", "query_toks": [ "SELECT", "highest_point", "FROM", "highlow", "WHERE", "state_name", "=", "``", "texas", "''", ";" ], "query_toks_no_value": [ "select", "highest_point", "from", "highlow", "where", "state_name", "=", "value" ], "question": "onde é o ponto mais alto do texas", "question_toks": [ "onde", "é", "o", "ponto", "mais", "alto", "do", "texas" ], "sql": { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 16, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 13, false ], null ], "\"texas\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT highest_point FROM highlow WHERE state_name = \"texas\";", "query_toks": [ "SELECT", "highest_point", "FROM", "highlow", "WHERE", "state_name", "=", "``", "texas", "''", ";" ], "query_toks_no_value": [ "select", "highest_point", "from", "highlow", "where", "state_name", "=", "value" ], "question": "qual é o ponto mais alto do texas", "question_toks": [ "qual", "é", "o", "ponto", "mais", "alto", "do", "texas" ], "sql": { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 16, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 13, false ], null ], "\"texas\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT highest_point FROM highlow WHERE state_name = \"texas\";", "query_toks": [ "SELECT", "highest_point", "FROM", "highlow", "WHERE", "state_name", "=", "``", "texas", "''", ";" ], "query_toks_no_value": [ "select", "highest_point", "from", "highlow", "where", "state_name", "=", "value" ], "question": "qual é o ponto alto do texas", "question_toks": [ "qual", "é", "o", "ponto", "alto", "do", "texas" ], "sql": { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 16, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 13, false ], null ], "\"texas\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT highest_point FROM highlow WHERE state_name = \"texas\";", "query_toks": [ "SELECT", "highest_point", "FROM", "highlow", "WHERE", "state_name", "=", "``", "texas", "''", ";" ], "query_toks_no_value": [ "select", "highest_point", "from", "highlow", "where", "state_name", "=", "value" ], "question": "qual é a montanha mais alta do texas", "question_toks": [ "qual", "é", "a", "montanha", "mais", "alta", "do", "texas" ], "sql": { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 16, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 13, false ], null ], "\"texas\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT highest_point FROM highlow WHERE state_name = \"texas\";", "query_toks": [ "SELECT", "highest_point", "FROM", "highlow", "WHERE", "state_name", "=", "``", "texas", "''", ";" ], "query_toks_no_value": [ "select", "highest_point", "from", "highlow", "where", "state_name", "=", "value" ], "question": "você poderia me dizer qual é o ponto mais alto no estado do texas", "question_toks": [ "você", "poderia", "me", "dizer", "qual", "é", "o", "ponto", "mais", "alto", "no", "estado", "do", "texas" ], "sql": { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 16, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 13, false ], null ], "\"texas\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT state_name FROM state WHERE state_name NOT IN ( SELECT state_name FROM border_info );", "query_toks": [ "SELECT", "state_name", "FROM", "state", "WHERE", "state_name", "NOT", "IN", "(", "SELECT", "state_name", "FROM", "border_info", ")", ";" ], "query_toks_no_value": [ "select", "state_name", "from", "state", "where", "state_name", "not", "in", "(", "select", "state_name", "from", "border_info", ")" ], "question": "quais estados não têm estado limítrofe", "question_toks": [ "quais", "estados", "não", "têm", "estado", "limítrofe" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 1, false ], null ] ] ] ], "where": [ [ true, 8, [ 0, [ 0, 1, false ], null ], { "from": { "table_units": [ [ "table_unit", 2 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT state_name FROM state WHERE state_name NOT IN ( SELECT state_name FROM border_info );", "query_toks": [ "SELECT", "state_name", "FROM", "state", "WHERE", "state_name", "NOT", "IN", "(", "SELECT", "state_name", "FROM", "border_info", ")", ";" ], "query_toks_no_value": [ "select", "state_name", "from", "state", "where", "state_name", "not", "in", "(", "select", "state_name", "from", "border_info", ")" ], "question": "Nomeie os estados que não têm estados circundantes", "question_toks": [ "Nomeie", "os", "estados", "que", "não", "têm", "estados", "circundantes" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 1, false ], null ] ] ] ], "where": [ [ true, 8, [ 0, [ 0, 1, false ], null ], { "from": { "table_units": [ [ "table_unit", 2 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT state_name FROM state WHERE state_name NOT IN ( SELECT state_name FROM border_info );", "query_toks": [ "SELECT", "state_name", "FROM", "state", "WHERE", "state_name", "NOT", "IN", "(", "SELECT", "state_name", "FROM", "border_info", ")", ";" ], "query_toks_no_value": [ "select", "state_name", "from", "state", "where", "state_name", "not", "in", "(", "select", "state_name", "from", "border_info", ")" ], "question": "que estados não fazem fronteira com outros estados", "question_toks": [ "que", "estados", "não", "fazem", "fronteira", "com", "outros", "estados" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 1, false ], null ] ] ] ], "where": [ [ true, 8, [ 0, [ 0, 1, false ], null ], { "from": { "table_units": [ [ "table_unit", 2 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT area FROM state WHERE density = ( SELECT MIN ( density ) FROM state );", "query_toks": [ "SELECT", "area", "FROM", "state", "WHERE", "density", "=", "(", "SELECT", "MIN", "(", "density", ")", "FROM", "state", ")", ";" ], "query_toks_no_value": [ "select", "area", "from", "state", "where", "density", "=", "(", "select", "min", "(", "density", ")", "from", "state", ")" ], "question": "qual é a área do estado com menor densidade populacional", "question_toks": [ "qual", "é", "a", "área", "do", "estado", "com", "menor", "densidade", "populacional" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 6, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 2, [ 0, [ 0, 6, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT COUNT ( state_name ) FROM highlow WHERE lowest_elevation < ( SELECT lowest_elevation FROM highlow WHERE state_name = \"alabama\" );", "query_toks": [ "SELECT", "COUNT", "(", "state_name", ")", "FROM", "highlow", "WHERE", "lowest_elevation", "<", "(", "SELECT", "lowest_elevation", "FROM", "highlow", "WHERE", "state_name", "=", "``", "alabama", "''", ")", ";" ], "query_toks_no_value": [ "select", "count", "(", "state_name", ")", "from", "highlow", "where", "lowest_elevation", "<", "(", "select", "lowest_elevation", "from", "highlow", "where", "state_name", "=", "value", ")" ], "question": "conte os estados que têm elevações mais baixas do que o alabama tem", "question_toks": [ "conte", "os", "estados", "que", "têm", "elevações", "mais", "baixas", "do", "que", "o", "alabama", "tem" ], "sql": { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 3, [ 0, [ 0, 13, false ], null ] ] ] ], "where": [ [ false, 4, [ 0, [ 0, 17, false ], null ], { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 17, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 13, false ], null ], "\"alabama\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT highest_elevation FROM highlow WHERE highest_point = \"guadalupe peak\";", "query_toks": [ "SELECT", "highest_elevation", "FROM", "highlow", "WHERE", "highest_point", "=", "``", "guadalupe", "peak", "''", ";" ], "query_toks_no_value": [ "select", "highest_elevation", "from", "highlow", "where", "highest_point", "=", "value" ], "question": "quão alto é o pico de guadalupe", "question_toks": [ "quão", "alto", "é", "o", "pico", "de", "guadalupe" ], "sql": { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 14, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 16, false ], null ], "\"guadalupe peak\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT highest_elevation FROM highlow WHERE highest_point = \"guadalupe peak\";", "query_toks": [ "SELECT", "highest_elevation", "FROM", "highlow", "WHERE", "highest_point", "=", "``", "guadalupe", "peak", "''", ";" ], "query_toks_no_value": [ "select", "highest_elevation", "from", "highlow", "where", "highest_point", "=", "value" ], "question": "qual a altura do pico guadalupe", "question_toks": [ "qual", "a", "altura", "do", "pico", "guadalupe" ], "sql": { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 14, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 16, false ], null ], "\"guadalupe peak\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT highest_elevation FROM highlow WHERE highest_point = \"guadalupe peak\";", "query_toks": [ "SELECT", "highest_elevation", "FROM", "highlow", "WHERE", "highest_point", "=", "``", "guadalupe", "peak", "''", ";" ], "query_toks_no_value": [ "select", "highest_elevation", "from", "highlow", "where", "highest_point", "=", "value" ], "question": "qual é a elevação máxima do pico guadalupe", "question_toks": [ "qual", "é", "a", "elevação", "máxima", "do", "pico", "guadalupe" ], "sql": { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 14, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 16, false ], null ], "\"guadalupe peak\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT MAX ( highest_elevation ) FROM highlow;", "query_toks": [ "SELECT", "MAX", "(", "highest_elevation", ")", "FROM", "highlow", ";" ], "query_toks_no_value": [ "select", "max", "(", "highest_elevation", ")", "from", "highlow" ], "question": "quão alto é o ponto mais alto da América", "question_toks": [ "quão", "alto", "é", "o", "ponto", "mais", "alto", "da", "América" ], "sql": { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 14, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT MAX ( highest_elevation ) FROM highlow;", "query_toks": [ "SELECT", "MAX", "(", "highest_elevation", ")", "FROM", "highlow", ";" ], "query_toks_no_value": [ "select", "max", "(", "highest_elevation", ")", "from", "highlow" ], "question": "qual é a maior elevação nos estados unidos", "question_toks": [ "qual", "é", "a", "maior", "elevação", "nos", "estados", "unidos" ], "sql": { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 14, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT MAX ( highest_elevation ) FROM highlow;", "query_toks": [ "SELECT", "MAX", "(", "highest_elevation", ")", "FROM", "highlow", ";" ], "query_toks_no_value": [ "select", "max", "(", "highest_elevation", ")", "from", "highlow" ], "question": "qual é a elevação do ponto mais alto dos EUA", "question_toks": [ "qual", "é", "a", "elevação", "do", "ponto", "mais", "alto", "dos", "EUA" ], "sql": { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 14, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT MAX ( highest_elevation ) FROM highlow;", "query_toks": [ "SELECT", "MAX", "(", "highest_elevation", ")", "FROM", "highlow", ";" ], "query_toks_no_value": [ "select", "max", "(", "highest_elevation", ")", "from", "highlow" ], "question": "qual é a altura do ponto mais alto dos EUA", "question_toks": [ "qual", "é", "a", "altura", "do", "ponto", "mais", "alto", "dos", "EUA" ], "sql": { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 14, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT LENGTH FROM river WHERE river_name = \"rio grande\";", "query_toks": [ "SELECT", "LENGTH", "FROM", "river", "WHERE", "river_name", "=", "``", "rio", "grande", "''", ";" ], "query_toks_no_value": [ "select", "length", "from", "river", "where", "river_name", "=", "value" ], "question": "Qual é a extensão do rio Rio Grande?", "question_toks": [ "Qual", "é", "a", "extensão", "do", "rio", "Rio", "Grande", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 27, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 26, false ], null ], "\"rio grande\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT LENGTH FROM river WHERE river_name = \"rio grande\";", "query_toks": [ "SELECT", "LENGTH", "FROM", "river", "WHERE", "river_name", "=", "``", "rio", "grande", "''", ";" ], "query_toks_no_value": [ "select", "length", "from", "river", "where", "river_name", "=", "value" ], "question": "qual é a extensão do rio rio grande", "question_toks": [ "qual", "é", "a", "extensão", "do", "rio", "rio", "grande" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 27, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 26, false ], null ], "\"rio grande\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT LENGTH FROM river WHERE river_name = \"rio grande\";", "query_toks": [ "SELECT", "LENGTH", "FROM", "river", "WHERE", "river_name", "=", "``", "rio", "grande", "''", ";" ], "query_toks_no_value": [ "select", "length", "from", "river", "where", "river_name", "=", "value" ], "question": "qual é o comprimento do rio grande", "question_toks": [ "qual", "é", "o", "comprimento", "do", "rio", "grande" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 27, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 26, false ], null ], "\"rio grande\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT LENGTH FROM river WHERE river_name = \"rio grande\";", "query_toks": [ "SELECT", "LENGTH", "FROM", "river", "WHERE", "river_name", "=", "``", "rio", "grande", "''", ";" ], "query_toks_no_value": [ "select", "length", "from", "river", "where", "river_name", "=", "value" ], "question": "quanto tempo é o rio grande", "question_toks": [ "quanto", "tempo", "é", "o", "rio", "grande" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 27, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 26, false ], null ], "\"rio grande\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT LENGTH FROM river WHERE river_name = \"rio grande\";", "query_toks": [ "SELECT", "LENGTH", "FROM", "river", "WHERE", "river_name", "=", "``", "rio", "grande", "''", ";" ], "query_toks_no_value": [ "select", "length", "from", "river", "where", "river_name", "=", "value" ], "question": "quanto tempo mede o rio grande em milhas", "question_toks": [ "quanto", "tempo", "mede", "o", "rio", "grande", "em", "milhas" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 27, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 26, false ], null ], "\"rio grande\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT LENGTH FROM river WHERE river_name = \"rio grande\";", "query_toks": [ "SELECT", "LENGTH", "FROM", "river", "WHERE", "river_name", "=", "``", "rio", "grande", "''", ";" ], "query_toks_no_value": [ "select", "length", "from", "river", "where", "river_name", "=", "value" ], "question": "quanto tempo é o rio grande", "question_toks": [ "quanto", "tempo", "é", "o", "rio", "grande" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 27, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 26, false ], null ], "\"rio grande\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT LENGTH FROM river WHERE LENGTH = ( SELECT MAX ( LENGTH ) FROM river WHERE traverse = \"texas\" ) AND traverse = \"texas\";", "query_toks": [ "SELECT", "LENGTH", "FROM", "river", "WHERE", "LENGTH", "=", "(", "SELECT", "MAX", "(", "LENGTH", ")", "FROM", "river", "WHERE", "traverse", "=", "``", "texas", "''", ")", "AND", "traverse", "=", "``", "texas", "''", ";" ], "query_toks_no_value": [ "select", "length", "from", "river", "where", "length", "=", "(", "select", "max", "(", "length", ")", "from", "river", "where", "traverse", "=", "value", ")", "and", "traverse", "=", "value" ], "question": "Qual é o comprimento do rio mais longo do Texas?", "question_toks": [ "Qual", "é", "o", "comprimento", "do", "rio", "mais", "longo", "do", "Texas", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 27, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 27, false ], null ], { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 27, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 29, false ], null ], "\"texas\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ], "and", [ false, 2, [ 0, [ 0, 29, false ], null ], "\"texas\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT LENGTH FROM river WHERE LENGTH = ( SELECT MAX ( LENGTH ) FROM river WHERE traverse = \"texas\" ) AND traverse = \"texas\";", "query_toks": [ "SELECT", "LENGTH", "FROM", "river", "WHERE", "LENGTH", "=", "(", "SELECT", "MAX", "(", "LENGTH", ")", "FROM", "river", "WHERE", "traverse", "=", "``", "texas", "''", ")", "AND", "traverse", "=", "``", "texas", "''", ";" ], "query_toks_no_value": [ "select", "length", "from", "river", "where", "length", "=", "(", "select", "max", "(", "length", ")", "from", "river", "where", "traverse", "=", "value", ")", "and", "traverse", "=", "value" ], "question": "qual é o comprimento do maior rio que atravessa o texas", "question_toks": [ "qual", "é", "o", "comprimento", "do", "maior", "rio", "que", "atravessa", "o", "texas" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 27, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 27, false ], null ], { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 27, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 29, false ], null ], "\"texas\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ], "and", [ false, 2, [ 0, [ 0, 29, false ], null ], "\"texas\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT COUNT ( capital ) FROM state WHERE state_name = \"rhode island\";", "query_toks": [ "SELECT", "COUNT", "(", "capital", ")", "FROM", "state", "WHERE", "state_name", "=", "``", "rhode", "island", "''", ";" ], "query_toks_no_value": [ "select", "count", "(", "capital", ")", "from", "state", "where", "state_name", "=", "value" ], "question": "quantas capitais a ilha de Rhode tem", "question_toks": [ "quantas", "capitais", "a", "ilha", "de", "Rhode", "tem" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 3, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 1, false ], null ], "\"rhode island\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT COUNT ( city_name ) FROM city;", "query_toks": [ "SELECT", "COUNT", "(", "city_name", ")", "FROM", "city", ";" ], "query_toks_no_value": [ "select", "count", "(", "city_name", ")", "from", "city" ], "question": "quantas cidades existem nos estados unidos", "question_toks": [ "quantas", "cidades", "existem", "nos", "estados", "unidos" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 3, [ 0, [ 0, 7, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT COUNT ( city_name ) FROM city;", "query_toks": [ "SELECT", "COUNT", "(", "city_name", ")", "FROM", "city", ";" ], "query_toks_no_value": [ "select", "count", "(", "city_name", ")", "from", "city" ], "question": "quantas cidades os EUA têm", "question_toks": [ "quantas", "cidades", "os", "EUA", "têm" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 3, [ 0, [ 0, 7, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT COUNT ( city_name ) FROM city;", "query_toks": [ "SELECT", "COUNT", "(", "city_name", ")", "FROM", "city", ";" ], "query_toks_no_value": [ "select", "count", "(", "city_name", ")", "from", "city" ], "question": "quantas cidades existem nos EUA", "question_toks": [ "quantas", "cidades", "existem", "nos", "EUA" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 3, [ 0, [ 0, 7, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT COUNT ( city_name ) FROM city;", "query_toks": [ "SELECT", "COUNT", "(", "city_name", ")", "FROM", "city", ";" ], "query_toks_no_value": [ "select", "count", "(", "city_name", ")", "from", "city" ], "question": "quantas cidades existem nos EUA", "question_toks": [ "quantas", "cidades", "existem", "nos", "EUA" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 3, [ 0, [ 0, 7, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT COUNT ( city_name ) FROM city;", "query_toks": [ "SELECT", "COUNT", "(", "city_name", ")", "FROM", "city", ";" ], "query_toks_no_value": [ "select", "count", "(", "city_name", ")", "from", "city" ], "question": "quantas cidades existem em nós", "question_toks": [ "quantas", "cidades", "existem", "em", "nós" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 3, [ 0, [ 0, 7, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT COUNT ( city_name ) FROM city WHERE population > 150000;", "query_toks": [ "SELECT", "COUNT", "(", "city_name", ")", "FROM", "city", "WHERE", "population", ">", "150000", ";" ], "query_toks_no_value": [ "select", "count", "(", "city_name", ")", "from", "city", "where", "population", ">", "value" ], "question": "quantas cidades principais existem", "question_toks": [ "quantas", "cidades", "principais", "existem" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 3, [ 0, [ 0, 7, false ], null ] ] ] ], "where": [ [ false, 3, [ 0, [ 0, 8, false ], null ], 150000.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT population FROM city WHERE population = ( SELECT MAX ( population ) FROM city );", "query_toks": [ "SELECT", "population", "FROM", "city", "WHERE", "population", "=", "(", "SELECT", "MAX", "(", "population", ")", "FROM", "city", ")", ";" ], "query_toks_no_value": [ "select", "population", "from", "city", "where", "population", "=", "(", "select", "max", "(", "population", ")", "from", "city", ")" ], "question": "quantos cidadãos a maior cidade dos EUA tem", "question_toks": [ "quantos", "cidadãos", "a", "maior", "cidade", "dos", "EUA", "tem" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 8, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 8, false ], null ], { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 8, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT COUNT ( river_name ) FROM river WHERE river_name = \"colorado\";", "query_toks": [ "SELECT", "COUNT", "(", "river_name", ")", "FROM", "river", "WHERE", "river_name", "=", "``", "colorado", "''", ";" ], "query_toks_no_value": [ "select", "count", "(", "river_name", ")", "from", "river", "where", "river_name", "=", "value" ], "question": "quantos rios do Colorado existem", "question_toks": [ "quantos", "rios", "do", "Colorado", "existem" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 3, [ 0, [ 0, 26, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 26, false ], null ], "\"colorado\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT COUNT ( river_name ) FROM river WHERE river_name = \"colorado\";", "query_toks": [ "SELECT", "COUNT", "(", "river_name", ")", "FROM", "river", "WHERE", "river_name", "=", "``", "colorado", "''", ";" ], "query_toks_no_value": [ "select", "count", "(", "river_name", ")", "from", "river", "where", "river_name", "=", "value" ], "question": "quantos rios são chamados de colorado", "question_toks": [ "quantos", "rios", "são", "chamados", "de", "colorado" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 3, [ 0, [ 0, 26, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 26, false ], null ], "\"colorado\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT population FROM city WHERE city_name = \"seattle\" AND state_name = \"washington\";", "query_toks": [ "SELECT", "population", "FROM", "city", "WHERE", "city_name", "=", "``", "seattle", "''", "AND", "state_name", "=", "``", "washington", "''", ";" ], "query_toks_no_value": [ "select", "population", "from", "city", "where", "city_name", "=", "value", "and", "state_name", "=", "value" ], "question": "qual é a população de seattle washington", "question_toks": [ "qual", "é", "a", "população", "de", "seattle", "washington" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 8, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 7, false ], null ], "\"seattle\"", null ], "and", [ false, 2, [ 0, [ 0, 10, false ], null ], "\"washington\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT population FROM city WHERE city_name = \"seattle\" AND state_name = \"washington\";", "query_toks": [ "SELECT", "population", "FROM", "city", "WHERE", "city_name", "=", "``", "seattle", "''", "AND", "state_name", "=", "``", "washington", "''", ";" ], "query_toks_no_value": [ "select", "population", "from", "city", "where", "city_name", "=", "value", "and", "state_name", "=", "value" ], "question": "quantas pessoas vivem em Seattle", "question_toks": [ "quantas", "pessoas", "vivem", "em", "Seattle" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 8, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 7, false ], null ], "\"seattle\"", null ], "and", [ false, 2, [ 0, [ 0, 10, false ], null ], "\"washington\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT population FROM city WHERE population = ( SELECT MAX ( population ) FROM city WHERE state_name = \"alaska\" ) AND state_name = \"alaska\";", "query_toks": [ "SELECT", "population", "FROM", "city", "WHERE", "population", "=", "(", "SELECT", "MAX", "(", "population", ")", "FROM", "city", "WHERE", "state_name", "=", "``", "alaska", "''", ")", "AND", "state_name", "=", "``", "alaska", "''", ";" ], "query_toks_no_value": [ "select", "population", "from", "city", "where", "population", "=", "(", "select", "max", "(", "population", ")", "from", "city", "where", "state_name", "=", "value", ")", "and", "state_name", "=", "value" ], "question": "quantas pessoas vivem na maior cidade do estado do Alasca", "question_toks": [ "quantas", "pessoas", "vivem", "na", "maior", "cidade", "do", "estado", "do", "Alasca" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 8, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 8, false ], null ], { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 8, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"alaska\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ], "and", [ false, 2, [ 0, [ 0, 10, false ], null ], "\"alaska\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT population FROM city WHERE population = ( SELECT MAX ( population ) FROM city WHERE state_name = \"alaska\" ) AND state_name = \"alaska\";", "query_toks": [ "SELECT", "population", "FROM", "city", "WHERE", "population", "=", "(", "SELECT", "MAX", "(", "population", ")", "FROM", "city", "WHERE", "state_name", "=", "``", "alaska", "''", ")", "AND", "state_name", "=", "``", "alaska", "''", ";" ], "query_toks_no_value": [ "select", "population", "from", "city", "where", "population", "=", "(", "select", "max", "(", "population", ")", "from", "city", "where", "state_name", "=", "value", ")", "and", "state_name", "=", "value" ], "question": "quão grande é a maior cidade do Alasca", "question_toks": [ "quão", "grande", "é", "a", "maior", "cidade", "do", "Alasca" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 8, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 8, false ], null ], { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 8, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"alaska\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ], "and", [ false, 2, [ 0, [ 0, 10, false ], null ], "\"alaska\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT population FROM city WHERE city_name = ( SELECT capital FROM state WHERE state_name = \"texas\" );", "query_toks": [ "SELECT", "population", "FROM", "city", "WHERE", "city_name", "=", "(", "SELECT", "capital", "FROM", "state", "WHERE", "state_name", "=", "``", "texas", "''", ")", ";" ], "query_toks_no_value": [ "select", "population", "from", "city", "where", "city_name", "=", "(", "select", "capital", "from", "state", "where", "state_name", "=", "value", ")" ], "question": "quantas pessoas vivem na capital do texas", "question_toks": [ "quantas", "pessoas", "vivem", "na", "capital", "do", "texas" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 8, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 7, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 1, false ], null ], "\"texas\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT population FROM city WHERE city_name = ( SELECT capital FROM state WHERE state_name = \"texas\" );", "query_toks": [ "SELECT", "population", "FROM", "city", "WHERE", "city_name", "=", "(", "SELECT", "capital", "FROM", "state", "WHERE", "state_name", "=", "``", "texas", "''", ")", ";" ], "query_toks_no_value": [ "select", "population", "from", "city", "where", "city_name", "=", "(", "select", "capital", "from", "state", "where", "state_name", "=", "value", ")" ], "question": "qual é o tamanho da capital do texas", "question_toks": [ "qual", "é", "o", "tamanho", "da", "capital", "do", "texas" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 8, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 7, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 1, false ], null ], "\"texas\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT SUM ( population ) FROM state;", "query_toks": [ "SELECT", "SUM", "(", "population", ")", "FROM", "state", ";" ], "query_toks_no_value": [ "select", "sum", "(", "population", ")", "from", "state" ], "question": "quantas pessoas vivem nos estados unidos", "question_toks": [ "quantas", "pessoas", "vivem", "nos", "estados", "unidos" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 4, [ 0, [ 0, 2, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT SUM ( population ) FROM state;", "query_toks": [ "SELECT", "SUM", "(", "population", ")", "FROM", "state", ";" ], "query_toks_no_value": [ "select", "sum", "(", "population", ")", "from", "state" ], "question": "qual é a população combinada de todos os 50 estados", "question_toks": [ "qual", "é", "a", "população", "combinada", "de", "todos", "os", "50", "estados" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 4, [ 0, [ 0, 2, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT COUNT ( state_name ) FROM state;", "query_toks": [ "SELECT", "COUNT", "(", "state_name", ")", "FROM", "state", ";" ], "query_toks_no_value": [ "select", "count", "(", "state_name", ")", "from", "state" ], "question": "quantos estados existem nos EUA", "question_toks": [ "quantos", "estados", "existem", "nos", "EUA" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 3, [ 0, [ 0, 1, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT COUNT ( state_name ) FROM state;", "query_toks": [ "SELECT", "COUNT", "(", "state_name", ")", "FROM", "state", ";" ], "query_toks_no_value": [ "select", "count", "(", "state_name", ")", "from", "state" ], "question": "quantos estados existem", "question_toks": [ "quantos", "estados", "existem" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 3, [ 0, [ 0, 1, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT COUNT ( state_name ) FROM state;", "query_toks": [ "SELECT", "COUNT", "(", "state_name", ")", "FROM", "state", ";" ], "query_toks_no_value": [ "select", "count", "(", "state_name", ")", "from", "state" ], "question": "quantos estados existem nos EUA", "question_toks": [ "quantos", "estados", "existem", "nos", "EUA" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 3, [ 0, [ 0, 1, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT COUNT ( state_name ) FROM state;", "query_toks": [ "SELECT", "COUNT", "(", "state_name", ")", "FROM", "state", ";" ], "query_toks_no_value": [ "select", "count", "(", "state_name", ")", "from", "state" ], "question": "quantos estados os EUA têm", "question_toks": [ "quantos", "estados", "os", "EUA", "têm" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 3, [ 0, [ 0, 1, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT COUNT ( state_name ) FROM state;", "query_toks": [ "SELECT", "COUNT", "(", "state_name", ")", "FROM", "state", ";" ], "query_toks_no_value": [ "select", "count", "(", "state_name", ")", "from", "state" ], "question": "quantos estados existem nos estados unidos", "question_toks": [ "quantos", "estados", "existem", "nos", "estados", "unidos" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 3, [ 0, [ 0, 1, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT COUNT ( state_name ) FROM state;", "query_toks": [ "SELECT", "COUNT", "(", "state_name", ")", "FROM", "state", ";" ], "query_toks_no_value": [ "select", "count", "(", "state_name", ")", "from", "state" ], "question": "quantos estados existem nos estados unidos", "question_toks": [ "quantos", "estados", "existem", "nos", "estados", "unidos" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 3, [ 0, [ 0, 1, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT COUNT ( border ) FROM border_info WHERE state_name = \"kentucky\";", "query_toks": [ "SELECT", "COUNT", "(", "border", ")", "FROM", "border_info", "WHERE", "state_name", "=", "``", "kentucky", "''", ";" ], "query_toks_no_value": [ "select", "count", "(", "border", ")", "from", "border_info", "where", "state_name", "=", "value" ], "question": "quantos estados fazem fronteira com o kentucky", "question_toks": [ "quantos", "estados", "fazem", "fronteira", "com", "o", "kentucky" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ] ], "conds": [] }, "select": [ false, [ [ 3, [ 0, [ 0, 12, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 11, false ], null ], "\"kentucky\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT COUNT ( border ) FROM border_info WHERE state_name = \"kentucky\";", "query_toks": [ "SELECT", "COUNT", "(", "border", ")", "FROM", "border_info", "WHERE", "state_name", "=", "``", "kentucky", "''", ";" ], "query_toks_no_value": [ "select", "count", "(", "border", ")", "from", "border_info", "where", "state_name", "=", "value" ], "question": "quantos estados faz fronteira com o kentucky", "question_toks": [ "quantos", "estados", "faz", "fronteira", "com", "o", "kentucky" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ] ], "conds": [] }, "select": [ false, [ [ 3, [ 0, [ 0, 12, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 11, false ], null ], "\"kentucky\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT COUNT ( border ) FROM border_info WHERE state_name = \"kentucky\";", "query_toks": [ "SELECT", "COUNT", "(", "border", ")", "FROM", "border_info", "WHERE", "state_name", "=", "``", "kentucky", "''", ";" ], "query_toks_no_value": [ "select", "count", "(", "border", ")", "from", "border_info", "where", "state_name", "=", "value" ], "question": "kentucky faz fronteira com quantos estados", "question_toks": [ "kentucky", "faz", "fronteira", "com", "quantos", "estados" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ] ], "conds": [] }, "select": [ false, [ [ 3, [ 0, [ 0, 12, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 11, false ], null ], "\"kentucky\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT COUNT ( border ) FROM border_info WHERE state_name = \"kentucky\";", "query_toks": [ "SELECT", "COUNT", "(", "border", ")", "FROM", "border_info", "WHERE", "state_name", "=", "``", "kentucky", "''", ";" ], "query_toks_no_value": [ "select", "count", "(", "border", ")", "from", "border_info", "where", "state_name", "=", "value" ], "question": "número de estados que fazem fronteira com o kentucky", "question_toks": [ "número", "de", "estados", "que", "fazem", "fronteira", "com", "o", "kentucky" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ] ], "conds": [] }, "select": [ false, [ [ 3, [ 0, [ 0, 12, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 11, false ], null ], "\"kentucky\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT COUNT ( border ) FROM border_info WHERE state_name = \"kentucky\";", "query_toks": [ "SELECT", "COUNT", "(", "border", ")", "FROM", "border_info", "WHERE", "state_name", "=", "``", "kentucky", "''", ";" ], "query_toks_no_value": [ "select", "count", "(", "border", ")", "from", "border_info", "where", "state_name", "=", "value" ], "question": "qual é o número de estados vizinhos para kentucky", "question_toks": [ "qual", "é", "o", "número", "de", "estados", "vizinhos", "para", "kentucky" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ] ], "conds": [] }, "select": [ false, [ [ 3, [ 0, [ 0, 12, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 11, false ], null ], "\"kentucky\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT COUNT ( border ) FROM border_info WHERE state_name IN ( SELECT state_name FROM state WHERE population = ( SELECT MAX ( population ) FROM state ) );", "query_toks": [ "SELECT", "COUNT", "(", "border", ")", "FROM", "border_info", "WHERE", "state_name", "IN", "(", "SELECT", "state_name", "FROM", "state", "WHERE", "population", "=", "(", "SELECT", "MAX", "(", "population", ")", "FROM", "state", ")", ")", ";" ], "query_toks_no_value": [ "select", "count", "(", "border", ")", "from", "border_info", "where", "state_name", "in", "(", "select", "state_name", "from", "state", "where", "population", "=", "(", "select", "max", "(", "population", ")", "from", "state", ")", ")" ], "question": "quantos estados fazem fronteira com o estado com a maior população", "question_toks": [ "quantos", "estados", "fazem", "fronteira", "com", "o", "estado", "com", "a", "maior", "população" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ] ], "conds": [] }, "select": [ false, [ [ 3, [ 0, [ 0, 12, false ], null ] ] ] ], "where": [ [ false, 8, [ 0, [ 0, 11, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 1, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 2, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 2, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT COUNT ( DISTINCT state_name ) FROM state WHERE state_name NOT IN ( SELECT traverse FROM river );", "query_toks": [ "SELECT", "COUNT", "(", "DISTINCT", "state_name", ")", "FROM", "state", "WHERE", "state_name", "NOT", "IN", "(", "SELECT", "traverse", "FROM", "river", ")", ";" ], "query_toks_no_value": [ "select", "count", "(", "distinct", "state_name", ")", "from", "state", "where", "state_name", "not", "in", "(", "select", "traverse", "from", "river", ")" ], "question": "quantos estados não têm rios", "question_toks": [ "quantos", "estados", "não", "têm", "rios" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 3, [ 0, [ 0, 1, true ], null ] ] ] ], "where": [ [ true, 8, [ 0, [ 0, 1, false ], null ], { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 29, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT COUNT ( state_name ) FROM highlow WHERE highest_elevation > ( SELECT highest_elevation FROM highlow WHERE state_name = ( SELECT state_name FROM state WHERE capital = ( SELECT city_name FROM city WHERE population = ( SELECT MAX ( population ) FROM city ) ) ) );", "query_toks": [ "SELECT", "COUNT", "(", "state_name", ")", "FROM", "highlow", "WHERE", "highest_elevation", ">", "(", "SELECT", "highest_elevation", "FROM", "highlow", "WHERE", "state_name", "=", "(", "SELECT", "state_name", "FROM", "state", "WHERE", "capital", "=", "(", "SELECT", "city_name", "FROM", "city", "WHERE", "population", "=", "(", "SELECT", "MAX", "(", "population", ")", "FROM", "city", ")", ")", ")", ")", ";" ], "query_toks_no_value": [ "select", "count", "(", "state_name", ")", "from", "highlow", "where", "highest_elevation", ">", "(", "select", "highest_elevation", "from", "highlow", "where", "state_name", "=", "(", "select", "state_name", "from", "state", "where", "capital", "=", "(", "select", "city_name", "from", "city", "where", "population", "=", "(", "select", "max", "(", "population", ")", "from", "city", ")", ")", ")", ")" ], "question": "quantos estados têm um ponto mais alto do que o ponto mais alto do estado com a maior capital dos EUA", "question_toks": [ "quantos", "estados", "têm", "um", "ponto", "mais", "alto", "do", "que", "o", "ponto", "mais", "alto", "do", "estado", "com", "a", "maior", "capital", "dos", "EUA" ], "sql": { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 3, [ 0, [ 0, 13, false ], null ] ] ] ], "where": [ [ false, 3, [ 0, [ 0, 14, false ], null ], { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 14, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 13, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 1, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 5, false ], null ], { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 7, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 8, false ], null ], { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 8, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT river_name FROM river WHERE LENGTH > 750 AND traverse = \"illinois\";", "query_toks": [ "SELECT", "river_name", "FROM", "river", "WHERE", "LENGTH", ">", "750", "AND", "traverse", "=", "``", "illinois", "''", ";" ], "query_toks_no_value": [ "select", "river_name", "from", "river", "where", "length", ">", "value", "and", "traverse", "=", "value" ], "question": "cite os principais rios de Illinois", "question_toks": [ "cite", "os", "principais", "rios", "de", "Illinois" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 26, false ], null ] ] ] ], "where": [ [ false, 3, [ 0, [ 0, 27, false ], null ], 750.0, null ], "and", [ false, 2, [ 0, [ 0, 29, false ], null ], "\"illinois\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT river_name FROM river WHERE LENGTH > 750 AND traverse = \"illinois\";", "query_toks": [ "SELECT", "river_name", "FROM", "river", "WHERE", "LENGTH", ">", "750", "AND", "traverse", "=", "``", "illinois", "''", ";" ], "query_toks_no_value": [ "select", "river_name", "from", "river", "where", "length", ">", "value", "and", "traverse", "=", "value" ], "question": "quais são os principais rios de illinois", "question_toks": [ "quais", "são", "os", "principais", "rios", "de", "illinois" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 26, false ], null ] ] ] ], "where": [ [ false, 3, [ 0, [ 0, 27, false ], null ], 750.0, null ], "and", [ false, 2, [ 0, [ 0, 29, false ], null ], "\"illinois\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT river_name FROM river WHERE LENGTH > 750 AND traverse = \"illinois\";", "query_toks": [ "SELECT", "river_name", "FROM", "river", "WHERE", "LENGTH", ">", "750", "AND", "traverse", "=", "``", "illinois", "''", ";" ], "query_toks_no_value": [ "select", "river_name", "from", "river", "where", "length", ">", "value", "and", "traverse", "=", "value" ], "question": "Quais são os principais rios de Illinois?", "question_toks": [ "Quais", "são", "os", "principais", "rios", "de", "Illinois", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 26, false ], null ] ] ] ], "where": [ [ false, 3, [ 0, [ 0, 27, false ], null ], 750.0, null ], "and", [ false, 2, [ 0, [ 0, 29, false ], null ], "\"illinois\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT river_name FROM river WHERE LENGTH > 750 AND traverse = \"illinois\";", "query_toks": [ "SELECT", "river_name", "FROM", "river", "WHERE", "LENGTH", ">", "750", "AND", "traverse", "=", "``", "illinois", "''", ";" ], "query_toks_no_value": [ "select", "river_name", "from", "river", "where", "length", ">", "value", "and", "traverse", "=", "value" ], "question": "quais rios principais correm através de Illinois", "question_toks": [ "quais", "rios", "principais", "correm", "através", "de", "Illinois" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 26, false ], null ] ] ] ], "where": [ [ false, 3, [ 0, [ 0, 27, false ], null ], 750.0, null ], "and", [ false, 2, [ 0, [ 0, 29, false ], null ], "\"illinois\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT traverse FROM river WHERE LENGTH = ( SELECT MAX ( LENGTH ) FROM river WHERE traverse = \"texas\" );", "query_toks": [ "SELECT", "traverse", "FROM", "river", "WHERE", "LENGTH", "=", "(", "SELECT", "MAX", "(", "LENGTH", ")", "FROM", "river", "WHERE", "traverse", "=", "``", "texas", "''", ")", ";" ], "query_toks_no_value": [ "select", "traverse", "from", "river", "where", "length", "=", "(", "select", "max", "(", "length", ")", "from", "river", "where", "traverse", "=", "value", ")" ], "question": "através de quais estados corre o maior rio do Texas", "question_toks": [ "através", "de", "quais", "estados", "corre", "o", "maior", "rio", "do", "Texas" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 29, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 27, false ], null ], { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 27, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 29, false ], null ], "\"texas\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT capital FROM state WHERE state_name = \"texas\";", "query_toks": [ "SELECT", "capital", "FROM", "state", "WHERE", "state_name", "=", "``", "texas", "''", ";" ], "query_toks_no_value": [ "select", "capital", "from", "state", "where", "state_name", "=", "value" ], "question": "quais são as capitais do texas", "question_toks": [ "quais", "são", "as", "capitais", "do", "texas" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 1, false ], null ], "\"texas\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT capital FROM state WHERE state_name = \"texas\";", "query_toks": [ "SELECT", "capital", "FROM", "state", "WHERE", "state_name", "=", "``", "texas", "''", ";" ], "query_toks_no_value": [ "select", "capital", "from", "state", "where", "state_name", "=", "value" ], "question": "qual é a capital do texas", "question_toks": [ "qual", "é", "a", "capital", "do", "texas" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 1, false ], null ], "\"texas\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT capital FROM state WHERE state_name = \"texas\";", "query_toks": [ "SELECT", "capital", "FROM", "state", "WHERE", "state_name", "=", "``", "texas", "''", ";" ], "query_toks_no_value": [ "select", "capital", "from", "state", "where", "state_name", "=", "value" ], "question": "qual é a capital do estado do texas", "question_toks": [ "qual", "é", "a", "capital", "do", "estado", "do", "texas" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 1, false ], null ], "\"texas\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT capital FROM state WHERE state_name = \"texas\";", "query_toks": [ "SELECT", "capital", "FROM", "state", "WHERE", "state_name", "=", "``", "texas", "''", ";" ], "query_toks_no_value": [ "select", "capital", "from", "state", "where", "state_name", "=", "value" ], "question": "o que é a capital do texas", "question_toks": [ "o", "que", "é", "a", "capital", "do", "texas" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 1, false ], null ], "\"texas\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT capital FROM state WHERE state_name = \"texas\";", "query_toks": [ "SELECT", "capital", "FROM", "state", "WHERE", "state_name", "=", "``", "texas", "''", ";" ], "query_toks_no_value": [ "select", "capital", "from", "state", "where", "state_name", "=", "value" ], "question": "qual é a capital do estado do texas", "question_toks": [ "qual", "é", "a", "capital", "do", "estado", "do", "texas" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 1, false ], null ], "\"texas\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT capital FROM state WHERE state_name = \"texas\";", "query_toks": [ "SELECT", "capital", "FROM", "state", "WHERE", "state_name", "=", "``", "texas", "''", ";" ], "query_toks_no_value": [ "select", "capital", "from", "state", "where", "state_name", "=", "value" ], "question": "você pode me dizer a capital do texas", "question_toks": [ "você", "pode", "me", "dizer", "a", "capital", "do", "texas" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 1, false ], null ], "\"texas\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT t2.capital FROM state AS t2 JOIN border_info AS t1 ON t2.state_name = t1.border WHERE t1.state_name = \"texas\";", "query_toks": [ "SELECT", "t2.capital", "FROM", "state", "AS", "t2", "JOIN", "border_info", "AS", "t1", "ON", "t2.state_name", "=", "t1.border", "WHERE", "t1.state_name", "=", "``", "texas", "''", ";" ], "query_toks_no_value": [ "select", "t2", ".", "capital", "from", "state", "as", "t2", "join", "border_info", "as", "t1", "on", "t2", ".", "state_name", "=", "t1", ".", "border", "where", "t1", ".", "state_name", "=", "value" ], "question": "quais são as capitais dos estados que fazem fronteira com o texas", "question_toks": [ "quais", "são", "as", "capitais", "dos", "estados", "que", "fazem", "fronteira", "com", "o", "texas" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 12, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 11, false ], null ], "\"texas\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT t2.capital FROM state AS t2 JOIN border_info AS t1 ON t2.state_name = t1.border WHERE t1.state_name = \"texas\";", "query_toks": [ "SELECT", "t2.capital", "FROM", "state", "AS", "t2", "JOIN", "border_info", "AS", "t1", "ON", "t2.state_name", "=", "t1.border", "WHERE", "t1.state_name", "=", "``", "texas", "''", ";" ], "query_toks_no_value": [ "select", "t2", ".", "capital", "from", "state", "as", "t2", "join", "border_info", "as", "t1", "on", "t2", ".", "state_name", "=", "t1", ".", "border", "where", "t1", ".", "state_name", "=", "value" ], "question": "quais são as capitais dos estados que fazem fronteira com o texas", "question_toks": [ "quais", "são", "as", "capitais", "dos", "estados", "que", "fazem", "fronteira", "com", "o", "texas" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 12, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 11, false ], null ], "\"texas\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT t2.capital FROM state AS t2 JOIN border_info AS t1 ON t2.state_name = t1.border WHERE t1.state_name = \"texas\";", "query_toks": [ "SELECT", "t2.capital", "FROM", "state", "AS", "t2", "JOIN", "border_info", "AS", "t1", "ON", "t2.state_name", "=", "t1.border", "WHERE", "t1.state_name", "=", "``", "texas", "''", ";" ], "query_toks_no_value": [ "select", "t2", ".", "capital", "from", "state", "as", "t2", "join", "border_info", "as", "t1", "on", "t2", ".", "state_name", "=", "t1", ".", "border", "where", "t1", ".", "state_name", "=", "value" ], "question": "quais são as capitais dos estados que fazem fronteira com o texas", "question_toks": [ "quais", "são", "as", "capitais", "dos", "estados", "que", "fazem", "fronteira", "com", "o", "texas" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 12, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 11, false ], null ], "\"texas\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT t2.capital FROM state AS t2 JOIN border_info AS t1 ON t2.state_name = t1.border WHERE t1.state_name = \"texas\";", "query_toks": [ "SELECT", "t2.capital", "FROM", "state", "AS", "t2", "JOIN", "border_info", "AS", "t1", "ON", "t2.state_name", "=", "t1.border", "WHERE", "t1.state_name", "=", "``", "texas", "''", ";" ], "query_toks_no_value": [ "select", "t2", ".", "capital", "from", "state", "as", "t2", "join", "border_info", "as", "t1", "on", "t2", ".", "state_name", "=", "t1", ".", "border", "where", "t1", ".", "state_name", "=", "value" ], "question": "quais capitais estão nos estados que fazem fronteira com o Texas", "question_toks": [ "quais", "capitais", "estão", "nos", "estados", "que", "fazem", "fronteira", "com", "o", "Texas" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 12, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 11, false ], null ], "\"texas\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT city_name FROM city WHERE state_name IN ( SELECT traverse FROM river WHERE river_name = \"mississippi\" );", "query_toks": [ "SELECT", "city_name", "FROM", "city", "WHERE", "state_name", "IN", "(", "SELECT", "traverse", "FROM", "river", "WHERE", "river_name", "=", "``", "mississippi", "''", ")", ";" ], "query_toks_no_value": [ "select", "city_name", "from", "city", "where", "state_name", "in", "(", "select", "traverse", "from", "river", "where", "river_name", "=", "value", ")" ], "question": "quais são as cidades nos estados por onde passa o Mississippi", "question_toks": [ "quais", "são", "as", "cidades", "nos", "estados", "por", "onde", "passa", "o", "Mississippi" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 7, false ], null ] ] ] ], "where": [ [ false, 8, [ 0, [ 0, 10, false ], null ], { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 29, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 26, false ], null ], "\"mississippi\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT city_name FROM city WHERE state_name IN ( SELECT state_name FROM highlow WHERE highest_elevation = ( SELECT MAX ( highest_elevation ) FROM highlow ) );", "query_toks": [ "SELECT", "city_name", "FROM", "city", "WHERE", "state_name", "IN", "(", "SELECT", "state_name", "FROM", "highlow", "WHERE", "highest_elevation", "=", "(", "SELECT", "MAX", "(", "highest_elevation", ")", "FROM", "highlow", ")", ")", ";" ], "query_toks_no_value": [ "select", "city_name", "from", "city", "where", "state_name", "in", "(", "select", "state_name", "from", "highlow", "where", "highest_elevation", "=", "(", "select", "max", "(", "highest_elevation", ")", "from", "highlow", ")", ")" ], "question": "quais são as cidades do estado com o ponto mais alto", "question_toks": [ "quais", "são", "as", "cidades", "do", "estado", "com", "o", "ponto", "mais", "alto" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 7, false ], null ] ] ] ], "where": [ [ false, 8, [ 0, [ 0, 10, false ], null ], { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 13, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 14, false ], null ], { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 14, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT highest_point FROM highlow;", "query_toks": [ "SELECT", "highest_point", "FROM", "highlow", ";" ], "query_toks_no_value": [ "select", "highest_point", "from", "highlow" ], "question": "quais são os pontos mais altos de todos os estados", "question_toks": [ "quais", "são", "os", "pontos", "mais", "altos", "de", "todos", "os", "estados" ], "sql": { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 16, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT city_name FROM city WHERE population > 150000 AND state_name = \"kansas\";", "query_toks": [ "SELECT", "city_name", "FROM", "city", "WHERE", "population", ">", "150000", "AND", "state_name", "=", "``", "kansas", "''", ";" ], "query_toks_no_value": [ "select", "city_name", "from", "city", "where", "population", ">", "value", "and", "state_name", "=", "value" ], "question": "quais são as principais cidades de kansas", "question_toks": [ "quais", "são", "as", "principais", "cidades", "de", "kansas" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 7, false ], null ] ] ] ], "where": [ [ false, 3, [ 0, [ 0, 8, false ], null ], 150000.0, null ], "and", [ false, 2, [ 0, [ 0, 10, false ], null ], "\"kansas\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT city_name FROM city WHERE population > 150000 AND state_name = \"kansas\";", "query_toks": [ "SELECT", "city_name", "FROM", "city", "WHERE", "population", ">", "150000", "AND", "state_name", "=", "``", "kansas", "''", ";" ], "query_toks_no_value": [ "select", "city_name", "from", "city", "where", "population", ">", "value", "and", "state_name", "=", "value" ], "question": "quais são as principais cidades do estado de kansas", "question_toks": [ "quais", "são", "as", "principais", "cidades", "do", "estado", "de", "kansas" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 7, false ], null ] ] ] ], "where": [ [ false, 3, [ 0, [ 0, 8, false ], null ], 150000.0, null ], "and", [ false, 2, [ 0, [ 0, 10, false ], null ], "\"kansas\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT city_name FROM city WHERE population > 150000 AND state_name = \"kansas\";", "query_toks": [ "SELECT", "city_name", "FROM", "city", "WHERE", "population", ">", "150000", "AND", "state_name", "=", "``", "kansas", "''", ";" ], "query_toks_no_value": [ "select", "city_name", "from", "city", "where", "population", ">", "value", "and", "state_name", "=", "value" ], "question": "quais cidades principais estão localizadas em kansas", "question_toks": [ "quais", "cidades", "principais", "estão", "localizadas", "em", "kansas" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 7, false ], null ] ] ] ], "where": [ [ false, 3, [ 0, [ 0, 8, false ], null ], 150000.0, null ], "and", [ false, 2, [ 0, [ 0, 10, false ], null ], "\"kansas\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT city_name FROM city WHERE population > 150000 AND state_name = \"kansas\";", "query_toks": [ "SELECT", "city_name", "FROM", "city", "WHERE", "population", ">", "150000", "AND", "state_name", "=", "``", "kansas", "''", ";" ], "query_toks_no_value": [ "select", "city_name", "from", "city", "where", "population", ">", "value", "and", "state_name", "=", "value" ], "question": "Mostre as principais cidades de kansas", "question_toks": [ "Mostre", "as", "principais", "cidades", "de", "kansas" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 7, false ], null ] ] ] ], "where": [ [ false, 3, [ 0, [ 0, 8, false ], null ], 150000.0, null ], "and", [ false, 2, [ 0, [ 0, 10, false ], null ], "\"kansas\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT city_name FROM city WHERE population > 150000 AND state_name = \"kansas\";", "query_toks": [ "SELECT", "city_name", "FROM", "city", "WHERE", "population", ">", "150000", "AND", "state_name", "=", "``", "kansas", "''", ";" ], "query_toks_no_value": [ "select", "city_name", "from", "city", "where", "population", ">", "value", "and", "state_name", "=", "value" ], "question": "quais são os nomes das principais cidades de kansas", "question_toks": [ "quais", "são", "os", "nomes", "das", "principais", "cidades", "de", "kansas" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 7, false ], null ] ] ] ], "where": [ [ false, 3, [ 0, [ 0, 8, false ], null ], 150000.0, null ], "and", [ false, 2, [ 0, [ 0, 10, false ], null ], "\"kansas\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT city_name FROM city WHERE population > 150000 AND state_name = \"kansas\";", "query_toks": [ "SELECT", "city_name", "FROM", "city", "WHERE", "population", ">", "150000", "AND", "state_name", "=", "``", "kansas", "''", ";" ], "query_toks_no_value": [ "select", "city_name", "from", "city", "where", "population", ">", "value", "and", "state_name", "=", "value" ], "question": "quais são as principais cidades do kansas", "question_toks": [ "quais", "são", "as", "principais", "cidades", "do", "kansas" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 7, false ], null ] ] ] ], "where": [ [ false, 3, [ 0, [ 0, 8, false ], null ], 150000.0, null ], "and", [ false, 2, [ 0, [ 0, 10, false ], null ], "\"kansas\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT city_name FROM city WHERE population > 150000 AND state_name = \"kansas\";", "query_toks": [ "SELECT", "city_name", "FROM", "city", "WHERE", "population", ">", "150000", "AND", "state_name", "=", "``", "kansas", "''", ";" ], "query_toks_no_value": [ "select", "city_name", "from", "city", "where", "population", ">", "value", "and", "state_name", "=", "value" ], "question": "quais são as principais cidades do kansas", "question_toks": [ "quais", "são", "as", "principais", "cidades", "do", "kansas" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 7, false ], null ] ] ] ], "where": [ [ false, 3, [ 0, [ 0, 8, false ], null ], 150000.0, null ], "and", [ false, 2, [ 0, [ 0, 10, false ], null ], "\"kansas\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT city_name FROM city WHERE population > 150000 AND state_name IN ( SELECT traverse FROM river WHERE LENGTH > 750 AND river_name = \"mississippi\" );", "query_toks": [ "SELECT", "city_name", "FROM", "city", "WHERE", "population", ">", "150000", "AND", "state_name", "IN", "(", "SELECT", "traverse", "FROM", "river", "WHERE", "LENGTH", ">", "750", "AND", "river_name", "=", "``", "mississippi", "''", ")", ";" ], "query_toks_no_value": [ "select", "city_name", "from", "city", "where", "population", ">", "value", "and", "state_name", "in", "(", "select", "traverse", "from", "river", "where", "length", ">", "value", "and", "river_name", "=", "value", ")" ], "question": "quais são as principais cidades dos estados por onde passa o Mississippi", "question_toks": [ "quais", "são", "as", "principais", "cidades", "dos", "estados", "por", "onde", "passa", "o", "Mississippi" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 7, false ], null ] ] ] ], "where": [ [ false, 3, [ 0, [ 0, 8, false ], null ], 150000.0, null ], "and", [ false, 8, [ 0, [ 0, 10, false ], null ], { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 29, false ], null ] ] ] ], "where": [ [ false, 3, [ 0, [ 0, 27, false ], null ], 750.0, null ], "and", [ false, 2, [ 0, [ 0, 26, false ], null ], "\"mississippi\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT city_name FROM city WHERE population > 150000;", "query_toks": [ "SELECT", "city_name", "FROM", "city", "WHERE", "population", ">", "150000", ";" ], "query_toks_no_value": [ "select", "city_name", "from", "city", "where", "population", ">", "value" ], "question": "quais são as principais cidades dos eua", "question_toks": [ "quais", "são", "as", "principais", "cidades", "dos", "eua" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 7, false ], null ] ] ] ], "where": [ [ false, 3, [ 0, [ 0, 8, false ], null ], 150000.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT city_name FROM city WHERE population > 150000;", "query_toks": [ "SELECT", "city_name", "FROM", "city", "WHERE", "population", ">", "150000", ";" ], "query_toks_no_value": [ "select", "city_name", "from", "city", "where", "population", ">", "value" ], "question": "quais são as principais cidades dos estados unidos", "question_toks": [ "quais", "são", "as", "principais", "cidades", "dos", "estados", "unidos" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 7, false ], null ] ] ] ], "where": [ [ false, 3, [ 0, [ 0, 8, false ], null ], 150000.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT city_name FROM city WHERE population > 150000;", "query_toks": [ "SELECT", "city_name", "FROM", "city", "WHERE", "population", ">", "150000", ";" ], "query_toks_no_value": [ "select", "city_name", "from", "city", "where", "population", ">", "value" ], "question": "quais são as principais cidades dos eua", "question_toks": [ "quais", "são", "as", "principais", "cidades", "dos", "eua" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 7, false ], null ] ] ] ], "where": [ [ false, 3, [ 0, [ 0, 8, false ], null ], 150000.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT density FROM state;", "query_toks": [ "SELECT", "density", "FROM", "state", ";" ], "query_toks_no_value": [ "select", "density", "from", "state" ], "question": "quais são as densidades populacionais de cada estado americano", "question_toks": [ "quais", "são", "as", "densidades", "populacionais", "de", "cada", "estado", "americano" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 6, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT population FROM state WHERE state_name IN ( SELECT traverse FROM river WHERE river_name = \"mississippi\" );", "query_toks": [ "SELECT", "population", "FROM", "state", "WHERE", "state_name", "IN", "(", "SELECT", "traverse", "FROM", "river", "WHERE", "river_name", "=", "``", "mississippi", "''", ")", ";" ], "query_toks_no_value": [ "select", "population", "from", "state", "where", "state_name", "in", "(", "select", "traverse", "from", "river", "where", "river_name", "=", "value", ")" ], "question": "quais são as populações dos estados através dos quais o rio mississippi corre", "question_toks": [ "quais", "são", "as", "populações", "dos", "estados", "através", "dos", "quais", "o", "rio", "mississippi", "corre" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 2, false ], null ] ] ] ], "where": [ [ false, 8, [ 0, [ 0, 1, false ], null ], { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 29, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 26, false ], null ], "\"mississippi\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT population FROM state WHERE state_name IN ( SELECT traverse FROM river WHERE river_name = \"mississippi\" );", "query_toks": [ "SELECT", "population", "FROM", "state", "WHERE", "state_name", "IN", "(", "SELECT", "traverse", "FROM", "river", "WHERE", "river_name", "=", "``", "mississippi", "''", ")", ";" ], "query_toks_no_value": [ "select", "population", "from", "state", "where", "state_name", "in", "(", "select", "traverse", "from", "river", "where", "river_name", "=", "value", ")" ], "question": "quais são as populações dos estados por onde passa o Mississippi", "question_toks": [ "quais", "são", "as", "populações", "dos", "estados", "por", "onde", "passa", "o", "Mississippi" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 2, false ], null ] ] ] ], "where": [ [ false, 8, [ 0, [ 0, 1, false ], null ], { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 29, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 26, false ], null ], "\"mississippi\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT population FROM state WHERE state_name IN ( SELECT traverse FROM river WHERE river_name = \"mississippi\" );", "query_toks": [ "SELECT", "population", "FROM", "state", "WHERE", "state_name", "IN", "(", "SELECT", "traverse", "FROM", "river", "WHERE", "river_name", "=", "``", "mississippi", "''", ")", ";" ], "query_toks_no_value": [ "select", "population", "from", "state", "where", "state_name", "in", "(", "select", "traverse", "from", "river", "where", "river_name", "=", "value", ")" ], "question": "quais são as populações dos estados por onde passa o Mississippi", "question_toks": [ "quais", "são", "as", "populações", "dos", "estados", "por", "onde", "passa", "o", "Mississippi" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 2, false ], null ] ] ] ], "where": [ [ false, 8, [ 0, [ 0, 1, false ], null ], { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 29, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 26, false ], null ], "\"mississippi\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT population FROM state WHERE state_name IN ( SELECT traverse FROM river WHERE river_name = \"mississippi\" );", "query_toks": [ "SELECT", "population", "FROM", "state", "WHERE", "state_name", "IN", "(", "SELECT", "traverse", "FROM", "river", "WHERE", "river_name", "=", "``", "mississippi", "''", ")", ";" ], "query_toks_no_value": [ "select", "population", "from", "state", "where", "state_name", "in", "(", "select", "traverse", "from", "river", "where", "river_name", "=", "value", ")" ], "question": "quais são as populações dos estados através dos quais o rio mississippi corre", "question_toks": [ "quais", "são", "as", "populações", "dos", "estados", "através", "dos", "quais", "o", "rio", "mississippi", "corre" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 2, false ], null ] ] ] ], "where": [ [ false, 8, [ 0, [ 0, 1, false ], null ], { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 29, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 26, false ], null ], "\"mississippi\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT population FROM state WHERE state_name IN ( SELECT traverse FROM river WHERE river_name = \"mississippi\" );", "query_toks": [ "SELECT", "population", "FROM", "state", "WHERE", "state_name", "IN", "(", "SELECT", "traverse", "FROM", "river", "WHERE", "river_name", "=", "``", "mississippi", "''", ")", ";" ], "query_toks_no_value": [ "select", "population", "from", "state", "where", "state_name", "in", "(", "select", "traverse", "from", "river", "where", "river_name", "=", "value", ")" ], "question": "quais são as populações dos estados através dos quais o Mississippi corre", "question_toks": [ "quais", "são", "as", "populações", "dos", "estados", "através", "dos", "quais", "o", "Mississippi", "corre" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 2, false ], null ] ] ] ], "where": [ [ false, 8, [ 0, [ 0, 1, false ], null ], { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 29, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 26, false ], null ], "\"mississippi\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT population FROM state WHERE state_name IN ( SELECT traverse FROM river WHERE river_name = \"mississippi\" );", "query_toks": [ "SELECT", "population", "FROM", "state", "WHERE", "state_name", "IN", "(", "SELECT", "traverse", "FROM", "river", "WHERE", "river_name", "=", "``", "mississippi", "''", ")", ";" ], "query_toks_no_value": [ "select", "population", "from", "state", "where", "state_name", "in", "(", "select", "traverse", "from", "river", "where", "river_name", "=", "value", ")" ], "question": "quais são as populações dos estados através dos quais o rio mississippi corre", "question_toks": [ "quais", "são", "as", "populações", "dos", "estados", "através", "dos", "quais", "o", "rio", "mississippi", "corre" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 2, false ], null ] ] ] ], "where": [ [ false, 8, [ 0, [ 0, 1, false ], null ], { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 29, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 26, false ], null ], "\"mississippi\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT population FROM state WHERE state_name IN ( SELECT traverse FROM river WHERE river_name = \"mississippi\" );", "query_toks": [ "SELECT", "population", "FROM", "state", "WHERE", "state_name", "IN", "(", "SELECT", "traverse", "FROM", "river", "WHERE", "river_name", "=", "``", "mississippi", "''", ")", ";" ], "query_toks_no_value": [ "select", "population", "from", "state", "where", "state_name", "in", "(", "select", "traverse", "from", "river", "where", "river_name", "=", "value", ")" ], "question": "quais são as populações dos estados através dos quais o Mississippi corre", "question_toks": [ "quais", "são", "as", "populações", "dos", "estados", "através", "dos", "quais", "o", "Mississippi", "corre" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 2, false ], null ] ] ] ], "where": [ [ false, 8, [ 0, [ 0, 1, false ], null ], { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 29, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 26, false ], null ], "\"mississippi\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT population FROM state WHERE state_name IN ( SELECT traverse FROM river WHERE river_name = \"mississippi\" );", "query_toks": [ "SELECT", "population", "FROM", "state", "WHERE", "state_name", "IN", "(", "SELECT", "traverse", "FROM", "river", "WHERE", "river_name", "=", "``", "mississippi", "''", ")", ";" ], "query_toks_no_value": [ "select", "population", "from", "state", "where", "state_name", "in", "(", "select", "traverse", "from", "river", "where", "river_name", "=", "value", ")" ], "question": "quais são as populações dos estados através dos quais o rio mississippi corre", "question_toks": [ "quais", "são", "as", "populações", "dos", "estados", "através", "dos", "quais", "o", "rio", "mississippi", "corre" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 2, false ], null ] ] ] ], "where": [ [ false, 8, [ 0, [ 0, 1, false ], null ], { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 29, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 26, false ], null ], "\"mississippi\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT t2.population FROM state AS t2 JOIN border_info AS t1 ON t2.state_name = t1.border WHERE t1.state_name = \"texas\";", "query_toks": [ "SELECT", "t2.population", "FROM", "state", "AS", "t2", "JOIN", "border_info", "AS", "t1", "ON", "t2.state_name", "=", "t1.border", "WHERE", "t1.state_name", "=", "``", "texas", "''", ";" ], "query_toks_no_value": [ "select", "t2", ".", "population", "from", "state", "as", "t2", "join", "border_info", "as", "t1", "on", "t2", ".", "state_name", "=", "t1", ".", "border", "where", "t1", ".", "state_name", "=", "value" ], "question": "quais são as populações dos estados que fazem fronteira com o texas", "question_toks": [ "quais", "são", "as", "populações", "dos", "estados", "que", "fazem", "fronteira", "com", "o", "texas" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 12, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 2, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 11, false ], null ], "\"texas\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT population FROM city WHERE population > 150000 AND state_name = \"wisconsin\";", "query_toks": [ "SELECT", "population", "FROM", "city", "WHERE", "population", ">", "150000", "AND", "state_name", "=", "``", "wisconsin", "''", ";" ], "query_toks_no_value": [ "select", "population", "from", "city", "where", "population", ">", "value", "and", "state_name", "=", "value" ], "question": "quais são as populações das principais cidades de Wisconsin", "question_toks": [ "quais", "são", "as", "populações", "das", "principais", "cidades", "de", "Wisconsin" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 8, false ], null ] ] ] ], "where": [ [ false, 3, [ 0, [ 0, 8, false ], null ], 150000.0, null ], "and", [ false, 2, [ 0, [ 0, 10, false ], null ], "\"wisconsin\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT population FROM city WHERE population > 150000 AND state_name = \"wisconsin\";", "query_toks": [ "SELECT", "population", "FROM", "city", "WHERE", "population", ">", "150000", "AND", "state_name", "=", "``", "wisconsin", "''", ";" ], "query_toks_no_value": [ "select", "population", "from", "city", "where", "population", ">", "value", "and", "state_name", "=", "value" ], "question": "quais são as populações de todas as principais cidades de Wisconsin", "question_toks": [ "quais", "são", "as", "populações", "de", "todas", "as", "principais", "cidades", "de", "Wisconsin" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 8, false ], null ] ] ] ], "where": [ [ false, 3, [ 0, [ 0, 8, false ], null ], 150000.0, null ], "and", [ false, 2, [ 0, [ 0, 10, false ], null ], "\"wisconsin\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT population FROM city WHERE population > 150000 AND state_name = \"wisconsin\";", "query_toks": [ "SELECT", "population", "FROM", "city", "WHERE", "population", ">", "150000", "AND", "state_name", "=", "``", "wisconsin", "''", ";" ], "query_toks_no_value": [ "select", "population", "from", "city", "where", "population", ">", "value", "and", "state_name", "=", "value" ], "question": "qual é a população das principais cidades de Wisconsin", "question_toks": [ "qual", "é", "a", "população", "das", "principais", "cidades", "de", "Wisconsin" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 8, false ], null ] ] ] ], "where": [ [ false, 3, [ 0, [ 0, 8, false ], null ], 150000.0, null ], "and", [ false, 2, [ 0, [ 0, 10, false ], null ], "\"wisconsin\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT city_name FROM city WHERE population = ( SELECT MAX ( population ) FROM city );", "query_toks": [ "SELECT", "city_name", "FROM", "city", "WHERE", "population", "=", "(", "SELECT", "MAX", "(", "population", ")", "FROM", "city", ")", ";" ], "query_toks_no_value": [ "select", "city_name", "from", "city", "where", "population", "=", "(", "select", "max", "(", "population", ")", "from", "city", ")" ], "question": "qual cidade tem mais gente", "question_toks": [ "qual", "cidade", "tem", "mais", "gente" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 7, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 8, false ], null ], { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 8, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT city_name FROM city WHERE population = ( SELECT MAX ( population ) FROM city );", "query_toks": [ "SELECT", "city_name", "FROM", "city", "WHERE", "population", "=", "(", "SELECT", "MAX", "(", "population", ")", "FROM", "city", ")", ";" ], "query_toks_no_value": [ "select", "city_name", "from", "city", "where", "population", "=", "(", "select", "max", "(", "population", ")", "from", "city", ")" ], "question": "qual cidade nos estados unidos tem a maior densidade populacional", "question_toks": [ "qual", "cidade", "nos", "estados", "unidos", "tem", "a", "maior", "densidade", "populacional" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 7, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 8, false ], null ], { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 8, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT city_name FROM city WHERE population = ( SELECT MAX ( population ) FROM city );", "query_toks": [ "SELECT", "city_name", "FROM", "city", "WHERE", "population", "=", "(", "SELECT", "MAX", "(", "population", ")", "FROM", "city", ")", ";" ], "query_toks_no_value": [ "select", "city_name", "from", "city", "where", "population", "=", "(", "select", "max", "(", "population", ")", "from", "city", ")" ], "question": "qual é a cidade mais populosa", "question_toks": [ "qual", "é", "a", "cidade", "mais", "populosa" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 7, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 8, false ], null ], { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 8, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT city_name FROM city WHERE population = ( SELECT MAX ( population ) FROM city );", "query_toks": [ "SELECT", "city_name", "FROM", "city", "WHERE", "population", "=", "(", "SELECT", "MAX", "(", "population", ")", "FROM", "city", ")", ";" ], "query_toks_no_value": [ "select", "city_name", "from", "city", "where", "population", "=", "(", "select", "max", "(", "population", ")", "from", "city", ")" ], "question": "qual cidade nos EUA tem a maior densidade populacional", "question_toks": [ "qual", "cidade", "nos", "EUA", "tem", "a", "maior", "densidade", "populacional" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 7, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 8, false ], null ], { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 8, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT city_name FROM city WHERE population = ( SELECT MAX ( population ) FROM city );", "query_toks": [ "SELECT", "city_name", "FROM", "city", "WHERE", "population", "=", "(", "SELECT", "MAX", "(", "population", ")", "FROM", "city", ")", ";" ], "query_toks_no_value": [ "select", "city_name", "from", "city", "where", "population", "=", "(", "select", "max", "(", "population", ")", "from", "city", ")" ], "question": "qual é a maior cidade dos eua", "question_toks": [ "qual", "é", "a", "maior", "cidade", "dos", "eua" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 7, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 8, false ], null ], { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 8, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT city_name FROM city WHERE population = ( SELECT MAX ( population ) FROM city );", "query_toks": [ "SELECT", "city_name", "FROM", "city", "WHERE", "population", "=", "(", "SELECT", "MAX", "(", "population", ")", "FROM", "city", ")", ";" ], "query_toks_no_value": [ "select", "city_name", "from", "city", "where", "population", "=", "(", "select", "max", "(", "population", ")", "from", "city", ")" ], "question": "qual é a maior cidade", "question_toks": [ "qual", "é", "a", "maior", "cidade" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 7, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 8, false ], null ], { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 8, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT city_name FROM city WHERE population = ( SELECT MAX ( population ) FROM city );", "query_toks": [ "SELECT", "city_name", "FROM", "city", "WHERE", "population", "=", "(", "SELECT", "MAX", "(", "population", ")", "FROM", "city", ")", ";" ], "query_toks_no_value": [ "select", "city_name", "from", "city", "where", "population", "=", "(", "select", "max", "(", "population", ")", "from", "city", ")" ], "question": "qual cidade tem a maior população", "question_toks": [ "qual", "cidade", "tem", "a", "maior", "população" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 7, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 8, false ], null ], { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 8, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT city_name FROM city WHERE population = ( SELECT MAX ( population ) FROM city );", "query_toks": [ "SELECT", "city_name", "FROM", "city", "WHERE", "population", "=", "(", "SELECT", "MAX", "(", "population", ")", "FROM", "city", ")", ";" ], "query_toks_no_value": [ "select", "city_name", "from", "city", "where", "population", "=", "(", "select", "max", "(", "population", ")", "from", "city", ")" ], "question": "qual é a maior cidade nos EUA", "question_toks": [ "qual", "é", "a", "maior", "cidade", "nos", "EUA" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 7, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 8, false ], null ], { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 8, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT city_name FROM city WHERE population = ( SELECT MAX ( population ) FROM city );", "query_toks": [ "SELECT", "city_name", "FROM", "city", "WHERE", "population", "=", "(", "SELECT", "MAX", "(", "population", ")", "FROM", "city", ")", ";" ], "query_toks_no_value": [ "select", "city_name", "from", "city", "where", "population", "=", "(", "select", "max", "(", "population", ")", "from", "city", ")" ], "question": "qual é a maior cidade dos eua", "question_toks": [ "qual", "é", "a", "maior", "cidade", "dos", "eua" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 7, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 8, false ], null ], { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 8, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT city_name FROM city WHERE population = ( SELECT MAX ( t1.population ) FROM state AS t2 JOIN city AS t1 ON t2.capital = t1.city_name );", "query_toks": [ "SELECT", "city_name", "FROM", "city", "WHERE", "population", "=", "(", "SELECT", "MAX", "(", "t1.population", ")", "FROM", "state", "AS", "t2", "JOIN", "city", "AS", "t1", "ON", "t2.capital", "=", "t1.city_name", ")", ";" ], "query_toks_no_value": [ "select", "city_name", "from", "city", "where", "population", "=", "(", "select", "max", "(", "t1", ".", "population", ")", "from", "state", "as", "t2", "join", "city", "as", "t1", "on", "t2", ".", "capital", "=", "t1", ".", "city_name", ")" ], "question": "qual é a maior capital dos EUA", "question_toks": [ "qual", "é", "a", "maior", "capital", "dos", "EUA" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 7, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 8, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 5, false ], null ], [ 0, 7, false ], null ] ] }, "select": [ false, [ [ 1, [ 0, [ 0, 8, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT city_name FROM city WHERE population = ( SELECT MAX ( t1.population ) FROM state AS t2 JOIN city AS t1 ON t2.capital = t1.city_name );", "query_toks": [ "SELECT", "city_name", "FROM", "city", "WHERE", "population", "=", "(", "SELECT", "MAX", "(", "t1.population", ")", "FROM", "state", "AS", "t2", "JOIN", "city", "AS", "t1", "ON", "t2.capital", "=", "t1.city_name", ")", ";" ], "query_toks_no_value": [ "select", "city_name", "from", "city", "where", "population", "=", "(", "select", "max", "(", "t1", ".", "population", ")", "from", "state", "as", "t2", "join", "city", "as", "t1", "on", "t2", ".", "capital", "=", "t1", ".", "city_name", ")" ], "question": "qual é a maior capital dos eua", "question_toks": [ "qual", "é", "a", "maior", "capital", "dos", "eua" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 7, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 8, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 5, false ], null ], [ 0, 7, false ], null ] ] }, "select": [ false, [ [ 1, [ 0, [ 0, 8, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT city_name FROM city WHERE population = ( SELECT MAX ( t1.population ) FROM state AS t2 JOIN city AS t1 ON t2.capital = t1.city_name );", "query_toks": [ "SELECT", "city_name", "FROM", "city", "WHERE", "population", "=", "(", "SELECT", "MAX", "(", "t1.population", ")", "FROM", "state", "AS", "t2", "JOIN", "city", "AS", "t1", "ON", "t2.capital", "=", "t1.city_name", ")", ";" ], "query_toks_no_value": [ "select", "city_name", "from", "city", "where", "population", "=", "(", "select", "max", "(", "t1", ".", "population", ")", "from", "state", "as", "t2", "join", "city", "as", "t1", "on", "t2", ".", "capital", "=", "t1", ".", "city_name", ")" ], "question": "qual é a maior capital do estado em população", "question_toks": [ "qual", "é", "a", "maior", "capital", "do", "estado", "em", "população" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 7, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 8, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 5, false ], null ], [ 0, 7, false ], null ] ] }, "select": [ false, [ [ 1, [ 0, [ 0, 8, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT city_name FROM city WHERE population = ( SELECT MAX ( t1.population ) FROM state AS t2 JOIN city AS t1 ON t2.capital = t1.city_name );", "query_toks": [ "SELECT", "city_name", "FROM", "city", "WHERE", "population", "=", "(", "SELECT", "MAX", "(", "t1.population", ")", "FROM", "state", "AS", "t2", "JOIN", "city", "AS", "t1", "ON", "t2.capital", "=", "t1.city_name", ")", ";" ], "query_toks_no_value": [ "select", "city_name", "from", "city", "where", "population", "=", "(", "select", "max", "(", "t1", ".", "population", ")", "from", "state", "as", "t2", "join", "city", "as", "t1", "on", "t2", ".", "capital", "=", "t1", ".", "city_name", ")" ], "question": "qual é a maior capital", "question_toks": [ "qual", "é", "a", "maior", "capital" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 7, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 8, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 5, false ], null ], [ 0, 7, false ], null ] ] }, "select": [ false, [ [ 1, [ 0, [ 0, 8, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT city_name FROM city WHERE population = ( SELECT MAX ( t1.population ) FROM state AS t2 JOIN city AS t1 ON t2.capital = t1.city_name );", "query_toks": [ "SELECT", "city_name", "FROM", "city", "WHERE", "population", "=", "(", "SELECT", "MAX", "(", "t1.population", ")", "FROM", "state", "AS", "t2", "JOIN", "city", "AS", "t1", "ON", "t2.capital", "=", "t1.city_name", ")", ";" ], "query_toks_no_value": [ "select", "city_name", "from", "city", "where", "population", "=", "(", "select", "max", "(", "t1", ".", "population", ")", "from", "state", "as", "t2", "join", "city", "as", "t1", "on", "t2", ".", "capital", "=", "t1", ".", "city_name", ")" ], "question": "qual é a capital mais populosa dos eua", "question_toks": [ "qual", "é", "a", "capital", "mais", "populosa", "dos", "eua" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 7, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 8, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 5, false ], null ], [ 0, 7, false ], null ] ] }, "select": [ false, [ [ 1, [ 0, [ 0, 8, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT city_name FROM city WHERE population = ( SELECT MAX ( t1.population ) FROM state AS t2 JOIN city AS t1 ON t2.capital = t1.city_name );", "query_toks": [ "SELECT", "city_name", "FROM", "city", "WHERE", "population", "=", "(", "SELECT", "MAX", "(", "t1.population", ")", "FROM", "state", "AS", "t2", "JOIN", "city", "AS", "t1", "ON", "t2.capital", "=", "t1.city_name", ")", ";" ], "query_toks_no_value": [ "select", "city_name", "from", "city", "where", "population", "=", "(", "select", "max", "(", "t1", ".", "population", ")", "from", "state", "as", "t2", "join", "city", "as", "t1", "on", "t2", ".", "capital", "=", "t1", ".", "city_name", ")" ], "question": "qual capital é a maior nos EUA", "question_toks": [ "qual", "capital", "é", "a", "maior", "nos", "EUA" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 7, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 8, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 5, false ], null ], [ 0, 7, false ], null ] ] }, "select": [ false, [ [ 1, [ 0, [ 0, 8, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT city_name FROM city WHERE population = ( SELECT MAX ( t1.population ) FROM state AS t2 JOIN city AS t1 ON t2.capital = t1.city_name );", "query_toks": [ "SELECT", "city_name", "FROM", "city", "WHERE", "population", "=", "(", "SELECT", "MAX", "(", "t1.population", ")", "FROM", "state", "AS", "t2", "JOIN", "city", "AS", "t1", "ON", "t2.capital", "=", "t1.city_name", ")", ";" ], "query_toks_no_value": [ "select", "city_name", "from", "city", "where", "population", "=", "(", "select", "max", "(", "t1", ".", "population", ")", "from", "state", "as", "t2", "join", "city", "as", "t1", "on", "t2", ".", "capital", "=", "t1", ".", "city_name", ")" ], "question": "qual capital tem a maior população", "question_toks": [ "qual", "capital", "tem", "a", "maior", "população" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 7, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 8, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 5, false ], null ], [ 0, 7, false ], null ] ] }, "select": [ false, [ [ 1, [ 0, [ 0, 8, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT city_name FROM city WHERE population = ( SELECT MAX ( t1.population ) FROM state AS t2 JOIN city AS t1 ON t2.capital = t1.city_name );", "query_toks": [ "SELECT", "city_name", "FROM", "city", "WHERE", "population", "=", "(", "SELECT", "MAX", "(", "t1.population", ")", "FROM", "state", "AS", "t2", "JOIN", "city", "AS", "t1", "ON", "t2.capital", "=", "t1.city_name", ")", ";" ], "query_toks_no_value": [ "select", "city_name", "from", "city", "where", "population", "=", "(", "select", "max", "(", "t1", ".", "population", ")", "from", "state", "as", "t2", "join", "city", "as", "t1", "on", "t2", ".", "capital", "=", "t1", ".", "city_name", ")" ], "question": "qual é a maior capital", "question_toks": [ "qual", "é", "a", "maior", "capital" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 7, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 8, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 5, false ], null ], [ 0, 7, false ], null ] ] }, "select": [ false, [ [ 1, [ 0, [ 0, 8, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT t2.capital FROM state AS t2 JOIN city AS t1 ON t2.state_name = t1.state_name WHERE t1.city_name = \"durham\";", "query_toks": [ "SELECT", "t2.capital", "FROM", "state", "AS", "t2", "JOIN", "city", "AS", "t1", "ON", "t2.state_name", "=", "t1.state_name", "WHERE", "t1.city_name", "=", "``", "durham", "''", ";" ], "query_toks_no_value": [ "select", "t2", ".", "capital", "from", "state", "as", "t2", "join", "city", "as", "t1", "on", "t2", ".", "state_name", "=", "t1", ".", "state_name", "where", "t1", ".", "city_name", "=", "value" ], "question": "qual é a capital dos estados que têm cidades chamadas durham", "question_toks": [ "qual", "é", "a", "capital", "dos", "estados", "que", "têm", "cidades", "chamadas", "durham" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 10, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 7, false ], null ], "\"durham\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT capital FROM state WHERE area = ( SELECT MIN ( area ) FROM state );", "query_toks": [ "SELECT", "capital", "FROM", "state", "WHERE", "area", "=", "(", "SELECT", "MIN", "(", "area", ")", "FROM", "state", ")", ";" ], "query_toks_no_value": [ "select", "capital", "from", "state", "where", "area", "=", "(", "select", "min", "(", "area", ")", "from", "state", ")" ], "question": "qual é a capital do menor estado", "question_toks": [ "qual", "é", "a", "capital", "do", "menor", "estado" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 2, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT DISTINCT capital FROM state WHERE density = ( SELECT MAX ( density ) FROM state );", "query_toks": [ "SELECT", "DISTINCT", "capital", "FROM", "state", "WHERE", "density", "=", "(", "SELECT", "MAX", "(", "density", ")", "FROM", "state", ")", ";" ], "query_toks_no_value": [ "select", "distinct", "capital", "from", "state", "where", "density", "=", "(", "select", "max", "(", "density", ")", "from", "state", ")" ], "question": "qual é a capital do estado com maior densidade populacional", "question_toks": [ "qual", "é", "a", "capital", "do", "estado", "com", "maior", "densidade", "populacional" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ true, [ [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 6, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 6, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT capital FROM state WHERE population = ( SELECT MAX ( population ) FROM state );", "query_toks": [ "SELECT", "capital", "FROM", "state", "WHERE", "population", "=", "(", "SELECT", "MAX", "(", "population", ")", "FROM", "state", ")", ";" ], "query_toks_no_value": [ "select", "capital", "from", "state", "where", "population", "=", "(", "select", "max", "(", "population", ")", "from", "state", ")" ], "question": "qual é a capital do estado com maior população", "question_toks": [ "qual", "é", "a", "capital", "do", "estado", "com", "maior", "população" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 2, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 2, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT capital FROM state WHERE population = ( SELECT MAX ( population ) FROM state );", "query_toks": [ "SELECT", "capital", "FROM", "state", "WHERE", "population", "=", "(", "SELECT", "MAX", "(", "population", ")", "FROM", "state", ")", ";" ], "query_toks_no_value": [ "select", "capital", "from", "state", "where", "population", "=", "(", "select", "max", "(", "population", ")", "from", "state", ")" ], "question": "qual é a capital do estado com mais habitantes", "question_toks": [ "qual", "é", "a", "capital", "do", "estado", "com", "mais", "habitantes" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 2, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 2, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT capital FROM state WHERE state_name IN ( SELECT traverse FROM river WHERE LENGTH = ( SELECT MAX ( LENGTH ) FROM river ) );", "query_toks": [ "SELECT", "capital", "FROM", "state", "WHERE", "state_name", "IN", "(", "SELECT", "traverse", "FROM", "river", "WHERE", "LENGTH", "=", "(", "SELECT", "MAX", "(", "LENGTH", ")", "FROM", "river", ")", ")", ";" ], "query_toks_no_value": [ "select", "capital", "from", "state", "where", "state_name", "in", "(", "select", "traverse", "from", "river", "where", "length", "=", "(", "select", "max", "(", "length", ")", "from", "river", ")", ")" ], "question": "qual é a capital do estado com o rio mais longo", "question_toks": [ "qual", "é", "a", "capital", "do", "estado", "com", "o", "rio", "mais", "longo" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 8, [ 0, [ 0, 1, false ], null ], { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 29, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 27, false ], null ], { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 27, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT SUM ( area ) FROM state;", "query_toks": [ "SELECT", "SUM", "(", "area", ")", "FROM", "state", ";" ], "query_toks_no_value": [ "select", "sum", "(", "area", ")", "from", "state" ], "question": "qual é a área combinada de todos os 50 estados", "question_toks": [ "qual", "é", "a", "área", "combinada", "de", "todos", "os", "50", "estados" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 4, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT SUM ( area ) FROM state;", "query_toks": [ "SELECT", "SUM", "(", "area", ")", "FROM", "state", ";" ], "query_toks_no_value": [ "select", "sum", "(", "area", ")", "from", "state" ], "question": "qual é a área de todos os estados combinados", "question_toks": [ "qual", "é", "a", "área", "de", "todos", "os", "estados", "combinados" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 4, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT SUM ( area ) FROM state;", "query_toks": [ "SELECT", "SUM", "(", "area", ")", "FROM", "state", ";" ], "query_toks_no_value": [ "select", "sum", "(", "area", ")", "from", "state" ], "question": "quantos quilômetros quadrados nos EUA", "question_toks": [ "quantos", "quilômetros", "quadrados", "nos", "EUA" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 4, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT SUM ( area ) FROM state;", "query_toks": [ "SELECT", "SUM", "(", "area", ")", "FROM", "state", ";" ], "query_toks_no_value": [ "select", "sum", "(", "area", ")", "from", "state" ], "question": "qual é a área total dos eua", "question_toks": [ "qual", "é", "a", "área", "total", "dos", "eua" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 4, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT density FROM state WHERE state_name = \"wyoming\";", "query_toks": [ "SELECT", "density", "FROM", "state", "WHERE", "state_name", "=", "``", "wyoming", "''", ";" ], "query_toks_no_value": [ "select", "density", "from", "state", "where", "state_name", "=", "value" ], "question": "qual é a densidade do Wyoming", "question_toks": [ "qual", "é", "a", "densidade", "do", "Wyoming" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 6, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 1, false ], null ], "\"wyoming\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT density FROM state WHERE state_name = \"wyoming\";", "query_toks": [ "SELECT", "density", "FROM", "state", "WHERE", "state_name", "=", "``", "wyoming", "''", ";" ], "query_toks_no_value": [ "select", "density", "from", "state", "where", "state_name", "=", "value" ], "question": "qual é a densidade populacional de Wyoming", "question_toks": [ "qual", "é", "a", "densidade", "populacional", "de", "Wyoming" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 6, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 1, false ], null ], "\"wyoming\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT density FROM state WHERE state_name = \"wyoming\";", "query_toks": [ "SELECT", "density", "FROM", "state", "WHERE", "state_name", "=", "``", "wyoming", "''", ";" ], "query_toks_no_value": [ "select", "density", "from", "state", "where", "state_name", "=", "value" ], "question": "qual é a densidade de Wyoming", "question_toks": [ "qual", "é", "a", "densidade", "de", "Wyoming" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 6, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 1, false ], null ], "\"wyoming\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT mountain_name FROM mountain WHERE mountain_altitude = ( SELECT MAX ( mountain_altitude ) FROM mountain );", "query_toks": [ "SELECT", "mountain_name", "FROM", "mountain", "WHERE", "mountain_altitude", "=", "(", "SELECT", "MAX", "(", "mountain_altitude", ")", "FROM", "mountain", ")", ";" ], "query_toks_no_value": [ "select", "mountain_name", "from", "mountain", "where", "mountain_altitude", "=", "(", "select", "max", "(", "mountain_altitude", ")", "from", "mountain", ")" ], "question": "qual é a montanha mais alta nos EUA", "question_toks": [ "qual", "é", "a", "montanha", "mais", "alta", "nos", "EUA" ], "sql": { "from": { "table_units": [ [ "table_unit", 5 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 22, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 23, false ], null ], { "from": { "table_units": [ [ "table_unit", 5 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 23, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT mountain_name FROM mountain WHERE mountain_altitude = ( SELECT MAX ( mountain_altitude ) FROM mountain );", "query_toks": [ "SELECT", "mountain_name", "FROM", "mountain", "WHERE", "mountain_altitude", "=", "(", "SELECT", "MAX", "(", "mountain_altitude", ")", "FROM", "mountain", ")", ";" ], "query_toks_no_value": [ "select", "mountain_name", "from", "mountain", "where", "mountain_altitude", "=", "(", "select", "max", "(", "mountain_altitude", ")", "from", "mountain", ")" ], "question": "qual é a montanha mais alta em nós", "question_toks": [ "qual", "é", "a", "montanha", "mais", "alta", "em", "nós" ], "sql": { "from": { "table_units": [ [ "table_unit", 5 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 22, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 23, false ], null ], { "from": { "table_units": [ [ "table_unit", 5 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 23, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT mountain_name FROM mountain WHERE mountain_altitude = ( SELECT MAX ( mountain_altitude ) FROM mountain );", "query_toks": [ "SELECT", "mountain_name", "FROM", "mountain", "WHERE", "mountain_altitude", "=", "(", "SELECT", "MAX", "(", "mountain_altitude", ")", "FROM", "mountain", ")", ";" ], "query_toks_no_value": [ "select", "mountain_name", "from", "mountain", "where", "mountain_altitude", "=", "(", "select", "max", "(", "mountain_altitude", ")", "from", "mountain", ")" ], "question": "qual é a montanha mais alta da américa", "question_toks": [ "qual", "é", "a", "montanha", "mais", "alta", "da", "américa" ], "sql": { "from": { "table_units": [ [ "table_unit", 5 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 22, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 23, false ], null ], { "from": { "table_units": [ [ "table_unit", 5 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 23, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT mountain_name FROM mountain WHERE mountain_altitude = ( SELECT MAX ( mountain_altitude ) FROM mountain );", "query_toks": [ "SELECT", "mountain_name", "FROM", "mountain", "WHERE", "mountain_altitude", "=", "(", "SELECT", "MAX", "(", "mountain_altitude", ")", "FROM", "mountain", ")", ";" ], "query_toks_no_value": [ "select", "mountain_name", "from", "mountain", "where", "mountain_altitude", "=", "(", "select", "max", "(", "mountain_altitude", ")", "from", "mountain", ")" ], "question": "qual é a montanha mais alta dos estados unidos", "question_toks": [ "qual", "é", "a", "montanha", "mais", "alta", "dos", "estados", "unidos" ], "sql": { "from": { "table_units": [ [ "table_unit", 5 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 22, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 23, false ], null ], { "from": { "table_units": [ [ "table_unit", 5 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 23, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT highest_point FROM highlow WHERE state_name IN ( SELECT state_name FROM state WHERE capital = \"des moines\" );", "query_toks": [ "SELECT", "highest_point", "FROM", "highlow", "WHERE", "state_name", "IN", "(", "SELECT", "state_name", "FROM", "state", "WHERE", "capital", "=", "``", "des", "moines", "''", ")", ";" ], "query_toks_no_value": [ "select", "highest_point", "from", "highlow", "where", "state_name", "in", "(", "select", "state_name", "from", "state", "where", "capital", "=", "value", ")" ], "question": "qual é o ponto mais alto do estado com capital des moines", "question_toks": [ "qual", "é", "o", "ponto", "mais", "alto", "do", "estado", "com", "capital", "des", "moines" ], "sql": { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 16, false ], null ] ] ] ], "where": [ [ false, 8, [ 0, [ 0, 13, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 1, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 5, false ], null ], "\"des moines\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT highest_point FROM highlow WHERE state_name IN ( SELECT state_name FROM state WHERE capital = \"des moines\" );", "query_toks": [ "SELECT", "highest_point", "FROM", "highlow", "WHERE", "state_name", "IN", "(", "SELECT", "state_name", "FROM", "state", "WHERE", "capital", "=", "``", "des", "moines", "''", ")", ";" ], "query_toks_no_value": [ "select", "highest_point", "from", "highlow", "where", "state_name", "in", "(", "select", "state_name", "from", "state", "where", "capital", "=", "value", ")" ], "question": "qual é o ponto mais alto do estado com a capital des moines", "question_toks": [ "qual", "é", "o", "ponto", "mais", "alto", "do", "estado", "com", "a", "capital", "des", "moines" ], "sql": { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 16, false ], null ] ] ] ], "where": [ [ false, 8, [ 0, [ 0, 13, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 1, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 5, false ], null ], "\"des moines\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT highest_point FROM highlow WHERE highest_elevation = ( SELECT MAX ( highest_elevation ) FROM highlow );", "query_toks": [ "SELECT", "highest_point", "FROM", "highlow", "WHERE", "highest_elevation", "=", "(", "SELECT", "MAX", "(", "highest_elevation", ")", "FROM", "highlow", ")", ";" ], "query_toks_no_value": [ "select", "highest_point", "from", "highlow", "where", "highest_elevation", "=", "(", "select", "max", "(", "highest_elevation", ")", "from", "highlow", ")" ], "question": "qual é o ponto mais alto dos EUA", "question_toks": [ "qual", "é", "o", "ponto", "mais", "alto", "dos", "EUA" ], "sql": { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 16, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 14, false ], null ], { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 14, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT highest_point FROM highlow WHERE highest_elevation = ( SELECT MAX ( highest_elevation ) FROM highlow );", "query_toks": [ "SELECT", "highest_point", "FROM", "highlow", "WHERE", "highest_elevation", "=", "(", "SELECT", "MAX", "(", "highest_elevation", ")", "FROM", "highlow", ")", ";" ], "query_toks_no_value": [ "select", "highest_point", "from", "highlow", "where", "highest_elevation", "=", "(", "select", "max", "(", "highest_elevation", ")", "from", "highlow", ")" ], "question": "qual é o ponto mais alto dos EUA", "question_toks": [ "qual", "é", "o", "ponto", "mais", "alto", "dos", "EUA" ], "sql": { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 16, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 14, false ], null ], { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 14, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT highest_point FROM highlow WHERE highest_elevation = ( SELECT MAX ( highest_elevation ) FROM highlow );", "query_toks": [ "SELECT", "highest_point", "FROM", "highlow", "WHERE", "highest_elevation", "=", "(", "SELECT", "MAX", "(", "highest_elevation", ")", "FROM", "highlow", ")", ";" ], "query_toks_no_value": [ "select", "highest_point", "from", "highlow", "where", "highest_elevation", "=", "(", "select", "max", "(", "highest_elevation", ")", "from", "highlow", ")" ], "question": "qual é o ponto mais alto do país", "question_toks": [ "qual", "é", "o", "ponto", "mais", "alto", "do", "país" ], "sql": { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 16, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 14, false ], null ], { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 14, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT highest_point FROM highlow WHERE highest_elevation = ( SELECT MAX ( highest_elevation ) FROM highlow );", "query_toks": [ "SELECT", "highest_point", "FROM", "highlow", "WHERE", "highest_elevation", "=", "(", "SELECT", "MAX", "(", "highest_elevation", ")", "FROM", "highlow", ")", ";" ], "query_toks_no_value": [ "select", "highest_point", "from", "highlow", "where", "highest_elevation", "=", "(", "select", "max", "(", "highest_elevation", ")", "from", "highlow", ")" ], "question": "qual é o ponto mais alto em nós", "question_toks": [ "qual", "é", "o", "ponto", "mais", "alto", "em", "nós" ], "sql": { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 16, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 14, false ], null ], { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 14, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT highest_point FROM highlow WHERE highest_elevation = ( SELECT MAX ( highest_elevation ) FROM highlow );", "query_toks": [ "SELECT", "highest_point", "FROM", "highlow", "WHERE", "highest_elevation", "=", "(", "SELECT", "MAX", "(", "highest_elevation", ")", "FROM", "highlow", ")", ";" ], "query_toks_no_value": [ "select", "highest_point", "from", "highlow", "where", "highest_elevation", "=", "(", "select", "max", "(", "highest_elevation", ")", "from", "highlow", ")" ], "question": "qual é o ponto mais alto nos estados unidos", "question_toks": [ "qual", "é", "o", "ponto", "mais", "alto", "nos", "estados", "unidos" ], "sql": { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 16, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 14, false ], null ], { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 14, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT highest_point FROM highlow WHERE state_name IN ( SELECT state_name FROM state WHERE density = ( SELECT MIN ( density ) FROM state ) );", "query_toks": [ "SELECT", "highest_point", "FROM", "highlow", "WHERE", "state_name", "IN", "(", "SELECT", "state_name", "FROM", "state", "WHERE", "density", "=", "(", "SELECT", "MIN", "(", "density", ")", "FROM", "state", ")", ")", ";" ], "query_toks_no_value": [ "select", "highest_point", "from", "highlow", "where", "state_name", "in", "(", "select", "state_name", "from", "state", "where", "density", "=", "(", "select", "min", "(", "density", ")", "from", "state", ")", ")" ], "question": "qual é o ponto mais alto do estado com a menor densidade populacional", "question_toks": [ "qual", "é", "o", "ponto", "mais", "alto", "do", "estado", "com", "a", "menor", "densidade", "populacional" ], "sql": { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 16, false ], null ] ] ] ], "where": [ [ false, 8, [ 0, [ 0, 13, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 1, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 6, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 2, [ 0, [ 0, 6, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT city_name FROM city WHERE state_name IN ( SELECT state_name FROM state WHERE state_name IN ( SELECT traverse FROM river WHERE river_name = \"mississippi\" ) AND area = ( SELECT MIN ( area ) FROM state WHERE state_name IN ( SELECT traverse FROM river WHERE river_name = \"mississippi\" ) ) ) ORDER BY population DESC LIMIT 1;", "query_toks": [ "SELECT", "city_name", "FROM", "city", "WHERE", "state_name", "IN", "(", "SELECT", "state_name", "FROM", "state", "WHERE", "state_name", "IN", "(", "SELECT", "traverse", "FROM", "river", "WHERE", "river_name", "=", "``", "mississippi", "''", ")", "AND", "area", "=", "(", "SELECT", "MIN", "(", "area", ")", "FROM", "state", "WHERE", "state_name", "IN", "(", "SELECT", "traverse", "FROM", "river", "WHERE", "river_name", "=", "``", "mississippi", "''", ")", ")", ")", "ORDER", "BY", "population", "DESC", "LIMIT", "1", ";" ], "query_toks_no_value": [ "select", "city_name", "from", "city", "where", "state_name", "in", "(", "select", "state_name", "from", "state", "where", "state_name", "in", "(", "select", "traverse", "from", "river", "where", "river_name", "=", "value", ")", "and", "area", "=", "(", "select", "min", "(", "area", ")", "from", "state", "where", "state_name", "in", "(", "select", "traverse", "from", "river", "where", "river_name", "=", "value", ")", ")", ")", "order", "by", "population", "desc", "limit", "value" ], "question": "qual é a maior cidade no menor estado por onde passa o Mississippi", "question_toks": [ "qual", "é", "a", "maior", "cidade", "no", "menor", "estado", "por", "onde", "passa", "o", "Mississippi" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 7, false ], null ] ] ] ], "where": [ [ false, 8, [ 0, [ 0, 10, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 1, false ], null ] ] ] ], "where": [ [ false, 8, [ 0, [ 0, 1, false ], null ], { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 29, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 26, false ], null ], "\"mississippi\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ], "and", [ false, 2, [ 0, [ 0, 3, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 2, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [ [ false, 8, [ 0, [ 0, 1, false ], null ], { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 29, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 26, false ], null ], "\"mississippi\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [ "desc", [ [ 0, [ 0, 8, false ], null ] ] ], "limit": 1, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT city_name FROM city WHERE population = ( SELECT MAX ( population ) FROM city WHERE state_name IN ( SELECT state_name FROM state WHERE area = ( SELECT MIN ( area ) FROM state ) ) ) AND state_name IN ( SELECT state_name FROM state WHERE area = ( SELECT MIN ( area ) FROM state ) );", "query_toks": [ "SELECT", "city_name", "FROM", "city", "WHERE", "population", "=", "(", "SELECT", "MAX", "(", "population", ")", "FROM", "city", "WHERE", "state_name", "IN", "(", "SELECT", "state_name", "FROM", "state", "WHERE", "area", "=", "(", "SELECT", "MIN", "(", "area", ")", "FROM", "state", ")", ")", ")", "AND", "state_name", "IN", "(", "SELECT", "state_name", "FROM", "state", "WHERE", "area", "=", "(", "SELECT", "MIN", "(", "area", ")", "FROM", "state", ")", ")", ";" ], "query_toks_no_value": [ "select", "city_name", "from", "city", "where", "population", "=", "(", "select", "max", "(", "population", ")", "from", "city", "where", "state_name", "in", "(", "select", "state_name", "from", "state", "where", "area", "=", "(", "select", "min", "(", "area", ")", "from", "state", ")", ")", ")", "and", "state_name", "in", "(", "select", "state_name", "from", "state", "where", "area", "=", "(", "select", "min", "(", "area", ")", "from", "state", ")", ")" ], "question": "qual é a maior cidade do menor estado dos eua", "question_toks": [ "qual", "é", "a", "maior", "cidade", "do", "menor", "estado", "dos", "eua" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 7, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 8, false ], null ], { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 8, false ], null ] ] ] ], "where": [ [ false, 8, [ 0, [ 0, 10, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 1, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 2, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ], "and", [ false, 8, [ 0, [ 0, 10, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 1, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 2, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT city_name FROM city WHERE population = ( SELECT MAX ( population ) FROM city WHERE state_name IN ( SELECT state_name FROM state WHERE area = ( SELECT MIN ( area ) FROM state ) ) ) AND state_name IN ( SELECT state_name FROM state WHERE area = ( SELECT MIN ( area ) FROM state ) );", "query_toks": [ "SELECT", "city_name", "FROM", "city", "WHERE", "population", "=", "(", "SELECT", "MAX", "(", "population", ")", "FROM", "city", "WHERE", "state_name", "IN", "(", "SELECT", "state_name", "FROM", "state", "WHERE", "area", "=", "(", "SELECT", "MIN", "(", "area", ")", "FROM", "state", ")", ")", ")", "AND", "state_name", "IN", "(", "SELECT", "state_name", "FROM", "state", "WHERE", "area", "=", "(", "SELECT", "MIN", "(", "area", ")", "FROM", "state", ")", ")", ";" ], "query_toks_no_value": [ "select", "city_name", "from", "city", "where", "population", "=", "(", "select", "max", "(", "population", ")", "from", "city", "where", "state_name", "in", "(", "select", "state_name", "from", "state", "where", "area", "=", "(", "select", "min", "(", "area", ")", "from", "state", ")", ")", ")", "and", "state_name", "in", "(", "select", "state_name", "from", "state", "where", "area", "=", "(", "select", "min", "(", "area", ")", "from", "state", ")", ")" ], "question": "qual é a maior cidade no menor estado", "question_toks": [ "qual", "é", "a", "maior", "cidade", "no", "menor", "estado" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 7, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 8, false ], null ], { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 8, false ], null ] ] ] ], "where": [ [ false, 8, [ 0, [ 0, 10, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 1, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 2, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ], "and", [ false, 8, [ 0, [ 0, 10, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 1, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 2, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT state_name FROM state WHERE area = ( SELECT MAX ( area ) FROM state WHERE state_name IN ( SELECT border FROM border_info WHERE state_name = \"california\" ) ) AND state_name IN ( SELECT border FROM border_info WHERE state_name = \"california\" );", "query_toks": [ "SELECT", "state_name", "FROM", "state", "WHERE", "area", "=", "(", "SELECT", "MAX", "(", "area", ")", "FROM", "state", "WHERE", "state_name", "IN", "(", "SELECT", "border", "FROM", "border_info", "WHERE", "state_name", "=", "``", "california", "''", ")", ")", "AND", "state_name", "IN", "(", "SELECT", "border", "FROM", "border_info", "WHERE", "state_name", "=", "``", "california", "''", ")", ";" ], "query_toks_no_value": [ "select", "state_name", "from", "state", "where", "area", "=", "(", "select", "max", "(", "area", ")", "from", "state", "where", "state_name", "in", "(", "select", "border", "from", "border_info", "where", "state_name", "=", "value", ")", ")", "and", "state_name", "in", "(", "select", "border", "from", "border_info", "where", "state_name", "=", "value", ")" ], "question": "qual é o maior estado na fronteira com a Califórnia", "question_toks": [ "qual", "é", "o", "maior", "estado", "na", "fronteira", "com", "a", "Califórnia" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 1, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [ [ false, 8, [ 0, [ 0, 1, false ], null ], { "from": { "table_units": [ [ "table_unit", 2 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 12, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 11, false ], null ], "\"california\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ], "and", [ false, 8, [ 0, [ 0, 1, false ], null ], { "from": { "table_units": [ [ "table_unit", 2 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 12, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 11, false ], null ], "\"california\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT state_name FROM state WHERE area = ( SELECT MAX ( area ) FROM state WHERE state_name IN ( SELECT border FROM border_info WHERE state_name = \"california\" ) ) AND state_name IN ( SELECT border FROM border_info WHERE state_name = \"california\" );", "query_toks": [ "SELECT", "state_name", "FROM", "state", "WHERE", "area", "=", "(", "SELECT", "MAX", "(", "area", ")", "FROM", "state", "WHERE", "state_name", "IN", "(", "SELECT", "border", "FROM", "border_info", "WHERE", "state_name", "=", "``", "california", "''", ")", ")", "AND", "state_name", "IN", "(", "SELECT", "border", "FROM", "border_info", "WHERE", "state_name", "=", "``", "california", "''", ")", ";" ], "query_toks_no_value": [ "select", "state_name", "from", "state", "where", "area", "=", "(", "select", "max", "(", "area", ")", "from", "state", "where", "state_name", "in", "(", "select", "border", "from", "border_info", "where", "state_name", "=", "value", ")", ")", "and", "state_name", "in", "(", "select", "border", "from", "border_info", "where", "state_name", "=", "value", ")" ], "question": "qual é o maior estado que faz fronteira com a Califórnia", "question_toks": [ "qual", "é", "o", "maior", "estado", "que", "faz", "fronteira", "com", "a", "Califórnia" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 1, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [ [ false, 8, [ 0, [ 0, 1, false ], null ], { "from": { "table_units": [ [ "table_unit", 2 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 12, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 11, false ], null ], "\"california\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ], "and", [ false, 8, [ 0, [ 0, 1, false ], null ], { "from": { "table_units": [ [ "table_unit", 2 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 12, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 11, false ], null ], "\"california\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT state_name FROM state WHERE area = ( SELECT MAX ( area ) FROM state WHERE state_name IN ( SELECT border FROM border_info WHERE state_name = \"california\" ) ) AND state_name IN ( SELECT border FROM border_info WHERE state_name = \"california\" );", "query_toks": [ "SELECT", "state_name", "FROM", "state", "WHERE", "area", "=", "(", "SELECT", "MAX", "(", "area", ")", "FROM", "state", "WHERE", "state_name", "IN", "(", "SELECT", "border", "FROM", "border_info", "WHERE", "state_name", "=", "``", "california", "''", ")", ")", "AND", "state_name", "IN", "(", "SELECT", "border", "FROM", "border_info", "WHERE", "state_name", "=", "``", "california", "''", ")", ";" ], "query_toks_no_value": [ "select", "state_name", "from", "state", "where", "area", "=", "(", "select", "max", "(", "area", ")", "from", "state", "where", "state_name", "in", "(", "select", "border", "from", "border_info", "where", "state_name", "=", "value", ")", ")", "and", "state_name", "in", "(", "select", "border", "from", "border_info", "where", "state_name", "=", "value", ")" ], "question": "qual estado que faz fronteira com a Califórnia é o maior", "question_toks": [ "qual", "estado", "que", "faz", "fronteira", "com", "a", "Califórnia", "é", "o", "maior" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 1, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [ [ false, 8, [ 0, [ 0, 1, false ], null ], { "from": { "table_units": [ [ "table_unit", 2 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 12, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 11, false ], null ], "\"california\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ], "and", [ false, 8, [ 0, [ 0, 1, false ], null ], { "from": { "table_units": [ [ "table_unit", 2 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 12, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 11, false ], null ], "\"california\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT river_name FROM river WHERE LENGTH = ( SELECT MAX ( LENGTH ) FROM river WHERE traverse IN ( SELECT state_name FROM state WHERE area = ( SELECT MAX ( area ) FROM state ) ) ) AND traverse IN ( SELECT state_name FROM state WHERE area = ( SELECT MAX ( area ) FROM state ) );", "query_toks": [ "SELECT", "river_name", "FROM", "river", "WHERE", "LENGTH", "=", "(", "SELECT", "MAX", "(", "LENGTH", ")", "FROM", "river", "WHERE", "traverse", "IN", "(", "SELECT", "state_name", "FROM", "state", "WHERE", "area", "=", "(", "SELECT", "MAX", "(", "area", ")", "FROM", "state", ")", ")", ")", "AND", "traverse", "IN", "(", "SELECT", "state_name", "FROM", "state", "WHERE", "area", "=", "(", "SELECT", "MAX", "(", "area", ")", "FROM", "state", ")", ")", ";" ], "query_toks_no_value": [ "select", "river_name", "from", "river", "where", "length", "=", "(", "select", "max", "(", "length", ")", "from", "river", "where", "traverse", "in", "(", "select", "state_name", "from", "state", "where", "area", "=", "(", "select", "max", "(", "area", ")", "from", "state", ")", ")", ")", "and", "traverse", "in", "(", "select", "state_name", "from", "state", "where", "area", "=", "(", "select", "max", "(", "area", ")", "from", "state", ")", ")" ], "question": "qual é o maior rio do maior estado", "question_toks": [ "qual", "é", "o", "maior", "rio", "do", "maior", "estado" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 26, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 27, false ], null ], { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 27, false ], null ] ] ] ], "where": [ [ false, 8, [ 0, [ 0, 29, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 1, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ], "and", [ false, 8, [ 0, [ 0, 29, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 1, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT river_name FROM river WHERE LENGTH = ( SELECT MAX ( LENGTH ) FROM river WHERE traverse IN ( SELECT border FROM border_info WHERE state_name = \"tennessee\" ) ) AND traverse IN ( SELECT border FROM border_info WHERE state_name = \"tennessee\" );", "query_toks": [ "SELECT", "river_name", "FROM", "river", "WHERE", "LENGTH", "=", "(", "SELECT", "MAX", "(", "LENGTH", ")", "FROM", "river", "WHERE", "traverse", "IN", "(", "SELECT", "border", "FROM", "border_info", "WHERE", "state_name", "=", "``", "tennessee", "''", ")", ")", "AND", "traverse", "IN", "(", "SELECT", "border", "FROM", "border_info", "WHERE", "state_name", "=", "``", "tennessee", "''", ")", ";" ], "query_toks_no_value": [ "select", "river_name", "from", "river", "where", "length", "=", "(", "select", "max", "(", "length", ")", "from", "river", "where", "traverse", "in", "(", "select", "border", "from", "border_info", "where", "state_name", "=", "value", ")", ")", "and", "traverse", "in", "(", "select", "border", "from", "border_info", "where", "state_name", "=", "value", ")" ], "question": "qual é o maior rio dos estados que fazem fronteira com o tennessee", "question_toks": [ "qual", "é", "o", "maior", "rio", "dos", "estados", "que", "fazem", "fronteira", "com", "o", "tennessee" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 26, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 27, false ], null ], { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 27, false ], null ] ] ] ], "where": [ [ false, 8, [ 0, [ 0, 29, false ], null ], { "from": { "table_units": [ [ "table_unit", 2 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 12, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 11, false ], null ], "\"tennessee\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ], "and", [ false, 8, [ 0, [ 0, 29, false ], null ], { "from": { "table_units": [ [ "table_unit", 2 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 12, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 11, false ], null ], "\"tennessee\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT river_name FROM river WHERE LENGTH = ( SELECT MAX ( LENGTH ) FROM river WHERE traverse IN ( SELECT border FROM border_info WHERE state_name = \"tennessee\" ) ) AND traverse IN ( SELECT border FROM border_info WHERE state_name = \"tennessee\" );", "query_toks": [ "SELECT", "river_name", "FROM", "river", "WHERE", "LENGTH", "=", "(", "SELECT", "MAX", "(", "LENGTH", ")", "FROM", "river", "WHERE", "traverse", "IN", "(", "SELECT", "border", "FROM", "border_info", "WHERE", "state_name", "=", "``", "tennessee", "''", ")", ")", "AND", "traverse", "IN", "(", "SELECT", "border", "FROM", "border_info", "WHERE", "state_name", "=", "``", "tennessee", "''", ")", ";" ], "query_toks_no_value": [ "select", "river_name", "from", "river", "where", "length", "=", "(", "select", "max", "(", "length", ")", "from", "river", "where", "traverse", "in", "(", "select", "border", "from", "border_info", "where", "state_name", "=", "value", ")", ")", "and", "traverse", "in", "(", "select", "border", "from", "border_info", "where", "state_name", "=", "value", ")" ], "question": "qual é o maior rio que atravessa um estado que faz fronteira com o tennessee", "question_toks": [ "qual", "é", "o", "maior", "rio", "que", "atravessa", "um", "estado", "que", "faz", "fronteira", "com", "o", "tennessee" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 26, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 27, false ], null ], { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 27, false ], null ] ] ] ], "where": [ [ false, 8, [ 0, [ 0, 29, false ], null ], { "from": { "table_units": [ [ "table_unit", 2 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 12, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 11, false ], null ], "\"tennessee\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ], "and", [ false, 8, [ 0, [ 0, 29, false ], null ], { "from": { "table_units": [ [ "table_unit", 2 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 12, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 11, false ], null ], "\"tennessee\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT river_name FROM river WHERE LENGTH = ( SELECT MAX ( LENGTH ) FROM river WHERE traverse IN ( SELECT border FROM border_info WHERE state_name = \"tennessee\" ) ) AND traverse IN ( SELECT border FROM border_info WHERE state_name = \"tennessee\" );", "query_toks": [ "SELECT", "river_name", "FROM", "river", "WHERE", "LENGTH", "=", "(", "SELECT", "MAX", "(", "LENGTH", ")", "FROM", "river", "WHERE", "traverse", "IN", "(", "SELECT", "border", "FROM", "border_info", "WHERE", "state_name", "=", "``", "tennessee", "''", ")", ")", "AND", "traverse", "IN", "(", "SELECT", "border", "FROM", "border_info", "WHERE", "state_name", "=", "``", "tennessee", "''", ")", ";" ], "query_toks_no_value": [ "select", "river_name", "from", "river", "where", "length", "=", "(", "select", "max", "(", "length", ")", "from", "river", "where", "traverse", "in", "(", "select", "border", "from", "border_info", "where", "state_name", "=", "value", ")", ")", "and", "traverse", "in", "(", "select", "border", "from", "border_info", "where", "state_name", "=", "value", ")" ], "question": "qual é o maior rio que atravessa um estado que faz fronteira com o tennessee", "question_toks": [ "qual", "é", "o", "maior", "rio", "que", "atravessa", "um", "estado", "que", "faz", "fronteira", "com", "o", "tennessee" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 26, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 27, false ], null ], { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 27, false ], null ] ] ] ], "where": [ [ false, 8, [ 0, [ 0, 29, false ], null ], { "from": { "table_units": [ [ "table_unit", 2 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 12, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 11, false ], null ], "\"tennessee\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ], "and", [ false, 8, [ 0, [ 0, 29, false ], null ], { "from": { "table_units": [ [ "table_unit", 2 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 12, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 11, false ], null ], "\"tennessee\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT river_name FROM river WHERE traverse = ( SELECT state_name FROM city WHERE population > 150000 GROUP BY state_name ORDER BY COUNT ( city_name ) DESC LIMIT 1 ) ORDER BY LENGTH DESC LIMIT 1;", "query_toks": [ "SELECT", "river_name", "FROM", "river", "WHERE", "traverse", "=", "(", "SELECT", "state_name", "FROM", "city", "WHERE", "population", ">", "150000", "GROUP", "BY", "state_name", "ORDER", "BY", "COUNT", "(", "city_name", ")", "DESC", "LIMIT", "1", ")", "ORDER", "BY", "LENGTH", "DESC", "LIMIT", "1", ";" ], "query_toks_no_value": [ "select", "river_name", "from", "river", "where", "traverse", "=", "(", "select", "state_name", "from", "city", "where", "population", ">", "value", "group", "by", "state_name", "order", "by", "count", "(", "city_name", ")", "desc", "limit", "value", ")", "order", "by", "length", "desc", "limit", "value" ], "question": "qual é o maior rio do estado com a maioria das grandes cidades", "question_toks": [ "qual", "é", "o", "maior", "rio", "do", "estado", "com", "a", "maioria", "das", "grandes", "cidades" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 26, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 29, false ], null ], { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 10, false ], null ] ] ] ], "where": [ [ false, 3, [ 0, [ 0, 8, false ], null ], 150000.0, null ] ], "groupBy": [ [ 0, 10, false ] ], "having": [], "orderBy": [ "desc", [ [ 0, [ 3, 7, false ], null ] ] ], "limit": 1, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [ "desc", [ [ 0, [ 0, 27, false ], null ] ] ], "limit": 1, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT lowest_point FROM highlow WHERE state_name = \"iowa\";", "query_toks": [ "SELECT", "lowest_point", "FROM", "highlow", "WHERE", "state_name", "=", "``", "iowa", "''", ";" ], "query_toks_no_value": [ "select", "lowest_point", "from", "highlow", "where", "state_name", "=", "value" ], "question": "qual é o ponto mais baixo em iowa", "question_toks": [ "qual", "é", "o", "ponto", "mais", "baixo", "em", "iowa" ], "sql": { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 15, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 13, false ], null ], "\"iowa\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT lowest_point FROM highlow WHERE state_name = \"iowa\";", "query_toks": [ "SELECT", "lowest_point", "FROM", "highlow", "WHERE", "state_name", "=", "``", "iowa", "''", ";" ], "query_toks_no_value": [ "select", "lowest_point", "from", "highlow", "where", "state_name", "=", "value" ], "question": "qual é o ponto mais baixo em metros de iowa", "question_toks": [ "qual", "é", "o", "ponto", "mais", "baixo", "em", "metros", "de", "iowa" ], "sql": { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 15, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 13, false ], null ], "\"iowa\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT lowest_point FROM highlow WHERE state_name = \"iowa\";", "query_toks": [ "SELECT", "lowest_point", "FROM", "highlow", "WHERE", "state_name", "=", "``", "iowa", "''", ";" ], "query_toks_no_value": [ "select", "lowest_point", "from", "highlow", "where", "state_name", "=", "value" ], "question": "qual é o ponto mais baixo no estado de iowa", "question_toks": [ "qual", "é", "o", "ponto", "mais", "baixo", "no", "estado", "de", "iowa" ], "sql": { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 15, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 13, false ], null ], "\"iowa\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT lowest_point FROM highlow WHERE state_name = \"iowa\";", "query_toks": [ "SELECT", "lowest_point", "FROM", "highlow", "WHERE", "state_name", "=", "``", "iowa", "''", ";" ], "query_toks_no_value": [ "select", "lowest_point", "from", "highlow", "where", "state_name", "=", "value" ], "question": "onde fica o ponto mais baixo em iowa", "question_toks": [ "onde", "fica", "o", "ponto", "mais", "baixo", "em", "iowa" ], "sql": { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 15, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 13, false ], null ], "\"iowa\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT lowest_point FROM highlow WHERE state_name = \"iowa\";", "query_toks": [ "SELECT", "lowest_point", "FROM", "highlow", "WHERE", "state_name", "=", "``", "iowa", "''", ";" ], "query_toks_no_value": [ "select", "lowest_point", "from", "highlow", "where", "state_name", "=", "value" ], "question": "qual é o ponto mais baixo de iowa", "question_toks": [ "qual", "é", "o", "ponto", "mais", "baixo", "de", "iowa" ], "sql": { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 15, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 13, false ], null ], "\"iowa\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT lowest_point FROM highlow WHERE state_name = \"iowa\";", "query_toks": [ "SELECT", "lowest_point", "FROM", "highlow", "WHERE", "state_name", "=", "``", "iowa", "''", ";" ], "query_toks_no_value": [ "select", "lowest_point", "from", "highlow", "where", "state_name", "=", "value" ], "question": "onde é o ponto mais baixo em iowa", "question_toks": [ "onde", "é", "o", "ponto", "mais", "baixo", "em", "iowa" ], "sql": { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 15, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 13, false ], null ], "\"iowa\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT lowest_point FROM highlow WHERE lowest_elevation = ( SELECT MIN ( lowest_elevation ) FROM highlow );", "query_toks": [ "SELECT", "lowest_point", "FROM", "highlow", "WHERE", "lowest_elevation", "=", "(", "SELECT", "MIN", "(", "lowest_elevation", ")", "FROM", "highlow", ")", ";" ], "query_toks_no_value": [ "select", "lowest_point", "from", "highlow", "where", "lowest_elevation", "=", "(", "select", "min", "(", "lowest_elevation", ")", "from", "highlow", ")" ], "question": "qual é o ponto mais baixo nos EUA", "question_toks": [ "qual", "é", "o", "ponto", "mais", "baixo", "nos", "EUA" ], "sql": { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 15, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 17, false ], null ], { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 2, [ 0, [ 0, 17, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT lowest_point FROM highlow WHERE lowest_elevation = ( SELECT MIN ( lowest_elevation ) FROM highlow );", "query_toks": [ "SELECT", "lowest_point", "FROM", "highlow", "WHERE", "lowest_elevation", "=", "(", "SELECT", "MIN", "(", "lowest_elevation", ")", "FROM", "highlow", ")", ";" ], "query_toks_no_value": [ "select", "lowest_point", "from", "highlow", "where", "lowest_elevation", "=", "(", "select", "min", "(", "lowest_elevation", ")", "from", "highlow", ")" ], "question": "qual é o ponto mais baixo nos estados unidos", "question_toks": [ "qual", "é", "o", "ponto", "mais", "baixo", "nos", "estados", "unidos" ], "sql": { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 15, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 17, false ], null ], { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 2, [ 0, [ 0, 17, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT lowest_point FROM highlow WHERE lowest_elevation = ( SELECT MIN ( lowest_elevation ) FROM highlow );", "query_toks": [ "SELECT", "lowest_point", "FROM", "highlow", "WHERE", "lowest_elevation", "=", "(", "SELECT", "MIN", "(", "lowest_elevation", ")", "FROM", "highlow", ")", ";" ], "query_toks_no_value": [ "select", "lowest_point", "from", "highlow", "where", "lowest_elevation", "=", "(", "select", "min", "(", "lowest_elevation", ")", "from", "highlow", ")" ], "question": "onde está o ponto mais baixo nos EUA", "question_toks": [ "onde", "está", "o", "ponto", "mais", "baixo", "nos", "EUA" ], "sql": { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 15, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 17, false ], null ], { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 2, [ 0, [ 0, 17, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT lowest_point FROM highlow WHERE lowest_elevation = ( SELECT MIN ( lowest_elevation ) FROM highlow );", "query_toks": [ "SELECT", "lowest_point", "FROM", "highlow", "WHERE", "lowest_elevation", "=", "(", "SELECT", "MIN", "(", "lowest_elevation", ")", "FROM", "highlow", ")", ";" ], "query_toks_no_value": [ "select", "lowest_point", "from", "highlow", "where", "lowest_elevation", "=", "(", "select", "min", "(", "lowest_elevation", ")", "from", "highlow", ")" ], "question": "qual é o ponto mais baixo de nós", "question_toks": [ "qual", "é", "o", "ponto", "mais", "baixo", "de", "nós" ], "sql": { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 15, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 17, false ], null ], { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 2, [ 0, [ 0, 17, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT lowest_point FROM highlow WHERE state_name IN ( SELECT traverse FROM river WHERE river_name = \"mississippi\" ) ORDER BY lowest_elevation LIMIT 1;", "query_toks": [ "SELECT", "lowest_point", "FROM", "highlow", "WHERE", "state_name", "IN", "(", "SELECT", "traverse", "FROM", "river", "WHERE", "river_name", "=", "``", "mississippi", "''", ")", "ORDER", "BY", "lowest_elevation", "LIMIT", "1", ";" ], "query_toks_no_value": [ "select", "lowest_point", "from", "highlow", "where", "state_name", "in", "(", "select", "traverse", "from", "river", "where", "river_name", "=", "value", ")", "order", "by", "lowest_elevation", "limit", "value" ], "question": "qual é o ponto mais baixo de todos os estados através dos quais o rio Mississippi atravessa", "question_toks": [ "qual", "é", "o", "ponto", "mais", "baixo", "de", "todos", "os", "estados", "através", "dos", "quais", "o", "rio", "Mississippi", "atravessa" ], "sql": { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 15, false ], null ] ] ] ], "where": [ [ false, 8, [ 0, [ 0, 13, false ], null ], { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 29, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 26, false ], null ], "\"mississippi\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [ "asc", [ [ 0, [ 0, 17, false ], null ] ] ], "limit": 1, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT lowest_point FROM highlow WHERE state_name IN ( SELECT traverse FROM river WHERE river_name = \"mississippi\" ) ORDER BY lowest_elevation LIMIT 1;", "query_toks": [ "SELECT", "lowest_point", "FROM", "highlow", "WHERE", "state_name", "IN", "(", "SELECT", "traverse", "FROM", "river", "WHERE", "river_name", "=", "``", "mississippi", "''", ")", "ORDER", "BY", "lowest_elevation", "LIMIT", "1", ";" ], "query_toks_no_value": [ "select", "lowest_point", "from", "highlow", "where", "state_name", "in", "(", "select", "traverse", "from", "river", "where", "river_name", "=", "value", ")", "order", "by", "lowest_elevation", "limit", "value" ], "question": "que é o ponto mais baixo dos estados por onde passa o Mississippi", "question_toks": [ "que", "é", "o", "ponto", "mais", "baixo", "dos", "estados", "por", "onde", "passa", "o", "Mississippi" ], "sql": { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 15, false ], null ] ] ] ], "where": [ [ false, 8, [ 0, [ 0, 13, false ], null ], { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 29, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 26, false ], null ], "\"mississippi\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [ "asc", [ [ 0, [ 0, 17, false ], null ] ] ], "limit": 1, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT state_name FROM state WHERE density = ( SELECT MAX ( density ) FROM state );", "query_toks": [ "SELECT", "state_name", "FROM", "state", "WHERE", "density", "=", "(", "SELECT", "MAX", "(", "density", ")", "FROM", "state", ")", ";" ], "query_toks_no_value": [ "select", "state_name", "from", "state", "where", "density", "=", "(", "select", "max", "(", "density", ")", "from", "state", ")" ], "question": "qual é o estado mais denso dos EUA", "question_toks": [ "qual", "é", "o", "estado", "mais", "denso", "dos", "EUA" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 1, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 6, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 6, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT state_name FROM state WHERE density = ( SELECT MAX ( density ) FROM state );", "query_toks": [ "SELECT", "state_name", "FROM", "state", "WHERE", "density", "=", "(", "SELECT", "MAX", "(", "density", ")", "FROM", "state", ")", ";" ], "query_toks_no_value": [ "select", "state_name", "from", "state", "where", "density", "=", "(", "select", "max", "(", "density", ")", "from", "state", ")" ], "question": "qual estado tem a maior densidade populacional", "question_toks": [ "qual", "estado", "tem", "a", "maior", "densidade", "populacional" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 1, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 6, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 6, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT state_name FROM state WHERE density = ( SELECT MAX ( density ) FROM state );", "query_toks": [ "SELECT", "state_name", "FROM", "state", "WHERE", "density", "=", "(", "SELECT", "MAX", "(", "density", ")", "FROM", "state", ")", ";" ], "query_toks_no_value": [ "select", "state_name", "from", "state", "where", "density", "=", "(", "select", "max", "(", "density", ")", "from", "state", ")" ], "question": "qual estado tem a maior densidade", "question_toks": [ "qual", "estado", "tem", "a", "maior", "densidade" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 1, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 6, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 6, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT state_name FROM state WHERE density = ( SELECT MAX ( density ) FROM state );", "query_toks": [ "SELECT", "state_name", "FROM", "state", "WHERE", "density", "=", "(", "SELECT", "MAX", "(", "density", ")", "FROM", "state", ")", ";" ], "query_toks_no_value": [ "select", "state_name", "from", "state", "where", "density", "=", "(", "select", "max", "(", "density", ")", "from", "state", ")" ], "question": "qual estado tem a maior densidade populacional", "question_toks": [ "qual", "estado", "tem", "a", "maior", "densidade", "populacional" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 1, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 6, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 6, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT state_name FROM state WHERE density = ( SELECT MAX ( density ) FROM state );", "query_toks": [ "SELECT", "state_name", "FROM", "state", "WHERE", "density", "=", "(", "SELECT", "MAX", "(", "density", ")", "FROM", "state", ")", ";" ], "query_toks_no_value": [ "select", "state_name", "from", "state", "where", "density", "=", "(", "select", "max", "(", "density", ")", "from", "state", ")" ], "question": "qual estado tem a maior densidade populacional", "question_toks": [ "qual", "estado", "tem", "a", "maior", "densidade", "populacional" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 1, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 6, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 6, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT state_name FROM state WHERE density = ( SELECT MAX ( density ) FROM state );", "query_toks": [ "SELECT", "state_name", "FROM", "state", "WHERE", "density", "=", "(", "SELECT", "MAX", "(", "density", ")", "FROM", "state", ")", ";" ], "query_toks_no_value": [ "select", "state_name", "from", "state", "where", "density", "=", "(", "select", "max", "(", "density", ")", "from", "state", ")" ], "question": "qual estado tem a maior densidade populacional", "question_toks": [ "qual", "estado", "tem", "a", "maior", "densidade", "populacional" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 1, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 6, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 6, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT state_name FROM state WHERE density = ( SELECT MAX ( density ) FROM state );", "query_toks": [ "SELECT", "state_name", "FROM", "state", "WHERE", "density", "=", "(", "SELECT", "MAX", "(", "density", ")", "FROM", "state", ")", ";" ], "query_toks_no_value": [ "select", "state_name", "from", "state", "where", "density", "=", "(", "select", "max", "(", "density", ")", "from", "state", ")" ], "question": "qual é o estado com maior densidade nos eua", "question_toks": [ "qual", "é", "o", "estado", "com", "maior", "densidade", "nos", "eua" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 1, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 6, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 6, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT state_name FROM state WHERE density = ( SELECT MAX ( density ) FROM state );", "query_toks": [ "SELECT", "state_name", "FROM", "state", "WHERE", "density", "=", "(", "SELECT", "MAX", "(", "density", ")", "FROM", "state", ")", ";" ], "query_toks_no_value": [ "select", "state_name", "from", "state", "where", "density", "=", "(", "select", "max", "(", "density", ")", "from", "state", ")" ], "question": "qual é o estado com maior densidade populacional", "question_toks": [ "qual", "é", "o", "estado", "com", "maior", "densidade", "populacional" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 1, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 6, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 6, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT state_name FROM state WHERE density = ( SELECT MAX ( density ) FROM state );", "query_toks": [ "SELECT", "state_name", "FROM", "state", "WHERE", "density", "=", "(", "SELECT", "MAX", "(", "density", ")", "FROM", "state", ")", ";" ], "query_toks_no_value": [ "select", "state_name", "from", "state", "where", "density", "=", "(", "select", "max", "(", "density", ")", "from", "state", ")" ], "question": "qual estado tem a maior densidade", "question_toks": [ "qual", "estado", "tem", "a", "maior", "densidade" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 1, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 6, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 6, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT state_name FROM state WHERE population = ( SELECT MAX ( population ) FROM state WHERE state_name IN ( SELECT traverse FROM river WHERE river_name = \"mississippi\" ) ) AND state_name IN ( SELECT traverse FROM river WHERE river_name = \"mississippi\" );", "query_toks": [ "SELECT", "state_name", "FROM", "state", "WHERE", "population", "=", "(", "SELECT", "MAX", "(", "population", ")", "FROM", "state", "WHERE", "state_name", "IN", "(", "SELECT", "traverse", "FROM", "river", "WHERE", "river_name", "=", "``", "mississippi", "''", ")", ")", "AND", "state_name", "IN", "(", "SELECT", "traverse", "FROM", "river", "WHERE", "river_name", "=", "``", "mississippi", "''", ")", ";" ], "query_toks_no_value": [ "select", "state_name", "from", "state", "where", "population", "=", "(", "select", "max", "(", "population", ")", "from", "state", "where", "state_name", "in", "(", "select", "traverse", "from", "river", "where", "river_name", "=", "value", ")", ")", "and", "state_name", "in", "(", "select", "traverse", "from", "river", "where", "river_name", "=", "value", ")" ], "question": "qual é o estado mais populoso pelo qual o Mississippi passa", "question_toks": [ "qual", "é", "o", "estado", "mais", "populoso", "pelo", "qual", "o", "Mississippi", "passa" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 1, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 2, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 2, false ], null ] ] ] ], "where": [ [ false, 8, [ 0, [ 0, 1, false ], null ], { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 29, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 26, false ], null ], "\"mississippi\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ], "and", [ false, 8, [ 0, [ 0, 1, false ], null ], { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 29, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 26, false ], null ], "\"mississippi\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT state_name FROM state WHERE population = ( SELECT MAX ( population ) FROM state WHERE state_name IN ( SELECT traverse FROM river WHERE river_name = \"mississippi\" ) ) AND state_name IN ( SELECT traverse FROM river WHERE river_name = \"mississippi\" );", "query_toks": [ "SELECT", "state_name", "FROM", "state", "WHERE", "population", "=", "(", "SELECT", "MAX", "(", "population", ")", "FROM", "state", "WHERE", "state_name", "IN", "(", "SELECT", "traverse", "FROM", "river", "WHERE", "river_name", "=", "``", "mississippi", "''", ")", ")", "AND", "state_name", "IN", "(", "SELECT", "traverse", "FROM", "river", "WHERE", "river_name", "=", "``", "mississippi", "''", ")", ";" ], "query_toks_no_value": [ "select", "state_name", "from", "state", "where", "population", "=", "(", "select", "max", "(", "population", ")", "from", "state", "where", "state_name", "in", "(", "select", "traverse", "from", "river", "where", "river_name", "=", "value", ")", ")", "and", "state_name", "in", "(", "select", "traverse", "from", "river", "where", "river_name", "=", "value", ")" ], "question": "em que estado atravessa o Mississippi tem a maior população", "question_toks": [ "em", "que", "estado", "atravessa", "o", "Mississippi", "tem", "a", "maior", "população" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 1, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 2, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 2, false ], null ] ] ] ], "where": [ [ false, 8, [ 0, [ 0, 1, false ], null ], { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 29, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 26, false ], null ], "\"mississippi\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ], "and", [ false, 8, [ 0, [ 0, 1, false ], null ], { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 29, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 26, false ], null ], "\"mississippi\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT density FROM state WHERE area = ( SELECT MAX ( area ) FROM state );", "query_toks": [ "SELECT", "density", "FROM", "state", "WHERE", "area", "=", "(", "SELECT", "MAX", "(", "area", ")", "FROM", "state", ")", ";" ], "query_toks_no_value": [ "select", "density", "from", "state", "where", "area", "=", "(", "select", "max", "(", "area", ")", "from", "state", ")" ], "question": "qual é a densidade populacional do maior estado", "question_toks": [ "qual", "é", "a", "densidade", "populacional", "do", "maior", "estado" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 6, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT population FROM city WHERE population = ( SELECT MAX ( population ) FROM city WHERE state_name IN ( SELECT state_name FROM state WHERE area = ( SELECT MAX ( area ) FROM state ) ) ) AND state_name IN ( SELECT state_name FROM state WHERE area = ( SELECT MAX ( area ) FROM state ) );", "query_toks": [ "SELECT", "population", "FROM", "city", "WHERE", "population", "=", "(", "SELECT", "MAX", "(", "population", ")", "FROM", "city", "WHERE", "state_name", "IN", "(", "SELECT", "state_name", "FROM", "state", "WHERE", "area", "=", "(", "SELECT", "MAX", "(", "area", ")", "FROM", "state", ")", ")", ")", "AND", "state_name", "IN", "(", "SELECT", "state_name", "FROM", "state", "WHERE", "area", "=", "(", "SELECT", "MAX", "(", "area", ")", "FROM", "state", ")", ")", ";" ], "query_toks_no_value": [ "select", "population", "from", "city", "where", "population", "=", "(", "select", "max", "(", "population", ")", "from", "city", "where", "state_name", "in", "(", "select", "state_name", "from", "state", "where", "area", "=", "(", "select", "max", "(", "area", ")", "from", "state", ")", ")", ")", "and", "state_name", "in", "(", "select", "state_name", "from", "state", "where", "area", "=", "(", "select", "max", "(", "area", ")", "from", "state", ")", ")" ], "question": "qual é a população da maior cidade do estado com a maior área", "question_toks": [ "qual", "é", "a", "população", "da", "maior", "cidade", "do", "estado", "com", "a", "maior", "área" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 8, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 8, false ], null ], { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 8, false ], null ] ] ] ], "where": [ [ false, 8, [ 0, [ 0, 10, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 1, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ], "and", [ false, 8, [ 0, [ 0, 10, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 1, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT population FROM state WHERE area = ( SELECT MIN ( area ) FROM state );", "query_toks": [ "SELECT", "population", "FROM", "state", "WHERE", "area", "=", "(", "SELECT", "MIN", "(", "area", ")", "FROM", "state", ")", ";" ], "query_toks_no_value": [ "select", "population", "from", "state", "where", "area", "=", "(", "select", "min", "(", "area", ")", "from", "state", ")" ], "question": "qual é a população do menor estado", "question_toks": [ "qual", "é", "a", "população", "do", "menor", "estado" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 2, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 2, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT population FROM state WHERE density = ( SELECT MAX ( density ) FROM state );", "query_toks": [ "SELECT", "population", "FROM", "state", "WHERE", "density", "=", "(", "SELECT", "MAX", "(", "density", ")", "FROM", "state", ")", ";" ], "query_toks_no_value": [ "select", "population", "from", "state", "where", "density", "=", "(", "select", "max", "(", "density", ")", "from", "state", ")" ], "question": "qual é a população do estado com maior densidade populacional", "question_toks": [ "qual", "é", "a", "população", "do", "estado", "com", "maior", "densidade", "populacional" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 2, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 6, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 6, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT population FROM state WHERE density = ( SELECT MAX ( density ) FROM state );", "query_toks": [ "SELECT", "population", "FROM", "state", "WHERE", "density", "=", "(", "SELECT", "MAX", "(", "density", ")", "FROM", "state", ")", ";" ], "query_toks_no_value": [ "select", "population", "from", "state", "where", "density", "=", "(", "select", "max", "(", "density", ")", "from", "state", ")" ], "question": "quantas pessoas vivem no estado de maior densidade populacional", "question_toks": [ "quantas", "pessoas", "vivem", "no", "estado", "de", "maior", "densidade", "populacional" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 2, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 6, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 6, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT city_name FROM city WHERE population = ( SELECT MIN ( population ) FROM city );", "query_toks": [ "SELECT", "city_name", "FROM", "city", "WHERE", "population", "=", "(", "SELECT", "MIN", "(", "population", ")", "FROM", "city", ")", ";" ], "query_toks_no_value": [ "select", "city_name", "from", "city", "where", "population", "=", "(", "select", "min", "(", "population", ")", "from", "city", ")" ], "question": "qual é a menor cidade dos eua", "question_toks": [ "qual", "é", "a", "menor", "cidade", "dos", "eua" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 7, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 8, false ], null ], { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 2, [ 0, [ 0, 8, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT city_name FROM city WHERE population = ( SELECT MIN ( population ) FROM city );", "query_toks": [ "SELECT", "city_name", "FROM", "city", "WHERE", "population", "=", "(", "SELECT", "MIN", "(", "population", ")", "FROM", "city", ")", ";" ], "query_toks_no_value": [ "select", "city_name", "from", "city", "where", "population", "=", "(", "select", "min", "(", "population", ")", "from", "city", ")" ], "question": "qual é a menor cidade nos EUA", "question_toks": [ "qual", "é", "a", "menor", "cidade", "nos", "EUA" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 7, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 8, false ], null ], { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 2, [ 0, [ 0, 8, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT city_name FROM city WHERE population = ( SELECT MIN ( population ) FROM city );", "query_toks": [ "SELECT", "city_name", "FROM", "city", "WHERE", "population", "=", "(", "SELECT", "MIN", "(", "population", ")", "FROM", "city", ")", ";" ], "query_toks_no_value": [ "select", "city_name", "from", "city", "where", "population", "=", "(", "select", "min", "(", "population", ")", "from", "city", ")" ], "question": "qual cidade tem menos população", "question_toks": [ "qual", "cidade", "tem", "menos", "população" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 7, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 8, false ], null ], { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 2, [ 0, [ 0, 8, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT city_name FROM city WHERE population = ( SELECT MIN ( population ) FROM city );", "query_toks": [ "SELECT", "city_name", "FROM", "city", "WHERE", "population", "=", "(", "SELECT", "MIN", "(", "population", ")", "FROM", "city", ")", ";" ], "query_toks_no_value": [ "select", "city_name", "from", "city", "where", "population", "=", "(", "select", "min", "(", "population", ")", "from", "city", ")" ], "question": "qual é a cidade com a menor população", "question_toks": [ "qual", "é", "a", "cidade", "com", "a", "menor", "população" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 7, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 8, false ], null ], { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 2, [ 0, [ 0, 8, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT state_name FROM state WHERE area = ( SELECT MIN ( area ) FROM state WHERE state_name IN ( SELECT border FROM border_info WHERE state_name = \"texas\" ) ) AND state_name IN ( SELECT border FROM border_info WHERE state_name = \"texas\" );", "query_toks": [ "SELECT", "state_name", "FROM", "state", "WHERE", "area", "=", "(", "SELECT", "MIN", "(", "area", ")", "FROM", "state", "WHERE", "state_name", "IN", "(", "SELECT", "border", "FROM", "border_info", "WHERE", "state_name", "=", "``", "texas", "''", ")", ")", "AND", "state_name", "IN", "(", "SELECT", "border", "FROM", "border_info", "WHERE", "state_name", "=", "``", "texas", "''", ")", ";" ], "query_toks_no_value": [ "select", "state_name", "from", "state", "where", "area", "=", "(", "select", "min", "(", "area", ")", "from", "state", "where", "state_name", "in", "(", "select", "border", "from", "border_info", "where", "state_name", "=", "value", ")", ")", "and", "state_name", "in", "(", "select", "border", "from", "border_info", "where", "state_name", "=", "value", ")" ], "question": "qual é o menor estado na fronteira com o texas", "question_toks": [ "qual", "é", "o", "menor", "estado", "na", "fronteira", "com", "o", "texas" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 1, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 2, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [ [ false, 8, [ 0, [ 0, 1, false ], null ], { "from": { "table_units": [ [ "table_unit", 2 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 12, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 11, false ], null ], "\"texas\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ], "and", [ false, 8, [ 0, [ 0, 1, false ], null ], { "from": { "table_units": [ [ "table_unit", 2 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 12, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 11, false ], null ], "\"texas\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT state_name FROM state WHERE area = ( SELECT MIN ( area ) FROM state WHERE state_name IN ( SELECT border FROM border_info WHERE state_name = \"texas\" ) ) AND state_name IN ( SELECT border FROM border_info WHERE state_name = \"texas\" );", "query_toks": [ "SELECT", "state_name", "FROM", "state", "WHERE", "area", "=", "(", "SELECT", "MIN", "(", "area", ")", "FROM", "state", "WHERE", "state_name", "IN", "(", "SELECT", "border", "FROM", "border_info", "WHERE", "state_name", "=", "``", "texas", "''", ")", ")", "AND", "state_name", "IN", "(", "SELECT", "border", "FROM", "border_info", "WHERE", "state_name", "=", "``", "texas", "''", ")", ";" ], "query_toks_no_value": [ "select", "state_name", "from", "state", "where", "area", "=", "(", "select", "min", "(", "area", ")", "from", "state", "where", "state_name", "in", "(", "select", "border", "from", "border_info", "where", "state_name", "=", "value", ")", ")", "and", "state_name", "in", "(", "select", "border", "from", "border_info", "where", "state_name", "=", "value", ")" ], "question": "Qual é o menor estado que faz fronteira com o Texas", "question_toks": [ "Qual", "é", "o", "menor", "estado", "que", "faz", "fronteira", "com", "o", "Texas" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 1, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 2, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [ [ false, 8, [ 0, [ 0, 1, false ], null ], { "from": { "table_units": [ [ "table_unit", 2 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 12, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 11, false ], null ], "\"texas\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ], "and", [ false, 8, [ 0, [ 0, 1, false ], null ], { "from": { "table_units": [ [ "table_unit", 2 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 12, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 11, false ], null ], "\"texas\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT state_name FROM state WHERE area = ( SELECT MIN ( area ) FROM state WHERE state_name IN ( SELECT border FROM border_info WHERE state_name = \"texas\" ) ) AND state_name IN ( SELECT border FROM border_info WHERE state_name = \"texas\" );", "query_toks": [ "SELECT", "state_name", "FROM", "state", "WHERE", "area", "=", "(", "SELECT", "MIN", "(", "area", ")", "FROM", "state", "WHERE", "state_name", "IN", "(", "SELECT", "border", "FROM", "border_info", "WHERE", "state_name", "=", "``", "texas", "''", ")", ")", "AND", "state_name", "IN", "(", "SELECT", "border", "FROM", "border_info", "WHERE", "state_name", "=", "``", "texas", "''", ")", ";" ], "query_toks_no_value": [ "select", "state_name", "from", "state", "where", "area", "=", "(", "select", "min", "(", "area", ")", "from", "state", "where", "state_name", "in", "(", "select", "border", "from", "border_info", "where", "state_name", "=", "value", ")", ")", "and", "state_name", "in", "(", "select", "border", "from", "border_info", "where", "state_name", "=", "value", ")" ], "question": "qual estado tem a menor área que faz fronteira com o Texas", "question_toks": [ "qual", "estado", "tem", "a", "menor", "área", "que", "faz", "fronteira", "com", "o", "Texas" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 1, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 2, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [ [ false, 8, [ 0, [ 0, 1, false ], null ], { "from": { "table_units": [ [ "table_unit", 2 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 12, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 11, false ], null ], "\"texas\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ], "and", [ false, 8, [ 0, [ 0, 1, false ], null ], { "from": { "table_units": [ [ "table_unit", 2 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 12, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 11, false ], null ], "\"texas\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT state_name FROM state WHERE area = ( SELECT MIN ( area ) FROM state WHERE state_name IN ( SELECT traverse FROM river WHERE river_name = \"mississippi\" ) ) AND state_name IN ( SELECT traverse FROM river WHERE river_name = \"mississippi\" );", "query_toks": [ "SELECT", "state_name", "FROM", "state", "WHERE", "area", "=", "(", "SELECT", "MIN", "(", "area", ")", "FROM", "state", "WHERE", "state_name", "IN", "(", "SELECT", "traverse", "FROM", "river", "WHERE", "river_name", "=", "``", "mississippi", "''", ")", ")", "AND", "state_name", "IN", "(", "SELECT", "traverse", "FROM", "river", "WHERE", "river_name", "=", "``", "mississippi", "''", ")", ";" ], "query_toks_no_value": [ "select", "state_name", "from", "state", "where", "area", "=", "(", "select", "min", "(", "area", ")", "from", "state", "where", "state_name", "in", "(", "select", "traverse", "from", "river", "where", "river_name", "=", "value", ")", ")", "and", "state_name", "in", "(", "select", "traverse", "from", "river", "where", "river_name", "=", "value", ")" ], "question": "qual é o menor estado que o rio mississippi atravessa", "question_toks": [ "qual", "é", "o", "menor", "estado", "que", "o", "rio", "mississippi", "atravessa" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 1, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 2, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [ [ false, 8, [ 0, [ 0, 1, false ], null ], { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 29, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 26, false ], null ], "\"mississippi\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ], "and", [ false, 8, [ 0, [ 0, 1, false ], null ], { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 29, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 26, false ], null ], "\"mississippi\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT state_name FROM state WHERE area = ( SELECT MIN ( area ) FROM state );", "query_toks": [ "SELECT", "state_name", "FROM", "state", "WHERE", "area", "=", "(", "SELECT", "MIN", "(", "area", ")", "FROM", "state", ")", ";" ], "query_toks_no_value": [ "select", "state_name", "from", "state", "where", "area", "=", "(", "select", "min", "(", "area", ")", "from", "state", ")" ], "question": "qual é o estado com a menor área", "question_toks": [ "qual", "é", "o", "estado", "com", "a", "menor", "área" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 1, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 2, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT state_name FROM state WHERE area = ( SELECT MIN ( area ) FROM state );", "query_toks": [ "SELECT", "state_name", "FROM", "state", "WHERE", "area", "=", "(", "SELECT", "MIN", "(", "area", ")", "FROM", "state", ")", ";" ], "query_toks_no_value": [ "select", "state_name", "from", "state", "where", "area", "=", "(", "select", "min", "(", "area", ")", "from", "state", ")" ], "question": "qual é o menor estado", "question_toks": [ "qual", "é", "o", "menor", "estado" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 1, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 2, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT state_name FROM state WHERE area = ( SELECT MIN ( area ) FROM state );", "query_toks": [ "SELECT", "state_name", "FROM", "state", "WHERE", "area", "=", "(", "SELECT", "MIN", "(", "area", ")", "FROM", "state", ")", ";" ], "query_toks_no_value": [ "select", "state_name", "from", "state", "where", "area", "=", "(", "select", "min", "(", "area", ")", "from", "state", ")" ], "question": "qual estado é o menor", "question_toks": [ "qual", "estado", "é", "o", "menor" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 1, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 2, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT state_name FROM state WHERE area = ( SELECT MIN ( area ) FROM state );", "query_toks": [ "SELECT", "state_name", "FROM", "state", "WHERE", "area", "=", "(", "SELECT", "MIN", "(", "area", ")", "FROM", "state", ")", ";" ], "query_toks_no_value": [ "select", "state_name", "from", "state", "where", "area", "=", "(", "select", "min", "(", "area", ")", "from", "state", ")" ], "question": "qual é o menor estado dos EUA", "question_toks": [ "qual", "é", "o", "menor", "estado", "dos", "EUA" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 1, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 2, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT state_name FROM state WHERE area = ( SELECT MIN ( area ) FROM state );", "query_toks": [ "SELECT", "state_name", "FROM", "state", "WHERE", "area", "=", "(", "SELECT", "MIN", "(", "area", ")", "FROM", "state", ")", ";" ], "query_toks_no_value": [ "select", "state_name", "from", "state", "where", "area", "=", "(", "select", "min", "(", "area", ")", "from", "state", ")" ], "question": "qual é o menor estado por área", "question_toks": [ "qual", "é", "o", "menor", "estado", "por", "área" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 1, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 2, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT state_name FROM state WHERE area = ( SELECT MIN ( area ) FROM state );", "query_toks": [ "SELECT", "state_name", "FROM", "state", "WHERE", "area", "=", "(", "SELECT", "MIN", "(", "area", ")", "FROM", "state", ")", ";" ], "query_toks_no_value": [ "select", "state_name", "from", "state", "where", "area", "=", "(", "select", "min", "(", "area", ")", "from", "state", ")" ], "question": "qual estado tem a menor área", "question_toks": [ "qual", "estado", "tem", "a", "menor", "área" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 1, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 2, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT SUM ( LENGTH ) FROM river;", "query_toks": [ "SELECT", "SUM", "(", "LENGTH", ")", "FROM", "river", ";" ], "query_toks_no_value": [ "select", "sum", "(", "length", ")", "from", "river" ], "question": "qual é o comprimento total de todos os rios nos eua", "question_toks": [ "qual", "é", "o", "comprimento", "total", "de", "todos", "os", "rios", "nos", "eua" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 4, [ 0, [ 0, 27, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT river_name FROM river GROUP BY ( river_name ) ORDER BY COUNT ( DISTINCT traverse ) DESC LIMIT 1;", "query_toks": [ "SELECT", "river_name", "FROM", "river", "GROUP", "BY", "(", "river_name", ")", "ORDER", "BY", "COUNT", "(", "DISTINCT", "traverse", ")", "DESC", "LIMIT", "1", ";" ], "query_toks_no_value": [ "select", "river_name", "from", "river", "group", "by", "(", "river_name", ")", "order", "by", "count", "(", "distinct", "traverse", ")", "desc", "limit", "value" ], "question": "que rio flui através da maioria dos estados", "question_toks": [ "que", "rio", "flui", "através", "da", "maioria", "dos", "estados" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 26, false ], null ] ] ] ], "where": [], "groupBy": [ [ 0, 26, false ] ], "having": [], "orderBy": [ "desc", [ [ 0, [ 3, 29, true ], null ] ] ], "limit": 1, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT river_name FROM river GROUP BY ( river_name ) ORDER BY COUNT ( DISTINCT traverse ) DESC LIMIT 1;", "query_toks": [ "SELECT", "river_name", "FROM", "river", "GROUP", "BY", "(", "river_name", ")", "ORDER", "BY", "COUNT", "(", "DISTINCT", "traverse", ")", "DESC", "LIMIT", "1", ";" ], "query_toks_no_value": [ "select", "river_name", "from", "river", "group", "by", "(", "river_name", ")", "order", "by", "count", "(", "distinct", "traverse", ")", "desc", "limit", "value" ], "question": "qual rio atravessa mais estados", "question_toks": [ "qual", "rio", "atravessa", "mais", "estados" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 26, false ], null ] ] ] ], "where": [], "groupBy": [ [ 0, 26, false ] ], "having": [], "orderBy": [ "desc", [ [ 0, [ 3, 29, true ], null ] ] ], "limit": 1, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT river_name FROM river GROUP BY ( river_name ) ORDER BY COUNT ( DISTINCT traverse ) DESC LIMIT 1;", "query_toks": [ "SELECT", "river_name", "FROM", "river", "GROUP", "BY", "(", "river_name", ")", "ORDER", "BY", "COUNT", "(", "DISTINCT", "traverse", ")", "DESC", "LIMIT", "1", ";" ], "query_toks_no_value": [ "select", "river_name", "from", "river", "group", "by", "(", "river_name", ")", "order", "by", "count", "(", "distinct", "traverse", ")", "desc", "limit", "value" ], "question": "qual rio atravessa a maioria dos estados", "question_toks": [ "qual", "rio", "atravessa", "a", "maioria", "dos", "estados" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 26, false ], null ] ] ] ], "where": [], "groupBy": [ [ 0, 26, false ] ], "having": [], "orderBy": [ "desc", [ [ 0, [ 3, 29, true ], null ] ] ], "limit": 1, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT river_name FROM river GROUP BY ( river_name ) ORDER BY COUNT ( DISTINCT traverse ) DESC LIMIT 1;", "query_toks": [ "SELECT", "river_name", "FROM", "river", "GROUP", "BY", "(", "river_name", ")", "ORDER", "BY", "COUNT", "(", "DISTINCT", "traverse", ")", "DESC", "LIMIT", "1", ";" ], "query_toks_no_value": [ "select", "river_name", "from", "river", "group", "by", "(", "river_name", ")", "order", "by", "count", "(", "distinct", "traverse", ")", "desc", "limit", "value" ], "question": "qual rio atravessa a maioria dos estados", "question_toks": [ "qual", "rio", "atravessa", "a", "maioria", "dos", "estados" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 26, false ], null ] ] ] ], "where": [], "groupBy": [ [ 0, 26, false ] ], "having": [], "orderBy": [ "desc", [ [ 0, [ 3, 29, true ], null ] ] ], "limit": 1, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT river_name FROM river GROUP BY ( river_name ) ORDER BY COUNT ( DISTINCT traverse ) DESC LIMIT 1;", "query_toks": [ "SELECT", "river_name", "FROM", "river", "GROUP", "BY", "(", "river_name", ")", "ORDER", "BY", "COUNT", "(", "DISTINCT", "traverse", ")", "DESC", "LIMIT", "1", ";" ], "query_toks_no_value": [ "select", "river_name", "from", "river", "group", "by", "(", "river_name", ")", "order", "by", "count", "(", "distinct", "traverse", ")", "desc", "limit", "value" ], "question": "qual rio atravessa mais estados", "question_toks": [ "qual", "rio", "atravessa", "mais", "estados" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 26, false ], null ] ] ] ], "where": [], "groupBy": [ [ 0, 26, false ] ], "having": [], "orderBy": [ "desc", [ [ 0, [ 3, 29, true ], null ] ] ], "limit": 1, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT river_name FROM river GROUP BY ( river_name ) ORDER BY COUNT ( DISTINCT traverse ) DESC LIMIT 1;", "query_toks": [ "SELECT", "river_name", "FROM", "river", "GROUP", "BY", "(", "river_name", ")", "ORDER", "BY", "COUNT", "(", "DISTINCT", "traverse", ")", "DESC", "LIMIT", "1", ";" ], "query_toks_no_value": [ "select", "river_name", "from", "river", "group", "by", "(", "river_name", ")", "order", "by", "count", "(", "distinct", "traverse", ")", "desc", "limit", "value" ], "question": "qual rio atravessa mais estados", "question_toks": [ "qual", "rio", "atravessa", "mais", "estados" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 26, false ], null ] ] ] ], "where": [], "groupBy": [ [ 0, 26, false ] ], "having": [], "orderBy": [ "desc", [ [ 0, [ 3, 29, true ], null ] ] ], "limit": 1, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT river_name FROM river GROUP BY ( river_name ) ORDER BY COUNT ( DISTINCT traverse ) DESC LIMIT 1;", "query_toks": [ "SELECT", "river_name", "FROM", "river", "GROUP", "BY", "(", "river_name", ")", "ORDER", "BY", "COUNT", "(", "DISTINCT", "traverse", ")", "DESC", "LIMIT", "1", ";" ], "query_toks_no_value": [ "select", "river_name", "from", "river", "group", "by", "(", "river_name", ")", "order", "by", "count", "(", "distinct", "traverse", ")", "desc", "limit", "value" ], "question": "que rio atravessa a maioria dos estados", "question_toks": [ "que", "rio", "atravessa", "a", "maioria", "dos", "estados" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 26, false ], null ] ] ] ], "where": [], "groupBy": [ [ 0, 26, false ] ], "having": [], "orderBy": [ "desc", [ [ 0, [ 3, 29, true ], null ] ] ], "limit": 1, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT river_name FROM river WHERE traverse IN ( SELECT border FROM border_info WHERE state_name = \"alabama\" );", "query_toks": [ "SELECT", "river_name", "FROM", "river", "WHERE", "traverse", "IN", "(", "SELECT", "border", "FROM", "border_info", "WHERE", "state_name", "=", "``", "alabama", "''", ")", ";" ], "query_toks_no_value": [ "select", "river_name", "from", "river", "where", "traverse", "in", "(", "select", "border", "from", "border_info", "where", "state_name", "=", "value", ")" ], "question": "quais são os rios nos estados que fazem fronteira com o alabama", "question_toks": [ "quais", "são", "os", "rios", "nos", "estados", "que", "fazem", "fronteira", "com", "o", "alabama" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 26, false ], null ] ] ] ], "where": [ [ false, 8, [ 0, [ 0, 29, false ], null ], { "from": { "table_units": [ [ "table_unit", 2 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 12, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 11, false ], null ], "\"alabama\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT river_name FROM river WHERE traverse IN ( SELECT border FROM border_info WHERE state_name = \"alabama\" );", "query_toks": [ "SELECT", "river_name", "FROM", "river", "WHERE", "traverse", "IN", "(", "SELECT", "border", "FROM", "border_info", "WHERE", "state_name", "=", "``", "alabama", "''", ")", ";" ], "query_toks_no_value": [ "select", "river_name", "from", "river", "where", "traverse", "in", "(", "select", "border", "from", "border_info", "where", "state_name", "=", "value", ")" ], "question": "quais rios passam pelos estados que fazem fronteira com o Alabama", "question_toks": [ "quais", "rios", "passam", "pelos", "estados", "que", "fazem", "fronteira", "com", "o", "Alabama" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 26, false ], null ] ] ] ], "where": [ [ false, 8, [ 0, [ 0, 29, false ], null ], { "from": { "table_units": [ [ "table_unit", 2 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 12, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 11, false ], null ], "\"alabama\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT river_name FROM river WHERE traverse IN ( SELECT border FROM border_info WHERE state_name = \"alabama\" );", "query_toks": [ "SELECT", "river_name", "FROM", "river", "WHERE", "traverse", "IN", "(", "SELECT", "border", "FROM", "border_info", "WHERE", "state_name", "=", "``", "alabama", "''", ")", ";" ], "query_toks_no_value": [ "select", "river_name", "from", "river", "where", "traverse", "in", "(", "select", "border", "from", "border_info", "where", "state_name", "=", "value", ")" ], "question": "quais rios fluem através dos estados que fazem fronteira com o Alabama", "question_toks": [ "quais", "rios", "fluem", "através", "dos", "estados", "que", "fazem", "fronteira", "com", "o", "Alabama" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 26, false ], null ] ] ] ], "where": [ [ false, 8, [ 0, [ 0, 29, false ], null ], { "from": { "table_units": [ [ "table_unit", 2 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 12, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 11, false ], null ], "\"alabama\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT state_name FROM state WHERE state_name IN ( SELECT border FROM border_info WHERE state_name = \"oklahoma\" ) ORDER BY population DESC LIMIT 1;", "query_toks": [ "SELECT", "state_name", "FROM", "state", "WHERE", "state_name", "IN", "(", "SELECT", "border", "FROM", "border_info", "WHERE", "state_name", "=", "``", "oklahoma", "''", ")", "ORDER", "BY", "population", "DESC", "LIMIT", "1", ";" ], "query_toks_no_value": [ "select", "state_name", "from", "state", "where", "state_name", "in", "(", "select", "border", "from", "border_info", "where", "state_name", "=", "value", ")", "order", "by", "population", "desc", "limit", "value" ], "question": "qual estado na fronteira com Oklahoma tem a maior população", "question_toks": [ "qual", "estado", "na", "fronteira", "com", "Oklahoma", "tem", "a", "maior", "população" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 1, false ], null ] ] ] ], "where": [ [ false, 8, [ 0, [ 0, 1, false ], null ], { "from": { "table_units": [ [ "table_unit", 2 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 12, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 11, false ], null ], "\"oklahoma\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [ "desc", [ [ 0, [ 0, 2, false ], null ] ] ], "limit": 1, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT state_name FROM state WHERE state_name IN ( SELECT border FROM border_info WHERE state_name = \"oklahoma\" ) ORDER BY population DESC LIMIT 1;", "query_toks": [ "SELECT", "state_name", "FROM", "state", "WHERE", "state_name", "IN", "(", "SELECT", "border", "FROM", "border_info", "WHERE", "state_name", "=", "``", "oklahoma", "''", ")", "ORDER", "BY", "population", "DESC", "LIMIT", "1", ";" ], "query_toks_no_value": [ "select", "state_name", "from", "state", "where", "state_name", "in", "(", "select", "border", "from", "border_info", "where", "state_name", "=", "value", ")", "order", "by", "population", "desc", "limit", "value" ], "question": "qual dos estados limítrofes de Oklahoma tem a maior população", "question_toks": [ "qual", "dos", "estados", "limítrofes", "de", "Oklahoma", "tem", "a", "maior", "população" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 1, false ], null ] ] ] ], "where": [ [ false, 8, [ 0, [ 0, 1, false ], null ], { "from": { "table_units": [ [ "table_unit", 2 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 12, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 11, false ], null ], "\"oklahoma\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [ "desc", [ [ 0, [ 0, 2, false ], null ] ] ], "limit": 1, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT state_name FROM state WHERE state_name IN ( SELECT border FROM border_info WHERE state_name = \"oklahoma\" ) ORDER BY population DESC LIMIT 1;", "query_toks": [ "SELECT", "state_name", "FROM", "state", "WHERE", "state_name", "IN", "(", "SELECT", "border", "FROM", "border_info", "WHERE", "state_name", "=", "``", "oklahoma", "''", ")", "ORDER", "BY", "population", "DESC", "LIMIT", "1", ";" ], "query_toks_no_value": [ "select", "state_name", "from", "state", "where", "state_name", "in", "(", "select", "border", "from", "border_info", "where", "state_name", "=", "value", ")", "order", "by", "population", "desc", "limit", "value" ], "question": "qual estado que faz fronteira com Oklahoma tem a maior população", "question_toks": [ "qual", "estado", "que", "faz", "fronteira", "com", "Oklahoma", "tem", "a", "maior", "população" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 1, false ], null ] ] ] ], "where": [ [ false, 8, [ 0, [ 0, 1, false ], null ], { "from": { "table_units": [ [ "table_unit", 2 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 12, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 11, false ], null ], "\"oklahoma\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [ "desc", [ [ 0, [ 0, 2, false ], null ] ] ], "limit": 1, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT state_name FROM state WHERE state_name IN ( SELECT border FROM border_info WHERE state_name = \"oklahoma\" ) ORDER BY population DESC LIMIT 1;", "query_toks": [ "SELECT", "state_name", "FROM", "state", "WHERE", "state_name", "IN", "(", "SELECT", "border", "FROM", "border_info", "WHERE", "state_name", "=", "``", "oklahoma", "''", ")", "ORDER", "BY", "population", "DESC", "LIMIT", "1", ";" ], "query_toks_no_value": [ "select", "state_name", "from", "state", "where", "state_name", "in", "(", "select", "border", "from", "border_info", "where", "state_name", "=", "value", ")", "order", "by", "population", "desc", "limit", "value" ], "question": "qual é o estado mais populoso que faz fronteira com Oklahoma", "question_toks": [ "qual", "é", "o", "estado", "mais", "populoso", "que", "faz", "fronteira", "com", "Oklahoma" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 1, false ], null ] ] ] ], "where": [ [ false, 8, [ 0, [ 0, 1, false ], null ], { "from": { "table_units": [ [ "table_unit", 2 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 12, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 11, false ], null ], "\"oklahoma\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [ "desc", [ [ 0, [ 0, 2, false ], null ] ] ], "limit": 1, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT state_name FROM highlow WHERE highest_elevation = ( SELECT MAX ( highest_elevation ) FROM highlow WHERE state_name IN ( SELECT traverse FROM river WHERE river_name = \"colorado\" ) );", "query_toks": [ "SELECT", "state_name", "FROM", "highlow", "WHERE", "highest_elevation", "=", "(", "SELECT", "MAX", "(", "highest_elevation", ")", "FROM", "highlow", "WHERE", "state_name", "IN", "(", "SELECT", "traverse", "FROM", "river", "WHERE", "river_name", "=", "``", "colorado", "''", ")", ")", ";" ], "query_toks_no_value": [ "select", "state_name", "from", "highlow", "where", "highest_elevation", "=", "(", "select", "max", "(", "highest_elevation", ")", "from", "highlow", "where", "state_name", "in", "(", "select", "traverse", "from", "river", "where", "river_name", "=", "value", ")", ")" ], "question": "qual estado contém o ponto mais alto daqueles que o rio Colorado atravessa", "question_toks": [ "qual", "estado", "contém", "o", "ponto", "mais", "alto", "daqueles", "que", "o", "rio", "Colorado", "atravessa" ], "sql": { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 13, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 14, false ], null ], { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 14, false ], null ] ] ] ], "where": [ [ false, 8, [ 0, [ 0, 13, false ], null ], { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 29, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 26, false ], null ], "\"colorado\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT state_name FROM city WHERE population = ( SELECT MAX ( t1.population ) FROM state AS t2 JOIN city AS t1 ON t2.capital = t1.city_name );", "query_toks": [ "SELECT", "state_name", "FROM", "city", "WHERE", "population", "=", "(", "SELECT", "MAX", "(", "t1.population", ")", "FROM", "state", "AS", "t2", "JOIN", "city", "AS", "t1", "ON", "t2.capital", "=", "t1.city_name", ")", ";" ], "query_toks_no_value": [ "select", "state_name", "from", "city", "where", "population", "=", "(", "select", "max", "(", "t1", ".", "population", ")", "from", "state", "as", "t2", "join", "city", "as", "t1", "on", "t2", ".", "capital", "=", "t1", ".", "city_name", ")" ], "question": "qual estado tem a maior capital", "question_toks": [ "qual", "estado", "tem", "a", "maior", "capital" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 10, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 8, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 5, false ], null ], [ 0, 7, false ], null ] ] }, "select": [ false, [ [ 1, [ 0, [ 0, 8, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT state_name FROM city WHERE population = ( SELECT MAX ( t1.population ) FROM state AS t2 JOIN city AS t1 ON t2.capital = t1.city_name );", "query_toks": [ "SELECT", "state_name", "FROM", "city", "WHERE", "population", "=", "(", "SELECT", "MAX", "(", "t1.population", ")", "FROM", "state", "AS", "t2", "JOIN", "city", "AS", "t1", "ON", "t2.capital", "=", "t1.city_name", ")", ";" ], "query_toks_no_value": [ "select", "state_name", "from", "city", "where", "population", "=", "(", "select", "max", "(", "t1", ".", "population", ")", "from", "state", "as", "t2", "join", "city", "as", "t1", "on", "t2", ".", "capital", "=", "t1", ".", "city_name", ")" ], "question": "qual capital do estado é a maior", "question_toks": [ "qual", "capital", "do", "estado", "é", "a", "maior" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 10, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 8, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 5, false ], null ], [ 0, 7, false ], null ] ] }, "select": [ false, [ [ 1, [ 0, [ 0, 8, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT DISTINCT traverse FROM river WHERE LENGTH = ( SELECT MAX ( DISTINCT LENGTH ) FROM river );", "query_toks": [ "SELECT", "DISTINCT", "traverse", "FROM", "river", "WHERE", "LENGTH", "=", "(", "SELECT", "MAX", "(", "DISTINCT", "LENGTH", ")", "FROM", "river", ")", ";" ], "query_toks_no_value": [ "select", "distinct", "traverse", "from", "river", "where", "length", "=", "(", "select", "max", "(", "distinct", "length", ")", "from", "river", ")" ], "question": "qual estado tem o rio mais longo", "question_toks": [ "qual", "estado", "tem", "o", "rio", "mais", "longo" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ true, [ [ 0, [ 0, [ 0, 29, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 27, false ], null ], { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 27, true ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT state_name FROM city GROUP BY state_name ORDER BY SUM ( population ) LIMIT 1;", "query_toks": [ "SELECT", "state_name", "FROM", "city", "GROUP", "BY", "state_name", "ORDER", "BY", "SUM", "(", "population", ")", "LIMIT", "1", ";" ], "query_toks_no_value": [ "select", "state_name", "from", "city", "group", "by", "state_name", "order", "by", "sum", "(", "population", ")", "limit", "value" ], "question": "qual estado tem a menor população urbana", "question_toks": [ "qual", "estado", "tem", "a", "menor", "população", "urbana" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 10, false ], null ] ] ] ], "where": [], "groupBy": [ [ 0, 10, false ] ], "having": [], "orderBy": [ "asc", [ [ 0, [ 4, 8, false ], null ] ] ], "limit": 1, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT border FROM border_info WHERE state_name IN ( SELECT border FROM border_info WHERE state_name = \"colorado\" );", "query_toks": [ "SELECT", "border", "FROM", "border_info", "WHERE", "state_name", "IN", "(", "SELECT", "border", "FROM", "border_info", "WHERE", "state_name", "=", "``", "colorado", "''", ")", ";" ], "query_toks_no_value": [ "select", "border", "from", "border_info", "where", "state_name", "in", "(", "select", "border", "from", "border_info", "where", "state_name", "=", "value", ")" ], "question": "o que estados fronteira estados que fronteira colorado", "question_toks": [ "o", "que", "estados", "fronteira", "estados", "que", "fronteira", "colorado" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 12, false ], null ] ] ] ], "where": [ [ false, 8, [ 0, [ 0, 11, false ], null ], { "from": { "table_units": [ [ "table_unit", 2 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 12, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 11, false ], null ], "\"colorado\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT border FROM border_info WHERE state_name IN ( SELECT traverse FROM river WHERE river_name = \"mississippi\" );", "query_toks": [ "SELECT", "border", "FROM", "border_info", "WHERE", "state_name", "IN", "(", "SELECT", "traverse", "FROM", "river", "WHERE", "river_name", "=", "``", "mississippi", "''", ")", ";" ], "query_toks_no_value": [ "select", "border", "from", "border_info", "where", "state_name", "in", "(", "select", "traverse", "from", "river", "where", "river_name", "=", "value", ")" ], "question": "o que indica a fronteira afirma que o Mississippi atravessa", "question_toks": [ "o", "que", "indica", "a", "fronteira", "afirma", "que", "o", "Mississippi", "atravessa" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 12, false ], null ] ] ] ], "where": [ [ false, 8, [ 0, [ 0, 11, false ], null ], { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 29, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 26, false ], null ], "\"mississippi\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT border FROM border_info WHERE state_name IN ( SELECT traverse FROM river WHERE river_name = \"mississippi\" );", "query_toks": [ "SELECT", "border", "FROM", "border_info", "WHERE", "state_name", "IN", "(", "SELECT", "traverse", "FROM", "river", "WHERE", "river_name", "=", "``", "mississippi", "''", ")", ";" ], "query_toks_no_value": [ "select", "border", "from", "border_info", "where", "state_name", "in", "(", "select", "traverse", "from", "river", "where", "river_name", "=", "value", ")" ], "question": "que estados fazem fronteira com os estados através dos quais o Mississippi atravessa", "question_toks": [ "que", "estados", "fazem", "fronteira", "com", "os", "estados", "através", "dos", "quais", "o", "Mississippi", "atravessa" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 12, false ], null ] ] ] ], "where": [ [ false, 8, [ 0, [ 0, 11, false ], null ], { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 29, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 26, false ], null ], "\"mississippi\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT border FROM border_info WHERE state_name IN ( SELECT traverse FROM river WHERE river_name = \"mississippi\" );", "query_toks": [ "SELECT", "border", "FROM", "border_info", "WHERE", "state_name", "IN", "(", "SELECT", "traverse", "FROM", "river", "WHERE", "river_name", "=", "``", "mississippi", "''", ")", ";" ], "query_toks_no_value": [ "select", "border", "from", "border_info", "where", "state_name", "in", "(", "select", "traverse", "from", "river", "where", "river_name", "=", "value", ")" ], "question": "quais estados limítrofes estados pelos quais o Mississippi atravessa", "question_toks": [ "quais", "estados", "limítrofes", "estados", "pelos", "quais", "o", "Mississippi", "atravessa" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 12, false ], null ] ] ] ], "where": [ [ false, 8, [ 0, [ 0, 11, false ], null ], { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 29, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 26, false ], null ], "\"mississippi\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT state_name FROM border_info WHERE border = \"texas\" AND state_name IN ( SELECT traverse FROM river WHERE LENGTH > 750 );", "query_toks": [ "SELECT", "state_name", "FROM", "border_info", "WHERE", "border", "=", "``", "texas", "''", "AND", "state_name", "IN", "(", "SELECT", "traverse", "FROM", "river", "WHERE", "LENGTH", ">", "750", ")", ";" ], "query_toks_no_value": [ "select", "state_name", "from", "border_info", "where", "border", "=", "value", "and", "state_name", "in", "(", "select", "traverse", "from", "river", "where", "length", ">", "value", ")" ], "question": "quais estados fazem fronteira com o Texas e têm um grande rio", "question_toks": [ "quais", "estados", "fazem", "fronteira", "com", "o", "Texas", "e", "têm", "um", "grande", "rio" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 12, false ], null ], "\"texas\"", null ], "and", [ false, 8, [ 0, [ 0, 11, false ], null ], { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 29, false ], null ] ] ] ], "where": [ [ false, 3, [ 0, [ 0, 27, false ], null ], 750.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT border FROM border_info WHERE state_name = ( SELECT state_name FROM state WHERE population = ( SELECT MAX ( population ) FROM state ) );", "query_toks": [ "SELECT", "border", "FROM", "border_info", "WHERE", "state_name", "=", "(", "SELECT", "state_name", "FROM", "state", "WHERE", "population", "=", "(", "SELECT", "MAX", "(", "population", ")", "FROM", "state", ")", ")", ";" ], "query_toks_no_value": [ "select", "border", "from", "border_info", "where", "state_name", "=", "(", "select", "state_name", "from", "state", "where", "population", "=", "(", "select", "max", "(", "population", ")", "from", "state", ")", ")" ], "question": "quais estados fazem fronteira com o estado mais populoso", "question_toks": [ "quais", "estados", "fazem", "fronteira", "com", "o", "estado", "mais", "populoso" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 12, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 11, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 1, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 2, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 2, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT border FROM border_info WHERE state_name = ( SELECT state_name FROM state WHERE population = ( SELECT MAX ( population ) FROM state ) );", "query_toks": [ "SELECT", "border", "FROM", "border_info", "WHERE", "state_name", "=", "(", "SELECT", "state_name", "FROM", "state", "WHERE", "population", "=", "(", "SELECT", "MAX", "(", "population", ")", "FROM", "state", ")", ")", ";" ], "query_toks_no_value": [ "select", "border", "from", "border_info", "where", "state_name", "=", "(", "select", "state_name", "from", "state", "where", "population", "=", "(", "select", "max", "(", "population", ")", "from", "state", ")", ")" ], "question": "quais são os estados que fazem fronteira com o estado com maior população", "question_toks": [ "quais", "são", "os", "estados", "que", "fazem", "fronteira", "com", "o", "estado", "com", "maior", "população" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 12, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 11, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 1, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 2, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 2, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT border FROM border_info WHERE state_name = ( SELECT state_name FROM state WHERE area = ( SELECT MIN ( area ) FROM state ) );", "query_toks": [ "SELECT", "border", "FROM", "border_info", "WHERE", "state_name", "=", "(", "SELECT", "state_name", "FROM", "state", "WHERE", "area", "=", "(", "SELECT", "MIN", "(", "area", ")", "FROM", "state", ")", ")", ";" ], "query_toks_no_value": [ "select", "border", "from", "border_info", "where", "state_name", "=", "(", "select", "state_name", "from", "state", "where", "area", "=", "(", "select", "min", "(", "area", ")", "from", "state", ")", ")" ], "question": "quais estados fazem fronteira com o estado com a menor área", "question_toks": [ "quais", "estados", "fazem", "fronteira", "com", "o", "estado", "com", "a", "menor", "área" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 12, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 11, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 1, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 2, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT border FROM border_info WHERE state_name = ( SELECT state_name FROM state WHERE area = ( SELECT MIN ( area ) FROM state ) );", "query_toks": [ "SELECT", "border", "FROM", "border_info", "WHERE", "state_name", "=", "(", "SELECT", "state_name", "FROM", "state", "WHERE", "area", "=", "(", "SELECT", "MIN", "(", "area", ")", "FROM", "state", ")", ")", ";" ], "query_toks_no_value": [ "select", "border", "from", "border_info", "where", "state_name", "=", "(", "select", "state_name", "from", "state", "where", "area", "=", "(", "select", "min", "(", "area", ")", "from", "state", ")", ")" ], "question": "quais estados fazem fronteira com o estado com a menor área", "question_toks": [ "quais", "estados", "fazem", "fronteira", "com", "o", "estado", "com", "a", "menor", "área" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 12, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 11, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 1, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 2, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT traverse FROM river WHERE LENGTH > 750;", "query_toks": [ "SELECT", "traverse", "FROM", "river", "WHERE", "LENGTH", ">", "750", ";" ], "query_toks_no_value": [ "select", "traverse", "from", "river", "where", "length", ">", "value" ], "question": "quais estados contêm pelo menos um rio importante", "question_toks": [ "quais", "estados", "contêm", "pelo", "menos", "um", "rio", "importante" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 29, false ], null ] ] ] ], "where": [ [ false, 3, [ 0, [ 0, 27, false ], null ], 750.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT state_name FROM mountain;", "query_toks": [ "SELECT", "state_name", "FROM", "mountain", ";" ], "query_toks_no_value": [ "select", "state_name", "from", "mountain" ], "question": "onde estão as montanhas", "question_toks": [ "onde", "estão", "as", "montanhas" ], "sql": { "from": { "table_units": [ [ "table_unit", 5 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 25, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT state_name FROM mountain WHERE mountain_altitude = ( SELECT MAX ( mountain_altitude ) FROM mountain );", "query_toks": [ "SELECT", "state_name", "FROM", "mountain", "WHERE", "mountain_altitude", "=", "(", "SELECT", "MAX", "(", "mountain_altitude", ")", "FROM", "mountain", ")", ";" ], "query_toks_no_value": [ "select", "state_name", "from", "mountain", "where", "mountain_altitude", "=", "(", "select", "max", "(", "mountain_altitude", ")", "from", "mountain", ")" ], "question": "onde fica a montanha mais alta dos estados unidos", "question_toks": [ "onde", "fica", "a", "montanha", "mais", "alta", "dos", "estados", "unidos" ], "sql": { "from": { "table_units": [ [ "table_unit", 5 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 25, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 23, false ], null ], { "from": { "table_units": [ [ "table_unit", 5 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 23, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT state_name FROM mountain WHERE mountain_altitude = ( SELECT MAX ( mountain_altitude ) FROM mountain );", "query_toks": [ "SELECT", "state_name", "FROM", "mountain", "WHERE", "mountain_altitude", "=", "(", "SELECT", "MAX", "(", "mountain_altitude", ")", "FROM", "mountain", ")", ";" ], "query_toks_no_value": [ "select", "state_name", "from", "mountain", "where", "mountain_altitude", "=", "(", "select", "max", "(", "mountain_altitude", ")", "from", "mountain", ")" ], "question": "qual estado tem o pico mais alto do país", "question_toks": [ "qual", "estado", "tem", "o", "pico", "mais", "alto", "do", "país" ], "sql": { "from": { "table_units": [ [ "table_unit", 5 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 25, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 23, false ], null ], { "from": { "table_units": [ [ "table_unit", 5 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 23, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT state_name FROM city WHERE population = ( SELECT MIN ( population ) FROM city );", "query_toks": [ "SELECT", "state_name", "FROM", "city", "WHERE", "population", "=", "(", "SELECT", "MIN", "(", "population", ")", "FROM", "city", ")", ";" ], "query_toks_no_value": [ "select", "state_name", "from", "city", "where", "population", "=", "(", "select", "min", "(", "population", ")", "from", "city", ")" ], "question": "onde fica a menor cidade", "question_toks": [ "onde", "fica", "a", "menor", "cidade" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 10, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 8, false ], null ], { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 2, [ 0, [ 0, 8, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT density FROM state WHERE state_name IN ( SELECT traverse FROM river WHERE LENGTH = ( SELECT MAX ( LENGTH ) FROM river ) );", "query_toks": [ "SELECT", "density", "FROM", "state", "WHERE", "state_name", "IN", "(", "SELECT", "traverse", "FROM", "river", "WHERE", "LENGTH", "=", "(", "SELECT", "MAX", "(", "LENGTH", ")", "FROM", "river", ")", ")", ";" ], "query_toks_no_value": [ "select", "density", "from", "state", "where", "state_name", "in", "(", "select", "traverse", "from", "river", "where", "length", "=", "(", "select", "max", "(", "length", ")", "from", "river", ")", ")" ], "question": "que é a densidade do estado por onde passa o maior rio dos estados unidos", "question_toks": [ "que", "é", "a", "densidade", "do", "estado", "por", "onde", "passa", "o", "maior", "rio", "dos", "estados", "unidos" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 6, false ], null ] ] ] ], "where": [ [ false, 8, [ 0, [ 0, 1, false ], null ], { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 29, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 27, false ], null ], { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 27, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT mountain_name FROM mountain WHERE mountain_altitude = ( SELECT MAX ( mountain_altitude ) FROM mountain WHERE state_name != \"alaska\" );", "query_toks": [ "SELECT", "mountain_name", "FROM", "mountain", "WHERE", "mountain_altitude", "=", "(", "SELECT", "MAX", "(", "mountain_altitude", ")", "FROM", "mountain", "WHERE", "state_name", "!", "=", "``", "alaska", "''", ")", ";" ], "query_toks_no_value": [ "select", "mountain_name", "from", "mountain", "where", "mountain_altitude", "=", "(", "select", "max", "(", "mountain_altitude", ")", "from", "mountain", "where", "state_name", "!", "=", "value", ")" ], "question": "que é o pico mais alto fora do Alaska", "question_toks": [ "que", "é", "o", "pico", "mais", "alto", "fora", "do", "Alaska" ], "sql": { "from": { "table_units": [ [ "table_unit", 5 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 22, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 23, false ], null ], { "from": { "table_units": [ [ "table_unit", 5 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 23, false ], null ] ] ] ], "where": [ [ false, 7, [ 0, [ 0, 25, false ], null ], "\"alaska\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT river_name FROM river WHERE river_name NOT IN ( SELECT river_name FROM river WHERE traverse = \"tennessee\" );", "query_toks": [ "SELECT", "river_name", "FROM", "river", "WHERE", "river_name", "NOT", "IN", "(", "SELECT", "river_name", "FROM", "river", "WHERE", "traverse", "=", "``", "tennessee", "''", ")", ";" ], "query_toks_no_value": [ "select", "river_name", "from", "river", "where", "river_name", "not", "in", "(", "select", "river_name", "from", "river", "where", "traverse", "=", "value", ")" ], "question": "quais rios não passam pelo tennessee", "question_toks": [ "quais", "rios", "não", "passam", "pelo", "tennessee" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 26, false ], null ] ] ] ], "where": [ [ true, 8, [ 0, [ 0, 26, false ], null ], { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 26, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 29, false ], null ], "\"tennessee\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT river_name FROM river WHERE river_name NOT IN ( SELECT river_name FROM river WHERE traverse = \"tennessee\" );", "query_toks": [ "SELECT", "river_name", "FROM", "river", "WHERE", "river_name", "NOT", "IN", "(", "SELECT", "river_name", "FROM", "river", "WHERE", "traverse", "=", "``", "tennessee", "''", ")", ";" ], "query_toks_no_value": [ "select", "river_name", "from", "river", "where", "river_name", "not", "in", "(", "select", "river_name", "from", "river", "where", "traverse", "=", "value", ")" ], "question": "quais rios não passam pelo tennessee", "question_toks": [ "quais", "rios", "não", "passam", "pelo", "tennessee" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 26, false ], null ] ] ] ], "where": [ [ true, 8, [ 0, [ 0, 26, false ], null ], { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 26, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 29, false ], null ], "\"tennessee\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT river_name FROM river WHERE country_name != \"usa\";", "query_toks": [ "SELECT", "river_name", "FROM", "river", "WHERE", "country_name", "!", "=", "``", "usa", "''", ";" ], "query_toks_no_value": [ "select", "river_name", "from", "river", "where", "country_name", "!", "=", "value" ], "question": "quais rios não passam pelos eua", "question_toks": [ "quais", "rios", "não", "passam", "pelos", "eua" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 26, false ], null ] ] ] ], "where": [ [ false, 7, [ 0, [ 0, 28, false ], null ], "\"usa\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT river_name FROM river WHERE traverse IN ( SELECT border FROM border_info WHERE state_name IN ( SELECT state_name FROM state WHERE capital = \"atlanta\" ) );", "query_toks": [ "SELECT", "river_name", "FROM", "river", "WHERE", "traverse", "IN", "(", "SELECT", "border", "FROM", "border_info", "WHERE", "state_name", "IN", "(", "SELECT", "state_name", "FROM", "state", "WHERE", "capital", "=", "``", "atlanta", "''", ")", ")", ";" ], "query_toks_no_value": [ "select", "river_name", "from", "river", "where", "traverse", "in", "(", "select", "border", "from", "border_info", "where", "state_name", "in", "(", "select", "state_name", "from", "state", "where", "capital", "=", "value", ")", ")" ], "question": "quais rios passam pelos estados que fazem fronteira com o estado com a capital atlanta", "question_toks": [ "quais", "rios", "passam", "pelos", "estados", "que", "fazem", "fronteira", "com", "o", "estado", "com", "a", "capital", "atlanta" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 26, false ], null ] ] ] ], "where": [ [ false, 8, [ 0, [ 0, 29, false ], null ], { "from": { "table_units": [ [ "table_unit", 2 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 12, false ], null ] ] ] ], "where": [ [ false, 8, [ 0, [ 0, 11, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 1, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 5, false ], null ], "\"atlanta\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT river_name FROM river WHERE traverse IN ( SELECT border FROM border_info WHERE state_name IN ( SELECT state_name FROM state WHERE capital = \"atlanta\" ) );", "query_toks": [ "SELECT", "river_name", "FROM", "river", "WHERE", "traverse", "IN", "(", "SELECT", "border", "FROM", "border_info", "WHERE", "state_name", "IN", "(", "SELECT", "state_name", "FROM", "state", "WHERE", "capital", "=", "``", "atlanta", "''", ")", ")", ";" ], "query_toks_no_value": [ "select", "river_name", "from", "river", "where", "traverse", "in", "(", "select", "border", "from", "border_info", "where", "state_name", "in", "(", "select", "state_name", "from", "state", "where", "capital", "=", "value", ")", ")" ], "question": "quais rios correm através dos estados que fazem fronteira com o estado com a capital atlanta", "question_toks": [ "quais", "rios", "correm", "através", "dos", "estados", "que", "fazem", "fronteira", "com", "o", "estado", "com", "a", "capital", "atlanta" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 26, false ], null ] ] ] ], "where": [ [ false, 8, [ 0, [ 0, 29, false ], null ], { "from": { "table_units": [ [ "table_unit", 2 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 12, false ], null ] ] ] ], "where": [ [ false, 8, [ 0, [ 0, 11, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 1, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 5, false ], null ], "\"atlanta\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT city_name FROM city WHERE population = ( SELECT MIN ( t1.population ) FROM state AS t2 JOIN city AS t1 ON t2.capital = t1.city_name );", "query_toks": [ "SELECT", "city_name", "FROM", "city", "WHERE", "population", "=", "(", "SELECT", "MIN", "(", "t1.population", ")", "FROM", "state", "AS", "t2", "JOIN", "city", "AS", "t1", "ON", "t2.capital", "=", "t1.city_name", ")", ";" ], "query_toks_no_value": [ "select", "city_name", "from", "city", "where", "population", "=", "(", "select", "min", "(", "t1", ".", "population", ")", "from", "state", "as", "t2", "join", "city", "as", "t1", "on", "t2", ".", "capital", "=", "t1", ".", "city_name", ")" ], "question": "qual capital do estado tem a menor população", "question_toks": [ "qual", "capital", "do", "estado", "tem", "a", "menor", "população" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 7, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 8, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 5, false ], null ], [ 0, 7, false ], null ] ] }, "select": [ false, [ [ 2, [ 0, [ 0, 8, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT state_name FROM highlow WHERE highest_elevation = ( SELECT MAX ( highest_elevation ) FROM highlow );", "query_toks": [ "SELECT", "state_name", "FROM", "highlow", "WHERE", "highest_elevation", "=", "(", "SELECT", "MAX", "(", "highest_elevation", ")", "FROM", "highlow", ")", ";" ], "query_toks_no_value": [ "select", "state_name", "from", "highlow", "where", "highest_elevation", "=", "(", "select", "max", "(", "highest_elevation", ")", "from", "highlow", ")" ], "question": "qual estado tem a maior elevação", "question_toks": [ "qual", "estado", "tem", "a", "maior", "elevação" ], "sql": { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 13, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 14, false ], null ], { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 14, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT state_name FROM highlow WHERE highest_elevation = ( SELECT MAX ( highest_elevation ) FROM highlow );", "query_toks": [ "SELECT", "state_name", "FROM", "highlow", "WHERE", "highest_elevation", "=", "(", "SELECT", "MAX", "(", "highest_elevation", ")", "FROM", "highlow", ")", ";" ], "query_toks_no_value": [ "select", "state_name", "from", "highlow", "where", "highest_elevation", "=", "(", "select", "max", "(", "highest_elevation", ")", "from", "highlow", ")" ], "question": "qual estado tem o ponto mais alto", "question_toks": [ "qual", "estado", "tem", "o", "ponto", "mais", "alto" ], "sql": { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 13, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 14, false ], null ], { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 14, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT state_name FROM highlow WHERE highest_elevation = ( SELECT MAX ( highest_elevation ) FROM highlow );", "query_toks": [ "SELECT", "state_name", "FROM", "highlow", "WHERE", "highest_elevation", "=", "(", "SELECT", "MAX", "(", "highest_elevation", ")", "FROM", "highlow", ")", ";" ], "query_toks_no_value": [ "select", "state_name", "from", "highlow", "where", "highest_elevation", "=", "(", "select", "max", "(", "highest_elevation", ")", "from", "highlow", ")" ], "question": "qual estado tem a maior elevação", "question_toks": [ "qual", "estado", "tem", "a", "maior", "elevação" ], "sql": { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 13, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 14, false ], null ], { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 14, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT state_name FROM highlow WHERE highest_elevation = ( SELECT MAX ( highest_elevation ) FROM highlow );", "query_toks": [ "SELECT", "state_name", "FROM", "highlow", "WHERE", "highest_elevation", "=", "(", "SELECT", "MAX", "(", "highest_elevation", ")", "FROM", "highlow", ")", ";" ], "query_toks_no_value": [ "select", "state_name", "from", "highlow", "where", "highest_elevation", "=", "(", "select", "max", "(", "highest_elevation", ")", "from", "highlow", ")" ], "question": "em qual estado existe o ponto mais alto dos EUA", "question_toks": [ "em", "qual", "estado", "existe", "o", "ponto", "mais", "alto", "dos", "EUA" ], "sql": { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 13, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 14, false ], null ], { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 14, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT state_name FROM highlow WHERE highest_elevation = ( SELECT MAX ( highest_elevation ) FROM highlow );", "query_toks": [ "SELECT", "state_name", "FROM", "highlow", "WHERE", "highest_elevation", "=", "(", "SELECT", "MAX", "(", "highest_elevation", ")", "FROM", "highlow", ")", ";" ], "query_toks_no_value": [ "select", "state_name", "from", "highlow", "where", "highest_elevation", "=", "(", "select", "max", "(", "highest_elevation", ")", "from", "highlow", ")" ], "question": "qual estado tem maior elevação", "question_toks": [ "qual", "estado", "tem", "maior", "elevação" ], "sql": { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 13, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 14, false ], null ], { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 14, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT state_name FROM highlow WHERE highest_elevation = ( SELECT MAX ( highest_elevation ) FROM highlow );", "query_toks": [ "SELECT", "state_name", "FROM", "highlow", "WHERE", "highest_elevation", "=", "(", "SELECT", "MAX", "(", "highest_elevation", ")", "FROM", "highlow", ")", ";" ], "query_toks_no_value": [ "select", "state_name", "from", "highlow", "where", "highest_elevation", "=", "(", "select", "max", "(", "highest_elevation", ")", "from", "highlow", ")" ], "question": "qual é o estado com a maior elevação nos estados unidos", "question_toks": [ "qual", "é", "o", "estado", "com", "a", "maior", "elevação", "nos", "estados", "unidos" ], "sql": { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 13, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 14, false ], null ], { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 14, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT state_name FROM highlow WHERE highest_elevation = ( SELECT MAX ( highest_elevation ) FROM highlow );", "query_toks": [ "SELECT", "state_name", "FROM", "highlow", "WHERE", "highest_elevation", "=", "(", "SELECT", "MAX", "(", "highest_elevation", ")", "FROM", "highlow", ")", ";" ], "query_toks_no_value": [ "select", "state_name", "from", "highlow", "where", "highest_elevation", "=", "(", "select", "max", "(", "highest_elevation", ")", "from", "highlow", ")" ], "question": "qual é o estado que contém o ponto mais alto", "question_toks": [ "qual", "é", "o", "estado", "que", "contém", "o", "ponto", "mais", "alto" ], "sql": { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 13, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 14, false ], null ], { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 14, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT state_name FROM highlow WHERE highest_elevation = ( SELECT MAX ( highest_elevation ) FROM highlow );", "query_toks": [ "SELECT", "state_name", "FROM", "highlow", "WHERE", "highest_elevation", "=", "(", "SELECT", "MAX", "(", "highest_elevation", ")", "FROM", "highlow", ")", ";" ], "query_toks_no_value": [ "select", "state_name", "from", "highlow", "where", "highest_elevation", "=", "(", "select", "max", "(", "highest_elevation", ")", "from", "highlow", ")" ], "question": "qual estado contém o ponto mais alto em nós", "question_toks": [ "qual", "estado", "contém", "o", "ponto", "mais", "alto", "em", "nós" ], "sql": { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 13, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 14, false ], null ], { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 14, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT state_name FROM highlow WHERE lowest_elevation = ( SELECT MIN ( lowest_elevation ) FROM highlow );", "query_toks": [ "SELECT", "state_name", "FROM", "highlow", "WHERE", "lowest_elevation", "=", "(", "SELECT", "MIN", "(", "lowest_elevation", ")", "FROM", "highlow", ")", ";" ], "query_toks_no_value": [ "select", "state_name", "from", "highlow", "where", "lowest_elevation", "=", "(", "select", "min", "(", "lowest_elevation", ")", "from", "highlow", ")" ], "question": "qual estado tem a menor elevação", "question_toks": [ "qual", "estado", "tem", "a", "menor", "elevação" ], "sql": { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 13, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 17, false ], null ], { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 2, [ 0, [ 0, 17, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT state_name FROM highlow WHERE lowest_elevation = ( SELECT MIN ( lowest_elevation ) FROM highlow );", "query_toks": [ "SELECT", "state_name", "FROM", "highlow", "WHERE", "lowest_elevation", "=", "(", "SELECT", "MIN", "(", "lowest_elevation", ")", "FROM", "highlow", ")", ";" ], "query_toks_no_value": [ "select", "state_name", "from", "highlow", "where", "lowest_elevation", "=", "(", "select", "min", "(", "lowest_elevation", ")", "from", "highlow", ")" ], "question": "qual é o nome do estado com o ponto mais baixo", "question_toks": [ "qual", "é", "o", "nome", "do", "estado", "com", "o", "ponto", "mais", "baixo" ], "sql": { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 13, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 17, false ], null ], { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 2, [ 0, [ 0, 17, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT state_name FROM highlow WHERE lowest_elevation = ( SELECT MIN ( lowest_elevation ) FROM highlow );", "query_toks": [ "SELECT", "state_name", "FROM", "highlow", "WHERE", "lowest_elevation", "=", "(", "SELECT", "MIN", "(", "lowest_elevation", ")", "FROM", "highlow", ")", ";" ], "query_toks_no_value": [ "select", "state_name", "from", "highlow", "where", "lowest_elevation", "=", "(", "select", "min", "(", "lowest_elevation", ")", "from", "highlow", ")" ], "question": "qual é o estado com o ponto mais baixo", "question_toks": [ "qual", "é", "o", "estado", "com", "o", "ponto", "mais", "baixo" ], "sql": { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 13, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 17, false ], null ], { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 2, [ 0, [ 0, 17, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT state_name FROM highlow WHERE lowest_elevation = ( SELECT MIN ( lowest_elevation ) FROM highlow WHERE state_name IN ( SELECT border FROM border_info WHERE state_name = \"idaho\" ) ) AND state_name IN ( SELECT border FROM border_info WHERE state_name = \"idaho\" );", "query_toks": [ "SELECT", "state_name", "FROM", "highlow", "WHERE", "lowest_elevation", "=", "(", "SELECT", "MIN", "(", "lowest_elevation", ")", "FROM", "highlow", "WHERE", "state_name", "IN", "(", "SELECT", "border", "FROM", "border_info", "WHERE", "state_name", "=", "``", "idaho", "''", ")", ")", "AND", "state_name", "IN", "(", "SELECT", "border", "FROM", "border_info", "WHERE", "state_name", "=", "``", "idaho", "''", ")", ";" ], "query_toks_no_value": [ "select", "state_name", "from", "highlow", "where", "lowest_elevation", "=", "(", "select", "min", "(", "lowest_elevation", ")", "from", "highlow", "where", "state_name", "in", "(", "select", "border", "from", "border_info", "where", "state_name", "=", "value", ")", ")", "and", "state_name", "in", "(", "select", "border", "from", "border_info", "where", "state_name", "=", "value", ")" ], "question": "qual estado tem o ponto mais baixo que faz fronteira com idaho", "question_toks": [ "qual", "estado", "tem", "o", "ponto", "mais", "baixo", "que", "faz", "fronteira", "com", "idaho" ], "sql": { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 13, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 17, false ], null ], { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 2, [ 0, [ 0, 17, false ], null ] ] ] ], "where": [ [ false, 8, [ 0, [ 0, 13, false ], null ], { "from": { "table_units": [ [ "table_unit", 2 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 12, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 11, false ], null ], "\"idaho\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ], "and", [ false, 8, [ 0, [ 0, 13, false ], null ], { "from": { "table_units": [ [ "table_unit", 2 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 12, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 11, false ], null ], "\"idaho\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT state_name FROM city GROUP BY state_name ORDER BY AVG ( population ) LIMIT 1;", "query_toks": [ "SELECT", "state_name", "FROM", "city", "GROUP", "BY", "state_name", "ORDER", "BY", "AVG", "(", "population", ")", "LIMIT", "1", ";" ], "query_toks_no_value": [ "select", "state_name", "from", "city", "group", "by", "state_name", "order", "by", "avg", "(", "population", ")", "limit", "value" ], "question": "qual estado tem a menor população urbana média", "question_toks": [ "qual", "estado", "tem", "a", "menor", "população", "urbana", "média" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 10, false ], null ] ] ] ], "where": [], "groupBy": [ [ 0, 10, false ] ], "having": [], "orderBy": [ "asc", [ [ 0, [ 5, 8, false ], null ] ] ], "limit": 1, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT state_name FROM mountain WHERE mountain_name = \"whitney\";", "query_toks": [ "SELECT", "state_name", "FROM", "mountain", "WHERE", "mountain_name", "=", "``", "whitney", "''", ";" ], "query_toks_no_value": [ "select", "state_name", "from", "mountain", "where", "mountain_name", "=", "value" ], "question": "em que estado é Mount Whitney", "question_toks": [ "em", "que", "estado", "é", "Mount", "Whitney" ], "sql": { "from": { "table_units": [ [ "table_unit", 5 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 25, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 22, false ], null ], "\"whitney\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT state_name FROM mountain WHERE mountain_name = \"whitney\";", "query_toks": [ "SELECT", "state_name", "FROM", "mountain", "WHERE", "mountain_name", "=", "``", "whitney", "''", ";" ], "query_toks_no_value": [ "select", "state_name", "from", "mountain", "where", "mountain_name", "=", "value" ], "question": "em que estado fica o monte whitney", "question_toks": [ "em", "que", "estado", "fica", "o", "monte", "whitney" ], "sql": { "from": { "table_units": [ [ "table_unit", 5 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 25, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 22, false ], null ], "\"whitney\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT state_name FROM mountain WHERE mountain_name = \"whitney\";", "query_toks": [ "SELECT", "state_name", "FROM", "mountain", "WHERE", "mountain_name", "=", "``", "whitney", "''", ";" ], "query_toks_no_value": [ "select", "state_name", "from", "mountain", "where", "mountain_name", "=", "value" ], "question": "Onde está Mount Whitney?", "question_toks": [ "Onde", "está", "Mount", "Whitney", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 5 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 25, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 22, false ], null ], "\"whitney\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT state_name FROM mountain WHERE mountain_name = \"whitney\";", "query_toks": [ "SELECT", "state_name", "FROM", "mountain", "WHERE", "mountain_name", "=", "``", "whitney", "''", ";" ], "query_toks_no_value": [ "select", "state_name", "from", "mountain", "where", "mountain_name", "=", "value" ], "question": "Onde está localizado Mount Whitney?", "question_toks": [ "Onde", "está", "localizado", "Mount", "Whitney", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 5 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 25, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 22, false ], null ], "\"whitney\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT traverse FROM river;", "query_toks": [ "SELECT", "traverse", "FROM", "river", ";" ], "query_toks_no_value": [ "select", "traverse", "from", "river" ], "question": "quais estados têm um rio", "question_toks": [ "quais", "estados", "têm", "um", "rio" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 29, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT traverse FROM river;", "query_toks": [ "SELECT", "traverse", "FROM", "river", ";" ], "query_toks_no_value": [ "select", "traverse", "from", "river" ], "question": "quais estados têm rios correndo através deles", "question_toks": [ "quais", "estados", "têm", "rios", "correndo", "através", "deles" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 29, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT state_name FROM city WHERE city_name = \"austin\" AND population > 150000;", "query_toks": [ "SELECT", "state_name", "FROM", "city", "WHERE", "city_name", "=", "``", "austin", "''", "AND", "population", ">", "150000", ";" ], "query_toks_no_value": [ "select", "state_name", "from", "city", "where", "city_name", "=", "value", "and", "population", ">", "value" ], "question": "quais estados têm uma grande cidade chamada Austin", "question_toks": [ "quais", "estados", "têm", "uma", "grande", "cidade", "chamada", "Austin" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 10, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 7, false ], null ], "\"austin\"", null ], "and", [ false, 3, [ 0, [ 0, 8, false ], null ], 150000.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT city_name FROM city WHERE population = ( SELECT MAX ( population ) FROM city WHERE state_name IN ( SELECT border FROM border_info WHERE state_name = \"california\" ) ) AND state_name IN ( SELECT border FROM border_info WHERE state_name = \"california\" );", "query_toks": [ "SELECT", "city_name", "FROM", "city", "WHERE", "population", "=", "(", "SELECT", "MAX", "(", "population", ")", "FROM", "city", "WHERE", "state_name", "IN", "(", "SELECT", "border", "FROM", "border_info", "WHERE", "state_name", "=", "``", "california", "''", ")", ")", "AND", "state_name", "IN", "(", "SELECT", "border", "FROM", "border_info", "WHERE", "state_name", "=", "``", "california", "''", ")", ";" ], "query_toks_no_value": [ "select", "city_name", "from", "city", "where", "population", "=", "(", "select", "max", "(", "population", ")", "from", "city", "where", "state_name", "in", "(", "select", "border", "from", "border_info", "where", "state_name", "=", "value", ")", ")", "and", "state_name", "in", "(", "select", "border", "from", "border_info", "where", "state_name", "=", "value", ")" ], "question": "qual é a maior cidade em um estado que faz fronteira com a Califórnia", "question_toks": [ "qual", "é", "a", "maior", "cidade", "em", "um", "estado", "que", "faz", "fronteira", "com", "a", "Califórnia" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 7, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 8, false ], null ], { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 8, false ], null ] ] ] ], "where": [ [ false, 8, [ 0, [ 0, 10, false ], null ], { "from": { "table_units": [ [ "table_unit", 2 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 12, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 11, false ], null ], "\"california\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ], "and", [ false, 8, [ 0, [ 0, 10, false ], null ], { "from": { "table_units": [ [ "table_unit", 2 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 12, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 11, false ], null ], "\"california\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT city_name FROM city WHERE population = ( SELECT MAX ( population ) FROM city WHERE state_name IN ( SELECT border FROM border_info WHERE state_name = \"california\" ) ) AND state_name IN ( SELECT border FROM border_info WHERE state_name = \"california\" );", "query_toks": [ "SELECT", "city_name", "FROM", "city", "WHERE", "population", "=", "(", "SELECT", "MAX", "(", "population", ")", "FROM", "city", "WHERE", "state_name", "IN", "(", "SELECT", "border", "FROM", "border_info", "WHERE", "state_name", "=", "``", "california", "''", ")", ")", "AND", "state_name", "IN", "(", "SELECT", "border", "FROM", "border_info", "WHERE", "state_name", "=", "``", "california", "''", ")", ";" ], "query_toks_no_value": [ "select", "city_name", "from", "city", "where", "population", "=", "(", "select", "max", "(", "population", ")", "from", "city", "where", "state_name", "in", "(", "select", "border", "from", "border_info", "where", "state_name", "=", "value", ")", ")", "and", "state_name", "in", "(", "select", "border", "from", "border_info", "where", "state_name", "=", "value", ")" ], "question": "qual é a maior cidade dos estados que fazem fronteira com a Califórnia", "question_toks": [ "qual", "é", "a", "maior", "cidade", "dos", "estados", "que", "fazem", "fronteira", "com", "a", "Califórnia" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 7, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 8, false ], null ], { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 8, false ], null ] ] ] ], "where": [ [ false, 8, [ 0, [ 0, 10, false ], null ], { "from": { "table_units": [ [ "table_unit", 2 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 12, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 11, false ], null ], "\"california\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ], "and", [ false, 8, [ 0, [ 0, 10, false ], null ], { "from": { "table_units": [ [ "table_unit", 2 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 12, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 11, false ], null ], "\"california\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT COUNT ( river_name ) FROM river WHERE traverse NOT IN ( SELECT state_name FROM state WHERE capital = \"albany\" );", "query_toks": [ "SELECT", "COUNT", "(", "river_name", ")", "FROM", "river", "WHERE", "traverse", "NOT", "IN", "(", "SELECT", "state_name", "FROM", "state", "WHERE", "capital", "=", "``", "albany", "''", ")", ";" ], "query_toks_no_value": [ "select", "count", "(", "river_name", ")", "from", "river", "where", "traverse", "not", "in", "(", "select", "state_name", "from", "state", "where", "capital", "=", "value", ")" ], "question": "quantos rios não cruzam o estado com a capital albany", "question_toks": [ "quantos", "rios", "não", "cruzam", "o", "estado", "com", "a", "capital", "albany" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 3, [ 0, [ 0, 26, false ], null ] ] ] ], "where": [ [ true, 8, [ 0, [ 0, 29, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 1, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 5, false ], null ], "\"albany\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT river_name FROM river WHERE LENGTH = ( SELECT MIN ( LENGTH ) FROM river WHERE traverse = \"texas\" ) AND traverse = \"texas\";", "query_toks": [ "SELECT", "river_name", "FROM", "river", "WHERE", "LENGTH", "=", "(", "SELECT", "MIN", "(", "LENGTH", ")", "FROM", "river", "WHERE", "traverse", "=", "``", "texas", "''", ")", "AND", "traverse", "=", "``", "texas", "''", ";" ], "query_toks_no_value": [ "select", "river_name", "from", "river", "where", "length", "=", "(", "select", "min", "(", "length", ")", "from", "river", "where", "traverse", "=", "value", ")", "and", "traverse", "=", "value" ], "question": "qual é o rio mais curto do texas", "question_toks": [ "qual", "é", "o", "rio", "mais", "curto", "do", "texas" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 26, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 27, false ], null ], { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 2, [ 0, [ 0, 27, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 29, false ], null ], "\"texas\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ], "and", [ false, 2, [ 0, [ 0, 29, false ], null ], "\"texas\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT city_name FROM city WHERE population > 150000 AND state_name = ( SELECT state_name FROM state WHERE area = ( SELECT MIN ( area ) FROM state ) );", "query_toks": [ "SELECT", "city_name", "FROM", "city", "WHERE", "population", ">", "150000", "AND", "state_name", "=", "(", "SELECT", "state_name", "FROM", "state", "WHERE", "area", "=", "(", "SELECT", "MIN", "(", "area", ")", "FROM", "state", ")", ")", ";" ], "query_toks_no_value": [ "select", "city_name", "from", "city", "where", "population", ">", "value", "and", "state_name", "=", "(", "select", "state_name", "from", "state", "where", "area", "=", "(", "select", "min", "(", "area", ")", "from", "state", ")", ")" ], "question": "quais são as principais cidades do menor estado dos EUA", "question_toks": [ "quais", "são", "as", "principais", "cidades", "do", "menor", "estado", "dos", "EUA" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 7, false ], null ] ] ] ], "where": [ [ false, 3, [ 0, [ 0, 8, false ], null ], 150000.0, null ], "and", [ false, 2, [ 0, [ 0, 10, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 1, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 2, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT population FROM city WHERE city_name = ( SELECT capital FROM state WHERE area = ( SELECT MAX ( t1.area ) FROM state AS t1 JOIN river AS t2 ON t1.state_name = t2.traverse WHERE t2.river_name = \"mississippi\" ) );", "query_toks": [ "SELECT", "population", "FROM", "city", "WHERE", "city_name", "=", "(", "SELECT", "capital", "FROM", "state", "WHERE", "area", "=", "(", "SELECT", "MAX", "(", "t1.area", ")", "FROM", "state", "AS", "t1", "JOIN", "river", "AS", "t2", "ON", "t1.state_name", "=", "t2.traverse", "WHERE", "t2.river_name", "=", "``", "mississippi", "''", ")", ")", ";" ], "query_toks_no_value": [ "select", "population", "from", "city", "where", "city_name", "=", "(", "select", "capital", "from", "state", "where", "area", "=", "(", "select", "max", "(", "t1", ".", "area", ")", "from", "state", "as", "t1", "join", "river", "as", "t2", "on", "t1", ".", "state_name", "=", "t2", ".", "traverse", "where", "t2", ".", "river_name", "=", "value", ")", ")" ], "question": "qual é a população da capital do maior estado por onde passa o mississippi", "question_toks": [ "qual", "é", "a", "população", "da", "capital", "do", "maior", "estado", "por", "onde", "passa", "o", "mississippi" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 8, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 7, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ], [ "table_unit", 6 ] ], "conds": [ [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 29, false ], null ] ] }, "select": [ false, [ [ 1, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 26, false ], null ], "\"mississippi\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT river_name FROM river WHERE LENGTH = ( SELECT MIN ( LENGTH ) FROM river );", "query_toks": [ "SELECT", "river_name", "FROM", "river", "WHERE", "LENGTH", "=", "(", "SELECT", "MIN", "(", "LENGTH", ")", "FROM", "river", ")", ";" ], "query_toks_no_value": [ "select", "river_name", "from", "river", "where", "length", "=", "(", "select", "min", "(", "length", ")", "from", "river", ")" ], "question": "qual é o rio mais curto dos EUA", "question_toks": [ "qual", "é", "o", "rio", "mais", "curto", "dos", "EUA" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 26, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 27, false ], null ], { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 2, [ 0, [ 0, 27, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT river_name FROM river WHERE LENGTH = ( SELECT MIN ( LENGTH ) FROM river );", "query_toks": [ "SELECT", "river_name", "FROM", "river", "WHERE", "LENGTH", "=", "(", "SELECT", "MIN", "(", "LENGTH", ")", "FROM", "river", ")", ";" ], "query_toks_no_value": [ "select", "river_name", "from", "river", "where", "length", "=", "(", "select", "min", "(", "length", ")", "from", "river", ")" ], "question": "qual é o rio mais curto", "question_toks": [ "qual", "é", "o", "rio", "mais", "curto" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 26, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 27, false ], null ], { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 2, [ 0, [ 0, 27, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT river_name FROM river WHERE LENGTH = ( SELECT MIN ( LENGTH ) FROM river );", "query_toks": [ "SELECT", "river_name", "FROM", "river", "WHERE", "LENGTH", "=", "(", "SELECT", "MIN", "(", "LENGTH", ")", "FROM", "river", ")", ";" ], "query_toks_no_value": [ "select", "river_name", "from", "river", "where", "length", "=", "(", "select", "min", "(", "length", ")", "from", "river", ")" ], "question": "qual é o rio mais curto nos EUA", "question_toks": [ "qual", "é", "o", "rio", "mais", "curto", "nos", "EUA" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 26, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 27, false ], null ], { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 2, [ 0, [ 0, 27, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT river_name FROM river WHERE LENGTH = ( SELECT MIN ( LENGTH ) FROM river );", "query_toks": [ "SELECT", "river_name", "FROM", "river", "WHERE", "LENGTH", "=", "(", "SELECT", "MIN", "(", "LENGTH", ")", "FROM", "river", ")", ";" ], "query_toks_no_value": [ "select", "river_name", "from", "river", "where", "length", "=", "(", "select", "min", "(", "length", ")", "from", "river", ")" ], "question": "qual é o rio mais curto dos estados unidos", "question_toks": [ "qual", "é", "o", "rio", "mais", "curto", "dos", "estados", "unidos" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 26, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 27, false ], null ], { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 2, [ 0, [ 0, 27, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT river_name FROM river WHERE LENGTH = ( SELECT MIN ( LENGTH ) FROM river );", "query_toks": [ "SELECT", "river_name", "FROM", "river", "WHERE", "LENGTH", "=", "(", "SELECT", "MIN", "(", "LENGTH", ")", "FROM", "river", ")", ";" ], "query_toks_no_value": [ "select", "river_name", "from", "river", "where", "length", "=", "(", "select", "min", "(", "length", ")", "from", "river", ")" ], "question": "qual é o rio mais curto", "question_toks": [ "qual", "é", "o", "rio", "mais", "curto" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 26, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 27, false ], null ], { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 2, [ 0, [ 0, 27, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT capital FROM state WHERE state_name IN ( SELECT border FROM border_info WHERE state_name IN ( SELECT border FROM border_info WHERE state_name = \"texas\" ) );", "query_toks": [ "SELECT", "capital", "FROM", "state", "WHERE", "state_name", "IN", "(", "SELECT", "border", "FROM", "border_info", "WHERE", "state_name", "IN", "(", "SELECT", "border", "FROM", "border_info", "WHERE", "state_name", "=", "``", "texas", "''", ")", ")", ";" ], "query_toks_no_value": [ "select", "capital", "from", "state", "where", "state_name", "in", "(", "select", "border", "from", "border_info", "where", "state_name", "in", "(", "select", "border", "from", "border_info", "where", "state_name", "=", "value", ")", ")" ], "question": "qual é a capital do estado que faz fronteira com o estado que faz fronteira com o texas", "question_toks": [ "qual", "é", "a", "capital", "do", "estado", "que", "faz", "fronteira", "com", "o", "estado", "que", "faz", "fronteira", "com", "o", "texas" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 8, [ 0, [ 0, 1, false ], null ], { "from": { "table_units": [ [ "table_unit", 2 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 12, false ], null ] ] ] ], "where": [ [ false, 8, [ 0, [ 0, 11, false ], null ], { "from": { "table_units": [ [ "table_unit", 2 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 12, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 11, false ], null ], "\"texas\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT city_name FROM city WHERE population = ( SELECT MIN ( population ) FROM city WHERE state_name IN ( SELECT state_name FROM state WHERE area = ( SELECT MIN ( area ) FROM state ) ) ) AND state_name IN ( SELECT state_name FROM state WHERE area = ( SELECT MIN ( area ) FROM state ) );", "query_toks": [ "SELECT", "city_name", "FROM", "city", "WHERE", "population", "=", "(", "SELECT", "MIN", "(", "population", ")", "FROM", "city", "WHERE", "state_name", "IN", "(", "SELECT", "state_name", "FROM", "state", "WHERE", "area", "=", "(", "SELECT", "MIN", "(", "area", ")", "FROM", "state", ")", ")", ")", "AND", "state_name", "IN", "(", "SELECT", "state_name", "FROM", "state", "WHERE", "area", "=", "(", "SELECT", "MIN", "(", "area", ")", "FROM", "state", ")", ")", ";" ], "query_toks_no_value": [ "select", "city_name", "from", "city", "where", "population", "=", "(", "select", "min", "(", "population", ")", "from", "city", "where", "state_name", "in", "(", "select", "state_name", "from", "state", "where", "area", "=", "(", "select", "min", "(", "area", ")", "from", "state", ")", ")", ")", "and", "state_name", "in", "(", "select", "state_name", "from", "state", "where", "area", "=", "(", "select", "min", "(", "area", ")", "from", "state", ")", ")" ], "question": "qual é a menor cidade do menor estado dos EUA", "question_toks": [ "qual", "é", "a", "menor", "cidade", "do", "menor", "estado", "dos", "EUA" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 7, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 8, false ], null ], { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 2, [ 0, [ 0, 8, false ], null ] ] ] ], "where": [ [ false, 8, [ 0, [ 0, 10, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 1, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 2, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ], "and", [ false, 8, [ 0, [ 0, 10, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 1, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 2, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT population FROM state WHERE area = ( SELECT MAX ( area ) FROM state WHERE state_name IN ( SELECT border FROM border_info WHERE state_name = \"texas\" ) ) AND state_name IN ( SELECT border FROM border_info WHERE state_name = \"texas\" );", "query_toks": [ "SELECT", "population", "FROM", "state", "WHERE", "area", "=", "(", "SELECT", "MAX", "(", "area", ")", "FROM", "state", "WHERE", "state_name", "IN", "(", "SELECT", "border", "FROM", "border_info", "WHERE", "state_name", "=", "``", "texas", "''", ")", ")", "AND", "state_name", "IN", "(", "SELECT", "border", "FROM", "border_info", "WHERE", "state_name", "=", "``", "texas", "''", ")", ";" ], "query_toks_no_value": [ "select", "population", "from", "state", "where", "area", "=", "(", "select", "max", "(", "area", ")", "from", "state", "where", "state_name", "in", "(", "select", "border", "from", "border_info", "where", "state_name", "=", "value", ")", ")", "and", "state_name", "in", "(", "select", "border", "from", "border_info", "where", "state_name", "=", "value", ")" ], "question": "qual é a população do maior estado que faz fronteira com o texas", "question_toks": [ "qual", "é", "a", "população", "do", "maior", "estado", "que", "faz", "fronteira", "com", "o", "texas" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 2, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [ [ false, 8, [ 0, [ 0, 1, false ], null ], { "from": { "table_units": [ [ "table_unit", 2 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 12, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 11, false ], null ], "\"texas\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ], "and", [ false, 8, [ 0, [ 0, 1, false ], null ], { "from": { "table_units": [ [ "table_unit", 2 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 12, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 11, false ], null ], "\"texas\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT state_name FROM state WHERE capital = \"salem\";", "query_toks": [ "SELECT", "state_name", "FROM", "state", "WHERE", "capital", "=", "``", "salem", "''", ";" ], "query_toks_no_value": [ "select", "state_name", "from", "state", "where", "capital", "=", "value" ], "question": "em que estado é salem a capital de", "question_toks": [ "em", "que", "estado", "é", "salem", "a", "capital", "de" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 1, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 5, false ], null ], "\"salem\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT state_name FROM state WHERE capital = \"salem\";", "query_toks": [ "SELECT", "state_name", "FROM", "state", "WHERE", "capital", "=", "``", "salem", "''", ";" ], "query_toks_no_value": [ "select", "state_name", "from", "state", "where", "capital", "=", "value" ], "question": "o que a capital estadual é salem", "question_toks": [ "o", "que", "a", "capital", "estadual", "é", "salem" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 1, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 5, false ], null ], "\"salem\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT state_name FROM state WHERE capital = \"salem\";", "query_toks": [ "SELECT", "state_name", "FROM", "state", "WHERE", "capital", "=", "``", "salem", "''", ";" ], "query_toks_no_value": [ "select", "state_name", "from", "state", "where", "capital", "=", "value" ], "question": "Salem é a capital de qual estado", "question_toks": [ "Salem", "é", "a", "capital", "de", "qual", "estado" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 1, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 5, false ], null ], "\"salem\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT state_name FROM state WHERE capital = \"salem\";", "query_toks": [ "SELECT", "state_name", "FROM", "state", "WHERE", "capital", "=", "``", "salem", "''", ";" ], "query_toks_no_value": [ "select", "state_name", "from", "state", "where", "capital", "=", "value" ], "question": "em que estado tem a capital salem", "question_toks": [ "em", "que", "estado", "tem", "a", "capital", "salem" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 1, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 5, false ], null ], "\"salem\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT river_name FROM river WHERE traverse IN ( SELECT state_name FROM state WHERE population = ( SELECT MAX ( population ) FROM state ) );", "query_toks": [ "SELECT", "river_name", "FROM", "river", "WHERE", "traverse", "IN", "(", "SELECT", "state_name", "FROM", "state", "WHERE", "population", "=", "(", "SELECT", "MAX", "(", "population", ")", "FROM", "state", ")", ")", ";" ], "query_toks_no_value": [ "select", "river_name", "from", "river", "where", "traverse", "in", "(", "select", "state_name", "from", "state", "where", "population", "=", "(", "select", "max", "(", "population", ")", "from", "state", ")", ")" ], "question": "quais rios correm pelo estado com maior população", "question_toks": [ "quais", "rios", "correm", "pelo", "estado", "com", "maior", "população" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 26, false ], null ] ] ] ], "where": [ [ false, 8, [ 0, [ 0, 29, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 1, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 2, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 2, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT state_name FROM state WHERE area = ( SELECT MAX ( area ) FROM state WHERE state_name IN ( SELECT state_name FROM border_info WHERE border IN ( SELECT state_name FROM state WHERE population = ( SELECT MAX ( population ) FROM state ) ) ) ) AND state_name IN ( SELECT state_name FROM border_info WHERE border IN ( SELECT state_name FROM state WHERE population = ( SELECT MAX ( population ) FROM state ) ) );", "query_toks": [ "SELECT", "state_name", "FROM", "state", "WHERE", "area", "=", "(", "SELECT", "MAX", "(", "area", ")", "FROM", "state", "WHERE", "state_name", "IN", "(", "SELECT", "state_name", "FROM", "border_info", "WHERE", "border", "IN", "(", "SELECT", "state_name", "FROM", "state", "WHERE", "population", "=", "(", "SELECT", "MAX", "(", "population", ")", "FROM", "state", ")", ")", ")", ")", "AND", "state_name", "IN", "(", "SELECT", "state_name", "FROM", "border_info", "WHERE", "border", "IN", "(", "SELECT", "state_name", "FROM", "state", "WHERE", "population", "=", "(", "SELECT", "MAX", "(", "population", ")", "FROM", "state", ")", ")", ")", ";" ], "query_toks_no_value": [ "select", "state_name", "from", "state", "where", "area", "=", "(", "select", "max", "(", "area", ")", "from", "state", "where", "state_name", "in", "(", "select", "state_name", "from", "border_info", "where", "border", "in", "(", "select", "state_name", "from", "state", "where", "population", "=", "(", "select", "max", "(", "population", ")", "from", "state", ")", ")", ")", ")", "and", "state_name", "in", "(", "select", "state_name", "from", "border_info", "where", "border", "in", "(", "select", "state_name", "from", "state", "where", "population", "=", "(", "select", "max", "(", "population", ")", "from", "state", ")", ")", ")" ], "question": "qual é o maior estado que faz fronteira com o estado com a maior população", "question_toks": [ "qual", "é", "o", "maior", "estado", "que", "faz", "fronteira", "com", "o", "estado", "com", "a", "maior", "população" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 1, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [ [ false, 8, [ 0, [ 0, 1, false ], null ], { "from": { "table_units": [ [ "table_unit", 2 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 8, [ 0, [ 0, 12, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 1, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 2, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 2, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ], "and", [ false, 8, [ 0, [ 0, 1, false ], null ], { "from": { "table_units": [ [ "table_unit", 2 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 8, [ 0, [ 0, 12, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 1, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 2, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 2, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT COUNT ( river_name ) FROM river;", "query_toks": [ "SELECT", "COUNT", "(", "river_name", ")", "FROM", "river", ";" ], "query_toks_no_value": [ "select", "count", "(", "river_name", ")", "from", "river" ], "question": "quantos rios existem em nós", "question_toks": [ "quantos", "rios", "existem", "em", "nós" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 3, [ 0, [ 0, 26, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT DISTINCT capital FROM state;", "query_toks": [ "SELECT", "DISTINCT", "capital", "FROM", "state", ";" ], "query_toks_no_value": [ "select", "distinct", "capital", "from", "state" ], "question": "cite as 50 capitais dos eua", "question_toks": [ "cite", "as", "50", "capitais", "dos", "eua" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ true, [ [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT COUNT ( state_name ) FROM city WHERE city_name = \"springfield\";", "query_toks": [ "SELECT", "COUNT", "(", "state_name", ")", "FROM", "city", "WHERE", "city_name", "=", "``", "springfield", "''", ";" ], "query_toks_no_value": [ "select", "count", "(", "state_name", ")", "from", "city", "where", "city_name", "=", "value" ], "question": "quantos estados tem uma cidade chamada springfield", "question_toks": [ "quantos", "estados", "tem", "uma", "cidade", "chamada", "springfield" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 3, [ 0, [ 0, 10, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 7, false ], null ], "\"springfield\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT COUNT ( state_name ) FROM city WHERE city_name = \"springfield\";", "query_toks": [ "SELECT", "COUNT", "(", "state_name", ")", "FROM", "city", "WHERE", "city_name", "=", "``", "springfield", "''", ";" ], "query_toks_no_value": [ "select", "count", "(", "state_name", ")", "from", "city", "where", "city_name", "=", "value" ], "question": "quantos estados tem uma cidade chamada springfield", "question_toks": [ "quantos", "estados", "tem", "uma", "cidade", "chamada", "springfield" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 3, [ 0, [ 0, 10, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 7, false ], null ], "\"springfield\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT COUNT ( state_name ) FROM city WHERE city_name = \"springfield\";", "query_toks": [ "SELECT", "COUNT", "(", "state_name", ")", "FROM", "city", "WHERE", "city_name", "=", "``", "springfield", "''", ";" ], "query_toks_no_value": [ "select", "count", "(", "state_name", ")", "from", "city", "where", "city_name", "=", "value" ], "question": "quantos estados têm cidades chamadas springfield", "question_toks": [ "quantos", "estados", "têm", "cidades", "chamadas", "springfield" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 3, [ 0, [ 0, 10, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 7, false ], null ], "\"springfield\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT COUNT ( state_name ) FROM city WHERE city_name = \"springfield\";", "query_toks": [ "SELECT", "COUNT", "(", "state_name", ")", "FROM", "city", "WHERE", "city_name", "=", "``", "springfield", "''", ";" ], "query_toks_no_value": [ "select", "count", "(", "state_name", ")", "from", "city", "where", "city_name", "=", "value" ], "question": "quantos estados têm cidades ou vilas chamadas springfield", "question_toks": [ "quantos", "estados", "têm", "cidades", "ou", "vilas", "chamadas", "springfield" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 3, [ 0, [ 0, 10, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 7, false ], null ], "\"springfield\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT border FROM border_info WHERE state_name IN ( SELECT state_name FROM state WHERE population = ( SELECT MIN ( population ) FROM state ) );", "query_toks": [ "SELECT", "border", "FROM", "border_info", "WHERE", "state_name", "IN", "(", "SELECT", "state_name", "FROM", "state", "WHERE", "population", "=", "(", "SELECT", "MIN", "(", "population", ")", "FROM", "state", ")", ")", ";" ], "query_toks_no_value": [ "select", "border", "from", "border_info", "where", "state_name", "in", "(", "select", "state_name", "from", "state", "where", "population", "=", "(", "select", "min", "(", "population", ")", "from", "state", ")", ")" ], "question": "qual estado faz fronteira com o estado com a menor população", "question_toks": [ "qual", "estado", "faz", "fronteira", "com", "o", "estado", "com", "a", "menor", "população" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 12, false ], null ] ] ] ], "where": [ [ false, 8, [ 0, [ 0, 11, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 1, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 2, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 2, [ 0, [ 0, 2, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT lake_name FROM lake WHERE state_name IN ( SELECT border FROM border_info WHERE state_name = \"texas\" );", "query_toks": [ "SELECT", "lake_name", "FROM", "lake", "WHERE", "state_name", "IN", "(", "SELECT", "border", "FROM", "border_info", "WHERE", "state_name", "=", "``", "texas", "''", ")", ";" ], "query_toks_no_value": [ "select", "lake_name", "from", "lake", "where", "state_name", "in", "(", "select", "border", "from", "border_info", "where", "state_name", "=", "value", ")" ], "question": "quais são os lagos nos estados que fazem fronteira com o texas", "question_toks": [ "quais", "são", "os", "lagos", "nos", "estados", "que", "fazem", "fronteira", "com", "o", "texas" ], "sql": { "from": { "table_units": [ [ "table_unit", 4 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 18, false ], null ] ] ] ], "where": [ [ false, 8, [ 0, [ 0, 21, false ], null ], { "from": { "table_units": [ [ "table_unit", 2 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 12, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 11, false ], null ], "\"texas\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT COUNT ( city_name ) FROM city WHERE population > 150000 AND state_name = \"texas\";", "query_toks": [ "SELECT", "COUNT", "(", "city_name", ")", "FROM", "city", "WHERE", "population", ">", "150000", "AND", "state_name", "=", "``", "texas", "''", ";" ], "query_toks_no_value": [ "select", "count", "(", "city_name", ")", "from", "city", "where", "population", ">", "value", "and", "state_name", "=", "value" ], "question": "quantas cidades principais existem no texas", "question_toks": [ "quantas", "cidades", "principais", "existem", "no", "texas" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 3, [ 0, [ 0, 7, false ], null ] ] ] ], "where": [ [ false, 3, [ 0, [ 0, 8, false ], null ], 150000.0, null ], "and", [ false, 2, [ 0, [ 0, 10, false ], null ], "\"texas\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT COUNT ( city_name ) FROM city WHERE population > 150000 AND state_name = \"texas\";", "query_toks": [ "SELECT", "COUNT", "(", "city_name", ")", "FROM", "city", "WHERE", "population", ">", "150000", "AND", "state_name", "=", "``", "texas", "''", ";" ], "query_toks_no_value": [ "select", "count", "(", "city_name", ")", "from", "city", "where", "population", ">", "value", "and", "state_name", "=", "value" ], "question": "quantas cidades grandes existem no texas", "question_toks": [ "quantas", "cidades", "grandes", "existem", "no", "texas" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 3, [ 0, [ 0, 7, false ], null ] ] ] ], "where": [ [ false, 3, [ 0, [ 0, 8, false ], null ], 150000.0, null ], "and", [ false, 2, [ 0, [ 0, 10, false ], null ], "\"texas\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT COUNT ( city_name ) FROM city WHERE population > 150000 AND state_name = \"texas\";", "query_toks": [ "SELECT", "COUNT", "(", "city_name", ")", "FROM", "city", "WHERE", "population", ">", "150000", "AND", "state_name", "=", "``", "texas", "''", ";" ], "query_toks_no_value": [ "select", "count", "(", "city_name", ")", "from", "city", "where", "population", ">", "value", "and", "state_name", "=", "value" ], "question": "quantas cidades principais existem no texas", "question_toks": [ "quantas", "cidades", "principais", "existem", "no", "texas" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 3, [ 0, [ 0, 7, false ], null ] ] ] ], "where": [ [ false, 3, [ 0, [ 0, 8, false ], null ], 150000.0, null ], "and", [ false, 2, [ 0, [ 0, 10, false ], null ], "\"texas\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT highest_elevation FROM highlow;", "query_toks": [ "SELECT", "highest_elevation", "FROM", "highlow", ";" ], "query_toks_no_value": [ "select", "highest_elevation", "from", "highlow" ], "question": "quão altos são os pontos mais altos de todos os estados", "question_toks": [ "quão", "altos", "são", "os", "pontos", "mais", "altos", "de", "todos", "os", "estados" ], "sql": { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 14, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT COUNT ( traverse ) FROM river WHERE river_name = \"missouri\";", "query_toks": [ "SELECT", "COUNT", "(", "traverse", ")", "FROM", "river", "WHERE", "river_name", "=", "``", "missouri", "''", ";" ], "query_toks_no_value": [ "select", "count", "(", "traverse", ")", "from", "river", "where", "river_name", "=", "value" ], "question": "por quantos estados o missouri atravessa", "question_toks": [ "por", "quantos", "estados", "o", "missouri", "atravessa" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 3, [ 0, [ 0, 29, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 26, false ], null ], "\"missouri\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT COUNT ( traverse ) FROM river WHERE river_name = \"missouri\";", "query_toks": [ "SELECT", "COUNT", "(", "traverse", ")", "FROM", "river", "WHERE", "river_name", "=", "``", "missouri", "''", ";" ], "query_toks_no_value": [ "select", "count", "(", "traverse", ")", "from", "river", "where", "river_name", "=", "value" ], "question": "por quantos estados o rio missouri flui", "question_toks": [ "por", "quantos", "estados", "o", "rio", "missouri", "flui" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 3, [ 0, [ 0, 29, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 26, false ], null ], "\"missouri\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT COUNT ( traverse ) FROM river WHERE river_name = \"missouri\";", "query_toks": [ "SELECT", "COUNT", "(", "traverse", ")", "FROM", "river", "WHERE", "river_name", "=", "``", "missouri", "''", ";" ], "query_toks_no_value": [ "select", "count", "(", "traverse", ")", "from", "river", "where", "river_name", "=", "value" ], "question": "quantos estados o rio missouri atravessa", "question_toks": [ "quantos", "estados", "o", "rio", "missouri", "atravessa" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 3, [ 0, [ 0, 29, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 26, false ], null ], "\"missouri\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT river_name FROM river WHERE LENGTH = ( SELECT MAX ( LENGTH ) FROM river WHERE traverse IN ( SELECT state_name FROM state WHERE area = ( SELECT MIN ( area ) FROM state ) ) ) AND traverse IN ( SELECT state_name FROM state WHERE area = ( SELECT MIN ( area ) FROM state ) );", "query_toks": [ "SELECT", "river_name", "FROM", "river", "WHERE", "LENGTH", "=", "(", "SELECT", "MAX", "(", "LENGTH", ")", "FROM", "river", "WHERE", "traverse", "IN", "(", "SELECT", "state_name", "FROM", "state", "WHERE", "area", "=", "(", "SELECT", "MIN", "(", "area", ")", "FROM", "state", ")", ")", ")", "AND", "traverse", "IN", "(", "SELECT", "state_name", "FROM", "state", "WHERE", "area", "=", "(", "SELECT", "MIN", "(", "area", ")", "FROM", "state", ")", ")", ";" ], "query_toks_no_value": [ "select", "river_name", "from", "river", "where", "length", "=", "(", "select", "max", "(", "length", ")", "from", "river", "where", "traverse", "in", "(", "select", "state_name", "from", "state", "where", "area", "=", "(", "select", "min", "(", "area", ")", "from", "state", ")", ")", ")", "and", "traverse", "in", "(", "select", "state_name", "from", "state", "where", "area", "=", "(", "select", "min", "(", "area", ")", "from", "state", ")", ")" ], "question": "qual é o maior rio do menor estado dos EUA", "question_toks": [ "qual", "é", "o", "maior", "rio", "do", "menor", "estado", "dos", "EUA" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 26, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 27, false ], null ], { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 27, false ], null ] ] ] ], "where": [ [ false, 8, [ 0, [ 0, 29, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 1, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 2, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ], "and", [ false, 8, [ 0, [ 0, 29, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 1, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 2, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT population / area FROM state WHERE state_name = \"pennsylvania\";", "query_toks": [ "SELECT", "population", "/", "area", "FROM", "state", "WHERE", "state_name", "=", "``", "pennsylvania", "''", ";" ], "query_toks_no_value": [ "select", "population", "/", "area", "from", "state", "where", "state_name", "=", "value" ], "question": "qual é a população média por km quadrado na Pensilvânia", "question_toks": [ "qual", "é", "a", "população", "média", "por", "km", "quadrado", "na", "Pensilvânia" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 4, [ 0, 2, false ], [ 0, 3, false ] ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 1, false ], null ], "\"pennsylvania\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT border FROM border_info WHERE state_name IN ( SELECT border FROM border_info WHERE state_name IN ( SELECT border FROM border_info WHERE state_name = \"florida\" ) );", "query_toks": [ "SELECT", "border", "FROM", "border_info", "WHERE", "state_name", "IN", "(", "SELECT", "border", "FROM", "border_info", "WHERE", "state_name", "IN", "(", "SELECT", "border", "FROM", "border_info", "WHERE", "state_name", "=", "``", "florida", "''", ")", ")", ";" ], "query_toks_no_value": [ "select", "border", "from", "border_info", "where", "state_name", "in", "(", "select", "border", "from", "border_info", "where", "state_name", "in", "(", "select", "border", "from", "border_info", "where", "state_name", "=", "value", ")", ")" ], "question": "quais estados fazem fronteira com estados que fazem fronteira com a Flórida", "question_toks": [ "quais", "estados", "fazem", "fronteira", "com", "estados", "que", "fazem", "fronteira", "com", "a", "Flórida" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 12, false ], null ] ] ] ], "where": [ [ false, 8, [ 0, [ 0, 11, false ], null ], { "from": { "table_units": [ [ "table_unit", 2 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 12, false ], null ] ] ] ], "where": [ [ false, 8, [ 0, [ 0, 11, false ], null ], { "from": { "table_units": [ [ "table_unit", 2 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 12, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 11, false ], null ], "\"florida\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT COUNT ( DISTINCT state_name ) FROM border_info;", "query_toks": [ "SELECT", "COUNT", "(", "DISTINCT", "state_name", ")", "FROM", "border_info", ";" ], "query_toks_no_value": [ "select", "count", "(", "distinct", "state_name", ")", "from", "border_info" ], "question": "quantos estados fazem fronteira com pelo menos um outro estado", "question_toks": [ "quantos", "estados", "fazem", "fronteira", "com", "pelo", "menos", "um", "outro", "estado" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ] ], "conds": [] }, "select": [ false, [ [ 3, [ 0, [ 0, 11, true ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT MAX ( DISTINCT highest_elevation ) FROM highlow WHERE state_name = \"texas\";", "query_toks": [ "SELECT", "MAX", "(", "DISTINCT", "highest_elevation", ")", "FROM", "highlow", "WHERE", "state_name", "=", "``", "texas", "''", ";" ], "query_toks_no_value": [ "select", "max", "(", "distinct", "highest_elevation", ")", "from", "highlow", "where", "state_name", "=", "value" ], "question": "qual é a altura da montanha mais alta do texas", "question_toks": [ "qual", "é", "a", "altura", "da", "montanha", "mais", "alta", "do", "texas" ], "sql": { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 14, true ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 13, false ], null ], "\"texas\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT COUNT ( border ) FROM border_info WHERE border IN ( SELECT border FROM border_info WHERE state_name = \"new mexico\" ) AND state_name = \"colorado\";", "query_toks": [ "SELECT", "COUNT", "(", "border", ")", "FROM", "border_info", "WHERE", "border", "IN", "(", "SELECT", "border", "FROM", "border_info", "WHERE", "state_name", "=", "``", "new", "mexico", "''", ")", "AND", "state_name", "=", "``", "colorado", "''", ";" ], "query_toks_no_value": [ "select", "count", "(", "border", ")", "from", "border_info", "where", "border", "in", "(", "select", "border", "from", "border_info", "where", "state_name", "=", "value", ")", "and", "state_name", "=", "value" ], "question": "quantos estados fazem fronteira com o Colorado e com o novo méxico", "question_toks": [ "quantos", "estados", "fazem", "fronteira", "com", "o", "Colorado", "e", "com", "o", "novo", "méxico" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ] ], "conds": [] }, "select": [ false, [ [ 3, [ 0, [ 0, 12, false ], null ] ] ] ], "where": [ [ false, 8, [ 0, [ 0, 12, false ], null ], { "from": { "table_units": [ [ "table_unit", 2 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 12, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 11, false ], null ], "\"new mexico\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], "\"colorado\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT COUNT ( city_name ) FROM city WHERE population > 150000 AND state_name IN ( SELECT border FROM border_info WHERE state_name = \"nebraska\" );", "query_toks": [ "SELECT", "COUNT", "(", "city_name", ")", "FROM", "city", "WHERE", "population", ">", "150000", "AND", "state_name", "IN", "(", "SELECT", "border", "FROM", "border_info", "WHERE", "state_name", "=", "``", "nebraska", "''", ")", ";" ], "query_toks_no_value": [ "select", "count", "(", "city_name", ")", "from", "city", "where", "population", ">", "value", "and", "state_name", "in", "(", "select", "border", "from", "border_info", "where", "state_name", "=", "value", ")" ], "question": "quantas cidades principais existem em estados vizinhos a Nebraska", "question_toks": [ "quantas", "cidades", "principais", "existem", "em", "estados", "vizinhos", "a", "Nebraska" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 3, [ 0, [ 0, 7, false ], null ] ] ] ], "where": [ [ false, 3, [ 0, [ 0, 8, false ], null ], 150000.0, null ], "and", [ false, 8, [ 0, [ 0, 10, false ], null ], { "from": { "table_units": [ [ "table_unit", 2 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 12, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 11, false ], null ], "\"nebraska\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT SUM ( t2.population ) FROM state AS t2 JOIN border_info AS t1 ON t2.state_name = t1.border WHERE t1.state_name = \"texas\";", "query_toks": [ "SELECT", "SUM", "(", "t2.population", ")", "FROM", "state", "AS", "t2", "JOIN", "border_info", "AS", "t1", "ON", "t2.state_name", "=", "t1.border", "WHERE", "t1.state_name", "=", "``", "texas", "''", ";" ], "query_toks_no_value": [ "select", "sum", "(", "t2", ".", "population", ")", "from", "state", "as", "t2", "join", "border_info", "as", "t1", "on", "t2", ".", "state_name", "=", "t1", ".", "border", "where", "t1", ".", "state_name", "=", "value" ], "question": "Qual é a população total dos estados que fazem fronteira com o Texas", "question_toks": [ "Qual", "é", "a", "população", "total", "dos", "estados", "que", "fazem", "fronteira", "com", "o", "Texas" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 12, false ], null ] ] }, "select": [ false, [ [ 4, [ 0, [ 0, 2, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 11, false ], null ], "\"texas\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT lake_name FROM lake WHERE area > 750;", "query_toks": [ "SELECT", "lake_name", "FROM", "lake", "WHERE", "area", ">", "750", ";" ], "query_toks_no_value": [ "select", "lake_name", "from", "lake", "where", "area", ">", "value" ], "question": "quais são os principais lagos nos estados unidos", "question_toks": [ "quais", "são", "os", "principais", "lagos", "nos", "estados", "unidos" ], "sql": { "from": { "table_units": [ [ "table_unit", 4 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 18, false ], null ] ] ] ], "where": [ [ false, 3, [ 0, [ 0, 19, false ], null ], 750.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT lake_name FROM lake WHERE area > 750;", "query_toks": [ "SELECT", "lake_name", "FROM", "lake", "WHERE", "area", ">", "750", ";" ], "query_toks_no_value": [ "select", "lake_name", "from", "lake", "where", "area", ">", "value" ], "question": "mostre-me todos os principais lagos dos Estados Unidos", "question_toks": [ "mostre-me", "todos", "os", "principais", "lagos", "dos", "Estados", "Unidos" ], "sql": { "from": { "table_units": [ [ "table_unit", 4 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 18, false ], null ] ] ] ], "where": [ [ false, 3, [ 0, [ 0, 19, false ], null ], 750.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT lake_name FROM lake;", "query_toks": [ "SELECT", "lake_name", "FROM", "lake", ";" ], "query_toks_no_value": [ "select", "lake_name", "from", "lake" ], "question": "nomeie todos os lagos de nós", "question_toks": [ "nomeie", "todos", "os", "lagos", "de", "nós" ], "sql": { "from": { "table_units": [ [ "table_unit", 4 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 18, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT COUNT ( river_name ) FROM river WHERE LENGTH > 750 AND traverse = \"ohio\";", "query_toks": [ "SELECT", "COUNT", "(", "river_name", ")", "FROM", "river", "WHERE", "LENGTH", ">", "750", "AND", "traverse", "=", "``", "ohio", "''", ";" ], "query_toks_no_value": [ "select", "count", "(", "river_name", ")", "from", "river", "where", "length", ">", "value", "and", "traverse", "=", "value" ], "question": "quantos rios principais cruzam ohio", "question_toks": [ "quantos", "rios", "principais", "cruzam", "ohio" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 3, [ 0, [ 0, 26, false ], null ] ] ] ], "where": [ [ false, 3, [ 0, [ 0, 27, false ], null ], 750.0, null ], "and", [ false, 2, [ 0, [ 0, 29, false ], null ], "\"ohio\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT DISTINCT traverse FROM river WHERE LENGTH = ( SELECT MIN ( DISTINCT LENGTH ) FROM river );", "query_toks": [ "SELECT", "DISTINCT", "traverse", "FROM", "river", "WHERE", "LENGTH", "=", "(", "SELECT", "MIN", "(", "DISTINCT", "LENGTH", ")", "FROM", "river", ")", ";" ], "query_toks_no_value": [ "select", "distinct", "traverse", "from", "river", "where", "length", "=", "(", "select", "min", "(", "distinct", "length", ")", "from", "river", ")" ], "question": "qual estado tem o rio mais curto", "question_toks": [ "qual", "estado", "tem", "o", "rio", "mais", "curto" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ true, [ [ 0, [ 0, [ 0, 29, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 27, false ], null ], { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 2, [ 0, [ 0, 27, true ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT COUNT ( DISTINCT traverse ) FROM river WHERE LENGTH > 750;", "query_toks": [ "SELECT", "COUNT", "(", "DISTINCT", "traverse", ")", "FROM", "river", "WHERE", "LENGTH", ">", "750", ";" ], "query_toks_no_value": [ "select", "count", "(", "distinct", "traverse", ")", "from", "river", "where", "length", ">", "value" ], "question": "quantos estados estão próximos aos principais rios", "question_toks": [ "quantos", "estados", "estão", "próximos", "aos", "principais", "rios" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 3, [ 0, [ 0, 29, true ], null ] ] ] ], "where": [ [ false, 3, [ 0, [ 0, 27, false ], null ], 750.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT mountain_altitude FROM mountain WHERE mountain_name = \"mckinley\";", "query_toks": [ "SELECT", "mountain_altitude", "FROM", "mountain", "WHERE", "mountain_name", "=", "``", "mckinley", "''", ";" ], "query_toks_no_value": [ "select", "mountain_altitude", "from", "mountain", "where", "mountain_name", "=", "value" ], "question": "qual é a altura do monte Mckinley", "question_toks": [ "qual", "é", "a", "altura", "do", "monte", "Mckinley" ], "sql": { "from": { "table_units": [ [ "table_unit", 5 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 23, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 22, false ], null ], "\"mckinley\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT traverse FROM river WHERE LENGTH = ( SELECT MIN ( LENGTH ) FROM river );", "query_toks": [ "SELECT", "traverse", "FROM", "river", "WHERE", "LENGTH", "=", "(", "SELECT", "MIN", "(", "LENGTH", ")", "FROM", "river", ")", ";" ], "query_toks_no_value": [ "select", "traverse", "from", "river", "where", "length", "=", "(", "select", "min", "(", "length", ")", "from", "river", ")" ], "question": "em quais estados o rio mais curto corre", "question_toks": [ "em", "quais", "estados", "o", "rio", "mais", "curto", "corre" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 29, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 27, false ], null ], { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 2, [ 0, [ 0, 27, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT t2.highest_point FROM state AS t1 JOIN highlow AS t2 ON t1.state_name = t2.state_name WHERE t1.state_name IN ( SELECT state_name FROM state WHERE population = ( SELECT MIN ( population ) FROM state ) );", "query_toks": [ "SELECT", "t2.highest_point", "FROM", "state", "AS", "t1", "JOIN", "highlow", "AS", "t2", "ON", "t1.state_name", "=", "t2.state_name", "WHERE", "t1.state_name", "IN", "(", "SELECT", "state_name", "FROM", "state", "WHERE", "population", "=", "(", "SELECT", "MIN", "(", "population", ")", "FROM", "state", ")", ")", ";" ], "query_toks_no_value": [ "select", "t2", ".", "highest_point", "from", "state", "as", "t1", "join", "highlow", "as", "t2", "on", "t1", ".", "state_name", "=", "t2", ".", "state_name", "where", "t1", ".", "state_name", "in", "(", "select", "state_name", "from", "state", "where", "population", "=", "(", "select", "min", "(", "population", ")", "from", "state", ")", ")" ], "question": "qual é o ponto mais alto do estado com a menor população", "question_toks": [ "qual", "é", "o", "ponto", "mais", "alto", "do", "estado", "com", "a", "menor", "população" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ], [ "table_unit", 3 ] ], "conds": [ [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 16, false ], null ] ] ] ], "where": [ [ false, 8, [ 0, [ 0, 1, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 1, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 2, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 2, [ 0, [ 0, 2, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT river_name FROM river WHERE traverse IN ( SELECT state_name FROM highlow WHERE lowest_elevation = ( SELECT MIN ( lowest_elevation ) FROM highlow ) );", "query_toks": [ "SELECT", "river_name", "FROM", "river", "WHERE", "traverse", "IN", "(", "SELECT", "state_name", "FROM", "highlow", "WHERE", "lowest_elevation", "=", "(", "SELECT", "MIN", "(", "lowest_elevation", ")", "FROM", "highlow", ")", ")", ";" ], "query_toks_no_value": [ "select", "river_name", "from", "river", "where", "traverse", "in", "(", "select", "state_name", "from", "highlow", "where", "lowest_elevation", "=", "(", "select", "min", "(", "lowest_elevation", ")", "from", "highlow", ")", ")" ], "question": "quais rios correm pelo estado com a elevação mais baixa dos EUA", "question_toks": [ "quais", "rios", "correm", "pelo", "estado", "com", "a", "elevação", "mais", "baixa", "dos", "EUA" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 26, false ], null ] ] ] ], "where": [ [ false, 8, [ 0, [ 0, 29, false ], null ], { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 13, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 17, false ], null ], { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 2, [ 0, [ 0, 17, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT river_name FROM river WHERE traverse IN ( SELECT state_name FROM highlow WHERE lowest_elevation = ( SELECT MIN ( lowest_elevation ) FROM highlow ) );", "query_toks": [ "SELECT", "river_name", "FROM", "river", "WHERE", "traverse", "IN", "(", "SELECT", "state_name", "FROM", "highlow", "WHERE", "lowest_elevation", "=", "(", "SELECT", "MIN", "(", "lowest_elevation", ")", "FROM", "highlow", ")", ")", ";" ], "query_toks_no_value": [ "select", "river_name", "from", "river", "where", "traverse", "in", "(", "select", "state_name", "from", "highlow", "where", "lowest_elevation", "=", "(", "select", "min", "(", "lowest_elevation", ")", "from", "highlow", ")", ")" ], "question": "quais rios correm pelo estado com o ponto mais baixo nos EUA", "question_toks": [ "quais", "rios", "correm", "pelo", "estado", "com", "o", "ponto", "mais", "baixo", "nos", "EUA" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 26, false ], null ] ] ] ], "where": [ [ false, 8, [ 0, [ 0, 29, false ], null ], { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 13, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 17, false ], null ], { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 2, [ 0, [ 0, 17, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT mountain_name FROM mountain WHERE state_name = \"alaska\";", "query_toks": [ "SELECT", "mountain_name", "FROM", "mountain", "WHERE", "state_name", "=", "``", "alaska", "''", ";" ], "query_toks_no_value": [ "select", "mountain_name", "from", "mountain", "where", "state_name", "=", "value" ], "question": "que montanhas são no Alasca", "question_toks": [ "que", "montanhas", "são", "no", "Alasca" ], "sql": { "from": { "table_units": [ [ "table_unit", 5 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 22, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 25, false ], null ], "\"alaska\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT COUNT ( traverse ) FROM river WHERE LENGTH > 750;", "query_toks": [ "SELECT", "COUNT", "(", "traverse", ")", "FROM", "river", "WHERE", "LENGTH", ">", "750", ";" ], "query_toks_no_value": [ "select", "count", "(", "traverse", ")", "from", "river", "where", "length", ">", "value" ], "question": "quantos estados têm rios importantes", "question_toks": [ "quantos", "estados", "têm", "rios", "importantes" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 3, [ 0, [ 0, 29, false ], null ] ] ] ], "where": [ [ false, 3, [ 0, [ 0, 27, false ], null ], 750.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT state_name FROM state WHERE area = ( SELECT MIN ( area ) FROM state WHERE state_name IN ( SELECT traverse FROM river WHERE LENGTH = ( SELECT MAX ( LENGTH ) FROM river ) ) ) AND state_name IN ( SELECT traverse FROM river WHERE LENGTH = ( SELECT MAX ( LENGTH ) FROM river ) );", "query_toks": [ "SELECT", "state_name", "FROM", "state", "WHERE", "area", "=", "(", "SELECT", "MIN", "(", "area", ")", "FROM", "state", "WHERE", "state_name", "IN", "(", "SELECT", "traverse", "FROM", "river", "WHERE", "LENGTH", "=", "(", "SELECT", "MAX", "(", "LENGTH", ")", "FROM", "river", ")", ")", ")", "AND", "state_name", "IN", "(", "SELECT", "traverse", "FROM", "river", "WHERE", "LENGTH", "=", "(", "SELECT", "MAX", "(", "LENGTH", ")", "FROM", "river", ")", ")", ";" ], "query_toks_no_value": [ "select", "state_name", "from", "state", "where", "area", "=", "(", "select", "min", "(", "area", ")", "from", "state", "where", "state_name", "in", "(", "select", "traverse", "from", "river", "where", "length", "=", "(", "select", "max", "(", "length", ")", "from", "river", ")", ")", ")", "and", "state_name", "in", "(", "select", "traverse", "from", "river", "where", "length", "=", "(", "select", "max", "(", "length", ")", "from", "river", ")", ")" ], "question": "qual é o menor estado através do qual o rio mais longo corre", "question_toks": [ "qual", "é", "o", "menor", "estado", "através", "do", "qual", "o", "rio", "mais", "longo", "corre" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 1, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 2, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [ [ false, 8, [ 0, [ 0, 1, false ], null ], { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 29, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 27, false ], null ], { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 27, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ], "and", [ false, 8, [ 0, [ 0, 1, false ], null ], { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 29, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 27, false ], null ], { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 27, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT state_name FROM state WHERE area = ( SELECT MAX ( area ) FROM state WHERE state_name IN ( SELECT traverse FROM river WHERE river_name = \"rio grande\" ) ) AND state_name IN ( SELECT traverse FROM river WHERE river_name = \"rio grande\" );", "query_toks": [ "SELECT", "state_name", "FROM", "state", "WHERE", "area", "=", "(", "SELECT", "MAX", "(", "area", ")", "FROM", "state", "WHERE", "state_name", "IN", "(", "SELECT", "traverse", "FROM", "river", "WHERE", "river_name", "=", "``", "rio", "grande", "''", ")", ")", "AND", "state_name", "IN", "(", "SELECT", "traverse", "FROM", "river", "WHERE", "river_name", "=", "``", "rio", "grande", "''", ")", ";" ], "query_toks_no_value": [ "select", "state_name", "from", "state", "where", "area", "=", "(", "select", "max", "(", "area", ")", "from", "state", "where", "state_name", "in", "(", "select", "traverse", "from", "river", "where", "river_name", "=", "value", ")", ")", "and", "state_name", "in", "(", "select", "traverse", "from", "river", "where", "river_name", "=", "value", ")" ], "question": "qual é o maior estado atravessado pelo rio rio grande", "question_toks": [ "qual", "é", "o", "maior", "estado", "atravessado", "pelo", "rio", "rio", "grande" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 1, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [ [ false, 8, [ 0, [ 0, 1, false ], null ], { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 29, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 26, false ], null ], "\"rio grande\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ], "and", [ false, 8, [ 0, [ 0, 1, false ], null ], { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 29, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 26, false ], null ], "\"rio grande\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT state_name FROM state WHERE area = ( SELECT MAX ( area ) FROM state WHERE state_name IN ( SELECT traverse FROM river WHERE river_name = \"rio grande\" ) ) AND state_name IN ( SELECT traverse FROM river WHERE river_name = \"rio grande\" );", "query_toks": [ "SELECT", "state_name", "FROM", "state", "WHERE", "area", "=", "(", "SELECT", "MAX", "(", "area", ")", "FROM", "state", "WHERE", "state_name", "IN", "(", "SELECT", "traverse", "FROM", "river", "WHERE", "river_name", "=", "``", "rio", "grande", "''", ")", ")", "AND", "state_name", "IN", "(", "SELECT", "traverse", "FROM", "river", "WHERE", "river_name", "=", "``", "rio", "grande", "''", ")", ";" ], "query_toks_no_value": [ "select", "state_name", "from", "state", "where", "area", "=", "(", "select", "max", "(", "area", ")", "from", "state", "where", "state_name", "in", "(", "select", "traverse", "from", "river", "where", "river_name", "=", "value", ")", ")", "and", "state_name", "in", "(", "select", "traverse", "from", "river", "where", "river_name", "=", "value", ")" ], "question": "qual é a maior do estado por onde passa o rio grande", "question_toks": [ "qual", "é", "a", "maior", "do", "estado", "por", "onde", "passa", "o", "rio", "grande" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 1, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [ [ false, 8, [ 0, [ 0, 1, false ], null ], { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 29, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 26, false ], null ], "\"rio grande\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ], "and", [ false, 8, [ 0, [ 0, 1, false ], null ], { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 29, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 26, false ], null ], "\"rio grande\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT COUNT ( river_name ) FROM river WHERE traverse IN ( SELECT border FROM border_info WHERE state_name = \"colorado\" );", "query_toks": [ "SELECT", "COUNT", "(", "river_name", ")", "FROM", "river", "WHERE", "traverse", "IN", "(", "SELECT", "border", "FROM", "border_info", "WHERE", "state_name", "=", "``", "colorado", "''", ")", ";" ], "query_toks_no_value": [ "select", "count", "(", "river_name", ")", "from", "river", "where", "traverse", "in", "(", "select", "border", "from", "border_info", "where", "state_name", "=", "value", ")" ], "question": "quantos rios passam pelos estados que fazem fronteira com o Colorado", "question_toks": [ "quantos", "rios", "passam", "pelos", "estados", "que", "fazem", "fronteira", "com", "o", "Colorado" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 3, [ 0, [ 0, 26, false ], null ] ] ] ], "where": [ [ false, 8, [ 0, [ 0, 29, false ], null ], { "from": { "table_units": [ [ "table_unit", 2 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 12, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 11, false ], null ], "\"colorado\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT state_name FROM state WHERE state_name NOT IN ( SELECT traverse FROM river );", "query_toks": [ "SELECT", "state_name", "FROM", "state", "WHERE", "state_name", "NOT", "IN", "(", "SELECT", "traverse", "FROM", "river", ")", ";" ], "query_toks_no_value": [ "select", "state_name", "from", "state", "where", "state_name", "not", "in", "(", "select", "traverse", "from", "river", ")" ], "question": "que estado não tem rios", "question_toks": [ "que", "estado", "não", "tem", "rios" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 1, false ], null ] ] ] ], "where": [ [ true, 8, [ 0, [ 0, 1, false ], null ], { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 29, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT capital FROM state WHERE area = ( SELECT MAX ( area ) FROM state );", "query_toks": [ "SELECT", "capital", "FROM", "state", "WHERE", "area", "=", "(", "SELECT", "MAX", "(", "area", ")", "FROM", "state", ")", ";" ], "query_toks_no_value": [ "select", "capital", "from", "state", "where", "area", "=", "(", "select", "max", "(", "area", ")", "from", "state", ")" ], "question": "qual é a capital do maior estado", "question_toks": [ "qual", "é", "a", "capital", "do", "maior", "estado" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT capital FROM state WHERE area = ( SELECT MAX ( area ) FROM state );", "query_toks": [ "SELECT", "capital", "FROM", "state", "WHERE", "area", "=", "(", "SELECT", "MAX", "(", "area", ")", "FROM", "state", ")", ";" ], "query_toks_no_value": [ "select", "capital", "from", "state", "where", "area", "=", "(", "select", "max", "(", "area", ")", "from", "state", ")" ], "question": "qual é a capital do maior estado dos eua", "question_toks": [ "qual", "é", "a", "capital", "do", "maior", "estado", "dos", "eua" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT COUNT ( city_name ) FROM city WHERE state_name = \"texas\";", "query_toks": [ "SELECT", "COUNT", "(", "city_name", ")", "FROM", "city", "WHERE", "state_name", "=", "``", "texas", "''", ";" ], "query_toks_no_value": [ "select", "count", "(", "city_name", ")", "from", "city", "where", "state_name", "=", "value" ], "question": "quantas cidades existem no texas", "question_toks": [ "quantas", "cidades", "existem", "no", "texas" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 3, [ 0, [ 0, 7, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"texas\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT COUNT ( city_name ) FROM city WHERE state_name = \"texas\";", "query_toks": [ "SELECT", "COUNT", "(", "city_name", ")", "FROM", "city", "WHERE", "state_name", "=", "``", "texas", "''", ";" ], "query_toks_no_value": [ "select", "count", "(", "city_name", ")", "from", "city", "where", "state_name", "=", "value" ], "question": "quantas cidades o texas tem", "question_toks": [ "quantas", "cidades", "o", "texas", "tem" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 3, [ 0, [ 0, 7, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"texas\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT area FROM state;", "query_toks": [ "SELECT", "area", "FROM", "state", ";" ], "query_toks_no_value": [ "select", "area", "from", "state" ], "question": "qual é a área dos estados", "question_toks": [ "qual", "é", "a", "área", "dos", "estados" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT COUNT ( DISTINCT traverse ) FROM river WHERE LENGTH = ( SELECT MIN ( DISTINCT LENGTH ) FROM river );", "query_toks": [ "SELECT", "COUNT", "(", "DISTINCT", "traverse", ")", "FROM", "river", "WHERE", "LENGTH", "=", "(", "SELECT", "MIN", "(", "DISTINCT", "LENGTH", ")", "FROM", "river", ")", ";" ], "query_toks_no_value": [ "select", "count", "(", "distinct", "traverse", ")", "from", "river", "where", "length", "=", "(", "select", "min", "(", "distinct", "length", ")", "from", "river", ")" ], "question": "por quantos estados nos EUA o rio mais curto corre", "question_toks": [ "por", "quantos", "estados", "nos", "EUA", "o", "rio", "mais", "curto", "corre" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 3, [ 0, [ 0, 29, true ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 27, false ], null ], { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 2, [ 0, [ 0, 27, true ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT river_name FROM river WHERE traverse IN ( SELECT border FROM border_info WHERE state_name IN ( SELECT state_name FROM state WHERE population = ( SELECT MAX ( population ) FROM state ) ) );", "query_toks": [ "SELECT", "river_name", "FROM", "river", "WHERE", "traverse", "IN", "(", "SELECT", "border", "FROM", "border_info", "WHERE", "state_name", "IN", "(", "SELECT", "state_name", "FROM", "state", "WHERE", "population", "=", "(", "SELECT", "MAX", "(", "population", ")", "FROM", "state", ")", ")", ")", ";" ], "query_toks_no_value": [ "select", "river_name", "from", "river", "where", "traverse", "in", "(", "select", "border", "from", "border_info", "where", "state_name", "in", "(", "select", "state_name", "from", "state", "where", "population", "=", "(", "select", "max", "(", "population", ")", "from", "state", ")", ")", ")" ], "question": "quais rios fluem através dos estados que fazem fronteira com o estado com a maior população", "question_toks": [ "quais", "rios", "fluem", "através", "dos", "estados", "que", "fazem", "fronteira", "com", "o", "estado", "com", "a", "maior", "população" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 26, false ], null ] ] ] ], "where": [ [ false, 8, [ 0, [ 0, 29, false ], null ], { "from": { "table_units": [ [ "table_unit", 2 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 12, false ], null ] ] ] ], "where": [ [ false, 8, [ 0, [ 0, 11, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 1, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 2, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 2, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT city_name FROM city WHERE population > 150000 AND state_name = ( SELECT state_name FROM state WHERE area = ( SELECT MAX ( area ) FROM state ) );", "query_toks": [ "SELECT", "city_name", "FROM", "city", "WHERE", "population", ">", "150000", "AND", "state_name", "=", "(", "SELECT", "state_name", "FROM", "state", "WHERE", "area", "=", "(", "SELECT", "MAX", "(", "area", ")", "FROM", "state", ")", ")", ";" ], "query_toks_no_value": [ "select", "city_name", "from", "city", "where", "population", ">", "value", "and", "state_name", "=", "(", "select", "state_name", "from", "state", "where", "area", "=", "(", "select", "max", "(", "area", ")", "from", "state", ")", ")" ], "question": "quais são as principais cidades do maior estado", "question_toks": [ "quais", "são", "as", "principais", "cidades", "do", "maior", "estado" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 7, false ], null ] ] ] ], "where": [ [ false, 3, [ 0, [ 0, 8, false ], null ], 150000.0, null ], "and", [ false, 2, [ 0, [ 0, 10, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 1, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT area FROM state WHERE area = ( SELECT MIN ( area ) FROM state );", "query_toks": [ "SELECT", "area", "FROM", "state", "WHERE", "area", "=", "(", "SELECT", "MIN", "(", "area", ")", "FROM", "state", ")", ";" ], "query_toks_no_value": [ "select", "area", "from", "state", "where", "area", "=", "(", "select", "min", "(", "area", ")", "from", "state", ")" ], "question": "qual é a área do menor estado", "question_toks": [ "qual", "é", "a", "área", "do", "menor", "estado" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 2, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT border FROM border_info WHERE state_name IN ( SELECT traverse FROM river WHERE LENGTH = ( SELECT MAX ( LENGTH ) FROM river ) );", "query_toks": [ "SELECT", "border", "FROM", "border_info", "WHERE", "state_name", "IN", "(", "SELECT", "traverse", "FROM", "river", "WHERE", "LENGTH", "=", "(", "SELECT", "MAX", "(", "LENGTH", ")", "FROM", "river", ")", ")", ";" ], "query_toks_no_value": [ "select", "border", "from", "border_info", "where", "state_name", "in", "(", "select", "traverse", "from", "river", "where", "length", "=", "(", "select", "max", "(", "length", ")", "from", "river", ")", ")" ], "question": "que estados fazem fronteira com o maior rio dos EUA", "question_toks": [ "que", "estados", "fazem", "fronteira", "com", "o", "maior", "rio", "dos", "EUA" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 12, false ], null ] ] ] ], "where": [ [ false, 8, [ 0, [ 0, 11, false ], null ], { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 29, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 27, false ], null ], { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 27, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT density FROM state WHERE population = ( SELECT MIN ( population ) FROM state );", "query_toks": [ "SELECT", "density", "FROM", "state", "WHERE", "population", "=", "(", "SELECT", "MIN", "(", "population", ")", "FROM", "state", ")", ";" ], "query_toks_no_value": [ "select", "density", "from", "state", "where", "population", "=", "(", "select", "min", "(", "population", ")", "from", "state", ")" ], "question": "qual é a densidade populacional do estado com a menor população", "question_toks": [ "qual", "é", "a", "densidade", "populacional", "do", "estado", "com", "a", "menor", "população" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 6, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 2, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 2, [ 0, [ 0, 2, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT COUNT ( DISTINCT border ) FROM border_info WHERE state_name IN ( SELECT traverse FROM river WHERE river_name = \"mississippi\" );", "query_toks": [ "SELECT", "COUNT", "(", "DISTINCT", "border", ")", "FROM", "border_info", "WHERE", "state_name", "IN", "(", "SELECT", "traverse", "FROM", "river", "WHERE", "river_name", "=", "``", "mississippi", "''", ")", ";" ], "query_toks_no_value": [ "select", "count", "(", "distinct", "border", ")", "from", "border_info", "where", "state_name", "in", "(", "select", "traverse", "from", "river", "where", "river_name", "=", "value", ")" ], "question": "quantos estados fazem fronteira com o rio mississippi", "question_toks": [ "quantos", "estados", "fazem", "fronteira", "com", "o", "rio", "mississippi" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ] ], "conds": [] }, "select": [ false, [ [ 3, [ 0, [ 0, 12, true ], null ] ] ] ], "where": [ [ false, 8, [ 0, [ 0, 11, false ], null ], { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 29, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 26, false ], null ], "\"mississippi\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT t1.state_name FROM state AS t1 JOIN highlow AS t2 ON t1.capital = t2.highest_point;", "query_toks": [ "SELECT", "t1.state_name", "FROM", "state", "AS", "t1", "JOIN", "highlow", "AS", "t2", "ON", "t1.capital", "=", "t2.highest_point", ";" ], "query_toks_no_value": [ "select", "t1", ".", "state_name", "from", "state", "as", "t1", "join", "highlow", "as", "t2", "on", "t1", ".", "capital", "=", "t2", ".", "highest_point" ], "question": "quais estados têm uma capital que é o ponto mais alto do estado", "question_toks": [ "quais", "estados", "têm", "uma", "capital", "que", "é", "o", "ponto", "mais", "alto", "do", "estado" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ], [ "table_unit", 3 ] ], "conds": [ [ false, 2, [ 0, [ 0, 5, false ], null ], [ 0, 16, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 1, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT population FROM city WHERE city_name = ( SELECT capital FROM state WHERE area = ( SELECT MIN ( area ) FROM state ) );", "query_toks": [ "SELECT", "population", "FROM", "city", "WHERE", "city_name", "=", "(", "SELECT", "capital", "FROM", "state", "WHERE", "area", "=", "(", "SELECT", "MIN", "(", "area", ")", "FROM", "state", ")", ")", ";" ], "query_toks_no_value": [ "select", "population", "from", "city", "where", "city_name", "=", "(", "select", "capital", "from", "state", "where", "area", "=", "(", "select", "min", "(", "area", ")", "from", "state", ")", ")" ], "question": "qual é a população da capital do menor estado", "question_toks": [ "qual", "é", "a", "população", "da", "capital", "do", "menor", "estado" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 8, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 7, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 2, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT population FROM city WHERE city_name = ( SELECT capital FROM state WHERE area = ( SELECT MAX ( area ) FROM state ) );", "query_toks": [ "SELECT", "population", "FROM", "city", "WHERE", "city_name", "=", "(", "SELECT", "capital", "FROM", "state", "WHERE", "area", "=", "(", "SELECT", "MAX", "(", "area", ")", "FROM", "state", ")", ")", ";" ], "query_toks_no_value": [ "select", "population", "from", "city", "where", "city_name", "=", "(", "select", "capital", "from", "state", "where", "area", "=", "(", "select", "max", "(", "area", ")", "from", "state", ")", ")" ], "question": "qual é a população da capital do maior estado", "question_toks": [ "qual", "é", "a", "população", "da", "capital", "do", "maior", "estado" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 8, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 7, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT t2.lowest_point FROM state AS t1 JOIN highlow AS t2 ON t1.state_name = t2.state_name WHERE t1.state_name IN ( SELECT state_name FROM state WHERE area = ( SELECT MAX ( area ) FROM state ) );", "query_toks": [ "SELECT", "t2.lowest_point", "FROM", "state", "AS", "t1", "JOIN", "highlow", "AS", "t2", "ON", "t1.state_name", "=", "t2.state_name", "WHERE", "t1.state_name", "IN", "(", "SELECT", "state_name", "FROM", "state", "WHERE", "area", "=", "(", "SELECT", "MAX", "(", "area", ")", "FROM", "state", ")", ")", ";" ], "query_toks_no_value": [ "select", "t2", ".", "lowest_point", "from", "state", "as", "t1", "join", "highlow", "as", "t2", "on", "t1", ".", "state_name", "=", "t2", ".", "state_name", "where", "t1", ".", "state_name", "in", "(", "select", "state_name", "from", "state", "where", "area", "=", "(", "select", "max", "(", "area", ")", "from", "state", ")", ")" ], "question": "qual é o ponto mais baixo do estado com a maior área", "question_toks": [ "qual", "é", "o", "ponto", "mais", "baixo", "do", "estado", "com", "a", "maior", "área" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ], [ "table_unit", 3 ] ], "conds": [ [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 15, false ], null ] ] ] ], "where": [ [ false, 8, [ 0, [ 0, 1, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 1, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT t1.border FROM border_info AS t2 JOIN border_info AS t1 ON t2.border = t1.state_name WHERE t2.state_name IN ( SELECT state_name FROM state WHERE population = ( SELECT MAX ( population ) FROM state ) );", "query_toks": [ "SELECT", "t1.border", "FROM", "border_info", "AS", "t2", "JOIN", "border_info", "AS", "t1", "ON", "t2.border", "=", "t1.state_name", "WHERE", "t2.state_name", "IN", "(", "SELECT", "state_name", "FROM", "state", "WHERE", "population", "=", "(", "SELECT", "MAX", "(", "population", ")", "FROM", "state", ")", ")", ";" ], "query_toks_no_value": [ "select", "t1", ".", "border", "from", "border_info", "as", "t2", "join", "border_info", "as", "t1", "on", "t2", ".", "border", "=", "t1", ".", "state_name", "where", "t2", ".", "state_name", "in", "(", "select", "state_name", "from", "state", "where", "population", "=", "(", "select", "max", "(", "population", ")", "from", "state", ")", ")" ], "question": "quais estados fazem fronteira com estados que fazem fronteira com o estado com a maior população", "question_toks": [ "quais", "estados", "fazem", "fronteira", "com", "estados", "que", "fazem", "fronteira", "com", "o", "estado", "com", "a", "maior", "população" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 12, false ], null ], [ 0, 11, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 12, false ], null ] ] ] ], "where": [ [ false, 8, [ 0, [ 0, 11, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 1, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 2, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 2, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT MAX ( area ) FROM state;", "query_toks": [ "SELECT", "MAX", "(", "area", ")", "FROM", "state", ";" ], "query_toks_no_value": [ "select", "max", "(", "area", ")", "from", "state" ], "question": "qual é o tamanho do maior estado dos eua", "question_toks": [ "qual", "é", "o", "tamanho", "do", "maior", "estado", "dos", "eua" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT MAX ( area ) FROM state;", "query_toks": [ "SELECT", "MAX", "(", "area", ")", "FROM", "state", ";" ], "query_toks_no_value": [ "select", "max", "(", "area", ")", "from", "state" ], "question": "qual é a área do maior estado", "question_toks": [ "qual", "é", "a", "área", "do", "maior", "estado" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT t2.capital FROM state AS t2 JOIN city AS t1 ON t2.capital = t1.city_name WHERE t1.population <= 150000;", "query_toks": [ "SELECT", "t2.capital", "FROM", "state", "AS", "t2", "JOIN", "city", "AS", "t1", "ON", "t2.capital", "=", "t1.city_name", "WHERE", "t1.population", "<", "=", "150000", ";" ], "query_toks_no_value": [ "select", "t2", ".", "capital", "from", "state", "as", "t2", "join", "city", "as", "t1", "on", "t2", ".", "capital", "=", "t1", ".", "city_name", "where", "t1", ".", "population", "<", "=", "value" ], "question": "quais capitais não são grandes cidades", "question_toks": [ "quais", "capitais", "não", "são", "grandes", "cidades" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 5, false ], null ], [ 0, 7, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 6, [ 0, [ 0, 8, false ], null ], 150000.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT city_name FROM city;", "query_toks": [ "SELECT", "city_name", "FROM", "city", ";" ], "query_toks_no_value": [ "select", "city_name", "from", "city" ], "question": "dê-me as cidades nos EUA", "question_toks": [ "dê-me", "as", "cidades", "nos", "EUA" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 7, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT t2.highest_point FROM state AS t1 JOIN highlow AS t2 ON t1.state_name = t2.state_name WHERE t1.state_name IN ( SELECT state_name FROM state WHERE area = ( SELECT MAX ( area ) FROM state ) );", "query_toks": [ "SELECT", "t2.highest_point", "FROM", "state", "AS", "t1", "JOIN", "highlow", "AS", "t2", "ON", "t1.state_name", "=", "t2.state_name", "WHERE", "t1.state_name", "IN", "(", "SELECT", "state_name", "FROM", "state", "WHERE", "area", "=", "(", "SELECT", "MAX", "(", "area", ")", "FROM", "state", ")", ")", ";" ], "query_toks_no_value": [ "select", "t2", ".", "highest_point", "from", "state", "as", "t1", "join", "highlow", "as", "t2", "on", "t1", ".", "state_name", "=", "t2", ".", "state_name", "where", "t1", ".", "state_name", "in", "(", "select", "state_name", "from", "state", "where", "area", "=", "(", "select", "max", "(", "area", ")", "from", "state", ")", ")" ], "question": "qual é o ponto mais alto do estado com a maior área", "question_toks": [ "qual", "é", "o", "ponto", "mais", "alto", "do", "estado", "com", "a", "maior", "área" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ], [ "table_unit", 3 ] ], "conds": [ [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 16, false ], null ] ] ] ], "where": [ [ false, 8, [ 0, [ 0, 1, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 1, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT country_name FROM state WHERE state_name = \"massachusetts\";", "query_toks": [ "SELECT", "country_name", "FROM", "state", "WHERE", "state_name", "=", "``", "massachusetts", "''", ";" ], "query_toks_no_value": [ "select", "country_name", "from", "state", "where", "state_name", "=", "value" ], "question": "onde fica Massachusetts", "question_toks": [ "onde", "fica", "Massachusetts" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 4, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 1, false ], null ], "\"massachusetts\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT state_name FROM city GROUP BY state_name ORDER BY SUM ( population ) DESC LIMIT 1;", "query_toks": [ "SELECT", "state_name", "FROM", "city", "GROUP", "BY", "state_name", "ORDER", "BY", "SUM", "(", "population", ")", "DESC", "LIMIT", "1", ";" ], "query_toks_no_value": [ "select", "state_name", "from", "city", "group", "by", "state_name", "order", "by", "sum", "(", "population", ")", "desc", "limit", "value" ], "question": "qual estado tem a maior população urbana", "question_toks": [ "qual", "estado", "tem", "a", "maior", "população", "urbana" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 10, false ], null ] ] ] ], "where": [], "groupBy": [ [ 0, 10, false ] ], "having": [], "orderBy": [ "desc", [ [ 0, [ 4, 8, false ], null ] ] ], "limit": 1, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT river_name FROM river;", "query_toks": [ "SELECT", "river_name", "FROM", "river", ";" ], "query_toks_no_value": [ "select", "river_name", "from", "river" ], "question": "quais são os principais rios nos EUA", "question_toks": [ "quais", "são", "os", "principais", "rios", "nos", "EUA" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 26, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT COUNT ( city_name ) FROM city WHERE city_name = \"austin\";", "query_toks": [ "SELECT", "COUNT", "(", "city_name", ")", "FROM", "city", "WHERE", "city_name", "=", "``", "austin", "''", ";" ], "query_toks_no_value": [ "select", "count", "(", "city_name", ")", "from", "city", "where", "city_name", "=", "value" ], "question": "quantas cidades chamadas Austin existem nos EUA", "question_toks": [ "quantas", "cidades", "chamadas", "Austin", "existem", "nos", "EUA" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 3, [ 0, [ 0, 7, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 7, false ], null ], "\"austin\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT population FROM state WHERE population = ( SELECT MAX ( population ) FROM state WHERE state_name IN ( SELECT border FROM border_info WHERE state_name = \"wyoming\" ) ) AND state_name IN ( SELECT border FROM border_info WHERE state_name = \"wyoming\" );", "query_toks": [ "SELECT", "population", "FROM", "state", "WHERE", "population", "=", "(", "SELECT", "MAX", "(", "population", ")", "FROM", "state", "WHERE", "state_name", "IN", "(", "SELECT", "border", "FROM", "border_info", "WHERE", "state_name", "=", "``", "wyoming", "''", ")", ")", "AND", "state_name", "IN", "(", "SELECT", "border", "FROM", "border_info", "WHERE", "state_name", "=", "``", "wyoming", "''", ")", ";" ], "query_toks_no_value": [ "select", "population", "from", "state", "where", "population", "=", "(", "select", "max", "(", "population", ")", "from", "state", "where", "state_name", "in", "(", "select", "border", "from", "border_info", "where", "state_name", "=", "value", ")", ")", "and", "state_name", "in", "(", "select", "border", "from", "border_info", "where", "state_name", "=", "value", ")" ], "question": "quantas pessoas vivem no menor estado na fronteira com Wyoming", "question_toks": [ "quantas", "pessoas", "vivem", "no", "menor", "estado", "na", "fronteira", "com", "Wyoming" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 2, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 2, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 2, false ], null ] ] ] ], "where": [ [ false, 8, [ 0, [ 0, 1, false ], null ], { "from": { "table_units": [ [ "table_unit", 2 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 12, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 11, false ], null ], "\"wyoming\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ], "and", [ false, 8, [ 0, [ 0, 1, false ], null ], { "from": { "table_units": [ [ "table_unit", 2 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 12, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 11, false ], null ], "\"wyoming\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT LENGTH FROM river WHERE river_name = \"colorado\" AND traverse = \"texas\";", "query_toks": [ "SELECT", "LENGTH", "FROM", "river", "WHERE", "river_name", "=", "``", "colorado", "''", "AND", "traverse", "=", "``", "texas", "''", ";" ], "query_toks_no_value": [ "select", "length", "from", "river", "where", "river_name", "=", "value", "and", "traverse", "=", "value" ], "question": "qual é o comprimento do rio colorado no texas", "question_toks": [ "qual", "é", "o", "comprimento", "do", "rio", "colorado", "no", "texas" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 27, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 26, false ], null ], "\"colorado\"", null ], "and", [ false, 2, [ 0, [ 0, 29, false ], null ], "\"texas\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT density FROM state WHERE capital = \"austin\";", "query_toks": [ "SELECT", "density", "FROM", "state", "WHERE", "capital", "=", "``", "austin", "''", ";" ], "query_toks_no_value": [ "select", "density", "from", "state", "where", "capital", "=", "value" ], "question": "qual é a densidade populacional no estado com capital austin", "question_toks": [ "qual", "é", "a", "densidade", "populacional", "no", "estado", "com", "capital", "austin" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 6, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 5, false ], null ], "\"austin\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT LENGTH FROM river WHERE LENGTH = ( SELECT MIN ( LENGTH ) FROM river );", "query_toks": [ "SELECT", "LENGTH", "FROM", "river", "WHERE", "LENGTH", "=", "(", "SELECT", "MIN", "(", "LENGTH", ")", "FROM", "river", ")", ";" ], "query_toks_no_value": [ "select", "length", "from", "river", "where", "length", "=", "(", "select", "min", "(", "length", ")", "from", "river", ")" ], "question": "Qual é o comprimento do rio mais curto nos EUA?", "question_toks": [ "Qual", "é", "o", "comprimento", "do", "rio", "mais", "curto", "nos", "EUA", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 27, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 27, false ], null ], { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 2, [ 0, [ 0, 27, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT lowest_elevation FROM highlow WHERE lowest_point = \"death valley\";", "query_toks": [ "SELECT", "lowest_elevation", "FROM", "highlow", "WHERE", "lowest_point", "=", "``", "death", "valley", "''", ";" ], "query_toks_no_value": [ "select", "lowest_elevation", "from", "highlow", "where", "lowest_point", "=", "value" ], "question": "qual é a elevação do vale da morte", "question_toks": [ "qual", "é", "a", "elevação", "do", "vale", "da", "morte" ], "sql": { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 17, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 15, false ], null ], "\"death valley\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT AVG ( population ) FROM state;", "query_toks": [ "SELECT", "AVG", "(", "population", ")", "FROM", "state", ";" ], "query_toks_no_value": [ "select", "avg", "(", "population", ")", "from", "state" ], "question": "qual é a população média dos EUA por estado", "question_toks": [ "qual", "é", "a", "população", "média", "dos", "EUA", "por", "estado" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 5, [ 0, [ 0, 2, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT river_name FROM river WHERE traverse IN ( SELECT state_name FROM state WHERE area = ( SELECT MAX ( area ) FROM state ) );", "query_toks": [ "SELECT", "river_name", "FROM", "river", "WHERE", "traverse", "IN", "(", "SELECT", "state_name", "FROM", "state", "WHERE", "area", "=", "(", "SELECT", "MAX", "(", "area", ")", "FROM", "state", ")", ")", ";" ], "query_toks_no_value": [ "select", "river_name", "from", "river", "where", "traverse", "in", "(", "select", "state_name", "from", "state", "where", "area", "=", "(", "select", "max", "(", "area", ")", "from", "state", ")", ")" ], "question": "quais rios correm através do maior estado", "question_toks": [ "quais", "rios", "correm", "através", "do", "maior", "estado" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 26, false ], null ] ] ] ], "where": [ [ false, 8, [ 0, [ 0, 29, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 1, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT t1.border FROM border_info AS t2 JOIN border_info AS t1 ON t2.border = t1.state_name JOIN border_info AS t3 ON t3.border = t2.state_name JOIN border_info AS t4 ON t4.border = t3.state_name WHERE t4.state_name = \"texas\";", "query_toks": [ "SELECT", "t1.border", "FROM", "border_info", "AS", "t2", "JOIN", "border_info", "AS", "t1", "ON", "t2.border", "=", "t1.state_name", "JOIN", "border_info", "AS", "t3", "ON", "t3.border", "=", "t2.state_name", "JOIN", "border_info", "AS", "t4", "ON", "t4.border", "=", "t3.state_name", "WHERE", "t4.state_name", "=", "``", "texas", "''", ";" ], "query_toks_no_value": [ "select", "t1", ".", "border", "from", "border_info", "as", "t2", "join", "border_info", "as", "t1", "on", "t2", ".", "border", "=", "t1", ".", "state_name", "join", "border_info", "as", "t3", "on", "t3", ".", "border", "=", "t2", ".", "state_name", "join", "border_info", "as", "t4", "on", "t4", ".", "border", "=", "t3", ".", "state_name", "where", "t4", ".", "state_name", "=", "value" ], "question": "quais estados fazem fronteira com estados que fazem fronteira com estados que fazem fronteira com o Texas", "question_toks": [ "quais", "estados", "fazem", "fronteira", "com", "estados", "que", "fazem", "fronteira", "com", "estados", "que", "fazem", "fronteira", "com", "o", "Texas" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ], [ "table_unit", 2 ], [ "table_unit", 2 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 12, false ], null ], [ 0, 11, false ], null ], "and", [ false, 2, [ 0, [ 0, 12, false ], null ], [ 0, 11, false ], null ], "and", [ false, 2, [ 0, [ 0, 12, false ], null ], [ 0, 11, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 12, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 11, false ], null ], "\"texas\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT COUNT ( border ) FROM border_info WHERE state_name = ( SELECT state_name FROM state WHERE capital = \"boston\" );", "query_toks": [ "SELECT", "COUNT", "(", "border", ")", "FROM", "border_info", "WHERE", "state_name", "=", "(", "SELECT", "state_name", "FROM", "state", "WHERE", "capital", "=", "``", "boston", "''", ")", ";" ], "query_toks_no_value": [ "select", "count", "(", "border", ")", "from", "border_info", "where", "state_name", "=", "(", "select", "state_name", "from", "state", "where", "capital", "=", "value", ")" ], "question": "quantos estados fazem fronteira com o estado cuja capital é boston", "question_toks": [ "quantos", "estados", "fazem", "fronteira", "com", "o", "estado", "cuja", "capital", "é", "boston" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ] ], "conds": [] }, "select": [ false, [ [ 3, [ 0, [ 0, 12, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 11, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 1, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 5, false ], null ], "\"boston\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT city_name FROM city WHERE population > 150000 AND state_name IN ( SELECT traverse FROM river WHERE river_name IN ( SELECT river_name FROM river WHERE LENGTH > 750 AND traverse = \"virginia\" ) );", "query_toks": [ "SELECT", "city_name", "FROM", "city", "WHERE", "population", ">", "150000", "AND", "state_name", "IN", "(", "SELECT", "traverse", "FROM", "river", "WHERE", "river_name", "IN", "(", "SELECT", "river_name", "FROM", "river", "WHERE", "LENGTH", ">", "750", "AND", "traverse", "=", "``", "virginia", "''", ")", ")", ";" ], "query_toks_no_value": [ "select", "city_name", "from", "city", "where", "population", ">", "value", "and", "state_name", "in", "(", "select", "traverse", "from", "river", "where", "river_name", "in", "(", "select", "river_name", "from", "river", "where", "length", ">", "value", "and", "traverse", "=", "value", ")", ")" ], "question": "quais são as principais cidades dos estados por onde passa o maior rio da Virgínia", "question_toks": [ "quais", "são", "as", "principais", "cidades", "dos", "estados", "por", "onde", "passa", "o", "maior", "rio", "da", "Virgínia" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 7, false ], null ] ] ] ], "where": [ [ false, 3, [ 0, [ 0, 8, false ], null ], 150000.0, null ], "and", [ false, 8, [ 0, [ 0, 10, false ], null ], { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 29, false ], null ] ] ] ], "where": [ [ false, 8, [ 0, [ 0, 26, false ], null ], { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 26, false ], null ] ] ] ], "where": [ [ false, 3, [ 0, [ 0, 27, false ], null ], 750.0, null ], "and", [ false, 2, [ 0, [ 0, 29, false ], null ], "\"virginia\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT state_name FROM state WHERE state_name NOT IN ( SELECT border FROM border_info WHERE state_name = \"texas\" );", "query_toks": [ "SELECT", "state_name", "FROM", "state", "WHERE", "state_name", "NOT", "IN", "(", "SELECT", "border", "FROM", "border_info", "WHERE", "state_name", "=", "``", "texas", "''", ")", ";" ], "query_toks_no_value": [ "select", "state_name", "from", "state", "where", "state_name", "not", "in", "(", "select", "border", "from", "border_info", "where", "state_name", "=", "value", ")" ], "question": "quais estados não fazem fronteira com o texas", "question_toks": [ "quais", "estados", "não", "fazem", "fronteira", "com", "o", "texas" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 1, false ], null ] ] ] ], "where": [ [ true, 8, [ 0, [ 0, 1, false ], null ], { "from": { "table_units": [ [ "table_unit", 2 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 12, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 11, false ], null ], "\"texas\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT COUNT ( border ) FROM border_info WHERE state_name = ( SELECT state_name FROM state WHERE area = ( SELECT MAX ( area ) FROM state ) );", "query_toks": [ "SELECT", "COUNT", "(", "border", ")", "FROM", "border_info", "WHERE", "state_name", "=", "(", "SELECT", "state_name", "FROM", "state", "WHERE", "area", "=", "(", "SELECT", "MAX", "(", "area", ")", "FROM", "state", ")", ")", ";" ], "query_toks_no_value": [ "select", "count", "(", "border", ")", "from", "border_info", "where", "state_name", "=", "(", "select", "state_name", "from", "state", "where", "area", "=", "(", "select", "max", "(", "area", ")", "from", "state", ")", ")" ], "question": "quantos estados fazem fronteira com o maior estado", "question_toks": [ "quantos", "estados", "fazem", "fronteira", "com", "o", "maior", "estado" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ] ], "conds": [] }, "select": [ false, [ [ 3, [ 0, [ 0, 12, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 11, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 1, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT state_name FROM city WHERE population = ( SELECT MAX ( population ) FROM city WHERE state_name = \"montana\" ) AND state_name = \"montana\";", "query_toks": [ "SELECT", "state_name", "FROM", "city", "WHERE", "population", "=", "(", "SELECT", "MAX", "(", "population", ")", "FROM", "city", "WHERE", "state_name", "=", "``", "montana", "''", ")", "AND", "state_name", "=", "``", "montana", "''", ";" ], "query_toks_no_value": [ "select", "state_name", "from", "city", "where", "population", "=", "(", "select", "max", "(", "population", ")", "from", "city", "where", "state_name", "=", "value", ")", "and", "state_name", "=", "value" ], "question": "qual estado é a maior cidade da montana em", "question_toks": [ "qual", "estado", "é", "a", "maior", "cidade", "da", "montana", "em" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 10, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 8, false ], null ], { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 8, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"montana\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ], "and", [ false, 2, [ 0, [ 0, 10, false ], null ], "\"montana\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT t1.capital FROM highlow AS t2 JOIN state AS t1 ON t1.state_name = t2.state_name WHERE t2.lowest_elevation = ( SELECT MIN ( lowest_elevation ) FROM highlow ) ;", "query_toks": [ "SELECT", "t1.capital", "FROM", "highlow", "AS", "t2", "JOIN", "state", "AS", "t1", "ON", "t1.state_name", "=", "t2.state_name", "WHERE", "t2.lowest_elevation", "=", "(", "SELECT", "MIN", "(", "lowest_elevation", ")", "FROM", "highlow", ")", ";" ], "query_toks_no_value": [ "select", "t1", ".", "capital", "from", "highlow", "as", "t2", "join", "state", "as", "t1", "on", "t1", ".", "state_name", "=", "t2", ".", "state_name", "where", "t2", ".", "lowest_elevation", "=", "(", "select", "min", "(", "lowest_elevation", ")", "from", "highlow", ")" ], "question": "qual é a capital do estado com o ponto mais baixo", "question_toks": [ "qual", "é", "a", "capital", "do", "estado", "com", "o", "ponto", "mais", "baixo" ], "sql": { "from": { "table_units": [ [ "table_unit", 3 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 17, false ], null ], { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 2, [ 0, [ 0, 17, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT DISTINCT t1.city_name FROM city AS t1 JOIN river AS t2 ON t2.traverse = t1.state_name WHERE t1.population = ( SELECT MAX ( t1.population ) FROM river AS t2 JOIN city AS t1 ON t2.traverse = t1.state_name );", "query_toks": [ "SELECT", "DISTINCT", "t1.city_name", "FROM", "city", "AS", "t1", "JOIN", "river", "AS", "t2", "ON", "t2.traverse", "=", "t1.state_name", "WHERE", "t1.population", "=", "(", "SELECT", "MAX", "(", "t1.population", ")", "FROM", "river", "AS", "t2", "JOIN", "city", "AS", "t1", "ON", "t2.traverse", "=", "t1.state_name", ")", ";" ], "query_toks_no_value": [ "select", "distinct", "t1", ".", "city_name", "from", "city", "as", "t1", "join", "river", "as", "t2", "on", "t2", ".", "traverse", "=", "t1", ".", "state_name", "where", "t1", ".", "population", "=", "(", "select", "max", "(", "t1", ".", "population", ")", "from", "river", "as", "t2", "join", "city", "as", "t1", "on", "t2", ".", "traverse", "=", "t1", ".", "state_name", ")" ], "question": "qual é a maior cidade americana em um estado com rio", "question_toks": [ "qual", "é", "a", "maior", "cidade", "americana", "em", "um", "estado", "com", "rio" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 6 ] ], "conds": [ [ false, 2, [ 0, [ 0, 29, false ], null ], [ 0, 10, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 7, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 8, false ], null ], { "from": { "table_units": [ [ "table_unit", 6 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 29, false ], null ], [ 0, 10, false ], null ] ] }, "select": [ false, [ [ 1, [ 0, [ 0, 8, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT COUNT ( t2.river_name ) FROM river AS t2 JOIN state AS t1 ON t1.state_name = t2.traverse WHERE t1.state_name = ( SELECT state_name FROM state WHERE population = ( SELECT MAX ( population ) FROM state ) );", "query_toks": [ "SELECT", "COUNT", "(", "t2.river_name", ")", "FROM", "river", "AS", "t2", "JOIN", "state", "AS", "t1", "ON", "t1.state_name", "=", "t2.traverse", "WHERE", "t1.state_name", "=", "(", "SELECT", "state_name", "FROM", "state", "WHERE", "population", "=", "(", "SELECT", "MAX", "(", "population", ")", "FROM", "state", ")", ")", ";" ], "query_toks_no_value": [ "select", "count", "(", "t2", ".", "river_name", ")", "from", "river", "as", "t2", "join", "state", "as", "t1", "on", "t1", ".", "state_name", "=", "t2", ".", "traverse", "where", "t1", ".", "state_name", "=", "(", "select", "state_name", "from", "state", "where", "population", "=", "(", "select", "max", "(", "population", ")", "from", "state", ")", ")" ], "question": "quantos rios existem no estado com maior população", "question_toks": [ "quantos", "rios", "existem", "no", "estado", "com", "maior", "população" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 29, false ], null ] ] }, "select": [ false, [ [ 3, [ 0, [ 0, 26, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 1, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 1, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 2, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 2, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT t1.state_name FROM highlow AS t3 JOIN border_info AS t1 ON t3.state_name = t1.border JOIN state AS t2 ON t2.state_name = t1.border WHERE t3.lowest_elevation = ( SELECT MIN ( lowest_elevation ) FROM highlow ) ORDER BY t2.area DESC LIMIT 1;", "query_toks": [ "SELECT", "t1.state_name", "FROM", "highlow", "AS", "t3", "JOIN", "border_info", "AS", "t1", "ON", "t3.state_name", "=", "t1.border", "JOIN", "state", "AS", "t2", "ON", "t2.state_name", "=", "t1.border", "WHERE", "t3.lowest_elevation", "=", "(", "SELECT", "MIN", "(", "lowest_elevation", ")", "FROM", "highlow", ")", "ORDER", "BY", "t2.area", "DESC", "LIMIT", "1", ";" ], "query_toks_no_value": [ "select", "t1", ".", "state_name", "from", "highlow", "as", "t3", "join", "border_info", "as", "t1", "on", "t3", ".", "state_name", "=", "t1", ".", "border", "join", "state", "as", "t2", "on", "t2", ".", "state_name", "=", "t1", ".", "border", "where", "t3", ".", "lowest_elevation", "=", "(", "select", "min", "(", "lowest_elevation", ")", "from", "highlow", ")", "order", "by", "t2", ".", "area", "desc", "limit", "value" ], "question": "qual é o maior estado que faz fronteira com o estado com o ponto mais baixo dos EUA", "question_toks": [ "qual", "é", "o", "maior", "estado", "que", "faz", "fronteira", "com", "o", "estado", "com", "o", "ponto", "mais", "baixo", "dos", "EUA" ], "sql": { "from": { "table_units": [ [ "table_unit", 3 ], [ "table_unit", 2 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 13, false ], null ], [ 0, 12, false ], null ], "and", [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 12, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 17, false ], null ], { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 2, [ 0, [ 0, 17, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [ "desc", [ [ 0, [ 0, 3, false ], null ] ] ], "limit": 1, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT t1.capital FROM highlow AS t2 JOIN state AS t1 ON t1.state_name = t2.state_name WHERE t2.highest_elevation = ( SELECT MAX ( highest_elevation ) FROM highlow );", "query_toks": [ "SELECT", "t1.capital", "FROM", "highlow", "AS", "t2", "JOIN", "state", "AS", "t1", "ON", "t1.state_name", "=", "t2.state_name", "WHERE", "t2.highest_elevation", "=", "(", "SELECT", "MAX", "(", "highest_elevation", ")", "FROM", "highlow", ")", ";" ], "query_toks_no_value": [ "select", "t1", ".", "capital", "from", "highlow", "as", "t2", "join", "state", "as", "t1", "on", "t1", ".", "state_name", "=", "t2", ".", "state_name", "where", "t2", ".", "highest_elevation", "=", "(", "select", "max", "(", "highest_elevation", ")", "from", "highlow", ")" ], "question": "qual é a capital do estado com o ponto mais alto", "question_toks": [ "qual", "é", "a", "capital", "do", "estado", "com", "o", "ponto", "mais", "alto" ], "sql": { "from": { "table_units": [ [ "table_unit", 3 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 14, false ], null ], { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 14, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT t1.capital FROM highlow AS t2 JOIN state AS t1 ON t1.state_name = t2.state_name WHERE t2.highest_elevation = ( SELECT MAX ( highest_elevation ) FROM highlow );", "query_toks": [ "SELECT", "t1.capital", "FROM", "highlow", "AS", "t2", "JOIN", "state", "AS", "t1", "ON", "t1.state_name", "=", "t2.state_name", "WHERE", "t2.highest_elevation", "=", "(", "SELECT", "MAX", "(", "highest_elevation", ")", "FROM", "highlow", ")", ";" ], "query_toks_no_value": [ "select", "t1", ".", "capital", "from", "highlow", "as", "t2", "join", "state", "as", "t1", "on", "t1", ".", "state_name", "=", "t2", ".", "state_name", "where", "t2", ".", "highest_elevation", "=", "(", "select", "max", "(", "highest_elevation", ")", "from", "highlow", ")" ], "question": "qual é a capital do estado com maior altitude", "question_toks": [ "qual", "é", "a", "capital", "do", "estado", "com", "maior", "altitude" ], "sql": { "from": { "table_units": [ [ "table_unit", 3 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 14, false ], null ], { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 14, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT t2.highest_point FROM highlow AS t2 JOIN state AS t1 ON t1.state_name = t2.state_name WHERE t1.area = ( SELECT MIN ( area ) FROM state );", "query_toks": [ "SELECT", "t2.highest_point", "FROM", "highlow", "AS", "t2", "JOIN", "state", "AS", "t1", "ON", "t1.state_name", "=", "t2.state_name", "WHERE", "t1.area", "=", "(", "SELECT", "MIN", "(", "area", ")", "FROM", "state", ")", ";" ], "query_toks_no_value": [ "select", "t2", ".", "highest_point", "from", "highlow", "as", "t2", "join", "state", "as", "t1", "on", "t1", ".", "state_name", "=", "t2", ".", "state_name", "where", "t1", ".", "area", "=", "(", "select", "min", "(", "area", ")", "from", "state", ")" ], "question": "qual é o ponto mais alto no menor estado", "question_toks": [ "qual", "é", "o", "ponto", "mais", "alto", "no", "menor", "estado" ], "sql": { "from": { "table_units": [ [ "table_unit", 3 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 16, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 2, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT COUNT ( t1.river_name ) FROM highlow AS t2 JOIN river AS t1 ON t1.traverse = t2.state_name WHERE t2.highest_elevation = ( SELECT MAX ( highest_elevation ) FROM highlow );", "query_toks": [ "SELECT", "COUNT", "(", "t1.river_name", ")", "FROM", "highlow", "AS", "t2", "JOIN", "river", "AS", "t1", "ON", "t1.traverse", "=", "t2.state_name", "WHERE", "t2.highest_elevation", "=", "(", "SELECT", "MAX", "(", "highest_elevation", ")", "FROM", "highlow", ")", ";" ], "query_toks_no_value": [ "select", "count", "(", "t1", ".", "river_name", ")", "from", "highlow", "as", "t2", "join", "river", "as", "t1", "on", "t1", ".", "traverse", "=", "t2", ".", "state_name", "where", "t2", ".", "highest_elevation", "=", "(", "select", "max", "(", "highest_elevation", ")", "from", "highlow", ")" ], "question": "quantos rios existem no estado com o ponto mais alto.", "question_toks": [ "quantos", "rios", "existem", "no", "estado", "com", "o", "ponto", "mais", "alto", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 3 ], [ "table_unit", 6 ] ], "conds": [ [ false, 2, [ 0, [ 0, 29, false ], null ], [ 0, 13, false ], null ] ] }, "select": [ false, [ [ 3, [ 0, [ 0, 26, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 14, false ], null ], { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 14, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT t2.highest_elevation FROM highlow AS t2 JOIN state AS t1 ON t1.state_name = t2.state_name WHERE t1.area = ( SELECT MAX ( area ) FROM state );", "query_toks": [ "SELECT", "t2.highest_elevation", "FROM", "highlow", "AS", "t2", "JOIN", "state", "AS", "t1", "ON", "t1.state_name", "=", "t2.state_name", "WHERE", "t1.area", "=", "(", "SELECT", "MAX", "(", "area", ")", "FROM", "state", ")", ";" ], "query_toks_no_value": [ "select", "t2", ".", "highest_elevation", "from", "highlow", "as", "t2", "join", "state", "as", "t1", "on", "t1", ".", "state_name", "=", "t2", ".", "state_name", "where", "t1", ".", "area", "=", "(", "select", "max", "(", "area", ")", "from", "state", ")" ], "question": "quão alto é o ponto mais alto no maior estado", "question_toks": [ "quão", "alto", "é", "o", "ponto", "mais", "alto", "no", "maior", "estado" ], "sql": { "from": { "table_units": [ [ "table_unit", 3 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 14, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "geo", "query": "SELECT t1.river_name FROM highlow AS t2 JOIN river AS t1 ON t1.traverse = t2.state_name WHERE t2.highest_elevation = ( SELECT MAX ( highest_elevation ) FROM highlow ) ORDER BY t1.length DESC LIMIT 1;", "query_toks": [ "SELECT", "t1.river_name", "FROM", "highlow", "AS", "t2", "JOIN", "river", "AS", "t1", "ON", "t1.traverse", "=", "t2.state_name", "WHERE", "t2.highest_elevation", "=", "(", "SELECT", "MAX", "(", "highest_elevation", ")", "FROM", "highlow", ")", "ORDER", "BY", "t1.length", "DESC", "LIMIT", "1", ";" ], "query_toks_no_value": [ "select", "t1", ".", "river_name", "from", "highlow", "as", "t2", "join", "river", "as", "t1", "on", "t1", ".", "traverse", "=", "t2", ".", "state_name", "where", "t2", ".", "highest_elevation", "=", "(", "select", "max", "(", "highest_elevation", ")", "from", "highlow", ")", "order", "by", "t1", ".", "length", "desc", "limit", "value" ], "question": "qual é o maior rio do estado com o ponto mais alto", "question_toks": [ "qual", "é", "o", "maior", "rio", "do", "estado", "com", "o", "ponto", "mais", "alto" ], "sql": { "from": { "table_units": [ [ "table_unit", 3 ], [ "table_unit", 6 ] ], "conds": [ [ false, 2, [ 0, [ 0, 29, false ], null ], [ 0, 13, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 26, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 14, false ], null ], { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 14, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [ "desc", [ [ 0, [ 0, 27, false ], null ] ] ], "limit": 1, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid FROM writes AS t3 JOIN author AS t2 ON t3.authorid = t2.authorid JOIN writes AS t4 ON t4.paperid = t3.paperid JOIN author AS t1 ON t4.authorid = t1.authorid WHERE t2.authorname = \"Peter Mertens\" AND t1.authorname = \"Dina Barbian\";", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", "FROM", "writes", "AS", "t3", "JOIN", "author", "AS", "t2", "ON", "t3.authorid", "=", "t2.authorid", "JOIN", "writes", "AS", "t4", "ON", "t4.paperid", "=", "t3.paperid", "JOIN", "author", "AS", "t1", "ON", "t4.authorid", "=", "t1.authorid", "WHERE", "t2.authorname", "=", "``", "Peter", "Mertens", "''", "AND", "t1.authorname", "=", "``", "Dina", "Barbian", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", "from", "writes", "as", "t3", "join", "author", "as", "t2", "on", "t3", ".", "authorid", "=", "t2", ".", "authorid", "join", "writes", "as", "t4", "on", "t4", ".", "paperid", "=", "t3", ".", "paperid", "join", "author", "as", "t1", "on", "t4", ".", "authorid", "=", "t1", ".", "authorid", "where", "t2", ".", "authorname", "=", "value", "and", "t1", ".", "authorname", "=", "value" ], "question": "artigos que são coautores de Peter Mertens e Dina Barbian", "question_toks": [ "artigos", "que", "são", "coautores", "de", "Peter", "Mertens", "e", "Dina", "Barbian" ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 24, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 24, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Peter Mertens\"", null ], "and", [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Dina Barbian\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid FROM writes AS t3 JOIN author AS t2 ON t3.authorid = t2.authorid JOIN writes AS t4 ON t4.paperid = t3.paperid JOIN author AS t1 ON t4.authorid = t1.authorid WHERE t2.authorname = \"Peter Mertens\" AND t1.authorname = \"Dina Barbian\";", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", "FROM", "writes", "AS", "t3", "JOIN", "author", "AS", "t2", "ON", "t3.authorid", "=", "t2.authorid", "JOIN", "writes", "AS", "t4", "ON", "t4.paperid", "=", "t3.paperid", "JOIN", "author", "AS", "t1", "ON", "t4.authorid", "=", "t1.authorid", "WHERE", "t2.authorname", "=", "``", "Peter", "Mertens", "''", "AND", "t1.authorname", "=", "``", "Dina", "Barbian", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", "from", "writes", "as", "t3", "join", "author", "as", "t2", "on", "t3", ".", "authorid", "=", "t2", ".", "authorid", "join", "writes", "as", "t4", "on", "t4", ".", "paperid", "=", "t3", ".", "paperid", "join", "author", "as", "t1", "on", "t4", ".", "authorid", "=", "t1", ".", "authorid", "where", "t2", ".", "authorname", "=", "value", "and", "t1", ".", "authorname", "=", "value" ], "question": "artigos escritos por Peter Mertens e Dina Barbian", "question_toks": [ "artigos", "escritos", "por", "Peter", "Mertens", "e", "Dina", "Barbian" ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 24, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 24, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Peter Mertens\"", null ], "and", [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Dina Barbian\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid FROM writes AS t3 JOIN author AS t2 ON t3.authorid = t2.authorid JOIN writes AS t4 ON t4.paperid = t3.paperid JOIN author AS t1 ON t4.authorid = t1.authorid WHERE t2.authorname = \"Peter Mertens\" AND t1.authorname = \"Dina Barbian\";", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", "FROM", "writes", "AS", "t3", "JOIN", "author", "AS", "t2", "ON", "t3.authorid", "=", "t2.authorid", "JOIN", "writes", "AS", "t4", "ON", "t4.paperid", "=", "t3.paperid", "JOIN", "author", "AS", "t1", "ON", "t4.authorid", "=", "t1.authorid", "WHERE", "t2.authorname", "=", "``", "Peter", "Mertens", "''", "AND", "t1.authorname", "=", "``", "Dina", "Barbian", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", "from", "writes", "as", "t3", "join", "author", "as", "t2", "on", "t3", ".", "authorid", "=", "t2", ".", "authorid", "join", "writes", "as", "t4", "on", "t4", ".", "paperid", "=", "t3", ".", "paperid", "join", "author", "as", "t1", "on", "t4", ".", "authorid", "=", "t1", ".", "authorid", "where", "t2", ".", "authorname", "=", "value", "and", "t1", ".", "authorname", "=", "value" ], "question": "quais são os artigos que têm Peter Mertens e Dina Barbian como co-autores", "question_toks": [ "quais", "são", "os", "artigos", "que", "têm", "Peter", "Mertens", "e", "Dina", "Barbian", "como", "co-autores" ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 24, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 24, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Peter Mertens\"", null ], "and", [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Dina Barbian\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid FROM writes AS t3 JOIN author AS t2 ON t3.authorid = t2.authorid JOIN writes AS t4 ON t4.paperid = t3.paperid JOIN author AS t1 ON t4.authorid = t1.authorid WHERE t2.authorname = \"Peter Mertens\" AND t1.authorname = \"Dina Barbian\";", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", "FROM", "writes", "AS", "t3", "JOIN", "author", "AS", "t2", "ON", "t3.authorid", "=", "t2.authorid", "JOIN", "writes", "AS", "t4", "ON", "t4.paperid", "=", "t3.paperid", "JOIN", "author", "AS", "t1", "ON", "t4.authorid", "=", "t1.authorid", "WHERE", "t2.authorname", "=", "``", "Peter", "Mertens", "''", "AND", "t1.authorname", "=", "``", "Dina", "Barbian", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", "from", "writes", "as", "t3", "join", "author", "as", "t2", "on", "t3", ".", "authorid", "=", "t2", ".", "authorid", "join", "writes", "as", "t4", "on", "t4", ".", "paperid", "=", "t3", ".", "paperid", "join", "author", "as", "t1", "on", "t4", ".", "authorid", "=", "t1", ".", "authorid", "where", "t2", ".", "authorname", "=", "value", "and", "t1", ".", "authorname", "=", "value" ], "question": "Que papéis Peter Mertens e Dina Barbian escreveram?", "question_toks": [ "Que", "papéis", "Peter", "Mertens", "e", "Dina", "Barbian", "escreveram", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 24, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 24, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Peter Mertens\"", null ], "and", [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Dina Barbian\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid FROM writes AS t3 JOIN author AS t2 ON t3.authorid = t2.authorid JOIN writes AS t4 ON t4.paperid = t3.paperid JOIN author AS t1 ON t4.authorid = t1.authorid WHERE t2.authorname = \"Peter Mertens\" AND t1.authorname = \"Dina Barbian\";", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", "FROM", "writes", "AS", "t3", "JOIN", "author", "AS", "t2", "ON", "t3.authorid", "=", "t2.authorid", "JOIN", "writes", "AS", "t4", "ON", "t4.paperid", "=", "t3.paperid", "JOIN", "author", "AS", "t1", "ON", "t4.authorid", "=", "t1.authorid", "WHERE", "t2.authorname", "=", "``", "Peter", "Mertens", "''", "AND", "t1.authorname", "=", "``", "Dina", "Barbian", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", "from", "writes", "as", "t3", "join", "author", "as", "t2", "on", "t3", ".", "authorid", "=", "t2", ".", "authorid", "join", "writes", "as", "t4", "on", "t4", ".", "paperid", "=", "t3", ".", "paperid", "join", "author", "as", "t1", "on", "t4", ".", "authorid", "=", "t1", ".", "authorid", "where", "t2", ".", "authorname", "=", "value", "and", "t1", ".", "authorname", "=", "value" ], "question": "que papel Peter Mertens e Dina Barbian escreveram juntos?", "question_toks": [ "que", "papel", "Peter", "Mertens", "e", "Dina", "Barbian", "escreveram", "juntos", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 24, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 24, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Peter Mertens\"", null ], "and", [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Dina Barbian\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid FROM writes AS t3 JOIN author AS t2 ON t3.authorid = t2.authorid JOIN writes AS t4 ON t4.paperid = t3.paperid JOIN author AS t1 ON t4.authorid = t1.authorid WHERE t2.authorname = \"Peter Mertens\" AND t1.authorname = \"Dina Barbian\";", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", "FROM", "writes", "AS", "t3", "JOIN", "author", "AS", "t2", "ON", "t3.authorid", "=", "t2.authorid", "JOIN", "writes", "AS", "t4", "ON", "t4.paperid", "=", "t3.paperid", "JOIN", "author", "AS", "t1", "ON", "t4.authorid", "=", "t1.authorid", "WHERE", "t2.authorname", "=", "``", "Peter", "Mertens", "''", "AND", "t1.authorname", "=", "``", "Dina", "Barbian", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", "from", "writes", "as", "t3", "join", "author", "as", "t2", "on", "t3", ".", "authorid", "=", "t2", ".", "authorid", "join", "writes", "as", "t4", "on", "t4", ".", "paperid", "=", "t3", ".", "paperid", "join", "author", "as", "t1", "on", "t4", ".", "authorid", "=", "t1", ".", "authorid", "where", "t2", ".", "authorname", "=", "value", "and", "t1", ".", "authorname", "=", "value" ], "question": "Peter Mertens e Dina Barbian escreveram um artigo juntos?", "question_toks": [ "Peter", "Mertens", "e", "Dina", "Barbian", "escreveram", "um", "artigo", "juntos", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 24, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 24, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Peter Mertens\"", null ], "and", [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Dina Barbian\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid FROM writes AS t3 JOIN author AS t2 ON t3.authorid = t2.authorid JOIN writes AS t4 ON t4.paperid = t3.paperid JOIN author AS t1 ON t4.authorid = t1.authorid WHERE t2.authorname = \"Peter Mertens\" AND t1.authorname = \"Dina Barbian\";", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", "FROM", "writes", "AS", "t3", "JOIN", "author", "AS", "t2", "ON", "t3.authorid", "=", "t2.authorid", "JOIN", "writes", "AS", "t4", "ON", "t4.paperid", "=", "t3.paperid", "JOIN", "author", "AS", "t1", "ON", "t4.authorid", "=", "t1.authorid", "WHERE", "t2.authorname", "=", "``", "Peter", "Mertens", "''", "AND", "t1.authorname", "=", "``", "Dina", "Barbian", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", "from", "writes", "as", "t3", "join", "author", "as", "t2", "on", "t3", ".", "authorid", "=", "t2", ".", "authorid", "join", "writes", "as", "t4", "on", "t4", ".", "paperid", "=", "t3", ".", "paperid", "join", "author", "as", "t1", "on", "t4", ".", "authorid", "=", "t1", ".", "authorid", "where", "t2", ".", "authorname", "=", "value", "and", "t1", ".", "authorname", "=", "value" ], "question": "Artigos de Peter Mertens e Dina Barbian", "question_toks": [ "Artigos", "de", "Peter", "Mertens", "e", "Dina", "Barbian" ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 24, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 24, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Peter Mertens\"", null ], "and", [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Dina Barbian\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid FROM writes AS t3 JOIN author AS t2 ON t3.authorid = t2.authorid JOIN writes AS t4 ON t4.paperid = t3.paperid JOIN author AS t1 ON t4.authorid = t1.authorid WHERE t2.authorname = \"Peter Mertens\" AND t1.authorname = \"Dina Barbian\";", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", "FROM", "writes", "AS", "t3", "JOIN", "author", "AS", "t2", "ON", "t3.authorid", "=", "t2.authorid", "JOIN", "writes", "AS", "t4", "ON", "t4.paperid", "=", "t3.paperid", "JOIN", "author", "AS", "t1", "ON", "t4.authorid", "=", "t1.authorid", "WHERE", "t2.authorname", "=", "``", "Peter", "Mertens", "''", "AND", "t1.authorname", "=", "``", "Dina", "Barbian", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", "from", "writes", "as", "t3", "join", "author", "as", "t2", "on", "t3", ".", "authorid", "=", "t2", ".", "authorid", "join", "writes", "as", "t4", "on", "t4", ".", "paperid", "=", "t3", ".", "paperid", "join", "author", "as", "t1", "on", "t4", ".", "authorid", "=", "t1", ".", "authorid", "where", "t2", ".", "authorname", "=", "value", "and", "t1", ".", "authorname", "=", "value" ], "question": "artigos dos autores Peter Mertens e Dina Barbian", "question_toks": [ "artigos", "dos", "autores", "Peter", "Mertens", "e", "Dina", "Barbian" ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 24, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 24, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Peter Mertens\"", null ], "and", [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Dina Barbian\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid FROM writes AS t3 JOIN author AS t2 ON t3.authorid = t2.authorid JOIN writes AS t4 ON t4.paperid = t3.paperid JOIN author AS t1 ON t4.authorid = t1.authorid WHERE t2.authorname = \"Peter Mertens\" AND t1.authorname = \"Dina Barbian\";", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", "FROM", "writes", "AS", "t3", "JOIN", "author", "AS", "t2", "ON", "t3.authorid", "=", "t2.authorid", "JOIN", "writes", "AS", "t4", "ON", "t4.paperid", "=", "t3.paperid", "JOIN", "author", "AS", "t1", "ON", "t4.authorid", "=", "t1.authorid", "WHERE", "t2.authorname", "=", "``", "Peter", "Mertens", "''", "AND", "t1.authorname", "=", "``", "Dina", "Barbian", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", "from", "writes", "as", "t3", "join", "author", "as", "t2", "on", "t3", ".", "authorid", "=", "t2", ".", "authorid", "join", "writes", "as", "t4", "on", "t4", ".", "paperid", "=", "t3", ".", "paperid", "join", "author", "as", "t1", "on", "t4", ".", "authorid", "=", "t1", ".", "authorid", "where", "t2", ".", "authorname", "=", "value", "and", "t1", ".", "authorname", "=", "value" ], "question": "Quais artigos foram escritos pelos autores Peter Mertens e Dina Barbian", "question_toks": [ "Quais", "artigos", "foram", "escritos", "pelos", "autores", "Peter", "Mertens", "e", "Dina", "Barbian" ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 24, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 24, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Peter Mertens\"", null ], "and", [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Dina Barbian\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid FROM writes AS t3 JOIN author AS t2 ON t3.authorid = t2.authorid JOIN writes AS t4 ON t4.paperid = t3.paperid JOIN author AS t1 ON t4.authorid = t1.authorid WHERE t2.authorname = \"Peter Mertens\" AND t1.authorname = \"Dina Barbian\";", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", "FROM", "writes", "AS", "t3", "JOIN", "author", "AS", "t2", "ON", "t3.authorid", "=", "t2.authorid", "JOIN", "writes", "AS", "t4", "ON", "t4.paperid", "=", "t3.paperid", "JOIN", "author", "AS", "t1", "ON", "t4.authorid", "=", "t1.authorid", "WHERE", "t2.authorname", "=", "``", "Peter", "Mertens", "''", "AND", "t1.authorname", "=", "``", "Dina", "Barbian", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", "from", "writes", "as", "t3", "join", "author", "as", "t2", "on", "t3", ".", "authorid", "=", "t2", ".", "authorid", "join", "writes", "as", "t4", "on", "t4", ".", "paperid", "=", "t3", ".", "paperid", "join", "author", "as", "t1", "on", "t4", ".", "authorid", "=", "t1", ".", "authorid", "where", "t2", ".", "authorname", "=", "value", "and", "t1", ".", "authorname", "=", "value" ], "question": "artigos de Peter Mertens e Dina Barbian", "question_toks": [ "artigos", "de", "Peter", "Mertens", "e", "Dina", "Barbian" ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 24, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 24, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Peter Mertens\"", null ], "and", [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Dina Barbian\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid FROM writes AS t3 JOIN author AS t2 ON t3.authorid = t2.authorid JOIN writes AS t4 ON t4.paperid = t3.paperid JOIN author AS t1 ON t4.authorid = t1.authorid WHERE t2.authorname = \"Peter Mertens\" AND t1.authorname = \"Dina Barbian\";", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", "FROM", "writes", "AS", "t3", "JOIN", "author", "AS", "t2", "ON", "t3.authorid", "=", "t2.authorid", "JOIN", "writes", "AS", "t4", "ON", "t4.paperid", "=", "t3.paperid", "JOIN", "author", "AS", "t1", "ON", "t4.authorid", "=", "t1.authorid", "WHERE", "t2.authorname", "=", "``", "Peter", "Mertens", "''", "AND", "t1.authorname", "=", "``", "Dina", "Barbian", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", "from", "writes", "as", "t3", "join", "author", "as", "t2", "on", "t3", ".", "authorid", "=", "t2", ".", "authorid", "join", "writes", "as", "t4", "on", "t4", ".", "paperid", "=", "t3", ".", "paperid", "join", "author", "as", "t1", "on", "t4", ".", "authorid", "=", "t1", ".", "authorid", "where", "t2", ".", "authorname", "=", "value", "and", "t1", ".", "authorname", "=", "value" ], "question": "artigos escritos pelos autores Peter Mertens e Dina Barbian", "question_toks": [ "artigos", "escritos", "pelos", "autores", "Peter", "Mertens", "e", "Dina", "Barbian" ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 24, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 24, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Peter Mertens\"", null ], "and", [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Dina Barbian\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid FROM writes AS t3 JOIN author AS t2 ON t3.authorid = t2.authorid JOIN writes AS t4 ON t4.paperid = t3.paperid JOIN author AS t1 ON t4.authorid = t1.authorid WHERE t2.authorname = \"Peter Mertens\" AND t1.authorname = \"Dina Barbian\";", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", "FROM", "writes", "AS", "t3", "JOIN", "author", "AS", "t2", "ON", "t3.authorid", "=", "t2.authorid", "JOIN", "writes", "AS", "t4", "ON", "t4.paperid", "=", "t3.paperid", "JOIN", "author", "AS", "t1", "ON", "t4.authorid", "=", "t1.authorid", "WHERE", "t2.authorname", "=", "``", "Peter", "Mertens", "''", "AND", "t1.authorname", "=", "``", "Dina", "Barbian", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", "from", "writes", "as", "t3", "join", "author", "as", "t2", "on", "t3", ".", "authorid", "=", "t2", ".", "authorid", "join", "writes", "as", "t4", "on", "t4", ".", "paperid", "=", "t3", ".", "paperid", "join", "author", "as", "t1", "on", "t4", ".", "authorid", "=", "t1", ".", "authorid", "where", "t2", ".", "authorname", "=", "value", "and", "t1", ".", "authorname", "=", "value" ], "question": "Quando Peter Mertens e Dina Barbian colaboraram?", "question_toks": [ "Quando", "Peter", "Mertens", "e", "Dina", "Barbian", "colaboraram", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 24, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 24, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Peter Mertens\"", null ], "and", [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Dina Barbian\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid FROM writes AS t3 JOIN author AS t2 ON t3.authorid = t2.authorid JOIN writes AS t4 ON t4.paperid = t3.paperid JOIN author AS t1 ON t4.authorid = t1.authorid WHERE t2.authorname = \"Peter Mertens\" AND t1.authorname = \"Dina Barbian\";", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", "FROM", "writes", "AS", "t3", "JOIN", "author", "AS", "t2", "ON", "t3.authorid", "=", "t2.authorid", "JOIN", "writes", "AS", "t4", "ON", "t4.paperid", "=", "t3.paperid", "JOIN", "author", "AS", "t1", "ON", "t4.authorid", "=", "t1.authorid", "WHERE", "t2.authorname", "=", "``", "Peter", "Mertens", "''", "AND", "t1.authorname", "=", "``", "Dina", "Barbian", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", "from", "writes", "as", "t3", "join", "author", "as", "t2", "on", "t3", ".", "authorid", "=", "t2", ".", "authorid", "join", "writes", "as", "t4", "on", "t4", ".", "paperid", "=", "t3", ".", "paperid", "join", "author", "as", "t1", "on", "t4", ".", "authorid", "=", "t1", ".", "authorid", "where", "t2", ".", "authorname", "=", "value", "and", "t1", ".", "authorname", "=", "value" ], "question": "quais são as colaborações de Peter Mertens e Dina Barbian?", "question_toks": [ "quais", "são", "as", "colaborações", "de", "Peter", "Mertens", "e", "Dina", "Barbian", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 24, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 24, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Peter Mertens\"", null ], "and", [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Dina Barbian\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid FROM writes AS t3 JOIN author AS t2 ON t3.authorid = t2.authorid JOIN writes AS t4 ON t4.paperid = t3.paperid JOIN author AS t1 ON t4.authorid = t1.authorid WHERE t2.authorname = \"Peter Mertens\" AND t1.authorname = \"Dina Barbian\";", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", "FROM", "writes", "AS", "t3", "JOIN", "author", "AS", "t2", "ON", "t3.authorid", "=", "t2.authorid", "JOIN", "writes", "AS", "t4", "ON", "t4.paperid", "=", "t3.paperid", "JOIN", "author", "AS", "t1", "ON", "t4.authorid", "=", "t1.authorid", "WHERE", "t2.authorname", "=", "``", "Peter", "Mertens", "''", "AND", "t1.authorname", "=", "``", "Dina", "Barbian", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", "from", "writes", "as", "t3", "join", "author", "as", "t2", "on", "t3", ".", "authorid", "=", "t2", ".", "authorid", "join", "writes", "as", "t4", "on", "t4", ".", "paperid", "=", "t3", ".", "paperid", "join", "author", "as", "t1", "on", "t4", ".", "authorid", "=", "t1", ".", "authorid", "where", "t2", ".", "authorname", "=", "value", "and", "t1", ".", "authorname", "=", "value" ], "question": "Peter Mertens e Dina Barbian escreveram um artigo juntos?", "question_toks": [ "Peter", "Mertens", "e", "Dina", "Barbian", "escreveram", "um", "artigo", "juntos", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 24, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 24, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Peter Mertens\"", null ], "and", [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Dina Barbian\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid FROM writes AS t3 JOIN author AS t2 ON t3.authorid = t2.authorid JOIN writes AS t4 ON t4.paperid = t3.paperid JOIN author AS t1 ON t4.authorid = t1.authorid WHERE t2.authorname = \"Peter Mertens\" AND t1.authorname = \"Dina Barbian\";", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", "FROM", "writes", "AS", "t3", "JOIN", "author", "AS", "t2", "ON", "t3.authorid", "=", "t2.authorid", "JOIN", "writes", "AS", "t4", "ON", "t4.paperid", "=", "t3.paperid", "JOIN", "author", "AS", "t1", "ON", "t4.authorid", "=", "t1.authorid", "WHERE", "t2.authorname", "=", "``", "Peter", "Mertens", "''", "AND", "t1.authorname", "=", "``", "Dina", "Barbian", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", "from", "writes", "as", "t3", "join", "author", "as", "t2", "on", "t3", ".", "authorid", "=", "t2", ".", "authorid", "join", "writes", "as", "t4", "on", "t4", ".", "paperid", "=", "t3", ".", "paperid", "join", "author", "as", "t1", "on", "t4", ".", "authorid", "=", "t1", ".", "authorid", "where", "t2", ".", "authorname", "=", "value", "and", "t1", ".", "authorname", "=", "value" ], "question": "Peter Mertens e Dina Barbian como co-autores", "question_toks": [ "Peter", "Mertens", "e", "Dina", "Barbian", "como", "co-autores" ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 24, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 24, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Peter Mertens\"", null ], "and", [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Dina Barbian\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid FROM writes AS t3 JOIN author AS t2 ON t3.authorid = t2.authorid JOIN writes AS t4 ON t4.paperid = t3.paperid JOIN author AS t1 ON t4.authorid = t1.authorid WHERE t2.authorname = \"Peter Mertens\" AND t1.authorname = \"Dina Barbian\";", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", "FROM", "writes", "AS", "t3", "JOIN", "author", "AS", "t2", "ON", "t3.authorid", "=", "t2.authorid", "JOIN", "writes", "AS", "t4", "ON", "t4.paperid", "=", "t3.paperid", "JOIN", "author", "AS", "t1", "ON", "t4.authorid", "=", "t1.authorid", "WHERE", "t2.authorname", "=", "``", "Peter", "Mertens", "''", "AND", "t1.authorname", "=", "``", "Dina", "Barbian", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", "from", "writes", "as", "t3", "join", "author", "as", "t2", "on", "t3", ".", "authorid", "=", "t2", ".", "authorid", "join", "writes", "as", "t4", "on", "t4", ".", "paperid", "=", "t3", ".", "paperid", "join", "author", "as", "t1", "on", "t4", ".", "authorid", "=", "t1", ".", "authorid", "where", "t2", ".", "authorname", "=", "value", "and", "t1", ".", "authorname", "=", "value" ], "question": "Peter Mertens já colaborou com Dina Barbian?", "question_toks": [ "Peter", "Mertens", "já", "colaborou", "com", "Dina", "Barbian", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 24, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 24, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Peter Mertens\"", null ], "and", [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Dina Barbian\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid FROM writes AS t3 JOIN author AS t2 ON t3.authorid = t2.authorid JOIN writes AS t4 ON t4.paperid = t3.paperid JOIN author AS t1 ON t4.authorid = t1.authorid WHERE t2.authorname = \"Peter Mertens\" AND t1.authorname = \"Dina Barbian\";", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", "FROM", "writes", "AS", "t3", "JOIN", "author", "AS", "t2", "ON", "t3.authorid", "=", "t2.authorid", "JOIN", "writes", "AS", "t4", "ON", "t4.paperid", "=", "t3.paperid", "JOIN", "author", "AS", "t1", "ON", "t4.authorid", "=", "t1.authorid", "WHERE", "t2.authorname", "=", "``", "Peter", "Mertens", "''", "AND", "t1.authorname", "=", "``", "Dina", "Barbian", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", "from", "writes", "as", "t3", "join", "author", "as", "t2", "on", "t3", ".", "authorid", "=", "t2", ".", "authorid", "join", "writes", "as", "t4", "on", "t4", ".", "paperid", "=", "t3", ".", "paperid", "join", "author", "as", "t1", "on", "t4", ".", "authorid", "=", "t1", ".", "authorid", "where", "t2", ".", "authorname", "=", "value", "and", "t1", ".", "authorname", "=", "value" ], "question": "Quais artigos têm Peter Mertens e Dina Barbian como co-autores?", "question_toks": [ "Quais", "artigos", "têm", "Peter", "Mertens", "e", "Dina", "Barbian", "como", "co-autores", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 24, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 24, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Peter Mertens\"", null ], "and", [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Dina Barbian\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid FROM writes AS t3 JOIN author AS t2 ON t3.authorid = t2.authorid JOIN writes AS t4 ON t4.paperid = t3.paperid JOIN author AS t1 ON t4.authorid = t1.authorid WHERE t2.authorname = \"Peter Mertens\" AND t1.authorname = \"Dina Barbian\";", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", "FROM", "writes", "AS", "t3", "JOIN", "author", "AS", "t2", "ON", "t3.authorid", "=", "t2.authorid", "JOIN", "writes", "AS", "t4", "ON", "t4.paperid", "=", "t3.paperid", "JOIN", "author", "AS", "t1", "ON", "t4.authorid", "=", "t1.authorid", "WHERE", "t2.authorname", "=", "``", "Peter", "Mertens", "''", "AND", "t1.authorname", "=", "``", "Dina", "Barbian", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", "from", "writes", "as", "t3", "join", "author", "as", "t2", "on", "t3", ".", "authorid", "=", "t2", ".", "authorid", "join", "writes", "as", "t4", "on", "t4", ".", "paperid", "=", "t3", ".", "paperid", "join", "author", "as", "t1", "on", "t4", ".", "authorid", "=", "t1", ".", "authorid", "where", "t2", ".", "authorname", "=", "value", "and", "t1", ".", "authorname", "=", "value" ], "question": "artigos com co-autoria de Peter Mertens e Dina Barbian", "question_toks": [ "artigos", "com", "co-autoria", "de", "Peter", "Mertens", "e", "Dina", "Barbian" ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 24, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 24, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Peter Mertens\"", null ], "and", [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Dina Barbian\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid FROM writes AS t3 JOIN author AS t2 ON t3.authorid = t2.authorid JOIN writes AS t4 ON t4.paperid = t3.paperid JOIN author AS t1 ON t4.authorid = t1.authorid WHERE t2.authorname = \"Peter Mertens\" AND t1.authorname = \"Dina Barbian\";", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", "FROM", "writes", "AS", "t3", "JOIN", "author", "AS", "t2", "ON", "t3.authorid", "=", "t2.authorid", "JOIN", "writes", "AS", "t4", "ON", "t4.paperid", "=", "t3.paperid", "JOIN", "author", "AS", "t1", "ON", "t4.authorid", "=", "t1.authorid", "WHERE", "t2.authorname", "=", "``", "Peter", "Mertens", "''", "AND", "t1.authorname", "=", "``", "Dina", "Barbian", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", "from", "writes", "as", "t3", "join", "author", "as", "t2", "on", "t3", ".", "authorid", "=", "t2", ".", "authorid", "join", "writes", "as", "t4", "on", "t4", ".", "paperid", "=", "t3", ".", "paperid", "join", "author", "as", "t1", "on", "t4", ".", "authorid", "=", "t1", ".", "authorid", "where", "t2", ".", "authorname", "=", "value", "and", "t1", ".", "authorname", "=", "value" ], "question": "Que artigos foram escritos por Peter Mertens e Dina Barbian?", "question_toks": [ "Que", "artigos", "foram", "escritos", "por", "Peter", "Mertens", "e", "Dina", "Barbian", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 24, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 24, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Peter Mertens\"", null ], "and", [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Dina Barbian\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid FROM writes AS t3 JOIN author AS t2 ON t3.authorid = t2.authorid JOIN writes AS t4 ON t4.paperid = t3.paperid JOIN author AS t1 ON t4.authorid = t1.authorid WHERE t2.authorname = \"Peter Mertens\" AND t1.authorname = \"Dina Barbian\";", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", "FROM", "writes", "AS", "t3", "JOIN", "author", "AS", "t2", "ON", "t3.authorid", "=", "t2.authorid", "JOIN", "writes", "AS", "t4", "ON", "t4.paperid", "=", "t3.paperid", "JOIN", "author", "AS", "t1", "ON", "t4.authorid", "=", "t1.authorid", "WHERE", "t2.authorname", "=", "``", "Peter", "Mertens", "''", "AND", "t1.authorname", "=", "``", "Dina", "Barbian", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", "from", "writes", "as", "t3", "join", "author", "as", "t2", "on", "t3", ".", "authorid", "=", "t2", ".", "authorid", "join", "writes", "as", "t4", "on", "t4", ".", "paperid", "=", "t3", ".", "paperid", "join", "author", "as", "t1", "on", "t4", ".", "authorid", "=", "t1", ".", "authorid", "where", "t2", ".", "authorname", "=", "value", "and", "t1", ".", "authorname", "=", "value" ], "question": "Que artigos foram escritos por Peter Mertens e Dina Barbian?", "question_toks": [ "Que", "artigos", "foram", "escritos", "por", "Peter", "Mertens", "e", "Dina", "Barbian", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 24, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 24, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Peter Mertens\"", null ], "and", [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Dina Barbian\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid FROM writes AS t3 JOIN author AS t2 ON t3.authorid = t2.authorid JOIN writes AS t4 ON t4.paperid = t3.paperid JOIN author AS t1 ON t4.authorid = t1.authorid WHERE t2.authorname = \"Peter Mertens\" AND t1.authorname = \"Dina Barbian\";", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", "FROM", "writes", "AS", "t3", "JOIN", "author", "AS", "t2", "ON", "t3.authorid", "=", "t2.authorid", "JOIN", "writes", "AS", "t4", "ON", "t4.paperid", "=", "t3.paperid", "JOIN", "author", "AS", "t1", "ON", "t4.authorid", "=", "t1.authorid", "WHERE", "t2.authorname", "=", "``", "Peter", "Mertens", "''", "AND", "t1.authorname", "=", "``", "Dina", "Barbian", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", "from", "writes", "as", "t3", "join", "author", "as", "t2", "on", "t3", ".", "authorid", "=", "t2", ".", "authorid", "join", "writes", "as", "t4", "on", "t4", ".", "paperid", "=", "t3", ".", "paperid", "join", "author", "as", "t1", "on", "t4", ".", "authorid", "=", "t1", ".", "authorid", "where", "t2", ".", "authorname", "=", "value", "and", "t1", ".", "authorname", "=", "value" ], "question": "Que artigos foram escritos por Peter Mertens e Dina Barbian.", "question_toks": [ "Que", "artigos", "foram", "escritos", "por", "Peter", "Mertens", "e", "Dina", "Barbian", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 24, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 24, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Peter Mertens\"", null ], "and", [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Dina Barbian\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT COUNT ( t4.paperid ) , t3.authorid FROM paperkeyphrase AS t1 JOIN keyphrase AS t2 ON t1.keyphraseid = t2.keyphraseid JOIN paper AS t4 ON t4.paperid = t1.paperid JOIN writes AS t3 ON t3.paperid = t4.paperid WHERE t2.keyphrasename = \"syntactic parsing\" GROUP BY t3.authorid ORDER BY COUNT ( t4.paperid ) DESC;", "query_toks": [ "SELECT", "DISTINCT", "COUNT", "(", "t4.paperid", ")", ",", "t3.authorid", "FROM", "paperkeyphrase", "AS", "t1", "JOIN", "keyphrase", "AS", "t2", "ON", "t1.keyphraseid", "=", "t2.keyphraseid", "JOIN", "paper", "AS", "t4", "ON", "t4.paperid", "=", "t1.paperid", "JOIN", "writes", "AS", "t3", "ON", "t3.paperid", "=", "t4.paperid", "WHERE", "t2.keyphrasename", "=", "``", "syntactic", "parsing", "''", "GROUP", "BY", "t3.authorid", "ORDER", "BY", "COUNT", "(", "t4.paperid", ")", "DESC", ";" ], "query_toks_no_value": [ "select", "distinct", "count", "(", "t4", ".", "paperid", ")", ",", "t3", ".", "authorid", "from", "paperkeyphrase", "as", "t1", "join", "keyphrase", "as", "t2", "on", "t1", ".", "keyphraseid", "=", "t2", ".", "keyphraseid", "join", "paper", "as", "t4", "on", "t4", ".", "paperid", "=", "t1", ".", "paperid", "join", "writes", "as", "t3", "on", "t3", ".", "paperid", "=", "t4", ".", "paperid", "where", "t2", ".", "keyphrasename", "=", "value", "group", "by", "t3", ".", "authorid", "order", "by", "count", "(", "t4", ".", "paperid", ")", "desc" ], "question": "quem escreveu os artigos de análise sintática mais?", "question_toks": [ "quem", "escreveu", "os", "artigos", "de", "análise", "sintática", "mais", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ], [ "table_unit", 9 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ] ] }, "select": [ true, [ [ 3, [ 0, [ 0, 11, false ], null ] ], [ 0, [ 0, [ 0, 25, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"syntactic parsing\"", null ] ], "groupBy": [ [ 0, 25, false ] ], "having": [], "orderBy": [ "desc", [ [ 0, [ 3, 11, false ], null ] ] ], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT COUNT ( t4.paperid ) , t3.authorid FROM paperkeyphrase AS t1 JOIN keyphrase AS t2 ON t1.keyphraseid = t2.keyphraseid JOIN paper AS t4 ON t4.paperid = t1.paperid JOIN writes AS t3 ON t3.paperid = t4.paperid WHERE t2.keyphrasename = \"syntactic parsing\" GROUP BY t3.authorid ORDER BY COUNT ( t4.paperid ) DESC;", "query_toks": [ "SELECT", "DISTINCT", "COUNT", "(", "t4.paperid", ")", ",", "t3.authorid", "FROM", "paperkeyphrase", "AS", "t1", "JOIN", "keyphrase", "AS", "t2", "ON", "t1.keyphraseid", "=", "t2.keyphraseid", "JOIN", "paper", "AS", "t4", "ON", "t4.paperid", "=", "t1.paperid", "JOIN", "writes", "AS", "t3", "ON", "t3.paperid", "=", "t4.paperid", "WHERE", "t2.keyphrasename", "=", "``", "syntactic", "parsing", "''", "GROUP", "BY", "t3.authorid", "ORDER", "BY", "COUNT", "(", "t4.paperid", ")", "DESC", ";" ], "query_toks_no_value": [ "select", "distinct", "count", "(", "t4", ".", "paperid", ")", ",", "t3", ".", "authorid", "from", "paperkeyphrase", "as", "t1", "join", "keyphrase", "as", "t2", "on", "t1", ".", "keyphraseid", "=", "t2", ".", "keyphraseid", "join", "paper", "as", "t4", "on", "t4", ".", "paperid", "=", "t1", ".", "paperid", "join", "writes", "as", "t3", "on", "t3", ".", "paperid", "=", "t4", ".", "paperid", "where", "t2", ".", "keyphrasename", "=", "value", "group", "by", "t3", ".", "authorid", "order", "by", "count", "(", "t4", ".", "paperid", ")", "desc" ], "question": "quem é o autor mais publicado em análise sintática?", "question_toks": [ "quem", "é", "o", "autor", "mais", "publicado", "em", "análise", "sintática", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ], [ "table_unit", 9 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ] ] }, "select": [ true, [ [ 3, [ 0, [ 0, 11, false ], null ] ], [ 0, [ 0, [ 0, 25, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"syntactic parsing\"", null ] ], "groupBy": [ [ 0, 25, false ] ], "having": [], "orderBy": [ "desc", [ [ 0, [ 3, 11, false ], null ] ] ], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT COUNT ( t4.paperid ) , t3.authorid FROM paperkeyphrase AS t1 JOIN keyphrase AS t2 ON t1.keyphraseid = t2.keyphraseid JOIN paper AS t4 ON t4.paperid = t1.paperid JOIN writes AS t3 ON t3.paperid = t4.paperid WHERE t2.keyphrasename = \"syntactic parsing\" GROUP BY t3.authorid ORDER BY COUNT ( t4.paperid ) DESC;", "query_toks": [ "SELECT", "DISTINCT", "COUNT", "(", "t4.paperid", ")", ",", "t3.authorid", "FROM", "paperkeyphrase", "AS", "t1", "JOIN", "keyphrase", "AS", "t2", "ON", "t1.keyphraseid", "=", "t2.keyphraseid", "JOIN", "paper", "AS", "t4", "ON", "t4.paperid", "=", "t1.paperid", "JOIN", "writes", "AS", "t3", "ON", "t3.paperid", "=", "t4.paperid", "WHERE", "t2.keyphrasename", "=", "``", "syntactic", "parsing", "''", "GROUP", "BY", "t3.authorid", "ORDER", "BY", "COUNT", "(", "t4.paperid", ")", "DESC", ";" ], "query_toks_no_value": [ "select", "distinct", "count", "(", "t4", ".", "paperid", ")", ",", "t3", ".", "authorid", "from", "paperkeyphrase", "as", "t1", "join", "keyphrase", "as", "t2", "on", "t1", ".", "keyphraseid", "=", "t2", ".", "keyphraseid", "join", "paper", "as", "t4", "on", "t4", ".", "paperid", "=", "t1", ".", "paperid", "join", "writes", "as", "t3", "on", "t3", ".", "paperid", "=", "t4", ".", "paperid", "where", "t2", ".", "keyphrasename", "=", "value", "group", "by", "t3", ".", "authorid", "order", "by", "count", "(", "t4", ".", "paperid", ")", "desc" ], "question": "quem tem mais publicações em análise sintática?", "question_toks": [ "quem", "tem", "mais", "publicações", "em", "análise", "sintática", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ], [ "table_unit", 9 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ] ] }, "select": [ true, [ [ 3, [ 0, [ 0, 11, false ], null ] ], [ 0, [ 0, [ 0, 25, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"syntactic parsing\"", null ] ], "groupBy": [ [ 0, 25, false ] ], "having": [], "orderBy": [ "desc", [ [ 0, [ 3, 11, false ], null ] ] ], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT COUNT ( t4.paperid ) , t3.authorid FROM paperkeyphrase AS t1 JOIN keyphrase AS t2 ON t1.keyphraseid = t2.keyphraseid JOIN paper AS t4 ON t4.paperid = t1.paperid JOIN writes AS t3 ON t3.paperid = t4.paperid WHERE t2.keyphrasename = \"syntactic parsing\" GROUP BY t3.authorid ORDER BY COUNT ( t4.paperid ) DESC;", "query_toks": [ "SELECT", "DISTINCT", "COUNT", "(", "t4.paperid", ")", ",", "t3.authorid", "FROM", "paperkeyphrase", "AS", "t1", "JOIN", "keyphrase", "AS", "t2", "ON", "t1.keyphraseid", "=", "t2.keyphraseid", "JOIN", "paper", "AS", "t4", "ON", "t4.paperid", "=", "t1.paperid", "JOIN", "writes", "AS", "t3", "ON", "t3.paperid", "=", "t4.paperid", "WHERE", "t2.keyphrasename", "=", "``", "syntactic", "parsing", "''", "GROUP", "BY", "t3.authorid", "ORDER", "BY", "COUNT", "(", "t4.paperid", ")", "DESC", ";" ], "query_toks_no_value": [ "select", "distinct", "count", "(", "t4", ".", "paperid", ")", ",", "t3", ".", "authorid", "from", "paperkeyphrase", "as", "t1", "join", "keyphrase", "as", "t2", "on", "t1", ".", "keyphraseid", "=", "t2", ".", "keyphraseid", "join", "paper", "as", "t4", "on", "t4", ".", "paperid", "=", "t1", ".", "paperid", "join", "writes", "as", "t3", "on", "t3", ".", "paperid", "=", "t4", ".", "paperid", "where", "t2", ".", "keyphrasename", "=", "value", "group", "by", "t3", ".", "authorid", "order", "by", "count", "(", "t4", ".", "paperid", ")", "desc" ], "question": "quem escreveu mais artigos sobre análise sintática?", "question_toks": [ "quem", "escreveu", "mais", "artigos", "sobre", "análise", "sintática", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ], [ "table_unit", 9 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ] ] }, "select": [ true, [ [ 3, [ 0, [ 0, 11, false ], null ] ], [ 0, [ 0, [ 0, 25, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"syntactic parsing\"", null ] ], "groupBy": [ [ 0, 25, false ] ], "having": [], "orderBy": [ "desc", [ [ 0, [ 3, 11, false ], null ] ] ], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT COUNT ( t4.paperid ) , t3.authorid FROM paperkeyphrase AS t1 JOIN keyphrase AS t2 ON t1.keyphraseid = t2.keyphraseid JOIN paper AS t4 ON t4.paperid = t1.paperid JOIN writes AS t3 ON t3.paperid = t4.paperid WHERE t2.keyphrasename = \"syntactic parsing\" GROUP BY t3.authorid ORDER BY COUNT ( t4.paperid ) DESC;", "query_toks": [ "SELECT", "DISTINCT", "COUNT", "(", "t4.paperid", ")", ",", "t3.authorid", "FROM", "paperkeyphrase", "AS", "t1", "JOIN", "keyphrase", "AS", "t2", "ON", "t1.keyphraseid", "=", "t2.keyphraseid", "JOIN", "paper", "AS", "t4", "ON", "t4.paperid", "=", "t1.paperid", "JOIN", "writes", "AS", "t3", "ON", "t3.paperid", "=", "t4.paperid", "WHERE", "t2.keyphrasename", "=", "``", "syntactic", "parsing", "''", "GROUP", "BY", "t3.authorid", "ORDER", "BY", "COUNT", "(", "t4.paperid", ")", "DESC", ";" ], "query_toks_no_value": [ "select", "distinct", "count", "(", "t4", ".", "paperid", ")", ",", "t3", ".", "authorid", "from", "paperkeyphrase", "as", "t1", "join", "keyphrase", "as", "t2", "on", "t1", ".", "keyphraseid", "=", "t2", ".", "keyphraseid", "join", "paper", "as", "t4", "on", "t4", ".", "paperid", "=", "t1", ".", "paperid", "join", "writes", "as", "t3", "on", "t3", ".", "paperid", "=", "t4", ".", "paperid", "where", "t2", ".", "keyphrasename", "=", "value", "group", "by", "t3", ".", "authorid", "order", "by", "count", "(", "t4", ".", "paperid", ")", "desc" ], "question": "Listar estudiosos proeminentes em análise sintática?", "question_toks": [ "Listar", "estudiosos", "proeminentes", "em", "análise", "sintática", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ], [ "table_unit", 9 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ] ] }, "select": [ true, [ [ 3, [ 0, [ 0, 11, false ], null ] ], [ 0, [ 0, [ 0, 25, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"syntactic parsing\"", null ] ], "groupBy": [ [ 0, 25, false ] ], "having": [], "orderBy": [ "desc", [ [ 0, [ 3, 11, false ], null ] ] ], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT COUNT ( t4.paperid ) , t3.authorid FROM paperkeyphrase AS t1 JOIN keyphrase AS t2 ON t1.keyphraseid = t2.keyphraseid JOIN paper AS t4 ON t4.paperid = t1.paperid JOIN writes AS t3 ON t3.paperid = t4.paperid WHERE t2.keyphrasename = \"syntactic parsing\" GROUP BY t3.authorid ORDER BY COUNT ( t4.paperid ) DESC;", "query_toks": [ "SELECT", "DISTINCT", "COUNT", "(", "t4.paperid", ")", ",", "t3.authorid", "FROM", "paperkeyphrase", "AS", "t1", "JOIN", "keyphrase", "AS", "t2", "ON", "t1.keyphraseid", "=", "t2.keyphraseid", "JOIN", "paper", "AS", "t4", "ON", "t4.paperid", "=", "t1.paperid", "JOIN", "writes", "AS", "t3", "ON", "t3.paperid", "=", "t4.paperid", "WHERE", "t2.keyphrasename", "=", "``", "syntactic", "parsing", "''", "GROUP", "BY", "t3.authorid", "ORDER", "BY", "COUNT", "(", "t4.paperid", ")", "DESC", ";" ], "query_toks_no_value": [ "select", "distinct", "count", "(", "t4", ".", "paperid", ")", ",", "t3", ".", "authorid", "from", "paperkeyphrase", "as", "t1", "join", "keyphrase", "as", "t2", "on", "t1", ".", "keyphraseid", "=", "t2", ".", "keyphraseid", "join", "paper", "as", "t4", "on", "t4", ".", "paperid", "=", "t1", ".", "paperid", "join", "writes", "as", "t3", "on", "t3", ".", "paperid", "=", "t4", ".", "paperid", "where", "t2", ".", "keyphrasename", "=", "value", "group", "by", "t3", ".", "authorid", "order", "by", "count", "(", "t4", ".", "paperid", ")", "desc" ], "question": "quem escreveu mais artigos sobre análise sintática?", "question_toks": [ "quem", "escreveu", "mais", "artigos", "sobre", "análise", "sintática", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ], [ "table_unit", 9 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ] ] }, "select": [ true, [ [ 3, [ 0, [ 0, 11, false ], null ] ], [ 0, [ 0, [ 0, 25, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"syntactic parsing\"", null ] ], "groupBy": [ [ 0, 25, false ] ], "having": [], "orderBy": [ "desc", [ [ 0, [ 3, 11, false ], null ] ] ], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT COUNT ( t4.paperid ) , t3.authorid FROM paperkeyphrase AS t1 JOIN keyphrase AS t2 ON t1.keyphraseid = t2.keyphraseid JOIN paper AS t4 ON t4.paperid = t1.paperid JOIN writes AS t3 ON t3.paperid = t4.paperid WHERE t2.keyphrasename = \"syntactic parsing\" GROUP BY t3.authorid ORDER BY COUNT ( t4.paperid ) DESC;", "query_toks": [ "SELECT", "DISTINCT", "COUNT", "(", "t4.paperid", ")", ",", "t3.authorid", "FROM", "paperkeyphrase", "AS", "t1", "JOIN", "keyphrase", "AS", "t2", "ON", "t1.keyphraseid", "=", "t2.keyphraseid", "JOIN", "paper", "AS", "t4", "ON", "t4.paperid", "=", "t1.paperid", "JOIN", "writes", "AS", "t3", "ON", "t3.paperid", "=", "t4.paperid", "WHERE", "t2.keyphrasename", "=", "``", "syntactic", "parsing", "''", "GROUP", "BY", "t3.authorid", "ORDER", "BY", "COUNT", "(", "t4.paperid", ")", "DESC", ";" ], "query_toks_no_value": [ "select", "distinct", "count", "(", "t4", ".", "paperid", ")", ",", "t3", ".", "authorid", "from", "paperkeyphrase", "as", "t1", "join", "keyphrase", "as", "t2", "on", "t1", ".", "keyphraseid", "=", "t2", ".", "keyphraseid", "join", "paper", "as", "t4", "on", "t4", ".", "paperid", "=", "t1", ".", "paperid", "join", "writes", "as", "t3", "on", "t3", ".", "paperid", "=", "t4", ".", "paperid", "where", "t2", ".", "keyphrasename", "=", "value", "group", "by", "t3", ".", "authorid", "order", "by", "count", "(", "t4", ".", "paperid", ")", "desc" ], "question": "Quem são os autores com os artigos mais publicados em análise sintática?", "question_toks": [ "Quem", "são", "os", "autores", "com", "os", "artigos", "mais", "publicados", "em", "análise", "sintática", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ], [ "table_unit", 9 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ] ] }, "select": [ true, [ [ 3, [ 0, [ 0, 11, false ], null ] ], [ 0, [ 0, [ 0, 25, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"syntactic parsing\"", null ] ], "groupBy": [ [ 0, 25, false ] ], "having": [], "orderBy": [ "desc", [ [ 0, [ 3, 11, false ], null ] ] ], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT COUNT ( t4.paperid ) , t3.authorid FROM paperkeyphrase AS t1 JOIN keyphrase AS t2 ON t1.keyphraseid = t2.keyphraseid JOIN paper AS t4 ON t4.paperid = t1.paperid JOIN writes AS t3 ON t3.paperid = t4.paperid WHERE t2.keyphrasename = \"syntactic parsing\" GROUP BY t3.authorid ORDER BY COUNT ( t4.paperid ) DESC;", "query_toks": [ "SELECT", "DISTINCT", "COUNT", "(", "t4.paperid", ")", ",", "t3.authorid", "FROM", "paperkeyphrase", "AS", "t1", "JOIN", "keyphrase", "AS", "t2", "ON", "t1.keyphraseid", "=", "t2.keyphraseid", "JOIN", "paper", "AS", "t4", "ON", "t4.paperid", "=", "t1.paperid", "JOIN", "writes", "AS", "t3", "ON", "t3.paperid", "=", "t4.paperid", "WHERE", "t2.keyphrasename", "=", "``", "syntactic", "parsing", "''", "GROUP", "BY", "t3.authorid", "ORDER", "BY", "COUNT", "(", "t4.paperid", ")", "DESC", ";" ], "query_toks_no_value": [ "select", "distinct", "count", "(", "t4", ".", "paperid", ")", ",", "t3", ".", "authorid", "from", "paperkeyphrase", "as", "t1", "join", "keyphrase", "as", "t2", "on", "t1", ".", "keyphraseid", "=", "t2", ".", "keyphraseid", "join", "paper", "as", "t4", "on", "t4", ".", "paperid", "=", "t1", ".", "paperid", "join", "writes", "as", "t3", "on", "t3", ".", "paperid", "=", "t4", ".", "paperid", "where", "t2", ".", "keyphrasename", "=", "value", "group", "by", "t3", ".", "authorid", "order", "by", "count", "(", "t4", ".", "paperid", ")", "desc" ], "question": "melhor autor de análise sintática", "question_toks": [ "melhor", "autor", "de", "análise", "sintática" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ], [ "table_unit", 9 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ] ] }, "select": [ true, [ [ 3, [ 0, [ 0, 11, false ], null ] ], [ 0, [ 0, [ 0, 25, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"syntactic parsing\"", null ] ], "groupBy": [ [ 0, 25, false ] ], "having": [], "orderBy": [ "desc", [ [ 0, [ 3, 11, false ], null ] ] ], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT COUNT ( t4.paperid ) , t3.authorid FROM paperkeyphrase AS t1 JOIN keyphrase AS t2 ON t1.keyphraseid = t2.keyphraseid JOIN paper AS t4 ON t4.paperid = t1.paperid JOIN writes AS t3 ON t3.paperid = t4.paperid WHERE t2.keyphrasename = \"syntactic parsing\" GROUP BY t3.authorid ORDER BY COUNT ( t4.paperid ) DESC;", "query_toks": [ "SELECT", "DISTINCT", "COUNT", "(", "t4.paperid", ")", ",", "t3.authorid", "FROM", "paperkeyphrase", "AS", "t1", "JOIN", "keyphrase", "AS", "t2", "ON", "t1.keyphraseid", "=", "t2.keyphraseid", "JOIN", "paper", "AS", "t4", "ON", "t4.paperid", "=", "t1.paperid", "JOIN", "writes", "AS", "t3", "ON", "t3.paperid", "=", "t4.paperid", "WHERE", "t2.keyphrasename", "=", "``", "syntactic", "parsing", "''", "GROUP", "BY", "t3.authorid", "ORDER", "BY", "COUNT", "(", "t4.paperid", ")", "DESC", ";" ], "query_toks_no_value": [ "select", "distinct", "count", "(", "t4", ".", "paperid", ")", ",", "t3", ".", "authorid", "from", "paperkeyphrase", "as", "t1", "join", "keyphrase", "as", "t2", "on", "t1", ".", "keyphraseid", "=", "t2", ".", "keyphraseid", "join", "paper", "as", "t4", "on", "t4", ".", "paperid", "=", "t1", ".", "paperid", "join", "writes", "as", "t3", "on", "t3", ".", "paperid", "=", "t4", ".", "paperid", "where", "t2", ".", "keyphrasename", "=", "value", "group", "by", "t3", ".", "authorid", "order", "by", "count", "(", "t4", ".", "paperid", ")", "desc" ], "question": "autor principal em análise sintática", "question_toks": [ "autor", "principal", "em", "análise", "sintática" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ], [ "table_unit", 9 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ] ] }, "select": [ true, [ [ 3, [ 0, [ 0, 11, false ], null ] ], [ 0, [ 0, [ 0, 25, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"syntactic parsing\"", null ] ], "groupBy": [ [ 0, 25, false ] ], "having": [], "orderBy": [ "desc", [ [ 0, [ 3, 11, false ], null ] ] ], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT COUNT ( t4.paperid ) , t3.authorid FROM paperkeyphrase AS t1 JOIN keyphrase AS t2 ON t1.keyphraseid = t2.keyphraseid JOIN paper AS t4 ON t4.paperid = t1.paperid JOIN writes AS t3 ON t3.paperid = t4.paperid WHERE t2.keyphrasename = \"syntactic parsing\" GROUP BY t3.authorid ORDER BY COUNT ( t4.paperid ) DESC;", "query_toks": [ "SELECT", "DISTINCT", "COUNT", "(", "t4.paperid", ")", ",", "t3.authorid", "FROM", "paperkeyphrase", "AS", "t1", "JOIN", "keyphrase", "AS", "t2", "ON", "t1.keyphraseid", "=", "t2.keyphraseid", "JOIN", "paper", "AS", "t4", "ON", "t4.paperid", "=", "t1.paperid", "JOIN", "writes", "AS", "t3", "ON", "t3.paperid", "=", "t4.paperid", "WHERE", "t2.keyphrasename", "=", "``", "syntactic", "parsing", "''", "GROUP", "BY", "t3.authorid", "ORDER", "BY", "COUNT", "(", "t4.paperid", ")", "DESC", ";" ], "query_toks_no_value": [ "select", "distinct", "count", "(", "t4", ".", "paperid", ")", ",", "t3", ".", "authorid", "from", "paperkeyphrase", "as", "t1", "join", "keyphrase", "as", "t2", "on", "t1", ".", "keyphraseid", "=", "t2", ".", "keyphraseid", "join", "paper", "as", "t4", "on", "t4", ".", "paperid", "=", "t1", ".", "paperid", "join", "writes", "as", "t3", "on", "t3", ".", "paperid", "=", "t4", ".", "paperid", "where", "t2", ".", "keyphrasename", "=", "value", "group", "by", "t3", ".", "authorid", "order", "by", "count", "(", "t4", ".", "paperid", ")", "desc" ], "question": "quem publicou mais em análise sintática?", "question_toks": [ "quem", "publicou", "mais", "em", "análise", "sintática", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ], [ "table_unit", 9 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ] ] }, "select": [ true, [ [ 3, [ 0, [ 0, 11, false ], null ] ], [ 0, [ 0, [ 0, 25, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"syntactic parsing\"", null ] ], "groupBy": [ [ 0, 25, false ] ], "having": [], "orderBy": [ "desc", [ [ 0, [ 3, 11, false ], null ] ] ], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT COUNT ( t4.paperid ) , t3.authorid FROM paperkeyphrase AS t1 JOIN keyphrase AS t2 ON t1.keyphraseid = t2.keyphraseid JOIN paper AS t4 ON t4.paperid = t1.paperid JOIN writes AS t3 ON t3.paperid = t4.paperid WHERE t2.keyphrasename = \"syntactic parsing\" GROUP BY t3.authorid ORDER BY COUNT ( t4.paperid ) DESC;", "query_toks": [ "SELECT", "DISTINCT", "COUNT", "(", "t4.paperid", ")", ",", "t3.authorid", "FROM", "paperkeyphrase", "AS", "t1", "JOIN", "keyphrase", "AS", "t2", "ON", "t1.keyphraseid", "=", "t2.keyphraseid", "JOIN", "paper", "AS", "t4", "ON", "t4.paperid", "=", "t1.paperid", "JOIN", "writes", "AS", "t3", "ON", "t3.paperid", "=", "t4.paperid", "WHERE", "t2.keyphrasename", "=", "``", "syntactic", "parsing", "''", "GROUP", "BY", "t3.authorid", "ORDER", "BY", "COUNT", "(", "t4.paperid", ")", "DESC", ";" ], "query_toks_no_value": [ "select", "distinct", "count", "(", "t4", ".", "paperid", ")", ",", "t3", ".", "authorid", "from", "paperkeyphrase", "as", "t1", "join", "keyphrase", "as", "t2", "on", "t1", ".", "keyphraseid", "=", "t2", ".", "keyphraseid", "join", "paper", "as", "t4", "on", "t4", ".", "paperid", "=", "t1", ".", "paperid", "join", "writes", "as", "t3", "on", "t3", ".", "paperid", "=", "t4", ".", "paperid", "where", "t2", ".", "keyphrasename", "=", "value", "group", "by", "t3", ".", "authorid", "order", "by", "count", "(", "t4", ".", "paperid", ")", "desc" ], "question": "quem publicou mais artigos em análise sintática?", "question_toks": [ "quem", "publicou", "mais", "artigos", "em", "análise", "sintática", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ], [ "table_unit", 9 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ] ] }, "select": [ true, [ [ 3, [ 0, [ 0, 11, false ], null ] ], [ 0, [ 0, [ 0, 25, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"syntactic parsing\"", null ] ], "groupBy": [ [ 0, 25, false ] ], "having": [], "orderBy": [ "desc", [ [ 0, [ 3, 11, false ], null ] ] ], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT COUNT ( t4.citedpaperid ) FROM paper AS t3 JOIN cite AS t4 ON t3.paperid = t4.citedpaperid JOIN writes AS t2 ON t2.paperid = t3.paperid JOIN author AS t1 ON t2.authorid = t1.authorid WHERE t1.authorname = \"noah a smith\";", "query_toks": [ "SELECT", "DISTINCT", "COUNT", "(", "t4.citedpaperid", ")", "FROM", "paper", "AS", "t3", "JOIN", "cite", "AS", "t4", "ON", "t3.paperid", "=", "t4.citedpaperid", "JOIN", "writes", "AS", "t2", "ON", "t2.paperid", "=", "t3.paperid", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "WHERE", "t1.authorname", "=", "``", "noah", "a", "smith", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "count", "(", "t4", ".", "citedpaperid", ")", "from", "paper", "as", "t3", "join", "cite", "as", "t4", "on", "t3", ".", "paperid", "=", "t4", ".", "citedpaperid", "join", "writes", "as", "t2", "on", "t2", ".", "paperid", "=", "t3", ".", "paperid", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "where", "t1", ".", "authorname", "=", "value" ], "question": "Quantas citações noé um ferreiro tem?", "question_toks": [ "Quantas", "citações", "noé", "um", "ferreiro", "tem", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 5 ], [ "table_unit", 6 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 19, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 3, [ 0, [ 0, 19, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"noah a smith\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT COUNT ( t4.citedpaperid ) FROM paper AS t3 JOIN cite AS t4 ON t3.paperid = t4.citedpaperid JOIN writes AS t2 ON t2.paperid = t3.paperid JOIN author AS t1 ON t2.authorid = t1.authorid WHERE t1.authorname = \"noah a smith\";", "query_toks": [ "SELECT", "DISTINCT", "COUNT", "(", "t4.citedpaperid", ")", "FROM", "paper", "AS", "t3", "JOIN", "cite", "AS", "t4", "ON", "t3.paperid", "=", "t4.citedpaperid", "JOIN", "writes", "AS", "t2", "ON", "t2.paperid", "=", "t3.paperid", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "WHERE", "t1.authorname", "=", "``", "noah", "a", "smith", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "count", "(", "t4", ".", "citedpaperid", ")", "from", "paper", "as", "t3", "join", "cite", "as", "t4", "on", "t3", ".", "paperid", "=", "t4", ".", "citedpaperid", "join", "writes", "as", "t2", "on", "t2", ".", "paperid", "=", "t3", ".", "paperid", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "where", "t1", ".", "authorname", "=", "value" ], "question": "contagem de citações noah a smith", "question_toks": [ "contagem", "de", "citações", "noah", "a", "smith" ], "sql": { "from": { "table_units": [ [ "table_unit", 5 ], [ "table_unit", 6 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 19, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 3, [ 0, [ 0, 19, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"noah a smith\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT COUNT ( t4.citedpaperid ) FROM paper AS t3 JOIN cite AS t4 ON t3.paperid = t4.citedpaperid JOIN writes AS t2 ON t2.paperid = t3.paperid JOIN author AS t1 ON t2.authorid = t1.authorid WHERE t1.authorname = \"noah a smith\";", "query_toks": [ "SELECT", "DISTINCT", "COUNT", "(", "t4.citedpaperid", ")", "FROM", "paper", "AS", "t3", "JOIN", "cite", "AS", "t4", "ON", "t3.paperid", "=", "t4.citedpaperid", "JOIN", "writes", "AS", "t2", "ON", "t2.paperid", "=", "t3.paperid", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "WHERE", "t1.authorname", "=", "``", "noah", "a", "smith", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "count", "(", "t4", ".", "citedpaperid", ")", "from", "paper", "as", "t3", "join", "cite", "as", "t4", "on", "t3", ".", "paperid", "=", "t4", ".", "citedpaperid", "join", "writes", "as", "t2", "on", "t2", ".", "paperid", "=", "t3", ".", "paperid", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "where", "t1", ".", "authorname", "=", "value" ], "question": "quantas citações tem noah a smith?", "question_toks": [ "quantas", "citações", "tem", "noah", "a", "smith", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 5 ], [ "table_unit", 6 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 19, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 3, [ 0, [ 0, 19, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"noah a smith\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT COUNT ( t4.citedpaperid ) FROM paper AS t3 JOIN cite AS t4 ON t3.paperid = t4.citedpaperid JOIN writes AS t2 ON t2.paperid = t3.paperid JOIN author AS t1 ON t2.authorid = t1.authorid WHERE t1.authorname = \"noah a smith\";", "query_toks": [ "SELECT", "DISTINCT", "COUNT", "(", "t4.citedpaperid", ")", "FROM", "paper", "AS", "t3", "JOIN", "cite", "AS", "t4", "ON", "t3.paperid", "=", "t4.citedpaperid", "JOIN", "writes", "AS", "t2", "ON", "t2.paperid", "=", "t3.paperid", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "WHERE", "t1.authorname", "=", "``", "noah", "a", "smith", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "count", "(", "t4", ".", "citedpaperid", ")", "from", "paper", "as", "t3", "join", "cite", "as", "t4", "on", "t3", ".", "paperid", "=", "t4", ".", "citedpaperid", "join", "writes", "as", "t2", "on", "t2", ".", "paperid", "=", "t3", ".", "paperid", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "where", "t1", ".", "authorname", "=", "value" ], "question": "Quantas citações tem noah a smith?", "question_toks": [ "Quantas", "citações", "tem", "noah", "a", "smith", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 5 ], [ "table_unit", 6 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 19, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 3, [ 0, [ 0, 19, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"noah a smith\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT COUNT ( t4.citedpaperid ) FROM paper AS t3 JOIN cite AS t4 ON t3.paperid = t4.citedpaperid JOIN writes AS t2 ON t2.paperid = t3.paperid JOIN author AS t1 ON t2.authorid = t1.authorid WHERE t1.authorname = \"noah a smith\";", "query_toks": [ "SELECT", "DISTINCT", "COUNT", "(", "t4.citedpaperid", ")", "FROM", "paper", "AS", "t3", "JOIN", "cite", "AS", "t4", "ON", "t3.paperid", "=", "t4.citedpaperid", "JOIN", "writes", "AS", "t2", "ON", "t2.paperid", "=", "t3.paperid", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "WHERE", "t1.authorname", "=", "``", "noah", "a", "smith", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "count", "(", "t4", ".", "citedpaperid", ")", "from", "paper", "as", "t3", "join", "cite", "as", "t4", "on", "t3", ".", "paperid", "=", "t4", ".", "citedpaperid", "join", "writes", "as", "t2", "on", "t2", ".", "paperid", "=", "t3", ".", "paperid", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "where", "t1", ".", "authorname", "=", "value" ], "question": "número de citações de noah a smith", "question_toks": [ "número", "de", "citações", "de", "noah", "a", "smith" ], "sql": { "from": { "table_units": [ [ "table_unit", 5 ], [ "table_unit", 6 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 19, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 3, [ 0, [ 0, 19, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"noah a smith\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT COUNT ( t4.citedpaperid ) FROM paper AS t3 JOIN cite AS t4 ON t3.paperid = t4.citedpaperid JOIN writes AS t2 ON t2.paperid = t3.paperid JOIN author AS t1 ON t2.authorid = t1.authorid WHERE t1.authorname = \"noah a smith\";", "query_toks": [ "SELECT", "DISTINCT", "COUNT", "(", "t4.citedpaperid", ")", "FROM", "paper", "AS", "t3", "JOIN", "cite", "AS", "t4", "ON", "t3.paperid", "=", "t4.citedpaperid", "JOIN", "writes", "AS", "t2", "ON", "t2.paperid", "=", "t3.paperid", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "WHERE", "t1.authorname", "=", "``", "noah", "a", "smith", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "count", "(", "t4", ".", "citedpaperid", ")", "from", "paper", "as", "t3", "join", "cite", "as", "t4", "on", "t3", ".", "paperid", "=", "t4", ".", "citedpaperid", "join", "writes", "as", "t2", "on", "t2", ".", "paperid", "=", "t3", ".", "paperid", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "where", "t1", ".", "authorname", "=", "value" ], "question": "Quantas citações o ferreiro de Noé tem", "question_toks": [ "Quantas", "citações", "o", "ferreiro", "de", "Noé", "tem" ], "sql": { "from": { "table_units": [ [ "table_unit", 5 ], [ "table_unit", 6 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 19, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 3, [ 0, [ 0, 19, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"noah a smith\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT COUNT ( t4.citedpaperid ) FROM paper AS t3 JOIN cite AS t4 ON t3.paperid = t4.citedpaperid JOIN writes AS t2 ON t2.paperid = t3.paperid JOIN author AS t1 ON t2.authorid = t1.authorid WHERE t1.authorname = \"noah a smith\";", "query_toks": [ "SELECT", "DISTINCT", "COUNT", "(", "t4.citedpaperid", ")", "FROM", "paper", "AS", "t3", "JOIN", "cite", "AS", "t4", "ON", "t3.paperid", "=", "t4.citedpaperid", "JOIN", "writes", "AS", "t2", "ON", "t2.paperid", "=", "t3.paperid", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "WHERE", "t1.authorname", "=", "``", "noah", "a", "smith", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "count", "(", "t4", ".", "citedpaperid", ")", "from", "paper", "as", "t3", "join", "cite", "as", "t4", "on", "t3", ".", "paperid", "=", "t4", ".", "citedpaperid", "join", "writes", "as", "t2", "on", "t2", ".", "paperid", "=", "t3", ".", "paperid", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "where", "t1", ".", "authorname", "=", "value" ], "question": "Quantas vezes foi citado noé um ferreiro?", "question_toks": [ "Quantas", "vezes", "foi", "citado", "noé", "um", "ferreiro", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 5 ], [ "table_unit", 6 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 19, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 3, [ 0, [ 0, 19, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"noah a smith\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT COUNT ( t4.citedpaperid ) FROM paper AS t3 JOIN cite AS t4 ON t3.paperid = t4.citedpaperid JOIN writes AS t2 ON t2.paperid = t3.paperid JOIN author AS t1 ON t2.authorid = t1.authorid WHERE t1.authorname = \"noah a smith\";", "query_toks": [ "SELECT", "DISTINCT", "COUNT", "(", "t4.citedpaperid", ")", "FROM", "paper", "AS", "t3", "JOIN", "cite", "AS", "t4", "ON", "t3.paperid", "=", "t4.citedpaperid", "JOIN", "writes", "AS", "t2", "ON", "t2.paperid", "=", "t3.paperid", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "WHERE", "t1.authorname", "=", "``", "noah", "a", "smith", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "count", "(", "t4", ".", "citedpaperid", ")", "from", "paper", "as", "t3", "join", "cite", "as", "t4", "on", "t3", ".", "paperid", "=", "t4", ".", "citedpaperid", "join", "writes", "as", "t2", "on", "t2", ".", "paperid", "=", "t3", ".", "paperid", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "where", "t1", ".", "authorname", "=", "value" ], "question": "Quantas citações o ferreiro de Noé tem?", "question_toks": [ "Quantas", "citações", "o", "ferreiro", "de", "Noé", "tem", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 5 ], [ "table_unit", 6 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 19, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 3, [ 0, [ 0, 19, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"noah a smith\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t1.paperid FROM venue AS t2 JOIN paper AS t1 ON t2.venueid = t1.venueid WHERE t2.venuename = \"chi\";", "query_toks": [ "SELECT", "DISTINCT", "t1.paperid", "FROM", "venue", "AS", "t2", "JOIN", "paper", "AS", "t1", "ON", "t2.venueid", "=", "t1.venueid", "WHERE", "t2.venuename", "=", "``", "chi", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t1", ".", "paperid", "from", "venue", "as", "t2", "join", "paper", "as", "t1", "on", "t2", ".", "venueid", "=", "t1", ".", "venueid", "where", "t2", ".", "venuename", "=", "value" ], "question": "papéis chi", "question_toks": [ "papéis", "chi" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 2, false ], null ], "\"chi\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t1.paperid FROM venue AS t2 JOIN paper AS t1 ON t2.venueid = t1.venueid WHERE t2.venuename = \"chi\";", "query_toks": [ "SELECT", "DISTINCT", "t1.paperid", "FROM", "venue", "AS", "t2", "JOIN", "paper", "AS", "t1", "ON", "t2.venueid", "=", "t1.venueid", "WHERE", "t2.venuename", "=", "``", "chi", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t1", ".", "paperid", "from", "venue", "as", "t2", "join", "paper", "as", "t1", "on", "t2", ".", "venueid", "=", "t1", ".", "venueid", "where", "t2", ".", "venuename", "=", "value" ], "question": "papéis no chi", "question_toks": [ "papéis", "no", "chi" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 2, false ], null ], "\"chi\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t1.paperid FROM venue AS t2 JOIN paper AS t1 ON t2.venueid = t1.venueid WHERE t2.venuename = \"chi\";", "query_toks": [ "SELECT", "DISTINCT", "t1.paperid", "FROM", "venue", "AS", "t2", "JOIN", "paper", "AS", "t1", "ON", "t2.venueid", "=", "t1.venueid", "WHERE", "t2.venuename", "=", "``", "chi", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t1", ".", "paperid", "from", "venue", "as", "t2", "join", "paper", "as", "t1", "on", "t2", ".", "venueid", "=", "t1", ".", "venueid", "where", "t2", ".", "venuename", "=", "value" ], "question": "papéis em chi", "question_toks": [ "papéis", "em", "chi" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 2, false ], null ], "\"chi\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t1.paperid FROM venue AS t2 JOIN paper AS t1 ON t2.venueid = t1.venueid WHERE t2.venuename = \"chi\";", "query_toks": [ "SELECT", "DISTINCT", "t1.paperid", "FROM", "venue", "AS", "t2", "JOIN", "paper", "AS", "t1", "ON", "t2.venueid", "=", "t1.venueid", "WHERE", "t2.venuename", "=", "``", "chi", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t1", ".", "paperid", "from", "venue", "as", "t2", "join", "paper", "as", "t1", "on", "t2", ".", "venueid", "=", "t1", ".", "venueid", "where", "t2", ".", "venuename", "=", "value" ], "question": "chi", "question_toks": [ "chi" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 2, false ], null ], "\"chi\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t1.paperid FROM venue AS t2 JOIN paper AS t1 ON t2.venueid = t1.venueid WHERE t2.venuename = \"chi\";", "query_toks": [ "SELECT", "DISTINCT", "t1.paperid", "FROM", "venue", "AS", "t2", "JOIN", "paper", "AS", "t1", "ON", "t2.venueid", "=", "t1.venueid", "WHERE", "t2.venuename", "=", "``", "chi", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t1", ".", "paperid", "from", "venue", "as", "t2", "join", "paper", "as", "t1", "on", "t2", ".", "venueid", "=", "t1", ".", "venueid", "where", "t2", ".", "venuename", "=", "value" ], "question": "Artigos sobre chi", "question_toks": [ "Artigos", "sobre", "chi" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 2, false ], null ], "\"chi\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t1.paperid FROM venue AS t2 JOIN paper AS t1 ON t2.venueid = t1.venueid WHERE t2.venuename = \"chi\";", "query_toks": [ "SELECT", "DISTINCT", "t1.paperid", "FROM", "venue", "AS", "t2", "JOIN", "paper", "AS", "t1", "ON", "t2.venueid", "=", "t1.venueid", "WHERE", "t2.venuename", "=", "``", "chi", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t1", ".", "paperid", "from", "venue", "as", "t2", "join", "paper", "as", "t1", "on", "t2", ".", "venueid", "=", "t1", ".", "venueid", "where", "t2", ".", "venuename", "=", "value" ], "question": "Mostre-me papéis chi.", "question_toks": [ "Mostre-me", "papéis", "chi", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 2, false ], null ], "\"chi\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t1.paperid FROM venue AS t2 JOIN paper AS t1 ON t2.venueid = t1.venueid WHERE t2.venuename = \"chi\";", "query_toks": [ "SELECT", "DISTINCT", "t1.paperid", "FROM", "venue", "AS", "t2", "JOIN", "paper", "AS", "t1", "ON", "t2.venueid", "=", "t1.venueid", "WHERE", "t2.venuename", "=", "``", "chi", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t1", ".", "paperid", "from", "venue", "as", "t2", "join", "paper", "as", "t1", "on", "t2", ".", "venueid", "=", "t1", ".", "venueid", "where", "t2", ".", "venuename", "=", "value" ], "question": "quais artigos o chi publicou?", "question_toks": [ "quais", "artigos", "o", "chi", "publicou", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 2, false ], null ], "\"chi\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t1.paperid FROM venue AS t2 JOIN paper AS t1 ON t2.venueid = t1.venueid WHERE t2.venuename = \"chi\";", "query_toks": [ "SELECT", "DISTINCT", "t1.paperid", "FROM", "venue", "AS", "t2", "JOIN", "paper", "AS", "t1", "ON", "t2.venueid", "=", "t1.venueid", "WHERE", "t2.venuename", "=", "``", "chi", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t1", ".", "paperid", "from", "venue", "as", "t2", "join", "paper", "as", "t1", "on", "t2", ".", "venueid", "=", "t1", ".", "venueid", "where", "t2", ".", "venuename", "=", "value" ], "question": "listar artigos publicados em chi", "question_toks": [ "listar", "artigos", "publicados", "em", "chi" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 2, false ], null ], "\"chi\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t1.paperid FROM venue AS t2 JOIN paper AS t1 ON t2.venueid = t1.venueid WHERE t2.venuename = \"chi\";", "query_toks": [ "SELECT", "DISTINCT", "t1.paperid", "FROM", "venue", "AS", "t2", "JOIN", "paper", "AS", "t1", "ON", "t2.venueid", "=", "t1.venueid", "WHERE", "t2.venuename", "=", "``", "chi", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t1", ".", "paperid", "from", "venue", "as", "t2", "join", "paper", "as", "t1", "on", "t2", ".", "venueid", "=", "t1", ".", "venueid", "where", "t2", ".", "venuename", "=", "value" ], "question": "Artigos sobre chi", "question_toks": [ "Artigos", "sobre", "chi" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 2, false ], null ], "\"chi\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT COUNT ( t3.paperid ) , t2.authorid FROM writes AS t2 JOIN author AS t1 ON t2.authorid = t1.authorid JOIN paper AS t3 ON t2.paperid = t3.paperid WHERE t1.authorname = \"mirella lapata\" AND t3.year = 2016 GROUP BY t2.authorid;", "query_toks": [ "SELECT", "DISTINCT", "COUNT", "(", "t3.paperid", ")", ",", "t2.authorid", "FROM", "writes", "AS", "t2", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "JOIN", "paper", "AS", "t3", "ON", "t2.paperid", "=", "t3.paperid", "WHERE", "t1.authorname", "=", "``", "mirella", "lapata", "''", "AND", "t3.year", "=", "2016", "GROUP", "BY", "t2.authorid", ";" ], "query_toks_no_value": [ "select", "distinct", "count", "(", "t3", ".", "paperid", ")", ",", "t2", ".", "authorid", "from", "writes", "as", "t2", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "join", "paper", "as", "t3", "on", "t2", ".", "paperid", "=", "t3", ".", "paperid", "where", "t1", ".", "authorname", "=", "value", "and", "t3", ".", "year", "=", "value", "group", "by", "t2", ".", "authorid" ], "question": "Mirella lapata escreveu algum artigo em 2016?", "question_toks": [ "Mirella", "lapata", "escreveu", "algum", "artigo", "em", "2016", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ] ] }, "select": [ true, [ [ 3, [ 0, [ 0, 11, false ], null ] ], [ 0, [ 0, [ 0, 25, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"mirella lapata\"", null ], "and", [ false, 2, [ 0, [ 0, 14, false ], null ], 2016.0, null ] ], "groupBy": [ [ 0, 25, false ] ], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t2.paperid FROM writes AS t2 JOIN author AS t1 ON t2.authorid = t1.authorid WHERE t1.authorname = \"sharon goldwater\";", "query_toks": [ "SELECT", "DISTINCT", "t2.paperid", "FROM", "writes", "AS", "t2", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "WHERE", "t1.authorname", "=", "``", "sharon", "goldwater", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t2", ".", "paperid", "from", "writes", "as", "t2", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "where", "t1", ".", "authorname", "=", "value" ], "question": "Que papéis escreveu Sharon Goldwater?", "question_toks": [ "Que", "papéis", "escreveu", "Sharon", "Goldwater", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 24, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"sharon goldwater\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t2.paperid FROM writes AS t2 JOIN author AS t1 ON t2.authorid = t1.authorid WHERE t1.authorname = \"sharon goldwater\";", "query_toks": [ "SELECT", "DISTINCT", "t2.paperid", "FROM", "writes", "AS", "t2", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "WHERE", "t1.authorname", "=", "``", "sharon", "goldwater", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t2", ".", "paperid", "from", "writes", "as", "t2", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "where", "t1", ".", "authorname", "=", "value" ], "question": "Que artigos escreveu por sharon goldwater?", "question_toks": [ "Que", "artigos", "escreveu", "por", "sharon", "goldwater", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 24, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"sharon goldwater\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t2.paperid FROM writes AS t2 JOIN author AS t1 ON t2.authorid = t1.authorid WHERE t1.authorname = \"sharon goldwater\";", "query_toks": [ "SELECT", "DISTINCT", "t2.paperid", "FROM", "writes", "AS", "t2", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "WHERE", "t1.authorname", "=", "``", "sharon", "goldwater", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t2", ".", "paperid", "from", "writes", "as", "t2", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "where", "t1", ".", "authorname", "=", "value" ], "question": "papéis de sharon goldwater", "question_toks": [ "papéis", "de", "sharon", "goldwater" ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 24, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"sharon goldwater\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t2.paperid FROM writes AS t2 JOIN author AS t1 ON t2.authorid = t1.authorid WHERE t1.authorname = \"sharon goldwater\";", "query_toks": [ "SELECT", "DISTINCT", "t2.paperid", "FROM", "writes", "AS", "t2", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "WHERE", "t1.authorname", "=", "``", "sharon", "goldwater", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t2", ".", "paperid", "from", "writes", "as", "t2", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "where", "t1", ".", "authorname", "=", "value" ], "question": "o que Sharon Goldwater escreveu?", "question_toks": [ "o", "que", "Sharon", "Goldwater", "escreveu", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 24, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"sharon goldwater\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t2.paperid FROM writes AS t2 JOIN author AS t1 ON t2.authorid = t1.authorid WHERE t1.authorname = \"sharon goldwater\";", "query_toks": [ "SELECT", "DISTINCT", "t2.paperid", "FROM", "writes", "AS", "t2", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "WHERE", "t1.authorname", "=", "``", "sharon", "goldwater", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t2", ".", "paperid", "from", "writes", "as", "t2", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "where", "t1", ".", "authorname", "=", "value" ], "question": "artigos em que sharon goldwater é autor", "question_toks": [ "artigos", "em", "que", "sharon", "goldwater", "é", "autor" ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 24, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"sharon goldwater\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t2.paperid FROM writes AS t2 JOIN author AS t1 ON t2.authorid = t1.authorid WHERE t1.authorname = \"sharon goldwater\";", "query_toks": [ "SELECT", "DISTINCT", "t2.paperid", "FROM", "writes", "AS", "t2", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "WHERE", "t1.authorname", "=", "``", "sharon", "goldwater", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t2", ".", "paperid", "from", "writes", "as", "t2", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "where", "t1", ".", "authorname", "=", "value" ], "question": "Artigos de autoria de sharon goldwater", "question_toks": [ "Artigos", "de", "autoria", "de", "sharon", "goldwater" ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 24, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"sharon goldwater\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t2.paperid FROM writes AS t2 JOIN author AS t1 ON t2.authorid = t1.authorid WHERE t1.authorname = \"sharon goldwater\";", "query_toks": [ "SELECT", "DISTINCT", "t2.paperid", "FROM", "writes", "AS", "t2", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "WHERE", "t1.authorname", "=", "``", "sharon", "goldwater", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t2", ".", "paperid", "from", "writes", "as", "t2", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "where", "t1", ".", "authorname", "=", "value" ], "question": "papéis sharon goldwater", "question_toks": [ "papéis", "sharon", "goldwater" ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 24, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"sharon goldwater\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t2.paperid FROM writes AS t2 JOIN author AS t1 ON t2.authorid = t1.authorid WHERE t1.authorname = \"sharon goldwater\";", "query_toks": [ "SELECT", "DISTINCT", "t2.paperid", "FROM", "writes", "AS", "t2", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "WHERE", "t1.authorname", "=", "``", "sharon", "goldwater", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t2", ".", "paperid", "from", "writes", "as", "t2", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "where", "t1", ".", "authorname", "=", "value" ], "question": "Artigos de sharon goldwater", "question_toks": [ "Artigos", "de", "sharon", "goldwater" ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 24, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"sharon goldwater\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t2.paperid FROM writes AS t2 JOIN author AS t1 ON t2.authorid = t1.authorid WHERE t1.authorname = \"sharon goldwater\";", "query_toks": [ "SELECT", "DISTINCT", "t2.paperid", "FROM", "writes", "AS", "t2", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "WHERE", "t1.authorname", "=", "``", "sharon", "goldwater", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t2", ".", "paperid", "from", "writes", "as", "t2", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "where", "t1", ".", "authorname", "=", "value" ], "question": "Artigos escritos por sharon goldwater", "question_toks": [ "Artigos", "escritos", "por", "sharon", "goldwater" ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 24, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"sharon goldwater\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t2.paperid FROM writes AS t2 JOIN author AS t1 ON t2.authorid = t1.authorid WHERE t1.authorname = \"sharon goldwater\";", "query_toks": [ "SELECT", "DISTINCT", "t2.paperid", "FROM", "writes", "AS", "t2", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "WHERE", "t1.authorname", "=", "``", "sharon", "goldwater", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t2", ".", "paperid", "from", "writes", "as", "t2", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "where", "t1", ".", "authorname", "=", "value" ], "question": "que papéis escreveu Sharon Goldwater?", "question_toks": [ "que", "papéis", "escreveu", "Sharon", "Goldwater", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 24, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"sharon goldwater\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t2.paperid FROM writes AS t2 JOIN author AS t1 ON t2.authorid = t1.authorid WHERE t1.authorname = \"sharon goldwater\";", "query_toks": [ "SELECT", "DISTINCT", "t2.paperid", "FROM", "writes", "AS", "t2", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "WHERE", "t1.authorname", "=", "``", "sharon", "goldwater", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t2", ".", "paperid", "from", "writes", "as", "t2", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "where", "t1", ".", "authorname", "=", "value" ], "question": "papéis escritos por sharon goldwater", "question_toks": [ "papéis", "escritos", "por", "sharon", "goldwater" ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 24, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"sharon goldwater\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t2.paperid FROM writes AS t2 JOIN author AS t1 ON t2.authorid = t1.authorid WHERE t1.authorname = \"sharon goldwater\";", "query_toks": [ "SELECT", "DISTINCT", "t2.paperid", "FROM", "writes", "AS", "t2", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "WHERE", "t1.authorname", "=", "``", "sharon", "goldwater", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t2", ".", "paperid", "from", "writes", "as", "t2", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "where", "t1", ".", "authorname", "=", "value" ], "question": "O que sharon goldwater publicou?", "question_toks": [ "O", "que", "sharon", "goldwater", "publicou", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 24, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"sharon goldwater\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t2.paperid FROM writes AS t2 JOIN author AS t1 ON t2.authorid = t1.authorid WHERE t1.authorname = \"sharon goldwater\";", "query_toks": [ "SELECT", "DISTINCT", "t2.paperid", "FROM", "writes", "AS", "t2", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "WHERE", "t1.authorname", "=", "``", "sharon", "goldwater", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t2", ".", "paperid", "from", "writes", "as", "t2", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "where", "t1", ".", "authorname", "=", "value" ], "question": "Sharon goldwater tem algum artigo publicado?", "question_toks": [ "Sharon", "goldwater", "tem", "algum", "artigo", "publicado", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 24, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"sharon goldwater\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t2.paperid FROM writes AS t2 JOIN author AS t1 ON t2.authorid = t1.authorid WHERE t1.authorname = \"sharon goldwater\";", "query_toks": [ "SELECT", "DISTINCT", "t2.paperid", "FROM", "writes", "AS", "t2", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "WHERE", "t1.authorname", "=", "``", "sharon", "goldwater", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t2", ".", "paperid", "from", "writes", "as", "t2", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "where", "t1", ".", "authorname", "=", "value" ], "question": "papéis de sharon goldwater", "question_toks": [ "papéis", "de", "sharon", "goldwater" ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 24, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"sharon goldwater\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t2.paperid FROM writes AS t2 JOIN author AS t1 ON t2.authorid = t1.authorid WHERE t1.authorname = \"sharon goldwater\";", "query_toks": [ "SELECT", "DISTINCT", "t2.paperid", "FROM", "writes", "AS", "t2", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "WHERE", "t1.authorname", "=", "``", "sharon", "goldwater", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t2", ".", "paperid", "from", "writes", "as", "t2", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "where", "t1", ".", "authorname", "=", "value" ], "question": "mostre-me papéis de sharon goldwater.", "question_toks": [ "mostre-me", "papéis", "de", "sharon", "goldwater", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 24, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"sharon goldwater\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t2.paperid FROM writes AS t2 JOIN author AS t1 ON t2.authorid = t1.authorid WHERE t1.authorname = \"sharon goldwater\";", "query_toks": [ "SELECT", "DISTINCT", "t2.paperid", "FROM", "writes", "AS", "t2", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "WHERE", "t1.authorname", "=", "``", "sharon", "goldwater", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t2", ".", "paperid", "from", "writes", "as", "t2", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "where", "t1", ".", "authorname", "=", "value" ], "question": "Quais artigos são de autoria de sharon goldwater?", "question_toks": [ "Quais", "artigos", "são", "de", "autoria", "de", "sharon", "goldwater", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 24, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"sharon goldwater\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t2.paperid FROM writes AS t2 JOIN author AS t1 ON t2.authorid = t1.authorid WHERE t1.authorname = \"sharon goldwater\";", "query_toks": [ "SELECT", "DISTINCT", "t2.paperid", "FROM", "writes", "AS", "t2", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "WHERE", "t1.authorname", "=", "``", "sharon", "goldwater", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t2", ".", "paperid", "from", "writes", "as", "t2", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "where", "t1", ".", "authorname", "=", "value" ], "question": "papéis de sharon goldwater?", "question_toks": [ "papéis", "de", "sharon", "goldwater", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 24, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"sharon goldwater\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t2.paperid FROM writes AS t2 JOIN author AS t1 ON t2.authorid = t1.authorid JOIN paper AS t3 ON t2.paperid = t3.paperid WHERE t1.authorname = \"oren etzioni\" ORDER BY t3.year DESC;", "query_toks": [ "SELECT", "DISTINCT", "t2.paperid", "FROM", "writes", "AS", "t2", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "JOIN", "paper", "AS", "t3", "ON", "t2.paperid", "=", "t3.paperid", "WHERE", "t1.authorname", "=", "``", "oren", "etzioni", "''", "ORDER", "BY", "t3.year", "DESC", ";" ], "query_toks_no_value": [ "select", "distinct", "t2", ".", "paperid", "from", "writes", "as", "t2", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "join", "paper", "as", "t3", "on", "t2", ".", "paperid", "=", "t3", ".", "paperid", "where", "t1", ".", "authorname", "=", "value", "order", "by", "t3", ".", "year", "desc" ], "question": "Qual foi o último artigo de oren etzioni?", "question_toks": [ "Qual", "foi", "o", "último", "artigo", "de", "oren", "etzioni", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 24, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"oren etzioni\"", null ] ], "groupBy": [], "having": [], "orderBy": [ "desc", [ [ 0, [ 0, 14, false ], null ] ] ], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t2.paperid FROM writes AS t2 JOIN author AS t1 ON t2.authorid = t1.authorid JOIN paper AS t3 ON t2.paperid = t3.paperid WHERE t1.authorname = \"oren etzioni\" ORDER BY t3.year DESC;", "query_toks": [ "SELECT", "DISTINCT", "t2.paperid", "FROM", "writes", "AS", "t2", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "JOIN", "paper", "AS", "t3", "ON", "t2.paperid", "=", "t3.paperid", "WHERE", "t1.authorname", "=", "``", "oren", "etzioni", "''", "ORDER", "BY", "t3.year", "DESC", ";" ], "query_toks_no_value": [ "select", "distinct", "t2", ".", "paperid", "from", "writes", "as", "t2", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "join", "paper", "as", "t3", "on", "t2", ".", "paperid", "=", "t3", ".", "paperid", "where", "t1", ".", "authorname", "=", "value", "order", "by", "t3", ".", "year", "desc" ], "question": "Artigo mais recente de oren etzioni", "question_toks": [ "Artigo", "mais", "recente", "de", "oren", "etzioni" ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 24, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"oren etzioni\"", null ] ], "groupBy": [], "having": [], "orderBy": [ "desc", [ [ 0, [ 0, 14, false ], null ] ] ], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t2.paperid FROM writes AS t2 JOIN author AS t1 ON t2.authorid = t1.authorid JOIN paper AS t3 ON t2.paperid = t3.paperid WHERE t1.authorname = \"oren etzioni\" ORDER BY t3.year DESC;", "query_toks": [ "SELECT", "DISTINCT", "t2.paperid", "FROM", "writes", "AS", "t2", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "JOIN", "paper", "AS", "t3", "ON", "t2.paperid", "=", "t3.paperid", "WHERE", "t1.authorname", "=", "``", "oren", "etzioni", "''", "ORDER", "BY", "t3.year", "DESC", ";" ], "query_toks_no_value": [ "select", "distinct", "t2", ".", "paperid", "from", "writes", "as", "t2", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "join", "paper", "as", "t3", "on", "t2", ".", "paperid", "=", "t3", ".", "paperid", "where", "t1", ".", "authorname", "=", "value", "order", "by", "t3", ".", "year", "desc" ], "question": "Qual é o último artigo de oren etzioni?", "question_toks": [ "Qual", "é", "o", "último", "artigo", "de", "oren", "etzioni", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 24, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"oren etzioni\"", null ] ], "groupBy": [], "having": [], "orderBy": [ "desc", [ [ 0, [ 0, 14, false ], null ] ] ], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t2.paperid FROM writes AS t2 JOIN author AS t1 ON t2.authorid = t1.authorid JOIN paper AS t3 ON t2.paperid = t3.paperid WHERE t1.authorname = \"oren etzioni\" ORDER BY t3.year DESC;", "query_toks": [ "SELECT", "DISTINCT", "t2.paperid", "FROM", "writes", "AS", "t2", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "JOIN", "paper", "AS", "t3", "ON", "t2.paperid", "=", "t3.paperid", "WHERE", "t1.authorname", "=", "``", "oren", "etzioni", "''", "ORDER", "BY", "t3.year", "DESC", ";" ], "query_toks_no_value": [ "select", "distinct", "t2", ".", "paperid", "from", "writes", "as", "t2", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "join", "paper", "as", "t3", "on", "t2", ".", "paperid", "=", "t3", ".", "paperid", "where", "t1", ".", "authorname", "=", "value", "order", "by", "t3", ".", "year", "desc" ], "question": "Qual é o último artigo de oren etzioni?", "question_toks": [ "Qual", "é", "o", "último", "artigo", "de", "oren", "etzioni", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 24, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"oren etzioni\"", null ] ], "groupBy": [], "having": [], "orderBy": [ "desc", [ [ 0, [ 0, 14, false ], null ] ] ], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t2.paperid FROM writes AS t2 JOIN author AS t1 ON t2.authorid = t1.authorid JOIN paper AS t3 ON t2.paperid = t3.paperid WHERE t1.authorname = \"oren etzioni\" ORDER BY t3.year DESC;", "query_toks": [ "SELECT", "DISTINCT", "t2.paperid", "FROM", "writes", "AS", "t2", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "JOIN", "paper", "AS", "t3", "ON", "t2.paperid", "=", "t3.paperid", "WHERE", "t1.authorname", "=", "``", "oren", "etzioni", "''", "ORDER", "BY", "t3.year", "DESC", ";" ], "query_toks_no_value": [ "select", "distinct", "t2", ".", "paperid", "from", "writes", "as", "t2", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "join", "paper", "as", "t3", "on", "t2", ".", "paperid", "=", "t3", ".", "paperid", "where", "t1", ".", "authorname", "=", "value", "order", "by", "t3", ".", "year", "desc" ], "question": "Quais são os últimos artigos de oren etzioni?", "question_toks": [ "Quais", "são", "os", "últimos", "artigos", "de", "oren", "etzioni", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 24, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"oren etzioni\"", null ] ], "groupBy": [], "having": [], "orderBy": [ "desc", [ [ 0, [ 0, 14, false ], null ] ] ], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t2.paperid FROM writes AS t2 JOIN author AS t1 ON t2.authorid = t1.authorid JOIN paper AS t3 ON t2.paperid = t3.paperid WHERE t1.authorname = \"oren etzioni\" ORDER BY t3.year DESC;", "query_toks": [ "SELECT", "DISTINCT", "t2.paperid", "FROM", "writes", "AS", "t2", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "JOIN", "paper", "AS", "t3", "ON", "t2.paperid", "=", "t3.paperid", "WHERE", "t1.authorname", "=", "``", "oren", "etzioni", "''", "ORDER", "BY", "t3.year", "DESC", ";" ], "query_toks_no_value": [ "select", "distinct", "t2", ".", "paperid", "from", "writes", "as", "t2", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "join", "paper", "as", "t3", "on", "t2", ".", "paperid", "=", "t3", ".", "paperid", "where", "t1", ".", "authorname", "=", "value", "order", "by", "t3", ".", "year", "desc" ], "question": "artigos mais recentes de oren etzioni", "question_toks": [ "artigos", "mais", "recentes", "de", "oren", "etzioni" ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 24, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"oren etzioni\"", null ] ], "groupBy": [], "having": [], "orderBy": [ "desc", [ [ 0, [ 0, 14, false ], null ] ] ], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid WHERE t1.keyphrasename = \"monte carlo simulation\" AND t3.year > 2011;", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t1", "ON", "t2.keyphraseid", "=", "t1.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "WHERE", "t1.keyphrasename", "=", "``", "monte", "carlo", "simulation", "''", "AND", "t3.year", ">", "2011", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t1", "on", "t2", ".", "keyphraseid", "=", "t1", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "where", "t1", ".", "keyphrasename", "=", "value", "and", "t3", ".", "year", ">", "value" ], "question": "há algum artigo de simulação de monte carlo desde 2011?", "question_toks": [ "há", "algum", "artigo", "de", "simulação", "de", "monte", "carlo", "desde", "2011", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"monte carlo simulation\"", null ], "and", [ false, 3, [ 0, [ 0, 14, false ], null ], 2011.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid WHERE t1.keyphrasename = \"monte carlo simulation\" AND t3.year > 2011;", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t1", "ON", "t2.keyphraseid", "=", "t1.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "WHERE", "t1.keyphrasename", "=", "``", "monte", "carlo", "simulation", "''", "AND", "t3.year", ">", "2011", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t1", "on", "t2", ".", "keyphraseid", "=", "t1", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "where", "t1", ".", "keyphrasename", "=", "value", "and", "t3", ".", "year", ">", "value" ], "question": "papéis de simulação de monte carlo depois de 2011", "question_toks": [ "papéis", "de", "simulação", "de", "monte", "carlo", "depois", "de", "2011" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"monte carlo simulation\"", null ], "and", [ false, 3, [ 0, [ 0, 14, false ], null ], 2011.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid WHERE t1.keyphrasename = \"monte carlo simulation\" AND t3.year > 2011;", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t1", "ON", "t2.keyphraseid", "=", "t1.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "WHERE", "t1.keyphrasename", "=", "``", "monte", "carlo", "simulation", "''", "AND", "t3.year", ">", "2011", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t1", "on", "t2", ".", "keyphraseid", "=", "t1", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "where", "t1", ".", "keyphrasename", "=", "value", "and", "t3", ".", "year", ">", "value" ], "question": "simulação de monte carlo depois de 2011", "question_toks": [ "simulação", "de", "monte", "carlo", "depois", "de", "2011" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"monte carlo simulation\"", null ], "and", [ false, 3, [ 0, [ 0, 14, false ], null ], 2011.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid WHERE t1.keyphrasename = \"monte carlo simulation\" AND t3.year > 2011;", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t1", "ON", "t2.keyphraseid", "=", "t1.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "WHERE", "t1.keyphrasename", "=", "``", "monte", "carlo", "simulation", "''", "AND", "t3.year", ">", "2011", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t1", "on", "t2", ".", "keyphraseid", "=", "t1", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "where", "t1", ".", "keyphrasename", "=", "value", "and", "t3", ".", "year", ">", "value" ], "question": "artigos de simulação de monte carlo publicados após 2011", "question_toks": [ "artigos", "de", "simulação", "de", "monte", "carlo", "publicados", "após", "2011" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"monte carlo simulation\"", null ], "and", [ false, 3, [ 0, [ 0, 14, false ], null ], 2011.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid WHERE t1.keyphrasename = \"monte carlo simulation\" AND t3.year > 2011;", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t1", "ON", "t2.keyphraseid", "=", "t1.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "WHERE", "t1.keyphrasename", "=", "``", "monte", "carlo", "simulation", "''", "AND", "t3.year", ">", "2011", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t1", "on", "t2", ".", "keyphraseid", "=", "t1", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "where", "t1", ".", "keyphrasename", "=", "value", "and", "t3", ".", "year", ">", "value" ], "question": "papéis de simulação de monte carlo desde 2011", "question_toks": [ "papéis", "de", "simulação", "de", "monte", "carlo", "desde", "2011" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"monte carlo simulation\"", null ], "and", [ false, 3, [ 0, [ 0, 14, false ], null ], 2011.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT COUNT ( t3.paperid ) FROM writes AS t2 JOIN author AS t1 ON t2.authorid = t1.authorid JOIN paper AS t3 ON t2.paperid = t3.paperid WHERE t1.authorname = \"ras bodik\";", "query_toks": [ "SELECT", "COUNT", "(", "t3.paperid", ")", "FROM", "writes", "AS", "t2", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "JOIN", "paper", "AS", "t3", "ON", "t2.paperid", "=", "t3.paperid", "WHERE", "t1.authorname", "=", "``", "ras", "bodik", "''", ";" ], "query_toks_no_value": [ "select", "count", "(", "t3", ".", "paperid", ")", "from", "writes", "as", "t2", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "join", "paper", "as", "t3", "on", "t2", ".", "paperid", "=", "t3", ".", "paperid", "where", "t1", ".", "authorname", "=", "value" ], "question": "o ras bodik publica muito?", "question_toks": [ "o", "ras", "bodik", "publica", "muito", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ] ] }, "select": [ false, [ [ 3, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"ras bodik\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT COUNT ( t3.paperid ) FROM venue AS t4 JOIN paper AS t3 ON t4.venueid = t3.venueid JOIN writes AS t2 ON t2.paperid = t3.paperid JOIN author AS t1 ON t2.authorid = t1.authorid WHERE t1.authorname = \"David M. Blei\" AND t4.venuename = \"AISTATS\";", "query_toks": [ "SELECT", "DISTINCT", "COUNT", "(", "t3.paperid", ")", "FROM", "venue", "AS", "t4", "JOIN", "paper", "AS", "t3", "ON", "t4.venueid", "=", "t3.venueid", "JOIN", "writes", "AS", "t2", "ON", "t2.paperid", "=", "t3.paperid", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "WHERE", "t1.authorname", "=", "``", "David", "M.", "Blei", "''", "AND", "t4.venuename", "=", "``", "AISTATS", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "count", "(", "t3", ".", "paperid", ")", "from", "venue", "as", "t4", "join", "paper", "as", "t3", "on", "t4", ".", "venueid", "=", "t3", ".", "venueid", "join", "writes", "as", "t2", "on", "t2", ".", "paperid", "=", "t3", ".", "paperid", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "where", "t1", ".", "authorname", "=", "value", "and", "t4", ".", "venuename", "=", "value" ], "question": "Quantos artigos David M. Blei publicou no AISTATS?", "question_toks": [ "Quantos", "artigos", "David", "M.", "Blei", "publicou", "no", "AISTATS", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ], [ "table_unit", 5 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 3, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"David M. Blei\"", null ], "and", [ false, 2, [ 0, [ 0, 2, false ], null ], "\"AISTATS\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT COUNT ( t3.paperid ) FROM venue AS t4 JOIN paper AS t3 ON t4.venueid = t3.venueid JOIN writes AS t2 ON t2.paperid = t3.paperid JOIN author AS t1 ON t2.authorid = t1.authorid WHERE t1.authorname = \"David M. Blei\" AND t4.venuename = \"AISTATS\";", "query_toks": [ "SELECT", "DISTINCT", "COUNT", "(", "t3.paperid", ")", "FROM", "venue", "AS", "t4", "JOIN", "paper", "AS", "t3", "ON", "t4.venueid", "=", "t3.venueid", "JOIN", "writes", "AS", "t2", "ON", "t2.paperid", "=", "t3.paperid", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "WHERE", "t1.authorname", "=", "``", "David", "M.", "Blei", "''", "AND", "t4.venuename", "=", "``", "AISTATS", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "count", "(", "t3", ".", "paperid", ")", "from", "venue", "as", "t4", "join", "paper", "as", "t3", "on", "t4", ".", "venueid", "=", "t3", ".", "venueid", "join", "writes", "as", "t2", "on", "t2", ".", "paperid", "=", "t3", ".", "paperid", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "where", "t1", ".", "authorname", "=", "value", "and", "t4", ".", "venuename", "=", "value" ], "question": "Quantos papéis David M. Blei tem em AISTATS?", "question_toks": [ "Quantos", "papéis", "David", "M.", "Blei", "tem", "em", "AISTATS", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ], [ "table_unit", 5 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 3, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"David M. Blei\"", null ], "and", [ false, 2, [ 0, [ 0, 2, false ], null ], "\"AISTATS\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT COUNT ( t3.paperid ) FROM venue AS t4 JOIN paper AS t3 ON t4.venueid = t3.venueid JOIN writes AS t2 ON t2.paperid = t3.paperid JOIN author AS t1 ON t2.authorid = t1.authorid WHERE t1.authorname = \"David M. Blei\" AND t4.venuename = \"AISTATS\";", "query_toks": [ "SELECT", "DISTINCT", "COUNT", "(", "t3.paperid", ")", "FROM", "venue", "AS", "t4", "JOIN", "paper", "AS", "t3", "ON", "t4.venueid", "=", "t3.venueid", "JOIN", "writes", "AS", "t2", "ON", "t2.paperid", "=", "t3.paperid", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "WHERE", "t1.authorname", "=", "``", "David", "M.", "Blei", "''", "AND", "t4.venuename", "=", "``", "AISTATS", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "count", "(", "t3", ".", "paperid", ")", "from", "venue", "as", "t4", "join", "paper", "as", "t3", "on", "t4", ".", "venueid", "=", "t3", ".", "venueid", "join", "writes", "as", "t2", "on", "t2", ".", "paperid", "=", "t3", ".", "paperid", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "where", "t1", ".", "authorname", "=", "value", "and", "t4", ".", "venuename", "=", "value" ], "question": "Quantos artigos David M. Blei publicou no AISTATS?", "question_toks": [ "Quantos", "artigos", "David", "M.", "Blei", "publicou", "no", "AISTATS", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ], [ "table_unit", 5 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 3, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"David M. Blei\"", null ], "and", [ false, 2, [ 0, [ 0, 2, false ], null ], "\"AISTATS\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT COUNT ( t3.paperid ) FROM venue AS t4 JOIN paper AS t3 ON t4.venueid = t3.venueid JOIN writes AS t2 ON t2.paperid = t3.paperid JOIN author AS t1 ON t2.authorid = t1.authorid WHERE t1.authorname = \"David M. Blei\" AND t4.venuename = \"AISTATS\";", "query_toks": [ "SELECT", "DISTINCT", "COUNT", "(", "t3.paperid", ")", "FROM", "venue", "AS", "t4", "JOIN", "paper", "AS", "t3", "ON", "t4.venueid", "=", "t3.venueid", "JOIN", "writes", "AS", "t2", "ON", "t2.paperid", "=", "t3.paperid", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "WHERE", "t1.authorname", "=", "``", "David", "M.", "Blei", "''", "AND", "t4.venuename", "=", "``", "AISTATS", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "count", "(", "t3", ".", "paperid", ")", "from", "venue", "as", "t4", "join", "paper", "as", "t3", "on", "t4", ".", "venueid", "=", "t3", ".", "venueid", "join", "writes", "as", "t2", "on", "t2", ".", "paperid", "=", "t3", ".", "paperid", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "where", "t1", ".", "authorname", "=", "value", "and", "t4", ".", "venuename", "=", "value" ], "question": "quantos papéis David M. Blei tem na AISTATS", "question_toks": [ "quantos", "papéis", "David", "M.", "Blei", "tem", "na", "AISTATS" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ], [ "table_unit", 5 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 3, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"David M. Blei\"", null ], "and", [ false, 2, [ 0, [ 0, 2, false ], null ], "\"AISTATS\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT COUNT ( t3.paperid ) FROM venue AS t4 JOIN paper AS t3 ON t4.venueid = t3.venueid JOIN writes AS t2 ON t2.paperid = t3.paperid JOIN author AS t1 ON t2.authorid = t1.authorid WHERE t1.authorname = \"David M. Blei\" AND t4.venuename = \"AISTATS\";", "query_toks": [ "SELECT", "DISTINCT", "COUNT", "(", "t3.paperid", ")", "FROM", "venue", "AS", "t4", "JOIN", "paper", "AS", "t3", "ON", "t4.venueid", "=", "t3.venueid", "JOIN", "writes", "AS", "t2", "ON", "t2.paperid", "=", "t3.paperid", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "WHERE", "t1.authorname", "=", "``", "David", "M.", "Blei", "''", "AND", "t4.venuename", "=", "``", "AISTATS", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "count", "(", "t3", ".", "paperid", ")", "from", "venue", "as", "t4", "join", "paper", "as", "t3", "on", "t4", ".", "venueid", "=", "t3", ".", "venueid", "join", "writes", "as", "t2", "on", "t2", ".", "paperid", "=", "t3", ".", "paperid", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "where", "t1", ".", "authorname", "=", "value", "and", "t4", ".", "venuename", "=", "value" ], "question": "quantos papéis David M. Blei tem em AISTATS?", "question_toks": [ "quantos", "papéis", "David", "M.", "Blei", "tem", "em", "AISTATS", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ], [ "table_unit", 5 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 3, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"David M. Blei\"", null ], "and", [ false, 2, [ 0, [ 0, 2, false ], null ], "\"AISTATS\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT COUNT ( t3.paperid ) FROM venue AS t4 JOIN paper AS t3 ON t4.venueid = t3.venueid JOIN writes AS t2 ON t2.paperid = t3.paperid JOIN author AS t1 ON t2.authorid = t1.authorid WHERE t1.authorname = \"David M. Blei\" AND t4.venuename = \"AISTATS\";", "query_toks": [ "SELECT", "DISTINCT", "COUNT", "(", "t3.paperid", ")", "FROM", "venue", "AS", "t4", "JOIN", "paper", "AS", "t3", "ON", "t4.venueid", "=", "t3.venueid", "JOIN", "writes", "AS", "t2", "ON", "t2.paperid", "=", "t3.paperid", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "WHERE", "t1.authorname", "=", "``", "David", "M.", "Blei", "''", "AND", "t4.venuename", "=", "``", "AISTATS", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "count", "(", "t3", ".", "paperid", ")", "from", "venue", "as", "t4", "join", "paper", "as", "t3", "on", "t4", ".", "venueid", "=", "t3", ".", "venueid", "join", "writes", "as", "t2", "on", "t2", ".", "paperid", "=", "t3", ".", "paperid", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "where", "t1", ".", "authorname", "=", "value", "and", "t4", ".", "venuename", "=", "value" ], "question": "quantos papéis de David M. Blei estão em AISTATS?", "question_toks": [ "quantos", "papéis", "de", "David", "M.", "Blei", "estão", "em", "AISTATS", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ], [ "table_unit", 5 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 3, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"David M. Blei\"", null ], "and", [ false, 2, [ 0, [ 0, 2, false ], null ], "\"AISTATS\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT COUNT ( t3.paperid ) FROM venue AS t4 JOIN paper AS t3 ON t4.venueid = t3.venueid JOIN writes AS t2 ON t2.paperid = t3.paperid JOIN author AS t1 ON t2.authorid = t1.authorid WHERE t1.authorname = \"David M. Blei\" AND t4.venuename = \"AISTATS\";", "query_toks": [ "SELECT", "DISTINCT", "COUNT", "(", "t3.paperid", ")", "FROM", "venue", "AS", "t4", "JOIN", "paper", "AS", "t3", "ON", "t4.venueid", "=", "t3.venueid", "JOIN", "writes", "AS", "t2", "ON", "t2.paperid", "=", "t3.paperid", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "WHERE", "t1.authorname", "=", "``", "David", "M.", "Blei", "''", "AND", "t4.venuename", "=", "``", "AISTATS", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "count", "(", "t3", ".", "paperid", ")", "from", "venue", "as", "t4", "join", "paper", "as", "t3", "on", "t4", ".", "venueid", "=", "t3", ".", "venueid", "join", "writes", "as", "t2", "on", "t2", ".", "paperid", "=", "t3", ".", "paperid", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "where", "t1", ".", "authorname", "=", "value", "and", "t4", ".", "venuename", "=", "value" ], "question": "Quantos papéis David M. Blei tem em AISTATS?", "question_toks": [ "Quantos", "papéis", "David", "M.", "Blei", "tem", "em", "AISTATS", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ], [ "table_unit", 5 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 3, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"David M. Blei\"", null ], "and", [ false, 2, [ 0, [ 0, 2, false ], null ], "\"AISTATS\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT COUNT ( t3.paperid ) FROM venue AS t4 JOIN paper AS t3 ON t4.venueid = t3.venueid JOIN writes AS t2 ON t2.paperid = t3.paperid JOIN author AS t1 ON t2.authorid = t1.authorid WHERE t1.authorname = \"David M. Blei\" AND t4.venuename = \"AISTATS\";", "query_toks": [ "SELECT", "DISTINCT", "COUNT", "(", "t3.paperid", ")", "FROM", "venue", "AS", "t4", "JOIN", "paper", "AS", "t3", "ON", "t4.venueid", "=", "t3.venueid", "JOIN", "writes", "AS", "t2", "ON", "t2.paperid", "=", "t3.paperid", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "WHERE", "t1.authorname", "=", "``", "David", "M.", "Blei", "''", "AND", "t4.venuename", "=", "``", "AISTATS", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "count", "(", "t3", ".", "paperid", ")", "from", "venue", "as", "t4", "join", "paper", "as", "t3", "on", "t4", ".", "venueid", "=", "t3", ".", "venueid", "join", "writes", "as", "t2", "on", "t2", ".", "paperid", "=", "t3", ".", "paperid", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "where", "t1", ".", "authorname", "=", "value", "and", "t4", ".", "venuename", "=", "value" ], "question": "Quantos papéis David M. Blei tem em AISTATS", "question_toks": [ "Quantos", "papéis", "David", "M.", "Blei", "tem", "em", "AISTATS" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ], [ "table_unit", 5 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 3, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"David M. Blei\"", null ], "and", [ false, 2, [ 0, [ 0, 2, false ], null ], "\"AISTATS\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT paperid FROM paper WHERE title = \"machine networks for one shot learning\";", "query_toks": [ "SELECT", "DISTINCT", "paperid", "FROM", "paper", "WHERE", "title", "=", "``", "machine", "networks", "for", "one", "shot", "learning", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "paperid", "from", "paper", "where", "title", "=", "value" ], "question": "Liste todos os trabalhos acadêmicos sobre redes de máquinas para aprendizado único", "question_toks": [ "Liste", "todos", "os", "trabalhos", "acadêmicos", "sobre", "redes", "de", "máquinas", "para", "aprendizado", "único" ], "sql": { "from": { "table_units": [ [ "table_unit", 5 ] ], "conds": [] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 12, false ], null ], "\"machine networks for one shot learning\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT paperid FROM paper WHERE title = \"machine networks for one shot learning\";", "query_toks": [ "SELECT", "DISTINCT", "paperid", "FROM", "paper", "WHERE", "title", "=", "``", "machine", "networks", "for", "one", "shot", "learning", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "paperid", "from", "paper", "where", "title", "=", "value" ], "question": "redes de máquinas para aprendizagem rápida", "question_toks": [ "redes", "de", "máquinas", "para", "aprendizagem", "rápida" ], "sql": { "from": { "table_units": [ [ "table_unit", 5 ] ], "conds": [] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 12, false ], null ], "\"machine networks for one shot learning\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.citedpaperid , COUNT ( t3.citedpaperid ) FROM paper AS t1 JOIN cite AS t3 ON t1.paperid = t3.citedpaperid JOIN venue AS t2 ON t2.venueid = t1.venueid WHERE t1.year = 2010 AND t2.venuename = \"EMNLP\" GROUP BY t3.citedpaperid ORDER BY COUNT ( t3.citedpaperid ) DESC;", "query_toks": [ "SELECT", "DISTINCT", "t3.citedpaperid", ",", "COUNT", "(", "t3.citedpaperid", ")", "FROM", "paper", "AS", "t1", "JOIN", "cite", "AS", "t3", "ON", "t1.paperid", "=", "t3.citedpaperid", "JOIN", "venue", "AS", "t2", "ON", "t2.venueid", "=", "t1.venueid", "WHERE", "t1.year", "=", "2010", "AND", "t2.venuename", "=", "``", "EMNLP", "''", "GROUP", "BY", "t3.citedpaperid", "ORDER", "BY", "COUNT", "(", "t3.citedpaperid", ")", "DESC", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "citedpaperid", ",", "count", "(", "t3", ".", "citedpaperid", ")", "from", "paper", "as", "t1", "join", "cite", "as", "t3", "on", "t1", ".", "paperid", "=", "t3", ".", "citedpaperid", "join", "venue", "as", "t2", "on", "t2", ".", "venueid", "=", "t1", ".", "venueid", "where", "t1", ".", "year", "=", "value", "and", "t2", ".", "venuename", "=", "value", "group", "by", "t3", ".", "citedpaperid", "order", "by", "count", "(", "t3", ".", "citedpaperid", ")", "desc" ], "question": "quais artigos do EMNLP 2010 têm mais citações?", "question_toks": [ "quais", "artigos", "do", "EMNLP", "2010", "têm", "mais", "citações", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 5 ], [ "table_unit", 6 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 19, false ], null ], "and", [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 19, false ], null ] ], [ 3, [ 0, [ 0, 19, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 14, false ], null ], 2010.0, null ], "and", [ false, 2, [ 0, [ 0, 2, false ], null ], "\"EMNLP\"", null ] ], "groupBy": [ [ 0, 19, false ] ], "having": [], "orderBy": [ "desc", [ [ 0, [ 3, 19, false ], null ] ] ], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.citedpaperid , COUNT ( t3.citedpaperid ) FROM paper AS t1 JOIN cite AS t3 ON t1.paperid = t3.citedpaperid JOIN venue AS t2 ON t2.venueid = t1.venueid WHERE t1.year = 2010 AND t2.venuename = \"EMNLP\" GROUP BY t3.citedpaperid ORDER BY COUNT ( t3.citedpaperid ) DESC;", "query_toks": [ "SELECT", "DISTINCT", "t3.citedpaperid", ",", "COUNT", "(", "t3.citedpaperid", ")", "FROM", "paper", "AS", "t1", "JOIN", "cite", "AS", "t3", "ON", "t1.paperid", "=", "t3.citedpaperid", "JOIN", "venue", "AS", "t2", "ON", "t2.venueid", "=", "t1.venueid", "WHERE", "t1.year", "=", "2010", "AND", "t2.venuename", "=", "``", "EMNLP", "''", "GROUP", "BY", "t3.citedpaperid", "ORDER", "BY", "COUNT", "(", "t3.citedpaperid", ")", "DESC", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "citedpaperid", ",", "count", "(", "t3", ".", "citedpaperid", ")", "from", "paper", "as", "t1", "join", "cite", "as", "t3", "on", "t1", ".", "paperid", "=", "t3", ".", "citedpaperid", "join", "venue", "as", "t2", "on", "t2", ".", "venueid", "=", "t1", ".", "venueid", "where", "t1", ".", "year", "=", "value", "and", "t2", ".", "venuename", "=", "value", "group", "by", "t3", ".", "citedpaperid", "order", "by", "count", "(", "t3", ".", "citedpaperid", ")", "desc" ], "question": "Qual artigo do EMNLP 2010 foi mais citado?", "question_toks": [ "Qual", "artigo", "do", "EMNLP", "2010", "foi", "mais", "citado", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 5 ], [ "table_unit", 6 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 19, false ], null ], "and", [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 19, false ], null ] ], [ 3, [ 0, [ 0, 19, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 14, false ], null ], 2010.0, null ], "and", [ false, 2, [ 0, [ 0, 2, false ], null ], "\"EMNLP\"", null ] ], "groupBy": [ [ 0, 19, false ] ], "having": [], "orderBy": [ "desc", [ [ 0, [ 3, 19, false ], null ] ] ], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.citedpaperid , COUNT ( t3.citedpaperid ) FROM paper AS t1 JOIN cite AS t3 ON t1.paperid = t3.citedpaperid JOIN venue AS t2 ON t2.venueid = t1.venueid WHERE t1.year = 2010 AND t2.venuename = \"EMNLP\" GROUP BY t3.citedpaperid ORDER BY COUNT ( t3.citedpaperid ) DESC;", "query_toks": [ "SELECT", "DISTINCT", "t3.citedpaperid", ",", "COUNT", "(", "t3.citedpaperid", ")", "FROM", "paper", "AS", "t1", "JOIN", "cite", "AS", "t3", "ON", "t1.paperid", "=", "t3.citedpaperid", "JOIN", "venue", "AS", "t2", "ON", "t2.venueid", "=", "t1.venueid", "WHERE", "t1.year", "=", "2010", "AND", "t2.venuename", "=", "``", "EMNLP", "''", "GROUP", "BY", "t3.citedpaperid", "ORDER", "BY", "COUNT", "(", "t3.citedpaperid", ")", "DESC", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "citedpaperid", ",", "count", "(", "t3", ".", "citedpaperid", ")", "from", "paper", "as", "t1", "join", "cite", "as", "t3", "on", "t1", ".", "paperid", "=", "t3", ".", "citedpaperid", "join", "venue", "as", "t2", "on", "t2", ".", "venueid", "=", "t1", ".", "venueid", "where", "t1", ".", "year", "=", "value", "and", "t2", ".", "venuename", "=", "value", "group", "by", "t3", ".", "citedpaperid", "order", "by", "count", "(", "t3", ".", "citedpaperid", ")", "desc" ], "question": "artigos mais citados do EMNLP 2010", "question_toks": [ "artigos", "mais", "citados", "do", "EMNLP", "2010" ], "sql": { "from": { "table_units": [ [ "table_unit", 5 ], [ "table_unit", 6 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 19, false ], null ], "and", [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 19, false ], null ] ], [ 3, [ 0, [ 0, 19, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 14, false ], null ], 2010.0, null ], "and", [ false, 2, [ 0, [ 0, 2, false ], null ], "\"EMNLP\"", null ] ], "groupBy": [ [ 0, 19, false ] ], "having": [], "orderBy": [ "desc", [ [ 0, [ 3, 19, false ], null ] ] ], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.citedpaperid , COUNT ( t3.citedpaperid ) FROM paper AS t1 JOIN cite AS t3 ON t1.paperid = t3.citedpaperid JOIN venue AS t2 ON t2.venueid = t1.venueid WHERE t1.year = 2010 AND t2.venuename = \"EMNLP\" GROUP BY t3.citedpaperid ORDER BY COUNT ( t3.citedpaperid ) DESC;", "query_toks": [ "SELECT", "DISTINCT", "t3.citedpaperid", ",", "COUNT", "(", "t3.citedpaperid", ")", "FROM", "paper", "AS", "t1", "JOIN", "cite", "AS", "t3", "ON", "t1.paperid", "=", "t3.citedpaperid", "JOIN", "venue", "AS", "t2", "ON", "t2.venueid", "=", "t1.venueid", "WHERE", "t1.year", "=", "2010", "AND", "t2.venuename", "=", "``", "EMNLP", "''", "GROUP", "BY", "t3.citedpaperid", "ORDER", "BY", "COUNT", "(", "t3.citedpaperid", ")", "DESC", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "citedpaperid", ",", "count", "(", "t3", ".", "citedpaperid", ")", "from", "paper", "as", "t1", "join", "cite", "as", "t3", "on", "t1", ".", "paperid", "=", "t3", ".", "citedpaperid", "join", "venue", "as", "t2", "on", "t2", ".", "venueid", "=", "t1", ".", "venueid", "where", "t1", ".", "year", "=", "value", "and", "t2", ".", "venuename", "=", "value", "group", "by", "t3", ".", "citedpaperid", "order", "by", "count", "(", "t3", ".", "citedpaperid", ")", "desc" ], "question": "quais artigos do EMNLP 2010 foram mais citados?", "question_toks": [ "quais", "artigos", "do", "EMNLP", "2010", "foram", "mais", "citados", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 5 ], [ "table_unit", 6 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 19, false ], null ], "and", [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 19, false ], null ] ], [ 3, [ 0, [ 0, 19, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 14, false ], null ], 2010.0, null ], "and", [ false, 2, [ 0, [ 0, 2, false ], null ], "\"EMNLP\"", null ] ], "groupBy": [ [ 0, 19, false ] ], "having": [], "orderBy": [ "desc", [ [ 0, [ 3, 19, false ], null ] ] ], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid FROM paperdataset AS t2 JOIN dataset AS t1 ON t2.datasetid = t1.datasetid JOIN paper AS t3 ON t3.paperid = t2.paperid JOIN venue AS t4 ON t4.venueid = t3.venueid WHERE t1.datasetname = \"RGB-D Object Dataset\" AND t3.title = \"Class consistent multi-modal fusion with binary features\" AND t3.year = 2016 AND t4.venuename = \"CVPR\";", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", "FROM", "paperdataset", "AS", "t2", "JOIN", "dataset", "AS", "t1", "ON", "t2.datasetid", "=", "t1.datasetid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "JOIN", "venue", "AS", "t4", "ON", "t4.venueid", "=", "t3.venueid", "WHERE", "t1.datasetname", "=", "``", "RGB-D", "Object", "Dataset", "''", "AND", "t3.title", "=", "``", "Class", "consistent", "multi-modal", "fusion", "with", "binary", "features", "''", "AND", "t3.year", "=", "2016", "AND", "t4.venuename", "=", "``", "CVPR", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", "from", "paperdataset", "as", "t2", "join", "dataset", "as", "t1", "on", "t2", ".", "datasetid", "=", "t1", ".", "datasetid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "join", "venue", "as", "t4", "on", "t4", ".", "venueid", "=", "t3", ".", "venueid", "where", "t1", ".", "datasetname", "=", "value", "and", "t3", ".", "title", "=", "value", "and", "t3", ".", "year", "=", "value", "and", "t4", ".", "venuename", "=", "value" ], "question": "Quais artigos foram publicados no CVPR em 2016 sobre fusão multimodal consistente de classe com recursos binários aplicados a RGB-D Object Dataset?", "question_toks": [ "Quais", "artigos", "foram", "publicados", "no", "CVPR", "em", "2016", "sobre", "fusão", "multimodal", "consistente", "de", "classe", "com", "recursos", "binários", "aplicados", "a", "RGB-D", "Object", "Dataset", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 7 ], [ "table_unit", 2 ], [ "table_unit", 5 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 21, false ], null ], [ 0, 5, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 20, false ], null ], "and", [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 6, false ], null ], "\"RGB-D Object Dataset\"", null ], "and", [ false, 2, [ 0, [ 0, 12, false ], null ], "\"Class consistent multi-modal fusion with binary features\"", null ], "and", [ false, 2, [ 0, [ 0, 14, false ], null ], 2016.0, null ], "and", [ false, 2, [ 0, [ 0, 2, false ], null ], "\"CVPR\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid FROM paperdataset AS t2 JOIN dataset AS t1 ON t2.datasetid = t1.datasetid JOIN paper AS t3 ON t3.paperid = t2.paperid JOIN venue AS t4 ON t4.venueid = t3.venueid WHERE t1.datasetname = \"RGB-D Object Dataset\" AND t3.title = \"Class consistent multi-modal fusion with binary features\" AND t3.year = 2016 AND t4.venuename = \"CVPR\";", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", "FROM", "paperdataset", "AS", "t2", "JOIN", "dataset", "AS", "t1", "ON", "t2.datasetid", "=", "t1.datasetid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "JOIN", "venue", "AS", "t4", "ON", "t4.venueid", "=", "t3.venueid", "WHERE", "t1.datasetname", "=", "``", "RGB-D", "Object", "Dataset", "''", "AND", "t3.title", "=", "``", "Class", "consistent", "multi-modal", "fusion", "with", "binary", "features", "''", "AND", "t3.year", "=", "2016", "AND", "t4.venuename", "=", "``", "CVPR", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", "from", "paperdataset", "as", "t2", "join", "dataset", "as", "t1", "on", "t2", ".", "datasetid", "=", "t1", ".", "datasetid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "join", "venue", "as", "t4", "on", "t4", ".", "venueid", "=", "t3", ".", "venueid", "where", "t1", ".", "datasetname", "=", "value", "and", "t3", ".", "title", "=", "value", "and", "t3", ".", "year", "=", "value", "and", "t4", ".", "venuename", "=", "value" ], "question": "Quais artigos foram publicados no CVPR '16 sobre fusão multimodal consistente de classe com recursos binários aplicados ao Conjunto de dados de objetos RGB-D?", "question_toks": [ "Quais", "artigos", "foram", "publicados", "no", "CVPR", "'", "16", "sobre", "fusão", "multimodal", "consistente", "de", "classe", "com", "recursos", "binários", "aplicados", "ao", "Conjunto", "de", "dados", "de", "objetos", "RGB-D", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 7 ], [ "table_unit", 2 ], [ "table_unit", 5 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 21, false ], null ], [ 0, 5, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 20, false ], null ], "and", [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 6, false ], null ], "\"RGB-D Object Dataset\"", null ], "and", [ false, 2, [ 0, [ 0, 12, false ], null ], "\"Class consistent multi-modal fusion with binary features\"", null ], "and", [ false, 2, [ 0, [ 0, 14, false ], null ], 2016.0, null ], "and", [ false, 2, [ 0, [ 0, 2, false ], null ], "\"CVPR\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT COUNT ( DISTINCT t3.paperid ) FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid WHERE t1.keyphrasename = \"deep learning\";", "query_toks": [ "SELECT", "DISTINCT", "COUNT", "(", "DISTINCT", "t3.paperid", ")", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t1", "ON", "t2.keyphraseid", "=", "t1.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "WHERE", "t1.keyphrasename", "=", "``", "deep", "learning", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "count", "(", "distinct", "t3", ".", "paperid", ")", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t1", "on", "t2", ".", "keyphraseid", "=", "t1", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "where", "t1", ".", "keyphrasename", "=", "value" ], "question": "Quantos artigos existem em aprendizagem profunda?", "question_toks": [ "Quantos", "artigos", "existem", "em", "aprendizagem", "profunda", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ] ] }, "select": [ true, [ [ 3, [ 0, [ 0, 11, true ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"deep learning\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT COUNT ( DISTINCT t3.paperid ) FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid WHERE t1.keyphrasename = \"deep learning\";", "query_toks": [ "SELECT", "DISTINCT", "COUNT", "(", "DISTINCT", "t3.paperid", ")", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t1", "ON", "t2.keyphraseid", "=", "t1.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "WHERE", "t1.keyphrasename", "=", "``", "deep", "learning", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "count", "(", "distinct", "t3", ".", "paperid", ")", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t1", "on", "t2", ".", "keyphraseid", "=", "t1", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "where", "t1", ".", "keyphrasename", "=", "value" ], "question": "Quantos artigos são sobre aprendizado profundo?", "question_toks": [ "Quantos", "artigos", "são", "sobre", "aprendizado", "profundo", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ] ] }, "select": [ true, [ [ 3, [ 0, [ 0, 11, true ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"deep learning\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT COUNT ( DISTINCT t3.paperid ) FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid WHERE t1.keyphrasename = \"deep learning\";", "query_toks": [ "SELECT", "DISTINCT", "COUNT", "(", "DISTINCT", "t3.paperid", ")", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t1", "ON", "t2.keyphraseid", "=", "t1.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "WHERE", "t1.keyphrasename", "=", "``", "deep", "learning", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "count", "(", "distinct", "t3", ".", "paperid", ")", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t1", "on", "t2", ".", "keyphraseid", "=", "t1", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "where", "t1", ".", "keyphrasename", "=", "value" ], "question": "quantos artigos sobre aprendizado profundo?", "question_toks": [ "quantos", "artigos", "sobre", "aprendizado", "profundo", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ] ] }, "select": [ true, [ [ 3, [ 0, [ 0, 11, true ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"deep learning\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT COUNT ( DISTINCT t3.paperid ) FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid WHERE t1.keyphrasename = \"deep learning\";", "query_toks": [ "SELECT", "DISTINCT", "COUNT", "(", "DISTINCT", "t3.paperid", ")", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t1", "ON", "t2.keyphraseid", "=", "t1.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "WHERE", "t1.keyphrasename", "=", "``", "deep", "learning", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "count", "(", "distinct", "t3", ".", "paperid", ")", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t1", "on", "t2", ".", "keyphraseid", "=", "t1", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "where", "t1", ".", "keyphrasename", "=", "value" ], "question": "Quantos artigos estão relacionados ao aprendizado profundo?", "question_toks": [ "Quantos", "artigos", "estão", "relacionados", "ao", "aprendizado", "profundo", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ] ] }, "select": [ true, [ [ 3, [ 0, [ 0, 11, true ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"deep learning\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT COUNT ( DISTINCT t2.paperid ) FROM writes AS t2 JOIN author AS t1 ON t2.authorid = t1.authorid WHERE t1.authorname = \"Christopher D. Manning\";", "query_toks": [ "SELECT", "DISTINCT", "COUNT", "(", "DISTINCT", "t2.paperid", ")", "FROM", "writes", "AS", "t2", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "WHERE", "t1.authorname", "=", "``", "Christopher", "D.", "Manning", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "count", "(", "distinct", "t2", ".", "paperid", ")", "from", "writes", "as", "t2", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "where", "t1", ".", "authorname", "=", "value" ], "question": "Quantos artigos Christopher D. Manning escreveu?", "question_toks": [ "Quantos", "artigos", "Christopher", "D.", "Manning", "escreveu", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 3, [ 0, [ 0, 24, true ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Christopher D. Manning\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT COUNT ( DISTINCT t2.paperid ) FROM writes AS t2 JOIN author AS t1 ON t2.authorid = t1.authorid WHERE t1.authorname = \"Christopher D. Manning\";", "query_toks": [ "SELECT", "DISTINCT", "COUNT", "(", "DISTINCT", "t2.paperid", ")", "FROM", "writes", "AS", "t2", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "WHERE", "t1.authorname", "=", "``", "Christopher", "D.", "Manning", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "count", "(", "distinct", "t2", ".", "paperid", ")", "from", "writes", "as", "t2", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "where", "t1", ".", "authorname", "=", "value" ], "question": "Quantos papéis Christopher D. Manning tem?", "question_toks": [ "Quantos", "papéis", "Christopher", "D.", "Manning", "tem", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 3, [ 0, [ 0, 24, true ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Christopher D. Manning\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT COUNT ( DISTINCT t2.paperid ) FROM writes AS t2 JOIN author AS t1 ON t2.authorid = t1.authorid WHERE t1.authorname = \"Christopher D. Manning\";", "query_toks": [ "SELECT", "DISTINCT", "COUNT", "(", "DISTINCT", "t2.paperid", ")", "FROM", "writes", "AS", "t2", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "WHERE", "t1.authorname", "=", "``", "Christopher", "D.", "Manning", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "count", "(", "distinct", "t2", ".", "paperid", ")", "from", "writes", "as", "t2", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "where", "t1", ".", "authorname", "=", "value" ], "question": "Quantos papéis tem Christopher D. Manning?", "question_toks": [ "Quantos", "papéis", "tem", "Christopher", "D.", "Manning", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 3, [ 0, [ 0, 24, true ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Christopher D. Manning\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT COUNT ( DISTINCT t2.paperid ) FROM writes AS t2 JOIN author AS t1 ON t2.authorid = t1.authorid WHERE t1.authorname = \"Christopher D. Manning\";", "query_toks": [ "SELECT", "DISTINCT", "COUNT", "(", "DISTINCT", "t2.paperid", ")", "FROM", "writes", "AS", "t2", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "WHERE", "t1.authorname", "=", "``", "Christopher", "D.", "Manning", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "count", "(", "distinct", "t2", ".", "paperid", ")", "from", "writes", "as", "t2", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "where", "t1", ".", "authorname", "=", "value" ], "question": "Quantos artigos Christopher D. Manning publicou?", "question_toks": [ "Quantos", "artigos", "Christopher", "D.", "Manning", "publicou", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 3, [ 0, [ 0, 24, true ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Christopher D. Manning\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT COUNT ( DISTINCT t2.paperid ) FROM writes AS t2 JOIN author AS t1 ON t2.authorid = t1.authorid WHERE t1.authorname = \"Christopher D. Manning\";", "query_toks": [ "SELECT", "DISTINCT", "COUNT", "(", "DISTINCT", "t2.paperid", ")", "FROM", "writes", "AS", "t2", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "WHERE", "t1.authorname", "=", "``", "Christopher", "D.", "Manning", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "count", "(", "distinct", "t2", ".", "paperid", ")", "from", "writes", "as", "t2", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "where", "t1", ".", "authorname", "=", "value" ], "question": "quantos artigos Christopher D. Manning escreveu?", "question_toks": [ "quantos", "artigos", "Christopher", "D.", "Manning", "escreveu", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 3, [ 0, [ 0, 24, true ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Christopher D. Manning\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT COUNT ( DISTINCT t2.paperid ) FROM writes AS t2 JOIN author AS t1 ON t2.authorid = t1.authorid WHERE t1.authorname = \"Christopher D. Manning\";", "query_toks": [ "SELECT", "DISTINCT", "COUNT", "(", "DISTINCT", "t2.paperid", ")", "FROM", "writes", "AS", "t2", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "WHERE", "t1.authorname", "=", "``", "Christopher", "D.", "Manning", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "count", "(", "distinct", "t2", ".", "paperid", ")", "from", "writes", "as", "t2", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "where", "t1", ".", "authorname", "=", "value" ], "question": "Christopher D. Manning publicou algum artigo?", "question_toks": [ "Christopher", "D.", "Manning", "publicou", "algum", "artigo", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 3, [ 0, [ 0, 24, true ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Christopher D. Manning\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT COUNT ( DISTINCT t2.paperid ) FROM writes AS t2 JOIN author AS t1 ON t2.authorid = t1.authorid WHERE t1.authorname = \"Christopher D. Manning\";", "query_toks": [ "SELECT", "DISTINCT", "COUNT", "(", "DISTINCT", "t2.paperid", ")", "FROM", "writes", "AS", "t2", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "WHERE", "t1.authorname", "=", "``", "Christopher", "D.", "Manning", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "count", "(", "distinct", "t2", ".", "paperid", ")", "from", "writes", "as", "t2", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "where", "t1", ".", "authorname", "=", "value" ], "question": "quantos artigos Christopher D. Manning publicou?", "question_toks": [ "quantos", "artigos", "Christopher", "D.", "Manning", "publicou", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 3, [ 0, [ 0, 24, true ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Christopher D. Manning\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT COUNT ( DISTINCT t2.paperid ) FROM writes AS t2 JOIN author AS t1 ON t2.authorid = t1.authorid WHERE t1.authorname = \"Christopher D. Manning\";", "query_toks": [ "SELECT", "DISTINCT", "COUNT", "(", "DISTINCT", "t2.paperid", ")", "FROM", "writes", "AS", "t2", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "WHERE", "t1.authorname", "=", "``", "Christopher", "D.", "Manning", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "count", "(", "distinct", "t2", ".", "paperid", ")", "from", "writes", "as", "t2", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "where", "t1", ".", "authorname", "=", "value" ], "question": "quantos papéis Christopher D. Manning tem?", "question_toks": [ "quantos", "papéis", "Christopher", "D.", "Manning", "tem", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 3, [ 0, [ 0, 24, true ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Christopher D. Manning\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT COUNT ( DISTINCT t2.paperid ) FROM writes AS t2 JOIN author AS t1 ON t2.authorid = t1.authorid WHERE t1.authorname = \"Christopher D. Manning\";", "query_toks": [ "SELECT", "DISTINCT", "COUNT", "(", "DISTINCT", "t2.paperid", ")", "FROM", "writes", "AS", "t2", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "WHERE", "t1.authorname", "=", "``", "Christopher", "D.", "Manning", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "count", "(", "distinct", "t2", ".", "paperid", ")", "from", "writes", "as", "t2", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "where", "t1", ".", "authorname", "=", "value" ], "question": "Quantos papéis Christopher D. Manning tem?", "question_toks": [ "Quantos", "papéis", "Christopher", "D.", "Manning", "tem", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 3, [ 0, [ 0, 24, true ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Christopher D. Manning\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT COUNT ( DISTINCT t2.paperid ) FROM writes AS t2 JOIN author AS t1 ON t2.authorid = t1.authorid WHERE t1.authorname = \"Christopher D. Manning\";", "query_toks": [ "SELECT", "DISTINCT", "COUNT", "(", "DISTINCT", "t2.paperid", ")", "FROM", "writes", "AS", "t2", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "WHERE", "t1.authorname", "=", "``", "Christopher", "D.", "Manning", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "count", "(", "distinct", "t2", ".", "paperid", ")", "from", "writes", "as", "t2", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "where", "t1", ".", "authorname", "=", "value" ], "question": "Quantas publicações Christopher D. Manning tem?", "question_toks": [ "Quantas", "publicações", "Christopher", "D.", "Manning", "tem", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 3, [ 0, [ 0, 24, true ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Christopher D. Manning\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT COUNT ( DISTINCT t2.paperid ) FROM writes AS t2 JOIN author AS t1 ON t2.authorid = t1.authorid WHERE t1.authorname = \"Christopher D. Manning\";", "query_toks": [ "SELECT", "DISTINCT", "COUNT", "(", "DISTINCT", "t2.paperid", ")", "FROM", "writes", "AS", "t2", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "WHERE", "t1.authorname", "=", "``", "Christopher", "D.", "Manning", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "count", "(", "distinct", "t2", ".", "paperid", ")", "from", "writes", "as", "t2", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "where", "t1", ".", "authorname", "=", "value" ], "question": "Quantos papéis Christopher D. Manning tem", "question_toks": [ "Quantos", "papéis", "Christopher", "D.", "Manning", "tem" ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 3, [ 0, [ 0, 24, true ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Christopher D. Manning\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT COUNT ( DISTINCT t2.paperid ) FROM writes AS t2 JOIN author AS t1 ON t2.authorid = t1.authorid WHERE t1.authorname = \"Christopher D. Manning\";", "query_toks": [ "SELECT", "DISTINCT", "COUNT", "(", "DISTINCT", "t2.paperid", ")", "FROM", "writes", "AS", "t2", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "WHERE", "t1.authorname", "=", "``", "Christopher", "D.", "Manning", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "count", "(", "distinct", "t2", ".", "paperid", ")", "from", "writes", "as", "t2", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "where", "t1", ".", "authorname", "=", "value" ], "question": "número de artigos escritos por Christopher D. Manning", "question_toks": [ "número", "de", "artigos", "escritos", "por", "Christopher", "D.", "Manning" ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 3, [ 0, [ 0, 24, true ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Christopher D. Manning\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t1.keyphraseid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid JOIN writes AS t4 ON t4.paperid = t3.paperid JOIN author AS t5 ON t4.authorid = t5.authorid WHERE t5.authorname = \"Luke Zettlemoyer\";", "query_toks": [ "SELECT", "DISTINCT", "t1.keyphraseid", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t1", "ON", "t2.keyphraseid", "=", "t1.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "JOIN", "writes", "AS", "t4", "ON", "t4.paperid", "=", "t3.paperid", "JOIN", "author", "AS", "t5", "ON", "t4.authorid", "=", "t5.authorid", "WHERE", "t5.authorname", "=", "``", "Luke", "Zettlemoyer", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t1", ".", "keyphraseid", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t1", "on", "t2", ".", "keyphraseid", "=", "t1", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "join", "writes", "as", "t4", "on", "t4", ".", "paperid", "=", "t3", ".", "paperid", "join", "author", "as", "t5", "on", "t4", ".", "authorid", "=", "t5", ".", "authorid", "where", "t5", ".", "authorname", "=", "value" ], "question": "que tipo de papel Luke Zettlemoyer publica", "question_toks": [ "que", "tipo", "de", "papel", "Luke", "Zettlemoyer", "publica" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 9, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Luke Zettlemoyer\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t1.keyphraseid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid JOIN writes AS t4 ON t4.paperid = t3.paperid JOIN author AS t5 ON t4.authorid = t5.authorid WHERE t5.authorname = \"Luke Zettlemoyer\";", "query_toks": [ "SELECT", "DISTINCT", "t1.keyphraseid", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t1", "ON", "t2.keyphraseid", "=", "t1.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "JOIN", "writes", "AS", "t4", "ON", "t4.paperid", "=", "t3.paperid", "JOIN", "author", "AS", "t5", "ON", "t4.authorid", "=", "t5.authorid", "WHERE", "t5.authorname", "=", "``", "Luke", "Zettlemoyer", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t1", ".", "keyphraseid", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t1", "on", "t2", ".", "keyphraseid", "=", "t1", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "join", "writes", "as", "t4", "on", "t4", ".", "paperid", "=", "t3", ".", "paperid", "join", "author", "as", "t5", "on", "t4", ".", "authorid", "=", "t5", ".", "authorid", "where", "t5", ".", "authorname", "=", "value" ], "question": "Frases-chave usadas por Luke Zettlemoyer", "question_toks": [ "Frases-chave", "usadas", "por", "Luke", "Zettlemoyer" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 9, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Luke Zettlemoyer\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t1.keyphraseid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid JOIN writes AS t4 ON t4.paperid = t3.paperid JOIN author AS t5 ON t4.authorid = t5.authorid WHERE t5.authorname = \"Luke Zettlemoyer\";", "query_toks": [ "SELECT", "DISTINCT", "t1.keyphraseid", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t1", "ON", "t2.keyphraseid", "=", "t1.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "JOIN", "writes", "AS", "t4", "ON", "t4.paperid", "=", "t3.paperid", "JOIN", "author", "AS", "t5", "ON", "t4.authorid", "=", "t5.authorid", "WHERE", "t5.authorname", "=", "``", "Luke", "Zettlemoyer", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t1", ".", "keyphraseid", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t1", "on", "t2", ".", "keyphraseid", "=", "t1", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "join", "writes", "as", "t4", "on", "t4", ".", "paperid", "=", "t3", ".", "paperid", "join", "author", "as", "t5", "on", "t4", ".", "authorid", "=", "t5", ".", "authorid", "where", "t5", ".", "authorname", "=", "value" ], "question": "Quais palavras-chave estão nos artigos de Luke Zettlemoyer?", "question_toks": [ "Quais", "palavras-chave", "estão", "nos", "artigos", "de", "Luke", "Zettlemoyer", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 9, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Luke Zettlemoyer\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t1.keyphraseid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid JOIN writes AS t4 ON t4.paperid = t3.paperid JOIN author AS t5 ON t4.authorid = t5.authorid WHERE t5.authorname = \"Luke Zettlemoyer\";", "query_toks": [ "SELECT", "DISTINCT", "t1.keyphraseid", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t1", "ON", "t2.keyphraseid", "=", "t1.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "JOIN", "writes", "AS", "t4", "ON", "t4.paperid", "=", "t3.paperid", "JOIN", "author", "AS", "t5", "ON", "t4.authorid", "=", "t5.authorid", "WHERE", "t5.authorname", "=", "``", "Luke", "Zettlemoyer", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t1", ".", "keyphraseid", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t1", "on", "t2", ".", "keyphraseid", "=", "t1", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "join", "writes", "as", "t4", "on", "t4", ".", "paperid", "=", "t3", ".", "paperid", "join", "author", "as", "t5", "on", "t4", ".", "authorid", "=", "t5", ".", "authorid", "where", "t5", ".", "authorname", "=", "value" ], "question": "palavras-chave usadas por Luke Zettlemoyer", "question_toks": [ "palavras-chave", "usadas", "por", "Luke", "Zettlemoyer" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 9, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Luke Zettlemoyer\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t1.keyphraseid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid JOIN writes AS t4 ON t4.paperid = t3.paperid JOIN author AS t5 ON t4.authorid = t5.authorid WHERE t5.authorname = \"Luke Zettlemoyer\";", "query_toks": [ "SELECT", "DISTINCT", "t1.keyphraseid", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t1", "ON", "t2.keyphraseid", "=", "t1.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "JOIN", "writes", "AS", "t4", "ON", "t4.paperid", "=", "t3.paperid", "JOIN", "author", "AS", "t5", "ON", "t4.authorid", "=", "t5.authorid", "WHERE", "t5.authorname", "=", "``", "Luke", "Zettlemoyer", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t1", ".", "keyphraseid", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t1", "on", "t2", ".", "keyphraseid", "=", "t1", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "join", "writes", "as", "t4", "on", "t4", ".", "paperid", "=", "t3", ".", "paperid", "join", "author", "as", "t5", "on", "t4", ".", "authorid", "=", "t5", ".", "authorid", "where", "t5", ".", "authorname", "=", "value" ], "question": "quais palavras-chave são usadas por Luke Zettlemoyer", "question_toks": [ "quais", "palavras-chave", "são", "usadas", "por", "Luke", "Zettlemoyer" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 9, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Luke Zettlemoyer\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t1.keyphraseid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid JOIN writes AS t4 ON t4.paperid = t3.paperid JOIN author AS t5 ON t4.authorid = t5.authorid WHERE t5.authorname = \"Luke Zettlemoyer\";", "query_toks": [ "SELECT", "DISTINCT", "t1.keyphraseid", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t1", "ON", "t2.keyphraseid", "=", "t1.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "JOIN", "writes", "AS", "t4", "ON", "t4.paperid", "=", "t3.paperid", "JOIN", "author", "AS", "t5", "ON", "t4.authorid", "=", "t5.authorid", "WHERE", "t5.authorname", "=", "``", "Luke", "Zettlemoyer", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t1", ".", "keyphraseid", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t1", "on", "t2", ".", "keyphraseid", "=", "t1", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "join", "writes", "as", "t4", "on", "t4", ".", "paperid", "=", "t3", ".", "paperid", "join", "author", "as", "t5", "on", "t4", ".", "authorid", "=", "t5", ".", "authorid", "where", "t5", ".", "authorname", "=", "value" ], "question": "frases-chave usadas por Luke Zettlemoyer", "question_toks": [ "frases-chave", "usadas", "por", "Luke", "Zettlemoyer" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 9, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Luke Zettlemoyer\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t1.keyphraseid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid JOIN writes AS t4 ON t4.paperid = t3.paperid JOIN author AS t5 ON t4.authorid = t5.authorid WHERE t5.authorname = \"Luke Zettlemoyer\";", "query_toks": [ "SELECT", "DISTINCT", "t1.keyphraseid", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t1", "ON", "t2.keyphraseid", "=", "t1.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "JOIN", "writes", "AS", "t4", "ON", "t4.paperid", "=", "t3.paperid", "JOIN", "author", "AS", "t5", "ON", "t4.authorid", "=", "t5.authorid", "WHERE", "t5.authorname", "=", "``", "Luke", "Zettlemoyer", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t1", ".", "keyphraseid", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t1", "on", "t2", ".", "keyphraseid", "=", "t1", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "join", "writes", "as", "t4", "on", "t4", ".", "paperid", "=", "t3", ".", "paperid", "join", "author", "as", "t5", "on", "t4", ".", "authorid", "=", "t5", ".", "authorid", "where", "t5", ".", "authorname", "=", "value" ], "question": "frases-chave de Luke Zettlemoyer", "question_toks": [ "frases-chave", "de", "Luke", "Zettlemoyer" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 9, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Luke Zettlemoyer\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t1.keyphraseid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid JOIN writes AS t4 ON t4.paperid = t3.paperid JOIN author AS t5 ON t4.authorid = t5.authorid WHERE t5.authorname = \"Luke Zettlemoyer\";", "query_toks": [ "SELECT", "DISTINCT", "t1.keyphraseid", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t1", "ON", "t2.keyphraseid", "=", "t1.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "JOIN", "writes", "AS", "t4", "ON", "t4.paperid", "=", "t3.paperid", "JOIN", "author", "AS", "t5", "ON", "t4.authorid", "=", "t5.authorid", "WHERE", "t5.authorname", "=", "``", "Luke", "Zettlemoyer", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t1", ".", "keyphraseid", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t1", "on", "t2", ".", "keyphraseid", "=", "t1", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "join", "writes", "as", "t4", "on", "t4", ".", "paperid", "=", "t3", ".", "paperid", "join", "author", "as", "t5", "on", "t4", ".", "authorid", "=", "t5", ".", "authorid", "where", "t5", ".", "authorname", "=", "value" ], "question": "dê-me as palavras-chave usadas por Luke Zettlemoyer", "question_toks": [ "dê-me", "as", "palavras-chave", "usadas", "por", "Luke", "Zettlemoyer" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 9, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Luke Zettlemoyer\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t1.keyphraseid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid JOIN writes AS t4 ON t4.paperid = t3.paperid JOIN author AS t5 ON t4.authorid = t5.authorid WHERE t5.authorname = \"Luke Zettlemoyer\";", "query_toks": [ "SELECT", "DISTINCT", "t1.keyphraseid", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t1", "ON", "t2.keyphraseid", "=", "t1.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "JOIN", "writes", "AS", "t4", "ON", "t4.paperid", "=", "t3.paperid", "JOIN", "author", "AS", "t5", "ON", "t4.authorid", "=", "t5.authorid", "WHERE", "t5.authorname", "=", "``", "Luke", "Zettlemoyer", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t1", ".", "keyphraseid", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t1", "on", "t2", ".", "keyphraseid", "=", "t1", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "join", "writes", "as", "t4", "on", "t4", ".", "paperid", "=", "t3", ".", "paperid", "join", "author", "as", "t5", "on", "t4", ".", "authorid", "=", "t5", ".", "authorid", "where", "t5", ".", "authorname", "=", "value" ], "question": "Sobre qual assunto Luke Zettlemoyer escreve?", "question_toks": [ "Sobre", "qual", "assunto", "Luke", "Zettlemoyer", "escreve", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 9, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Luke Zettlemoyer\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t1.keyphraseid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid JOIN writes AS t4 ON t4.paperid = t3.paperid JOIN author AS t5 ON t4.authorid = t5.authorid WHERE t5.authorname = \"Luke Zettlemoyer\";", "query_toks": [ "SELECT", "DISTINCT", "t1.keyphraseid", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t1", "ON", "t2.keyphraseid", "=", "t1.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "JOIN", "writes", "AS", "t4", "ON", "t4.paperid", "=", "t3.paperid", "JOIN", "author", "AS", "t5", "ON", "t4.authorid", "=", "t5.authorid", "WHERE", "t5.authorname", "=", "``", "Luke", "Zettlemoyer", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t1", ".", "keyphraseid", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t1", "on", "t2", ".", "keyphraseid", "=", "t1", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "join", "writes", "as", "t4", "on", "t4", ".", "paperid", "=", "t3", ".", "paperid", "join", "author", "as", "t5", "on", "t4", ".", "authorid", "=", "t5", ".", "authorid", "where", "t5", ".", "authorname", "=", "value" ], "question": "em quais tópicos Luke Zettlemoyer publica", "question_toks": [ "em", "quais", "tópicos", "Luke", "Zettlemoyer", "publica" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 9, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Luke Zettlemoyer\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t1.keyphraseid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid JOIN writes AS t4 ON t4.paperid = t3.paperid JOIN author AS t5 ON t4.authorid = t5.authorid WHERE t5.authorname = \"Luke Zettlemoyer\";", "query_toks": [ "SELECT", "DISTINCT", "t1.keyphraseid", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t1", "ON", "t2.keyphraseid", "=", "t1.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "JOIN", "writes", "AS", "t4", "ON", "t4.paperid", "=", "t3.paperid", "JOIN", "author", "AS", "t5", "ON", "t4.authorid", "=", "t5.authorid", "WHERE", "t5.authorname", "=", "``", "Luke", "Zettlemoyer", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t1", ".", "keyphraseid", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t1", "on", "t2", ".", "keyphraseid", "=", "t1", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "join", "writes", "as", "t4", "on", "t4", ".", "paperid", "=", "t3", ".", "paperid", "join", "author", "as", "t5", "on", "t4", ".", "authorid", "=", "t5", ".", "authorid", "where", "t5", ".", "authorname", "=", "value" ], "question": "palavras-chave nos artigos escritos por Luke Zettlemoyer", "question_toks": [ "palavras-chave", "nos", "artigos", "escritos", "por", "Luke", "Zettlemoyer" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 9, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Luke Zettlemoyer\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t1.keyphraseid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid JOIN writes AS t4 ON t4.paperid = t3.paperid JOIN author AS t5 ON t4.authorid = t5.authorid WHERE t5.authorname = \"Luke Zettlemoyer\";", "query_toks": [ "SELECT", "DISTINCT", "t1.keyphraseid", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t1", "ON", "t2.keyphraseid", "=", "t1.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "JOIN", "writes", "AS", "t4", "ON", "t4.paperid", "=", "t3.paperid", "JOIN", "author", "AS", "t5", "ON", "t4.authorid", "=", "t5.authorid", "WHERE", "t5.authorname", "=", "``", "Luke", "Zettlemoyer", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t1", ".", "keyphraseid", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t1", "on", "t2", ".", "keyphraseid", "=", "t1", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "join", "writes", "as", "t4", "on", "t4", ".", "paperid", "=", "t3", ".", "paperid", "join", "author", "as", "t5", "on", "t4", ".", "authorid", "=", "t5", ".", "authorid", "where", "t5", ".", "authorname", "=", "value" ], "question": "frases-chave usadas por Luke Zettlemoyer.", "question_toks": [ "frases-chave", "usadas", "por", "Luke", "Zettlemoyer", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 9, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Luke Zettlemoyer\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t1.keyphraseid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid JOIN writes AS t4 ON t4.paperid = t3.paperid JOIN author AS t5 ON t4.authorid = t5.authorid WHERE t5.authorname = \"Luke Zettlemoyer\";", "query_toks": [ "SELECT", "DISTINCT", "t1.keyphraseid", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t1", "ON", "t2.keyphraseid", "=", "t1.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "JOIN", "writes", "AS", "t4", "ON", "t4.paperid", "=", "t3.paperid", "JOIN", "author", "AS", "t5", "ON", "t4.authorid", "=", "t5.authorid", "WHERE", "t5.authorname", "=", "``", "Luke", "Zettlemoyer", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t1", ".", "keyphraseid", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t1", "on", "t2", ".", "keyphraseid", "=", "t1", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "join", "writes", "as", "t4", "on", "t4", ".", "paperid", "=", "t3", ".", "paperid", "join", "author", "as", "t5", "on", "t4", ".", "authorid", "=", "t5", ".", "authorid", "where", "t5", ".", "authorname", "=", "value" ], "question": "tópicos usados por Luke Zettlemoyer", "question_toks": [ "tópicos", "usados", "por", "Luke", "Zettlemoyer" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 9, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Luke Zettlemoyer\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.venueid FROM writes AS t2 JOIN author AS t1 ON t2.authorid = t1.authorid JOIN paper AS t3 ON t2.paperid = t3.paperid WHERE t1.authorname = \"Daniella Coelho\";", "query_toks": [ "SELECT", "DISTINCT", "t3.venueid", "FROM", "writes", "AS", "t2", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "JOIN", "paper", "AS", "t3", "ON", "t2.paperid", "=", "t3.paperid", "WHERE", "t1.authorname", "=", "``", "Daniella", "Coelho", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "venueid", "from", "writes", "as", "t2", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "join", "paper", "as", "t3", "on", "t2", ".", "paperid", "=", "t3", ".", "paperid", "where", "t1", ".", "authorname", "=", "value" ], "question": "Em que conferência a Daniella Coelho publica?", "question_toks": [ "Em", "que", "conferência", "a", "Daniella", "Coelho", "publica", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 13, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Daniella Coelho\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.venueid FROM writes AS t2 JOIN author AS t1 ON t2.authorid = t1.authorid JOIN paper AS t3 ON t2.paperid = t3.paperid WHERE t1.authorname = \"Daniella Coelho\";", "query_toks": [ "SELECT", "DISTINCT", "t3.venueid", "FROM", "writes", "AS", "t2", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "JOIN", "paper", "AS", "t3", "ON", "t2.paperid", "=", "t3.paperid", "WHERE", "t1.authorname", "=", "``", "Daniella", "Coelho", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "venueid", "from", "writes", "as", "t2", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "join", "paper", "as", "t3", "on", "t2", ".", "paperid", "=", "t3", ".", "paperid", "where", "t1", ".", "authorname", "=", "value" ], "question": "conferências que Daniella Coelho publicou em", "question_toks": [ "conferências", "que", "Daniella", "Coelho", "publicou", "em" ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 13, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Daniella Coelho\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.venueid FROM writes AS t2 JOIN author AS t1 ON t2.authorid = t1.authorid JOIN paper AS t3 ON t2.paperid = t3.paperid WHERE t1.authorname = \"Daniella Coelho\";", "query_toks": [ "SELECT", "DISTINCT", "t3.venueid", "FROM", "writes", "AS", "t2", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "JOIN", "paper", "AS", "t3", "ON", "t2.paperid", "=", "t3.paperid", "WHERE", "t1.authorname", "=", "``", "Daniella", "Coelho", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "venueid", "from", "writes", "as", "t2", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "join", "paper", "as", "t3", "on", "t2", ".", "paperid", "=", "t3", ".", "paperid", "where", "t1", ".", "authorname", "=", "value" ], "question": "Em que conferências a Daniella Coelho costuma publicar?", "question_toks": [ "Em", "que", "conferências", "a", "Daniella", "Coelho", "costuma", "publicar", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 13, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Daniella Coelho\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.venueid FROM writes AS t2 JOIN author AS t1 ON t2.authorid = t1.authorid JOIN paper AS t3 ON t2.paperid = t3.paperid WHERE t1.authorname = \"Daniella Coelho\";", "query_toks": [ "SELECT", "DISTINCT", "t3.venueid", "FROM", "writes", "AS", "t2", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "JOIN", "paper", "AS", "t3", "ON", "t2.paperid", "=", "t3.paperid", "WHERE", "t1.authorname", "=", "``", "Daniella", "Coelho", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "venueid", "from", "writes", "as", "t2", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "join", "paper", "as", "t3", "on", "t2", ".", "paperid", "=", "t3", ".", "paperid", "where", "t1", ".", "authorname", "=", "value" ], "question": "em que conferências publica Daniella Coelho?", "question_toks": [ "em", "que", "conferências", "publica", "Daniella", "Coelho", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 13, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Daniella Coelho\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.venueid FROM writes AS t2 JOIN author AS t1 ON t2.authorid = t1.authorid JOIN paper AS t3 ON t2.paperid = t3.paperid WHERE t1.authorname = \"Daniella Coelho\";", "query_toks": [ "SELECT", "DISTINCT", "t3.venueid", "FROM", "writes", "AS", "t2", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "JOIN", "paper", "AS", "t3", "ON", "t2.paperid", "=", "t3.paperid", "WHERE", "t1.authorname", "=", "``", "Daniella", "Coelho", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "venueid", "from", "writes", "as", "t2", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "join", "paper", "as", "t3", "on", "t2", ".", "paperid", "=", "t3", ".", "paperid", "where", "t1", ".", "authorname", "=", "value" ], "question": "Em que conferências a Daniella Coelho publica?", "question_toks": [ "Em", "que", "conferências", "a", "Daniella", "Coelho", "publica", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 13, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Daniella Coelho\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.venueid FROM writes AS t2 JOIN author AS t1 ON t2.authorid = t1.authorid JOIN paper AS t3 ON t2.paperid = t3.paperid WHERE t1.authorname = \"Daniella Coelho\";", "query_toks": [ "SELECT", "DISTINCT", "t3.venueid", "FROM", "writes", "AS", "t2", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "JOIN", "paper", "AS", "t3", "ON", "t2.paperid", "=", "t3.paperid", "WHERE", "t1.authorname", "=", "``", "Daniella", "Coelho", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "venueid", "from", "writes", "as", "t2", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "join", "paper", "as", "t3", "on", "t2", ".", "paperid", "=", "t3", ".", "paperid", "where", "t1", ".", "authorname", "=", "value" ], "question": "Em que conferências publica Daniella Coelho?", "question_toks": [ "Em", "que", "conferências", "publica", "Daniella", "Coelho", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 13, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Daniella Coelho\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.venueid FROM writes AS t2 JOIN author AS t1 ON t2.authorid = t1.authorid JOIN paper AS t3 ON t2.paperid = t3.paperid WHERE t1.authorname = \"Daniella Coelho\";", "query_toks": [ "SELECT", "DISTINCT", "t3.venueid", "FROM", "writes", "AS", "t2", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "JOIN", "paper", "AS", "t3", "ON", "t2.paperid", "=", "t3.paperid", "WHERE", "t1.authorname", "=", "``", "Daniella", "Coelho", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "venueid", "from", "writes", "as", "t2", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "join", "paper", "as", "t3", "on", "t2", ".", "paperid", "=", "t3", ".", "paperid", "where", "t1", ".", "authorname", "=", "value" ], "question": "A quais conferências Daniella Coelho se inscreve?", "question_toks": [ "A", "quais", "conferências", "Daniella", "Coelho", "se", "inscreve", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 13, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Daniella Coelho\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT COUNT ( DISTINCT paperid ) FROM paper;", "query_toks": [ "SELECT", "DISTINCT", "COUNT", "(", "DISTINCT", "paperid", ")", "FROM", "paper", ";" ], "query_toks_no_value": [ "select", "distinct", "count", "(", "distinct", "paperid", ")", "from", "paper" ], "question": "Quantos papéis tem?", "question_toks": [ "Quantos", "papéis", "tem", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 5 ] ], "conds": [] }, "select": [ true, [ [ 3, [ 0, [ 0, 11, true ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT COUNT ( DISTINCT t3.paperid ) FROM paperkeyphrase AS t1 JOIN keyphrase AS t4 ON t1.keyphraseid = t4.keyphraseid JOIN writes AS t3 ON t3.paperid = t1.paperid JOIN author AS t2 ON t3.authorid = t2.authorid WHERE t2.authorname = \"Ed Desmond\" AND t4.keyphrasename = \"Semantic Parsing\";", "query_toks": [ "SELECT", "DISTINCT", "COUNT", "(", "DISTINCT", "t3.paperid", ")", "FROM", "paperkeyphrase", "AS", "t1", "JOIN", "keyphrase", "AS", "t4", "ON", "t1.keyphraseid", "=", "t4.keyphraseid", "JOIN", "writes", "AS", "t3", "ON", "t3.paperid", "=", "t1.paperid", "JOIN", "author", "AS", "t2", "ON", "t3.authorid", "=", "t2.authorid", "WHERE", "t2.authorname", "=", "``", "Ed", "Desmond", "''", "AND", "t4.keyphrasename", "=", "``", "Semantic", "Parsing", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "count", "(", "distinct", "t3", ".", "paperid", ")", "from", "paperkeyphrase", "as", "t1", "join", "keyphrase", "as", "t4", "on", "t1", ".", "keyphraseid", "=", "t4", ".", "keyphraseid", "join", "writes", "as", "t3", "on", "t3", ".", "paperid", "=", "t1", ".", "paperid", "join", "author", "as", "t2", "on", "t3", ".", "authorid", "=", "t2", ".", "authorid", "where", "t2", ".", "authorname", "=", "value", "and", "t4", ".", "keyphrasename", "=", "value" ], "question": "Quantos artigos de Ed Desmond contêm as frases-chave Semantic Parsing?", "question_toks": [ "Quantos", "artigos", "de", "Ed", "Desmond", "contêm", "as", "frases-chave", "Semantic", "Parsing", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 22, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 3, [ 0, [ 0, 24, true ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Ed Desmond\"", null ], "and", [ false, 2, [ 0, [ 0, 10, false ], null ], "\"Semantic Parsing\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT COUNT ( DISTINCT t3.paperid ) FROM paperkeyphrase AS t1 JOIN keyphrase AS t4 ON t1.keyphraseid = t4.keyphraseid JOIN writes AS t3 ON t3.paperid = t1.paperid JOIN author AS t2 ON t3.authorid = t2.authorid WHERE t2.authorname = \"Ed Desmond\" AND t4.keyphrasename = \"Semantic Parsing\";", "query_toks": [ "SELECT", "DISTINCT", "COUNT", "(", "DISTINCT", "t3.paperid", ")", "FROM", "paperkeyphrase", "AS", "t1", "JOIN", "keyphrase", "AS", "t4", "ON", "t1.keyphraseid", "=", "t4.keyphraseid", "JOIN", "writes", "AS", "t3", "ON", "t3.paperid", "=", "t1.paperid", "JOIN", "author", "AS", "t2", "ON", "t3.authorid", "=", "t2.authorid", "WHERE", "t2.authorname", "=", "``", "Ed", "Desmond", "''", "AND", "t4.keyphrasename", "=", "``", "Semantic", "Parsing", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "count", "(", "distinct", "t3", ".", "paperid", ")", "from", "paperkeyphrase", "as", "t1", "join", "keyphrase", "as", "t4", "on", "t1", ".", "keyphraseid", "=", "t4", ".", "keyphraseid", "join", "writes", "as", "t3", "on", "t3", ".", "paperid", "=", "t1", ".", "paperid", "join", "author", "as", "t2", "on", "t3", ".", "authorid", "=", "t2", ".", "authorid", "where", "t2", ".", "authorname", "=", "value", "and", "t4", ".", "keyphrasename", "=", "value" ], "question": "Quantos papéis Ed Desmond tem na área de Análise Semântica?", "question_toks": [ "Quantos", "papéis", "Ed", "Desmond", "tem", "na", "área", "de", "Análise", "Semântica", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 22, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 3, [ 0, [ 0, 24, true ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Ed Desmond\"", null ], "and", [ false, 2, [ 0, [ 0, 10, false ], null ], "\"Semantic Parsing\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT COUNT ( DISTINCT t3.paperid ) FROM paperkeyphrase AS t1 JOIN keyphrase AS t4 ON t1.keyphraseid = t4.keyphraseid JOIN writes AS t3 ON t3.paperid = t1.paperid JOIN author AS t2 ON t3.authorid = t2.authorid WHERE t2.authorname = \"Ed Desmond\" AND t4.keyphrasename = \"Semantic Parsing\";", "query_toks": [ "SELECT", "DISTINCT", "COUNT", "(", "DISTINCT", "t3.paperid", ")", "FROM", "paperkeyphrase", "AS", "t1", "JOIN", "keyphrase", "AS", "t4", "ON", "t1.keyphraseid", "=", "t4.keyphraseid", "JOIN", "writes", "AS", "t3", "ON", "t3.paperid", "=", "t1.paperid", "JOIN", "author", "AS", "t2", "ON", "t3.authorid", "=", "t2.authorid", "WHERE", "t2.authorname", "=", "``", "Ed", "Desmond", "''", "AND", "t4.keyphrasename", "=", "``", "Semantic", "Parsing", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "count", "(", "distinct", "t3", ".", "paperid", ")", "from", "paperkeyphrase", "as", "t1", "join", "keyphrase", "as", "t4", "on", "t1", ".", "keyphraseid", "=", "t4", ".", "keyphraseid", "join", "writes", "as", "t3", "on", "t3", ".", "paperid", "=", "t1", ".", "paperid", "join", "author", "as", "t2", "on", "t3", ".", "authorid", "=", "t2", ".", "authorid", "where", "t2", ".", "authorname", "=", "value", "and", "t4", ".", "keyphrasename", "=", "value" ], "question": "Quantos artigos de análise semântica Ed Desmond escreveu?", "question_toks": [ "Quantos", "artigos", "de", "análise", "semântica", "Ed", "Desmond", "escreveu", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 22, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 3, [ 0, [ 0, 24, true ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Ed Desmond\"", null ], "and", [ false, 2, [ 0, [ 0, 10, false ], null ], "\"Semantic Parsing\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT COUNT ( DISTINCT t3.paperid ) FROM paperkeyphrase AS t1 JOIN keyphrase AS t4 ON t1.keyphraseid = t4.keyphraseid JOIN writes AS t3 ON t3.paperid = t1.paperid JOIN author AS t2 ON t3.authorid = t2.authorid WHERE t2.authorname = \"Ed Desmond\" AND t4.keyphrasename = \"Semantic Parsing\";", "query_toks": [ "SELECT", "DISTINCT", "COUNT", "(", "DISTINCT", "t3.paperid", ")", "FROM", "paperkeyphrase", "AS", "t1", "JOIN", "keyphrase", "AS", "t4", "ON", "t1.keyphraseid", "=", "t4.keyphraseid", "JOIN", "writes", "AS", "t3", "ON", "t3.paperid", "=", "t1.paperid", "JOIN", "author", "AS", "t2", "ON", "t3.authorid", "=", "t2.authorid", "WHERE", "t2.authorname", "=", "``", "Ed", "Desmond", "''", "AND", "t4.keyphrasename", "=", "``", "Semantic", "Parsing", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "count", "(", "distinct", "t3", ".", "paperid", ")", "from", "paperkeyphrase", "as", "t1", "join", "keyphrase", "as", "t4", "on", "t1", ".", "keyphraseid", "=", "t4", ".", "keyphraseid", "join", "writes", "as", "t3", "on", "t3", ".", "paperid", "=", "t1", ".", "paperid", "join", "author", "as", "t2", "on", "t3", ".", "authorid", "=", "t2", ".", "authorid", "where", "t2", ".", "authorname", "=", "value", "and", "t4", ".", "keyphrasename", "=", "value" ], "question": "Quantos artigos Ed Desmond escreveu sobre a análise semântica?", "question_toks": [ "Quantos", "artigos", "Ed", "Desmond", "escreveu", "sobre", "a", "análise", "semântica", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 22, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 3, [ 0, [ 0, 24, true ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Ed Desmond\"", null ], "and", [ false, 2, [ 0, [ 0, 10, false ], null ], "\"Semantic Parsing\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.venueid FROM writes AS t2 JOIN author AS t1 ON t2.authorid = t1.authorid JOIN paper AS t3 ON t2.paperid = t3.paperid WHERE t1.authorname = \"li dong\" AND t3.year = 2016;", "query_toks": [ "SELECT", "DISTINCT", "t3.venueid", "FROM", "writes", "AS", "t2", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "JOIN", "paper", "AS", "t3", "ON", "t2.paperid", "=", "t3.paperid", "WHERE", "t1.authorname", "=", "``", "li", "dong", "''", "AND", "t3.year", "=", "2016", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "venueid", "from", "writes", "as", "t2", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "join", "paper", "as", "t3", "on", "t2", ".", "paperid", "=", "t3", ".", "paperid", "where", "t1", ".", "authorname", "=", "value", "and", "t3", ".", "year", "=", "value" ], "question": "A quais conferências li dong se inscreveu em 2016?", "question_toks": [ "A", "quais", "conferências", "li", "dong", "se", "inscreveu", "em", "2016", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 13, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"li dong\"", null ], "and", [ false, 2, [ 0, [ 0, 14, false ], null ], 2016.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.venueid FROM writes AS t2 JOIN author AS t1 ON t2.authorid = t1.authorid JOIN paper AS t3 ON t2.paperid = t3.paperid WHERE t1.authorname = \"li dong\" AND t3.year = 2016;", "query_toks": [ "SELECT", "DISTINCT", "t3.venueid", "FROM", "writes", "AS", "t2", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "JOIN", "paper", "AS", "t3", "ON", "t2.paperid", "=", "t3.paperid", "WHERE", "t1.authorname", "=", "``", "li", "dong", "''", "AND", "t3.year", "=", "2016", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "venueid", "from", "writes", "as", "t2", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "join", "paper", "as", "t3", "on", "t2", ".", "paperid", "=", "t3", ".", "paperid", "where", "t1", ".", "authorname", "=", "value", "and", "t3", ".", "year", "=", "value" ], "question": "Onde li dong publicou em 2016", "question_toks": [ "Onde", "li", "dong", "publicou", "em", "2016" ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 13, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"li dong\"", null ], "and", [ false, 2, [ 0, [ 0, 14, false ], null ], 2016.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.venueid FROM writes AS t2 JOIN author AS t1 ON t2.authorid = t1.authorid JOIN paper AS t3 ON t2.paperid = t3.paperid WHERE t1.authorname = \"li dong\" AND t3.year = 2016;", "query_toks": [ "SELECT", "DISTINCT", "t3.venueid", "FROM", "writes", "AS", "t2", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "JOIN", "paper", "AS", "t3", "ON", "t2.paperid", "=", "t3.paperid", "WHERE", "t1.authorname", "=", "``", "li", "dong", "''", "AND", "t3.year", "=", "2016", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "venueid", "from", "writes", "as", "t2", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "join", "paper", "as", "t3", "on", "t2", ".", "paperid", "=", "t3", ".", "paperid", "where", "t1", ".", "authorname", "=", "value", "and", "t3", ".", "year", "=", "value" ], "question": "Em quais conferências li dong publicou em 2016?", "question_toks": [ "Em", "quais", "conferências", "li", "dong", "publicou", "em", "2016", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 13, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"li dong\"", null ], "and", [ false, 2, [ 0, [ 0, 14, false ], null ], 2016.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.venueid FROM writes AS t2 JOIN author AS t1 ON t2.authorid = t1.authorid JOIN paper AS t3 ON t2.paperid = t3.paperid WHERE t1.authorname = \"li dong\" AND t3.year = 2016;", "query_toks": [ "SELECT", "DISTINCT", "t3.venueid", "FROM", "writes", "AS", "t2", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "JOIN", "paper", "AS", "t3", "ON", "t2.paperid", "=", "t3.paperid", "WHERE", "t1.authorname", "=", "``", "li", "dong", "''", "AND", "t3.year", "=", "2016", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "venueid", "from", "writes", "as", "t2", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "join", "paper", "as", "t3", "on", "t2", ".", "paperid", "=", "t3", ".", "paperid", "where", "t1", ".", "authorname", "=", "value", "and", "t3", ".", "year", "=", "value" ], "question": "Onde li dong publicou em 2016?", "question_toks": [ "Onde", "li", "dong", "publicou", "em", "2016", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 13, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"li dong\"", null ], "and", [ false, 2, [ 0, [ 0, 14, false ], null ], 2016.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid JOIN venue AS t4 ON t4.venueid = t3.venueid WHERE t1.keyphrasename = \"Parsing\" AND t3.year = 2012 AND t4.venuename = \"acl\";", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t1", "ON", "t2.keyphraseid", "=", "t1.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "JOIN", "venue", "AS", "t4", "ON", "t4.venueid", "=", "t3.venueid", "WHERE", "t1.keyphrasename", "=", "``", "Parsing", "''", "AND", "t3.year", "=", "2012", "AND", "t4.venuename", "=", "``", "acl", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t1", "on", "t2", ".", "keyphraseid", "=", "t1", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "join", "venue", "as", "t4", "on", "t4", ".", "venueid", "=", "t3", ".", "venueid", "where", "t1", ".", "keyphrasename", "=", "value", "and", "t3", ".", "year", "=", "value", "and", "t4", ".", "venuename", "=", "value" ], "question": "artigos acl em 2012 sobre análise", "question_toks": [ "artigos", "acl", "em", "2012", "sobre", "análise" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ], "and", [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"Parsing\"", null ], "and", [ false, 2, [ 0, [ 0, 14, false ], null ], 2012.0, null ], "and", [ false, 2, [ 0, [ 0, 2, false ], null ], "\"acl\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid JOIN venue AS t4 ON t4.venueid = t3.venueid WHERE t1.keyphrasename = \"Parsing\" AND t3.year = 2012 AND t4.venuename = \"acl\";", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t1", "ON", "t2.keyphraseid", "=", "t1.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "JOIN", "venue", "AS", "t4", "ON", "t4.venueid", "=", "t3.venueid", "WHERE", "t1.keyphrasename", "=", "``", "Parsing", "''", "AND", "t3.year", "=", "2012", "AND", "t4.venuename", "=", "``", "acl", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t1", "on", "t2", ".", "keyphraseid", "=", "t1", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "join", "venue", "as", "t4", "on", "t4", ".", "venueid", "=", "t3", ".", "venueid", "where", "t1", ".", "keyphrasename", "=", "value", "and", "t3", ".", "year", "=", "value", "and", "t4", ".", "venuename", "=", "value" ], "question": "Quais artigos foram publicados na ACL em 2012 sobre Parsing?", "question_toks": [ "Quais", "artigos", "foram", "publicados", "na", "ACL", "em", "2012", "sobre", "Parsing", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ], "and", [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"Parsing\"", null ], "and", [ false, 2, [ 0, [ 0, 14, false ], null ], 2012.0, null ], "and", [ false, 2, [ 0, [ 0, 2, false ], null ], "\"acl\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid JOIN venue AS t4 ON t4.venueid = t3.venueid WHERE t1.keyphrasename = \"Parsing\" AND t3.year = 2012 AND t4.venuename = \"acl\";", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t1", "ON", "t2.keyphraseid", "=", "t1.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "JOIN", "venue", "AS", "t4", "ON", "t4.venueid", "=", "t3.venueid", "WHERE", "t1.keyphrasename", "=", "``", "Parsing", "''", "AND", "t3.year", "=", "2012", "AND", "t4.venuename", "=", "``", "acl", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t1", "on", "t2", ".", "keyphraseid", "=", "t1", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "join", "venue", "as", "t4", "on", "t4", ".", "venueid", "=", "t3", ".", "venueid", "where", "t1", ".", "keyphrasename", "=", "value", "and", "t3", ".", "year", "=", "value", "and", "t4", ".", "venuename", "=", "value" ], "question": "artigos sobre análise foram publicados na acl no ano passado", "question_toks": [ "artigos", "sobre", "análise", "foram", "publicados", "na", "acl", "no", "ano", "passado" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ], "and", [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"Parsing\"", null ], "and", [ false, 2, [ 0, [ 0, 14, false ], null ], 2012.0, null ], "and", [ false, 2, [ 0, [ 0, 2, false ], null ], "\"acl\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid JOIN venue AS t4 ON t4.venueid = t3.venueid WHERE t1.keyphrasename = \"Parsing\" AND t3.year = 2012 AND t4.venuename = \"acl\";", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t1", "ON", "t2.keyphraseid", "=", "t1.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "JOIN", "venue", "AS", "t4", "ON", "t4.venueid", "=", "t3.venueid", "WHERE", "t1.keyphrasename", "=", "``", "Parsing", "''", "AND", "t3.year", "=", "2012", "AND", "t4.venuename", "=", "``", "acl", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t1", "on", "t2", ".", "keyphraseid", "=", "t1", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "join", "venue", "as", "t4", "on", "t4", ".", "venueid", "=", "t3", ".", "venueid", "where", "t1", ".", "keyphrasename", "=", "value", "and", "t3", ".", "year", "=", "value", "and", "t4", ".", "venuename", "=", "value" ], "question": "Parsing papers from acl 2012", "question_toks": [ "Parsing", "papers", "from", "acl", "2012" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ], "and", [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"Parsing\"", null ], "and", [ false, 2, [ 0, [ 0, 14, false ], null ], 2012.0, null ], "and", [ false, 2, [ 0, [ 0, 2, false ], null ], "\"acl\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid JOIN venue AS t4 ON t4.venueid = t3.venueid WHERE t1.keyphrasename = \"Parsing\" AND t3.year = 2012 AND t4.venuename = \"acl\";", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t1", "ON", "t2.keyphraseid", "=", "t1.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "JOIN", "venue", "AS", "t4", "ON", "t4.venueid", "=", "t3.venueid", "WHERE", "t1.keyphrasename", "=", "``", "Parsing", "''", "AND", "t3.year", "=", "2012", "AND", "t4.venuename", "=", "``", "acl", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t1", "on", "t2", ".", "keyphraseid", "=", "t1", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "join", "venue", "as", "t4", "on", "t4", ".", "venueid", "=", "t3", ".", "venueid", "where", "t1", ".", "keyphrasename", "=", "value", "and", "t3", ".", "year", "=", "value", "and", "t4", ".", "venuename", "=", "value" ], "question": "artigos sobre análise em acl 2012", "question_toks": [ "artigos", "sobre", "análise", "em", "acl", "2012" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ], "and", [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"Parsing\"", null ], "and", [ false, 2, [ 0, [ 0, 14, false ], null ], 2012.0, null ], "and", [ false, 2, [ 0, [ 0, 2, false ], null ], "\"acl\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid JOIN venue AS t4 ON t4.venueid = t3.venueid WHERE t1.keyphrasename = \"Parsing\" AND t3.year = 2012 AND t4.venuename = \"acl\";", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t1", "ON", "t2.keyphraseid", "=", "t1.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "JOIN", "venue", "AS", "t4", "ON", "t4.venueid", "=", "t3.venueid", "WHERE", "t1.keyphrasename", "=", "``", "Parsing", "''", "AND", "t3.year", "=", "2012", "AND", "t4.venuename", "=", "``", "acl", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t1", "on", "t2", ".", "keyphraseid", "=", "t1", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "join", "venue", "as", "t4", "on", "t4", ".", "venueid", "=", "t3", ".", "venueid", "where", "t1", ".", "keyphrasename", "=", "value", "and", "t3", ".", "year", "=", "value", "and", "t4", ".", "venuename", "=", "value" ], "question": "Acl papers em 2012 em Parsing", "question_toks": [ "Acl", "papers", "em", "2012", "em", "Parsing" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ], "and", [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"Parsing\"", null ], "and", [ false, 2, [ 0, [ 0, 14, false ], null ], 2012.0, null ], "and", [ false, 2, [ 0, [ 0, 2, false ], null ], "\"acl\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid JOIN venue AS t4 ON t4.venueid = t3.venueid WHERE t1.keyphrasename = \"Parsing\" AND t3.year = 2012 AND t4.venuename = \"acl\";", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t1", "ON", "t2.keyphraseid", "=", "t1.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "JOIN", "venue", "AS", "t4", "ON", "t4.venueid", "=", "t3.venueid", "WHERE", "t1.keyphrasename", "=", "``", "Parsing", "''", "AND", "t3.year", "=", "2012", "AND", "t4.venuename", "=", "``", "acl", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t1", "on", "t2", ".", "keyphraseid", "=", "t1", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "join", "venue", "as", "t4", "on", "t4", ".", "venueid", "=", "t3", ".", "venueid", "where", "t1", ".", "keyphrasename", "=", "value", "and", "t3", ".", "year", "=", "value", "and", "t4", ".", "venuename", "=", "value" ], "question": "artigos acl em 2012 sobre análise", "question_toks": [ "artigos", "acl", "em", "2012", "sobre", "análise" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ], "and", [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"Parsing\"", null ], "and", [ false, 2, [ 0, [ 0, 14, false ], null ], 2012.0, null ], "and", [ false, 2, [ 0, [ 0, 2, false ], null ], "\"acl\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid JOIN venue AS t4 ON t4.venueid = t3.venueid WHERE t1.keyphrasename = \"Parsing\" AND t3.year = 2012 AND t4.venuename = \"acl\";", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t1", "ON", "t2.keyphraseid", "=", "t1.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "JOIN", "venue", "AS", "t4", "ON", "t4.venueid", "=", "t3.venueid", "WHERE", "t1.keyphrasename", "=", "``", "Parsing", "''", "AND", "t3.year", "=", "2012", "AND", "t4.venuename", "=", "``", "acl", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t1", "on", "t2", ".", "keyphraseid", "=", "t1", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "join", "venue", "as", "t4", "on", "t4", ".", "venueid", "=", "t3", ".", "venueid", "where", "t1", ".", "keyphrasename", "=", "value", "and", "t3", ".", "year", "=", "value", "and", "t4", ".", "venuename", "=", "value" ], "question": "Quais artigos foram publicados na acl em 2012 sobre Parsing?", "question_toks": [ "Quais", "artigos", "foram", "publicados", "na", "acl", "em", "2012", "sobre", "Parsing", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ], "and", [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"Parsing\"", null ], "and", [ false, 2, [ 0, [ 0, 14, false ], null ], 2012.0, null ], "and", [ false, 2, [ 0, [ 0, 2, false ], null ], "\"acl\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid JOIN venue AS t4 ON t4.venueid = t3.venueid WHERE t1.keyphrasename = \"Parsing\" AND t3.year = 2012 AND t4.venuename = \"acl\";", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t1", "ON", "t2.keyphraseid", "=", "t1.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "JOIN", "venue", "AS", "t4", "ON", "t4.venueid", "=", "t3.venueid", "WHERE", "t1.keyphrasename", "=", "``", "Parsing", "''", "AND", "t3.year", "=", "2012", "AND", "t4.venuename", "=", "``", "acl", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t1", "on", "t2", ".", "keyphraseid", "=", "t1", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "join", "venue", "as", "t4", "on", "t4", ".", "venueid", "=", "t3", ".", "venueid", "where", "t1", ".", "keyphrasename", "=", "value", "and", "t3", ".", "year", "=", "value", "and", "t4", ".", "venuename", "=", "value" ], "question": "artigos sobre análise foram publicados na acl em 2012", "question_toks": [ "artigos", "sobre", "análise", "foram", "publicados", "na", "acl", "em", "2012" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ], "and", [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"Parsing\"", null ], "and", [ false, 2, [ 0, [ 0, 14, false ], null ], 2012.0, null ], "and", [ false, 2, [ 0, [ 0, 2, false ], null ], "\"acl\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid JOIN venue AS t4 ON t4.venueid = t3.venueid WHERE t1.keyphrasename = \"Parsing\" AND t3.year = 2012 AND t4.venuename = \"acl\";", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t1", "ON", "t2.keyphraseid", "=", "t1.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "JOIN", "venue", "AS", "t4", "ON", "t4.venueid", "=", "t3.venueid", "WHERE", "t1.keyphrasename", "=", "``", "Parsing", "''", "AND", "t3.year", "=", "2012", "AND", "t4.venuename", "=", "``", "acl", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t1", "on", "t2", ".", "keyphraseid", "=", "t1", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "join", "venue", "as", "t4", "on", "t4", ".", "venueid", "=", "t3", ".", "venueid", "where", "t1", ".", "keyphrasename", "=", "value", "and", "t3", ".", "year", "=", "value", "and", "t4", ".", "venuename", "=", "value" ], "question": "quantos papéis de análise acl 2012 teve?", "question_toks": [ "quantos", "papéis", "de", "análise", "acl", "2012", "teve", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ], "and", [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"Parsing\"", null ], "and", [ false, 2, [ 0, [ 0, 14, false ], null ], 2012.0, null ], "and", [ false, 2, [ 0, [ 0, 2, false ], null ], "\"acl\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid JOIN venue AS t4 ON t4.venueid = t3.venueid WHERE t1.keyphrasename = \"Parsing\" AND t3.year = 2012 AND t4.venuename = \"acl\";", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t1", "ON", "t2.keyphraseid", "=", "t1.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "JOIN", "venue", "AS", "t4", "ON", "t4.venueid", "=", "t3.venueid", "WHERE", "t1.keyphrasename", "=", "``", "Parsing", "''", "AND", "t3.year", "=", "2012", "AND", "t4.venuename", "=", "``", "acl", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t1", "on", "t2", ".", "keyphraseid", "=", "t1", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "join", "venue", "as", "t4", "on", "t4", ".", "venueid", "=", "t3", ".", "venueid", "where", "t1", ".", "keyphrasename", "=", "value", "and", "t3", ".", "year", "=", "value", "and", "t4", ".", "venuename", "=", "value" ], "question": "que publicou artigos de análise na acl 2012", "question_toks": [ "que", "publicou", "artigos", "de", "análise", "na", "acl", "2012" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ], "and", [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"Parsing\"", null ], "and", [ false, 2, [ 0, [ 0, 14, false ], null ], 2012.0, null ], "and", [ false, 2, [ 0, [ 0, 2, false ], null ], "\"acl\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid JOIN venue AS t4 ON t4.venueid = t3.venueid WHERE t1.keyphrasename = \"Parsing\" AND t3.year = 2012 AND t4.venuename = \"acl\";", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t1", "ON", "t2.keyphraseid", "=", "t1.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "JOIN", "venue", "AS", "t4", "ON", "t4.venueid", "=", "t3.venueid", "WHERE", "t1.keyphrasename", "=", "``", "Parsing", "''", "AND", "t3.year", "=", "2012", "AND", "t4.venuename", "=", "``", "acl", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t1", "on", "t2", ".", "keyphraseid", "=", "t1", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "join", "venue", "as", "t4", "on", "t4", ".", "venueid", "=", "t3", ".", "venueid", "where", "t1", ".", "keyphrasename", "=", "value", "and", "t3", ".", "year", "=", "value", "and", "t4", ".", "venuename", "=", "value" ], "question": "quais papéis em ACL 2012 tinham Parsing?", "question_toks": [ "quais", "papéis", "em", "ACL", "2012", "tinham", "Parsing", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ], "and", [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"Parsing\"", null ], "and", [ false, 2, [ 0, [ 0, 14, false ], null ], 2012.0, null ], "and", [ false, 2, [ 0, [ 0, 2, false ], null ], "\"acl\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid JOIN venue AS t4 ON t4.venueid = t3.venueid WHERE t1.keyphrasename = \"Parsing\" AND t3.year = 2012 AND t4.venuename = \"acl\";", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t1", "ON", "t2.keyphraseid", "=", "t1.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "JOIN", "venue", "AS", "t4", "ON", "t4.venueid", "=", "t3.venueid", "WHERE", "t1.keyphrasename", "=", "``", "Parsing", "''", "AND", "t3.year", "=", "2012", "AND", "t4.venuename", "=", "``", "acl", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t1", "on", "t2", ".", "keyphraseid", "=", "t1", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "join", "venue", "as", "t4", "on", "t4", ".", "venueid", "=", "t3", ".", "venueid", "where", "t1", ".", "keyphrasename", "=", "value", "and", "t3", ".", "year", "=", "value", "and", "t4", ".", "venuename", "=", "value" ], "question": "quais foram alguns artigos baseados em análise em acl 2012?", "question_toks": [ "quais", "foram", "alguns", "artigos", "baseados", "em", "análise", "em", "acl", "2012", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ], "and", [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"Parsing\"", null ], "and", [ false, 2, [ 0, [ 0, 14, false ], null ], 2012.0, null ], "and", [ false, 2, [ 0, [ 0, 2, false ], null ], "\"acl\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid WHERE t1.keyphrasename = \"dependent types\";", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t1", "ON", "t2.keyphraseid", "=", "t1.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "WHERE", "t1.keyphrasename", "=", "``", "dependent", "types", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t1", "on", "t2", ".", "keyphraseid", "=", "t1", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "where", "t1", ".", "keyphrasename", "=", "value" ], "question": "Liste as publicações populares sobre os tipos dependentes", "question_toks": [ "Liste", "as", "publicações", "populares", "sobre", "os", "tipos", "dependentes" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"dependent types\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid WHERE t1.keyphrasename = \"dependent types\";", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t1", "ON", "t2.keyphraseid", "=", "t1.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "WHERE", "t1.keyphrasename", "=", "``", "dependent", "types", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t1", "on", "t2", ".", "keyphraseid", "=", "t1", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "where", "t1", ".", "keyphrasename", "=", "value" ], "question": "Que artigo devo ler sobre os tipos dependentes?", "question_toks": [ "Que", "artigo", "devo", "ler", "sobre", "os", "tipos", "dependentes", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"dependent types\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid WHERE t1.keyphrasename = \"dependent types\";", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t1", "ON", "t2.keyphraseid", "=", "t1.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "WHERE", "t1.keyphrasename", "=", "``", "dependent", "types", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t1", "on", "t2", ".", "keyphraseid", "=", "t1", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "where", "t1", ".", "keyphrasename", "=", "value" ], "question": "principais tipos dependentes de papéis", "question_toks": [ "principais", "tipos", "dependentes", "de", "papéis" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"dependent types\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid WHERE t1.keyphrasename = \"Question Answering\";", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t1", "ON", "t2.keyphraseid", "=", "t1.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "WHERE", "t1.keyphrasename", "=", "``", "Question", "Answering", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t1", "on", "t2", ".", "keyphraseid", "=", "t1", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "where", "t1", ".", "keyphrasename", "=", "value" ], "question": "Liste os papéis que têm uma palavra-chave para responder a perguntas", "question_toks": [ "Liste", "os", "papéis", "que", "têm", "uma", "palavra-chave", "para", "responder", "a", "perguntas" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"Question Answering\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid WHERE t1.keyphrasename = \"Question Answering\";", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t1", "ON", "t2.keyphraseid", "=", "t1.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "WHERE", "t1.keyphrasename", "=", "``", "Question", "Answering", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t1", "on", "t2", ".", "keyphraseid", "=", "t1", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "where", "t1", ".", "keyphrasename", "=", "value" ], "question": "Artigos de pesquisa de resposta a perguntas", "question_toks": [ "Artigos", "de", "pesquisa", "de", "resposta", "a", "perguntas" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"Question Answering\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid WHERE t1.keyphrasename = \"Question Answering\";", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t1", "ON", "t2.keyphraseid", "=", "t1.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "WHERE", "t1.keyphrasename", "=", "``", "Question", "Answering", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t1", "on", "t2", ".", "keyphraseid", "=", "t1", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "where", "t1", ".", "keyphrasename", "=", "value" ], "question": "documentos sobre resposta a perguntas", "question_toks": [ "documentos", "sobre", "resposta", "a", "perguntas" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"Question Answering\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid WHERE t1.keyphrasename = \"Question Answering\";", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t1", "ON", "t2.keyphraseid", "=", "t1.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "WHERE", "t1.keyphrasename", "=", "``", "Question", "Answering", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t1", "on", "t2", ".", "keyphraseid", "=", "t1", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "where", "t1", ".", "keyphrasename", "=", "value" ], "question": "documentos relacionados a respostas a perguntas", "question_toks": [ "documentos", "relacionados", "a", "respostas", "a", "perguntas" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"Question Answering\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid WHERE t1.keyphrasename = \"Question Answering\";", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t1", "ON", "t2.keyphraseid", "=", "t1.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "WHERE", "t1.keyphrasename", "=", "``", "Question", "Answering", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t1", "on", "t2", ".", "keyphraseid", "=", "t1", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "where", "t1", ".", "keyphrasename", "=", "value" ], "question": "artigos sobre resposta a perguntas", "question_toks": [ "artigos", "sobre", "resposta", "a", "perguntas" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"Question Answering\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid WHERE t1.keyphrasename = \"Question Answering\";", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t1", "ON", "t2.keyphraseid", "=", "t1.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "WHERE", "t1.keyphrasename", "=", "``", "Question", "Answering", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t1", "on", "t2", ".", "keyphraseid", "=", "t1", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "where", "t1", ".", "keyphrasename", "=", "value" ], "question": "Artigos sobre como responder a perguntas", "question_toks": [ "Artigos", "sobre", "como", "responder", "a", "perguntas" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"Question Answering\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid WHERE t1.keyphrasename = \"Question Answering\";", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t1", "ON", "t2.keyphraseid", "=", "t1.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "WHERE", "t1.keyphrasename", "=", "``", "Question", "Answering", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t1", "on", "t2", ".", "keyphraseid", "=", "t1", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "where", "t1", ".", "keyphrasename", "=", "value" ], "question": "artigos publicados na área de Perguntas e Respostas", "question_toks": [ "artigos", "publicados", "na", "área", "de", "Perguntas", "e", "Respostas" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"Question Answering\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid WHERE t1.keyphrasename = \"Question Answering\";", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t1", "ON", "t2.keyphraseid", "=", "t1.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "WHERE", "t1.keyphrasename", "=", "``", "Question", "Answering", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t1", "on", "t2", ".", "keyphraseid", "=", "t1", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "where", "t1", ".", "keyphrasename", "=", "value" ], "question": "Experimentos de resposta a perguntas", "question_toks": [ "Experimentos", "de", "resposta", "a", "perguntas" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"Question Answering\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid WHERE t1.keyphrasename = \"Question Answering\";", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t1", "ON", "t2.keyphraseid", "=", "t1.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "WHERE", "t1.keyphrasename", "=", "``", "Question", "Answering", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t1", "on", "t2", ".", "keyphraseid", "=", "t1", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "where", "t1", ".", "keyphrasename", "=", "value" ], "question": "Mostre-me os papéis sobre resposta a perguntas", "question_toks": [ "Mostre-me", "os", "papéis", "sobre", "resposta", "a", "perguntas" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"Question Answering\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid WHERE t1.keyphrasename = \"Question Answering\";", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t1", "ON", "t2.keyphraseid", "=", "t1.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "WHERE", "t1.keyphrasename", "=", "``", "Question", "Answering", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t1", "on", "t2", ".", "keyphraseid", "=", "t1", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "where", "t1", ".", "keyphrasename", "=", "value" ], "question": "papéis que usaram respostas a perguntas", "question_toks": [ "papéis", "que", "usaram", "respostas", "a", "perguntas" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"Question Answering\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid WHERE t1.keyphrasename = \"Question Answering\";", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t1", "ON", "t2.keyphraseid", "=", "t1.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "WHERE", "t1.keyphrasename", "=", "``", "Question", "Answering", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t1", "on", "t2", ".", "keyphraseid", "=", "t1", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "where", "t1", ".", "keyphrasename", "=", "value" ], "question": "papéis que mencionam respostas a perguntas", "question_toks": [ "papéis", "que", "mencionam", "respostas", "a", "perguntas" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"Question Answering\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid WHERE t1.keyphrasename = \"Question Answering\";", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t1", "ON", "t2.keyphraseid", "=", "t1.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "WHERE", "t1.keyphrasename", "=", "``", "Question", "Answering", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t1", "on", "t2", ".", "keyphraseid", "=", "t1", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "where", "t1", ".", "keyphrasename", "=", "value" ], "question": "Papéis para responder a perguntas", "question_toks": [ "Papéis", "para", "responder", "a", "perguntas" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"Question Answering\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid WHERE t1.keyphrasename = \"Question Answering\";", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t1", "ON", "t2.keyphraseid", "=", "t1.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "WHERE", "t1.keyphrasename", "=", "``", "Question", "Answering", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t1", "on", "t2", ".", "keyphraseid", "=", "t1", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "where", "t1", ".", "keyphrasename", "=", "value" ], "question": "Mostre-me papéis de resposta a perguntas.", "question_toks": [ "Mostre-me", "papéis", "de", "resposta", "a", "perguntas", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"Question Answering\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid WHERE t1.keyphrasename = \"Question Answering\";", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t1", "ON", "t2.keyphraseid", "=", "t1.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "WHERE", "t1.keyphrasename", "=", "``", "Question", "Answering", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t1", "on", "t2", ".", "keyphraseid", "=", "t1", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "where", "t1", ".", "keyphrasename", "=", "value" ], "question": "Publicações de resposta a perguntas", "question_toks": [ "Publicações", "de", "resposta", "a", "perguntas" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"Question Answering\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid WHERE t1.keyphrasename = \"Question Answering\";", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t1", "ON", "t2.keyphraseid", "=", "t1.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "WHERE", "t1.keyphrasename", "=", "``", "Question", "Answering", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t1", "on", "t2", ".", "keyphraseid", "=", "t1", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "where", "t1", ".", "keyphrasename", "=", "value" ], "question": "Busque alguns papéis sobre como responder a perguntas", "question_toks": [ "Busque", "alguns", "papéis", "sobre", "como", "responder", "a", "perguntas" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"Question Answering\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid WHERE t1.keyphrasename = \"Question Answering\";", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t1", "ON", "t2.keyphraseid", "=", "t1.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "WHERE", "t1.keyphrasename", "=", "``", "Question", "Answering", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t1", "on", "t2", ".", "keyphraseid", "=", "t1", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "where", "t1", ".", "keyphrasename", "=", "value" ], "question": "artigos sobre experimentos de resposta a perguntas", "question_toks": [ "artigos", "sobre", "experimentos", "de", "resposta", "a", "perguntas" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"Question Answering\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid WHERE t1.keyphrasename = \"Question Answering\";", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t1", "ON", "t2.keyphraseid", "=", "t1.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "WHERE", "t1.keyphrasename", "=", "``", "Question", "Answering", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t1", "on", "t2", ".", "keyphraseid", "=", "t1", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "where", "t1", ".", "keyphrasename", "=", "value" ], "question": "Que jornais falam sobre resposta a perguntas?", "question_toks": [ "Que", "jornais", "falam", "sobre", "resposta", "a", "perguntas", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"Question Answering\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid WHERE t1.keyphrasename = \"Question Answering\";", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t1", "ON", "t2.keyphraseid", "=", "t1.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "WHERE", "t1.keyphrasename", "=", "``", "Question", "Answering", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t1", "on", "t2", ".", "keyphraseid", "=", "t1", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "where", "t1", ".", "keyphrasename", "=", "value" ], "question": "Qual é o artigo sobre como responder a perguntas?", "question_toks": [ "Qual", "é", "o", "artigo", "sobre", "como", "responder", "a", "perguntas", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"Question Answering\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid WHERE t1.keyphrasename = \"Question Answering\";", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t1", "ON", "t2.keyphraseid", "=", "t1.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "WHERE", "t1.keyphrasename", "=", "``", "Question", "Answering", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t1", "on", "t2", ".", "keyphraseid", "=", "t1", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "where", "t1", ".", "keyphrasename", "=", "value" ], "question": "Quais artigos tratam de respostas a perguntas?", "question_toks": [ "Quais", "artigos", "tratam", "de", "respostas", "a", "perguntas", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"Question Answering\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid WHERE t1.keyphrasename = \"Question Answering\";", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t1", "ON", "t2.keyphraseid", "=", "t1.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "WHERE", "t1.keyphrasename", "=", "``", "Question", "Answering", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t1", "on", "t2", ".", "keyphraseid", "=", "t1", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "where", "t1", ".", "keyphrasename", "=", "value" ], "question": "listar papéis que usaram respostas a perguntas", "question_toks": [ "listar", "papéis", "que", "usaram", "respostas", "a", "perguntas" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"Question Answering\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid WHERE t1.keyphrasename = \"Question Answering\";", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t1", "ON", "t2.keyphraseid", "=", "t1.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "WHERE", "t1.keyphrasename", "=", "``", "Question", "Answering", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t1", "on", "t2", ".", "keyphraseid", "=", "t1", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "where", "t1", ".", "keyphrasename", "=", "value" ], "question": "papéis para responder a perguntas", "question_toks": [ "papéis", "para", "responder", "a", "perguntas" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"Question Answering\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid WHERE t1.keyphrasename = \"Question Answering\";", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t1", "ON", "t2.keyphraseid", "=", "t1.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "WHERE", "t1.keyphrasename", "=", "``", "Question", "Answering", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t1", "on", "t2", ".", "keyphraseid", "=", "t1", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "where", "t1", ".", "keyphrasename", "=", "value" ], "question": "Liste papéis que tenham respostas de perguntas de palavras-chave", "question_toks": [ "Liste", "papéis", "que", "tenham", "respostas", "de", "perguntas", "de", "palavras-chave" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"Question Answering\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid WHERE t1.keyphrasename = \"Question Answering\";", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t1", "ON", "t2.keyphraseid", "=", "t1.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "WHERE", "t1.keyphrasename", "=", "``", "Question", "Answering", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t1", "on", "t2", ".", "keyphraseid", "=", "t1", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "where", "t1", ".", "keyphrasename", "=", "value" ], "question": "papéis com resposta a perguntas em frases-chave", "question_toks": [ "papéis", "com", "resposta", "a", "perguntas", "em", "frases-chave" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"Question Answering\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t2.keyphraseid , t3.year FROM paper AS t3 JOIN paperkeyphrase AS t2 ON t3.paperid = t2.paperid JOIN writes AS t4 ON t4.paperid = t3.paperid JOIN author AS t1 ON t4.authorid = t1.authorid WHERE t1.authorname = \"Luke S Zettlemoyer\" ORDER BY t3.year , t2.keyphraseid;", "query_toks": [ "SELECT", "DISTINCT", "t2.keyphraseid", ",", "t3.year", "FROM", "paper", "AS", "t3", "JOIN", "paperkeyphrase", "AS", "t2", "ON", "t3.paperid", "=", "t2.paperid", "JOIN", "writes", "AS", "t4", "ON", "t4.paperid", "=", "t3.paperid", "JOIN", "author", "AS", "t1", "ON", "t4.authorid", "=", "t1.authorid", "WHERE", "t1.authorname", "=", "``", "Luke", "S", "Zettlemoyer", "''", "ORDER", "BY", "t3.year", ",", "t2.keyphraseid", ";" ], "query_toks_no_value": [ "select", "distinct", "t2", ".", "keyphraseid", ",", "t3", ".", "year", "from", "paper", "as", "t3", "join", "paperkeyphrase", "as", "t2", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "join", "writes", "as", "t4", "on", "t4", ".", "paperid", "=", "t3", ".", "paperid", "join", "author", "as", "t1", "on", "t4", ".", "authorid", "=", "t1", ".", "authorid", "where", "t1", ".", "authorname", "=", "value", "order", "by", "t3", ".", "year", ",", "t2", ".", "keyphraseid" ], "question": "frases-chave usadas por Luke S Zettlemoyer para cada ano", "question_toks": [ "frases-chave", "usadas", "por", "Luke", "S", "Zettlemoyer", "para", "cada", "ano" ], "sql": { "from": { "table_units": [ [ "table_unit", 5 ], [ "table_unit", 8 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 23, false ], null ] ], [ 0, [ 0, [ 0, 14, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Luke S Zettlemoyer\"", null ] ], "groupBy": [], "having": [], "orderBy": [ "asc", [ [ 0, [ 0, 14, false ], null ], [ 0, [ 0, 23, false ], null ] ] ], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t1.keyphrasename , t3.year FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid JOIN writes AS t4 ON t4.paperid = t3.paperid JOIN author AS t5 ON t4.authorid = t5.authorid WHERE t5.authorname = \"sanjeev arora\" ORDER BY t3.year DESC;", "query_toks": [ "SELECT", "DISTINCT", "t1.keyphrasename", ",", "t3.year", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t1", "ON", "t2.keyphraseid", "=", "t1.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "JOIN", "writes", "AS", "t4", "ON", "t4.paperid", "=", "t3.paperid", "JOIN", "author", "AS", "t5", "ON", "t4.authorid", "=", "t5.authorid", "WHERE", "t5.authorname", "=", "``", "sanjeev", "arora", "''", "ORDER", "BY", "t3.year", "DESC", ";" ], "query_toks_no_value": [ "select", "distinct", "t1", ".", "keyphrasename", ",", "t3", ".", "year", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t1", "on", "t2", ".", "keyphraseid", "=", "t1", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "join", "writes", "as", "t4", "on", "t4", ".", "paperid", "=", "t3", ".", "paperid", "join", "author", "as", "t5", "on", "t4", ".", "authorid", "=", "t5", ".", "authorid", "where", "t5", ".", "authorname", "=", "value", "order", "by", "t3", ".", "year", "desc" ], "question": "interesses de pesquisa recentes de sanjeev arora", "question_toks": [ "interesses", "de", "pesquisa", "recentes", "de", "sanjeev", "arora" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 10, false ], null ] ], [ 0, [ 0, [ 0, 14, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"sanjeev arora\"", null ] ], "groupBy": [], "having": [], "orderBy": [ "desc", [ [ 0, [ 0, 14, false ], null ] ] ], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t1.keyphrasename , t3.year FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid JOIN writes AS t4 ON t4.paperid = t3.paperid JOIN author AS t5 ON t4.authorid = t5.authorid WHERE t5.authorname = \"sanjeev arora\" ORDER BY t3.year DESC;", "query_toks": [ "SELECT", "DISTINCT", "t1.keyphrasename", ",", "t3.year", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t1", "ON", "t2.keyphraseid", "=", "t1.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "JOIN", "writes", "AS", "t4", "ON", "t4.paperid", "=", "t3.paperid", "JOIN", "author", "AS", "t5", "ON", "t4.authorid", "=", "t5.authorid", "WHERE", "t5.authorname", "=", "``", "sanjeev", "arora", "''", "ORDER", "BY", "t3.year", "DESC", ";" ], "query_toks_no_value": [ "select", "distinct", "t1", ".", "keyphrasename", ",", "t3", ".", "year", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t1", "on", "t2", ".", "keyphraseid", "=", "t1", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "join", "writes", "as", "t4", "on", "t4", ".", "paperid", "=", "t3", ".", "paperid", "join", "author", "as", "t5", "on", "t4", ".", "authorid", "=", "t5", ".", "authorid", "where", "t5", ".", "authorname", "=", "value", "order", "by", "t3", ".", "year", "desc" ], "question": "artigos recentes de sanjeev arora", "question_toks": [ "artigos", "recentes", "de", "sanjeev", "arora" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 10, false ], null ] ], [ 0, [ 0, [ 0, 14, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"sanjeev arora\"", null ] ], "groupBy": [], "having": [], "orderBy": [ "desc", [ [ 0, [ 0, 14, false ], null ] ] ], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t1.keyphrasename , t3.year FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid JOIN writes AS t4 ON t4.paperid = t3.paperid JOIN author AS t5 ON t4.authorid = t5.authorid WHERE t5.authorname = \"sanjeev arora\" ORDER BY t3.year DESC;", "query_toks": [ "SELECT", "DISTINCT", "t1.keyphrasename", ",", "t3.year", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t1", "ON", "t2.keyphraseid", "=", "t1.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "JOIN", "writes", "AS", "t4", "ON", "t4.paperid", "=", "t3.paperid", "JOIN", "author", "AS", "t5", "ON", "t4.authorid", "=", "t5.authorid", "WHERE", "t5.authorname", "=", "``", "sanjeev", "arora", "''", "ORDER", "BY", "t3.year", "DESC", ";" ], "query_toks_no_value": [ "select", "distinct", "t1", ".", "keyphrasename", ",", "t3", ".", "year", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t1", "on", "t2", ".", "keyphraseid", "=", "t1", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "join", "writes", "as", "t4", "on", "t4", ".", "paperid", "=", "t3", ".", "paperid", "join", "author", "as", "t5", "on", "t4", ".", "authorid", "=", "t5", ".", "authorid", "where", "t5", ".", "authorname", "=", "value", "order", "by", "t3", ".", "year", "desc" ], "question": "artigos recentes escritos por sanjeev arora", "question_toks": [ "artigos", "recentes", "escritos", "por", "sanjeev", "arora" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 10, false ], null ] ], [ 0, [ 0, [ 0, 14, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"sanjeev arora\"", null ] ], "groupBy": [], "having": [], "orderBy": [ "desc", [ [ 0, [ 0, 14, false ], null ] ] ], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid , t3.year FROM writes AS t2 JOIN author AS t1 ON t2.authorid = t1.authorid JOIN paper AS t3 ON t2.paperid = t3.paperid WHERE t1.authorname = \"balakrishnan prabhakaran\";", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", ",", "t3.year", "FROM", "writes", "AS", "t2", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "JOIN", "paper", "AS", "t3", "ON", "t2.paperid", "=", "t3.paperid", "WHERE", "t1.authorname", "=", "``", "balakrishnan", "prabhakaran", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", ",", "t3", ".", "year", "from", "writes", "as", "t2", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "join", "paper", "as", "t3", "on", "t2", ".", "paperid", "=", "t3", ".", "paperid", "where", "t1", ".", "authorname", "=", "value" ], "question": "lista de artigos publicados por balakrishnan prabhakaran", "question_toks": [ "lista", "de", "artigos", "publicados", "por", "balakrishnan", "prabhakaran" ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ], [ 0, [ 0, [ 0, 14, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"balakrishnan prabhakaran\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid , t3.year FROM writes AS t2 JOIN author AS t1 ON t2.authorid = t1.authorid JOIN paper AS t3 ON t2.paperid = t3.paperid WHERE t1.authorname = \"zachary tatlock\";", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", ",", "t3.year", "FROM", "writes", "AS", "t2", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "JOIN", "paper", "AS", "t3", "ON", "t2.paperid", "=", "t3.paperid", "WHERE", "t1.authorname", "=", "``", "zachary", "tatlock", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", ",", "t3", ".", "year", "from", "writes", "as", "t2", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "join", "paper", "as", "t3", "on", "t2", ".", "paperid", "=", "t3", ".", "paperid", "where", "t1", ".", "authorname", "=", "value" ], "question": "contagem de citações dos papéis de Zachary Tatlock", "question_toks": [ "contagem", "de", "citações", "dos", "papéis", "de", "Zachary", "Tatlock" ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ], [ 0, [ 0, [ 0, 14, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"zachary tatlock\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid FROM writes AS t2 JOIN author AS t1 ON t2.authorid = t1.authorid JOIN paper AS t3 ON t2.paperid = t3.paperid WHERE t1.authorname = \"subhasis chaudhuri\";", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", "FROM", "writes", "AS", "t2", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "JOIN", "paper", "AS", "t3", "ON", "t2.paperid", "=", "t3.paperid", "WHERE", "t1.authorname", "=", "``", "subhasis", "chaudhuri", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", "from", "writes", "as", "t2", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "join", "paper", "as", "t3", "on", "t2", ".", "paperid", "=", "t3", ".", "paperid", "where", "t1", ".", "authorname", "=", "value" ], "question": "subhasis chaudhuri", "question_toks": [ "subhasis", "chaudhuri" ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"subhasis chaudhuri\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid FROM writes AS t2 JOIN author AS t1 ON t2.authorid = t1.authorid JOIN paper AS t3 ON t2.paperid = t3.paperid WHERE t1.authorname = \"subhasis chaudhuri\";", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", "FROM", "writes", "AS", "t2", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "JOIN", "paper", "AS", "t3", "ON", "t2.paperid", "=", "t3.paperid", "WHERE", "t1.authorname", "=", "``", "subhasis", "chaudhuri", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", "from", "writes", "as", "t2", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "join", "paper", "as", "t3", "on", "t2", ".", "paperid", "=", "t3", ".", "paperid", "where", "t1", ".", "authorname", "=", "value" ], "question": "listar papéis por subhasis chaudhuri", "question_toks": [ "listar", "papéis", "por", "subhasis", "chaudhuri" ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"subhasis chaudhuri\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid FROM writes AS t2 JOIN author AS t1 ON t2.authorid = t1.authorid JOIN paper AS t3 ON t2.paperid = t3.paperid WHERE t1.authorname = \"subhasis chaudhuri\";", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", "FROM", "writes", "AS", "t2", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "JOIN", "paper", "AS", "t3", "ON", "t2.paperid", "=", "t3.paperid", "WHERE", "t1.authorname", "=", "``", "subhasis", "chaudhuri", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", "from", "writes", "as", "t2", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "join", "paper", "as", "t3", "on", "t2", ".", "paperid", "=", "t3", ".", "paperid", "where", "t1", ".", "authorname", "=", "value" ], "question": "Lista de artigos por subhasis chaudhuri", "question_toks": [ "Lista", "de", "artigos", "por", "subhasis", "chaudhuri" ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"subhasis chaudhuri\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid FROM writes AS t2 JOIN author AS t1 ON t2.authorid = t1.authorid JOIN paper AS t3 ON t2.paperid = t3.paperid WHERE t1.authorname = \"subhasis chaudhuri\";", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", "FROM", "writes", "AS", "t2", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "JOIN", "paper", "AS", "t3", "ON", "t2.paperid", "=", "t3.paperid", "WHERE", "t1.authorname", "=", "``", "subhasis", "chaudhuri", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", "from", "writes", "as", "t2", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "join", "paper", "as", "t3", "on", "t2", ".", "paperid", "=", "t3", ".", "paperid", "where", "t1", ".", "authorname", "=", "value" ], "question": "documentos de conferência de subhasis chaudhuri", "question_toks": [ "documentos", "de", "conferência", "de", "subhasis", "chaudhuri" ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"subhasis chaudhuri\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT COUNT ( t3.paperid ) FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid JOIN venue AS t4 ON t4.venueid = t3.venueid WHERE t1.keyphrasename = \"parsing\" AND t3.year = 2014 AND t4.venuename = \"ACL\";", "query_toks": [ "SELECT", "DISTINCT", "COUNT", "(", "t3.paperid", ")", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t1", "ON", "t2.keyphraseid", "=", "t1.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "JOIN", "venue", "AS", "t4", "ON", "t4.venueid", "=", "t3.venueid", "WHERE", "t1.keyphrasename", "=", "``", "parsing", "''", "AND", "t3.year", "=", "2014", "AND", "t4.venuename", "=", "``", "ACL", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "count", "(", "t3", ".", "paperid", ")", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t1", "on", "t2", ".", "keyphraseid", "=", "t1", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "join", "venue", "as", "t4", "on", "t4", ".", "venueid", "=", "t3", ".", "venueid", "where", "t1", ".", "keyphrasename", "=", "value", "and", "t3", ".", "year", "=", "value", "and", "t4", ".", "venuename", "=", "value" ], "question": "quantos papéis de análise em ACL 2014", "question_toks": [ "quantos", "papéis", "de", "análise", "em", "ACL", "2014" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ], "and", [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ] ] }, "select": [ true, [ [ 3, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"parsing\"", null ], "and", [ false, 2, [ 0, [ 0, 14, false ], null ], 2014.0, null ], "and", [ false, 2, [ 0, [ 0, 2, false ], null ], "\"ACL\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT COUNT ( t3.paperid ) FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid JOIN venue AS t4 ON t4.venueid = t3.venueid WHERE t1.keyphrasename = \"parsing\" AND t3.year = 2014 AND t4.venuename = \"ACL\";", "query_toks": [ "SELECT", "DISTINCT", "COUNT", "(", "t3.paperid", ")", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t1", "ON", "t2.keyphraseid", "=", "t1.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "JOIN", "venue", "AS", "t4", "ON", "t4.venueid", "=", "t3.venueid", "WHERE", "t1.keyphrasename", "=", "``", "parsing", "''", "AND", "t3.year", "=", "2014", "AND", "t4.venuename", "=", "``", "ACL", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "count", "(", "t3", ".", "paperid", ")", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t1", "on", "t2", ".", "keyphraseid", "=", "t1", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "join", "venue", "as", "t4", "on", "t4", ".", "venueid", "=", "t3", ".", "venueid", "where", "t1", ".", "keyphrasename", "=", "value", "and", "t3", ".", "year", "=", "value", "and", "t4", ".", "venuename", "=", "value" ], "question": "quantos papéis de análise apareceram no processo de ACL 2014?", "question_toks": [ "quantos", "papéis", "de", "análise", "apareceram", "no", "processo", "de", "ACL", "2014", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ], "and", [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ] ] }, "select": [ true, [ [ 3, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"parsing\"", null ], "and", [ false, 2, [ 0, [ 0, 14, false ], null ], 2014.0, null ], "and", [ false, 2, [ 0, [ 0, 2, false ], null ], "\"ACL\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT COUNT ( t3.paperid ) FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid JOIN venue AS t4 ON t4.venueid = t3.venueid WHERE t1.keyphrasename = \"parsing\" AND t3.year = 2014 AND t4.venuename = \"ACL\";", "query_toks": [ "SELECT", "DISTINCT", "COUNT", "(", "t3.paperid", ")", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t1", "ON", "t2.keyphraseid", "=", "t1.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "JOIN", "venue", "AS", "t4", "ON", "t4.venueid", "=", "t3.venueid", "WHERE", "t1.keyphrasename", "=", "``", "parsing", "''", "AND", "t3.year", "=", "2014", "AND", "t4.venuename", "=", "``", "ACL", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "count", "(", "t3", ".", "paperid", ")", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t1", "on", "t2", ".", "keyphraseid", "=", "t1", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "join", "venue", "as", "t4", "on", "t4", ".", "venueid", "=", "t3", ".", "venueid", "where", "t1", ".", "keyphrasename", "=", "value", "and", "t3", ".", "year", "=", "value", "and", "t4", ".", "venuename", "=", "value" ], "question": "quantos papéis de análise foram publicados no ACL 2014?", "question_toks": [ "quantos", "papéis", "de", "análise", "foram", "publicados", "no", "ACL", "2014", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ], "and", [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ] ] }, "select": [ true, [ [ 3, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"parsing\"", null ], "and", [ false, 2, [ 0, [ 0, 14, false ], null ], 2014.0, null ], "and", [ false, 2, [ 0, [ 0, 2, false ], null ], "\"ACL\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t1.authorid , t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t5 ON t2.keyphraseid = t5.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid JOIN writes AS t4 ON t4.paperid = t3.paperid JOIN author AS t1 ON t4.authorid = t1.authorid WHERE t1.authorname = \"brian curless\" AND t5.keyphrasename = \"convolution\";", "query_toks": [ "SELECT", "DISTINCT", "t1.authorid", ",", "t3.paperid", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t5", "ON", "t2.keyphraseid", "=", "t5.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "JOIN", "writes", "AS", "t4", "ON", "t4.paperid", "=", "t3.paperid", "JOIN", "author", "AS", "t1", "ON", "t4.authorid", "=", "t1.authorid", "WHERE", "t1.authorname", "=", "``", "brian", "curless", "''", "AND", "t5.keyphrasename", "=", "``", "convolution", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t1", ".", "authorid", ",", "t3", ".", "paperid", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t5", "on", "t2", ".", "keyphraseid", "=", "t5", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "join", "writes", "as", "t4", "on", "t4", ".", "paperid", "=", "t3", ".", "paperid", "join", "author", "as", "t1", "on", "t4", ".", "authorid", "=", "t1", ".", "authorid", "where", "t1", ".", "authorname", "=", "value", "and", "t5", ".", "keyphrasename", "=", "value" ], "question": "papel de convolução brian curless", "question_toks": [ "papel", "de", "convolução", "brian", "curless" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 3, false ], null ] ], [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"brian curless\"", null ], "and", [ false, 2, [ 0, [ 0, 10, false ], null ], "\"convolution\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t1.authorid , t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t5 ON t2.keyphraseid = t5.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid JOIN writes AS t4 ON t4.paperid = t3.paperid JOIN author AS t1 ON t4.authorid = t1.authorid WHERE t1.authorname = \"brian curless\" AND t5.keyphrasename = \"convolution\";", "query_toks": [ "SELECT", "DISTINCT", "t1.authorid", ",", "t3.paperid", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t5", "ON", "t2.keyphraseid", "=", "t5.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "JOIN", "writes", "AS", "t4", "ON", "t4.paperid", "=", "t3.paperid", "JOIN", "author", "AS", "t1", "ON", "t4.authorid", "=", "t1.authorid", "WHERE", "t1.authorname", "=", "``", "brian", "curless", "''", "AND", "t5.keyphrasename", "=", "``", "convolution", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t1", ".", "authorid", ",", "t3", ".", "paperid", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t5", "on", "t2", ".", "keyphraseid", "=", "t5", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "join", "writes", "as", "t4", "on", "t4", ".", "paperid", "=", "t3", ".", "paperid", "join", "author", "as", "t1", "on", "t4", ".", "authorid", "=", "t1", ".", "authorid", "where", "t1", ".", "authorname", "=", "value", "and", "t5", ".", "keyphrasename", "=", "value" ], "question": "convolução por brian curless", "question_toks": [ "convolução", "por", "brian", "curless" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 3, false ], null ] ], [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"brian curless\"", null ], "and", [ false, 2, [ 0, [ 0, 10, false ], null ], "\"convolution\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t1.authorid , t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t5 ON t2.keyphraseid = t5.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid JOIN writes AS t4 ON t4.paperid = t3.paperid JOIN author AS t1 ON t4.authorid = t1.authorid WHERE t1.authorname = \"brian curless\" AND t5.keyphrasename = \"convolution\";", "query_toks": [ "SELECT", "DISTINCT", "t1.authorid", ",", "t3.paperid", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t5", "ON", "t2.keyphraseid", "=", "t5.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "JOIN", "writes", "AS", "t4", "ON", "t4.paperid", "=", "t3.paperid", "JOIN", "author", "AS", "t1", "ON", "t4.authorid", "=", "t1.authorid", "WHERE", "t1.authorname", "=", "``", "brian", "curless", "''", "AND", "t5.keyphrasename", "=", "``", "convolution", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t1", ".", "authorid", ",", "t3", ".", "paperid", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t5", "on", "t2", ".", "keyphraseid", "=", "t5", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "join", "writes", "as", "t4", "on", "t4", ".", "paperid", "=", "t3", ".", "paperid", "join", "author", "as", "t1", "on", "t4", ".", "authorid", "=", "t1", ".", "authorid", "where", "t1", ".", "authorname", "=", "value", "and", "t5", ".", "keyphrasename", "=", "value" ], "question": "artigos de brian curless sobre convolução", "question_toks": [ "artigos", "de", "brian", "curless", "sobre", "convolução" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 3, false ], null ] ], [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"brian curless\"", null ], "and", [ false, 2, [ 0, [ 0, 10, false ], null ], "\"convolution\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t1.authorid , t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t5 ON t2.keyphraseid = t5.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid JOIN writes AS t4 ON t4.paperid = t3.paperid JOIN author AS t1 ON t4.authorid = t1.authorid WHERE t1.authorname = \"brian curless\" AND t5.keyphrasename = \"convolution\";", "query_toks": [ "SELECT", "DISTINCT", "t1.authorid", ",", "t3.paperid", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t5", "ON", "t2.keyphraseid", "=", "t5.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "JOIN", "writes", "AS", "t4", "ON", "t4.paperid", "=", "t3.paperid", "JOIN", "author", "AS", "t1", "ON", "t4.authorid", "=", "t1.authorid", "WHERE", "t1.authorname", "=", "``", "brian", "curless", "''", "AND", "t5.keyphrasename", "=", "``", "convolution", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t1", ".", "authorid", ",", "t3", ".", "paperid", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t5", "on", "t2", ".", "keyphraseid", "=", "t5", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "join", "writes", "as", "t4", "on", "t4", ".", "paperid", "=", "t3", ".", "paperid", "join", "author", "as", "t1", "on", "t4", ".", "authorid", "=", "t1", ".", "authorid", "where", "t1", ".", "authorname", "=", "value", "and", "t5", ".", "keyphrasename", "=", "value" ], "question": "artigo de Brian Curless sobre convolução", "question_toks": [ "artigo", "de", "Brian", "Curless", "sobre", "convolução" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 3, false ], null ] ], [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"brian curless\"", null ], "and", [ false, 2, [ 0, [ 0, 10, false ], null ], "\"convolution\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t1.authorid , t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t5 ON t2.keyphraseid = t5.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid JOIN writes AS t4 ON t4.paperid = t3.paperid JOIN author AS t1 ON t4.authorid = t1.authorid WHERE t1.authorname = \"brian curless\" AND t5.keyphrasename = \"convolution\";", "query_toks": [ "SELECT", "DISTINCT", "t1.authorid", ",", "t3.paperid", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t5", "ON", "t2.keyphraseid", "=", "t5.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "JOIN", "writes", "AS", "t4", "ON", "t4.paperid", "=", "t3.paperid", "JOIN", "author", "AS", "t1", "ON", "t4.authorid", "=", "t1.authorid", "WHERE", "t1.authorname", "=", "``", "brian", "curless", "''", "AND", "t5.keyphrasename", "=", "``", "convolution", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t1", ".", "authorid", ",", "t3", ".", "paperid", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t5", "on", "t2", ".", "keyphraseid", "=", "t5", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "join", "writes", "as", "t4", "on", "t4", ".", "paperid", "=", "t3", ".", "paperid", "join", "author", "as", "t1", "on", "t4", ".", "authorid", "=", "t1", ".", "authorid", "where", "t1", ".", "authorname", "=", "value", "and", "t5", ".", "keyphrasename", "=", "value" ], "question": "Quais são os papéis de brian curless em convolução?", "question_toks": [ "Quais", "são", "os", "papéis", "de", "brian", "curless", "em", "convolução", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 3, false ], null ] ], [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"brian curless\"", null ], "and", [ false, 2, [ 0, [ 0, 10, false ], null ], "\"convolution\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t1.authorid , t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t5 ON t2.keyphraseid = t5.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid JOIN writes AS t4 ON t4.paperid = t3.paperid JOIN author AS t1 ON t4.authorid = t1.authorid WHERE t1.authorname = \"brian curless\" AND t5.keyphrasename = \"convolution\";", "query_toks": [ "SELECT", "DISTINCT", "t1.authorid", ",", "t3.paperid", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t5", "ON", "t2.keyphraseid", "=", "t5.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "JOIN", "writes", "AS", "t4", "ON", "t4.paperid", "=", "t3.paperid", "JOIN", "author", "AS", "t1", "ON", "t4.authorid", "=", "t1.authorid", "WHERE", "t1.authorname", "=", "``", "brian", "curless", "''", "AND", "t5.keyphrasename", "=", "``", "convolution", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t1", ".", "authorid", ",", "t3", ".", "paperid", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t5", "on", "t2", ".", "keyphraseid", "=", "t5", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "join", "writes", "as", "t4", "on", "t4", ".", "paperid", "=", "t3", ".", "paperid", "join", "author", "as", "t1", "on", "t4", ".", "authorid", "=", "t1", ".", "authorid", "where", "t1", ".", "authorname", "=", "value", "and", "t5", ".", "keyphrasename", "=", "value" ], "question": "papéis brian curless escreveu sobre convolução", "question_toks": [ "papéis", "brian", "curless", "escreveu", "sobre", "convolução" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 3, false ], null ] ], [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"brian curless\"", null ], "and", [ false, 2, [ 0, [ 0, 10, false ], null ], "\"convolution\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t1.authorid , t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t5 ON t2.keyphraseid = t5.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid JOIN writes AS t4 ON t4.paperid = t3.paperid JOIN author AS t1 ON t4.authorid = t1.authorid WHERE t1.authorname = \"brian curless\" AND t5.keyphrasename = \"convolution\";", "query_toks": [ "SELECT", "DISTINCT", "t1.authorid", ",", "t3.paperid", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t5", "ON", "t2.keyphraseid", "=", "t5.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "JOIN", "writes", "AS", "t4", "ON", "t4.paperid", "=", "t3.paperid", "JOIN", "author", "AS", "t1", "ON", "t4.authorid", "=", "t1.authorid", "WHERE", "t1.authorname", "=", "``", "brian", "curless", "''", "AND", "t5.keyphrasename", "=", "``", "convolution", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t1", ".", "authorid", ",", "t3", ".", "paperid", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t5", "on", "t2", ".", "keyphraseid", "=", "t5", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "join", "writes", "as", "t4", "on", "t4", ".", "paperid", "=", "t3", ".", "paperid", "join", "author", "as", "t1", "on", "t4", ".", "authorid", "=", "t1", ".", "authorid", "where", "t1", ".", "authorname", "=", "value", "and", "t5", ".", "keyphrasename", "=", "value" ], "question": "artigos de Brian Curless sobre convolução", "question_toks": [ "artigos", "de", "Brian", "Curless", "sobre", "convolução" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 3, false ], null ] ], [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"brian curless\"", null ], "and", [ false, 2, [ 0, [ 0, 10, false ], null ], "\"convolution\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t1.authorid , t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t5 ON t2.keyphraseid = t5.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid JOIN writes AS t4 ON t4.paperid = t3.paperid JOIN author AS t1 ON t4.authorid = t1.authorid WHERE t1.authorname = \"brian curless\" AND t5.keyphrasename = \"convolution\";", "query_toks": [ "SELECT", "DISTINCT", "t1.authorid", ",", "t3.paperid", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t5", "ON", "t2.keyphraseid", "=", "t5.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "JOIN", "writes", "AS", "t4", "ON", "t4.paperid", "=", "t3.paperid", "JOIN", "author", "AS", "t1", "ON", "t4.authorid", "=", "t1.authorid", "WHERE", "t1.authorname", "=", "``", "brian", "curless", "''", "AND", "t5.keyphrasename", "=", "``", "convolution", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t1", ".", "authorid", ",", "t3", ".", "paperid", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t5", "on", "t2", ".", "keyphraseid", "=", "t5", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "join", "writes", "as", "t4", "on", "t4", ".", "paperid", "=", "t3", ".", "paperid", "join", "author", "as", "t1", "on", "t4", ".", "authorid", "=", "t1", ".", "authorid", "where", "t1", ".", "authorname", "=", "value", "and", "t5", ".", "keyphrasename", "=", "value" ], "question": "Qual é o artigo sobre convolução de brian curless?", "question_toks": [ "Qual", "é", "o", "artigo", "sobre", "convolução", "de", "brian", "curless", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 3, false ], null ] ], [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"brian curless\"", null ], "and", [ false, 2, [ 0, [ 0, 10, false ], null ], "\"convolution\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t1.authorid , t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t5 ON t2.keyphraseid = t5.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid JOIN writes AS t4 ON t4.paperid = t3.paperid JOIN author AS t1 ON t4.authorid = t1.authorid WHERE t1.authorname = \"brian curless\" AND t5.keyphrasename = \"convolution\";", "query_toks": [ "SELECT", "DISTINCT", "t1.authorid", ",", "t3.paperid", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t5", "ON", "t2.keyphraseid", "=", "t5.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "JOIN", "writes", "AS", "t4", "ON", "t4.paperid", "=", "t3.paperid", "JOIN", "author", "AS", "t1", "ON", "t4.authorid", "=", "t1.authorid", "WHERE", "t1.authorname", "=", "``", "brian", "curless", "''", "AND", "t5.keyphrasename", "=", "``", "convolution", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t1", ".", "authorid", ",", "t3", ".", "paperid", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t5", "on", "t2", ".", "keyphraseid", "=", "t5", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "join", "writes", "as", "t4", "on", "t4", ".", "paperid", "=", "t3", ".", "paperid", "join", "author", "as", "t1", "on", "t4", ".", "authorid", "=", "t1", ".", "authorid", "where", "t1", ".", "authorname", "=", "value", "and", "t5", ".", "keyphrasename", "=", "value" ], "question": "artigos de brian curless no tópico convolução", "question_toks": [ "artigos", "de", "brian", "curless", "no", "tópico", "convolução" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 3, false ], null ] ], [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"brian curless\"", null ], "and", [ false, 2, [ 0, [ 0, 10, false ], null ], "\"convolution\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t1.authorid , t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t5 ON t2.keyphraseid = t5.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid JOIN writes AS t4 ON t4.paperid = t3.paperid JOIN author AS t1 ON t4.authorid = t1.authorid WHERE t1.authorname = \"brian curless\" AND t5.keyphrasename = \"convolution\";", "query_toks": [ "SELECT", "DISTINCT", "t1.authorid", ",", "t3.paperid", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t5", "ON", "t2.keyphraseid", "=", "t5.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "JOIN", "writes", "AS", "t4", "ON", "t4.paperid", "=", "t3.paperid", "JOIN", "author", "AS", "t1", "ON", "t4.authorid", "=", "t1.authorid", "WHERE", "t1.authorname", "=", "``", "brian", "curless", "''", "AND", "t5.keyphrasename", "=", "``", "convolution", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t1", ".", "authorid", ",", "t3", ".", "paperid", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t5", "on", "t2", ".", "keyphraseid", "=", "t5", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "join", "writes", "as", "t4", "on", "t4", ".", "paperid", "=", "t3", ".", "paperid", "join", "author", "as", "t1", "on", "t4", ".", "authorid", "=", "t1", ".", "authorid", "where", "t1", ".", "authorname", "=", "value", "and", "t5", ".", "keyphrasename", "=", "value" ], "question": "Eu quero os artigos sobre a frase-chave0 de brian curless", "question_toks": [ "Eu", "quero", "os", "artigos", "sobre", "a", "frase-chave0", "de", "brian", "curless" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 3, false ], null ] ], [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"brian curless\"", null ], "and", [ false, 2, [ 0, [ 0, 10, false ], null ], "\"convolution\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t1.authorid , t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t5 ON t2.keyphraseid = t5.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid JOIN writes AS t4 ON t4.paperid = t3.paperid JOIN author AS t1 ON t4.authorid = t1.authorid WHERE t1.authorname = \"brian curless\" AND t5.keyphrasename = \"convolution\";", "query_toks": [ "SELECT", "DISTINCT", "t1.authorid", ",", "t3.paperid", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t5", "ON", "t2.keyphraseid", "=", "t5.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "JOIN", "writes", "AS", "t4", "ON", "t4.paperid", "=", "t3.paperid", "JOIN", "author", "AS", "t1", "ON", "t4.authorid", "=", "t1.authorid", "WHERE", "t1.authorname", "=", "``", "brian", "curless", "''", "AND", "t5.keyphrasename", "=", "``", "convolution", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t1", ".", "authorid", ",", "t3", ".", "paperid", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t5", "on", "t2", ".", "keyphraseid", "=", "t5", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "join", "writes", "as", "t4", "on", "t4", ".", "paperid", "=", "t3", ".", "paperid", "join", "author", "as", "t1", "on", "t4", ".", "authorid", "=", "t1", ".", "authorid", "where", "t1", ".", "authorname", "=", "value", "and", "t5", ".", "keyphrasename", "=", "value" ], "question": "papéis de convolução de brian curless", "question_toks": [ "papéis", "de", "convolução", "de", "brian", "curless" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 3, false ], null ] ], [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"brian curless\"", null ], "and", [ false, 2, [ 0, [ 0, 10, false ], null ], "\"convolution\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t1.authorid , t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t5 ON t2.keyphraseid = t5.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid JOIN writes AS t4 ON t4.paperid = t3.paperid JOIN author AS t1 ON t4.authorid = t1.authorid WHERE t1.authorname = \"brian curless\" AND t5.keyphrasename = \"convolution\";", "query_toks": [ "SELECT", "DISTINCT", "t1.authorid", ",", "t3.paperid", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t5", "ON", "t2.keyphraseid", "=", "t5.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "JOIN", "writes", "AS", "t4", "ON", "t4.paperid", "=", "t3.paperid", "JOIN", "author", "AS", "t1", "ON", "t4.authorid", "=", "t1.authorid", "WHERE", "t1.authorname", "=", "``", "brian", "curless", "''", "AND", "t5.keyphrasename", "=", "``", "convolution", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t1", ".", "authorid", ",", "t3", ".", "paperid", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t5", "on", "t2", ".", "keyphraseid", "=", "t5", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "join", "writes", "as", "t4", "on", "t4", ".", "paperid", "=", "t3", ".", "paperid", "join", "author", "as", "t1", "on", "t4", ".", "authorid", "=", "t1", ".", "authorid", "where", "t1", ".", "authorname", "=", "value", "and", "t5", ".", "keyphrasename", "=", "value" ], "question": "Que papéis brian curless escreveu sobre convolução?", "question_toks": [ "Que", "papéis", "brian", "curless", "escreveu", "sobre", "convolução", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 3, false ], null ] ], [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"brian curless\"", null ], "and", [ false, 2, [ 0, [ 0, 10, false ], null ], "\"convolution\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t1.authorid , t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t5 ON t2.keyphraseid = t5.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid JOIN writes AS t4 ON t4.paperid = t3.paperid JOIN author AS t1 ON t4.authorid = t1.authorid WHERE t1.authorname = \"brian curless\" AND t5.keyphrasename = \"convolution\";", "query_toks": [ "SELECT", "DISTINCT", "t1.authorid", ",", "t3.paperid", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t5", "ON", "t2.keyphraseid", "=", "t5.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "JOIN", "writes", "AS", "t4", "ON", "t4.paperid", "=", "t3.paperid", "JOIN", "author", "AS", "t1", "ON", "t4.authorid", "=", "t1.authorid", "WHERE", "t1.authorname", "=", "``", "brian", "curless", "''", "AND", "t5.keyphrasename", "=", "``", "convolution", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t1", ".", "authorid", ",", "t3", ".", "paperid", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t5", "on", "t2", ".", "keyphraseid", "=", "t5", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "join", "writes", "as", "t4", "on", "t4", ".", "paperid", "=", "t3", ".", "paperid", "join", "author", "as", "t1", "on", "t4", ".", "authorid", "=", "t1", ".", "authorid", "where", "t1", ".", "authorname", "=", "value", "and", "t5", ".", "keyphrasename", "=", "value" ], "question": "Que artigos brian curless escreveu sobre convolução?", "question_toks": [ "Que", "artigos", "brian", "curless", "escreveu", "sobre", "convolução", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 3, false ], null ] ], [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"brian curless\"", null ], "and", [ false, 2, [ 0, [ 0, 10, false ], null ], "\"convolution\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t1.authorid , t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t5 ON t2.keyphraseid = t5.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid JOIN writes AS t4 ON t4.paperid = t3.paperid JOIN author AS t1 ON t4.authorid = t1.authorid WHERE t1.authorname = \"brian curless\" AND t5.keyphrasename = \"convolution\";", "query_toks": [ "SELECT", "DISTINCT", "t1.authorid", ",", "t3.paperid", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t5", "ON", "t2.keyphraseid", "=", "t5.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "JOIN", "writes", "AS", "t4", "ON", "t4.paperid", "=", "t3.paperid", "JOIN", "author", "AS", "t1", "ON", "t4.authorid", "=", "t1.authorid", "WHERE", "t1.authorname", "=", "``", "brian", "curless", "''", "AND", "t5.keyphrasename", "=", "``", "convolution", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t1", ".", "authorid", ",", "t3", ".", "paperid", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t5", "on", "t2", ".", "keyphraseid", "=", "t5", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "join", "writes", "as", "t4", "on", "t4", ".", "paperid", "=", "t3", ".", "paperid", "join", "author", "as", "t1", "on", "t4", ".", "authorid", "=", "t1", ".", "authorid", "where", "t1", ".", "authorname", "=", "value", "and", "t5", ".", "keyphrasename", "=", "value" ], "question": "papel de convolução de brian curless", "question_toks": [ "papel", "de", "convolução", "de", "brian", "curless" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 3, false ], null ] ], [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"brian curless\"", null ], "and", [ false, 2, [ 0, [ 0, 10, false ], null ], "\"convolution\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t1.authorid , t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t5 ON t2.keyphraseid = t5.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid JOIN writes AS t4 ON t4.paperid = t3.paperid JOIN author AS t1 ON t4.authorid = t1.authorid WHERE t1.authorname = \"brian curless\" AND t5.keyphrasename = \"convolution\";", "query_toks": [ "SELECT", "DISTINCT", "t1.authorid", ",", "t3.paperid", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t5", "ON", "t2.keyphraseid", "=", "t5.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "JOIN", "writes", "AS", "t4", "ON", "t4.paperid", "=", "t3.paperid", "JOIN", "author", "AS", "t1", "ON", "t4.authorid", "=", "t1.authorid", "WHERE", "t1.authorname", "=", "``", "brian", "curless", "''", "AND", "t5.keyphrasename", "=", "``", "convolution", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t1", ".", "authorid", ",", "t3", ".", "paperid", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t5", "on", "t2", ".", "keyphraseid", "=", "t5", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "join", "writes", "as", "t4", "on", "t4", ".", "paperid", "=", "t3", ".", "paperid", "join", "author", "as", "t1", "on", "t4", ".", "authorid", "=", "t1", ".", "authorid", "where", "t1", ".", "authorname", "=", "value", "and", "t5", ".", "keyphrasename", "=", "value" ], "question": "Brian curless faz convolução?", "question_toks": [ "Brian", "curless", "faz", "convolução", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 3, false ], null ] ], [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"brian curless\"", null ], "and", [ false, 2, [ 0, [ 0, 10, false ], null ], "\"convolution\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid FROM writes AS t2 JOIN author AS t1 ON t2.authorid = t1.authorid JOIN paper AS t3 ON t2.paperid = t3.paperid WHERE t1.authorname = \"Liwen Xiong\" AND t3.year = 2015;", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", "FROM", "writes", "AS", "t2", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "JOIN", "paper", "AS", "t3", "ON", "t2.paperid", "=", "t3.paperid", "WHERE", "t1.authorname", "=", "``", "Liwen", "Xiong", "''", "AND", "t3.year", "=", "2015", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", "from", "writes", "as", "t2", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "join", "paper", "as", "t3", "on", "t2", ".", "paperid", "=", "t3", ".", "paperid", "where", "t1", ".", "authorname", "=", "value", "and", "t3", ".", "year", "=", "value" ], "question": "Quais artigos Liwen Xiong escreveu em 2015", "question_toks": [ "Quais", "artigos", "Liwen", "Xiong", "escreveu", "em", "2015" ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Liwen Xiong\"", null ], "and", [ false, 2, [ 0, [ 0, 14, false ], null ], 2015.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid FROM writes AS t2 JOIN author AS t1 ON t2.authorid = t1.authorid JOIN paper AS t3 ON t2.paperid = t3.paperid WHERE t1.authorname = \"Liwen Xiong\" AND t3.year = 2015;", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", "FROM", "writes", "AS", "t2", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "JOIN", "paper", "AS", "t3", "ON", "t2.paperid", "=", "t3.paperid", "WHERE", "t1.authorname", "=", "``", "Liwen", "Xiong", "''", "AND", "t3.year", "=", "2015", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", "from", "writes", "as", "t2", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "join", "paper", "as", "t3", "on", "t2", ".", "paperid", "=", "t3", ".", "paperid", "where", "t1", ".", "authorname", "=", "value", "and", "t3", ".", "year", "=", "value" ], "question": "artigos de Liwen Xiong em 2015", "question_toks": [ "artigos", "de", "Liwen", "Xiong", "em", "2015" ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Liwen Xiong\"", null ], "and", [ false, 2, [ 0, [ 0, 14, false ], null ], 2015.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid FROM writes AS t2 JOIN author AS t1 ON t2.authorid = t1.authorid JOIN paper AS t3 ON t2.paperid = t3.paperid WHERE t1.authorname = \"Liwen Xiong\" AND t3.year = 2015;", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", "FROM", "writes", "AS", "t2", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "JOIN", "paper", "AS", "t3", "ON", "t2.paperid", "=", "t3.paperid", "WHERE", "t1.authorname", "=", "``", "Liwen", "Xiong", "''", "AND", "t3.year", "=", "2015", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", "from", "writes", "as", "t2", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "join", "paper", "as", "t3", "on", "t2", ".", "paperid", "=", "t3", ".", "paperid", "where", "t1", ".", "authorname", "=", "value", "and", "t3", ".", "year", "=", "value" ], "question": "O que Liwen Xiong publicou em 2015?", "question_toks": [ "O", "que", "Liwen", "Xiong", "publicou", "em", "2015", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Liwen Xiong\"", null ], "and", [ false, 2, [ 0, [ 0, 14, false ], null ], 2015.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid FROM writes AS t2 JOIN author AS t1 ON t2.authorid = t1.authorid JOIN paper AS t3 ON t2.paperid = t3.paperid WHERE t1.authorname = \"Liwen Xiong\" AND t3.year = 2015;", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", "FROM", "writes", "AS", "t2", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "JOIN", "paper", "AS", "t3", "ON", "t2.paperid", "=", "t3.paperid", "WHERE", "t1.authorname", "=", "``", "Liwen", "Xiong", "''", "AND", "t3.year", "=", "2015", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", "from", "writes", "as", "t2", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "join", "paper", "as", "t3", "on", "t2", ".", "paperid", "=", "t3", ".", "paperid", "where", "t1", ".", "authorname", "=", "value", "and", "t3", ".", "year", "=", "value" ], "question": "Artigos escritos por Liwen Xiong em 2015", "question_toks": [ "Artigos", "escritos", "por", "Liwen", "Xiong", "em", "2015" ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Liwen Xiong\"", null ], "and", [ false, 2, [ 0, [ 0, 14, false ], null ], 2015.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid FROM writes AS t2 JOIN author AS t1 ON t2.authorid = t1.authorid JOIN paper AS t3 ON t2.paperid = t3.paperid WHERE t1.authorname = \"Liwen Xiong\" AND t3.year = 2015;", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", "FROM", "writes", "AS", "t2", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "JOIN", "paper", "AS", "t3", "ON", "t2.paperid", "=", "t3.paperid", "WHERE", "t1.authorname", "=", "``", "Liwen", "Xiong", "''", "AND", "t3.year", "=", "2015", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", "from", "writes", "as", "t2", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "join", "paper", "as", "t3", "on", "t2", ".", "paperid", "=", "t3", ".", "paperid", "where", "t1", ".", "authorname", "=", "value", "and", "t3", ".", "year", "=", "value" ], "question": "Quais são os papéis de Liwen Xiong em 2015", "question_toks": [ "Quais", "são", "os", "papéis", "de", "Liwen", "Xiong", "em", "2015" ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Liwen Xiong\"", null ], "and", [ false, 2, [ 0, [ 0, 14, false ], null ], 2015.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid FROM writes AS t2 JOIN author AS t1 ON t2.authorid = t1.authorid JOIN paper AS t3 ON t2.paperid = t3.paperid WHERE t1.authorname = \"Liwen Xiong\" AND t3.year = 2015;", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", "FROM", "writes", "AS", "t2", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "JOIN", "paper", "AS", "t3", "ON", "t2.paperid", "=", "t3.paperid", "WHERE", "t1.authorname", "=", "``", "Liwen", "Xiong", "''", "AND", "t3.year", "=", "2015", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", "from", "writes", "as", "t2", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "join", "paper", "as", "t3", "on", "t2", ".", "paperid", "=", "t3", ".", "paperid", "where", "t1", ".", "authorname", "=", "value", "and", "t3", ".", "year", "=", "value" ], "question": "artigos de Liwen Xiong de 2015", "question_toks": [ "artigos", "de", "Liwen", "Xiong", "de", "2015" ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Liwen Xiong\"", null ], "and", [ false, 2, [ 0, [ 0, 14, false ], null ], 2015.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid FROM writes AS t2 JOIN author AS t1 ON t2.authorid = t1.authorid JOIN paper AS t3 ON t2.paperid = t3.paperid WHERE t1.authorname = \"Liwen Xiong\" AND t3.year = 2015;", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", "FROM", "writes", "AS", "t2", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "JOIN", "paper", "AS", "t3", "ON", "t2.paperid", "=", "t3.paperid", "WHERE", "t1.authorname", "=", "``", "Liwen", "Xiong", "''", "AND", "t3.year", "=", "2015", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", "from", "writes", "as", "t2", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "join", "paper", "as", "t3", "on", "t2", ".", "paperid", "=", "t3", ".", "paperid", "where", "t1", ".", "authorname", "=", "value", "and", "t3", ".", "year", "=", "value" ], "question": "Artigos publicados em 2015 por Liwen Xiong", "question_toks": [ "Artigos", "publicados", "em", "2015", "por", "Liwen", "Xiong" ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Liwen Xiong\"", null ], "and", [ false, 2, [ 0, [ 0, 14, false ], null ], 2015.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid FROM writes AS t2 JOIN author AS t1 ON t2.authorid = t1.authorid JOIN paper AS t3 ON t2.paperid = t3.paperid WHERE t1.authorname = \"Liwen Xiong\" AND t3.year = 2015;", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", "FROM", "writes", "AS", "t2", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "JOIN", "paper", "AS", "t3", "ON", "t2.paperid", "=", "t3.paperid", "WHERE", "t1.authorname", "=", "``", "Liwen", "Xiong", "''", "AND", "t3.year", "=", "2015", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", "from", "writes", "as", "t2", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "join", "paper", "as", "t3", "on", "t2", ".", "paperid", "=", "t3", ".", "paperid", "where", "t1", ".", "authorname", "=", "value", "and", "t3", ".", "year", "=", "value" ], "question": "o que Liwen Xiong fez no ano passado", "question_toks": [ "o", "que", "Liwen", "Xiong", "fez", "no", "ano", "passado" ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Liwen Xiong\"", null ], "and", [ false, 2, [ 0, [ 0, 14, false ], null ], 2015.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid FROM writes AS t2 JOIN author AS t1 ON t2.authorid = t1.authorid JOIN paper AS t3 ON t2.paperid = t3.paperid WHERE t1.authorname = \"Liwen Xiong\" AND t3.year = 2015;", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", "FROM", "writes", "AS", "t2", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "JOIN", "paper", "AS", "t3", "ON", "t2.paperid", "=", "t3.paperid", "WHERE", "t1.authorname", "=", "``", "Liwen", "Xiong", "''", "AND", "t3.year", "=", "2015", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", "from", "writes", "as", "t2", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "join", "paper", "as", "t3", "on", "t2", ".", "paperid", "=", "t3", ".", "paperid", "where", "t1", ".", "authorname", "=", "value", "and", "t3", ".", "year", "=", "value" ], "question": "Quais artigos Liwen Xiong publicou no ano passado?", "question_toks": [ "Quais", "artigos", "Liwen", "Xiong", "publicou", "no", "ano", "passado", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Liwen Xiong\"", null ], "and", [ false, 2, [ 0, [ 0, 14, false ], null ], 2015.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid FROM writes AS t2 JOIN author AS t1 ON t2.authorid = t1.authorid JOIN paper AS t3 ON t2.paperid = t3.paperid WHERE t1.authorname = \"Liwen Xiong\" AND t3.year = 2015;", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", "FROM", "writes", "AS", "t2", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "JOIN", "paper", "AS", "t3", "ON", "t2.paperid", "=", "t3.paperid", "WHERE", "t1.authorname", "=", "``", "Liwen", "Xiong", "''", "AND", "t3.year", "=", "2015", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", "from", "writes", "as", "t2", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "join", "paper", "as", "t3", "on", "t2", ".", "paperid", "=", "t3", ".", "paperid", "where", "t1", ".", "authorname", "=", "value", "and", "t3", ".", "year", "=", "value" ], "question": "artigos publicados em 2015 por Liwen Xiong", "question_toks": [ "artigos", "publicados", "em", "2015", "por", "Liwen", "Xiong" ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Liwen Xiong\"", null ], "and", [ false, 2, [ 0, [ 0, 14, false ], null ], 2015.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid FROM writes AS t2 JOIN author AS t1 ON t2.authorid = t1.authorid JOIN paper AS t3 ON t2.paperid = t3.paperid WHERE t1.authorname = \"Liwen Xiong\" AND t3.year = 2015;", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", "FROM", "writes", "AS", "t2", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "JOIN", "paper", "AS", "t3", "ON", "t2.paperid", "=", "t3.paperid", "WHERE", "t1.authorname", "=", "``", "Liwen", "Xiong", "''", "AND", "t3.year", "=", "2015", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", "from", "writes", "as", "t2", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "join", "paper", "as", "t3", "on", "t2", ".", "paperid", "=", "t3", ".", "paperid", "where", "t1", ".", "authorname", "=", "value", "and", "t3", ".", "year", "=", "value" ], "question": "Os papéis de Liwen Xiong em 2015?", "question_toks": [ "Os", "papéis", "de", "Liwen", "Xiong", "em", "2015", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Liwen Xiong\"", null ], "and", [ false, 2, [ 0, [ 0, 14, false ], null ], 2015.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid FROM writes AS t2 JOIN author AS t1 ON t2.authorid = t1.authorid JOIN paper AS t3 ON t2.paperid = t3.paperid WHERE t1.authorname = \"Liwen Xiong\" AND t3.year = 2015;", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", "FROM", "writes", "AS", "t2", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "JOIN", "paper", "AS", "t3", "ON", "t2.paperid", "=", "t3.paperid", "WHERE", "t1.authorname", "=", "``", "Liwen", "Xiong", "''", "AND", "t3.year", "=", "2015", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", "from", "writes", "as", "t2", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "join", "paper", "as", "t3", "on", "t2", ".", "paperid", "=", "t3", ".", "paperid", "where", "t1", ".", "authorname", "=", "value", "and", "t3", ".", "year", "=", "value" ], "question": "Artigos de Liwen Xiong em 2015", "question_toks": [ "Artigos", "de", "Liwen", "Xiong", "em", "2015" ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Liwen Xiong\"", null ], "and", [ false, 2, [ 0, [ 0, 14, false ], null ], 2015.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid FROM writes AS t2 JOIN author AS t1 ON t2.authorid = t1.authorid JOIN paper AS t3 ON t2.paperid = t3.paperid WHERE t1.authorname = \"Liwen Xiong\" AND t3.year = 2015;", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", "FROM", "writes", "AS", "t2", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "JOIN", "paper", "AS", "t3", "ON", "t2.paperid", "=", "t3.paperid", "WHERE", "t1.authorname", "=", "``", "Liwen", "Xiong", "''", "AND", "t3.year", "=", "2015", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", "from", "writes", "as", "t2", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "join", "paper", "as", "t3", "on", "t2", ".", "paperid", "=", "t3", ".", "paperid", "where", "t1", ".", "authorname", "=", "value", "and", "t3", ".", "year", "=", "value" ], "question": "Publicação Liwen Xiong 2015", "question_toks": [ "Publicação", "Liwen", "Xiong", "2015" ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Liwen Xiong\"", null ], "and", [ false, 2, [ 0, [ 0, 14, false ], null ], 2015.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid FROM writes AS t2 JOIN author AS t1 ON t2.authorid = t1.authorid JOIN paper AS t3 ON t2.paperid = t3.paperid WHERE t1.authorname = \"Liwen Xiong\" AND t3.year = 2015;", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", "FROM", "writes", "AS", "t2", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "JOIN", "paper", "AS", "t3", "ON", "t2.paperid", "=", "t3.paperid", "WHERE", "t1.authorname", "=", "``", "Liwen", "Xiong", "''", "AND", "t3.year", "=", "2015", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", "from", "writes", "as", "t2", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "join", "paper", "as", "t3", "on", "t2", ".", "paperid", "=", "t3", ".", "paperid", "where", "t1", ".", "authorname", "=", "value", "and", "t3", ".", "year", "=", "value" ], "question": "Artigos de autoria de Liwen Xiong em 2015", "question_toks": [ "Artigos", "de", "autoria", "de", "Liwen", "Xiong", "em", "2015" ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Liwen Xiong\"", null ], "and", [ false, 2, [ 0, [ 0, 14, false ], null ], 2015.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid FROM writes AS t2 JOIN author AS t1 ON t2.authorid = t1.authorid JOIN paper AS t3 ON t2.paperid = t3.paperid WHERE t1.authorname = \"Liwen Xiong\" AND t3.year = 2015;", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", "FROM", "writes", "AS", "t2", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "JOIN", "paper", "AS", "t3", "ON", "t2.paperid", "=", "t3.paperid", "WHERE", "t1.authorname", "=", "``", "Liwen", "Xiong", "''", "AND", "t3.year", "=", "2015", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", "from", "writes", "as", "t2", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "join", "paper", "as", "t3", "on", "t2", ".", "paperid", "=", "t3", ".", "paperid", "where", "t1", ".", "authorname", "=", "value", "and", "t3", ".", "year", "=", "value" ], "question": "Artigos da Liwen Xiong em 2015", "question_toks": [ "Artigos", "da", "Liwen", "Xiong", "em", "2015" ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Liwen Xiong\"", null ], "and", [ false, 2, [ 0, [ 0, 14, false ], null ], 2015.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid FROM writes AS t2 JOIN author AS t1 ON t2.authorid = t1.authorid JOIN paper AS t3 ON t2.paperid = t3.paperid WHERE t1.authorname = \"Liwen Xiong\" AND t3.year = 2015;", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", "FROM", "writes", "AS", "t2", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "JOIN", "paper", "AS", "t3", "ON", "t2.paperid", "=", "t3.paperid", "WHERE", "t1.authorname", "=", "``", "Liwen", "Xiong", "''", "AND", "t3.year", "=", "2015", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", "from", "writes", "as", "t2", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "join", "paper", "as", "t3", "on", "t2", ".", "paperid", "=", "t3", ".", "paperid", "where", "t1", ".", "authorname", "=", "value", "and", "t3", ".", "year", "=", "value" ], "question": "quais artigos são publicados pela Liwen Xiong em 2015", "question_toks": [ "quais", "artigos", "são", "publicados", "pela", "Liwen", "Xiong", "em", "2015" ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Liwen Xiong\"", null ], "and", [ false, 2, [ 0, [ 0, 14, false ], null ], 2015.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid JOIN venue AS t4 ON t4.venueid = t3.venueid WHERE t1.keyphrasename = \"TAIL\" AND t4.venuename = \"NIPS\";", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t1", "ON", "t2.keyphraseid", "=", "t1.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "JOIN", "venue", "AS", "t4", "ON", "t4.venueid", "=", "t3.venueid", "WHERE", "t1.keyphrasename", "=", "``", "TAIL", "''", "AND", "t4.venuename", "=", "``", "NIPS", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t1", "on", "t2", ".", "keyphraseid", "=", "t1", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "join", "venue", "as", "t4", "on", "t4", ".", "venueid", "=", "t3", ".", "venueid", "where", "t1", ".", "keyphrasename", "=", "value", "and", "t4", ".", "venuename", "=", "value" ], "question": "Qual artigo TAIL publicado no NIPS?", "question_toks": [ "Qual", "artigo", "TAIL", "publicado", "no", "NIPS", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ], "and", [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"TAIL\"", null ], "and", [ false, 2, [ 0, [ 0, 2, false ], null ], "\"NIPS\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid JOIN venue AS t4 ON t4.venueid = t3.venueid WHERE t1.keyphrasename = \"TAIL\" AND t4.venuename = \"NIPS\";", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t1", "ON", "t2.keyphraseid", "=", "t1.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "JOIN", "venue", "AS", "t4", "ON", "t4.venueid", "=", "t3.venueid", "WHERE", "t1.keyphrasename", "=", "``", "TAIL", "''", "AND", "t4.venuename", "=", "``", "NIPS", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t1", "on", "t2", ".", "keyphraseid", "=", "t1", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "join", "venue", "as", "t4", "on", "t4", ".", "venueid", "=", "t3", ".", "venueid", "where", "t1", ".", "keyphrasename", "=", "value", "and", "t4", ".", "venuename", "=", "value" ], "question": "Liste os artigos sobre TAIL que foram publicados no NIPS", "question_toks": [ "Liste", "os", "artigos", "sobre", "TAIL", "que", "foram", "publicados", "no", "NIPS" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ], "and", [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"TAIL\"", null ], "and", [ false, 2, [ 0, [ 0, 2, false ], null ], "\"NIPS\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid JOIN venue AS t4 ON t4.venueid = t3.venueid WHERE t1.keyphrasename = \"TAIL\" AND t4.venuename = \"NIPS\";", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t1", "ON", "t2.keyphraseid", "=", "t1.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "JOIN", "venue", "AS", "t4", "ON", "t4.venueid", "=", "t3.venueid", "WHERE", "t1.keyphrasename", "=", "``", "TAIL", "''", "AND", "t4.venuename", "=", "``", "NIPS", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t1", "on", "t2", ".", "keyphraseid", "=", "t1", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "join", "venue", "as", "t4", "on", "t4", ".", "venueid", "=", "t3", ".", "venueid", "where", "t1", ".", "keyphrasename", "=", "value", "and", "t4", ".", "venuename", "=", "value" ], "question": "quais são os artigos do NIPS sobre o TAIL?", "question_toks": [ "quais", "são", "os", "artigos", "do", "NIPS", "sobre", "o", "TAIL", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ], "and", [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"TAIL\"", null ], "and", [ false, 2, [ 0, [ 0, 2, false ], null ], "\"NIPS\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid JOIN venue AS t4 ON t4.venueid = t3.venueid WHERE t1.keyphrasename = \"TAIL\" AND t4.venuename = \"NIPS\";", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t1", "ON", "t2.keyphraseid", "=", "t1.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "JOIN", "venue", "AS", "t4", "ON", "t4.venueid", "=", "t3.venueid", "WHERE", "t1.keyphrasename", "=", "``", "TAIL", "''", "AND", "t4.venuename", "=", "``", "NIPS", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t1", "on", "t2", ".", "keyphraseid", "=", "t1", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "join", "venue", "as", "t4", "on", "t4", ".", "venueid", "=", "t3", ".", "venueid", "where", "t1", ".", "keyphrasename", "=", "value", "and", "t4", ".", "venuename", "=", "value" ], "question": "Artigos sobre TAIL no NIPS", "question_toks": [ "Artigos", "sobre", "TAIL", "no", "NIPS" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ], "and", [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"TAIL\"", null ], "and", [ false, 2, [ 0, [ 0, 2, false ], null ], "\"NIPS\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid JOIN venue AS t4 ON t4.venueid = t3.venueid WHERE t1.keyphrasename = \"TAIL\" AND t4.venuename = \"NIPS\";", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t1", "ON", "t2.keyphraseid", "=", "t1.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "JOIN", "venue", "AS", "t4", "ON", "t4.venueid", "=", "t3.venueid", "WHERE", "t1.keyphrasename", "=", "``", "TAIL", "''", "AND", "t4.venuename", "=", "``", "NIPS", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t1", "on", "t2", ".", "keyphraseid", "=", "t1", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "join", "venue", "as", "t4", "on", "t4", ".", "venueid", "=", "t3", ".", "venueid", "where", "t1", ".", "keyphrasename", "=", "value", "and", "t4", ".", "venuename", "=", "value" ], "question": "artigos do NIPS relacionados ao TAIL", "question_toks": [ "artigos", "do", "NIPS", "relacionados", "ao", "TAIL" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ], "and", [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"TAIL\"", null ], "and", [ false, 2, [ 0, [ 0, 2, false ], null ], "\"NIPS\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid JOIN venue AS t4 ON t4.venueid = t3.venueid WHERE t1.keyphrasename = \"TAIL\" AND t4.venuename = \"NIPS\";", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t1", "ON", "t2.keyphraseid", "=", "t1.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "JOIN", "venue", "AS", "t4", "ON", "t4.venueid", "=", "t3.venueid", "WHERE", "t1.keyphrasename", "=", "``", "TAIL", "''", "AND", "t4.venuename", "=", "``", "NIPS", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t1", "on", "t2", ".", "keyphraseid", "=", "t1", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "join", "venue", "as", "t4", "on", "t4", ".", "venueid", "=", "t3", ".", "venueid", "where", "t1", ".", "keyphrasename", "=", "value", "and", "t4", ".", "venuename", "=", "value" ], "question": "artigos sobre TAIL publicados no NIPS", "question_toks": [ "artigos", "sobre", "TAIL", "publicados", "no", "NIPS" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ], "and", [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"TAIL\"", null ], "and", [ false, 2, [ 0, [ 0, 2, false ], null ], "\"NIPS\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid JOIN venue AS t4 ON t4.venueid = t3.venueid WHERE t1.keyphrasename = \"TAIL\" AND t4.venuename = \"NIPS\";", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t1", "ON", "t2.keyphraseid", "=", "t1.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "JOIN", "venue", "AS", "t4", "ON", "t4.venueid", "=", "t3.venueid", "WHERE", "t1.keyphrasename", "=", "``", "TAIL", "''", "AND", "t4.venuename", "=", "``", "NIPS", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t1", "on", "t2", ".", "keyphraseid", "=", "t1", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "join", "venue", "as", "t4", "on", "t4", ".", "venueid", "=", "t3", ".", "venueid", "where", "t1", ".", "keyphrasename", "=", "value", "and", "t4", ".", "venuename", "=", "value" ], "question": "Papéis TAIL em NIPS", "question_toks": [ "Papéis", "TAIL", "em", "NIPS" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ], "and", [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"TAIL\"", null ], "and", [ false, 2, [ 0, [ 0, 2, false ], null ], "\"NIPS\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid JOIN venue AS t4 ON t4.venueid = t3.venueid WHERE t1.keyphrasename = \"TAIL\" AND t4.venuename = \"NIPS\";", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t1", "ON", "t2.keyphraseid", "=", "t1.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "JOIN", "venue", "AS", "t4", "ON", "t4.venueid", "=", "t3.venueid", "WHERE", "t1.keyphrasename", "=", "``", "TAIL", "''", "AND", "t4.venuename", "=", "``", "NIPS", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t1", "on", "t2", ".", "keyphraseid", "=", "t1", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "join", "venue", "as", "t4", "on", "t4", ".", "venueid", "=", "t3", ".", "venueid", "where", "t1", ".", "keyphrasename", "=", "value", "and", "t4", ".", "venuename", "=", "value" ], "question": "artigos sobre TAIL NIPS", "question_toks": [ "artigos", "sobre", "TAIL", "NIPS" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ], "and", [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"TAIL\"", null ], "and", [ false, 2, [ 0, [ 0, 2, false ], null ], "\"NIPS\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid JOIN venue AS t4 ON t4.venueid = t3.venueid WHERE t1.keyphrasename = \"TAIL\" AND t4.venuename = \"NIPS\";", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t1", "ON", "t2.keyphraseid", "=", "t1.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "JOIN", "venue", "AS", "t4", "ON", "t4.venueid", "=", "t3.venueid", "WHERE", "t1.keyphrasename", "=", "``", "TAIL", "''", "AND", "t4.venuename", "=", "``", "NIPS", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t1", "on", "t2", ".", "keyphraseid", "=", "t1", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "join", "venue", "as", "t4", "on", "t4", ".", "venueid", "=", "t3", ".", "venueid", "where", "t1", ".", "keyphrasename", "=", "value", "and", "t4", ".", "venuename", "=", "value" ], "question": "Papéis TAIL usados em NIPS", "question_toks": [ "Papéis", "TAIL", "usados", "em", "NIPS" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ], "and", [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"TAIL\"", null ], "and", [ false, 2, [ 0, [ 0, 2, false ], null ], "\"NIPS\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT COUNT ( DISTINCT t1.authorid ) FROM writes AS t2 JOIN author AS t1 ON t2.authorid = t1.authorid WHERE t1.authorname != \"Mark Steedman\" AND t2.paperid IN ( SELECT t2.paperid FROM writes AS t2 JOIN author AS t1 ON t2.authorid = t1.authorid WHERE t1.authorname = \"Mark Steedman\" );", "query_toks": [ "SELECT", "DISTINCT", "COUNT", "(", "DISTINCT", "t1.authorid", ")", "FROM", "writes", "AS", "t2", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "WHERE", "t1.authorname", "!", "=", "``", "Mark", "Steedman", "''", "AND", "t2.paperid", "IN", "(", "SELECT", "t2.paperid", "FROM", "writes", "AS", "t2", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "WHERE", "t1.authorname", "=", "``", "Mark", "Steedman", "''", ")", ";" ], "query_toks_no_value": [ "select", "distinct", "count", "(", "distinct", "t1", ".", "authorid", ")", "from", "writes", "as", "t2", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "where", "t1", ".", "authorname", "!", "=", "value", "and", "t2", ".", "paperid", "in", "(", "select", "t2", ".", "paperid", "from", "writes", "as", "t2", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "where", "t1", ".", "authorname", "=", "value", ")" ], "question": "Quantos co-autores Mark Steedman teve?", "question_toks": [ "Quantos", "co-autores", "Mark", "Steedman", "teve", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 3, [ 0, [ 0, 3, true ], null ] ] ] ], "where": [ [ false, 7, [ 0, [ 0, 4, false ], null ], "\"Mark Steedman\"", null ], "and", [ false, 8, [ 0, [ 0, 24, false ], null ], { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 24, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Mark Steedman\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t2.keyphraseid FROM paper AS t3 JOIN paperkeyphrase AS t2 ON t3.paperid = t2.paperid JOIN writes AS t4 ON t4.paperid = t3.paperid JOIN author AS t1 ON t4.authorid = t1.authorid WHERE t1.authorname = \"Christof Dallermassl\" AND t3.year = 2000;", "query_toks": [ "SELECT", "DISTINCT", "t2.keyphraseid", "FROM", "paper", "AS", "t3", "JOIN", "paperkeyphrase", "AS", "t2", "ON", "t3.paperid", "=", "t2.paperid", "JOIN", "writes", "AS", "t4", "ON", "t4.paperid", "=", "t3.paperid", "JOIN", "author", "AS", "t1", "ON", "t4.authorid", "=", "t1.authorid", "WHERE", "t1.authorname", "=", "``", "Christof", "Dallermassl", "''", "AND", "t3.year", "=", "2000", ";" ], "query_toks_no_value": [ "select", "distinct", "t2", ".", "keyphraseid", "from", "paper", "as", "t3", "join", "paperkeyphrase", "as", "t2", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "join", "writes", "as", "t4", "on", "t4", ".", "paperid", "=", "t3", ".", "paperid", "join", "author", "as", "t1", "on", "t4", ".", "authorid", "=", "t1", ".", "authorid", "where", "t1", ".", "authorname", "=", "value", "and", "t3", ".", "year", "=", "value" ], "question": "frases-chave usadas por Christof Dallermassl em 2000", "question_toks": [ "frases-chave", "usadas", "por", "Christof", "Dallermassl", "em", "2000" ], "sql": { "from": { "table_units": [ [ "table_unit", 5 ], [ "table_unit", 8 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 23, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Christof Dallermassl\"", null ], "and", [ false, 2, [ 0, [ 0, 14, false ], null ], 2000.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t2.keyphraseid FROM paper AS t3 JOIN paperkeyphrase AS t2 ON t3.paperid = t2.paperid JOIN writes AS t4 ON t4.paperid = t3.paperid JOIN author AS t1 ON t4.authorid = t1.authorid WHERE t1.authorname = \"Christof Dallermassl\" AND t3.year = 2000;", "query_toks": [ "SELECT", "DISTINCT", "t2.keyphraseid", "FROM", "paper", "AS", "t3", "JOIN", "paperkeyphrase", "AS", "t2", "ON", "t3.paperid", "=", "t2.paperid", "JOIN", "writes", "AS", "t4", "ON", "t4.paperid", "=", "t3.paperid", "JOIN", "author", "AS", "t1", "ON", "t4.authorid", "=", "t1.authorid", "WHERE", "t1.authorname", "=", "``", "Christof", "Dallermassl", "''", "AND", "t3.year", "=", "2000", ";" ], "query_toks_no_value": [ "select", "distinct", "t2", ".", "keyphraseid", "from", "paper", "as", "t3", "join", "paperkeyphrase", "as", "t2", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "join", "writes", "as", "t4", "on", "t4", ".", "paperid", "=", "t3", ".", "paperid", "join", "author", "as", "t1", "on", "t4", ".", "authorid", "=", "t1", ".", "authorid", "where", "t1", ".", "authorname", "=", "value", "and", "t3", ".", "year", "=", "value" ], "question": "Frases-chave usadas por Christof Dallermassl em 2000", "question_toks": [ "Frases-chave", "usadas", "por", "Christof", "Dallermassl", "em", "2000" ], "sql": { "from": { "table_units": [ [ "table_unit", 5 ], [ "table_unit", 8 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 23, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Christof Dallermassl\"", null ], "and", [ false, 2, [ 0, [ 0, 14, false ], null ], 2000.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t2.keyphraseid FROM paper AS t3 JOIN paperkeyphrase AS t2 ON t3.paperid = t2.paperid JOIN writes AS t4 ON t4.paperid = t3.paperid JOIN author AS t1 ON t4.authorid = t1.authorid WHERE t1.authorname = \"Christof Dallermassl\" AND t3.year = 2000;", "query_toks": [ "SELECT", "DISTINCT", "t2.keyphraseid", "FROM", "paper", "AS", "t3", "JOIN", "paperkeyphrase", "AS", "t2", "ON", "t3.paperid", "=", "t2.paperid", "JOIN", "writes", "AS", "t4", "ON", "t4.paperid", "=", "t3.paperid", "JOIN", "author", "AS", "t1", "ON", "t4.authorid", "=", "t1.authorid", "WHERE", "t1.authorname", "=", "``", "Christof", "Dallermassl", "''", "AND", "t3.year", "=", "2000", ";" ], "query_toks_no_value": [ "select", "distinct", "t2", ".", "keyphraseid", "from", "paper", "as", "t3", "join", "paperkeyphrase", "as", "t2", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "join", "writes", "as", "t4", "on", "t4", ".", "paperid", "=", "t3", ".", "paperid", "join", "author", "as", "t1", "on", "t4", ".", "authorid", "=", "t1", ".", "authorid", "where", "t1", ".", "authorname", "=", "value", "and", "t3", ".", "year", "=", "value" ], "question": "frases-chave que Christof Dallermassl usou em artigos escritos no ano passado", "question_toks": [ "frases-chave", "que", "Christof", "Dallermassl", "usou", "em", "artigos", "escritos", "no", "ano", "passado" ], "sql": { "from": { "table_units": [ [ "table_unit", 5 ], [ "table_unit", 8 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 23, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Christof Dallermassl\"", null ], "and", [ false, 2, [ 0, [ 0, 14, false ], null ], 2000.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t2.keyphraseid FROM paper AS t3 JOIN paperkeyphrase AS t2 ON t3.paperid = t2.paperid JOIN writes AS t4 ON t4.paperid = t3.paperid JOIN author AS t1 ON t4.authorid = t1.authorid WHERE t1.authorname = \"Christof Dallermassl\" AND t3.year = 2000;", "query_toks": [ "SELECT", "DISTINCT", "t2.keyphraseid", "FROM", "paper", "AS", "t3", "JOIN", "paperkeyphrase", "AS", "t2", "ON", "t3.paperid", "=", "t2.paperid", "JOIN", "writes", "AS", "t4", "ON", "t4.paperid", "=", "t3.paperid", "JOIN", "author", "AS", "t1", "ON", "t4.authorid", "=", "t1.authorid", "WHERE", "t1.authorname", "=", "``", "Christof", "Dallermassl", "''", "AND", "t3.year", "=", "2000", ";" ], "query_toks_no_value": [ "select", "distinct", "t2", ".", "keyphraseid", "from", "paper", "as", "t3", "join", "paperkeyphrase", "as", "t2", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "join", "writes", "as", "t4", "on", "t4", ".", "paperid", "=", "t3", ".", "paperid", "join", "author", "as", "t1", "on", "t4", ".", "authorid", "=", "t1", ".", "authorid", "where", "t1", ".", "authorname", "=", "value", "and", "t3", ".", "year", "=", "value" ], "question": "Quais são as frases-chave de Christof Dallermassl em 2000?", "question_toks": [ "Quais", "são", "as", "frases-chave", "de", "Christof", "Dallermassl", "em", "2000", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 5 ], [ "table_unit", 8 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 23, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Christof Dallermassl\"", null ], "and", [ false, 2, [ 0, [ 0, 14, false ], null ], 2000.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t1.authorname , COUNT ( t3.citingpaperid ) FROM writes AS t2 JOIN author AS t1 ON t2.authorid = t1.authorid JOIN cite AS t3 ON t2.paperid = t3.citedpaperid GROUP BY t1.authorname ORDER BY COUNT ( t3.citingpaperid ) DESC;", "query_toks": [ "SELECT", "DISTINCT", "t1.authorname", ",", "COUNT", "(", "t3.citingpaperid", ")", "FROM", "writes", "AS", "t2", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "JOIN", "cite", "AS", "t3", "ON", "t2.paperid", "=", "t3.citedpaperid", "GROUP", "BY", "t1.authorname", "ORDER", "BY", "COUNT", "(", "t3.citingpaperid", ")", "DESC", ";" ], "query_toks_no_value": [ "select", "distinct", "t1", ".", "authorname", ",", "count", "(", "t3", ".", "citingpaperid", ")", "from", "writes", "as", "t2", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "join", "cite", "as", "t3", "on", "t2", ".", "paperid", "=", "t3", ".", "citedpaperid", "group", "by", "t1", ".", "authorname", "order", "by", "count", "(", "t3", ".", "citingpaperid", ")", "desc" ], "question": "qual autor é mais citado?", "question_toks": [ "qual", "autor", "é", "mais", "citado", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ], [ "table_unit", 6 ] ], "conds": [ [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 19, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 4, false ], null ] ], [ 3, [ 0, [ 0, 18, false ], null ] ] ] ], "where": [], "groupBy": [ [ 0, 4, false ] ], "having": [], "orderBy": [ "desc", [ [ 0, [ 3, 18, false ], null ] ] ], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid FROM writes AS t2 JOIN author AS t1 ON t2.authorid = t1.authorid JOIN paper AS t3 ON t2.paperid = t3.paperid WHERE t1.authorname = \"mohammad rastegari\" AND t3.journalid >= 0;", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", "FROM", "writes", "AS", "t2", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "JOIN", "paper", "AS", "t3", "ON", "t2.paperid", "=", "t3.paperid", "WHERE", "t1.authorname", "=", "``", "mohammad", "rastegari", "''", "AND", "t3.journalid", ">", "=", "0", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", "from", "writes", "as", "t2", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "join", "paper", "as", "t3", "on", "t2", ".", "paperid", "=", "t3", ".", "paperid", "where", "t1", ".", "authorname", "=", "value", "and", "t3", ".", "journalid", ">", "=", "value" ], "question": "artigos de jornal por mohammad rastegari", "question_toks": [ "artigos", "de", "jornal", "por", "mohammad", "rastegari" ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"mohammad rastegari\"", null ], "and", [ false, 5, [ 0, [ 0, 17, false ], null ], 0.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid FROM writes AS t2 JOIN author AS t1 ON t2.authorid = t1.authorid JOIN paper AS t3 ON t2.paperid = t3.paperid WHERE t1.authorname = \"mohammad rastegari\" AND t3.journalid >= 0;", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", "FROM", "writes", "AS", "t2", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "JOIN", "paper", "AS", "t3", "ON", "t2.paperid", "=", "t3.paperid", "WHERE", "t1.authorname", "=", "``", "mohammad", "rastegari", "''", "AND", "t3.journalid", ">", "=", "0", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", "from", "writes", "as", "t2", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "join", "paper", "as", "t3", "on", "t2", ".", "paperid", "=", "t3", ".", "paperid", "where", "t1", ".", "authorname", "=", "value", "and", "t3", ".", "journalid", ">", "=", "value" ], "question": "Artigos de jornal por mohammad rastegari", "question_toks": [ "Artigos", "de", "jornal", "por", "mohammad", "rastegari" ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"mohammad rastegari\"", null ], "and", [ false, 5, [ 0, [ 0, 17, false ], null ], 0.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT COUNT ( DISTINCT t3.citingpaperid ) , t1.paperid FROM paper AS t1 JOIN cite AS t3 ON t1.paperid = t3.citedpaperid JOIN venue AS t2 ON t2.venueid = t1.venueid WHERE t1.year = 2014 AND t2.venuename = \"TACL\" GROUP BY t1.paperid ORDER BY COUNT ( DISTINCT t3.citingpaperid ) DESC;", "query_toks": [ "SELECT", "DISTINCT", "COUNT", "(", "DISTINCT", "t3.citingpaperid", ")", ",", "t1.paperid", "FROM", "paper", "AS", "t1", "JOIN", "cite", "AS", "t3", "ON", "t1.paperid", "=", "t3.citedpaperid", "JOIN", "venue", "AS", "t2", "ON", "t2.venueid", "=", "t1.venueid", "WHERE", "t1.year", "=", "2014", "AND", "t2.venuename", "=", "``", "TACL", "''", "GROUP", "BY", "t1.paperid", "ORDER", "BY", "COUNT", "(", "DISTINCT", "t3.citingpaperid", ")", "DESC", ";" ], "query_toks_no_value": [ "select", "distinct", "count", "(", "distinct", "t3", ".", "citingpaperid", ")", ",", "t1", ".", "paperid", "from", "paper", "as", "t1", "join", "cite", "as", "t3", "on", "t1", ".", "paperid", "=", "t3", ".", "citedpaperid", "join", "venue", "as", "t2", "on", "t2", ".", "venueid", "=", "t1", ".", "venueid", "where", "t1", ".", "year", "=", "value", "and", "t2", ".", "venuename", "=", "value", "group", "by", "t1", ".", "paperid", "order", "by", "count", "(", "distinct", "t3", ".", "citingpaperid", ")", "desc" ], "question": "melhor artigo no TACL 2014?", "question_toks": [ "melhor", "artigo", "no", "TACL", "2014", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 5 ], [ "table_unit", 6 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 19, false ], null ], "and", [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ] ] }, "select": [ true, [ [ 3, [ 0, [ 0, 18, true ], null ] ], [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 14, false ], null ], 2014.0, null ], "and", [ false, 2, [ 0, [ 0, 2, false ], null ], "\"TACL\"", null ] ], "groupBy": [ [ 0, 11, false ] ], "having": [], "orderBy": [ "desc", [ [ 0, [ 3, 18, true ], null ] ] ], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT COUNT ( DISTINCT t3.citingpaperid ) , t1.paperid FROM paper AS t1 JOIN cite AS t3 ON t1.paperid = t3.citedpaperid JOIN venue AS t2 ON t2.venueid = t1.venueid WHERE t1.year = 2014 AND t2.venuename = \"TACL\" GROUP BY t1.paperid ORDER BY COUNT ( DISTINCT t3.citingpaperid ) DESC;", "query_toks": [ "SELECT", "DISTINCT", "COUNT", "(", "DISTINCT", "t3.citingpaperid", ")", ",", "t1.paperid", "FROM", "paper", "AS", "t1", "JOIN", "cite", "AS", "t3", "ON", "t1.paperid", "=", "t3.citedpaperid", "JOIN", "venue", "AS", "t2", "ON", "t2.venueid", "=", "t1.venueid", "WHERE", "t1.year", "=", "2014", "AND", "t2.venuename", "=", "``", "TACL", "''", "GROUP", "BY", "t1.paperid", "ORDER", "BY", "COUNT", "(", "DISTINCT", "t3.citingpaperid", ")", "DESC", ";" ], "query_toks_no_value": [ "select", "distinct", "count", "(", "distinct", "t3", ".", "citingpaperid", ")", ",", "t1", ".", "paperid", "from", "paper", "as", "t1", "join", "cite", "as", "t3", "on", "t1", ".", "paperid", "=", "t3", ".", "citedpaperid", "join", "venue", "as", "t2", "on", "t2", ".", "venueid", "=", "t1", ".", "venueid", "where", "t1", ".", "year", "=", "value", "and", "t2", ".", "venuename", "=", "value", "group", "by", "t1", ".", "paperid", "order", "by", "count", "(", "distinct", "t3", ".", "citingpaperid", ")", "desc" ], "question": "Qual foi o melhor artigo na TACL 2014?", "question_toks": [ "Qual", "foi", "o", "melhor", "artigo", "na", "TACL", "2014", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 5 ], [ "table_unit", 6 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 19, false ], null ], "and", [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ] ] }, "select": [ true, [ [ 3, [ 0, [ 0, 18, true ], null ] ], [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 14, false ], null ], 2014.0, null ], "and", [ false, 2, [ 0, [ 0, 2, false ], null ], "\"TACL\"", null ] ], "groupBy": [ [ 0, 11, false ] ], "having": [], "orderBy": [ "desc", [ [ 0, [ 3, 18, true ], null ] ] ], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t1.authorid FROM venue AS t3 JOIN paper AS t2 ON t3.venueid = t2.venueid JOIN writes AS t1 ON t1.paperid = t2.paperid WHERE t2.year = 2016 AND t3.venuename = \"acl\";", "query_toks": [ "SELECT", "DISTINCT", "t1.authorid", "FROM", "venue", "AS", "t3", "JOIN", "paper", "AS", "t2", "ON", "t3.venueid", "=", "t2.venueid", "JOIN", "writes", "AS", "t1", "ON", "t1.paperid", "=", "t2.paperid", "WHERE", "t2.year", "=", "2016", "AND", "t3.venuename", "=", "``", "acl", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t1", ".", "authorid", "from", "venue", "as", "t3", "join", "paper", "as", "t2", "on", "t3", ".", "venueid", "=", "t2", ".", "venueid", "join", "writes", "as", "t1", "on", "t1", ".", "paperid", "=", "t2", ".", "paperid", "where", "t2", ".", "year", "=", "value", "and", "t3", ".", "venuename", "=", "value" ], "question": "quem publicou na acl 2016?", "question_toks": [ "quem", "publicou", "na", "acl", "2016", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ], [ "table_unit", 5 ], [ "table_unit", 9 ] ], "conds": [ [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 25, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 14, false ], null ], 2016.0, null ], "and", [ false, 2, [ 0, [ 0, 2, false ], null ], "\"acl\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t1.authorid FROM venue AS t3 JOIN paper AS t2 ON t3.venueid = t2.venueid JOIN writes AS t1 ON t1.paperid = t2.paperid WHERE t2.year = 2016 AND t3.venuename = \"acl\";", "query_toks": [ "SELECT", "DISTINCT", "t1.authorid", "FROM", "venue", "AS", "t3", "JOIN", "paper", "AS", "t2", "ON", "t3.venueid", "=", "t2.venueid", "JOIN", "writes", "AS", "t1", "ON", "t1.paperid", "=", "t2.paperid", "WHERE", "t2.year", "=", "2016", "AND", "t3.venuename", "=", "``", "acl", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t1", ".", "authorid", "from", "venue", "as", "t3", "join", "paper", "as", "t2", "on", "t3", ".", "venueid", "=", "t2", ".", "venueid", "join", "writes", "as", "t1", "on", "t1", ".", "paperid", "=", "t2", ".", "paperid", "where", "t2", ".", "year", "=", "value", "and", "t3", ".", "venuename", "=", "value" ], "question": "autores acl 2016", "question_toks": [ "autores", "acl", "2016" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ], [ "table_unit", 5 ], [ "table_unit", 9 ] ], "conds": [ [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 25, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 14, false ], null ], 2016.0, null ], "and", [ false, 2, [ 0, [ 0, 2, false ], null ], "\"acl\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t1.authorid FROM venue AS t3 JOIN paper AS t2 ON t3.venueid = t2.venueid JOIN writes AS t1 ON t1.paperid = t2.paperid WHERE t2.year = 2016 AND t3.venuename = \"acl\";", "query_toks": [ "SELECT", "DISTINCT", "t1.authorid", "FROM", "venue", "AS", "t3", "JOIN", "paper", "AS", "t2", "ON", "t3.venueid", "=", "t2.venueid", "JOIN", "writes", "AS", "t1", "ON", "t1.paperid", "=", "t2.paperid", "WHERE", "t2.year", "=", "2016", "AND", "t3.venuename", "=", "``", "acl", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t1", ".", "authorid", "from", "venue", "as", "t3", "join", "paper", "as", "t2", "on", "t3", ".", "venueid", "=", "t2", ".", "venueid", "join", "writes", "as", "t1", "on", "t1", ".", "paperid", "=", "t2", ".", "paperid", "where", "t2", ".", "year", "=", "value", "and", "t3", ".", "venuename", "=", "value" ], "question": "autores de artigos ACL 2016", "question_toks": [ "autores", "de", "artigos", "ACL", "2016" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ], [ "table_unit", 5 ], [ "table_unit", 9 ] ], "conds": [ [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 25, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 14, false ], null ], 2016.0, null ], "and", [ false, 2, [ 0, [ 0, 2, false ], null ], "\"acl\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t1.authorid FROM venue AS t3 JOIN paper AS t2 ON t3.venueid = t2.venueid JOIN writes AS t1 ON t1.paperid = t2.paperid WHERE t2.year = 2016 AND t3.venuename = \"acl\";", "query_toks": [ "SELECT", "DISTINCT", "t1.authorid", "FROM", "venue", "AS", "t3", "JOIN", "paper", "AS", "t2", "ON", "t3.venueid", "=", "t2.venueid", "JOIN", "writes", "AS", "t1", "ON", "t1.paperid", "=", "t2.paperid", "WHERE", "t2.year", "=", "2016", "AND", "t3.venuename", "=", "``", "acl", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t1", ".", "authorid", "from", "venue", "as", "t3", "join", "paper", "as", "t2", "on", "t3", ".", "venueid", "=", "t2", ".", "venueid", "join", "writes", "as", "t1", "on", "t1", ".", "paperid", "=", "t2", ".", "paperid", "where", "t2", ".", "year", "=", "value", "and", "t3", ".", "venuename", "=", "value" ], "question": "Lista de autores ACL 2016", "question_toks": [ "Lista", "de", "autores", "ACL", "2016" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ], [ "table_unit", 5 ], [ "table_unit", 9 ] ], "conds": [ [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 25, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 14, false ], null ], 2016.0, null ], "and", [ false, 2, [ 0, [ 0, 2, false ], null ], "\"acl\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t1.authorid FROM venue AS t3 JOIN paper AS t2 ON t3.venueid = t2.venueid JOIN writes AS t1 ON t1.paperid = t2.paperid WHERE t2.year = 2016 AND t3.venuename = \"acl\";", "query_toks": [ "SELECT", "DISTINCT", "t1.authorid", "FROM", "venue", "AS", "t3", "JOIN", "paper", "AS", "t2", "ON", "t3.venueid", "=", "t2.venueid", "JOIN", "writes", "AS", "t1", "ON", "t1.paperid", "=", "t2.paperid", "WHERE", "t2.year", "=", "2016", "AND", "t3.venuename", "=", "``", "acl", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t1", ".", "authorid", "from", "venue", "as", "t3", "join", "paper", "as", "t2", "on", "t3", ".", "venueid", "=", "t2", ".", "venueid", "join", "writes", "as", "t1", "on", "t1", ".", "paperid", "=", "t2", ".", "paperid", "where", "t2", ".", "year", "=", "value", "and", "t3", ".", "venuename", "=", "value" ], "question": "autor publicado acl 2016", "question_toks": [ "autor", "publicado", "acl", "2016" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ], [ "table_unit", 5 ], [ "table_unit", 9 ] ], "conds": [ [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 25, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 14, false ], null ], 2016.0, null ], "and", [ false, 2, [ 0, [ 0, 2, false ], null ], "\"acl\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t1.authorid FROM venue AS t3 JOIN paper AS t2 ON t3.venueid = t2.venueid JOIN writes AS t1 ON t1.paperid = t2.paperid WHERE t2.year = 2016 AND t3.venuename = \"acl\";", "query_toks": [ "SELECT", "DISTINCT", "t1.authorid", "FROM", "venue", "AS", "t3", "JOIN", "paper", "AS", "t2", "ON", "t3.venueid", "=", "t2.venueid", "JOIN", "writes", "AS", "t1", "ON", "t1.paperid", "=", "t2.paperid", "WHERE", "t2.year", "=", "2016", "AND", "t3.venuename", "=", "``", "acl", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t1", ".", "authorid", "from", "venue", "as", "t3", "join", "paper", "as", "t2", "on", "t3", ".", "venueid", "=", "t2", ".", "venueid", "join", "writes", "as", "t1", "on", "t1", ".", "paperid", "=", "t2", ".", "paperid", "where", "t2", ".", "year", "=", "value", "and", "t3", ".", "venuename", "=", "value" ], "question": "quem teve trabalhos na acl 2016?", "question_toks": [ "quem", "teve", "trabalhos", "na", "acl", "2016", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ], [ "table_unit", 5 ], [ "table_unit", 9 ] ], "conds": [ [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 25, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 14, false ], null ], 2016.0, null ], "and", [ false, 2, [ 0, [ 0, 2, false ], null ], "\"acl\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t1.authorid FROM venue AS t3 JOIN paper AS t2 ON t3.venueid = t2.venueid JOIN writes AS t1 ON t1.paperid = t2.paperid WHERE t2.year = 2016 AND t3.venuename = \"acl\";", "query_toks": [ "SELECT", "DISTINCT", "t1.authorid", "FROM", "venue", "AS", "t3", "JOIN", "paper", "AS", "t2", "ON", "t3.venueid", "=", "t2.venueid", "JOIN", "writes", "AS", "t1", "ON", "t1.paperid", "=", "t2.paperid", "WHERE", "t2.year", "=", "2016", "AND", "t3.venuename", "=", "``", "acl", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t1", ".", "authorid", "from", "venue", "as", "t3", "join", "paper", "as", "t2", "on", "t3", ".", "venueid", "=", "t2", ".", "venueid", "join", "writes", "as", "t1", "on", "t1", ".", "paperid", "=", "t2", ".", "paperid", "where", "t2", ".", "year", "=", "value", "and", "t3", ".", "venuename", "=", "value" ], "question": "Lista de autores em acl 2016", "question_toks": [ "Lista", "de", "autores", "em", "acl", "2016" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ], [ "table_unit", 5 ], [ "table_unit", 9 ] ], "conds": [ [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 25, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 14, false ], null ], 2016.0, null ], "and", [ false, 2, [ 0, [ 0, 2, false ], null ], "\"acl\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid WHERE t1.keyphrasename = \"Multiuser Receiver in the Decision Feedback\" AND t3.year = 2016 GROUP BY t3.paperid HAVING COUNT ( DISTINCT t1.keyphrasename ) > 1;", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t1", "ON", "t2.keyphraseid", "=", "t1.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "WHERE", "t1.keyphrasename", "=", "``", "Multiuser", "Receiver", "in", "the", "Decision", "Feedback", "''", "AND", "t3.year", "=", "2016", "GROUP", "BY", "t3.paperid", "HAVING", "COUNT", "(", "DISTINCT", "t1.keyphrasename", ")", ">", "1", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t1", "on", "t2", ".", "keyphraseid", "=", "t1", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "where", "t1", ".", "keyphrasename", "=", "value", "and", "t3", ".", "year", "=", "value", "group", "by", "t3", ".", "paperid", "having", "count", "(", "distinct", "t1", ".", "keyphrasename", ")", ">", "value" ], "question": "Quantos artigos foram escritos sobre o Receptor de multiusuário no Feedback de decisão deste ano?", "question_toks": [ "Quantos", "artigos", "foram", "escritos", "sobre", "o", "Receptor", "de", "multiusuário", "no", "Feedback", "de", "decisão", "deste", "ano", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"Multiuser Receiver in the Decision Feedback\"", null ], "and", [ false, 2, [ 0, [ 0, 14, false ], null ], 2016.0, null ] ], "groupBy": [ [ 0, 11, false ] ], "having": [ [ false, 3, [ 0, [ 3, 10, true ], null ], 1.0, null ] ], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT COUNT ( DISTINCT t3.paperid ) FROM paperdataset AS t2 JOIN dataset AS t1 ON t2.datasetid = t1.datasetid JOIN paper AS t3 ON t3.paperid = t2.paperid WHERE t1.datasetname LIKE \"ImageNet\";", "query_toks": [ "SELECT", "DISTINCT", "COUNT", "(", "DISTINCT", "t3.paperid", ")", "FROM", "paperdataset", "AS", "t2", "JOIN", "dataset", "AS", "t1", "ON", "t2.datasetid", "=", "t1.datasetid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "WHERE", "t1.datasetname", "LIKE", "``", "ImageNet", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "count", "(", "distinct", "t3", ".", "paperid", ")", "from", "paperdataset", "as", "t2", "join", "dataset", "as", "t1", "on", "t2", ".", "datasetid", "=", "t1", ".", "datasetid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "where", "t1", ".", "datasetname", "like", "value" ], "question": "Quantos jornais realizam experimentos no ImageNet?", "question_toks": [ "Quantos", "jornais", "realizam", "experimentos", "no", "ImageNet", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 7 ], [ "table_unit", 2 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 21, false ], null ], [ 0, 5, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 20, false ], null ] ] }, "select": [ true, [ [ 3, [ 0, [ 0, 11, true ], null ] ] ] ], "where": [ [ false, 9, [ 0, [ 0, 6, false ], null ], "\"ImageNet\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT COUNT ( DISTINCT t3.paperid ) FROM paperdataset AS t2 JOIN dataset AS t1 ON t2.datasetid = t1.datasetid JOIN paper AS t3 ON t3.paperid = t2.paperid WHERE t1.datasetname LIKE \"ImageNet\";", "query_toks": [ "SELECT", "DISTINCT", "COUNT", "(", "DISTINCT", "t3.paperid", ")", "FROM", "paperdataset", "AS", "t2", "JOIN", "dataset", "AS", "t1", "ON", "t2.datasetid", "=", "t1.datasetid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "WHERE", "t1.datasetname", "LIKE", "``", "ImageNet", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "count", "(", "distinct", "t3", ".", "paperid", ")", "from", "paperdataset", "as", "t2", "join", "dataset", "as", "t1", "on", "t2", ".", "datasetid", "=", "t1", ".", "datasetid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "where", "t1", ".", "datasetname", "like", "value" ], "question": "Quantos artigos usaram o conjunto de dados ImageNet?", "question_toks": [ "Quantos", "artigos", "usaram", "o", "conjunto", "de", "dados", "ImageNet", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 7 ], [ "table_unit", 2 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 21, false ], null ], [ 0, 5, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 20, false ], null ] ] }, "select": [ true, [ [ 3, [ 0, [ 0, 11, true ], null ] ] ] ], "where": [ [ false, 9, [ 0, [ 0, 6, false ], null ], "\"ImageNet\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT COUNT ( DISTINCT t3.paperid ) FROM paperdataset AS t2 JOIN dataset AS t1 ON t2.datasetid = t1.datasetid JOIN paper AS t3 ON t3.paperid = t2.paperid WHERE t1.datasetname LIKE \"ImageNet\";", "query_toks": [ "SELECT", "DISTINCT", "COUNT", "(", "DISTINCT", "t3.paperid", ")", "FROM", "paperdataset", "AS", "t2", "JOIN", "dataset", "AS", "t1", "ON", "t2.datasetid", "=", "t1.datasetid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "WHERE", "t1.datasetname", "LIKE", "``", "ImageNet", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "count", "(", "distinct", "t3", ".", "paperid", ")", "from", "paperdataset", "as", "t2", "join", "dataset", "as", "t1", "on", "t2", ".", "datasetid", "=", "t1", ".", "datasetid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "where", "t1", ".", "datasetname", "like", "value" ], "question": "Quantos artigos escritos na ImageNet?", "question_toks": [ "Quantos", "artigos", "escritos", "na", "ImageNet", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 7 ], [ "table_unit", 2 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 21, false ], null ], [ 0, 5, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 20, false ], null ] ] }, "select": [ true, [ [ 3, [ 0, [ 0, 11, true ], null ] ] ] ], "where": [ [ false, 9, [ 0, [ 0, 6, false ], null ], "\"ImageNet\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT COUNT ( DISTINCT t3.paperid ) FROM paperdataset AS t2 JOIN dataset AS t1 ON t2.datasetid = t1.datasetid JOIN paper AS t3 ON t3.paperid = t2.paperid WHERE t1.datasetname LIKE \"ImageNet\";", "query_toks": [ "SELECT", "DISTINCT", "COUNT", "(", "DISTINCT", "t3.paperid", ")", "FROM", "paperdataset", "AS", "t2", "JOIN", "dataset", "AS", "t1", "ON", "t2.datasetid", "=", "t1.datasetid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "WHERE", "t1.datasetname", "LIKE", "``", "ImageNet", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "count", "(", "distinct", "t3", ".", "paperid", ")", "from", "paperdataset", "as", "t2", "join", "dataset", "as", "t1", "on", "t2", ".", "datasetid", "=", "t1", ".", "datasetid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "where", "t1", ".", "datasetname", "like", "value" ], "question": "quantos artigos são baseados em ImageNet", "question_toks": [ "quantos", "artigos", "são", "baseados", "em", "ImageNet" ], "sql": { "from": { "table_units": [ [ "table_unit", 7 ], [ "table_unit", 2 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 21, false ], null ], [ 0, 5, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 20, false ], null ] ] }, "select": [ true, [ [ 3, [ 0, [ 0, 11, true ], null ] ] ] ], "where": [ [ false, 9, [ 0, [ 0, 6, false ], null ], "\"ImageNet\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT COUNT ( DISTINCT t3.paperid ) FROM paperdataset AS t2 JOIN dataset AS t1 ON t2.datasetid = t1.datasetid JOIN paper AS t3 ON t3.paperid = t2.paperid WHERE t1.datasetname LIKE \"ImageNet\";", "query_toks": [ "SELECT", "DISTINCT", "COUNT", "(", "DISTINCT", "t3.paperid", ")", "FROM", "paperdataset", "AS", "t2", "JOIN", "dataset", "AS", "t1", "ON", "t2.datasetid", "=", "t1.datasetid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "WHERE", "t1.datasetname", "LIKE", "``", "ImageNet", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "count", "(", "distinct", "t3", ".", "paperid", ")", "from", "paperdataset", "as", "t2", "join", "dataset", "as", "t1", "on", "t2", ".", "datasetid", "=", "t1", ".", "datasetid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "where", "t1", ".", "datasetname", "like", "value" ], "question": "quantos jornais usam ImageNet?", "question_toks": [ "quantos", "jornais", "usam", "ImageNet", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 7 ], [ "table_unit", 2 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 21, false ], null ], [ 0, 5, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 20, false ], null ] ] }, "select": [ true, [ [ 3, [ 0, [ 0, 11, true ], null ] ] ] ], "where": [ [ false, 9, [ 0, [ 0, 6, false ], null ], "\"ImageNet\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT COUNT ( t3.citedpaperid ) FROM writes AS t2 JOIN author AS t1 ON t2.authorid = t1.authorid JOIN cite AS t3 ON t2.paperid = t3.citingpaperid WHERE t1.authorname = \"Mirella Lapata\";", "query_toks": [ "SELECT", "DISTINCT", "COUNT", "(", "t3.citedpaperid", ")", "FROM", "writes", "AS", "t2", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "JOIN", "cite", "AS", "t3", "ON", "t2.paperid", "=", "t3.citingpaperid", "WHERE", "t1.authorname", "=", "``", "Mirella", "Lapata", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "count", "(", "t3", ".", "citedpaperid", ")", "from", "writes", "as", "t2", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "join", "cite", "as", "t3", "on", "t2", ".", "paperid", "=", "t3", ".", "citingpaperid", "where", "t1", ".", "authorname", "=", "value" ], "question": "Quantos artigos Mirella Lapata citou?", "question_toks": [ "Quantos", "artigos", "Mirella", "Lapata", "citou", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ], [ "table_unit", 6 ] ], "conds": [ [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 18, false ], null ] ] }, "select": [ true, [ [ 3, [ 0, [ 0, 19, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Mirella Lapata\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT COUNT ( t3.citedpaperid ) FROM writes AS t2 JOIN author AS t1 ON t2.authorid = t1.authorid JOIN cite AS t3 ON t2.paperid = t3.citingpaperid WHERE t1.authorname = \"Mirella Lapata\";", "query_toks": [ "SELECT", "DISTINCT", "COUNT", "(", "t3.citedpaperid", ")", "FROM", "writes", "AS", "t2", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "JOIN", "cite", "AS", "t3", "ON", "t2.paperid", "=", "t3.citingpaperid", "WHERE", "t1.authorname", "=", "``", "Mirella", "Lapata", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "count", "(", "t3", ".", "citedpaperid", ")", "from", "writes", "as", "t2", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "join", "cite", "as", "t3", "on", "t2", ".", "paperid", "=", "t3", ".", "citingpaperid", "where", "t1", ".", "authorname", "=", "value" ], "question": "quantos artigos Mirella Lapata cita", "question_toks": [ "quantos", "artigos", "Mirella", "Lapata", "cita" ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ], [ "table_unit", 6 ] ], "conds": [ [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 18, false ], null ] ] }, "select": [ true, [ [ 3, [ 0, [ 0, 19, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Mirella Lapata\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT COUNT ( t3.citedpaperid ) FROM writes AS t2 JOIN author AS t1 ON t2.authorid = t1.authorid JOIN cite AS t3 ON t2.paperid = t3.citingpaperid WHERE t1.authorname = \"Mirella Lapata\";", "query_toks": [ "SELECT", "DISTINCT", "COUNT", "(", "t3.citedpaperid", ")", "FROM", "writes", "AS", "t2", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "JOIN", "cite", "AS", "t3", "ON", "t2.paperid", "=", "t3.citingpaperid", "WHERE", "t1.authorname", "=", "``", "Mirella", "Lapata", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "count", "(", "t3", ".", "citedpaperid", ")", "from", "writes", "as", "t2", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "join", "cite", "as", "t3", "on", "t2", ".", "paperid", "=", "t3", ".", "citingpaperid", "where", "t1", ".", "authorname", "=", "value" ], "question": "quantos artigos Mirella Lapata citou?", "question_toks": [ "quantos", "artigos", "Mirella", "Lapata", "citou", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ], [ "table_unit", 6 ] ], "conds": [ [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 18, false ], null ] ] }, "select": [ true, [ [ 3, [ 0, [ 0, 19, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Mirella Lapata\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.year FROM venue AS t4 JOIN paper AS t3 ON t4.venueid = t3.venueid JOIN writes AS t2 ON t2.paperid = t3.paperid JOIN author AS t1 ON t2.authorid = t1.authorid WHERE t1.authorname = \"Michael Stonebraker\" AND t4.venuename = \"VLDB\" ORDER BY t3.year;", "query_toks": [ "SELECT", "DISTINCT", "t3.year", "FROM", "venue", "AS", "t4", "JOIN", "paper", "AS", "t3", "ON", "t4.venueid", "=", "t3.venueid", "JOIN", "writes", "AS", "t2", "ON", "t2.paperid", "=", "t3.paperid", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "WHERE", "t1.authorname", "=", "``", "Michael", "Stonebraker", "''", "AND", "t4.venuename", "=", "``", "VLDB", "''", "ORDER", "BY", "t3.year", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "year", "from", "venue", "as", "t4", "join", "paper", "as", "t3", "on", "t4", ".", "venueid", "=", "t3", ".", "venueid", "join", "writes", "as", "t2", "on", "t2", ".", "paperid", "=", "t3", ".", "paperid", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "where", "t1", ".", "authorname", "=", "value", "and", "t4", ".", "venuename", "=", "value", "order", "by", "t3", ".", "year" ], "question": "Quando Michael Stonebraker publica o primeiro artigo VLDB?", "question_toks": [ "Quando", "Michael", "Stonebraker", "publica", "o", "primeiro", "artigo", "VLDB", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ], [ "table_unit", 5 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 14, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Michael Stonebraker\"", null ], "and", [ false, 2, [ 0, [ 0, 2, false ], null ], "\"VLDB\"", null ] ], "groupBy": [], "having": [], "orderBy": [ "asc", [ [ 0, [ 0, 14, false ], null ] ] ], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t2.datasetid FROM paperdataset AS t3 JOIN dataset AS t2 ON t3.datasetid = t2.datasetid JOIN paperkeyphrase AS t1 ON t1.paperid = t3.paperid JOIN keyphrase AS t4 ON t1.keyphraseid = t4.keyphraseid WHERE t4.keyphrasename = \"semantic parsing\";", "query_toks": [ "SELECT", "DISTINCT", "t2.datasetid", "FROM", "paperdataset", "AS", "t3", "JOIN", "dataset", "AS", "t2", "ON", "t3.datasetid", "=", "t2.datasetid", "JOIN", "paperkeyphrase", "AS", "t1", "ON", "t1.paperid", "=", "t3.paperid", "JOIN", "keyphrase", "AS", "t4", "ON", "t1.keyphraseid", "=", "t4.keyphraseid", "WHERE", "t4.keyphrasename", "=", "``", "semantic", "parsing", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t2", ".", "datasetid", "from", "paperdataset", "as", "t3", "join", "dataset", "as", "t2", "on", "t3", ".", "datasetid", "=", "t2", ".", "datasetid", "join", "paperkeyphrase", "as", "t1", "on", "t1", ".", "paperid", "=", "t3", ".", "paperid", "join", "keyphrase", "as", "t4", "on", "t1", ".", "keyphraseid", "=", "t4", ".", "keyphraseid", "where", "t4", ".", "keyphrasename", "=", "value" ], "question": "conjunto de dados de análise semântica", "question_toks": [ "conjunto", "de", "dados", "de", "análise", "semântica" ], "sql": { "from": { "table_units": [ [ "table_unit", 7 ], [ "table_unit", 2 ], [ "table_unit", 8 ], [ "table_unit", 4 ] ], "conds": [ [ false, 2, [ 0, [ 0, 21, false ], null ], [ 0, 5, false ], null ], "and", [ false, 2, [ 0, [ 0, 22, false ], null ], [ 0, 20, false ], null ], "and", [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"semantic parsing\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t2.datasetid FROM paperdataset AS t3 JOIN dataset AS t2 ON t3.datasetid = t2.datasetid JOIN paperkeyphrase AS t1 ON t1.paperid = t3.paperid JOIN keyphrase AS t4 ON t1.keyphraseid = t4.keyphraseid WHERE t4.keyphrasename = \"semantic parsing\";", "query_toks": [ "SELECT", "DISTINCT", "t2.datasetid", "FROM", "paperdataset", "AS", "t3", "JOIN", "dataset", "AS", "t2", "ON", "t3.datasetid", "=", "t2.datasetid", "JOIN", "paperkeyphrase", "AS", "t1", "ON", "t1.paperid", "=", "t3.paperid", "JOIN", "keyphrase", "AS", "t4", "ON", "t1.keyphraseid", "=", "t4.keyphraseid", "WHERE", "t4.keyphrasename", "=", "``", "semantic", "parsing", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t2", ".", "datasetid", "from", "paperdataset", "as", "t3", "join", "dataset", "as", "t2", "on", "t3", ".", "datasetid", "=", "t2", ".", "datasetid", "join", "paperkeyphrase", "as", "t1", "on", "t1", ".", "paperid", "=", "t3", ".", "paperid", "join", "keyphrase", "as", "t4", "on", "t1", ".", "keyphraseid", "=", "t4", ".", "keyphraseid", "where", "t4", ".", "keyphrasename", "=", "value" ], "question": "conjuntos de dados para análise semântica", "question_toks": [ "conjuntos", "de", "dados", "para", "análise", "semântica" ], "sql": { "from": { "table_units": [ [ "table_unit", 7 ], [ "table_unit", 2 ], [ "table_unit", 8 ], [ "table_unit", 4 ] ], "conds": [ [ false, 2, [ 0, [ 0, 21, false ], null ], [ 0, 5, false ], null ], "and", [ false, 2, [ 0, [ 0, 22, false ], null ], [ 0, 20, false ], null ], "and", [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"semantic parsing\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t2.datasetid FROM paperdataset AS t3 JOIN dataset AS t2 ON t3.datasetid = t2.datasetid JOIN paperkeyphrase AS t1 ON t1.paperid = t3.paperid JOIN keyphrase AS t4 ON t1.keyphraseid = t4.keyphraseid WHERE t4.keyphrasename = \"semantic parsing\";", "query_toks": [ "SELECT", "DISTINCT", "t2.datasetid", "FROM", "paperdataset", "AS", "t3", "JOIN", "dataset", "AS", "t2", "ON", "t3.datasetid", "=", "t2.datasetid", "JOIN", "paperkeyphrase", "AS", "t1", "ON", "t1.paperid", "=", "t3.paperid", "JOIN", "keyphrase", "AS", "t4", "ON", "t1.keyphraseid", "=", "t4.keyphraseid", "WHERE", "t4.keyphrasename", "=", "``", "semantic", "parsing", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t2", ".", "datasetid", "from", "paperdataset", "as", "t3", "join", "dataset", "as", "t2", "on", "t3", ".", "datasetid", "=", "t2", ".", "datasetid", "join", "paperkeyphrase", "as", "t1", "on", "t1", ".", "paperid", "=", "t3", ".", "paperid", "join", "keyphrase", "as", "t4", "on", "t1", ".", "keyphraseid", "=", "t4", ".", "keyphraseid", "where", "t4", ".", "keyphrasename", "=", "value" ], "question": "listar conjuntos de dados para análise semântica", "question_toks": [ "listar", "conjuntos", "de", "dados", "para", "análise", "semântica" ], "sql": { "from": { "table_units": [ [ "table_unit", 7 ], [ "table_unit", 2 ], [ "table_unit", 8 ], [ "table_unit", 4 ] ], "conds": [ [ false, 2, [ 0, [ 0, 21, false ], null ], [ 0, 5, false ], null ], "and", [ false, 2, [ 0, [ 0, 22, false ], null ], [ 0, 20, false ], null ], "and", [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"semantic parsing\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t2.datasetid FROM paperdataset AS t3 JOIN dataset AS t2 ON t3.datasetid = t2.datasetid JOIN paperkeyphrase AS t1 ON t1.paperid = t3.paperid JOIN keyphrase AS t4 ON t1.keyphraseid = t4.keyphraseid WHERE t4.keyphrasename = \"semantic parsing\";", "query_toks": [ "SELECT", "DISTINCT", "t2.datasetid", "FROM", "paperdataset", "AS", "t3", "JOIN", "dataset", "AS", "t2", "ON", "t3.datasetid", "=", "t2.datasetid", "JOIN", "paperkeyphrase", "AS", "t1", "ON", "t1.paperid", "=", "t3.paperid", "JOIN", "keyphrase", "AS", "t4", "ON", "t1.keyphraseid", "=", "t4.keyphraseid", "WHERE", "t4.keyphrasename", "=", "``", "semantic", "parsing", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t2", ".", "datasetid", "from", "paperdataset", "as", "t3", "join", "dataset", "as", "t2", "on", "t3", ".", "datasetid", "=", "t2", ".", "datasetid", "join", "paperkeyphrase", "as", "t1", "on", "t1", ".", "paperid", "=", "t3", ".", "paperid", "join", "keyphrase", "as", "t4", "on", "t1", ".", "keyphraseid", "=", "t4", ".", "keyphraseid", "where", "t4", ".", "keyphrasename", "=", "value" ], "question": "conjuntos de dados para análise semântica", "question_toks": [ "conjuntos", "de", "dados", "para", "análise", "semântica" ], "sql": { "from": { "table_units": [ [ "table_unit", 7 ], [ "table_unit", 2 ], [ "table_unit", 8 ], [ "table_unit", 4 ] ], "conds": [ [ false, 2, [ 0, [ 0, 21, false ], null ], [ 0, 5, false ], null ], "and", [ false, 2, [ 0, [ 0, 22, false ], null ], [ 0, 20, false ], null ], "and", [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"semantic parsing\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t2.datasetid FROM paperdataset AS t3 JOIN dataset AS t2 ON t3.datasetid = t2.datasetid JOIN paperkeyphrase AS t1 ON t1.paperid = t3.paperid JOIN keyphrase AS t4 ON t1.keyphraseid = t4.keyphraseid WHERE t4.keyphrasename = \"semantic parsing\";", "query_toks": [ "SELECT", "DISTINCT", "t2.datasetid", "FROM", "paperdataset", "AS", "t3", "JOIN", "dataset", "AS", "t2", "ON", "t3.datasetid", "=", "t2.datasetid", "JOIN", "paperkeyphrase", "AS", "t1", "ON", "t1.paperid", "=", "t3.paperid", "JOIN", "keyphrase", "AS", "t4", "ON", "t1.keyphraseid", "=", "t4.keyphraseid", "WHERE", "t4.keyphrasename", "=", "``", "semantic", "parsing", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t2", ".", "datasetid", "from", "paperdataset", "as", "t3", "join", "dataset", "as", "t2", "on", "t3", ".", "datasetid", "=", "t2", ".", "datasetid", "join", "paperkeyphrase", "as", "t1", "on", "t1", ".", "paperid", "=", "t3", ".", "paperid", "join", "keyphrase", "as", "t4", "on", "t1", ".", "keyphraseid", "=", "t4", ".", "keyphraseid", "where", "t4", ".", "keyphrasename", "=", "value" ], "question": "Conjuntos de dados com informações de análise semântica", "question_toks": [ "Conjuntos", "de", "dados", "com", "informações", "de", "análise", "semântica" ], "sql": { "from": { "table_units": [ [ "table_unit", 7 ], [ "table_unit", 2 ], [ "table_unit", 8 ], [ "table_unit", 4 ] ], "conds": [ [ false, 2, [ 0, [ 0, 21, false ], null ], [ 0, 5, false ], null ], "and", [ false, 2, [ 0, [ 0, 22, false ], null ], [ 0, 20, false ], null ], "and", [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"semantic parsing\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t2.datasetid FROM paperdataset AS t3 JOIN dataset AS t2 ON t3.datasetid = t2.datasetid JOIN paperkeyphrase AS t1 ON t1.paperid = t3.paperid JOIN keyphrase AS t4 ON t1.keyphraseid = t4.keyphraseid WHERE t4.keyphrasename = \"semantic parsing\";", "query_toks": [ "SELECT", "DISTINCT", "t2.datasetid", "FROM", "paperdataset", "AS", "t3", "JOIN", "dataset", "AS", "t2", "ON", "t3.datasetid", "=", "t2.datasetid", "JOIN", "paperkeyphrase", "AS", "t1", "ON", "t1.paperid", "=", "t3.paperid", "JOIN", "keyphrase", "AS", "t4", "ON", "t1.keyphraseid", "=", "t4.keyphraseid", "WHERE", "t4.keyphrasename", "=", "``", "semantic", "parsing", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t2", ".", "datasetid", "from", "paperdataset", "as", "t3", "join", "dataset", "as", "t2", "on", "t3", ".", "datasetid", "=", "t2", ".", "datasetid", "join", "paperkeyphrase", "as", "t1", "on", "t1", ".", "paperid", "=", "t3", ".", "paperid", "join", "keyphrase", "as", "t4", "on", "t1", ".", "keyphraseid", "=", "t4", ".", "keyphraseid", "where", "t4", ".", "keyphrasename", "=", "value" ], "question": "conjuntos de dados usados por papéis de análise semântica", "question_toks": [ "conjuntos", "de", "dados", "usados", "por", "papéis", "de", "análise", "semântica" ], "sql": { "from": { "table_units": [ [ "table_unit", 7 ], [ "table_unit", 2 ], [ "table_unit", 8 ], [ "table_unit", 4 ] ], "conds": [ [ false, 2, [ 0, [ 0, 21, false ], null ], [ 0, 5, false ], null ], "and", [ false, 2, [ 0, [ 0, 22, false ], null ], [ 0, 20, false ], null ], "and", [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"semantic parsing\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t2.datasetid FROM paperdataset AS t3 JOIN dataset AS t2 ON t3.datasetid = t2.datasetid JOIN paperkeyphrase AS t1 ON t1.paperid = t3.paperid JOIN keyphrase AS t4 ON t1.keyphraseid = t4.keyphraseid WHERE t4.keyphrasename = \"semantic parsing\";", "query_toks": [ "SELECT", "DISTINCT", "t2.datasetid", "FROM", "paperdataset", "AS", "t3", "JOIN", "dataset", "AS", "t2", "ON", "t3.datasetid", "=", "t2.datasetid", "JOIN", "paperkeyphrase", "AS", "t1", "ON", "t1.paperid", "=", "t3.paperid", "JOIN", "keyphrase", "AS", "t4", "ON", "t1.keyphraseid", "=", "t4.keyphraseid", "WHERE", "t4.keyphrasename", "=", "``", "semantic", "parsing", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t2", ".", "datasetid", "from", "paperdataset", "as", "t3", "join", "dataset", "as", "t2", "on", "t3", ".", "datasetid", "=", "t2", ".", "datasetid", "join", "paperkeyphrase", "as", "t1", "on", "t1", ".", "paperid", "=", "t3", ".", "paperid", "join", "keyphrase", "as", "t4", "on", "t1", ".", "keyphraseid", "=", "t4", ".", "keyphraseid", "where", "t4", ".", "keyphrasename", "=", "value" ], "question": "conjuntos de dados em papéis de análise semântica", "question_toks": [ "conjuntos", "de", "dados", "em", "papéis", "de", "análise", "semântica" ], "sql": { "from": { "table_units": [ [ "table_unit", 7 ], [ "table_unit", 2 ], [ "table_unit", 8 ], [ "table_unit", 4 ] ], "conds": [ [ false, 2, [ 0, [ 0, 21, false ], null ], [ 0, 5, false ], null ], "and", [ false, 2, [ 0, [ 0, 22, false ], null ], [ 0, 20, false ], null ], "and", [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"semantic parsing\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t2.datasetid FROM paperdataset AS t3 JOIN dataset AS t2 ON t3.datasetid = t2.datasetid JOIN paperkeyphrase AS t1 ON t1.paperid = t3.paperid JOIN keyphrase AS t4 ON t1.keyphraseid = t4.keyphraseid WHERE t4.keyphrasename = \"semantic parsing\";", "query_toks": [ "SELECT", "DISTINCT", "t2.datasetid", "FROM", "paperdataset", "AS", "t3", "JOIN", "dataset", "AS", "t2", "ON", "t3.datasetid", "=", "t2.datasetid", "JOIN", "paperkeyphrase", "AS", "t1", "ON", "t1.paperid", "=", "t3.paperid", "JOIN", "keyphrase", "AS", "t4", "ON", "t1.keyphraseid", "=", "t4.keyphraseid", "WHERE", "t4.keyphrasename", "=", "``", "semantic", "parsing", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t2", ".", "datasetid", "from", "paperdataset", "as", "t3", "join", "dataset", "as", "t2", "on", "t3", ".", "datasetid", "=", "t2", ".", "datasetid", "join", "paperkeyphrase", "as", "t1", "on", "t1", ".", "paperid", "=", "t3", ".", "paperid", "join", "keyphrase", "as", "t4", "on", "t1", ".", "keyphraseid", "=", "t4", ".", "keyphraseid", "where", "t4", ".", "keyphrasename", "=", "value" ], "question": "conjuntos de dados de análise semântica", "question_toks": [ "conjuntos", "de", "dados", "de", "análise", "semântica" ], "sql": { "from": { "table_units": [ [ "table_unit", 7 ], [ "table_unit", 2 ], [ "table_unit", 8 ], [ "table_unit", 4 ] ], "conds": [ [ false, 2, [ 0, [ 0, 21, false ], null ], [ 0, 5, false ], null ], "and", [ false, 2, [ 0, [ 0, 22, false ], null ], [ 0, 20, false ], null ], "and", [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"semantic parsing\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t2.datasetid FROM paperdataset AS t3 JOIN dataset AS t2 ON t3.datasetid = t2.datasetid JOIN paperkeyphrase AS t1 ON t1.paperid = t3.paperid JOIN keyphrase AS t4 ON t1.keyphraseid = t4.keyphraseid WHERE t4.keyphrasename = \"semantic parsing\";", "query_toks": [ "SELECT", "DISTINCT", "t2.datasetid", "FROM", "paperdataset", "AS", "t3", "JOIN", "dataset", "AS", "t2", "ON", "t3.datasetid", "=", "t2.datasetid", "JOIN", "paperkeyphrase", "AS", "t1", "ON", "t1.paperid", "=", "t3.paperid", "JOIN", "keyphrase", "AS", "t4", "ON", "t1.keyphraseid", "=", "t4.keyphraseid", "WHERE", "t4.keyphrasename", "=", "``", "semantic", "parsing", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t2", ".", "datasetid", "from", "paperdataset", "as", "t3", "join", "dataset", "as", "t2", "on", "t3", ".", "datasetid", "=", "t2", ".", "datasetid", "join", "paperkeyphrase", "as", "t1", "on", "t1", ".", "paperid", "=", "t3", ".", "paperid", "join", "keyphrase", "as", "t4", "on", "t1", ".", "keyphraseid", "=", "t4", ".", "keyphraseid", "where", "t4", ".", "keyphrasename", "=", "value" ], "question": "conjuntos de dados em artigos sobre análise semântica", "question_toks": [ "conjuntos", "de", "dados", "em", "artigos", "sobre", "análise", "semântica" ], "sql": { "from": { "table_units": [ [ "table_unit", 7 ], [ "table_unit", 2 ], [ "table_unit", 8 ], [ "table_unit", 4 ] ], "conds": [ [ false, 2, [ 0, [ 0, 21, false ], null ], [ 0, 5, false ], null ], "and", [ false, 2, [ 0, [ 0, 22, false ], null ], [ 0, 20, false ], null ], "and", [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"semantic parsing\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t2.datasetid FROM paperdataset AS t3 JOIN dataset AS t2 ON t3.datasetid = t2.datasetid JOIN paperkeyphrase AS t1 ON t1.paperid = t3.paperid JOIN keyphrase AS t4 ON t1.keyphraseid = t4.keyphraseid WHERE t4.keyphrasename = \"semantic parsing\";", "query_toks": [ "SELECT", "DISTINCT", "t2.datasetid", "FROM", "paperdataset", "AS", "t3", "JOIN", "dataset", "AS", "t2", "ON", "t3.datasetid", "=", "t2.datasetid", "JOIN", "paperkeyphrase", "AS", "t1", "ON", "t1.paperid", "=", "t3.paperid", "JOIN", "keyphrase", "AS", "t4", "ON", "t1.keyphraseid", "=", "t4.keyphraseid", "WHERE", "t4.keyphrasename", "=", "``", "semantic", "parsing", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t2", ".", "datasetid", "from", "paperdataset", "as", "t3", "join", "dataset", "as", "t2", "on", "t3", ".", "datasetid", "=", "t2", ".", "datasetid", "join", "paperkeyphrase", "as", "t1", "on", "t1", ".", "paperid", "=", "t3", ".", "paperid", "join", "keyphrase", "as", "t4", "on", "t1", ".", "keyphraseid", "=", "t4", ".", "keyphraseid", "where", "t4", ".", "keyphrasename", "=", "value" ], "question": "conjuntos de dados usados para análise semântica", "question_toks": [ "conjuntos", "de", "dados", "usados", "para", "análise", "semântica" ], "sql": { "from": { "table_units": [ [ "table_unit", 7 ], [ "table_unit", 2 ], [ "table_unit", 8 ], [ "table_unit", 4 ] ], "conds": [ [ false, 2, [ 0, [ 0, 21, false ], null ], [ 0, 5, false ], null ], "and", [ false, 2, [ 0, [ 0, 22, false ], null ], [ 0, 20, false ], null ], "and", [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"semantic parsing\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t2.datasetid FROM paperdataset AS t3 JOIN dataset AS t2 ON t3.datasetid = t2.datasetid JOIN paperkeyphrase AS t1 ON t1.paperid = t3.paperid JOIN keyphrase AS t4 ON t1.keyphraseid = t4.keyphraseid WHERE t4.keyphrasename = \"semantic parsing\";", "query_toks": [ "SELECT", "DISTINCT", "t2.datasetid", "FROM", "paperdataset", "AS", "t3", "JOIN", "dataset", "AS", "t2", "ON", "t3.datasetid", "=", "t2.datasetid", "JOIN", "paperkeyphrase", "AS", "t1", "ON", "t1.paperid", "=", "t3.paperid", "JOIN", "keyphrase", "AS", "t4", "ON", "t1.keyphraseid", "=", "t4.keyphraseid", "WHERE", "t4.keyphrasename", "=", "``", "semantic", "parsing", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t2", ".", "datasetid", "from", "paperdataset", "as", "t3", "join", "dataset", "as", "t2", "on", "t3", ".", "datasetid", "=", "t2", ".", "datasetid", "join", "paperkeyphrase", "as", "t1", "on", "t1", ".", "paperid", "=", "t3", ".", "paperid", "join", "keyphrase", "as", "t4", "on", "t1", ".", "keyphraseid", "=", "t4", ".", "keyphraseid", "where", "t4", ".", "keyphrasename", "=", "value" ], "question": "conjuntos de dados em grande escala usados na análise semântica", "question_toks": [ "conjuntos", "de", "dados", "em", "grande", "escala", "usados", "na", "análise", "semântica" ], "sql": { "from": { "table_units": [ [ "table_unit", 7 ], [ "table_unit", 2 ], [ "table_unit", 8 ], [ "table_unit", 4 ] ], "conds": [ [ false, 2, [ 0, [ 0, 21, false ], null ], [ 0, 5, false ], null ], "and", [ false, 2, [ 0, [ 0, 22, false ], null ], [ 0, 20, false ], null ], "and", [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"semantic parsing\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t2.datasetid FROM paperdataset AS t3 JOIN dataset AS t2 ON t3.datasetid = t2.datasetid JOIN paperkeyphrase AS t1 ON t1.paperid = t3.paperid JOIN keyphrase AS t4 ON t1.keyphraseid = t4.keyphraseid WHERE t4.keyphrasename = \"semantic parsing\";", "query_toks": [ "SELECT", "DISTINCT", "t2.datasetid", "FROM", "paperdataset", "AS", "t3", "JOIN", "dataset", "AS", "t2", "ON", "t3.datasetid", "=", "t2.datasetid", "JOIN", "paperkeyphrase", "AS", "t1", "ON", "t1.paperid", "=", "t3.paperid", "JOIN", "keyphrase", "AS", "t4", "ON", "t1.keyphraseid", "=", "t4.keyphraseid", "WHERE", "t4.keyphrasename", "=", "``", "semantic", "parsing", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t2", ".", "datasetid", "from", "paperdataset", "as", "t3", "join", "dataset", "as", "t2", "on", "t3", ".", "datasetid", "=", "t2", ".", "datasetid", "join", "paperkeyphrase", "as", "t1", "on", "t1", ".", "paperid", "=", "t3", ".", "paperid", "join", "keyphrase", "as", "t4", "on", "t1", ".", "keyphraseid", "=", "t4", ".", "keyphraseid", "where", "t4", ".", "keyphrasename", "=", "value" ], "question": "conjuntos de dados com análise semântica", "question_toks": [ "conjuntos", "de", "dados", "com", "análise", "semântica" ], "sql": { "from": { "table_units": [ [ "table_unit", 7 ], [ "table_unit", 2 ], [ "table_unit", 8 ], [ "table_unit", 4 ] ], "conds": [ [ false, 2, [ 0, [ 0, 21, false ], null ], [ 0, 5, false ], null ], "and", [ false, 2, [ 0, [ 0, 22, false ], null ], [ 0, 20, false ], null ], "and", [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"semantic parsing\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t2.datasetid FROM paperdataset AS t3 JOIN dataset AS t2 ON t3.datasetid = t2.datasetid JOIN paperkeyphrase AS t1 ON t1.paperid = t3.paperid JOIN keyphrase AS t4 ON t1.keyphraseid = t4.keyphraseid WHERE t4.keyphrasename = \"semantic parsing\";", "query_toks": [ "SELECT", "DISTINCT", "t2.datasetid", "FROM", "paperdataset", "AS", "t3", "JOIN", "dataset", "AS", "t2", "ON", "t3.datasetid", "=", "t2.datasetid", "JOIN", "paperkeyphrase", "AS", "t1", "ON", "t1.paperid", "=", "t3.paperid", "JOIN", "keyphrase", "AS", "t4", "ON", "t1.keyphraseid", "=", "t4.keyphraseid", "WHERE", "t4.keyphrasename", "=", "``", "semantic", "parsing", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t2", ".", "datasetid", "from", "paperdataset", "as", "t3", "join", "dataset", "as", "t2", "on", "t3", ".", "datasetid", "=", "t2", ".", "datasetid", "join", "paperkeyphrase", "as", "t1", "on", "t1", ".", "paperid", "=", "t3", ".", "paperid", "join", "keyphrase", "as", "t4", "on", "t1", ".", "keyphraseid", "=", "t4", ".", "keyphraseid", "where", "t4", ".", "keyphrasename", "=", "value" ], "question": "conjuntos de dados usados para avaliar a análise semântica", "question_toks": [ "conjuntos", "de", "dados", "usados", "para", "avaliar", "a", "análise", "semântica" ], "sql": { "from": { "table_units": [ [ "table_unit", 7 ], [ "table_unit", 2 ], [ "table_unit", 8 ], [ "table_unit", 4 ] ], "conds": [ [ false, 2, [ 0, [ 0, 21, false ], null ], [ 0, 5, false ], null ], "and", [ false, 2, [ 0, [ 0, 22, false ], null ], [ 0, 20, false ], null ], "and", [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"semantic parsing\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.journalid , t4.venueid FROM venue AS t4 JOIN paper AS t3 ON t4.venueid = t3.venueid JOIN writes AS t2 ON t2.paperid = t3.paperid JOIN author AS t1 ON t2.authorid = t1.authorid WHERE t1.authorname = \"Peter Mertens\";", "query_toks": [ "SELECT", "DISTINCT", "t3.journalid", ",", "t4.venueid", "FROM", "venue", "AS", "t4", "JOIN", "paper", "AS", "t3", "ON", "t4.venueid", "=", "t3.venueid", "JOIN", "writes", "AS", "t2", "ON", "t2.paperid", "=", "t3.paperid", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "WHERE", "t1.authorname", "=", "``", "Peter", "Mertens", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "journalid", ",", "t4", ".", "venueid", "from", "venue", "as", "t4", "join", "paper", "as", "t3", "on", "t4", ".", "venueid", "=", "t3", ".", "venueid", "join", "writes", "as", "t2", "on", "t2", ".", "paperid", "=", "t3", ".", "paperid", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "where", "t1", ".", "authorname", "=", "value" ], "question": "onde Peter Mertens publica?", "question_toks": [ "onde", "Peter", "Mertens", "publica", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ], [ "table_unit", 5 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 17, false ], null ] ], [ 0, [ 0, [ 0, 1, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Peter Mertens\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.journalid , t4.venueid FROM venue AS t4 JOIN paper AS t3 ON t4.venueid = t3.venueid JOIN writes AS t2 ON t2.paperid = t3.paperid JOIN author AS t1 ON t2.authorid = t1.authorid WHERE t1.authorname = \"Peter Mertens\";", "query_toks": [ "SELECT", "DISTINCT", "t3.journalid", ",", "t4.venueid", "FROM", "venue", "AS", "t4", "JOIN", "paper", "AS", "t3", "ON", "t4.venueid", "=", "t3.venueid", "JOIN", "writes", "AS", "t2", "ON", "t2.paperid", "=", "t3.paperid", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "WHERE", "t1.authorname", "=", "``", "Peter", "Mertens", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "journalid", ",", "t4", ".", "venueid", "from", "venue", "as", "t4", "join", "paper", "as", "t3", "on", "t4", ".", "venueid", "=", "t3", ".", "venueid", "join", "writes", "as", "t2", "on", "t2", ".", "paperid", "=", "t3", ".", "paperid", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "where", "t1", ".", "authorname", "=", "value" ], "question": "em que locais Peter Mertens publica?", "question_toks": [ "em", "que", "locais", "Peter", "Mertens", "publica", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ], [ "table_unit", 5 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 17, false ], null ] ], [ 0, [ 0, [ 0, 1, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Peter Mertens\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.journalid , t4.venueid FROM venue AS t4 JOIN paper AS t3 ON t4.venueid = t3.venueid JOIN writes AS t2 ON t2.paperid = t3.paperid JOIN author AS t1 ON t2.authorid = t1.authorid WHERE t1.authorname = \"Peter Mertens\";", "query_toks": [ "SELECT", "DISTINCT", "t3.journalid", ",", "t4.venueid", "FROM", "venue", "AS", "t4", "JOIN", "paper", "AS", "t3", "ON", "t4.venueid", "=", "t3.venueid", "JOIN", "writes", "AS", "t2", "ON", "t2.paperid", "=", "t3.paperid", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "WHERE", "t1.authorname", "=", "``", "Peter", "Mertens", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "journalid", ",", "t4", ".", "venueid", "from", "venue", "as", "t4", "join", "paper", "as", "t3", "on", "t4", ".", "venueid", "=", "t3", ".", "venueid", "join", "writes", "as", "t2", "on", "t2", ".", "paperid", "=", "t3", ".", "paperid", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "where", "t1", ".", "authorname", "=", "value" ], "question": "Onde Peter Mertens publica?", "question_toks": [ "Onde", "Peter", "Mertens", "publica", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ], [ "table_unit", 5 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 17, false ], null ] ], [ 0, [ 0, [ 0, 1, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Peter Mertens\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT COUNT ( t1.paperid ) FROM venue AS t2 JOIN paper AS t1 ON t2.venueid = t1.venueid WHERE t1.year = 2015 AND t2.venuename = \"nature communications\";", "query_toks": [ "SELECT", "DISTINCT", "COUNT", "(", "t1.paperid", ")", "FROM", "venue", "AS", "t2", "JOIN", "paper", "AS", "t1", "ON", "t2.venueid", "=", "t1.venueid", "WHERE", "t1.year", "=", "2015", "AND", "t2.venuename", "=", "``", "nature", "communications", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "count", "(", "t1", ".", "paperid", ")", "from", "venue", "as", "t2", "join", "paper", "as", "t1", "on", "t2", ".", "venueid", "=", "t1", ".", "venueid", "where", "t1", ".", "year", "=", "value", "and", "t2", ".", "venuename", "=", "value" ], "question": "quantos artigos apareceram em comunicações sobre a natureza no ano passado", "question_toks": [ "quantos", "artigos", "apareceram", "em", "comunicações", "sobre", "a", "natureza", "no", "ano", "passado" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ] ] }, "select": [ true, [ [ 3, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 14, false ], null ], 2015.0, null ], "and", [ false, 2, [ 0, [ 0, 2, false ], null ], "\"nature communications\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT COUNT ( t1.paperid ) FROM venue AS t2 JOIN paper AS t1 ON t2.venueid = t1.venueid WHERE t1.year = 2015 AND t2.venuename = \"nature communications\";", "query_toks": [ "SELECT", "DISTINCT", "COUNT", "(", "t1.paperid", ")", "FROM", "venue", "AS", "t2", "JOIN", "paper", "AS", "t1", "ON", "t2.venueid", "=", "t1.venueid", "WHERE", "t1.year", "=", "2015", "AND", "t2.venuename", "=", "``", "nature", "communications", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "count", "(", "t1", ".", "paperid", ")", "from", "venue", "as", "t2", "join", "paper", "as", "t1", "on", "t2", ".", "venueid", "=", "t1", ".", "venueid", "where", "t1", ".", "year", "=", "value", "and", "t2", ".", "venuename", "=", "value" ], "question": "Quantos jornais estiveram na Nature Communications 2015?", "question_toks": [ "Quantos", "jornais", "estiveram", "na", "Nature", "Communications", "2015", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ] ] }, "select": [ true, [ [ 3, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 14, false ], null ], 2015.0, null ], "and", [ false, 2, [ 0, [ 0, 2, false ], null ], "\"nature communications\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT COUNT ( t1.paperid ) FROM venue AS t2 JOIN paper AS t1 ON t2.venueid = t1.venueid WHERE t1.year = 2015 AND t2.venuename = \"nature communications\";", "query_toks": [ "SELECT", "DISTINCT", "COUNT", "(", "t1.paperid", ")", "FROM", "venue", "AS", "t2", "JOIN", "paper", "AS", "t1", "ON", "t2.venueid", "=", "t1.venueid", "WHERE", "t1.year", "=", "2015", "AND", "t2.venuename", "=", "``", "nature", "communications", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "count", "(", "t1", ".", "paperid", ")", "from", "venue", "as", "t2", "join", "paper", "as", "t1", "on", "t2", ".", "venueid", "=", "t1", ".", "venueid", "where", "t1", ".", "year", "=", "value", "and", "t2", ".", "venuename", "=", "value" ], "question": "quantos artigos aceitos em comunicações da natureza 2015", "question_toks": [ "quantos", "artigos", "aceitos", "em", "comunicações", "da", "natureza", "2015" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ] ] }, "select": [ true, [ [ 3, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 14, false ], null ], 2015.0, null ], "and", [ false, 2, [ 0, [ 0, 2, false ], null ], "\"nature communications\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT COUNT ( t1.paperid ) FROM venue AS t2 JOIN paper AS t1 ON t2.venueid = t1.venueid WHERE t1.year = 2015 AND t2.venuename = \"nature communications\";", "query_toks": [ "SELECT", "DISTINCT", "COUNT", "(", "t1.paperid", ")", "FROM", "venue", "AS", "t2", "JOIN", "paper", "AS", "t1", "ON", "t2.venueid", "=", "t1.venueid", "WHERE", "t1.year", "=", "2015", "AND", "t2.venuename", "=", "``", "nature", "communications", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "count", "(", "t1", ".", "paperid", ")", "from", "venue", "as", "t2", "join", "paper", "as", "t1", "on", "t2", ".", "venueid", "=", "t1", ".", "venueid", "where", "t1", ".", "year", "=", "value", "and", "t2", ".", "venuename", "=", "value" ], "question": "Quantos artigos foram publicados em comunicações da natureza em 2015?", "question_toks": [ "Quantos", "artigos", "foram", "publicados", "em", "comunicações", "da", "natureza", "em", "2015", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ] ] }, "select": [ true, [ [ 3, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 14, false ], null ], 2015.0, null ], "and", [ false, 2, [ 0, [ 0, 2, false ], null ], "\"nature communications\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT COUNT ( t1.paperid ) FROM venue AS t2 JOIN paper AS t1 ON t2.venueid = t1.venueid WHERE t1.year = 2015 AND t2.venuename = \"nature communications\";", "query_toks": [ "SELECT", "DISTINCT", "COUNT", "(", "t1.paperid", ")", "FROM", "venue", "AS", "t2", "JOIN", "paper", "AS", "t1", "ON", "t2.venueid", "=", "t1.venueid", "WHERE", "t1.year", "=", "2015", "AND", "t2.venuename", "=", "``", "nature", "communications", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "count", "(", "t1", ".", "paperid", ")", "from", "venue", "as", "t2", "join", "paper", "as", "t1", "on", "t2", ".", "venueid", "=", "t1", ".", "venueid", "where", "t1", ".", "year", "=", "value", "and", "t2", ".", "venuename", "=", "value" ], "question": "Quantos artigos sobre comunicação na natureza em 2015?", "question_toks": [ "Quantos", "artigos", "sobre", "comunicação", "na", "natureza", "em", "2015", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ] ] }, "select": [ true, [ [ 3, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 14, false ], null ], 2015.0, null ], "and", [ false, 2, [ 0, [ 0, 2, false ], null ], "\"nature communications\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT COUNT ( t1.paperid ) FROM venue AS t2 JOIN paper AS t1 ON t2.venueid = t1.venueid WHERE t1.year = 2015 AND t2.venuename = \"nature communications\";", "query_toks": [ "SELECT", "DISTINCT", "COUNT", "(", "t1.paperid", ")", "FROM", "venue", "AS", "t2", "JOIN", "paper", "AS", "t1", "ON", "t2.venueid", "=", "t1.venueid", "WHERE", "t1.year", "=", "2015", "AND", "t2.venuename", "=", "``", "nature", "communications", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "count", "(", "t1", ".", "paperid", ")", "from", "venue", "as", "t2", "join", "paper", "as", "t1", "on", "t2", ".", "venueid", "=", "t1", ".", "venueid", "where", "t1", ".", "year", "=", "value", "and", "t2", ".", "venuename", "=", "value" ], "question": "quantos jornais em comunicações da natureza 2015", "question_toks": [ "quantos", "jornais", "em", "comunicações", "da", "natureza", "2015" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ] ] }, "select": [ true, [ [ 3, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 14, false ], null ], 2015.0, null ], "and", [ false, 2, [ 0, [ 0, 2, false ], null ], "\"nature communications\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT COUNT ( t1.paperid ) FROM venue AS t2 JOIN paper AS t1 ON t2.venueid = t1.venueid WHERE t1.year = 2015 AND t2.venuename = \"nature communications\";", "query_toks": [ "SELECT", "DISTINCT", "COUNT", "(", "t1.paperid", ")", "FROM", "venue", "AS", "t2", "JOIN", "paper", "AS", "t1", "ON", "t2.venueid", "=", "t1.venueid", "WHERE", "t1.year", "=", "2015", "AND", "t2.venuename", "=", "``", "nature", "communications", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "count", "(", "t1", ".", "paperid", ")", "from", "venue", "as", "t2", "join", "paper", "as", "t1", "on", "t2", ".", "venueid", "=", "t1", ".", "venueid", "where", "t1", ".", "year", "=", "value", "and", "t2", ".", "venuename", "=", "value" ], "question": "Quantos artigos foram aceitos na Nature Communications 2015?", "question_toks": [ "Quantos", "artigos", "foram", "aceitos", "na", "Nature", "Communications", "2015", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ] ] }, "select": [ true, [ [ 3, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 14, false ], null ], 2015.0, null ], "and", [ false, 2, [ 0, [ 0, 2, false ], null ], "\"nature communications\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT COUNT ( t1.paperid ) FROM venue AS t2 JOIN paper AS t1 ON t2.venueid = t1.venueid WHERE t1.year = 2015 AND t2.venuename = \"nature communications\";", "query_toks": [ "SELECT", "DISTINCT", "COUNT", "(", "t1.paperid", ")", "FROM", "venue", "AS", "t2", "JOIN", "paper", "AS", "t1", "ON", "t2.venueid", "=", "t1.venueid", "WHERE", "t1.year", "=", "2015", "AND", "t2.venuename", "=", "``", "nature", "communications", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "count", "(", "t1", ".", "paperid", ")", "from", "venue", "as", "t2", "join", "paper", "as", "t1", "on", "t2", ".", "venueid", "=", "t1", ".", "venueid", "where", "t1", ".", "year", "=", "value", "and", "t2", ".", "venuename", "=", "value" ], "question": "Quantos trabalhos são apresentados no Nature Communications 2015?", "question_toks": [ "Quantos", "trabalhos", "são", "apresentados", "no", "Nature", "Communications", "2015", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ] ] }, "select": [ true, [ [ 3, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 14, false ], null ], 2015.0, null ], "and", [ false, 2, [ 0, [ 0, 2, false ], null ], "\"nature communications\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT COUNT ( t1.paperid ) FROM venue AS t2 JOIN paper AS t1 ON t2.venueid = t1.venueid WHERE t1.year = 2015 AND t2.venuename = \"nature communications\";", "query_toks": [ "SELECT", "DISTINCT", "COUNT", "(", "t1.paperid", ")", "FROM", "venue", "AS", "t2", "JOIN", "paper", "AS", "t1", "ON", "t2.venueid", "=", "t1.venueid", "WHERE", "t1.year", "=", "2015", "AND", "t2.venuename", "=", "``", "nature", "communications", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "count", "(", "t1", ".", "paperid", ")", "from", "venue", "as", "t2", "join", "paper", "as", "t1", "on", "t2", ".", "venueid", "=", "t1", ".", "venueid", "where", "t1", ".", "year", "=", "value", "and", "t2", ".", "venuename", "=", "value" ], "question": "Quantos artigos publicados em comunicações de natureza em 2015?", "question_toks": [ "Quantos", "artigos", "publicados", "em", "comunicações", "de", "natureza", "em", "2015", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ] ] }, "select": [ true, [ [ 3, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 14, false ], null ], 2015.0, null ], "and", [ false, 2, [ 0, [ 0, 2, false ], null ], "\"nature communications\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT COUNT ( t1.paperid ) FROM venue AS t2 JOIN paper AS t1 ON t2.venueid = t1.venueid WHERE t1.year = 2015 AND t2.venuename = \"nature communications\";", "query_toks": [ "SELECT", "DISTINCT", "COUNT", "(", "t1.paperid", ")", "FROM", "venue", "AS", "t2", "JOIN", "paper", "AS", "t1", "ON", "t2.venueid", "=", "t1.venueid", "WHERE", "t1.year", "=", "2015", "AND", "t2.venuename", "=", "``", "nature", "communications", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "count", "(", "t1", ".", "paperid", ")", "from", "venue", "as", "t2", "join", "paper", "as", "t1", "on", "t2", ".", "venueid", "=", "t1", ".", "venueid", "where", "t1", ".", "year", "=", "value", "and", "t2", ".", "venuename", "=", "value" ], "question": "quantos artigos publicados na nature Communications 2015?", "question_toks": [ "quantos", "artigos", "publicados", "na", "nature", "Communications", "2015", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ] ] }, "select": [ true, [ [ 3, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 14, false ], null ], 2015.0, null ], "and", [ false, 2, [ 0, [ 0, 2, false ], null ], "\"nature communications\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT COUNT ( t1.paperid ) FROM venue AS t2 JOIN paper AS t1 ON t2.venueid = t1.venueid WHERE t1.year = 2015 AND t2.venuename = \"nature communications\";", "query_toks": [ "SELECT", "DISTINCT", "COUNT", "(", "t1.paperid", ")", "FROM", "venue", "AS", "t2", "JOIN", "paper", "AS", "t1", "ON", "t2.venueid", "=", "t1.venueid", "WHERE", "t1.year", "=", "2015", "AND", "t2.venuename", "=", "``", "nature", "communications", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "count", "(", "t1", ".", "paperid", ")", "from", "venue", "as", "t2", "join", "paper", "as", "t1", "on", "t2", ".", "venueid", "=", "t1", ".", "venueid", "where", "t1", ".", "year", "=", "value", "and", "t2", ".", "venuename", "=", "value" ], "question": "Quantos artigos foram publicados na conferência Nature Communications 2015?", "question_toks": [ "Quantos", "artigos", "foram", "publicados", "na", "conferência", "Nature", "Communications", "2015", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ] ] }, "select": [ true, [ [ 3, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 14, false ], null ], 2015.0, null ], "and", [ false, 2, [ 0, [ 0, 2, false ], null ], "\"nature communications\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT COUNT ( t1.paperid ) FROM venue AS t2 JOIN paper AS t1 ON t2.venueid = t1.venueid WHERE t1.year = 2015 AND t2.venuename = \"nature communications\";", "query_toks": [ "SELECT", "DISTINCT", "COUNT", "(", "t1.paperid", ")", "FROM", "venue", "AS", "t2", "JOIN", "paper", "AS", "t1", "ON", "t2.venueid", "=", "t1.venueid", "WHERE", "t1.year", "=", "2015", "AND", "t2.venuename", "=", "``", "nature", "communications", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "count", "(", "t1", ".", "paperid", ")", "from", "venue", "as", "t2", "join", "paper", "as", "t1", "on", "t2", ".", "venueid", "=", "t1", ".", "venueid", "where", "t1", ".", "year", "=", "value", "and", "t2", ".", "venuename", "=", "value" ], "question": "Quantos artigos foram publicados em comunicações da natureza em 2015", "question_toks": [ "Quantos", "artigos", "foram", "publicados", "em", "comunicações", "da", "natureza", "em", "2015" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ] ] }, "select": [ true, [ [ 3, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 14, false ], null ], 2015.0, null ], "and", [ false, 2, [ 0, [ 0, 2, false ], null ], "\"nature communications\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t2.datasetid , t4.year FROM paperdataset AS t3 JOIN dataset AS t2 ON t3.datasetid = t2.datasetid JOIN paperkeyphrase AS t1 ON t1.paperid = t3.paperid JOIN paper AS t4 ON t4.paperid = t3.paperid JOIN keyphrase AS t5 ON t1.keyphraseid = t5.keyphraseid WHERE t5.keyphrasename = \"deep learning\" ORDER BY t4.year ASC;", "query_toks": [ "SELECT", "DISTINCT", "t2.datasetid", ",", "t4.year", "FROM", "paperdataset", "AS", "t3", "JOIN", "dataset", "AS", "t2", "ON", "t3.datasetid", "=", "t2.datasetid", "JOIN", "paperkeyphrase", "AS", "t1", "ON", "t1.paperid", "=", "t3.paperid", "JOIN", "paper", "AS", "t4", "ON", "t4.paperid", "=", "t3.paperid", "JOIN", "keyphrase", "AS", "t5", "ON", "t1.keyphraseid", "=", "t5.keyphraseid", "WHERE", "t5.keyphrasename", "=", "``", "deep", "learning", "''", "ORDER", "BY", "t4.year", "ASC", ";" ], "query_toks_no_value": [ "select", "distinct", "t2", ".", "datasetid", ",", "t4", ".", "year", "from", "paperdataset", "as", "t3", "join", "dataset", "as", "t2", "on", "t3", ".", "datasetid", "=", "t2", ".", "datasetid", "join", "paperkeyphrase", "as", "t1", "on", "t1", ".", "paperid", "=", "t3", ".", "paperid", "join", "paper", "as", "t4", "on", "t4", ".", "paperid", "=", "t3", ".", "paperid", "join", "keyphrase", "as", "t5", "on", "t1", ".", "keyphraseid", "=", "t5", ".", "keyphraseid", "where", "t5", ".", "keyphrasename", "=", "value", "order", "by", "t4", ".", "year", "asc" ], "question": "qual foi o primeiro artigo de aprendizagem profunda?", "question_toks": [ "qual", "foi", "o", "primeiro", "artigo", "de", "aprendizagem", "profunda", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 7 ], [ "table_unit", 2 ], [ "table_unit", 8 ], [ "table_unit", 5 ], [ "table_unit", 4 ] ], "conds": [ [ false, 2, [ 0, [ 0, 21, false ], null ], [ 0, 5, false ], null ], "and", [ false, 2, [ 0, [ 0, 22, false ], null ], [ 0, 20, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 20, false ], null ], "and", [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 5, false ], null ] ], [ 0, [ 0, [ 0, 14, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"deep learning\"", null ] ], "groupBy": [], "having": [], "orderBy": [ "asc", [ [ 0, [ 0, 14, false ], null ] ] ], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t2.datasetid , t4.year FROM paperdataset AS t3 JOIN dataset AS t2 ON t3.datasetid = t2.datasetid JOIN paperkeyphrase AS t1 ON t1.paperid = t3.paperid JOIN paper AS t4 ON t4.paperid = t3.paperid JOIN keyphrase AS t5 ON t1.keyphraseid = t5.keyphraseid WHERE t5.keyphrasename = \"deep learning\" ORDER BY t4.year ASC;", "query_toks": [ "SELECT", "DISTINCT", "t2.datasetid", ",", "t4.year", "FROM", "paperdataset", "AS", "t3", "JOIN", "dataset", "AS", "t2", "ON", "t3.datasetid", "=", "t2.datasetid", "JOIN", "paperkeyphrase", "AS", "t1", "ON", "t1.paperid", "=", "t3.paperid", "JOIN", "paper", "AS", "t4", "ON", "t4.paperid", "=", "t3.paperid", "JOIN", "keyphrase", "AS", "t5", "ON", "t1.keyphraseid", "=", "t5.keyphraseid", "WHERE", "t5.keyphrasename", "=", "``", "deep", "learning", "''", "ORDER", "BY", "t4.year", "ASC", ";" ], "query_toks_no_value": [ "select", "distinct", "t2", ".", "datasetid", ",", "t4", ".", "year", "from", "paperdataset", "as", "t3", "join", "dataset", "as", "t2", "on", "t3", ".", "datasetid", "=", "t2", ".", "datasetid", "join", "paperkeyphrase", "as", "t1", "on", "t1", ".", "paperid", "=", "t3", ".", "paperid", "join", "paper", "as", "t4", "on", "t4", ".", "paperid", "=", "t3", ".", "paperid", "join", "keyphrase", "as", "t5", "on", "t1", ".", "keyphraseid", "=", "t5", ".", "keyphraseid", "where", "t5", ".", "keyphrasename", "=", "value", "order", "by", "t4", ".", "year", "asc" ], "question": "em que ano foi publicado o primeiro artigo de aprendizagem profunda?", "question_toks": [ "em", "que", "ano", "foi", "publicado", "o", "primeiro", "artigo", "de", "aprendizagem", "profunda", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 7 ], [ "table_unit", 2 ], [ "table_unit", 8 ], [ "table_unit", 5 ], [ "table_unit", 4 ] ], "conds": [ [ false, 2, [ 0, [ 0, 21, false ], null ], [ 0, 5, false ], null ], "and", [ false, 2, [ 0, [ 0, 22, false ], null ], [ 0, 20, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 20, false ], null ], "and", [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 5, false ], null ] ], [ 0, [ 0, [ 0, 14, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"deep learning\"", null ] ], "groupBy": [], "having": [], "orderBy": [ "asc", [ [ 0, [ 0, 14, false ], null ] ] ], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t1.datasetid FROM paperdataset AS t2 JOIN dataset AS t1 ON t2.datasetid = t1.datasetid JOIN paper AS t3 ON t3.paperid = t2.paperid JOIN venue AS t4 ON t4.venueid = t3.venueid WHERE t4.venuename = \"ACL\";", "query_toks": [ "SELECT", "DISTINCT", "t1.datasetid", "FROM", "paperdataset", "AS", "t2", "JOIN", "dataset", "AS", "t1", "ON", "t2.datasetid", "=", "t1.datasetid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "JOIN", "venue", "AS", "t4", "ON", "t4.venueid", "=", "t3.venueid", "WHERE", "t4.venuename", "=", "``", "ACL", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t1", ".", "datasetid", "from", "paperdataset", "as", "t2", "join", "dataset", "as", "t1", "on", "t2", ".", "datasetid", "=", "t1", ".", "datasetid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "join", "venue", "as", "t4", "on", "t4", ".", "venueid", "=", "t3", ".", "venueid", "where", "t4", ".", "venuename", "=", "value" ], "question": "conjuntos de dados mencionados no ACL", "question_toks": [ "conjuntos", "de", "dados", "mencionados", "no", "ACL" ], "sql": { "from": { "table_units": [ [ "table_unit", 7 ], [ "table_unit", 2 ], [ "table_unit", 5 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 21, false ], null ], [ 0, 5, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 20, false ], null ], "and", [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 2, false ], null ], "\"ACL\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t1.datasetid FROM paperdataset AS t2 JOIN dataset AS t1 ON t2.datasetid = t1.datasetid JOIN paper AS t3 ON t3.paperid = t2.paperid JOIN venue AS t4 ON t4.venueid = t3.venueid WHERE t4.venuename = \"ACL\";", "query_toks": [ "SELECT", "DISTINCT", "t1.datasetid", "FROM", "paperdataset", "AS", "t2", "JOIN", "dataset", "AS", "t1", "ON", "t2.datasetid", "=", "t1.datasetid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "JOIN", "venue", "AS", "t4", "ON", "t4.venueid", "=", "t3.venueid", "WHERE", "t4.venuename", "=", "``", "ACL", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t1", ".", "datasetid", "from", "paperdataset", "as", "t2", "join", "dataset", "as", "t1", "on", "t2", ".", "datasetid", "=", "t1", ".", "datasetid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "join", "venue", "as", "t4", "on", "t4", ".", "venueid", "=", "t3", ".", "venueid", "where", "t4", ".", "venuename", "=", "value" ], "question": "quais conjuntos de dados os papéis da ACL mais usam?", "question_toks": [ "quais", "conjuntos", "de", "dados", "os", "papéis", "da", "ACL", "mais", "usam", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 7 ], [ "table_unit", 2 ], [ "table_unit", 5 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 21, false ], null ], [ 0, 5, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 20, false ], null ], "and", [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 2, false ], null ], "\"ACL\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t2.paperid FROM paperkeyphrase AS t5 JOIN keyphrase AS t3 ON t5.keyphraseid = t3.keyphraseid JOIN paper AS t2 ON t2.paperid = t5.paperid JOIN venue AS t6 ON t6.venueid = t2.venueid JOIN writes AS t4 ON t4.paperid = t2.paperid JOIN author AS t1 ON t4.authorid = t1.authorid WHERE t1.authorname = \"li dong\" AND t3.keyphrasename = \"semantic parsing\" AND t2.year = 2016 AND t6.venuename = \"acl\";", "query_toks": [ "SELECT", "DISTINCT", "t2.paperid", "FROM", "paperkeyphrase", "AS", "t5", "JOIN", "keyphrase", "AS", "t3", "ON", "t5.keyphraseid", "=", "t3.keyphraseid", "JOIN", "paper", "AS", "t2", "ON", "t2.paperid", "=", "t5.paperid", "JOIN", "venue", "AS", "t6", "ON", "t6.venueid", "=", "t2.venueid", "JOIN", "writes", "AS", "t4", "ON", "t4.paperid", "=", "t2.paperid", "JOIN", "author", "AS", "t1", "ON", "t4.authorid", "=", "t1.authorid", "WHERE", "t1.authorname", "=", "``", "li", "dong", "''", "AND", "t3.keyphrasename", "=", "``", "semantic", "parsing", "''", "AND", "t2.year", "=", "2016", "AND", "t6.venuename", "=", "``", "acl", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t2", ".", "paperid", "from", "paperkeyphrase", "as", "t5", "join", "keyphrase", "as", "t3", "on", "t5", ".", "keyphraseid", "=", "t3", ".", "keyphraseid", "join", "paper", "as", "t2", "on", "t2", ".", "paperid", "=", "t5", ".", "paperid", "join", "venue", "as", "t6", "on", "t6", ".", "venueid", "=", "t2", ".", "venueid", "join", "writes", "as", "t4", "on", "t4", ".", "paperid", "=", "t2", ".", "paperid", "join", "author", "as", "t1", "on", "t4", ".", "authorid", "=", "t1", ".", "authorid", "where", "t1", ".", "authorname", "=", "value", "and", "t3", ".", "keyphrasename", "=", "value", "and", "t2", ".", "year", "=", "value", "and", "t6", ".", "venuename", "=", "value" ], "question": "os artigos sobre análise semântica por li dong na acl em 2016", "question_toks": [ "os", "artigos", "sobre", "análise", "semântica", "por", "li", "dong", "na", "acl", "em", "2016" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ], [ "table_unit", 0 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ], "and", [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"li dong\"", null ], "and", [ false, 2, [ 0, [ 0, 10, false ], null ], "\"semantic parsing\"", null ], "and", [ false, 2, [ 0, [ 0, 14, false ], null ], 2016.0, null ], "and", [ false, 2, [ 0, [ 0, 2, false ], null ], "\"acl\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT COUNT ( t3.paperid ) FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid WHERE t1.keyphrasename = \"convolutional neural networks\" AND t3.year = 2016;", "query_toks": [ "SELECT", "DISTINCT", "COUNT", "(", "t3.paperid", ")", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t1", "ON", "t2.keyphraseid", "=", "t1.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "WHERE", "t1.keyphrasename", "=", "``", "convolutional", "neural", "networks", "''", "AND", "t3.year", "=", "2016", ";" ], "query_toks_no_value": [ "select", "distinct", "count", "(", "t3", ".", "paperid", ")", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t1", "on", "t2", ".", "keyphraseid", "=", "t1", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "where", "t1", ".", "keyphrasename", "=", "value", "and", "t3", ".", "year", "=", "value" ], "question": "Quantos artigos foram escritos sobre redes neurais convolucionais no ano passado?", "question_toks": [ "Quantos", "artigos", "foram", "escritos", "sobre", "redes", "neurais", "convolucionais", "no", "ano", "passado", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ] ] }, "select": [ true, [ [ 3, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"convolutional neural networks\"", null ], "and", [ false, 2, [ 0, [ 0, 14, false ], null ], 2016.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT COUNT ( t3.paperid ) FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid WHERE t1.keyphrasename = \"convolutional neural networks\" AND t3.year = 2016;", "query_toks": [ "SELECT", "DISTINCT", "COUNT", "(", "t3.paperid", ")", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t1", "ON", "t2.keyphraseid", "=", "t1.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "WHERE", "t1.keyphrasename", "=", "``", "convolutional", "neural", "networks", "''", "AND", "t3.year", "=", "2016", ";" ], "query_toks_no_value": [ "select", "distinct", "count", "(", "t3", ".", "paperid", ")", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t1", "on", "t2", ".", "keyphraseid", "=", "t1", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "where", "t1", ".", "keyphrasename", "=", "value", "and", "t3", ".", "year", "=", "value" ], "question": "Quantos artigos foram publicados sobre redes neurais convolucionais em 2016?", "question_toks": [ "Quantos", "artigos", "foram", "publicados", "sobre", "redes", "neurais", "convolucionais", "em", "2016", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ] ] }, "select": [ true, [ [ 3, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"convolutional neural networks\"", null ], "and", [ false, 2, [ 0, [ 0, 14, false ], null ], 2016.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT COUNT ( t3.paperid ) FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid WHERE t1.keyphrasename = \"convolutional neural networks\" AND t3.year = 2016;", "query_toks": [ "SELECT", "DISTINCT", "COUNT", "(", "t3.paperid", ")", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t1", "ON", "t2.keyphraseid", "=", "t1.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "WHERE", "t1.keyphrasename", "=", "``", "convolutional", "neural", "networks", "''", "AND", "t3.year", "=", "2016", ";" ], "query_toks_no_value": [ "select", "distinct", "count", "(", "t3", ".", "paperid", ")", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t1", "on", "t2", ".", "keyphraseid", "=", "t1", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "where", "t1", ".", "keyphrasename", "=", "value", "and", "t3", ".", "year", "=", "value" ], "question": "Quantos artigos foram escritos sobre redes neurais convolucionais em 2016?", "question_toks": [ "Quantos", "artigos", "foram", "escritos", "sobre", "redes", "neurais", "convolucionais", "em", "2016", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ] ] }, "select": [ true, [ [ 3, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"convolutional neural networks\"", null ], "and", [ false, 2, [ 0, [ 0, 14, false ], null ], 2016.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT COUNT ( t3.paperid ) FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid WHERE t1.keyphrasename = \"convolutional neural networks\" AND t3.year = 2016;", "query_toks": [ "SELECT", "DISTINCT", "COUNT", "(", "t3.paperid", ")", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t1", "ON", "t2.keyphraseid", "=", "t1.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "WHERE", "t1.keyphrasename", "=", "``", "convolutional", "neural", "networks", "''", "AND", "t3.year", "=", "2016", ";" ], "query_toks_no_value": [ "select", "distinct", "count", "(", "t3", ".", "paperid", ")", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t1", "on", "t2", ".", "keyphraseid", "=", "t1", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "where", "t1", ".", "keyphrasename", "=", "value", "and", "t3", ".", "year", "=", "value" ], "question": "Quantos artigos foram escritos sobre redes neurais convolucionais este ano?", "question_toks": [ "Quantos", "artigos", "foram", "escritos", "sobre", "redes", "neurais", "convolucionais", "este", "ano", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ] ] }, "select": [ true, [ [ 3, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"convolutional neural networks\"", null ], "and", [ false, 2, [ 0, [ 0, 14, false ], null ], 2016.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT COUNT ( t3.paperid ) FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid WHERE t1.keyphrasename = \"convolutional neural networks\" AND t3.year = 2016;", "query_toks": [ "SELECT", "DISTINCT", "COUNT", "(", "t3.paperid", ")", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t1", "ON", "t2.keyphraseid", "=", "t1.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "WHERE", "t1.keyphrasename", "=", "``", "convolutional", "neural", "networks", "''", "AND", "t3.year", "=", "2016", ";" ], "query_toks_no_value": [ "select", "distinct", "count", "(", "t3", ".", "paperid", ")", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t1", "on", "t2", ".", "keyphraseid", "=", "t1", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "where", "t1", ".", "keyphrasename", "=", "value", "and", "t3", ".", "year", "=", "value" ], "question": "quantos artigos sobre redes neurais convolucionais foram publicados no ano passado?", "question_toks": [ "quantos", "artigos", "sobre", "redes", "neurais", "convolucionais", "foram", "publicados", "no", "ano", "passado", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ] ] }, "select": [ true, [ [ 3, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"convolutional neural networks\"", null ], "and", [ false, 2, [ 0, [ 0, 14, false ], null ], 2016.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid WHERE t1.keyphrasename = \"question answering\" AND t3.year = 2016;", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t1", "ON", "t2.keyphraseid", "=", "t1.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "WHERE", "t1.keyphrasename", "=", "``", "question", "answering", "''", "AND", "t3.year", "=", "2016", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t1", "on", "t2", ".", "keyphraseid", "=", "t1", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "where", "t1", ".", "keyphrasename", "=", "value", "and", "t3", ".", "year", "=", "value" ], "question": "Que artigos foram escritos sobre respostas a perguntas este ano?", "question_toks": [ "Que", "artigos", "foram", "escritos", "sobre", "respostas", "a", "perguntas", "este", "ano", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"question answering\"", null ], "and", [ false, 2, [ 0, [ 0, 14, false ], null ], 2016.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT COUNT ( t1.paperid ) , t1.year FROM venue AS t2 JOIN paper AS t1 ON t2.venueid = t1.venueid WHERE t2.venuename = \"NIPS\" GROUP BY t1.year ORDER BY COUNT ( t1.paperid ) DESC;", "query_toks": [ "SELECT", "DISTINCT", "COUNT", "(", "t1.paperid", ")", ",", "t1.year", "FROM", "venue", "AS", "t2", "JOIN", "paper", "AS", "t1", "ON", "t2.venueid", "=", "t1.venueid", "WHERE", "t2.venuename", "=", "``", "NIPS", "''", "GROUP", "BY", "t1.year", "ORDER", "BY", "COUNT", "(", "t1.paperid", ")", "DESC", ";" ], "query_toks_no_value": [ "select", "distinct", "count", "(", "t1", ".", "paperid", ")", ",", "t1", ".", "year", "from", "venue", "as", "t2", "join", "paper", "as", "t1", "on", "t2", ".", "venueid", "=", "t1", ".", "venueid", "where", "t2", ".", "venuename", "=", "value", "group", "by", "t1", ".", "year", "order", "by", "count", "(", "t1", ".", "paperid", ")", "desc" ], "question": "que ano teve mais artigos do NIPS?", "question_toks": [ "que", "ano", "teve", "mais", "artigos", "do", "NIPS", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ] ] }, "select": [ true, [ [ 3, [ 0, [ 0, 11, false ], null ] ], [ 0, [ 0, [ 0, 14, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 2, false ], null ], "\"NIPS\"", null ] ], "groupBy": [ [ 0, 14, false ] ], "having": [], "orderBy": [ "desc", [ [ 0, [ 3, 11, false ], null ] ] ], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT COUNT ( t1.paperid ) , t1.year FROM venue AS t2 JOIN paper AS t1 ON t2.venueid = t1.venueid WHERE t2.venuename = \"NIPS\" GROUP BY t1.year ORDER BY COUNT ( t1.paperid ) DESC;", "query_toks": [ "SELECT", "DISTINCT", "COUNT", "(", "t1.paperid", ")", ",", "t1.year", "FROM", "venue", "AS", "t2", "JOIN", "paper", "AS", "t1", "ON", "t2.venueid", "=", "t1.venueid", "WHERE", "t2.venuename", "=", "``", "NIPS", "''", "GROUP", "BY", "t1.year", "ORDER", "BY", "COUNT", "(", "t1.paperid", ")", "DESC", ";" ], "query_toks_no_value": [ "select", "distinct", "count", "(", "t1", ".", "paperid", ")", ",", "t1", ".", "year", "from", "venue", "as", "t2", "join", "paper", "as", "t1", "on", "t2", ".", "venueid", "=", "t1", ".", "venueid", "where", "t2", ".", "venuename", "=", "value", "group", "by", "t1", ".", "year", "order", "by", "count", "(", "t1", ".", "paperid", ")", "desc" ], "question": "em que ano teve mais artigos do NIPS?", "question_toks": [ "em", "que", "ano", "teve", "mais", "artigos", "do", "NIPS", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ] ] }, "select": [ true, [ [ 3, [ 0, [ 0, 11, false ], null ] ], [ 0, [ 0, [ 0, 14, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 2, false ], null ], "\"NIPS\"", null ] ], "groupBy": [ [ 0, 14, false ] ], "having": [], "orderBy": [ "desc", [ [ 0, [ 3, 11, false ], null ] ] ], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT COUNT ( t1.paperid ) , t1.year FROM venue AS t2 JOIN paper AS t1 ON t2.venueid = t1.venueid WHERE t2.venuename = \"NIPS\" GROUP BY t1.year ORDER BY COUNT ( t1.paperid ) DESC;", "query_toks": [ "SELECT", "DISTINCT", "COUNT", "(", "t1.paperid", ")", ",", "t1.year", "FROM", "venue", "AS", "t2", "JOIN", "paper", "AS", "t1", "ON", "t2.venueid", "=", "t1.venueid", "WHERE", "t2.venuename", "=", "``", "NIPS", "''", "GROUP", "BY", "t1.year", "ORDER", "BY", "COUNT", "(", "t1.paperid", ")", "DESC", ";" ], "query_toks_no_value": [ "select", "distinct", "count", "(", "t1", ".", "paperid", ")", ",", "t1", ".", "year", "from", "venue", "as", "t2", "join", "paper", "as", "t1", "on", "t2", ".", "venueid", "=", "t1", ".", "venueid", "where", "t2", ".", "venuename", "=", "value", "group", "by", "t1", ".", "year", "order", "by", "count", "(", "t1", ".", "paperid", ")", "desc" ], "question": "em que ano teve o maior número de artigos do NIPS?", "question_toks": [ "em", "que", "ano", "teve", "o", "maior", "número", "de", "artigos", "do", "NIPS", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ] ] }, "select": [ true, [ [ 3, [ 0, [ 0, 11, false ], null ] ], [ 0, [ 0, [ 0, 14, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 2, false ], null ], "\"NIPS\"", null ] ], "groupBy": [ [ 0, 14, false ] ], "having": [], "orderBy": [ "desc", [ [ 0, [ 3, 11, false ], null ] ] ], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT COUNT ( t1.paperid ) , t1.year FROM venue AS t2 JOIN paper AS t1 ON t2.venueid = t1.venueid WHERE t2.venuename = \"NIPS\" GROUP BY t1.year ORDER BY COUNT ( t1.paperid ) DESC;", "query_toks": [ "SELECT", "DISTINCT", "COUNT", "(", "t1.paperid", ")", ",", "t1.year", "FROM", "venue", "AS", "t2", "JOIN", "paper", "AS", "t1", "ON", "t2.venueid", "=", "t1.venueid", "WHERE", "t2.venuename", "=", "``", "NIPS", "''", "GROUP", "BY", "t1.year", "ORDER", "BY", "COUNT", "(", "t1.paperid", ")", "DESC", ";" ], "query_toks_no_value": [ "select", "distinct", "count", "(", "t1", ".", "paperid", ")", ",", "t1", ".", "year", "from", "venue", "as", "t2", "join", "paper", "as", "t1", "on", "t2", ".", "venueid", "=", "t1", ".", "venueid", "where", "t2", ".", "venuename", "=", "value", "group", "by", "t1", ".", "year", "order", "by", "count", "(", "t1", ".", "paperid", ")", "desc" ], "question": "quando a maioria dos artigos do NIPS foram publicados?", "question_toks": [ "quando", "a", "maioria", "dos", "artigos", "do", "NIPS", "foram", "publicados", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ] ] }, "select": [ true, [ [ 3, [ 0, [ 0, 11, false ], null ] ], [ 0, [ 0, [ 0, 14, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 2, false ], null ], "\"NIPS\"", null ] ], "groupBy": [ [ 0, 14, false ] ], "having": [], "orderBy": [ "desc", [ [ 0, [ 3, 11, false ], null ] ] ], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t1.authorid FROM writes AS t3 JOIN author AS t2 ON t3.authorid = t2.authorid JOIN writes AS t4 ON t4.paperid = t3.paperid JOIN author AS t1 ON t4.authorid = t1.authorid WHERE t2.authorname = \"Noah A Smith\";", "query_toks": [ "SELECT", "DISTINCT", "t1.authorid", "FROM", "writes", "AS", "t3", "JOIN", "author", "AS", "t2", "ON", "t3.authorid", "=", "t2.authorid", "JOIN", "writes", "AS", "t4", "ON", "t4.paperid", "=", "t3.paperid", "JOIN", "author", "AS", "t1", "ON", "t4.authorid", "=", "t1.authorid", "WHERE", "t2.authorname", "=", "``", "Noah", "A", "Smith", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t1", ".", "authorid", "from", "writes", "as", "t3", "join", "author", "as", "t2", "on", "t3", ".", "authorid", "=", "t2", ".", "authorid", "join", "writes", "as", "t4", "on", "t4", ".", "paperid", "=", "t3", ".", "paperid", "join", "author", "as", "t1", "on", "t4", ".", "authorid", "=", "t1", ".", "authorid", "where", "t2", ".", "authorname", "=", "value" ], "question": "quem escreve artigos com Noah A Smith?", "question_toks": [ "quem", "escreve", "artigos", "com", "Noah", "A", "Smith", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 24, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Noah A Smith\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t1.authorid FROM writes AS t3 JOIN author AS t2 ON t3.authorid = t2.authorid JOIN writes AS t4 ON t4.paperid = t3.paperid JOIN author AS t1 ON t4.authorid = t1.authorid WHERE t2.authorname = \"Noah A Smith\";", "query_toks": [ "SELECT", "DISTINCT", "t1.authorid", "FROM", "writes", "AS", "t3", "JOIN", "author", "AS", "t2", "ON", "t3.authorid", "=", "t2.authorid", "JOIN", "writes", "AS", "t4", "ON", "t4.paperid", "=", "t3.paperid", "JOIN", "author", "AS", "t1", "ON", "t4.authorid", "=", "t1.authorid", "WHERE", "t2.authorname", "=", "``", "Noah", "A", "Smith", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t1", ".", "authorid", "from", "writes", "as", "t3", "join", "author", "as", "t2", "on", "t3", ".", "authorid", "=", "t2", ".", "authorid", "join", "writes", "as", "t4", "on", "t4", ".", "paperid", "=", "t3", ".", "paperid", "join", "author", "as", "t1", "on", "t4", ".", "authorid", "=", "t1", ".", "authorid", "where", "t2", ".", "authorname", "=", "value" ], "question": "Quem é co-autor com Noah A Smith?", "question_toks": [ "Quem", "é", "co-autor", "com", "Noah", "A", "Smith", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 24, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Noah A Smith\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t1.authorid FROM writes AS t3 JOIN author AS t2 ON t3.authorid = t2.authorid JOIN writes AS t4 ON t4.paperid = t3.paperid JOIN author AS t1 ON t4.authorid = t1.authorid WHERE t2.authorname = \"Noah A Smith\";", "query_toks": [ "SELECT", "DISTINCT", "t1.authorid", "FROM", "writes", "AS", "t3", "JOIN", "author", "AS", "t2", "ON", "t3.authorid", "=", "t2.authorid", "JOIN", "writes", "AS", "t4", "ON", "t4.paperid", "=", "t3.paperid", "JOIN", "author", "AS", "t1", "ON", "t4.authorid", "=", "t1.authorid", "WHERE", "t2.authorname", "=", "``", "Noah", "A", "Smith", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t1", ".", "authorid", "from", "writes", "as", "t3", "join", "author", "as", "t2", "on", "t3", ".", "authorid", "=", "t2", ".", "authorid", "join", "writes", "as", "t4", "on", "t4", ".", "paperid", "=", "t3", ".", "paperid", "join", "author", "as", "t1", "on", "t4", ".", "authorid", "=", "t1", ".", "authorid", "where", "t2", ".", "authorname", "=", "value" ], "question": "Quem são os co-autores de Noah A. Smith", "question_toks": [ "Quem", "são", "os", "co-autores", "de", "Noah", "A.", "Smith" ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 24, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Noah A Smith\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t1.authorid FROM writes AS t3 JOIN author AS t2 ON t3.authorid = t2.authorid JOIN writes AS t4 ON t4.paperid = t3.paperid JOIN author AS t1 ON t4.authorid = t1.authorid WHERE t2.authorname = \"Noah A Smith\";", "query_toks": [ "SELECT", "DISTINCT", "t1.authorid", "FROM", "writes", "AS", "t3", "JOIN", "author", "AS", "t2", "ON", "t3.authorid", "=", "t2.authorid", "JOIN", "writes", "AS", "t4", "ON", "t4.paperid", "=", "t3.paperid", "JOIN", "author", "AS", "t1", "ON", "t4.authorid", "=", "t1.authorid", "WHERE", "t2.authorname", "=", "``", "Noah", "A", "Smith", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t1", ".", "authorid", "from", "writes", "as", "t3", "join", "author", "as", "t2", "on", "t3", ".", "authorid", "=", "t2", ".", "authorid", "join", "writes", "as", "t4", "on", "t4", ".", "paperid", "=", "t3", ".", "paperid", "join", "author", "as", "t1", "on", "t4", ".", "authorid", "=", "t1", ".", "authorid", "where", "t2", ".", "authorname", "=", "value" ], "question": "Quem foi coautor de Noah A Smith?", "question_toks": [ "Quem", "foi", "coautor", "de", "Noah", "A", "Smith", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 24, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Noah A Smith\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t1.authorid FROM writes AS t3 JOIN author AS t2 ON t3.authorid = t2.authorid JOIN writes AS t4 ON t4.paperid = t3.paperid JOIN author AS t1 ON t4.authorid = t1.authorid WHERE t2.authorname = \"Noah A Smith\";", "query_toks": [ "SELECT", "DISTINCT", "t1.authorid", "FROM", "writes", "AS", "t3", "JOIN", "author", "AS", "t2", "ON", "t3.authorid", "=", "t2.authorid", "JOIN", "writes", "AS", "t4", "ON", "t4.paperid", "=", "t3.paperid", "JOIN", "author", "AS", "t1", "ON", "t4.authorid", "=", "t1.authorid", "WHERE", "t2.authorname", "=", "``", "Noah", "A", "Smith", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t1", ".", "authorid", "from", "writes", "as", "t3", "join", "author", "as", "t2", "on", "t3", ".", "authorid", "=", "t2", ".", "authorid", "join", "writes", "as", "t4", "on", "t4", ".", "paperid", "=", "t3", ".", "paperid", "join", "author", "as", "t1", "on", "t4", ".", "authorid", "=", "t1", ".", "authorid", "where", "t2", ".", "authorname", "=", "value" ], "question": "co-autores de Noah A Smith", "question_toks": [ "co-autores", "de", "Noah", "A", "Smith" ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 24, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Noah A Smith\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t1.authorid FROM writes AS t3 JOIN author AS t2 ON t3.authorid = t2.authorid JOIN writes AS t4 ON t4.paperid = t3.paperid JOIN author AS t1 ON t4.authorid = t1.authorid WHERE t2.authorname = \"Noah A Smith\";", "query_toks": [ "SELECT", "DISTINCT", "t1.authorid", "FROM", "writes", "AS", "t3", "JOIN", "author", "AS", "t2", "ON", "t3.authorid", "=", "t2.authorid", "JOIN", "writes", "AS", "t4", "ON", "t4.paperid", "=", "t3.paperid", "JOIN", "author", "AS", "t1", "ON", "t4.authorid", "=", "t1.authorid", "WHERE", "t2.authorname", "=", "``", "Noah", "A", "Smith", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t1", ".", "authorid", "from", "writes", "as", "t3", "join", "author", "as", "t2", "on", "t3", ".", "authorid", "=", "t2", ".", "authorid", "join", "writes", "as", "t4", "on", "t4", ".", "paperid", "=", "t3", ".", "paperid", "join", "author", "as", "t1", "on", "t4", ".", "authorid", "=", "t1", ".", "authorid", "where", "t2", ".", "authorname", "=", "value" ], "question": "autor que escreveu artigos com Noah A. Smith", "question_toks": [ "autor", "que", "escreveu", "artigos", "com", "Noah", "A.", "Smith" ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 24, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Noah A Smith\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t1.authorid FROM writes AS t3 JOIN author AS t2 ON t3.authorid = t2.authorid JOIN writes AS t4 ON t4.paperid = t3.paperid JOIN author AS t1 ON t4.authorid = t1.authorid WHERE t2.authorname = \"Noah A Smith\";", "query_toks": [ "SELECT", "DISTINCT", "t1.authorid", "FROM", "writes", "AS", "t3", "JOIN", "author", "AS", "t2", "ON", "t3.authorid", "=", "t2.authorid", "JOIN", "writes", "AS", "t4", "ON", "t4.paperid", "=", "t3.paperid", "JOIN", "author", "AS", "t1", "ON", "t4.authorid", "=", "t1.authorid", "WHERE", "t2.authorname", "=", "``", "Noah", "A", "Smith", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t1", ".", "authorid", "from", "writes", "as", "t3", "join", "author", "as", "t2", "on", "t3", ".", "authorid", "=", "t2", ".", "authorid", "join", "writes", "as", "t4", "on", "t4", ".", "paperid", "=", "t3", ".", "paperid", "join", "author", "as", "t1", "on", "t4", ".", "authorid", "=", "t1", ".", "authorid", "where", "t2", ".", "authorname", "=", "value" ], "question": "autores que colaboraram com Noah A Smith", "question_toks": [ "autores", "que", "colaboraram", "com", "Noah", "A", "Smith" ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 24, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Noah A Smith\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t1.authorid FROM writes AS t3 JOIN author AS t2 ON t3.authorid = t2.authorid JOIN writes AS t4 ON t4.paperid = t3.paperid JOIN author AS t1 ON t4.authorid = t1.authorid WHERE t2.authorname = \"Noah A Smith\";", "query_toks": [ "SELECT", "DISTINCT", "t1.authorid", "FROM", "writes", "AS", "t3", "JOIN", "author", "AS", "t2", "ON", "t3.authorid", "=", "t2.authorid", "JOIN", "writes", "AS", "t4", "ON", "t4.paperid", "=", "t3.paperid", "JOIN", "author", "AS", "t1", "ON", "t4.authorid", "=", "t1.authorid", "WHERE", "t2.authorname", "=", "``", "Noah", "A", "Smith", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t1", ".", "authorid", "from", "writes", "as", "t3", "join", "author", "as", "t2", "on", "t3", ".", "authorid", "=", "t2", ".", "authorid", "join", "writes", "as", "t4", "on", "t4", ".", "paperid", "=", "t3", ".", "paperid", "join", "author", "as", "t1", "on", "t4", ".", "authorid", "=", "t1", ".", "authorid", "where", "t2", ".", "authorname", "=", "value" ], "question": "com quem Noah A Smith é o autor?", "question_toks": [ "com", "quem", "Noah", "A", "Smith", "é", "o", "autor", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 24, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Noah A Smith\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t1.authorid FROM writes AS t3 JOIN author AS t2 ON t3.authorid = t2.authorid JOIN writes AS t4 ON t4.paperid = t3.paperid JOIN author AS t1 ON t4.authorid = t1.authorid WHERE t2.authorname = \"Noah A Smith\";", "query_toks": [ "SELECT", "DISTINCT", "t1.authorid", "FROM", "writes", "AS", "t3", "JOIN", "author", "AS", "t2", "ON", "t3.authorid", "=", "t2.authorid", "JOIN", "writes", "AS", "t4", "ON", "t4.paperid", "=", "t3.paperid", "JOIN", "author", "AS", "t1", "ON", "t4.authorid", "=", "t1.authorid", "WHERE", "t2.authorname", "=", "``", "Noah", "A", "Smith", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t1", ".", "authorid", "from", "writes", "as", "t3", "join", "author", "as", "t2", "on", "t3", ".", "authorid", "=", "t2", ".", "authorid", "join", "writes", "as", "t4", "on", "t4", ".", "paperid", "=", "t3", ".", "paperid", "join", "author", "as", "t1", "on", "t4", ".", "authorid", "=", "t1", ".", "authorid", "where", "t2", ".", "authorname", "=", "value" ], "question": "Quem são os co-autores de Noah A. Smith", "question_toks": [ "Quem", "são", "os", "co-autores", "de", "Noah", "A.", "Smith" ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 24, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Noah A Smith\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t1.authorid FROM writes AS t3 JOIN author AS t2 ON t3.authorid = t2.authorid JOIN writes AS t4 ON t4.paperid = t3.paperid JOIN author AS t1 ON t4.authorid = t1.authorid WHERE t2.authorname = \"Noah A Smith\";", "query_toks": [ "SELECT", "DISTINCT", "t1.authorid", "FROM", "writes", "AS", "t3", "JOIN", "author", "AS", "t2", "ON", "t3.authorid", "=", "t2.authorid", "JOIN", "writes", "AS", "t4", "ON", "t4.paperid", "=", "t3.paperid", "JOIN", "author", "AS", "t1", "ON", "t4.authorid", "=", "t1.authorid", "WHERE", "t2.authorname", "=", "``", "Noah", "A", "Smith", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t1", ".", "authorid", "from", "writes", "as", "t3", "join", "author", "as", "t2", "on", "t3", ".", "authorid", "=", "t2", ".", "authorid", "join", "writes", "as", "t4", "on", "t4", ".", "paperid", "=", "t3", ".", "paperid", "join", "author", "as", "t1", "on", "t4", ".", "authorid", "=", "t1", ".", "authorid", "where", "t2", ".", "authorname", "=", "value" ], "question": "quem são todos os co-autores de Noah A Smith?", "question_toks": [ "quem", "são", "todos", "os", "co-autores", "de", "Noah", "A", "Smith", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 24, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Noah A Smith\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t1.authorid FROM writes AS t3 JOIN author AS t2 ON t3.authorid = t2.authorid JOIN writes AS t4 ON t4.paperid = t3.paperid JOIN author AS t1 ON t4.authorid = t1.authorid WHERE t2.authorname = \"Noah A Smith\";", "query_toks": [ "SELECT", "DISTINCT", "t1.authorid", "FROM", "writes", "AS", "t3", "JOIN", "author", "AS", "t2", "ON", "t3.authorid", "=", "t2.authorid", "JOIN", "writes", "AS", "t4", "ON", "t4.paperid", "=", "t3.paperid", "JOIN", "author", "AS", "t1", "ON", "t4.authorid", "=", "t1.authorid", "WHERE", "t2.authorname", "=", "``", "Noah", "A", "Smith", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t1", ".", "authorid", "from", "writes", "as", "t3", "join", "author", "as", "t2", "on", "t3", ".", "authorid", "=", "t2", ".", "authorid", "join", "writes", "as", "t4", "on", "t4", ".", "paperid", "=", "t3", ".", "paperid", "join", "author", "as", "t1", "on", "t4", ".", "authorid", "=", "t1", ".", "authorid", "where", "t2", ".", "authorname", "=", "value" ], "question": "com quem Noah A Smith trabalha?", "question_toks": [ "com", "quem", "Noah", "A", "Smith", "trabalha", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 24, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Noah A Smith\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t1.authorid FROM writes AS t3 JOIN author AS t2 ON t3.authorid = t2.authorid JOIN writes AS t4 ON t4.paperid = t3.paperid JOIN author AS t1 ON t4.authorid = t1.authorid WHERE t2.authorname = \"Noah A Smith\";", "query_toks": [ "SELECT", "DISTINCT", "t1.authorid", "FROM", "writes", "AS", "t3", "JOIN", "author", "AS", "t2", "ON", "t3.authorid", "=", "t2.authorid", "JOIN", "writes", "AS", "t4", "ON", "t4.paperid", "=", "t3.paperid", "JOIN", "author", "AS", "t1", "ON", "t4.authorid", "=", "t1.authorid", "WHERE", "t2.authorname", "=", "``", "Noah", "A", "Smith", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t1", ".", "authorid", "from", "writes", "as", "t3", "join", "author", "as", "t2", "on", "t3", ".", "authorid", "=", "t2", ".", "authorid", "join", "writes", "as", "t4", "on", "t4", ".", "paperid", "=", "t3", ".", "paperid", "join", "author", "as", "t1", "on", "t4", ".", "authorid", "=", "t1", ".", "authorid", "where", "t2", ".", "authorname", "=", "value" ], "question": "com quem Noah A Smith colabora?", "question_toks": [ "com", "quem", "Noah", "A", "Smith", "colabora", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 24, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Noah A Smith\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t1.authorid FROM writes AS t3 JOIN author AS t2 ON t3.authorid = t2.authorid JOIN writes AS t4 ON t4.paperid = t3.paperid JOIN author AS t1 ON t4.authorid = t1.authorid WHERE t2.authorname = \"Noah A Smith\";", "query_toks": [ "SELECT", "DISTINCT", "t1.authorid", "FROM", "writes", "AS", "t3", "JOIN", "author", "AS", "t2", "ON", "t3.authorid", "=", "t2.authorid", "JOIN", "writes", "AS", "t4", "ON", "t4.paperid", "=", "t3.paperid", "JOIN", "author", "AS", "t1", "ON", "t4.authorid", "=", "t1.authorid", "WHERE", "t2.authorname", "=", "``", "Noah", "A", "Smith", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t1", ".", "authorid", "from", "writes", "as", "t3", "join", "author", "as", "t2", "on", "t3", ".", "authorid", "=", "t2", ".", "authorid", "join", "writes", "as", "t4", "on", "t4", ".", "paperid", "=", "t3", ".", "paperid", "join", "author", "as", "t1", "on", "t4", ".", "authorid", "=", "t1", ".", "authorid", "where", "t2", ".", "authorname", "=", "value" ], "question": "Quem são os co-autores de Noah A Smith?", "question_toks": [ "Quem", "são", "os", "co-autores", "de", "Noah", "A", "Smith", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 24, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Noah A Smith\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t1.authorid FROM writes AS t3 JOIN author AS t2 ON t3.authorid = t2.authorid JOIN writes AS t4 ON t4.paperid = t3.paperid JOIN author AS t1 ON t4.authorid = t1.authorid WHERE t2.authorname = \"Noah A Smith\";", "query_toks": [ "SELECT", "DISTINCT", "t1.authorid", "FROM", "writes", "AS", "t3", "JOIN", "author", "AS", "t2", "ON", "t3.authorid", "=", "t2.authorid", "JOIN", "writes", "AS", "t4", "ON", "t4.paperid", "=", "t3.paperid", "JOIN", "author", "AS", "t1", "ON", "t4.authorid", "=", "t1.authorid", "WHERE", "t2.authorname", "=", "``", "Noah", "A", "Smith", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t1", ".", "authorid", "from", "writes", "as", "t3", "join", "author", "as", "t2", "on", "t3", ".", "authorid", "=", "t2", ".", "authorid", "join", "writes", "as", "t4", "on", "t4", ".", "paperid", "=", "t3", ".", "paperid", "join", "author", "as", "t1", "on", "t4", ".", "authorid", "=", "t1", ".", "authorid", "where", "t2", ".", "authorname", "=", "value" ], "question": "co-autores de Noah A Smith", "question_toks": [ "co-autores", "de", "Noah", "A", "Smith" ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 24, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Noah A Smith\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t2.datasetid FROM paper AS t3 JOIN paperdataset AS t2 ON t3.paperid = t2.paperid JOIN writes AS t4 ON t4.paperid = t3.paperid JOIN author AS t1 ON t4.authorid = t1.authorid WHERE t1.authorname = \"jitendra malik\";", "query_toks": [ "SELECT", "DISTINCT", "t2.datasetid", "FROM", "paper", "AS", "t3", "JOIN", "paperdataset", "AS", "t2", "ON", "t3.paperid", "=", "t2.paperid", "JOIN", "writes", "AS", "t4", "ON", "t4.paperid", "=", "t3.paperid", "JOIN", "author", "AS", "t1", "ON", "t4.authorid", "=", "t1.authorid", "WHERE", "t1.authorname", "=", "``", "jitendra", "malik", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t2", ".", "datasetid", "from", "paper", "as", "t3", "join", "paperdataset", "as", "t2", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "join", "writes", "as", "t4", "on", "t4", ".", "paperid", "=", "t3", ".", "paperid", "join", "author", "as", "t1", "on", "t4", ".", "authorid", "=", "t1", ".", "authorid", "where", "t1", ".", "authorname", "=", "value" ], "question": "quais conjuntos de dados jitendra malik usou?", "question_toks": [ "quais", "conjuntos", "de", "dados", "jitendra", "malik", "usou", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 5 ], [ "table_unit", 7 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 20, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 21, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"jitendra malik\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t2.datasetid FROM paper AS t3 JOIN paperdataset AS t2 ON t3.paperid = t2.paperid JOIN writes AS t4 ON t4.paperid = t3.paperid JOIN author AS t1 ON t4.authorid = t1.authorid WHERE t1.authorname = \"jitendra malik\";", "query_toks": [ "SELECT", "DISTINCT", "t2.datasetid", "FROM", "paper", "AS", "t3", "JOIN", "paperdataset", "AS", "t2", "ON", "t3.paperid", "=", "t2.paperid", "JOIN", "writes", "AS", "t4", "ON", "t4.paperid", "=", "t3.paperid", "JOIN", "author", "AS", "t1", "ON", "t4.authorid", "=", "t1.authorid", "WHERE", "t1.authorname", "=", "``", "jitendra", "malik", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t2", ".", "datasetid", "from", "paper", "as", "t3", "join", "paperdataset", "as", "t2", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "join", "writes", "as", "t4", "on", "t4", ".", "paperid", "=", "t3", ".", "paperid", "join", "author", "as", "t1", "on", "t4", ".", "authorid", "=", "t1", ".", "authorid", "where", "t1", ".", "authorname", "=", "value" ], "question": "quais conjuntos de dados são usados em artigos de jitendra malik", "question_toks": [ "quais", "conjuntos", "de", "dados", "são", "usados", "em", "artigos", "de", "jitendra", "malik" ], "sql": { "from": { "table_units": [ [ "table_unit", 5 ], [ "table_unit", 7 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 20, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 21, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"jitendra malik\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t2.datasetid FROM paper AS t3 JOIN paperdataset AS t2 ON t3.paperid = t2.paperid JOIN writes AS t4 ON t4.paperid = t3.paperid JOIN author AS t1 ON t4.authorid = t1.authorid WHERE t1.authorname = \"jitendra malik\";", "query_toks": [ "SELECT", "DISTINCT", "t2.datasetid", "FROM", "paper", "AS", "t3", "JOIN", "paperdataset", "AS", "t2", "ON", "t3.paperid", "=", "t2.paperid", "JOIN", "writes", "AS", "t4", "ON", "t4.paperid", "=", "t3.paperid", "JOIN", "author", "AS", "t1", "ON", "t4.authorid", "=", "t1.authorid", "WHERE", "t1.authorname", "=", "``", "jitendra", "malik", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t2", ".", "datasetid", "from", "paper", "as", "t3", "join", "paperdataset", "as", "t2", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "join", "writes", "as", "t4", "on", "t4", ".", "paperid", "=", "t3", ".", "paperid", "join", "author", "as", "t1", "on", "t4", ".", "authorid", "=", "t1", ".", "authorid", "where", "t1", ".", "authorname", "=", "value" ], "question": "quais conjuntos de dados Jitendra Malik usou em seus papéis?", "question_toks": [ "quais", "conjuntos", "de", "dados", "Jitendra", "Malik", "usou", "em", "seus", "papéis", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 5 ], [ "table_unit", 7 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 20, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 21, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"jitendra malik\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t2.datasetid FROM paper AS t3 JOIN paperdataset AS t2 ON t3.paperid = t2.paperid JOIN writes AS t4 ON t4.paperid = t3.paperid JOIN author AS t1 ON t4.authorid = t1.authorid WHERE t1.authorname = \"jitendra malik\";", "query_toks": [ "SELECT", "DISTINCT", "t2.datasetid", "FROM", "paper", "AS", "t3", "JOIN", "paperdataset", "AS", "t2", "ON", "t3.paperid", "=", "t2.paperid", "JOIN", "writes", "AS", "t4", "ON", "t4.paperid", "=", "t3.paperid", "JOIN", "author", "AS", "t1", "ON", "t4.authorid", "=", "t1.authorid", "WHERE", "t1.authorname", "=", "``", "jitendra", "malik", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t2", ".", "datasetid", "from", "paper", "as", "t3", "join", "paperdataset", "as", "t2", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "join", "writes", "as", "t4", "on", "t4", ".", "paperid", "=", "t3", ".", "paperid", "join", "author", "as", "t1", "on", "t4", ".", "authorid", "=", "t1", ".", "authorid", "where", "t1", ".", "authorname", "=", "value" ], "question": "quais conjuntos de dados foram usados por jitendra malik?", "question_toks": [ "quais", "conjuntos", "de", "dados", "foram", "usados", "por", "jitendra", "malik", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 5 ], [ "table_unit", 7 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 20, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 21, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"jitendra malik\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t2.datasetid FROM paper AS t3 JOIN paperdataset AS t2 ON t3.paperid = t2.paperid JOIN writes AS t4 ON t4.paperid = t3.paperid JOIN author AS t1 ON t4.authorid = t1.authorid WHERE t1.authorname = \"jitendra malik\";", "query_toks": [ "SELECT", "DISTINCT", "t2.datasetid", "FROM", "paper", "AS", "t3", "JOIN", "paperdataset", "AS", "t2", "ON", "t3.paperid", "=", "t2.paperid", "JOIN", "writes", "AS", "t4", "ON", "t4.paperid", "=", "t3.paperid", "JOIN", "author", "AS", "t1", "ON", "t4.authorid", "=", "t1.authorid", "WHERE", "t1.authorname", "=", "``", "jitendra", "malik", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t2", ".", "datasetid", "from", "paper", "as", "t3", "join", "paperdataset", "as", "t2", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "join", "writes", "as", "t4", "on", "t4", ".", "paperid", "=", "t3", ".", "paperid", "join", "author", "as", "t1", "on", "t4", ".", "authorid", "=", "t1", ".", "authorid", "where", "t1", ".", "authorname", "=", "value" ], "question": "conjuntos de dados usados em artigos escritos por jitendra malik?", "question_toks": [ "conjuntos", "de", "dados", "usados", "em", "artigos", "escritos", "por", "jitendra", "malik", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 5 ], [ "table_unit", 7 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 20, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 21, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"jitendra malik\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t2.datasetid FROM paper AS t3 JOIN paperdataset AS t2 ON t3.paperid = t2.paperid JOIN writes AS t4 ON t4.paperid = t3.paperid JOIN author AS t1 ON t4.authorid = t1.authorid WHERE t1.authorname = \"jitendra malik\";", "query_toks": [ "SELECT", "DISTINCT", "t2.datasetid", "FROM", "paper", "AS", "t3", "JOIN", "paperdataset", "AS", "t2", "ON", "t3.paperid", "=", "t2.paperid", "JOIN", "writes", "AS", "t4", "ON", "t4.paperid", "=", "t3.paperid", "JOIN", "author", "AS", "t1", "ON", "t4.authorid", "=", "t1.authorid", "WHERE", "t1.authorname", "=", "``", "jitendra", "malik", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t2", ".", "datasetid", "from", "paper", "as", "t3", "join", "paperdataset", "as", "t2", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "join", "writes", "as", "t4", "on", "t4", ".", "paperid", "=", "t3", ".", "paperid", "join", "author", "as", "t1", "on", "t4", ".", "authorid", "=", "t1", ".", "authorid", "where", "t1", ".", "authorname", "=", "value" ], "question": "Conjuntos de dados por jitendra malik", "question_toks": [ "Conjuntos", "de", "dados", "por", "jitendra", "malik" ], "sql": { "from": { "table_units": [ [ "table_unit", 5 ], [ "table_unit", 7 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 20, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 21, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"jitendra malik\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t2.datasetid FROM paper AS t3 JOIN paperdataset AS t2 ON t3.paperid = t2.paperid JOIN writes AS t4 ON t4.paperid = t3.paperid JOIN author AS t1 ON t4.authorid = t1.authorid WHERE t1.authorname = \"jitendra malik\";", "query_toks": [ "SELECT", "DISTINCT", "t2.datasetid", "FROM", "paper", "AS", "t3", "JOIN", "paperdataset", "AS", "t2", "ON", "t3.paperid", "=", "t2.paperid", "JOIN", "writes", "AS", "t4", "ON", "t4.paperid", "=", "t3.paperid", "JOIN", "author", "AS", "t1", "ON", "t4.authorid", "=", "t1.authorid", "WHERE", "t1.authorname", "=", "``", "jitendra", "malik", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t2", ".", "datasetid", "from", "paper", "as", "t3", "join", "paperdataset", "as", "t2", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "join", "writes", "as", "t4", "on", "t4", ".", "paperid", "=", "t3", ".", "paperid", "join", "author", "as", "t1", "on", "t4", ".", "authorid", "=", "t1", ".", "authorid", "where", "t1", ".", "authorname", "=", "value" ], "question": "Quais conjuntos de dados jitendra malik usou", "question_toks": [ "Quais", "conjuntos", "de", "dados", "jitendra", "malik", "usou" ], "sql": { "from": { "table_units": [ [ "table_unit", 5 ], [ "table_unit", 7 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 20, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 21, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"jitendra malik\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid , t3.year FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid WHERE t1.keyphrasename = \"deep learning\" ORDER BY t3.year DESC;", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", ",", "t3.year", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t1", "ON", "t2.keyphraseid", "=", "t1.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "WHERE", "t1.keyphrasename", "=", "``", "deep", "learning", "''", "ORDER", "BY", "t3.year", "DESC", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", ",", "t3", ".", "year", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t1", "on", "t2", ".", "keyphraseid", "=", "t1", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "where", "t1", ".", "keyphrasename", "=", "value", "order", "by", "t3", ".", "year", "desc" ], "question": "artigos de aprendizagem profunda recentes", "question_toks": [ "artigos", "de", "aprendizagem", "profunda", "recentes" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ], [ 0, [ 0, [ 0, 14, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"deep learning\"", null ] ], "groupBy": [], "having": [], "orderBy": [ "desc", [ [ 0, [ 0, 14, false ], null ] ] ], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid , t3.year FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid WHERE t1.keyphrasename = \"deep learning\" ORDER BY t3.year DESC;", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", ",", "t3.year", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t1", "ON", "t2.keyphraseid", "=", "t1.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "WHERE", "t1.keyphrasename", "=", "``", "deep", "learning", "''", "ORDER", "BY", "t3.year", "DESC", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", ",", "t3", ".", "year", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t1", "on", "t2", ".", "keyphraseid", "=", "t1", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "where", "t1", ".", "keyphrasename", "=", "value", "order", "by", "t3", ".", "year", "desc" ], "question": "novos papéis de aprendizagem profunda", "question_toks": [ "novos", "papéis", "de", "aprendizagem", "profunda" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ], [ 0, [ 0, [ 0, 14, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"deep learning\"", null ] ], "groupBy": [], "having": [], "orderBy": [ "desc", [ [ 0, [ 0, 14, false ], null ] ] ], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid , t3.year FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid WHERE t1.keyphrasename = \"deep learning\" ORDER BY t3.year DESC;", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", ",", "t3.year", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t1", "ON", "t2.keyphraseid", "=", "t1.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "WHERE", "t1.keyphrasename", "=", "``", "deep", "learning", "''", "ORDER", "BY", "t3.year", "DESC", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", ",", "t3", ".", "year", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t1", "on", "t2", ".", "keyphraseid", "=", "t1", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "where", "t1", ".", "keyphrasename", "=", "value", "order", "by", "t3", ".", "year", "desc" ], "question": "Quais são as publicações mais recentes sobre aprendizagem profunda?", "question_toks": [ "Quais", "são", "as", "publicações", "mais", "recentes", "sobre", "aprendizagem", "profunda", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ], [ 0, [ 0, [ 0, 14, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"deep learning\"", null ] ], "groupBy": [], "having": [], "orderBy": [ "desc", [ [ 0, [ 0, 14, false ], null ] ] ], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid , t3.year FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid WHERE t1.keyphrasename = \"deep learning\" ORDER BY t3.year DESC;", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", ",", "t3.year", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t1", "ON", "t2.keyphraseid", "=", "t1.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "WHERE", "t1.keyphrasename", "=", "``", "deep", "learning", "''", "ORDER", "BY", "t3.year", "DESC", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", ",", "t3", ".", "year", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t1", "on", "t2", ".", "keyphraseid", "=", "t1", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "where", "t1", ".", "keyphrasename", "=", "value", "order", "by", "t3", ".", "year", "desc" ], "question": "Conferência de aprendizagem profunda mais recente?", "question_toks": [ "Conferência", "de", "aprendizagem", "profunda", "mais", "recente", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ], [ 0, [ 0, [ 0, 14, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"deep learning\"", null ] ], "groupBy": [], "having": [], "orderBy": [ "desc", [ [ 0, [ 0, 14, false ], null ] ] ], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid , t3.year FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid WHERE t1.keyphrasename = \"deep learning\" ORDER BY t3.year DESC;", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", ",", "t3.year", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t1", "ON", "t2.keyphraseid", "=", "t1.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "WHERE", "t1.keyphrasename", "=", "``", "deep", "learning", "''", "ORDER", "BY", "t3.year", "DESC", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", ",", "t3", ".", "year", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t1", "on", "t2", ".", "keyphraseid", "=", "t1", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "where", "t1", ".", "keyphrasename", "=", "value", "order", "by", "t3", ".", "year", "desc" ], "question": "Mostre-me alguns artigos recentes sobre aprendizado profundo?", "question_toks": [ "Mostre-me", "alguns", "artigos", "recentes", "sobre", "aprendizado", "profundo", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ], [ 0, [ 0, [ 0, 14, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"deep learning\"", null ] ], "groupBy": [], "having": [], "orderBy": [ "desc", [ [ 0, [ 0, 14, false ], null ] ] ], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid , t3.year FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid WHERE t1.keyphrasename = \"deep learning\" ORDER BY t3.year DESC;", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", ",", "t3.year", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t1", "ON", "t2.keyphraseid", "=", "t1.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "WHERE", "t1.keyphrasename", "=", "``", "deep", "learning", "''", "ORDER", "BY", "t3.year", "DESC", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", ",", "t3", ".", "year", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t1", "on", "t2", ".", "keyphraseid", "=", "t1", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "where", "t1", ".", "keyphrasename", "=", "value", "order", "by", "t3", ".", "year", "desc" ], "question": "Quais são alguns artigos recentes escritos sobre aprendizagem profunda?", "question_toks": [ "Quais", "são", "alguns", "artigos", "recentes", "escritos", "sobre", "aprendizagem", "profunda", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ], [ 0, [ 0, [ 0, 14, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"deep learning\"", null ] ], "groupBy": [], "having": [], "orderBy": [ "desc", [ [ 0, [ 0, 14, false ], null ] ] ], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid , t3.year FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid WHERE t1.keyphrasename = \"deep learning\" ORDER BY t3.year DESC;", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", ",", "t3.year", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t1", "ON", "t2.keyphraseid", "=", "t1.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "WHERE", "t1.keyphrasename", "=", "``", "deep", "learning", "''", "ORDER", "BY", "t3.year", "DESC", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", ",", "t3", ".", "year", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t1", "on", "t2", ".", "keyphraseid", "=", "t1", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "where", "t1", ".", "keyphrasename", "=", "value", "order", "by", "t3", ".", "year", "desc" ], "question": "Qual é o artigo mais recente sobre aprendizado profundo?", "question_toks": [ "Qual", "é", "o", "artigo", "mais", "recente", "sobre", "aprendizado", "profundo", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ], [ 0, [ 0, [ 0, 14, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"deep learning\"", null ] ], "groupBy": [], "having": [], "orderBy": [ "desc", [ [ 0, [ 0, 14, false ], null ] ] ], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid , t3.year FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid WHERE t1.keyphrasename = \"deep learning\" ORDER BY t3.year DESC;", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", ",", "t3.year", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t1", "ON", "t2.keyphraseid", "=", "t1.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "WHERE", "t1.keyphrasename", "=", "``", "deep", "learning", "''", "ORDER", "BY", "t3.year", "DESC", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", ",", "t3", ".", "year", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t1", "on", "t2", ".", "keyphraseid", "=", "t1", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "where", "t1", ".", "keyphrasename", "=", "value", "order", "by", "t3", ".", "year", "desc" ], "question": "Quais são os artigos recentes sobre aprendizado profundo?", "question_toks": [ "Quais", "são", "os", "artigos", "recentes", "sobre", "aprendizado", "profundo", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ], [ 0, [ 0, [ 0, 14, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"deep learning\"", null ] ], "groupBy": [], "having": [], "orderBy": [ "desc", [ [ 0, [ 0, 14, false ], null ] ] ], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid , t3.year FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid WHERE t1.keyphrasename = \"deep learning\" ORDER BY t3.year DESC;", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", ",", "t3.year", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t1", "ON", "t2.keyphraseid", "=", "t1.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "WHERE", "t1.keyphrasename", "=", "``", "deep", "learning", "''", "ORDER", "BY", "t3.year", "DESC", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", ",", "t3", ".", "year", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t1", "on", "t2", ".", "keyphraseid", "=", "t1", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "where", "t1", ".", "keyphrasename", "=", "value", "order", "by", "t3", ".", "year", "desc" ], "question": "Pesquisa atual sobre aprendizagem profunda", "question_toks": [ "Pesquisa", "atual", "sobre", "aprendizagem", "profunda" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ], [ 0, [ 0, [ 0, 14, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"deep learning\"", null ] ], "groupBy": [], "having": [], "orderBy": [ "desc", [ [ 0, [ 0, 14, false ], null ] ] ], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid , t3.year FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid WHERE t1.keyphrasename = \"deep learning\" ORDER BY t3.year DESC;", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", ",", "t3.year", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t1", "ON", "t2.keyphraseid", "=", "t1.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "WHERE", "t1.keyphrasename", "=", "``", "deep", "learning", "''", "ORDER", "BY", "t3.year", "DESC", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", ",", "t3", ".", "year", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t1", "on", "t2", ".", "keyphraseid", "=", "t1", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "where", "t1", ".", "keyphrasename", "=", "value", "order", "by", "t3", ".", "year", "desc" ], "question": "últimos artigos de aprendizagem profunda", "question_toks": [ "últimos", "artigos", "de", "aprendizagem", "profunda" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ], [ 0, [ 0, [ 0, 14, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"deep learning\"", null ] ], "groupBy": [], "having": [], "orderBy": [ "desc", [ [ 0, [ 0, 14, false ], null ] ] ], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid , t3.year FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid WHERE t1.keyphrasename = \"deep learning\" ORDER BY t3.year DESC;", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", ",", "t3.year", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t1", "ON", "t2.keyphraseid", "=", "t1.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "WHERE", "t1.keyphrasename", "=", "``", "deep", "learning", "''", "ORDER", "BY", "t3.year", "DESC", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", ",", "t3", ".", "year", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t1", "on", "t2", ".", "keyphraseid", "=", "t1", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "where", "t1", ".", "keyphrasename", "=", "value", "order", "by", "t3", ".", "year", "desc" ], "question": "os mais novos papéis de aprendizagem profunda", "question_toks": [ "os", "mais", "novos", "papéis", "de", "aprendizagem", "profunda" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ], [ 0, [ 0, [ 0, 14, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"deep learning\"", null ] ], "groupBy": [], "having": [], "orderBy": [ "desc", [ [ 0, [ 0, 14, false ], null ] ] ], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.year FROM writes AS t2 JOIN author AS t1 ON t2.authorid = t1.authorid JOIN paper AS t3 ON t2.paperid = t3.paperid WHERE t1.authorname = \"Pedro Domingos\" GROUP BY t3.year;", "query_toks": [ "SELECT", "DISTINCT", "t3.year", "FROM", "writes", "AS", "t2", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "JOIN", "paper", "AS", "t3", "ON", "t2.paperid", "=", "t3.paperid", "WHERE", "t1.authorname", "=", "``", "Pedro", "Domingos", "''", "GROUP", "BY", "t3.year", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "year", "from", "writes", "as", "t2", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "join", "paper", "as", "t3", "on", "t2", ".", "paperid", "=", "t3", ".", "paperid", "where", "t1", ".", "authorname", "=", "value", "group", "by", "t3", ".", "year" ], "question": "Em que anos Pedro Domingos publicou artigos?", "question_toks": [ "Em", "que", "anos", "Pedro", "Domingos", "publicou", "artigos", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 14, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Pedro Domingos\"", null ] ], "groupBy": [ [ 0, 14, false ] ], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.year FROM writes AS t2 JOIN author AS t1 ON t2.authorid = t1.authorid JOIN paper AS t3 ON t2.paperid = t3.paperid WHERE t1.authorname = \"Pedro Domingos\" GROUP BY t3.year;", "query_toks": [ "SELECT", "DISTINCT", "t3.year", "FROM", "writes", "AS", "t2", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "JOIN", "paper", "AS", "t3", "ON", "t2.paperid", "=", "t3.paperid", "WHERE", "t1.authorname", "=", "``", "Pedro", "Domingos", "''", "GROUP", "BY", "t3.year", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "year", "from", "writes", "as", "t2", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "join", "paper", "as", "t3", "on", "t2", ".", "paperid", "=", "t3", ".", "paperid", "where", "t1", ".", "authorname", "=", "value", "group", "by", "t3", ".", "year" ], "question": "Em que anos Pedro Domingos publicou um jornal?", "question_toks": [ "Em", "que", "anos", "Pedro", "Domingos", "publicou", "um", "jornal", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 14, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Pedro Domingos\"", null ] ], "groupBy": [ [ 0, 14, false ] ], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid , t3.year FROM writes AS t2 JOIN author AS t1 ON t2.authorid = t1.authorid JOIN paper AS t3 ON t2.paperid = t3.paperid WHERE t1.authorname = \"jamie callan\" ORDER BY t3.year;", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", ",", "t3.year", "FROM", "writes", "AS", "t2", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "JOIN", "paper", "AS", "t3", "ON", "t2.paperid", "=", "t3.paperid", "WHERE", "t1.authorname", "=", "``", "jamie", "callan", "''", "ORDER", "BY", "t3.year", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", ",", "t3", ".", "year", "from", "writes", "as", "t2", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "join", "paper", "as", "t3", "on", "t2", ".", "paperid", "=", "t3", ".", "paperid", "where", "t1", ".", "authorname", "=", "value", "order", "by", "t3", ".", "year" ], "question": "Publicações de Jamie Callan por ano", "question_toks": [ "Publicações", "de", "Jamie", "Callan", "por", "ano" ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ], [ 0, [ 0, [ 0, 14, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"jamie callan\"", null ] ], "groupBy": [], "having": [], "orderBy": [ "asc", [ [ 0, [ 0, 14, false ], null ] ] ], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT COUNT ( t3.paperid ) , t3.year FROM writes AS t2 JOIN author AS t1 ON t2.authorid = t1.authorid JOIN paper AS t3 ON t2.paperid = t3.paperid WHERE t1.authorname = \"jamie callan\" GROUP BY t3.year;", "query_toks": [ "SELECT", "DISTINCT", "COUNT", "(", "t3.paperid", ")", ",", "t3.year", "FROM", "writes", "AS", "t2", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "JOIN", "paper", "AS", "t3", "ON", "t2.paperid", "=", "t3.paperid", "WHERE", "t1.authorname", "=", "``", "jamie", "callan", "''", "GROUP", "BY", "t3.year", ";" ], "query_toks_no_value": [ "select", "distinct", "count", "(", "t3", ".", "paperid", ")", ",", "t3", ".", "year", "from", "writes", "as", "t2", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "join", "paper", "as", "t3", "on", "t2", ".", "paperid", "=", "t3", ".", "paperid", "where", "t1", ".", "authorname", "=", "value", "group", "by", "t3", ".", "year" ], "question": "Quantos artigos Jamie Callan publica por ano?", "question_toks": [ "Quantos", "artigos", "Jamie", "Callan", "publica", "por", "ano", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ] ] }, "select": [ true, [ [ 3, [ 0, [ 0, 11, false ], null ] ], [ 0, [ 0, [ 0, 14, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"jamie callan\"", null ] ], "groupBy": [ [ 0, 14, false ] ], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT COUNT ( t3.paperid ) , t3.year FROM writes AS t2 JOIN author AS t1 ON t2.authorid = t1.authorid JOIN paper AS t3 ON t2.paperid = t3.paperid WHERE t1.authorname = \"jamie callan\" GROUP BY t3.year;", "query_toks": [ "SELECT", "DISTINCT", "COUNT", "(", "t3.paperid", ")", ",", "t3.year", "FROM", "writes", "AS", "t2", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "JOIN", "paper", "AS", "t3", "ON", "t2.paperid", "=", "t3.paperid", "WHERE", "t1.authorname", "=", "``", "jamie", "callan", "''", "GROUP", "BY", "t3.year", ";" ], "query_toks_no_value": [ "select", "distinct", "count", "(", "t3", ".", "paperid", ")", ",", "t3", ".", "year", "from", "writes", "as", "t2", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "join", "paper", "as", "t3", "on", "t2", ".", "paperid", "=", "t3", ".", "paperid", "where", "t1", ".", "authorname", "=", "value", "group", "by", "t3", ".", "year" ], "question": "número de artigos por ano de Jamie Callan", "question_toks": [ "número", "de", "artigos", "por", "ano", "de", "Jamie", "Callan" ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ] ] }, "select": [ true, [ [ 3, [ 0, [ 0, 11, false ], null ] ], [ 0, [ 0, [ 0, 14, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"jamie callan\"", null ] ], "groupBy": [ [ 0, 14, false ] ], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT COUNT ( t3.paperid ) , t3.year FROM writes AS t2 JOIN author AS t1 ON t2.authorid = t1.authorid JOIN paper AS t3 ON t2.paperid = t3.paperid WHERE t1.authorname = \"jamie callan\" GROUP BY t3.year;", "query_toks": [ "SELECT", "DISTINCT", "COUNT", "(", "t3.paperid", ")", ",", "t3.year", "FROM", "writes", "AS", "t2", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "JOIN", "paper", "AS", "t3", "ON", "t2.paperid", "=", "t3.paperid", "WHERE", "t1.authorname", "=", "``", "jamie", "callan", "''", "GROUP", "BY", "t3.year", ";" ], "query_toks_no_value": [ "select", "distinct", "count", "(", "t3", ".", "paperid", ")", ",", "t3", ".", "year", "from", "writes", "as", "t2", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "join", "paper", "as", "t3", "on", "t2", ".", "paperid", "=", "t3", ".", "paperid", "where", "t1", ".", "authorname", "=", "value", "group", "by", "t3", ".", "year" ], "question": "quantos artigos Jamie Callan publicou a cada ano?", "question_toks": [ "quantos", "artigos", "Jamie", "Callan", "publicou", "a", "cada", "ano", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ] ] }, "select": [ true, [ [ 3, [ 0, [ 0, 11, false ], null ] ], [ 0, [ 0, [ 0, 14, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"jamie callan\"", null ] ], "groupBy": [ [ 0, 14, false ] ], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid FROM paper AS t3 JOIN cite AS t4 ON t3.paperid = t4.citingpaperid JOIN writes AS t2 ON t2.paperid = t4.citedpaperid JOIN author AS t1 ON t2.authorid = t1.authorid WHERE t1.authorname = \"oren etzioni\";", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", "FROM", "paper", "AS", "t3", "JOIN", "cite", "AS", "t4", "ON", "t3.paperid", "=", "t4.citingpaperid", "JOIN", "writes", "AS", "t2", "ON", "t2.paperid", "=", "t4.citedpaperid", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "WHERE", "t1.authorname", "=", "``", "oren", "etzioni", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", "from", "paper", "as", "t3", "join", "cite", "as", "t4", "on", "t3", ".", "paperid", "=", "t4", ".", "citingpaperid", "join", "writes", "as", "t2", "on", "t2", ".", "paperid", "=", "t4", ".", "citedpaperid", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "where", "t1", ".", "authorname", "=", "value" ], "question": "Quem Oren Etzioni cita", "question_toks": [ "Quem", "Oren", "Etzioni", "cita" ], "sql": { "from": { "table_units": [ [ "table_unit", 5 ], [ "table_unit", 6 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 18, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 19, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"oren etzioni\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid FROM paper AS t3 JOIN cite AS t4 ON t3.paperid = t4.citingpaperid JOIN writes AS t2 ON t2.paperid = t4.citedpaperid JOIN author AS t1 ON t2.authorid = t1.authorid WHERE t1.authorname = \"oren etzioni\";", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", "FROM", "paper", "AS", "t3", "JOIN", "cite", "AS", "t4", "ON", "t3.paperid", "=", "t4.citingpaperid", "JOIN", "writes", "AS", "t2", "ON", "t2.paperid", "=", "t4.citedpaperid", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "WHERE", "t1.authorname", "=", "``", "oren", "etzioni", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", "from", "paper", "as", "t3", "join", "cite", "as", "t4", "on", "t3", ".", "paperid", "=", "t4", ".", "citingpaperid", "join", "writes", "as", "t2", "on", "t2", ".", "paperid", "=", "t4", ".", "citedpaperid", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "where", "t1", ".", "authorname", "=", "value" ], "question": "quais artigos oren etzioni cita", "question_toks": [ "quais", "artigos", "oren", "etzioni", "cita" ], "sql": { "from": { "table_units": [ [ "table_unit", 5 ], [ "table_unit", 6 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 18, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 19, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"oren etzioni\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid FROM paper AS t3 JOIN cite AS t4 ON t3.paperid = t4.citingpaperid JOIN writes AS t2 ON t2.paperid = t4.citedpaperid JOIN author AS t1 ON t2.authorid = t1.authorid WHERE t1.authorname = \"Daniel Jurafsky\";", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", "FROM", "paper", "AS", "t3", "JOIN", "cite", "AS", "t4", "ON", "t3.paperid", "=", "t4.citingpaperid", "JOIN", "writes", "AS", "t2", "ON", "t2.paperid", "=", "t4.citedpaperid", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "WHERE", "t1.authorname", "=", "``", "Daniel", "Jurafsky", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", "from", "paper", "as", "t3", "join", "cite", "as", "t4", "on", "t3", ".", "paperid", "=", "t4", ".", "citingpaperid", "join", "writes", "as", "t2", "on", "t2", ".", "paperid", "=", "t4", ".", "citedpaperid", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "where", "t1", ".", "authorname", "=", "value" ], "question": "papéis citando Daniel Jurafsky", "question_toks": [ "papéis", "citando", "Daniel", "Jurafsky" ], "sql": { "from": { "table_units": [ [ "table_unit", 5 ], [ "table_unit", 6 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 18, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 19, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Daniel Jurafsky\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid FROM paper AS t3 JOIN cite AS t4 ON t3.paperid = t4.citingpaperid JOIN writes AS t2 ON t2.paperid = t4.citedpaperid JOIN author AS t1 ON t2.authorid = t1.authorid WHERE t1.authorname = \"Daniel Jurafsky\";", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", "FROM", "paper", "AS", "t3", "JOIN", "cite", "AS", "t4", "ON", "t3.paperid", "=", "t4.citingpaperid", "JOIN", "writes", "AS", "t2", "ON", "t2.paperid", "=", "t4.citedpaperid", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "WHERE", "t1.authorname", "=", "``", "Daniel", "Jurafsky", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", "from", "paper", "as", "t3", "join", "cite", "as", "t4", "on", "t3", ".", "paperid", "=", "t4", ".", "citingpaperid", "join", "writes", "as", "t2", "on", "t2", ".", "paperid", "=", "t4", ".", "citedpaperid", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "where", "t1", ".", "authorname", "=", "value" ], "question": "Quais jornais citam Daniel Jurafsky?", "question_toks": [ "Quais", "jornais", "citam", "Daniel", "Jurafsky", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 5 ], [ "table_unit", 6 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 18, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 19, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Daniel Jurafsky\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid FROM paper AS t3 JOIN cite AS t4 ON t3.paperid = t4.citingpaperid JOIN writes AS t2 ON t2.paperid = t4.citedpaperid JOIN author AS t1 ON t2.authorid = t1.authorid WHERE t1.authorname = \"Daniel Jurafsky\";", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", "FROM", "paper", "AS", "t3", "JOIN", "cite", "AS", "t4", "ON", "t3.paperid", "=", "t4.citingpaperid", "JOIN", "writes", "AS", "t2", "ON", "t2.paperid", "=", "t4.citedpaperid", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "WHERE", "t1.authorname", "=", "``", "Daniel", "Jurafsky", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", "from", "paper", "as", "t3", "join", "cite", "as", "t4", "on", "t3", ".", "paperid", "=", "t4", ".", "citingpaperid", "join", "writes", "as", "t2", "on", "t2", ".", "paperid", "=", "t4", ".", "citedpaperid", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "where", "t1", ".", "authorname", "=", "value" ], "question": "Quais jornais citam Daniel Jurafsky?", "question_toks": [ "Quais", "jornais", "citam", "Daniel", "Jurafsky", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 5 ], [ "table_unit", 6 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 18, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 19, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Daniel Jurafsky\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid FROM paper AS t3 JOIN cite AS t4 ON t3.paperid = t4.citingpaperid JOIN writes AS t2 ON t2.paperid = t4.citedpaperid JOIN author AS t1 ON t2.authorid = t1.authorid WHERE t1.authorname = \"Daniel Jurafsky\";", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", "FROM", "paper", "AS", "t3", "JOIN", "cite", "AS", "t4", "ON", "t3.paperid", "=", "t4.citingpaperid", "JOIN", "writes", "AS", "t2", "ON", "t2.paperid", "=", "t4.citedpaperid", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "WHERE", "t1.authorname", "=", "``", "Daniel", "Jurafsky", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", "from", "paper", "as", "t3", "join", "cite", "as", "t4", "on", "t3", ".", "paperid", "=", "t4", ".", "citingpaperid", "join", "writes", "as", "t2", "on", "t2", ".", "paperid", "=", "t4", ".", "citedpaperid", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "where", "t1", ".", "authorname", "=", "value" ], "question": "citações para Daniel Jurafsky", "question_toks": [ "citações", "para", "Daniel", "Jurafsky" ], "sql": { "from": { "table_units": [ [ "table_unit", 5 ], [ "table_unit", 6 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 18, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 19, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Daniel Jurafsky\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid WHERE t1.keyphrasename = \"instance segmentation\" AND t3.journalid >= 0;", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t1", "ON", "t2.keyphraseid", "=", "t1.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "WHERE", "t1.keyphrasename", "=", "``", "instance", "segmentation", "''", "AND", "t3.journalid", ">", "=", "0", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t1", "on", "t2", ".", "keyphraseid", "=", "t1", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "where", "t1", ".", "keyphrasename", "=", "value", "and", "t3", ".", "journalid", ">", "=", "value" ], "question": "artigos de jornal para segmentação de instância", "question_toks": [ "artigos", "de", "jornal", "para", "segmentação", "de", "instância" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"instance segmentation\"", null ], "and", [ false, 5, [ 0, [ 0, 17, false ], null ], 0.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT COUNT ( t4.paperid ) , t3.authorid FROM paperkeyphrase AS t1 JOIN keyphrase AS t2 ON t1.keyphraseid = t2.keyphraseid JOIN paper AS t4 ON t4.paperid = t1.paperid JOIN writes AS t3 ON t3.paperid = t4.paperid WHERE t2.keyphrasename = \"semantic parsing\" AND t4.year > 2005 GROUP BY t3.authorid ORDER BY COUNT ( t4.paperid ) DESC;", "query_toks": [ "SELECT", "DISTINCT", "COUNT", "(", "t4.paperid", ")", ",", "t3.authorid", "FROM", "paperkeyphrase", "AS", "t1", "JOIN", "keyphrase", "AS", "t2", "ON", "t1.keyphraseid", "=", "t2.keyphraseid", "JOIN", "paper", "AS", "t4", "ON", "t4.paperid", "=", "t1.paperid", "JOIN", "writes", "AS", "t3", "ON", "t3.paperid", "=", "t4.paperid", "WHERE", "t2.keyphrasename", "=", "``", "semantic", "parsing", "''", "AND", "t4.year", ">", "2005", "GROUP", "BY", "t3.authorid", "ORDER", "BY", "COUNT", "(", "t4.paperid", ")", "DESC", ";" ], "query_toks_no_value": [ "select", "distinct", "count", "(", "t4", ".", "paperid", ")", ",", "t3", ".", "authorid", "from", "paperkeyphrase", "as", "t1", "join", "keyphrase", "as", "t2", "on", "t1", ".", "keyphraseid", "=", "t2", ".", "keyphraseid", "join", "paper", "as", "t4", "on", "t4", ".", "paperid", "=", "t1", ".", "paperid", "join", "writes", "as", "t3", "on", "t3", ".", "paperid", "=", "t4", ".", "paperid", "where", "t2", ".", "keyphrasename", "=", "value", "and", "t4", ".", "year", ">", "value", "group", "by", "t3", ".", "authorid", "order", "by", "count", "(", "t4", ".", "paperid", ")", "desc" ], "question": "quem tem mais artigos em análise semântica depois de 2005?", "question_toks": [ "quem", "tem", "mais", "artigos", "em", "análise", "semântica", "depois", "de", "2005", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ], [ "table_unit", 9 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ] ] }, "select": [ true, [ [ 3, [ 0, [ 0, 11, false ], null ] ], [ 0, [ 0, [ 0, 25, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"semantic parsing\"", null ], "and", [ false, 3, [ 0, [ 0, 14, false ], null ], 2005.0, null ] ], "groupBy": [ [ 0, 25, false ] ], "having": [], "orderBy": [ "desc", [ [ 0, [ 3, 11, false ], null ] ] ], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT COUNT ( t4.paperid ) , t3.authorid FROM paperkeyphrase AS t1 JOIN keyphrase AS t2 ON t1.keyphraseid = t2.keyphraseid JOIN paper AS t4 ON t4.paperid = t1.paperid JOIN writes AS t3 ON t3.paperid = t4.paperid WHERE t2.keyphrasename = \"semantic parsing\" AND t4.year > 2005 GROUP BY t3.authorid ORDER BY COUNT ( t4.paperid ) DESC;", "query_toks": [ "SELECT", "DISTINCT", "COUNT", "(", "t4.paperid", ")", ",", "t3.authorid", "FROM", "paperkeyphrase", "AS", "t1", "JOIN", "keyphrase", "AS", "t2", "ON", "t1.keyphraseid", "=", "t2.keyphraseid", "JOIN", "paper", "AS", "t4", "ON", "t4.paperid", "=", "t1.paperid", "JOIN", "writes", "AS", "t3", "ON", "t3.paperid", "=", "t4.paperid", "WHERE", "t2.keyphrasename", "=", "``", "semantic", "parsing", "''", "AND", "t4.year", ">", "2005", "GROUP", "BY", "t3.authorid", "ORDER", "BY", "COUNT", "(", "t4.paperid", ")", "DESC", ";" ], "query_toks_no_value": [ "select", "distinct", "count", "(", "t4", ".", "paperid", ")", ",", "t3", ".", "authorid", "from", "paperkeyphrase", "as", "t1", "join", "keyphrase", "as", "t2", "on", "t1", ".", "keyphraseid", "=", "t2", ".", "keyphraseid", "join", "paper", "as", "t4", "on", "t4", ".", "paperid", "=", "t1", ".", "paperid", "join", "writes", "as", "t3", "on", "t3", ".", "paperid", "=", "t4", ".", "paperid", "where", "t2", ".", "keyphrasename", "=", "value", "and", "t4", ".", "year", ">", "value", "group", "by", "t3", ".", "authorid", "order", "by", "count", "(", "t4", ".", "paperid", ")", "desc" ], "question": "quem escreveu mais artigos sobre análise semântica desde 2005?", "question_toks": [ "quem", "escreveu", "mais", "artigos", "sobre", "análise", "semântica", "desde", "2005", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ], [ "table_unit", 9 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ] ] }, "select": [ true, [ [ 3, [ 0, [ 0, 11, false ], null ] ], [ 0, [ 0, [ 0, 25, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"semantic parsing\"", null ], "and", [ false, 3, [ 0, [ 0, 14, false ], null ], 2005.0, null ] ], "groupBy": [ [ 0, 25, false ] ], "having": [], "orderBy": [ "desc", [ [ 0, [ 3, 11, false ], null ] ] ], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT COUNT ( t4.paperid ) , t3.authorid FROM paperkeyphrase AS t1 JOIN keyphrase AS t2 ON t1.keyphraseid = t2.keyphraseid JOIN paper AS t4 ON t4.paperid = t1.paperid JOIN writes AS t3 ON t3.paperid = t4.paperid WHERE t2.keyphrasename = \"semantic parsing\" AND t4.year > 2005 GROUP BY t3.authorid ORDER BY COUNT ( t4.paperid ) DESC;", "query_toks": [ "SELECT", "DISTINCT", "COUNT", "(", "t4.paperid", ")", ",", "t3.authorid", "FROM", "paperkeyphrase", "AS", "t1", "JOIN", "keyphrase", "AS", "t2", "ON", "t1.keyphraseid", "=", "t2.keyphraseid", "JOIN", "paper", "AS", "t4", "ON", "t4.paperid", "=", "t1.paperid", "JOIN", "writes", "AS", "t3", "ON", "t3.paperid", "=", "t4.paperid", "WHERE", "t2.keyphrasename", "=", "``", "semantic", "parsing", "''", "AND", "t4.year", ">", "2005", "GROUP", "BY", "t3.authorid", "ORDER", "BY", "COUNT", "(", "t4.paperid", ")", "DESC", ";" ], "query_toks_no_value": [ "select", "distinct", "count", "(", "t4", ".", "paperid", ")", ",", "t3", ".", "authorid", "from", "paperkeyphrase", "as", "t1", "join", "keyphrase", "as", "t2", "on", "t1", ".", "keyphraseid", "=", "t2", ".", "keyphraseid", "join", "paper", "as", "t4", "on", "t4", ".", "paperid", "=", "t1", ".", "paperid", "join", "writes", "as", "t3", "on", "t3", ".", "paperid", "=", "t4", ".", "paperid", "where", "t2", ".", "keyphrasename", "=", "value", "and", "t4", ".", "year", ">", "value", "group", "by", "t3", ".", "authorid", "order", "by", "count", "(", "t4", ".", "paperid", ")", "desc" ], "question": "quem publicou mais em análise semântica depois de 2005?", "question_toks": [ "quem", "publicou", "mais", "em", "análise", "semântica", "depois", "de", "2005", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ], [ "table_unit", 9 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ] ] }, "select": [ true, [ [ 3, [ 0, [ 0, 11, false ], null ] ], [ 0, [ 0, [ 0, 25, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"semantic parsing\"", null ], "and", [ false, 3, [ 0, [ 0, 14, false ], null ], 2005.0, null ] ], "groupBy": [ [ 0, 25, false ] ], "having": [], "orderBy": [ "desc", [ [ 0, [ 3, 11, false ], null ] ] ], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT COUNT ( t5.citingpaperid ) FROM paperkeyphrase AS t2 JOIN keyphrase AS t3 ON t2.keyphraseid = t3.keyphraseid JOIN writes AS t4 ON t4.paperid = t2.paperid JOIN cite AS t5 ON t4.paperid = t5.citedpaperid JOIN author AS t1 ON t4.authorid = t1.authorid WHERE t1.authorname = \"Dan Makumbi\" AND t3.keyphrasename = \"Genetic Identity\";", "query_toks": [ "SELECT", "DISTINCT", "COUNT", "(", "t5.citingpaperid", ")", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t3", "ON", "t2.keyphraseid", "=", "t3.keyphraseid", "JOIN", "writes", "AS", "t4", "ON", "t4.paperid", "=", "t2.paperid", "JOIN", "cite", "AS", "t5", "ON", "t4.paperid", "=", "t5.citedpaperid", "JOIN", "author", "AS", "t1", "ON", "t4.authorid", "=", "t1.authorid", "WHERE", "t1.authorname", "=", "``", "Dan", "Makumbi", "''", "AND", "t3.keyphrasename", "=", "``", "Genetic", "Identity", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "count", "(", "t5", ".", "citingpaperid", ")", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t3", "on", "t2", ".", "keyphraseid", "=", "t3", ".", "keyphraseid", "join", "writes", "as", "t4", "on", "t4", ".", "paperid", "=", "t2", ".", "paperid", "join", "cite", "as", "t5", "on", "t4", ".", "paperid", "=", "t5", ".", "citedpaperid", "join", "author", "as", "t1", "on", "t4", ".", "authorid", "=", "t1", ".", "authorid", "where", "t1", ".", "authorname", "=", "value", "and", "t3", ".", "keyphrasename", "=", "value" ], "question": "Quantas citações tem o artigo de identidade genética de Dan Makumbi?", "question_toks": [ "Quantas", "citações", "tem", "o", "artigo", "de", "identidade", "genética", "de", "Dan", "Makumbi", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 9 ], [ "table_unit", 6 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 22, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 19, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 3, [ 0, [ 0, 18, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Dan Makumbi\"", null ], "and", [ false, 2, [ 0, [ 0, 10, false ], null ], "\"Genetic Identity\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid WHERE t1.keyphrasename = \"character recognition\" AND t3.year < 2010;", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t1", "ON", "t2.keyphraseid", "=", "t1.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "WHERE", "t1.keyphrasename", "=", "``", "character", "recognition", "''", "AND", "t3.year", "<", "2010", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t1", "on", "t2", ".", "keyphraseid", "=", "t1", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "where", "t1", ".", "keyphrasename", "=", "value", "and", "t3", ".", "year", "<", "value" ], "question": "papéis de reconhecimento de personagens anteriores a 2010", "question_toks": [ "papéis", "de", "reconhecimento", "de", "personagens", "anteriores", "a", "2010" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"character recognition\"", null ], "and", [ false, 4, [ 0, [ 0, 14, false ], null ], 2010.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid WHERE t1.keyphrasename = \"character recognition\" AND t3.year < 2010;", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t1", "ON", "t2.keyphraseid", "=", "t1.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "WHERE", "t1.keyphrasename", "=", "``", "character", "recognition", "''", "AND", "t3.year", "<", "2010", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t1", "on", "t2", ".", "keyphraseid", "=", "t1", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "where", "t1", ".", "keyphrasename", "=", "value", "and", "t3", ".", "year", "<", "value" ], "question": "artigos antes de 2010 sobre reconhecimento de personagens", "question_toks": [ "artigos", "antes", "de", "2010", "sobre", "reconhecimento", "de", "personagens" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"character recognition\"", null ], "and", [ false, 4, [ 0, [ 0, 14, false ], null ], 2010.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid WHERE t1.keyphrasename = \"character recognition\" AND t3.year < 2010;", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t1", "ON", "t2.keyphraseid", "=", "t1.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "WHERE", "t1.keyphrasename", "=", "``", "character", "recognition", "''", "AND", "t3.year", "<", "2010", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t1", "on", "t2", ".", "keyphraseid", "=", "t1", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "where", "t1", ".", "keyphrasename", "=", "value", "and", "t3", ".", "year", "<", "value" ], "question": "papéis de reconhecimento de personagens anteriores a 2010", "question_toks": [ "papéis", "de", "reconhecimento", "de", "personagens", "anteriores", "a", "2010" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"character recognition\"", null ], "and", [ false, 4, [ 0, [ 0, 14, false ], null ], 2010.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid WHERE t1.keyphrasename = \"character recognition\" AND t3.year < 2010;", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t1", "ON", "t2.keyphraseid", "=", "t1.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "WHERE", "t1.keyphrasename", "=", "``", "character", "recognition", "''", "AND", "t3.year", "<", "2010", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t1", "on", "t2", ".", "keyphraseid", "=", "t1", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "where", "t1", ".", "keyphrasename", "=", "value", "and", "t3", ".", "year", "<", "value" ], "question": "artigos sobre reconhecimento de personagens anteriores a 2010", "question_toks": [ "artigos", "sobre", "reconhecimento", "de", "personagens", "anteriores", "a", "2010" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"character recognition\"", null ], "and", [ false, 4, [ 0, [ 0, 14, false ], null ], 2010.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid WHERE t1.keyphrasename = \"character recognition\" AND t3.year < 2010;", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t1", "ON", "t2.keyphraseid", "=", "t1.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "WHERE", "t1.keyphrasename", "=", "``", "character", "recognition", "''", "AND", "t3.year", "<", "2010", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t1", "on", "t2", ".", "keyphraseid", "=", "t1", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "where", "t1", ".", "keyphrasename", "=", "value", "and", "t3", ".", "year", "<", "value" ], "question": "papéis de reconhecimento de personagens antes de 2010", "question_toks": [ "papéis", "de", "reconhecimento", "de", "personagens", "antes", "de", "2010" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"character recognition\"", null ], "and", [ false, 4, [ 0, [ 0, 14, false ], null ], 2010.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT COUNT ( t2.keyphraseid ) , t2.keyphraseid FROM paper AS t3 JOIN paperkeyphrase AS t2 ON t3.paperid = t2.paperid JOIN writes AS t4 ON t4.paperid = t3.paperid JOIN author AS t1 ON t4.authorid = t1.authorid WHERE t1.authorname = \"oren etzioni\" GROUP BY t2.keyphraseid ORDER BY COUNT ( t2.keyphraseid ) DESC;", "query_toks": [ "SELECT", "DISTINCT", "COUNT", "(", "t2.keyphraseid", ")", ",", "t2.keyphraseid", "FROM", "paper", "AS", "t3", "JOIN", "paperkeyphrase", "AS", "t2", "ON", "t3.paperid", "=", "t2.paperid", "JOIN", "writes", "AS", "t4", "ON", "t4.paperid", "=", "t3.paperid", "JOIN", "author", "AS", "t1", "ON", "t4.authorid", "=", "t1.authorid", "WHERE", "t1.authorname", "=", "``", "oren", "etzioni", "''", "GROUP", "BY", "t2.keyphraseid", "ORDER", "BY", "COUNT", "(", "t2.keyphraseid", ")", "DESC", ";" ], "query_toks_no_value": [ "select", "distinct", "count", "(", "t2", ".", "keyphraseid", ")", ",", "t2", ".", "keyphraseid", "from", "paper", "as", "t3", "join", "paperkeyphrase", "as", "t2", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "join", "writes", "as", "t4", "on", "t4", ".", "paperid", "=", "t3", ".", "paperid", "join", "author", "as", "t1", "on", "t4", ".", "authorid", "=", "t1", ".", "authorid", "where", "t1", ".", "authorname", "=", "value", "group", "by", "t2", ".", "keyphraseid", "order", "by", "count", "(", "t2", ".", "keyphraseid", ")", "desc" ], "question": "sobre quais tópicos oren etzioni mais escreve?", "question_toks": [ "sobre", "quais", "tópicos", "oren", "etzioni", "mais", "escreve", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 5 ], [ "table_unit", 8 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 3, [ 0, [ 0, 23, false ], null ] ], [ 0, [ 0, [ 0, 23, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"oren etzioni\"", null ] ], "groupBy": [ [ 0, 23, false ] ], "having": [], "orderBy": [ "desc", [ [ 0, [ 3, 23, false ], null ] ] ], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT COUNT ( t4.paperid ) FROM paperdataset AS t3 JOIN dataset AS t2 ON t3.datasetid = t2.datasetid JOIN paper AS t4 ON t4.paperid = t3.paperid JOIN paperkeyphrase AS t1 ON t4.paperid = t1.paperid JOIN keyphrase AS t5 ON t1.keyphraseid = t5.keyphraseid WHERE t2.datasetname = \"ImageNet\" AND t5.keyphrasename = \"deep learning\";", "query_toks": [ "SELECT", "DISTINCT", "COUNT", "(", "t4.paperid", ")", "FROM", "paperdataset", "AS", "t3", "JOIN", "dataset", "AS", "t2", "ON", "t3.datasetid", "=", "t2.datasetid", "JOIN", "paper", "AS", "t4", "ON", "t4.paperid", "=", "t3.paperid", "JOIN", "paperkeyphrase", "AS", "t1", "ON", "t4.paperid", "=", "t1.paperid", "JOIN", "keyphrase", "AS", "t5", "ON", "t1.keyphraseid", "=", "t5.keyphraseid", "WHERE", "t2.datasetname", "=", "``", "ImageNet", "''", "AND", "t5.keyphrasename", "=", "``", "deep", "learning", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "count", "(", "t4", ".", "paperid", ")", "from", "paperdataset", "as", "t3", "join", "dataset", "as", "t2", "on", "t3", ".", "datasetid", "=", "t2", ".", "datasetid", "join", "paper", "as", "t4", "on", "t4", ".", "paperid", "=", "t3", ".", "paperid", "join", "paperkeyphrase", "as", "t1", "on", "t4", ".", "paperid", "=", "t1", ".", "paperid", "join", "keyphrase", "as", "t5", "on", "t1", ".", "keyphraseid", "=", "t5", ".", "keyphraseid", "where", "t2", ".", "datasetname", "=", "value", "and", "t5", ".", "keyphrasename", "=", "value" ], "question": "Quantos artigos relacionados ao aprendizado profundo citaram o conjunto de dados ImageNet?", "question_toks": [ "Quantos", "artigos", "relacionados", "ao", "aprendizado", "profundo", "citaram", "o", "conjunto", "de", "dados", "ImageNet", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 7 ], [ "table_unit", 2 ], [ "table_unit", 5 ], [ "table_unit", 8 ], [ "table_unit", 4 ] ], "conds": [ [ false, 2, [ 0, [ 0, 21, false ], null ], [ 0, 5, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 20, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ], "and", [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ] ] }, "select": [ true, [ [ 3, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 6, false ], null ], "\"ImageNet\"", null ], "and", [ false, 2, [ 0, [ 0, 10, false ], null ], "\"deep learning\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t4.citedpaperid , COUNT ( t4.citedpaperid ) FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid JOIN cite AS t4 ON t3.paperid = t4.citedpaperid WHERE t1.keyphrasename = \"parsing\" GROUP BY t4.citedpaperid ORDER BY COUNT ( t4.citedpaperid ) DESC;", "query_toks": [ "SELECT", "DISTINCT", "t4.citedpaperid", ",", "COUNT", "(", "t4.citedpaperid", ")", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t1", "ON", "t2.keyphraseid", "=", "t1.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "JOIN", "cite", "AS", "t4", "ON", "t3.paperid", "=", "t4.citedpaperid", "WHERE", "t1.keyphrasename", "=", "``", "parsing", "''", "GROUP", "BY", "t4.citedpaperid", "ORDER", "BY", "COUNT", "(", "t4.citedpaperid", ")", "DESC", ";" ], "query_toks_no_value": [ "select", "distinct", "t4", ".", "citedpaperid", ",", "count", "(", "t4", ".", "citedpaperid", ")", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t1", "on", "t2", ".", "keyphraseid", "=", "t1", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "join", "cite", "as", "t4", "on", "t3", ".", "paperid", "=", "t4", ".", "citedpaperid", "where", "t1", ".", "keyphrasename", "=", "value", "group", "by", "t4", ".", "citedpaperid", "order", "by", "count", "(", "t4", ".", "citedpaperid", ")", "desc" ], "question": "artigos mais citados sobre análise", "question_toks": [ "artigos", "mais", "citados", "sobre", "análise" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ], [ "table_unit", 6 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 19, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 19, false ], null ] ], [ 3, [ 0, [ 0, 19, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"parsing\"", null ] ], "groupBy": [ [ 0, 19, false ] ], "having": [], "orderBy": [ "desc", [ [ 0, [ 3, 19, false ], null ] ] ], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t4.citedpaperid , COUNT ( t4.citedpaperid ) FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid JOIN cite AS t4 ON t3.paperid = t4.citedpaperid WHERE t1.keyphrasename = \"parsing\" GROUP BY t4.citedpaperid ORDER BY COUNT ( t4.citedpaperid ) DESC;", "query_toks": [ "SELECT", "DISTINCT", "t4.citedpaperid", ",", "COUNT", "(", "t4.citedpaperid", ")", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t1", "ON", "t2.keyphraseid", "=", "t1.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "JOIN", "cite", "AS", "t4", "ON", "t3.paperid", "=", "t4.citedpaperid", "WHERE", "t1.keyphrasename", "=", "``", "parsing", "''", "GROUP", "BY", "t4.citedpaperid", "ORDER", "BY", "COUNT", "(", "t4.citedpaperid", ")", "DESC", ";" ], "query_toks_no_value": [ "select", "distinct", "t4", ".", "citedpaperid", ",", "count", "(", "t4", ".", "citedpaperid", ")", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t1", "on", "t2", ".", "keyphraseid", "=", "t1", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "join", "cite", "as", "t4", "on", "t3", ".", "paperid", "=", "t4", ".", "citedpaperid", "where", "t1", ".", "keyphrasename", "=", "value", "group", "by", "t4", ".", "citedpaperid", "order", "by", "count", "(", "t4", ".", "citedpaperid", ")", "desc" ], "question": "analisando os papéis principais", "question_toks": [ "analisando", "os", "papéis", "principais" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ], [ "table_unit", 6 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 19, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 19, false ], null ] ], [ 3, [ 0, [ 0, 19, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"parsing\"", null ] ], "groupBy": [ [ 0, 19, false ] ], "having": [], "orderBy": [ "desc", [ [ 0, [ 3, 19, false ], null ] ] ], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t4.citedpaperid , COUNT ( t4.citedpaperid ) FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid JOIN cite AS t4 ON t3.paperid = t4.citedpaperid WHERE t1.keyphrasename = \"parsing\" GROUP BY t4.citedpaperid ORDER BY COUNT ( t4.citedpaperid ) DESC;", "query_toks": [ "SELECT", "DISTINCT", "t4.citedpaperid", ",", "COUNT", "(", "t4.citedpaperid", ")", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t1", "ON", "t2.keyphraseid", "=", "t1.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "JOIN", "cite", "AS", "t4", "ON", "t3.paperid", "=", "t4.citedpaperid", "WHERE", "t1.keyphrasename", "=", "``", "parsing", "''", "GROUP", "BY", "t4.citedpaperid", "ORDER", "BY", "COUNT", "(", "t4.citedpaperid", ")", "DESC", ";" ], "query_toks_no_value": [ "select", "distinct", "t4", ".", "citedpaperid", ",", "count", "(", "t4", ".", "citedpaperid", ")", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t1", "on", "t2", ".", "keyphraseid", "=", "t1", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "join", "cite", "as", "t4", "on", "t3", ".", "paperid", "=", "t4", ".", "citedpaperid", "where", "t1", ".", "keyphrasename", "=", "value", "group", "by", "t4", ".", "citedpaperid", "order", "by", "count", "(", "t4", ".", "citedpaperid", ")", "desc" ], "question": "Liste os principais papéis para análise", "question_toks": [ "Liste", "os", "principais", "papéis", "para", "análise" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ], [ "table_unit", 6 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 19, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 19, false ], null ] ], [ 3, [ 0, [ 0, 19, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"parsing\"", null ] ], "groupBy": [ [ 0, 19, false ] ], "having": [], "orderBy": [ "desc", [ [ 0, [ 3, 19, false ], null ] ] ], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t4.citedpaperid , COUNT ( t4.citedpaperid ) FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid JOIN cite AS t4 ON t3.paperid = t4.citedpaperid WHERE t1.keyphrasename = \"parsing\" GROUP BY t4.citedpaperid ORDER BY COUNT ( t4.citedpaperid ) DESC;", "query_toks": [ "SELECT", "DISTINCT", "t4.citedpaperid", ",", "COUNT", "(", "t4.citedpaperid", ")", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t1", "ON", "t2.keyphraseid", "=", "t1.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "JOIN", "cite", "AS", "t4", "ON", "t3.paperid", "=", "t4.citedpaperid", "WHERE", "t1.keyphrasename", "=", "``", "parsing", "''", "GROUP", "BY", "t4.citedpaperid", "ORDER", "BY", "COUNT", "(", "t4.citedpaperid", ")", "DESC", ";" ], "query_toks_no_value": [ "select", "distinct", "t4", ".", "citedpaperid", ",", "count", "(", "t4", ".", "citedpaperid", ")", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t1", "on", "t2", ".", "keyphraseid", "=", "t1", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "join", "cite", "as", "t4", "on", "t3", ".", "paperid", "=", "t4", ".", "citedpaperid", "where", "t1", ".", "keyphrasename", "=", "value", "group", "by", "t4", ".", "citedpaperid", "order", "by", "count", "(", "t4", ".", "citedpaperid", ")", "desc" ], "question": "analisar papéis que têm mais citações", "question_toks": [ "analisar", "papéis", "que", "têm", "mais", "citações" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ], [ "table_unit", 6 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 19, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 19, false ], null ] ], [ 3, [ 0, [ 0, 19, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"parsing\"", null ] ], "groupBy": [ [ 0, 19, false ] ], "having": [], "orderBy": [ "desc", [ [ 0, [ 3, 19, false ], null ] ] ], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t4.citedpaperid , COUNT ( t4.citedpaperid ) FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid JOIN cite AS t4 ON t3.paperid = t4.citedpaperid WHERE t1.keyphrasename = \"parsing\" GROUP BY t4.citedpaperid ORDER BY COUNT ( t4.citedpaperid ) DESC;", "query_toks": [ "SELECT", "DISTINCT", "t4.citedpaperid", ",", "COUNT", "(", "t4.citedpaperid", ")", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t1", "ON", "t2.keyphraseid", "=", "t1.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "JOIN", "cite", "AS", "t4", "ON", "t3.paperid", "=", "t4.citedpaperid", "WHERE", "t1.keyphrasename", "=", "``", "parsing", "''", "GROUP", "BY", "t4.citedpaperid", "ORDER", "BY", "COUNT", "(", "t4.citedpaperid", ")", "DESC", ";" ], "query_toks_no_value": [ "select", "distinct", "t4", ".", "citedpaperid", ",", "count", "(", "t4", ".", "citedpaperid", ")", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t1", "on", "t2", ".", "keyphraseid", "=", "t1", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "join", "cite", "as", "t4", "on", "t3", ".", "paperid", "=", "t4", ".", "citedpaperid", "where", "t1", ".", "keyphrasename", "=", "value", "group", "by", "t4", ".", "citedpaperid", "order", "by", "count", "(", "t4", ".", "citedpaperid", ")", "desc" ], "question": "Qual é o artigo sobre a análise da maioria das citações?", "question_toks": [ "Qual", "é", "o", "artigo", "sobre", "a", "análise", "da", "maioria", "das", "citações", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ], [ "table_unit", 6 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 19, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 19, false ], null ] ], [ 3, [ 0, [ 0, 19, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"parsing\"", null ] ], "groupBy": [ [ 0, 19, false ] ], "having": [], "orderBy": [ "desc", [ [ 0, [ 3, 19, false ], null ] ] ], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t4.citedpaperid , COUNT ( t4.citedpaperid ) FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid JOIN cite AS t4 ON t3.paperid = t4.citedpaperid WHERE t1.keyphrasename = \"parsing\" GROUP BY t4.citedpaperid ORDER BY COUNT ( t4.citedpaperid ) DESC;", "query_toks": [ "SELECT", "DISTINCT", "t4.citedpaperid", ",", "COUNT", "(", "t4.citedpaperid", ")", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t1", "ON", "t2.keyphraseid", "=", "t1.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "JOIN", "cite", "AS", "t4", "ON", "t3.paperid", "=", "t4.citedpaperid", "WHERE", "t1.keyphrasename", "=", "``", "parsing", "''", "GROUP", "BY", "t4.citedpaperid", "ORDER", "BY", "COUNT", "(", "t4.citedpaperid", ")", "DESC", ";" ], "query_toks_no_value": [ "select", "distinct", "t4", ".", "citedpaperid", ",", "count", "(", "t4", ".", "citedpaperid", ")", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t1", "on", "t2", ".", "keyphraseid", "=", "t1", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "join", "cite", "as", "t4", "on", "t3", ".", "paperid", "=", "t4", ".", "citedpaperid", "where", "t1", ".", "keyphrasename", "=", "value", "group", "by", "t4", ".", "citedpaperid", "order", "by", "count", "(", "t4", ".", "citedpaperid", ")", "desc" ], "question": "Artigo sobre análise com a maioria das citações", "question_toks": [ "Artigo", "sobre", "análise", "com", "a", "maioria", "das", "citações" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ], [ "table_unit", 6 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 19, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 19, false ], null ] ], [ 3, [ 0, [ 0, 19, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"parsing\"", null ] ], "groupBy": [ [ 0, 19, false ] ], "having": [], "orderBy": [ "desc", [ [ 0, [ 3, 19, false ], null ] ] ], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t4.citedpaperid , COUNT ( t4.citedpaperid ) FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid JOIN cite AS t4 ON t3.paperid = t4.citedpaperid WHERE t1.keyphrasename = \"parsing\" GROUP BY t4.citedpaperid ORDER BY COUNT ( t4.citedpaperid ) DESC;", "query_toks": [ "SELECT", "DISTINCT", "t4.citedpaperid", ",", "COUNT", "(", "t4.citedpaperid", ")", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t1", "ON", "t2.keyphraseid", "=", "t1.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "JOIN", "cite", "AS", "t4", "ON", "t3.paperid", "=", "t4.citedpaperid", "WHERE", "t1.keyphrasename", "=", "``", "parsing", "''", "GROUP", "BY", "t4.citedpaperid", "ORDER", "BY", "COUNT", "(", "t4.citedpaperid", ")", "DESC", ";" ], "query_toks_no_value": [ "select", "distinct", "t4", ".", "citedpaperid", ",", "count", "(", "t4", ".", "citedpaperid", ")", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t1", "on", "t2", ".", "keyphraseid", "=", "t1", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "join", "cite", "as", "t4", "on", "t3", ".", "paperid", "=", "t4", ".", "citedpaperid", "where", "t1", ".", "keyphrasename", "=", "value", "group", "by", "t4", ".", "citedpaperid", "order", "by", "count", "(", "t4", ".", "citedpaperid", ")", "desc" ], "question": "analisando artigos com a maioria das citações", "question_toks": [ "analisando", "artigos", "com", "a", "maioria", "das", "citações" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ], [ "table_unit", 6 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 19, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 19, false ], null ] ], [ 3, [ 0, [ 0, 19, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"parsing\"", null ] ], "groupBy": [ [ 0, 19, false ] ], "having": [], "orderBy": [ "desc", [ [ 0, [ 3, 19, false ], null ] ] ], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t4.citedpaperid , COUNT ( t4.citedpaperid ) FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid JOIN cite AS t4 ON t3.paperid = t4.citedpaperid WHERE t1.keyphrasename = \"parsing\" GROUP BY t4.citedpaperid ORDER BY COUNT ( t4.citedpaperid ) DESC;", "query_toks": [ "SELECT", "DISTINCT", "t4.citedpaperid", ",", "COUNT", "(", "t4.citedpaperid", ")", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t1", "ON", "t2.keyphraseid", "=", "t1.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "JOIN", "cite", "AS", "t4", "ON", "t3.paperid", "=", "t4.citedpaperid", "WHERE", "t1.keyphrasename", "=", "``", "parsing", "''", "GROUP", "BY", "t4.citedpaperid", "ORDER", "BY", "COUNT", "(", "t4.citedpaperid", ")", "DESC", ";" ], "query_toks_no_value": [ "select", "distinct", "t4", ".", "citedpaperid", ",", "count", "(", "t4", ".", "citedpaperid", ")", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t1", "on", "t2", ".", "keyphraseid", "=", "t1", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "join", "cite", "as", "t4", "on", "t3", ".", "paperid", "=", "t4", ".", "citedpaperid", "where", "t1", ".", "keyphrasename", "=", "value", "group", "by", "t4", ".", "citedpaperid", "order", "by", "count", "(", "t4", ".", "citedpaperid", ")", "desc" ], "question": "papéis de análise mais citados", "question_toks": [ "papéis", "de", "análise", "mais", "citados" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ], [ "table_unit", 6 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 19, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 19, false ], null ] ], [ 3, [ 0, [ 0, 19, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"parsing\"", null ] ], "groupBy": [ [ 0, 19, false ] ], "having": [], "orderBy": [ "desc", [ [ 0, [ 3, 19, false ], null ] ] ], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t4.citedpaperid , COUNT ( t4.citedpaperid ) FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid JOIN cite AS t4 ON t3.paperid = t4.citedpaperid WHERE t1.keyphrasename = \"parsing\" GROUP BY t4.citedpaperid ORDER BY COUNT ( t4.citedpaperid ) DESC;", "query_toks": [ "SELECT", "DISTINCT", "t4.citedpaperid", ",", "COUNT", "(", "t4.citedpaperid", ")", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t1", "ON", "t2.keyphraseid", "=", "t1.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "JOIN", "cite", "AS", "t4", "ON", "t3.paperid", "=", "t4.citedpaperid", "WHERE", "t1.keyphrasename", "=", "``", "parsing", "''", "GROUP", "BY", "t4.citedpaperid", "ORDER", "BY", "COUNT", "(", "t4.citedpaperid", ")", "DESC", ";" ], "query_toks_no_value": [ "select", "distinct", "t4", ".", "citedpaperid", ",", "count", "(", "t4", ".", "citedpaperid", ")", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t1", "on", "t2", ".", "keyphraseid", "=", "t1", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "join", "cite", "as", "t4", "on", "t3", ".", "paperid", "=", "t4", ".", "citedpaperid", "where", "t1", ".", "keyphrasename", "=", "value", "group", "by", "t4", ".", "citedpaperid", "order", "by", "count", "(", "t4", ".", "citedpaperid", ")", "desc" ], "question": "quais são os artigos de análise que têm mais citações?", "question_toks": [ "quais", "são", "os", "artigos", "de", "análise", "que", "têm", "mais", "citações", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ], [ "table_unit", 6 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 19, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 19, false ], null ] ], [ 3, [ 0, [ 0, 19, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"parsing\"", null ] ], "groupBy": [ [ 0, 19, false ] ], "having": [], "orderBy": [ "desc", [ [ 0, [ 3, 19, false ], null ] ] ], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t4.citedpaperid , COUNT ( t4.citedpaperid ) FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid JOIN cite AS t4 ON t3.paperid = t4.citedpaperid WHERE t1.keyphrasename = \"parsing\" GROUP BY t4.citedpaperid ORDER BY COUNT ( t4.citedpaperid ) DESC;", "query_toks": [ "SELECT", "DISTINCT", "t4.citedpaperid", ",", "COUNT", "(", "t4.citedpaperid", ")", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t1", "ON", "t2.keyphraseid", "=", "t1.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "JOIN", "cite", "AS", "t4", "ON", "t3.paperid", "=", "t4.citedpaperid", "WHERE", "t1.keyphrasename", "=", "``", "parsing", "''", "GROUP", "BY", "t4.citedpaperid", "ORDER", "BY", "COUNT", "(", "t4.citedpaperid", ")", "DESC", ";" ], "query_toks_no_value": [ "select", "distinct", "t4", ".", "citedpaperid", ",", "count", "(", "t4", ".", "citedpaperid", ")", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t1", "on", "t2", ".", "keyphraseid", "=", "t1", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "join", "cite", "as", "t4", "on", "t3", ".", "paperid", "=", "t4", ".", "citedpaperid", "where", "t1", ".", "keyphrasename", "=", "value", "group", "by", "t4", ".", "citedpaperid", "order", "by", "count", "(", "t4", ".", "citedpaperid", ")", "desc" ], "question": "papéis de análise altamente citados", "question_toks": [ "papéis", "de", "análise", "altamente", "citados" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ], [ "table_unit", 6 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 19, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 19, false ], null ] ], [ 3, [ 0, [ 0, 19, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"parsing\"", null ] ], "groupBy": [ [ 0, 19, false ] ], "having": [], "orderBy": [ "desc", [ [ 0, [ 3, 19, false ], null ] ] ], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t4.citedpaperid , COUNT ( t4.citedpaperid ) FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid JOIN cite AS t4 ON t3.paperid = t4.citedpaperid WHERE t1.keyphrasename = \"parsing\" GROUP BY t4.citedpaperid ORDER BY COUNT ( t4.citedpaperid ) DESC;", "query_toks": [ "SELECT", "DISTINCT", "t4.citedpaperid", ",", "COUNT", "(", "t4.citedpaperid", ")", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t1", "ON", "t2.keyphraseid", "=", "t1.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "JOIN", "cite", "AS", "t4", "ON", "t3.paperid", "=", "t4.citedpaperid", "WHERE", "t1.keyphrasename", "=", "``", "parsing", "''", "GROUP", "BY", "t4.citedpaperid", "ORDER", "BY", "COUNT", "(", "t4.citedpaperid", ")", "DESC", ";" ], "query_toks_no_value": [ "select", "distinct", "t4", ".", "citedpaperid", ",", "count", "(", "t4", ".", "citedpaperid", ")", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t1", "on", "t2", ".", "keyphraseid", "=", "t1", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "join", "cite", "as", "t4", "on", "t3", ".", "paperid", "=", "t4", ".", "citedpaperid", "where", "t1", ".", "keyphrasename", "=", "value", "group", "by", "t4", ".", "citedpaperid", "order", "by", "count", "(", "t4", ".", "citedpaperid", ")", "desc" ], "question": "documentos mais citados para análise", "question_toks": [ "documentos", "mais", "citados", "para", "análise" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ], [ "table_unit", 6 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 19, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 19, false ], null ] ], [ 3, [ 0, [ 0, 19, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"parsing\"", null ] ], "groupBy": [ [ 0, 19, false ] ], "having": [], "orderBy": [ "desc", [ [ 0, [ 3, 19, false ], null ] ] ], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t4.citedpaperid , COUNT ( t4.citedpaperid ) FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid JOIN cite AS t4 ON t3.paperid = t4.citedpaperid WHERE t1.keyphrasename = \"parsing\" GROUP BY t4.citedpaperid ORDER BY COUNT ( t4.citedpaperid ) DESC;", "query_toks": [ "SELECT", "DISTINCT", "t4.citedpaperid", ",", "COUNT", "(", "t4.citedpaperid", ")", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t1", "ON", "t2.keyphraseid", "=", "t1.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "JOIN", "cite", "AS", "t4", "ON", "t3.paperid", "=", "t4.citedpaperid", "WHERE", "t1.keyphrasename", "=", "``", "parsing", "''", "GROUP", "BY", "t4.citedpaperid", "ORDER", "BY", "COUNT", "(", "t4.citedpaperid", ")", "DESC", ";" ], "query_toks_no_value": [ "select", "distinct", "t4", ".", "citedpaperid", ",", "count", "(", "t4", ".", "citedpaperid", ")", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t1", "on", "t2", ".", "keyphraseid", "=", "t1", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "join", "cite", "as", "t4", "on", "t3", ".", "paperid", "=", "t4", ".", "citedpaperid", "where", "t1", ".", "keyphrasename", "=", "value", "group", "by", "t4", ".", "citedpaperid", "order", "by", "count", "(", "t4", ".", "citedpaperid", ")", "desc" ], "question": "Artigos mais citados sobre análise", "question_toks": [ "Artigos", "mais", "citados", "sobre", "análise" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ], [ "table_unit", 6 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 19, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 19, false ], null ] ], [ 3, [ 0, [ 0, 19, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"parsing\"", null ] ], "groupBy": [ [ 0, 19, false ] ], "having": [], "orderBy": [ "desc", [ [ 0, [ 3, 19, false ], null ] ] ], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.year , t2.paperid FROM writes AS t2 JOIN author AS t1 ON t2.authorid = t1.authorid JOIN paper AS t3 ON t2.paperid = t3.paperid WHERE t1.authorname LIKE \"Michael Armstrong\" AND t3.year LIKE \"199\";", "query_toks": [ "SELECT", "DISTINCT", "t3.year", ",", "t2.paperid", "FROM", "writes", "AS", "t2", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "JOIN", "paper", "AS", "t3", "ON", "t2.paperid", "=", "t3.paperid", "WHERE", "t1.authorname", "LIKE", "``", "Michael", "Armstrong", "''", "AND", "t3.year", "LIKE", "``", "199", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "year", ",", "t2", ".", "paperid", "from", "writes", "as", "t2", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "join", "paper", "as", "t3", "on", "t2", ".", "paperid", "=", "t3", ".", "paperid", "where", "t1", ".", "authorname", "like", "value", "and", "t3", ".", "year", "like", "value" ], "question": "Que papel Michael Armstrong escreveu nos anos 90?", "question_toks": [ "Que", "papel", "Michael", "Armstrong", "escreveu", "nos", "anos", "90", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 14, false ], null ] ], [ 0, [ 0, [ 0, 24, false ], null ] ] ] ], "where": [ [ false, 9, [ 0, [ 0, 4, false ], null ], "\"Michael Armstrong\"", null ], "and", [ false, 9, [ 0, [ 0, 14, false ], null ], "\"199\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t4.citedpaperid , COUNT ( t4.citedpaperid ) FROM paper AS t3 JOIN cite AS t4 ON t3.paperid = t4.citedpaperid JOIN writes AS t2 ON t2.paperid = t3.paperid JOIN author AS t1 ON t2.authorid = t1.authorid WHERE t1.authorname = \"ohad shamir\" GROUP BY t4.citedpaperid ORDER BY COUNT ( t4.citedpaperid ) DESC;", "query_toks": [ "SELECT", "DISTINCT", "t4.citedpaperid", ",", "COUNT", "(", "t4.citedpaperid", ")", "FROM", "paper", "AS", "t3", "JOIN", "cite", "AS", "t4", "ON", "t3.paperid", "=", "t4.citedpaperid", "JOIN", "writes", "AS", "t2", "ON", "t2.paperid", "=", "t3.paperid", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "WHERE", "t1.authorname", "=", "``", "ohad", "shamir", "''", "GROUP", "BY", "t4.citedpaperid", "ORDER", "BY", "COUNT", "(", "t4.citedpaperid", ")", "DESC", ";" ], "query_toks_no_value": [ "select", "distinct", "t4", ".", "citedpaperid", ",", "count", "(", "t4", ".", "citedpaperid", ")", "from", "paper", "as", "t3", "join", "cite", "as", "t4", "on", "t3", ".", "paperid", "=", "t4", ".", "citedpaperid", "join", "writes", "as", "t2", "on", "t2", ".", "paperid", "=", "t3", ".", "paperid", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "where", "t1", ".", "authorname", "=", "value", "group", "by", "t4", ".", "citedpaperid", "order", "by", "count", "(", "t4", ".", "citedpaperid", ")", "desc" ], "question": "Qual é o artigo mais citado por ohad shamir?", "question_toks": [ "Qual", "é", "o", "artigo", "mais", "citado", "por", "ohad", "shamir", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 5 ], [ "table_unit", 6 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 19, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 19, false ], null ] ], [ 3, [ 0, [ 0, 19, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"ohad shamir\"", null ] ], "groupBy": [ [ 0, 19, false ] ], "having": [], "orderBy": [ "desc", [ [ 0, [ 3, 19, false ], null ] ] ], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t4.citedpaperid , COUNT ( t4.citedpaperid ) FROM paper AS t3 JOIN cite AS t4 ON t3.paperid = t4.citedpaperid JOIN writes AS t2 ON t2.paperid = t3.paperid JOIN author AS t1 ON t2.authorid = t1.authorid WHERE t1.authorname = \"ohad shamir\" GROUP BY t4.citedpaperid ORDER BY COUNT ( t4.citedpaperid ) DESC;", "query_toks": [ "SELECT", "DISTINCT", "t4.citedpaperid", ",", "COUNT", "(", "t4.citedpaperid", ")", "FROM", "paper", "AS", "t3", "JOIN", "cite", "AS", "t4", "ON", "t3.paperid", "=", "t4.citedpaperid", "JOIN", "writes", "AS", "t2", "ON", "t2.paperid", "=", "t3.paperid", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "WHERE", "t1.authorname", "=", "``", "ohad", "shamir", "''", "GROUP", "BY", "t4.citedpaperid", "ORDER", "BY", "COUNT", "(", "t4.citedpaperid", ")", "DESC", ";" ], "query_toks_no_value": [ "select", "distinct", "t4", ".", "citedpaperid", ",", "count", "(", "t4", ".", "citedpaperid", ")", "from", "paper", "as", "t3", "join", "cite", "as", "t4", "on", "t3", ".", "paperid", "=", "t4", ".", "citedpaperid", "join", "writes", "as", "t2", "on", "t2", ".", "paperid", "=", "t3", ".", "paperid", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "where", "t1", ".", "authorname", "=", "value", "group", "by", "t4", ".", "citedpaperid", "order", "by", "count", "(", "t4", ".", "citedpaperid", ")", "desc" ], "question": "Qual é o artigo mais citado por ohad shamir?", "question_toks": [ "Qual", "é", "o", "artigo", "mais", "citado", "por", "ohad", "shamir", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 5 ], [ "table_unit", 6 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 19, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 19, false ], null ] ], [ 3, [ 0, [ 0, 19, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"ohad shamir\"", null ] ], "groupBy": [ [ 0, 19, false ] ], "having": [], "orderBy": [ "desc", [ [ 0, [ 3, 19, false ], null ] ] ], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t4.citedpaperid , COUNT ( t4.citedpaperid ) FROM paper AS t3 JOIN cite AS t4 ON t3.paperid = t4.citedpaperid JOIN writes AS t2 ON t2.paperid = t3.paperid JOIN author AS t1 ON t2.authorid = t1.authorid WHERE t1.authorname = \"ohad shamir\" GROUP BY t4.citedpaperid ORDER BY COUNT ( t4.citedpaperid ) DESC;", "query_toks": [ "SELECT", "DISTINCT", "t4.citedpaperid", ",", "COUNT", "(", "t4.citedpaperid", ")", "FROM", "paper", "AS", "t3", "JOIN", "cite", "AS", "t4", "ON", "t3.paperid", "=", "t4.citedpaperid", "JOIN", "writes", "AS", "t2", "ON", "t2.paperid", "=", "t3.paperid", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "WHERE", "t1.authorname", "=", "``", "ohad", "shamir", "''", "GROUP", "BY", "t4.citedpaperid", "ORDER", "BY", "COUNT", "(", "t4.citedpaperid", ")", "DESC", ";" ], "query_toks_no_value": [ "select", "distinct", "t4", ".", "citedpaperid", ",", "count", "(", "t4", ".", "citedpaperid", ")", "from", "paper", "as", "t3", "join", "cite", "as", "t4", "on", "t3", ".", "paperid", "=", "t4", ".", "citedpaperid", "join", "writes", "as", "t2", "on", "t2", ".", "paperid", "=", "t3", ".", "paperid", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "where", "t1", ".", "authorname", "=", "value", "group", "by", "t4", ".", "citedpaperid", "order", "by", "count", "(", "t4", ".", "citedpaperid", ")", "desc" ], "question": "Qual é o artigo mais citado de ohad shamir?", "question_toks": [ "Qual", "é", "o", "artigo", "mais", "citado", "de", "ohad", "shamir", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 5 ], [ "table_unit", 6 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 19, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 19, false ], null ] ], [ 3, [ 0, [ 0, 19, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"ohad shamir\"", null ] ], "groupBy": [ [ 0, 19, false ] ], "having": [], "orderBy": [ "desc", [ [ 0, [ 3, 19, false ], null ] ] ], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t4.citedpaperid , COUNT ( t4.citedpaperid ) FROM paper AS t3 JOIN cite AS t4 ON t3.paperid = t4.citedpaperid JOIN writes AS t2 ON t2.paperid = t3.paperid JOIN author AS t1 ON t2.authorid = t1.authorid WHERE t1.authorname = \"ohad shamir\" GROUP BY t4.citedpaperid ORDER BY COUNT ( t4.citedpaperid ) DESC;", "query_toks": [ "SELECT", "DISTINCT", "t4.citedpaperid", ",", "COUNT", "(", "t4.citedpaperid", ")", "FROM", "paper", "AS", "t3", "JOIN", "cite", "AS", "t4", "ON", "t3.paperid", "=", "t4.citedpaperid", "JOIN", "writes", "AS", "t2", "ON", "t2.paperid", "=", "t3.paperid", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "WHERE", "t1.authorname", "=", "``", "ohad", "shamir", "''", "GROUP", "BY", "t4.citedpaperid", "ORDER", "BY", "COUNT", "(", "t4.citedpaperid", ")", "DESC", ";" ], "query_toks_no_value": [ "select", "distinct", "t4", ".", "citedpaperid", ",", "count", "(", "t4", ".", "citedpaperid", ")", "from", "paper", "as", "t3", "join", "cite", "as", "t4", "on", "t3", ".", "paperid", "=", "t4", ".", "citedpaperid", "join", "writes", "as", "t2", "on", "t2", ".", "paperid", "=", "t3", ".", "paperid", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "where", "t1", ".", "authorname", "=", "value", "group", "by", "t4", ".", "citedpaperid", "order", "by", "count", "(", "t4", ".", "citedpaperid", ")", "desc" ], "question": "Qual é o artigo mais citado de ohad shamir?", "question_toks": [ "Qual", "é", "o", "artigo", "mais", "citado", "de", "ohad", "shamir", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 5 ], [ "table_unit", 6 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 19, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 19, false ], null ] ], [ 3, [ 0, [ 0, 19, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"ohad shamir\"", null ] ], "groupBy": [ [ 0, 19, false ] ], "having": [], "orderBy": [ "desc", [ [ 0, [ 3, 19, false ], null ] ] ], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t4.citedpaperid , COUNT ( t4.citedpaperid ) FROM paper AS t3 JOIN cite AS t4 ON t3.paperid = t4.citedpaperid JOIN writes AS t2 ON t2.paperid = t3.paperid JOIN author AS t1 ON t2.authorid = t1.authorid WHERE t1.authorname = \"ohad shamir\" GROUP BY t4.citedpaperid ORDER BY COUNT ( t4.citedpaperid ) DESC;", "query_toks": [ "SELECT", "DISTINCT", "t4.citedpaperid", ",", "COUNT", "(", "t4.citedpaperid", ")", "FROM", "paper", "AS", "t3", "JOIN", "cite", "AS", "t4", "ON", "t3.paperid", "=", "t4.citedpaperid", "JOIN", "writes", "AS", "t2", "ON", "t2.paperid", "=", "t3.paperid", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "WHERE", "t1.authorname", "=", "``", "ohad", "shamir", "''", "GROUP", "BY", "t4.citedpaperid", "ORDER", "BY", "COUNT", "(", "t4.citedpaperid", ")", "DESC", ";" ], "query_toks_no_value": [ "select", "distinct", "t4", ".", "citedpaperid", ",", "count", "(", "t4", ".", "citedpaperid", ")", "from", "paper", "as", "t3", "join", "cite", "as", "t4", "on", "t3", ".", "paperid", "=", "t4", ".", "citedpaperid", "join", "writes", "as", "t2", "on", "t2", ".", "paperid", "=", "t3", ".", "paperid", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "where", "t1", ".", "authorname", "=", "value", "group", "by", "t4", ".", "citedpaperid", "order", "by", "count", "(", "t4", ".", "citedpaperid", ")", "desc" ], "question": "Qual artigo de ohad shamir tem mais citações?", "question_toks": [ "Qual", "artigo", "de", "ohad", "shamir", "tem", "mais", "citações", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 5 ], [ "table_unit", 6 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 19, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 19, false ], null ] ], [ 3, [ 0, [ 0, 19, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"ohad shamir\"", null ] ], "groupBy": [ [ 0, 19, false ] ], "having": [], "orderBy": [ "desc", [ [ 0, [ 3, 19, false ], null ] ] ], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t4.citedpaperid , COUNT ( t4.citedpaperid ) FROM paper AS t3 JOIN cite AS t4 ON t3.paperid = t4.citedpaperid JOIN writes AS t2 ON t2.paperid = t3.paperid JOIN author AS t1 ON t2.authorid = t1.authorid WHERE t1.authorname = \"ohad shamir\" GROUP BY t4.citedpaperid ORDER BY COUNT ( t4.citedpaperid ) DESC;", "query_toks": [ "SELECT", "DISTINCT", "t4.citedpaperid", ",", "COUNT", "(", "t4.citedpaperid", ")", "FROM", "paper", "AS", "t3", "JOIN", "cite", "AS", "t4", "ON", "t3.paperid", "=", "t4.citedpaperid", "JOIN", "writes", "AS", "t2", "ON", "t2.paperid", "=", "t3.paperid", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "WHERE", "t1.authorname", "=", "``", "ohad", "shamir", "''", "GROUP", "BY", "t4.citedpaperid", "ORDER", "BY", "COUNT", "(", "t4.citedpaperid", ")", "DESC", ";" ], "query_toks_no_value": [ "select", "distinct", "t4", ".", "citedpaperid", ",", "count", "(", "t4", ".", "citedpaperid", ")", "from", "paper", "as", "t3", "join", "cite", "as", "t4", "on", "t3", ".", "paperid", "=", "t4", ".", "citedpaperid", "join", "writes", "as", "t2", "on", "t2", ".", "paperid", "=", "t3", ".", "paperid", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "where", "t1", ".", "authorname", "=", "value", "group", "by", "t4", ".", "citedpaperid", "order", "by", "count", "(", "t4", ".", "citedpaperid", ")", "desc" ], "question": "qual o artigo mais citado de ohad shamir?", "question_toks": [ "qual", "o", "artigo", "mais", "citado", "de", "ohad", "shamir", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 5 ], [ "table_unit", 6 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 19, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 19, false ], null ] ], [ 3, [ 0, [ 0, 19, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"ohad shamir\"", null ] ], "groupBy": [ [ 0, 19, false ] ], "having": [], "orderBy": [ "desc", [ [ 0, [ 3, 19, false ], null ] ] ], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t4.citedpaperid , COUNT ( t4.citedpaperid ) FROM paper AS t3 JOIN cite AS t4 ON t3.paperid = t4.citedpaperid JOIN writes AS t2 ON t2.paperid = t3.paperid JOIN author AS t1 ON t2.authorid = t1.authorid WHERE t1.authorname = \"ohad shamir\" GROUP BY t4.citedpaperid ORDER BY COUNT ( t4.citedpaperid ) DESC;", "query_toks": [ "SELECT", "DISTINCT", "t4.citedpaperid", ",", "COUNT", "(", "t4.citedpaperid", ")", "FROM", "paper", "AS", "t3", "JOIN", "cite", "AS", "t4", "ON", "t3.paperid", "=", "t4.citedpaperid", "JOIN", "writes", "AS", "t2", "ON", "t2.paperid", "=", "t3.paperid", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "WHERE", "t1.authorname", "=", "``", "ohad", "shamir", "''", "GROUP", "BY", "t4.citedpaperid", "ORDER", "BY", "COUNT", "(", "t4.citedpaperid", ")", "DESC", ";" ], "query_toks_no_value": [ "select", "distinct", "t4", ".", "citedpaperid", ",", "count", "(", "t4", ".", "citedpaperid", ")", "from", "paper", "as", "t3", "join", "cite", "as", "t4", "on", "t3", ".", "paperid", "=", "t4", ".", "citedpaperid", "join", "writes", "as", "t2", "on", "t2", ".", "paperid", "=", "t3", ".", "paperid", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "where", "t1", ".", "authorname", "=", "value", "group", "by", "t4", ".", "citedpaperid", "order", "by", "count", "(", "t4", ".", "citedpaperid", ")", "desc" ], "question": "qual é o artigo mais citado de ohad shamir?", "question_toks": [ "qual", "é", "o", "artigo", "mais", "citado", "de", "ohad", "shamir", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 5 ], [ "table_unit", 6 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 19, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 19, false ], null ] ], [ 3, [ 0, [ 0, 19, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"ohad shamir\"", null ] ], "groupBy": [ [ 0, 19, false ] ], "having": [], "orderBy": [ "desc", [ [ 0, [ 3, 19, false ], null ] ] ], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT COUNT ( t2.paperid ) FROM writes AS t2 JOIN author AS t1 ON t2.authorid = t1.authorid JOIN paper AS t3 ON t2.paperid = t3.paperid WHERE t1.authorname = \"michael i. jordan\" AND t3.year = 2016;", "query_toks": [ "SELECT", "DISTINCT", "COUNT", "(", "t2.paperid", ")", "FROM", "writes", "AS", "t2", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "JOIN", "paper", "AS", "t3", "ON", "t2.paperid", "=", "t3.paperid", "WHERE", "t1.authorname", "=", "``", "michael", "i.", "jordan", "''", "AND", "t3.year", "=", "2016", ";" ], "query_toks_no_value": [ "select", "distinct", "count", "(", "t2", ".", "paperid", ")", "from", "writes", "as", "t2", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "join", "paper", "as", "t3", "on", "t2", ".", "paperid", "=", "t3", ".", "paperid", "where", "t1", ".", "authorname", "=", "value", "and", "t3", ".", "year", "=", "value" ], "question": "Quantos papéis michael i. Jordânia publicar em 2016?", "question_toks": [ "Quantos", "papéis", "michael", "i.", "Jordânia", "publicar", "em", "2016", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ] ] }, "select": [ true, [ [ 3, [ 0, [ 0, 24, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"michael i. jordan\"", null ], "and", [ false, 2, [ 0, [ 0, 14, false ], null ], 2016.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT COUNT ( t2.paperid ) FROM writes AS t2 JOIN author AS t1 ON t2.authorid = t1.authorid JOIN paper AS t3 ON t2.paperid = t3.paperid WHERE t1.authorname = \"michael i. jordan\" AND t3.year = 2016;", "query_toks": [ "SELECT", "DISTINCT", "COUNT", "(", "t2.paperid", ")", "FROM", "writes", "AS", "t2", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "JOIN", "paper", "AS", "t3", "ON", "t2.paperid", "=", "t3.paperid", "WHERE", "t1.authorname", "=", "``", "michael", "i.", "jordan", "''", "AND", "t3.year", "=", "2016", ";" ], "query_toks_no_value": [ "select", "distinct", "count", "(", "t2", ".", "paperid", ")", "from", "writes", "as", "t2", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "join", "paper", "as", "t3", "on", "t2", ".", "paperid", "=", "t3", ".", "paperid", "where", "t1", ".", "authorname", "=", "value", "and", "t3", ".", "year", "=", "value" ], "question": "Quantos papéis michael i. Jordânia tem em 2016?", "question_toks": [ "Quantos", "papéis", "michael", "i.", "Jordânia", "tem", "em", "2016", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ] ] }, "select": [ true, [ [ 3, [ 0, [ 0, 24, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"michael i. jordan\"", null ], "and", [ false, 2, [ 0, [ 0, 14, false ], null ], 2016.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT COUNT ( t2.paperid ) FROM writes AS t2 JOIN author AS t1 ON t2.authorid = t1.authorid JOIN paper AS t3 ON t2.paperid = t3.paperid WHERE t1.authorname = \"michael i. jordan\" AND t3.year = 2016;", "query_toks": [ "SELECT", "DISTINCT", "COUNT", "(", "t2.paperid", ")", "FROM", "writes", "AS", "t2", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "JOIN", "paper", "AS", "t3", "ON", "t2.paperid", "=", "t3.paperid", "WHERE", "t1.authorname", "=", "``", "michael", "i.", "jordan", "''", "AND", "t3.year", "=", "2016", ";" ], "query_toks_no_value": [ "select", "distinct", "count", "(", "t2", ".", "paperid", ")", "from", "writes", "as", "t2", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "join", "paper", "as", "t3", "on", "t2", ".", "paperid", "=", "t3", ".", "paperid", "where", "t1", ".", "authorname", "=", "value", "and", "t3", ".", "year", "=", "value" ], "question": "Quantos papéis michael i. Jordânia publicar em 2016", "question_toks": [ "Quantos", "papéis", "michael", "i.", "Jordânia", "publicar", "em", "2016" ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ] ] }, "select": [ true, [ [ 3, [ 0, [ 0, 24, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"michael i. jordan\"", null ], "and", [ false, 2, [ 0, [ 0, 14, false ], null ], 2016.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT COUNT ( t2.paperid ) , t1.authorid FROM venue AS t3 JOIN paper AS t2 ON t3.venueid = t2.venueid JOIN writes AS t1 ON t1.paperid = t2.paperid WHERE t3.venuename = \"ACL\" GROUP BY t1.authorid;", "query_toks": [ "SELECT", "DISTINCT", "COUNT", "(", "t2.paperid", ")", ",", "t1.authorid", "FROM", "venue", "AS", "t3", "JOIN", "paper", "AS", "t2", "ON", "t3.venueid", "=", "t2.venueid", "JOIN", "writes", "AS", "t1", "ON", "t1.paperid", "=", "t2.paperid", "WHERE", "t3.venuename", "=", "``", "ACL", "''", "GROUP", "BY", "t1.authorid", ";" ], "query_toks_no_value": [ "select", "distinct", "count", "(", "t2", ".", "paperid", ")", ",", "t1", ".", "authorid", "from", "venue", "as", "t3", "join", "paper", "as", "t2", "on", "t3", ".", "venueid", "=", "t2", ".", "venueid", "join", "writes", "as", "t1", "on", "t1", ".", "paperid", "=", "t2", ".", "paperid", "where", "t3", ".", "venuename", "=", "value", "group", "by", "t1", ".", "authorid" ], "question": "contagem de artigos ACL por autor", "question_toks": [ "contagem", "de", "artigos", "ACL", "por", "autor" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ], [ "table_unit", 5 ], [ "table_unit", 9 ] ], "conds": [ [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ] ] }, "select": [ true, [ [ 3, [ 0, [ 0, 11, false ], null ] ], [ 0, [ 0, [ 0, 25, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 2, false ], null ], "\"ACL\"", null ] ], "groupBy": [ [ 0, 25, false ] ], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT COUNT ( t2.paperid ) , t1.authorid FROM venue AS t3 JOIN paper AS t2 ON t3.venueid = t2.venueid JOIN writes AS t1 ON t1.paperid = t2.paperid WHERE t3.venuename = \"ACL\" GROUP BY t1.authorid;", "query_toks": [ "SELECT", "DISTINCT", "COUNT", "(", "t2.paperid", ")", ",", "t1.authorid", "FROM", "venue", "AS", "t3", "JOIN", "paper", "AS", "t2", "ON", "t3.venueid", "=", "t2.venueid", "JOIN", "writes", "AS", "t1", "ON", "t1.paperid", "=", "t2.paperid", "WHERE", "t3.venuename", "=", "``", "ACL", "''", "GROUP", "BY", "t1.authorid", ";" ], "query_toks_no_value": [ "select", "distinct", "count", "(", "t2", ".", "paperid", ")", ",", "t1", ".", "authorid", "from", "venue", "as", "t3", "join", "paper", "as", "t2", "on", "t3", ".", "venueid", "=", "t2", ".", "venueid", "join", "writes", "as", "t1", "on", "t1", ".", "paperid", "=", "t2", ".", "paperid", "where", "t3", ".", "venuename", "=", "value", "group", "by", "t1", ".", "authorid" ], "question": "quantos artigos ACL por autor", "question_toks": [ "quantos", "artigos", "ACL", "por", "autor" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ], [ "table_unit", 5 ], [ "table_unit", 9 ] ], "conds": [ [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ] ] }, "select": [ true, [ [ 3, [ 0, [ 0, 11, false ], null ] ], [ 0, [ 0, [ 0, 25, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 2, false ], null ], "\"ACL\"", null ] ], "groupBy": [ [ 0, 25, false ] ], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT COUNT ( t2.paperid ) , t1.authorid FROM venue AS t3 JOIN paper AS t2 ON t3.venueid = t2.venueid JOIN writes AS t1 ON t1.paperid = t2.paperid WHERE t3.venuename = \"ACL\" GROUP BY t1.authorid;", "query_toks": [ "SELECT", "DISTINCT", "COUNT", "(", "t2.paperid", ")", ",", "t1.authorid", "FROM", "venue", "AS", "t3", "JOIN", "paper", "AS", "t2", "ON", "t3.venueid", "=", "t2.venueid", "JOIN", "writes", "AS", "t1", "ON", "t1.paperid", "=", "t2.paperid", "WHERE", "t3.venuename", "=", "``", "ACL", "''", "GROUP", "BY", "t1.authorid", ";" ], "query_toks_no_value": [ "select", "distinct", "count", "(", "t2", ".", "paperid", ")", ",", "t1", ".", "authorid", "from", "venue", "as", "t3", "join", "paper", "as", "t2", "on", "t3", ".", "venueid", "=", "t2", ".", "venueid", "join", "writes", "as", "t1", "on", "t1", ".", "paperid", "=", "t2", ".", "paperid", "where", "t3", ".", "venuename", "=", "value", "group", "by", "t1", ".", "authorid" ], "question": "número de artigos ACL por autor", "question_toks": [ "número", "de", "artigos", "ACL", "por", "autor" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ], [ "table_unit", 5 ], [ "table_unit", 9 ] ], "conds": [ [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ] ] }, "select": [ true, [ [ 3, [ 0, [ 0, 11, false ], null ] ], [ 0, [ 0, [ 0, 25, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 2, false ], null ], "\"ACL\"", null ] ], "groupBy": [ [ 0, 25, false ] ], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT COUNT ( t2.paperid ) , t1.authorid FROM venue AS t3 JOIN paper AS t2 ON t3.venueid = t2.venueid JOIN writes AS t1 ON t1.paperid = t2.paperid WHERE t2.year = 2007 AND t3.venuename = \"CVPR\" GROUP BY t1.authorid ORDER BY COUNT ( t2.paperid ) DESC;", "query_toks": [ "SELECT", "DISTINCT", "COUNT", "(", "t2.paperid", ")", ",", "t1.authorid", "FROM", "venue", "AS", "t3", "JOIN", "paper", "AS", "t2", "ON", "t3.venueid", "=", "t2.venueid", "JOIN", "writes", "AS", "t1", "ON", "t1.paperid", "=", "t2.paperid", "WHERE", "t2.year", "=", "2007", "AND", "t3.venuename", "=", "``", "CVPR", "''", "GROUP", "BY", "t1.authorid", "ORDER", "BY", "COUNT", "(", "t2.paperid", ")", "DESC", ";" ], "query_toks_no_value": [ "select", "distinct", "count", "(", "t2", ".", "paperid", ")", ",", "t1", ".", "authorid", "from", "venue", "as", "t3", "join", "paper", "as", "t2", "on", "t3", ".", "venueid", "=", "t2", ".", "venueid", "join", "writes", "as", "t1", "on", "t1", ".", "paperid", "=", "t2", ".", "paperid", "where", "t2", ".", "year", "=", "value", "and", "t3", ".", "venuename", "=", "value", "group", "by", "t1", ".", "authorid", "order", "by", "count", "(", "t2", ".", "paperid", ")", "desc" ], "question": "quem escreveu mais artigos para CVPR 2007", "question_toks": [ "quem", "escreveu", "mais", "artigos", "para", "CVPR", "2007" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ], [ "table_unit", 5 ], [ "table_unit", 9 ] ], "conds": [ [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ] ] }, "select": [ true, [ [ 3, [ 0, [ 0, 11, false ], null ] ], [ 0, [ 0, [ 0, 25, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 14, false ], null ], 2007.0, null ], "and", [ false, 2, [ 0, [ 0, 2, false ], null ], "\"CVPR\"", null ] ], "groupBy": [ [ 0, 25, false ] ], "having": [], "orderBy": [ "desc", [ [ 0, [ 3, 11, false ], null ] ] ], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT COUNT ( t2.paperid ) , t1.authorid FROM venue AS t3 JOIN paper AS t2 ON t3.venueid = t2.venueid JOIN writes AS t1 ON t1.paperid = t2.paperid WHERE t2.year = 2007 AND t3.venuename = \"CVPR\" GROUP BY t1.authorid ORDER BY COUNT ( t2.paperid ) DESC;", "query_toks": [ "SELECT", "DISTINCT", "COUNT", "(", "t2.paperid", ")", ",", "t1.authorid", "FROM", "venue", "AS", "t3", "JOIN", "paper", "AS", "t2", "ON", "t3.venueid", "=", "t2.venueid", "JOIN", "writes", "AS", "t1", "ON", "t1.paperid", "=", "t2.paperid", "WHERE", "t2.year", "=", "2007", "AND", "t3.venuename", "=", "``", "CVPR", "''", "GROUP", "BY", "t1.authorid", "ORDER", "BY", "COUNT", "(", "t2.paperid", ")", "DESC", ";" ], "query_toks_no_value": [ "select", "distinct", "count", "(", "t2", ".", "paperid", ")", ",", "t1", ".", "authorid", "from", "venue", "as", "t3", "join", "paper", "as", "t2", "on", "t3", ".", "venueid", "=", "t2", ".", "venueid", "join", "writes", "as", "t1", "on", "t1", ".", "paperid", "=", "t2", ".", "paperid", "where", "t2", ".", "year", "=", "value", "and", "t3", ".", "venuename", "=", "value", "group", "by", "t1", ".", "authorid", "order", "by", "count", "(", "t2", ".", "paperid", ")", "desc" ], "question": "que publicou artigos na CVPR 2007", "question_toks": [ "que", "publicou", "artigos", "na", "CVPR", "2007" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ], [ "table_unit", 5 ], [ "table_unit", 9 ] ], "conds": [ [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ] ] }, "select": [ true, [ [ 3, [ 0, [ 0, 11, false ], null ] ], [ 0, [ 0, [ 0, 25, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 14, false ], null ], 2007.0, null ], "and", [ false, 2, [ 0, [ 0, 2, false ], null ], "\"CVPR\"", null ] ], "groupBy": [ [ 0, 25, false ] ], "having": [], "orderBy": [ "desc", [ [ 0, [ 3, 11, false ], null ] ] ], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT COUNT ( t2.paperid ) , t1.authorid FROM venue AS t3 JOIN paper AS t2 ON t3.venueid = t2.venueid JOIN writes AS t1 ON t1.paperid = t2.paperid WHERE t2.year = 2007 AND t3.venuename = \"CVPR\" GROUP BY t1.authorid ORDER BY COUNT ( t2.paperid ) DESC;", "query_toks": [ "SELECT", "DISTINCT", "COUNT", "(", "t2.paperid", ")", ",", "t1.authorid", "FROM", "venue", "AS", "t3", "JOIN", "paper", "AS", "t2", "ON", "t3.venueid", "=", "t2.venueid", "JOIN", "writes", "AS", "t1", "ON", "t1.paperid", "=", "t2.paperid", "WHERE", "t2.year", "=", "2007", "AND", "t3.venuename", "=", "``", "CVPR", "''", "GROUP", "BY", "t1.authorid", "ORDER", "BY", "COUNT", "(", "t2.paperid", ")", "DESC", ";" ], "query_toks_no_value": [ "select", "distinct", "count", "(", "t2", ".", "paperid", ")", ",", "t1", ".", "authorid", "from", "venue", "as", "t3", "join", "paper", "as", "t2", "on", "t3", ".", "venueid", "=", "t2", ".", "venueid", "join", "writes", "as", "t1", "on", "t1", ".", "paperid", "=", "t2", ".", "paperid", "where", "t2", ".", "year", "=", "value", "and", "t3", ".", "venuename", "=", "value", "group", "by", "t1", ".", "authorid", "order", "by", "count", "(", "t2", ".", "paperid", ")", "desc" ], "question": "quem escreveu mais artigos CVPR em 2007", "question_toks": [ "quem", "escreveu", "mais", "artigos", "CVPR", "em", "2007" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ], [ "table_unit", 5 ], [ "table_unit", 9 ] ], "conds": [ [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ] ] }, "select": [ true, [ [ 3, [ 0, [ 0, 11, false ], null ] ], [ 0, [ 0, [ 0, 25, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 14, false ], null ], 2007.0, null ], "and", [ false, 2, [ 0, [ 0, 2, false ], null ], "\"CVPR\"", null ] ], "groupBy": [ [ 0, 25, false ] ], "having": [], "orderBy": [ "desc", [ [ 0, [ 3, 11, false ], null ] ] ], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT COUNT ( t2.paperid ) , t1.authorid FROM venue AS t3 JOIN paper AS t2 ON t3.venueid = t2.venueid JOIN writes AS t1 ON t1.paperid = t2.paperid WHERE t2.year = 2007 AND t3.venuename = \"CVPR\" GROUP BY t1.authorid ORDER BY COUNT ( t2.paperid ) DESC;", "query_toks": [ "SELECT", "DISTINCT", "COUNT", "(", "t2.paperid", ")", ",", "t1.authorid", "FROM", "venue", "AS", "t3", "JOIN", "paper", "AS", "t2", "ON", "t3.venueid", "=", "t2.venueid", "JOIN", "writes", "AS", "t1", "ON", "t1.paperid", "=", "t2.paperid", "WHERE", "t2.year", "=", "2007", "AND", "t3.venuename", "=", "``", "CVPR", "''", "GROUP", "BY", "t1.authorid", "ORDER", "BY", "COUNT", "(", "t2.paperid", ")", "DESC", ";" ], "query_toks_no_value": [ "select", "distinct", "count", "(", "t2", ".", "paperid", ")", ",", "t1", ".", "authorid", "from", "venue", "as", "t3", "join", "paper", "as", "t2", "on", "t3", ".", "venueid", "=", "t2", ".", "venueid", "join", "writes", "as", "t1", "on", "t1", ".", "paperid", "=", "t2", ".", "paperid", "where", "t2", ".", "year", "=", "value", "and", "t3", ".", "venuename", "=", "value", "group", "by", "t1", ".", "authorid", "order", "by", "count", "(", "t2", ".", "paperid", ")", "desc" ], "question": "autor mais publicado em CVPR 2007", "question_toks": [ "autor", "mais", "publicado", "em", "CVPR", "2007" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ], [ "table_unit", 5 ], [ "table_unit", 9 ] ], "conds": [ [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ] ] }, "select": [ true, [ [ 3, [ 0, [ 0, 11, false ], null ] ], [ 0, [ 0, [ 0, 25, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 14, false ], null ], 2007.0, null ], "and", [ false, 2, [ 0, [ 0, 2, false ], null ], "\"CVPR\"", null ] ], "groupBy": [ [ 0, 25, false ] ], "having": [], "orderBy": [ "desc", [ [ 0, [ 3, 11, false ], null ] ] ], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT COUNT ( t2.paperid ) , t1.authorid FROM venue AS t3 JOIN paper AS t2 ON t3.venueid = t2.venueid JOIN writes AS t1 ON t1.paperid = t2.paperid WHERE t2.year = 2007 AND t3.venuename = \"CVPR\" GROUP BY t1.authorid ORDER BY COUNT ( t2.paperid ) DESC;", "query_toks": [ "SELECT", "DISTINCT", "COUNT", "(", "t2.paperid", ")", ",", "t1.authorid", "FROM", "venue", "AS", "t3", "JOIN", "paper", "AS", "t2", "ON", "t3.venueid", "=", "t2.venueid", "JOIN", "writes", "AS", "t1", "ON", "t1.paperid", "=", "t2.paperid", "WHERE", "t2.year", "=", "2007", "AND", "t3.venuename", "=", "``", "CVPR", "''", "GROUP", "BY", "t1.authorid", "ORDER", "BY", "COUNT", "(", "t2.paperid", ")", "DESC", ";" ], "query_toks_no_value": [ "select", "distinct", "count", "(", "t2", ".", "paperid", ")", ",", "t1", ".", "authorid", "from", "venue", "as", "t3", "join", "paper", "as", "t2", "on", "t3", ".", "venueid", "=", "t2", ".", "venueid", "join", "writes", "as", "t1", "on", "t1", ".", "paperid", "=", "t2", ".", "paperid", "where", "t2", ".", "year", "=", "value", "and", "t3", ".", "venuename", "=", "value", "group", "by", "t1", ".", "authorid", "order", "by", "count", "(", "t2", ".", "paperid", ")", "desc" ], "question": "quem publicou mais artigos na CVPR 2007", "question_toks": [ "quem", "publicou", "mais", "artigos", "na", "CVPR", "2007" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ], [ "table_unit", 5 ], [ "table_unit", 9 ] ], "conds": [ [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ] ] }, "select": [ true, [ [ 3, [ 0, [ 0, 11, false ], null ] ], [ 0, [ 0, [ 0, 25, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 14, false ], null ], 2007.0, null ], "and", [ false, 2, [ 0, [ 0, 2, false ], null ], "\"CVPR\"", null ] ], "groupBy": [ [ 0, 25, false ] ], "having": [], "orderBy": [ "desc", [ [ 0, [ 3, 11, false ], null ] ] ], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT COUNT ( t2.paperid ) , t1.authorid FROM venue AS t3 JOIN paper AS t2 ON t3.venueid = t2.venueid JOIN writes AS t1 ON t1.paperid = t2.paperid WHERE t2.year = 2007 AND t3.venuename = \"CVPR\" GROUP BY t1.authorid ORDER BY COUNT ( t2.paperid ) DESC;", "query_toks": [ "SELECT", "DISTINCT", "COUNT", "(", "t2.paperid", ")", ",", "t1.authorid", "FROM", "venue", "AS", "t3", "JOIN", "paper", "AS", "t2", "ON", "t3.venueid", "=", "t2.venueid", "JOIN", "writes", "AS", "t1", "ON", "t1.paperid", "=", "t2.paperid", "WHERE", "t2.year", "=", "2007", "AND", "t3.venuename", "=", "``", "CVPR", "''", "GROUP", "BY", "t1.authorid", "ORDER", "BY", "COUNT", "(", "t2.paperid", ")", "DESC", ";" ], "query_toks_no_value": [ "select", "distinct", "count", "(", "t2", ".", "paperid", ")", ",", "t1", ".", "authorid", "from", "venue", "as", "t3", "join", "paper", "as", "t2", "on", "t3", ".", "venueid", "=", "t2", ".", "venueid", "join", "writes", "as", "t1", "on", "t1", ".", "paperid", "=", "t2", ".", "paperid", "where", "t2", ".", "year", "=", "value", "and", "t3", ".", "venuename", "=", "value", "group", "by", "t1", ".", "authorid", "order", "by", "count", "(", "t2", ".", "paperid", ")", "desc" ], "question": "Quem publicou mais artigos em 2007 na CVPR?", "question_toks": [ "Quem", "publicou", "mais", "artigos", "em", "2007", "na", "CVPR", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ], [ "table_unit", 5 ], [ "table_unit", 9 ] ], "conds": [ [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ] ] }, "select": [ true, [ [ 3, [ 0, [ 0, 11, false ], null ] ], [ 0, [ 0, [ 0, 25, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 14, false ], null ], 2007.0, null ], "and", [ false, 2, [ 0, [ 0, 2, false ], null ], "\"CVPR\"", null ] ], "groupBy": [ [ 0, 25, false ] ], "having": [], "orderBy": [ "desc", [ [ 0, [ 3, 11, false ], null ] ] ], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT COUNT ( DISTINCT t1.paperid ) FROM venue AS t2 JOIN paper AS t1 ON t2.venueid = t1.venueid WHERE t1.year = 2015 AND t2.venuename = \"ACL\";", "query_toks": [ "SELECT", "DISTINCT", "COUNT", "(", "DISTINCT", "t1.paperid", ")", "FROM", "venue", "AS", "t2", "JOIN", "paper", "AS", "t1", "ON", "t2.venueid", "=", "t1.venueid", "WHERE", "t1.year", "=", "2015", "AND", "t2.venuename", "=", "``", "ACL", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "count", "(", "distinct", "t1", ".", "paperid", ")", "from", "venue", "as", "t2", "join", "paper", "as", "t1", "on", "t2", ".", "venueid", "=", "t1", ".", "venueid", "where", "t1", ".", "year", "=", "value", "and", "t2", ".", "venuename", "=", "value" ], "question": "Quantos artigos no ACL 2015?", "question_toks": [ "Quantos", "artigos", "no", "ACL", "2015", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ] ] }, "select": [ true, [ [ 3, [ 0, [ 0, 11, true ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 14, false ], null ], 2015.0, null ], "and", [ false, 2, [ 0, [ 0, 2, false ], null ], "\"ACL\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT COUNT ( DISTINCT t1.paperid ) FROM venue AS t2 JOIN paper AS t1 ON t2.venueid = t1.venueid WHERE t1.year = 2015 AND t2.venuename = \"ACL\";", "query_toks": [ "SELECT", "DISTINCT", "COUNT", "(", "DISTINCT", "t1.paperid", ")", "FROM", "venue", "AS", "t2", "JOIN", "paper", "AS", "t1", "ON", "t2.venueid", "=", "t1.venueid", "WHERE", "t1.year", "=", "2015", "AND", "t2.venuename", "=", "``", "ACL", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "count", "(", "distinct", "t1", ".", "paperid", ")", "from", "venue", "as", "t2", "join", "paper", "as", "t1", "on", "t2", ".", "venueid", "=", "t1", ".", "venueid", "where", "t1", ".", "year", "=", "value", "and", "t2", ".", "venuename", "=", "value" ], "question": "número de artigos publicados no ACL 2015", "question_toks": [ "número", "de", "artigos", "publicados", "no", "ACL", "2015" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ] ] }, "select": [ true, [ [ 3, [ 0, [ 0, 11, true ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 14, false ], null ], 2015.0, null ], "and", [ false, 2, [ 0, [ 0, 2, false ], null ], "\"ACL\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT paperid FROM paper WHERE YEAR = 2014;", "query_toks": [ "SELECT", "DISTINCT", "paperid", "FROM", "paper", "WHERE", "YEAR", "=", "2014", ";" ], "query_toks_no_value": [ "select", "distinct", "paperid", "from", "paper", "where", "year", "=", "value" ], "question": "papéis de 2014", "question_toks": [ "papéis", "de", "2014" ], "sql": { "from": { "table_units": [ [ "table_unit", 5 ] ], "conds": [] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 14, false ], null ], 2014.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT paperid FROM paper WHERE YEAR = 2014;", "query_toks": [ "SELECT", "DISTINCT", "paperid", "FROM", "paper", "WHERE", "YEAR", "=", "2014", ";" ], "query_toks_no_value": [ "select", "distinct", "paperid", "from", "paper", "where", "year", "=", "value" ], "question": "Jornais de 2014", "question_toks": [ "Jornais", "de", "2014" ], "sql": { "from": { "table_units": [ [ "table_unit", 5 ] ], "conds": [] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 14, false ], null ], 2014.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid FROM venue AS t4 JOIN paper AS t3 ON t4.venueid = t3.venueid JOIN writes AS t2 ON t2.paperid = t3.paperid JOIN author AS t1 ON t2.authorid = t1.authorid WHERE t1.authorname = \"Richard Ladner\" AND t4.venuename = \"chi\";", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", "FROM", "venue", "AS", "t4", "JOIN", "paper", "AS", "t3", "ON", "t4.venueid", "=", "t3.venueid", "JOIN", "writes", "AS", "t2", "ON", "t2.paperid", "=", "t3.paperid", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "WHERE", "t1.authorname", "=", "``", "Richard", "Ladner", "''", "AND", "t4.venuename", "=", "``", "chi", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", "from", "venue", "as", "t4", "join", "paper", "as", "t3", "on", "t4", ".", "venueid", "=", "t3", ".", "venueid", "join", "writes", "as", "t2", "on", "t2", ".", "paperid", "=", "t3", ".", "paperid", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "where", "t1", ".", "authorname", "=", "value", "and", "t4", ".", "venuename", "=", "value" ], "question": "Que papéis Richard Ladner tem sobre o chi?", "question_toks": [ "Que", "papéis", "Richard", "Ladner", "tem", "sobre", "o", "chi", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ], [ "table_unit", 5 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Richard Ladner\"", null ], "and", [ false, 2, [ 0, [ 0, 2, false ], null ], "\"chi\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid FROM venue AS t4 JOIN paper AS t3 ON t4.venueid = t3.venueid JOIN writes AS t2 ON t2.paperid = t3.paperid JOIN author AS t1 ON t2.authorid = t1.authorid WHERE t1.authorname = \"Richard Ladner\" AND t4.venuename = \"chi\";", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", "FROM", "venue", "AS", "t4", "JOIN", "paper", "AS", "t3", "ON", "t4.venueid", "=", "t3.venueid", "JOIN", "writes", "AS", "t2", "ON", "t2.paperid", "=", "t3.paperid", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "WHERE", "t1.authorname", "=", "``", "Richard", "Ladner", "''", "AND", "t4.venuename", "=", "``", "chi", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", "from", "venue", "as", "t4", "join", "paper", "as", "t3", "on", "t4", ".", "venueid", "=", "t3", ".", "venueid", "join", "writes", "as", "t2", "on", "t2", ".", "paperid", "=", "t3", ".", "paperid", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "where", "t1", ".", "authorname", "=", "value", "and", "t4", ".", "venuename", "=", "value" ], "question": "que artigo Richard Ladner publicou no jornal chi?", "question_toks": [ "que", "artigo", "Richard", "Ladner", "publicou", "no", "jornal", "chi", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ], [ "table_unit", 5 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Richard Ladner\"", null ], "and", [ false, 2, [ 0, [ 0, 2, false ], null ], "\"chi\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid FROM venue AS t4 JOIN paper AS t3 ON t4.venueid = t3.venueid JOIN writes AS t2 ON t2.paperid = t3.paperid JOIN author AS t1 ON t2.authorid = t1.authorid WHERE t1.authorname = \"Richard Ladner\" AND t4.venuename = \"chi\";", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", "FROM", "venue", "AS", "t4", "JOIN", "paper", "AS", "t3", "ON", "t4.venueid", "=", "t3.venueid", "JOIN", "writes", "AS", "t2", "ON", "t2.paperid", "=", "t3.paperid", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "WHERE", "t1.authorname", "=", "``", "Richard", "Ladner", "''", "AND", "t4.venuename", "=", "``", "chi", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", "from", "venue", "as", "t4", "join", "paper", "as", "t3", "on", "t4", ".", "venueid", "=", "t3", ".", "venueid", "join", "writes", "as", "t2", "on", "t2", ".", "paperid", "=", "t3", ".", "paperid", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "where", "t1", ".", "authorname", "=", "value", "and", "t4", ".", "venuename", "=", "value" ], "question": "que artigo Richard Ladner publicou no chi?", "question_toks": [ "que", "artigo", "Richard", "Ladner", "publicou", "no", "chi", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ], [ "table_unit", 5 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Richard Ladner\"", null ], "and", [ false, 2, [ 0, [ 0, 2, false ], null ], "\"chi\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid FROM venue AS t4 JOIN paper AS t3 ON t4.venueid = t3.venueid JOIN writes AS t2 ON t2.paperid = t3.paperid JOIN author AS t1 ON t2.authorid = t1.authorid WHERE t1.authorname = \"Richard Ladner\" AND t4.venuename = \"chi\";", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", "FROM", "venue", "AS", "t4", "JOIN", "paper", "AS", "t3", "ON", "t4.venueid", "=", "t3.venueid", "JOIN", "writes", "AS", "t2", "ON", "t2.paperid", "=", "t3.paperid", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "WHERE", "t1.authorname", "=", "``", "Richard", "Ladner", "''", "AND", "t4.venuename", "=", "``", "chi", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", "from", "venue", "as", "t4", "join", "paper", "as", "t3", "on", "t4", ".", "venueid", "=", "t3", ".", "venueid", "join", "writes", "as", "t2", "on", "t2", ".", "paperid", "=", "t3", ".", "paperid", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "where", "t1", ".", "authorname", "=", "value", "and", "t4", ".", "venuename", "=", "value" ], "question": "artigos de Richard Ladner publicados em chi", "question_toks": [ "artigos", "de", "Richard", "Ladner", "publicados", "em", "chi" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ], [ "table_unit", 5 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Richard Ladner\"", null ], "and", [ false, 2, [ 0, [ 0, 2, false ], null ], "\"chi\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid FROM venue AS t4 JOIN paper AS t3 ON t4.venueid = t3.venueid JOIN writes AS t2 ON t2.paperid = t3.paperid JOIN author AS t1 ON t2.authorid = t1.authorid WHERE t1.authorname = \"Richard Ladner\" AND t4.venuename = \"chi\";", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", "FROM", "venue", "AS", "t4", "JOIN", "paper", "AS", "t3", "ON", "t4.venueid", "=", "t3.venueid", "JOIN", "writes", "AS", "t2", "ON", "t2.paperid", "=", "t3.paperid", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "WHERE", "t1.authorname", "=", "``", "Richard", "Ladner", "''", "AND", "t4.venuename", "=", "``", "chi", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", "from", "venue", "as", "t4", "join", "paper", "as", "t3", "on", "t4", ".", "venueid", "=", "t3", ".", "venueid", "join", "writes", "as", "t2", "on", "t2", ".", "paperid", "=", "t3", ".", "paperid", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "where", "t1", ".", "authorname", "=", "value", "and", "t4", ".", "venuename", "=", "value" ], "question": "Richard Ladner publica em chi?", "question_toks": [ "Richard", "Ladner", "publica", "em", "chi", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ], [ "table_unit", 5 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Richard Ladner\"", null ], "and", [ false, 2, [ 0, [ 0, 2, false ], null ], "\"chi\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid FROM venue AS t4 JOIN paper AS t3 ON t4.venueid = t3.venueid JOIN writes AS t2 ON t2.paperid = t3.paperid JOIN author AS t1 ON t2.authorid = t1.authorid WHERE t1.authorname = \"Richard Ladner\" AND t4.venuename = \"chi\";", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", "FROM", "venue", "AS", "t4", "JOIN", "paper", "AS", "t3", "ON", "t4.venueid", "=", "t3.venueid", "JOIN", "writes", "AS", "t2", "ON", "t2.paperid", "=", "t3.paperid", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "WHERE", "t1.authorname", "=", "``", "Richard", "Ladner", "''", "AND", "t4.venuename", "=", "``", "chi", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", "from", "venue", "as", "t4", "join", "paper", "as", "t3", "on", "t4", ".", "venueid", "=", "t3", ".", "venueid", "join", "writes", "as", "t2", "on", "t2", ".", "paperid", "=", "t3", ".", "paperid", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "where", "t1", ".", "authorname", "=", "value", "and", "t4", ".", "venuename", "=", "value" ], "question": "O que Richard Ladner publicou no chi?", "question_toks": [ "O", "que", "Richard", "Ladner", "publicou", "no", "chi", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ], [ "table_unit", 5 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Richard Ladner\"", null ], "and", [ false, 2, [ 0, [ 0, 2, false ], null ], "\"chi\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid FROM venue AS t4 JOIN paper AS t3 ON t4.venueid = t3.venueid JOIN writes AS t2 ON t2.paperid = t3.paperid JOIN author AS t1 ON t2.authorid = t1.authorid WHERE t1.authorname = \"Richard Ladner\" AND t4.venuename = \"chi\";", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", "FROM", "venue", "AS", "t4", "JOIN", "paper", "AS", "t3", "ON", "t4.venueid", "=", "t3.venueid", "JOIN", "writes", "AS", "t2", "ON", "t2.paperid", "=", "t3.paperid", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "WHERE", "t1.authorname", "=", "``", "Richard", "Ladner", "''", "AND", "t4.venuename", "=", "``", "chi", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", "from", "venue", "as", "t4", "join", "paper", "as", "t3", "on", "t4", ".", "venueid", "=", "t3", ".", "venueid", "join", "writes", "as", "t2", "on", "t2", ".", "paperid", "=", "t3", ".", "paperid", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "where", "t1", ".", "authorname", "=", "value", "and", "t4", ".", "venuename", "=", "value" ], "question": "Que papéis Richard Ladner escreveu em chi?", "question_toks": [ "Que", "papéis", "Richard", "Ladner", "escreveu", "em", "chi", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ], [ "table_unit", 5 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Richard Ladner\"", null ], "and", [ false, 2, [ 0, [ 0, 2, false ], null ], "\"chi\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid FROM venue AS t4 JOIN paper AS t3 ON t4.venueid = t3.venueid JOIN writes AS t2 ON t2.paperid = t3.paperid JOIN author AS t1 ON t2.authorid = t1.authorid WHERE t1.authorname = \"Richard Ladner\" AND t4.venuename = \"chi\";", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", "FROM", "venue", "AS", "t4", "JOIN", "paper", "AS", "t3", "ON", "t4.venueid", "=", "t3.venueid", "JOIN", "writes", "AS", "t2", "ON", "t2.paperid", "=", "t3.paperid", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "WHERE", "t1.authorname", "=", "``", "Richard", "Ladner", "''", "AND", "t4.venuename", "=", "``", "chi", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", "from", "venue", "as", "t4", "join", "paper", "as", "t3", "on", "t4", ".", "venueid", "=", "t3", ".", "venueid", "join", "writes", "as", "t2", "on", "t2", ".", "paperid", "=", "t3", ".", "paperid", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "where", "t1", ".", "authorname", "=", "value", "and", "t4", ".", "venuename", "=", "value" ], "question": "Que papel Richard Ladner apresentou no chi?", "question_toks": [ "Que", "papel", "Richard", "Ladner", "apresentou", "no", "chi", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ], [ "table_unit", 5 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Richard Ladner\"", null ], "and", [ false, 2, [ 0, [ 0, 2, false ], null ], "\"chi\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t4.citedpaperid , COUNT ( t4.citingpaperid ) FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid JOIN cite AS t4 ON t3.paperid = t4.citedpaperid WHERE t1.keyphrasename = \"Artificial Intelligence\" GROUP BY t4.citedpaperid ORDER BY COUNT ( t4.citingpaperid ) DESC;", "query_toks": [ "SELECT", "DISTINCT", "t4.citedpaperid", ",", "COUNT", "(", "t4.citingpaperid", ")", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t1", "ON", "t2.keyphraseid", "=", "t1.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "JOIN", "cite", "AS", "t4", "ON", "t3.paperid", "=", "t4.citedpaperid", "WHERE", "t1.keyphrasename", "=", "``", "Artificial", "Intelligence", "''", "GROUP", "BY", "t4.citedpaperid", "ORDER", "BY", "COUNT", "(", "t4.citingpaperid", ")", "DESC", ";" ], "query_toks_no_value": [ "select", "distinct", "t4", ".", "citedpaperid", ",", "count", "(", "t4", ".", "citingpaperid", ")", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t1", "on", "t2", ".", "keyphraseid", "=", "t1", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "join", "cite", "as", "t4", "on", "t3", ".", "paperid", "=", "t4", ".", "citedpaperid", "where", "t1", ".", "keyphrasename", "=", "value", "group", "by", "t4", ".", "citedpaperid", "order", "by", "count", "(", "t4", ".", "citingpaperid", ")", "desc" ], "question": "Qual é o artigo com mais citação sobre Inteligência Artificial?", "question_toks": [ "Qual", "é", "o", "artigo", "com", "mais", "citação", "sobre", "Inteligência", "Artificial", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ], [ "table_unit", 6 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 19, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 19, false ], null ] ], [ 3, [ 0, [ 0, 18, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"Artificial Intelligence\"", null ] ], "groupBy": [ [ 0, 19, false ] ], "having": [], "orderBy": [ "desc", [ [ 0, [ 3, 18, false ], null ] ] ], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t4.citedpaperid , COUNT ( t4.citingpaperid ) FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid JOIN cite AS t4 ON t3.paperid = t4.citedpaperid WHERE t1.keyphrasename = \"Artificial Intelligence\" GROUP BY t4.citedpaperid ORDER BY COUNT ( t4.citingpaperid ) DESC;", "query_toks": [ "SELECT", "DISTINCT", "t4.citedpaperid", ",", "COUNT", "(", "t4.citingpaperid", ")", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t1", "ON", "t2.keyphraseid", "=", "t1.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "JOIN", "cite", "AS", "t4", "ON", "t3.paperid", "=", "t4.citedpaperid", "WHERE", "t1.keyphrasename", "=", "``", "Artificial", "Intelligence", "''", "GROUP", "BY", "t4.citedpaperid", "ORDER", "BY", "COUNT", "(", "t4.citingpaperid", ")", "DESC", ";" ], "query_toks_no_value": [ "select", "distinct", "t4", ".", "citedpaperid", ",", "count", "(", "t4", ".", "citingpaperid", ")", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t1", "on", "t2", ".", "keyphraseid", "=", "t1", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "join", "cite", "as", "t4", "on", "t3", ".", "paperid", "=", "t4", ".", "citedpaperid", "where", "t1", ".", "keyphrasename", "=", "value", "group", "by", "t4", ".", "citedpaperid", "order", "by", "count", "(", "t4", ".", "citingpaperid", ")", "desc" ], "question": "Busque-me as publicações mais citadas de Inteligência Artificial", "question_toks": [ "Busque-me", "as", "publicações", "mais", "citadas", "de", "Inteligência", "Artificial" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ], [ "table_unit", 6 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 19, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 19, false ], null ] ], [ 3, [ 0, [ 0, 18, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"Artificial Intelligence\"", null ] ], "groupBy": [ [ 0, 19, false ] ], "having": [], "orderBy": [ "desc", [ [ 0, [ 3, 18, false ], null ] ] ], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT COUNT ( t3.paperid ) , t1.keyphraseid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid JOIN venue AS t4 ON t4.venueid = t3.venueid WHERE t3.year = 2014 AND t4.venuename = \"ACL\" GROUP BY t1.keyphraseid ORDER BY COUNT ( t3.paperid ) DESC;", "query_toks": [ "SELECT", "DISTINCT", "COUNT", "(", "t3.paperid", ")", ",", "t1.keyphraseid", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t1", "ON", "t2.keyphraseid", "=", "t1.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "JOIN", "venue", "AS", "t4", "ON", "t4.venueid", "=", "t3.venueid", "WHERE", "t3.year", "=", "2014", "AND", "t4.venuename", "=", "``", "ACL", "''", "GROUP", "BY", "t1.keyphraseid", "ORDER", "BY", "COUNT", "(", "t3.paperid", ")", "DESC", ";" ], "query_toks_no_value": [ "select", "distinct", "count", "(", "t3", ".", "paperid", ")", ",", "t1", ".", "keyphraseid", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t1", "on", "t2", ".", "keyphraseid", "=", "t1", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "join", "venue", "as", "t4", "on", "t4", ".", "venueid", "=", "t3", ".", "venueid", "where", "t3", ".", "year", "=", "value", "and", "t4", ".", "venuename", "=", "value", "group", "by", "t1", ".", "keyphraseid", "order", "by", "count", "(", "t3", ".", "paperid", ")", "desc" ], "question": "tópicos no ACL 2014", "question_toks": [ "tópicos", "no", "ACL", "2014" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ], "and", [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ] ] }, "select": [ true, [ [ 3, [ 0, [ 0, 11, false ], null ] ], [ 0, [ 0, [ 0, 9, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 14, false ], null ], 2014.0, null ], "and", [ false, 2, [ 0, [ 0, 2, false ], null ], "\"ACL\"", null ] ], "groupBy": [ [ 0, 9, false ] ], "having": [], "orderBy": [ "desc", [ [ 0, [ 3, 11, false ], null ] ] ], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT COUNT ( t3.paperid ) , t1.keyphraseid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid JOIN venue AS t4 ON t4.venueid = t3.venueid WHERE t3.year = 2015 AND t4.venuename = \"NIPS\" GROUP BY t1.keyphraseid ORDER BY COUNT ( t3.paperid ) DESC;", "query_toks": [ "SELECT", "DISTINCT", "COUNT", "(", "t3.paperid", ")", ",", "t1.keyphraseid", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t1", "ON", "t2.keyphraseid", "=", "t1.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "JOIN", "venue", "AS", "t4", "ON", "t4.venueid", "=", "t3.venueid", "WHERE", "t3.year", "=", "2015", "AND", "t4.venuename", "=", "``", "NIPS", "''", "GROUP", "BY", "t1.keyphraseid", "ORDER", "BY", "COUNT", "(", "t3.paperid", ")", "DESC", ";" ], "query_toks_no_value": [ "select", "distinct", "count", "(", "t3", ".", "paperid", ")", ",", "t1", ".", "keyphraseid", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t1", "on", "t2", ".", "keyphraseid", "=", "t1", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "join", "venue", "as", "t4", "on", "t4", ".", "venueid", "=", "t3", ".", "venueid", "where", "t3", ".", "year", "=", "value", "and", "t4", ".", "venuename", "=", "value", "group", "by", "t1", ".", "keyphraseid", "order", "by", "count", "(", "t3", ".", "paperid", ")", "desc" ], "question": "tópicos mais comuns no NIPS 2015", "question_toks": [ "tópicos", "mais", "comuns", "no", "NIPS", "2015" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ], "and", [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ] ] }, "select": [ true, [ [ 3, [ 0, [ 0, 11, false ], null ] ], [ 0, [ 0, [ 0, 9, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 14, false ], null ], 2015.0, null ], "and", [ false, 2, [ 0, [ 0, 2, false ], null ], "\"NIPS\"", null ] ], "groupBy": [ [ 0, 9, false ] ], "having": [], "orderBy": [ "desc", [ [ 0, [ 3, 11, false ], null ] ] ], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT COUNT ( t3.paperid ) , t1.keyphraseid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid JOIN venue AS t4 ON t4.venueid = t3.venueid WHERE t3.year = 2015 AND t4.venuename = \"NIPS\" GROUP BY t1.keyphraseid ORDER BY COUNT ( t3.paperid ) DESC;", "query_toks": [ "SELECT", "DISTINCT", "COUNT", "(", "t3.paperid", ")", ",", "t1.keyphraseid", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t1", "ON", "t2.keyphraseid", "=", "t1.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "JOIN", "venue", "AS", "t4", "ON", "t4.venueid", "=", "t3.venueid", "WHERE", "t3.year", "=", "2015", "AND", "t4.venuename", "=", "``", "NIPS", "''", "GROUP", "BY", "t1.keyphraseid", "ORDER", "BY", "COUNT", "(", "t3.paperid", ")", "DESC", ";" ], "query_toks_no_value": [ "select", "distinct", "count", "(", "t3", ".", "paperid", ")", ",", "t1", ".", "keyphraseid", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t1", "on", "t2", ".", "keyphraseid", "=", "t1", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "join", "venue", "as", "t4", "on", "t4", ".", "venueid", "=", "t3", ".", "venueid", "where", "t3", ".", "year", "=", "value", "and", "t4", ".", "venuename", "=", "value", "group", "by", "t1", ".", "keyphraseid", "order", "by", "count", "(", "t3", ".", "paperid", ")", "desc" ], "question": "tópicos mais populares no NIPS 2015", "question_toks": [ "tópicos", "mais", "populares", "no", "NIPS", "2015" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ], "and", [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ] ] }, "select": [ true, [ [ 3, [ 0, [ 0, 11, false ], null ] ], [ 0, [ 0, [ 0, 9, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 14, false ], null ], 2015.0, null ], "and", [ false, 2, [ 0, [ 0, 2, false ], null ], "\"NIPS\"", null ] ], "groupBy": [ [ 0, 9, false ] ], "having": [], "orderBy": [ "desc", [ [ 0, [ 3, 11, false ], null ] ] ], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT COUNT ( t3.paperid ) , t1.keyphraseid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid JOIN venue AS t4 ON t4.venueid = t3.venueid WHERE t3.year = 2015 AND t4.venuename = \"NIPS\" GROUP BY t1.keyphraseid ORDER BY COUNT ( t3.paperid ) DESC;", "query_toks": [ "SELECT", "DISTINCT", "COUNT", "(", "t3.paperid", ")", ",", "t1.keyphraseid", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t1", "ON", "t2.keyphraseid", "=", "t1.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "JOIN", "venue", "AS", "t4", "ON", "t4.venueid", "=", "t3.venueid", "WHERE", "t3.year", "=", "2015", "AND", "t4.venuename", "=", "``", "NIPS", "''", "GROUP", "BY", "t1.keyphraseid", "ORDER", "BY", "COUNT", "(", "t3.paperid", ")", "DESC", ";" ], "query_toks_no_value": [ "select", "distinct", "count", "(", "t3", ".", "paperid", ")", ",", "t1", ".", "keyphraseid", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t1", "on", "t2", ".", "keyphraseid", "=", "t1", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "join", "venue", "as", "t4", "on", "t4", ".", "venueid", "=", "t3", ".", "venueid", "where", "t3", ".", "year", "=", "value", "and", "t4", ".", "venuename", "=", "value", "group", "by", "t1", ".", "keyphraseid", "order", "by", "count", "(", "t3", ".", "paperid", ")", "desc" ], "question": "tópicos quentes no NIPS 2015", "question_toks": [ "tópicos", "quentes", "no", "NIPS", "2015" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ], "and", [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ] ] }, "select": [ true, [ [ 3, [ 0, [ 0, 11, false ], null ] ], [ 0, [ 0, [ 0, 9, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 14, false ], null ], 2015.0, null ], "and", [ false, 2, [ 0, [ 0, 2, false ], null ], "\"NIPS\"", null ] ], "groupBy": [ [ 0, 9, false ] ], "having": [], "orderBy": [ "desc", [ [ 0, [ 3, 11, false ], null ] ] ], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT COUNT ( t3.paperid ) , t1.keyphraseid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid JOIN venue AS t4 ON t4.venueid = t3.venueid WHERE t3.year = 2015 AND t4.venuename = \"NIPS\" GROUP BY t1.keyphraseid ORDER BY COUNT ( t3.paperid ) DESC;", "query_toks": [ "SELECT", "DISTINCT", "COUNT", "(", "t3.paperid", ")", ",", "t1.keyphraseid", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t1", "ON", "t2.keyphraseid", "=", "t1.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "JOIN", "venue", "AS", "t4", "ON", "t4.venueid", "=", "t3.venueid", "WHERE", "t3.year", "=", "2015", "AND", "t4.venuename", "=", "``", "NIPS", "''", "GROUP", "BY", "t1.keyphraseid", "ORDER", "BY", "COUNT", "(", "t3.paperid", ")", "DESC", ";" ], "query_toks_no_value": [ "select", "distinct", "count", "(", "t3", ".", "paperid", ")", ",", "t1", ".", "keyphraseid", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t1", "on", "t2", ".", "keyphraseid", "=", "t1", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "join", "venue", "as", "t4", "on", "t4", ".", "venueid", "=", "t3", ".", "venueid", "where", "t3", ".", "year", "=", "value", "and", "t4", ".", "venuename", "=", "value", "group", "by", "t1", ".", "keyphraseid", "order", "by", "count", "(", "t3", ".", "paperid", ")", "desc" ], "question": "tópicos populares no NIPS 2015", "question_toks": [ "tópicos", "populares", "no", "NIPS", "2015" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ], "and", [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ] ] }, "select": [ true, [ [ 3, [ 0, [ 0, 11, false ], null ] ], [ 0, [ 0, [ 0, 9, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 14, false ], null ], 2015.0, null ], "and", [ false, 2, [ 0, [ 0, 2, false ], null ], "\"NIPS\"", null ] ], "groupBy": [ [ 0, 9, false ] ], "having": [], "orderBy": [ "desc", [ [ 0, [ 3, 11, false ], null ] ] ], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT COUNT ( t3.paperid ) , t1.keyphraseid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid JOIN venue AS t4 ON t4.venueid = t3.venueid WHERE t3.year = 2015 AND t4.venuename = \"NIPS\" GROUP BY t1.keyphraseid ORDER BY COUNT ( t3.paperid ) DESC;", "query_toks": [ "SELECT", "DISTINCT", "COUNT", "(", "t3.paperid", ")", ",", "t1.keyphraseid", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t1", "ON", "t2.keyphraseid", "=", "t1.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "JOIN", "venue", "AS", "t4", "ON", "t4.venueid", "=", "t3.venueid", "WHERE", "t3.year", "=", "2015", "AND", "t4.venuename", "=", "``", "NIPS", "''", "GROUP", "BY", "t1.keyphraseid", "ORDER", "BY", "COUNT", "(", "t3.paperid", ")", "DESC", ";" ], "query_toks_no_value": [ "select", "distinct", "count", "(", "t3", ".", "paperid", ")", ",", "t1", ".", "keyphraseid", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t1", "on", "t2", ".", "keyphraseid", "=", "t1", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "join", "venue", "as", "t4", "on", "t4", ".", "venueid", "=", "t3", ".", "venueid", "where", "t3", ".", "year", "=", "value", "and", "t4", ".", "venuename", "=", "value", "group", "by", "t1", ".", "keyphraseid", "order", "by", "count", "(", "t3", ".", "paperid", ")", "desc" ], "question": "quais tópicos foram mais populares no NIPS 2015", "question_toks": [ "quais", "tópicos", "foram", "mais", "populares", "no", "NIPS", "2015" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ], "and", [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ] ] }, "select": [ true, [ [ 3, [ 0, [ 0, 11, false ], null ] ], [ 0, [ 0, [ 0, 9, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 14, false ], null ], 2015.0, null ], "and", [ false, 2, [ 0, [ 0, 2, false ], null ], "\"NIPS\"", null ] ], "groupBy": [ [ 0, 9, false ] ], "having": [], "orderBy": [ "desc", [ [ 0, [ 3, 11, false ], null ] ] ], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT COUNT ( t3.paperid ) , t1.keyphraseid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid JOIN venue AS t4 ON t4.venueid = t3.venueid WHERE t3.year = 2015 AND t4.venuename = \"NIPS\" GROUP BY t1.keyphraseid ORDER BY COUNT ( t3.paperid ) DESC;", "query_toks": [ "SELECT", "DISTINCT", "COUNT", "(", "t3.paperid", ")", ",", "t1.keyphraseid", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t1", "ON", "t2.keyphraseid", "=", "t1.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "JOIN", "venue", "AS", "t4", "ON", "t4.venueid", "=", "t3.venueid", "WHERE", "t3.year", "=", "2015", "AND", "t4.venuename", "=", "``", "NIPS", "''", "GROUP", "BY", "t1.keyphraseid", "ORDER", "BY", "COUNT", "(", "t3.paperid", ")", "DESC", ";" ], "query_toks_no_value": [ "select", "distinct", "count", "(", "t3", ".", "paperid", ")", ",", "t1", ".", "keyphraseid", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t1", "on", "t2", ".", "keyphraseid", "=", "t1", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "join", "venue", "as", "t4", "on", "t4", ".", "venueid", "=", "t3", ".", "venueid", "where", "t3", ".", "year", "=", "value", "and", "t4", ".", "venuename", "=", "value", "group", "by", "t1", ".", "keyphraseid", "order", "by", "count", "(", "t3", ".", "paperid", ")", "desc" ], "question": "tópicos populares no NIPS 2015", "question_toks": [ "tópicos", "populares", "no", "NIPS", "2015" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ], "and", [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ] ] }, "select": [ true, [ [ 3, [ 0, [ 0, 11, false ], null ] ], [ 0, [ 0, [ 0, 9, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 14, false ], null ], 2015.0, null ], "and", [ false, 2, [ 0, [ 0, 2, false ], null ], "\"NIPS\"", null ] ], "groupBy": [ [ 0, 9, false ] ], "having": [], "orderBy": [ "desc", [ [ 0, [ 3, 11, false ], null ] ] ], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT COUNT ( t3.paperid ) FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid JOIN venue AS t4 ON t4.venueid = t3.venueid WHERE t1.keyphrasename = \"deep reinforcement learning\" AND t4.venuename = \"nips\";", "query_toks": [ "SELECT", "DISTINCT", "COUNT", "(", "t3.paperid", ")", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t1", "ON", "t2.keyphraseid", "=", "t1.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "JOIN", "venue", "AS", "t4", "ON", "t4.venueid", "=", "t3.venueid", "WHERE", "t1.keyphrasename", "=", "``", "deep", "reinforcement", "learning", "''", "AND", "t4.venuename", "=", "``", "nips", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "count", "(", "t3", ".", "paperid", ")", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t1", "on", "t2", ".", "keyphraseid", "=", "t1", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "join", "venue", "as", "t4", "on", "t4", ".", "venueid", "=", "t3", ".", "venueid", "where", "t1", ".", "keyphrasename", "=", "value", "and", "t4", ".", "venuename", "=", "value" ], "question": "Quantos artigos relacionados ao aprendizado por reforço profundo em nips?", "question_toks": [ "Quantos", "artigos", "relacionados", "ao", "aprendizado", "por", "reforço", "profundo", "em", "nips", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ], "and", [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ] ] }, "select": [ true, [ [ 3, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"deep reinforcement learning\"", null ], "and", [ false, 2, [ 0, [ 0, 2, false ], null ], "\"nips\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid FROM paperdataset AS t2 JOIN dataset AS t1 ON t2.datasetid = t1.datasetid JOIN paper AS t3 ON t3.paperid = t2.paperid WHERE t1.datasetname = \"WebKB\";", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", "FROM", "paperdataset", "AS", "t2", "JOIN", "dataset", "AS", "t1", "ON", "t2.datasetid", "=", "t1.datasetid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "WHERE", "t1.datasetname", "=", "``", "WebKB", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", "from", "paperdataset", "as", "t2", "join", "dataset", "as", "t1", "on", "t2", ".", "datasetid", "=", "t1", ".", "datasetid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "where", "t1", ".", "datasetname", "=", "value" ], "question": "Artigos no WebKB", "question_toks": [ "Artigos", "no", "WebKB" ], "sql": { "from": { "table_units": [ [ "table_unit", 7 ], [ "table_unit", 2 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 21, false ], null ], [ 0, 5, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 20, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 6, false ], null ], "\"WebKB\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid FROM paperdataset AS t2 JOIN dataset AS t1 ON t2.datasetid = t1.datasetid JOIN paper AS t3 ON t3.paperid = t2.paperid WHERE t1.datasetname = \"WebKB\";", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", "FROM", "paperdataset", "AS", "t2", "JOIN", "dataset", "AS", "t1", "ON", "t2.datasetid", "=", "t1.datasetid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "WHERE", "t1.datasetname", "=", "``", "WebKB", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", "from", "paperdataset", "as", "t2", "join", "dataset", "as", "t1", "on", "t2", ".", "datasetid", "=", "t1", ".", "datasetid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "where", "t1", ".", "datasetname", "=", "value" ], "question": "quais jornais usaram WebKB?", "question_toks": [ "quais", "jornais", "usaram", "WebKB", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 7 ], [ "table_unit", 2 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 21, false ], null ], [ 0, 5, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 20, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 6, false ], null ], "\"WebKB\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid FROM paperdataset AS t2 JOIN dataset AS t1 ON t2.datasetid = t1.datasetid JOIN paper AS t3 ON t3.paperid = t2.paperid WHERE t1.datasetname = \"WebKB\";", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", "FROM", "paperdataset", "AS", "t2", "JOIN", "dataset", "AS", "t1", "ON", "t2.datasetid", "=", "t1.datasetid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "WHERE", "t1.datasetname", "=", "``", "WebKB", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", "from", "paperdataset", "as", "t2", "join", "dataset", "as", "t1", "on", "t2", ".", "datasetid", "=", "t1", ".", "datasetid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "where", "t1", ".", "datasetname", "=", "value" ], "question": "artigos sobre WebKB", "question_toks": [ "artigos", "sobre", "WebKB" ], "sql": { "from": { "table_units": [ [ "table_unit", 7 ], [ "table_unit", 2 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 21, false ], null ], [ 0, 5, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 20, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 6, false ], null ], "\"WebKB\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid FROM paperdataset AS t2 JOIN dataset AS t1 ON t2.datasetid = t1.datasetid JOIN paper AS t3 ON t3.paperid = t2.paperid WHERE t1.datasetname = \"WebKB\";", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", "FROM", "paperdataset", "AS", "t2", "JOIN", "dataset", "AS", "t1", "ON", "t2.datasetid", "=", "t1.datasetid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "WHERE", "t1.datasetname", "=", "``", "WebKB", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", "from", "paperdataset", "as", "t2", "join", "dataset", "as", "t1", "on", "t2", ".", "datasetid", "=", "t1", ".", "datasetid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "where", "t1", ".", "datasetname", "=", "value" ], "question": "Liste os papéis que usaram o conjunto de dados WebKB", "question_toks": [ "Liste", "os", "papéis", "que", "usaram", "o", "conjunto", "de", "dados", "WebKB" ], "sql": { "from": { "table_units": [ [ "table_unit", 7 ], [ "table_unit", 2 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 21, false ], null ], [ 0, 5, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 20, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 6, false ], null ], "\"WebKB\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid FROM paperdataset AS t2 JOIN dataset AS t1 ON t2.datasetid = t1.datasetid JOIN paper AS t3 ON t3.paperid = t2.paperid WHERE t1.datasetname = \"WebKB\";", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", "FROM", "paperdataset", "AS", "t2", "JOIN", "dataset", "AS", "t1", "ON", "t2.datasetid", "=", "t1.datasetid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "WHERE", "t1.datasetname", "=", "``", "WebKB", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", "from", "paperdataset", "as", "t2", "join", "dataset", "as", "t1", "on", "t2", ".", "datasetid", "=", "t1", ".", "datasetid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "where", "t1", ".", "datasetname", "=", "value" ], "question": "papéis usando WebKB", "question_toks": [ "papéis", "usando", "WebKB" ], "sql": { "from": { "table_units": [ [ "table_unit", 7 ], [ "table_unit", 2 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 21, false ], null ], [ 0, 5, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 20, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 6, false ], null ], "\"WebKB\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid FROM paperdataset AS t2 JOIN dataset AS t1 ON t2.datasetid = t1.datasetid JOIN paper AS t3 ON t3.paperid = t2.paperid WHERE t1.datasetname = \"WebKB\";", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", "FROM", "paperdataset", "AS", "t2", "JOIN", "dataset", "AS", "t1", "ON", "t2.datasetid", "=", "t1.datasetid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "WHERE", "t1.datasetname", "=", "``", "WebKB", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", "from", "paperdataset", "as", "t2", "join", "dataset", "as", "t1", "on", "t2", ".", "datasetid", "=", "t1", ".", "datasetid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "where", "t1", ".", "datasetname", "=", "value" ], "question": "papéis que usam WebKB", "question_toks": [ "papéis", "que", "usam", "WebKB" ], "sql": { "from": { "table_units": [ [ "table_unit", 7 ], [ "table_unit", 2 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 21, false ], null ], [ 0, 5, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 20, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 6, false ], null ], "\"WebKB\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid FROM paperdataset AS t2 JOIN dataset AS t1 ON t2.datasetid = t1.datasetid JOIN paper AS t3 ON t3.paperid = t2.paperid WHERE t1.datasetname = \"WebKB\";", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", "FROM", "paperdataset", "AS", "t2", "JOIN", "dataset", "AS", "t1", "ON", "t2.datasetid", "=", "t1.datasetid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "WHERE", "t1.datasetname", "=", "``", "WebKB", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", "from", "paperdataset", "as", "t2", "join", "dataset", "as", "t1", "on", "t2", ".", "datasetid", "=", "t1", ".", "datasetid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "where", "t1", ".", "datasetname", "=", "value" ], "question": "Jornais WebKB", "question_toks": [ "Jornais", "WebKB" ], "sql": { "from": { "table_units": [ [ "table_unit", 7 ], [ "table_unit", 2 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 21, false ], null ], [ 0, 5, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 20, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 6, false ], null ], "\"WebKB\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid FROM paperdataset AS t2 JOIN dataset AS t1 ON t2.datasetid = t1.datasetid JOIN paper AS t3 ON t3.paperid = t2.paperid WHERE t1.datasetname = \"WebKB\";", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", "FROM", "paperdataset", "AS", "t2", "JOIN", "dataset", "AS", "t1", "ON", "t2.datasetid", "=", "t1.datasetid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "WHERE", "t1.datasetname", "=", "``", "WebKB", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", "from", "paperdataset", "as", "t2", "join", "dataset", "as", "t1", "on", "t2", ".", "datasetid", "=", "t1", ".", "datasetid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "where", "t1", ".", "datasetname", "=", "value" ], "question": "jornais que usaram WebKB", "question_toks": [ "jornais", "que", "usaram", "WebKB" ], "sql": { "from": { "table_units": [ [ "table_unit", 7 ], [ "table_unit", 2 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 21, false ], null ], [ 0, 5, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 20, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 6, false ], null ], "\"WebKB\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid FROM paperdataset AS t2 JOIN dataset AS t1 ON t2.datasetid = t1.datasetid JOIN paper AS t3 ON t3.paperid = t2.paperid WHERE t1.datasetname = \"WebKB\";", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", "FROM", "paperdataset", "AS", "t2", "JOIN", "dataset", "AS", "t1", "ON", "t2.datasetid", "=", "t1.datasetid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "WHERE", "t1.datasetname", "=", "``", "WebKB", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", "from", "paperdataset", "as", "t2", "join", "dataset", "as", "t1", "on", "t2", ".", "datasetid", "=", "t1", ".", "datasetid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "where", "t1", ".", "datasetname", "=", "value" ], "question": "Artigos que usam o conjunto de dados WebKB", "question_toks": [ "Artigos", "que", "usam", "o", "conjunto", "de", "dados", "WebKB" ], "sql": { "from": { "table_units": [ [ "table_unit", 7 ], [ "table_unit", 2 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 21, false ], null ], [ 0, 5, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 20, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 6, false ], null ], "\"WebKB\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT venueid FROM paper WHERE YEAR = 2013;", "query_toks": [ "SELECT", "DISTINCT", "venueid", "FROM", "paper", "WHERE", "YEAR", "=", "2013", ";" ], "query_toks_no_value": [ "select", "distinct", "venueid", "from", "paper", "where", "year", "=", "value" ], "question": "conferências em 2013", "question_toks": [ "conferências", "em", "2013" ], "sql": { "from": { "table_units": [ [ "table_unit", 5 ] ], "conds": [] }, "select": [ true, [ [ 0, [ 0, [ 0, 13, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 14, false ], null ], 2013.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT COUNT ( DISTINCT t4.citingpaperid ) , t1.authorid FROM venue AS t3 JOIN paper AS t2 ON t3.venueid = t2.venueid JOIN writes AS t1 ON t1.paperid = t2.paperid JOIN cite AS t4 ON t1.paperid = t4.citedpaperid WHERE t3.venuename = \"CVPR\" GROUP BY t1.authorid ORDER BY COUNT ( DISTINCT t4.citingpaperid ) DESC;", "query_toks": [ "SELECT", "DISTINCT", "COUNT", "(", "DISTINCT", "t4.citingpaperid", ")", ",", "t1.authorid", "FROM", "venue", "AS", "t3", "JOIN", "paper", "AS", "t2", "ON", "t3.venueid", "=", "t2.venueid", "JOIN", "writes", "AS", "t1", "ON", "t1.paperid", "=", "t2.paperid", "JOIN", "cite", "AS", "t4", "ON", "t1.paperid", "=", "t4.citedpaperid", "WHERE", "t3.venuename", "=", "``", "CVPR", "''", "GROUP", "BY", "t1.authorid", "ORDER", "BY", "COUNT", "(", "DISTINCT", "t4.citingpaperid", ")", "DESC", ";" ], "query_toks_no_value": [ "select", "distinct", "count", "(", "distinct", "t4", ".", "citingpaperid", ")", ",", "t1", ".", "authorid", "from", "venue", "as", "t3", "join", "paper", "as", "t2", "on", "t3", ".", "venueid", "=", "t2", ".", "venueid", "join", "writes", "as", "t1", "on", "t1", ".", "paperid", "=", "t2", ".", "paperid", "join", "cite", "as", "t4", "on", "t1", ".", "paperid", "=", "t4", ".", "citedpaperid", "where", "t3", ".", "venuename", "=", "value", "group", "by", "t1", ".", "authorid", "order", "by", "count", "(", "distinct", "t4", ".", "citingpaperid", ")", "desc" ], "question": "como é o autor mais citado no CVPR?", "question_toks": [ "como", "é", "o", "autor", "mais", "citado", "no", "CVPR", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ], [ "table_unit", 5 ], [ "table_unit", 9 ], [ "table_unit", 6 ] ], "conds": [ [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 19, false ], null ] ] }, "select": [ true, [ [ 3, [ 0, [ 0, 18, true ], null ] ], [ 0, [ 0, [ 0, 25, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 2, false ], null ], "\"CVPR\"", null ] ], "groupBy": [ [ 0, 25, false ] ], "having": [], "orderBy": [ "desc", [ [ 0, [ 3, 18, true ], null ] ] ], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT COUNT ( DISTINCT t4.citingpaperid ) , t1.authorid FROM venue AS t3 JOIN paper AS t2 ON t3.venueid = t2.venueid JOIN writes AS t1 ON t1.paperid = t2.paperid JOIN cite AS t4 ON t1.paperid = t4.citedpaperid WHERE t3.venuename = \"CVPR\" GROUP BY t1.authorid ORDER BY COUNT ( DISTINCT t4.citingpaperid ) DESC;", "query_toks": [ "SELECT", "DISTINCT", "COUNT", "(", "DISTINCT", "t4.citingpaperid", ")", ",", "t1.authorid", "FROM", "venue", "AS", "t3", "JOIN", "paper", "AS", "t2", "ON", "t3.venueid", "=", "t2.venueid", "JOIN", "writes", "AS", "t1", "ON", "t1.paperid", "=", "t2.paperid", "JOIN", "cite", "AS", "t4", "ON", "t1.paperid", "=", "t4.citedpaperid", "WHERE", "t3.venuename", "=", "``", "CVPR", "''", "GROUP", "BY", "t1.authorid", "ORDER", "BY", "COUNT", "(", "DISTINCT", "t4.citingpaperid", ")", "DESC", ";" ], "query_toks_no_value": [ "select", "distinct", "count", "(", "distinct", "t4", ".", "citingpaperid", ")", ",", "t1", ".", "authorid", "from", "venue", "as", "t3", "join", "paper", "as", "t2", "on", "t3", ".", "venueid", "=", "t2", ".", "venueid", "join", "writes", "as", "t1", "on", "t1", ".", "paperid", "=", "t2", ".", "paperid", "join", "cite", "as", "t4", "on", "t1", ".", "paperid", "=", "t4", ".", "citedpaperid", "where", "t3", ".", "venuename", "=", "value", "group", "by", "t1", ".", "authorid", "order", "by", "count", "(", "distinct", "t4", ".", "citingpaperid", ")", "desc" ], "question": "quem é o autor mais citado na CVPR?", "question_toks": [ "quem", "é", "o", "autor", "mais", "citado", "na", "CVPR", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ], [ "table_unit", 5 ], [ "table_unit", 9 ], [ "table_unit", 6 ] ], "conds": [ [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 19, false ], null ] ] }, "select": [ true, [ [ 3, [ 0, [ 0, 18, true ], null ] ], [ 0, [ 0, [ 0, 25, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 2, false ], null ], "\"CVPR\"", null ] ], "groupBy": [ [ 0, 25, false ] ], "having": [], "orderBy": [ "desc", [ [ 0, [ 3, 18, true ], null ] ] ], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t1.authorname , t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t5 ON t2.keyphraseid = t5.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid JOIN writes AS t4 ON t4.paperid = t3.paperid JOIN author AS t1 ON t4.authorid = t1.authorid WHERE t1.authorname != \"chris dyer\" AND t5.keyphrasename = \"syntactic parsing\";", "query_toks": [ "SELECT", "DISTINCT", "t1.authorname", ",", "t3.paperid", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t5", "ON", "t2.keyphraseid", "=", "t5.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "JOIN", "writes", "AS", "t4", "ON", "t4.paperid", "=", "t3.paperid", "JOIN", "author", "AS", "t1", "ON", "t4.authorid", "=", "t1.authorid", "WHERE", "t1.authorname", "!", "=", "``", "chris", "dyer", "''", "AND", "t5.keyphrasename", "=", "``", "syntactic", "parsing", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t1", ".", "authorname", ",", "t3", ".", "paperid", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t5", "on", "t2", ".", "keyphraseid", "=", "t5", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "join", "writes", "as", "t4", "on", "t4", ".", "paperid", "=", "t3", ".", "paperid", "join", "author", "as", "t1", "on", "t4", ".", "authorid", "=", "t1", ".", "authorid", "where", "t1", ".", "authorname", "!", "=", "value", "and", "t5", ".", "keyphrasename", "=", "value" ], "question": "quais são alguns artigos de análise sintática que Chris Dyer não escreveu?", "question_toks": [ "quais", "são", "alguns", "artigos", "de", "análise", "sintática", "que", "Chris", "Dyer", "não", "escreveu", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 4, false ], null ] ], [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 7, [ 0, [ 0, 4, false ], null ], "\"chris dyer\"", null ], "and", [ false, 2, [ 0, [ 0, 10, false ], null ], "\"syntactic parsing\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t1.authorname , t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t5 ON t2.keyphraseid = t5.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid JOIN writes AS t4 ON t4.paperid = t3.paperid JOIN author AS t1 ON t4.authorid = t1.authorid WHERE t1.authorname != \"chris dyer\" AND t5.keyphrasename = \"syntactic parsing\";", "query_toks": [ "SELECT", "DISTINCT", "t1.authorname", ",", "t3.paperid", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t5", "ON", "t2.keyphraseid", "=", "t5.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "JOIN", "writes", "AS", "t4", "ON", "t4.paperid", "=", "t3.paperid", "JOIN", "author", "AS", "t1", "ON", "t4.authorid", "=", "t1.authorid", "WHERE", "t1.authorname", "!", "=", "``", "chris", "dyer", "''", "AND", "t5.keyphrasename", "=", "``", "syntactic", "parsing", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t1", ".", "authorname", ",", "t3", ".", "paperid", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t5", "on", "t2", ".", "keyphraseid", "=", "t5", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "join", "writes", "as", "t4", "on", "t4", ".", "paperid", "=", "t3", ".", "paperid", "join", "author", "as", "t1", "on", "t4", ".", "authorid", "=", "t1", ".", "authorid", "where", "t1", ".", "authorname", "!", "=", "value", "and", "t5", ".", "keyphrasename", "=", "value" ], "question": "há algum artigo de análise sintática que não foi escrito por Chris Dyer?", "question_toks": [ "há", "algum", "artigo", "de", "análise", "sintática", "que", "não", "foi", "escrito", "por", "Chris", "Dyer", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 4, false ], null ] ], [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 7, [ 0, [ 0, 4, false ], null ], "\"chris dyer\"", null ], "and", [ false, 2, [ 0, [ 0, 10, false ], null ], "\"syntactic parsing\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t1.authorname , t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t5 ON t2.keyphraseid = t5.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid JOIN writes AS t4 ON t4.paperid = t3.paperid JOIN author AS t1 ON t4.authorid = t1.authorid WHERE t1.authorname != \"chris dyer\" AND t5.keyphrasename = \"syntactic parsing\";", "query_toks": [ "SELECT", "DISTINCT", "t1.authorname", ",", "t3.paperid", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t5", "ON", "t2.keyphraseid", "=", "t5.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "JOIN", "writes", "AS", "t4", "ON", "t4.paperid", "=", "t3.paperid", "JOIN", "author", "AS", "t1", "ON", "t4.authorid", "=", "t1.authorid", "WHERE", "t1.authorname", "!", "=", "``", "chris", "dyer", "''", "AND", "t5.keyphrasename", "=", "``", "syntactic", "parsing", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t1", ".", "authorname", ",", "t3", ".", "paperid", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t5", "on", "t2", ".", "keyphraseid", "=", "t5", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "join", "writes", "as", "t4", "on", "t4", ".", "paperid", "=", "t3", ".", "paperid", "join", "author", "as", "t1", "on", "t4", ".", "authorid", "=", "t1", ".", "authorid", "where", "t1", ".", "authorname", "!", "=", "value", "and", "t5", ".", "keyphrasename", "=", "value" ], "question": "o que são papéis de análise sintática não escritos por Chris Dyer", "question_toks": [ "o", "que", "são", "papéis", "de", "análise", "sintática", "não", "escritos", "por", "Chris", "Dyer" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 4, false ], null ] ], [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 7, [ 0, [ 0, 4, false ], null ], "\"chris dyer\"", null ], "and", [ false, 2, [ 0, [ 0, 10, false ], null ], "\"syntactic parsing\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t1.authorname , t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t5 ON t2.keyphraseid = t5.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid JOIN writes AS t4 ON t4.paperid = t3.paperid JOIN author AS t1 ON t4.authorid = t1.authorid WHERE t1.authorname != \"chris dyer\" AND t5.keyphrasename = \"syntactic parsing\";", "query_toks": [ "SELECT", "DISTINCT", "t1.authorname", ",", "t3.paperid", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t5", "ON", "t2.keyphraseid", "=", "t5.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "JOIN", "writes", "AS", "t4", "ON", "t4.paperid", "=", "t3.paperid", "JOIN", "author", "AS", "t1", "ON", "t4.authorid", "=", "t1.authorid", "WHERE", "t1.authorname", "!", "=", "``", "chris", "dyer", "''", "AND", "t5.keyphrasename", "=", "``", "syntactic", "parsing", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t1", ".", "authorname", ",", "t3", ".", "paperid", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t5", "on", "t2", ".", "keyphraseid", "=", "t5", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "join", "writes", "as", "t4", "on", "t4", ".", "paperid", "=", "t3", ".", "paperid", "join", "author", "as", "t1", "on", "t4", ".", "authorid", "=", "t1", ".", "authorid", "where", "t1", ".", "authorname", "!", "=", "value", "and", "t5", ".", "keyphrasename", "=", "value" ], "question": "papéis de análise sintática não escritos por Chris Dyer", "question_toks": [ "papéis", "de", "análise", "sintática", "não", "escritos", "por", "Chris", "Dyer" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 4, false ], null ] ], [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 7, [ 0, [ 0, 4, false ], null ], "\"chris dyer\"", null ], "and", [ false, 2, [ 0, [ 0, 10, false ], null ], "\"syntactic parsing\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT paperid FROM paper WHERE YEAR = ( SELECT MAX ( YEAR ) FROM paper );", "query_toks": [ "SELECT", "DISTINCT", "paperid", "FROM", "paper", "WHERE", "YEAR", "=", "(", "SELECT", "MAX", "(", "YEAR", ")", "FROM", "paper", ")", ";" ], "query_toks_no_value": [ "select", "distinct", "paperid", "from", "paper", "where", "year", "=", "(", "select", "max", "(", "year", ")", "from", "paper", ")" ], "question": "artigos publicados no ano passado", "question_toks": [ "artigos", "publicados", "no", "ano", "passado" ], "sql": { "from": { "table_units": [ [ "table_unit", 5 ] ], "conds": [] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 14, false ], null ], { "from": { "table_units": [ [ "table_unit", 5 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 14, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT COUNT ( t3.paperid ) , t3.year FROM writes AS t2 JOIN author AS t1 ON t2.authorid = t1.authorid JOIN paper AS t3 ON t2.paperid = t3.paperid WHERE t1.authorname = \"benjamin mako hill\" GROUP BY t3.year ORDER BY t3.year;", "query_toks": [ "SELECT", "DISTINCT", "COUNT", "(", "t3.paperid", ")", ",", "t3.year", "FROM", "writes", "AS", "t2", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "JOIN", "paper", "AS", "t3", "ON", "t2.paperid", "=", "t3.paperid", "WHERE", "t1.authorname", "=", "``", "benjamin", "mako", "hill", "''", "GROUP", "BY", "t3.year", "ORDER", "BY", "t3.year", ";" ], "query_toks_no_value": [ "select", "distinct", "count", "(", "t3", ".", "paperid", ")", ",", "t3", ".", "year", "from", "writes", "as", "t2", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "join", "paper", "as", "t3", "on", "t2", ".", "paperid", "=", "t3", ".", "paperid", "where", "t1", ".", "authorname", "=", "value", "group", "by", "t3", ".", "year", "order", "by", "t3", ".", "year" ], "question": "Quando foi a primeira publicação de benjamin mako hill?", "question_toks": [ "Quando", "foi", "a", "primeira", "publicação", "de", "benjamin", "mako", "hill", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ] ] }, "select": [ true, [ [ 3, [ 0, [ 0, 11, false ], null ] ], [ 0, [ 0, [ 0, 14, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"benjamin mako hill\"", null ] ], "groupBy": [ [ 0, 14, false ] ], "having": [], "orderBy": [ "asc", [ [ 0, [ 0, 14, false ], null ] ] ], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT COUNT ( t3.paperid ) , t3.year FROM writes AS t2 JOIN author AS t1 ON t2.authorid = t1.authorid JOIN paper AS t3 ON t2.paperid = t3.paperid WHERE t1.authorname = \"benjamin mako hill\" GROUP BY t3.year ORDER BY t3.year;", "query_toks": [ "SELECT", "DISTINCT", "COUNT", "(", "t3.paperid", ")", ",", "t3.year", "FROM", "writes", "AS", "t2", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "JOIN", "paper", "AS", "t3", "ON", "t2.paperid", "=", "t3.paperid", "WHERE", "t1.authorname", "=", "``", "benjamin", "mako", "hill", "''", "GROUP", "BY", "t3.year", "ORDER", "BY", "t3.year", ";" ], "query_toks_no_value": [ "select", "distinct", "count", "(", "t3", ".", "paperid", ")", ",", "t3", ".", "year", "from", "writes", "as", "t2", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "join", "paper", "as", "t3", "on", "t2", ".", "paperid", "=", "t3", ".", "paperid", "where", "t1", ".", "authorname", "=", "value", "group", "by", "t3", ".", "year", "order", "by", "t3", ".", "year" ], "question": "Quando foi escrito o primeiro artigo de benjamin mako hill?", "question_toks": [ "Quando", "foi", "escrito", "o", "primeiro", "artigo", "de", "benjamin", "mako", "hill", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ] ] }, "select": [ true, [ [ 3, [ 0, [ 0, 11, false ], null ] ], [ 0, [ 0, [ 0, 14, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"benjamin mako hill\"", null ] ], "groupBy": [ [ 0, 14, false ] ], "having": [], "orderBy": [ "asc", [ [ 0, [ 0, 14, false ], null ] ] ], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT COUNT ( t3.paperid ) , t3.year FROM writes AS t2 JOIN author AS t1 ON t2.authorid = t1.authorid JOIN paper AS t3 ON t2.paperid = t3.paperid WHERE t1.authorname = \"ameet soni\" GROUP BY t3.year ORDER BY t3.year;", "query_toks": [ "SELECT", "DISTINCT", "COUNT", "(", "t3.paperid", ")", ",", "t3.year", "FROM", "writes", "AS", "t2", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "JOIN", "paper", "AS", "t3", "ON", "t2.paperid", "=", "t3.paperid", "WHERE", "t1.authorname", "=", "``", "ameet", "soni", "''", "GROUP", "BY", "t3.year", "ORDER", "BY", "t3.year", ";" ], "query_toks_no_value": [ "select", "distinct", "count", "(", "t3", ".", "paperid", ")", ",", "t3", ".", "year", "from", "writes", "as", "t2", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "join", "paper", "as", "t3", "on", "t2", ".", "paperid", "=", "t3", ".", "paperid", "where", "t1", ".", "authorname", "=", "value", "group", "by", "t3", ".", "year", "order", "by", "t3", ".", "year" ], "question": "Quando foi publicado o ameet soni?", "question_toks": [ "Quando", "foi", "publicado", "o", "ameet", "soni", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ] ] }, "select": [ true, [ [ 3, [ 0, [ 0, 11, false ], null ] ], [ 0, [ 0, [ 0, 14, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"ameet soni\"", null ] ], "groupBy": [ [ 0, 14, false ] ], "having": [], "orderBy": [ "asc", [ [ 0, [ 0, 14, false ], null ] ] ], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT COUNT ( t4.citingpaperid ) , t3.authorid FROM writes AS t2 JOIN author AS t1 ON t2.authorid = t1.authorid JOIN cite AS t4 ON t2.paperid = t4.citedpaperid JOIN writes AS t3 ON t3.paperid = t4.citingpaperid WHERE t1.authorname = \"Daniel A Reed\" GROUP BY t3.authorid ORDER BY COUNT ( t4.citingpaperid ) DESC;", "query_toks": [ "SELECT", "DISTINCT", "COUNT", "(", "t4.citingpaperid", ")", ",", "t3.authorid", "FROM", "writes", "AS", "t2", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "JOIN", "cite", "AS", "t4", "ON", "t2.paperid", "=", "t4.citedpaperid", "JOIN", "writes", "AS", "t3", "ON", "t3.paperid", "=", "t4.citingpaperid", "WHERE", "t1.authorname", "=", "``", "Daniel", "A", "Reed", "''", "GROUP", "BY", "t3.authorid", "ORDER", "BY", "COUNT", "(", "t4.citingpaperid", ")", "DESC", ";" ], "query_toks_no_value": [ "select", "distinct", "count", "(", "t4", ".", "citingpaperid", ")", ",", "t3", ".", "authorid", "from", "writes", "as", "t2", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "join", "cite", "as", "t4", "on", "t2", ".", "paperid", "=", "t4", ".", "citedpaperid", "join", "writes", "as", "t3", "on", "t3", ".", "paperid", "=", "t4", ".", "citingpaperid", "where", "t1", ".", "authorname", "=", "value", "group", "by", "t3", ".", "authorid", "order", "by", "count", "(", "t4", ".", "citingpaperid", ")", "desc" ], "question": "Quem cita Daniel A Reed mais", "question_toks": [ "Quem", "cita", "Daniel", "A", "Reed", "mais" ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ], [ "table_unit", 6 ], [ "table_unit", 9 ] ], "conds": [ [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 19, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 18, false ], null ] ] }, "select": [ true, [ [ 3, [ 0, [ 0, 18, false ], null ] ], [ 0, [ 0, [ 0, 25, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Daniel A Reed\"", null ] ], "groupBy": [ [ 0, 25, false ] ], "having": [], "orderBy": [ "desc", [ [ 0, [ 3, 18, false ], null ] ] ], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT COUNT ( t4.citingpaperid ) , t3.authorid FROM writes AS t2 JOIN author AS t1 ON t2.authorid = t1.authorid JOIN cite AS t4 ON t2.paperid = t4.citedpaperid JOIN writes AS t3 ON t3.paperid = t4.citingpaperid WHERE t1.authorname = \"Daniel A Reed\" GROUP BY t3.authorid ORDER BY COUNT ( t4.citingpaperid ) DESC;", "query_toks": [ "SELECT", "DISTINCT", "COUNT", "(", "t4.citingpaperid", ")", ",", "t3.authorid", "FROM", "writes", "AS", "t2", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "JOIN", "cite", "AS", "t4", "ON", "t2.paperid", "=", "t4.citedpaperid", "JOIN", "writes", "AS", "t3", "ON", "t3.paperid", "=", "t4.citingpaperid", "WHERE", "t1.authorname", "=", "``", "Daniel", "A", "Reed", "''", "GROUP", "BY", "t3.authorid", "ORDER", "BY", "COUNT", "(", "t4.citingpaperid", ")", "DESC", ";" ], "query_toks_no_value": [ "select", "distinct", "count", "(", "t4", ".", "citingpaperid", ")", ",", "t3", ".", "authorid", "from", "writes", "as", "t2", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "join", "cite", "as", "t4", "on", "t2", ".", "paperid", "=", "t4", ".", "citedpaperid", "join", "writes", "as", "t3", "on", "t3", ".", "paperid", "=", "t4", ".", "citingpaperid", "where", "t1", ".", "authorname", "=", "value", "group", "by", "t3", ".", "authorid", "order", "by", "count", "(", "t4", ".", "citingpaperid", ")", "desc" ], "question": "Quem cita Daniel A Reed mais?", "question_toks": [ "Quem", "cita", "Daniel", "A", "Reed", "mais", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ], [ "table_unit", 6 ], [ "table_unit", 9 ] ], "conds": [ [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 19, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 18, false ], null ] ] }, "select": [ true, [ [ 3, [ 0, [ 0, 18, false ], null ] ], [ 0, [ 0, [ 0, 25, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Daniel A Reed\"", null ] ], "groupBy": [ [ 0, 25, false ] ], "having": [], "orderBy": [ "desc", [ [ 0, [ 3, 18, false ], null ] ] ], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT COUNT ( t1.paperid ) FROM venue AS t2 JOIN paper AS t1 ON t2.venueid = t1.venueid WHERE t2.venuename = \"sigir\";", "query_toks": [ "SELECT", "DISTINCT", "COUNT", "(", "t1.paperid", ")", "FROM", "venue", "AS", "t2", "JOIN", "paper", "AS", "t1", "ON", "t2.venueid", "=", "t1.venueid", "WHERE", "t2.venuename", "=", "``", "sigir", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "count", "(", "t1", ".", "paperid", ")", "from", "venue", "as", "t2", "join", "paper", "as", "t1", "on", "t2", ".", "venueid", "=", "t1", ".", "venueid", "where", "t2", ".", "venuename", "=", "value" ], "question": "quantos papéis estão em sigir?", "question_toks": [ "quantos", "papéis", "estão", "em", "sigir", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ] ] }, "select": [ true, [ [ 3, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 2, false ], null ], "\"sigir\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT COUNT ( t1.paperid ) FROM venue AS t2 JOIN paper AS t1 ON t2.venueid = t1.venueid WHERE t2.venuename = \"sigir\";", "query_toks": [ "SELECT", "DISTINCT", "COUNT", "(", "t1.paperid", ")", "FROM", "venue", "AS", "t2", "JOIN", "paper", "AS", "t1", "ON", "t2.venueid", "=", "t1.venueid", "WHERE", "t2.venuename", "=", "``", "sigir", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "count", "(", "t1", ".", "paperid", ")", "from", "venue", "as", "t2", "join", "paper", "as", "t1", "on", "t2", ".", "venueid", "=", "t1", ".", "venueid", "where", "t2", ".", "venuename", "=", "value" ], "question": "quantos papéis o sigir tem?", "question_toks": [ "quantos", "papéis", "o", "sigir", "tem", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ] ] }, "select": [ true, [ [ 3, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 2, false ], null ], "\"sigir\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT COUNT ( t1.paperid ) FROM venue AS t2 JOIN paper AS t1 ON t2.venueid = t1.venueid WHERE t2.venuename = \"sigir\";", "query_toks": [ "SELECT", "DISTINCT", "COUNT", "(", "t1.paperid", ")", "FROM", "venue", "AS", "t2", "JOIN", "paper", "AS", "t1", "ON", "t2.venueid", "=", "t1.venueid", "WHERE", "t2.venuename", "=", "``", "sigir", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "count", "(", "t1", ".", "paperid", ")", "from", "venue", "as", "t2", "join", "paper", "as", "t1", "on", "t2", ".", "venueid", "=", "t1", ".", "venueid", "where", "t2", ".", "venuename", "=", "value" ], "question": "quantos artigos são publicados em sigir?", "question_toks": [ "quantos", "artigos", "são", "publicados", "em", "sigir", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ] ] }, "select": [ true, [ [ 3, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 2, false ], null ], "\"sigir\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT COUNT ( t1.paperid ) FROM venue AS t2 JOIN paper AS t1 ON t2.venueid = t1.venueid WHERE t2.venuename = \"sigir\";", "query_toks": [ "SELECT", "DISTINCT", "COUNT", "(", "t1.paperid", ")", "FROM", "venue", "AS", "t2", "JOIN", "paper", "AS", "t1", "ON", "t2.venueid", "=", "t1.venueid", "WHERE", "t2.venuename", "=", "``", "sigir", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "count", "(", "t1", ".", "paperid", ")", "from", "venue", "as", "t2", "join", "paper", "as", "t1", "on", "t2", ".", "venueid", "=", "t1", ".", "venueid", "where", "t2", ".", "venuename", "=", "value" ], "question": "número de artigos na conferência sigir", "question_toks": [ "número", "de", "artigos", "na", "conferência", "sigir" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ] ] }, "select": [ true, [ [ 3, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 2, false ], null ], "\"sigir\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.citingpaperid FROM paper AS t1 JOIN cite AS t3 ON t1.paperid = t3.citedpaperid JOIN venue AS t2 ON t2.venueid = t1.venueid WHERE t2.venuename = \"ACL\" GROUP BY t3.citingpaperid HAVING COUNT ( DISTINCT t3.citedpaperid ) < 5;", "query_toks": [ "SELECT", "DISTINCT", "t3.citingpaperid", "FROM", "paper", "AS", "t1", "JOIN", "cite", "AS", "t3", "ON", "t1.paperid", "=", "t3.citedpaperid", "JOIN", "venue", "AS", "t2", "ON", "t2.venueid", "=", "t1.venueid", "WHERE", "t2.venuename", "=", "``", "ACL", "''", "GROUP", "BY", "t3.citingpaperid", "HAVING", "COUNT", "(", "DISTINCT", "t3.citedpaperid", ")", "<", "5", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "citingpaperid", "from", "paper", "as", "t1", "join", "cite", "as", "t3", "on", "t1", ".", "paperid", "=", "t3", ".", "citedpaperid", "join", "venue", "as", "t2", "on", "t2", ".", "venueid", "=", "t1", ".", "venueid", "where", "t2", ".", "venuename", "=", "value", "group", "by", "t3", ".", "citingpaperid", "having", "count", "(", "distinct", "t3", ".", "citedpaperid", ")", "<", "value" ], "question": "quais artigos têm menos de 5 citações por artigos ACL?", "question_toks": [ "quais", "artigos", "têm", "menos", "de", "5", "citações", "por", "artigos", "ACL", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 5 ], [ "table_unit", 6 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 19, false ], null ], "and", [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 18, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 2, false ], null ], "\"ACL\"", null ] ], "groupBy": [ [ 0, 18, false ] ], "having": [ [ false, 4, [ 0, [ 3, 19, true ], null ], 5.0, null ] ], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.citingpaperid FROM paper AS t1 JOIN cite AS t3 ON t1.paperid = t3.citedpaperid JOIN venue AS t2 ON t2.venueid = t1.venueid WHERE t2.venuename = \"ACL\" GROUP BY t3.citingpaperid HAVING COUNT ( DISTINCT t3.citedpaperid ) < 5;", "query_toks": [ "SELECT", "DISTINCT", "t3.citingpaperid", "FROM", "paper", "AS", "t1", "JOIN", "cite", "AS", "t3", "ON", "t1.paperid", "=", "t3.citedpaperid", "JOIN", "venue", "AS", "t2", "ON", "t2.venueid", "=", "t1.venueid", "WHERE", "t2.venuename", "=", "``", "ACL", "''", "GROUP", "BY", "t3.citingpaperid", "HAVING", "COUNT", "(", "DISTINCT", "t3.citedpaperid", ")", "<", "5", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "citingpaperid", "from", "paper", "as", "t1", "join", "cite", "as", "t3", "on", "t1", ".", "paperid", "=", "t3", ".", "citedpaperid", "join", "venue", "as", "t2", "on", "t2", ".", "venueid", "=", "t1", ".", "venueid", "where", "t2", ".", "venuename", "=", "value", "group", "by", "t3", ".", "citingpaperid", "having", "count", "(", "distinct", "t3", ".", "citedpaperid", ")", "<", "value" ], "question": "Artigos ACL com menos de 5 citações", "question_toks": [ "Artigos", "ACL", "com", "menos", "de", "5", "citações" ], "sql": { "from": { "table_units": [ [ "table_unit", 5 ], [ "table_unit", 6 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 19, false ], null ], "and", [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 18, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 2, false ], null ], "\"ACL\"", null ] ], "groupBy": [ [ 0, 18, false ] ], "having": [ [ false, 4, [ 0, [ 3, 19, true ], null ], 5.0, null ] ], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.citingpaperid FROM paper AS t1 JOIN cite AS t3 ON t1.paperid = t3.citedpaperid JOIN venue AS t2 ON t2.venueid = t1.venueid WHERE t2.venuename = \"ACL\" GROUP BY t3.citingpaperid HAVING COUNT ( DISTINCT t3.citedpaperid ) < 5;", "query_toks": [ "SELECT", "DISTINCT", "t3.citingpaperid", "FROM", "paper", "AS", "t1", "JOIN", "cite", "AS", "t3", "ON", "t1.paperid", "=", "t3.citedpaperid", "JOIN", "venue", "AS", "t2", "ON", "t2.venueid", "=", "t1.venueid", "WHERE", "t2.venuename", "=", "``", "ACL", "''", "GROUP", "BY", "t3.citingpaperid", "HAVING", "COUNT", "(", "DISTINCT", "t3.citedpaperid", ")", "<", "5", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "citingpaperid", "from", "paper", "as", "t1", "join", "cite", "as", "t3", "on", "t1", ".", "paperid", "=", "t3", ".", "citedpaperid", "join", "venue", "as", "t2", "on", "t2", ".", "venueid", "=", "t1", ".", "venueid", "where", "t2", ".", "venuename", "=", "value", "group", "by", "t3", ".", "citingpaperid", "having", "count", "(", "distinct", "t3", ".", "citedpaperid", ")", "<", "value" ], "question": "quais artigos ACL têm menos de 5 citações?", "question_toks": [ "quais", "artigos", "ACL", "têm", "menos", "de", "5", "citações", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 5 ], [ "table_unit", 6 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 19, false ], null ], "and", [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 18, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 2, false ], null ], "\"ACL\"", null ] ], "groupBy": [ [ 0, 18, false ] ], "having": [ [ false, 4, [ 0, [ 3, 19, true ], null ], 5.0, null ] ], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.citingpaperid FROM paper AS t1 JOIN cite AS t3 ON t1.paperid = t3.citedpaperid JOIN venue AS t2 ON t2.venueid = t1.venueid WHERE t2.venuename = \"ACL\" GROUP BY t3.citingpaperid HAVING COUNT ( DISTINCT t3.citedpaperid ) < 5;", "query_toks": [ "SELECT", "DISTINCT", "t3.citingpaperid", "FROM", "paper", "AS", "t1", "JOIN", "cite", "AS", "t3", "ON", "t1.paperid", "=", "t3.citedpaperid", "JOIN", "venue", "AS", "t2", "ON", "t2.venueid", "=", "t1.venueid", "WHERE", "t2.venuename", "=", "``", "ACL", "''", "GROUP", "BY", "t3.citingpaperid", "HAVING", "COUNT", "(", "DISTINCT", "t3.citedpaperid", ")", "<", "5", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "citingpaperid", "from", "paper", "as", "t1", "join", "cite", "as", "t3", "on", "t1", ".", "paperid", "=", "t3", ".", "citedpaperid", "join", "venue", "as", "t2", "on", "t2", ".", "venueid", "=", "t1", ".", "venueid", "where", "t2", ".", "venuename", "=", "value", "group", "by", "t3", ".", "citingpaperid", "having", "count", "(", "distinct", "t3", ".", "citedpaperid", ")", "<", "value" ], "question": "quais artigos têm menos de 5 citações por artigos ACL", "question_toks": [ "quais", "artigos", "têm", "menos", "de", "5", "citações", "por", "artigos", "ACL" ], "sql": { "from": { "table_units": [ [ "table_unit", 5 ], [ "table_unit", 6 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 19, false ], null ], "and", [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 18, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 2, false ], null ], "\"ACL\"", null ] ], "groupBy": [ [ 0, 18, false ] ], "having": [ [ false, 4, [ 0, [ 3, 19, true ], null ], 5.0, null ] ], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid , t3.year FROM writes AS t2 JOIN author AS t1 ON t2.authorid = t1.authorid JOIN paper AS t3 ON t2.paperid = t3.paperid WHERE t1.authorname = \"Mirella Lapata\" ORDER BY t3.year DESC LIMIT 5;", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", ",", "t3.year", "FROM", "writes", "AS", "t2", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "JOIN", "paper", "AS", "t3", "ON", "t2.paperid", "=", "t3.paperid", "WHERE", "t1.authorname", "=", "``", "Mirella", "Lapata", "''", "ORDER", "BY", "t3.year", "DESC", "LIMIT", "5", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", ",", "t3", ".", "year", "from", "writes", "as", "t2", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "join", "paper", "as", "t3", "on", "t2", ".", "paperid", "=", "t3", ".", "paperid", "where", "t1", ".", "authorname", "=", "value", "order", "by", "t3", ".", "year", "desc", "limit", "value" ], "question": "Quais são os 5 artigos mais recentes de Mirella Lapata?", "question_toks": [ "Quais", "são", "os", "5", "artigos", "mais", "recentes", "de", "Mirella", "Lapata", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ], [ 0, [ 0, [ 0, 14, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Mirella Lapata\"", null ] ], "groupBy": [], "having": [], "orderBy": [ "desc", [ [ 0, [ 0, 14, false ], null ] ] ], "limit": 5, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t1.paperid FROM venue AS t2 JOIN paper AS t1 ON t2.venueid = t1.venueid WHERE t1.year = 2015 AND t2.venuename = \"pldi\";", "query_toks": [ "SELECT", "DISTINCT", "t1.paperid", "FROM", "venue", "AS", "t2", "JOIN", "paper", "AS", "t1", "ON", "t2.venueid", "=", "t1.venueid", "WHERE", "t1.year", "=", "2015", "AND", "t2.venuename", "=", "``", "pldi", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t1", ".", "paperid", "from", "venue", "as", "t2", "join", "paper", "as", "t1", "on", "t2", ".", "venueid", "=", "t1", ".", "venueid", "where", "t1", ".", "year", "=", "value", "and", "t2", ".", "venuename", "=", "value" ], "question": "Quais foram os artigos publicados na pldi 2015?", "question_toks": [ "Quais", "foram", "os", "artigos", "publicados", "na", "pldi", "2015", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 14, false ], null ], 2015.0, null ], "and", [ false, 2, [ 0, [ 0, 2, false ], null ], "\"pldi\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t1.paperid FROM venue AS t2 JOIN paper AS t1 ON t2.venueid = t1.venueid WHERE t1.year = 2015 AND t2.venuename = \"pldi\";", "query_toks": [ "SELECT", "DISTINCT", "t1.paperid", "FROM", "venue", "AS", "t2", "JOIN", "paper", "AS", "t1", "ON", "t2.venueid", "=", "t1.venueid", "WHERE", "t1.year", "=", "2015", "AND", "t2.venuename", "=", "``", "pldi", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t1", ".", "paperid", "from", "venue", "as", "t2", "join", "paper", "as", "t1", "on", "t2", ".", "venueid", "=", "t1", ".", "venueid", "where", "t1", ".", "year", "=", "value", "and", "t2", ".", "venuename", "=", "value" ], "question": "Artigos da conferência pldi 2015", "question_toks": [ "Artigos", "da", "conferência", "pldi", "2015" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 14, false ], null ], 2015.0, null ], "and", [ false, 2, [ 0, [ 0, 2, false ], null ], "\"pldi\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t1.paperid FROM venue AS t2 JOIN paper AS t1 ON t2.venueid = t1.venueid WHERE t1.year = 2015 AND t2.venuename = \"pldi\";", "query_toks": [ "SELECT", "DISTINCT", "t1.paperid", "FROM", "venue", "AS", "t2", "JOIN", "paper", "AS", "t1", "ON", "t2.venueid", "=", "t1.venueid", "WHERE", "t1.year", "=", "2015", "AND", "t2.venuename", "=", "``", "pldi", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t1", ".", "paperid", "from", "venue", "as", "t2", "join", "paper", "as", "t1", "on", "t2", ".", "venueid", "=", "t1", ".", "venueid", "where", "t1", ".", "year", "=", "value", "and", "t2", ".", "venuename", "=", "value" ], "question": "artigos publicados na pldi 2015", "question_toks": [ "artigos", "publicados", "na", "pldi", "2015" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 14, false ], null ], 2015.0, null ], "and", [ false, 2, [ 0, [ 0, 2, false ], null ], "\"pldi\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t1.paperid FROM venue AS t2 JOIN paper AS t1 ON t2.venueid = t1.venueid WHERE t1.year = 2015 AND t2.venuename = \"pldi\";", "query_toks": [ "SELECT", "DISTINCT", "t1.paperid", "FROM", "venue", "AS", "t2", "JOIN", "paper", "AS", "t1", "ON", "t2.venueid", "=", "t1.venueid", "WHERE", "t1.year", "=", "2015", "AND", "t2.venuename", "=", "``", "pldi", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t1", ".", "paperid", "from", "venue", "as", "t2", "join", "paper", "as", "t1", "on", "t2", ".", "venueid", "=", "t1", ".", "venueid", "where", "t1", ".", "year", "=", "value", "and", "t2", ".", "venuename", "=", "value" ], "question": "Quais são os papéis do pldi 2015?", "question_toks": [ "Quais", "são", "os", "papéis", "do", "pldi", "2015", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 14, false ], null ], 2015.0, null ], "and", [ false, 2, [ 0, [ 0, 2, false ], null ], "\"pldi\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t1.paperid FROM venue AS t2 JOIN paper AS t1 ON t2.venueid = t1.venueid WHERE t1.year = 2015 AND t2.venuename = \"pldi\";", "query_toks": [ "SELECT", "DISTINCT", "t1.paperid", "FROM", "venue", "AS", "t2", "JOIN", "paper", "AS", "t1", "ON", "t2.venueid", "=", "t1.venueid", "WHERE", "t1.year", "=", "2015", "AND", "t2.venuename", "=", "``", "pldi", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t1", ".", "paperid", "from", "venue", "as", "t2", "join", "paper", "as", "t1", "on", "t2", ".", "venueid", "=", "t1", ".", "venueid", "where", "t1", ".", "year", "=", "value", "and", "t2", ".", "venuename", "=", "value" ], "question": "Artigos da pldi 2015?", "question_toks": [ "Artigos", "da", "pldi", "2015", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 14, false ], null ], 2015.0, null ], "and", [ false, 2, [ 0, [ 0, 2, false ], null ], "\"pldi\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t1.paperid FROM venue AS t2 JOIN paper AS t1 ON t2.venueid = t1.venueid WHERE t1.year = 2015 AND t2.venuename = \"pldi\";", "query_toks": [ "SELECT", "DISTINCT", "t1.paperid", "FROM", "venue", "AS", "t2", "JOIN", "paper", "AS", "t1", "ON", "t2.venueid", "=", "t1.venueid", "WHERE", "t1.year", "=", "2015", "AND", "t2.venuename", "=", "``", "pldi", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t1", ".", "paperid", "from", "venue", "as", "t2", "join", "paper", "as", "t1", "on", "t2", ".", "venueid", "=", "t1", ".", "venueid", "where", "t1", ".", "year", "=", "value", "and", "t2", ".", "venuename", "=", "value" ], "question": "Quais artigos foram aceitos no pldi 2015?", "question_toks": [ "Quais", "artigos", "foram", "aceitos", "no", "pldi", "2015", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 14, false ], null ], 2015.0, null ], "and", [ false, 2, [ 0, [ 0, 2, false ], null ], "\"pldi\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t1.paperid FROM venue AS t2 JOIN paper AS t1 ON t2.venueid = t1.venueid WHERE t1.year = 2015 AND t2.venuename = \"pldi\";", "query_toks": [ "SELECT", "DISTINCT", "t1.paperid", "FROM", "venue", "AS", "t2", "JOIN", "paper", "AS", "t1", "ON", "t2.venueid", "=", "t1.venueid", "WHERE", "t1.year", "=", "2015", "AND", "t2.venuename", "=", "``", "pldi", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t1", ".", "paperid", "from", "venue", "as", "t2", "join", "paper", "as", "t1", "on", "t2", ".", "venueid", "=", "t1", ".", "venueid", "where", "t1", ".", "year", "=", "value", "and", "t2", ".", "venuename", "=", "value" ], "question": "Quais artigos foram publicados durante a conferência pldi 2015?", "question_toks": [ "Quais", "artigos", "foram", "publicados", "durante", "a", "conferência", "pldi", "2015", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 14, false ], null ], 2015.0, null ], "and", [ false, 2, [ 0, [ 0, 2, false ], null ], "\"pldi\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t1.paperid FROM venue AS t2 JOIN paper AS t1 ON t2.venueid = t1.venueid WHERE t1.year = 2015 AND t2.venuename = \"pldi\";", "query_toks": [ "SELECT", "DISTINCT", "t1.paperid", "FROM", "venue", "AS", "t2", "JOIN", "paper", "AS", "t1", "ON", "t2.venueid", "=", "t1.venueid", "WHERE", "t1.year", "=", "2015", "AND", "t2.venuename", "=", "``", "pldi", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t1", ".", "paperid", "from", "venue", "as", "t2", "join", "paper", "as", "t1", "on", "t2", ".", "venueid", "=", "t1", ".", "venueid", "where", "t1", ".", "year", "=", "value", "and", "t2", ".", "venuename", "=", "value" ], "question": "artigos em pldi 2015", "question_toks": [ "artigos", "em", "pldi", "2015" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 14, false ], null ], 2015.0, null ], "and", [ false, 2, [ 0, [ 0, 2, false ], null ], "\"pldi\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t1.paperid FROM venue AS t2 JOIN paper AS t1 ON t2.venueid = t1.venueid WHERE t1.year = 2015 AND t2.venuename = \"pldi\";", "query_toks": [ "SELECT", "DISTINCT", "t1.paperid", "FROM", "venue", "AS", "t2", "JOIN", "paper", "AS", "t1", "ON", "t2.venueid", "=", "t1.venueid", "WHERE", "t1.year", "=", "2015", "AND", "t2.venuename", "=", "``", "pldi", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t1", ".", "paperid", "from", "venue", "as", "t2", "join", "paper", "as", "t1", "on", "t2", ".", "venueid", "=", "t1", ".", "venueid", "where", "t1", ".", "year", "=", "value", "and", "t2", ".", "venuename", "=", "value" ], "question": "Lista de artigos em pldi 2015", "question_toks": [ "Lista", "de", "artigos", "em", "pldi", "2015" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 14, false ], null ], 2015.0, null ], "and", [ false, 2, [ 0, [ 0, 2, false ], null ], "\"pldi\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t1.paperid FROM venue AS t2 JOIN paper AS t1 ON t2.venueid = t1.venueid WHERE t1.year = 2015 AND t2.venuename = \"pldi\";", "query_toks": [ "SELECT", "DISTINCT", "t1.paperid", "FROM", "venue", "AS", "t2", "JOIN", "paper", "AS", "t1", "ON", "t2.venueid", "=", "t1.venueid", "WHERE", "t1.year", "=", "2015", "AND", "t2.venuename", "=", "``", "pldi", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t1", ".", "paperid", "from", "venue", "as", "t2", "join", "paper", "as", "t1", "on", "t2", ".", "venueid", "=", "t1", ".", "venueid", "where", "t1", ".", "year", "=", "value", "and", "t2", ".", "venuename", "=", "value" ], "question": "artigos pldi em 2015", "question_toks": [ "artigos", "pldi", "em", "2015" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 14, false ], null ], 2015.0, null ], "and", [ false, 2, [ 0, [ 0, 2, false ], null ], "\"pldi\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t1.paperid FROM venue AS t2 JOIN paper AS t1 ON t2.venueid = t1.venueid WHERE t1.year = 2015 AND t2.venuename = \"pldi\";", "query_toks": [ "SELECT", "DISTINCT", "t1.paperid", "FROM", "venue", "AS", "t2", "JOIN", "paper", "AS", "t1", "ON", "t2.venueid", "=", "t1.venueid", "WHERE", "t1.year", "=", "2015", "AND", "t2.venuename", "=", "``", "pldi", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t1", ".", "paperid", "from", "venue", "as", "t2", "join", "paper", "as", "t1", "on", "t2", ".", "venueid", "=", "t1", ".", "venueid", "where", "t1", ".", "year", "=", "value", "and", "t2", ".", "venuename", "=", "value" ], "question": "quais artigos são publicados no pldi 2015", "question_toks": [ "quais", "artigos", "são", "publicados", "no", "pldi", "2015" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 14, false ], null ], 2015.0, null ], "and", [ false, 2, [ 0, [ 0, 2, false ], null ], "\"pldi\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t1.paperid FROM venue AS t2 JOIN paper AS t1 ON t2.venueid = t1.venueid WHERE t1.year = 2015 AND t2.venuename = \"pldi\";", "query_toks": [ "SELECT", "DISTINCT", "t1.paperid", "FROM", "venue", "AS", "t2", "JOIN", "paper", "AS", "t1", "ON", "t2.venueid", "=", "t1.venueid", "WHERE", "t1.year", "=", "2015", "AND", "t2.venuename", "=", "``", "pldi", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t1", ".", "paperid", "from", "venue", "as", "t2", "join", "paper", "as", "t1", "on", "t2", ".", "venueid", "=", "t1", ".", "venueid", "where", "t1", ".", "year", "=", "value", "and", "t2", ".", "venuename", "=", "value" ], "question": "artigos da pldi 2015", "question_toks": [ "artigos", "da", "pldi", "2015" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 14, false ], null ], 2015.0, null ], "and", [ false, 2, [ 0, [ 0, 2, false ], null ], "\"pldi\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t1.paperid FROM venue AS t2 JOIN paper AS t1 ON t2.venueid = t1.venueid WHERE t1.year = 2015 AND t2.venuename = \"pldi\";", "query_toks": [ "SELECT", "DISTINCT", "t1.paperid", "FROM", "venue", "AS", "t2", "JOIN", "paper", "AS", "t1", "ON", "t2.venueid", "=", "t1.venueid", "WHERE", "t1.year", "=", "2015", "AND", "t2.venuename", "=", "``", "pldi", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t1", ".", "paperid", "from", "venue", "as", "t2", "join", "paper", "as", "t1", "on", "t2", ".", "venueid", "=", "t1", ".", "venueid", "where", "t1", ".", "year", "=", "value", "and", "t2", ".", "venuename", "=", "value" ], "question": "documentos pldi 2015", "question_toks": [ "documentos", "pldi", "2015" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 14, false ], null ], 2015.0, null ], "and", [ false, 2, [ 0, [ 0, 2, false ], null ], "\"pldi\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t1.paperid FROM venue AS t2 JOIN paper AS t1 ON t2.venueid = t1.venueid WHERE t1.year = 2015 AND t2.venuename = \"pldi\";", "query_toks": [ "SELECT", "DISTINCT", "t1.paperid", "FROM", "venue", "AS", "t2", "JOIN", "paper", "AS", "t1", "ON", "t2.venueid", "=", "t1.venueid", "WHERE", "t1.year", "=", "2015", "AND", "t2.venuename", "=", "``", "pldi", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t1", ".", "paperid", "from", "venue", "as", "t2", "join", "paper", "as", "t1", "on", "t2", ".", "venueid", "=", "t1", ".", "venueid", "where", "t1", ".", "year", "=", "value", "and", "t2", ".", "venuename", "=", "value" ], "question": "conferência pldi 2015", "question_toks": [ "conferência", "pldi", "2015" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 14, false ], null ], 2015.0, null ], "and", [ false, 2, [ 0, [ 0, 2, false ], null ], "\"pldi\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t1.paperid FROM venue AS t2 JOIN paper AS t1 ON t2.venueid = t1.venueid WHERE t1.year = 2015 AND t2.venuename = \"pldi\";", "query_toks": [ "SELECT", "DISTINCT", "t1.paperid", "FROM", "venue", "AS", "t2", "JOIN", "paper", "AS", "t1", "ON", "t2.venueid", "=", "t1.venueid", "WHERE", "t1.year", "=", "2015", "AND", "t2.venuename", "=", "``", "pldi", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t1", ".", "paperid", "from", "venue", "as", "t2", "join", "paper", "as", "t1", "on", "t2", ".", "venueid", "=", "t1", ".", "venueid", "where", "t1", ".", "year", "=", "value", "and", "t2", ".", "venuename", "=", "value" ], "question": "prêmio de melhor papel pldi 2015", "question_toks": [ "prêmio", "de", "melhor", "papel", "pldi", "2015" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 14, false ], null ], 2015.0, null ], "and", [ false, 2, [ 0, [ 0, 2, false ], null ], "\"pldi\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t1.paperid FROM venue AS t2 JOIN paper AS t1 ON t2.venueid = t1.venueid WHERE t1.year = 2015 AND t2.venuename = \"pldi\";", "query_toks": [ "SELECT", "DISTINCT", "t1.paperid", "FROM", "venue", "AS", "t2", "JOIN", "paper", "AS", "t1", "ON", "t2.venueid", "=", "t1.venueid", "WHERE", "t1.year", "=", "2015", "AND", "t2.venuename", "=", "``", "pldi", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t1", ".", "paperid", "from", "venue", "as", "t2", "join", "paper", "as", "t1", "on", "t2", ".", "venueid", "=", "t1", ".", "venueid", "where", "t1", ".", "year", "=", "value", "and", "t2", ".", "venuename", "=", "value" ], "question": "lista de artigos pldi 2015", "question_toks": [ "lista", "de", "artigos", "pldi", "2015" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 14, false ], null ], 2015.0, null ], "and", [ false, 2, [ 0, [ 0, 2, false ], null ], "\"pldi\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT journalid FROM paper WHERE YEAR = 2011 GROUP BY journalid;", "query_toks": [ "SELECT", "DISTINCT", "journalid", "FROM", "paper", "WHERE", "YEAR", "=", "2011", "GROUP", "BY", "journalid", ";" ], "query_toks_no_value": [ "select", "distinct", "journalid", "from", "paper", "where", "year", "=", "value", "group", "by", "journalid" ], "question": "Liste as revistas de hoje", "question_toks": [ "Liste", "as", "revistas", "de", "hoje" ], "sql": { "from": { "table_units": [ [ "table_unit", 5 ] ], "conds": [] }, "select": [ true, [ [ 0, [ 0, [ 0, 17, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 14, false ], null ], 2011.0, null ] ], "groupBy": [ [ 0, 17, false ] ], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT journalid FROM paper WHERE YEAR = 2011 GROUP BY journalid;", "query_toks": [ "SELECT", "DISTINCT", "journalid", "FROM", "paper", "WHERE", "YEAR", "=", "2011", "GROUP", "BY", "journalid", ";" ], "query_toks_no_value": [ "select", "distinct", "journalid", "from", "paper", "where", "year", "=", "value", "group", "by", "journalid" ], "question": "Liste as revistas publicadas em março de 2011", "question_toks": [ "Liste", "as", "revistas", "publicadas", "em", "março", "de", "2011" ], "sql": { "from": { "table_units": [ [ "table_unit", 5 ] ], "conds": [] }, "select": [ true, [ [ 0, [ 0, [ 0, 17, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 14, false ], null ], 2011.0, null ] ], "groupBy": [ [ 0, 17, false ] ], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t1.paperid FROM venue AS t2 JOIN paper AS t1 ON t2.venueid = t1.venueid WHERE t1.title LIKE \"neural attention\" AND t1.year = 2016 AND t2.venuename = \"ACL\";", "query_toks": [ "SELECT", "DISTINCT", "t1.paperid", "FROM", "venue", "AS", "t2", "JOIN", "paper", "AS", "t1", "ON", "t2.venueid", "=", "t1.venueid", "WHERE", "t1.title", "LIKE", "``", "neural", "attention", "''", "AND", "t1.year", "=", "2016", "AND", "t2.venuename", "=", "``", "ACL", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t1", ".", "paperid", "from", "venue", "as", "t2", "join", "paper", "as", "t1", "on", "t2", ".", "venueid", "=", "t1", ".", "venueid", "where", "t1", ".", "title", "like", "value", "and", "t1", ".", "year", "=", "value", "and", "t2", ".", "venuename", "=", "value" ], "question": "Artigos ACL em 2016 com atenção neural no título", "question_toks": [ "Artigos", "ACL", "em", "2016", "com", "atenção", "neural", "no", "título" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 9, [ 0, [ 0, 12, false ], null ], "\"neural attention\"", null ], "and", [ false, 2, [ 0, [ 0, 14, false ], null ], 2016.0, null ], "and", [ false, 2, [ 0, [ 0, 2, false ], null ], "\"ACL\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t1.authorname FROM paperkeyphrase AS t2 JOIN keyphrase AS t4 ON t2.keyphraseid = t4.keyphraseid JOIN writes AS t3 ON t3.paperid = t2.paperid JOIN author AS t1 ON t3.authorid = t1.authorid WHERE t4.keyphrasename = \"Machine Learning\" GROUP BY t1.authorname ORDER BY COUNT ( DISTINCT t3.paperid ) DESC;", "query_toks": [ "SELECT", "DISTINCT", "t1.authorname", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t4", "ON", "t2.keyphraseid", "=", "t4.keyphraseid", "JOIN", "writes", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "JOIN", "author", "AS", "t1", "ON", "t3.authorid", "=", "t1.authorid", "WHERE", "t4.keyphrasename", "=", "``", "Machine", "Learning", "''", "GROUP", "BY", "t1.authorname", "ORDER", "BY", "COUNT", "(", "DISTINCT", "t3.paperid", ")", "DESC", ";" ], "query_toks_no_value": [ "select", "distinct", "t1", ".", "authorname", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t4", "on", "t2", ".", "keyphraseid", "=", "t4", ".", "keyphraseid", "join", "writes", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "join", "author", "as", "t1", "on", "t3", ".", "authorid", "=", "t1", ".", "authorid", "where", "t4", ".", "keyphrasename", "=", "value", "group", "by", "t1", ".", "authorname", "order", "by", "count", "(", "distinct", "t3", ".", "paperid", ")", "desc" ], "question": "Quem escreve muitos artigos em Aprendizado de Máquina?", "question_toks": [ "Quem", "escreve", "muitos", "artigos", "em", "Aprendizado", "de", "Máquina", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 22, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 4, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"Machine Learning\"", null ] ], "groupBy": [ [ 0, 4, false ] ], "having": [], "orderBy": [ "desc", [ [ 0, [ 3, 24, true ], null ] ] ], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t1.authorname FROM paperkeyphrase AS t2 JOIN keyphrase AS t4 ON t2.keyphraseid = t4.keyphraseid JOIN writes AS t3 ON t3.paperid = t2.paperid JOIN author AS t1 ON t3.authorid = t1.authorid WHERE t4.keyphrasename LIKE \"sensor fusion\";", "query_toks": [ "SELECT", "DISTINCT", "t1.authorname", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t4", "ON", "t2.keyphraseid", "=", "t4.keyphraseid", "JOIN", "writes", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "JOIN", "author", "AS", "t1", "ON", "t3.authorid", "=", "t1.authorid", "WHERE", "t4.keyphrasename", "LIKE", "``", "sensor", "fusion", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t1", ".", "authorname", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t4", "on", "t2", ".", "keyphraseid", "=", "t4", ".", "keyphraseid", "join", "writes", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "join", "author", "as", "t1", "on", "t3", ".", "authorid", "=", "t1", ".", "authorid", "where", "t4", ".", "keyphrasename", "like", "value" ], "question": "Quem escreveu a fusão de sensores?", "question_toks": [ "Quem", "escreveu", "a", "fusão", "de", "sensores", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 22, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 4, false ], null ] ] ] ], "where": [ [ false, 9, [ 0, [ 0, 10, false ], null ], "\"sensor fusion\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t1.authorname FROM paperkeyphrase AS t2 JOIN keyphrase AS t4 ON t2.keyphraseid = t4.keyphraseid JOIN writes AS t3 ON t3.paperid = t2.paperid JOIN author AS t1 ON t3.authorid = t1.authorid WHERE t4.keyphrasename LIKE \"sensor fusion\";", "query_toks": [ "SELECT", "DISTINCT", "t1.authorname", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t4", "ON", "t2.keyphraseid", "=", "t4.keyphraseid", "JOIN", "writes", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "JOIN", "author", "AS", "t1", "ON", "t3.authorid", "=", "t1.authorid", "WHERE", "t4.keyphrasename", "LIKE", "``", "sensor", "fusion", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t1", ".", "authorname", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t4", "on", "t2", ".", "keyphraseid", "=", "t4", ".", "keyphraseid", "join", "writes", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "join", "author", "as", "t1", "on", "t3", ".", "authorid", "=", "t1", ".", "authorid", "where", "t4", ".", "keyphrasename", "like", "value" ], "question": "Autores de artigos sobre fusão de sensores", "question_toks": [ "Autores", "de", "artigos", "sobre", "fusão", "de", "sensores" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 22, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 4, false ], null ] ] ] ], "where": [ [ false, 9, [ 0, [ 0, 10, false ], null ], "\"sensor fusion\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t1.authorname FROM paperkeyphrase AS t2 JOIN keyphrase AS t4 ON t2.keyphraseid = t4.keyphraseid JOIN writes AS t3 ON t3.paperid = t2.paperid JOIN author AS t1 ON t3.authorid = t1.authorid WHERE t4.keyphrasename LIKE \"sensor fusion\";", "query_toks": [ "SELECT", "DISTINCT", "t1.authorname", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t4", "ON", "t2.keyphraseid", "=", "t4.keyphraseid", "JOIN", "writes", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "JOIN", "author", "AS", "t1", "ON", "t3.authorid", "=", "t1.authorid", "WHERE", "t4.keyphrasename", "LIKE", "``", "sensor", "fusion", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t1", ".", "authorname", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t4", "on", "t2", ".", "keyphraseid", "=", "t4", ".", "keyphraseid", "join", "writes", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "join", "author", "as", "t1", "on", "t3", ".", "authorid", "=", "t1", ".", "authorid", "where", "t4", ".", "keyphrasename", "like", "value" ], "question": "pessoas trabalhando na fusão de sensores", "question_toks": [ "pessoas", "trabalhando", "na", "fusão", "de", "sensores" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 22, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 4, false ], null ] ] ] ], "where": [ [ false, 9, [ 0, [ 0, 10, false ], null ], "\"sensor fusion\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t1.authorname FROM paperkeyphrase AS t2 JOIN keyphrase AS t4 ON t2.keyphraseid = t4.keyphraseid JOIN writes AS t3 ON t3.paperid = t2.paperid JOIN author AS t1 ON t3.authorid = t1.authorid WHERE t4.keyphrasename LIKE \"sensor fusion\";", "query_toks": [ "SELECT", "DISTINCT", "t1.authorname", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t4", "ON", "t2.keyphraseid", "=", "t4.keyphraseid", "JOIN", "writes", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "JOIN", "author", "AS", "t1", "ON", "t3.authorid", "=", "t1.authorid", "WHERE", "t4.keyphrasename", "LIKE", "``", "sensor", "fusion", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t1", ".", "authorname", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t4", "on", "t2", ".", "keyphraseid", "=", "t4", ".", "keyphraseid", "join", "writes", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "join", "author", "as", "t1", "on", "t3", ".", "authorid", "=", "t1", ".", "authorid", "where", "t4", ".", "keyphrasename", "like", "value" ], "question": "Quem publica em fusão de sensores?", "question_toks": [ "Quem", "publica", "em", "fusão", "de", "sensores", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 22, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 4, false ], null ] ] ] ], "where": [ [ false, 9, [ 0, [ 0, 10, false ], null ], "\"sensor fusion\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t1.authorname FROM paperkeyphrase AS t2 JOIN keyphrase AS t4 ON t2.keyphraseid = t4.keyphraseid JOIN writes AS t3 ON t3.paperid = t2.paperid JOIN author AS t1 ON t3.authorid = t1.authorid WHERE t4.keyphrasename LIKE \"sensor fusion\";", "query_toks": [ "SELECT", "DISTINCT", "t1.authorname", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t4", "ON", "t2.keyphraseid", "=", "t4.keyphraseid", "JOIN", "writes", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "JOIN", "author", "AS", "t1", "ON", "t3.authorid", "=", "t1.authorid", "WHERE", "t4.keyphrasename", "LIKE", "``", "sensor", "fusion", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t1", ".", "authorname", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t4", "on", "t2", ".", "keyphraseid", "=", "t4", ".", "keyphraseid", "join", "writes", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "join", "author", "as", "t1", "on", "t3", ".", "authorid", "=", "t1", ".", "authorid", "where", "t4", ".", "keyphrasename", "like", "value" ], "question": "que publica artigos sobre fusão de sensores", "question_toks": [ "que", "publica", "artigos", "sobre", "fusão", "de", "sensores" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 22, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 4, false ], null ] ] ] ], "where": [ [ false, 9, [ 0, [ 0, 10, false ], null ], "\"sensor fusion\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT COUNT ( t5.citingpaperid ) FROM writes AS t3 JOIN author AS t2 ON t3.authorid = t2.authorid JOIN cite AS t5 ON t3.paperid = t5.citedpaperid JOIN writes AS t4 ON t4.paperid = t5.citingpaperid JOIN author AS t1 ON t4.authorid = t1.authorid WHERE t2.authorname = \"michael i. jordan\" AND t1.authorname = \"dan klein\";", "query_toks": [ "SELECT", "DISTINCT", "COUNT", "(", "t5.citingpaperid", ")", "FROM", "writes", "AS", "t3", "JOIN", "author", "AS", "t2", "ON", "t3.authorid", "=", "t2.authorid", "JOIN", "cite", "AS", "t5", "ON", "t3.paperid", "=", "t5.citedpaperid", "JOIN", "writes", "AS", "t4", "ON", "t4.paperid", "=", "t5.citingpaperid", "JOIN", "author", "AS", "t1", "ON", "t4.authorid", "=", "t1.authorid", "WHERE", "t2.authorname", "=", "``", "michael", "i.", "jordan", "''", "AND", "t1.authorname", "=", "``", "dan", "klein", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "count", "(", "t5", ".", "citingpaperid", ")", "from", "writes", "as", "t3", "join", "author", "as", "t2", "on", "t3", ".", "authorid", "=", "t2", ".", "authorid", "join", "cite", "as", "t5", "on", "t3", ".", "paperid", "=", "t5", ".", "citedpaperid", "join", "writes", "as", "t4", "on", "t4", ".", "paperid", "=", "t5", ".", "citingpaperid", "join", "author", "as", "t1", "on", "t4", ".", "authorid", "=", "t1", ".", "authorid", "where", "t2", ".", "authorname", "=", "value", "and", "t1", ".", "authorname", "=", "value" ], "question": "quantos artigos de dan klein são citados por michael i. Jordânia", "question_toks": [ "quantos", "artigos", "de", "dan", "klein", "são", "citados", "por", "michael", "i.", "Jordânia" ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ], [ "table_unit", 6 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 19, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 18, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 3, [ 0, [ 0, 18, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"michael i. jordan\"", null ], "and", [ false, 2, [ 0, [ 0, 4, false ], null ], "\"dan klein\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT COUNT ( t5.citingpaperid ) FROM writes AS t3 JOIN author AS t2 ON t3.authorid = t2.authorid JOIN cite AS t5 ON t3.paperid = t5.citedpaperid JOIN writes AS t4 ON t4.paperid = t5.citingpaperid JOIN author AS t1 ON t4.authorid = t1.authorid WHERE t2.authorname = \"michael i. jordan\" AND t1.authorname = \"dan klein\";", "query_toks": [ "SELECT", "DISTINCT", "COUNT", "(", "t5.citingpaperid", ")", "FROM", "writes", "AS", "t3", "JOIN", "author", "AS", "t2", "ON", "t3.authorid", "=", "t2.authorid", "JOIN", "cite", "AS", "t5", "ON", "t3.paperid", "=", "t5.citedpaperid", "JOIN", "writes", "AS", "t4", "ON", "t4.paperid", "=", "t5.citingpaperid", "JOIN", "author", "AS", "t1", "ON", "t4.authorid", "=", "t1.authorid", "WHERE", "t2.authorname", "=", "``", "michael", "i.", "jordan", "''", "AND", "t1.authorname", "=", "``", "dan", "klein", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "count", "(", "t5", ".", "citingpaperid", ")", "from", "writes", "as", "t3", "join", "author", "as", "t2", "on", "t3", ".", "authorid", "=", "t2", ".", "authorid", "join", "cite", "as", "t5", "on", "t3", ".", "paperid", "=", "t5", ".", "citedpaperid", "join", "writes", "as", "t4", "on", "t4", ".", "paperid", "=", "t5", ".", "citingpaperid", "join", "author", "as", "t1", "on", "t4", ".", "authorid", "=", "t1", ".", "authorid", "where", "t2", ".", "authorname", "=", "value", "and", "t1", ".", "authorname", "=", "value" ], "question": "quantos artigos de dan klein citam michael i. Jordânia", "question_toks": [ "quantos", "artigos", "de", "dan", "klein", "citam", "michael", "i.", "Jordânia" ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ], [ "table_unit", 6 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 19, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 18, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 3, [ 0, [ 0, 18, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"michael i. jordan\"", null ], "and", [ false, 2, [ 0, [ 0, 4, false ], null ], "\"dan klein\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t5.authorid FROM writes AS t3 JOIN author AS t2 ON t3.authorid = t2.authorid JOIN writes AS t4 ON t4.paperid = t3.paperid JOIN writes AS t5 ON t5.paperid = t4.paperid JOIN author AS t1 ON t4.authorid = t1.authorid WHERE t2.authorname = \"Ameet Soni\" AND t1.authorname = \"Ras Bodik\";", "query_toks": [ "SELECT", "DISTINCT", "t5.authorid", "FROM", "writes", "AS", "t3", "JOIN", "author", "AS", "t2", "ON", "t3.authorid", "=", "t2.authorid", "JOIN", "writes", "AS", "t4", "ON", "t4.paperid", "=", "t3.paperid", "JOIN", "writes", "AS", "t5", "ON", "t5.paperid", "=", "t4.paperid", "JOIN", "author", "AS", "t1", "ON", "t4.authorid", "=", "t1.authorid", "WHERE", "t2.authorname", "=", "``", "Ameet", "Soni", "''", "AND", "t1.authorname", "=", "``", "Ras", "Bodik", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t5", ".", "authorid", "from", "writes", "as", "t3", "join", "author", "as", "t2", "on", "t3", ".", "authorid", "=", "t2", ".", "authorid", "join", "writes", "as", "t4", "on", "t4", ".", "paperid", "=", "t3", ".", "paperid", "join", "writes", "as", "t5", "on", "t5", ".", "paperid", "=", "t4", ".", "paperid", "join", "author", "as", "t1", "on", "t4", ".", "authorid", "=", "t1", ".", "authorid", "where", "t2", ".", "authorname", "=", "value", "and", "t1", ".", "authorname", "=", "value" ], "question": "quem mais estava no papel com Ameet Soni e Ras Bodik?", "question_toks": [ "quem", "mais", "estava", "no", "papel", "com", "Ameet", "Soni", "e", "Ras", "Bodik", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ], [ "table_unit", 9 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 24, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 24, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 25, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Ameet Soni\"", null ], "and", [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Ras Bodik\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid FROM paperdataset AS t2 JOIN dataset AS t1 ON t2.datasetid = t1.datasetid JOIN paper AS t3 ON t3.paperid = t2.paperid WHERE t1.datasetname = \"ImageNet\" AND t3.year = 2014;", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", "FROM", "paperdataset", "AS", "t2", "JOIN", "dataset", "AS", "t1", "ON", "t2.datasetid", "=", "t1.datasetid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "WHERE", "t1.datasetname", "=", "``", "ImageNet", "''", "AND", "t3.year", "=", "2014", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", "from", "paperdataset", "as", "t2", "join", "dataset", "as", "t1", "on", "t2", ".", "datasetid", "=", "t1", ".", "datasetid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "where", "t1", ".", "datasetname", "=", "value", "and", "t3", ".", "year", "=", "value" ], "question": "Artigos de 2014 usando ImageNet", "question_toks": [ "Artigos", "de", "2014", "usando", "ImageNet" ], "sql": { "from": { "table_units": [ [ "table_unit", 7 ], [ "table_unit", 2 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 21, false ], null ], [ 0, 5, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 20, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 6, false ], null ], "\"ImageNet\"", null ], "and", [ false, 2, [ 0, [ 0, 14, false ], null ], 2014.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.journalid FROM writes AS t2 JOIN author AS t1 ON t2.authorid = t1.authorid JOIN paper AS t3 ON t2.paperid = t3.paperid WHERE t1.authorname = \"Takashi Matsumoto\" GROUP BY t3.journalid;", "query_toks": [ "SELECT", "DISTINCT", "t3.journalid", "FROM", "writes", "AS", "t2", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "JOIN", "paper", "AS", "t3", "ON", "t2.paperid", "=", "t3.paperid", "WHERE", "t1.authorname", "=", "``", "Takashi", "Matsumoto", "''", "GROUP", "BY", "t3.journalid", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "journalid", "from", "writes", "as", "t2", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "join", "paper", "as", "t3", "on", "t2", ".", "paperid", "=", "t3", ".", "paperid", "where", "t1", ".", "authorname", "=", "value", "group", "by", "t3", ".", "journalid" ], "question": "Em quais periódicos os artigos de Takashi Matsumoto são publicados?", "question_toks": [ "Em", "quais", "periódicos", "os", "artigos", "de", "Takashi", "Matsumoto", "são", "publicados", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 17, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Takashi Matsumoto\"", null ] ], "groupBy": [ [ 0, 17, false ] ], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.journalid FROM writes AS t2 JOIN author AS t1 ON t2.authorid = t1.authorid JOIN paper AS t3 ON t2.paperid = t3.paperid WHERE t1.authorname = \"Takashi Matsumoto\" GROUP BY t3.journalid;", "query_toks": [ "SELECT", "DISTINCT", "t3.journalid", "FROM", "writes", "AS", "t2", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "JOIN", "paper", "AS", "t3", "ON", "t2.paperid", "=", "t3.paperid", "WHERE", "t1.authorname", "=", "``", "Takashi", "Matsumoto", "''", "GROUP", "BY", "t3.journalid", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "journalid", "from", "writes", "as", "t2", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "join", "paper", "as", "t3", "on", "t2", ".", "paperid", "=", "t3", ".", "paperid", "where", "t1", ".", "authorname", "=", "value", "group", "by", "t3", ".", "journalid" ], "question": "Em quais jornais Takashi Matsumoto publicou?", "question_toks": [ "Em", "quais", "jornais", "Takashi", "Matsumoto", "publicou", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 17, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Takashi Matsumoto\"", null ] ], "groupBy": [ [ 0, 17, false ] ], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.journalid FROM writes AS t2 JOIN author AS t1 ON t2.authorid = t1.authorid JOIN paper AS t3 ON t2.paperid = t3.paperid WHERE t1.authorname = \"Takashi Matsumoto\" GROUP BY t3.journalid;", "query_toks": [ "SELECT", "DISTINCT", "t3.journalid", "FROM", "writes", "AS", "t2", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "JOIN", "paper", "AS", "t3", "ON", "t2.paperid", "=", "t3.paperid", "WHERE", "t1.authorname", "=", "``", "Takashi", "Matsumoto", "''", "GROUP", "BY", "t3.journalid", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "journalid", "from", "writes", "as", "t2", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "join", "paper", "as", "t3", "on", "t2", ".", "paperid", "=", "t3", ".", "paperid", "where", "t1", ".", "authorname", "=", "value", "group", "by", "t3", ".", "journalid" ], "question": "Em que periódicos acadêmicos Takashi Matsumoto publica?", "question_toks": [ "Em", "que", "periódicos", "acadêmicos", "Takashi", "Matsumoto", "publica", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 17, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Takashi Matsumoto\"", null ] ], "groupBy": [ [ 0, 17, false ] ], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.authorid FROM paperkeyphrase AS t1 JOIN keyphrase AS t2 ON t1.keyphraseid = t2.keyphraseid JOIN paper AS t4 ON t4.paperid = t1.paperid JOIN writes AS t3 ON t3.paperid = t4.paperid JOIN author AS t5 ON t3.authorid = t5.authorid WHERE t2.keyphrasename = \"Bacterial Wilt\" AND t4.year = 2016;", "query_toks": [ "SELECT", "DISTINCT", "t3.authorid", "FROM", "paperkeyphrase", "AS", "t1", "JOIN", "keyphrase", "AS", "t2", "ON", "t1.keyphraseid", "=", "t2.keyphraseid", "JOIN", "paper", "AS", "t4", "ON", "t4.paperid", "=", "t1.paperid", "JOIN", "writes", "AS", "t3", "ON", "t3.paperid", "=", "t4.paperid", "JOIN", "author", "AS", "t5", "ON", "t3.authorid", "=", "t5.authorid", "WHERE", "t2.keyphrasename", "=", "``", "Bacterial", "Wilt", "''", "AND", "t4.year", "=", "2016", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "authorid", "from", "paperkeyphrase", "as", "t1", "join", "keyphrase", "as", "t2", "on", "t1", ".", "keyphraseid", "=", "t2", ".", "keyphraseid", "join", "paper", "as", "t4", "on", "t4", ".", "paperid", "=", "t1", ".", "paperid", "join", "writes", "as", "t3", "on", "t3", ".", "paperid", "=", "t4", ".", "paperid", "join", "author", "as", "t5", "on", "t3", ".", "authorid", "=", "t5", ".", "authorid", "where", "t2", ".", "keyphrasename", "=", "value", "and", "t4", ".", "year", "=", "value" ], "question": "Que autores escreveram artigos sobre a murcha bacteriana em 2016?", "question_toks": [ "Que", "autores", "escreveram", "artigos", "sobre", "a", "murcha", "bacteriana", "em", "2016", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 25, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"Bacterial Wilt\"", null ], "and", [ false, 2, [ 0, [ 0, 14, false ], null ], 2016.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.authorid FROM paperkeyphrase AS t1 JOIN keyphrase AS t2 ON t1.keyphraseid = t2.keyphraseid JOIN paper AS t4 ON t4.paperid = t1.paperid JOIN writes AS t3 ON t3.paperid = t4.paperid JOIN author AS t5 ON t3.authorid = t5.authorid WHERE t2.keyphrasename = \"Bacterial Wilt\" AND t4.year = 2016;", "query_toks": [ "SELECT", "DISTINCT", "t3.authorid", "FROM", "paperkeyphrase", "AS", "t1", "JOIN", "keyphrase", "AS", "t2", "ON", "t1.keyphraseid", "=", "t2.keyphraseid", "JOIN", "paper", "AS", "t4", "ON", "t4.paperid", "=", "t1.paperid", "JOIN", "writes", "AS", "t3", "ON", "t3.paperid", "=", "t4.paperid", "JOIN", "author", "AS", "t5", "ON", "t3.authorid", "=", "t5.authorid", "WHERE", "t2.keyphrasename", "=", "``", "Bacterial", "Wilt", "''", "AND", "t4.year", "=", "2016", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "authorid", "from", "paperkeyphrase", "as", "t1", "join", "keyphrase", "as", "t2", "on", "t1", ".", "keyphraseid", "=", "t2", ".", "keyphraseid", "join", "paper", "as", "t4", "on", "t4", ".", "paperid", "=", "t1", ".", "paperid", "join", "writes", "as", "t3", "on", "t3", ".", "paperid", "=", "t4", ".", "paperid", "join", "author", "as", "t5", "on", "t3", ".", "authorid", "=", "t5", ".", "authorid", "where", "t2", ".", "keyphrasename", "=", "value", "and", "t4", ".", "year", "=", "value" ], "question": "Quem escreveu sobre o tema Murcha bacteriana em 2016?", "question_toks": [ "Quem", "escreveu", "sobre", "o", "tema", "Murcha", "bacteriana", "em", "2016", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 25, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"Bacterial Wilt\"", null ], "and", [ false, 2, [ 0, [ 0, 14, false ], null ], 2016.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.year FROM writes AS t2 JOIN author AS t1 ON t2.authorid = t1.authorid JOIN paper AS t3 ON t2.paperid = t3.paperid WHERE t1.authorname = \"Luke S Zettlemoyer\" ORDER BY t3.year;", "query_toks": [ "SELECT", "DISTINCT", "t3.year", "FROM", "writes", "AS", "t2", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "JOIN", "paper", "AS", "t3", "ON", "t2.paperid", "=", "t3.paperid", "WHERE", "t1.authorname", "=", "``", "Luke", "S", "Zettlemoyer", "''", "ORDER", "BY", "t3.year", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "year", "from", "writes", "as", "t2", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "join", "paper", "as", "t3", "on", "t2", ".", "paperid", "=", "t3", ".", "paperid", "where", "t1", ".", "authorname", "=", "value", "order", "by", "t3", ".", "year" ], "question": "Quando Luke S Zettlemoyer publicou?", "question_toks": [ "Quando", "Luke", "S", "Zettlemoyer", "publicou", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 14, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Luke S Zettlemoyer\"", null ] ], "groupBy": [], "having": [], "orderBy": [ "asc", [ [ 0, [ 0, 14, false ], null ] ] ], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid WHERE t1.keyphrasename = \"question answering\" AND t3.year = 2016;", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t1", "ON", "t2.keyphraseid", "=", "t1.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "WHERE", "t1.keyphrasename", "=", "``", "question", "answering", "''", "AND", "t3.year", "=", "2016", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t1", "on", "t2", ".", "keyphraseid", "=", "t1", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "where", "t1", ".", "keyphrasename", "=", "value", "and", "t3", ".", "year", "=", "value" ], "question": "perguntas respondendo a artigos de 2016", "question_toks": [ "perguntas", "respondendo", "a", "artigos", "de", "2016" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"question answering\"", null ], "and", [ false, 2, [ 0, [ 0, 14, false ], null ], 2016.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid WHERE t1.keyphrasename = \"question answering\" AND t3.year = 2016;", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t1", "ON", "t2.keyphraseid", "=", "t1.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "WHERE", "t1.keyphrasename", "=", "``", "question", "answering", "''", "AND", "t3.year", "=", "2016", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t1", "on", "t2", ".", "keyphraseid", "=", "t1", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "where", "t1", ".", "keyphrasename", "=", "value", "and", "t3", ".", "year", "=", "value" ], "question": "Quais artigos foram escritos sobre resposta a perguntas em 2016?", "question_toks": [ "Quais", "artigos", "foram", "escritos", "sobre", "resposta", "a", "perguntas", "em", "2016", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"question answering\"", null ], "and", [ false, 2, [ 0, [ 0, 14, false ], null ], 2016.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT COUNT ( t3.citingpaperid ) , t1.keyphrasename FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN cite AS t3 ON t2.paperid = t3.citedpaperid GROUP BY t1.keyphrasename ORDER BY COUNT ( t3.citingpaperid ) DESC;", "query_toks": [ "SELECT", "DISTINCT", "COUNT", "(", "t3.citingpaperid", ")", ",", "t1.keyphrasename", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t1", "ON", "t2.keyphraseid", "=", "t1.keyphraseid", "JOIN", "cite", "AS", "t3", "ON", "t2.paperid", "=", "t3.citedpaperid", "GROUP", "BY", "t1.keyphrasename", "ORDER", "BY", "COUNT", "(", "t3.citingpaperid", ")", "DESC", ";" ], "query_toks_no_value": [ "select", "distinct", "count", "(", "t3", ".", "citingpaperid", ")", ",", "t1", ".", "keyphrasename", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t1", "on", "t2", ".", "keyphraseid", "=", "t1", ".", "keyphraseid", "join", "cite", "as", "t3", "on", "t2", ".", "paperid", "=", "t3", ".", "citedpaperid", "group", "by", "t1", ".", "keyphrasename", "order", "by", "count", "(", "t3", ".", "citingpaperid", ")", "desc" ], "question": "quais frases-chave obtêm mais citações?", "question_toks": [ "quais", "frases-chave", "obtêm", "mais", "citações", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 6 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 22, false ], null ], [ 0, 19, false ], null ] ] }, "select": [ true, [ [ 3, [ 0, [ 0, 18, false ], null ] ], [ 0, [ 0, [ 0, 10, false ], null ] ] ] ], "where": [], "groupBy": [ [ 0, 10, false ] ], "having": [], "orderBy": [ "desc", [ [ 0, [ 3, 18, false ], null ] ] ], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.journalid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid WHERE t1.keyphrasename = \"Temporal Data\" GROUP BY t3.journalid;", "query_toks": [ "SELECT", "DISTINCT", "t3.journalid", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t1", "ON", "t2.keyphraseid", "=", "t1.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "WHERE", "t1.keyphrasename", "=", "``", "Temporal", "Data", "''", "GROUP", "BY", "t3.journalid", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "journalid", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t1", "on", "t2", ".", "keyphraseid", "=", "t1", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "where", "t1", ".", "keyphrasename", "=", "value", "group", "by", "t3", ".", "journalid" ], "question": "Encontre revistas sobre Dados Temporais.", "question_toks": [ "Encontre", "revistas", "sobre", "Dados", "Temporais", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 17, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"Temporal Data\"", null ] ], "groupBy": [ [ 0, 17, false ] ], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.journalid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid WHERE t1.keyphrasename = \"Temporal Data\" GROUP BY t3.journalid;", "query_toks": [ "SELECT", "DISTINCT", "t3.journalid", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t1", "ON", "t2.keyphraseid", "=", "t1.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "WHERE", "t1.keyphrasename", "=", "``", "Temporal", "Data", "''", "GROUP", "BY", "t3.journalid", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "journalid", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t1", "on", "t2", ".", "keyphraseid", "=", "t1", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "where", "t1", ".", "keyphrasename", "=", "value", "group", "by", "t3", ".", "journalid" ], "question": "Liste os periódicos relacionados a Dados Temporais", "question_toks": [ "Liste", "os", "periódicos", "relacionados", "a", "Dados", "Temporais" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 17, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"Temporal Data\"", null ] ], "groupBy": [ [ 0, 17, false ] ], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t2.paperid FROM paperdataset AS t3 JOIN dataset AS t5 ON t3.datasetid = t5.datasetid JOIN paperkeyphrase AS t4 ON t4.paperid = t3.paperid JOIN paper AS t2 ON t2.paperid = t3.paperid JOIN venue AS t6 ON t6.venueid = t2.venueid JOIN keyphrase AS t1 ON t4.keyphraseid = t1.keyphraseid WHERE t5.datasetname = \"Jeopardy! Questions\" AND t1.keyphrasename = \"Parsing\" AND t2.year = 2014 AND t6.venuename = \"ACL\";", "query_toks": [ "SELECT", "DISTINCT", "t2.paperid", "FROM", "paperdataset", "AS", "t3", "JOIN", "dataset", "AS", "t5", "ON", "t3.datasetid", "=", "t5.datasetid", "JOIN", "paperkeyphrase", "AS", "t4", "ON", "t4.paperid", "=", "t3.paperid", "JOIN", "paper", "AS", "t2", "ON", "t2.paperid", "=", "t3.paperid", "JOIN", "venue", "AS", "t6", "ON", "t6.venueid", "=", "t2.venueid", "JOIN", "keyphrase", "AS", "t1", "ON", "t4.keyphraseid", "=", "t1.keyphraseid", "WHERE", "t5.datasetname", "=", "``", "Jeopardy", "!", "Questions", "''", "AND", "t1.keyphrasename", "=", "``", "Parsing", "''", "AND", "t2.year", "=", "2014", "AND", "t6.venuename", "=", "``", "ACL", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t2", ".", "paperid", "from", "paperdataset", "as", "t3", "join", "dataset", "as", "t5", "on", "t3", ".", "datasetid", "=", "t5", ".", "datasetid", "join", "paperkeyphrase", "as", "t4", "on", "t4", ".", "paperid", "=", "t3", ".", "paperid", "join", "paper", "as", "t2", "on", "t2", ".", "paperid", "=", "t3", ".", "paperid", "join", "venue", "as", "t6", "on", "t6", ".", "venueid", "=", "t2", ".", "venueid", "join", "keyphrase", "as", "t1", "on", "t4", ".", "keyphraseid", "=", "t1", ".", "keyphraseid", "where", "t5", ".", "datasetname", "=", "value", "and", "t1", ".", "keyphrasename", "=", "value", "and", "t2", ".", "year", "=", "value", "and", "t6", ".", "venuename", "=", "value" ], "question": "quais artigos do ACL 2014 sobre Parsing usaram o Jeopardy! Questões ?", "question_toks": [ "quais", "artigos", "do", "ACL", "2014", "sobre", "Parsing", "usaram", "o", "Jeopardy", "!", "Questões", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 7 ], [ "table_unit", 2 ], [ "table_unit", 8 ], [ "table_unit", 5 ], [ "table_unit", 0 ], [ "table_unit", 4 ] ], "conds": [ [ false, 2, [ 0, [ 0, 21, false ], null ], [ 0, 5, false ], null ], "and", [ false, 2, [ 0, [ 0, 22, false ], null ], [ 0, 20, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 20, false ], null ], "and", [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ], "and", [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 6, false ], null ], "\"Jeopardy! Questions\"", null ], "and", [ false, 2, [ 0, [ 0, 10, false ], null ], "\"Parsing\"", null ], "and", [ false, 2, [ 0, [ 0, 14, false ], null ], 2014.0, null ], "and", [ false, 2, [ 0, [ 0, 2, false ], null ], "\"ACL\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t2.paperid FROM paperdataset AS t3 JOIN dataset AS t5 ON t3.datasetid = t5.datasetid JOIN paperkeyphrase AS t4 ON t4.paperid = t3.paperid JOIN paper AS t2 ON t2.paperid = t3.paperid JOIN venue AS t6 ON t6.venueid = t2.venueid JOIN keyphrase AS t1 ON t4.keyphraseid = t1.keyphraseid WHERE t5.datasetname = \"Jeopardy! Questions\" AND t1.keyphrasename = \"Parsing\" AND t2.year = 2014 AND t6.venuename = \"ACL\";", "query_toks": [ "SELECT", "DISTINCT", "t2.paperid", "FROM", "paperdataset", "AS", "t3", "JOIN", "dataset", "AS", "t5", "ON", "t3.datasetid", "=", "t5.datasetid", "JOIN", "paperkeyphrase", "AS", "t4", "ON", "t4.paperid", "=", "t3.paperid", "JOIN", "paper", "AS", "t2", "ON", "t2.paperid", "=", "t3.paperid", "JOIN", "venue", "AS", "t6", "ON", "t6.venueid", "=", "t2.venueid", "JOIN", "keyphrase", "AS", "t1", "ON", "t4.keyphraseid", "=", "t1.keyphraseid", "WHERE", "t5.datasetname", "=", "``", "Jeopardy", "!", "Questions", "''", "AND", "t1.keyphrasename", "=", "``", "Parsing", "''", "AND", "t2.year", "=", "2014", "AND", "t6.venuename", "=", "``", "ACL", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t2", ".", "paperid", "from", "paperdataset", "as", "t3", "join", "dataset", "as", "t5", "on", "t3", ".", "datasetid", "=", "t5", ".", "datasetid", "join", "paperkeyphrase", "as", "t4", "on", "t4", ".", "paperid", "=", "t3", ".", "paperid", "join", "paper", "as", "t2", "on", "t2", ".", "paperid", "=", "t3", ".", "paperid", "join", "venue", "as", "t6", "on", "t6", ".", "venueid", "=", "t2", ".", "venueid", "join", "keyphrase", "as", "t1", "on", "t4", ".", "keyphraseid", "=", "t1", ".", "keyphraseid", "where", "t5", ".", "datasetname", "=", "value", "and", "t1", ".", "keyphrasename", "=", "value", "and", "t2", ".", "year", "=", "value", "and", "t6", ".", "venuename", "=", "value" ], "question": "Analisando papéis usando Jeopardy! Perguntas publicadas na ACL 2014", "question_toks": [ "Analisando", "papéis", "usando", "Jeopardy", "!", "Perguntas", "publicadas", "na", "ACL", "2014" ], "sql": { "from": { "table_units": [ [ "table_unit", 7 ], [ "table_unit", 2 ], [ "table_unit", 8 ], [ "table_unit", 5 ], [ "table_unit", 0 ], [ "table_unit", 4 ] ], "conds": [ [ false, 2, [ 0, [ 0, 21, false ], null ], [ 0, 5, false ], null ], "and", [ false, 2, [ 0, [ 0, 22, false ], null ], [ 0, 20, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 20, false ], null ], "and", [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ], "and", [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 6, false ], null ], "\"Jeopardy! Questions\"", null ], "and", [ false, 2, [ 0, [ 0, 10, false ], null ], "\"Parsing\"", null ], "and", [ false, 2, [ 0, [ 0, 14, false ], null ], 2014.0, null ], "and", [ false, 2, [ 0, [ 0, 2, false ], null ], "\"ACL\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t2.paperid FROM paperdataset AS t3 JOIN dataset AS t5 ON t3.datasetid = t5.datasetid JOIN paperkeyphrase AS t4 ON t4.paperid = t3.paperid JOIN paper AS t2 ON t2.paperid = t3.paperid JOIN venue AS t6 ON t6.venueid = t2.venueid JOIN keyphrase AS t1 ON t4.keyphraseid = t1.keyphraseid WHERE t5.datasetname = \"Jeopardy! Questions\" AND t1.keyphrasename = \"Parsing\" AND t2.year = 2014 AND t6.venuename = \"ACL\";", "query_toks": [ "SELECT", "DISTINCT", "t2.paperid", "FROM", "paperdataset", "AS", "t3", "JOIN", "dataset", "AS", "t5", "ON", "t3.datasetid", "=", "t5.datasetid", "JOIN", "paperkeyphrase", "AS", "t4", "ON", "t4.paperid", "=", "t3.paperid", "JOIN", "paper", "AS", "t2", "ON", "t2.paperid", "=", "t3.paperid", "JOIN", "venue", "AS", "t6", "ON", "t6.venueid", "=", "t2.venueid", "JOIN", "keyphrase", "AS", "t1", "ON", "t4.keyphraseid", "=", "t1.keyphraseid", "WHERE", "t5.datasetname", "=", "``", "Jeopardy", "!", "Questions", "''", "AND", "t1.keyphrasename", "=", "``", "Parsing", "''", "AND", "t2.year", "=", "2014", "AND", "t6.venuename", "=", "``", "ACL", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t2", ".", "paperid", "from", "paperdataset", "as", "t3", "join", "dataset", "as", "t5", "on", "t3", ".", "datasetid", "=", "t5", ".", "datasetid", "join", "paperkeyphrase", "as", "t4", "on", "t4", ".", "paperid", "=", "t3", ".", "paperid", "join", "paper", "as", "t2", "on", "t2", ".", "paperid", "=", "t3", ".", "paperid", "join", "venue", "as", "t6", "on", "t6", ".", "venueid", "=", "t2", ".", "venueid", "join", "keyphrase", "as", "t1", "on", "t4", ".", "keyphraseid", "=", "t1", ".", "keyphraseid", "where", "t5", ".", "datasetname", "=", "value", "and", "t1", ".", "keyphrasename", "=", "value", "and", "t2", ".", "year", "=", "value", "and", "t6", ".", "venuename", "=", "value" ], "question": "Análise de papéis do ACL 2014 usando Jeopardy! Questões", "question_toks": [ "Análise", "de", "papéis", "do", "ACL", "2014", "usando", "Jeopardy", "!", "Questões" ], "sql": { "from": { "table_units": [ [ "table_unit", 7 ], [ "table_unit", 2 ], [ "table_unit", 8 ], [ "table_unit", 5 ], [ "table_unit", 0 ], [ "table_unit", 4 ] ], "conds": [ [ false, 2, [ 0, [ 0, 21, false ], null ], [ 0, 5, false ], null ], "and", [ false, 2, [ 0, [ 0, 22, false ], null ], [ 0, 20, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 20, false ], null ], "and", [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ], "and", [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 6, false ], null ], "\"Jeopardy! Questions\"", null ], "and", [ false, 2, [ 0, [ 0, 10, false ], null ], "\"Parsing\"", null ], "and", [ false, 2, [ 0, [ 0, 14, false ], null ], 2014.0, null ], "and", [ false, 2, [ 0, [ 0, 2, false ], null ], "\"ACL\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t2.paperid FROM paperdataset AS t3 JOIN dataset AS t5 ON t3.datasetid = t5.datasetid JOIN paperkeyphrase AS t4 ON t4.paperid = t3.paperid JOIN paper AS t2 ON t2.paperid = t3.paperid JOIN venue AS t6 ON t6.venueid = t2.venueid JOIN keyphrase AS t1 ON t4.keyphraseid = t1.keyphraseid WHERE t5.datasetname = \"Jeopardy! Questions\" AND t1.keyphrasename = \"Parsing\" AND t2.year = 2014 AND t6.venuename = \"ACL\";", "query_toks": [ "SELECT", "DISTINCT", "t2.paperid", "FROM", "paperdataset", "AS", "t3", "JOIN", "dataset", "AS", "t5", "ON", "t3.datasetid", "=", "t5.datasetid", "JOIN", "paperkeyphrase", "AS", "t4", "ON", "t4.paperid", "=", "t3.paperid", "JOIN", "paper", "AS", "t2", "ON", "t2.paperid", "=", "t3.paperid", "JOIN", "venue", "AS", "t6", "ON", "t6.venueid", "=", "t2.venueid", "JOIN", "keyphrase", "AS", "t1", "ON", "t4.keyphraseid", "=", "t1.keyphraseid", "WHERE", "t5.datasetname", "=", "``", "Jeopardy", "!", "Questions", "''", "AND", "t1.keyphrasename", "=", "``", "Parsing", "''", "AND", "t2.year", "=", "2014", "AND", "t6.venuename", "=", "``", "ACL", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t2", ".", "paperid", "from", "paperdataset", "as", "t3", "join", "dataset", "as", "t5", "on", "t3", ".", "datasetid", "=", "t5", ".", "datasetid", "join", "paperkeyphrase", "as", "t4", "on", "t4", ".", "paperid", "=", "t3", ".", "paperid", "join", "paper", "as", "t2", "on", "t2", ".", "paperid", "=", "t3", ".", "paperid", "join", "venue", "as", "t6", "on", "t6", ".", "venueid", "=", "t2", ".", "venueid", "join", "keyphrase", "as", "t1", "on", "t4", ".", "keyphraseid", "=", "t1", ".", "keyphraseid", "where", "t5", ".", "datasetname", "=", "value", "and", "t1", ".", "keyphrasename", "=", "value", "and", "t2", ".", "year", "=", "value", "and", "t6", ".", "venuename", "=", "value" ], "question": "Analisando papéis do ACL 2014 que usavam o Jeopardy! Questões", "question_toks": [ "Analisando", "papéis", "do", "ACL", "2014", "que", "usavam", "o", "Jeopardy", "!", "Questões" ], "sql": { "from": { "table_units": [ [ "table_unit", 7 ], [ "table_unit", 2 ], [ "table_unit", 8 ], [ "table_unit", 5 ], [ "table_unit", 0 ], [ "table_unit", 4 ] ], "conds": [ [ false, 2, [ 0, [ 0, 21, false ], null ], [ 0, 5, false ], null ], "and", [ false, 2, [ 0, [ 0, 22, false ], null ], [ 0, 20, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 20, false ], null ], "and", [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ], "and", [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 6, false ], null ], "\"Jeopardy! Questions\"", null ], "and", [ false, 2, [ 0, [ 0, 10, false ], null ], "\"Parsing\"", null ], "and", [ false, 2, [ 0, [ 0, 14, false ], null ], 2014.0, null ], "and", [ false, 2, [ 0, [ 0, 2, false ], null ], "\"ACL\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t2.paperid FROM paperdataset AS t3 JOIN dataset AS t5 ON t3.datasetid = t5.datasetid JOIN paperkeyphrase AS t4 ON t4.paperid = t3.paperid JOIN paper AS t2 ON t2.paperid = t3.paperid JOIN venue AS t6 ON t6.venueid = t2.venueid JOIN keyphrase AS t1 ON t4.keyphraseid = t1.keyphraseid WHERE t5.datasetname = \"Jeopardy! Questions\" AND t1.keyphrasename = \"Parsing\" AND t2.year = 2014 AND t6.venuename = \"ACL\";", "query_toks": [ "SELECT", "DISTINCT", "t2.paperid", "FROM", "paperdataset", "AS", "t3", "JOIN", "dataset", "AS", "t5", "ON", "t3.datasetid", "=", "t5.datasetid", "JOIN", "paperkeyphrase", "AS", "t4", "ON", "t4.paperid", "=", "t3.paperid", "JOIN", "paper", "AS", "t2", "ON", "t2.paperid", "=", "t3.paperid", "JOIN", "venue", "AS", "t6", "ON", "t6.venueid", "=", "t2.venueid", "JOIN", "keyphrase", "AS", "t1", "ON", "t4.keyphraseid", "=", "t1.keyphraseid", "WHERE", "t5.datasetname", "=", "``", "Jeopardy", "!", "Questions", "''", "AND", "t1.keyphrasename", "=", "``", "Parsing", "''", "AND", "t2.year", "=", "2014", "AND", "t6.venuename", "=", "``", "ACL", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t2", ".", "paperid", "from", "paperdataset", "as", "t3", "join", "dataset", "as", "t5", "on", "t3", ".", "datasetid", "=", "t5", ".", "datasetid", "join", "paperkeyphrase", "as", "t4", "on", "t4", ".", "paperid", "=", "t3", ".", "paperid", "join", "paper", "as", "t2", "on", "t2", ".", "paperid", "=", "t3", ".", "paperid", "join", "venue", "as", "t6", "on", "t6", ".", "venueid", "=", "t2", ".", "venueid", "join", "keyphrase", "as", "t1", "on", "t4", ".", "keyphraseid", "=", "t1", ".", "keyphraseid", "where", "t5", ".", "datasetname", "=", "value", "and", "t1", ".", "keyphrasename", "=", "value", "and", "t2", ".", "year", "=", "value", "and", "t6", ".", "venuename", "=", "value" ], "question": "artigos sobre análise que usaram Jeopardy! Perguntas e foram publicadas na ACL 2014", "question_toks": [ "artigos", "sobre", "análise", "que", "usaram", "Jeopardy", "!", "Perguntas", "e", "foram", "publicadas", "na", "ACL", "2014" ], "sql": { "from": { "table_units": [ [ "table_unit", 7 ], [ "table_unit", 2 ], [ "table_unit", 8 ], [ "table_unit", 5 ], [ "table_unit", 0 ], [ "table_unit", 4 ] ], "conds": [ [ false, 2, [ 0, [ 0, 21, false ], null ], [ 0, 5, false ], null ], "and", [ false, 2, [ 0, [ 0, 22, false ], null ], [ 0, 20, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 20, false ], null ], "and", [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ], "and", [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 6, false ], null ], "\"Jeopardy! Questions\"", null ], "and", [ false, 2, [ 0, [ 0, 10, false ], null ], "\"Parsing\"", null ], "and", [ false, 2, [ 0, [ 0, 14, false ], null ], 2014.0, null ], "and", [ false, 2, [ 0, [ 0, 2, false ], null ], "\"ACL\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t2.journalid FROM paper AS t3 JOIN journal AS t2 ON t3.journalid = t2.journalid JOIN writes AS t4 ON t4.paperid = t3.paperid JOIN author AS t1 ON t4.authorid = t1.authorid WHERE t1.authorname = \"linda shapiro\";", "query_toks": [ "SELECT", "DISTINCT", "t2.journalid", "FROM", "paper", "AS", "t3", "JOIN", "journal", "AS", "t2", "ON", "t3.journalid", "=", "t2.journalid", "JOIN", "writes", "AS", "t4", "ON", "t4.paperid", "=", "t3.paperid", "JOIN", "author", "AS", "t1", "ON", "t4.authorid", "=", "t1.authorid", "WHERE", "t1.authorname", "=", "``", "linda", "shapiro", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t2", ".", "journalid", "from", "paper", "as", "t3", "join", "journal", "as", "t2", "on", "t3", ".", "journalid", "=", "t2", ".", "journalid", "join", "writes", "as", "t4", "on", "t4", ".", "paperid", "=", "t3", ".", "paperid", "join", "author", "as", "t1", "on", "t4", ".", "authorid", "=", "t1", ".", "authorid", "where", "t1", ".", "authorname", "=", "value" ], "question": "em que periódicos publica linda shapiro?", "question_toks": [ "em", "que", "periódicos", "publica", "linda", "shapiro", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 5 ], [ "table_unit", 3 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 17, false ], null ], [ 0, 7, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 7, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"linda shapiro\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t2.journalid FROM paper AS t3 JOIN journal AS t2 ON t3.journalid = t2.journalid JOIN writes AS t4 ON t4.paperid = t3.paperid JOIN author AS t1 ON t4.authorid = t1.authorid WHERE t1.authorname = \"linda shapiro\";", "query_toks": [ "SELECT", "DISTINCT", "t2.journalid", "FROM", "paper", "AS", "t3", "JOIN", "journal", "AS", "t2", "ON", "t3.journalid", "=", "t2.journalid", "JOIN", "writes", "AS", "t4", "ON", "t4.paperid", "=", "t3.paperid", "JOIN", "author", "AS", "t1", "ON", "t4.authorid", "=", "t1.authorid", "WHERE", "t1.authorname", "=", "``", "linda", "shapiro", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t2", ".", "journalid", "from", "paper", "as", "t3", "join", "journal", "as", "t2", "on", "t3", ".", "journalid", "=", "t2", ".", "journalid", "join", "writes", "as", "t4", "on", "t4", ".", "paperid", "=", "t3", ".", "paperid", "join", "author", "as", "t1", "on", "t4", ".", "authorid", "=", "t1", ".", "authorid", "where", "t1", ".", "authorname", "=", "value" ], "question": "Para quais periódicos linda shapiro submeteu artigos?", "question_toks": [ "Para", "quais", "periódicos", "linda", "shapiro", "submeteu", "artigos", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 5 ], [ "table_unit", 3 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 17, false ], null ], [ 0, 7, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 7, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"linda shapiro\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t1.authorid FROM venue AS t3 JOIN paper AS t2 ON t3.venueid = t2.venueid JOIN writes AS t1 ON t1.paperid = t2.paperid WHERE t3.venuename = \"NIPS\";", "query_toks": [ "SELECT", "DISTINCT", "t1.authorid", "FROM", "venue", "AS", "t3", "JOIN", "paper", "AS", "t2", "ON", "t3.venueid", "=", "t2.venueid", "JOIN", "writes", "AS", "t1", "ON", "t1.paperid", "=", "t2.paperid", "WHERE", "t3.venuename", "=", "``", "NIPS", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t1", ".", "authorid", "from", "venue", "as", "t3", "join", "paper", "as", "t2", "on", "t3", ".", "venueid", "=", "t2", ".", "venueid", "join", "writes", "as", "t1", "on", "t1", ".", "paperid", "=", "t2", ".", "paperid", "where", "t3", ".", "venuename", "=", "value" ], "question": "Autores do NIPS", "question_toks": [ "Autores", "do", "NIPS" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ], [ "table_unit", 5 ], [ "table_unit", 9 ] ], "conds": [ [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 25, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 2, false ], null ], "\"NIPS\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t1.authorid FROM venue AS t3 JOIN paper AS t2 ON t3.venueid = t2.venueid JOIN writes AS t1 ON t1.paperid = t2.paperid WHERE t3.venuename = \"NIPS\";", "query_toks": [ "SELECT", "DISTINCT", "t1.authorid", "FROM", "venue", "AS", "t3", "JOIN", "paper", "AS", "t2", "ON", "t3.venueid", "=", "t2.venueid", "JOIN", "writes", "AS", "t1", "ON", "t1.paperid", "=", "t2.paperid", "WHERE", "t3.venuename", "=", "``", "NIPS", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t1", ".", "authorid", "from", "venue", "as", "t3", "join", "paper", "as", "t2", "on", "t3", ".", "venueid", "=", "t2", ".", "venueid", "join", "writes", "as", "t1", "on", "t1", ".", "paperid", "=", "t2", ".", "paperid", "where", "t3", ".", "venuename", "=", "value" ], "question": "quem são os autores do NIPS?", "question_toks": [ "quem", "são", "os", "autores", "do", "NIPS", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ], [ "table_unit", 5 ], [ "table_unit", 9 ] ], "conds": [ [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 25, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 2, false ], null ], "\"NIPS\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t1.authorid FROM venue AS t3 JOIN paper AS t2 ON t3.venueid = t2.venueid JOIN writes AS t1 ON t1.paperid = t2.paperid WHERE t3.venuename = \"NIPS\";", "query_toks": [ "SELECT", "DISTINCT", "t1.authorid", "FROM", "venue", "AS", "t3", "JOIN", "paper", "AS", "t2", "ON", "t3.venueid", "=", "t2.venueid", "JOIN", "writes", "AS", "t1", "ON", "t1.paperid", "=", "t2.paperid", "WHERE", "t3.venuename", "=", "``", "NIPS", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t1", ".", "authorid", "from", "venue", "as", "t3", "join", "paper", "as", "t2", "on", "t3", ".", "venueid", "=", "t2", ".", "venueid", "join", "writes", "as", "t1", "on", "t1", ".", "paperid", "=", "t2", ".", "paperid", "where", "t3", ".", "venuename", "=", "value" ], "question": "quem é o autor de artigos no NIPS?", "question_toks": [ "quem", "é", "o", "autor", "de", "artigos", "no", "NIPS", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ], [ "table_unit", 5 ], [ "table_unit", 9 ] ], "conds": [ [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 25, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 2, false ], null ], "\"NIPS\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t1.authorid FROM venue AS t3 JOIN paper AS t2 ON t3.venueid = t2.venueid JOIN writes AS t1 ON t1.paperid = t2.paperid WHERE t3.venuename = \"NIPS\";", "query_toks": [ "SELECT", "DISTINCT", "t1.authorid", "FROM", "venue", "AS", "t3", "JOIN", "paper", "AS", "t2", "ON", "t3.venueid", "=", "t2.venueid", "JOIN", "writes", "AS", "t1", "ON", "t1.paperid", "=", "t2.paperid", "WHERE", "t3.venuename", "=", "``", "NIPS", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t1", ".", "authorid", "from", "venue", "as", "t3", "join", "paper", "as", "t2", "on", "t3", ".", "venueid", "=", "t2", ".", "venueid", "join", "writes", "as", "t1", "on", "t1", ".", "paperid", "=", "t2", ".", "paperid", "where", "t3", ".", "venuename", "=", "value" ], "question": "quem publica no NIPS?", "question_toks": [ "quem", "publica", "no", "NIPS", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ], [ "table_unit", 5 ], [ "table_unit", 9 ] ], "conds": [ [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 25, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 2, false ], null ], "\"NIPS\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t1.authorid FROM venue AS t3 JOIN paper AS t2 ON t3.venueid = t2.venueid JOIN writes AS t1 ON t1.paperid = t2.paperid WHERE t3.venuename = \"NIPS\";", "query_toks": [ "SELECT", "DISTINCT", "t1.authorid", "FROM", "venue", "AS", "t3", "JOIN", "paper", "AS", "t2", "ON", "t3.venueid", "=", "t2.venueid", "JOIN", "writes", "AS", "t1", "ON", "t1.paperid", "=", "t2.paperid", "WHERE", "t3.venuename", "=", "``", "NIPS", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t1", ".", "authorid", "from", "venue", "as", "t3", "join", "paper", "as", "t2", "on", "t3", ".", "venueid", "=", "t2", ".", "venueid", "join", "writes", "as", "t1", "on", "t1", ".", "paperid", "=", "t2", ".", "paperid", "where", "t3", ".", "venuename", "=", "value" ], "question": "quem tem papéis no NIPS?", "question_toks": [ "quem", "tem", "papéis", "no", "NIPS", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ], [ "table_unit", 5 ], [ "table_unit", 9 ] ], "conds": [ [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 25, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 2, false ], null ], "\"NIPS\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT COUNT ( t3.paperid ) , t4.venueid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid JOIN venue AS t4 ON t4.venueid = t3.venueid WHERE t1.keyphrasename = \"deep learning\" GROUP BY t4.venueid ORDER BY COUNT ( t3.paperid ) DESC;", "query_toks": [ "SELECT", "DISTINCT", "COUNT", "(", "t3.paperid", ")", ",", "t4.venueid", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t1", "ON", "t2.keyphraseid", "=", "t1.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "JOIN", "venue", "AS", "t4", "ON", "t4.venueid", "=", "t3.venueid", "WHERE", "t1.keyphrasename", "=", "``", "deep", "learning", "''", "GROUP", "BY", "t4.venueid", "ORDER", "BY", "COUNT", "(", "t3.paperid", ")", "DESC", ";" ], "query_toks_no_value": [ "select", "distinct", "count", "(", "t3", ".", "paperid", ")", ",", "t4", ".", "venueid", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t1", "on", "t2", ".", "keyphraseid", "=", "t1", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "join", "venue", "as", "t4", "on", "t4", ".", "venueid", "=", "t3", ".", "venueid", "where", "t1", ".", "keyphrasename", "=", "value", "group", "by", "t4", ".", "venueid", "order", "by", "count", "(", "t3", ".", "paperid", ")", "desc" ], "question": "qual local publica mais artigos sobre aprendizagem profunda", "question_toks": [ "qual", "local", "publica", "mais", "artigos", "sobre", "aprendizagem", "profunda" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ], "and", [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ] ] }, "select": [ true, [ [ 3, [ 0, [ 0, 11, false ], null ] ], [ 0, [ 0, [ 0, 1, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"deep learning\"", null ] ], "groupBy": [ [ 0, 1, false ] ], "having": [], "orderBy": [ "desc", [ [ 0, [ 3, 11, false ], null ] ] ], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT COUNT ( t3.paperid ) FROM paper AS t3 JOIN journal AS t2 ON t3.journalid = t2.journalid JOIN paperkeyphrase AS t1 ON t3.paperid = t1.paperid WHERE t2.journalname = \"Cell\" AND t3.year = 2015;", "query_toks": [ "SELECT", "DISTINCT", "COUNT", "(", "t3.paperid", ")", "FROM", "paper", "AS", "t3", "JOIN", "journal", "AS", "t2", "ON", "t3.journalid", "=", "t2.journalid", "JOIN", "paperkeyphrase", "AS", "t1", "ON", "t3.paperid", "=", "t1.paperid", "WHERE", "t2.journalname", "=", "``", "Cell", "''", "AND", "t3.year", "=", "2015", ";" ], "query_toks_no_value": [ "select", "distinct", "count", "(", "t3", ".", "paperid", ")", "from", "paper", "as", "t3", "join", "journal", "as", "t2", "on", "t3", ".", "journalid", "=", "t2", ".", "journalid", "join", "paperkeyphrase", "as", "t1", "on", "t3", ".", "paperid", "=", "t1", ".", "paperid", "where", "t2", ".", "journalname", "=", "value", "and", "t3", ".", "year", "=", "value" ], "question": "Quantas publicações foram adicionadas ao jornal Cell este ano?", "question_toks": [ "Quantas", "publicações", "foram", "adicionadas", "ao", "jornal", "Cell", "este", "ano", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 5 ], [ "table_unit", 3 ], [ "table_unit", 8 ] ], "conds": [ [ false, 2, [ 0, [ 0, 17, false ], null ], [ 0, 7, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ] ] }, "select": [ true, [ [ 3, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 8, false ], null ], "\"Cell\"", null ], "and", [ false, 2, [ 0, [ 0, 14, false ], null ], 2015.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT COUNT ( t3.paperid ) FROM paper AS t3 JOIN journal AS t2 ON t3.journalid = t2.journalid JOIN paperkeyphrase AS t1 ON t3.paperid = t1.paperid WHERE t2.journalname = \"Cell\" AND t3.year = 2015;", "query_toks": [ "SELECT", "DISTINCT", "COUNT", "(", "t3.paperid", ")", "FROM", "paper", "AS", "t3", "JOIN", "journal", "AS", "t2", "ON", "t3.journalid", "=", "t2.journalid", "JOIN", "paperkeyphrase", "AS", "t1", "ON", "t3.paperid", "=", "t1.paperid", "WHERE", "t2.journalname", "=", "``", "Cell", "''", "AND", "t3.year", "=", "2015", ";" ], "query_toks_no_value": [ "select", "distinct", "count", "(", "t3", ".", "paperid", ")", "from", "paper", "as", "t3", "join", "journal", "as", "t2", "on", "t3", ".", "journalid", "=", "t2", ".", "journalid", "join", "paperkeyphrase", "as", "t1", "on", "t3", ".", "paperid", "=", "t1", ".", "paperid", "where", "t2", ".", "journalname", "=", "value", "and", "t3", ".", "year", "=", "value" ], "question": "Quantos artigos foram publicados no Cell Journal em 2015?", "question_toks": [ "Quantos", "artigos", "foram", "publicados", "no", "Cell", "Journal", "em", "2015", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 5 ], [ "table_unit", 3 ], [ "table_unit", 8 ] ], "conds": [ [ false, 2, [ 0, [ 0, 17, false ], null ], [ 0, 7, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ] ] }, "select": [ true, [ [ 3, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 8, false ], null ], "\"Cell\"", null ], "and", [ false, 2, [ 0, [ 0, 14, false ], null ], 2015.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.title FROM writes AS t2 JOIN author AS t1 ON t2.authorid = t1.authorid JOIN paper AS t3 ON t2.paperid = t3.paperid WHERE t1.authorname = \"Donald E Knuth\";", "query_toks": [ "SELECT", "DISTINCT", "t3.title", "FROM", "writes", "AS", "t2", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "JOIN", "paper", "AS", "t3", "ON", "t2.paperid", "=", "t3.paperid", "WHERE", "t1.authorname", "=", "``", "Donald", "E", "Knuth", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "title", "from", "writes", "as", "t2", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "join", "paper", "as", "t3", "on", "t2", ".", "paperid", "=", "t3", ".", "paperid", "where", "t1", ".", "authorname", "=", "value" ], "question": "Quais são todos os títulos de publicações de Donald E Knuth?", "question_toks": [ "Quais", "são", "todos", "os", "títulos", "de", "publicações", "de", "Donald", "E", "Knuth", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 12, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Donald E Knuth\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid FROM venue AS t4 JOIN paper AS t3 ON t4.venueid = t3.venueid JOIN writes AS t2 ON t2.paperid = t3.paperid JOIN author AS t1 ON t2.authorid = t1.authorid WHERE t1.authorname = \"ali farhadi\" AND t3.year = 2016 AND t4.venuename = \"eccv\";", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", "FROM", "venue", "AS", "t4", "JOIN", "paper", "AS", "t3", "ON", "t4.venueid", "=", "t3.venueid", "JOIN", "writes", "AS", "t2", "ON", "t2.paperid", "=", "t3.paperid", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "WHERE", "t1.authorname", "=", "``", "ali", "farhadi", "''", "AND", "t3.year", "=", "2016", "AND", "t4.venuename", "=", "``", "eccv", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", "from", "venue", "as", "t4", "join", "paper", "as", "t3", "on", "t4", ".", "venueid", "=", "t3", ".", "venueid", "join", "writes", "as", "t2", "on", "t2", ".", "paperid", "=", "t3", ".", "paperid", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "where", "t1", ".", "authorname", "=", "value", "and", "t3", ".", "year", "=", "value", "and", "t4", ".", "venuename", "=", "value" ], "question": "artigos publicados em eccv 2016 por ali farhadi", "question_toks": [ "artigos", "publicados", "em", "eccv", "2016", "por", "ali", "farhadi" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ], [ "table_unit", 5 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"ali farhadi\"", null ], "and", [ false, 2, [ 0, [ 0, 14, false ], null ], 2016.0, null ], "and", [ false, 2, [ 0, [ 0, 2, false ], null ], "\"eccv\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid FROM venue AS t4 JOIN paper AS t3 ON t4.venueid = t3.venueid JOIN writes AS t2 ON t2.paperid = t3.paperid JOIN author AS t1 ON t2.authorid = t1.authorid WHERE t1.authorname = \"ali farhadi\" AND t3.year = 2016 AND t4.venuename = \"eccv\";", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", "FROM", "venue", "AS", "t4", "JOIN", "paper", "AS", "t3", "ON", "t4.venueid", "=", "t3.venueid", "JOIN", "writes", "AS", "t2", "ON", "t2.paperid", "=", "t3.paperid", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "WHERE", "t1.authorname", "=", "``", "ali", "farhadi", "''", "AND", "t3.year", "=", "2016", "AND", "t4.venuename", "=", "``", "eccv", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", "from", "venue", "as", "t4", "join", "paper", "as", "t3", "on", "t4", ".", "venueid", "=", "t3", ".", "venueid", "join", "writes", "as", "t2", "on", "t2", ".", "paperid", "=", "t3", ".", "paperid", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "where", "t1", ".", "authorname", "=", "value", "and", "t3", ".", "year", "=", "value", "and", "t4", ".", "venuename", "=", "value" ], "question": "Ali farhadi tem um artigo na eccv em 2016?", "question_toks": [ "Ali", "farhadi", "tem", "um", "artigo", "na", "eccv", "em", "2016", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ], [ "table_unit", 5 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"ali farhadi\"", null ], "and", [ false, 2, [ 0, [ 0, 14, false ], null ], 2016.0, null ], "and", [ false, 2, [ 0, [ 0, 2, false ], null ], "\"eccv\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid FROM venue AS t4 JOIN paper AS t3 ON t4.venueid = t3.venueid JOIN writes AS t2 ON t2.paperid = t3.paperid JOIN author AS t1 ON t2.authorid = t1.authorid WHERE t1.authorname = \"ali farhadi\" AND t3.year = 2016 AND t4.venuename = \"eccv\";", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", "FROM", "venue", "AS", "t4", "JOIN", "paper", "AS", "t3", "ON", "t4.venueid", "=", "t3.venueid", "JOIN", "writes", "AS", "t2", "ON", "t2.paperid", "=", "t3.paperid", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "WHERE", "t1.authorname", "=", "``", "ali", "farhadi", "''", "AND", "t3.year", "=", "2016", "AND", "t4.venuename", "=", "``", "eccv", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", "from", "venue", "as", "t4", "join", "paper", "as", "t3", "on", "t4", ".", "venueid", "=", "t3", ".", "venueid", "join", "writes", "as", "t2", "on", "t2", ".", "paperid", "=", "t3", ".", "paperid", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "where", "t1", ".", "authorname", "=", "value", "and", "t3", ".", "year", "=", "value", "and", "t4", ".", "venuename", "=", "value" ], "question": "artigos de ali farhadi em eccv 2016", "question_toks": [ "artigos", "de", "ali", "farhadi", "em", "eccv", "2016" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ], [ "table_unit", 5 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"ali farhadi\"", null ], "and", [ false, 2, [ 0, [ 0, 14, false ], null ], 2016.0, null ], "and", [ false, 2, [ 0, [ 0, 2, false ], null ], "\"eccv\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t2.paperid FROM paperdataset AS t3 JOIN dataset AS t1 ON t3.datasetid = t1.datasetid JOIN paperkeyphrase AS t2 ON t2.paperid = t3.paperid JOIN keyphrase AS t4 ON t2.keyphraseid = t4.keyphraseid WHERE t1.datasetname = \"YAGO\" AND t4.keyphrasename = \"Semantic Data\";", "query_toks": [ "SELECT", "DISTINCT", "t2.paperid", "FROM", "paperdataset", "AS", "t3", "JOIN", "dataset", "AS", "t1", "ON", "t3.datasetid", "=", "t1.datasetid", "JOIN", "paperkeyphrase", "AS", "t2", "ON", "t2.paperid", "=", "t3.paperid", "JOIN", "keyphrase", "AS", "t4", "ON", "t2.keyphraseid", "=", "t4.keyphraseid", "WHERE", "t1.datasetname", "=", "``", "YAGO", "''", "AND", "t4.keyphrasename", "=", "``", "Semantic", "Data", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t2", ".", "paperid", "from", "paperdataset", "as", "t3", "join", "dataset", "as", "t1", "on", "t3", ".", "datasetid", "=", "t1", ".", "datasetid", "join", "paperkeyphrase", "as", "t2", "on", "t2", ".", "paperid", "=", "t3", ".", "paperid", "join", "keyphrase", "as", "t4", "on", "t2", ".", "keyphraseid", "=", "t4", ".", "keyphraseid", "where", "t1", ".", "datasetname", "=", "value", "and", "t4", ".", "keyphrasename", "=", "value" ], "question": "Quais são alguns artigos que tratam de dados semânticos em YAGO?", "question_toks": [ "Quais", "são", "alguns", "artigos", "que", "tratam", "de", "dados", "semânticos", "em", "YAGO", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 7 ], [ "table_unit", 2 ], [ "table_unit", 8 ], [ "table_unit", 4 ] ], "conds": [ [ false, 2, [ 0, [ 0, 21, false ], null ], [ 0, 5, false ], null ], "and", [ false, 2, [ 0, [ 0, 22, false ], null ], [ 0, 20, false ], null ], "and", [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 22, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 6, false ], null ], "\"YAGO\"", null ], "and", [ false, 2, [ 0, [ 0, 10, false ], null ], "\"Semantic Data\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT COUNT ( DISTINCT t2.paperid ) , t1.authorid FROM venue AS t3 JOIN paper AS t2 ON t3.venueid = t2.venueid JOIN writes AS t1 ON t1.paperid = t2.paperid WHERE t3.venuename = \"chi\" GROUP BY t1.authorid ORDER BY COUNT ( DISTINCT t2.paperid ) DESC;", "query_toks": [ "SELECT", "DISTINCT", "COUNT", "(", "DISTINCT", "t2.paperid", ")", ",", "t1.authorid", "FROM", "venue", "AS", "t3", "JOIN", "paper", "AS", "t2", "ON", "t3.venueid", "=", "t2.venueid", "JOIN", "writes", "AS", "t1", "ON", "t1.paperid", "=", "t2.paperid", "WHERE", "t3.venuename", "=", "``", "chi", "''", "GROUP", "BY", "t1.authorid", "ORDER", "BY", "COUNT", "(", "DISTINCT", "t2.paperid", ")", "DESC", ";" ], "query_toks_no_value": [ "select", "distinct", "count", "(", "distinct", "t2", ".", "paperid", ")", ",", "t1", ".", "authorid", "from", "venue", "as", "t3", "join", "paper", "as", "t2", "on", "t3", ".", "venueid", "=", "t2", ".", "venueid", "join", "writes", "as", "t1", "on", "t1", ".", "paperid", "=", "t2", ".", "paperid", "where", "t3", ".", "venuename", "=", "value", "group", "by", "t1", ".", "authorid", "order", "by", "count", "(", "distinct", "t2", ".", "paperid", ")", "desc" ], "question": "Quem publicou mais artigos em chi?", "question_toks": [ "Quem", "publicou", "mais", "artigos", "em", "chi", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ], [ "table_unit", 5 ], [ "table_unit", 9 ] ], "conds": [ [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ] ] }, "select": [ true, [ [ 3, [ 0, [ 0, 11, true ], null ] ], [ 0, [ 0, [ 0, 25, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 2, false ], null ], "\"chi\"", null ] ], "groupBy": [ [ 0, 25, false ] ], "having": [], "orderBy": [ "desc", [ [ 0, [ 3, 11, true ], null ] ] ], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT COUNT ( DISTINCT t2.paperid ) , t1.authorid FROM venue AS t3 JOIN paper AS t2 ON t3.venueid = t2.venueid JOIN writes AS t1 ON t1.paperid = t2.paperid WHERE t3.venuename = \"chi\" GROUP BY t1.authorid ORDER BY COUNT ( DISTINCT t2.paperid ) DESC;", "query_toks": [ "SELECT", "DISTINCT", "COUNT", "(", "DISTINCT", "t2.paperid", ")", ",", "t1.authorid", "FROM", "venue", "AS", "t3", "JOIN", "paper", "AS", "t2", "ON", "t3.venueid", "=", "t2.venueid", "JOIN", "writes", "AS", "t1", "ON", "t1.paperid", "=", "t2.paperid", "WHERE", "t3.venuename", "=", "``", "chi", "''", "GROUP", "BY", "t1.authorid", "ORDER", "BY", "COUNT", "(", "DISTINCT", "t2.paperid", ")", "DESC", ";" ], "query_toks_no_value": [ "select", "distinct", "count", "(", "distinct", "t2", ".", "paperid", ")", ",", "t1", ".", "authorid", "from", "venue", "as", "t3", "join", "paper", "as", "t2", "on", "t3", ".", "venueid", "=", "t2", ".", "venueid", "join", "writes", "as", "t1", "on", "t1", ".", "paperid", "=", "t2", ".", "paperid", "where", "t3", ".", "venuename", "=", "value", "group", "by", "t1", ".", "authorid", "order", "by", "count", "(", "distinct", "t2", ".", "paperid", ")", "desc" ], "question": "Quem escreveu mais artigos no chi?", "question_toks": [ "Quem", "escreveu", "mais", "artigos", "no", "chi", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ], [ "table_unit", 5 ], [ "table_unit", 9 ] ], "conds": [ [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ] ] }, "select": [ true, [ [ 3, [ 0, [ 0, 11, true ], null ] ], [ 0, [ 0, [ 0, 25, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 2, false ], null ], "\"chi\"", null ] ], "groupBy": [ [ 0, 25, false ] ], "having": [], "orderBy": [ "desc", [ [ 0, [ 3, 11, true ], null ] ] ], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT COUNT ( DISTINCT t2.paperid ) , t1.authorid FROM venue AS t3 JOIN paper AS t2 ON t3.venueid = t2.venueid JOIN writes AS t1 ON t1.paperid = t2.paperid WHERE t3.venuename = \"chi\" GROUP BY t1.authorid ORDER BY COUNT ( DISTINCT t2.paperid ) DESC;", "query_toks": [ "SELECT", "DISTINCT", "COUNT", "(", "DISTINCT", "t2.paperid", ")", ",", "t1.authorid", "FROM", "venue", "AS", "t3", "JOIN", "paper", "AS", "t2", "ON", "t3.venueid", "=", "t2.venueid", "JOIN", "writes", "AS", "t1", "ON", "t1.paperid", "=", "t2.paperid", "WHERE", "t3.venuename", "=", "``", "chi", "''", "GROUP", "BY", "t1.authorid", "ORDER", "BY", "COUNT", "(", "DISTINCT", "t2.paperid", ")", "DESC", ";" ], "query_toks_no_value": [ "select", "distinct", "count", "(", "distinct", "t2", ".", "paperid", ")", ",", "t1", ".", "authorid", "from", "venue", "as", "t3", "join", "paper", "as", "t2", "on", "t3", ".", "venueid", "=", "t2", ".", "venueid", "join", "writes", "as", "t1", "on", "t1", ".", "paperid", "=", "t2", ".", "paperid", "where", "t3", ".", "venuename", "=", "value", "group", "by", "t1", ".", "authorid", "order", "by", "count", "(", "distinct", "t2", ".", "paperid", ")", "desc" ], "question": "como é o autor mais prolífico em chi?", "question_toks": [ "como", "é", "o", "autor", "mais", "prolífico", "em", "chi", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ], [ "table_unit", 5 ], [ "table_unit", 9 ] ], "conds": [ [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ] ] }, "select": [ true, [ [ 3, [ 0, [ 0, 11, true ], null ] ], [ 0, [ 0, [ 0, 25, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 2, false ], null ], "\"chi\"", null ] ], "groupBy": [ [ 0, 25, false ] ], "having": [], "orderBy": [ "desc", [ [ 0, [ 3, 11, true ], null ] ] ], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT COUNT ( DISTINCT t2.paperid ) , t1.authorid FROM venue AS t3 JOIN paper AS t2 ON t3.venueid = t2.venueid JOIN writes AS t1 ON t1.paperid = t2.paperid WHERE t3.venuename = \"chi\" GROUP BY t1.authorid ORDER BY COUNT ( DISTINCT t2.paperid ) DESC;", "query_toks": [ "SELECT", "DISTINCT", "COUNT", "(", "DISTINCT", "t2.paperid", ")", ",", "t1.authorid", "FROM", "venue", "AS", "t3", "JOIN", "paper", "AS", "t2", "ON", "t3.venueid", "=", "t2.venueid", "JOIN", "writes", "AS", "t1", "ON", "t1.paperid", "=", "t2.paperid", "WHERE", "t3.venuename", "=", "``", "chi", "''", "GROUP", "BY", "t1.authorid", "ORDER", "BY", "COUNT", "(", "DISTINCT", "t2.paperid", ")", "DESC", ";" ], "query_toks_no_value": [ "select", "distinct", "count", "(", "distinct", "t2", ".", "paperid", ")", ",", "t1", ".", "authorid", "from", "venue", "as", "t3", "join", "paper", "as", "t2", "on", "t3", ".", "venueid", "=", "t2", ".", "venueid", "join", "writes", "as", "t1", "on", "t1", ".", "paperid", "=", "t2", ".", "paperid", "where", "t3", ".", "venuename", "=", "value", "group", "by", "t1", ".", "authorid", "order", "by", "count", "(", "distinct", "t2", ".", "paperid", ")", "desc" ], "question": "quem publicou mais no chi", "question_toks": [ "quem", "publicou", "mais", "no", "chi" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ], [ "table_unit", 5 ], [ "table_unit", 9 ] ], "conds": [ [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ] ] }, "select": [ true, [ [ 3, [ 0, [ 0, 11, true ], null ] ], [ 0, [ 0, [ 0, 25, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 2, false ], null ], "\"chi\"", null ] ], "groupBy": [ [ 0, 25, false ] ], "having": [], "orderBy": [ "desc", [ [ 0, [ 3, 11, true ], null ] ] ], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT COUNT ( DISTINCT t3.paperid ) , t3.year FROM writes AS t2 JOIN author AS t1 ON t2.authorid = t1.authorid JOIN paper AS t3 ON t2.paperid = t3.paperid WHERE t1.authorname LIKE \"Ye Cao\" GROUP BY t3.year ORDER BY COUNT ( DISTINCT t3.paperid ) DESC;", "query_toks": [ "SELECT", "DISTINCT", "COUNT", "(", "DISTINCT", "t3.paperid", ")", ",", "t3.year", "FROM", "writes", "AS", "t2", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "JOIN", "paper", "AS", "t3", "ON", "t2.paperid", "=", "t3.paperid", "WHERE", "t1.authorname", "LIKE", "``", "Ye", "Cao", "''", "GROUP", "BY", "t3.year", "ORDER", "BY", "COUNT", "(", "DISTINCT", "t3.paperid", ")", "DESC", ";" ], "query_toks_no_value": [ "select", "distinct", "count", "(", "distinct", "t3", ".", "paperid", ")", ",", "t3", ".", "year", "from", "writes", "as", "t2", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "join", "paper", "as", "t3", "on", "t2", ".", "paperid", "=", "t3", ".", "paperid", "where", "t1", ".", "authorname", "like", "value", "group", "by", "t3", ".", "year", "order", "by", "count", "(", "distinct", "t3", ".", "paperid", ")", "desc" ], "question": "Em que ano Ye Cao publicou mais artigos", "question_toks": [ "Em", "que", "ano", "Ye", "Cao", "publicou", "mais", "artigos" ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ] ] }, "select": [ true, [ [ 3, [ 0, [ 0, 11, true ], null ] ], [ 0, [ 0, [ 0, 14, false ], null ] ] ] ], "where": [ [ false, 9, [ 0, [ 0, 4, false ], null ], "\"Ye Cao\"", null ] ], "groupBy": [ [ 0, 14, false ] ], "having": [], "orderBy": [ "desc", [ [ 0, [ 3, 11, true ], null ] ] ], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT COUNT ( DISTINCT t3.paperid ) , t3.year FROM writes AS t2 JOIN author AS t1 ON t2.authorid = t1.authorid JOIN paper AS t3 ON t2.paperid = t3.paperid WHERE t1.authorname LIKE \"Ye Cao\" GROUP BY t3.year ORDER BY COUNT ( DISTINCT t3.paperid ) DESC;", "query_toks": [ "SELECT", "DISTINCT", "COUNT", "(", "DISTINCT", "t3.paperid", ")", ",", "t3.year", "FROM", "writes", "AS", "t2", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "JOIN", "paper", "AS", "t3", "ON", "t2.paperid", "=", "t3.paperid", "WHERE", "t1.authorname", "LIKE", "``", "Ye", "Cao", "''", "GROUP", "BY", "t3.year", "ORDER", "BY", "COUNT", "(", "DISTINCT", "t3.paperid", ")", "DESC", ";" ], "query_toks_no_value": [ "select", "distinct", "count", "(", "distinct", "t3", ".", "paperid", ")", ",", "t3", ".", "year", "from", "writes", "as", "t2", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "join", "paper", "as", "t3", "on", "t2", ".", "paperid", "=", "t3", ".", "paperid", "where", "t1", ".", "authorname", "like", "value", "group", "by", "t3", ".", "year", "order", "by", "count", "(", "distinct", "t3", ".", "paperid", ")", "desc" ], "question": "Em que ano Ye Cao publicou mais artigos", "question_toks": [ "Em", "que", "ano", "Ye", "Cao", "publicou", "mais", "artigos" ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ] ] }, "select": [ true, [ [ 3, [ 0, [ 0, 11, true ], null ] ], [ 0, [ 0, [ 0, 14, false ], null ] ] ] ], "where": [ [ false, 9, [ 0, [ 0, 4, false ], null ], "\"Ye Cao\"", null ] ], "groupBy": [ [ 0, 14, false ] ], "having": [], "orderBy": [ "desc", [ [ 0, [ 3, 11, true ], null ] ] ], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.venueid FROM paperdataset AS t2 JOIN dataset AS t1 ON t2.datasetid = t1.datasetid JOIN paper AS t3 ON t3.paperid = t2.paperid WHERE t1.datasetname = \"ImageNet\";", "query_toks": [ "SELECT", "DISTINCT", "t3.venueid", "FROM", "paperdataset", "AS", "t2", "JOIN", "dataset", "AS", "t1", "ON", "t2.datasetid", "=", "t1.datasetid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "WHERE", "t1.datasetname", "=", "``", "ImageNet", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "venueid", "from", "paperdataset", "as", "t2", "join", "dataset", "as", "t1", "on", "t2", ".", "datasetid", "=", "t1", ".", "datasetid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "where", "t1", ".", "datasetname", "=", "value" ], "question": "conferências que mencionam ImageNet", "question_toks": [ "conferências", "que", "mencionam", "ImageNet" ], "sql": { "from": { "table_units": [ [ "table_unit", 7 ], [ "table_unit", 2 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 21, false ], null ], [ 0, 5, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 20, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 13, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 6, false ], null ], "\"ImageNet\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.year FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid WHERE t1.keyphrasename = \"deep learning\" GROUP BY t3.year ORDER BY t3.year ASC;", "query_toks": [ "SELECT", "DISTINCT", "t3.year", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t1", "ON", "t2.keyphraseid", "=", "t1.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "WHERE", "t1.keyphrasename", "=", "``", "deep", "learning", "''", "GROUP", "BY", "t3.year", "ORDER", "BY", "t3.year", "ASC", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "year", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t1", "on", "t2", ".", "keyphraseid", "=", "t1", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "where", "t1", ".", "keyphrasename", "=", "value", "group", "by", "t3", ".", "year", "order", "by", "t3", ".", "year", "asc" ], "question": "primeiro papel de aprendizagem profunda", "question_toks": [ "primeiro", "papel", "de", "aprendizagem", "profunda" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 14, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"deep learning\"", null ] ], "groupBy": [ [ 0, 14, false ] ], "having": [], "orderBy": [ "asc", [ [ 0, [ 0, 14, false ], null ] ] ], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.year FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid WHERE t1.keyphrasename = \"deep learning\" GROUP BY t3.year ORDER BY t3.year ASC;", "query_toks": [ "SELECT", "DISTINCT", "t3.year", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t1", "ON", "t2.keyphraseid", "=", "t1.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "WHERE", "t1.keyphrasename", "=", "``", "deep", "learning", "''", "GROUP", "BY", "t3.year", "ORDER", "BY", "t3.year", "ASC", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "year", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t1", "on", "t2", ".", "keyphraseid", "=", "t1", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "where", "t1", ".", "keyphrasename", "=", "value", "group", "by", "t3", ".", "year", "order", "by", "t3", ".", "year", "asc" ], "question": "Qual foi o primeiro artigo escrito sobre aprendizagem profunda?", "question_toks": [ "Qual", "foi", "o", "primeiro", "artigo", "escrito", "sobre", "aprendizagem", "profunda", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 14, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"deep learning\"", null ] ], "groupBy": [ [ 0, 14, false ] ], "having": [], "orderBy": [ "asc", [ [ 0, [ 0, 14, false ], null ] ] ], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.year FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid WHERE t1.keyphrasename = \"deep learning\" GROUP BY t3.year ORDER BY t3.year ASC;", "query_toks": [ "SELECT", "DISTINCT", "t3.year", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t1", "ON", "t2.keyphraseid", "=", "t1.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "WHERE", "t1.keyphrasename", "=", "``", "deep", "learning", "''", "GROUP", "BY", "t3.year", "ORDER", "BY", "t3.year", "ASC", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "year", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t1", "on", "t2", ".", "keyphraseid", "=", "t1", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "where", "t1", ".", "keyphrasename", "=", "value", "group", "by", "t3", ".", "year", "order", "by", "t3", ".", "year", "asc" ], "question": "Quando o aprendizado profundo foi proposto?", "question_toks": [ "Quando", "o", "aprendizado", "profundo", "foi", "proposto", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 14, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"deep learning\"", null ] ], "groupBy": [ [ 0, 14, false ] ], "having": [], "orderBy": [ "asc", [ [ 0, [ 0, 14, false ], null ] ] ], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.year FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid WHERE t1.keyphrasename = \"deep learning\" GROUP BY t3.year ORDER BY t3.year ASC;", "query_toks": [ "SELECT", "DISTINCT", "t3.year", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t1", "ON", "t2.keyphraseid", "=", "t1.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "WHERE", "t1.keyphrasename", "=", "``", "deep", "learning", "''", "GROUP", "BY", "t3.year", "ORDER", "BY", "t3.year", "ASC", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "year", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t1", "on", "t2", ".", "keyphraseid", "=", "t1", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "where", "t1", ".", "keyphrasename", "=", "value", "group", "by", "t3", ".", "year", "order", "by", "t3", ".", "year", "asc" ], "question": "quando foi publicado o primeiro artigo de aprendizagem profunda?", "question_toks": [ "quando", "foi", "publicado", "o", "primeiro", "artigo", "de", "aprendizagem", "profunda", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 14, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"deep learning\"", null ] ], "groupBy": [ [ 0, 14, false ] ], "having": [], "orderBy": [ "asc", [ [ 0, [ 0, 14, false ], null ] ] ], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t2.paperid FROM paper AS t2 JOIN journal AS t1 ON t2.journalid = t1.journalid WHERE t1.journalname = \"Academic radiology\" AND t2.year = 1995;", "query_toks": [ "SELECT", "DISTINCT", "t2.paperid", "FROM", "paper", "AS", "t2", "JOIN", "journal", "AS", "t1", "ON", "t2.journalid", "=", "t1.journalid", "WHERE", "t1.journalname", "=", "``", "Academic", "radiology", "''", "AND", "t2.year", "=", "1995", ";" ], "query_toks_no_value": [ "select", "distinct", "t2", ".", "paperid", "from", "paper", "as", "t2", "join", "journal", "as", "t1", "on", "t2", ".", "journalid", "=", "t1", ".", "journalid", "where", "t1", ".", "journalname", "=", "value", "and", "t2", ".", "year", "=", "value" ], "question": "quais artigos foram publicados na Radiologia Acadêmica em 1995?", "question_toks": [ "quais", "artigos", "foram", "publicados", "na", "Radiologia", "Acadêmica", "em", "1995", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 5 ], [ "table_unit", 3 ] ], "conds": [ [ false, 2, [ 0, [ 0, 17, false ], null ], [ 0, 7, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 8, false ], null ], "\"Academic radiology\"", null ], "and", [ false, 2, [ 0, [ 0, 14, false ], null ], 1995.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t4.citedpaperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid JOIN cite AS t4 ON t3.paperid = t4.citingpaperid WHERE t1.keyphrasename = \"parsing\";", "query_toks": [ "SELECT", "DISTINCT", "t4.citedpaperid", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t1", "ON", "t2.keyphraseid", "=", "t1.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "JOIN", "cite", "AS", "t4", "ON", "t3.paperid", "=", "t4.citingpaperid", "WHERE", "t1.keyphrasename", "=", "``", "parsing", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t4", ".", "citedpaperid", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t1", "on", "t2", ".", "keyphraseid", "=", "t1", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "join", "cite", "as", "t4", "on", "t3", ".", "paperid", "=", "t4", ".", "citingpaperid", "where", "t1", ".", "keyphrasename", "=", "value" ], "question": "quais artigos os artigos de análise geralmente citam?", "question_toks": [ "quais", "artigos", "os", "artigos", "de", "análise", "geralmente", "citam", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ], [ "table_unit", 6 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 18, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 19, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"parsing\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t4.citedpaperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid JOIN cite AS t4 ON t3.paperid = t4.citingpaperid WHERE t1.keyphrasename = \"parsing\";", "query_toks": [ "SELECT", "DISTINCT", "t4.citedpaperid", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t1", "ON", "t2.keyphraseid", "=", "t1.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "JOIN", "cite", "AS", "t4", "ON", "t3.paperid", "=", "t4.citingpaperid", "WHERE", "t1.keyphrasename", "=", "``", "parsing", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t4", ".", "citedpaperid", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t1", "on", "t2", ".", "keyphraseid", "=", "t1", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "join", "cite", "as", "t4", "on", "t3", ".", "paperid", "=", "t4", ".", "citingpaperid", "where", "t1", ".", "keyphrasename", "=", "value" ], "question": "papéis tipicamente citados por análise de papéis", "question_toks": [ "papéis", "tipicamente", "citados", "por", "análise", "de", "papéis" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ], [ "table_unit", 6 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 18, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 19, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"parsing\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.venueid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid WHERE t1.keyphrasename = \"Trophic Cascade\";", "query_toks": [ "SELECT", "DISTINCT", "t3.venueid", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t1", "ON", "t2.keyphraseid", "=", "t1.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "WHERE", "t1.keyphrasename", "=", "``", "Trophic", "Cascade", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "venueid", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t1", "on", "t2", ".", "keyphraseid", "=", "t1", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "where", "t1", ".", "keyphrasename", "=", "value" ], "question": "local para Trophic Cascade", "question_toks": [ "local", "para", "Trophic", "Cascade" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 13, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"Trophic Cascade\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.venueid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid WHERE t1.keyphrasename = \"Trophic Cascade\";", "query_toks": [ "SELECT", "DISTINCT", "t3.venueid", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t1", "ON", "t2.keyphraseid", "=", "t1.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "WHERE", "t1.keyphrasename", "=", "``", "Trophic", "Cascade", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "venueid", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t1", "on", "t2", ".", "keyphraseid", "=", "t1", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "where", "t1", ".", "keyphrasename", "=", "value" ], "question": "conferências para Trophic Cascade", "question_toks": [ "conferências", "para", "Trophic", "Cascade" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 13, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"Trophic Cascade\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.venueid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid WHERE t1.keyphrasename = \"Trophic Cascade\";", "query_toks": [ "SELECT", "DISTINCT", "t3.venueid", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t1", "ON", "t2.keyphraseid", "=", "t1.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "WHERE", "t1.keyphrasename", "=", "``", "Trophic", "Cascade", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "venueid", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t1", "on", "t2", ".", "keyphraseid", "=", "t1", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "where", "t1", ".", "keyphrasename", "=", "value" ], "question": "quais conferências estão relacionadas ao Trophic Cascade", "question_toks": [ "quais", "conferências", "estão", "relacionadas", "ao", "Trophic", "Cascade" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 13, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"Trophic Cascade\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.venueid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid WHERE t1.keyphrasename = \"Trophic Cascade\";", "query_toks": [ "SELECT", "DISTINCT", "t3.venueid", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t1", "ON", "t2.keyphraseid", "=", "t1.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "WHERE", "t1.keyphrasename", "=", "``", "Trophic", "Cascade", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "venueid", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t1", "on", "t2", ".", "keyphraseid", "=", "t1", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "where", "t1", ".", "keyphrasename", "=", "value" ], "question": "Qual foi o nome da conferência que aprovou o Trophic Cascade?", "question_toks": [ "Qual", "foi", "o", "nome", "da", "conferência", "que", "aprovou", "o", "Trophic", "Cascade", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 13, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"Trophic Cascade\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT COUNT ( t3.paperid ) FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid WHERE t1.keyphrasename = \"question answering\" AND t3.year >= 2011;", "query_toks": [ "SELECT", "DISTINCT", "COUNT", "(", "t3.paperid", ")", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t1", "ON", "t2.keyphraseid", "=", "t1.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "WHERE", "t1.keyphrasename", "=", "``", "question", "answering", "''", "AND", "t3.year", ">", "=", "2011", ";" ], "query_toks_no_value": [ "select", "distinct", "count", "(", "t3", ".", "paperid", ")", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t1", "on", "t2", ".", "keyphraseid", "=", "t1", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "where", "t1", ".", "keyphrasename", "=", "value", "and", "t3", ".", "year", ">", "=", "value" ], "question": "Quantos artigos foram escritos sobre respostas a perguntas de 2011 a 2016?", "question_toks": [ "Quantos", "artigos", "foram", "escritos", "sobre", "respostas", "a", "perguntas", "de", "2011", "a", "2016", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ] ] }, "select": [ true, [ [ 3, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"question answering\"", null ], "and", [ false, 5, [ 0, [ 0, 14, false ], null ], 2011.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT COUNT ( DISTINCT t4.citingpaperid ) , t3.venueid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid JOIN cite AS t4 ON t3.paperid = t4.citedpaperid WHERE t1.keyphrasename = \"NLP\" GROUP BY t3.venueid ORDER BY COUNT ( DISTINCT t4.citingpaperid ) DESC;", "query_toks": [ "SELECT", "DISTINCT", "COUNT", "(", "DISTINCT", "t4.citingpaperid", ")", ",", "t3.venueid", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t1", "ON", "t2.keyphraseid", "=", "t1.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "JOIN", "cite", "AS", "t4", "ON", "t3.paperid", "=", "t4.citedpaperid", "WHERE", "t1.keyphrasename", "=", "``", "NLP", "''", "GROUP", "BY", "t3.venueid", "ORDER", "BY", "COUNT", "(", "DISTINCT", "t4.citingpaperid", ")", "DESC", ";" ], "query_toks_no_value": [ "select", "distinct", "count", "(", "distinct", "t4", ".", "citingpaperid", ")", ",", "t3", ".", "venueid", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t1", "on", "t2", ".", "keyphraseid", "=", "t1", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "join", "cite", "as", "t4", "on", "t3", ".", "paperid", "=", "t4", ".", "citedpaperid", "where", "t1", ".", "keyphrasename", "=", "value", "group", "by", "t3", ".", "venueid", "order", "by", "count", "(", "distinct", "t4", ".", "citingpaperid", ")", "desc" ], "question": "Quais são as melhores conferências de PNL?", "question_toks": [ "Quais", "são", "as", "melhores", "conferências", "de", "PNL", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ], [ "table_unit", 6 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 19, false ], null ] ] }, "select": [ true, [ [ 3, [ 0, [ 0, 18, true ], null ] ], [ 0, [ 0, [ 0, 13, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"NLP\"", null ] ], "groupBy": [ [ 0, 13, false ] ], "having": [], "orderBy": [ "desc", [ [ 0, [ 3, 18, true ], null ] ] ], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t2.paperid , t1.authorid FROM venue AS t3 JOIN paper AS t2 ON t3.venueid = t2.venueid JOIN writes AS t1 ON t1.paperid = t2.paperid WHERE t3.venuename = \"ACL\";", "query_toks": [ "SELECT", "DISTINCT", "t2.paperid", ",", "t1.authorid", "FROM", "venue", "AS", "t3", "JOIN", "paper", "AS", "t2", "ON", "t3.venueid", "=", "t2.venueid", "JOIN", "writes", "AS", "t1", "ON", "t1.paperid", "=", "t2.paperid", "WHERE", "t3.venuename", "=", "``", "ACL", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t2", ".", "paperid", ",", "t1", ".", "authorid", "from", "venue", "as", "t3", "join", "paper", "as", "t2", "on", "t3", ".", "venueid", "=", "t2", ".", "venueid", "join", "writes", "as", "t1", "on", "t1", ".", "paperid", "=", "t2", ".", "paperid", "where", "t3", ".", "venuename", "=", "value" ], "question": "Artigos ACL por autor", "question_toks": [ "Artigos", "ACL", "por", "autor" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ], [ "table_unit", 5 ], [ "table_unit", 9 ] ], "conds": [ [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ], [ 0, [ 0, [ 0, 25, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 2, false ], null ], "\"ACL\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t2.citingpaperid FROM paper AS t1 JOIN cite AS t2 ON t1.paperid = t2.citedpaperid GROUP BY t2.citingpaperid HAVING COUNT ( DISTINCT t2.citedpaperid ) > 10;", "query_toks": [ "SELECT", "DISTINCT", "t2.citingpaperid", "FROM", "paper", "AS", "t1", "JOIN", "cite", "AS", "t2", "ON", "t1.paperid", "=", "t2.citedpaperid", "GROUP", "BY", "t2.citingpaperid", "HAVING", "COUNT", "(", "DISTINCT", "t2.citedpaperid", ")", ">", "10", ";" ], "query_toks_no_value": [ "select", "distinct", "t2", ".", "citingpaperid", "from", "paper", "as", "t1", "join", "cite", "as", "t2", "on", "t1", ".", "paperid", "=", "t2", ".", "citedpaperid", "group", "by", "t2", ".", "citingpaperid", "having", "count", "(", "distinct", "t2", ".", "citedpaperid", ")", ">", "value" ], "question": "artigos com mais de 10 citações", "question_toks": [ "artigos", "com", "mais", "de", "10", "citações" ], "sql": { "from": { "table_units": [ [ "table_unit", 5 ], [ "table_unit", 6 ] ], "conds": [ [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 19, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 18, false ], null ] ] ] ], "where": [], "groupBy": [ [ 0, 18, false ] ], "having": [ [ false, 3, [ 0, [ 3, 19, true ], null ], 10.0, null ] ], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t1.authorid FROM writes AS t1 JOIN paper AS t2 ON t1.paperid = t2.paperid WHERE t2.year = 2015;", "query_toks": [ "SELECT", "DISTINCT", "t1.authorid", "FROM", "writes", "AS", "t1", "JOIN", "paper", "AS", "t2", "ON", "t1.paperid", "=", "t2.paperid", "WHERE", "t2.year", "=", "2015", ";" ], "query_toks_no_value": [ "select", "distinct", "t1", ".", "authorid", "from", "writes", "as", "t1", "join", "paper", "as", "t2", "on", "t1", ".", "paperid", "=", "t2", ".", "paperid", "where", "t2", ".", "year", "=", "value" ], "question": "Quais autores publicaram artigos em 2015?", "question_toks": [ "Quais", "autores", "publicaram", "artigos", "em", "2015", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 25, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 14, false ], null ], 2015.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t1.authorid FROM writes AS t1 JOIN paper AS t2 ON t1.paperid = t2.paperid WHERE t2.year = 2015;", "query_toks": [ "SELECT", "DISTINCT", "t1.authorid", "FROM", "writes", "AS", "t1", "JOIN", "paper", "AS", "t2", "ON", "t1.paperid", "=", "t2.paperid", "WHERE", "t2.year", "=", "2015", ";" ], "query_toks_no_value": [ "select", "distinct", "t1", ".", "authorid", "from", "writes", "as", "t1", "join", "paper", "as", "t2", "on", "t1", ".", "paperid", "=", "t2", ".", "paperid", "where", "t2", ".", "year", "=", "value" ], "question": "quem escreveu artigos em 2015", "question_toks": [ "quem", "escreveu", "artigos", "em", "2015" ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 25, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 14, false ], null ], 2015.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t1.keyphrasename , SUM ( t3.numcitedby ) FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid JOIN writes AS t4 ON t4.paperid = t3.paperid JOIN author AS t5 ON t4.authorid = t5.authorid WHERE t5.authorname = \"Brian DeRenzi\" GROUP BY t1.keyphrasename ORDER BY SUM ( t3.numcitedby ) DESC;", "query_toks": [ "SELECT", "DISTINCT", "t1.keyphrasename", ",", "SUM", "(", "t3.numcitedby", ")", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t1", "ON", "t2.keyphraseid", "=", "t1.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "JOIN", "writes", "AS", "t4", "ON", "t4.paperid", "=", "t3.paperid", "JOIN", "author", "AS", "t5", "ON", "t4.authorid", "=", "t5.authorid", "WHERE", "t5.authorname", "=", "``", "Brian", "DeRenzi", "''", "GROUP", "BY", "t1.keyphrasename", "ORDER", "BY", "SUM", "(", "t3.numcitedby", ")", "DESC", ";" ], "query_toks_no_value": [ "select", "distinct", "t1", ".", "keyphrasename", ",", "sum", "(", "t3", ".", "numcitedby", ")", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t1", "on", "t2", ".", "keyphraseid", "=", "t1", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "join", "writes", "as", "t4", "on", "t4", ".", "paperid", "=", "t3", ".", "paperid", "join", "author", "as", "t5", "on", "t4", ".", "authorid", "=", "t5", ".", "authorid", "where", "t5", ".", "authorname", "=", "value", "group", "by", "t1", ".", "keyphrasename", "order", "by", "sum", "(", "t3", ".", "numcitedby", ")", "desc" ], "question": "sobre qual frase-chave Brian DeRenzi escreve que recebe mais citações?", "question_toks": [ "sobre", "qual", "frase-chave", "Brian", "DeRenzi", "escreve", "que", "recebe", "mais", "citações", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 10, false ], null ] ], [ 4, [ 0, [ 0, 16, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Brian DeRenzi\"", null ] ], "groupBy": [ [ 0, 10, false ] ], "having": [], "orderBy": [ "desc", [ [ 0, [ 4, 16, false ], null ] ] ], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t1.keyphrasename , SUM ( t3.numcitedby ) FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid JOIN writes AS t4 ON t4.paperid = t3.paperid JOIN author AS t5 ON t4.authorid = t5.authorid WHERE t5.authorname = \"Brian DeRenzi\" GROUP BY t1.keyphrasename ORDER BY SUM ( t3.numcitedby ) DESC;", "query_toks": [ "SELECT", "DISTINCT", "t1.keyphrasename", ",", "SUM", "(", "t3.numcitedby", ")", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t1", "ON", "t2.keyphraseid", "=", "t1.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "JOIN", "writes", "AS", "t4", "ON", "t4.paperid", "=", "t3.paperid", "JOIN", "author", "AS", "t5", "ON", "t4.authorid", "=", "t5.authorid", "WHERE", "t5.authorname", "=", "``", "Brian", "DeRenzi", "''", "GROUP", "BY", "t1.keyphrasename", "ORDER", "BY", "SUM", "(", "t3.numcitedby", ")", "DESC", ";" ], "query_toks_no_value": [ "select", "distinct", "t1", ".", "keyphrasename", ",", "sum", "(", "t3", ".", "numcitedby", ")", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t1", "on", "t2", ".", "keyphraseid", "=", "t1", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "join", "writes", "as", "t4", "on", "t4", ".", "paperid", "=", "t3", ".", "paperid", "join", "author", "as", "t5", "on", "t4", ".", "authorid", "=", "t5", ".", "authorid", "where", "t5", ".", "authorname", "=", "value", "group", "by", "t1", ".", "keyphrasename", "order", "by", "sum", "(", "t3", ".", "numcitedby", ")", "desc" ], "question": "principais tópicos de trabalho de Brian DeRenzi", "question_toks": [ "principais", "tópicos", "de", "trabalho", "de", "Brian", "DeRenzi" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 10, false ], null ] ], [ 4, [ 0, [ 0, 16, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Brian DeRenzi\"", null ] ], "groupBy": [ [ 0, 10, false ] ], "having": [], "orderBy": [ "desc", [ [ 0, [ 4, 16, false ], null ] ] ], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT COUNT ( t2.paperid ) , t1.authorid FROM writes AS t1 JOIN paper AS t2 ON t1.paperid = t2.paperid GROUP BY t1.authorid HAVING COUNT ( t2.paperid ) >= 5;", "query_toks": [ "SELECT", "DISTINCT", "COUNT", "(", "t2.paperid", ")", ",", "t1.authorid", "FROM", "writes", "AS", "t1", "JOIN", "paper", "AS", "t2", "ON", "t1.paperid", "=", "t2.paperid", "GROUP", "BY", "t1.authorid", "HAVING", "COUNT", "(", "t2.paperid", ")", ">", "=", "5", ";" ], "query_toks_no_value": [ "select", "distinct", "count", "(", "t2", ".", "paperid", ")", ",", "t1", ".", "authorid", "from", "writes", "as", "t1", "join", "paper", "as", "t2", "on", "t1", ".", "paperid", "=", "t2", ".", "paperid", "group", "by", "t1", ".", "authorid", "having", "count", "(", "t2", ".", "paperid", ")", ">", "=", "value" ], "question": "autores com pelo menos 5 artigos", "question_toks": [ "autores", "com", "pelo", "menos", "5", "artigos" ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ] ] }, "select": [ true, [ [ 3, [ 0, [ 0, 11, false ], null ] ], [ 0, [ 0, [ 0, 25, false ], null ] ] ] ], "where": [], "groupBy": [ [ 0, 25, false ] ], "having": [ [ false, 5, [ 0, [ 3, 11, false ], null ], 5.0, null ] ], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT paperid FROM paper WHERE YEAR != 2015;", "query_toks": [ "SELECT", "DISTINCT", "paperid", "FROM", "paper", "WHERE", "YEAR", "!", "=", "2015", ";" ], "query_toks_no_value": [ "select", "distinct", "paperid", "from", "paper", "where", "year", "!", "=", "value" ], "question": "artigos que não foram publicados no ano passado", "question_toks": [ "artigos", "que", "não", "foram", "publicados", "no", "ano", "passado" ], "sql": { "from": { "table_units": [ [ "table_unit", 5 ] ], "conds": [] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 7, [ 0, [ 0, 14, false ], null ], 2015.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.year FROM paperkeyphrase AS t2 JOIN keyphrase AS t5 ON t2.keyphraseid = t5.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid JOIN writes AS t4 ON t4.paperid = t3.paperid JOIN author AS t1 ON t4.authorid = t1.authorid WHERE t1.authorname = \"Michael Stonebraker\" AND t5.keyphrasename = \"GIS Database\";", "query_toks": [ "SELECT", "DISTINCT", "t3.year", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t5", "ON", "t2.keyphraseid", "=", "t5.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "JOIN", "writes", "AS", "t4", "ON", "t4.paperid", "=", "t3.paperid", "JOIN", "author", "AS", "t1", "ON", "t4.authorid", "=", "t1.authorid", "WHERE", "t1.authorname", "=", "``", "Michael", "Stonebraker", "''", "AND", "t5.keyphrasename", "=", "``", "GIS", "Database", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "year", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t5", "on", "t2", ".", "keyphraseid", "=", "t5", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "join", "writes", "as", "t4", "on", "t4", ".", "paperid", "=", "t3", ".", "paperid", "join", "author", "as", "t1", "on", "t4", ".", "authorid", "=", "t1", ".", "authorid", "where", "t1", ".", "authorname", "=", "value", "and", "t5", ".", "keyphrasename", "=", "value" ], "question": "Quando o banco de dados Michael Stonebraker GIS foi publicado?", "question_toks": [ "Quando", "o", "banco", "de", "dados", "Michael", "Stonebraker", "GIS", "foi", "publicado", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 14, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Michael Stonebraker\"", null ], "and", [ false, 2, [ 0, [ 0, 10, false ], null ], "\"GIS Database\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.year FROM paperkeyphrase AS t2 JOIN keyphrase AS t5 ON t2.keyphraseid = t5.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid JOIN writes AS t4 ON t4.paperid = t3.paperid JOIN author AS t1 ON t4.authorid = t1.authorid WHERE t1.authorname = \"Michael Stonebraker\" AND t5.keyphrasename = \"GIS Database\";", "query_toks": [ "SELECT", "DISTINCT", "t3.year", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t5", "ON", "t2.keyphraseid", "=", "t5.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "JOIN", "writes", "AS", "t4", "ON", "t4.paperid", "=", "t3.paperid", "JOIN", "author", "AS", "t1", "ON", "t4.authorid", "=", "t1.authorid", "WHERE", "t1.authorname", "=", "``", "Michael", "Stonebraker", "''", "AND", "t5.keyphrasename", "=", "``", "GIS", "Database", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "year", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t5", "on", "t2", ".", "keyphraseid", "=", "t5", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "join", "writes", "as", "t4", "on", "t4", ".", "paperid", "=", "t3", ".", "paperid", "join", "author", "as", "t1", "on", "t4", ".", "authorid", "=", "t1", ".", "authorid", "where", "t1", ".", "authorname", "=", "value", "and", "t5", ".", "keyphrasename", "=", "value" ], "question": "Quando Michael Stonebraker publicou seu artigo sobre o banco de dados GIS?", "question_toks": [ "Quando", "Michael", "Stonebraker", "publicou", "seu", "artigo", "sobre", "o", "banco", "de", "dados", "GIS", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 14, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Michael Stonebraker\"", null ], "and", [ false, 2, [ 0, [ 0, 10, false ], null ], "\"GIS Database\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.year FROM paperkeyphrase AS t2 JOIN keyphrase AS t5 ON t2.keyphraseid = t5.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid JOIN writes AS t4 ON t4.paperid = t3.paperid JOIN author AS t1 ON t4.authorid = t1.authorid WHERE t1.authorname = \"Michael Stonebraker\" AND t5.keyphrasename = \"GIS Database\";", "query_toks": [ "SELECT", "DISTINCT", "t3.year", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t5", "ON", "t2.keyphraseid", "=", "t5.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "JOIN", "writes", "AS", "t4", "ON", "t4.paperid", "=", "t3.paperid", "JOIN", "author", "AS", "t1", "ON", "t4.authorid", "=", "t1.authorid", "WHERE", "t1.authorname", "=", "``", "Michael", "Stonebraker", "''", "AND", "t5.keyphrasename", "=", "``", "GIS", "Database", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "year", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t5", "on", "t2", ".", "keyphraseid", "=", "t5", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "join", "writes", "as", "t4", "on", "t4", ".", "paperid", "=", "t3", ".", "paperid", "join", "author", "as", "t1", "on", "t4", ".", "authorid", "=", "t1", ".", "authorid", "where", "t1", ".", "authorname", "=", "value", "and", "t5", ".", "keyphrasename", "=", "value" ], "question": "Quando Michael Stonebraker publica o artigo do banco de dados GIS?", "question_toks": [ "Quando", "Michael", "Stonebraker", "publica", "o", "artigo", "do", "banco", "de", "dados", "GIS", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 14, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Michael Stonebraker\"", null ], "and", [ false, 2, [ 0, [ 0, 10, false ], null ], "\"GIS Database\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.journalid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid WHERE t1.keyphrasename = \"Trophic Cascade\" AND t3.year = 2010 GROUP BY t3.journalid;", "query_toks": [ "SELECT", "DISTINCT", "t3.journalid", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t1", "ON", "t2.keyphraseid", "=", "t1.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "WHERE", "t1.keyphrasename", "=", "``", "Trophic", "Cascade", "''", "AND", "t3.year", "=", "2010", "GROUP", "BY", "t3.journalid", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "journalid", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t1", "on", "t2", ".", "keyphraseid", "=", "t1", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "where", "t1", ".", "keyphrasename", "=", "value", "and", "t3", ".", "year", "=", "value", "group", "by", "t3", ".", "journalid" ], "question": "Em 2010, que jornal publicou um artigo sobre Trophic Cascade?", "question_toks": [ "Em", "2010", ",", "que", "jornal", "publicou", "um", "artigo", "sobre", "Trophic", "Cascade", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 17, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"Trophic Cascade\"", null ], "and", [ false, 2, [ 0, [ 0, 14, false ], null ], 2010.0, null ] ], "groupBy": [ [ 0, 17, false ] ], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.citedpaperid , COUNT ( t3.citingpaperid ) FROM paper AS t1 JOIN cite AS t3 ON t1.paperid = t3.citedpaperid JOIN venue AS t2 ON t2.venueid = t1.venueid WHERE t1.year = 2016 AND t2.venuename = \"CVPR\" GROUP BY t3.citedpaperid ORDER BY COUNT ( t3.citingpaperid ) DESC;", "query_toks": [ "SELECT", "DISTINCT", "t3.citedpaperid", ",", "COUNT", "(", "t3.citingpaperid", ")", "FROM", "paper", "AS", "t1", "JOIN", "cite", "AS", "t3", "ON", "t1.paperid", "=", "t3.citedpaperid", "JOIN", "venue", "AS", "t2", "ON", "t2.venueid", "=", "t1.venueid", "WHERE", "t1.year", "=", "2016", "AND", "t2.venuename", "=", "``", "CVPR", "''", "GROUP", "BY", "t3.citedpaperid", "ORDER", "BY", "COUNT", "(", "t3.citingpaperid", ")", "DESC", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "citedpaperid", ",", "count", "(", "t3", ".", "citingpaperid", ")", "from", "paper", "as", "t1", "join", "cite", "as", "t3", "on", "t1", ".", "paperid", "=", "t3", ".", "citedpaperid", "join", "venue", "as", "t2", "on", "t2", ".", "venueid", "=", "t1", ".", "venueid", "where", "t1", ".", "year", "=", "value", "and", "t2", ".", "venuename", "=", "value", "group", "by", "t3", ".", "citedpaperid", "order", "by", "count", "(", "t3", ".", "citingpaperid", ")", "desc" ], "question": "Qual é o jornal mais popular deste ano na CVPR?", "question_toks": [ "Qual", "é", "o", "jornal", "mais", "popular", "deste", "ano", "na", "CVPR", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 5 ], [ "table_unit", 6 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 19, false ], null ], "and", [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 19, false ], null ] ], [ 3, [ 0, [ 0, 18, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 14, false ], null ], 2016.0, null ], "and", [ false, 2, [ 0, [ 0, 2, false ], null ], "\"CVPR\"", null ] ], "groupBy": [ [ 0, 19, false ] ], "having": [], "orderBy": [ "desc", [ [ 0, [ 3, 18, false ], null ] ] ], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT COUNT ( t4.citedpaperid ) , t3.year FROM paper AS t3 JOIN cite AS t4 ON t3.paperid = t4.citedpaperid JOIN writes AS t2 ON t2.paperid = t3.paperid JOIN author AS t1 ON t2.authorid = t1.authorid WHERE t1.authorname = \"luke zettlemoyer\" GROUP BY t3.year;", "query_toks": [ "SELECT", "DISTINCT", "COUNT", "(", "t4.citedpaperid", ")", ",", "t3.year", "FROM", "paper", "AS", "t3", "JOIN", "cite", "AS", "t4", "ON", "t3.paperid", "=", "t4.citedpaperid", "JOIN", "writes", "AS", "t2", "ON", "t2.paperid", "=", "t3.paperid", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "WHERE", "t1.authorname", "=", "``", "luke", "zettlemoyer", "''", "GROUP", "BY", "t3.year", ";" ], "query_toks_no_value": [ "select", "distinct", "count", "(", "t4", ".", "citedpaperid", ")", ",", "t3", ".", "year", "from", "paper", "as", "t3", "join", "cite", "as", "t4", "on", "t3", ".", "paperid", "=", "t4", ".", "citedpaperid", "join", "writes", "as", "t2", "on", "t2", ".", "paperid", "=", "t3", ".", "paperid", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "where", "t1", ".", "authorname", "=", "value", "group", "by", "t3", ".", "year" ], "question": "Quantas citações luke zettlemoyer tem por ano", "question_toks": [ "Quantas", "citações", "luke", "zettlemoyer", "tem", "por", "ano" ], "sql": { "from": { "table_units": [ [ "table_unit", 5 ], [ "table_unit", 6 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 19, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 3, [ 0, [ 0, 19, false ], null ] ], [ 0, [ 0, [ 0, 14, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"luke zettlemoyer\"", null ] ], "groupBy": [ [ 0, 14, false ] ], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t2.paperid FROM paperdataset AS t3 JOIN dataset AS t1 ON t3.datasetid = t1.datasetid JOIN paper AS t4 ON t4.paperid = t3.paperid JOIN writes AS t2 ON t2.paperid = t4.paperid WHERE t1.datasetname = \"ImageNet\" GROUP BY t2.paperid;", "query_toks": [ "SELECT", "DISTINCT", "t2.paperid", "FROM", "paperdataset", "AS", "t3", "JOIN", "dataset", "AS", "t1", "ON", "t3.datasetid", "=", "t1.datasetid", "JOIN", "paper", "AS", "t4", "ON", "t4.paperid", "=", "t3.paperid", "JOIN", "writes", "AS", "t2", "ON", "t2.paperid", "=", "t4.paperid", "WHERE", "t1.datasetname", "=", "``", "ImageNet", "''", "GROUP", "BY", "t2.paperid", ";" ], "query_toks_no_value": [ "select", "distinct", "t2", ".", "paperid", "from", "paperdataset", "as", "t3", "join", "dataset", "as", "t1", "on", "t3", ".", "datasetid", "=", "t1", ".", "datasetid", "join", "paper", "as", "t4", "on", "t4", ".", "paperid", "=", "t3", ".", "paperid", "join", "writes", "as", "t2", "on", "t2", ".", "paperid", "=", "t4", ".", "paperid", "where", "t1", ".", "datasetname", "=", "value", "group", "by", "t2", ".", "paperid" ], "question": "autores trabalhando na ImageNet", "question_toks": [ "autores", "trabalhando", "na", "ImageNet" ], "sql": { "from": { "table_units": [ [ "table_unit", 7 ], [ "table_unit", 2 ], [ "table_unit", 5 ], [ "table_unit", 9 ] ], "conds": [ [ false, 2, [ 0, [ 0, 21, false ], null ], [ 0, 5, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 20, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 24, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 6, false ], null ], "\"ImageNet\"", null ] ], "groupBy": [ [ 0, 24, false ] ], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT paperid , title FROM paper WHERE title LIKE \"the effects of juicing for cancer patients\" AND YEAR > 2006;", "query_toks": [ "SELECT", "DISTINCT", "paperid", ",", "title", "FROM", "paper", "WHERE", "title", "LIKE", "``", "the", "effects", "of", "juicing", "for", "cancer", "patients", "''", "AND", "YEAR", ">", "2006", ";" ], "query_toks_no_value": [ "select", "distinct", "paperid", ",", "title", "from", "paper", "where", "title", "like", "value", "and", "year", ">", "value" ], "question": "Quais artigos foram publicados desde 2006 sobre os efeitos do suco em pacientes com câncer?", "question_toks": [ "Quais", "artigos", "foram", "publicados", "desde", "2006", "sobre", "os", "efeitos", "do", "suco", "em", "pacientes", "com", "câncer", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 5 ] ], "conds": [] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ], [ 0, [ 0, [ 0, 12, false ], null ] ] ] ], "where": [ [ false, 9, [ 0, [ 0, 12, false ], null ], "\"the effects of juicing for cancer patients\"", null ], "and", [ false, 3, [ 0, [ 0, 14, false ], null ], 2006.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t2.paperid FROM paperkeyphrase AS t5 JOIN keyphrase AS t3 ON t5.keyphraseid = t3.keyphraseid JOIN writes AS t4 ON t4.paperid = t5.paperid JOIN paper AS t2 ON t4.paperid = t2.paperid JOIN author AS t1 ON t4.authorid = t1.authorid JOIN venue AS t6 ON t6.venueid = t2.venueid WHERE t1.authorname = \"Eric C. Kerrigan\" AND t3.keyphrasename = \"Liquid\" AND t6.venuename = \"Automatica\";", "query_toks": [ "SELECT", "DISTINCT", "t2.paperid", "FROM", "paperkeyphrase", "AS", "t5", "JOIN", "keyphrase", "AS", "t3", "ON", "t5.keyphraseid", "=", "t3.keyphraseid", "JOIN", "writes", "AS", "t4", "ON", "t4.paperid", "=", "t5.paperid", "JOIN", "paper", "AS", "t2", "ON", "t4.paperid", "=", "t2.paperid", "JOIN", "author", "AS", "t1", "ON", "t4.authorid", "=", "t1.authorid", "JOIN", "venue", "AS", "t6", "ON", "t6.venueid", "=", "t2.venueid", "WHERE", "t1.authorname", "=", "``", "Eric", "C.", "Kerrigan", "''", "AND", "t3.keyphrasename", "=", "``", "Liquid", "''", "AND", "t6.venuename", "=", "``", "Automatica", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t2", ".", "paperid", "from", "paperkeyphrase", "as", "t5", "join", "keyphrase", "as", "t3", "on", "t5", ".", "keyphraseid", "=", "t3", ".", "keyphraseid", "join", "writes", "as", "t4", "on", "t4", ".", "paperid", "=", "t5", ".", "paperid", "join", "paper", "as", "t2", "on", "t4", ".", "paperid", "=", "t2", ".", "paperid", "join", "author", "as", "t1", "on", "t4", ".", "authorid", "=", "t1", ".", "authorid", "join", "venue", "as", "t6", "on", "t6", ".", "venueid", "=", "t2", ".", "venueid", "where", "t1", ".", "authorname", "=", "value", "and", "t3", ".", "keyphrasename", "=", "value", "and", "t6", ".", "venuename", "=", "value" ], "question": "Artigo da Liquid Automatica de Eric C. Kerrigan", "question_toks": [ "Artigo", "da", "Liquid", "Automatica", "de", "Eric", "C.", "Kerrigan" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 9 ], [ "table_unit", 5 ], [ "table_unit", 1 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 22, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ], "and", [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Eric C. Kerrigan\"", null ], "and", [ false, 2, [ 0, [ 0, 10, false ], null ], "\"Liquid\"", null ], "and", [ false, 2, [ 0, [ 0, 2, false ], null ], "\"Automatica\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.venueid , t3.year FROM writes AS t2 JOIN author AS t1 ON t2.authorid = t1.authorid JOIN paper AS t3 ON t2.paperid = t3.paperid WHERE t1.authorname = \"sergey levine\" GROUP BY t3.venueid , t3.year ORDER BY t3.year DESC;", "query_toks": [ "SELECT", "DISTINCT", "t3.venueid", ",", "t3.year", "FROM", "writes", "AS", "t2", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "JOIN", "paper", "AS", "t3", "ON", "t2.paperid", "=", "t3.paperid", "WHERE", "t1.authorname", "=", "``", "sergey", "levine", "''", "GROUP", "BY", "t3.venueid", ",", "t3.year", "ORDER", "BY", "t3.year", "DESC", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "venueid", ",", "t3", ".", "year", "from", "writes", "as", "t2", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "join", "paper", "as", "t3", "on", "t2", ".", "paperid", "=", "t3", ".", "paperid", "where", "t1", ".", "authorname", "=", "value", "group", "by", "t3", ".", "venueid", ",", "t3", ".", "year", "order", "by", "t3", ".", "year", "desc" ], "question": "Onde sergey levine publicou seu último artigo?", "question_toks": [ "Onde", "sergey", "levine", "publicou", "seu", "último", "artigo", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 13, false ], null ] ], [ 0, [ 0, [ 0, 14, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"sergey levine\"", null ] ], "groupBy": [ [ 0, 13, false ], [ 0, 14, false ] ], "having": [], "orderBy": [ "desc", [ [ 0, [ 0, 14, false ], null ] ] ], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t2.keyphraseid FROM paper AS t3 JOIN paperkeyphrase AS t2 ON t3.paperid = t2.paperid JOIN venue AS t4 ON t4.venueid = t3.venueid JOIN writes AS t5 ON t5.paperid = t3.paperid JOIN author AS t1 ON t5.authorid = t1.authorid WHERE t1.authorname = \"dan klein\" AND t4.venuename = \"emnlp\";", "query_toks": [ "SELECT", "DISTINCT", "t2.keyphraseid", "FROM", "paper", "AS", "t3", "JOIN", "paperkeyphrase", "AS", "t2", "ON", "t3.paperid", "=", "t2.paperid", "JOIN", "venue", "AS", "t4", "ON", "t4.venueid", "=", "t3.venueid", "JOIN", "writes", "AS", "t5", "ON", "t5.paperid", "=", "t3.paperid", "JOIN", "author", "AS", "t1", "ON", "t5.authorid", "=", "t1.authorid", "WHERE", "t1.authorname", "=", "``", "dan", "klein", "''", "AND", "t4.venuename", "=", "``", "emnlp", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t2", ".", "keyphraseid", "from", "paper", "as", "t3", "join", "paperkeyphrase", "as", "t2", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "join", "venue", "as", "t4", "on", "t4", ".", "venueid", "=", "t3", ".", "venueid", "join", "writes", "as", "t5", "on", "t5", ".", "paperid", "=", "t3", ".", "paperid", "join", "author", "as", "t1", "on", "t5", ".", "authorid", "=", "t1", ".", "authorid", "where", "t1", ".", "authorname", "=", "value", "and", "t4", ".", "venuename", "=", "value" ], "question": "frases-chave usadas por dan klein em seus documentos emnlp", "question_toks": [ "frases-chave", "usadas", "por", "dan", "klein", "em", "seus", "documentos", "emnlp" ], "sql": { "from": { "table_units": [ [ "table_unit", 5 ], [ "table_unit", 8 ], [ "table_unit", 0 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ], "and", [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 23, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"dan klein\"", null ], "and", [ false, 2, [ 0, [ 0, 2, false ], null ], "\"emnlp\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT COUNT ( t4.paperid ) , t3.authorid FROM paperkeyphrase AS t1 JOIN keyphrase AS t2 ON t1.keyphraseid = t2.keyphraseid JOIN paper AS t4 ON t4.paperid = t1.paperid JOIN writes AS t3 ON t3.paperid = t4.paperid WHERE t2.keyphrasename = \"Neutralizing Antibody\" AND t4.year = 2012 GROUP BY t3.authorid ORDER BY COUNT ( t4.paperid ) DESC;", "query_toks": [ "SELECT", "DISTINCT", "COUNT", "(", "t4.paperid", ")", ",", "t3.authorid", "FROM", "paperkeyphrase", "AS", "t1", "JOIN", "keyphrase", "AS", "t2", "ON", "t1.keyphraseid", "=", "t2.keyphraseid", "JOIN", "paper", "AS", "t4", "ON", "t4.paperid", "=", "t1.paperid", "JOIN", "writes", "AS", "t3", "ON", "t3.paperid", "=", "t4.paperid", "WHERE", "t2.keyphrasename", "=", "``", "Neutralizing", "Antibody", "''", "AND", "t4.year", "=", "2012", "GROUP", "BY", "t3.authorid", "ORDER", "BY", "COUNT", "(", "t4.paperid", ")", "DESC", ";" ], "query_toks_no_value": [ "select", "distinct", "count", "(", "t4", ".", "paperid", ")", ",", "t3", ".", "authorid", "from", "paperkeyphrase", "as", "t1", "join", "keyphrase", "as", "t2", "on", "t1", ".", "keyphraseid", "=", "t2", ".", "keyphraseid", "join", "paper", "as", "t4", "on", "t4", ".", "paperid", "=", "t1", ".", "paperid", "join", "writes", "as", "t3", "on", "t3", ".", "paperid", "=", "t4", ".", "paperid", "where", "t2", ".", "keyphrasename", "=", "value", "and", "t4", ".", "year", "=", "value", "group", "by", "t3", ".", "authorid", "order", "by", "count", "(", "t4", ".", "paperid", ")", "desc" ], "question": "Quem são os pesquisadores de destaque em Anticorpos Neutralizantes em 2012?", "question_toks": [ "Quem", "são", "os", "pesquisadores", "de", "destaque", "em", "Anticorpos", "Neutralizantes", "em", "2012", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ], [ "table_unit", 9 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ] ] }, "select": [ true, [ [ 3, [ 0, [ 0, 11, false ], null ] ], [ 0, [ 0, [ 0, 25, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"Neutralizing Antibody\"", null ], "and", [ false, 2, [ 0, [ 0, 14, false ], null ], 2012.0, null ] ], "groupBy": [ [ 0, 25, false ] ], "having": [], "orderBy": [ "desc", [ [ 0, [ 3, 11, false ], null ] ] ], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid FROM paperdataset AS t2 JOIN dataset AS t1 ON t2.datasetid = t1.datasetid JOIN paper AS t3 ON t3.paperid = t2.paperid JOIN venue AS t4 ON t4.venueid = t3.venueid WHERE t1.datasetname = \"ImageNet\" AND t3.year = 2014 AND t4.venuename = \"eccv\";", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", "FROM", "paperdataset", "AS", "t2", "JOIN", "dataset", "AS", "t1", "ON", "t2.datasetid", "=", "t1.datasetid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "JOIN", "venue", "AS", "t4", "ON", "t4.venueid", "=", "t3.venueid", "WHERE", "t1.datasetname", "=", "``", "ImageNet", "''", "AND", "t3.year", "=", "2014", "AND", "t4.venuename", "=", "``", "eccv", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", "from", "paperdataset", "as", "t2", "join", "dataset", "as", "t1", "on", "t2", ".", "datasetid", "=", "t1", ".", "datasetid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "join", "venue", "as", "t4", "on", "t4", ".", "venueid", "=", "t3", ".", "venueid", "where", "t1", ".", "datasetname", "=", "value", "and", "t3", ".", "year", "=", "value", "and", "t4", ".", "venuename", "=", "value" ], "question": "os artigos na eccv em 2014 usando o conjunto de dados ImageNet", "question_toks": [ "os", "artigos", "na", "eccv", "em", "2014", "usando", "o", "conjunto", "de", "dados", "ImageNet" ], "sql": { "from": { "table_units": [ [ "table_unit", 7 ], [ "table_unit", 2 ], [ "table_unit", 5 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 21, false ], null ], [ 0, 5, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 20, false ], null ], "and", [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 6, false ], null ], "\"ImageNet\"", null ], "and", [ false, 2, [ 0, [ 0, 14, false ], null ], 2014.0, null ], "and", [ false, 2, [ 0, [ 0, 2, false ], null ], "\"eccv\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid FROM paperdataset AS t2 JOIN dataset AS t1 ON t2.datasetid = t1.datasetid JOIN paper AS t3 ON t3.paperid = t2.paperid JOIN venue AS t4 ON t4.venueid = t3.venueid WHERE t1.datasetname = \"ImageNet\" AND t3.year = 2014 AND t4.venuename = \"eccv\";", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", "FROM", "paperdataset", "AS", "t2", "JOIN", "dataset", "AS", "t1", "ON", "t2.datasetid", "=", "t1.datasetid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "JOIN", "venue", "AS", "t4", "ON", "t4.venueid", "=", "t3.venueid", "WHERE", "t1.datasetname", "=", "``", "ImageNet", "''", "AND", "t3.year", "=", "2014", "AND", "t4.venuename", "=", "``", "eccv", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", "from", "paperdataset", "as", "t2", "join", "dataset", "as", "t1", "on", "t2", ".", "datasetid", "=", "t1", ".", "datasetid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "join", "venue", "as", "t4", "on", "t4", ".", "venueid", "=", "t3", ".", "venueid", "where", "t1", ".", "datasetname", "=", "value", "and", "t3", ".", "year", "=", "value", "and", "t4", ".", "venuename", "=", "value" ], "question": "quais artigos da eccv 2014 usam ImageNet?", "question_toks": [ "quais", "artigos", "da", "eccv", "2014", "usam", "ImageNet", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 7 ], [ "table_unit", 2 ], [ "table_unit", 5 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 21, false ], null ], [ 0, 5, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 20, false ], null ], "and", [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 6, false ], null ], "\"ImageNet\"", null ], "and", [ false, 2, [ 0, [ 0, 14, false ], null ], 2014.0, null ], "and", [ false, 2, [ 0, [ 0, 2, false ], null ], "\"eccv\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid FROM paperdataset AS t2 JOIN dataset AS t1 ON t2.datasetid = t1.datasetid JOIN paper AS t3 ON t3.paperid = t2.paperid JOIN venue AS t4 ON t4.venueid = t3.venueid WHERE t1.datasetname = \"ImageNet\" AND t3.year = 2014 AND t4.venuename = \"eccv\";", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", "FROM", "paperdataset", "AS", "t2", "JOIN", "dataset", "AS", "t1", "ON", "t2.datasetid", "=", "t1.datasetid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "JOIN", "venue", "AS", "t4", "ON", "t4.venueid", "=", "t3.venueid", "WHERE", "t1.datasetname", "=", "``", "ImageNet", "''", "AND", "t3.year", "=", "2014", "AND", "t4.venuename", "=", "``", "eccv", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", "from", "paperdataset", "as", "t2", "join", "dataset", "as", "t1", "on", "t2", ".", "datasetid", "=", "t1", ".", "datasetid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "join", "venue", "as", "t4", "on", "t4", ".", "venueid", "=", "t3", ".", "venueid", "where", "t1", ".", "datasetname", "=", "value", "and", "t3", ".", "year", "=", "value", "and", "t4", ".", "venuename", "=", "value" ], "question": "artigos eccv 2014 usando ImageNet", "question_toks": [ "artigos", "eccv", "2014", "usando", "ImageNet" ], "sql": { "from": { "table_units": [ [ "table_unit", 7 ], [ "table_unit", 2 ], [ "table_unit", 5 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 21, false ], null ], [ 0, 5, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 20, false ], null ], "and", [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 6, false ], null ], "\"ImageNet\"", null ], "and", [ false, 2, [ 0, [ 0, 14, false ], null ], 2014.0, null ], "and", [ false, 2, [ 0, [ 0, 2, false ], null ], "\"eccv\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t5.citingpaperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN cite AS t5 ON t2.paperid = t5.citingpaperid JOIN paper AS t3 ON t3.paperid = t5.citedpaperid JOIN venue AS t4 ON t4.venueid = t3.venueid WHERE t1.keyphrasename = \"Euclidean Distance\" AND t4.venuename = \"NIPS\";", "query_toks": [ "SELECT", "DISTINCT", "t5.citingpaperid", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t1", "ON", "t2.keyphraseid", "=", "t1.keyphraseid", "JOIN", "cite", "AS", "t5", "ON", "t2.paperid", "=", "t5.citingpaperid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t5.citedpaperid", "JOIN", "venue", "AS", "t4", "ON", "t4.venueid", "=", "t3.venueid", "WHERE", "t1.keyphrasename", "=", "``", "Euclidean", "Distance", "''", "AND", "t4.venuename", "=", "``", "NIPS", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t5", ".", "citingpaperid", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t1", "on", "t2", ".", "keyphraseid", "=", "t1", ".", "keyphraseid", "join", "cite", "as", "t5", "on", "t2", ".", "paperid", "=", "t5", ".", "citingpaperid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t5", ".", "citedpaperid", "join", "venue", "as", "t4", "on", "t4", ".", "venueid", "=", "t3", ".", "venueid", "where", "t1", ".", "keyphrasename", "=", "value", "and", "t4", ".", "venuename", "=", "value" ], "question": "Artigos da distância Euclidiana citando artigos do NIPS", "question_toks": [ "Artigos", "da", "distância", "Euclidiana", "citando", "artigos", "do", "NIPS" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 6 ], [ "table_unit", 5 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 22, false ], null ], [ 0, 18, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 19, false ], null ], "and", [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 18, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"Euclidean Distance\"", null ], "and", [ false, 2, [ 0, [ 0, 2, false ], null ], "\"NIPS\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT COUNT ( t4.paperid ) , t3.paperid FROM paperdataset AS t2 JOIN dataset AS t1 ON t2.datasetid = t1.datasetid JOIN paper AS t4 ON t4.paperid = t2.paperid JOIN writes AS t3 ON t3.paperid = t4.paperid WHERE t1.datasetname = \"ImageNet\" GROUP BY t3.paperid ORDER BY COUNT ( t4.paperid ) DESC;", "query_toks": [ "SELECT", "DISTINCT", "COUNT", "(", "t4.paperid", ")", ",", "t3.paperid", "FROM", "paperdataset", "AS", "t2", "JOIN", "dataset", "AS", "t1", "ON", "t2.datasetid", "=", "t1.datasetid", "JOIN", "paper", "AS", "t4", "ON", "t4.paperid", "=", "t2.paperid", "JOIN", "writes", "AS", "t3", "ON", "t3.paperid", "=", "t4.paperid", "WHERE", "t1.datasetname", "=", "``", "ImageNet", "''", "GROUP", "BY", "t3.paperid", "ORDER", "BY", "COUNT", "(", "t4.paperid", ")", "DESC", ";" ], "query_toks_no_value": [ "select", "distinct", "count", "(", "t4", ".", "paperid", ")", ",", "t3", ".", "paperid", "from", "paperdataset", "as", "t2", "join", "dataset", "as", "t1", "on", "t2", ".", "datasetid", "=", "t1", ".", "datasetid", "join", "paper", "as", "t4", "on", "t4", ".", "paperid", "=", "t2", ".", "paperid", "join", "writes", "as", "t3", "on", "t3", ".", "paperid", "=", "t4", ".", "paperid", "where", "t1", ".", "datasetname", "=", "value", "group", "by", "t3", ".", "paperid", "order", "by", "count", "(", "t4", ".", "paperid", ")", "desc" ], "question": "principais autores trabalhando na ImageNet?", "question_toks": [ "principais", "autores", "trabalhando", "na", "ImageNet", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 7 ], [ "table_unit", 2 ], [ "table_unit", 5 ], [ "table_unit", 9 ] ], "conds": [ [ false, 2, [ 0, [ 0, 21, false ], null ], [ 0, 5, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 20, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ] ] }, "select": [ true, [ [ 3, [ 0, [ 0, 11, false ], null ] ], [ 0, [ 0, [ 0, 24, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 6, false ], null ], "\"ImageNet\"", null ] ], "groupBy": [ [ 0, 24, false ] ], "having": [], "orderBy": [ "desc", [ [ 0, [ 3, 11, false ], null ] ] ], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT ( t1.paperid ) , COUNT ( t3.citingpaperid ) FROM paper AS t1 JOIN cite AS t3 ON t1.paperid = t3.citedpaperid JOIN venue AS t2 ON t2.venueid = t1.venueid WHERE t1.year = 2012 AND t2.venuename = \"ACL\" GROUP BY t1.paperid HAVING COUNT ( t3.citingpaperid ) > 7;", "query_toks": [ "SELECT", "DISTINCT", "(", "t1.paperid", ")", ",", "COUNT", "(", "t3.citingpaperid", ")", "FROM", "paper", "AS", "t1", "JOIN", "cite", "AS", "t3", "ON", "t1.paperid", "=", "t3.citedpaperid", "JOIN", "venue", "AS", "t2", "ON", "t2.venueid", "=", "t1.venueid", "WHERE", "t1.year", "=", "2012", "AND", "t2.venuename", "=", "``", "ACL", "''", "GROUP", "BY", "t1.paperid", "HAVING", "COUNT", "(", "t3.citingpaperid", ")", ">", "7", ";" ], "query_toks_no_value": [ "select", "distinct", "(", "t1", ".", "paperid", ")", ",", "count", "(", "t3", ".", "citingpaperid", ")", "from", "paper", "as", "t1", "join", "cite", "as", "t3", "on", "t1", ".", "paperid", "=", "t3", ".", "citedpaperid", "join", "venue", "as", "t2", "on", "t2", ".", "venueid", "=", "t1", ".", "venueid", "where", "t1", ".", "year", "=", "value", "and", "t2", ".", "venuename", "=", "value", "group", "by", "t1", ".", "paperid", "having", "count", "(", "t3", ".", "citingpaperid", ")", ">", "value" ], "question": "quantos artigos do ACL 2012 têm mais de 7 citações?", "question_toks": [ "quantos", "artigos", "do", "ACL", "2012", "têm", "mais", "de", "7", "citações", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 5 ], [ "table_unit", 6 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 19, false ], null ], "and", [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ], [ 3, [ 0, [ 0, 18, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 14, false ], null ], 2012.0, null ], "and", [ false, 2, [ 0, [ 0, 2, false ], null ], "\"ACL\"", null ] ], "groupBy": [ [ 0, 11, false ] ], "having": [ [ false, 3, [ 0, [ 3, 18, false ], null ], 7.0, null ] ], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT COUNT ( DISTINCT t4.citingpaperid ) , t1.keyphraseid , t2.paperid FROM paper AS t2 JOIN cite AS t4 ON t2.paperid = t4.citedpaperid JOIN paperkeyphrase AS t1 ON t2.paperid = t1.paperid JOIN venue AS t3 ON t3.venueid = t2.venueid WHERE t2.year = 2012 AND t3.venuename = \"EMNLP-CoNLL\" GROUP BY t2.paperid , t1.keyphraseid ORDER BY COUNT ( DISTINCT t4.citingpaperid ) DESC;", "query_toks": [ "SELECT", "DISTINCT", "COUNT", "(", "DISTINCT", "t4.citingpaperid", ")", ",", "t1.keyphraseid", ",", "t2.paperid", "FROM", "paper", "AS", "t2", "JOIN", "cite", "AS", "t4", "ON", "t2.paperid", "=", "t4.citedpaperid", "JOIN", "paperkeyphrase", "AS", "t1", "ON", "t2.paperid", "=", "t1.paperid", "JOIN", "venue", "AS", "t3", "ON", "t3.venueid", "=", "t2.venueid", "WHERE", "t2.year", "=", "2012", "AND", "t3.venuename", "=", "``", "EMNLP-CoNLL", "''", "GROUP", "BY", "t2.paperid", ",", "t1.keyphraseid", "ORDER", "BY", "COUNT", "(", "DISTINCT", "t4.citingpaperid", ")", "DESC", ";" ], "query_toks_no_value": [ "select", "distinct", "count", "(", "distinct", "t4", ".", "citingpaperid", ")", ",", "t1", ".", "keyphraseid", ",", "t2", ".", "paperid", "from", "paper", "as", "t2", "join", "cite", "as", "t4", "on", "t2", ".", "paperid", "=", "t4", ".", "citedpaperid", "join", "paperkeyphrase", "as", "t1", "on", "t2", ".", "paperid", "=", "t1", ".", "paperid", "join", "venue", "as", "t3", "on", "t3", ".", "venueid", "=", "t2", ".", "venueid", "where", "t2", ".", "year", "=", "value", "and", "t3", ".", "venuename", "=", "value", "group", "by", "t2", ".", "paperid", ",", "t1", ".", "keyphraseid", "order", "by", "count", "(", "distinct", "t4", ".", "citingpaperid", ")", "desc" ], "question": "Qual foi o tema do melhor artigo em 2012 EMNLP-CoNLL?", "question_toks": [ "Qual", "foi", "o", "tema", "do", "melhor", "artigo", "em", "2012", "EMNLP-CoNLL", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 5 ], [ "table_unit", 6 ], [ "table_unit", 8 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 19, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ], "and", [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ] ] }, "select": [ true, [ [ 3, [ 0, [ 0, 18, true ], null ] ], [ 0, [ 0, [ 0, 23, false ], null ] ], [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 14, false ], null ], 2012.0, null ], "and", [ false, 2, [ 0, [ 0, 2, false ], null ], "\"EMNLP-CoNLL\"", null ] ], "groupBy": [ [ 0, 11, false ], [ 0, 23, false ] ], "having": [], "orderBy": [ "desc", [ [ 0, [ 3, 18, true ], null ] ] ], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT COUNT ( DISTINCT t2.paperid ) FROM writes AS t2 JOIN author AS t1 ON t2.authorid = t1.authorid JOIN paper AS t3 ON t2.paperid = t3.paperid WHERE t1.authorname != \"Noah Smith\" AND t3.year > 2009 AND t2.paperid IN ( SELECT t2.paperid FROM writes AS t2 JOIN author AS t1 ON t2.authorid = t1.authorid WHERE t1.authorname LIKE \"Noah Smith\" );", "query_toks": [ "SELECT", "DISTINCT", "COUNT", "(", "DISTINCT", "t2.paperid", ")", "FROM", "writes", "AS", "t2", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "JOIN", "paper", "AS", "t3", "ON", "t2.paperid", "=", "t3.paperid", "WHERE", "t1.authorname", "!", "=", "``", "Noah", "Smith", "''", "AND", "t3.year", ">", "2009", "AND", "t2.paperid", "IN", "(", "SELECT", "t2.paperid", "FROM", "writes", "AS", "t2", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "WHERE", "t1.authorname", "LIKE", "``", "Noah", "Smith", "''", ")", ";" ], "query_toks_no_value": [ "select", "distinct", "count", "(", "distinct", "t2", ".", "paperid", ")", "from", "writes", "as", "t2", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "join", "paper", "as", "t3", "on", "t2", ".", "paperid", "=", "t3", ".", "paperid", "where", "t1", ".", "authorname", "!", "=", "value", "and", "t3", ".", "year", ">", "value", "and", "t2", ".", "paperid", "in", "(", "select", "t2", ".", "paperid", "from", "writes", "as", "t2", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "where", "t1", ".", "authorname", "like", "value", ")" ], "question": "Quantos artigos Noah Smith foi coautor desde 2009?", "question_toks": [ "Quantos", "artigos", "Noah", "Smith", "foi", "coautor", "desde", "2009", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ] ] }, "select": [ true, [ [ 3, [ 0, [ 0, 24, true ], null ] ] ] ], "where": [ [ false, 7, [ 0, [ 0, 4, false ], null ], "\"Noah Smith\"", null ], "and", [ false, 3, [ 0, [ 0, 14, false ], null ], 2009.0, null ], "and", [ false, 8, [ 0, [ 0, 24, false ], null ], { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 24, false ], null ] ] ] ], "where": [ [ false, 9, [ 0, [ 0, 4, false ], null ], "\"Noah Smith\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT COUNT ( t3.citingpaperid ) FROM paper AS t1 JOIN cite AS t3 ON t1.paperid = t3.citedpaperid JOIN venue AS t2 ON t2.venueid = t1.venueid WHERE t2.venuename = \"ACL\" GROUP BY t3.citingpaperid HAVING COUNT ( DISTINCT t3.citedpaperid ) > 2;", "query_toks": [ "SELECT", "DISTINCT", "COUNT", "(", "t3.citingpaperid", ")", "FROM", "paper", "AS", "t1", "JOIN", "cite", "AS", "t3", "ON", "t1.paperid", "=", "t3.citedpaperid", "JOIN", "venue", "AS", "t2", "ON", "t2.venueid", "=", "t1.venueid", "WHERE", "t2.venuename", "=", "``", "ACL", "''", "GROUP", "BY", "t3.citingpaperid", "HAVING", "COUNT", "(", "DISTINCT", "t3.citedpaperid", ")", ">", "2", ";" ], "query_toks_no_value": [ "select", "distinct", "count", "(", "t3", ".", "citingpaperid", ")", "from", "paper", "as", "t1", "join", "cite", "as", "t3", "on", "t1", ".", "paperid", "=", "t3", ".", "citedpaperid", "join", "venue", "as", "t2", "on", "t2", ".", "venueid", "=", "t1", ".", "venueid", "where", "t2", ".", "venuename", "=", "value", "group", "by", "t3", ".", "citingpaperid", "having", "count", "(", "distinct", "t3", ".", "citedpaperid", ")", ">", "value" ], "question": "Número de artigos ACL com mais de 2 citações", "question_toks": [ "Número", "de", "artigos", "ACL", "com", "mais", "de", "2", "citações" ], "sql": { "from": { "table_units": [ [ "table_unit", 5 ], [ "table_unit", 6 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 19, false ], null ], "and", [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ] ] }, "select": [ true, [ [ 3, [ 0, [ 0, 18, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 2, false ], null ], "\"ACL\"", null ] ], "groupBy": [ [ 0, 18, false ] ], "having": [ [ false, 3, [ 0, [ 3, 19, true ], null ], 2.0, null ] ], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t2.title FROM paperkeyphrase AS t5 JOIN keyphrase AS t3 ON t5.keyphraseid = t3.keyphraseid JOIN writes AS t4 ON t4.paperid = t5.paperid JOIN paper AS t2 ON t4.paperid = t2.paperid JOIN author AS t1 ON t4.authorid = t1.authorid JOIN venue AS t6 ON t6.venueid = t2.venueid WHERE t1.authorname LIKE \"Eric C. Kerrigan\" AND t3.keyphrasename = \"Liquid\" AND t6.venuename = \"Automatica\";", "query_toks": [ "SELECT", "DISTINCT", "t2.title", "FROM", "paperkeyphrase", "AS", "t5", "JOIN", "keyphrase", "AS", "t3", "ON", "t5.keyphraseid", "=", "t3.keyphraseid", "JOIN", "writes", "AS", "t4", "ON", "t4.paperid", "=", "t5.paperid", "JOIN", "paper", "AS", "t2", "ON", "t4.paperid", "=", "t2.paperid", "JOIN", "author", "AS", "t1", "ON", "t4.authorid", "=", "t1.authorid", "JOIN", "venue", "AS", "t6", "ON", "t6.venueid", "=", "t2.venueid", "WHERE", "t1.authorname", "LIKE", "``", "Eric", "C.", "Kerrigan", "''", "AND", "t3.keyphrasename", "=", "``", "Liquid", "''", "AND", "t6.venuename", "=", "``", "Automatica", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t2", ".", "title", "from", "paperkeyphrase", "as", "t5", "join", "keyphrase", "as", "t3", "on", "t5", ".", "keyphraseid", "=", "t3", ".", "keyphraseid", "join", "writes", "as", "t4", "on", "t4", ".", "paperid", "=", "t5", ".", "paperid", "join", "paper", "as", "t2", "on", "t4", ".", "paperid", "=", "t2", ".", "paperid", "join", "author", "as", "t1", "on", "t4", ".", "authorid", "=", "t1", ".", "authorid", "join", "venue", "as", "t6", "on", "t6", ".", "venueid", "=", "t2", ".", "venueid", "where", "t1", ".", "authorname", "like", "value", "and", "t3", ".", "keyphrasename", "=", "value", "and", "t6", ".", "venuename", "=", "value" ], "question": "Qual é o nome do artigo de Eric C. Kerrigan sobre Liquid Automatica?", "question_toks": [ "Qual", "é", "o", "nome", "do", "artigo", "de", "Eric", "C.", "Kerrigan", "sobre", "Liquid", "Automatica", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 9 ], [ "table_unit", 5 ], [ "table_unit", 1 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 22, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ], "and", [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 12, false ], null ] ] ] ], "where": [ [ false, 9, [ 0, [ 0, 4, false ], null ], "\"Eric C. Kerrigan\"", null ], "and", [ false, 2, [ 0, [ 0, 10, false ], null ], "\"Liquid\"", null ], "and", [ false, 2, [ 0, [ 0, 2, false ], null ], "\"Automatica\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT COUNT ( t3.paperid ) FROM paperdataset AS t2 JOIN dataset AS t1 ON t2.datasetid = t1.datasetid JOIN paper AS t3 ON t3.paperid = t2.paperid JOIN venue AS t4 ON t4.venueid = t3.venueid WHERE t1.datasetname = \"ImageNet\" AND t4.venuename = \"cvpr\";", "query_toks": [ "SELECT", "DISTINCT", "COUNT", "(", "t3.paperid", ")", "FROM", "paperdataset", "AS", "t2", "JOIN", "dataset", "AS", "t1", "ON", "t2.datasetid", "=", "t1.datasetid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "JOIN", "venue", "AS", "t4", "ON", "t4.venueid", "=", "t3.venueid", "WHERE", "t1.datasetname", "=", "``", "ImageNet", "''", "AND", "t4.venuename", "=", "``", "cvpr", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "count", "(", "t3", ".", "paperid", ")", "from", "paperdataset", "as", "t2", "join", "dataset", "as", "t1", "on", "t2", ".", "datasetid", "=", "t1", ".", "datasetid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "join", "venue", "as", "t4", "on", "t4", ".", "venueid", "=", "t3", ".", "venueid", "where", "t1", ".", "datasetname", "=", "value", "and", "t4", ".", "venuename", "=", "value" ], "question": "Quantos artigos usaram conjuntos de dados ImageNet no cvpr?", "question_toks": [ "Quantos", "artigos", "usaram", "conjuntos", "de", "dados", "ImageNet", "no", "cvpr", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 7 ], [ "table_unit", 2 ], [ "table_unit", 5 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 21, false ], null ], [ 0, 5, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 20, false ], null ], "and", [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ] ] }, "select": [ true, [ [ 3, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 6, false ], null ], "\"ImageNet\"", null ], "and", [ false, 2, [ 0, [ 0, 2, false ], null ], "\"cvpr\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT venueid FROM venue WHERE venuename = \"Neuroscience\";", "query_toks": [ "SELECT", "DISTINCT", "venueid", "FROM", "venue", "WHERE", "venuename", "=", "``", "Neuroscience", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "venueid", "from", "venue", "where", "venuename", "=", "value" ], "question": "Quais são os locais para a neurociência?", "question_toks": [ "Quais", "são", "os", "locais", "para", "a", "neurociência", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ true, [ [ 0, [ 0, [ 0, 1, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 2, false ], null ], "\"Neuroscience\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT MAX ( t3.year ) FROM writes AS t2 JOIN author AS t1 ON t2.authorid = t1.authorid JOIN paper AS t3 ON t2.paperid = t3.paperid WHERE t1.authorname = \"Mary Crainie\";", "query_toks": [ "SELECT", "DISTINCT", "MAX", "(", "t3.year", ")", "FROM", "writes", "AS", "t2", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "JOIN", "paper", "AS", "t3", "ON", "t2.paperid", "=", "t3.paperid", "WHERE", "t1.authorname", "=", "``", "Mary", "Crainie", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "max", "(", "t3", ".", "year", ")", "from", "writes", "as", "t2", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "join", "paper", "as", "t3", "on", "t2", ".", "paperid", "=", "t3", ".", "paperid", "where", "t1", ".", "authorname", "=", "value" ], "question": "Quando foi a última vez que Mary Crainie publicou um artigo?", "question_toks": [ "Quando", "foi", "a", "última", "vez", "que", "Mary", "Crainie", "publicou", "um", "artigo", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ] ] }, "select": [ true, [ [ 1, [ 0, [ 0, 14, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Mary Crainie\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t1.authorid FROM paperkeyphrase AS t6 JOIN keyphrase AS t3 ON t6.keyphraseid = t3.keyphraseid JOIN writes AS t4 ON t4.paperid = t6.paperid JOIN writes AS t5 ON t5.paperid = t4.paperid JOIN author AS t1 ON t5.authorid = t1.authorid JOIN author AS t2 ON t4.authorid = t2.authorid WHERE t2.authorname = \"Philipp Koehn\" AND t3.keyphrasename = \"Machine Translation Output\";", "query_toks": [ "SELECT", "DISTINCT", "t1.authorid", "FROM", "paperkeyphrase", "AS", "t6", "JOIN", "keyphrase", "AS", "t3", "ON", "t6.keyphraseid", "=", "t3.keyphraseid", "JOIN", "writes", "AS", "t4", "ON", "t4.paperid", "=", "t6.paperid", "JOIN", "writes", "AS", "t5", "ON", "t5.paperid", "=", "t4.paperid", "JOIN", "author", "AS", "t1", "ON", "t5.authorid", "=", "t1.authorid", "JOIN", "author", "AS", "t2", "ON", "t4.authorid", "=", "t2.authorid", "WHERE", "t2.authorname", "=", "``", "Philipp", "Koehn", "''", "AND", "t3.keyphrasename", "=", "``", "Machine", "Translation", "Output", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t1", ".", "authorid", "from", "paperkeyphrase", "as", "t6", "join", "keyphrase", "as", "t3", "on", "t6", ".", "keyphraseid", "=", "t3", ".", "keyphraseid", "join", "writes", "as", "t4", "on", "t4", ".", "paperid", "=", "t6", ".", "paperid", "join", "writes", "as", "t5", "on", "t5", ".", "paperid", "=", "t4", ".", "paperid", "join", "author", "as", "t1", "on", "t5", ".", "authorid", "=", "t1", ".", "authorid", "join", "author", "as", "t2", "on", "t4", ".", "authorid", "=", "t2", ".", "authorid", "where", "t2", ".", "authorname", "=", "value", "and", "t3", ".", "keyphrasename", "=", "value" ], "question": "Quero os co-autores de artigos sobre saída de tradução automática com Philipp Koehn", "question_toks": [ "Quero", "os", "co-autores", "de", "artigos", "sobre", "saída", "de", "tradução", "automática", "com", "Philipp", "Koehn" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 9 ], [ "table_unit", 9 ], [ "table_unit", 1 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 22, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 24, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Philipp Koehn\"", null ], "and", [ false, 2, [ 0, [ 0, 10, false ], null ], "\"Machine Translation Output\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT COUNT ( DISTINCT t3.paperid ) FROM venue AS t4 JOIN paper AS t3 ON t4.venueid = t3.venueid JOIN writes AS t2 ON t2.paperid = t3.paperid JOIN author AS t1 ON t2.authorid = t1.authorid WHERE t1.authorname = \"Samuel Madden\" AND t4.venuename != \"PVLDB\";", "query_toks": [ "SELECT", "DISTINCT", "COUNT", "(", "DISTINCT", "t3.paperid", ")", "FROM", "venue", "AS", "t4", "JOIN", "paper", "AS", "t3", "ON", "t4.venueid", "=", "t3.venueid", "JOIN", "writes", "AS", "t2", "ON", "t2.paperid", "=", "t3.paperid", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "WHERE", "t1.authorname", "=", "``", "Samuel", "Madden", "''", "AND", "t4.venuename", "!", "=", "``", "PVLDB", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "count", "(", "distinct", "t3", ".", "paperid", ")", "from", "venue", "as", "t4", "join", "paper", "as", "t3", "on", "t4", ".", "venueid", "=", "t3", ".", "venueid", "join", "writes", "as", "t2", "on", "t2", ".", "paperid", "=", "t3", ".", "paperid", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "where", "t1", ".", "authorname", "=", "value", "and", "t4", ".", "venuename", "!", "=", "value" ], "question": "Quantos artigos Samuel Madden publica fora da área do PVLDB?", "question_toks": [ "Quantos", "artigos", "Samuel", "Madden", "publica", "fora", "da", "área", "do", "PVLDB", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ], [ "table_unit", 5 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 3, [ 0, [ 0, 11, true ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Samuel Madden\"", null ], "and", [ false, 7, [ 0, [ 0, 2, false ], null ], "\"PVLDB\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.journalid , t3.year FROM writes AS t2 JOIN author AS t1 ON t2.authorid = t1.authorid JOIN paper AS t3 ON t2.paperid = t3.paperid WHERE t1.authorname = \"Donald E Knuth\" GROUP BY t3.journalid , t3.year ORDER BY t3.year DESC;", "query_toks": [ "SELECT", "DISTINCT", "t3.journalid", ",", "t3.year", "FROM", "writes", "AS", "t2", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "JOIN", "paper", "AS", "t3", "ON", "t2.paperid", "=", "t3.paperid", "WHERE", "t1.authorname", "=", "``", "Donald", "E", "Knuth", "''", "GROUP", "BY", "t3.journalid", ",", "t3.year", "ORDER", "BY", "t3.year", "DESC", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "journalid", ",", "t3", ".", "year", "from", "writes", "as", "t2", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "join", "paper", "as", "t3", "on", "t2", ".", "paperid", "=", "t3", ".", "paperid", "where", "t1", ".", "authorname", "=", "value", "group", "by", "t3", ".", "journalid", ",", "t3", ".", "year", "order", "by", "t3", ".", "year", "desc" ], "question": "em qual jornal Donald E Knuth publicou seu último artigo?", "question_toks": [ "em", "qual", "jornal", "Donald", "E", "Knuth", "publicou", "seu", "último", "artigo", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 17, false ], null ] ], [ 0, [ 0, [ 0, 14, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Donald E Knuth\"", null ] ], "groupBy": [ [ 0, 17, false ], [ 0, 14, false ] ], "having": [], "orderBy": [ "desc", [ [ 0, [ 0, 14, false ], null ] ] ], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT venueid FROM paper WHERE title = \"Fracture of acrylic bone cement\";", "query_toks": [ "SELECT", "DISTINCT", "venueid", "FROM", "paper", "WHERE", "title", "=", "``", "Fracture", "of", "acrylic", "bone", "cement", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "venueid", "from", "paper", "where", "title", "=", "value" ], "question": "Qual é o local da fratura do cimento ósseo acrílico?", "question_toks": [ "Qual", "é", "o", "local", "da", "fratura", "do", "cimento", "ósseo", "acrílico", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 5 ] ], "conds": [] }, "select": [ true, [ [ 0, [ 0, [ 0, 13, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 12, false ], null ], "\"Fracture of acrylic bone cement\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT COUNT ( t2.paperid ) FROM venue AS t3 JOIN paper AS t2 ON t3.venueid = t2.venueid JOIN writes AS t1 ON t1.paperid = t2.paperid WHERE t2.year = 2010 AND t3.venuename = \"sigcse\";", "query_toks": [ "SELECT", "DISTINCT", "COUNT", "(", "t2.paperid", ")", "FROM", "venue", "AS", "t3", "JOIN", "paper", "AS", "t2", "ON", "t3.venueid", "=", "t2.venueid", "JOIN", "writes", "AS", "t1", "ON", "t1.paperid", "=", "t2.paperid", "WHERE", "t2.year", "=", "2010", "AND", "t3.venuename", "=", "``", "sigcse", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "count", "(", "t2", ".", "paperid", ")", "from", "venue", "as", "t3", "join", "paper", "as", "t2", "on", "t3", ".", "venueid", "=", "t2", ".", "venueid", "join", "writes", "as", "t1", "on", "t1", ".", "paperid", "=", "t2", ".", "paperid", "where", "t2", ".", "year", "=", "value", "and", "t3", ".", "venuename", "=", "value" ], "question": "Quantos autores publicaram na sigcse em 2010?", "question_toks": [ "Quantos", "autores", "publicaram", "na", "sigcse", "em", "2010", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ], [ "table_unit", 5 ], [ "table_unit", 9 ] ], "conds": [ [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ] ] }, "select": [ true, [ [ 3, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 14, false ], null ], 2010.0, null ], "and", [ false, 2, [ 0, [ 0, 2, false ], null ], "\"sigcse\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT title , YEAR FROM paper WHERE title = \"A Switching Architecture For ISDN\";", "query_toks": [ "SELECT", "DISTINCT", "title", ",", "YEAR", "FROM", "paper", "WHERE", "title", "=", "``", "A", "Switching", "Architecture", "For", "ISDN", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "title", ",", "year", "from", "paper", "where", "title", "=", "value" ], "question": "Qual é o ano de publicação de \"A Switching Architecture For ISDN\"?", "question_toks": [ "Qual", "é", "o", "ano", "de", "publicação", "de", "\"", "A", "Switching", "Architecture", "For", "ISDN", "\"", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 5 ] ], "conds": [] }, "select": [ true, [ [ 0, [ 0, [ 0, 12, false ], null ] ], [ 0, [ 0, [ 0, 14, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 12, false ], null ], "\"A Switching Architecture For ISDN\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t1.keyphraseid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid JOIN venue AS t4 ON t4.venueid = t3.venueid WHERE t4.venuename = \"uist\";", "query_toks": [ "SELECT", "DISTINCT", "t1.keyphraseid", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t1", "ON", "t2.keyphraseid", "=", "t1.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "JOIN", "venue", "AS", "t4", "ON", "t4.venueid", "=", "t3.venueid", "WHERE", "t4.venuename", "=", "``", "uist", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t1", ".", "keyphraseid", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t1", "on", "t2", ".", "keyphraseid", "=", "t1", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "join", "venue", "as", "t4", "on", "t4", ".", "venueid", "=", "t3", ".", "venueid", "where", "t4", ".", "venuename", "=", "value" ], "question": "quais palavras-chave são usadas pelos jornais na uist", "question_toks": [ "quais", "palavras-chave", "são", "usadas", "pelos", "jornais", "na", "uist" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ], "and", [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 9, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 2, false ], null ], "\"uist\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.paperid FROM writes AS t2 JOIN author AS t1 ON t2.authorid = t1.authorid JOIN paper AS t3 ON t2.paperid = t3.paperid WHERE t1.authorname = \"Su-In Lee\" AND t3.year < 2012;", "query_toks": [ "SELECT", "DISTINCT", "t3.paperid", "FROM", "writes", "AS", "t2", "JOIN", "author", "AS", "t1", "ON", "t2.authorid", "=", "t1.authorid", "JOIN", "paper", "AS", "t3", "ON", "t2.paperid", "=", "t3.paperid", "WHERE", "t1.authorname", "=", "``", "Su-In", "Lee", "''", "AND", "t3.year", "<", "2012", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "paperid", "from", "writes", "as", "t2", "join", "author", "as", "t1", "on", "t2", ".", "authorid", "=", "t1", ".", "authorid", "join", "paper", "as", "t3", "on", "t2", ".", "paperid", "=", "t3", ".", "paperid", "where", "t1", ".", "authorname", "=", "value", "and", "t3", ".", "year", "<", "value" ], "question": "Dê-me os documentos escritos por Su-In Lee antes de 2012.", "question_toks": [ "Dê-me", "os", "documentos", "escritos", "por", "Su-In", "Lee", "antes", "de", "2012", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Su-In Lee\"", null ], "and", [ false, 4, [ 0, [ 0, 14, false ], null ], 2012.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT COUNT ( t3.paperid ) , t3.year FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid WHERE t1.keyphrasename = \"semantic parsing\" GROUP BY t3.year ORDER BY t3.year DESC;", "query_toks": [ "SELECT", "DISTINCT", "COUNT", "(", "t3.paperid", ")", ",", "t3.year", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t1", "ON", "t2.keyphraseid", "=", "t1.keyphraseid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "WHERE", "t1.keyphrasename", "=", "``", "semantic", "parsing", "''", "GROUP", "BY", "t3.year", "ORDER", "BY", "t3.year", "DESC", ";" ], "query_toks_no_value": [ "select", "distinct", "count", "(", "t3", ".", "paperid", ")", ",", "t3", ".", "year", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t1", "on", "t2", ".", "keyphraseid", "=", "t1", ".", "keyphraseid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "where", "t1", ".", "keyphrasename", "=", "value", "group", "by", "t3", ".", "year", "order", "by", "t3", ".", "year", "desc" ], "question": "artigos em análise semântica para cada ano", "question_toks": [ "artigos", "em", "análise", "semântica", "para", "cada", "ano" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ] ] }, "select": [ true, [ [ 3, [ 0, [ 0, 11, false ], null ] ], [ 0, [ 0, [ 0, 14, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"semantic parsing\"", null ] ], "groupBy": [ [ 0, 14, false ] ], "having": [], "orderBy": [ "desc", [ [ 0, [ 0, 14, false ], null ] ] ], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t2.citingpaperid FROM paper AS t1 JOIN cite AS t2 ON t1.paperid = t2.citedpaperid GROUP BY t2.citingpaperid HAVING COUNT ( DISTINCT t2.citedpaperid ) >= 5;", "query_toks": [ "SELECT", "DISTINCT", "t2.citingpaperid", "FROM", "paper", "AS", "t1", "JOIN", "cite", "AS", "t2", "ON", "t1.paperid", "=", "t2.citedpaperid", "GROUP", "BY", "t2.citingpaperid", "HAVING", "COUNT", "(", "DISTINCT", "t2.citedpaperid", ")", ">", "=", "5", ";" ], "query_toks_no_value": [ "select", "distinct", "t2", ".", "citingpaperid", "from", "paper", "as", "t1", "join", "cite", "as", "t2", "on", "t1", ".", "paperid", "=", "t2", ".", "citedpaperid", "group", "by", "t2", ".", "citingpaperid", "having", "count", "(", "distinct", "t2", ".", "citedpaperid", ")", ">", "=", "value" ], "question": "artigos com pelo menos 5 citações", "question_toks": [ "artigos", "com", "pelo", "menos", "5", "citações" ], "sql": { "from": { "table_units": [ [ "table_unit", 5 ], [ "table_unit", 6 ] ], "conds": [ [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 19, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 18, false ], null ] ] ] ], "where": [], "groupBy": [ [ 0, 18, false ] ], "having": [ [ false, 5, [ 0, [ 3, 19, true ], null ], 5.0, null ] ], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t2.citingpaperid FROM paper AS t1 JOIN cite AS t2 ON t1.paperid = t2.citedpaperid GROUP BY t2.citingpaperid HAVING COUNT ( DISTINCT t2.citedpaperid ) >= 5;", "query_toks": [ "SELECT", "DISTINCT", "t2.citingpaperid", "FROM", "paper", "AS", "t1", "JOIN", "cite", "AS", "t2", "ON", "t1.paperid", "=", "t2.citedpaperid", "GROUP", "BY", "t2.citingpaperid", "HAVING", "COUNT", "(", "DISTINCT", "t2.citedpaperid", ")", ">", "=", "5", ";" ], "query_toks_no_value": [ "select", "distinct", "t2", ".", "citingpaperid", "from", "paper", "as", "t1", "join", "cite", "as", "t2", "on", "t1", ".", "paperid", "=", "t2", ".", "citedpaperid", "group", "by", "t2", ".", "citingpaperid", "having", "count", "(", "distinct", "t2", ".", "citedpaperid", ")", ">", "=", "value" ], "question": "artigos citados por pelo menos 5 artigos", "question_toks": [ "artigos", "citados", "por", "pelo", "menos", "5", "artigos" ], "sql": { "from": { "table_units": [ [ "table_unit", 5 ], [ "table_unit", 6 ] ], "conds": [ [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 19, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 18, false ], null ] ] ] ], "where": [], "groupBy": [ [ 0, 18, false ] ], "having": [ [ false, 5, [ 0, [ 3, 19, true ], null ], 5.0, null ] ], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.citedpaperid , COUNT ( t3.citingpaperid ) FROM paper AS t1 JOIN cite AS t3 ON t1.paperid = t3.citedpaperid JOIN venue AS t2 ON t2.venueid = t1.venueid WHERE t2.venuename = \"sigcomm\" GROUP BY t3.citedpaperid ORDER BY COUNT ( t3.citingpaperid ) DESC;", "query_toks": [ "SELECT", "DISTINCT", "t3.citedpaperid", ",", "COUNT", "(", "t3.citingpaperid", ")", "FROM", "paper", "AS", "t1", "JOIN", "cite", "AS", "t3", "ON", "t1.paperid", "=", "t3.citedpaperid", "JOIN", "venue", "AS", "t2", "ON", "t2.venueid", "=", "t1.venueid", "WHERE", "t2.venuename", "=", "``", "sigcomm", "''", "GROUP", "BY", "t3.citedpaperid", "ORDER", "BY", "COUNT", "(", "t3.citingpaperid", ")", "DESC", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "citedpaperid", ",", "count", "(", "t3", ".", "citingpaperid", ")", "from", "paper", "as", "t1", "join", "cite", "as", "t3", "on", "t1", ".", "paperid", "=", "t3", ".", "citedpaperid", "join", "venue", "as", "t2", "on", "t2", ".", "venueid", "=", "t1", ".", "venueid", "where", "t2", ".", "venuename", "=", "value", "group", "by", "t3", ".", "citedpaperid", "order", "by", "count", "(", "t3", ".", "citingpaperid", ")", "desc" ], "question": "Qual é o artigo mais citado na sigcomm?", "question_toks": [ "Qual", "é", "o", "artigo", "mais", "citado", "na", "sigcomm", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 5 ], [ "table_unit", 6 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 19, false ], null ], "and", [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 13, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 19, false ], null ] ], [ 3, [ 0, [ 0, 18, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 2, false ], null ], "\"sigcomm\"", null ] ], "groupBy": [ [ 0, 19, false ] ], "having": [], "orderBy": [ "desc", [ [ 0, [ 3, 18, false ], null ] ] ], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "scholar", "query": "SELECT DISTINCT t3.title FROM paperkeyphrase AS t2 JOIN keyphrase AS t5 ON t2.keyphraseid = t5.keyphraseid JOIN writes AS t4 ON t4.paperid = t2.paperid JOIN paper AS t3 ON t4.paperid = t3.paperid JOIN author AS t1 ON t4.authorid = t1.authorid WHERE t1.authorname LIKE \"Ranjit Jhala\" AND t5.keyphrasename = \"Liquid Haskell\";", "query_toks": [ "SELECT", "DISTINCT", "t3.title", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t5", "ON", "t2.keyphraseid", "=", "t5.keyphraseid", "JOIN", "writes", "AS", "t4", "ON", "t4.paperid", "=", "t2.paperid", "JOIN", "paper", "AS", "t3", "ON", "t4.paperid", "=", "t3.paperid", "JOIN", "author", "AS", "t1", "ON", "t4.authorid", "=", "t1.authorid", "WHERE", "t1.authorname", "LIKE", "``", "Ranjit", "Jhala", "''", "AND", "t5.keyphrasename", "=", "``", "Liquid", "Haskell", "''", ";" ], "query_toks_no_value": [ "select", "distinct", "t3", ".", "title", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t5", "on", "t2", ".", "keyphraseid", "=", "t5", ".", "keyphraseid", "join", "writes", "as", "t4", "on", "t4", ".", "paperid", "=", "t2", ".", "paperid", "join", "paper", "as", "t3", "on", "t4", ".", "paperid", "=", "t3", ".", "paperid", "join", "author", "as", "t1", "on", "t4", ".", "authorid", "=", "t1", ".", "authorid", "where", "t1", ".", "authorname", "like", "value", "and", "t5", ".", "keyphrasename", "=", "value" ], "question": "Qual é o nome do papel Liquid Haskell de Ranjit Jhala?", "question_toks": [ "Qual", "é", "o", "nome", "do", "papel", "Liquid", "Haskell", "de", "Ranjit", "Jhala", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 4 ], [ "table_unit", 9 ], [ "table_unit", 5 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 9, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 22, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 11, false ], null ], "and", [ false, 2, [ 0, [ 0, 25, false ], null ], [ 0, 3, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 12, false ], null ] ] ] ], "where": [ [ false, 9, [ 0, [ 0, 4, false ], null ], "\"Ranjit Jhala\"", null ], "and", [ false, 2, [ 0, [ 0, 10, false ], null ], "\"Liquid Haskell\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "yelp", "query": "SELECT name FROM business WHERE rating > 4.5;", "query_toks": [ "SELECT", "name", "FROM", "business", "WHERE", "rating", ">", "4.5", ";" ], "query_toks_no_value": [ "select", "name", "from", "business", "where", "rating", ">", "value" ], "question": "Liste todas as empresas com mais de 4,5 estrelas", "question_toks": [ "Liste", "todas", "as", "empresas", "com", "mais", "de", "4,5", "estrelas" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [ [ false, 3, [ 0, [ 0, 10, false ], null ], 4.5, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "yelp", "query": "SELECT name FROM business WHERE rating = 3.5;", "query_toks": [ "SELECT", "name", "FROM", "business", "WHERE", "rating", "=", "3.5", ";" ], "query_toks_no_value": [ "select", "name", "from", "business", "where", "rating", "=", "value" ], "question": "Liste todas as empresas com classificação 3,5", "question_toks": [ "Liste", "todas", "as", "empresas", "com", "classificação", "3,5" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], 3.5, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "yelp", "query": "SELECT user_id FROM USER WHERE name = \"Michelle\";", "query_toks": [ "SELECT", "user_id", "FROM", "USER", "WHERE", "name", "=", "``", "Michelle", "''", ";" ], "query_toks_no_value": [ "select", "user_id", "from", "user", "where", "name", "=", "value" ], "question": "Liste todos os IDs de usuário com o nome Michelle", "question_toks": [ "Liste", "todos", "os", "IDs", "de", "usuário", "com", "o", "nome", "Michelle" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 16, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 17, false ], null ], "\"Michelle\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "yelp", "query": "SELECT state FROM business WHERE name = \"Whataburger\";", "query_toks": [ "SELECT", "state", "FROM", "business", "WHERE", "name", "=", "``", "Whataburger", "''", ";" ], "query_toks_no_value": [ "select", "state", "from", "business", "where", "name", "=", "value" ], "question": "Encontre todos os estados em que haja um Whataburger", "question_toks": [ "Encontre", "todos", "os", "estados", "em", "que", "haja", "um", "Whataburger" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], "\"Whataburger\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "yelp", "query": "SELECT t1.city FROM category AS t2 JOIN business AS t1 ON t2.business_id = t1.business_id WHERE t1.name = \"MGM Grand Buffet\" AND t2.category_name = \"category_category_name0\";", "query_toks": [ "SELECT", "t1.city", "FROM", "category", "AS", "t2", "JOIN", "business", "AS", "t1", "ON", "t2.business_id", "=", "t1.business_id", "WHERE", "t1.name", "=", "``", "MGM", "Grand", "Buffet", "''", "AND", "t2.category_name", "=", "``", "category_category_name0", "''", ";" ], "query_toks_no_value": [ "select", "t1", ".", "city", "from", "category", "as", "t2", "join", "business", "as", "t1", "on", "t2", ".", "business_id", "=", "t1", ".", "business_id", "where", "t1", ".", "name", "=", "value", "and", "t2", ".", "category_name", "=", "value" ], "question": "Encontre todas as cidades em que há um restaurante chamado \"MGM Grand Buffet\"", "question_toks": [ "Encontre", "todas", "as", "cidades", "em", "que", "há", "um", "restaurante", "chamado", "\"", "MGM", "Grand", "Buffet", "\"" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 13, false ], null ], [ 0, 2, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], "\"MGM Grand Buffet\"", null ], "and", [ false, 2, [ 0, [ 0, 14, false ], null ], "\"category_category_name0\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "yelp", "query": "SELECT city FROM business WHERE rating < 1.5;", "query_toks": [ "SELECT", "city", "FROM", "business", "WHERE", "rating", "<", "1.5", ";" ], "query_toks_no_value": [ "select", "city", "from", "business", "where", "rating", "<", "value" ], "question": "Encontre as cidades das empresas com classificação abaixo de 1,5", "question_toks": [ "Encontre", "as", "cidades", "das", "empresas", "com", "classificação", "abaixo", "de", "1,5" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 4, [ 0, [ 0, 10, false ], null ], 1.5, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "yelp", "query": "SELECT city FROM business WHERE name = \"Taj Mahal\";", "query_toks": [ "SELECT", "city", "FROM", "business", "WHERE", "name", "=", "``", "Taj", "Mahal", "''", ";" ], "query_toks_no_value": [ "select", "city", "from", "business", "where", "name", "=", "value" ], "question": "Encontre todas as cidades que possuem um \"Taj Mahal\".", "question_toks": [ "Encontre", "todas", "as", "cidades", "que", "possuem", "um", "\"", "Taj", "Mahal", "\"", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], "\"Taj Mahal\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "yelp", "query": "SELECT text FROM review WHERE rating < 1;", "query_toks": [ "SELECT", "text", "FROM", "review", "WHERE", "rating", "<", "1", ";" ], "query_toks_no_value": [ "select", "text", "from", "review", "where", "rating", "<", "value" ], "question": "Liste todos os comentários que avaliaram uma empresa com menos de 1", "question_toks": [ "Liste", "todos", "os", "comentários", "que", "avaliaram", "uma", "empresa", "com", "menos", "de", "1" ], "sql": { "from": { "table_units": [ [ "table_unit", 5 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 29, false ], null ] ] ] ], "where": [ [ false, 4, [ 0, [ 0, 28, false ], null ], 1.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "yelp", "query": "SELECT t1.name FROM category AS t2 JOIN business AS t1 ON t2.business_id = t1.business_id WHERE t1.rating > 3.5 AND t2.category_name = \"restaurant\";", "query_toks": [ "SELECT", "t1.name", "FROM", "category", "AS", "t2", "JOIN", "business", "AS", "t1", "ON", "t2.business_id", "=", "t1.business_id", "WHERE", "t1.rating", ">", "3.5", "AND", "t2.category_name", "=", "``", "restaurant", "''", ";" ], "query_toks_no_value": [ "select", "t1", ".", "name", "from", "category", "as", "t2", "join", "business", "as", "t1", "on", "t2", ".", "business_id", "=", "t1", ".", "business_id", "where", "t1", ".", "rating", ">", "value", "and", "t2", ".", "category_name", "=", "value" ], "question": "Liste todos os restaurantes com classificação superior a 3,5", "question_toks": [ "Liste", "todos", "os", "restaurantes", "com", "classificação", "superior", "a", "3,5" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 13, false ], null ], [ 0, 2, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [ [ false, 3, [ 0, [ 0, 10, false ], null ], 3.5, null ], "and", [ false, 2, [ 0, [ 0, 14, false ], null ], "\"restaurant\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "yelp", "query": "SELECT t1.city FROM category AS t2 JOIN business AS t1 ON t2.business_id = t1.business_id WHERE t1.name = \"Taj Mahal\" AND t2.category_name = \"restaurant\";", "query_toks": [ "SELECT", "t1.city", "FROM", "category", "AS", "t2", "JOIN", "business", "AS", "t1", "ON", "t2.business_id", "=", "t1.business_id", "WHERE", "t1.name", "=", "``", "Taj", "Mahal", "''", "AND", "t2.category_name", "=", "``", "restaurant", "''", ";" ], "query_toks_no_value": [ "select", "t1", ".", "city", "from", "category", "as", "t2", "join", "business", "as", "t1", "on", "t2", ".", "business_id", "=", "t1", ".", "business_id", "where", "t1", ".", "name", "=", "value", "and", "t2", ".", "category_name", "=", "value" ], "question": "encontre todas as cidades que têm um restaurante \"Taj Mahal\"", "question_toks": [ "encontre", "todas", "as", "cidades", "que", "têm", "um", "restaurante", "\"", "Taj", "Mahal", "\"" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 13, false ], null ], [ 0, 2, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], "\"Taj Mahal\"", null ], "and", [ false, 2, [ 0, [ 0, 14, false ], null ], "\"restaurant\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "yelp", "query": "SELECT t1.text FROM USER AS t2 JOIN review AS t1 ON t2.user_id = t1.user_id WHERE t2.name = \"Niloofar\";", "query_toks": [ "SELECT", "t1.text", "FROM", "USER", "AS", "t2", "JOIN", "review", "AS", "t1", "ON", "t2.user_id", "=", "t1.user_id", "WHERE", "t2.name", "=", "``", "Niloofar", "''", ";" ], "query_toks_no_value": [ "select", "t1", ".", "text", "from", "user", "as", "t2", "join", "review", "as", "t1", "on", "t2", ".", "user_id", "=", "t1", ".", "user_id", "where", "t2", ".", "name", "=", "value" ], "question": "liste todos os comentários de Niloofar", "question_toks": [ "liste", "todos", "os", "comentários", "de", "Niloofar" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 16, false ], null ], [ 0, 27, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 29, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 17, false ], null ], "\"Niloofar\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "yelp", "query": "SELECT t1.name FROM review AS t2 JOIN business AS t1 ON t2.business_id = t1.business_id JOIN USER AS t3 ON t3.user_id = t2.user_id WHERE t3.name = \"Niloofar\";", "query_toks": [ "SELECT", "t1.name", "FROM", "review", "AS", "t2", "JOIN", "business", "AS", "t1", "ON", "t2.business_id", "=", "t1.business_id", "JOIN", "USER", "AS", "t3", "ON", "t3.user_id", "=", "t2.user_id", "WHERE", "t3.name", "=", "``", "Niloofar", "''", ";" ], "query_toks_no_value": [ "select", "t1", ".", "name", "from", "review", "as", "t2", "join", "business", "as", "t1", "on", "t2", ".", "business_id", "=", "t1", ".", "business_id", "join", "user", "as", "t3", "on", "t3", ".", "user_id", "=", "t2", ".", "user_id", "where", "t3", ".", "name", "=", "value" ], "question": "liste todas as empresas que têm uma avaliação da Niloofar", "question_toks": [ "liste", "todas", "as", "empresas", "que", "têm", "uma", "avaliação", "da", "Niloofar" ], "sql": { "from": { "table_units": [ [ "table_unit", 5 ], [ "table_unit", 0 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 26, false ], null ], [ 0, 2, false ], null ], "and", [ false, 2, [ 0, [ 0, 16, false ], null ], [ 0, 27, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 17, false ], null ], "\"Niloofar\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "yelp", "query": "SELECT t1.name FROM review AS t2 JOIN business AS t1 ON t2.business_id = t1.business_id JOIN USER AS t3 ON t3.user_id = t2.user_id WHERE t2.rating = 5 AND t3.name = \"Niloofar\";", "query_toks": [ "SELECT", "t1.name", "FROM", "review", "AS", "t2", "JOIN", "business", "AS", "t1", "ON", "t2.business_id", "=", "t1.business_id", "JOIN", "USER", "AS", "t3", "ON", "t3.user_id", "=", "t2.user_id", "WHERE", "t2.rating", "=", "5", "AND", "t3.name", "=", "``", "Niloofar", "''", ";" ], "query_toks_no_value": [ "select", "t1", ".", "name", "from", "review", "as", "t2", "join", "business", "as", "t1", "on", "t2", ".", "business_id", "=", "t1", ".", "business_id", "join", "user", "as", "t3", "on", "t3", ".", "user_id", "=", "t2", ".", "user_id", "where", "t2", ".", "rating", "=", "value", "and", "t3", ".", "name", "=", "value" ], "question": "liste todas as empresas que a Niloofar avaliou como 5", "question_toks": [ "liste", "todas", "as", "empresas", "que", "a", "Niloofar", "avaliou", "como", "5" ], "sql": { "from": { "table_units": [ [ "table_unit", 5 ], [ "table_unit", 0 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 26, false ], null ], [ 0, 2, false ], null ], "and", [ false, 2, [ 0, [ 0, 16, false ], null ], [ 0, 27, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 28, false ], null ], 5.0, null ], "and", [ false, 2, [ 0, [ 0, 17, false ], null ], "\"Niloofar\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "yelp", "query": "SELECT t4.text FROM category AS t2 JOIN business AS t1 ON t2.business_id = t1.business_id JOIN category AS t3 ON t3.business_id = t1.business_id JOIN review AS t4 ON t4.business_id = t1.business_id JOIN USER AS t5 ON t5.user_id = t4.user_id WHERE t2.category_name = \"Italian\" AND t3.category_name = \"category_category_name1\" AND t5.name = \"Michelle\";", "query_toks": [ "SELECT", "t4.text", "FROM", "category", "AS", "t2", "JOIN", "business", "AS", "t1", "ON", "t2.business_id", "=", "t1.business_id", "JOIN", "category", "AS", "t3", "ON", "t3.business_id", "=", "t1.business_id", "JOIN", "review", "AS", "t4", "ON", "t4.business_id", "=", "t1.business_id", "JOIN", "USER", "AS", "t5", "ON", "t5.user_id", "=", "t4.user_id", "WHERE", "t2.category_name", "=", "``", "Italian", "''", "AND", "t3.category_name", "=", "``", "category_category_name1", "''", "AND", "t5.name", "=", "``", "Michelle", "''", ";" ], "query_toks_no_value": [ "select", "t4", ".", "text", "from", "category", "as", "t2", "join", "business", "as", "t1", "on", "t2", ".", "business_id", "=", "t1", ".", "business_id", "join", "category", "as", "t3", "on", "t3", ".", "business_id", "=", "t1", ".", "business_id", "join", "review", "as", "t4", "on", "t4", ".", "business_id", "=", "t1", ".", "business_id", "join", "user", "as", "t5", "on", "t5", ".", "user_id", "=", "t4", ".", "user_id", "where", "t2", ".", "category_name", "=", "value", "and", "t3", ".", "category_name", "=", "value", "and", "t5", ".", "name", "=", "value" ], "question": "Liste todas as avaliações de Michelle sobre restaurante italiano", "question_toks": [ "Liste", "todas", "as", "avaliações", "de", "Michelle", "sobre", "restaurante", "italiano" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 0 ], [ "table_unit", 1 ], [ "table_unit", 5 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 13, false ], null ], [ 0, 2, false ], null ], "and", [ false, 2, [ 0, [ 0, 13, false ], null ], [ 0, 2, false ], null ], "and", [ false, 2, [ 0, [ 0, 26, false ], null ], [ 0, 2, false ], null ], "and", [ false, 2, [ 0, [ 0, 16, false ], null ], [ 0, 27, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 29, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 14, false ], null ], "\"Italian\"", null ], "and", [ false, 2, [ 0, [ 0, 14, false ], null ], "\"category_category_name1\"", null ], "and", [ false, 2, [ 0, [ 0, 17, false ], null ], "\"Michelle\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "yelp", "query": "SELECT COUNT ( DISTINCT t3.text ) FROM category AS t2 JOIN business AS t1 ON t2.business_id = t1.business_id JOIN review AS t3 ON t3.business_id = t1.business_id WHERE t1.name = \"Cafe Zinho\" AND t1.state = \"Texas\" AND t2.category_name = \"restaurant\";", "query_toks": [ "SELECT", "COUNT", "(", "DISTINCT", "t3.text", ")", "FROM", "category", "AS", "t2", "JOIN", "business", "AS", "t1", "ON", "t2.business_id", "=", "t1.business_id", "JOIN", "review", "AS", "t3", "ON", "t3.business_id", "=", "t1.business_id", "WHERE", "t1.name", "=", "``", "Cafe", "Zinho", "''", "AND", "t1.state", "=", "``", "Texas", "''", "AND", "t2.category_name", "=", "``", "restaurant", "''", ";" ], "query_toks_no_value": [ "select", "count", "(", "distinct", "t3", ".", "text", ")", "from", "category", "as", "t2", "join", "business", "as", "t1", "on", "t2", ".", "business_id", "=", "t1", ".", "business_id", "join", "review", "as", "t3", "on", "t3", ".", "business_id", "=", "t1", ".", "business_id", "where", "t1", ".", "name", "=", "value", "and", "t1", ".", "state", "=", "value", "and", "t2", ".", "category_name", "=", "value" ], "question": "encontre o número de avaliações escritas para o restaurante \"Café Zinho\" no Texas", "question_toks": [ "encontre", "o", "número", "de", "avaliações", "escritas", "para", "o", "restaurante", "\"", "Café", "Zinho", "\"", "no", "Texas" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 0 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 13, false ], null ], [ 0, 2, false ], null ], "and", [ false, 2, [ 0, [ 0, 26, false ], null ], [ 0, 2, false ], null ] ] }, "select": [ false, [ [ 3, [ 0, [ 0, 29, true ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], "\"Cafe Zinho\"", null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], "\"Texas\"", null ], "and", [ false, 2, [ 0, [ 0, 14, false ], null ], "\"restaurant\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "yelp", "query": "SELECT t1.name FROM category AS t2 JOIN business AS t1 ON t2.business_id = t1.business_id JOIN category AS t3 ON t3.business_id = t1.business_id WHERE t1.rating = 5 AND t2.category_name = \"Italian\" AND t3.category_name = \"restaurant\";", "query_toks": [ "SELECT", "t1.name", "FROM", "category", "AS", "t2", "JOIN", "business", "AS", "t1", "ON", "t2.business_id", "=", "t1.business_id", "JOIN", "category", "AS", "t3", "ON", "t3.business_id", "=", "t1.business_id", "WHERE", "t1.rating", "=", "5", "AND", "t2.category_name", "=", "``", "Italian", "''", "AND", "t3.category_name", "=", "``", "restaurant", "''", ";" ], "query_toks_no_value": [ "select", "t1", ".", "name", "from", "category", "as", "t2", "join", "business", "as", "t1", "on", "t2", ".", "business_id", "=", "t1", ".", "business_id", "join", "category", "as", "t3", "on", "t3", ".", "business_id", "=", "t1", ".", "business_id", "where", "t1", ".", "rating", "=", "value", "and", "t2", ".", "category_name", "=", "value", "and", "t3", ".", "category_name", "=", "value" ], "question": "Listar todos os restaurantes italianos 5 estrelas", "question_toks": [ "Listar", "todos", "os", "restaurantes", "italianos", "5", "estrelas" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 0 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 13, false ], null ], [ 0, 2, false ], null ], "and", [ false, 2, [ 0, [ 0, 13, false ], null ], [ 0, 2, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], 5.0, null ], "and", [ false, 2, [ 0, [ 0, 14, false ], null ], "\"Italian\"", null ], "and", [ false, 2, [ 0, [ 0, 14, false ], null ], "\"restaurant\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "yelp", "query": "SELECT t1.neighbourhood_name FROM category AS t3 JOIN business AS t2 ON t3.business_id = t2.business_id JOIN category AS t4 ON t4.business_id = t2.business_id JOIN neighbourhood AS t1 ON t1.business_id = t2.business_id WHERE t2.city = \"Madison\" AND t3.category_name = \"Italian\" AND t4.category_name = \"restaurant\";", "query_toks": [ "SELECT", "t1.neighbourhood_name", "FROM", "category", "AS", "t3", "JOIN", "business", "AS", "t2", "ON", "t3.business_id", "=", "t2.business_id", "JOIN", "category", "AS", "t4", "ON", "t4.business_id", "=", "t2.business_id", "JOIN", "neighbourhood", "AS", "t1", "ON", "t1.business_id", "=", "t2.business_id", "WHERE", "t2.city", "=", "``", "Madison", "''", "AND", "t3.category_name", "=", "``", "Italian", "''", "AND", "t4.category_name", "=", "``", "restaurant", "''", ";" ], "query_toks_no_value": [ "select", "t1", ".", "neighbourhood_name", "from", "category", "as", "t3", "join", "business", "as", "t2", "on", "t3", ".", "business_id", "=", "t2", ".", "business_id", "join", "category", "as", "t4", "on", "t4", ".", "business_id", "=", "t2", ".", "business_id", "join", "neighbourhood", "as", "t1", "on", "t1", ".", "business_id", "=", "t2", ".", "business_id", "where", "t2", ".", "city", "=", "value", "and", "t3", ".", "category_name", "=", "value", "and", "t4", ".", "category_name", "=", "value" ], "question": "Liste todos os bairros com restaurante italiano em Madison", "question_toks": [ "Liste", "todos", "os", "bairros", "com", "restaurante", "italiano", "em", "Madison" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 0 ], [ "table_unit", 1 ], [ "table_unit", 4 ] ], "conds": [ [ false, 2, [ 0, [ 0, 13, false ], null ], [ 0, 2, false ], null ], "and", [ false, 2, [ 0, [ 0, 13, false ], null ], [ 0, 2, false ], null ], "and", [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 2, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 24, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 5, false ], null ], "\"Madison\"", null ], "and", [ false, 2, [ 0, [ 0, 14, false ], null ], "\"Italian\"", null ], "and", [ false, 2, [ 0, [ 0, 14, false ], null ], "\"restaurant\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "yelp", "query": "SELECT t1.neighbourhood_name FROM category AS t3 JOIN business AS t2 ON t3.business_id = t2.business_id JOIN category AS t4 ON t4.business_id = t2.business_id JOIN neighbourhood AS t1 ON t1.business_id = t2.business_id WHERE t2.city = \"Madison\" AND t2.rating < 2.5 AND t3.category_name = \"Italian\" AND t4.category_name = \"restaurant\";", "query_toks": [ "SELECT", "t1.neighbourhood_name", "FROM", "category", "AS", "t3", "JOIN", "business", "AS", "t2", "ON", "t3.business_id", "=", "t2.business_id", "JOIN", "category", "AS", "t4", "ON", "t4.business_id", "=", "t2.business_id", "JOIN", "neighbourhood", "AS", "t1", "ON", "t1.business_id", "=", "t2.business_id", "WHERE", "t2.city", "=", "``", "Madison", "''", "AND", "t2.rating", "<", "2.5", "AND", "t3.category_name", "=", "``", "Italian", "''", "AND", "t4.category_name", "=", "``", "restaurant", "''", ";" ], "query_toks_no_value": [ "select", "t1", ".", "neighbourhood_name", "from", "category", "as", "t3", "join", "business", "as", "t2", "on", "t3", ".", "business_id", "=", "t2", ".", "business_id", "join", "category", "as", "t4", "on", "t4", ".", "business_id", "=", "t2", ".", "business_id", "join", "neighbourhood", "as", "t1", "on", "t1", ".", "business_id", "=", "t2", ".", "business_id", "where", "t2", ".", "city", "=", "value", "and", "t2", ".", "rating", "<", "value", "and", "t3", ".", "category_name", "=", "value", "and", "t4", ".", "category_name", "=", "value" ], "question": "Liste todos os bairros com restaurante italiano com classificação inferior a 2,5 em Madison", "question_toks": [ "Liste", "todos", "os", "bairros", "com", "restaurante", "italiano", "com", "classificação", "inferior", "a", "2,5", "em", "Madison" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 0 ], [ "table_unit", 1 ], [ "table_unit", 4 ] ], "conds": [ [ false, 2, [ 0, [ 0, 13, false ], null ], [ 0, 2, false ], null ], "and", [ false, 2, [ 0, [ 0, 13, false ], null ], [ 0, 2, false ], null ], "and", [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 2, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 24, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 5, false ], null ], "\"Madison\"", null ], "and", [ false, 4, [ 0, [ 0, 10, false ], null ], 2.5, null ], "and", [ false, 2, [ 0, [ 0, 14, false ], null ], "\"Italian\"", null ], "and", [ false, 2, [ 0, [ 0, 14, false ], null ], "\"restaurant\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "yelp", "query": "SELECT t1.name FROM category AS t2 JOIN business AS t1 ON t2.business_id = t1.business_id WHERE t1.state = \"Pennsylvania\" AND t2.category_name = \"restaurant\";", "query_toks": [ "SELECT", "t1.name", "FROM", "category", "AS", "t2", "JOIN", "business", "AS", "t1", "ON", "t2.business_id", "=", "t1.business_id", "WHERE", "t1.state", "=", "``", "Pennsylvania", "''", "AND", "t2.category_name", "=", "``", "restaurant", "''", ";" ], "query_toks_no_value": [ "select", "t1", ".", "name", "from", "category", "as", "t2", "join", "business", "as", "t1", "on", "t2", ".", "business_id", "=", "t1", ".", "business_id", "where", "t1", ".", "state", "=", "value", "and", "t2", ".", "category_name", "=", "value" ], "question": "encontre todos os restaurantes na Pensilvânia", "question_toks": [ "encontre", "todos", "os", "restaurantes", "na", "Pensilvânia" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 13, false ], null ], [ 0, 2, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 11, false ], null ], "\"Pennsylvania\"", null ], "and", [ false, 2, [ 0, [ 0, 14, false ], null ], "\"restaurant\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "yelp", "query": "SELECT t1.name FROM category AS t2 JOIN business AS t1 ON t2.business_id = t1.business_id WHERE t1.state = \"Pennsylvania\" AND t2.category_name = \"restaurant\";", "query_toks": [ "SELECT", "t1.name", "FROM", "category", "AS", "t2", "JOIN", "business", "AS", "t1", "ON", "t2.business_id", "=", "t1.business_id", "WHERE", "t1.state", "=", "``", "Pennsylvania", "''", "AND", "t2.category_name", "=", "``", "restaurant", "''", ";" ], "query_toks_no_value": [ "select", "t1", ".", "name", "from", "category", "as", "t2", "join", "business", "as", "t1", "on", "t2", ".", "business_id", "=", "t1", ".", "business_id", "where", "t1", ".", "state", "=", "value", "and", "t2", ".", "category_name", "=", "value" ], "question": "Liste todas as empresas que são restaurantes na Pensilvânia.", "question_toks": [ "Liste", "todas", "as", "empresas", "que", "são", "restaurantes", "na", "Pensilvânia", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 13, false ], null ], [ 0, 2, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 11, false ], null ], "\"Pennsylvania\"", null ], "and", [ false, 2, [ 0, [ 0, 14, false ], null ], "\"restaurant\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "yelp", "query": "SELECT t3.text FROM category AS t2 JOIN business AS t1 ON t2.business_id = t1.business_id JOIN review AS t3 ON t3.business_id = t1.business_id WHERE t1.review_count > 100 AND t2.category_name = \"Pet Groomers\";", "query_toks": [ "SELECT", "t3.text", "FROM", "category", "AS", "t2", "JOIN", "business", "AS", "t1", "ON", "t2.business_id", "=", "t1.business_id", "JOIN", "review", "AS", "t3", "ON", "t3.business_id", "=", "t1.business_id", "WHERE", "t1.review_count", ">", "100", "AND", "t2.category_name", "=", "``", "Pet", "Groomers", "''", ";" ], "query_toks_no_value": [ "select", "t3", ".", "text", "from", "category", "as", "t2", "join", "business", "as", "t1", "on", "t2", ".", "business_id", "=", "t1", ".", "business_id", "join", "review", "as", "t3", "on", "t3", ".", "business_id", "=", "t1", ".", "business_id", "where", "t1", ".", "review_count", ">", "value", "and", "t2", ".", "category_name", "=", "value" ], "question": "Encontre todas as avaliações de todos os Pet Groomers com mais de 100 avaliações", "question_toks": [ "Encontre", "todas", "as", "avaliações", "de", "todos", "os", "Pet", "Groomers", "com", "mais", "de", "100", "avaliações" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 0 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 13, false ], null ], [ 0, 2, false ], null ], "and", [ false, 2, [ 0, [ 0, 26, false ], null ], [ 0, 2, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 29, false ], null ] ] ] ], "where": [ [ false, 3, [ 0, [ 0, 8, false ], null ], 100.0, null ], "and", [ false, 2, [ 0, [ 0, 14, false ], null ], "\"Pet Groomers\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "yelp", "query": "SELECT t1.name FROM category AS t2 JOIN business AS t1 ON t2.business_id = t1.business_id WHERE t1.city = \"Los Angeles\" AND t2.category_name = \"breweries\";", "query_toks": [ "SELECT", "t1.name", "FROM", "category", "AS", "t2", "JOIN", "business", "AS", "t1", "ON", "t2.business_id", "=", "t1.business_id", "WHERE", "t1.city", "=", "``", "Los", "Angeles", "''", "AND", "t2.category_name", "=", "``", "breweries", "''", ";" ], "query_toks_no_value": [ "select", "t1", ".", "name", "from", "category", "as", "t2", "join", "business", "as", "t1", "on", "t2", ".", "business_id", "=", "t1", ".", "business_id", "where", "t1", ".", "city", "=", "value", "and", "t2", ".", "category_name", "=", "value" ], "question": "Quais são todas as cervejarias em \"Los Angeles\"?", "question_toks": [ "Quais", "são", "todas", "as", "cervejarias", "em", "\"", "Los", "Angeles", "\"", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 13, false ], null ], [ 0, 2, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 5, false ], null ], "\"Los Angeles\"", null ], "and", [ false, 2, [ 0, [ 0, 14, false ], null ], "\"breweries\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "yelp", "query": "SELECT t1.name FROM category AS t2 JOIN business AS t1 ON t2.business_id = t1.business_id WHERE t1.city = \"Los Angeles\" AND t2.category_name = \"breweries\";", "query_toks": [ "SELECT", "t1.name", "FROM", "category", "AS", "t2", "JOIN", "business", "AS", "t1", "ON", "t2.business_id", "=", "t1.business_id", "WHERE", "t1.city", "=", "``", "Los", "Angeles", "''", "AND", "t2.category_name", "=", "``", "breweries", "''", ";" ], "query_toks_no_value": [ "select", "t1", ".", "name", "from", "category", "as", "t2", "join", "business", "as", "t1", "on", "t2", ".", "business_id", "=", "t1", ".", "business_id", "where", "t1", ".", "city", "=", "value", "and", "t2", ".", "category_name", "=", "value" ], "question": "Encontre todas as cervejarias em Los Angeles", "question_toks": [ "Encontre", "todas", "as", "cervejarias", "em", "Los", "Angeles" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 13, false ], null ], [ 0, 2, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 5, false ], null ], "\"Los Angeles\"", null ], "and", [ false, 2, [ 0, [ 0, 14, false ], null ], "\"breweries\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "yelp", "query": "SELECT t1.name FROM category AS t2 JOIN business AS t1 ON t2.business_id = t1.business_id WHERE t1.city = \"Los Angeles\" AND t2.category_name = \"breweries\";", "query_toks": [ "SELECT", "t1.name", "FROM", "category", "AS", "t2", "JOIN", "business", "AS", "t1", "ON", "t2.business_id", "=", "t1.business_id", "WHERE", "t1.city", "=", "``", "Los", "Angeles", "''", "AND", "t2.category_name", "=", "``", "breweries", "''", ";" ], "query_toks_no_value": [ "select", "t1", ".", "name", "from", "category", "as", "t2", "join", "business", "as", "t1", "on", "t2", ".", "business_id", "=", "t1", ".", "business_id", "where", "t1", ".", "city", "=", "value", "and", "t2", ".", "category_name", "=", "value" ], "question": "Encontre todas as cervejarias em \"Los Angeles\"", "question_toks": [ "Encontre", "todas", "as", "cervejarias", "em", "\"", "Los", "Angeles", "\"" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 13, false ], null ], [ 0, 2, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 5, false ], null ], "\"Los Angeles\"", null ], "and", [ false, 2, [ 0, [ 0, 14, false ], null ], "\"breweries\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "yelp", "query": "SELECT t4.name FROM category AS t2 JOIN business AS t1 ON t2.business_id = t1.business_id JOIN review AS t3 ON t3.business_id = t1.business_id JOIN USER AS t4 ON t4.user_id = t3.user_id WHERE t1.name = \"Mesa Grill\" AND t2.category_name = \"restaurant\";", "query_toks": [ "SELECT", "t4.name", "FROM", "category", "AS", "t2", "JOIN", "business", "AS", "t1", "ON", "t2.business_id", "=", "t1.business_id", "JOIN", "review", "AS", "t3", "ON", "t3.business_id", "=", "t1.business_id", "JOIN", "USER", "AS", "t4", "ON", "t4.user_id", "=", "t3.user_id", "WHERE", "t1.name", "=", "``", "Mesa", "Grill", "''", "AND", "t2.category_name", "=", "``", "restaurant", "''", ";" ], "query_toks_no_value": [ "select", "t4", ".", "name", "from", "category", "as", "t2", "join", "business", "as", "t1", "on", "t2", ".", "business_id", "=", "t1", ".", "business_id", "join", "review", "as", "t3", "on", "t3", ".", "business_id", "=", "t1", ".", "business_id", "join", "user", "as", "t4", "on", "t4", ".", "user_id", "=", "t3", ".", "user_id", "where", "t1", ".", "name", "=", "value", "and", "t2", ".", "category_name", "=", "value" ], "question": "Encontre todos os usuários que avaliaram o restaurante \"Mesa Grill\"", "question_toks": [ "Encontre", "todos", "os", "usuários", "que", "avaliaram", "o", "restaurante", "\"", "Mesa", "Grill", "\"" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 0 ], [ "table_unit", 5 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 13, false ], null ], [ 0, 2, false ], null ], "and", [ false, 2, [ 0, [ 0, 26, false ], null ], [ 0, 2, false ], null ], "and", [ false, 2, [ 0, [ 0, 16, false ], null ], [ 0, 27, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 17, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], "\"Mesa Grill\"", null ], "and", [ false, 2, [ 0, [ 0, 14, false ], null ], "\"restaurant\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "yelp", "query": "SELECT full_address FROM business WHERE city = \"Los Angeles\" AND name = \"Walmart\";", "query_toks": [ "SELECT", "full_address", "FROM", "business", "WHERE", "city", "=", "``", "Los", "Angeles", "''", "AND", "name", "=", "``", "Walmart", "''", ";" ], "query_toks_no_value": [ "select", "full_address", "from", "business", "where", "city", "=", "value", "and", "name", "=", "value" ], "question": "Liste os endereços de todos os Walmart em \"Los Angeles\"", "question_toks": [ "Liste", "os", "endereços", "de", "todos", "os", "Walmart", "em", "\"", "Los", "Angeles", "\"" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 4, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 5, false ], null ], "\"Los Angeles\"", null ], "and", [ false, 2, [ 0, [ 0, 3, false ], null ], "\"Walmart\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "yelp", "query": "SELECT t1.name FROM category AS t2 JOIN business AS t1 ON t2.business_id = t1.business_id JOIN review AS t3 ON t3.business_id = t1.business_id JOIN USER AS t4 ON t4.user_id = t3.user_id WHERE t1.city = \"Dallas\" AND t2.category_name = \"restaurant\" AND t4.name = \"Patrick\";", "query_toks": [ "SELECT", "t1.name", "FROM", "category", "AS", "t2", "JOIN", "business", "AS", "t1", "ON", "t2.business_id", "=", "t1.business_id", "JOIN", "review", "AS", "t3", "ON", "t3.business_id", "=", "t1.business_id", "JOIN", "USER", "AS", "t4", "ON", "t4.user_id", "=", "t3.user_id", "WHERE", "t1.city", "=", "``", "Dallas", "''", "AND", "t2.category_name", "=", "``", "restaurant", "''", "AND", "t4.name", "=", "``", "Patrick", "''", ";" ], "query_toks_no_value": [ "select", "t1", ".", "name", "from", "category", "as", "t2", "join", "business", "as", "t1", "on", "t2", ".", "business_id", "=", "t1", ".", "business_id", "join", "review", "as", "t3", "on", "t3", ".", "business_id", "=", "t1", ".", "business_id", "join", "user", "as", "t4", "on", "t4", ".", "user_id", "=", "t3", ".", "user_id", "where", "t1", ".", "city", "=", "value", "and", "t2", ".", "category_name", "=", "value", "and", "t4", ".", "name", "=", "value" ], "question": "Encontre todos os restaurantes avaliados por Patrick em \"Dallas\"", "question_toks": [ "Encontre", "todos", "os", "restaurantes", "avaliados", "por", "Patrick", "em", "\"", "Dallas", "\"" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 0 ], [ "table_unit", 5 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 13, false ], null ], [ 0, 2, false ], null ], "and", [ false, 2, [ 0, [ 0, 26, false ], null ], [ 0, 2, false ], null ], "and", [ false, 2, [ 0, [ 0, 16, false ], null ], [ 0, 27, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 5, false ], null ], "\"Dallas\"", null ], "and", [ false, 2, [ 0, [ 0, 14, false ], null ], "\"restaurant\"", null ], "and", [ false, 2, [ 0, [ 0, 17, false ], null ], "\"Patrick\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "yelp", "query": "SELECT t1.name FROM category AS t2 JOIN business AS t1 ON t2.business_id = t1.business_id JOIN review AS t3 ON t3.business_id = t1.business_id JOIN USER AS t4 ON t4.user_id = t3.user_id WHERE t1.city = \"Dallas\" AND t2.category_name = \"restaurant\" AND t4.name = \"Patrick\";", "query_toks": [ "SELECT", "t1.name", "FROM", "category", "AS", "t2", "JOIN", "business", "AS", "t1", "ON", "t2.business_id", "=", "t1.business_id", "JOIN", "review", "AS", "t3", "ON", "t3.business_id", "=", "t1.business_id", "JOIN", "USER", "AS", "t4", "ON", "t4.user_id", "=", "t3.user_id", "WHERE", "t1.city", "=", "``", "Dallas", "''", "AND", "t2.category_name", "=", "``", "restaurant", "''", "AND", "t4.name", "=", "``", "Patrick", "''", ";" ], "query_toks_no_value": [ "select", "t1", ".", "name", "from", "category", "as", "t2", "join", "business", "as", "t1", "on", "t2", ".", "business_id", "=", "t1", ".", "business_id", "join", "review", "as", "t3", "on", "t3", ".", "business_id", "=", "t1", ".", "business_id", "join", "user", "as", "t4", "on", "t4", ".", "user_id", "=", "t3", ".", "user_id", "where", "t1", ".", "city", "=", "value", "and", "t2", ".", "category_name", "=", "value", "and", "t4", ".", "name", "=", "value" ], "question": "Qual restaurante em Dallas foi avaliado pelo usuário Patrick?", "question_toks": [ "Qual", "restaurante", "em", "Dallas", "foi", "avaliado", "pelo", "usuário", "Patrick", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 0 ], [ "table_unit", 5 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 13, false ], null ], [ 0, 2, false ], null ], "and", [ false, 2, [ 0, [ 0, 26, false ], null ], [ 0, 2, false ], null ], "and", [ false, 2, [ 0, [ 0, 16, false ], null ], [ 0, 27, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 5, false ], null ], "\"Dallas\"", null ], "and", [ false, 2, [ 0, [ 0, 14, false ], null ], "\"restaurant\"", null ], "and", [ false, 2, [ 0, [ 0, 17, false ], null ], "\"Patrick\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "yelp", "query": "SELECT t1.name FROM category AS t2 JOIN business AS t1 ON t2.business_id = t1.business_id JOIN review AS t3 ON t3.business_id = t1.business_id JOIN USER AS t4 ON t4.user_id = t3.user_id WHERE t2.category_name = \"Bars\" AND t4.name = \"Patrick\";", "query_toks": [ "SELECT", "t1.name", "FROM", "category", "AS", "t2", "JOIN", "business", "AS", "t1", "ON", "t2.business_id", "=", "t1.business_id", "JOIN", "review", "AS", "t3", "ON", "t3.business_id", "=", "t1.business_id", "JOIN", "USER", "AS", "t4", "ON", "t4.user_id", "=", "t3.user_id", "WHERE", "t2.category_name", "=", "``", "Bars", "''", "AND", "t4.name", "=", "``", "Patrick", "''", ";" ], "query_toks_no_value": [ "select", "t1", ".", "name", "from", "category", "as", "t2", "join", "business", "as", "t1", "on", "t2", ".", "business_id", "=", "t1", ".", "business_id", "join", "review", "as", "t3", "on", "t3", ".", "business_id", "=", "t1", ".", "business_id", "join", "user", "as", "t4", "on", "t4", ".", "user_id", "=", "t3", ".", "user_id", "where", "t2", ".", "category_name", "=", "value", "and", "t4", ".", "name", "=", "value" ], "question": "Encontre todos os bares avaliados por Patrick", "question_toks": [ "Encontre", "todos", "os", "bares", "avaliados", "por", "Patrick" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 0 ], [ "table_unit", 5 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 13, false ], null ], [ 0, 2, false ], null ], "and", [ false, 2, [ 0, [ 0, 26, false ], null ], [ 0, 2, false ], null ], "and", [ false, 2, [ 0, [ 0, 16, false ], null ], [ 0, 27, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 14, false ], null ], "\"Bars\"", null ], "and", [ false, 2, [ 0, [ 0, 17, false ], null ], "\"Patrick\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "yelp", "query": "SELECT t1.name FROM category AS t2 JOIN business AS t1 ON t2.business_id = t1.business_id JOIN review AS t3 ON t3.business_id = t1.business_id JOIN USER AS t4 ON t4.user_id = t3.user_id WHERE t1.rating >= 3 AND t2.category_name = \"Bars\" AND t4.name = \"Patrick\";", "query_toks": [ "SELECT", "t1.name", "FROM", "category", "AS", "t2", "JOIN", "business", "AS", "t1", "ON", "t2.business_id", "=", "t1.business_id", "JOIN", "review", "AS", "t3", "ON", "t3.business_id", "=", "t1.business_id", "JOIN", "USER", "AS", "t4", "ON", "t4.user_id", "=", "t3.user_id", "WHERE", "t1.rating", ">", "=", "3", "AND", "t2.category_name", "=", "``", "Bars", "''", "AND", "t4.name", "=", "``", "Patrick", "''", ";" ], "query_toks_no_value": [ "select", "t1", ".", "name", "from", "category", "as", "t2", "join", "business", "as", "t1", "on", "t2", ".", "business_id", "=", "t1", ".", "business_id", "join", "review", "as", "t3", "on", "t3", ".", "business_id", "=", "t1", ".", "business_id", "join", "user", "as", "t4", "on", "t4", ".", "user_id", "=", "t3", ".", "user_id", "where", "t1", ".", "rating", ">", "=", "value", "and", "t2", ".", "category_name", "=", "value", "and", "t4", ".", "name", "=", "value" ], "question": "Encontre todos os bares avaliados por Patrick com pelo menos 3 estrelas", "question_toks": [ "Encontre", "todos", "os", "bares", "avaliados", "por", "Patrick", "com", "pelo", "menos", "3", "estrelas" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 0 ], [ "table_unit", 5 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 13, false ], null ], [ 0, 2, false ], null ], "and", [ false, 2, [ 0, [ 0, 26, false ], null ], [ 0, 2, false ], null ], "and", [ false, 2, [ 0, [ 0, 16, false ], null ], [ 0, 27, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [ [ false, 5, [ 0, [ 0, 10, false ], null ], 3.0, null ], "and", [ false, 2, [ 0, [ 0, 14, false ], null ], "\"Bars\"", null ], "and", [ false, 2, [ 0, [ 0, 17, false ], null ], "\"Patrick\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "yelp", "query": "SELECT t3.name FROM tip AS t2 JOIN business AS t1 ON t2.business_id = t1.business_id JOIN USER AS t3 ON t3.user_id = t2.user_id WHERE t1.name = \"Barrio Cafe\" AND t2.year = 2015;", "query_toks": [ "SELECT", "t3.name", "FROM", "tip", "AS", "t2", "JOIN", "business", "AS", "t1", "ON", "t2.business_id", "=", "t1.business_id", "JOIN", "USER", "AS", "t3", "ON", "t3.user_id", "=", "t2.user_id", "WHERE", "t1.name", "=", "``", "Barrio", "Cafe", "''", "AND", "t2.year", "=", "2015", ";" ], "query_toks_no_value": [ "select", "t3", ".", "name", "from", "tip", "as", "t2", "join", "business", "as", "t1", "on", "t2", ".", "business_id", "=", "t1", ".", "business_id", "join", "user", "as", "t3", "on", "t3", ".", "user_id", "=", "t2", ".", "user_id", "where", "t1", ".", "name", "=", "value", "and", "t2", ".", "year", "=", "value" ], "question": "Encontre todos os usuários que escreveram dicas para \"Barrio Cafe\" em 2015", "question_toks": [ "Encontre", "todos", "os", "usuários", "que", "escreveram", "dicas", "para", "\"", "Barrio", "Cafe", "\"", "em", "2015" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ], [ "table_unit", 0 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 33, false ], null ], [ 0, 2, false ], null ], "and", [ false, 2, [ 0, [ 0, 16, false ], null ], [ 0, 35, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 17, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], "\"Barrio Cafe\"", null ], "and", [ false, 2, [ 0, [ 0, 37, false ], null ], 2015.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "yelp", "query": "SELECT name FROM business WHERE rating < 2 AND state = \"Texas\";", "query_toks": [ "SELECT", "name", "FROM", "business", "WHERE", "rating", "<", "2", "AND", "state", "=", "``", "Texas", "''", ";" ], "query_toks_no_value": [ "select", "name", "from", "business", "where", "rating", "<", "value", "and", "state", "=", "value" ], "question": "Encontre todas as empresas no Texas com uma classificação abaixo de 2", "question_toks": [ "Encontre", "todas", "as", "empresas", "no", "Texas", "com", "uma", "classificação", "abaixo", "de", "2" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [ [ false, 4, [ 0, [ 0, 10, false ], null ], 2.0, null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], "\"Texas\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "yelp", "query": "SELECT t1.name FROM category AS t2 JOIN business AS t1 ON t2.business_id = t1.business_id JOIN category AS t3 ON t3.business_id = t1.business_id WHERE t1.city = \"Los Angeles\" AND t2.category_name = \"Seafood\" AND t3.category_name = \"restaurant\";", "query_toks": [ "SELECT", "t1.name", "FROM", "category", "AS", "t2", "JOIN", "business", "AS", "t1", "ON", "t2.business_id", "=", "t1.business_id", "JOIN", "category", "AS", "t3", "ON", "t3.business_id", "=", "t1.business_id", "WHERE", "t1.city", "=", "``", "Los", "Angeles", "''", "AND", "t2.category_name", "=", "``", "Seafood", "''", "AND", "t3.category_name", "=", "``", "restaurant", "''", ";" ], "query_toks_no_value": [ "select", "t1", ".", "name", "from", "category", "as", "t2", "join", "business", "as", "t1", "on", "t2", ".", "business_id", "=", "t1", ".", "business_id", "join", "category", "as", "t3", "on", "t3", ".", "business_id", "=", "t1", ".", "business_id", "where", "t1", ".", "city", "=", "value", "and", "t2", ".", "category_name", "=", "value", "and", "t3", ".", "category_name", "=", "value" ], "question": "Encontre todos os restaurantes de Frutos do mar em Los Angeles", "question_toks": [ "Encontre", "todos", "os", "restaurantes", "de", "Frutos", "do", "mar", "em", "Los", "Angeles" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 0 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 13, false ], null ], [ 0, 2, false ], null ], "and", [ false, 2, [ 0, [ 0, 13, false ], null ], [ 0, 2, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 5, false ], null ], "\"Los Angeles\"", null ], "and", [ false, 2, [ 0, [ 0, 14, false ], null ], "\"Seafood\"", null ], "and", [ false, 2, [ 0, [ 0, 14, false ], null ], "\"restaurant\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "yelp", "query": "SELECT t1.name FROM category AS t2 JOIN business AS t1 ON t2.business_id = t1.business_id JOIN category AS t3 ON t3.business_id = t1.business_id WHERE t1.city = \"Los Angeles\" AND t2.category_name = \"Seafood\" AND t3.category_name = \"restaurant\";", "query_toks": [ "SELECT", "t1.name", "FROM", "category", "AS", "t2", "JOIN", "business", "AS", "t1", "ON", "t2.business_id", "=", "t1.business_id", "JOIN", "category", "AS", "t3", "ON", "t3.business_id", "=", "t1.business_id", "WHERE", "t1.city", "=", "``", "Los", "Angeles", "''", "AND", "t2.category_name", "=", "``", "Seafood", "''", "AND", "t3.category_name", "=", "``", "restaurant", "''", ";" ], "query_toks_no_value": [ "select", "t1", ".", "name", "from", "category", "as", "t2", "join", "business", "as", "t1", "on", "t2", ".", "business_id", "=", "t1", ".", "business_id", "join", "category", "as", "t3", "on", "t3", ".", "business_id", "=", "t1", ".", "business_id", "where", "t1", ".", "city", "=", "value", "and", "t2", ".", "category_name", "=", "value", "and", "t3", ".", "category_name", "=", "value" ], "question": "Liste todos os restaurantes de frutos do mar em \"Los Angeles\"", "question_toks": [ "Liste", "todos", "os", "restaurantes", "de", "frutos", "do", "mar", "em", "\"", "Los", "Angeles", "\"" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 0 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 13, false ], null ], [ 0, 2, false ], null ], "and", [ false, 2, [ 0, [ 0, 13, false ], null ], [ 0, 2, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 5, false ], null ], "\"Los Angeles\"", null ], "and", [ false, 2, [ 0, [ 0, 14, false ], null ], "\"Seafood\"", null ], "and", [ false, 2, [ 0, [ 0, 14, false ], null ], "\"restaurant\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "yelp", "query": "SELECT t1.name FROM category AS t2 JOIN business AS t1 ON t2.business_id = t1.business_id JOIN category AS t3 ON t3.business_id = t1.business_id WHERE t1.city = \"Los Angeles\" AND t2.category_name = \"Seafood\" AND t3.category_name = \"restaurant\";", "query_toks": [ "SELECT", "t1.name", "FROM", "category", "AS", "t2", "JOIN", "business", "AS", "t1", "ON", "t2.business_id", "=", "t1.business_id", "JOIN", "category", "AS", "t3", "ON", "t3.business_id", "=", "t1.business_id", "WHERE", "t1.city", "=", "``", "Los", "Angeles", "''", "AND", "t2.category_name", "=", "``", "Seafood", "''", "AND", "t3.category_name", "=", "``", "restaurant", "''", ";" ], "query_toks_no_value": [ "select", "t1", ".", "name", "from", "category", "as", "t2", "join", "business", "as", "t1", "on", "t2", ".", "business_id", "=", "t1", ".", "business_id", "join", "category", "as", "t3", "on", "t3", ".", "business_id", "=", "t1", ".", "business_id", "where", "t1", ".", "city", "=", "value", "and", "t2", ".", "category_name", "=", "value", "and", "t3", ".", "category_name", "=", "value" ], "question": "Encontre todos os restaurantes que servem frutos do mar em \"Los Angeles\"", "question_toks": [ "Encontre", "todos", "os", "restaurantes", "que", "servem", "frutos", "do", "mar", "em", "\"", "Los", "Angeles", "\"" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 0 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 13, false ], null ], [ 0, 2, false ], null ], "and", [ false, 2, [ 0, [ 0, 13, false ], null ], [ 0, 2, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 5, false ], null ], "\"Los Angeles\"", null ], "and", [ false, 2, [ 0, [ 0, 14, false ], null ], "\"Seafood\"", null ], "and", [ false, 2, [ 0, [ 0, 14, false ], null ], "\"restaurant\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "yelp", "query": "SELECT t1.text FROM USER AS t2 JOIN review AS t1 ON t2.user_id = t1.user_id WHERE t1.rating > 4 AND t2.name = \"Patrick\";", "query_toks": [ "SELECT", "t1.text", "FROM", "USER", "AS", "t2", "JOIN", "review", "AS", "t1", "ON", "t2.user_id", "=", "t1.user_id", "WHERE", "t1.rating", ">", "4", "AND", "t2.name", "=", "``", "Patrick", "''", ";" ], "query_toks_no_value": [ "select", "t1", ".", "text", "from", "user", "as", "t2", "join", "review", "as", "t1", "on", "t2", ".", "user_id", "=", "t1", ".", "user_id", "where", "t1", ".", "rating", ">", "value", "and", "t2", ".", "name", "=", "value" ], "question": "Encontre todas as avaliações de Patrick com uma classificação acima de 4", "question_toks": [ "Encontre", "todas", "as", "avaliações", "de", "Patrick", "com", "uma", "classificação", "acima", "de", "4" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 16, false ], null ], [ 0, 27, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 29, false ], null ] ] ] ], "where": [ [ false, 3, [ 0, [ 0, 28, false ], null ], 4.0, null ], "and", [ false, 2, [ 0, [ 0, 17, false ], null ], "\"Patrick\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "yelp", "query": "SELECT business_id FROM business WHERE city = \"Los Angeles\" AND name = \"Apple Store\";", "query_toks": [ "SELECT", "business_id", "FROM", "business", "WHERE", "city", "=", "``", "Los", "Angeles", "''", "AND", "name", "=", "``", "Apple", "Store", "''", ";" ], "query_toks_no_value": [ "select", "business_id", "from", "business", "where", "city", "=", "value", "and", "name", "=", "value" ], "question": "Encontre todos os Apple Store em \"Los Angeles\"", "question_toks": [ "Encontre", "todos", "os", "Apple", "Store", "em", "\"", "Los", "Angeles", "\"" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 2, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 5, false ], null ], "\"Los Angeles\"", null ], "and", [ false, 2, [ 0, [ 0, 3, false ], null ], "\"Apple Store\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "yelp", "query": "SELECT t1.name FROM category AS t2 JOIN business AS t1 ON t2.business_id = t1.business_id WHERE t1.city = \"Dallas\" AND t1.rating > 4.5 AND t2.category_name = \"restaurant\";", "query_toks": [ "SELECT", "t1.name", "FROM", "category", "AS", "t2", "JOIN", "business", "AS", "t1", "ON", "t2.business_id", "=", "t1.business_id", "WHERE", "t1.city", "=", "``", "Dallas", "''", "AND", "t1.rating", ">", "4.5", "AND", "t2.category_name", "=", "``", "restaurant", "''", ";" ], "query_toks_no_value": [ "select", "t1", ".", "name", "from", "category", "as", "t2", "join", "business", "as", "t1", "on", "t2", ".", "business_id", "=", "t1", ".", "business_id", "where", "t1", ".", "city", "=", "value", "and", "t1", ".", "rating", ">", "value", "and", "t2", ".", "category_name", "=", "value" ], "question": "Encontre todos os restaurantes de Dallas com uma classificação acima de 4,5", "question_toks": [ "Encontre", "todos", "os", "restaurantes", "de", "Dallas", "com", "uma", "classificação", "acima", "de", "4,5" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 13, false ], null ], [ 0, 2, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 5, false ], null ], "\"Dallas\"", null ], "and", [ false, 3, [ 0, [ 0, 10, false ], null ], 4.5, null ], "and", [ false, 2, [ 0, [ 0, 14, false ], null ], "\"restaurant\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "yelp", "query": "SELECT t1.neighbourhood_name FROM category AS t3 JOIN business AS t2 ON t3.business_id = t2.business_id JOIN neighbourhood AS t1 ON t1.business_id = t2.business_id WHERE t2.name = \"Flat Top Grill\" AND t3.category_name = \"category_category_name0\";", "query_toks": [ "SELECT", "t1.neighbourhood_name", "FROM", "category", "AS", "t3", "JOIN", "business", "AS", "t2", "ON", "t3.business_id", "=", "t2.business_id", "JOIN", "neighbourhood", "AS", "t1", "ON", "t1.business_id", "=", "t2.business_id", "WHERE", "t2.name", "=", "``", "Flat", "Top", "Grill", "''", "AND", "t3.category_name", "=", "``", "category_category_name0", "''", ";" ], "query_toks_no_value": [ "select", "t1", ".", "neighbourhood_name", "from", "category", "as", "t3", "join", "business", "as", "t2", "on", "t3", ".", "business_id", "=", "t2", ".", "business_id", "join", "neighbourhood", "as", "t1", "on", "t1", ".", "business_id", "=", "t2", ".", "business_id", "where", "t2", ".", "name", "=", "value", "and", "t3", ".", "category_name", "=", "value" ], "question": "Em que bairro fica o restaurante \"Flat Top Grill\"?", "question_toks": [ "Em", "que", "bairro", "fica", "o", "restaurante", "\"", "Flat", "Top", "Grill", "\"", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 0 ], [ "table_unit", 4 ] ], "conds": [ [ false, 2, [ 0, [ 0, 13, false ], null ], [ 0, 2, false ], null ], "and", [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 2, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 24, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], "\"Flat Top Grill\"", null ], "and", [ false, 2, [ 0, [ 0, 14, false ], null ], "\"category_category_name0\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "yelp", "query": "SELECT t2.text FROM tip AS t2 JOIN business AS t1 ON t2.business_id = t1.business_id WHERE t1.name = \"Vintner Grill\" AND t2.likes > 9;", "query_toks": [ "SELECT", "t2.text", "FROM", "tip", "AS", "t2", "JOIN", "business", "AS", "t1", "ON", "t2.business_id", "=", "t1.business_id", "WHERE", "t1.name", "=", "``", "Vintner", "Grill", "''", "AND", "t2.likes", ">", "9", ";" ], "query_toks_no_value": [ "select", "t2", ".", "text", "from", "tip", "as", "t2", "join", "business", "as", "t1", "on", "t2", ".", "business_id", "=", "t1", ".", "business_id", "where", "t1", ".", "name", "=", "value", "and", "t2", ".", "likes", ">", "value" ], "question": "Encontre todas as dicas sobre o \"Vintner Grill\" que recebeu mais de 9 curtidas", "question_toks": [ "Encontre", "todas", "as", "dicas", "sobre", "o", "\"", "Vintner", "Grill", "\"", "que", "recebeu", "mais", "de", "9", "curtidas" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 33, false ], null ], [ 0, 2, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 34, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], "\"Vintner Grill\"", null ], "and", [ false, 3, [ 0, [ 0, 36, false ], null ], 9.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "yelp", "query": "SELECT t2.text FROM review AS t2 JOIN business AS t1 ON t2.business_id = t1.business_id WHERE t1.name = \"Kabob Palace\" AND t2.year = 2014;", "query_toks": [ "SELECT", "t2.text", "FROM", "review", "AS", "t2", "JOIN", "business", "AS", "t1", "ON", "t2.business_id", "=", "t1.business_id", "WHERE", "t1.name", "=", "``", "Kabob", "Palace", "''", "AND", "t2.year", "=", "2014", ";" ], "query_toks_no_value": [ "select", "t2", ".", "text", "from", "review", "as", "t2", "join", "business", "as", "t1", "on", "t2", ".", "business_id", "=", "t1", ".", "business_id", "where", "t1", ".", "name", "=", "value", "and", "t2", ".", "year", "=", "value" ], "question": "Encontre todas as avaliações sobre \"Kabob Palace\" no ano de 2014", "question_toks": [ "Encontre", "todas", "as", "avaliações", "sobre", "\"", "Kabob", "Palace", "\"", "no", "ano", "de", "2014" ], "sql": { "from": { "table_units": [ [ "table_unit", 5 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 26, false ], null ], [ 0, 2, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 29, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], "\"Kabob Palace\"", null ], "and", [ false, 2, [ 0, [ 0, 30, false ], null ], 2014.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "yelp", "query": "SELECT t3.name FROM tip AS t2 JOIN business AS t1 ON t2.business_id = t1.business_id JOIN USER AS t3 ON t3.user_id = t2.user_id WHERE t1.city = \"Dallas\";", "query_toks": [ "SELECT", "t3.name", "FROM", "tip", "AS", "t2", "JOIN", "business", "AS", "t1", "ON", "t2.business_id", "=", "t1.business_id", "JOIN", "USER", "AS", "t3", "ON", "t3.user_id", "=", "t2.user_id", "WHERE", "t1.city", "=", "``", "Dallas", "''", ";" ], "query_toks_no_value": [ "select", "t3", ".", "name", "from", "tip", "as", "t2", "join", "business", "as", "t1", "on", "t2", ".", "business_id", "=", "t1", ".", "business_id", "join", "user", "as", "t3", "on", "t3", ".", "user_id", "=", "t2", ".", "user_id", "where", "t1", ".", "city", "=", "value" ], "question": "Encontre todos os usuários que escreveram dicas sobre empresas em Dallas", "question_toks": [ "Encontre", "todos", "os", "usuários", "que", "escreveram", "dicas", "sobre", "empresas", "em", "Dallas" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ], [ "table_unit", 0 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 33, false ], null ], [ 0, 2, false ], null ], "and", [ false, 2, [ 0, [ 0, 16, false ], null ], [ 0, 35, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 17, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 5, false ], null ], "\"Dallas\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "yelp", "query": "SELECT t1.city FROM category AS t2 JOIN business AS t1 ON t2.business_id = t1.business_id WHERE t1.name = \"MGM Grand Buffet\" AND t1.state = \"Texas\" AND t2.category_name = \"restaurant\";", "query_toks": [ "SELECT", "t1.city", "FROM", "category", "AS", "t2", "JOIN", "business", "AS", "t1", "ON", "t2.business_id", "=", "t1.business_id", "WHERE", "t1.name", "=", "``", "MGM", "Grand", "Buffet", "''", "AND", "t1.state", "=", "``", "Texas", "''", "AND", "t2.category_name", "=", "``", "restaurant", "''", ";" ], "query_toks_no_value": [ "select", "t1", ".", "city", "from", "category", "as", "t2", "join", "business", "as", "t1", "on", "t2", ".", "business_id", "=", "t1", ".", "business_id", "where", "t1", ".", "name", "=", "value", "and", "t1", ".", "state", "=", "value", "and", "t2", ".", "category_name", "=", "value" ], "question": "Encontre todas as cidades no Texas nas quais há um restaurante chamado \"MGM Grand Buffet\"", "question_toks": [ "Encontre", "todas", "as", "cidades", "no", "Texas", "nas", "quais", "há", "um", "restaurante", "chamado", "\"", "MGM", "Grand", "Buffet", "\"" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 13, false ], null ], [ 0, 2, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], "\"MGM Grand Buffet\"", null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], "\"Texas\"", null ], "and", [ false, 2, [ 0, [ 0, 14, false ], null ], "\"restaurant\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "yelp", "query": "SELECT t4.name FROM category AS t2 JOIN business AS t1 ON t2.business_id = t1.business_id JOIN tip AS t3 ON t3.business_id = t1.business_id JOIN USER AS t4 ON t4.user_id = t3.user_id WHERE t2.category_name = \"Pet Groomers\";", "query_toks": [ "SELECT", "t4.name", "FROM", "category", "AS", "t2", "JOIN", "business", "AS", "t1", "ON", "t2.business_id", "=", "t1.business_id", "JOIN", "tip", "AS", "t3", "ON", "t3.business_id", "=", "t1.business_id", "JOIN", "USER", "AS", "t4", "ON", "t4.user_id", "=", "t3.user_id", "WHERE", "t2.category_name", "=", "``", "Pet", "Groomers", "''", ";" ], "query_toks_no_value": [ "select", "t4", ".", "name", "from", "category", "as", "t2", "join", "business", "as", "t1", "on", "t2", ".", "business_id", "=", "t1", ".", "business_id", "join", "tip", "as", "t3", "on", "t3", ".", "business_id", "=", "t1", ".", "business_id", "join", "user", "as", "t4", "on", "t4", ".", "user_id", "=", "t3", ".", "user_id", "where", "t2", ".", "category_name", "=", "value" ], "question": "Encontre os usuários que deram dicas sobre Pet Groomers", "question_toks": [ "Encontre", "os", "usuários", "que", "deram", "dicas", "sobre", "Pet", "Groomers" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 0 ], [ "table_unit", 6 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 13, false ], null ], [ 0, 2, false ], null ], "and", [ false, 2, [ 0, [ 0, 33, false ], null ], [ 0, 2, false ], null ], "and", [ false, 2, [ 0, [ 0, 16, false ], null ], [ 0, 35, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 17, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 14, false ], null ], "\"Pet Groomers\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "yelp", "query": "SELECT t2.text FROM tip AS t2 JOIN business AS t1 ON t2.business_id = t1.business_id WHERE t1.name = \"Cafe Zinho\" AND t1.state = \"Texas\";", "query_toks": [ "SELECT", "t2.text", "FROM", "tip", "AS", "t2", "JOIN", "business", "AS", "t1", "ON", "t2.business_id", "=", "t1.business_id", "WHERE", "t1.name", "=", "``", "Cafe", "Zinho", "''", "AND", "t1.state", "=", "``", "Texas", "''", ";" ], "query_toks_no_value": [ "select", "t2", ".", "text", "from", "tip", "as", "t2", "join", "business", "as", "t1", "on", "t2", ".", "business_id", "=", "t1", ".", "business_id", "where", "t1", ".", "name", "=", "value", "and", "t1", ".", "state", "=", "value" ], "question": "Encontre todas as dicas de \"Café Zinho\" no Texas.", "question_toks": [ "Encontre", "todas", "as", "dicas", "de", "\"", "Café", "Zinho", "\"", "no", "Texas", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 33, false ], null ], [ 0, 2, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 34, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], "\"Cafe Zinho\"", null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], "\"Texas\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "yelp", "query": "SELECT t4.name FROM category AS t2 JOIN business AS t1 ON t2.business_id = t1.business_id JOIN review AS t3 ON t3.business_id = t1.business_id JOIN USER AS t4 ON t4.user_id = t3.user_id WHERE t2.category_name = \"restaurant\";", "query_toks": [ "SELECT", "t4.name", "FROM", "category", "AS", "t2", "JOIN", "business", "AS", "t1", "ON", "t2.business_id", "=", "t1.business_id", "JOIN", "review", "AS", "t3", "ON", "t3.business_id", "=", "t1.business_id", "JOIN", "USER", "AS", "t4", "ON", "t4.user_id", "=", "t3.user_id", "WHERE", "t2.category_name", "=", "``", "restaurant", "''", ";" ], "query_toks_no_value": [ "select", "t4", ".", "name", "from", "category", "as", "t2", "join", "business", "as", "t1", "on", "t2", ".", "business_id", "=", "t1", ".", "business_id", "join", "review", "as", "t3", "on", "t3", ".", "business_id", "=", "t1", ".", "business_id", "join", "user", "as", "t4", "on", "t4", ".", "user_id", "=", "t3", ".", "user_id", "where", "t2", ".", "category_name", "=", "value" ], "question": "Liste todos os usuários que avaliaram empresas que são restaurantes.", "question_toks": [ "Liste", "todos", "os", "usuários", "que", "avaliaram", "empresas", "que", "são", "restaurantes", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 0 ], [ "table_unit", 5 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 13, false ], null ], [ 0, 2, false ], null ], "and", [ false, 2, [ 0, [ 0, 26, false ], null ], [ 0, 2, false ], null ], "and", [ false, 2, [ 0, [ 0, 16, false ], null ], [ 0, 27, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 17, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 14, false ], null ], "\"restaurant\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "yelp", "query": "SELECT t2.text FROM tip AS t2 JOIN business AS t1 ON t2.business_id = t1.business_id WHERE t1.name = \"Cafe Zinho\" AND t1.state = \"Pennsylvania\" AND t2.year = 2010;", "query_toks": [ "SELECT", "t2.text", "FROM", "tip", "AS", "t2", "JOIN", "business", "AS", "t1", "ON", "t2.business_id", "=", "t1.business_id", "WHERE", "t1.name", "=", "``", "Cafe", "Zinho", "''", "AND", "t1.state", "=", "``", "Pennsylvania", "''", "AND", "t2.year", "=", "2010", ";" ], "query_toks_no_value": [ "select", "t2", ".", "text", "from", "tip", "as", "t2", "join", "business", "as", "t1", "on", "t2", ".", "business_id", "=", "t1", ".", "business_id", "where", "t1", ".", "name", "=", "value", "and", "t1", ".", "state", "=", "value", "and", "t2", ".", "year", "=", "value" ], "question": "Liste todas as dicas para o \"Café Zinho\" na Pensilvânia em 2010.", "question_toks": [ "Liste", "todas", "as", "dicas", "para", "o", "\"", "Café", "Zinho", "\"", "na", "Pensilvânia", "em", "2010", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 33, false ], null ], [ 0, 2, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 34, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], "\"Cafe Zinho\"", null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], "\"Pennsylvania\"", null ], "and", [ false, 2, [ 0, [ 0, 37, false ], null ], 2010.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "yelp", "query": "SELECT t4.name FROM category AS t2 JOIN business AS t1 ON t2.business_id = t1.business_id JOIN review AS t3 ON t3.business_id = t1.business_id JOIN USER AS t4 ON t4.user_id = t3.user_id WHERE t2.category_name = \"restaurant\" AND t3.year = 2010;", "query_toks": [ "SELECT", "t4.name", "FROM", "category", "AS", "t2", "JOIN", "business", "AS", "t1", "ON", "t2.business_id", "=", "t1.business_id", "JOIN", "review", "AS", "t3", "ON", "t3.business_id", "=", "t1.business_id", "JOIN", "USER", "AS", "t4", "ON", "t4.user_id", "=", "t3.user_id", "WHERE", "t2.category_name", "=", "``", "restaurant", "''", "AND", "t3.year", "=", "2010", ";" ], "query_toks_no_value": [ "select", "t4", ".", "name", "from", "category", "as", "t2", "join", "business", "as", "t1", "on", "t2", ".", "business_id", "=", "t1", ".", "business_id", "join", "review", "as", "t3", "on", "t3", ".", "business_id", "=", "t1", ".", "business_id", "join", "user", "as", "t4", "on", "t4", ".", "user_id", "=", "t3", ".", "user_id", "where", "t2", ".", "category_name", "=", "value", "and", "t3", ".", "year", "=", "value" ], "question": "Liste todos os usuários que avaliaram empresas que são restaurantes em 2010.", "question_toks": [ "Liste", "todos", "os", "usuários", "que", "avaliaram", "empresas", "que", "são", "restaurantes", "em", "2010", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 0 ], [ "table_unit", 5 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 13, false ], null ], [ 0, 2, false ], null ], "and", [ false, 2, [ 0, [ 0, 26, false ], null ], [ 0, 2, false ], null ], "and", [ false, 2, [ 0, [ 0, 16, false ], null ], [ 0, 27, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 17, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 14, false ], null ], "\"restaurant\"", null ], "and", [ false, 2, [ 0, [ 0, 30, false ], null ], 2010.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "yelp", "query": "SELECT t2.text FROM USER AS t3 JOIN review AS t1 ON t3.user_id = t1.user_id JOIN tip AS t2 ON t3.user_id = t2.user_id WHERE t1.year = 2012;", "query_toks": [ "SELECT", "t2.text", "FROM", "USER", "AS", "t3", "JOIN", "review", "AS", "t1", "ON", "t3.user_id", "=", "t1.user_id", "JOIN", "tip", "AS", "t2", "ON", "t3.user_id", "=", "t2.user_id", "WHERE", "t1.year", "=", "2012", ";" ], "query_toks_no_value": [ "select", "t2", ".", "text", "from", "user", "as", "t3", "join", "review", "as", "t1", "on", "t3", ".", "user_id", "=", "t1", ".", "user_id", "join", "tip", "as", "t2", "on", "t3", ".", "user_id", "=", "t2", ".", "user_id", "where", "t1", ".", "year", "=", "value" ], "question": "Encontre todas as dicas de um usuário que escreveu uma resenha em 2012", "question_toks": [ "Encontre", "todas", "as", "dicas", "de", "um", "usuário", "que", "escreveu", "uma", "resenha", "em", "2012" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ], [ "table_unit", 5 ], [ "table_unit", 6 ] ], "conds": [ [ false, 2, [ 0, [ 0, 16, false ], null ], [ 0, 27, false ], null ], "and", [ false, 2, [ 0, [ 0, 16, false ], null ], [ 0, 35, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 34, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 30, false ], null ], 2012.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "yelp", "query": "SELECT t2.text FROM review AS t2 JOIN business AS t1 ON t2.business_id = t1.business_id WHERE t1.rating = 2.5;", "query_toks": [ "SELECT", "t2.text", "FROM", "review", "AS", "t2", "JOIN", "business", "AS", "t1", "ON", "t2.business_id", "=", "t1.business_id", "WHERE", "t1.rating", "=", "2.5", ";" ], "query_toks_no_value": [ "select", "t2", ".", "text", "from", "review", "as", "t2", "join", "business", "as", "t1", "on", "t2", ".", "business_id", "=", "t1", ".", "business_id", "where", "t1", ".", "rating", "=", "value" ], "question": "Encontre todas as avaliações de empresas avaliadas em 2,5", "question_toks": [ "Encontre", "todas", "as", "avaliações", "de", "empresas", "avaliadas", "em", "2,5" ], "sql": { "from": { "table_units": [ [ "table_unit", 5 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 26, false ], null ], [ 0, 2, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 29, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], 2.5, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "yelp", "query": "SELECT COUNT ( DISTINCT t1.name ) FROM category AS t2 JOIN business AS t1 ON t2.business_id = t1.business_id WHERE t1.city = \"Madison\" AND t2.category_name = \"escape games\";", "query_toks": [ "SELECT", "COUNT", "(", "DISTINCT", "t1.name", ")", "FROM", "category", "AS", "t2", "JOIN", "business", "AS", "t1", "ON", "t2.business_id", "=", "t1.business_id", "WHERE", "t1.city", "=", "``", "Madison", "''", "AND", "t2.category_name", "=", "``", "escape", "games", "''", ";" ], "query_toks_no_value": [ "select", "count", "(", "distinct", "t1", ".", "name", ")", "from", "category", "as", "t2", "join", "business", "as", "t1", "on", "t2", ".", "business_id", "=", "t1", ".", "business_id", "where", "t1", ".", "city", "=", "value", "and", "t2", ".", "category_name", "=", "value" ], "question": "encontre o número de jogos de fuga em Madison", "question_toks": [ "encontre", "o", "número", "de", "jogos", "de", "fuga", "em", "Madison" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 13, false ], null ], [ 0, 2, false ], null ] ] }, "select": [ false, [ [ 3, [ 0, [ 0, 3, true ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 5, false ], null ], "\"Madison\"", null ], "and", [ false, 2, [ 0, [ 0, 14, false ], null ], "\"escape games\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "yelp", "query": "SELECT COUNT ( DISTINCT t1.name ) FROM category AS t2 JOIN business AS t1 ON t2.business_id = t1.business_id WHERE t1.city = \"Madison\" AND t2.category_name = \"escape games\";", "query_toks": [ "SELECT", "COUNT", "(", "DISTINCT", "t1.name", ")", "FROM", "category", "AS", "t2", "JOIN", "business", "AS", "t1", "ON", "t2.business_id", "=", "t1.business_id", "WHERE", "t1.city", "=", "``", "Madison", "''", "AND", "t2.category_name", "=", "``", "escape", "games", "''", ";" ], "query_toks_no_value": [ "select", "count", "(", "distinct", "t1", ".", "name", ")", "from", "category", "as", "t2", "join", "business", "as", "t1", "on", "t2", ".", "business_id", "=", "t1", ".", "business_id", "where", "t1", ".", "city", "=", "value", "and", "t2", ".", "category_name", "=", "value" ], "question": "Qual é o número de jogos de fuga em Madison", "question_toks": [ "Qual", "é", "o", "número", "de", "jogos", "de", "fuga", "em", "Madison" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 13, false ], null ], [ 0, 2, false ], null ] ] }, "select": [ false, [ [ 3, [ 0, [ 0, 3, true ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 5, false ], null ], "\"Madison\"", null ], "and", [ false, 2, [ 0, [ 0, 14, false ], null ], "\"escape games\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "yelp", "query": "SELECT COUNT ( DISTINCT t1.name ) FROM category AS t2 JOIN business AS t1 ON t2.business_id = t1.business_id WHERE t1.city = \"Madison\" AND t2.category_name = \"escape games\";", "query_toks": [ "SELECT", "COUNT", "(", "DISTINCT", "t1.name", ")", "FROM", "category", "AS", "t2", "JOIN", "business", "AS", "t1", "ON", "t2.business_id", "=", "t1.business_id", "WHERE", "t1.city", "=", "``", "Madison", "''", "AND", "t2.category_name", "=", "``", "escape", "games", "''", ";" ], "query_toks_no_value": [ "select", "count", "(", "distinct", "t1", ".", "name", ")", "from", "category", "as", "t2", "join", "business", "as", "t1", "on", "t2", ".", "business_id", "=", "t1", ".", "business_id", "where", "t1", ".", "city", "=", "value", "and", "t2", ".", "category_name", "=", "value" ], "question": "Quantos jogos de fuga existem em Madison", "question_toks": [ "Quantos", "jogos", "de", "fuga", "existem", "em", "Madison" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 13, false ], null ], [ 0, 2, false ], null ] ] }, "select": [ false, [ [ 3, [ 0, [ 0, 3, true ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 5, false ], null ], "\"Madison\"", null ], "and", [ false, 2, [ 0, [ 0, 14, false ], null ], "\"escape games\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "yelp", "query": "SELECT COUNT ( DISTINCT t1.name ) FROM category AS t2 JOIN business AS t1 ON t2.business_id = t1.business_id WHERE t1.city = \"Madison\" AND t2.category_name = \"escape games\";", "query_toks": [ "SELECT", "COUNT", "(", "DISTINCT", "t1.name", ")", "FROM", "category", "AS", "t2", "JOIN", "business", "AS", "t1", "ON", "t2.business_id", "=", "t1.business_id", "WHERE", "t1.city", "=", "``", "Madison", "''", "AND", "t2.category_name", "=", "``", "escape", "games", "''", ";" ], "query_toks_no_value": [ "select", "count", "(", "distinct", "t1", ".", "name", ")", "from", "category", "as", "t2", "join", "business", "as", "t1", "on", "t2", ".", "business_id", "=", "t1", ".", "business_id", "where", "t1", ".", "city", "=", "value", "and", "t2", ".", "category_name", "=", "value" ], "question": "Qual é o número de jogos de fuga em \"Madison\"?", "question_toks": [ "Qual", "é", "o", "número", "de", "jogos", "de", "fuga", "em", "\"", "Madison", "\"", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 13, false ], null ], [ 0, 2, false ], null ] ] }, "select": [ false, [ [ 3, [ 0, [ 0, 3, true ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 5, false ], null ], "\"Madison\"", null ], "and", [ false, 2, [ 0, [ 0, 14, false ], null ], "\"escape games\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "yelp", "query": "SELECT COUNT ( DISTINCT t1.name ) FROM category AS t2 JOIN business AS t1 ON t2.business_id = t1.business_id WHERE t1.city = \"Madison\" AND t2.category_name = \"escape games\";", "query_toks": [ "SELECT", "COUNT", "(", "DISTINCT", "t1.name", ")", "FROM", "category", "AS", "t2", "JOIN", "business", "AS", "t1", "ON", "t2.business_id", "=", "t1.business_id", "WHERE", "t1.city", "=", "``", "Madison", "''", "AND", "t2.category_name", "=", "``", "escape", "games", "''", ";" ], "query_toks_no_value": [ "select", "count", "(", "distinct", "t1", ".", "name", ")", "from", "category", "as", "t2", "join", "business", "as", "t1", "on", "t2", ".", "business_id", "=", "t1", ".", "business_id", "where", "t1", ".", "city", "=", "value", "and", "t2", ".", "category_name", "=", "value" ], "question": "Quantos jogos de fuga existem em Madison?", "question_toks": [ "Quantos", "jogos", "de", "fuga", "existem", "em", "Madison", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 13, false ], null ], [ 0, 2, false ], null ] ] }, "select": [ false, [ [ 3, [ 0, [ 0, 3, true ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 5, false ], null ], "\"Madison\"", null ], "and", [ false, 2, [ 0, [ 0, 14, false ], null ], "\"escape games\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "yelp", "query": "SELECT COUNT ( DISTINCT t1.name ) FROM category AS t2 JOIN business AS t1 ON t2.business_id = t1.business_id WHERE t1.rating > 3.5 AND t2.category_name = \"restaurant\";", "query_toks": [ "SELECT", "COUNT", "(", "DISTINCT", "t1.name", ")", "FROM", "category", "AS", "t2", "JOIN", "business", "AS", "t1", "ON", "t2.business_id", "=", "t1.business_id", "WHERE", "t1.rating", ">", "3.5", "AND", "t2.category_name", "=", "``", "restaurant", "''", ";" ], "query_toks_no_value": [ "select", "count", "(", "distinct", "t1", ".", "name", ")", "from", "category", "as", "t2", "join", "business", "as", "t1", "on", "t2", ".", "business_id", "=", "t1", ".", "business_id", "where", "t1", ".", "rating", ">", "value", "and", "t2", ".", "category_name", "=", "value" ], "question": "encontre o número de restaurantes avaliados em mais de 3,5", "question_toks": [ "encontre", "o", "número", "de", "restaurantes", "avaliados", "em", "mais", "de", "3,5" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 13, false ], null ], [ 0, 2, false ], null ] ] }, "select": [ false, [ [ 3, [ 0, [ 0, 3, true ], null ] ] ] ], "where": [ [ false, 3, [ 0, [ 0, 10, false ], null ], 3.5, null ], "and", [ false, 2, [ 0, [ 0, 14, false ], null ], "\"restaurant\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "yelp", "query": "SELECT SUM ( t4.count ) FROM category AS t2 JOIN business AS t1 ON t2.business_id = t1.business_id JOIN category AS t3 ON t3.business_id = t1.business_id JOIN checkin AS t4 ON t4.business_id = t1.business_id WHERE t1.city = \"Los Angeles\" AND t2.category_name = \"restaurant\" AND t3.category_name = \"Moroccan\";", "query_toks": [ "SELECT", "SUM", "(", "t4.count", ")", "FROM", "category", "AS", "t2", "JOIN", "business", "AS", "t1", "ON", "t2.business_id", "=", "t1.business_id", "JOIN", "category", "AS", "t3", "ON", "t3.business_id", "=", "t1.business_id", "JOIN", "checkin", "AS", "t4", "ON", "t4.business_id", "=", "t1.business_id", "WHERE", "t1.city", "=", "``", "Los", "Angeles", "''", "AND", "t2.category_name", "=", "``", "restaurant", "''", "AND", "t3.category_name", "=", "``", "Moroccan", "''", ";" ], "query_toks_no_value": [ "select", "sum", "(", "t4", ".", "count", ")", "from", "category", "as", "t2", "join", "business", "as", "t1", "on", "t2", ".", "business_id", "=", "t1", ".", "business_id", "join", "category", "as", "t3", "on", "t3", ".", "business_id", "=", "t1", ".", "business_id", "join", "checkin", "as", "t4", "on", "t4", ".", "business_id", "=", "t1", ".", "business_id", "where", "t1", ".", "city", "=", "value", "and", "t2", ".", "category_name", "=", "value", "and", "t3", ".", "category_name", "=", "value" ], "question": "encontre o total de check-ins em restaurante marroquino em \"Los Angeles\"", "question_toks": [ "encontre", "o", "total", "de", "check-ins", "em", "restaurante", "marroquino", "em", "\"", "Los", "Angeles", "\"" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 0 ], [ "table_unit", 1 ], [ "table_unit", 3 ] ], "conds": [ [ false, 2, [ 0, [ 0, 13, false ], null ], [ 0, 2, false ], null ], "and", [ false, 2, [ 0, [ 0, 13, false ], null ], [ 0, 2, false ], null ], "and", [ false, 2, [ 0, [ 0, 19, false ], null ], [ 0, 2, false ], null ] ] }, "select": [ false, [ [ 4, [ 0, [ 0, 20, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 5, false ], null ], "\"Los Angeles\"", null ], "and", [ false, 2, [ 0, [ 0, 14, false ], null ], "\"restaurant\"", null ], "and", [ false, 2, [ 0, [ 0, 14, false ], null ], "\"Moroccan\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "yelp", "query": "SELECT SUM ( t4.count ) FROM category AS t2 JOIN business AS t1 ON t2.business_id = t1.business_id JOIN category AS t3 ON t3.business_id = t1.business_id JOIN checkin AS t4 ON t4.business_id = t1.business_id WHERE t1.city = \"Los Angeles\" AND t2.category_name = \"Moroccan\" AND t3.category_name = \"restaurant\" AND t4.day = \"Friday\";", "query_toks": [ "SELECT", "SUM", "(", "t4.count", ")", "FROM", "category", "AS", "t2", "JOIN", "business", "AS", "t1", "ON", "t2.business_id", "=", "t1.business_id", "JOIN", "category", "AS", "t3", "ON", "t3.business_id", "=", "t1.business_id", "JOIN", "checkin", "AS", "t4", "ON", "t4.business_id", "=", "t1.business_id", "WHERE", "t1.city", "=", "``", "Los", "Angeles", "''", "AND", "t2.category_name", "=", "``", "Moroccan", "''", "AND", "t3.category_name", "=", "``", "restaurant", "''", "AND", "t4.day", "=", "``", "Friday", "''", ";" ], "query_toks_no_value": [ "select", "sum", "(", "t4", ".", "count", ")", "from", "category", "as", "t2", "join", "business", "as", "t1", "on", "t2", ".", "business_id", "=", "t1", ".", "business_id", "join", "category", "as", "t3", "on", "t3", ".", "business_id", "=", "t1", ".", "business_id", "join", "checkin", "as", "t4", "on", "t4", ".", "business_id", "=", "t1", ".", "business_id", "where", "t1", ".", "city", "=", "value", "and", "t2", ".", "category_name", "=", "value", "and", "t3", ".", "category_name", "=", "value", "and", "t4", ".", "day", "=", "value" ], "question": "encontre o total de check-ins no restaurante marroquino em \"Los Angeles\" na sexta-feira", "question_toks": [ "encontre", "o", "total", "de", "check-ins", "no", "restaurante", "marroquino", "em", "\"", "Los", "Angeles", "\"", "na", "sexta-feira" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 0 ], [ "table_unit", 1 ], [ "table_unit", 3 ] ], "conds": [ [ false, 2, [ 0, [ 0, 13, false ], null ], [ 0, 2, false ], null ], "and", [ false, 2, [ 0, [ 0, 13, false ], null ], [ 0, 2, false ], null ], "and", [ false, 2, [ 0, [ 0, 19, false ], null ], [ 0, 2, false ], null ] ] }, "select": [ false, [ [ 4, [ 0, [ 0, 20, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 5, false ], null ], "\"Los Angeles\"", null ], "and", [ false, 2, [ 0, [ 0, 14, false ], null ], "\"Moroccan\"", null ], "and", [ false, 2, [ 0, [ 0, 14, false ], null ], "\"restaurant\"", null ], "and", [ false, 2, [ 0, [ 0, 21, false ], null ], "\"Friday\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "yelp", "query": "SELECT t4.day , SUM ( t4.count ) FROM category AS t2 JOIN business AS t1 ON t2.business_id = t1.business_id JOIN category AS t3 ON t3.business_id = t1.business_id JOIN checkin AS t4 ON t4.business_id = t1.business_id WHERE t1.city = \"Los Angeles\" AND t2.category_name = \"Moroccan\" AND t3.category_name = \"restaurant\" GROUP BY t4.day;", "query_toks": [ "SELECT", "t4.day", ",", "SUM", "(", "t4.count", ")", "FROM", "category", "AS", "t2", "JOIN", "business", "AS", "t1", "ON", "t2.business_id", "=", "t1.business_id", "JOIN", "category", "AS", "t3", "ON", "t3.business_id", "=", "t1.business_id", "JOIN", "checkin", "AS", "t4", "ON", "t4.business_id", "=", "t1.business_id", "WHERE", "t1.city", "=", "``", "Los", "Angeles", "''", "AND", "t2.category_name", "=", "``", "Moroccan", "''", "AND", "t3.category_name", "=", "``", "restaurant", "''", "GROUP", "BY", "t4.day", ";" ], "query_toks_no_value": [ "select", "t4", ".", "day", ",", "sum", "(", "t4", ".", "count", ")", "from", "category", "as", "t2", "join", "business", "as", "t1", "on", "t2", ".", "business_id", "=", "t1", ".", "business_id", "join", "category", "as", "t3", "on", "t3", ".", "business_id", "=", "t1", ".", "business_id", "join", "checkin", "as", "t4", "on", "t4", ".", "business_id", "=", "t1", ".", "business_id", "where", "t1", ".", "city", "=", "value", "and", "t2", ".", "category_name", "=", "value", "and", "t3", ".", "category_name", "=", "value", "group", "by", "t4", ".", "day" ], "question": "encontre o total de check-ins em restaurante marroquino em \"Los Angeles\" por dia", "question_toks": [ "encontre", "o", "total", "de", "check-ins", "em", "restaurante", "marroquino", "em", "\"", "Los", "Angeles", "\"", "por", "dia" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 0 ], [ "table_unit", 1 ], [ "table_unit", 3 ] ], "conds": [ [ false, 2, [ 0, [ 0, 13, false ], null ], [ 0, 2, false ], null ], "and", [ false, 2, [ 0, [ 0, 13, false ], null ], [ 0, 2, false ], null ], "and", [ false, 2, [ 0, [ 0, 19, false ], null ], [ 0, 2, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 21, false ], null ] ], [ 4, [ 0, [ 0, 20, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 5, false ], null ], "\"Los Angeles\"", null ], "and", [ false, 2, [ 0, [ 0, 14, false ], null ], "\"Moroccan\"", null ], "and", [ false, 2, [ 0, [ 0, 14, false ], null ], "\"restaurant\"", null ] ], "groupBy": [ [ 0, 21, false ] ], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "yelp", "query": "SELECT t1.state , SUM ( t4.count ) FROM category AS t2 JOIN business AS t1 ON t2.business_id = t1.business_id JOIN category AS t3 ON t3.business_id = t1.business_id JOIN checkin AS t4 ON t4.business_id = t1.business_id WHERE t2.category_name = \"Italian\" AND t3.category_name = \"Delis\" AND t4.day = \"Sunday\" GROUP BY t1.state;", "query_toks": [ "SELECT", "t1.state", ",", "SUM", "(", "t4.count", ")", "FROM", "category", "AS", "t2", "JOIN", "business", "AS", "t1", "ON", "t2.business_id", "=", "t1.business_id", "JOIN", "category", "AS", "t3", "ON", "t3.business_id", "=", "t1.business_id", "JOIN", "checkin", "AS", "t4", "ON", "t4.business_id", "=", "t1.business_id", "WHERE", "t2.category_name", "=", "``", "Italian", "''", "AND", "t3.category_name", "=", "``", "Delis", "''", "AND", "t4.day", "=", "``", "Sunday", "''", "GROUP", "BY", "t1.state", ";" ], "query_toks_no_value": [ "select", "t1", ".", "state", ",", "sum", "(", "t4", ".", "count", ")", "from", "category", "as", "t2", "join", "business", "as", "t1", "on", "t2", ".", "business_id", "=", "t1", ".", "business_id", "join", "category", "as", "t3", "on", "t3", ".", "business_id", "=", "t1", ".", "business_id", "join", "checkin", "as", "t4", "on", "t4", ".", "business_id", "=", "t1", ".", "business_id", "where", "t2", ".", "category_name", "=", "value", "and", "t3", ".", "category_name", "=", "value", "and", "t4", ".", "day", "=", "value", "group", "by", "t1", ".", "state" ], "question": "encontre o total de check-ins em Italian Delis em cada estado no domingo", "question_toks": [ "encontre", "o", "total", "de", "check-ins", "em", "Italian", "Delis", "em", "cada", "estado", "no", "domingo" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 0 ], [ "table_unit", 1 ], [ "table_unit", 3 ] ], "conds": [ [ false, 2, [ 0, [ 0, 13, false ], null ], [ 0, 2, false ], null ], "and", [ false, 2, [ 0, [ 0, 13, false ], null ], [ 0, 2, false ], null ], "and", [ false, 2, [ 0, [ 0, 19, false ], null ], [ 0, 2, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 11, false ], null ] ], [ 4, [ 0, [ 0, 20, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 14, false ], null ], "\"Italian\"", null ], "and", [ false, 2, [ 0, [ 0, 14, false ], null ], "\"Delis\"", null ], "and", [ false, 2, [ 0, [ 0, 21, false ], null ], "\"Sunday\"", null ] ], "groupBy": [ [ 0, 11, false ] ], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "yelp", "query": "SELECT COUNT ( DISTINCT t1.text ) FROM USER AS t2 JOIN review AS t1 ON t2.user_id = t1.user_id WHERE t1.year = 2015 AND t2.name = \"Niloofar\";", "query_toks": [ "SELECT", "COUNT", "(", "DISTINCT", "t1.text", ")", "FROM", "USER", "AS", "t2", "JOIN", "review", "AS", "t1", "ON", "t2.user_id", "=", "t1.user_id", "WHERE", "t1.year", "=", "2015", "AND", "t2.name", "=", "``", "Niloofar", "''", ";" ], "query_toks_no_value": [ "select", "count", "(", "distinct", "t1", ".", "text", ")", "from", "user", "as", "t2", "join", "review", "as", "t1", "on", "t2", ".", "user_id", "=", "t1", ".", "user_id", "where", "t1", ".", "year", "=", "value", "and", "t2", ".", "name", "=", "value" ], "question": "Quantas críticas Niloofar escreveu em 2015", "question_toks": [ "Quantas", "críticas", "Niloofar", "escreveu", "em", "2015" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 16, false ], null ], [ 0, 27, false ], null ] ] }, "select": [ false, [ [ 3, [ 0, [ 0, 29, true ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 30, false ], null ], 2015.0, null ], "and", [ false, 2, [ 0, [ 0, 17, false ], null ], "\"Niloofar\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "yelp", "query": "SELECT AVG ( t1.rating ) FROM USER AS t2 JOIN review AS t1 ON t2.user_id = t1.user_id WHERE t2.name = \"Michelle\";", "query_toks": [ "SELECT", "AVG", "(", "t1.rating", ")", "FROM", "USER", "AS", "t2", "JOIN", "review", "AS", "t1", "ON", "t2.user_id", "=", "t1.user_id", "WHERE", "t2.name", "=", "``", "Michelle", "''", ";" ], "query_toks_no_value": [ "select", "avg", "(", "t1", ".", "rating", ")", "from", "user", "as", "t2", "join", "review", "as", "t1", "on", "t2", ".", "user_id", "=", "t1", ".", "user_id", "where", "t2", ".", "name", "=", "value" ], "question": "qual é a classificação média dada nas avaliações de Michelle", "question_toks": [ "qual", "é", "a", "classificação", "média", "dada", "nas", "avaliações", "de", "Michelle" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 16, false ], null ], [ 0, 27, false ], null ] ] }, "select": [ false, [ [ 5, [ 0, [ 0, 28, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 17, false ], null ], "\"Michelle\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "yelp", "query": "SELECT t2.count FROM checkin AS t2 JOIN business AS t1 ON t2.business_id = t1.business_id WHERE t1.name = \"Cafe Zinho\" AND t2.day = \"Friday\";", "query_toks": [ "SELECT", "t2.count", "FROM", "checkin", "AS", "t2", "JOIN", "business", "AS", "t1", "ON", "t2.business_id", "=", "t1.business_id", "WHERE", "t1.name", "=", "``", "Cafe", "Zinho", "''", "AND", "t2.day", "=", "``", "Friday", "''", ";" ], "query_toks_no_value": [ "select", "t2", ".", "count", "from", "checkin", "as", "t2", "join", "business", "as", "t1", "on", "t2", ".", "business_id", "=", "t1", ".", "business_id", "where", "t1", ".", "name", "=", "value", "and", "t2", ".", "day", "=", "value" ], "question": "Qual é o número de check-ins do \"Café Zinho\" na sexta-feira", "question_toks": [ "Qual", "é", "o", "número", "de", "check-ins", "do", "\"", "Café", "Zinho", "\"", "na", "sexta-feira" ], "sql": { "from": { "table_units": [ [ "table_unit", 3 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 19, false ], null ], [ 0, 2, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 20, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], "\"Cafe Zinho\"", null ], "and", [ false, 2, [ 0, [ 0, 21, false ], null ], "\"Friday\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "yelp", "query": "SELECT COUNT ( DISTINCT t3.name ) FROM review AS t2 JOIN business AS t1 ON t2.business_id = t1.business_id JOIN USER AS t3 ON t3.user_id = t2.user_id WHERE t1.city = \"Pittsburgh\" AND t1.name = \"Sushi Too\";", "query_toks": [ "SELECT", "COUNT", "(", "DISTINCT", "t3.name", ")", "FROM", "review", "AS", "t2", "JOIN", "business", "AS", "t1", "ON", "t2.business_id", "=", "t1.business_id", "JOIN", "USER", "AS", "t3", "ON", "t3.user_id", "=", "t2.user_id", "WHERE", "t1.city", "=", "``", "Pittsburgh", "''", "AND", "t1.name", "=", "``", "Sushi", "Too", "''", ";" ], "query_toks_no_value": [ "select", "count", "(", "distinct", "t3", ".", "name", ")", "from", "review", "as", "t2", "join", "business", "as", "t1", "on", "t2", ".", "business_id", "=", "t1", ".", "business_id", "join", "user", "as", "t3", "on", "t3", ".", "user_id", "=", "t2", ".", "user_id", "where", "t1", ".", "city", "=", "value", "and", "t1", ".", "name", "=", "value" ], "question": "quantos usuários avaliaram \"Sushi Too\" em Pittsburgh", "question_toks": [ "quantos", "usuários", "avaliaram", "\"", "Sushi", "Too", "\"", "em", "Pittsburgh" ], "sql": { "from": { "table_units": [ [ "table_unit", 5 ], [ "table_unit", 0 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 26, false ], null ], [ 0, 2, false ], null ], "and", [ false, 2, [ 0, [ 0, 16, false ], null ], [ 0, 27, false ], null ] ] }, "select": [ false, [ [ 3, [ 0, [ 0, 17, true ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 5, false ], null ], "\"Pittsburgh\"", null ], "and", [ false, 2, [ 0, [ 0, 3, false ], null ], "\"Sushi Too\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "yelp", "query": "SELECT COUNT ( DISTINCT t1.name ) FROM category AS t2 JOIN business AS t1 ON t2.business_id = t1.business_id WHERE t1.city = \"Pittsburgh\" AND t1.rating = 4.5 AND t2.category_name = \"restaurant\";", "query_toks": [ "SELECT", "COUNT", "(", "DISTINCT", "t1.name", ")", "FROM", "category", "AS", "t2", "JOIN", "business", "AS", "t1", "ON", "t2.business_id", "=", "t1.business_id", "WHERE", "t1.city", "=", "``", "Pittsburgh", "''", "AND", "t1.rating", "=", "4.5", "AND", "t2.category_name", "=", "``", "restaurant", "''", ";" ], "query_toks_no_value": [ "select", "count", "(", "distinct", "t1", ".", "name", ")", "from", "category", "as", "t2", "join", "business", "as", "t1", "on", "t2", ".", "business_id", "=", "t1", ".", "business_id", "where", "t1", ".", "city", "=", "value", "and", "t1", ".", "rating", "=", "value", "and", "t2", ".", "category_name", "=", "value" ], "question": "Qual é o número de restaurantes em Pittsburgh com classificação 4,5?", "question_toks": [ "Qual", "é", "o", "número", "de", "restaurantes", "em", "Pittsburgh", "com", "classificação", "4,5", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 13, false ], null ], [ 0, 2, false ], null ] ] }, "select": [ false, [ [ 3, [ 0, [ 0, 3, true ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 5, false ], null ], "\"Pittsburgh\"", null ], "and", [ false, 2, [ 0, [ 0, 10, false ], null ], 4.5, null ], "and", [ false, 2, [ 0, [ 0, 14, false ], null ], "\"restaurant\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "yelp", "query": "SELECT COUNT ( DISTINCT text ) FROM tip WHERE YEAR = 2015;", "query_toks": [ "SELECT", "COUNT", "(", "DISTINCT", "text", ")", "FROM", "tip", "WHERE", "YEAR", "=", "2015", ";" ], "query_toks_no_value": [ "select", "count", "(", "distinct", "text", ")", "from", "tip", "where", "year", "=", "value" ], "question": "Quantas dicas foram escritas em 2015", "question_toks": [ "Quantas", "dicas", "foram", "escritas", "em", "2015" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 3, [ 0, [ 0, 34, true ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 37, false ], null ], 2015.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "yelp", "query": "SELECT SUM ( t1.likes ) FROM USER AS t2 JOIN tip AS t1 ON t2.user_id = t1.user_id WHERE t2.name = \"Niloofar\";", "query_toks": [ "SELECT", "SUM", "(", "t1.likes", ")", "FROM", "USER", "AS", "t2", "JOIN", "tip", "AS", "t1", "ON", "t2.user_id", "=", "t1.user_id", "WHERE", "t2.name", "=", "``", "Niloofar", "''", ";" ], "query_toks_no_value": [ "select", "sum", "(", "t1", ".", "likes", ")", "from", "user", "as", "t2", "join", "tip", "as", "t1", "on", "t2", ".", "user_id", "=", "t1", ".", "user_id", "where", "t2", ".", "name", "=", "value" ], "question": "Qual é o total de curtidas nas dicas da Niloofar", "question_toks": [ "Qual", "é", "o", "total", "de", "curtidas", "nas", "dicas", "da", "Niloofar" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ], [ "table_unit", 6 ] ], "conds": [ [ false, 2, [ 0, [ 0, 16, false ], null ], [ 0, 35, false ], null ] ] }, "select": [ false, [ [ 4, [ 0, [ 0, 36, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 17, false ], null ], "\"Niloofar\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "yelp", "query": "SELECT SUM ( t2.likes ) FROM tip AS t2 JOIN business AS t1 ON t2.business_id = t1.business_id WHERE t1.name = \"Cafe Zinho\";", "query_toks": [ "SELECT", "SUM", "(", "t2.likes", ")", "FROM", "tip", "AS", "t2", "JOIN", "business", "AS", "t1", "ON", "t2.business_id", "=", "t1.business_id", "WHERE", "t1.name", "=", "``", "Cafe", "Zinho", "''", ";" ], "query_toks_no_value": [ "select", "sum", "(", "t2", ".", "likes", ")", "from", "tip", "as", "t2", "join", "business", "as", "t1", "on", "t2", ".", "business_id", "=", "t1", ".", "business_id", "where", "t1", ".", "name", "=", "value" ], "question": "Qual é o total de curtidas nas dicas do \"Café Zinho\"", "question_toks": [ "Qual", "é", "o", "total", "de", "curtidas", "nas", "dicas", "do", "\"", "Café", "Zinho", "\"" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 33, false ], null ], [ 0, 2, false ], null ] ] }, "select": [ false, [ [ 4, [ 0, [ 0, 36, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], "\"Cafe Zinho\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "yelp", "query": "SELECT SUM ( t2.likes ) FROM tip AS t2 JOIN business AS t1 ON t2.business_id = t1.business_id JOIN USER AS t3 ON t3.user_id = t2.user_id WHERE t1.name = \"Cafe Zinho\" AND t3.name = \"Niloofar\";", "query_toks": [ "SELECT", "SUM", "(", "t2.likes", ")", "FROM", "tip", "AS", "t2", "JOIN", "business", "AS", "t1", "ON", "t2.business_id", "=", "t1.business_id", "JOIN", "USER", "AS", "t3", "ON", "t3.user_id", "=", "t2.user_id", "WHERE", "t1.name", "=", "``", "Cafe", "Zinho", "''", "AND", "t3.name", "=", "``", "Niloofar", "''", ";" ], "query_toks_no_value": [ "select", "sum", "(", "t2", ".", "likes", ")", "from", "tip", "as", "t2", "join", "business", "as", "t1", "on", "t2", ".", "business_id", "=", "t1", ".", "business_id", "join", "user", "as", "t3", "on", "t3", ".", "user_id", "=", "t2", ".", "user_id", "where", "t1", ".", "name", "=", "value", "and", "t3", ".", "name", "=", "value" ], "question": "Qual é o total de curtidas nas dicas do Niloofar sobre o \"Café Zinho\"", "question_toks": [ "Qual", "é", "o", "total", "de", "curtidas", "nas", "dicas", "do", "Niloofar", "sobre", "o", "\"", "Café", "Zinho", "\"" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ], [ "table_unit", 0 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 33, false ], null ], [ 0, 2, false ], null ], "and", [ false, 2, [ 0, [ 0, 16, false ], null ], [ 0, 35, false ], null ] ] }, "select": [ false, [ [ 4, [ 0, [ 0, 36, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], "\"Cafe Zinho\"", null ], "and", [ false, 2, [ 0, [ 0, 17, false ], null ], "\"Niloofar\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "yelp", "query": "SELECT COUNT ( DISTINCT t1.text ) FROM USER AS t2 JOIN tip AS t1 ON t2.user_id = t1.user_id WHERE t1.year = 2010 AND t2.name = \"Michelle\";", "query_toks": [ "SELECT", "COUNT", "(", "DISTINCT", "t1.text", ")", "FROM", "USER", "AS", "t2", "JOIN", "tip", "AS", "t1", "ON", "t2.user_id", "=", "t1.user_id", "WHERE", "t1.year", "=", "2010", "AND", "t2.name", "=", "``", "Michelle", "''", ";" ], "query_toks_no_value": [ "select", "count", "(", "distinct", "t1", ".", "text", ")", "from", "user", "as", "t2", "join", "tip", "as", "t1", "on", "t2", ".", "user_id", "=", "t1", ".", "user_id", "where", "t1", ".", "year", "=", "value", "and", "t2", ".", "name", "=", "value" ], "question": "Quantas dicas Michelle escreveu em 2010", "question_toks": [ "Quantas", "dicas", "Michelle", "escreveu", "em", "2010" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ], [ "table_unit", 6 ] ], "conds": [ [ false, 2, [ 0, [ 0, 16, false ], null ], [ 0, 35, false ], null ] ] }, "select": [ false, [ [ 3, [ 0, [ 0, 34, true ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 37, false ], null ], 2010.0, null ], "and", [ false, 2, [ 0, [ 0, 17, false ], null ], "\"Michelle\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "yelp", "query": "SELECT COUNT ( DISTINCT t1.text ) FROM USER AS t2 JOIN tip AS t1 ON t2.user_id = t1.user_id WHERE t1.year = 2010 AND t2.name = \"Michelle\";", "query_toks": [ "SELECT", "COUNT", "(", "DISTINCT", "t1.text", ")", "FROM", "USER", "AS", "t2", "JOIN", "tip", "AS", "t1", "ON", "t2.user_id", "=", "t1.user_id", "WHERE", "t1.year", "=", "2010", "AND", "t2.name", "=", "``", "Michelle", "''", ";" ], "query_toks_no_value": [ "select", "count", "(", "distinct", "t1", ".", "text", ")", "from", "user", "as", "t2", "join", "tip", "as", "t1", "on", "t2", ".", "user_id", "=", "t1", ".", "user_id", "where", "t1", ".", "year", "=", "value", "and", "t2", ".", "name", "=", "value" ], "question": "Me devolva o número de dicas escritas por Michelle em 2010.", "question_toks": [ "Me", "devolva", "o", "número", "de", "dicas", "escritas", "por", "Michelle", "em", "2010", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ], [ "table_unit", 6 ] ], "conds": [ [ false, 2, [ 0, [ 0, 16, false ], null ], [ 0, 35, false ], null ] ] }, "select": [ false, [ [ 3, [ 0, [ 0, 34, true ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 37, false ], null ], 2010.0, null ], "and", [ false, 2, [ 0, [ 0, 17, false ], null ], "\"Michelle\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "yelp", "query": "SELECT COUNT ( DISTINCT t1.text ) FROM USER AS t2 JOIN tip AS t1 ON t2.user_id = t1.user_id WHERE t1.month = \"April\" AND t2.name = \"Michelle\";", "query_toks": [ "SELECT", "COUNT", "(", "DISTINCT", "t1.text", ")", "FROM", "USER", "AS", "t2", "JOIN", "tip", "AS", "t1", "ON", "t2.user_id", "=", "t1.user_id", "WHERE", "t1.month", "=", "``", "April", "''", "AND", "t2.name", "=", "``", "Michelle", "''", ";" ], "query_toks_no_value": [ "select", "count", "(", "distinct", "t1", ".", "text", ")", "from", "user", "as", "t2", "join", "tip", "as", "t1", "on", "t2", ".", "user_id", "=", "t1", ".", "user_id", "where", "t1", ".", "month", "=", "value", "and", "t2", ".", "name", "=", "value" ], "question": "Quantas dicas Michelle escreveu em abril", "question_toks": [ "Quantas", "dicas", "Michelle", "escreveu", "em", "abril" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ], [ "table_unit", 6 ] ], "conds": [ [ false, 2, [ 0, [ 0, 16, false ], null ], [ 0, 35, false ], null ] ] }, "select": [ false, [ [ 3, [ 0, [ 0, 34, true ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 38, false ], null ], "\"April\"", null ], "and", [ false, 2, [ 0, [ 0, 17, false ], null ], "\"Michelle\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "yelp", "query": "SELECT COUNT ( DISTINCT t1.name ) FROM category AS t2 JOIN business AS t1 ON t2.business_id = t1.business_id WHERE t1.state = \"Texas\" AND t2.category_name = \"restaurant\";", "query_toks": [ "SELECT", "COUNT", "(", "DISTINCT", "t1.name", ")", "FROM", "category", "AS", "t2", "JOIN", "business", "AS", "t1", "ON", "t2.business_id", "=", "t1.business_id", "WHERE", "t1.state", "=", "``", "Texas", "''", "AND", "t2.category_name", "=", "``", "restaurant", "''", ";" ], "query_toks_no_value": [ "select", "count", "(", "distinct", "t1", ".", "name", ")", "from", "category", "as", "t2", "join", "business", "as", "t1", "on", "t2", ".", "business_id", "=", "t1", ".", "business_id", "where", "t1", ".", "state", "=", "value", "and", "t2", ".", "category_name", "=", "value" ], "question": "qual é o número de restaurantes no Texas", "question_toks": [ "qual", "é", "o", "número", "de", "restaurantes", "no", "Texas" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 13, false ], null ], [ 0, 2, false ], null ] ] }, "select": [ false, [ [ 3, [ 0, [ 0, 3, true ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 11, false ], null ], "\"Texas\"", null ], "and", [ false, 2, [ 0, [ 0, 14, false ], null ], "\"restaurant\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "yelp", "query": "SELECT COUNT ( DISTINCT t1.name ) FROM category AS t2 JOIN business AS t1 ON t2.business_id = t1.business_id WHERE t1.city = \"Dallas\" AND t1.rating > 3.5 AND t2.category_name = \"Bars\";", "query_toks": [ "SELECT", "COUNT", "(", "DISTINCT", "t1.name", ")", "FROM", "category", "AS", "t2", "JOIN", "business", "AS", "t1", "ON", "t2.business_id", "=", "t1.business_id", "WHERE", "t1.city", "=", "``", "Dallas", "''", "AND", "t1.rating", ">", "3.5", "AND", "t2.category_name", "=", "``", "Bars", "''", ";" ], "query_toks_no_value": [ "select", "count", "(", "distinct", "t1", ".", "name", ")", "from", "category", "as", "t2", "join", "business", "as", "t1", "on", "t2", ".", "business_id", "=", "t1", ".", "business_id", "where", "t1", ".", "city", "=", "value", "and", "t1", ".", "rating", ">", "value", "and", "t2", ".", "category_name", "=", "value" ], "question": "Quantos bares em \"Dallas\" têm uma classificação acima de 3,5?", "question_toks": [ "Quantos", "bares", "em", "\"", "Dallas", "\"", "têm", "uma", "classificação", "acima", "de", "3,5", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 13, false ], null ], [ 0, 2, false ], null ] ] }, "select": [ false, [ [ 3, [ 0, [ 0, 3, true ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 5, false ], null ], "\"Dallas\"", null ], "and", [ false, 3, [ 0, [ 0, 10, false ], null ], 3.5, null ], "and", [ false, 2, [ 0, [ 0, 14, false ], null ], "\"Bars\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "yelp", "query": "SELECT COUNT ( DISTINCT t1.name ) FROM category AS t2 JOIN business AS t1 ON t2.business_id = t1.business_id WHERE t1.city = \"Dallas\" AND t1.rating > 3.5 AND t2.category_name = \"Bars\";", "query_toks": [ "SELECT", "COUNT", "(", "DISTINCT", "t1.name", ")", "FROM", "category", "AS", "t2", "JOIN", "business", "AS", "t1", "ON", "t2.business_id", "=", "t1.business_id", "WHERE", "t1.city", "=", "``", "Dallas", "''", "AND", "t1.rating", ">", "3.5", "AND", "t2.category_name", "=", "``", "Bars", "''", ";" ], "query_toks_no_value": [ "select", "count", "(", "distinct", "t1", ".", "name", ")", "from", "category", "as", "t2", "join", "business", "as", "t1", "on", "t2", ".", "business_id", "=", "t1", ".", "business_id", "where", "t1", ".", "city", "=", "value", "and", "t1", ".", "rating", ">", "value", "and", "t2", ".", "category_name", "=", "value" ], "question": "Quantos bares em Dallas têm uma classificação acima de 3,5?", "question_toks": [ "Quantos", "bares", "em", "Dallas", "têm", "uma", "classificação", "acima", "de", "3,5", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 13, false ], null ], [ 0, 2, false ], null ] ] }, "select": [ false, [ [ 3, [ 0, [ 0, 3, true ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 5, false ], null ], "\"Dallas\"", null ], "and", [ false, 3, [ 0, [ 0, 10, false ], null ], 3.5, null ], "and", [ false, 2, [ 0, [ 0, 14, false ], null ], "\"Bars\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "yelp", "query": "SELECT COUNT ( DISTINCT t4.name ) FROM category AS t2 JOIN business AS t1 ON t2.business_id = t1.business_id JOIN review AS t3 ON t3.business_id = t1.business_id JOIN USER AS t4 ON t4.user_id = t3.user_id WHERE t1.city = \"Dallas\" AND t1.name = \"Texas de Brazil\" AND t1.state = \"Texas\" AND t2.category_name = \"restaurant\";", "query_toks": [ "SELECT", "COUNT", "(", "DISTINCT", "t4.name", ")", "FROM", "category", "AS", "t2", "JOIN", "business", "AS", "t1", "ON", "t2.business_id", "=", "t1.business_id", "JOIN", "review", "AS", "t3", "ON", "t3.business_id", "=", "t1.business_id", "JOIN", "USER", "AS", "t4", "ON", "t4.user_id", "=", "t3.user_id", "WHERE", "t1.city", "=", "``", "Dallas", "''", "AND", "t1.name", "=", "``", "Texas", "de", "Brazil", "''", "AND", "t1.state", "=", "``", "Texas", "''", "AND", "t2.category_name", "=", "``", "restaurant", "''", ";" ], "query_toks_no_value": [ "select", "count", "(", "distinct", "t4", ".", "name", ")", "from", "category", "as", "t2", "join", "business", "as", "t1", "on", "t2", ".", "business_id", "=", "t1", ".", "business_id", "join", "review", "as", "t3", "on", "t3", ".", "business_id", "=", "t1", ".", "business_id", "join", "user", "as", "t4", "on", "t4", ".", "user_id", "=", "t3", ".", "user_id", "where", "t1", ".", "city", "=", "value", "and", "t1", ".", "name", "=", "value", "and", "t1", ".", "state", "=", "value", "and", "t2", ".", "category_name", "=", "value" ], "question": "Quantas pessoas avaliaram o restaurante \"Texas de Brazil\" em Dallas Texas?", "question_toks": [ "Quantas", "pessoas", "avaliaram", "o", "restaurante", "\"", "Texas", "de", "Brazil", "\"", "em", "Dallas", "Texas", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 0 ], [ "table_unit", 5 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 13, false ], null ], [ 0, 2, false ], null ], "and", [ false, 2, [ 0, [ 0, 26, false ], null ], [ 0, 2, false ], null ], "and", [ false, 2, [ 0, [ 0, 16, false ], null ], [ 0, 27, false ], null ] ] }, "select": [ false, [ [ 3, [ 0, [ 0, 17, true ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 5, false ], null ], "\"Dallas\"", null ], "and", [ false, 2, [ 0, [ 0, 3, false ], null ], "\"Texas de Brazil\"", null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], "\"Texas\"", null ], "and", [ false, 2, [ 0, [ 0, 14, false ], null ], "\"restaurant\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "yelp", "query": "SELECT COUNT ( DISTINCT t3.name ) FROM review AS t2 JOIN business AS t1 ON t2.business_id = t1.business_id JOIN USER AS t3 ON t3.user_id = t2.user_id WHERE t1.name = \"Bistro Di Napoli\" AND t2.year = 2015;", "query_toks": [ "SELECT", "COUNT", "(", "DISTINCT", "t3.name", ")", "FROM", "review", "AS", "t2", "JOIN", "business", "AS", "t1", "ON", "t2.business_id", "=", "t1.business_id", "JOIN", "USER", "AS", "t3", "ON", "t3.user_id", "=", "t2.user_id", "WHERE", "t1.name", "=", "``", "Bistro", "Di", "Napoli", "''", "AND", "t2.year", "=", "2015", ";" ], "query_toks_no_value": [ "select", "count", "(", "distinct", "t3", ".", "name", ")", "from", "review", "as", "t2", "join", "business", "as", "t1", "on", "t2", ".", "business_id", "=", "t1", ".", "business_id", "join", "user", "as", "t3", "on", "t3", ".", "user_id", "=", "t2", ".", "user_id", "where", "t1", ".", "name", "=", "value", "and", "t2", ".", "year", "=", "value" ], "question": "Quantas pessoas avaliaram \"Bistro Di Napoli\" em 2015?", "question_toks": [ "Quantas", "pessoas", "avaliaram", "\"", "Bistro", "Di", "Napoli", "\"", "em", "2015", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 5 ], [ "table_unit", 0 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 26, false ], null ], [ 0, 2, false ], null ], "and", [ false, 2, [ 0, [ 0, 16, false ], null ], [ 0, 27, false ], null ] ] }, "select": [ false, [ [ 3, [ 0, [ 0, 17, true ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], "\"Bistro Di Napoli\"", null ], "and", [ false, 2, [ 0, [ 0, 30, false ], null ], 2015.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "yelp", "query": "SELECT COUNT ( DISTINCT t1.name ) FROM category AS t3 JOIN business AS t1 ON t3.business_id = t1.business_id JOIN neighbourhood AS t2 ON t2.business_id = t1.business_id WHERE t1.city = \"Dallas\" AND t3.category_name = \"restaurant\" AND t2.neighbourhood_name = \"Hazelwood\";", "query_toks": [ "SELECT", "COUNT", "(", "DISTINCT", "t1.name", ")", "FROM", "category", "AS", "t3", "JOIN", "business", "AS", "t1", "ON", "t3.business_id", "=", "t1.business_id", "JOIN", "neighbourhood", "AS", "t2", "ON", "t2.business_id", "=", "t1.business_id", "WHERE", "t1.city", "=", "``", "Dallas", "''", "AND", "t3.category_name", "=", "``", "restaurant", "''", "AND", "t2.neighbourhood_name", "=", "``", "Hazelwood", "''", ";" ], "query_toks_no_value": [ "select", "count", "(", "distinct", "t1", ".", "name", ")", "from", "category", "as", "t3", "join", "business", "as", "t1", "on", "t3", ".", "business_id", "=", "t1", ".", "business_id", "join", "neighbourhood", "as", "t2", "on", "t2", ".", "business_id", "=", "t1", ".", "business_id", "where", "t1", ".", "city", "=", "value", "and", "t3", ".", "category_name", "=", "value", "and", "t2", ".", "neighbourhood_name", "=", "value" ], "question": "Quantos restaurantes existem no distrito de Hazelwood, em Dallas?", "question_toks": [ "Quantos", "restaurantes", "existem", "no", "distrito", "de", "Hazelwood", ",", "em", "Dallas", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 0 ], [ "table_unit", 4 ] ], "conds": [ [ false, 2, [ 0, [ 0, 13, false ], null ], [ 0, 2, false ], null ], "and", [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 2, false ], null ] ] }, "select": [ false, [ [ 3, [ 0, [ 0, 3, true ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 5, false ], null ], "\"Dallas\"", null ], "and", [ false, 2, [ 0, [ 0, 14, false ], null ], "\"restaurant\"", null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], "\"Hazelwood\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "yelp", "query": "SELECT COUNT ( DISTINCT business_id ) FROM business WHERE city = \"Dallas\" AND name = \"Starbucks\" AND state = \"Texas\";", "query_toks": [ "SELECT", "COUNT", "(", "DISTINCT", "business_id", ")", "FROM", "business", "WHERE", "city", "=", "``", "Dallas", "''", "AND", "name", "=", "``", "Starbucks", "''", "AND", "state", "=", "``", "Texas", "''", ";" ], "query_toks_no_value": [ "select", "count", "(", "distinct", "business_id", ")", "from", "business", "where", "city", "=", "value", "and", "name", "=", "value", "and", "state", "=", "value" ], "question": "Quantos Starbucks existem em Dallas, Texas?", "question_toks": [ "Quantos", "Starbucks", "existem", "em", "Dallas", ",", "Texas", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 3, [ 0, [ 0, 2, true ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 5, false ], null ], "\"Dallas\"", null ], "and", [ false, 2, [ 0, [ 0, 3, false ], null ], "\"Starbucks\"", null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], "\"Texas\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "yelp", "query": "SELECT review_count FROM business WHERE name = \"Acacia Cafe\";", "query_toks": [ "SELECT", "review_count", "FROM", "business", "WHERE", "name", "=", "``", "Acacia", "Cafe", "''", ";" ], "query_toks_no_value": [ "select", "review_count", "from", "business", "where", "name", "=", "value" ], "question": "Quantas críticas tem \"Acacia Cafe\"?", "question_toks": [ "Quantas", "críticas", "tem", "\"", "Acacia", "Cafe", "\"", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 8, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], "\"Acacia Cafe\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "yelp", "query": "SELECT AVG ( t3.count ) , t3.day FROM category AS t2 JOIN business AS t1 ON t2.business_id = t1.business_id JOIN checkin AS t3 ON t3.business_id = t1.business_id WHERE t1.name = \"Barrio Cafe\" AND t2.category_name = \"restaurant\" GROUP BY t3.day;", "query_toks": [ "SELECT", "AVG", "(", "t3.count", ")", ",", "t3.day", "FROM", "category", "AS", "t2", "JOIN", "business", "AS", "t1", "ON", "t2.business_id", "=", "t1.business_id", "JOIN", "checkin", "AS", "t3", "ON", "t3.business_id", "=", "t1.business_id", "WHERE", "t1.name", "=", "``", "Barrio", "Cafe", "''", "AND", "t2.category_name", "=", "``", "restaurant", "''", "GROUP", "BY", "t3.day", ";" ], "query_toks_no_value": [ "select", "avg", "(", "t3", ".", "count", ")", ",", "t3", ".", "day", "from", "category", "as", "t2", "join", "business", "as", "t1", "on", "t2", ".", "business_id", "=", "t1", ".", "business_id", "join", "checkin", "as", "t3", "on", "t3", ".", "business_id", "=", "t1", ".", "business_id", "where", "t1", ".", "name", "=", "value", "and", "t2", ".", "category_name", "=", "value", "group", "by", "t3", ".", "day" ], "question": "Encontre a média de check-ins no restaurante \"Barrio Café\" por dia", "question_toks": [ "Encontre", "a", "média", "de", "check-ins", "no", "restaurante", "\"", "Barrio", "Café", "\"", "por", "dia" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 0 ], [ "table_unit", 3 ] ], "conds": [ [ false, 2, [ 0, [ 0, 13, false ], null ], [ 0, 2, false ], null ], "and", [ false, 2, [ 0, [ 0, 19, false ], null ], [ 0, 2, false ], null ] ] }, "select": [ false, [ [ 5, [ 0, [ 0, 20, false ], null ] ], [ 0, [ 0, [ 0, 21, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], "\"Barrio Cafe\"", null ], "and", [ false, 2, [ 0, [ 0, 14, false ], null ], "\"restaurant\"", null ] ], "groupBy": [ [ 0, 21, false ] ], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "yelp", "query": "SELECT COUNT ( DISTINCT t1.name ) FROM neighbourhood AS t2 JOIN business AS t1 ON t2.business_id = t1.business_id WHERE t1.city = \"Madison\" AND t2.neighbourhood_name = \"Stone Meadows\";", "query_toks": [ "SELECT", "COUNT", "(", "DISTINCT", "t1.name", ")", "FROM", "neighbourhood", "AS", "t2", "JOIN", "business", "AS", "t1", "ON", "t2.business_id", "=", "t1.business_id", "WHERE", "t1.city", "=", "``", "Madison", "''", "AND", "t2.neighbourhood_name", "=", "``", "Stone", "Meadows", "''", ";" ], "query_toks_no_value": [ "select", "count", "(", "distinct", "t1", ".", "name", ")", "from", "neighbourhood", "as", "t2", "join", "business", "as", "t1", "on", "t2", ".", "business_id", "=", "t1", ".", "business_id", "where", "t1", ".", "city", "=", "value", "and", "t2", ".", "neighbourhood_name", "=", "value" ], "question": "Quantas empresas existem no bairro \"Stone Meadows\" em Madison?", "question_toks": [ "Quantas", "empresas", "existem", "no", "bairro", "\"", "Stone", "Meadows", "\"", "em", "Madison", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 4 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 2, false ], null ] ] }, "select": [ false, [ [ 3, [ 0, [ 0, 3, true ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 5, false ], null ], "\"Madison\"", null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], "\"Stone Meadows\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "yelp", "query": "SELECT COUNT ( DISTINCT t1.text ) FROM USER AS t2 JOIN review AS t1 ON t2.user_id = t1.user_id WHERE t2.name = \"Adrienne\";", "query_toks": [ "SELECT", "COUNT", "(", "DISTINCT", "t1.text", ")", "FROM", "USER", "AS", "t2", "JOIN", "review", "AS", "t1", "ON", "t2.user_id", "=", "t1.user_id", "WHERE", "t2.name", "=", "``", "Adrienne", "''", ";" ], "query_toks_no_value": [ "select", "count", "(", "distinct", "t1", ".", "text", ")", "from", "user", "as", "t2", "join", "review", "as", "t1", "on", "t2", ".", "user_id", "=", "t1", ".", "user_id", "where", "t2", ".", "name", "=", "value" ], "question": "Quantas críticas Adrienne escreveu?", "question_toks": [ "Quantas", "críticas", "Adrienne", "escreveu", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 16, false ], null ], [ 0, 27, false ], null ] ] }, "select": [ false, [ [ 3, [ 0, [ 0, 29, true ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 17, false ], null ], "\"Adrienne\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "yelp", "query": "SELECT COUNT ( DISTINCT t1.text ) FROM USER AS t2 JOIN review AS t1 ON t2.user_id = t1.user_id WHERE t1.month = \"March\" AND t1.year = 2014 AND t2.name = \"Michelle\";", "query_toks": [ "SELECT", "COUNT", "(", "DISTINCT", "t1.text", ")", "FROM", "USER", "AS", "t2", "JOIN", "review", "AS", "t1", "ON", "t2.user_id", "=", "t1.user_id", "WHERE", "t1.month", "=", "``", "March", "''", "AND", "t1.year", "=", "2014", "AND", "t2.name", "=", "``", "Michelle", "''", ";" ], "query_toks_no_value": [ "select", "count", "(", "distinct", "t1", ".", "text", ")", "from", "user", "as", "t2", "join", "review", "as", "t1", "on", "t2", ".", "user_id", "=", "t1", ".", "user_id", "where", "t1", ".", "month", "=", "value", "and", "t1", ".", "year", "=", "value", "and", "t2", ".", "name", "=", "value" ], "question": "Quantas críticas Michelle escreveu em março de 2014?", "question_toks": [ "Quantas", "críticas", "Michelle", "escreveu", "em", "março", "de", "2014", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 16, false ], null ], [ 0, 27, false ], null ] ] }, "select": [ false, [ [ 3, [ 0, [ 0, 29, true ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 31, false ], null ], "\"March\"", null ], "and", [ false, 2, [ 0, [ 0, 30, false ], null ], 2014.0, null ], "and", [ false, 2, [ 0, [ 0, 17, false ], null ], "\"Michelle\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "yelp", "query": "SELECT COUNT ( DISTINCT t1.name ) FROM review AS t2 JOIN business AS t1 ON t2.business_id = t1.business_id JOIN USER AS t3 ON t3.user_id = t2.user_id WHERE t2.year = 2010 AND t3.name = \"Michelle\";", "query_toks": [ "SELECT", "COUNT", "(", "DISTINCT", "t1.name", ")", "FROM", "review", "AS", "t2", "JOIN", "business", "AS", "t1", "ON", "t2.business_id", "=", "t1.business_id", "JOIN", "USER", "AS", "t3", "ON", "t3.user_id", "=", "t2.user_id", "WHERE", "t2.year", "=", "2010", "AND", "t3.name", "=", "``", "Michelle", "''", ";" ], "query_toks_no_value": [ "select", "count", "(", "distinct", "t1", ".", "name", ")", "from", "review", "as", "t2", "join", "business", "as", "t1", "on", "t2", ".", "business_id", "=", "t1", ".", "business_id", "join", "user", "as", "t3", "on", "t3", ".", "user_id", "=", "t2", ".", "user_id", "where", "t2", ".", "year", "=", "value", "and", "t3", ".", "name", "=", "value" ], "question": "Quantas empresas a Michelle avaliou em 2010?", "question_toks": [ "Quantas", "empresas", "a", "Michelle", "avaliou", "em", "2010", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 5 ], [ "table_unit", 0 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 26, false ], null ], [ 0, 2, false ], null ], "and", [ false, 2, [ 0, [ 0, 16, false ], null ], [ 0, 27, false ], null ] ] }, "select": [ false, [ [ 3, [ 0, [ 0, 3, true ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 30, false ], null ], 2010.0, null ], "and", [ false, 2, [ 0, [ 0, 17, false ], null ], "\"Michelle\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "yelp", "query": "SELECT COUNT ( DISTINCT t1.name ) FROM review AS t2 JOIN business AS t1 ON t2.business_id = t1.business_id JOIN USER AS t3 ON t3.user_id = t2.user_id WHERE t1.city = \"San Diego\" AND t2.year = 2010 AND t3.name = \"Christine\";", "query_toks": [ "SELECT", "COUNT", "(", "DISTINCT", "t1.name", ")", "FROM", "review", "AS", "t2", "JOIN", "business", "AS", "t1", "ON", "t2.business_id", "=", "t1.business_id", "JOIN", "USER", "AS", "t3", "ON", "t3.user_id", "=", "t2.user_id", "WHERE", "t1.city", "=", "``", "San", "Diego", "''", "AND", "t2.year", "=", "2010", "AND", "t3.name", "=", "``", "Christine", "''", ";" ], "query_toks_no_value": [ "select", "count", "(", "distinct", "t1", ".", "name", ")", "from", "review", "as", "t2", "join", "business", "as", "t1", "on", "t2", ".", "business_id", "=", "t1", ".", "business_id", "join", "user", "as", "t3", "on", "t3", ".", "user_id", "=", "t2", ".", "user_id", "where", "t1", ".", "city", "=", "value", "and", "t2", ".", "year", "=", "value", "and", "t3", ".", "name", "=", "value" ], "question": "Quantas empresas em \"San Diego\" Christine avaliou em 2010?", "question_toks": [ "Quantas", "empresas", "em", "\"", "San", "Diego", "\"", "Christine", "avaliou", "em", "2010", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 5 ], [ "table_unit", 0 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 26, false ], null ], [ 0, 2, false ], null ], "and", [ false, 2, [ 0, [ 0, 16, false ], null ], [ 0, 27, false ], null ] ] }, "select": [ false, [ [ 3, [ 0, [ 0, 3, true ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 5, false ], null ], "\"San Diego\"", null ], "and", [ false, 2, [ 0, [ 0, 30, false ], null ], 2010.0, null ], "and", [ false, 2, [ 0, [ 0, 17, false ], null ], "\"Christine\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "yelp", "query": "SELECT COUNT ( DISTINCT business_id ) FROM business WHERE city = \"Los Angeles\" AND name = \"Target\";", "query_toks": [ "SELECT", "COUNT", "(", "DISTINCT", "business_id", ")", "FROM", "business", "WHERE", "city", "=", "``", "Los", "Angeles", "''", "AND", "name", "=", "``", "Target", "''", ";" ], "query_toks_no_value": [ "select", "count", "(", "distinct", "business_id", ")", "from", "business", "where", "city", "=", "value", "and", "name", "=", "value" ], "question": "Quantos Target tem em \"Los Angeles\"?", "question_toks": [ "Quantos", "Target", "tem", "em", "\"", "Los", "Angeles", "\"", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 3, [ 0, [ 0, 2, true ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 5, false ], null ], "\"Los Angeles\"", null ], "and", [ false, 2, [ 0, [ 0, 3, false ], null ], "\"Target\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "yelp", "query": "SELECT COUNT ( DISTINCT t4.name ) FROM category AS t2 JOIN business AS t1 ON t2.business_id = t1.business_id JOIN review AS t3 ON t3.business_id = t1.business_id JOIN USER AS t4 ON t4.user_id = t3.user_id WHERE t1.city = \"Dallas\" AND t2.category_name = \"Irish Pub\";", "query_toks": [ "SELECT", "COUNT", "(", "DISTINCT", "t4.name", ")", "FROM", "category", "AS", "t2", "JOIN", "business", "AS", "t1", "ON", "t2.business_id", "=", "t1.business_id", "JOIN", "review", "AS", "t3", "ON", "t3.business_id", "=", "t1.business_id", "JOIN", "USER", "AS", "t4", "ON", "t4.user_id", "=", "t3.user_id", "WHERE", "t1.city", "=", "``", "Dallas", "''", "AND", "t2.category_name", "=", "``", "Irish", "Pub", "''", ";" ], "query_toks_no_value": [ "select", "count", "(", "distinct", "t4", ".", "name", ")", "from", "category", "as", "t2", "join", "business", "as", "t1", "on", "t2", ".", "business_id", "=", "t1", ".", "business_id", "join", "review", "as", "t3", "on", "t3", ".", "business_id", "=", "t1", ".", "business_id", "join", "user", "as", "t4", "on", "t4", ".", "user_id", "=", "t3", ".", "user_id", "where", "t1", ".", "city", "=", "value", "and", "t2", ".", "category_name", "=", "value" ], "question": "Quantos usuários avaliaram o Irish Pub em Dallas?", "question_toks": [ "Quantos", "usuários", "avaliaram", "o", "Irish", "Pub", "em", "Dallas", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 0 ], [ "table_unit", 5 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 13, false ], null ], [ 0, 2, false ], null ], "and", [ false, 2, [ 0, [ 0, 26, false ], null ], [ 0, 2, false ], null ], "and", [ false, 2, [ 0, [ 0, 16, false ], null ], [ 0, 27, false ], null ] ] }, "select": [ false, [ [ 3, [ 0, [ 0, 17, true ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 5, false ], null ], "\"Dallas\"", null ], "and", [ false, 2, [ 0, [ 0, 14, false ], null ], "\"Irish Pub\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "yelp", "query": "SELECT AVG ( rating ) FROM review WHERE YEAR = 2014;", "query_toks": [ "SELECT", "AVG", "(", "rating", ")", "FROM", "review", "WHERE", "YEAR", "=", "2014", ";" ], "query_toks_no_value": [ "select", "avg", "(", "rating", ")", "from", "review", "where", "year", "=", "value" ], "question": "Qual é a classificação média dos comentários escritos no ano de 2014?", "question_toks": [ "Qual", "é", "a", "classificação", "média", "dos", "comentários", "escritos", "no", "ano", "de", "2014", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 5 ] ], "conds": [] }, "select": [ false, [ [ 5, [ 0, [ 0, 28, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 30, false ], null ], 2014.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "yelp", "query": "SELECT COUNT ( DISTINCT t4.name ) FROM category AS t2 JOIN business AS t1 ON t2.business_id = t1.business_id JOIN review AS t3 ON t3.business_id = t1.business_id JOIN USER AS t4 ON t4.user_id = t3.user_id WHERE t1.name = \"Vintner Grill\" AND t2.category_name = \"category_category_name0\" AND t3.year = 2010;", "query_toks": [ "SELECT", "COUNT", "(", "DISTINCT", "t4.name", ")", "FROM", "category", "AS", "t2", "JOIN", "business", "AS", "t1", "ON", "t2.business_id", "=", "t1.business_id", "JOIN", "review", "AS", "t3", "ON", "t3.business_id", "=", "t1.business_id", "JOIN", "USER", "AS", "t4", "ON", "t4.user_id", "=", "t3.user_id", "WHERE", "t1.name", "=", "``", "Vintner", "Grill", "''", "AND", "t2.category_name", "=", "``", "category_category_name0", "''", "AND", "t3.year", "=", "2010", ";" ], "query_toks_no_value": [ "select", "count", "(", "distinct", "t4", ".", "name", ")", "from", "category", "as", "t2", "join", "business", "as", "t1", "on", "t2", ".", "business_id", "=", "t1", ".", "business_id", "join", "review", "as", "t3", "on", "t3", ".", "business_id", "=", "t1", ".", "business_id", "join", "user", "as", "t4", "on", "t4", ".", "user_id", "=", "t3", ".", "user_id", "where", "t1", ".", "name", "=", "value", "and", "t2", ".", "category_name", "=", "value", "and", "t3", ".", "year", "=", "value" ], "question": "Quantas pessoas avaliaram o restaurante \"Vintner Grill\" em 2010?", "question_toks": [ "Quantas", "pessoas", "avaliaram", "o", "restaurante", "\"", "Vintner", "Grill", "\"", "em", "2010", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 0 ], [ "table_unit", 5 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 13, false ], null ], [ 0, 2, false ], null ], "and", [ false, 2, [ 0, [ 0, 26, false ], null ], [ 0, 2, false ], null ], "and", [ false, 2, [ 0, [ 0, 16, false ], null ], [ 0, 27, false ], null ] ] }, "select": [ false, [ [ 3, [ 0, [ 0, 17, true ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], "\"Vintner Grill\"", null ], "and", [ false, 2, [ 0, [ 0, 14, false ], null ], "\"category_category_name0\"", null ], "and", [ false, 2, [ 0, [ 0, 30, false ], null ], 2010.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "yelp", "query": "SELECT COUNT ( DISTINCT t3.text ) FROM neighbourhood AS t1 JOIN business AS t2 ON t1.business_id = t2.business_id JOIN review AS t3 ON t3.business_id = t2.business_id WHERE t1.neighbourhood_name = \"South Summerlin\";", "query_toks": [ "SELECT", "COUNT", "(", "DISTINCT", "t3.text", ")", "FROM", "neighbourhood", "AS", "t1", "JOIN", "business", "AS", "t2", "ON", "t1.business_id", "=", "t2.business_id", "JOIN", "review", "AS", "t3", "ON", "t3.business_id", "=", "t2.business_id", "WHERE", "t1.neighbourhood_name", "=", "``", "South", "Summerlin", "''", ";" ], "query_toks_no_value": [ "select", "count", "(", "distinct", "t3", ".", "text", ")", "from", "neighbourhood", "as", "t1", "join", "business", "as", "t2", "on", "t1", ".", "business_id", "=", "t2", ".", "business_id", "join", "review", "as", "t3", "on", "t3", ".", "business_id", "=", "t2", ".", "business_id", "where", "t1", ".", "neighbourhood_name", "=", "value" ], "question": "Encontre o número de comentários sobre empresas localizadas no bairro \"South Summerlin\"", "question_toks": [ "Encontre", "o", "número", "de", "comentários", "sobre", "empresas", "localizadas", "no", "bairro", "\"", "South", "Summerlin", "\"" ], "sql": { "from": { "table_units": [ [ "table_unit", 4 ], [ "table_unit", 0 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 2, false ], null ], "and", [ false, 2, [ 0, [ 0, 26, false ], null ], [ 0, 2, false ], null ] ] }, "select": [ false, [ [ 3, [ 0, [ 0, 29, true ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 24, false ], null ], "\"South Summerlin\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "yelp", "query": "SELECT COUNT ( DISTINCT name ) FROM USER WHERE name = \"Michelle\";", "query_toks": [ "SELECT", "COUNT", "(", "DISTINCT", "name", ")", "FROM", "USER", "WHERE", "name", "=", "``", "Michelle", "''", ";" ], "query_toks_no_value": [ "select", "count", "(", "distinct", "name", ")", "from", "user", "where", "name", "=", "value" ], "question": "Encontre o número de usuários chamados Michelle", "question_toks": [ "Encontre", "o", "número", "de", "usuários", "chamados", "Michelle" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ] ], "conds": [] }, "select": [ false, [ [ 3, [ 0, [ 0, 17, true ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 17, false ], null ], "\"Michelle\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "yelp", "query": "SELECT COUNT ( DISTINCT t1.name ) FROM category AS t2 JOIN business AS t1 ON t2.business_id = t1.business_id WHERE t2.category_name = \"restaurant\";", "query_toks": [ "SELECT", "COUNT", "(", "DISTINCT", "t1.name", ")", "FROM", "category", "AS", "t2", "JOIN", "business", "AS", "t1", "ON", "t2.business_id", "=", "t1.business_id", "WHERE", "t2.category_name", "=", "``", "restaurant", "''", ";" ], "query_toks_no_value": [ "select", "count", "(", "distinct", "t1", ".", "name", ")", "from", "category", "as", "t2", "join", "business", "as", "t1", "on", "t2", ".", "business_id", "=", "t1", ".", "business_id", "where", "t2", ".", "category_name", "=", "value" ], "question": "Retorne-me o número de empresas que são restaurantes.", "question_toks": [ "Retorne-me", "o", "número", "de", "empresas", "que", "são", "restaurantes", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 13, false ], null ], [ 0, 2, false ], null ] ] }, "select": [ false, [ [ 3, [ 0, [ 0, 3, true ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 14, false ], null ], "\"restaurant\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "yelp", "query": "SELECT COUNT ( DISTINCT city ) FROM business WHERE name = \"Panda Express\";", "query_toks": [ "SELECT", "COUNT", "(", "DISTINCT", "city", ")", "FROM", "business", "WHERE", "name", "=", "``", "Panda", "Express", "''", ";" ], "query_toks_no_value": [ "select", "count", "(", "distinct", "city", ")", "from", "business", "where", "name", "=", "value" ], "question": "Me devolva o número de cidades que tem \"Panda Express\".", "question_toks": [ "Me", "devolva", "o", "número", "de", "cidades", "que", "tem", "\"", "Panda", "Express", "\"", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 3, [ 0, [ 0, 5, true ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], "\"Panda Express\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "yelp", "query": "SELECT COUNT ( DISTINCT t1.text ) FROM USER AS t2 JOIN tip AS t1 ON t2.user_id = t1.user_id WHERE t2.name = \"Michelle\";", "query_toks": [ "SELECT", "COUNT", "(", "DISTINCT", "t1.text", ")", "FROM", "USER", "AS", "t2", "JOIN", "tip", "AS", "t1", "ON", "t2.user_id", "=", "t1.user_id", "WHERE", "t2.name", "=", "``", "Michelle", "''", ";" ], "query_toks_no_value": [ "select", "count", "(", "distinct", "t1", ".", "text", ")", "from", "user", "as", "t2", "join", "tip", "as", "t1", "on", "t2", ".", "user_id", "=", "t1", ".", "user_id", "where", "t2", ".", "name", "=", "value" ], "question": "Me devolva o número de dicas escritas por Michelle.", "question_toks": [ "Me", "devolva", "o", "número", "de", "dicas", "escritas", "por", "Michelle", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ], [ "table_unit", 6 ] ], "conds": [ [ false, 2, [ 0, [ 0, 16, false ], null ], [ 0, 35, false ], null ] ] }, "select": [ false, [ [ 3, [ 0, [ 0, 34, true ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 17, false ], null ], "\"Michelle\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "yelp", "query": "SELECT SUM ( t3.count ) FROM checkin AS t3 JOIN business AS t1 ON t3.business_id = t1.business_id JOIN neighbourhood AS t2 ON t2.business_id = t1.business_id WHERE t2.neighbourhood_name = \"Brighton Heights\";", "query_toks": [ "SELECT", "SUM", "(", "t3.count", ")", "FROM", "checkin", "AS", "t3", "JOIN", "business", "AS", "t1", "ON", "t3.business_id", "=", "t1.business_id", "JOIN", "neighbourhood", "AS", "t2", "ON", "t2.business_id", "=", "t1.business_id", "WHERE", "t2.neighbourhood_name", "=", "``", "Brighton", "Heights", "''", ";" ], "query_toks_no_value": [ "select", "sum", "(", "t3", ".", "count", ")", "from", "checkin", "as", "t3", "join", "business", "as", "t1", "on", "t3", ".", "business_id", "=", "t1", ".", "business_id", "join", "neighbourhood", "as", "t2", "on", "t2", ".", "business_id", "=", "t1", ".", "business_id", "where", "t2", ".", "neighbourhood_name", "=", "value" ], "question": "Encontre o total de check-ins no bairro \"Brighton Heights\"", "question_toks": [ "Encontre", "o", "total", "de", "check-ins", "no", "bairro", "\"", "Brighton", "Heights", "\"" ], "sql": { "from": { "table_units": [ [ "table_unit", 3 ], [ "table_unit", 0 ], [ "table_unit", 4 ] ], "conds": [ [ false, 2, [ 0, [ 0, 19, false ], null ], [ 0, 2, false ], null ], "and", [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 2, false ], null ] ] }, "select": [ false, [ [ 4, [ 0, [ 0, 20, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 24, false ], null ], "\"Brighton Heights\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "yelp", "query": "SELECT COUNT ( DISTINCT text ) FROM review WHERE MONTH = \"March\";", "query_toks": [ "SELECT", "COUNT", "(", "DISTINCT", "text", ")", "FROM", "review", "WHERE", "MONTH", "=", "``", "March", "''", ";" ], "query_toks_no_value": [ "select", "count", "(", "distinct", "text", ")", "from", "review", "where", "month", "=", "value" ], "question": "Encontre o número total de resenhas escritas em março", "question_toks": [ "Encontre", "o", "número", "total", "de", "resenhas", "escritas", "em", "março" ], "sql": { "from": { "table_units": [ [ "table_unit", 5 ] ], "conds": [] }, "select": [ false, [ [ 3, [ 0, [ 0, 29, true ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 31, false ], null ], "\"March\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "yelp", "query": "SELECT COUNT ( DISTINCT text ) , MONTH FROM tip GROUP BY MONTH;", "query_toks": [ "SELECT", "COUNT", "(", "DISTINCT", "text", ")", ",", "MONTH", "FROM", "tip", "GROUP", "BY", "MONTH", ";" ], "query_toks_no_value": [ "select", "count", "(", "distinct", "text", ")", ",", "month", "from", "tip", "group", "by", "month" ], "question": "Encontre o número de dicas escritas em cada mês", "question_toks": [ "Encontre", "o", "número", "de", "dicas", "escritas", "em", "cada", "mês" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 3, [ 0, [ 0, 34, true ], null ] ], [ 0, [ 0, [ 0, 38, false ], null ] ] ] ], "where": [], "groupBy": [ [ 0, 38, false ] ], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "yelp", "query": "SELECT COUNT ( DISTINCT t1.neighbourhood_name ) FROM neighbourhood AS t1 JOIN business AS t2 ON t1.business_id = t2.business_id WHERE t2.city = \"Madison\" AND t2.rating = 5;", "query_toks": [ "SELECT", "COUNT", "(", "DISTINCT", "t1.neighbourhood_name", ")", "FROM", "neighbourhood", "AS", "t1", "JOIN", "business", "AS", "t2", "ON", "t1.business_id", "=", "t2.business_id", "WHERE", "t2.city", "=", "``", "Madison", "''", "AND", "t2.rating", "=", "5", ";" ], "query_toks_no_value": [ "select", "count", "(", "distinct", "t1", ".", "neighbourhood_name", ")", "from", "neighbourhood", "as", "t1", "join", "business", "as", "t2", "on", "t1", ".", "business_id", "=", "t2", ".", "business_id", "where", "t2", ".", "city", "=", "value", "and", "t2", ".", "rating", "=", "value" ], "question": "Quantos bairros têm uma empresa com classificação 5 em Madison?", "question_toks": [ "Quantos", "bairros", "têm", "uma", "empresa", "com", "classificação", "5", "em", "Madison", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 4 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 2, false ], null ] ] }, "select": [ false, [ [ 3, [ 0, [ 0, 24, true ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 5, false ], null ], "\"Madison\"", null ], "and", [ false, 2, [ 0, [ 0, 10, false ], null ], 5.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "yelp", "query": "SELECT t1.name FROM category AS t2 JOIN business AS t1 ON t2.business_id = t1.business_id JOIN category AS t3 ON t3.business_id = t1.business_id WHERE t1.state = \"Texas\" AND t2.category_name = \"Moroccan\" AND t3.category_name = \"restaurant\";", "query_toks": [ "SELECT", "t1.name", "FROM", "category", "AS", "t2", "JOIN", "business", "AS", "t1", "ON", "t2.business_id", "=", "t1.business_id", "JOIN", "category", "AS", "t3", "ON", "t3.business_id", "=", "t1.business_id", "WHERE", "t1.state", "=", "``", "Texas", "''", "AND", "t2.category_name", "=", "``", "Moroccan", "''", "AND", "t3.category_name", "=", "``", "restaurant", "''", ";" ], "query_toks_no_value": [ "select", "t1", ".", "name", "from", "category", "as", "t2", "join", "business", "as", "t1", "on", "t2", ".", "business_id", "=", "t1", ".", "business_id", "join", "category", "as", "t3", "on", "t3", ".", "business_id", "=", "t1", ".", "business_id", "where", "t1", ".", "state", "=", "value", "and", "t2", ".", "category_name", "=", "value", "and", "t3", ".", "category_name", "=", "value" ], "question": "Dê-me todos os restaurantes marroquinos do Texas", "question_toks": [ "Dê-me", "todos", "os", "restaurantes", "marroquinos", "do", "Texas" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 0 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 13, false ], null ], [ 0, 2, false ], null ], "and", [ false, 2, [ 0, [ 0, 13, false ], null ], [ 0, 2, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 11, false ], null ], "\"Texas\"", null ], "and", [ false, 2, [ 0, [ 0, 14, false ], null ], "\"Moroccan\"", null ], "and", [ false, 2, [ 0, [ 0, 14, false ], null ], "\"restaurant\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "yelp", "query": "SELECT t1.name FROM checkin AS t2 JOIN business AS t1 ON t2.business_id = t1.business_id GROUP BY t1.name ORDER BY SUM ( t2.count ) DESC LIMIT 1;", "query_toks": [ "SELECT", "t1.name", "FROM", "checkin", "AS", "t2", "JOIN", "business", "AS", "t1", "ON", "t2.business_id", "=", "t1.business_id", "GROUP", "BY", "t1.name", "ORDER", "BY", "SUM", "(", "t2.count", ")", "DESC", "LIMIT", "1", ";" ], "query_toks_no_value": [ "select", "t1", ".", "name", "from", "checkin", "as", "t2", "join", "business", "as", "t1", "on", "t2", ".", "business_id", "=", "t1", ".", "business_id", "group", "by", "t1", ".", "name", "order", "by", "sum", "(", "t2", ".", "count", ")", "desc", "limit", "value" ], "question": "qual empresa tem o maior número de check-ins", "question_toks": [ "qual", "empresa", "tem", "o", "maior", "número", "de", "check-ins" ], "sql": { "from": { "table_units": [ [ "table_unit", 3 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 19, false ], null ], [ 0, 2, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [], "groupBy": [ [ 0, 3, false ] ], "having": [], "orderBy": [ "desc", [ [ 0, [ 4, 20, false ], null ] ] ], "limit": 1, "intersect": null, "union": null, "except": null } }, { "db_id": "yelp", "query": "SELECT t1.neighbourhood_name FROM neighbourhood AS t1 JOIN business AS t2 ON t1.business_id = t2.business_id WHERE t2.city = \"Madison\" GROUP BY t1.neighbourhood_name ORDER BY COUNT ( DISTINCT t2.name ) DESC LIMIT 1;", "query_toks": [ "SELECT", "t1.neighbourhood_name", "FROM", "neighbourhood", "AS", "t1", "JOIN", "business", "AS", "t2", "ON", "t1.business_id", "=", "t2.business_id", "WHERE", "t2.city", "=", "``", "Madison", "''", "GROUP", "BY", "t1.neighbourhood_name", "ORDER", "BY", "COUNT", "(", "DISTINCT", "t2.name", ")", "DESC", "LIMIT", "1", ";" ], "query_toks_no_value": [ "select", "t1", ".", "neighbourhood_name", "from", "neighbourhood", "as", "t1", "join", "business", "as", "t2", "on", "t1", ".", "business_id", "=", "t2", ".", "business_id", "where", "t2", ".", "city", "=", "value", "group", "by", "t1", ".", "neighbourhood_name", "order", "by", "count", "(", "distinct", "t2", ".", "name", ")", "desc", "limit", "value" ], "question": "qual bairro tem o maior número de empresas em Madison", "question_toks": [ "qual", "bairro", "tem", "o", "maior", "número", "de", "empresas", "em", "Madison" ], "sql": { "from": { "table_units": [ [ "table_unit", 4 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 2, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 24, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 5, false ], null ], "\"Madison\"", null ] ], "groupBy": [ [ 0, 24, false ] ], "having": [], "orderBy": [ "desc", [ [ 0, [ 3, 3, true ], null ] ] ], "limit": 1, "intersect": null, "union": null, "except": null } }, { "db_id": "yelp", "query": "SELECT t1.name FROM category AS t2 JOIN business AS t1 ON t2.business_id = t1.business_id JOIN category AS t3 ON t3.business_id = t1.business_id WHERE t1.city = \"Dallas\" AND t1.rating > 3.5 AND t2.category_name = \"Mexican\" AND t3.category_name = \"restaurant\";", "query_toks": [ "SELECT", "t1.name", "FROM", "category", "AS", "t2", "JOIN", "business", "AS", "t1", "ON", "t2.business_id", "=", "t1.business_id", "JOIN", "category", "AS", "t3", "ON", "t3.business_id", "=", "t1.business_id", "WHERE", "t1.city", "=", "``", "Dallas", "''", "AND", "t1.rating", ">", "3.5", "AND", "t2.category_name", "=", "``", "Mexican", "''", "AND", "t3.category_name", "=", "``", "restaurant", "''", ";" ], "query_toks_no_value": [ "select", "t1", ".", "name", "from", "category", "as", "t2", "join", "business", "as", "t1", "on", "t2", ".", "business_id", "=", "t1", ".", "business_id", "join", "category", "as", "t3", "on", "t3", ".", "business_id", "=", "t1", ".", "business_id", "where", "t1", ".", "city", "=", "value", "and", "t1", ".", "rating", ">", "value", "and", "t2", ".", "category_name", "=", "value", "and", "t3", ".", "category_name", "=", "value" ], "question": "Encontre todos os restaurantes mexicanos em Dallas com pelo menos 3,5 estrelas", "question_toks": [ "Encontre", "todos", "os", "restaurantes", "mexicanos", "em", "Dallas", "com", "pelo", "menos", "3,5", "estrelas" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 0 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 13, false ], null ], [ 0, 2, false ], null ], "and", [ false, 2, [ 0, [ 0, 13, false ], null ], [ 0, 2, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 5, false ], null ], "\"Dallas\"", null ], "and", [ false, 3, [ 0, [ 0, 10, false ], null ], 3.5, null ], "and", [ false, 2, [ 0, [ 0, 14, false ], null ], "\"Mexican\"", null ], "and", [ false, 2, [ 0, [ 0, 14, false ], null ], "\"restaurant\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "yelp", "query": "SELECT t1.name FROM category AS t2 JOIN business AS t1 ON t2.business_id = t1.business_id JOIN category AS t3 ON t3.business_id = t1.business_id WHERE t1.city = \"Dallas\" AND t1.rating > 3.5 AND t2.category_name = \"Mexican\" AND t3.category_name = \"restaurant\";", "query_toks": [ "SELECT", "t1.name", "FROM", "category", "AS", "t2", "JOIN", "business", "AS", "t1", "ON", "t2.business_id", "=", "t1.business_id", "JOIN", "category", "AS", "t3", "ON", "t3.business_id", "=", "t1.business_id", "WHERE", "t1.city", "=", "``", "Dallas", "''", "AND", "t1.rating", ">", "3.5", "AND", "t2.category_name", "=", "``", "Mexican", "''", "AND", "t3.category_name", "=", "``", "restaurant", "''", ";" ], "query_toks_no_value": [ "select", "t1", ".", "name", "from", "category", "as", "t2", "join", "business", "as", "t1", "on", "t2", ".", "business_id", "=", "t1", ".", "business_id", "join", "category", "as", "t3", "on", "t3", ".", "business_id", "=", "t1", ".", "business_id", "where", "t1", ".", "city", "=", "value", "and", "t1", ".", "rating", ">", "value", "and", "t2", ".", "category_name", "=", "value", "and", "t3", ".", "category_name", "=", "value" ], "question": "Encontre todos os restaurantes mexicanos em Dallas com uma classificação acima de 3,5", "question_toks": [ "Encontre", "todos", "os", "restaurantes", "mexicanos", "em", "Dallas", "com", "uma", "classificação", "acima", "de", "3,5" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 0 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 13, false ], null ], [ 0, 2, false ], null ], "and", [ false, 2, [ 0, [ 0, 13, false ], null ], [ 0, 2, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 5, false ], null ], "\"Dallas\"", null ], "and", [ false, 3, [ 0, [ 0, 10, false ], null ], 3.5, null ], "and", [ false, 2, [ 0, [ 0, 14, false ], null ], "\"Mexican\"", null ], "and", [ false, 2, [ 0, [ 0, 14, false ], null ], "\"restaurant\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "yelp", "query": "SELECT t1.name FROM category AS t2 JOIN business AS t1 ON t2.business_id = t1.business_id JOIN category AS t3 ON t3.business_id = t1.business_id WHERE t1.city = \"Dallas\" AND t1.state = \"Texas\" AND t2.category_name = \"Valet Service\" AND t3.category_name = \"restaurant\";", "query_toks": [ "SELECT", "t1.name", "FROM", "category", "AS", "t2", "JOIN", "business", "AS", "t1", "ON", "t2.business_id", "=", "t1.business_id", "JOIN", "category", "AS", "t3", "ON", "t3.business_id", "=", "t1.business_id", "WHERE", "t1.city", "=", "``", "Dallas", "''", "AND", "t1.state", "=", "``", "Texas", "''", "AND", "t2.category_name", "=", "``", "Valet", "Service", "''", "AND", "t3.category_name", "=", "``", "restaurant", "''", ";" ], "query_toks_no_value": [ "select", "t1", ".", "name", "from", "category", "as", "t2", "join", "business", "as", "t1", "on", "t2", ".", "business_id", "=", "t1", ".", "business_id", "join", "category", "as", "t3", "on", "t3", ".", "business_id", "=", "t1", ".", "business_id", "where", "t1", ".", "city", "=", "value", "and", "t1", ".", "state", "=", "value", "and", "t2", ".", "category_name", "=", "value", "and", "t3", ".", "category_name", "=", "value" ], "question": "Encontre todos os restaurantes com Valet Service em Dallas, Texas", "question_toks": [ "Encontre", "todos", "os", "restaurantes", "com", "Valet", "Service", "em", "Dallas", ",", "Texas" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 0 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 13, false ], null ], [ 0, 2, false ], null ], "and", [ false, 2, [ 0, [ 0, 13, false ], null ], [ 0, 2, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 5, false ], null ], "\"Dallas\"", null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], "\"Texas\"", null ], "and", [ false, 2, [ 0, [ 0, 14, false ], null ], "\"Valet Service\"", null ], "and", [ false, 2, [ 0, [ 0, 14, false ], null ], "\"restaurant\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "yelp", "query": "SELECT t1.name FROM category AS t3 JOIN business AS t1 ON t3.business_id = t1.business_id JOIN category AS t4 ON t4.business_id = t1.business_id JOIN neighbourhood AS t2 ON t2.business_id = t1.business_id WHERE t1.city = \"Madison\" AND t3.category_name = \"Italian\" AND t4.category_name = \"restaurant\" AND t2.neighbourhood_name = \"Meadowood\";", "query_toks": [ "SELECT", "t1.name", "FROM", "category", "AS", "t3", "JOIN", "business", "AS", "t1", "ON", "t3.business_id", "=", "t1.business_id", "JOIN", "category", "AS", "t4", "ON", "t4.business_id", "=", "t1.business_id", "JOIN", "neighbourhood", "AS", "t2", "ON", "t2.business_id", "=", "t1.business_id", "WHERE", "t1.city", "=", "``", "Madison", "''", "AND", "t3.category_name", "=", "``", "Italian", "''", "AND", "t4.category_name", "=", "``", "restaurant", "''", "AND", "t2.neighbourhood_name", "=", "``", "Meadowood", "''", ";" ], "query_toks_no_value": [ "select", "t1", ".", "name", "from", "category", "as", "t3", "join", "business", "as", "t1", "on", "t3", ".", "business_id", "=", "t1", ".", "business_id", "join", "category", "as", "t4", "on", "t4", ".", "business_id", "=", "t1", ".", "business_id", "join", "neighbourhood", "as", "t2", "on", "t2", ".", "business_id", "=", "t1", ".", "business_id", "where", "t1", ".", "city", "=", "value", "and", "t3", ".", "category_name", "=", "value", "and", "t4", ".", "category_name", "=", "value", "and", "t2", ".", "neighbourhood_name", "=", "value" ], "question": "Encontre todos os restaurantes italianos no bairro de Meadowood de Madison", "question_toks": [ "Encontre", "todos", "os", "restaurantes", "italianos", "no", "bairro", "de", "Meadowood", "de", "Madison" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 0 ], [ "table_unit", 1 ], [ "table_unit", 4 ] ], "conds": [ [ false, 2, [ 0, [ 0, 13, false ], null ], [ 0, 2, false ], null ], "and", [ false, 2, [ 0, [ 0, 13, false ], null ], [ 0, 2, false ], null ], "and", [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 2, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 5, false ], null ], "\"Madison\"", null ], "and", [ false, 2, [ 0, [ 0, 14, false ], null ], "\"Italian\"", null ], "and", [ false, 2, [ 0, [ 0, 14, false ], null ], "\"restaurant\"", null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], "\"Meadowood\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "yelp", "query": "SELECT t1.name FROM category AS t2 JOIN business AS t1 ON t2.business_id = t1.business_id WHERE t1.city = \"Los Angeles\" AND t1.rating > 3 AND t1.review_count > 30 AND t2.category_name = \"Bars\";", "query_toks": [ "SELECT", "t1.name", "FROM", "category", "AS", "t2", "JOIN", "business", "AS", "t1", "ON", "t2.business_id", "=", "t1.business_id", "WHERE", "t1.city", "=", "``", "Los", "Angeles", "''", "AND", "t1.rating", ">", "3", "AND", "t1.review_count", ">", "30", "AND", "t2.category_name", "=", "``", "Bars", "''", ";" ], "query_toks_no_value": [ "select", "t1", ".", "name", "from", "category", "as", "t2", "join", "business", "as", "t1", "on", "t2", ".", "business_id", "=", "t1", ".", "business_id", "where", "t1", ".", "city", "=", "value", "and", "t1", ".", "rating", ">", "value", "and", "t1", ".", "review_count", ">", "value", "and", "t2", ".", "category_name", "=", "value" ], "question": "Encontre todos os bares em \"Los Angeles\" com pelo menos 30 avaliações e classificação média acima de 3 estrelas", "question_toks": [ "Encontre", "todos", "os", "bares", "em", "\"", "Los", "Angeles", "\"", "com", "pelo", "menos", "30", "avaliações", "e", "classificação", "média", "acima", "de", "3", "estrelas" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 13, false ], null ], [ 0, 2, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 5, false ], null ], "\"Los Angeles\"", null ], "and", [ false, 3, [ 0, [ 0, 10, false ], null ], 3.0, null ], "and", [ false, 3, [ 0, [ 0, 8, false ], null ], 30.0, null ], "and", [ false, 2, [ 0, [ 0, 14, false ], null ], "\"Bars\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "yelp", "query": "SELECT COUNT ( DISTINCT t1.name ) FROM category AS t2 JOIN business AS t1 ON t2.business_id = t1.business_id JOIN category AS t3 ON t3.business_id = t1.business_id WHERE t1.city = \"Edinburgh\" AND t2.category_name = \"restaurant\" AND t3.category_name = \"Egyptian\";", "query_toks": [ "SELECT", "COUNT", "(", "DISTINCT", "t1.name", ")", "FROM", "category", "AS", "t2", "JOIN", "business", "AS", "t1", "ON", "t2.business_id", "=", "t1.business_id", "JOIN", "category", "AS", "t3", "ON", "t3.business_id", "=", "t1.business_id", "WHERE", "t1.city", "=", "``", "Edinburgh", "''", "AND", "t2.category_name", "=", "``", "restaurant", "''", "AND", "t3.category_name", "=", "``", "Egyptian", "''", ";" ], "query_toks_no_value": [ "select", "count", "(", "distinct", "t1", ".", "name", ")", "from", "category", "as", "t2", "join", "business", "as", "t1", "on", "t2", ".", "business_id", "=", "t1", ".", "business_id", "join", "category", "as", "t3", "on", "t3", ".", "business_id", "=", "t1", ".", "business_id", "where", "t1", ".", "city", "=", "value", "and", "t2", ".", "category_name", "=", "value", "and", "t3", ".", "category_name", "=", "value" ], "question": "Quantos restaurantes egípcios existem em Edimburgo?", "question_toks": [ "Quantos", "restaurantes", "egípcios", "existem", "em", "Edimburgo", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 0 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 13, false ], null ], [ 0, 2, false ], null ], "and", [ false, 2, [ 0, [ 0, 13, false ], null ], [ 0, 2, false ], null ] ] }, "select": [ false, [ [ 3, [ 0, [ 0, 3, true ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 5, false ], null ], "\"Edinburgh\"", null ], "and", [ false, 2, [ 0, [ 0, 14, false ], null ], "\"restaurant\"", null ], "and", [ false, 2, [ 0, [ 0, 14, false ], null ], "\"Egyptian\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "yelp", "query": "SELECT t2.name FROM USER AS t2 JOIN review AS t1 ON t2.user_id = t1.user_id GROUP BY t2.name HAVING AVG ( t1.rating ) < 3;", "query_toks": [ "SELECT", "t2.name", "FROM", "USER", "AS", "t2", "JOIN", "review", "AS", "t1", "ON", "t2.user_id", "=", "t1.user_id", "GROUP", "BY", "t2.name", "HAVING", "AVG", "(", "t1.rating", ")", "<", "3", ";" ], "query_toks_no_value": [ "select", "t2", ".", "name", "from", "user", "as", "t2", "join", "review", "as", "t1", "on", "t2", ".", "user_id", "=", "t1", ".", "user_id", "group", "by", "t2", ".", "name", "having", "avg", "(", "t1", ".", "rating", ")", "<", "value" ], "question": "Encontre usuários cuja avaliação média da avaliação seja inferior a 3", "question_toks": [ "Encontre", "usuários", "cuja", "avaliação", "média", "da", "avaliação", "seja", "inferior", "a", "3" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 16, false ], null ], [ 0, 27, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 17, false ], null ] ] ] ], "where": [], "groupBy": [ [ 0, 17, false ] ], "having": [ [ false, 4, [ 0, [ 5, 28, false ], null ], 3.0, null ] ], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "yelp", "query": "SELECT t1.name FROM review AS t2 JOIN business AS t1 ON t2.business_id = t1.business_id WHERE t2.month = \"April\" GROUP BY t1.name ORDER BY COUNT ( DISTINCT t2.text ) DESC LIMIT 1;", "query_toks": [ "SELECT", "t1.name", "FROM", "review", "AS", "t2", "JOIN", "business", "AS", "t1", "ON", "t2.business_id", "=", "t1.business_id", "WHERE", "t2.month", "=", "``", "April", "''", "GROUP", "BY", "t1.name", "ORDER", "BY", "COUNT", "(", "DISTINCT", "t2.text", ")", "DESC", "LIMIT", "1", ";" ], "query_toks_no_value": [ "select", "t1", ".", "name", "from", "review", "as", "t2", "join", "business", "as", "t1", "on", "t2", ".", "business_id", "=", "t1", ".", "business_id", "where", "t2", ".", "month", "=", "value", "group", "by", "t1", ".", "name", "order", "by", "count", "(", "distinct", "t2", ".", "text", ")", "desc", "limit", "value" ], "question": "Encontre a empresa com o maior número de comentários em abril", "question_toks": [ "Encontre", "a", "empresa", "com", "o", "maior", "número", "de", "comentários", "em", "abril" ], "sql": { "from": { "table_units": [ [ "table_unit", 5 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 26, false ], null ], [ 0, 2, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 31, false ], null ], "\"April\"", null ] ], "groupBy": [ [ 0, 3, false ] ], "having": [], "orderBy": [ "desc", [ [ 0, [ 3, 29, true ], null ] ] ], "limit": 1, "intersect": null, "union": null, "except": null } }, { "db_id": "yelp", "query": "SELECT t1.name FROM category AS t2 JOIN business AS t1 ON t2.business_id = t1.business_id GROUP BY t1.name ORDER BY COUNT ( DISTINCT t2.category_name ) DESC LIMIT 1;", "query_toks": [ "SELECT", "t1.name", "FROM", "category", "AS", "t2", "JOIN", "business", "AS", "t1", "ON", "t2.business_id", "=", "t1.business_id", "GROUP", "BY", "t1.name", "ORDER", "BY", "COUNT", "(", "DISTINCT", "t2.category_name", ")", "DESC", "LIMIT", "1", ";" ], "query_toks_no_value": [ "select", "t1", ".", "name", "from", "category", "as", "t2", "join", "business", "as", "t1", "on", "t2", ".", "business_id", "=", "t1", ".", "business_id", "group", "by", "t1", ".", "name", "order", "by", "count", "(", "distinct", "t2", ".", "category_name", ")", "desc", "limit", "value" ], "question": "Encontre a empresa que possui o maior número de categorias", "question_toks": [ "Encontre", "a", "empresa", "que", "possui", "o", "maior", "número", "de", "categorias" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 13, false ], null ], [ 0, 2, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [], "groupBy": [ [ 0, 3, false ] ], "having": [], "orderBy": [ "desc", [ [ 0, [ 3, 14, true ], null ] ] ], "limit": 1, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT homepage FROM journal WHERE name = \"PVLDB\";", "query_toks": [ "SELECT", "homepage", "FROM", "journal", "WHERE", "name", "=", "``", "PVLDB", "''", ";" ], "query_toks_no_value": [ "select", "homepage", "from", "journal", "where", "name", "=", "value" ], "question": "me devolva a página inicial do PVLDB.", "question_toks": [ "me", "devolva", "a", "página", "inicial", "do", "PVLDB", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 5 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 14, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 16, false ], null ], "\"PVLDB\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT homepage FROM author WHERE name = \"H. V. Jagadish\";", "query_toks": [ "SELECT", "homepage", "FROM", "author", "WHERE", "name", "=", "``", "H.", "V.", "Jagadish", "''", ";" ], "query_toks_no_value": [ "select", "homepage", "from", "author", "where", "name", "=", "value" ], "question": "me devolva a página inicial de \"H. V. Jagadish\".", "question_toks": [ "me", "devolva", "a", "página", "inicial", "de", "\"", "H.", "V.", "Jagadish", "\"", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 2, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], "\"H. V. Jagadish\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT abstract FROM publication WHERE title = \"Making database systems usable\";", "query_toks": [ "SELECT", "abstract", "FROM", "publication", "WHERE", "title", "=", "``", "Making", "database", "systems", "usable", "''", ";" ], "query_toks_no_value": [ "select", "abstract", "from", "publication", "where", "title", "=", "value" ], "question": "retorne-me o resumo de \"Tornando os sistemas de banco de dados utilizáveis\".", "question_toks": [ "retorne-me", "o", "resumo", "de", "\"", "Tornando", "os", "sistemas", "de", "banco", "de", "dados", "utilizáveis", "\"", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 23, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 29, false ], null ], "\"Making database systems usable\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT YEAR FROM publication WHERE title = \"Making database systems usable\";", "query_toks": [ "SELECT", "YEAR", "FROM", "publication", "WHERE", "title", "=", "``", "Making", "database", "systems", "usable", "''", ";" ], "query_toks_no_value": [ "select", "year", "from", "publication", "where", "title", "=", "value" ], "question": "retorne-me o ano de \"Tornando os sistemas de banco de dados utilizáveis\"", "question_toks": [ "retorne-me", "o", "ano", "de", "\"", "Tornando", "os", "sistemas", "de", "banco", "de", "dados", "utilizáveis", "\"" ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 30, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 29, false ], null ], "\"Making database systems usable\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT YEAR FROM publication WHERE title = \"Making database systems usable\";", "query_toks": [ "SELECT", "YEAR", "FROM", "publication", "WHERE", "title", "=", "``", "Making", "database", "systems", "usable", "''", ";" ], "query_toks_no_value": [ "select", "year", "from", "publication", "where", "title", "=", "value" ], "question": "retorne-me o ano de \"Tornando os sistemas de banco de dados utilizáveis\".", "question_toks": [ "retorne-me", "o", "ano", "de", "\"", "Tornando", "os", "sistemas", "de", "banco", "de", "dados", "utilizáveis", "\"", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 30, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 29, false ], null ], "\"Making database systems usable\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT title FROM publication WHERE YEAR > 2000;", "query_toks": [ "SELECT", "title", "FROM", "publication", "WHERE", "YEAR", ">", "2000", ";" ], "query_toks_no_value": [ "select", "title", "from", "publication", "where", "year", ">", "value" ], "question": "me devolva os papéis depois de 2000.", "question_toks": [ "me", "devolva", "os", "papéis", "depois", "de", "2000", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 29, false ], null ] ] ] ], "where": [ [ false, 3, [ 0, [ 0, 30, false ], null ], 2000.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT homepage FROM conference WHERE name = \"VLDB\";", "query_toks": [ "SELECT", "homepage", "FROM", "conference", "WHERE", "name", "=", "``", "VLDB", "''", ";" ], "query_toks_no_value": [ "select", "homepage", "from", "conference", "where", "name", "=", "value" ], "question": "me devolva a página inicial da conferência VLDB.", "question_toks": [ "me", "devolva", "a", "página", "inicial", "da", "conferência", "VLDB", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 6, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 7, false ], null ], "\"VLDB\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT keyword FROM keyword;", "query_toks": [ "SELECT", "keyword", "FROM", "keyword", ";" ], "query_toks_no_value": [ "select", "keyword", "from", "keyword" ], "question": "me devolva todas as palavras-chave.", "question_toks": [ "me", "devolva", "todas", "as", "palavras-chave", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 7 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 19, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT name FROM organization;", "query_toks": [ "SELECT", "name", "FROM", "organization", ";" ], "query_toks_no_value": [ "select", "name", "from", "organization" ], "question": "me devolva todas as organizações.", "question_toks": [ "me", "devolva", "todas", "as", "organizações", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 11 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 35, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT name FROM organization WHERE continent = \"North America\";", "query_toks": [ "SELECT", "name", "FROM", "organization", "WHERE", "continent", "=", "``", "North", "America", "''", ";" ], "query_toks_no_value": [ "select", "name", "from", "organization", "where", "continent", "=", "value" ], "question": "me devolva todas as organizações na \"América do Norte\".", "question_toks": [ "me", "devolva", "todas", "as", "organizações", "na", "\"", "América", "do", "Norte", "\"", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 11 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 35, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 33, false ], null ], "\"North America\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT homepage FROM organization WHERE name = \"University of Michigan\";", "query_toks": [ "SELECT", "homepage", "FROM", "organization", "WHERE", "name", "=", "``", "University", "of", "Michigan", "''", ";" ], "query_toks_no_value": [ "select", "homepage", "from", "organization", "where", "name", "=", "value" ], "question": "me devolva a página inicial da \"University of Michigan\".", "question_toks": [ "me", "devolva", "a", "página", "inicial", "da", "\"", "University", "of", "Michigan", "\"", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 11 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 34, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 35, false ], null ], "\"University of Michigan\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT reference_num FROM publication WHERE title = \"Making database systems usable\";", "query_toks": [ "SELECT", "reference_num", "FROM", "publication", "WHERE", "title", "=", "``", "Making", "database", "systems", "usable", "''", ";" ], "query_toks_no_value": [ "select", "reference_num", "from", "publication", "where", "title", "=", "value" ], "question": "retorne-me o número de referências de \"Tornando os sistemas de banco de dados utilizáveis\".", "question_toks": [ "retorne-me", "o", "número", "de", "referências", "de", "\"", "Tornando", "os", "sistemas", "de", "banco", "de", "dados", "utilizáveis", "\"", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 28, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 29, false ], null ], "\"Making database systems usable\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT reference_num FROM publication WHERE title = \"Making database systems usable\";", "query_toks": [ "SELECT", "reference_num", "FROM", "publication", "WHERE", "title", "=", "``", "Making", "database", "systems", "usable", "''", ";" ], "query_toks_no_value": [ "select", "reference_num", "from", "publication", "where", "title", "=", "value" ], "question": "retorne-me as referências de \"Tornando os sistemas de banco de dados utilizáveis\".", "question_toks": [ "retorne-me", "as", "referências", "de", "\"", "Tornando", "os", "sistemas", "de", "banco", "de", "dados", "utilizáveis", "\"", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 28, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 29, false ], null ], "\"Making database systems usable\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT citation_num FROM publication WHERE title = \"Making database systems usable\";", "query_toks": [ "SELECT", "citation_num", "FROM", "publication", "WHERE", "title", "=", "``", "Making", "database", "systems", "usable", "''", ";" ], "query_toks_no_value": [ "select", "citation_num", "from", "publication", "where", "title", "=", "value" ], "question": "retorne-me o número de citações de \"Tornando os sistemas de banco de dados utilizáveis\".", "question_toks": [ "retorne-me", "o", "número", "de", "citações", "de", "\"", "Tornando", "os", "sistemas", "de", "banco", "de", "dados", "utilizáveis", "\"", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 25, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 29, false ], null ], "\"Making database systems usable\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT citation_num FROM publication WHERE title = \"Making database systems usable\";", "query_toks": [ "SELECT", "citation_num", "FROM", "publication", "WHERE", "title", "=", "``", "Making", "database", "systems", "usable", "''", ";" ], "query_toks_no_value": [ "select", "citation_num", "from", "publication", "where", "title", "=", "value" ], "question": "retorne-me as citações de \"Tornando os sistemas de banco de dados utilizáveis\".", "question_toks": [ "retorne-me", "as", "citações", "de", "\"", "Tornando", "os", "sistemas", "de", "banco", "de", "dados", "utilizáveis", "\"", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 25, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 29, false ], null ], "\"Making database systems usable\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT title FROM publication WHERE citation_num > 200;", "query_toks": [ "SELECT", "title", "FROM", "publication", "WHERE", "citation_num", ">", "200", ";" ], "query_toks_no_value": [ "select", "title", "from", "publication", "where", "citation_num", ">", "value" ], "question": "me devolva o artigo com mais de 200 citações.", "question_toks": [ "me", "devolva", "o", "artigo", "com", "mais", "de", "200", "citações", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 29, false ], null ] ] ] ], "where": [ [ false, 3, [ 0, [ 0, 25, false ], null ], 200.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT t1.name FROM publication AS t4 JOIN journal AS t2 ON t4.jid = t2.jid JOIN writes AS t3 ON t3.pid = t4.pid JOIN author AS t1 ON t3.aid = t1.aid WHERE t2.name = \"PVLDB\" AND t4.year = 2010;", "query_toks": [ "SELECT", "t1.name", "FROM", "publication", "AS", "t4", "JOIN", "journal", "AS", "t2", "ON", "t4.jid", "=", "t2.jid", "JOIN", "writes", "AS", "t3", "ON", "t3.pid", "=", "t4.pid", "JOIN", "author", "AS", "t1", "ON", "t3.aid", "=", "t1.aid", "WHERE", "t2.name", "=", "``", "PVLDB", "''", "AND", "t4.year", "=", "2010", ";" ], "query_toks_no_value": [ "select", "t1", ".", "name", "from", "publication", "as", "t4", "join", "journal", "as", "t2", "on", "t4", ".", "jid", "=", "t2", ".", "jid", "join", "writes", "as", "t3", "on", "t3", ".", "pid", "=", "t4", ".", "pid", "join", "author", "as", "t1", "on", "t3", ".", "aid", "=", "t1", ".", "aid", "where", "t2", ".", "name", "=", "value", "and", "t4", ".", "year", "=", "value" ], "question": "me devolva os autores que têm artigos no PVLDB 2010.", "question_toks": [ "me", "devolva", "os", "autores", "que", "têm", "artigos", "no", "PVLDB", "2010", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 5 ], [ "table_unit", 13 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 26, false ], null ], [ 0, 15, false ], null ], "and", [ false, 2, [ 0, [ 0, 40, false ], null ], [ 0, 27, false ], null ], "and", [ false, 2, [ 0, [ 0, 39, false ], null ], [ 0, 1, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 16, false ], null ], "\"PVLDB\"", null ], "and", [ false, 2, [ 0, [ 0, 30, false ], null ], 2010.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT t1.name FROM publication AS t4 JOIN journal AS t2 ON t4.jid = t2.jid JOIN writes AS t3 ON t3.pid = t4.pid JOIN author AS t1 ON t3.aid = t1.aid WHERE t2.name = \"PVLDB\" AND t4.year > 2010;", "query_toks": [ "SELECT", "t1.name", "FROM", "publication", "AS", "t4", "JOIN", "journal", "AS", "t2", "ON", "t4.jid", "=", "t2.jid", "JOIN", "writes", "AS", "t3", "ON", "t3.pid", "=", "t4.pid", "JOIN", "author", "AS", "t1", "ON", "t3.aid", "=", "t1.aid", "WHERE", "t2.name", "=", "``", "PVLDB", "''", "AND", "t4.year", ">", "2010", ";" ], "query_toks_no_value": [ "select", "t1", ".", "name", "from", "publication", "as", "t4", "join", "journal", "as", "t2", "on", "t4", ".", "jid", "=", "t2", ".", "jid", "join", "writes", "as", "t3", "on", "t3", ".", "pid", "=", "t4", ".", "pid", "join", "author", "as", "t1", "on", "t3", ".", "aid", "=", "t1", ".", "aid", "where", "t2", ".", "name", "=", "value", "and", "t4", ".", "year", ">", "value" ], "question": "me devolva os autores que têm artigos no PVLDB após 2010.", "question_toks": [ "me", "devolva", "os", "autores", "que", "têm", "artigos", "no", "PVLDB", "após", "2010", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 5 ], [ "table_unit", 13 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 26, false ], null ], [ 0, 15, false ], null ], "and", [ false, 2, [ 0, [ 0, 40, false ], null ], [ 0, 27, false ], null ], "and", [ false, 2, [ 0, [ 0, 39, false ], null ], [ 0, 1, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 16, false ], null ], "\"PVLDB\"", null ], "and", [ false, 3, [ 0, [ 0, 30, false ], null ], 2010.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT t1.name FROM publication AS t4 JOIN conference AS t2 ON t4.cid = t2.cid JOIN writes AS t3 ON t3.pid = t4.pid JOIN author AS t1 ON t3.aid = t1.aid WHERE t2.name = \"VLDB\" AND t4.year = 2002;", "query_toks": [ "SELECT", "t1.name", "FROM", "publication", "AS", "t4", "JOIN", "conference", "AS", "t2", "ON", "t4.cid", "=", "t2.cid", "JOIN", "writes", "AS", "t3", "ON", "t3.pid", "=", "t4.pid", "JOIN", "author", "AS", "t1", "ON", "t3.aid", "=", "t1.aid", "WHERE", "t2.name", "=", "``", "VLDB", "''", "AND", "t4.year", "=", "2002", ";" ], "query_toks_no_value": [ "select", "t1", ".", "name", "from", "publication", "as", "t4", "join", "conference", "as", "t2", "on", "t4", ".", "cid", "=", "t2", ".", "cid", "join", "writes", "as", "t3", "on", "t3", ".", "pid", "=", "t4", ".", "pid", "join", "author", "as", "t1", "on", "t3", ".", "aid", "=", "t1", ".", "aid", "where", "t2", ".", "name", "=", "value", "and", "t4", ".", "year", "=", "value" ], "question": "me devolva os autores que têm artigos na conferência VLDB em 2002.", "question_toks": [ "me", "devolva", "os", "autores", "que", "têm", "artigos", "na", "conferência", "VLDB", "em", "2002", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ], [ "table_unit", 13 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 5, false ], null ], "and", [ false, 2, [ 0, [ 0, 40, false ], null ], [ 0, 27, false ], null ], "and", [ false, 2, [ 0, [ 0, 39, false ], null ], [ 0, 1, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 7, false ], null ], "\"VLDB\"", null ], "and", [ false, 2, [ 0, [ 0, 30, false ], null ], 2002.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT t1.name FROM publication AS t4 JOIN conference AS t2 ON t4.cid = t2.cid JOIN writes AS t3 ON t3.pid = t4.pid JOIN author AS t1 ON t3.aid = t1.aid WHERE t2.name = \"VLDB\" AND t4.year < 2002;", "query_toks": [ "SELECT", "t1.name", "FROM", "publication", "AS", "t4", "JOIN", "conference", "AS", "t2", "ON", "t4.cid", "=", "t2.cid", "JOIN", "writes", "AS", "t3", "ON", "t3.pid", "=", "t4.pid", "JOIN", "author", "AS", "t1", "ON", "t3.aid", "=", "t1.aid", "WHERE", "t2.name", "=", "``", "VLDB", "''", "AND", "t4.year", "<", "2002", ";" ], "query_toks_no_value": [ "select", "t1", ".", "name", "from", "publication", "as", "t4", "join", "conference", "as", "t2", "on", "t4", ".", "cid", "=", "t2", ".", "cid", "join", "writes", "as", "t3", "on", "t3", ".", "pid", "=", "t4", ".", "pid", "join", "author", "as", "t1", "on", "t3", ".", "aid", "=", "t1", ".", "aid", "where", "t2", ".", "name", "=", "value", "and", "t4", ".", "year", "<", "value" ], "question": "me devolva os autores que têm artigos na conferência VLDB antes de 2002.", "question_toks": [ "me", "devolva", "os", "autores", "que", "têm", "artigos", "na", "conferência", "VLDB", "antes", "de", "2002", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ], [ "table_unit", 13 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 5, false ], null ], "and", [ false, 2, [ 0, [ 0, 40, false ], null ], [ 0, 27, false ], null ], "and", [ false, 2, [ 0, [ 0, 39, false ], null ], [ 0, 1, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 7, false ], null ], "\"VLDB\"", null ], "and", [ false, 4, [ 0, [ 0, 30, false ], null ], 2002.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT t1.name FROM publication AS t4 JOIN conference AS t2 ON t4.cid = t2.cid JOIN writes AS t3 ON t3.pid = t4.pid JOIN author AS t1 ON t3.aid = t1.aid WHERE t2.name = \"VLDB\" AND t4.year < 2002 AND t4.year > 1995;", "query_toks": [ "SELECT", "t1.name", "FROM", "publication", "AS", "t4", "JOIN", "conference", "AS", "t2", "ON", "t4.cid", "=", "t2.cid", "JOIN", "writes", "AS", "t3", "ON", "t3.pid", "=", "t4.pid", "JOIN", "author", "AS", "t1", "ON", "t3.aid", "=", "t1.aid", "WHERE", "t2.name", "=", "``", "VLDB", "''", "AND", "t4.year", "<", "2002", "AND", "t4.year", ">", "1995", ";" ], "query_toks_no_value": [ "select", "t1", ".", "name", "from", "publication", "as", "t4", "join", "conference", "as", "t2", "on", "t4", ".", "cid", "=", "t2", ".", "cid", "join", "writes", "as", "t3", "on", "t3", ".", "pid", "=", "t4", ".", "pid", "join", "author", "as", "t1", "on", "t3", ".", "aid", "=", "t1", ".", "aid", "where", "t2", ".", "name", "=", "value", "and", "t4", ".", "year", "<", "value", "and", "t4", ".", "year", ">", "value" ], "question": "me devolva os autores que têm artigos na conferência VLDB antes de 2002 após 1995.", "question_toks": [ "me", "devolva", "os", "autores", "que", "têm", "artigos", "na", "conferência", "VLDB", "antes", "de", "2002", "após", "1995", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ], [ "table_unit", 13 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 5, false ], null ], "and", [ false, 2, [ 0, [ 0, 40, false ], null ], [ 0, 27, false ], null ], "and", [ false, 2, [ 0, [ 0, 39, false ], null ], [ 0, 1, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 7, false ], null ], "\"VLDB\"", null ], "and", [ false, 4, [ 0, [ 0, 30, false ], null ], 2002.0, null ], "and", [ false, 3, [ 0, [ 0, 30, false ], null ], 1995.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT t3.name FROM DOMAIN AS t3 JOIN domain_journal AS t1 ON t3.did = t1.did JOIN journal AS t2 ON t2.jid = t1.jid WHERE t2.name = \"PVLDB\";", "query_toks": [ "SELECT", "t3.name", "FROM", "DOMAIN", "AS", "t3", "JOIN", "domain_journal", "AS", "t1", "ON", "t3.did", "=", "t1.did", "JOIN", "journal", "AS", "t2", "ON", "t2.jid", "=", "t1.jid", "WHERE", "t2.name", "=", "``", "PVLDB", "''", ";" ], "query_toks_no_value": [ "select", "t3", ".", "name", "from", "domain", "as", "t3", "join", "domain_journal", "as", "t1", "on", "t3", ".", "did", "=", "t1", ".", "did", "join", "journal", "as", "t2", "on", "t2", ".", "jid", "=", "t1", ".", "jid", "where", "t2", ".", "name", "=", "value" ], "question": "me devolva a área de PVLDB.", "question_toks": [ "me", "devolva", "a", "área", "de", "PVLDB", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ], [ "table_unit", 6 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 8, false ], null ], [ 0, 17, false ], null ], "and", [ false, 2, [ 0, [ 0, 15, false ], null ], [ 0, 18, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 9, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 16, false ], null ], "\"PVLDB\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT t1.name FROM publication AS t4 JOIN journal AS t2 ON t4.jid = t2.jid JOIN writes AS t3 ON t3.pid = t4.pid JOIN author AS t1 ON t3.aid = t1.aid WHERE t2.name = \"PVLDB\";", "query_toks": [ "SELECT", "t1.name", "FROM", "publication", "AS", "t4", "JOIN", "journal", "AS", "t2", "ON", "t4.jid", "=", "t2.jid", "JOIN", "writes", "AS", "t3", "ON", "t3.pid", "=", "t4.pid", "JOIN", "author", "AS", "t1", "ON", "t3.aid", "=", "t1.aid", "WHERE", "t2.name", "=", "``", "PVLDB", "''", ";" ], "query_toks_no_value": [ "select", "t1", ".", "name", "from", "publication", "as", "t4", "join", "journal", "as", "t2", "on", "t4", ".", "jid", "=", "t2", ".", "jid", "join", "writes", "as", "t3", "on", "t3", ".", "pid", "=", "t4", ".", "pid", "join", "author", "as", "t1", "on", "t3", ".", "aid", "=", "t1", ".", "aid", "where", "t2", ".", "name", "=", "value" ], "question": "me devolva os autores que possuem artigos no PVLDB.", "question_toks": [ "me", "devolva", "os", "autores", "que", "possuem", "artigos", "no", "PVLDB", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 5 ], [ "table_unit", 13 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 26, false ], null ], [ 0, 15, false ], null ], "and", [ false, 2, [ 0, [ 0, 40, false ], null ], [ 0, 27, false ], null ], "and", [ false, 2, [ 0, [ 0, 39, false ], null ], [ 0, 1, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 16, false ], null ], "\"PVLDB\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT t2.name FROM organization AS t2 JOIN author AS t1 ON t2.oid = t1.oid WHERE t1.name = \"H. V. Jagadish\";", "query_toks": [ "SELECT", "t2.name", "FROM", "organization", "AS", "t2", "JOIN", "author", "AS", "t1", "ON", "t2.oid", "=", "t1.oid", "WHERE", "t1.name", "=", "``", "H.", "V.", "Jagadish", "''", ";" ], "query_toks_no_value": [ "select", "t2", ".", "name", "from", "organization", "as", "t2", "join", "author", "as", "t1", "on", "t2", ".", "oid", "=", "t1", ".", "oid", "where", "t1", ".", "name", "=", "value" ], "question": "retorne-me onde a organização \"H. V. Jagadish\" está.", "question_toks": [ "retorne-me", "onde", "a", "organização", "\"", "H.", "V.", "Jagadish", "\"", "está", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 11 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 36, false ], null ], [ 0, 4, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 35, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], "\"H. V. Jagadish\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT t2.name FROM publication AS t4 JOIN conference AS t2 ON t4.cid = t2.cid JOIN writes AS t3 ON t3.pid = t4.pid JOIN author AS t1 ON t3.aid = t1.aid WHERE t1.name = \"H. V. Jagadish\";", "query_toks": [ "SELECT", "t2.name", "FROM", "publication", "AS", "t4", "JOIN", "conference", "AS", "t2", "ON", "t4.cid", "=", "t2.cid", "JOIN", "writes", "AS", "t3", "ON", "t3.pid", "=", "t4.pid", "JOIN", "author", "AS", "t1", "ON", "t3.aid", "=", "t1.aid", "WHERE", "t1.name", "=", "``", "H.", "V.", "Jagadish", "''", ";" ], "query_toks_no_value": [ "select", "t2", ".", "name", "from", "publication", "as", "t4", "join", "conference", "as", "t2", "on", "t4", ".", "cid", "=", "t2", ".", "cid", "join", "writes", "as", "t3", "on", "t3", ".", "pid", "=", "t4", ".", "pid", "join", "author", "as", "t1", "on", "t3", ".", "aid", "=", "t1", ".", "aid", "where", "t1", ".", "name", "=", "value" ], "question": "devolva-me as conferências, que contêm artigos de \"H. V. Jagadish\".", "question_toks": [ "devolva-me", "as", "conferências", ",", "que", "contêm", "artigos", "de", "\"", "H.", "V.", "Jagadish", "\"", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ], [ "table_unit", 13 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 5, false ], null ], "and", [ false, 2, [ 0, [ 0, 40, false ], null ], [ 0, 27, false ], null ], "and", [ false, 2, [ 0, [ 0, 39, false ], null ], [ 0, 1, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 7, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], "\"H. V. Jagadish\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT t2.name FROM publication AS t4 JOIN journal AS t2 ON t4.jid = t2.jid JOIN writes AS t3 ON t3.pid = t4.pid JOIN author AS t1 ON t3.aid = t1.aid WHERE t1.name = \"H. V. Jagadish\";", "query_toks": [ "SELECT", "t2.name", "FROM", "publication", "AS", "t4", "JOIN", "journal", "AS", "t2", "ON", "t4.jid", "=", "t2.jid", "JOIN", "writes", "AS", "t3", "ON", "t3.pid", "=", "t4.pid", "JOIN", "author", "AS", "t1", "ON", "t3.aid", "=", "t1.aid", "WHERE", "t1.name", "=", "``", "H.", "V.", "Jagadish", "''", ";" ], "query_toks_no_value": [ "select", "t2", ".", "name", "from", "publication", "as", "t4", "join", "journal", "as", "t2", "on", "t4", ".", "jid", "=", "t2", ".", "jid", "join", "writes", "as", "t3", "on", "t3", ".", "pid", "=", "t4", ".", "pid", "join", "author", "as", "t1", "on", "t3", ".", "aid", "=", "t1", ".", "aid", "where", "t1", ".", "name", "=", "value" ], "question": "devolva-me os periódicos, que contêm artigos de \"H. V. Jagadish\".", "question_toks": [ "devolva-me", "os", "periódicos", ",", "que", "contêm", "artigos", "de", "\"", "H.", "V.", "Jagadish", "\"", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 5 ], [ "table_unit", 13 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 26, false ], null ], [ 0, 15, false ], null ], "and", [ false, 2, [ 0, [ 0, 40, false ], null ], [ 0, 27, false ], null ], "and", [ false, 2, [ 0, [ 0, 39, false ], null ], [ 0, 1, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 16, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], "\"H. V. Jagadish\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT t2.name FROM domain_author AS t3 JOIN author AS t1 ON t3.aid = t1.aid JOIN DOMAIN AS t2 ON t2.did = t3.did WHERE t1.name = \"H. V. Jagadish\";", "query_toks": [ "SELECT", "t2.name", "FROM", "domain_author", "AS", "t3", "JOIN", "author", "AS", "t1", "ON", "t3.aid", "=", "t1.aid", "JOIN", "DOMAIN", "AS", "t2", "ON", "t2.did", "=", "t3.did", "WHERE", "t1.name", "=", "``", "H.", "V.", "Jagadish", "''", ";" ], "query_toks_no_value": [ "select", "t2", ".", "name", "from", "domain_author", "as", "t3", "join", "author", "as", "t1", "on", "t3", ".", "aid", "=", "t1", ".", "aid", "join", "domain", "as", "t2", "on", "t2", ".", "did", "=", "t3", ".", "did", "where", "t1", ".", "name", "=", "value" ], "question": "retorne-me o domínio onde \"H. V. Jagadish\" está focado.", "question_toks": [ "retorne-me", "o", "domínio", "onde", "\"", "H.", "V.", "Jagadish", "\"", "está", "focado", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 3 ], [ "table_unit", 0 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 10, false ], null ], [ 0, 1, false ], null ], "and", [ false, 2, [ 0, [ 0, 8, false ], null ], [ 0, 11, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 9, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], "\"H. V. Jagadish\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT t1.name FROM writes AS t2 JOIN author AS t1 ON t2.aid = t1.aid JOIN publication AS t3 ON t2.pid = t3.pid WHERE t3.title = \"Making database systems usable\";", "query_toks": [ "SELECT", "t1.name", "FROM", "writes", "AS", "t2", "JOIN", "author", "AS", "t1", "ON", "t2.aid", "=", "t1.aid", "JOIN", "publication", "AS", "t3", "ON", "t2.pid", "=", "t3.pid", "WHERE", "t3.title", "=", "``", "Making", "database", "systems", "usable", "''", ";" ], "query_toks_no_value": [ "select", "t1", ".", "name", "from", "writes", "as", "t2", "join", "author", "as", "t1", "on", "t2", ".", "aid", "=", "t1", ".", "aid", "join", "publication", "as", "t3", "on", "t2", ".", "pid", "=", "t3", ".", "pid", "where", "t3", ".", "title", "=", "value" ], "question": "retorne-me os autores de \"Tornando utilizáveis os sistemas de banco de dados\".", "question_toks": [ "retorne-me", "os", "autores", "de", "\"", "Tornando", "utilizáveis", "os", "sistemas", "de", "banco", "de", "dados", "\"", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 13 ], [ "table_unit", 0 ], [ "table_unit", 9 ] ], "conds": [ [ false, 2, [ 0, [ 0, 39, false ], null ], [ 0, 1, false ], null ], "and", [ false, 2, [ 0, [ 0, 40, false ], null ], [ 0, 27, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 29, false ], null ], "\"Making database systems usable\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT t1.name FROM publication AS t2 JOIN conference AS t1 ON t2.cid = t1.cid WHERE t2.title = \"Making database systems usable\";", "query_toks": [ "SELECT", "t1.name", "FROM", "publication", "AS", "t2", "JOIN", "conference", "AS", "t1", "ON", "t2.cid", "=", "t1.cid", "WHERE", "t2.title", "=", "``", "Making", "database", "systems", "usable", "''", ";" ], "query_toks_no_value": [ "select", "t1", ".", "name", "from", "publication", "as", "t2", "join", "conference", "as", "t1", "on", "t2", ".", "cid", "=", "t1", ".", "cid", "where", "t2", ".", "title", "=", "value" ], "question": "retorne-me a conferência, que publicou \"Tornando os sistemas de banco de dados utilizáveis\".", "question_toks": [ "retorne-me", "a", "conferência", ",", "que", "publicou", "\"", "Tornando", "os", "sistemas", "de", "banco", "de", "dados", "utilizáveis", "\"", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 5, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 7, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 29, false ], null ], "\"Making database systems usable\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT t3.title FROM writes AS t2 JOIN author AS t1 ON t2.aid = t1.aid JOIN publication AS t3 ON t2.pid = t3.pid WHERE t1.name = \"H. V. Jagadish\";", "query_toks": [ "SELECT", "t3.title", "FROM", "writes", "AS", "t2", "JOIN", "author", "AS", "t1", "ON", "t2.aid", "=", "t1.aid", "JOIN", "publication", "AS", "t3", "ON", "t2.pid", "=", "t3.pid", "WHERE", "t1.name", "=", "``", "H.", "V.", "Jagadish", "''", ";" ], "query_toks_no_value": [ "select", "t3", ".", "title", "from", "writes", "as", "t2", "join", "author", "as", "t1", "on", "t2", ".", "aid", "=", "t1", ".", "aid", "join", "publication", "as", "t3", "on", "t2", ".", "pid", "=", "t3", ".", "pid", "where", "t1", ".", "name", "=", "value" ], "question": "devolva-me os papéis de \"H. V. Jagadish\".", "question_toks": [ "devolva-me", "os", "papéis", "de", "\"", "H.", "V.", "Jagadish", "\"", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 13 ], [ "table_unit", 0 ], [ "table_unit", 9 ] ], "conds": [ [ false, 2, [ 0, [ 0, 39, false ], null ], [ 0, 1, false ], null ], "and", [ false, 2, [ 0, [ 0, 40, false ], null ], [ 0, 27, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 29, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], "\"H. V. Jagadish\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT t2.title FROM publication AS t2 JOIN conference AS t1 ON t2.cid = t1.cid WHERE t1.name = \"VLDB\";", "query_toks": [ "SELECT", "t2.title", "FROM", "publication", "AS", "t2", "JOIN", "conference", "AS", "t1", "ON", "t2.cid", "=", "t1.cid", "WHERE", "t1.name", "=", "``", "VLDB", "''", ";" ], "query_toks_no_value": [ "select", "t2", ".", "title", "from", "publication", "as", "t2", "join", "conference", "as", "t1", "on", "t2", ".", "cid", "=", "t1", ".", "cid", "where", "t1", ".", "name", "=", "value" ], "question": "me devolva os artigos sobre a conferência VLDB.", "question_toks": [ "me", "devolva", "os", "artigos", "sobre", "a", "conferência", "VLDB", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 5, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 29, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 7, false ], null ], "\"VLDB\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT t2.title FROM publication AS t2 JOIN journal AS t1 ON t2.jid = t1.jid WHERE t1.name = \"PVLDB\";", "query_toks": [ "SELECT", "t2.title", "FROM", "publication", "AS", "t2", "JOIN", "journal", "AS", "t1", "ON", "t2.jid", "=", "t1.jid", "WHERE", "t1.name", "=", "``", "PVLDB", "''", ";" ], "query_toks_no_value": [ "select", "t2", ".", "title", "from", "publication", "as", "t2", "join", "journal", "as", "t1", "on", "t2", ".", "jid", "=", "t1", ".", "jid", "where", "t1", ".", "name", "=", "value" ], "question": "me devolva os papéis sobre PVLDB.", "question_toks": [ "me", "devolva", "os", "papéis", "sobre", "PVLDB", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 26, false ], null ], [ 0, 15, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 29, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 16, false ], null ], "\"PVLDB\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT t2.title FROM publication AS t2 JOIN journal AS t1 ON t2.jid = t1.jid WHERE t1.name = \"PVLDB\" AND t2.year > 2000;", "query_toks": [ "SELECT", "t2.title", "FROM", "publication", "AS", "t2", "JOIN", "journal", "AS", "t1", "ON", "t2.jid", "=", "t1.jid", "WHERE", "t1.name", "=", "``", "PVLDB", "''", "AND", "t2.year", ">", "2000", ";" ], "query_toks_no_value": [ "select", "t2", ".", "title", "from", "publication", "as", "t2", "join", "journal", "as", "t1", "on", "t2", ".", "jid", "=", "t1", ".", "jid", "where", "t1", ".", "name", "=", "value", "and", "t2", ".", "year", ">", "value" ], "question": "me devolva os artigos sobre PVLDB após 2000.", "question_toks": [ "me", "devolva", "os", "artigos", "sobre", "PVLDB", "após", "2000", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 26, false ], null ], [ 0, 15, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 29, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 16, false ], null ], "\"PVLDB\"", null ], "and", [ false, 3, [ 0, [ 0, 30, false ], null ], 2000.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT t2.title FROM publication AS t2 JOIN conference AS t1 ON t2.cid = t1.cid WHERE t1.name = \"VLDB\" AND t2.year > 2000;", "query_toks": [ "SELECT", "t2.title", "FROM", "publication", "AS", "t2", "JOIN", "conference", "AS", "t1", "ON", "t2.cid", "=", "t1.cid", "WHERE", "t1.name", "=", "``", "VLDB", "''", "AND", "t2.year", ">", "2000", ";" ], "query_toks_no_value": [ "select", "t2", ".", "title", "from", "publication", "as", "t2", "join", "conference", "as", "t1", "on", "t2", ".", "cid", "=", "t1", ".", "cid", "where", "t1", ".", "name", "=", "value", "and", "t2", ".", "year", ">", "value" ], "question": "me devolva os artigos sobre a conferência VLDB após 2000.", "question_toks": [ "me", "devolva", "os", "artigos", "sobre", "a", "conferência", "VLDB", "após", "2000", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 5, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 29, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 7, false ], null ], "\"VLDB\"", null ], "and", [ false, 3, [ 0, [ 0, 30, false ], null ], 2000.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT t4.title FROM publication AS t4 JOIN journal AS t2 ON t4.jid = t2.jid JOIN writes AS t3 ON t3.pid = t4.pid JOIN author AS t1 ON t3.aid = t1.aid WHERE t1.name = \"H. V. Jagadish\" AND t2.name = \"PVLDB\";", "query_toks": [ "SELECT", "t4.title", "FROM", "publication", "AS", "t4", "JOIN", "journal", "AS", "t2", "ON", "t4.jid", "=", "t2.jid", "JOIN", "writes", "AS", "t3", "ON", "t3.pid", "=", "t4.pid", "JOIN", "author", "AS", "t1", "ON", "t3.aid", "=", "t1.aid", "WHERE", "t1.name", "=", "``", "H.", "V.", "Jagadish", "''", "AND", "t2.name", "=", "``", "PVLDB", "''", ";" ], "query_toks_no_value": [ "select", "t4", ".", "title", "from", "publication", "as", "t4", "join", "journal", "as", "t2", "on", "t4", ".", "jid", "=", "t2", ".", "jid", "join", "writes", "as", "t3", "on", "t3", ".", "pid", "=", "t4", ".", "pid", "join", "author", "as", "t1", "on", "t3", ".", "aid", "=", "t1", ".", "aid", "where", "t1", ".", "name", "=", "value", "and", "t2", ".", "name", "=", "value" ], "question": "retorne-me os papéis de \"H. V. Jagadish\" no PVLDB.", "question_toks": [ "retorne-me", "os", "papéis", "de", "\"", "H.", "V.", "Jagadish", "\"", "no", "PVLDB", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 5 ], [ "table_unit", 13 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 26, false ], null ], [ 0, 15, false ], null ], "and", [ false, 2, [ 0, [ 0, 40, false ], null ], [ 0, 27, false ], null ], "and", [ false, 2, [ 0, [ 0, 39, false ], null ], [ 0, 1, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 29, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], "\"H. V. Jagadish\"", null ], "and", [ false, 2, [ 0, [ 0, 16, false ], null ], "\"PVLDB\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT t4.title FROM publication AS t4 JOIN conference AS t2 ON t4.cid = t2.cid JOIN writes AS t3 ON t3.pid = t4.pid JOIN author AS t1 ON t3.aid = t1.aid WHERE t1.name = \"H. V. Jagadish\" AND t2.name = \"VLDB\";", "query_toks": [ "SELECT", "t4.title", "FROM", "publication", "AS", "t4", "JOIN", "conference", "AS", "t2", "ON", "t4.cid", "=", "t2.cid", "JOIN", "writes", "AS", "t3", "ON", "t3.pid", "=", "t4.pid", "JOIN", "author", "AS", "t1", "ON", "t3.aid", "=", "t1.aid", "WHERE", "t1.name", "=", "``", "H.", "V.", "Jagadish", "''", "AND", "t2.name", "=", "``", "VLDB", "''", ";" ], "query_toks_no_value": [ "select", "t4", ".", "title", "from", "publication", "as", "t4", "join", "conference", "as", "t2", "on", "t4", ".", "cid", "=", "t2", ".", "cid", "join", "writes", "as", "t3", "on", "t3", ".", "pid", "=", "t4", ".", "pid", "join", "author", "as", "t1", "on", "t3", ".", "aid", "=", "t1", ".", "aid", "where", "t1", ".", "name", "=", "value", "and", "t2", ".", "name", "=", "value" ], "question": "retorne-me os artigos de \"H. V. Jagadish\" na conferência VLDB.", "question_toks": [ "retorne-me", "os", "artigos", "de", "\"", "H.", "V.", "Jagadish", "\"", "na", "conferência", "VLDB", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ], [ "table_unit", 13 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 5, false ], null ], "and", [ false, 2, [ 0, [ 0, 40, false ], null ], [ 0, 27, false ], null ], "and", [ false, 2, [ 0, [ 0, 39, false ], null ], [ 0, 1, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 29, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], "\"H. V. Jagadish\"", null ], "and", [ false, 2, [ 0, [ 0, 7, false ], null ], "\"VLDB\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT t3.title FROM writes AS t2 JOIN author AS t1 ON t2.aid = t1.aid JOIN publication AS t3 ON t2.pid = t3.pid WHERE t1.name = \"H. V. Jagadish\" AND t3.year > 2000;", "query_toks": [ "SELECT", "t3.title", "FROM", "writes", "AS", "t2", "JOIN", "author", "AS", "t1", "ON", "t2.aid", "=", "t1.aid", "JOIN", "publication", "AS", "t3", "ON", "t2.pid", "=", "t3.pid", "WHERE", "t1.name", "=", "``", "H.", "V.", "Jagadish", "''", "AND", "t3.year", ">", "2000", ";" ], "query_toks_no_value": [ "select", "t3", ".", "title", "from", "writes", "as", "t2", "join", "author", "as", "t1", "on", "t2", ".", "aid", "=", "t1", ".", "aid", "join", "publication", "as", "t3", "on", "t2", ".", "pid", "=", "t3", ".", "pid", "where", "t1", ".", "name", "=", "value", "and", "t3", ".", "year", ">", "value" ], "question": "devolva-me os artigos de \"H. V. Jagadish\" após 2000.", "question_toks": [ "devolva-me", "os", "artigos", "de", "\"", "H.", "V.", "Jagadish", "\"", "após", "2000", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 13 ], [ "table_unit", 0 ], [ "table_unit", 9 ] ], "conds": [ [ false, 2, [ 0, [ 0, 39, false ], null ], [ 0, 1, false ], null ], "and", [ false, 2, [ 0, [ 0, 40, false ], null ], [ 0, 27, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 29, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], "\"H. V. Jagadish\"", null ], "and", [ false, 3, [ 0, [ 0, 30, false ], null ], 2000.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT t4.title FROM publication AS t4 JOIN journal AS t2 ON t4.jid = t2.jid JOIN writes AS t3 ON t3.pid = t4.pid JOIN author AS t1 ON t3.aid = t1.aid WHERE t1.name = \"H. V. Jagadish\" AND t2.name = \"PVLDB\" AND t4.year > 2000;", "query_toks": [ "SELECT", "t4.title", "FROM", "publication", "AS", "t4", "JOIN", "journal", "AS", "t2", "ON", "t4.jid", "=", "t2.jid", "JOIN", "writes", "AS", "t3", "ON", "t3.pid", "=", "t4.pid", "JOIN", "author", "AS", "t1", "ON", "t3.aid", "=", "t1.aid", "WHERE", "t1.name", "=", "``", "H.", "V.", "Jagadish", "''", "AND", "t2.name", "=", "``", "PVLDB", "''", "AND", "t4.year", ">", "2000", ";" ], "query_toks_no_value": [ "select", "t4", ".", "title", "from", "publication", "as", "t4", "join", "journal", "as", "t2", "on", "t4", ".", "jid", "=", "t2", ".", "jid", "join", "writes", "as", "t3", "on", "t3", ".", "pid", "=", "t4", ".", "pid", "join", "author", "as", "t1", "on", "t3", ".", "aid", "=", "t1", ".", "aid", "where", "t1", ".", "name", "=", "value", "and", "t2", ".", "name", "=", "value", "and", "t4", ".", "year", ">", "value" ], "question": "retorne-me os artigos de \"H. V. Jagadish\" no PVLDB após 2000.", "question_toks": [ "retorne-me", "os", "artigos", "de", "\"", "H.", "V.", "Jagadish", "\"", "no", "PVLDB", "após", "2000", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 5 ], [ "table_unit", 13 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 26, false ], null ], [ 0, 15, false ], null ], "and", [ false, 2, [ 0, [ 0, 40, false ], null ], [ 0, 27, false ], null ], "and", [ false, 2, [ 0, [ 0, 39, false ], null ], [ 0, 1, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 29, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], "\"H. V. Jagadish\"", null ], "and", [ false, 2, [ 0, [ 0, 16, false ], null ], "\"PVLDB\"", null ], "and", [ false, 3, [ 0, [ 0, 30, false ], null ], 2000.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT t4.title FROM publication AS t4 JOIN conference AS t2 ON t4.cid = t2.cid JOIN writes AS t3 ON t3.pid = t4.pid JOIN author AS t1 ON t3.aid = t1.aid WHERE t1.name = \"H. V. Jagadish\" AND t2.name = \"VLDB\" AND t4.year > 2000;", "query_toks": [ "SELECT", "t4.title", "FROM", "publication", "AS", "t4", "JOIN", "conference", "AS", "t2", "ON", "t4.cid", "=", "t2.cid", "JOIN", "writes", "AS", "t3", "ON", "t3.pid", "=", "t4.pid", "JOIN", "author", "AS", "t1", "ON", "t3.aid", "=", "t1.aid", "WHERE", "t1.name", "=", "``", "H.", "V.", "Jagadish", "''", "AND", "t2.name", "=", "``", "VLDB", "''", "AND", "t4.year", ">", "2000", ";" ], "query_toks_no_value": [ "select", "t4", ".", "title", "from", "publication", "as", "t4", "join", "conference", "as", "t2", "on", "t4", ".", "cid", "=", "t2", ".", "cid", "join", "writes", "as", "t3", "on", "t3", ".", "pid", "=", "t4", ".", "pid", "join", "author", "as", "t1", "on", "t3", ".", "aid", "=", "t1", ".", "aid", "where", "t1", ".", "name", "=", "value", "and", "t2", ".", "name", "=", "value", "and", "t4", ".", "year", ">", "value" ], "question": "retorne-me os artigos de \"H. V. Jagadish\" na conferência VLDB após 2000.", "question_toks": [ "retorne-me", "os", "artigos", "de", "\"", "H.", "V.", "Jagadish", "\"", "na", "conferência", "VLDB", "após", "2000", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ], [ "table_unit", 13 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 5, false ], null ], "and", [ false, 2, [ 0, [ 0, 40, false ], null ], [ 0, 27, false ], null ], "and", [ false, 2, [ 0, [ 0, 39, false ], null ], [ 0, 1, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 29, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], "\"H. V. Jagadish\"", null ], "and", [ false, 2, [ 0, [ 0, 7, false ], null ], "\"VLDB\"", null ], "and", [ false, 3, [ 0, [ 0, 30, false ], null ], 2000.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT t2.name FROM domain_conference AS t3 JOIN conference AS t1 ON t3.cid = t1.cid JOIN DOMAIN AS t2 ON t2.did = t3.did WHERE t1.name = \"VLDB\";", "query_toks": [ "SELECT", "t2.name", "FROM", "domain_conference", "AS", "t3", "JOIN", "conference", "AS", "t1", "ON", "t3.cid", "=", "t1.cid", "JOIN", "DOMAIN", "AS", "t2", "ON", "t2.did", "=", "t3.did", "WHERE", "t1.name", "=", "``", "VLDB", "''", ";" ], "query_toks_no_value": [ "select", "t2", ".", "name", "from", "domain_conference", "as", "t3", "join", "conference", "as", "t1", "on", "t3", ".", "cid", "=", "t1", ".", "cid", "join", "domain", "as", "t2", "on", "t2", ".", "did", "=", "t3", ".", "did", "where", "t1", ".", "name", "=", "value" ], "question": "me devolva a área da conferência VLDB.", "question_toks": [ "me", "devolva", "a", "área", "da", "conferência", "VLDB", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 4 ], [ "table_unit", 1 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 12, false ], null ], [ 0, 5, false ], null ], "and", [ false, 2, [ 0, [ 0, 8, false ], null ], [ 0, 13, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 9, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 7, false ], null ], "\"VLDB\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT t1.name FROM publication AS t4 JOIN conference AS t2 ON t4.cid = t2.cid JOIN writes AS t3 ON t3.pid = t4.pid JOIN author AS t1 ON t3.aid = t1.aid WHERE t2.name = \"VLDB\";", "query_toks": [ "SELECT", "t1.name", "FROM", "publication", "AS", "t4", "JOIN", "conference", "AS", "t2", "ON", "t4.cid", "=", "t2.cid", "JOIN", "writes", "AS", "t3", "ON", "t3.pid", "=", "t4.pid", "JOIN", "author", "AS", "t1", "ON", "t3.aid", "=", "t1.aid", "WHERE", "t2.name", "=", "``", "VLDB", "''", ";" ], "query_toks_no_value": [ "select", "t1", ".", "name", "from", "publication", "as", "t4", "join", "conference", "as", "t2", "on", "t4", ".", "cid", "=", "t2", ".", "cid", "join", "writes", "as", "t3", "on", "t3", ".", "pid", "=", "t4", ".", "pid", "join", "author", "as", "t1", "on", "t3", ".", "aid", "=", "t1", ".", "aid", "where", "t2", ".", "name", "=", "value" ], "question": "me devolva os autores que têm artigos na conferência VLDB.", "question_toks": [ "me", "devolva", "os", "autores", "que", "têm", "artigos", "na", "conferência", "VLDB", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ], [ "table_unit", 13 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 5, false ], null ], "and", [ false, 2, [ 0, [ 0, 40, false ], null ], [ 0, 27, false ], null ], "and", [ false, 2, [ 0, [ 0, 39, false ], null ], [ 0, 1, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 7, false ], null ], "\"VLDB\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT t1.keyword FROM DOMAIN AS t3 JOIN domain_keyword AS t2 ON t3.did = t2.did JOIN keyword AS t1 ON t1.kid = t2.kid WHERE t3.name = \"Databases\";", "query_toks": [ "SELECT", "t1.keyword", "FROM", "DOMAIN", "AS", "t3", "JOIN", "domain_keyword", "AS", "t2", "ON", "t3.did", "=", "t2.did", "JOIN", "keyword", "AS", "t1", "ON", "t1.kid", "=", "t2.kid", "WHERE", "t3.name", "=", "``", "Databases", "''", ";" ], "query_toks_no_value": [ "select", "t1", ".", "keyword", "from", "domain", "as", "t3", "join", "domain_keyword", "as", "t2", "on", "t3", ".", "did", "=", "t2", ".", "did", "join", "keyword", "as", "t1", "on", "t1", ".", "kid", "=", "t2", ".", "kid", "where", "t3", ".", "name", "=", "value" ], "question": "retorne-me todas as palavras-chave na área Bancos de dados.", "question_toks": [ "retorne-me", "todas", "as", "palavras-chave", "na", "área", "Bancos", "de", "dados", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ], [ "table_unit", 8 ], [ "table_unit", 7 ] ], "conds": [ [ false, 2, [ 0, [ 0, 8, false ], null ], [ 0, 21, false ], null ], "and", [ false, 2, [ 0, [ 0, 20, false ], null ], [ 0, 22, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 19, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 9, false ], null ], "\"Databases\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT t3.title FROM publication_keyword AS t2 JOIN keyword AS t1 ON t2.kid = t1.kid JOIN publication AS t3 ON t3.pid = t2.pid WHERE t1.keyword = \"Natural Language\";", "query_toks": [ "SELECT", "t3.title", "FROM", "publication_keyword", "AS", "t2", "JOIN", "keyword", "AS", "t1", "ON", "t2.kid", "=", "t1.kid", "JOIN", "publication", "AS", "t3", "ON", "t3.pid", "=", "t2.pid", "WHERE", "t1.keyword", "=", "``", "Natural", "Language", "''", ";" ], "query_toks_no_value": [ "select", "t3", ".", "title", "from", "publication_keyword", "as", "t2", "join", "keyword", "as", "t1", "on", "t2", ".", "kid", "=", "t1", ".", "kid", "join", "publication", "as", "t3", "on", "t3", ".", "pid", "=", "t2", ".", "pid", "where", "t1", ".", "keyword", "=", "value" ], "question": "devolva-me todos os artigos que contenham a palavra-chave \"Linguagem Natural\".", "question_toks": [ "devolva-me", "todos", "os", "artigos", "que", "contenham", "a", "palavra-chave", "\"", "Linguagem", "Natural", "\"", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 12 ], [ "table_unit", 7 ], [ "table_unit", 9 ] ], "conds": [ [ false, 2, [ 0, [ 0, 38, false ], null ], [ 0, 20, false ], null ], "and", [ false, 2, [ 0, [ 0, 27, false ], null ], [ 0, 37, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 29, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 19, false ], null ], "\"Natural Language\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT t1.keyword FROM publication_keyword AS t3 JOIN keyword AS t1 ON t3.kid = t1.kid JOIN publication AS t2 ON t2.pid = t3.pid WHERE t2.title = \"Making database systems usable\";", "query_toks": [ "SELECT", "t1.keyword", "FROM", "publication_keyword", "AS", "t3", "JOIN", "keyword", "AS", "t1", "ON", "t3.kid", "=", "t1.kid", "JOIN", "publication", "AS", "t2", "ON", "t2.pid", "=", "t3.pid", "WHERE", "t2.title", "=", "``", "Making", "database", "systems", "usable", "''", ";" ], "query_toks_no_value": [ "select", "t1", ".", "keyword", "from", "publication_keyword", "as", "t3", "join", "keyword", "as", "t1", "on", "t3", ".", "kid", "=", "t1", ".", "kid", "join", "publication", "as", "t2", "on", "t2", ".", "pid", "=", "t3", ".", "pid", "where", "t2", ".", "title", "=", "value" ], "question": "retorne-me as palavras-chave de \"Tornando os sistemas de banco de dados utilizáveis\".", "question_toks": [ "retorne-me", "as", "palavras-chave", "de", "\"", "Tornando", "os", "sistemas", "de", "banco", "de", "dados", "utilizáveis", "\"", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 12 ], [ "table_unit", 7 ], [ "table_unit", 9 ] ], "conds": [ [ false, 2, [ 0, [ 0, 38, false ], null ], [ 0, 20, false ], null ], "and", [ false, 2, [ 0, [ 0, 27, false ], null ], [ 0, 37, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 19, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 29, false ], null ], "\"Making database systems usable\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT t1.keyword FROM publication_keyword AS t5 JOIN keyword AS t1 ON t5.kid = t1.kid JOIN publication AS t3 ON t3.pid = t5.pid JOIN writes AS t4 ON t4.pid = t3.pid JOIN author AS t2 ON t4.aid = t2.aid WHERE t2.name = \"H. V. Jagadish\";", "query_toks": [ "SELECT", "t1.keyword", "FROM", "publication_keyword", "AS", "t5", "JOIN", "keyword", "AS", "t1", "ON", "t5.kid", "=", "t1.kid", "JOIN", "publication", "AS", "t3", "ON", "t3.pid", "=", "t5.pid", "JOIN", "writes", "AS", "t4", "ON", "t4.pid", "=", "t3.pid", "JOIN", "author", "AS", "t2", "ON", "t4.aid", "=", "t2.aid", "WHERE", "t2.name", "=", "``", "H.", "V.", "Jagadish", "''", ";" ], "query_toks_no_value": [ "select", "t1", ".", "keyword", "from", "publication_keyword", "as", "t5", "join", "keyword", "as", "t1", "on", "t5", ".", "kid", "=", "t1", ".", "kid", "join", "publication", "as", "t3", "on", "t3", ".", "pid", "=", "t5", ".", "pid", "join", "writes", "as", "t4", "on", "t4", ".", "pid", "=", "t3", ".", "pid", "join", "author", "as", "t2", "on", "t4", ".", "aid", "=", "t2", ".", "aid", "where", "t2", ".", "name", "=", "value" ], "question": "retorne-me as palavras-chave relacionadas a \"H. V. Jagadish\".", "question_toks": [ "retorne-me", "as", "palavras-chave", "relacionadas", "a", "\"", "H.", "V.", "Jagadish", "\"", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 12 ], [ "table_unit", 7 ], [ "table_unit", 9 ], [ "table_unit", 13 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 38, false ], null ], [ 0, 20, false ], null ], "and", [ false, 2, [ 0, [ 0, 27, false ], null ], [ 0, 37, false ], null ], "and", [ false, 2, [ 0, [ 0, 40, false ], null ], [ 0, 27, false ], null ], "and", [ false, 2, [ 0, [ 0, 39, false ], null ], [ 0, 1, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 19, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], "\"H. V. Jagadish\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT t1.keyword FROM publication_keyword AS t4 JOIN keyword AS t1 ON t4.kid = t1.kid JOIN publication AS t3 ON t3.pid = t4.pid JOIN conference AS t2 ON t3.cid = t2.cid WHERE t2.name = \"VLDB\";", "query_toks": [ "SELECT", "t1.keyword", "FROM", "publication_keyword", "AS", "t4", "JOIN", "keyword", "AS", "t1", "ON", "t4.kid", "=", "t1.kid", "JOIN", "publication", "AS", "t3", "ON", "t3.pid", "=", "t4.pid", "JOIN", "conference", "AS", "t2", "ON", "t3.cid", "=", "t2.cid", "WHERE", "t2.name", "=", "``", "VLDB", "''", ";" ], "query_toks_no_value": [ "select", "t1", ".", "keyword", "from", "publication_keyword", "as", "t4", "join", "keyword", "as", "t1", "on", "t4", ".", "kid", "=", "t1", ".", "kid", "join", "publication", "as", "t3", "on", "t3", ".", "pid", "=", "t4", ".", "pid", "join", "conference", "as", "t2", "on", "t3", ".", "cid", "=", "t2", ".", "cid", "where", "t2", ".", "name", "=", "value" ], "question": "retorne-me as palavras-chave na conferência VLDB.", "question_toks": [ "retorne-me", "as", "palavras-chave", "na", "conferência", "VLDB", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 12 ], [ "table_unit", 7 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 38, false ], null ], [ 0, 20, false ], null ], "and", [ false, 2, [ 0, [ 0, 27, false ], null ], [ 0, 37, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 5, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 19, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 7, false ], null ], "\"VLDB\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT t1.keyword FROM publication_keyword AS t4 JOIN keyword AS t1 ON t4.kid = t1.kid JOIN publication AS t2 ON t2.pid = t4.pid JOIN journal AS t3 ON t2.jid = t3.jid WHERE t3.name = \"PVLDB\";", "query_toks": [ "SELECT", "t1.keyword", "FROM", "publication_keyword", "AS", "t4", "JOIN", "keyword", "AS", "t1", "ON", "t4.kid", "=", "t1.kid", "JOIN", "publication", "AS", "t2", "ON", "t2.pid", "=", "t4.pid", "JOIN", "journal", "AS", "t3", "ON", "t2.jid", "=", "t3.jid", "WHERE", "t3.name", "=", "``", "PVLDB", "''", ";" ], "query_toks_no_value": [ "select", "t1", ".", "keyword", "from", "publication_keyword", "as", "t4", "join", "keyword", "as", "t1", "on", "t4", ".", "kid", "=", "t1", ".", "kid", "join", "publication", "as", "t2", "on", "t2", ".", "pid", "=", "t4", ".", "pid", "join", "journal", "as", "t3", "on", "t2", ".", "jid", "=", "t3", ".", "jid", "where", "t3", ".", "name", "=", "value" ], "question": "retorne-me as palavras-chave em PVLDB.", "question_toks": [ "retorne-me", "as", "palavras-chave", "em", "PVLDB", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 12 ], [ "table_unit", 7 ], [ "table_unit", 9 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 38, false ], null ], [ 0, 20, false ], null ], "and", [ false, 2, [ 0, [ 0, 27, false ], null ], [ 0, 37, false ], null ], "and", [ false, 2, [ 0, [ 0, 26, false ], null ], [ 0, 15, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 19, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 16, false ], null ], "\"PVLDB\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT t1.keyword FROM organization AS t6 JOIN author AS t2 ON t6.oid = t2.oid JOIN writes AS t4 ON t4.aid = t2.aid JOIN publication AS t5 ON t4.pid = t5.pid JOIN publication_keyword AS t3 ON t5.pid = t3.pid JOIN keyword AS t1 ON t3.kid = t1.kid WHERE t6.name = \"University of Michigan\";", "query_toks": [ "SELECT", "t1.keyword", "FROM", "organization", "AS", "t6", "JOIN", "author", "AS", "t2", "ON", "t6.oid", "=", "t2.oid", "JOIN", "writes", "AS", "t4", "ON", "t4.aid", "=", "t2.aid", "JOIN", "publication", "AS", "t5", "ON", "t4.pid", "=", "t5.pid", "JOIN", "publication_keyword", "AS", "t3", "ON", "t5.pid", "=", "t3.pid", "JOIN", "keyword", "AS", "t1", "ON", "t3.kid", "=", "t1.kid", "WHERE", "t6.name", "=", "``", "University", "of", "Michigan", "''", ";" ], "query_toks_no_value": [ "select", "t1", ".", "keyword", "from", "organization", "as", "t6", "join", "author", "as", "t2", "on", "t6", ".", "oid", "=", "t2", ".", "oid", "join", "writes", "as", "t4", "on", "t4", ".", "aid", "=", "t2", ".", "aid", "join", "publication", "as", "t5", "on", "t4", ".", "pid", "=", "t5", ".", "pid", "join", "publication_keyword", "as", "t3", "on", "t5", ".", "pid", "=", "t3", ".", "pid", "join", "keyword", "as", "t1", "on", "t3", ".", "kid", "=", "t1", ".", "kid", "where", "t6", ".", "name", "=", "value" ], "question": "retorne-me as palavras-chave nos artigos da \"University of Michigan\".", "question_toks": [ "retorne-me", "as", "palavras-chave", "nos", "artigos", "da", "\"", "University", "of", "Michigan", "\"", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 11 ], [ "table_unit", 0 ], [ "table_unit", 13 ], [ "table_unit", 9 ], [ "table_unit", 12 ], [ "table_unit", 7 ] ], "conds": [ [ false, 2, [ 0, [ 0, 36, false ], null ], [ 0, 4, false ], null ], "and", [ false, 2, [ 0, [ 0, 39, false ], null ], [ 0, 1, false ], null ], "and", [ false, 2, [ 0, [ 0, 40, false ], null ], [ 0, 27, false ], null ], "and", [ false, 2, [ 0, [ 0, 27, false ], null ], [ 0, 37, false ], null ], "and", [ false, 2, [ 0, [ 0, 38, false ], null ], [ 0, 20, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 19, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 35, false ], null ], "\"University of Michigan\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT t5.title FROM publication_keyword AS t3 JOIN keyword AS t1 ON t3.kid = t1.kid JOIN publication AS t5 ON t5.pid = t3.pid JOIN writes AS t4 ON t4.pid = t5.pid JOIN author AS t2 ON t4.aid = t2.aid WHERE t2.name = \"H. V. Jagadish\" AND t1.keyword = \"User Study\";", "query_toks": [ "SELECT", "t5.title", "FROM", "publication_keyword", "AS", "t3", "JOIN", "keyword", "AS", "t1", "ON", "t3.kid", "=", "t1.kid", "JOIN", "publication", "AS", "t5", "ON", "t5.pid", "=", "t3.pid", "JOIN", "writes", "AS", "t4", "ON", "t4.pid", "=", "t5.pid", "JOIN", "author", "AS", "t2", "ON", "t4.aid", "=", "t2.aid", "WHERE", "t2.name", "=", "``", "H.", "V.", "Jagadish", "''", "AND", "t1.keyword", "=", "``", "User", "Study", "''", ";" ], "query_toks_no_value": [ "select", "t5", ".", "title", "from", "publication_keyword", "as", "t3", "join", "keyword", "as", "t1", "on", "t3", ".", "kid", "=", "t1", ".", "kid", "join", "publication", "as", "t5", "on", "t5", ".", "pid", "=", "t3", ".", "pid", "join", "writes", "as", "t4", "on", "t4", ".", "pid", "=", "t5", ".", "pid", "join", "author", "as", "t2", "on", "t4", ".", "aid", "=", "t2", ".", "aid", "where", "t2", ".", "name", "=", "value", "and", "t1", ".", "keyword", "=", "value" ], "question": "retorne-me os papéis de \"H. V. Jagadish\" contendo a palavra-chave \"Estudo do usuário\".", "question_toks": [ "retorne-me", "os", "papéis", "de", "\"", "H.", "V.", "Jagadish", "\"", "contendo", "a", "palavra-chave", "\"", "Estudo", "do", "usuário", "\"", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 12 ], [ "table_unit", 7 ], [ "table_unit", 9 ], [ "table_unit", 13 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 38, false ], null ], [ 0, 20, false ], null ], "and", [ false, 2, [ 0, [ 0, 27, false ], null ], [ 0, 37, false ], null ], "and", [ false, 2, [ 0, [ 0, 40, false ], null ], [ 0, 27, false ], null ], "and", [ false, 2, [ 0, [ 0, 39, false ], null ], [ 0, 1, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 29, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], "\"H. V. Jagadish\"", null ], "and", [ false, 2, [ 0, [ 0, 19, false ], null ], "\"User Study\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT t4.title FROM publication_keyword AS t2 JOIN keyword AS t1 ON t2.kid = t1.kid JOIN publication AS t4 ON t4.pid = t2.pid JOIN journal AS t3 ON t4.jid = t3.jid WHERE t3.name = \"PVLDB\" AND t1.keyword = \"Keyword search\";", "query_toks": [ "SELECT", "t4.title", "FROM", "publication_keyword", "AS", "t2", "JOIN", "keyword", "AS", "t1", "ON", "t2.kid", "=", "t1.kid", "JOIN", "publication", "AS", "t4", "ON", "t4.pid", "=", "t2.pid", "JOIN", "journal", "AS", "t3", "ON", "t4.jid", "=", "t3.jid", "WHERE", "t3.name", "=", "``", "PVLDB", "''", "AND", "t1.keyword", "=", "``", "Keyword", "search", "''", ";" ], "query_toks_no_value": [ "select", "t4", ".", "title", "from", "publication_keyword", "as", "t2", "join", "keyword", "as", "t1", "on", "t2", ".", "kid", "=", "t1", ".", "kid", "join", "publication", "as", "t4", "on", "t4", ".", "pid", "=", "t2", ".", "pid", "join", "journal", "as", "t3", "on", "t4", ".", "jid", "=", "t3", ".", "jid", "where", "t3", ".", "name", "=", "value", "and", "t1", ".", "keyword", "=", "value" ], "question": "me devolva os artigos em PVLDB contendo a palavra-chave \"Busca por palavra-chave\".", "question_toks": [ "me", "devolva", "os", "artigos", "em", "PVLDB", "contendo", "a", "palavra-chave", "\"", "Busca", "por", "palavra-chave", "\"", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 12 ], [ "table_unit", 7 ], [ "table_unit", 9 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 38, false ], null ], [ 0, 20, false ], null ], "and", [ false, 2, [ 0, [ 0, 27, false ], null ], [ 0, 37, false ], null ], "and", [ false, 2, [ 0, [ 0, 26, false ], null ], [ 0, 15, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 29, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 16, false ], null ], "\"PVLDB\"", null ], "and", [ false, 2, [ 0, [ 0, 19, false ], null ], "\"Keyword search\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT t4.title FROM publication_keyword AS t3 JOIN keyword AS t1 ON t3.kid = t1.kid JOIN publication AS t4 ON t4.pid = t3.pid JOIN conference AS t2 ON t4.cid = t2.cid WHERE t2.name = \"VLDB\" AND t1.keyword = \"Information Retrieval\";", "query_toks": [ "SELECT", "t4.title", "FROM", "publication_keyword", "AS", "t3", "JOIN", "keyword", "AS", "t1", "ON", "t3.kid", "=", "t1.kid", "JOIN", "publication", "AS", "t4", "ON", "t4.pid", "=", "t3.pid", "JOIN", "conference", "AS", "t2", "ON", "t4.cid", "=", "t2.cid", "WHERE", "t2.name", "=", "``", "VLDB", "''", "AND", "t1.keyword", "=", "``", "Information", "Retrieval", "''", ";" ], "query_toks_no_value": [ "select", "t4", ".", "title", "from", "publication_keyword", "as", "t3", "join", "keyword", "as", "t1", "on", "t3", ".", "kid", "=", "t1", ".", "kid", "join", "publication", "as", "t4", "on", "t4", ".", "pid", "=", "t3", ".", "pid", "join", "conference", "as", "t2", "on", "t4", ".", "cid", "=", "t2", ".", "cid", "where", "t2", ".", "name", "=", "value", "and", "t1", ".", "keyword", "=", "value" ], "question": "retorne-me os artigos da conferência VLDB contendo a palavra-chave \"Recuperação de informações\".", "question_toks": [ "retorne-me", "os", "artigos", "da", "conferência", "VLDB", "contendo", "a", "palavra-chave", "\"", "Recuperação", "de", "informações", "\"", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 12 ], [ "table_unit", 7 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 38, false ], null ], [ 0, 20, false ], null ], "and", [ false, 2, [ 0, [ 0, 27, false ], null ], [ 0, 37, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 5, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 29, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 7, false ], null ], "\"VLDB\"", null ], "and", [ false, 2, [ 0, [ 0, 19, false ], null ], "\"Information Retrieval\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT t2.name FROM publication_keyword AS t5 JOIN keyword AS t1 ON t5.kid = t1.kid JOIN publication AS t3 ON t3.pid = t5.pid JOIN writes AS t4 ON t4.pid = t3.pid JOIN author AS t2 ON t4.aid = t2.aid WHERE t1.keyword = \"Relational Database\";", "query_toks": [ "SELECT", "t2.name", "FROM", "publication_keyword", "AS", "t5", "JOIN", "keyword", "AS", "t1", "ON", "t5.kid", "=", "t1.kid", "JOIN", "publication", "AS", "t3", "ON", "t3.pid", "=", "t5.pid", "JOIN", "writes", "AS", "t4", "ON", "t4.pid", "=", "t3.pid", "JOIN", "author", "AS", "t2", "ON", "t4.aid", "=", "t2.aid", "WHERE", "t1.keyword", "=", "``", "Relational", "Database", "''", ";" ], "query_toks_no_value": [ "select", "t2", ".", "name", "from", "publication_keyword", "as", "t5", "join", "keyword", "as", "t1", "on", "t5", ".", "kid", "=", "t1", ".", "kid", "join", "publication", "as", "t3", "on", "t3", ".", "pid", "=", "t5", ".", "pid", "join", "writes", "as", "t4", "on", "t4", ".", "pid", "=", "t3", ".", "pid", "join", "author", "as", "t2", "on", "t4", ".", "aid", "=", "t2", ".", "aid", "where", "t1", ".", "keyword", "=", "value" ], "question": "retorne-me os autores que possuem artigos contendo a palavra-chave \"Banco de dados relacional\".", "question_toks": [ "retorne-me", "os", "autores", "que", "possuem", "artigos", "contendo", "a", "palavra-chave", "\"", "Banco", "de", "dados", "relacional", "\"", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 12 ], [ "table_unit", 7 ], [ "table_unit", 9 ], [ "table_unit", 13 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 38, false ], null ], [ 0, 20, false ], null ], "and", [ false, 2, [ 0, [ 0, 27, false ], null ], [ 0, 37, false ], null ], "and", [ false, 2, [ 0, [ 0, 40, false ], null ], [ 0, 27, false ], null ], "and", [ false, 2, [ 0, [ 0, 39, false ], null ], [ 0, 1, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 19, false ], null ], "\"Relational Database\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT t2.name FROM domain_author AS t4 JOIN author AS t1 ON t4.aid = t1.aid JOIN DOMAIN AS t3 ON t3.did = t4.did JOIN organization AS t2 ON t2.oid = t1.oid WHERE t3.name = \"Databases\";", "query_toks": [ "SELECT", "t2.name", "FROM", "domain_author", "AS", "t4", "JOIN", "author", "AS", "t1", "ON", "t4.aid", "=", "t1.aid", "JOIN", "DOMAIN", "AS", "t3", "ON", "t3.did", "=", "t4.did", "JOIN", "organization", "AS", "t2", "ON", "t2.oid", "=", "t1.oid", "WHERE", "t3.name", "=", "``", "Databases", "''", ";" ], "query_toks_no_value": [ "select", "t2", ".", "name", "from", "domain_author", "as", "t4", "join", "author", "as", "t1", "on", "t4", ".", "aid", "=", "t1", ".", "aid", "join", "domain", "as", "t3", "on", "t3", ".", "did", "=", "t4", ".", "did", "join", "organization", "as", "t2", "on", "t2", ".", "oid", "=", "t1", ".", "oid", "where", "t3", ".", "name", "=", "value" ], "question": "me devolva todas as organizações na área de Bancos de Dados.", "question_toks": [ "me", "devolva", "todas", "as", "organizações", "na", "área", "de", "Bancos", "de", "Dados", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 3 ], [ "table_unit", 0 ], [ "table_unit", 2 ], [ "table_unit", 11 ] ], "conds": [ [ false, 2, [ 0, [ 0, 10, false ], null ], [ 0, 1, false ], null ], "and", [ false, 2, [ 0, [ 0, 8, false ], null ], [ 0, 11, false ], null ], "and", [ false, 2, [ 0, [ 0, 36, false ], null ], [ 0, 4, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 35, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 9, false ], null ], "\"Databases\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT t2.name FROM domain_author AS t4 JOIN author AS t1 ON t4.aid = t1.aid JOIN DOMAIN AS t3 ON t3.did = t4.did JOIN organization AS t2 ON t2.oid = t1.oid WHERE t3.name = \"Databases\" AND t2.continent = \"North America\";", "query_toks": [ "SELECT", "t2.name", "FROM", "domain_author", "AS", "t4", "JOIN", "author", "AS", "t1", "ON", "t4.aid", "=", "t1.aid", "JOIN", "DOMAIN", "AS", "t3", "ON", "t3.did", "=", "t4.did", "JOIN", "organization", "AS", "t2", "ON", "t2.oid", "=", "t1.oid", "WHERE", "t3.name", "=", "``", "Databases", "''", "AND", "t2.continent", "=", "``", "North", "America", "''", ";" ], "query_toks_no_value": [ "select", "t2", ".", "name", "from", "domain_author", "as", "t4", "join", "author", "as", "t1", "on", "t4", ".", "aid", "=", "t1", ".", "aid", "join", "domain", "as", "t3", "on", "t3", ".", "did", "=", "t4", ".", "did", "join", "organization", "as", "t2", "on", "t2", ".", "oid", "=", "t1", ".", "oid", "where", "t3", ".", "name", "=", "value", "and", "t2", ".", "continent", "=", "value" ], "question": "me devolva todas as organizações na área de Bancos de Dados localizadas na \"América do Norte\".", "question_toks": [ "me", "devolva", "todas", "as", "organizações", "na", "área", "de", "Bancos", "de", "Dados", "localizadas", "na", "\"", "América", "do", "Norte", "\"", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 3 ], [ "table_unit", 0 ], [ "table_unit", 2 ], [ "table_unit", 11 ] ], "conds": [ [ false, 2, [ 0, [ 0, 10, false ], null ], [ 0, 1, false ], null ], "and", [ false, 2, [ 0, [ 0, 8, false ], null ], [ 0, 11, false ], null ], "and", [ false, 2, [ 0, [ 0, 36, false ], null ], [ 0, 4, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 35, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 9, false ], null ], "\"Databases\"", null ], "and", [ false, 2, [ 0, [ 0, 33, false ], null ], "\"North America\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT t1.name FROM organization AS t2 JOIN author AS t1 ON t2.oid = t1.oid WHERE t2.name = \"University of Michigan\";", "query_toks": [ "SELECT", "t1.name", "FROM", "organization", "AS", "t2", "JOIN", "author", "AS", "t1", "ON", "t2.oid", "=", "t1.oid", "WHERE", "t2.name", "=", "``", "University", "of", "Michigan", "''", ";" ], "query_toks_no_value": [ "select", "t1", ".", "name", "from", "organization", "as", "t2", "join", "author", "as", "t1", "on", "t2", ".", "oid", "=", "t1", ".", "oid", "where", "t2", ".", "name", "=", "value" ], "question": "me devolva todos os pesquisadores da \"Universidade de Michigan\".", "question_toks": [ "me", "devolva", "todos", "os", "pesquisadores", "da", "\"", "Universidade", "de", "Michigan", "\"", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 11 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 36, false ], null ], [ 0, 4, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 35, false ], null ], "\"University of Michigan\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT t1.name FROM domain_author AS t4 JOIN author AS t1 ON t4.aid = t1.aid JOIN DOMAIN AS t3 ON t3.did = t4.did JOIN organization AS t2 ON t2.oid = t1.oid WHERE t3.name = \"Databases\" AND t2.name = \"University of Michigan\";", "query_toks": [ "SELECT", "t1.name", "FROM", "domain_author", "AS", "t4", "JOIN", "author", "AS", "t1", "ON", "t4.aid", "=", "t1.aid", "JOIN", "DOMAIN", "AS", "t3", "ON", "t3.did", "=", "t4.did", "JOIN", "organization", "AS", "t2", "ON", "t2.oid", "=", "t1.oid", "WHERE", "t3.name", "=", "``", "Databases", "''", "AND", "t2.name", "=", "``", "University", "of", "Michigan", "''", ";" ], "query_toks_no_value": [ "select", "t1", ".", "name", "from", "domain_author", "as", "t4", "join", "author", "as", "t1", "on", "t4", ".", "aid", "=", "t1", ".", "aid", "join", "domain", "as", "t3", "on", "t3", ".", "did", "=", "t4", ".", "did", "join", "organization", "as", "t2", "on", "t2", ".", "oid", "=", "t1", ".", "oid", "where", "t3", ".", "name", "=", "value", "and", "t2", ".", "name", "=", "value" ], "question": "me devolva todos os pesquisadores da área de Bancos de Dados da \"University of Michigan\".", "question_toks": [ "me", "devolva", "todos", "os", "pesquisadores", "da", "área", "de", "Bancos", "de", "Dados", "da", "\"", "University", "of", "Michigan", "\"", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 3 ], [ "table_unit", 0 ], [ "table_unit", 2 ], [ "table_unit", 11 ] ], "conds": [ [ false, 2, [ 0, [ 0, 10, false ], null ], [ 0, 1, false ], null ], "and", [ false, 2, [ 0, [ 0, 8, false ], null ], [ 0, 11, false ], null ], "and", [ false, 2, [ 0, [ 0, 36, false ], null ], [ 0, 4, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 9, false ], null ], "\"Databases\"", null ], "and", [ false, 2, [ 0, [ 0, 35, false ], null ], "\"University of Michigan\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT t4.title FROM organization AS t2 JOIN author AS t1 ON t2.oid = t1.oid JOIN writes AS t3 ON t3.aid = t1.aid JOIN publication AS t4 ON t3.pid = t4.pid WHERE t2.name = \"University of Michigan\";", "query_toks": [ "SELECT", "t4.title", "FROM", "organization", "AS", "t2", "JOIN", "author", "AS", "t1", "ON", "t2.oid", "=", "t1.oid", "JOIN", "writes", "AS", "t3", "ON", "t3.aid", "=", "t1.aid", "JOIN", "publication", "AS", "t4", "ON", "t3.pid", "=", "t4.pid", "WHERE", "t2.name", "=", "``", "University", "of", "Michigan", "''", ";" ], "query_toks_no_value": [ "select", "t4", ".", "title", "from", "organization", "as", "t2", "join", "author", "as", "t1", "on", "t2", ".", "oid", "=", "t1", ".", "oid", "join", "writes", "as", "t3", "on", "t3", ".", "aid", "=", "t1", ".", "aid", "join", "publication", "as", "t4", "on", "t3", ".", "pid", "=", "t4", ".", "pid", "where", "t2", ".", "name", "=", "value" ], "question": "me devolva todos os papéis da \"Universidade de Michigan\".", "question_toks": [ "me", "devolva", "todos", "os", "papéis", "da", "\"", "Universidade", "de", "Michigan", "\"", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 11 ], [ "table_unit", 0 ], [ "table_unit", 13 ], [ "table_unit", 9 ] ], "conds": [ [ false, 2, [ 0, [ 0, 36, false ], null ], [ 0, 4, false ], null ], "and", [ false, 2, [ 0, [ 0, 39, false ], null ], [ 0, 1, false ], null ], "and", [ false, 2, [ 0, [ 0, 40, false ], null ], [ 0, 27, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 29, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 35, false ], null ], "\"University of Michigan\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT t4.title FROM organization AS t2 JOIN author AS t1 ON t2.oid = t1.oid JOIN writes AS t3 ON t3.aid = t1.aid JOIN publication AS t4 ON t3.pid = t4.pid WHERE t2.name = \"University of Michigan\" AND t4.year > 2000;", "query_toks": [ "SELECT", "t4.title", "FROM", "organization", "AS", "t2", "JOIN", "author", "AS", "t1", "ON", "t2.oid", "=", "t1.oid", "JOIN", "writes", "AS", "t3", "ON", "t3.aid", "=", "t1.aid", "JOIN", "publication", "AS", "t4", "ON", "t3.pid", "=", "t4.pid", "WHERE", "t2.name", "=", "``", "University", "of", "Michigan", "''", "AND", "t4.year", ">", "2000", ";" ], "query_toks_no_value": [ "select", "t4", ".", "title", "from", "organization", "as", "t2", "join", "author", "as", "t1", "on", "t2", ".", "oid", "=", "t1", ".", "oid", "join", "writes", "as", "t3", "on", "t3", ".", "aid", "=", "t1", ".", "aid", "join", "publication", "as", "t4", "on", "t3", ".", "pid", "=", "t4", ".", "pid", "where", "t2", ".", "name", "=", "value", "and", "t4", ".", "year", ">", "value" ], "question": "devolva-me todos os papéis após 2000 na \"Universidade de Michigan\"", "question_toks": [ "devolva-me", "todos", "os", "papéis", "após", "2000", "na", "\"", "Universidade", "de", "Michigan", "\"" ], "sql": { "from": { "table_units": [ [ "table_unit", 11 ], [ "table_unit", 0 ], [ "table_unit", 13 ], [ "table_unit", 9 ] ], "conds": [ [ false, 2, [ 0, [ 0, 36, false ], null ], [ 0, 4, false ], null ], "and", [ false, 2, [ 0, [ 0, 39, false ], null ], [ 0, 1, false ], null ], "and", [ false, 2, [ 0, [ 0, 40, false ], null ], [ 0, 27, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 29, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 35, false ], null ], "\"University of Michigan\"", null ], "and", [ false, 3, [ 0, [ 0, 30, false ], null ], 2000.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT t5.title FROM organization AS t3 JOIN author AS t1 ON t3.oid = t1.oid JOIN writes AS t4 ON t4.aid = t1.aid JOIN publication AS t5 ON t4.pid = t5.pid JOIN conference AS t2 ON t5.cid = t2.cid WHERE t2.name = \"VLDB\" AND t3.name = \"University of Michigan\";", "query_toks": [ "SELECT", "t5.title", "FROM", "organization", "AS", "t3", "JOIN", "author", "AS", "t1", "ON", "t3.oid", "=", "t1.oid", "JOIN", "writes", "AS", "t4", "ON", "t4.aid", "=", "t1.aid", "JOIN", "publication", "AS", "t5", "ON", "t4.pid", "=", "t5.pid", "JOIN", "conference", "AS", "t2", "ON", "t5.cid", "=", "t2.cid", "WHERE", "t2.name", "=", "``", "VLDB", "''", "AND", "t3.name", "=", "``", "University", "of", "Michigan", "''", ";" ], "query_toks_no_value": [ "select", "t5", ".", "title", "from", "organization", "as", "t3", "join", "author", "as", "t1", "on", "t3", ".", "oid", "=", "t1", ".", "oid", "join", "writes", "as", "t4", "on", "t4", ".", "aid", "=", "t1", ".", "aid", "join", "publication", "as", "t5", "on", "t4", ".", "pid", "=", "t5", ".", "pid", "join", "conference", "as", "t2", "on", "t5", ".", "cid", "=", "t2", ".", "cid", "where", "t2", ".", "name", "=", "value", "and", "t3", ".", "name", "=", "value" ], "question": "retorne-me todos os artigos da conferência VLDB na \"University of Michigan\".", "question_toks": [ "retorne-me", "todos", "os", "artigos", "da", "conferência", "VLDB", "na", "\"", "University", "of", "Michigan", "\"", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 11 ], [ "table_unit", 0 ], [ "table_unit", 13 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 36, false ], null ], [ 0, 4, false ], null ], "and", [ false, 2, [ 0, [ 0, 39, false ], null ], [ 0, 1, false ], null ], "and", [ false, 2, [ 0, [ 0, 40, false ], null ], [ 0, 27, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 5, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 29, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 7, false ], null ], "\"VLDB\"", null ], "and", [ false, 2, [ 0, [ 0, 35, false ], null ], "\"University of Michigan\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT t5.title FROM organization AS t2 JOIN author AS t1 ON t2.oid = t1.oid JOIN writes AS t4 ON t4.aid = t1.aid JOIN publication AS t5 ON t4.pid = t5.pid JOIN journal AS t3 ON t5.jid = t3.jid WHERE t3.name = \"PVLDB\" AND t2.name = \"University of Michigan\";", "query_toks": [ "SELECT", "t5.title", "FROM", "organization", "AS", "t2", "JOIN", "author", "AS", "t1", "ON", "t2.oid", "=", "t1.oid", "JOIN", "writes", "AS", "t4", "ON", "t4.aid", "=", "t1.aid", "JOIN", "publication", "AS", "t5", "ON", "t4.pid", "=", "t5.pid", "JOIN", "journal", "AS", "t3", "ON", "t5.jid", "=", "t3.jid", "WHERE", "t3.name", "=", "``", "PVLDB", "''", "AND", "t2.name", "=", "``", "University", "of", "Michigan", "''", ";" ], "query_toks_no_value": [ "select", "t5", ".", "title", "from", "organization", "as", "t2", "join", "author", "as", "t1", "on", "t2", ".", "oid", "=", "t1", ".", "oid", "join", "writes", "as", "t4", "on", "t4", ".", "aid", "=", "t1", ".", "aid", "join", "publication", "as", "t5", "on", "t4", ".", "pid", "=", "t5", ".", "pid", "join", "journal", "as", "t3", "on", "t5", ".", "jid", "=", "t3", ".", "jid", "where", "t3", ".", "name", "=", "value", "and", "t2", ".", "name", "=", "value" ], "question": "me devolva todos os artigos do PVLDB na \"University of Michigan\".", "question_toks": [ "me", "devolva", "todos", "os", "artigos", "do", "PVLDB", "na", "\"", "University", "of", "Michigan", "\"", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 11 ], [ "table_unit", 0 ], [ "table_unit", 13 ], [ "table_unit", 9 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 36, false ], null ], [ 0, 4, false ], null ], "and", [ false, 2, [ 0, [ 0, 39, false ], null ], [ 0, 1, false ], null ], "and", [ false, 2, [ 0, [ 0, 40, false ], null ], [ 0, 27, false ], null ], "and", [ false, 2, [ 0, [ 0, 26, false ], null ], [ 0, 15, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 29, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 16, false ], null ], "\"PVLDB\"", null ], "and", [ false, 2, [ 0, [ 0, 35, false ], null ], "\"University of Michigan\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT t5.title FROM organization AS t2 JOIN author AS t1 ON t2.oid = t1.oid JOIN writes AS t4 ON t4.aid = t1.aid JOIN publication AS t5 ON t4.pid = t5.pid JOIN journal AS t3 ON t5.jid = t3.jid WHERE t3.name = \"PVLDB\" AND t2.name = \"University of Michigan\" AND t5.year > 2000;", "query_toks": [ "SELECT", "t5.title", "FROM", "organization", "AS", "t2", "JOIN", "author", "AS", "t1", "ON", "t2.oid", "=", "t1.oid", "JOIN", "writes", "AS", "t4", "ON", "t4.aid", "=", "t1.aid", "JOIN", "publication", "AS", "t5", "ON", "t4.pid", "=", "t5.pid", "JOIN", "journal", "AS", "t3", "ON", "t5.jid", "=", "t3.jid", "WHERE", "t3.name", "=", "``", "PVLDB", "''", "AND", "t2.name", "=", "``", "University", "of", "Michigan", "''", "AND", "t5.year", ">", "2000", ";" ], "query_toks_no_value": [ "select", "t5", ".", "title", "from", "organization", "as", "t2", "join", "author", "as", "t1", "on", "t2", ".", "oid", "=", "t1", ".", "oid", "join", "writes", "as", "t4", "on", "t4", ".", "aid", "=", "t1", ".", "aid", "join", "publication", "as", "t5", "on", "t4", ".", "pid", "=", "t5", ".", "pid", "join", "journal", "as", "t3", "on", "t5", ".", "jid", "=", "t3", ".", "jid", "where", "t3", ".", "name", "=", "value", "and", "t2", ".", "name", "=", "value", "and", "t5", ".", "year", ">", "value" ], "question": "devolva-me todos os artigos do PVLDB após 2000 na \"University of Michigan\".", "question_toks": [ "devolva-me", "todos", "os", "artigos", "do", "PVLDB", "após", "2000", "na", "\"", "University", "of", "Michigan", "\"", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 11 ], [ "table_unit", 0 ], [ "table_unit", 13 ], [ "table_unit", 9 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 36, false ], null ], [ 0, 4, false ], null ], "and", [ false, 2, [ 0, [ 0, 39, false ], null ], [ 0, 1, false ], null ], "and", [ false, 2, [ 0, [ 0, 40, false ], null ], [ 0, 27, false ], null ], "and", [ false, 2, [ 0, [ 0, 26, false ], null ], [ 0, 15, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 29, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 16, false ], null ], "\"PVLDB\"", null ], "and", [ false, 2, [ 0, [ 0, 35, false ], null ], "\"University of Michigan\"", null ], "and", [ false, 3, [ 0, [ 0, 30, false ], null ], 2000.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT t3.title FROM DOMAIN AS t2 JOIN domain_publication AS t1 ON t2.did = t1.did JOIN publication AS t3 ON t3.pid = t1.pid WHERE t2.name = \"Databases\" AND t3.citation_num > 200;", "query_toks": [ "SELECT", "t3.title", "FROM", "DOMAIN", "AS", "t2", "JOIN", "domain_publication", "AS", "t1", "ON", "t2.did", "=", "t1.did", "JOIN", "publication", "AS", "t3", "ON", "t3.pid", "=", "t1.pid", "WHERE", "t2.name", "=", "``", "Databases", "''", "AND", "t3.citation_num", ">", "200", ";" ], "query_toks_no_value": [ "select", "t3", ".", "title", "from", "domain", "as", "t2", "join", "domain_publication", "as", "t1", "on", "t2", ".", "did", "=", "t1", ".", "did", "join", "publication", "as", "t3", "on", "t3", ".", "pid", "=", "t1", ".", "pid", "where", "t2", ".", "name", "=", "value", "and", "t3", ".", "citation_num", ">", "value" ], "question": "me devolva o artigo na área de Bancos de Dados com mais de 200 citações.", "question_toks": [ "me", "devolva", "o", "artigo", "na", "área", "de", "Bancos", "de", "Dados", "com", "mais", "de", "200", "citações", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ], [ "table_unit", 10 ], [ "table_unit", 9 ] ], "conds": [ [ false, 2, [ 0, [ 0, 8, false ], null ], [ 0, 31, false ], null ], "and", [ false, 2, [ 0, [ 0, 27, false ], null ], [ 0, 32, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 29, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 9, false ], null ], "\"Databases\"", null ], "and", [ false, 3, [ 0, [ 0, 25, false ], null ], 200.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT t2.title FROM publication AS t2 JOIN journal AS t1 ON t2.jid = t1.jid WHERE t1.name = \"PVLDB\" AND t2.citation_num > 200;", "query_toks": [ "SELECT", "t2.title", "FROM", "publication", "AS", "t2", "JOIN", "journal", "AS", "t1", "ON", "t2.jid", "=", "t1.jid", "WHERE", "t1.name", "=", "``", "PVLDB", "''", "AND", "t2.citation_num", ">", "200", ";" ], "query_toks_no_value": [ "select", "t2", ".", "title", "from", "publication", "as", "t2", "join", "journal", "as", "t1", "on", "t2", ".", "jid", "=", "t1", ".", "jid", "where", "t1", ".", "name", "=", "value", "and", "t2", ".", "citation_num", ">", "value" ], "question": "me devolva o artigo no PVLDB com mais de 200 citações.", "question_toks": [ "me", "devolva", "o", "artigo", "no", "PVLDB", "com", "mais", "de", "200", "citações", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 26, false ], null ], [ 0, 15, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 29, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 16, false ], null ], "\"PVLDB\"", null ], "and", [ false, 3, [ 0, [ 0, 25, false ], null ], 200.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT t2.title FROM publication AS t2 JOIN conference AS t1 ON t2.cid = t1.cid WHERE t1.name = \"VLDB\" AND t2.citation_num > 200;", "query_toks": [ "SELECT", "t2.title", "FROM", "publication", "AS", "t2", "JOIN", "conference", "AS", "t1", "ON", "t2.cid", "=", "t1.cid", "WHERE", "t1.name", "=", "``", "VLDB", "''", "AND", "t2.citation_num", ">", "200", ";" ], "query_toks_no_value": [ "select", "t2", ".", "title", "from", "publication", "as", "t2", "join", "conference", "as", "t1", "on", "t2", ".", "cid", "=", "t1", ".", "cid", "where", "t1", ".", "name", "=", "value", "and", "t2", ".", "citation_num", ">", "value" ], "question": "me devolva o artigo na conferência VLDB com mais de 200 citações.", "question_toks": [ "me", "devolva", "o", "artigo", "na", "conferência", "VLDB", "com", "mais", "de", "200", "citações", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 5, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 29, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 7, false ], null ], "\"VLDB\"", null ], "and", [ false, 3, [ 0, [ 0, 25, false ], null ], 200.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT t3.title FROM writes AS t2 JOIN author AS t1 ON t2.aid = t1.aid JOIN publication AS t3 ON t2.pid = t3.pid WHERE t1.name = \"H. V. Jagadish\" AND t3.citation_num > 200;", "query_toks": [ "SELECT", "t3.title", "FROM", "writes", "AS", "t2", "JOIN", "author", "AS", "t1", "ON", "t2.aid", "=", "t1.aid", "JOIN", "publication", "AS", "t3", "ON", "t2.pid", "=", "t3.pid", "WHERE", "t1.name", "=", "``", "H.", "V.", "Jagadish", "''", "AND", "t3.citation_num", ">", "200", ";" ], "query_toks_no_value": [ "select", "t3", ".", "title", "from", "writes", "as", "t2", "join", "author", "as", "t1", "on", "t2", ".", "aid", "=", "t1", ".", "aid", "join", "publication", "as", "t3", "on", "t2", ".", "pid", "=", "t3", ".", "pid", "where", "t1", ".", "name", "=", "value", "and", "t3", ".", "citation_num", ">", "value" ], "question": "me devolva o artigo de \"H. V. Jagadish\" com mais de 200 citações.", "question_toks": [ "me", "devolva", "o", "artigo", "de", "\"", "H.", "V.", "Jagadish", "\"", "com", "mais", "de", "200", "citações", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 13 ], [ "table_unit", 0 ], [ "table_unit", 9 ] ], "conds": [ [ false, 2, [ 0, [ 0, 39, false ], null ], [ 0, 1, false ], null ], "and", [ false, 2, [ 0, [ 0, 40, false ], null ], [ 0, 27, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 29, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], "\"H. V. Jagadish\"", null ], "and", [ false, 3, [ 0, [ 0, 25, false ], null ], 200.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT t4.title FROM publication AS t4 JOIN journal AS t2 ON t4.jid = t2.jid JOIN writes AS t3 ON t3.pid = t4.pid JOIN author AS t1 ON t3.aid = t1.aid WHERE t1.name = \"H. V. Jagadish\" AND t2.name = \"PVLDB\" AND t4.citation_num > 200;", "query_toks": [ "SELECT", "t4.title", "FROM", "publication", "AS", "t4", "JOIN", "journal", "AS", "t2", "ON", "t4.jid", "=", "t2.jid", "JOIN", "writes", "AS", "t3", "ON", "t3.pid", "=", "t4.pid", "JOIN", "author", "AS", "t1", "ON", "t3.aid", "=", "t1.aid", "WHERE", "t1.name", "=", "``", "H.", "V.", "Jagadish", "''", "AND", "t2.name", "=", "``", "PVLDB", "''", "AND", "t4.citation_num", ">", "200", ";" ], "query_toks_no_value": [ "select", "t4", ".", "title", "from", "publication", "as", "t4", "join", "journal", "as", "t2", "on", "t4", ".", "jid", "=", "t2", ".", "jid", "join", "writes", "as", "t3", "on", "t3", ".", "pid", "=", "t4", ".", "pid", "join", "author", "as", "t1", "on", "t3", ".", "aid", "=", "t1", ".", "aid", "where", "t1", ".", "name", "=", "value", "and", "t2", ".", "name", "=", "value", "and", "t4", ".", "citation_num", ">", "value" ], "question": "retorne-me os artigos de \"H. V. Jagadish\" no PVLDB com mais de 200 citações.", "question_toks": [ "retorne-me", "os", "artigos", "de", "\"", "H.", "V.", "Jagadish", "\"", "no", "PVLDB", "com", "mais", "de", "200", "citações", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 5 ], [ "table_unit", 13 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 26, false ], null ], [ 0, 15, false ], null ], "and", [ false, 2, [ 0, [ 0, 40, false ], null ], [ 0, 27, false ], null ], "and", [ false, 2, [ 0, [ 0, 39, false ], null ], [ 0, 1, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 29, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], "\"H. V. Jagadish\"", null ], "and", [ false, 2, [ 0, [ 0, 16, false ], null ], "\"PVLDB\"", null ], "and", [ false, 3, [ 0, [ 0, 25, false ], null ], 200.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT t4.title FROM publication AS t4 JOIN conference AS t2 ON t4.cid = t2.cid JOIN writes AS t3 ON t3.pid = t4.pid JOIN author AS t1 ON t3.aid = t1.aid WHERE t1.name = \"H. V. Jagadish\" AND t2.name = \"VLDB\" AND t4.citation_num > 200;", "query_toks": [ "SELECT", "t4.title", "FROM", "publication", "AS", "t4", "JOIN", "conference", "AS", "t2", "ON", "t4.cid", "=", "t2.cid", "JOIN", "writes", "AS", "t3", "ON", "t3.pid", "=", "t4.pid", "JOIN", "author", "AS", "t1", "ON", "t3.aid", "=", "t1.aid", "WHERE", "t1.name", "=", "``", "H.", "V.", "Jagadish", "''", "AND", "t2.name", "=", "``", "VLDB", "''", "AND", "t4.citation_num", ">", "200", ";" ], "query_toks_no_value": [ "select", "t4", ".", "title", "from", "publication", "as", "t4", "join", "conference", "as", "t2", "on", "t4", ".", "cid", "=", "t2", ".", "cid", "join", "writes", "as", "t3", "on", "t3", ".", "pid", "=", "t4", ".", "pid", "join", "author", "as", "t1", "on", "t3", ".", "aid", "=", "t1", ".", "aid", "where", "t1", ".", "name", "=", "value", "and", "t2", ".", "name", "=", "value", "and", "t4", ".", "citation_num", ">", "value" ], "question": "retorne-me os artigos de \"H. V. Jagadish\" na conferência VLDB com mais de 200 citações.", "question_toks": [ "retorne-me", "os", "artigos", "de", "\"", "H.", "V.", "Jagadish", "\"", "na", "conferência", "VLDB", "com", "mais", "de", "200", "citações", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ], [ "table_unit", 13 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 5, false ], null ], "and", [ false, 2, [ 0, [ 0, 40, false ], null ], [ 0, 27, false ], null ], "and", [ false, 2, [ 0, [ 0, 39, false ], null ], [ 0, 1, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 29, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], "\"H. V. Jagadish\"", null ], "and", [ false, 2, [ 0, [ 0, 7, false ], null ], "\"VLDB\"", null ], "and", [ false, 3, [ 0, [ 0, 25, false ], null ], 200.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT title FROM publication WHERE citation_num > 200 AND YEAR > 2000;", "query_toks": [ "SELECT", "title", "FROM", "publication", "WHERE", "citation_num", ">", "200", "AND", "YEAR", ">", "2000", ";" ], "query_toks_no_value": [ "select", "title", "from", "publication", "where", "citation_num", ">", "value", "and", "year", ">", "value" ], "question": "me devolva o artigo depois de 2000 com mais de 200 citações.", "question_toks": [ "me", "devolva", "o", "artigo", "depois", "de", "2000", "com", "mais", "de", "200", "citações", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 29, false ], null ] ] ] ], "where": [ [ false, 3, [ 0, [ 0, 25, false ], null ], 200.0, null ], "and", [ false, 3, [ 0, [ 0, 30, false ], null ], 2000.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT t3.title FROM DOMAIN AS t2 JOIN domain_publication AS t1 ON t2.did = t1.did JOIN publication AS t3 ON t3.pid = t1.pid WHERE t2.name = \"Databases\" AND t3.citation_num > 200 AND t3.year > 2000;", "query_toks": [ "SELECT", "t3.title", "FROM", "DOMAIN", "AS", "t2", "JOIN", "domain_publication", "AS", "t1", "ON", "t2.did", "=", "t1.did", "JOIN", "publication", "AS", "t3", "ON", "t3.pid", "=", "t1.pid", "WHERE", "t2.name", "=", "``", "Databases", "''", "AND", "t3.citation_num", ">", "200", "AND", "t3.year", ">", "2000", ";" ], "query_toks_no_value": [ "select", "t3", ".", "title", "from", "domain", "as", "t2", "join", "domain_publication", "as", "t1", "on", "t2", ".", "did", "=", "t1", ".", "did", "join", "publication", "as", "t3", "on", "t3", ".", "pid", "=", "t1", ".", "pid", "where", "t2", ".", "name", "=", "value", "and", "t3", ".", "citation_num", ">", "value", "and", "t3", ".", "year", ">", "value" ], "question": "me devolva o artigo após 2000 na área de Bancos de dados com mais de 200 citações.", "question_toks": [ "me", "devolva", "o", "artigo", "após", "2000", "na", "área", "de", "Bancos", "de", "dados", "com", "mais", "de", "200", "citações", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ], [ "table_unit", 10 ], [ "table_unit", 9 ] ], "conds": [ [ false, 2, [ 0, [ 0, 8, false ], null ], [ 0, 31, false ], null ], "and", [ false, 2, [ 0, [ 0, 27, false ], null ], [ 0, 32, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 29, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 9, false ], null ], "\"Databases\"", null ], "and", [ false, 3, [ 0, [ 0, 25, false ], null ], 200.0, null ], "and", [ false, 3, [ 0, [ 0, 30, false ], null ], 2000.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT t2.title FROM publication AS t2 JOIN journal AS t1 ON t2.jid = t1.jid WHERE t1.name = \"PVLDB\" AND t2.citation_num > 200 AND t2.year > 2000;", "query_toks": [ "SELECT", "t2.title", "FROM", "publication", "AS", "t2", "JOIN", "journal", "AS", "t1", "ON", "t2.jid", "=", "t1.jid", "WHERE", "t1.name", "=", "``", "PVLDB", "''", "AND", "t2.citation_num", ">", "200", "AND", "t2.year", ">", "2000", ";" ], "query_toks_no_value": [ "select", "t2", ".", "title", "from", "publication", "as", "t2", "join", "journal", "as", "t1", "on", "t2", ".", "jid", "=", "t1", ".", "jid", "where", "t1", ".", "name", "=", "value", "and", "t2", ".", "citation_num", ">", "value", "and", "t2", ".", "year", ">", "value" ], "question": "me devolva o artigo depois de 2000 em PVLDB com mais de 200 citações.", "question_toks": [ "me", "devolva", "o", "artigo", "depois", "de", "2000", "em", "PVLDB", "com", "mais", "de", "200", "citações", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 26, false ], null ], [ 0, 15, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 29, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 16, false ], null ], "\"PVLDB\"", null ], "and", [ false, 3, [ 0, [ 0, 25, false ], null ], 200.0, null ], "and", [ false, 3, [ 0, [ 0, 30, false ], null ], 2000.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT t2.title FROM publication AS t2 JOIN conference AS t1 ON t2.cid = t1.cid WHERE t1.name = \"VLDB\" AND t2.citation_num > 200 AND t2.year > 2000;", "query_toks": [ "SELECT", "t2.title", "FROM", "publication", "AS", "t2", "JOIN", "conference", "AS", "t1", "ON", "t2.cid", "=", "t1.cid", "WHERE", "t1.name", "=", "``", "VLDB", "''", "AND", "t2.citation_num", ">", "200", "AND", "t2.year", ">", "2000", ";" ], "query_toks_no_value": [ "select", "t2", ".", "title", "from", "publication", "as", "t2", "join", "conference", "as", "t1", "on", "t2", ".", "cid", "=", "t1", ".", "cid", "where", "t1", ".", "name", "=", "value", "and", "t2", ".", "citation_num", ">", "value", "and", "t2", ".", "year", ">", "value" ], "question": "me devolva o artigo após 2000 na conferência VLDB com mais de 200 citações.", "question_toks": [ "me", "devolva", "o", "artigo", "após", "2000", "na", "conferência", "VLDB", "com", "mais", "de", "200", "citações", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 5, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 29, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 7, false ], null ], "\"VLDB\"", null ], "and", [ false, 3, [ 0, [ 0, 25, false ], null ], 200.0, null ], "and", [ false, 3, [ 0, [ 0, 30, false ], null ], 2000.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT COUNT ( DISTINCT t2.name ) FROM publication AS t4 JOIN conference AS t2 ON t4.cid = t2.cid JOIN writes AS t3 ON t3.pid = t4.pid JOIN author AS t1 ON t3.aid = t1.aid WHERE t1.name = \"H. V. Jagadish\";", "query_toks": [ "SELECT", "COUNT", "(", "DISTINCT", "t2.name", ")", "FROM", "publication", "AS", "t4", "JOIN", "conference", "AS", "t2", "ON", "t4.cid", "=", "t2.cid", "JOIN", "writes", "AS", "t3", "ON", "t3.pid", "=", "t4.pid", "JOIN", "author", "AS", "t1", "ON", "t3.aid", "=", "t1.aid", "WHERE", "t1.name", "=", "``", "H.", "V.", "Jagadish", "''", ";" ], "query_toks_no_value": [ "select", "count", "(", "distinct", "t2", ".", "name", ")", "from", "publication", "as", "t4", "join", "conference", "as", "t2", "on", "t4", ".", "cid", "=", "t2", ".", "cid", "join", "writes", "as", "t3", "on", "t3", ".", "pid", "=", "t4", ".", "pid", "join", "author", "as", "t1", "on", "t3", ".", "aid", "=", "t1", ".", "aid", "where", "t1", ".", "name", "=", "value" ], "question": "retorne-me o número de conferências que possuem artigos de \"H. V. Jagadish\".", "question_toks": [ "retorne-me", "o", "número", "de", "conferências", "que", "possuem", "artigos", "de", "\"", "H.", "V.", "Jagadish", "\"", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ], [ "table_unit", 13 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 5, false ], null ], "and", [ false, 2, [ 0, [ 0, 40, false ], null ], [ 0, 27, false ], null ], "and", [ false, 2, [ 0, [ 0, 39, false ], null ], [ 0, 1, false ], null ] ] }, "select": [ false, [ [ 3, [ 0, [ 0, 7, true ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], "\"H. V. Jagadish\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT COUNT ( DISTINCT t2.name ) FROM publication AS t4 JOIN journal AS t2 ON t4.jid = t2.jid JOIN writes AS t3 ON t3.pid = t4.pid JOIN author AS t1 ON t3.aid = t1.aid WHERE t1.name = \"H. V. Jagadish\";", "query_toks": [ "SELECT", "COUNT", "(", "DISTINCT", "t2.name", ")", "FROM", "publication", "AS", "t4", "JOIN", "journal", "AS", "t2", "ON", "t4.jid", "=", "t2.jid", "JOIN", "writes", "AS", "t3", "ON", "t3.pid", "=", "t4.pid", "JOIN", "author", "AS", "t1", "ON", "t3.aid", "=", "t1.aid", "WHERE", "t1.name", "=", "``", "H.", "V.", "Jagadish", "''", ";" ], "query_toks_no_value": [ "select", "count", "(", "distinct", "t2", ".", "name", ")", "from", "publication", "as", "t4", "join", "journal", "as", "t2", "on", "t4", ".", "jid", "=", "t2", ".", "jid", "join", "writes", "as", "t3", "on", "t3", ".", "pid", "=", "t4", ".", "pid", "join", "author", "as", "t1", "on", "t3", ".", "aid", "=", "t1", ".", "aid", "where", "t1", ".", "name", "=", "value" ], "question": "retorne-me o número de periódicos que possuem artigos de \"H. V. Jagadish\".", "question_toks": [ "retorne-me", "o", "número", "de", "periódicos", "que", "possuem", "artigos", "de", "\"", "H.", "V.", "Jagadish", "\"", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 5 ], [ "table_unit", 13 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 26, false ], null ], [ 0, 15, false ], null ], "and", [ false, 2, [ 0, [ 0, 40, false ], null ], [ 0, 27, false ], null ], "and", [ false, 2, [ 0, [ 0, 39, false ], null ], [ 0, 1, false ], null ] ] }, "select": [ false, [ [ 3, [ 0, [ 0, 16, true ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], "\"H. V. Jagadish\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT COUNT ( DISTINCT t3.title ) , t3.year FROM writes AS t2 JOIN author AS t1 ON t2.aid = t1.aid JOIN publication AS t3 ON t2.pid = t3.pid WHERE t1.name = \"H. V. Jagadish\" GROUP BY t3.year;", "query_toks": [ "SELECT", "COUNT", "(", "DISTINCT", "t3.title", ")", ",", "t3.year", "FROM", "writes", "AS", "t2", "JOIN", "author", "AS", "t1", "ON", "t2.aid", "=", "t1.aid", "JOIN", "publication", "AS", "t3", "ON", "t2.pid", "=", "t3.pid", "WHERE", "t1.name", "=", "``", "H.", "V.", "Jagadish", "''", "GROUP", "BY", "t3.year", ";" ], "query_toks_no_value": [ "select", "count", "(", "distinct", "t3", ".", "title", ")", ",", "t3", ".", "year", "from", "writes", "as", "t2", "join", "author", "as", "t1", "on", "t2", ".", "aid", "=", "t1", ".", "aid", "join", "publication", "as", "t3", "on", "t2", ".", "pid", "=", "t3", ".", "pid", "where", "t1", ".", "name", "=", "value", "group", "by", "t3", ".", "year" ], "question": "retorne-me o número de artigos escritos por \"H. V. Jagadish\" em cada ano.", "question_toks": [ "retorne-me", "o", "número", "de", "artigos", "escritos", "por", "\"", "H.", "V.", "Jagadish", "\"", "em", "cada", "ano", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 13 ], [ "table_unit", 0 ], [ "table_unit", 9 ] ], "conds": [ [ false, 2, [ 0, [ 0, 39, false ], null ], [ 0, 1, false ], null ], "and", [ false, 2, [ 0, [ 0, 40, false ], null ], [ 0, 27, false ], null ] ] }, "select": [ false, [ [ 3, [ 0, [ 0, 29, true ], null ] ], [ 0, [ 0, [ 0, 30, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], "\"H. V. Jagadish\"", null ] ], "groupBy": [ [ 0, 30, false ] ], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT COUNT ( DISTINCT t1.name ) FROM writes AS t2 JOIN author AS t1 ON t2.aid = t1.aid JOIN publication AS t3 ON t2.pid = t3.pid WHERE t3.title = \"Making database systems usable\";", "query_toks": [ "SELECT", "COUNT", "(", "DISTINCT", "t1.name", ")", "FROM", "writes", "AS", "t2", "JOIN", "author", "AS", "t1", "ON", "t2.aid", "=", "t1.aid", "JOIN", "publication", "AS", "t3", "ON", "t2.pid", "=", "t3.pid", "WHERE", "t3.title", "=", "``", "Making", "database", "systems", "usable", "''", ";" ], "query_toks_no_value": [ "select", "count", "(", "distinct", "t1", ".", "name", ")", "from", "writes", "as", "t2", "join", "author", "as", "t1", "on", "t2", ".", "aid", "=", "t1", ".", "aid", "join", "publication", "as", "t3", "on", "t2", ".", "pid", "=", "t3", ".", "pid", "where", "t3", ".", "title", "=", "value" ], "question": "retorne-me o número de autores de \"Tornando utilizáveis os sistemas de banco de dados\".", "question_toks": [ "retorne-me", "o", "número", "de", "autores", "de", "\"", "Tornando", "utilizáveis", "os", "sistemas", "de", "banco", "de", "dados", "\"", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 13 ], [ "table_unit", 0 ], [ "table_unit", 9 ] ], "conds": [ [ false, 2, [ 0, [ 0, 39, false ], null ], [ 0, 1, false ], null ], "and", [ false, 2, [ 0, [ 0, 40, false ], null ], [ 0, 27, false ], null ] ] }, "select": [ false, [ [ 3, [ 0, [ 0, 3, true ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 29, false ], null ], "\"Making database systems usable\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT YEAR , SUM ( citation_num ) FROM publication WHERE title = \"Making database systems usable\" GROUP BY YEAR;", "query_toks": [ "SELECT", "YEAR", ",", "SUM", "(", "citation_num", ")", "FROM", "publication", "WHERE", "title", "=", "``", "Making", "database", "systems", "usable", "''", "GROUP", "BY", "YEAR", ";" ], "query_toks_no_value": [ "select", "year", ",", "sum", "(", "citation_num", ")", "from", "publication", "where", "title", "=", "value", "group", "by", "year" ], "question": "retorne-me o número de citações de \"Tornando os sistemas de banco de dados utilizáveis\" em cada ano.", "question_toks": [ "retorne-me", "o", "número", "de", "citações", "de", "\"", "Tornando", "os", "sistemas", "de", "banco", "de", "dados", "utilizáveis", "\"", "em", "cada", "ano", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 30, false ], null ] ], [ 4, [ 0, [ 0, 25, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 29, false ], null ], "\"Making database systems usable\"", null ] ], "groupBy": [ [ 0, 30, false ] ], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT COUNT ( DISTINCT t2.title ) FROM publication AS t3 JOIN cite AS t1 ON t3.pid = t1.cited JOIN publication AS t2 ON t2.pid = t1.citing WHERE t3.title = \"Making database systems usable\" AND t2.year < 2010;", "query_toks": [ "SELECT", "COUNT", "(", "DISTINCT", "t2.title", ")", "FROM", "publication", "AS", "t3", "JOIN", "cite", "AS", "t1", "ON", "t3.pid", "=", "t1.cited", "JOIN", "publication", "AS", "t2", "ON", "t2.pid", "=", "t1.citing", "WHERE", "t3.title", "=", "``", "Making", "database", "systems", "usable", "''", "AND", "t2.year", "<", "2010", ";" ], "query_toks_no_value": [ "select", "count", "(", "distinct", "t2", ".", "title", ")", "from", "publication", "as", "t3", "join", "cite", "as", "t1", "on", "t3", ".", "pid", "=", "t1", ".", "cited", "join", "publication", "as", "t2", "on", "t2", ".", "pid", "=", "t1", ".", "citing", "where", "t3", ".", "title", "=", "value", "and", "t2", ".", "year", "<", "value" ], "question": "retorne-me o número de citações de \"Tornando os sistemas de banco de dados utilizáveis\" antes de 2010.", "question_toks": [ "retorne-me", "o", "número", "de", "citações", "de", "\"", "Tornando", "os", "sistemas", "de", "banco", "de", "dados", "utilizáveis", "\"", "antes", "de", "2010", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 14 ], [ "table_unit", 9 ] ], "conds": [ [ false, 2, [ 0, [ 0, 27, false ], null ], [ 0, 41, false ], null ], "and", [ false, 2, [ 0, [ 0, 27, false ], null ], [ 0, 42, false ], null ] ] }, "select": [ false, [ [ 3, [ 0, [ 0, 29, true ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 29, false ], null ], "\"Making database systems usable\"", null ], "and", [ false, 4, [ 0, [ 0, 30, false ], null ], 2010.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT COUNT ( DISTINCT t3.title ) FROM writes AS t2 JOIN author AS t1 ON t2.aid = t1.aid JOIN publication AS t3 ON t2.pid = t3.pid WHERE t1.name = \"H. V. Jagadish\";", "query_toks": [ "SELECT", "COUNT", "(", "DISTINCT", "t3.title", ")", "FROM", "writes", "AS", "t2", "JOIN", "author", "AS", "t1", "ON", "t2.aid", "=", "t1.aid", "JOIN", "publication", "AS", "t3", "ON", "t2.pid", "=", "t3.pid", "WHERE", "t1.name", "=", "``", "H.", "V.", "Jagadish", "''", ";" ], "query_toks_no_value": [ "select", "count", "(", "distinct", "t3", ".", "title", ")", "from", "writes", "as", "t2", "join", "author", "as", "t1", "on", "t2", ".", "aid", "=", "t1", ".", "aid", "join", "publication", "as", "t3", "on", "t2", ".", "pid", "=", "t3", ".", "pid", "where", "t1", ".", "name", "=", "value" ], "question": "retorne-me o número de artigos de \"H. V. Jagadish\".", "question_toks": [ "retorne-me", "o", "número", "de", "artigos", "de", "\"", "H.", "V.", "Jagadish", "\"", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 13 ], [ "table_unit", 0 ], [ "table_unit", 9 ] ], "conds": [ [ false, 2, [ 0, [ 0, 39, false ], null ], [ 0, 1, false ], null ], "and", [ false, 2, [ 0, [ 0, 40, false ], null ], [ 0, 27, false ], null ] ] }, "select": [ false, [ [ 3, [ 0, [ 0, 29, true ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], "\"H. V. Jagadish\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT COUNT ( DISTINCT t2.title ) FROM publication AS t2 JOIN conference AS t1 ON t2.cid = t1.cid WHERE t1.name = \"VLDB\";", "query_toks": [ "SELECT", "COUNT", "(", "DISTINCT", "t2.title", ")", "FROM", "publication", "AS", "t2", "JOIN", "conference", "AS", "t1", "ON", "t2.cid", "=", "t1.cid", "WHERE", "t1.name", "=", "``", "VLDB", "''", ";" ], "query_toks_no_value": [ "select", "count", "(", "distinct", "t2", ".", "title", ")", "from", "publication", "as", "t2", "join", "conference", "as", "t1", "on", "t2", ".", "cid", "=", "t1", ".", "cid", "where", "t1", ".", "name", "=", "value" ], "question": "retorne-me o número de artigos sobre a conferência VLDB.", "question_toks": [ "retorne-me", "o", "número", "de", "artigos", "sobre", "a", "conferência", "VLDB", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 5, false ], null ] ] }, "select": [ false, [ [ 3, [ 0, [ 0, 29, true ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 7, false ], null ], "\"VLDB\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT COUNT ( DISTINCT t2.title ) FROM publication AS t2 JOIN journal AS t1 ON t2.jid = t1.jid WHERE t1.name = \"PVLDB\";", "query_toks": [ "SELECT", "COUNT", "(", "DISTINCT", "t2.title", ")", "FROM", "publication", "AS", "t2", "JOIN", "journal", "AS", "t1", "ON", "t2.jid", "=", "t1.jid", "WHERE", "t1.name", "=", "``", "PVLDB", "''", ";" ], "query_toks_no_value": [ "select", "count", "(", "distinct", "t2", ".", "title", ")", "from", "publication", "as", "t2", "join", "journal", "as", "t1", "on", "t2", ".", "jid", "=", "t1", ".", "jid", "where", "t1", ".", "name", "=", "value" ], "question": "retorne-me o número de artigos sobre PVLDB.", "question_toks": [ "retorne-me", "o", "número", "de", "artigos", "sobre", "PVLDB", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 26, false ], null ], [ 0, 15, false ], null ] ] }, "select": [ false, [ [ 3, [ 0, [ 0, 29, true ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 16, false ], null ], "\"PVLDB\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT COUNT ( DISTINCT title ) FROM publication WHERE YEAR > 2000;", "query_toks": [ "SELECT", "COUNT", "(", "DISTINCT", "title", ")", "FROM", "publication", "WHERE", "YEAR", ">", "2000", ";" ], "query_toks_no_value": [ "select", "count", "(", "distinct", "title", ")", "from", "publication", "where", "year", ">", "value" ], "question": "retorne-me o número de artigos após 2000.", "question_toks": [ "retorne-me", "o", "número", "de", "artigos", "após", "2000", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ] ], "conds": [] }, "select": [ false, [ [ 3, [ 0, [ 0, 29, true ], null ] ] ] ], "where": [ [ false, 3, [ 0, [ 0, 30, false ], null ], 2000.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT COUNT ( DISTINCT t2.title ) FROM publication AS t2 JOIN journal AS t1 ON t2.jid = t1.jid WHERE t1.name = \"PVLDB\" AND t2.year > 2000;", "query_toks": [ "SELECT", "COUNT", "(", "DISTINCT", "t2.title", ")", "FROM", "publication", "AS", "t2", "JOIN", "journal", "AS", "t1", "ON", "t2.jid", "=", "t1.jid", "WHERE", "t1.name", "=", "``", "PVLDB", "''", "AND", "t2.year", ">", "2000", ";" ], "query_toks_no_value": [ "select", "count", "(", "distinct", "t2", ".", "title", ")", "from", "publication", "as", "t2", "join", "journal", "as", "t1", "on", "t2", ".", "jid", "=", "t1", ".", "jid", "where", "t1", ".", "name", "=", "value", "and", "t2", ".", "year", ">", "value" ], "question": "retorne-me o número de artigos sobre PVLDB após 2000.", "question_toks": [ "retorne-me", "o", "número", "de", "artigos", "sobre", "PVLDB", "após", "2000", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 26, false ], null ], [ 0, 15, false ], null ] ] }, "select": [ false, [ [ 3, [ 0, [ 0, 29, true ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 16, false ], null ], "\"PVLDB\"", null ], "and", [ false, 3, [ 0, [ 0, 30, false ], null ], 2000.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT COUNT ( DISTINCT t2.title ) FROM publication AS t2 JOIN conference AS t1 ON t2.cid = t1.cid WHERE t1.name = \"VLDB\" AND t2.year > 2000;", "query_toks": [ "SELECT", "COUNT", "(", "DISTINCT", "t2.title", ")", "FROM", "publication", "AS", "t2", "JOIN", "conference", "AS", "t1", "ON", "t2.cid", "=", "t1.cid", "WHERE", "t1.name", "=", "``", "VLDB", "''", "AND", "t2.year", ">", "2000", ";" ], "query_toks_no_value": [ "select", "count", "(", "distinct", "t2", ".", "title", ")", "from", "publication", "as", "t2", "join", "conference", "as", "t1", "on", "t2", ".", "cid", "=", "t1", ".", "cid", "where", "t1", ".", "name", "=", "value", "and", "t2", ".", "year", ">", "value" ], "question": "retorne-me o número de artigos sobre a conferência VLDB após 2000.", "question_toks": [ "retorne-me", "o", "número", "de", "artigos", "sobre", "a", "conferência", "VLDB", "após", "2000", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 5, false ], null ] ] }, "select": [ false, [ [ 3, [ 0, [ 0, 29, true ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 7, false ], null ], "\"VLDB\"", null ], "and", [ false, 3, [ 0, [ 0, 30, false ], null ], 2000.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT COUNT ( DISTINCT t4.title ) FROM publication AS t4 JOIN journal AS t2 ON t4.jid = t2.jid JOIN writes AS t3 ON t3.pid = t4.pid JOIN author AS t1 ON t3.aid = t1.aid WHERE t1.name = \"H. V. Jagadish\" AND t2.name = \"PVLDB\";", "query_toks": [ "SELECT", "COUNT", "(", "DISTINCT", "t4.title", ")", "FROM", "publication", "AS", "t4", "JOIN", "journal", "AS", "t2", "ON", "t4.jid", "=", "t2.jid", "JOIN", "writes", "AS", "t3", "ON", "t3.pid", "=", "t4.pid", "JOIN", "author", "AS", "t1", "ON", "t3.aid", "=", "t1.aid", "WHERE", "t1.name", "=", "``", "H.", "V.", "Jagadish", "''", "AND", "t2.name", "=", "``", "PVLDB", "''", ";" ], "query_toks_no_value": [ "select", "count", "(", "distinct", "t4", ".", "title", ")", "from", "publication", "as", "t4", "join", "journal", "as", "t2", "on", "t4", ".", "jid", "=", "t2", ".", "jid", "join", "writes", "as", "t3", "on", "t3", ".", "pid", "=", "t4", ".", "pid", "join", "author", "as", "t1", "on", "t3", ".", "aid", "=", "t1", ".", "aid", "where", "t1", ".", "name", "=", "value", "and", "t2", ".", "name", "=", "value" ], "question": "retorne-me o número de artigos de \"H. V. Jagadish\" no PVLDB.", "question_toks": [ "retorne-me", "o", "número", "de", "artigos", "de", "\"", "H.", "V.", "Jagadish", "\"", "no", "PVLDB", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 5 ], [ "table_unit", 13 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 26, false ], null ], [ 0, 15, false ], null ], "and", [ false, 2, [ 0, [ 0, 40, false ], null ], [ 0, 27, false ], null ], "and", [ false, 2, [ 0, [ 0, 39, false ], null ], [ 0, 1, false ], null ] ] }, "select": [ false, [ [ 3, [ 0, [ 0, 29, true ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], "\"H. V. Jagadish\"", null ], "and", [ false, 2, [ 0, [ 0, 16, false ], null ], "\"PVLDB\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT COUNT ( DISTINCT t4.title ) FROM publication AS t4 JOIN conference AS t2 ON t4.cid = t2.cid JOIN writes AS t3 ON t3.pid = t4.pid JOIN author AS t1 ON t3.aid = t1.aid WHERE t1.name = \"H. V. Jagadish\" AND t2.name = \"VLDB\";", "query_toks": [ "SELECT", "COUNT", "(", "DISTINCT", "t4.title", ")", "FROM", "publication", "AS", "t4", "JOIN", "conference", "AS", "t2", "ON", "t4.cid", "=", "t2.cid", "JOIN", "writes", "AS", "t3", "ON", "t3.pid", "=", "t4.pid", "JOIN", "author", "AS", "t1", "ON", "t3.aid", "=", "t1.aid", "WHERE", "t1.name", "=", "``", "H.", "V.", "Jagadish", "''", "AND", "t2.name", "=", "``", "VLDB", "''", ";" ], "query_toks_no_value": [ "select", "count", "(", "distinct", "t4", ".", "title", ")", "from", "publication", "as", "t4", "join", "conference", "as", "t2", "on", "t4", ".", "cid", "=", "t2", ".", "cid", "join", "writes", "as", "t3", "on", "t3", ".", "pid", "=", "t4", ".", "pid", "join", "author", "as", "t1", "on", "t3", ".", "aid", "=", "t1", ".", "aid", "where", "t1", ".", "name", "=", "value", "and", "t2", ".", "name", "=", "value" ], "question": "retorne-me o número de artigos de \"H. V. Jagadish\" na conferência VLDB.", "question_toks": [ "retorne-me", "o", "número", "de", "artigos", "de", "\"", "H.", "V.", "Jagadish", "\"", "na", "conferência", "VLDB", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ], [ "table_unit", 13 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 5, false ], null ], "and", [ false, 2, [ 0, [ 0, 40, false ], null ], [ 0, 27, false ], null ], "and", [ false, 2, [ 0, [ 0, 39, false ], null ], [ 0, 1, false ], null ] ] }, "select": [ false, [ [ 3, [ 0, [ 0, 29, true ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], "\"H. V. Jagadish\"", null ], "and", [ false, 2, [ 0, [ 0, 7, false ], null ], "\"VLDB\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT COUNT ( DISTINCT t3.title ) FROM writes AS t2 JOIN author AS t1 ON t2.aid = t1.aid JOIN publication AS t3 ON t2.pid = t3.pid WHERE t1.name = \"H. V. Jagadish\" AND t3.year > 2000;", "query_toks": [ "SELECT", "COUNT", "(", "DISTINCT", "t3.title", ")", "FROM", "writes", "AS", "t2", "JOIN", "author", "AS", "t1", "ON", "t2.aid", "=", "t1.aid", "JOIN", "publication", "AS", "t3", "ON", "t2.pid", "=", "t3.pid", "WHERE", "t1.name", "=", "``", "H.", "V.", "Jagadish", "''", "AND", "t3.year", ">", "2000", ";" ], "query_toks_no_value": [ "select", "count", "(", "distinct", "t3", ".", "title", ")", "from", "writes", "as", "t2", "join", "author", "as", "t1", "on", "t2", ".", "aid", "=", "t1", ".", "aid", "join", "publication", "as", "t3", "on", "t2", ".", "pid", "=", "t3", ".", "pid", "where", "t1", ".", "name", "=", "value", "and", "t3", ".", "year", ">", "value" ], "question": "retorne-me o número de artigos de \"H. V. Jagadish\" após 2000.", "question_toks": [ "retorne-me", "o", "número", "de", "artigos", "de", "\"", "H.", "V.", "Jagadish", "\"", "após", "2000", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 13 ], [ "table_unit", 0 ], [ "table_unit", 9 ] ], "conds": [ [ false, 2, [ 0, [ 0, 39, false ], null ], [ 0, 1, false ], null ], "and", [ false, 2, [ 0, [ 0, 40, false ], null ], [ 0, 27, false ], null ] ] }, "select": [ false, [ [ 3, [ 0, [ 0, 29, true ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], "\"H. V. Jagadish\"", null ], "and", [ false, 3, [ 0, [ 0, 30, false ], null ], 2000.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT COUNT ( DISTINCT t4.title ) FROM publication AS t4 JOIN journal AS t2 ON t4.jid = t2.jid JOIN writes AS t3 ON t3.pid = t4.pid JOIN author AS t1 ON t3.aid = t1.aid WHERE t1.name = \"H. V. Jagadish\" AND t2.name = \"PVLDB\" AND t4.year > 2000;", "query_toks": [ "SELECT", "COUNT", "(", "DISTINCT", "t4.title", ")", "FROM", "publication", "AS", "t4", "JOIN", "journal", "AS", "t2", "ON", "t4.jid", "=", "t2.jid", "JOIN", "writes", "AS", "t3", "ON", "t3.pid", "=", "t4.pid", "JOIN", "author", "AS", "t1", "ON", "t3.aid", "=", "t1.aid", "WHERE", "t1.name", "=", "``", "H.", "V.", "Jagadish", "''", "AND", "t2.name", "=", "``", "PVLDB", "''", "AND", "t4.year", ">", "2000", ";" ], "query_toks_no_value": [ "select", "count", "(", "distinct", "t4", ".", "title", ")", "from", "publication", "as", "t4", "join", "journal", "as", "t2", "on", "t4", ".", "jid", "=", "t2", ".", "jid", "join", "writes", "as", "t3", "on", "t3", ".", "pid", "=", "t4", ".", "pid", "join", "author", "as", "t1", "on", "t3", ".", "aid", "=", "t1", ".", "aid", "where", "t1", ".", "name", "=", "value", "and", "t2", ".", "name", "=", "value", "and", "t4", ".", "year", ">", "value" ], "question": "retorne-me o número de artigos de \"H. V. Jagadish\" no PVLDB após 2000.", "question_toks": [ "retorne-me", "o", "número", "de", "artigos", "de", "\"", "H.", "V.", "Jagadish", "\"", "no", "PVLDB", "após", "2000", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 5 ], [ "table_unit", 13 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 26, false ], null ], [ 0, 15, false ], null ], "and", [ false, 2, [ 0, [ 0, 40, false ], null ], [ 0, 27, false ], null ], "and", [ false, 2, [ 0, [ 0, 39, false ], null ], [ 0, 1, false ], null ] ] }, "select": [ false, [ [ 3, [ 0, [ 0, 29, true ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], "\"H. V. Jagadish\"", null ], "and", [ false, 2, [ 0, [ 0, 16, false ], null ], "\"PVLDB\"", null ], "and", [ false, 3, [ 0, [ 0, 30, false ], null ], 2000.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT COUNT ( DISTINCT t4.title ) FROM publication AS t4 JOIN conference AS t2 ON t4.cid = t2.cid JOIN writes AS t3 ON t3.pid = t4.pid JOIN author AS t1 ON t3.aid = t1.aid WHERE t1.name = \"H. V. Jagadish\" AND t2.name = \"VLDB\" AND t4.year > 2000;", "query_toks": [ "SELECT", "COUNT", "(", "DISTINCT", "t4.title", ")", "FROM", "publication", "AS", "t4", "JOIN", "conference", "AS", "t2", "ON", "t4.cid", "=", "t2.cid", "JOIN", "writes", "AS", "t3", "ON", "t3.pid", "=", "t4.pid", "JOIN", "author", "AS", "t1", "ON", "t3.aid", "=", "t1.aid", "WHERE", "t1.name", "=", "``", "H.", "V.", "Jagadish", "''", "AND", "t2.name", "=", "``", "VLDB", "''", "AND", "t4.year", ">", "2000", ";" ], "query_toks_no_value": [ "select", "count", "(", "distinct", "t4", ".", "title", ")", "from", "publication", "as", "t4", "join", "conference", "as", "t2", "on", "t4", ".", "cid", "=", "t2", ".", "cid", "join", "writes", "as", "t3", "on", "t3", ".", "pid", "=", "t4", ".", "pid", "join", "author", "as", "t1", "on", "t3", ".", "aid", "=", "t1", ".", "aid", "where", "t1", ".", "name", "=", "value", "and", "t2", ".", "name", "=", "value", "and", "t4", ".", "year", ">", "value" ], "question": "retorne-me o número de artigos de \"H. V. Jagadish\" na conferência VLDB após 2000.", "question_toks": [ "retorne-me", "o", "número", "de", "artigos", "de", "\"", "H.", "V.", "Jagadish", "\"", "na", "conferência", "VLDB", "após", "2000", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ], [ "table_unit", 13 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 5, false ], null ], "and", [ false, 2, [ 0, [ 0, 40, false ], null ], [ 0, 27, false ], null ], "and", [ false, 2, [ 0, [ 0, 39, false ], null ], [ 0, 1, false ], null ] ] }, "select": [ false, [ [ 3, [ 0, [ 0, 29, true ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], "\"H. V. Jagadish\"", null ], "and", [ false, 2, [ 0, [ 0, 7, false ], null ], "\"VLDB\"", null ], "and", [ false, 3, [ 0, [ 0, 30, false ], null ], 2000.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT COUNT ( DISTINCT keyword ) FROM keyword;", "query_toks": [ "SELECT", "COUNT", "(", "DISTINCT", "keyword", ")", "FROM", "keyword", ";" ], "query_toks_no_value": [ "select", "count", "(", "distinct", "keyword", ")", "from", "keyword" ], "question": "retorne-me o número de palavras-chave.", "question_toks": [ "retorne-me", "o", "número", "de", "palavras-chave", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 7 ] ], "conds": [] }, "select": [ false, [ [ 3, [ 0, [ 0, 19, true ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT COUNT ( DISTINCT t1.keyword ) FROM DOMAIN AS t3 JOIN domain_keyword AS t2 ON t3.did = t2.did JOIN keyword AS t1 ON t1.kid = t2.kid WHERE t3.name = \"Databases\";", "query_toks": [ "SELECT", "COUNT", "(", "DISTINCT", "t1.keyword", ")", "FROM", "DOMAIN", "AS", "t3", "JOIN", "domain_keyword", "AS", "t2", "ON", "t3.did", "=", "t2.did", "JOIN", "keyword", "AS", "t1", "ON", "t1.kid", "=", "t2.kid", "WHERE", "t3.name", "=", "``", "Databases", "''", ";" ], "query_toks_no_value": [ "select", "count", "(", "distinct", "t1", ".", "keyword", ")", "from", "domain", "as", "t3", "join", "domain_keyword", "as", "t2", "on", "t3", ".", "did", "=", "t2", ".", "did", "join", "keyword", "as", "t1", "on", "t1", ".", "kid", "=", "t2", ".", "kid", "where", "t3", ".", "name", "=", "value" ], "question": "retorne-me o número de palavras-chave na área Bancos de dados.", "question_toks": [ "retorne-me", "o", "número", "de", "palavras-chave", "na", "área", "Bancos", "de", "dados", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ], [ "table_unit", 8 ], [ "table_unit", 7 ] ], "conds": [ [ false, 2, [ 0, [ 0, 8, false ], null ], [ 0, 21, false ], null ], "and", [ false, 2, [ 0, [ 0, 20, false ], null ], [ 0, 22, false ], null ] ] }, "select": [ false, [ [ 3, [ 0, [ 0, 19, true ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 9, false ], null ], "\"Databases\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT COUNT ( DISTINCT t3.title ) FROM publication_keyword AS t2 JOIN keyword AS t1 ON t2.kid = t1.kid JOIN publication AS t3 ON t3.pid = t2.pid WHERE t1.keyword = \"Natural Language\";", "query_toks": [ "SELECT", "COUNT", "(", "DISTINCT", "t3.title", ")", "FROM", "publication_keyword", "AS", "t2", "JOIN", "keyword", "AS", "t1", "ON", "t2.kid", "=", "t1.kid", "JOIN", "publication", "AS", "t3", "ON", "t3.pid", "=", "t2.pid", "WHERE", "t1.keyword", "=", "``", "Natural", "Language", "''", ";" ], "query_toks_no_value": [ "select", "count", "(", "distinct", "t3", ".", "title", ")", "from", "publication_keyword", "as", "t2", "join", "keyword", "as", "t1", "on", "t2", ".", "kid", "=", "t1", ".", "kid", "join", "publication", "as", "t3", "on", "t3", ".", "pid", "=", "t2", ".", "pid", "where", "t1", ".", "keyword", "=", "value" ], "question": "retorne-me o número de artigos que contenham a palavra-chave \"Linguagem Natural\".", "question_toks": [ "retorne-me", "o", "número", "de", "artigos", "que", "contenham", "a", "palavra-chave", "\"", "Linguagem", "Natural", "\"", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 12 ], [ "table_unit", 7 ], [ "table_unit", 9 ] ], "conds": [ [ false, 2, [ 0, [ 0, 38, false ], null ], [ 0, 20, false ], null ], "and", [ false, 2, [ 0, [ 0, 27, false ], null ], [ 0, 37, false ], null ] ] }, "select": [ false, [ [ 3, [ 0, [ 0, 29, true ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 19, false ], null ], "\"Natural Language\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT COUNT ( DISTINCT t1.keyword ) FROM publication_keyword AS t3 JOIN keyword AS t1 ON t3.kid = t1.kid JOIN publication AS t2 ON t2.pid = t3.pid WHERE t2.title = \"Making database systems usable\";", "query_toks": [ "SELECT", "COUNT", "(", "DISTINCT", "t1.keyword", ")", "FROM", "publication_keyword", "AS", "t3", "JOIN", "keyword", "AS", "t1", "ON", "t3.kid", "=", "t1.kid", "JOIN", "publication", "AS", "t2", "ON", "t2.pid", "=", "t3.pid", "WHERE", "t2.title", "=", "``", "Making", "database", "systems", "usable", "''", ";" ], "query_toks_no_value": [ "select", "count", "(", "distinct", "t1", ".", "keyword", ")", "from", "publication_keyword", "as", "t3", "join", "keyword", "as", "t1", "on", "t3", ".", "kid", "=", "t1", ".", "kid", "join", "publication", "as", "t2", "on", "t2", ".", "pid", "=", "t3", ".", "pid", "where", "t2", ".", "title", "=", "value" ], "question": "retorne-me o número das palavras-chave de \"Tornando os sistemas de banco de dados utilizáveis\".", "question_toks": [ "retorne-me", "o", "número", "das", "palavras-chave", "de", "\"", "Tornando", "os", "sistemas", "de", "banco", "de", "dados", "utilizáveis", "\"", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 12 ], [ "table_unit", 7 ], [ "table_unit", 9 ] ], "conds": [ [ false, 2, [ 0, [ 0, 38, false ], null ], [ 0, 20, false ], null ], "and", [ false, 2, [ 0, [ 0, 27, false ], null ], [ 0, 37, false ], null ] ] }, "select": [ false, [ [ 3, [ 0, [ 0, 19, true ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 29, false ], null ], "\"Making database systems usable\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT COUNT ( DISTINCT t1.keyword ) FROM publication_keyword AS t5 JOIN keyword AS t1 ON t5.kid = t1.kid JOIN publication AS t3 ON t3.pid = t5.pid JOIN writes AS t4 ON t4.pid = t3.pid JOIN author AS t2 ON t4.aid = t2.aid WHERE t2.name = \"H. V. Jagadish\";", "query_toks": [ "SELECT", "COUNT", "(", "DISTINCT", "t1.keyword", ")", "FROM", "publication_keyword", "AS", "t5", "JOIN", "keyword", "AS", "t1", "ON", "t5.kid", "=", "t1.kid", "JOIN", "publication", "AS", "t3", "ON", "t3.pid", "=", "t5.pid", "JOIN", "writes", "AS", "t4", "ON", "t4.pid", "=", "t3.pid", "JOIN", "author", "AS", "t2", "ON", "t4.aid", "=", "t2.aid", "WHERE", "t2.name", "=", "``", "H.", "V.", "Jagadish", "''", ";" ], "query_toks_no_value": [ "select", "count", "(", "distinct", "t1", ".", "keyword", ")", "from", "publication_keyword", "as", "t5", "join", "keyword", "as", "t1", "on", "t5", ".", "kid", "=", "t1", ".", "kid", "join", "publication", "as", "t3", "on", "t3", ".", "pid", "=", "t5", ".", "pid", "join", "writes", "as", "t4", "on", "t4", ".", "pid", "=", "t3", ".", "pid", "join", "author", "as", "t2", "on", "t4", ".", "aid", "=", "t2", ".", "aid", "where", "t2", ".", "name", "=", "value" ], "question": "retorne-me o número de palavras-chave relacionadas a \"H. V. Jagadish\".", "question_toks": [ "retorne-me", "o", "número", "de", "palavras-chave", "relacionadas", "a", "\"", "H.", "V.", "Jagadish", "\"", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 12 ], [ "table_unit", 7 ], [ "table_unit", 9 ], [ "table_unit", 13 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 38, false ], null ], [ 0, 20, false ], null ], "and", [ false, 2, [ 0, [ 0, 27, false ], null ], [ 0, 37, false ], null ], "and", [ false, 2, [ 0, [ 0, 40, false ], null ], [ 0, 27, false ], null ], "and", [ false, 2, [ 0, [ 0, 39, false ], null ], [ 0, 1, false ], null ] ] }, "select": [ false, [ [ 3, [ 0, [ 0, 19, true ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], "\"H. V. Jagadish\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT COUNT ( DISTINCT t1.keyword ) FROM publication_keyword AS t4 JOIN keyword AS t1 ON t4.kid = t1.kid JOIN publication AS t3 ON t3.pid = t4.pid JOIN conference AS t2 ON t3.cid = t2.cid WHERE t2.name = \"VLDB\";", "query_toks": [ "SELECT", "COUNT", "(", "DISTINCT", "t1.keyword", ")", "FROM", "publication_keyword", "AS", "t4", "JOIN", "keyword", "AS", "t1", "ON", "t4.kid", "=", "t1.kid", "JOIN", "publication", "AS", "t3", "ON", "t3.pid", "=", "t4.pid", "JOIN", "conference", "AS", "t2", "ON", "t3.cid", "=", "t2.cid", "WHERE", "t2.name", "=", "``", "VLDB", "''", ";" ], "query_toks_no_value": [ "select", "count", "(", "distinct", "t1", ".", "keyword", ")", "from", "publication_keyword", "as", "t4", "join", "keyword", "as", "t1", "on", "t4", ".", "kid", "=", "t1", ".", "kid", "join", "publication", "as", "t3", "on", "t3", ".", "pid", "=", "t4", ".", "pid", "join", "conference", "as", "t2", "on", "t3", ".", "cid", "=", "t2", ".", "cid", "where", "t2", ".", "name", "=", "value" ], "question": "retorne-me o número de palavras-chave na conferência VLDB.", "question_toks": [ "retorne-me", "o", "número", "de", "palavras-chave", "na", "conferência", "VLDB", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 12 ], [ "table_unit", 7 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 38, false ], null ], [ 0, 20, false ], null ], "and", [ false, 2, [ 0, [ 0, 27, false ], null ], [ 0, 37, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 5, false ], null ] ] }, "select": [ false, [ [ 3, [ 0, [ 0, 19, true ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 7, false ], null ], "\"VLDB\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT COUNT ( DISTINCT t1.keyword ) FROM publication_keyword AS t4 JOIN keyword AS t1 ON t4.kid = t1.kid JOIN publication AS t2 ON t2.pid = t4.pid JOIN journal AS t3 ON t2.jid = t3.jid WHERE t3.name = \"PVLDB\";", "query_toks": [ "SELECT", "COUNT", "(", "DISTINCT", "t1.keyword", ")", "FROM", "publication_keyword", "AS", "t4", "JOIN", "keyword", "AS", "t1", "ON", "t4.kid", "=", "t1.kid", "JOIN", "publication", "AS", "t2", "ON", "t2.pid", "=", "t4.pid", "JOIN", "journal", "AS", "t3", "ON", "t2.jid", "=", "t3.jid", "WHERE", "t3.name", "=", "``", "PVLDB", "''", ";" ], "query_toks_no_value": [ "select", "count", "(", "distinct", "t1", ".", "keyword", ")", "from", "publication_keyword", "as", "t4", "join", "keyword", "as", "t1", "on", "t4", ".", "kid", "=", "t1", ".", "kid", "join", "publication", "as", "t2", "on", "t2", ".", "pid", "=", "t4", ".", "pid", "join", "journal", "as", "t3", "on", "t2", ".", "jid", "=", "t3", ".", "jid", "where", "t3", ".", "name", "=", "value" ], "question": "retorne-me o número de palavras-chave em PVLDB.", "question_toks": [ "retorne-me", "o", "número", "de", "palavras-chave", "em", "PVLDB", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 12 ], [ "table_unit", 7 ], [ "table_unit", 9 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 38, false ], null ], [ 0, 20, false ], null ], "and", [ false, 2, [ 0, [ 0, 27, false ], null ], [ 0, 37, false ], null ], "and", [ false, 2, [ 0, [ 0, 26, false ], null ], [ 0, 15, false ], null ] ] }, "select": [ false, [ [ 3, [ 0, [ 0, 19, true ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 16, false ], null ], "\"PVLDB\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT COUNT ( DISTINCT t1.keyword ) FROM organization AS t6 JOIN author AS t2 ON t6.oid = t2.oid JOIN writes AS t4 ON t4.aid = t2.aid JOIN publication AS t5 ON t4.pid = t5.pid JOIN publication_keyword AS t3 ON t5.pid = t3.pid JOIN keyword AS t1 ON t3.kid = t1.kid WHERE t6.name = \"University of Michigan\";", "query_toks": [ "SELECT", "COUNT", "(", "DISTINCT", "t1.keyword", ")", "FROM", "organization", "AS", "t6", "JOIN", "author", "AS", "t2", "ON", "t6.oid", "=", "t2.oid", "JOIN", "writes", "AS", "t4", "ON", "t4.aid", "=", "t2.aid", "JOIN", "publication", "AS", "t5", "ON", "t4.pid", "=", "t5.pid", "JOIN", "publication_keyword", "AS", "t3", "ON", "t5.pid", "=", "t3.pid", "JOIN", "keyword", "AS", "t1", "ON", "t3.kid", "=", "t1.kid", "WHERE", "t6.name", "=", "``", "University", "of", "Michigan", "''", ";" ], "query_toks_no_value": [ "select", "count", "(", "distinct", "t1", ".", "keyword", ")", "from", "organization", "as", "t6", "join", "author", "as", "t2", "on", "t6", ".", "oid", "=", "t2", ".", "oid", "join", "writes", "as", "t4", "on", "t4", ".", "aid", "=", "t2", ".", "aid", "join", "publication", "as", "t5", "on", "t4", ".", "pid", "=", "t5", ".", "pid", "join", "publication_keyword", "as", "t3", "on", "t5", ".", "pid", "=", "t3", ".", "pid", "join", "keyword", "as", "t1", "on", "t3", ".", "kid", "=", "t1", ".", "kid", "where", "t6", ".", "name", "=", "value" ], "question": "retorne-me o número de palavras-chave nos artigos da \"Universidade de Michigan\".", "question_toks": [ "retorne-me", "o", "número", "de", "palavras-chave", "nos", "artigos", "da", "\"", "Universidade", "de", "Michigan", "\"", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 11 ], [ "table_unit", 0 ], [ "table_unit", 13 ], [ "table_unit", 9 ], [ "table_unit", 12 ], [ "table_unit", 7 ] ], "conds": [ [ false, 2, [ 0, [ 0, 36, false ], null ], [ 0, 4, false ], null ], "and", [ false, 2, [ 0, [ 0, 39, false ], null ], [ 0, 1, false ], null ], "and", [ false, 2, [ 0, [ 0, 40, false ], null ], [ 0, 27, false ], null ], "and", [ false, 2, [ 0, [ 0, 27, false ], null ], [ 0, 37, false ], null ], "and", [ false, 2, [ 0, [ 0, 38, false ], null ], [ 0, 20, false ], null ] ] }, "select": [ false, [ [ 3, [ 0, [ 0, 19, true ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 35, false ], null ], "\"University of Michigan\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT COUNT ( DISTINCT t5.title ) FROM publication_keyword AS t3 JOIN keyword AS t1 ON t3.kid = t1.kid JOIN publication AS t5 ON t5.pid = t3.pid JOIN writes AS t4 ON t4.pid = t5.pid JOIN author AS t2 ON t4.aid = t2.aid WHERE t2.name = \"H. V. Jagadish\" AND t1.keyword = \"User Study\";", "query_toks": [ "SELECT", "COUNT", "(", "DISTINCT", "t5.title", ")", "FROM", "publication_keyword", "AS", "t3", "JOIN", "keyword", "AS", "t1", "ON", "t3.kid", "=", "t1.kid", "JOIN", "publication", "AS", "t5", "ON", "t5.pid", "=", "t3.pid", "JOIN", "writes", "AS", "t4", "ON", "t4.pid", "=", "t5.pid", "JOIN", "author", "AS", "t2", "ON", "t4.aid", "=", "t2.aid", "WHERE", "t2.name", "=", "``", "H.", "V.", "Jagadish", "''", "AND", "t1.keyword", "=", "``", "User", "Study", "''", ";" ], "query_toks_no_value": [ "select", "count", "(", "distinct", "t5", ".", "title", ")", "from", "publication_keyword", "as", "t3", "join", "keyword", "as", "t1", "on", "t3", ".", "kid", "=", "t1", ".", "kid", "join", "publication", "as", "t5", "on", "t5", ".", "pid", "=", "t3", ".", "pid", "join", "writes", "as", "t4", "on", "t4", ".", "pid", "=", "t5", ".", "pid", "join", "author", "as", "t2", "on", "t4", ".", "aid", "=", "t2", ".", "aid", "where", "t2", ".", "name", "=", "value", "and", "t1", ".", "keyword", "=", "value" ], "question": "retorne-me o número dos artigos de \"H. V. Jagadish\" contendo a palavra-chave \"Estudo do usuário\".", "question_toks": [ "retorne-me", "o", "número", "dos", "artigos", "de", "\"", "H.", "V.", "Jagadish", "\"", "contendo", "a", "palavra-chave", "\"", "Estudo", "do", "usuário", "\"", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 12 ], [ "table_unit", 7 ], [ "table_unit", 9 ], [ "table_unit", 13 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 38, false ], null ], [ 0, 20, false ], null ], "and", [ false, 2, [ 0, [ 0, 27, false ], null ], [ 0, 37, false ], null ], "and", [ false, 2, [ 0, [ 0, 40, false ], null ], [ 0, 27, false ], null ], "and", [ false, 2, [ 0, [ 0, 39, false ], null ], [ 0, 1, false ], null ] ] }, "select": [ false, [ [ 3, [ 0, [ 0, 29, true ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], "\"H. V. Jagadish\"", null ], "and", [ false, 2, [ 0, [ 0, 19, false ], null ], "\"User Study\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT COUNT ( DISTINCT t4.title ) FROM publication_keyword AS t2 JOIN keyword AS t1 ON t2.kid = t1.kid JOIN publication AS t4 ON t4.pid = t2.pid JOIN journal AS t3 ON t4.jid = t3.jid WHERE t3.name = \"PVLDB\" AND t1.keyword = \"Keyword search\";", "query_toks": [ "SELECT", "COUNT", "(", "DISTINCT", "t4.title", ")", "FROM", "publication_keyword", "AS", "t2", "JOIN", "keyword", "AS", "t1", "ON", "t2.kid", "=", "t1.kid", "JOIN", "publication", "AS", "t4", "ON", "t4.pid", "=", "t2.pid", "JOIN", "journal", "AS", "t3", "ON", "t4.jid", "=", "t3.jid", "WHERE", "t3.name", "=", "``", "PVLDB", "''", "AND", "t1.keyword", "=", "``", "Keyword", "search", "''", ";" ], "query_toks_no_value": [ "select", "count", "(", "distinct", "t4", ".", "title", ")", "from", "publication_keyword", "as", "t2", "join", "keyword", "as", "t1", "on", "t2", ".", "kid", "=", "t1", ".", "kid", "join", "publication", "as", "t4", "on", "t4", ".", "pid", "=", "t2", ".", "pid", "join", "journal", "as", "t3", "on", "t4", ".", "jid", "=", "t3", ".", "jid", "where", "t3", ".", "name", "=", "value", "and", "t1", ".", "keyword", "=", "value" ], "question": "retorne-me o número de artigos em PVLDB contendo a palavra-chave \"Busca por palavra-chave\".", "question_toks": [ "retorne-me", "o", "número", "de", "artigos", "em", "PVLDB", "contendo", "a", "palavra-chave", "\"", "Busca", "por", "palavra-chave", "\"", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 12 ], [ "table_unit", 7 ], [ "table_unit", 9 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 38, false ], null ], [ 0, 20, false ], null ], "and", [ false, 2, [ 0, [ 0, 27, false ], null ], [ 0, 37, false ], null ], "and", [ false, 2, [ 0, [ 0, 26, false ], null ], [ 0, 15, false ], null ] ] }, "select": [ false, [ [ 3, [ 0, [ 0, 29, true ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 16, false ], null ], "\"PVLDB\"", null ], "and", [ false, 2, [ 0, [ 0, 19, false ], null ], "\"Keyword search\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT COUNT ( DISTINCT t4.title ) FROM publication_keyword AS t3 JOIN keyword AS t1 ON t3.kid = t1.kid JOIN publication AS t4 ON t4.pid = t3.pid JOIN conference AS t2 ON t4.cid = t2.cid WHERE t2.name = \"VLDB\" AND t1.keyword = \"Information Retrieval\";", "query_toks": [ "SELECT", "COUNT", "(", "DISTINCT", "t4.title", ")", "FROM", "publication_keyword", "AS", "t3", "JOIN", "keyword", "AS", "t1", "ON", "t3.kid", "=", "t1.kid", "JOIN", "publication", "AS", "t4", "ON", "t4.pid", "=", "t3.pid", "JOIN", "conference", "AS", "t2", "ON", "t4.cid", "=", "t2.cid", "WHERE", "t2.name", "=", "``", "VLDB", "''", "AND", "t1.keyword", "=", "``", "Information", "Retrieval", "''", ";" ], "query_toks_no_value": [ "select", "count", "(", "distinct", "t4", ".", "title", ")", "from", "publication_keyword", "as", "t3", "join", "keyword", "as", "t1", "on", "t3", ".", "kid", "=", "t1", ".", "kid", "join", "publication", "as", "t4", "on", "t4", ".", "pid", "=", "t3", ".", "pid", "join", "conference", "as", "t2", "on", "t4", ".", "cid", "=", "t2", ".", "cid", "where", "t2", ".", "name", "=", "value", "and", "t1", ".", "keyword", "=", "value" ], "question": "retorne-me o número de artigos na conferência VLDB contendo a palavra-chave \"Information Retrieval\".", "question_toks": [ "retorne-me", "o", "número", "de", "artigos", "na", "conferência", "VLDB", "contendo", "a", "palavra-chave", "\"", "Information", "Retrieval", "\"", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 12 ], [ "table_unit", 7 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 38, false ], null ], [ 0, 20, false ], null ], "and", [ false, 2, [ 0, [ 0, 27, false ], null ], [ 0, 37, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 5, false ], null ] ] }, "select": [ false, [ [ 3, [ 0, [ 0, 29, true ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 7, false ], null ], "\"VLDB\"", null ], "and", [ false, 2, [ 0, [ 0, 19, false ], null ], "\"Information Retrieval\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT COUNT ( DISTINCT t2.name ) FROM publication_keyword AS t5 JOIN keyword AS t1 ON t5.kid = t1.kid JOIN publication AS t3 ON t3.pid = t5.pid JOIN writes AS t4 ON t4.pid = t3.pid JOIN author AS t2 ON t4.aid = t2.aid WHERE t1.keyword = \"Relational Database\";", "query_toks": [ "SELECT", "COUNT", "(", "DISTINCT", "t2.name", ")", "FROM", "publication_keyword", "AS", "t5", "JOIN", "keyword", "AS", "t1", "ON", "t5.kid", "=", "t1.kid", "JOIN", "publication", "AS", "t3", "ON", "t3.pid", "=", "t5.pid", "JOIN", "writes", "AS", "t4", "ON", "t4.pid", "=", "t3.pid", "JOIN", "author", "AS", "t2", "ON", "t4.aid", "=", "t2.aid", "WHERE", "t1.keyword", "=", "``", "Relational", "Database", "''", ";" ], "query_toks_no_value": [ "select", "count", "(", "distinct", "t2", ".", "name", ")", "from", "publication_keyword", "as", "t5", "join", "keyword", "as", "t1", "on", "t5", ".", "kid", "=", "t1", ".", "kid", "join", "publication", "as", "t3", "on", "t3", ".", "pid", "=", "t5", ".", "pid", "join", "writes", "as", "t4", "on", "t4", ".", "pid", "=", "t3", ".", "pid", "join", "author", "as", "t2", "on", "t4", ".", "aid", "=", "t2", ".", "aid", "where", "t1", ".", "keyword", "=", "value" ], "question": "retorne-me o número de autores que possuem artigos contendo a palavra-chave \"Banco de dados relacional\".", "question_toks": [ "retorne-me", "o", "número", "de", "autores", "que", "possuem", "artigos", "contendo", "a", "palavra-chave", "\"", "Banco", "de", "dados", "relacional", "\"", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 12 ], [ "table_unit", 7 ], [ "table_unit", 9 ], [ "table_unit", 13 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 38, false ], null ], [ 0, 20, false ], null ], "and", [ false, 2, [ 0, [ 0, 27, false ], null ], [ 0, 37, false ], null ], "and", [ false, 2, [ 0, [ 0, 40, false ], null ], [ 0, 27, false ], null ], "and", [ false, 2, [ 0, [ 0, 39, false ], null ], [ 0, 1, false ], null ] ] }, "select": [ false, [ [ 3, [ 0, [ 0, 3, true ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 19, false ], null ], "\"Relational Database\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT SUM ( t3.citation_num ) FROM publication_keyword AS t2 JOIN keyword AS t1 ON t2.kid = t1.kid JOIN publication AS t3 ON t3.pid = t2.pid WHERE t1.keyword = \"Natural Language\";", "query_toks": [ "SELECT", "SUM", "(", "t3.citation_num", ")", "FROM", "publication_keyword", "AS", "t2", "JOIN", "keyword", "AS", "t1", "ON", "t2.kid", "=", "t1.kid", "JOIN", "publication", "AS", "t3", "ON", "t3.pid", "=", "t2.pid", "WHERE", "t1.keyword", "=", "``", "Natural", "Language", "''", ";" ], "query_toks_no_value": [ "select", "sum", "(", "t3", ".", "citation_num", ")", "from", "publication_keyword", "as", "t2", "join", "keyword", "as", "t1", "on", "t2", ".", "kid", "=", "t1", ".", "kid", "join", "publication", "as", "t3", "on", "t3", ".", "pid", "=", "t2", ".", "pid", "where", "t1", ".", "keyword", "=", "value" ], "question": "retorne-me o total de citações de artigos contendo a palavra-chave \"Linguagem Natural\"", "question_toks": [ "retorne-me", "o", "total", "de", "citações", "de", "artigos", "contendo", "a", "palavra-chave", "\"", "Linguagem", "Natural", "\"" ], "sql": { "from": { "table_units": [ [ "table_unit", 12 ], [ "table_unit", 7 ], [ "table_unit", 9 ] ], "conds": [ [ false, 2, [ 0, [ 0, 38, false ], null ], [ 0, 20, false ], null ], "and", [ false, 2, [ 0, [ 0, 27, false ], null ], [ 0, 37, false ], null ] ] }, "select": [ false, [ [ 4, [ 0, [ 0, 25, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 19, false ], null ], "\"Natural Language\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT COUNT ( DISTINCT name ) FROM organization;", "query_toks": [ "SELECT", "COUNT", "(", "DISTINCT", "name", ")", "FROM", "organization", ";" ], "query_toks_no_value": [ "select", "count", "(", "distinct", "name", ")", "from", "organization" ], "question": "me devolva o número das organizações.", "question_toks": [ "me", "devolva", "o", "número", "das", "organizações", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 11 ] ], "conds": [] }, "select": [ false, [ [ 3, [ 0, [ 0, 35, true ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT COUNT ( DISTINCT name ) FROM organization WHERE continent = \"North America\";", "query_toks": [ "SELECT", "COUNT", "(", "DISTINCT", "name", ")", "FROM", "organization", "WHERE", "continent", "=", "``", "North", "America", "''", ";" ], "query_toks_no_value": [ "select", "count", "(", "distinct", "name", ")", "from", "organization", "where", "continent", "=", "value" ], "question": "retorne-me o número das organizações na \"América do Norte\".", "question_toks": [ "retorne-me", "o", "número", "das", "organizações", "na", "\"", "América", "do", "Norte", "\"", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 11 ] ], "conds": [] }, "select": [ false, [ [ 3, [ 0, [ 0, 35, true ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 33, false ], null ], "\"North America\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT COUNT ( DISTINCT t2.name ) FROM domain_author AS t4 JOIN author AS t1 ON t4.aid = t1.aid JOIN DOMAIN AS t3 ON t3.did = t4.did JOIN organization AS t2 ON t2.oid = t1.oid WHERE t3.name = \"Databases\";", "query_toks": [ "SELECT", "COUNT", "(", "DISTINCT", "t2.name", ")", "FROM", "domain_author", "AS", "t4", "JOIN", "author", "AS", "t1", "ON", "t4.aid", "=", "t1.aid", "JOIN", "DOMAIN", "AS", "t3", "ON", "t3.did", "=", "t4.did", "JOIN", "organization", "AS", "t2", "ON", "t2.oid", "=", "t1.oid", "WHERE", "t3.name", "=", "``", "Databases", "''", ";" ], "query_toks_no_value": [ "select", "count", "(", "distinct", "t2", ".", "name", ")", "from", "domain_author", "as", "t4", "join", "author", "as", "t1", "on", "t4", ".", "aid", "=", "t1", ".", "aid", "join", "domain", "as", "t3", "on", "t3", ".", "did", "=", "t4", ".", "did", "join", "organization", "as", "t2", "on", "t2", ".", "oid", "=", "t1", ".", "oid", "where", "t3", ".", "name", "=", "value" ], "question": "retorne-me o número de organizações na área de Banco de Dados.", "question_toks": [ "retorne-me", "o", "número", "de", "organizações", "na", "área", "de", "Banco", "de", "Dados", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 3 ], [ "table_unit", 0 ], [ "table_unit", 2 ], [ "table_unit", 11 ] ], "conds": [ [ false, 2, [ 0, [ 0, 10, false ], null ], [ 0, 1, false ], null ], "and", [ false, 2, [ 0, [ 0, 8, false ], null ], [ 0, 11, false ], null ], "and", [ false, 2, [ 0, [ 0, 36, false ], null ], [ 0, 4, false ], null ] ] }, "select": [ false, [ [ 3, [ 0, [ 0, 35, true ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 9, false ], null ], "\"Databases\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT COUNT ( DISTINCT t2.name ) FROM domain_author AS t4 JOIN author AS t1 ON t4.aid = t1.aid JOIN DOMAIN AS t3 ON t3.did = t4.did JOIN organization AS t2 ON t2.oid = t1.oid WHERE t3.name = \"Databases\" AND t2.continent = \"North America\";", "query_toks": [ "SELECT", "COUNT", "(", "DISTINCT", "t2.name", ")", "FROM", "domain_author", "AS", "t4", "JOIN", "author", "AS", "t1", "ON", "t4.aid", "=", "t1.aid", "JOIN", "DOMAIN", "AS", "t3", "ON", "t3.did", "=", "t4.did", "JOIN", "organization", "AS", "t2", "ON", "t2.oid", "=", "t1.oid", "WHERE", "t3.name", "=", "``", "Databases", "''", "AND", "t2.continent", "=", "``", "North", "America", "''", ";" ], "query_toks_no_value": [ "select", "count", "(", "distinct", "t2", ".", "name", ")", "from", "domain_author", "as", "t4", "join", "author", "as", "t1", "on", "t4", ".", "aid", "=", "t1", ".", "aid", "join", "domain", "as", "t3", "on", "t3", ".", "did", "=", "t4", ".", "did", "join", "organization", "as", "t2", "on", "t2", ".", "oid", "=", "t1", ".", "oid", "where", "t3", ".", "name", "=", "value", "and", "t2", ".", "continent", "=", "value" ], "question": "retorne-me o número de organizações na área de Bancos de Dados localizadas na \"América do Norte\".", "question_toks": [ "retorne-me", "o", "número", "de", "organizações", "na", "área", "de", "Bancos", "de", "Dados", "localizadas", "na", "\"", "América", "do", "Norte", "\"", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 3 ], [ "table_unit", 0 ], [ "table_unit", 2 ], [ "table_unit", 11 ] ], "conds": [ [ false, 2, [ 0, [ 0, 10, false ], null ], [ 0, 1, false ], null ], "and", [ false, 2, [ 0, [ 0, 8, false ], null ], [ 0, 11, false ], null ], "and", [ false, 2, [ 0, [ 0, 36, false ], null ], [ 0, 4, false ], null ] ] }, "select": [ false, [ [ 3, [ 0, [ 0, 35, true ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 9, false ], null ], "\"Databases\"", null ], "and", [ false, 2, [ 0, [ 0, 33, false ], null ], "\"North America\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT COUNT ( DISTINCT t4.title ) FROM organization AS t2 JOIN author AS t1 ON t2.oid = t1.oid JOIN writes AS t3 ON t3.aid = t1.aid JOIN publication AS t4 ON t3.pid = t4.pid WHERE t2.name = \"University of Michigan\";", "query_toks": [ "SELECT", "COUNT", "(", "DISTINCT", "t4.title", ")", "FROM", "organization", "AS", "t2", "JOIN", "author", "AS", "t1", "ON", "t2.oid", "=", "t1.oid", "JOIN", "writes", "AS", "t3", "ON", "t3.aid", "=", "t1.aid", "JOIN", "publication", "AS", "t4", "ON", "t3.pid", "=", "t4.pid", "WHERE", "t2.name", "=", "``", "University", "of", "Michigan", "''", ";" ], "query_toks_no_value": [ "select", "count", "(", "distinct", "t4", ".", "title", ")", "from", "organization", "as", "t2", "join", "author", "as", "t1", "on", "t2", ".", "oid", "=", "t1", ".", "oid", "join", "writes", "as", "t3", "on", "t3", ".", "aid", "=", "t1", ".", "aid", "join", "publication", "as", "t4", "on", "t3", ".", "pid", "=", "t4", ".", "pid", "where", "t2", ".", "name", "=", "value" ], "question": "retorne-me o número de artigos em \"University of Michigan\".", "question_toks": [ "retorne-me", "o", "número", "de", "artigos", "em", "\"", "University", "of", "Michigan", "\"", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 11 ], [ "table_unit", 0 ], [ "table_unit", 13 ], [ "table_unit", 9 ] ], "conds": [ [ false, 2, [ 0, [ 0, 36, false ], null ], [ 0, 4, false ], null ], "and", [ false, 2, [ 0, [ 0, 39, false ], null ], [ 0, 1, false ], null ], "and", [ false, 2, [ 0, [ 0, 40, false ], null ], [ 0, 27, false ], null ] ] }, "select": [ false, [ [ 3, [ 0, [ 0, 29, true ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 35, false ], null ], "\"University of Michigan\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT COUNT ( DISTINCT t4.title ) FROM domain_author AS t6 JOIN author AS t1 ON t6.aid = t1.aid JOIN DOMAIN AS t3 ON t3.did = t6.did JOIN domain_publication AS t2 ON t3.did = t2.did JOIN organization AS t5 ON t5.oid = t1.oid JOIN publication AS t4 ON t4.pid = t2.pid WHERE t3.name = \"Databases\" AND t5.name = \"University of Michigan\";", "query_toks": [ "SELECT", "COUNT", "(", "DISTINCT", "t4.title", ")", "FROM", "domain_author", "AS", "t6", "JOIN", "author", "AS", "t1", "ON", "t6.aid", "=", "t1.aid", "JOIN", "DOMAIN", "AS", "t3", "ON", "t3.did", "=", "t6.did", "JOIN", "domain_publication", "AS", "t2", "ON", "t3.did", "=", "t2.did", "JOIN", "organization", "AS", "t5", "ON", "t5.oid", "=", "t1.oid", "JOIN", "publication", "AS", "t4", "ON", "t4.pid", "=", "t2.pid", "WHERE", "t3.name", "=", "``", "Databases", "''", "AND", "t5.name", "=", "``", "University", "of", "Michigan", "''", ";" ], "query_toks_no_value": [ "select", "count", "(", "distinct", "t4", ".", "title", ")", "from", "domain_author", "as", "t6", "join", "author", "as", "t1", "on", "t6", ".", "aid", "=", "t1", ".", "aid", "join", "domain", "as", "t3", "on", "t3", ".", "did", "=", "t6", ".", "did", "join", "domain_publication", "as", "t2", "on", "t3", ".", "did", "=", "t2", ".", "did", "join", "organization", "as", "t5", "on", "t5", ".", "oid", "=", "t1", ".", "oid", "join", "publication", "as", "t4", "on", "t4", ".", "pid", "=", "t2", ".", "pid", "where", "t3", ".", "name", "=", "value", "and", "t5", ".", "name", "=", "value" ], "question": "retorne-me o número de artigos em \"University of Michigan\" na área de bancos de dados", "question_toks": [ "retorne-me", "o", "número", "de", "artigos", "em", "\"", "University", "of", "Michigan", "\"", "na", "área", "de", "bancos", "de", "dados" ], "sql": { "from": { "table_units": [ [ "table_unit", 3 ], [ "table_unit", 0 ], [ "table_unit", 2 ], [ "table_unit", 10 ], [ "table_unit", 11 ], [ "table_unit", 9 ] ], "conds": [ [ false, 2, [ 0, [ 0, 10, false ], null ], [ 0, 1, false ], null ], "and", [ false, 2, [ 0, [ 0, 8, false ], null ], [ 0, 11, false ], null ], "and", [ false, 2, [ 0, [ 0, 8, false ], null ], [ 0, 31, false ], null ], "and", [ false, 2, [ 0, [ 0, 36, false ], null ], [ 0, 4, false ], null ], "and", [ false, 2, [ 0, [ 0, 27, false ], null ], [ 0, 32, false ], null ] ] }, "select": [ false, [ [ 3, [ 0, [ 0, 29, true ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 9, false ], null ], "\"Databases\"", null ], "and", [ false, 2, [ 0, [ 0, 35, false ], null ], "\"University of Michigan\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT COUNT ( DISTINCT t4.title ) FROM organization AS t2 JOIN author AS t1 ON t2.oid = t1.oid JOIN writes AS t3 ON t3.aid = t1.aid JOIN publication AS t4 ON t3.pid = t4.pid WHERE t2.name = \"University of Michigan\" AND t4.year > 2000;", "query_toks": [ "SELECT", "COUNT", "(", "DISTINCT", "t4.title", ")", "FROM", "organization", "AS", "t2", "JOIN", "author", "AS", "t1", "ON", "t2.oid", "=", "t1.oid", "JOIN", "writes", "AS", "t3", "ON", "t3.aid", "=", "t1.aid", "JOIN", "publication", "AS", "t4", "ON", "t3.pid", "=", "t4.pid", "WHERE", "t2.name", "=", "``", "University", "of", "Michigan", "''", "AND", "t4.year", ">", "2000", ";" ], "query_toks_no_value": [ "select", "count", "(", "distinct", "t4", ".", "title", ")", "from", "organization", "as", "t2", "join", "author", "as", "t1", "on", "t2", ".", "oid", "=", "t1", ".", "oid", "join", "writes", "as", "t3", "on", "t3", ".", "aid", "=", "t1", ".", "aid", "join", "publication", "as", "t4", "on", "t3", ".", "pid", "=", "t4", ".", "pid", "where", "t2", ".", "name", "=", "value", "and", "t4", ".", "year", ">", "value" ], "question": "retorne-me o número de artigos após 2000 na \"Universidade de Michigan\".", "question_toks": [ "retorne-me", "o", "número", "de", "artigos", "após", "2000", "na", "\"", "Universidade", "de", "Michigan", "\"", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 11 ], [ "table_unit", 0 ], [ "table_unit", 13 ], [ "table_unit", 9 ] ], "conds": [ [ false, 2, [ 0, [ 0, 36, false ], null ], [ 0, 4, false ], null ], "and", [ false, 2, [ 0, [ 0, 39, false ], null ], [ 0, 1, false ], null ], "and", [ false, 2, [ 0, [ 0, 40, false ], null ], [ 0, 27, false ], null ] ] }, "select": [ false, [ [ 3, [ 0, [ 0, 29, true ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 35, false ], null ], "\"University of Michigan\"", null ], "and", [ false, 3, [ 0, [ 0, 30, false ], null ], 2000.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT COUNT ( DISTINCT t5.title ) FROM organization AS t3 JOIN author AS t1 ON t3.oid = t1.oid JOIN writes AS t4 ON t4.aid = t1.aid JOIN publication AS t5 ON t4.pid = t5.pid JOIN conference AS t2 ON t5.cid = t2.cid WHERE t2.name = \"VLDB\" AND t3.name = \"University of Michigan\";", "query_toks": [ "SELECT", "COUNT", "(", "DISTINCT", "t5.title", ")", "FROM", "organization", "AS", "t3", "JOIN", "author", "AS", "t1", "ON", "t3.oid", "=", "t1.oid", "JOIN", "writes", "AS", "t4", "ON", "t4.aid", "=", "t1.aid", "JOIN", "publication", "AS", "t5", "ON", "t4.pid", "=", "t5.pid", "JOIN", "conference", "AS", "t2", "ON", "t5.cid", "=", "t2.cid", "WHERE", "t2.name", "=", "``", "VLDB", "''", "AND", "t3.name", "=", "``", "University", "of", "Michigan", "''", ";" ], "query_toks_no_value": [ "select", "count", "(", "distinct", "t5", ".", "title", ")", "from", "organization", "as", "t3", "join", "author", "as", "t1", "on", "t3", ".", "oid", "=", "t1", ".", "oid", "join", "writes", "as", "t4", "on", "t4", ".", "aid", "=", "t1", ".", "aid", "join", "publication", "as", "t5", "on", "t4", ".", "pid", "=", "t5", ".", "pid", "join", "conference", "as", "t2", "on", "t5", ".", "cid", "=", "t2", ".", "cid", "where", "t2", ".", "name", "=", "value", "and", "t3", ".", "name", "=", "value" ], "question": "retorne-me o número de artigos na conferência VLDB na \"University of Michigan\".", "question_toks": [ "retorne-me", "o", "número", "de", "artigos", "na", "conferência", "VLDB", "na", "\"", "University", "of", "Michigan", "\"", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 11 ], [ "table_unit", 0 ], [ "table_unit", 13 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 36, false ], null ], [ 0, 4, false ], null ], "and", [ false, 2, [ 0, [ 0, 39, false ], null ], [ 0, 1, false ], null ], "and", [ false, 2, [ 0, [ 0, 40, false ], null ], [ 0, 27, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 5, false ], null ] ] }, "select": [ false, [ [ 3, [ 0, [ 0, 29, true ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 7, false ], null ], "\"VLDB\"", null ], "and", [ false, 2, [ 0, [ 0, 35, false ], null ], "\"University of Michigan\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT COUNT ( DISTINCT t5.title ) FROM organization AS t2 JOIN author AS t1 ON t2.oid = t1.oid JOIN writes AS t4 ON t4.aid = t1.aid JOIN publication AS t5 ON t4.pid = t5.pid JOIN journal AS t3 ON t5.jid = t3.jid WHERE t3.name = \"PVLDB\" AND t2.name = \"University of Michigan\";", "query_toks": [ "SELECT", "COUNT", "(", "DISTINCT", "t5.title", ")", "FROM", "organization", "AS", "t2", "JOIN", "author", "AS", "t1", "ON", "t2.oid", "=", "t1.oid", "JOIN", "writes", "AS", "t4", "ON", "t4.aid", "=", "t1.aid", "JOIN", "publication", "AS", "t5", "ON", "t4.pid", "=", "t5.pid", "JOIN", "journal", "AS", "t3", "ON", "t5.jid", "=", "t3.jid", "WHERE", "t3.name", "=", "``", "PVLDB", "''", "AND", "t2.name", "=", "``", "University", "of", "Michigan", "''", ";" ], "query_toks_no_value": [ "select", "count", "(", "distinct", "t5", ".", "title", ")", "from", "organization", "as", "t2", "join", "author", "as", "t1", "on", "t2", ".", "oid", "=", "t1", ".", "oid", "join", "writes", "as", "t4", "on", "t4", ".", "aid", "=", "t1", ".", "aid", "join", "publication", "as", "t5", "on", "t4", ".", "pid", "=", "t5", ".", "pid", "join", "journal", "as", "t3", "on", "t5", ".", "jid", "=", "t3", ".", "jid", "where", "t3", ".", "name", "=", "value", "and", "t2", ".", "name", "=", "value" ], "question": "retorne-me o número de artigos no PVLDB na \"University of Michigan\".", "question_toks": [ "retorne-me", "o", "número", "de", "artigos", "no", "PVLDB", "na", "\"", "University", "of", "Michigan", "\"", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 11 ], [ "table_unit", 0 ], [ "table_unit", 13 ], [ "table_unit", 9 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 36, false ], null ], [ 0, 4, false ], null ], "and", [ false, 2, [ 0, [ 0, 39, false ], null ], [ 0, 1, false ], null ], "and", [ false, 2, [ 0, [ 0, 40, false ], null ], [ 0, 27, false ], null ], "and", [ false, 2, [ 0, [ 0, 26, false ], null ], [ 0, 15, false ], null ] ] }, "select": [ false, [ [ 3, [ 0, [ 0, 29, true ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 16, false ], null ], "\"PVLDB\"", null ], "and", [ false, 2, [ 0, [ 0, 35, false ], null ], "\"University of Michigan\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT COUNT ( DISTINCT t5.title ) FROM organization AS t2 JOIN author AS t1 ON t2.oid = t1.oid JOIN writes AS t4 ON t4.aid = t1.aid JOIN publication AS t5 ON t4.pid = t5.pid JOIN journal AS t3 ON t5.jid = t3.jid WHERE t3.name = \"PVLDB\" AND t2.name = \"University of Michigan\" AND t5.year > 2000;", "query_toks": [ "SELECT", "COUNT", "(", "DISTINCT", "t5.title", ")", "FROM", "organization", "AS", "t2", "JOIN", "author", "AS", "t1", "ON", "t2.oid", "=", "t1.oid", "JOIN", "writes", "AS", "t4", "ON", "t4.aid", "=", "t1.aid", "JOIN", "publication", "AS", "t5", "ON", "t4.pid", "=", "t5.pid", "JOIN", "journal", "AS", "t3", "ON", "t5.jid", "=", "t3.jid", "WHERE", "t3.name", "=", "``", "PVLDB", "''", "AND", "t2.name", "=", "``", "University", "of", "Michigan", "''", "AND", "t5.year", ">", "2000", ";" ], "query_toks_no_value": [ "select", "count", "(", "distinct", "t5", ".", "title", ")", "from", "organization", "as", "t2", "join", "author", "as", "t1", "on", "t2", ".", "oid", "=", "t1", ".", "oid", "join", "writes", "as", "t4", "on", "t4", ".", "aid", "=", "t1", ".", "aid", "join", "publication", "as", "t5", "on", "t4", ".", "pid", "=", "t5", ".", "pid", "join", "journal", "as", "t3", "on", "t5", ".", "jid", "=", "t3", ".", "jid", "where", "t3", ".", "name", "=", "value", "and", "t2", ".", "name", "=", "value", "and", "t5", ".", "year", ">", "value" ], "question": "retorne-me o número de artigos no PVLDB após 2000 na \"University of Michigan\".", "question_toks": [ "retorne-me", "o", "número", "de", "artigos", "no", "PVLDB", "após", "2000", "na", "\"", "University", "of", "Michigan", "\"", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 11 ], [ "table_unit", 0 ], [ "table_unit", 13 ], [ "table_unit", 9 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 36, false ], null ], [ 0, 4, false ], null ], "and", [ false, 2, [ 0, [ 0, 39, false ], null ], [ 0, 1, false ], null ], "and", [ false, 2, [ 0, [ 0, 40, false ], null ], [ 0, 27, false ], null ], "and", [ false, 2, [ 0, [ 0, 26, false ], null ], [ 0, 15, false ], null ] ] }, "select": [ false, [ [ 3, [ 0, [ 0, 29, true ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 16, false ], null ], "\"PVLDB\"", null ], "and", [ false, 2, [ 0, [ 0, 35, false ], null ], "\"University of Michigan\"", null ], "and", [ false, 3, [ 0, [ 0, 30, false ], null ], 2000.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT SUM ( t4.citation_num ) FROM organization AS t2 JOIN author AS t1 ON t2.oid = t1.oid JOIN writes AS t3 ON t3.aid = t1.aid JOIN publication AS t4 ON t3.pid = t4.pid WHERE t2.name = \"University of Michigan\";", "query_toks": [ "SELECT", "SUM", "(", "t4.citation_num", ")", "FROM", "organization", "AS", "t2", "JOIN", "author", "AS", "t1", "ON", "t2.oid", "=", "t1.oid", "JOIN", "writes", "AS", "t3", "ON", "t3.aid", "=", "t1.aid", "JOIN", "publication", "AS", "t4", "ON", "t3.pid", "=", "t4.pid", "WHERE", "t2.name", "=", "``", "University", "of", "Michigan", "''", ";" ], "query_toks_no_value": [ "select", "sum", "(", "t4", ".", "citation_num", ")", "from", "organization", "as", "t2", "join", "author", "as", "t1", "on", "t2", ".", "oid", "=", "t1", ".", "oid", "join", "writes", "as", "t3", "on", "t3", ".", "aid", "=", "t1", ".", "aid", "join", "publication", "as", "t4", "on", "t3", ".", "pid", "=", "t4", ".", "pid", "where", "t2", ".", "name", "=", "value" ], "question": "retorne-me o total de citações dos artigos da \"University of Michigan\".", "question_toks": [ "retorne-me", "o", "total", "de", "citações", "dos", "artigos", "da", "\"", "University", "of", "Michigan", "\"", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 11 ], [ "table_unit", 0 ], [ "table_unit", 13 ], [ "table_unit", 9 ] ], "conds": [ [ false, 2, [ 0, [ 0, 36, false ], null ], [ 0, 4, false ], null ], "and", [ false, 2, [ 0, [ 0, 39, false ], null ], [ 0, 1, false ], null ], "and", [ false, 2, [ 0, [ 0, 40, false ], null ], [ 0, 27, false ], null ] ] }, "select": [ false, [ [ 4, [ 0, [ 0, 25, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 35, false ], null ], "\"University of Michigan\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT COUNT ( DISTINCT t1.name ) FROM organization AS t2 JOIN author AS t1 ON t2.oid = t1.oid WHERE t2.name = \"University of Michigan\";", "query_toks": [ "SELECT", "COUNT", "(", "DISTINCT", "t1.name", ")", "FROM", "organization", "AS", "t2", "JOIN", "author", "AS", "t1", "ON", "t2.oid", "=", "t1.oid", "WHERE", "t2.name", "=", "``", "University", "of", "Michigan", "''", ";" ], "query_toks_no_value": [ "select", "count", "(", "distinct", "t1", ".", "name", ")", "from", "organization", "as", "t2", "join", "author", "as", "t1", "on", "t2", ".", "oid", "=", "t1", ".", "oid", "where", "t2", ".", "name", "=", "value" ], "question": "retorne-me o número de pesquisadores na \"Universidade de Michigan\".", "question_toks": [ "retorne-me", "o", "número", "de", "pesquisadores", "na", "\"", "Universidade", "de", "Michigan", "\"", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 11 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 36, false ], null ], [ 0, 4, false ], null ] ] }, "select": [ false, [ [ 3, [ 0, [ 0, 3, true ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 35, false ], null ], "\"University of Michigan\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT COUNT ( DISTINCT t1.name ) FROM domain_author AS t4 JOIN author AS t1 ON t4.aid = t1.aid JOIN DOMAIN AS t3 ON t3.did = t4.did JOIN organization AS t2 ON t2.oid = t1.oid WHERE t3.name = \"Databases\" AND t2.name = \"University of Michigan\";", "query_toks": [ "SELECT", "COUNT", "(", "DISTINCT", "t1.name", ")", "FROM", "domain_author", "AS", "t4", "JOIN", "author", "AS", "t1", "ON", "t4.aid", "=", "t1.aid", "JOIN", "DOMAIN", "AS", "t3", "ON", "t3.did", "=", "t4.did", "JOIN", "organization", "AS", "t2", "ON", "t2.oid", "=", "t1.oid", "WHERE", "t3.name", "=", "``", "Databases", "''", "AND", "t2.name", "=", "``", "University", "of", "Michigan", "''", ";" ], "query_toks_no_value": [ "select", "count", "(", "distinct", "t1", ".", "name", ")", "from", "domain_author", "as", "t4", "join", "author", "as", "t1", "on", "t4", ".", "aid", "=", "t1", ".", "aid", "join", "domain", "as", "t3", "on", "t3", ".", "did", "=", "t4", ".", "did", "join", "organization", "as", "t2", "on", "t2", ".", "oid", "=", "t1", ".", "oid", "where", "t3", ".", "name", "=", "value", "and", "t2", ".", "name", "=", "value" ], "question": "retorne-me o número de pesquisadores na área de Bancos de Dados da \"University of Michigan\".", "question_toks": [ "retorne-me", "o", "número", "de", "pesquisadores", "na", "área", "de", "Bancos", "de", "Dados", "da", "\"", "University", "of", "Michigan", "\"", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 3 ], [ "table_unit", 0 ], [ "table_unit", 2 ], [ "table_unit", 11 ] ], "conds": [ [ false, 2, [ 0, [ 0, 10, false ], null ], [ 0, 1, false ], null ], "and", [ false, 2, [ 0, [ 0, 8, false ], null ], [ 0, 11, false ], null ], "and", [ false, 2, [ 0, [ 0, 36, false ], null ], [ 0, 4, false ], null ] ] }, "select": [ false, [ [ 3, [ 0, [ 0, 3, true ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 9, false ], null ], "\"Databases\"", null ], "and", [ false, 2, [ 0, [ 0, 35, false ], null ], "\"University of Michigan\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT COUNT ( DISTINCT t1.name ) FROM publication AS t4 JOIN journal AS t2 ON t4.jid = t2.jid JOIN writes AS t3 ON t3.pid = t4.pid JOIN author AS t1 ON t3.aid = t1.aid WHERE t2.name = \"PVLDB\";", "query_toks": [ "SELECT", "COUNT", "(", "DISTINCT", "t1.name", ")", "FROM", "publication", "AS", "t4", "JOIN", "journal", "AS", "t2", "ON", "t4.jid", "=", "t2.jid", "JOIN", "writes", "AS", "t3", "ON", "t3.pid", "=", "t4.pid", "JOIN", "author", "AS", "t1", "ON", "t3.aid", "=", "t1.aid", "WHERE", "t2.name", "=", "``", "PVLDB", "''", ";" ], "query_toks_no_value": [ "select", "count", "(", "distinct", "t1", ".", "name", ")", "from", "publication", "as", "t4", "join", "journal", "as", "t2", "on", "t4", ".", "jid", "=", "t2", ".", "jid", "join", "writes", "as", "t3", "on", "t3", ".", "pid", "=", "t4", ".", "pid", "join", "author", "as", "t1", "on", "t3", ".", "aid", "=", "t1", ".", "aid", "where", "t2", ".", "name", "=", "value" ], "question": "retorne-me o número de autores que possuem artigos no PVLDB.", "question_toks": [ "retorne-me", "o", "número", "de", "autores", "que", "possuem", "artigos", "no", "PVLDB", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 5 ], [ "table_unit", 13 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 26, false ], null ], [ 0, 15, false ], null ], "and", [ false, 2, [ 0, [ 0, 40, false ], null ], [ 0, 27, false ], null ], "and", [ false, 2, [ 0, [ 0, 39, false ], null ], [ 0, 1, false ], null ] ] }, "select": [ false, [ [ 3, [ 0, [ 0, 3, true ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 16, false ], null ], "\"PVLDB\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT COUNT ( DISTINCT t1.name ) FROM publication AS t4 JOIN conference AS t2 ON t4.cid = t2.cid JOIN writes AS t3 ON t3.pid = t4.pid JOIN author AS t1 ON t3.aid = t1.aid WHERE t2.name = \"VLDB\";", "query_toks": [ "SELECT", "COUNT", "(", "DISTINCT", "t1.name", ")", "FROM", "publication", "AS", "t4", "JOIN", "conference", "AS", "t2", "ON", "t4.cid", "=", "t2.cid", "JOIN", "writes", "AS", "t3", "ON", "t3.pid", "=", "t4.pid", "JOIN", "author", "AS", "t1", "ON", "t3.aid", "=", "t1.aid", "WHERE", "t2.name", "=", "``", "VLDB", "''", ";" ], "query_toks_no_value": [ "select", "count", "(", "distinct", "t1", ".", "name", ")", "from", "publication", "as", "t4", "join", "conference", "as", "t2", "on", "t4", ".", "cid", "=", "t2", ".", "cid", "join", "writes", "as", "t3", "on", "t3", ".", "pid", "=", "t4", ".", "pid", "join", "author", "as", "t1", "on", "t3", ".", "aid", "=", "t1", ".", "aid", "where", "t2", ".", "name", "=", "value" ], "question": "retorne-me o número de autores que têm artigos na conferência VLDB.", "question_toks": [ "retorne-me", "o", "número", "de", "autores", "que", "têm", "artigos", "na", "conferência", "VLDB", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ], [ "table_unit", 13 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 5, false ], null ], "and", [ false, 2, [ 0, [ 0, 40, false ], null ], [ 0, 27, false ], null ], "and", [ false, 2, [ 0, [ 0, 39, false ], null ], [ 0, 1, false ], null ] ] }, "select": [ false, [ [ 3, [ 0, [ 0, 3, true ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 7, false ], null ], "\"VLDB\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT COUNT ( DISTINCT t2.title ) FROM publication AS t2 JOIN journal AS t1 ON t2.jid = t1.jid WHERE t1.name = \"PVLDB\" AND t2.year < 2000;", "query_toks": [ "SELECT", "COUNT", "(", "DISTINCT", "t2.title", ")", "FROM", "publication", "AS", "t2", "JOIN", "journal", "AS", "t1", "ON", "t2.jid", "=", "t1.jid", "WHERE", "t1.name", "=", "``", "PVLDB", "''", "AND", "t2.year", "<", "2000", ";" ], "query_toks_no_value": [ "select", "count", "(", "distinct", "t2", ".", "title", ")", "from", "publication", "as", "t2", "join", "journal", "as", "t1", "on", "t2", ".", "jid", "=", "t1", ".", "jid", "where", "t1", ".", "name", "=", "value", "and", "t2", ".", "year", "<", "value" ], "question": "retorne-me o número de artigos publicados no PVLDB antes de 2000.", "question_toks": [ "retorne-me", "o", "número", "de", "artigos", "publicados", "no", "PVLDB", "antes", "de", "2000", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 26, false ], null ], [ 0, 15, false ], null ] ] }, "select": [ false, [ [ 3, [ 0, [ 0, 29, true ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 16, false ], null ], "\"PVLDB\"", null ], "and", [ false, 4, [ 0, [ 0, 30, false ], null ], 2000.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT COUNT ( DISTINCT t2.title ) FROM publication AS t2 JOIN conference AS t1 ON t2.cid = t1.cid WHERE t1.name = \"VLDB\" AND t2.year < 2000;", "query_toks": [ "SELECT", "COUNT", "(", "DISTINCT", "t2.title", ")", "FROM", "publication", "AS", "t2", "JOIN", "conference", "AS", "t1", "ON", "t2.cid", "=", "t1.cid", "WHERE", "t1.name", "=", "``", "VLDB", "''", "AND", "t2.year", "<", "2000", ";" ], "query_toks_no_value": [ "select", "count", "(", "distinct", "t2", ".", "title", ")", "from", "publication", "as", "t2", "join", "conference", "as", "t1", "on", "t2", ".", "cid", "=", "t1", ".", "cid", "where", "t1", ".", "name", "=", "value", "and", "t2", ".", "year", "<", "value" ], "question": "retorne-me o número de artigos publicados na conferência VLDB antes de 2000.", "question_toks": [ "retorne-me", "o", "número", "de", "artigos", "publicados", "na", "conferência", "VLDB", "antes", "de", "2000", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 5, false ], null ] ] }, "select": [ false, [ [ 3, [ 0, [ 0, 29, true ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 7, false ], null ], "\"VLDB\"", null ], "and", [ false, 4, [ 0, [ 0, 30, false ], null ], 2000.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT SUM ( t2.citation_num ) FROM publication AS t2 JOIN journal AS t1 ON t2.jid = t1.jid WHERE t1.name = \"PVLDB\";", "query_toks": [ "SELECT", "SUM", "(", "t2.citation_num", ")", "FROM", "publication", "AS", "t2", "JOIN", "journal", "AS", "t1", "ON", "t2.jid", "=", "t1.jid", "WHERE", "t1.name", "=", "``", "PVLDB", "''", ";" ], "query_toks_no_value": [ "select", "sum", "(", "t2", ".", "citation_num", ")", "from", "publication", "as", "t2", "join", "journal", "as", "t1", "on", "t2", ".", "jid", "=", "t1", ".", "jid", "where", "t1", ".", "name", "=", "value" ], "question": "retorne-me o total de citações de todos os artigos no PVLDB.", "question_toks": [ "retorne-me", "o", "total", "de", "citações", "de", "todos", "os", "artigos", "no", "PVLDB", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 26, false ], null ], [ 0, 15, false ], null ] ] }, "select": [ false, [ [ 4, [ 0, [ 0, 25, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 16, false ], null ], "\"PVLDB\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT t2.citation_num FROM publication AS t2 JOIN journal AS t1 ON t2.jid = t1.jid WHERE t1.name = \"PVLDB\";", "query_toks": [ "SELECT", "t2.citation_num", "FROM", "publication", "AS", "t2", "JOIN", "journal", "AS", "t1", "ON", "t2.jid", "=", "t1.jid", "WHERE", "t1.name", "=", "``", "PVLDB", "''", ";" ], "query_toks_no_value": [ "select", "t2", ".", "citation_num", "from", "publication", "as", "t2", "join", "journal", "as", "t1", "on", "t2", ".", "jid", "=", "t1", ".", "jid", "where", "t1", ".", "name", "=", "value" ], "question": "me devolva as citações de cada artigo no PVLDB.", "question_toks": [ "me", "devolva", "as", "citações", "de", "cada", "artigo", "no", "PVLDB", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 26, false ], null ], [ 0, 15, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 25, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 16, false ], null ], "\"PVLDB\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT SUM ( t2.citation_num ) FROM publication AS t2 JOIN journal AS t1 ON t2.jid = t1.jid WHERE t1.name = \"PVLDB\" AND t2.year = 2005;", "query_toks": [ "SELECT", "SUM", "(", "t2.citation_num", ")", "FROM", "publication", "AS", "t2", "JOIN", "journal", "AS", "t1", "ON", "t2.jid", "=", "t1.jid", "WHERE", "t1.name", "=", "``", "PVLDB", "''", "AND", "t2.year", "=", "2005", ";" ], "query_toks_no_value": [ "select", "sum", "(", "t2", ".", "citation_num", ")", "from", "publication", "as", "t2", "join", "journal", "as", "t1", "on", "t2", ".", "jid", "=", "t1", ".", "jid", "where", "t1", ".", "name", "=", "value", "and", "t2", ".", "year", "=", "value" ], "question": "retorne-me o total de citações de artigos no PVLDB em 2005.", "question_toks": [ "retorne-me", "o", "total", "de", "citações", "de", "artigos", "no", "PVLDB", "em", "2005", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 26, false ], null ], [ 0, 15, false ], null ] ] }, "select": [ false, [ [ 4, [ 0, [ 0, 25, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 16, false ], null ], "\"PVLDB\"", null ], "and", [ false, 2, [ 0, [ 0, 30, false ], null ], 2005.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT SUM ( t2.citation_num ) FROM publication AS t2 JOIN journal AS t1 ON t2.jid = t1.jid WHERE t1.name = \"PVLDB\" AND t2.year < 2005;", "query_toks": [ "SELECT", "SUM", "(", "t2.citation_num", ")", "FROM", "publication", "AS", "t2", "JOIN", "journal", "AS", "t1", "ON", "t2.jid", "=", "t1.jid", "WHERE", "t1.name", "=", "``", "PVLDB", "''", "AND", "t2.year", "<", "2005", ";" ], "query_toks_no_value": [ "select", "sum", "(", "t2", ".", "citation_num", ")", "from", "publication", "as", "t2", "join", "journal", "as", "t1", "on", "t2", ".", "jid", "=", "t1", ".", "jid", "where", "t1", ".", "name", "=", "value", "and", "t2", ".", "year", "<", "value" ], "question": "retorne-me o total de citações de artigos no PVLDB antes de 2005.", "question_toks": [ "retorne-me", "o", "total", "de", "citações", "de", "artigos", "no", "PVLDB", "antes", "de", "2005", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 26, false ], null ], [ 0, 15, false ], null ] ] }, "select": [ false, [ [ 4, [ 0, [ 0, 25, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 16, false ], null ], "\"PVLDB\"", null ], "and", [ false, 4, [ 0, [ 0, 30, false ], null ], 2005.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT t2.year , SUM ( t2.citation_num ) FROM publication AS t2 JOIN journal AS t1 ON t2.jid = t1.jid WHERE t1.name = \"PVLDB\" GROUP BY t2.year;", "query_toks": [ "SELECT", "t2.year", ",", "SUM", "(", "t2.citation_num", ")", "FROM", "publication", "AS", "t2", "JOIN", "journal", "AS", "t1", "ON", "t2.jid", "=", "t1.jid", "WHERE", "t1.name", "=", "``", "PVLDB", "''", "GROUP", "BY", "t2.year", ";" ], "query_toks_no_value": [ "select", "t2", ".", "year", ",", "sum", "(", "t2", ".", "citation_num", ")", "from", "publication", "as", "t2", "join", "journal", "as", "t1", "on", "t2", ".", "jid", "=", "t1", ".", "jid", "where", "t1", ".", "name", "=", "value", "group", "by", "t2", ".", "year" ], "question": "retorne-me o total de citações de artigos no PVLDB em cada ano.", "question_toks": [ "retorne-me", "o", "total", "de", "citações", "de", "artigos", "no", "PVLDB", "em", "cada", "ano", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 26, false ], null ], [ 0, 15, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 30, false ], null ] ], [ 4, [ 0, [ 0, 25, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 16, false ], null ], "\"PVLDB\"", null ] ], "groupBy": [ [ 0, 30, false ] ], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT COUNT ( DISTINCT t2.title ) , t2.year FROM publication AS t2 JOIN journal AS t1 ON t2.jid = t1.jid WHERE t1.name = \"PVLDB\" GROUP BY t2.year;", "query_toks": [ "SELECT", "COUNT", "(", "DISTINCT", "t2.title", ")", ",", "t2.year", "FROM", "publication", "AS", "t2", "JOIN", "journal", "AS", "t1", "ON", "t2.jid", "=", "t1.jid", "WHERE", "t1.name", "=", "``", "PVLDB", "''", "GROUP", "BY", "t2.year", ";" ], "query_toks_no_value": [ "select", "count", "(", "distinct", "t2", ".", "title", ")", ",", "t2", ".", "year", "from", "publication", "as", "t2", "join", "journal", "as", "t1", "on", "t2", ".", "jid", "=", "t1", ".", "jid", "where", "t1", ".", "name", "=", "value", "group", "by", "t2", ".", "year" ], "question": "retorne-me o número de artigos publicados no PVLDB em cada ano.", "question_toks": [ "retorne-me", "o", "número", "de", "artigos", "publicados", "no", "PVLDB", "em", "cada", "ano", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 26, false ], null ], [ 0, 15, false ], null ] ] }, "select": [ false, [ [ 3, [ 0, [ 0, 29, true ], null ] ], [ 0, [ 0, [ 0, 30, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 16, false ], null ], "\"PVLDB\"", null ] ], "groupBy": [ [ 0, 30, false ] ], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT SUM ( t2.citation_num ) FROM publication AS t2 JOIN conference AS t1 ON t2.cid = t1.cid WHERE t1.name = \"VLDB\";", "query_toks": [ "SELECT", "SUM", "(", "t2.citation_num", ")", "FROM", "publication", "AS", "t2", "JOIN", "conference", "AS", "t1", "ON", "t2.cid", "=", "t1.cid", "WHERE", "t1.name", "=", "``", "VLDB", "''", ";" ], "query_toks_no_value": [ "select", "sum", "(", "t2", ".", "citation_num", ")", "from", "publication", "as", "t2", "join", "conference", "as", "t1", "on", "t2", ".", "cid", "=", "t1", ".", "cid", "where", "t1", ".", "name", "=", "value" ], "question": "retorne-me o total de citações de todos os artigos da conferência VLDB.", "question_toks": [ "retorne-me", "o", "total", "de", "citações", "de", "todos", "os", "artigos", "da", "conferência", "VLDB", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 5, false ], null ] ] }, "select": [ false, [ [ 4, [ 0, [ 0, 25, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 7, false ], null ], "\"VLDB\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT t2.citation_num FROM publication AS t2 JOIN conference AS t1 ON t2.cid = t1.cid WHERE t1.name = \"VLDB\";", "query_toks": [ "SELECT", "t2.citation_num", "FROM", "publication", "AS", "t2", "JOIN", "conference", "AS", "t1", "ON", "t2.cid", "=", "t1.cid", "WHERE", "t1.name", "=", "``", "VLDB", "''", ";" ], "query_toks_no_value": [ "select", "t2", ".", "citation_num", "from", "publication", "as", "t2", "join", "conference", "as", "t1", "on", "t2", ".", "cid", "=", "t1", ".", "cid", "where", "t1", ".", "name", "=", "value" ], "question": "me devolva as citações de cada artigo na conferência VLDB.", "question_toks": [ "me", "devolva", "as", "citações", "de", "cada", "artigo", "na", "conferência", "VLDB", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 5, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 25, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 7, false ], null ], "\"VLDB\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT SUM ( t2.citation_num ) FROM publication AS t2 JOIN conference AS t1 ON t2.cid = t1.cid WHERE t1.name = \"VLDB\" AND t2.year = 2005;", "query_toks": [ "SELECT", "SUM", "(", "t2.citation_num", ")", "FROM", "publication", "AS", "t2", "JOIN", "conference", "AS", "t1", "ON", "t2.cid", "=", "t1.cid", "WHERE", "t1.name", "=", "``", "VLDB", "''", "AND", "t2.year", "=", "2005", ";" ], "query_toks_no_value": [ "select", "sum", "(", "t2", ".", "citation_num", ")", "from", "publication", "as", "t2", "join", "conference", "as", "t1", "on", "t2", ".", "cid", "=", "t1", ".", "cid", "where", "t1", ".", "name", "=", "value", "and", "t2", ".", "year", "=", "value" ], "question": "retorne-me o total de citações de artigos na conferência VLDB em 2005.", "question_toks": [ "retorne-me", "o", "total", "de", "citações", "de", "artigos", "na", "conferência", "VLDB", "em", "2005", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 5, false ], null ] ] }, "select": [ false, [ [ 4, [ 0, [ 0, 25, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 7, false ], null ], "\"VLDB\"", null ], "and", [ false, 2, [ 0, [ 0, 30, false ], null ], 2005.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT SUM ( t2.citation_num ) FROM publication AS t2 JOIN conference AS t1 ON t2.cid = t1.cid WHERE t1.name = \"VLDB\" AND t2.year < 2005;", "query_toks": [ "SELECT", "SUM", "(", "t2.citation_num", ")", "FROM", "publication", "AS", "t2", "JOIN", "conference", "AS", "t1", "ON", "t2.cid", "=", "t1.cid", "WHERE", "t1.name", "=", "``", "VLDB", "''", "AND", "t2.year", "<", "2005", ";" ], "query_toks_no_value": [ "select", "sum", "(", "t2", ".", "citation_num", ")", "from", "publication", "as", "t2", "join", "conference", "as", "t1", "on", "t2", ".", "cid", "=", "t1", ".", "cid", "where", "t1", ".", "name", "=", "value", "and", "t2", ".", "year", "<", "value" ], "question": "retorne-me o total de citações de artigos na conferência VLDB antes de 2005.", "question_toks": [ "retorne-me", "o", "total", "de", "citações", "de", "artigos", "na", "conferência", "VLDB", "antes", "de", "2005", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 5, false ], null ] ] }, "select": [ false, [ [ 4, [ 0, [ 0, 25, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 7, false ], null ], "\"VLDB\"", null ], "and", [ false, 4, [ 0, [ 0, 30, false ], null ], 2005.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT t2.year , SUM ( t2.citation_num ) FROM publication AS t2 JOIN conference AS t1 ON t2.cid = t1.cid WHERE t1.name = \"VLDB\" GROUP BY t2.year;", "query_toks": [ "SELECT", "t2.year", ",", "SUM", "(", "t2.citation_num", ")", "FROM", "publication", "AS", "t2", "JOIN", "conference", "AS", "t1", "ON", "t2.cid", "=", "t1.cid", "WHERE", "t1.name", "=", "``", "VLDB", "''", "GROUP", "BY", "t2.year", ";" ], "query_toks_no_value": [ "select", "t2", ".", "year", ",", "sum", "(", "t2", ".", "citation_num", ")", "from", "publication", "as", "t2", "join", "conference", "as", "t1", "on", "t2", ".", "cid", "=", "t1", ".", "cid", "where", "t1", ".", "name", "=", "value", "group", "by", "t2", ".", "year" ], "question": "retorne-me o total de citações de artigos na conferência VLDB em cada ano.", "question_toks": [ "retorne-me", "o", "total", "de", "citações", "de", "artigos", "na", "conferência", "VLDB", "em", "cada", "ano", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 5, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 30, false ], null ] ], [ 4, [ 0, [ 0, 25, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 7, false ], null ], "\"VLDB\"", null ] ], "groupBy": [ [ 0, 30, false ] ], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT COUNT ( DISTINCT t2.title ) , t2.year FROM publication AS t2 JOIN conference AS t1 ON t2.cid = t1.cid WHERE t1.name = \"VLDB\" GROUP BY t2.year;", "query_toks": [ "SELECT", "COUNT", "(", "DISTINCT", "t2.title", ")", ",", "t2.year", "FROM", "publication", "AS", "t2", "JOIN", "conference", "AS", "t1", "ON", "t2.cid", "=", "t1.cid", "WHERE", "t1.name", "=", "``", "VLDB", "''", "GROUP", "BY", "t2.year", ";" ], "query_toks_no_value": [ "select", "count", "(", "distinct", "t2", ".", "title", ")", ",", "t2", ".", "year", "from", "publication", "as", "t2", "join", "conference", "as", "t1", "on", "t2", ".", "cid", "=", "t1", ".", "cid", "where", "t1", ".", "name", "=", "value", "group", "by", "t2", ".", "year" ], "question": "retorne-me o número de artigos publicados na conferência VLDB em cada ano.", "question_toks": [ "retorne-me", "o", "número", "de", "artigos", "publicados", "na", "conferência", "VLDB", "em", "cada", "ano", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 5, false ], null ] ] }, "select": [ false, [ [ 3, [ 0, [ 0, 29, true ], null ] ], [ 0, [ 0, [ 0, 30, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 7, false ], null ], "\"VLDB\"", null ] ], "groupBy": [ [ 0, 30, false ] ], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT t2.name FROM writes AS t4 JOIN author AS t2 ON t4.aid = t2.aid JOIN publication AS t7 ON t4.pid = t7.pid JOIN writes AS t5 ON t5.pid = t7.pid JOIN writes AS t6 ON t6.pid = t7.pid JOIN author AS t1 ON t5.aid = t1.aid JOIN author AS t3 ON t6.aid = t3.aid WHERE t1.name = \"H. V. Jagadish\" AND t3.name = \"Divesh Srivastava\";", "query_toks": [ "SELECT", "t2.name", "FROM", "writes", "AS", "t4", "JOIN", "author", "AS", "t2", "ON", "t4.aid", "=", "t2.aid", "JOIN", "publication", "AS", "t7", "ON", "t4.pid", "=", "t7.pid", "JOIN", "writes", "AS", "t5", "ON", "t5.pid", "=", "t7.pid", "JOIN", "writes", "AS", "t6", "ON", "t6.pid", "=", "t7.pid", "JOIN", "author", "AS", "t1", "ON", "t5.aid", "=", "t1.aid", "JOIN", "author", "AS", "t3", "ON", "t6.aid", "=", "t3.aid", "WHERE", "t1.name", "=", "``", "H.", "V.", "Jagadish", "''", "AND", "t3.name", "=", "``", "Divesh", "Srivastava", "''", ";" ], "query_toks_no_value": [ "select", "t2", ".", "name", "from", "writes", "as", "t4", "join", "author", "as", "t2", "on", "t4", ".", "aid", "=", "t2", ".", "aid", "join", "publication", "as", "t7", "on", "t4", ".", "pid", "=", "t7", ".", "pid", "join", "writes", "as", "t5", "on", "t5", ".", "pid", "=", "t7", ".", "pid", "join", "writes", "as", "t6", "on", "t6", ".", "pid", "=", "t7", ".", "pid", "join", "author", "as", "t1", "on", "t5", ".", "aid", "=", "t1", ".", "aid", "join", "author", "as", "t3", "on", "t6", ".", "aid", "=", "t3", ".", "aid", "where", "t1", ".", "name", "=", "value", "and", "t3", ".", "name", "=", "value" ], "question": "retorne-me os autores que cooperaram com \"H. V. Jagadish\" e \"Divesh Srivastava\".", "question_toks": [ "retorne-me", "os", "autores", "que", "cooperaram", "com", "\"", "H.", "V.", "Jagadish", "\"", "e", "\"", "Divesh", "Srivastava", "\"", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 13 ], [ "table_unit", 0 ], [ "table_unit", 9 ], [ "table_unit", 13 ], [ "table_unit", 13 ], [ "table_unit", 0 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 39, false ], null ], [ 0, 1, false ], null ], "and", [ false, 2, [ 0, [ 0, 40, false ], null ], [ 0, 27, false ], null ], "and", [ false, 2, [ 0, [ 0, 40, false ], null ], [ 0, 27, false ], null ], "and", [ false, 2, [ 0, [ 0, 40, false ], null ], [ 0, 27, false ], null ], "and", [ false, 2, [ 0, [ 0, 39, false ], null ], [ 0, 1, false ], null ], "and", [ false, 2, [ 0, [ 0, 39, false ], null ], [ 0, 1, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], "\"H. V. Jagadish\"", null ], "and", [ false, 2, [ 0, [ 0, 3, false ], null ], "\"Divesh Srivastava\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT t2.name FROM writes AS t3 JOIN author AS t2 ON t3.aid = t2.aid JOIN publication AS t5 ON t3.pid = t5.pid JOIN writes AS t4 ON t4.pid = t5.pid JOIN author AS t1 ON t4.aid = t1.aid WHERE t1.name = \"H. V. Jagadish\" AND t5.year > 2000;", "query_toks": [ "SELECT", "t2.name", "FROM", "writes", "AS", "t3", "JOIN", "author", "AS", "t2", "ON", "t3.aid", "=", "t2.aid", "JOIN", "publication", "AS", "t5", "ON", "t3.pid", "=", "t5.pid", "JOIN", "writes", "AS", "t4", "ON", "t4.pid", "=", "t5.pid", "JOIN", "author", "AS", "t1", "ON", "t4.aid", "=", "t1.aid", "WHERE", "t1.name", "=", "``", "H.", "V.", "Jagadish", "''", "AND", "t5.year", ">", "2000", ";" ], "query_toks_no_value": [ "select", "t2", ".", "name", "from", "writes", "as", "t3", "join", "author", "as", "t2", "on", "t3", ".", "aid", "=", "t2", ".", "aid", "join", "publication", "as", "t5", "on", "t3", ".", "pid", "=", "t5", ".", "pid", "join", "writes", "as", "t4", "on", "t4", ".", "pid", "=", "t5", ".", "pid", "join", "author", "as", "t1", "on", "t4", ".", "aid", "=", "t1", ".", "aid", "where", "t1", ".", "name", "=", "value", "and", "t5", ".", "year", ">", "value" ], "question": "retorne-me os autores que cooperaram com \"H. V. Jagadish\" após 2000.", "question_toks": [ "retorne-me", "os", "autores", "que", "cooperaram", "com", "\"", "H.", "V.", "Jagadish", "\"", "após", "2000", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 13 ], [ "table_unit", 0 ], [ "table_unit", 9 ], [ "table_unit", 13 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 39, false ], null ], [ 0, 1, false ], null ], "and", [ false, 2, [ 0, [ 0, 40, false ], null ], [ 0, 27, false ], null ], "and", [ false, 2, [ 0, [ 0, 40, false ], null ], [ 0, 27, false ], null ], "and", [ false, 2, [ 0, [ 0, 39, false ], null ], [ 0, 1, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], "\"H. V. Jagadish\"", null ], "and", [ false, 3, [ 0, [ 0, 30, false ], null ], 2000.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT t5.title FROM writes AS t3 JOIN author AS t2 ON t3.aid = t2.aid JOIN publication AS t5 ON t3.pid = t5.pid JOIN writes AS t4 ON t4.pid = t5.pid JOIN author AS t1 ON t4.aid = t1.aid WHERE t2.name = \"H. V. Jagadish\" AND t1.name = \"Divesh Srivastava\";", "query_toks": [ "SELECT", "t5.title", "FROM", "writes", "AS", "t3", "JOIN", "author", "AS", "t2", "ON", "t3.aid", "=", "t2.aid", "JOIN", "publication", "AS", "t5", "ON", "t3.pid", "=", "t5.pid", "JOIN", "writes", "AS", "t4", "ON", "t4.pid", "=", "t5.pid", "JOIN", "author", "AS", "t1", "ON", "t4.aid", "=", "t1.aid", "WHERE", "t2.name", "=", "``", "H.", "V.", "Jagadish", "''", "AND", "t1.name", "=", "``", "Divesh", "Srivastava", "''", ";" ], "query_toks_no_value": [ "select", "t5", ".", "title", "from", "writes", "as", "t3", "join", "author", "as", "t2", "on", "t3", ".", "aid", "=", "t2", ".", "aid", "join", "publication", "as", "t5", "on", "t3", ".", "pid", "=", "t5", ".", "pid", "join", "writes", "as", "t4", "on", "t4", ".", "pid", "=", "t5", ".", "pid", "join", "author", "as", "t1", "on", "t4", ".", "aid", "=", "t1", ".", "aid", "where", "t2", ".", "name", "=", "value", "and", "t1", ".", "name", "=", "value" ], "question": "devolva-me os papéis escritos por \"H. V. Jagadish\" e \"Divesh Srivastava\".", "question_toks": [ "devolva-me", "os", "papéis", "escritos", "por", "\"", "H.", "V.", "Jagadish", "\"", "e", "\"", "Divesh", "Srivastava", "\"", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 13 ], [ "table_unit", 0 ], [ "table_unit", 9 ], [ "table_unit", 13 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 39, false ], null ], [ 0, 1, false ], null ], "and", [ false, 2, [ 0, [ 0, 40, false ], null ], [ 0, 27, false ], null ], "and", [ false, 2, [ 0, [ 0, 40, false ], null ], [ 0, 27, false ], null ], "and", [ false, 2, [ 0, [ 0, 39, false ], null ], [ 0, 1, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 29, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], "\"H. V. Jagadish\"", null ], "and", [ false, 2, [ 0, [ 0, 3, false ], null ], "\"Divesh Srivastava\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT t5.title FROM writes AS t3 JOIN author AS t2 ON t3.aid = t2.aid JOIN publication AS t5 ON t3.pid = t5.pid JOIN writes AS t4 ON t4.pid = t5.pid JOIN author AS t1 ON t4.aid = t1.aid WHERE t2.name = \"H. V. Jagadish\" AND t1.name = \"Yunyao Li\" AND t5.year > 2005;", "query_toks": [ "SELECT", "t5.title", "FROM", "writes", "AS", "t3", "JOIN", "author", "AS", "t2", "ON", "t3.aid", "=", "t2.aid", "JOIN", "publication", "AS", "t5", "ON", "t3.pid", "=", "t5.pid", "JOIN", "writes", "AS", "t4", "ON", "t4.pid", "=", "t5.pid", "JOIN", "author", "AS", "t1", "ON", "t4.aid", "=", "t1.aid", "WHERE", "t2.name", "=", "``", "H.", "V.", "Jagadish", "''", "AND", "t1.name", "=", "``", "Yunyao", "Li", "''", "AND", "t5.year", ">", "2005", ";" ], "query_toks_no_value": [ "select", "t5", ".", "title", "from", "writes", "as", "t3", "join", "author", "as", "t2", "on", "t3", ".", "aid", "=", "t2", ".", "aid", "join", "publication", "as", "t5", "on", "t3", ".", "pid", "=", "t5", ".", "pid", "join", "writes", "as", "t4", "on", "t4", ".", "pid", "=", "t5", ".", "pid", "join", "author", "as", "t1", "on", "t4", ".", "aid", "=", "t1", ".", "aid", "where", "t2", ".", "name", "=", "value", "and", "t1", ".", "name", "=", "value", "and", "t5", ".", "year", ">", "value" ], "question": "devolva-me os documentos escritos por \"H. V. Jagadish\" e \"Yunyao Li\" após 2005.", "question_toks": [ "devolva-me", "os", "documentos", "escritos", "por", "\"", "H.", "V.", "Jagadish", "\"", "e", "\"", "Yunyao", "Li", "\"", "após", "2005", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 13 ], [ "table_unit", 0 ], [ "table_unit", 9 ], [ "table_unit", 13 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 39, false ], null ], [ 0, 1, false ], null ], "and", [ false, 2, [ 0, [ 0, 40, false ], null ], [ 0, 27, false ], null ], "and", [ false, 2, [ 0, [ 0, 40, false ], null ], [ 0, 27, false ], null ], "and", [ false, 2, [ 0, [ 0, 39, false ], null ], [ 0, 1, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 29, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], "\"H. V. Jagadish\"", null ], "and", [ false, 2, [ 0, [ 0, 3, false ], null ], "\"Yunyao Li\"", null ], "and", [ false, 3, [ 0, [ 0, 30, false ], null ], 2005.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT t6.title FROM publication AS t6 JOIN journal AS t4 ON t6.jid = t4.jid JOIN writes AS t3 ON t3.pid = t6.pid JOIN writes AS t5 ON t5.pid = t6.pid JOIN author AS t1 ON t5.aid = t1.aid JOIN author AS t2 ON t3.aid = t2.aid WHERE t2.name = \"H. V. Jagadish\" AND t1.name = \"Yunyao Li\" AND t4.name = \"PVLDB\";", "query_toks": [ "SELECT", "t6.title", "FROM", "publication", "AS", "t6", "JOIN", "journal", "AS", "t4", "ON", "t6.jid", "=", "t4.jid", "JOIN", "writes", "AS", "t3", "ON", "t3.pid", "=", "t6.pid", "JOIN", "writes", "AS", "t5", "ON", "t5.pid", "=", "t6.pid", "JOIN", "author", "AS", "t1", "ON", "t5.aid", "=", "t1.aid", "JOIN", "author", "AS", "t2", "ON", "t3.aid", "=", "t2.aid", "WHERE", "t2.name", "=", "``", "H.", "V.", "Jagadish", "''", "AND", "t1.name", "=", "``", "Yunyao", "Li", "''", "AND", "t4.name", "=", "``", "PVLDB", "''", ";" ], "query_toks_no_value": [ "select", "t6", ".", "title", "from", "publication", "as", "t6", "join", "journal", "as", "t4", "on", "t6", ".", "jid", "=", "t4", ".", "jid", "join", "writes", "as", "t3", "on", "t3", ".", "pid", "=", "t6", ".", "pid", "join", "writes", "as", "t5", "on", "t5", ".", "pid", "=", "t6", ".", "pid", "join", "author", "as", "t1", "on", "t5", ".", "aid", "=", "t1", ".", "aid", "join", "author", "as", "t2", "on", "t3", ".", "aid", "=", "t2", ".", "aid", "where", "t2", ".", "name", "=", "value", "and", "t1", ".", "name", "=", "value", "and", "t4", ".", "name", "=", "value" ], "question": "me devolva os papéis escritos por \"H. V. Jagadish\" e \"Yunyao Li\" no PVLDB.", "question_toks": [ "me", "devolva", "os", "papéis", "escritos", "por", "\"", "H.", "V.", "Jagadish", "\"", "e", "\"", "Yunyao", "Li", "\"", "no", "PVLDB", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 5 ], [ "table_unit", 13 ], [ "table_unit", 13 ], [ "table_unit", 0 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 26, false ], null ], [ 0, 15, false ], null ], "and", [ false, 2, [ 0, [ 0, 40, false ], null ], [ 0, 27, false ], null ], "and", [ false, 2, [ 0, [ 0, 40, false ], null ], [ 0, 27, false ], null ], "and", [ false, 2, [ 0, [ 0, 39, false ], null ], [ 0, 1, false ], null ], "and", [ false, 2, [ 0, [ 0, 39, false ], null ], [ 0, 1, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 29, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], "\"H. V. Jagadish\"", null ], "and", [ false, 2, [ 0, [ 0, 3, false ], null ], "\"Yunyao Li\"", null ], "and", [ false, 2, [ 0, [ 0, 16, false ], null ], "\"PVLDB\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT t6.title FROM publication AS t6 JOIN journal AS t4 ON t6.jid = t4.jid JOIN writes AS t3 ON t3.pid = t6.pid JOIN writes AS t5 ON t5.pid = t6.pid JOIN author AS t1 ON t5.aid = t1.aid JOIN author AS t2 ON t3.aid = t2.aid WHERE t2.name = \"H. V. Jagadish\" AND t1.name = \"Yunyao Li\" AND t4.name = \"PVLDB\" AND t6.year > 2005;", "query_toks": [ "SELECT", "t6.title", "FROM", "publication", "AS", "t6", "JOIN", "journal", "AS", "t4", "ON", "t6.jid", "=", "t4.jid", "JOIN", "writes", "AS", "t3", "ON", "t3.pid", "=", "t6.pid", "JOIN", "writes", "AS", "t5", "ON", "t5.pid", "=", "t6.pid", "JOIN", "author", "AS", "t1", "ON", "t5.aid", "=", "t1.aid", "JOIN", "author", "AS", "t2", "ON", "t3.aid", "=", "t2.aid", "WHERE", "t2.name", "=", "``", "H.", "V.", "Jagadish", "''", "AND", "t1.name", "=", "``", "Yunyao", "Li", "''", "AND", "t4.name", "=", "``", "PVLDB", "''", "AND", "t6.year", ">", "2005", ";" ], "query_toks_no_value": [ "select", "t6", ".", "title", "from", "publication", "as", "t6", "join", "journal", "as", "t4", "on", "t6", ".", "jid", "=", "t4", ".", "jid", "join", "writes", "as", "t3", "on", "t3", ".", "pid", "=", "t6", ".", "pid", "join", "writes", "as", "t5", "on", "t5", ".", "pid", "=", "t6", ".", "pid", "join", "author", "as", "t1", "on", "t5", ".", "aid", "=", "t1", ".", "aid", "join", "author", "as", "t2", "on", "t3", ".", "aid", "=", "t2", ".", "aid", "where", "t2", ".", "name", "=", "value", "and", "t1", ".", "name", "=", "value", "and", "t4", ".", "name", "=", "value", "and", "t6", ".", "year", ">", "value" ], "question": "devolva-me os artigos escritos por \"H. V. Jagadish\" e \"Yunyao Li\" no PVLDB após 2005.", "question_toks": [ "devolva-me", "os", "artigos", "escritos", "por", "\"", "H.", "V.", "Jagadish", "\"", "e", "\"", "Yunyao", "Li", "\"", "no", "PVLDB", "após", "2005", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 5 ], [ "table_unit", 13 ], [ "table_unit", 13 ], [ "table_unit", 0 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 26, false ], null ], [ 0, 15, false ], null ], "and", [ false, 2, [ 0, [ 0, 40, false ], null ], [ 0, 27, false ], null ], "and", [ false, 2, [ 0, [ 0, 40, false ], null ], [ 0, 27, false ], null ], "and", [ false, 2, [ 0, [ 0, 39, false ], null ], [ 0, 1, false ], null ], "and", [ false, 2, [ 0, [ 0, 39, false ], null ], [ 0, 1, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 29, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], "\"H. V. Jagadish\"", null ], "and", [ false, 2, [ 0, [ 0, 3, false ], null ], "\"Yunyao Li\"", null ], "and", [ false, 2, [ 0, [ 0, 16, false ], null ], "\"PVLDB\"", null ], "and", [ false, 3, [ 0, [ 0, 30, false ], null ], 2005.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT t2.name FROM writes AS t3 JOIN author AS t2 ON t3.aid = t2.aid JOIN publication AS t5 ON t3.pid = t5.pid JOIN writes AS t4 ON t4.pid = t5.pid JOIN author AS t1 ON t4.aid = t1.aid WHERE t1.name = \"H. V. Jagadish\";", "query_toks": [ "SELECT", "t2.name", "FROM", "writes", "AS", "t3", "JOIN", "author", "AS", "t2", "ON", "t3.aid", "=", "t2.aid", "JOIN", "publication", "AS", "t5", "ON", "t3.pid", "=", "t5.pid", "JOIN", "writes", "AS", "t4", "ON", "t4.pid", "=", "t5.pid", "JOIN", "author", "AS", "t1", "ON", "t4.aid", "=", "t1.aid", "WHERE", "t1.name", "=", "``", "H.", "V.", "Jagadish", "''", ";" ], "query_toks_no_value": [ "select", "t2", ".", "name", "from", "writes", "as", "t3", "join", "author", "as", "t2", "on", "t3", ".", "aid", "=", "t2", ".", "aid", "join", "publication", "as", "t5", "on", "t3", ".", "pid", "=", "t5", ".", "pid", "join", "writes", "as", "t4", "on", "t4", ".", "pid", "=", "t5", ".", "pid", "join", "author", "as", "t1", "on", "t4", ".", "aid", "=", "t1", ".", "aid", "where", "t1", ".", "name", "=", "value" ], "question": "retorne-me os autores que cooperaram com \"H. V. Jagadish\".", "question_toks": [ "retorne-me", "os", "autores", "que", "cooperaram", "com", "\"", "H.", "V.", "Jagadish", "\"", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 13 ], [ "table_unit", 0 ], [ "table_unit", 9 ], [ "table_unit", 13 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 39, false ], null ], [ 0, 1, false ], null ], "and", [ false, 2, [ 0, [ 0, 40, false ], null ], [ 0, 27, false ], null ], "and", [ false, 2, [ 0, [ 0, 40, false ], null ], [ 0, 27, false ], null ], "and", [ false, 2, [ 0, [ 0, 39, false ], null ], [ 0, 1, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], "\"H. V. Jagadish\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT t5.title FROM writes AS t3 JOIN author AS t2 ON t3.aid = t2.aid JOIN publication AS t5 ON t3.pid = t5.pid JOIN writes AS t4 ON t4.pid = t5.pid JOIN author AS t1 ON t4.aid = t1.aid WHERE t2.name = \"H. V. Jagadish\" AND t1.name = \"Divesh Srivastava\" AND t5.year < 2000;", "query_toks": [ "SELECT", "t5.title", "FROM", "writes", "AS", "t3", "JOIN", "author", "AS", "t2", "ON", "t3.aid", "=", "t2.aid", "JOIN", "publication", "AS", "t5", "ON", "t3.pid", "=", "t5.pid", "JOIN", "writes", "AS", "t4", "ON", "t4.pid", "=", "t5.pid", "JOIN", "author", "AS", "t1", "ON", "t4.aid", "=", "t1.aid", "WHERE", "t2.name", "=", "``", "H.", "V.", "Jagadish", "''", "AND", "t1.name", "=", "``", "Divesh", "Srivastava", "''", "AND", "t5.year", "<", "2000", ";" ], "query_toks_no_value": [ "select", "t5", ".", "title", "from", "writes", "as", "t3", "join", "author", "as", "t2", "on", "t3", ".", "aid", "=", "t2", ".", "aid", "join", "publication", "as", "t5", "on", "t3", ".", "pid", "=", "t5", ".", "pid", "join", "writes", "as", "t4", "on", "t4", ".", "pid", "=", "t5", ".", "pid", "join", "author", "as", "t1", "on", "t4", ".", "aid", "=", "t1", ".", "aid", "where", "t2", ".", "name", "=", "value", "and", "t1", ".", "name", "=", "value", "and", "t5", ".", "year", "<", "value" ], "question": "devolva-me os documentos escritos por \"H. V. Jagadish\" e \"Divesh Srivastava\" antes de 2000.", "question_toks": [ "devolva-me", "os", "documentos", "escritos", "por", "\"", "H.", "V.", "Jagadish", "\"", "e", "\"", "Divesh", "Srivastava", "\"", "antes", "de", "2000", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 13 ], [ "table_unit", 0 ], [ "table_unit", 9 ], [ "table_unit", 13 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 39, false ], null ], [ 0, 1, false ], null ], "and", [ false, 2, [ 0, [ 0, 40, false ], null ], [ 0, 27, false ], null ], "and", [ false, 2, [ 0, [ 0, 40, false ], null ], [ 0, 27, false ], null ], "and", [ false, 2, [ 0, [ 0, 39, false ], null ], [ 0, 1, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 29, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], "\"H. V. Jagadish\"", null ], "and", [ false, 2, [ 0, [ 0, 3, false ], null ], "\"Divesh Srivastava\"", null ], "and", [ false, 4, [ 0, [ 0, 30, false ], null ], 2000.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT t2.name FROM publication AS t7 JOIN cite AS t5 ON t7.pid = t5.citing JOIN publication AS t6 ON t6.pid = t5.cited JOIN writes AS t3 ON t3.pid = t7.pid JOIN writes AS t4 ON t4.pid = t6.pid JOIN author AS t2 ON t3.aid = t2.aid JOIN author AS t1 ON t4.aid = t1.aid WHERE t1.name = \"H. V. Jagadish\";", "query_toks": [ "SELECT", "t2.name", "FROM", "publication", "AS", "t7", "JOIN", "cite", "AS", "t5", "ON", "t7.pid", "=", "t5.citing", "JOIN", "publication", "AS", "t6", "ON", "t6.pid", "=", "t5.cited", "JOIN", "writes", "AS", "t3", "ON", "t3.pid", "=", "t7.pid", "JOIN", "writes", "AS", "t4", "ON", "t4.pid", "=", "t6.pid", "JOIN", "author", "AS", "t2", "ON", "t3.aid", "=", "t2.aid", "JOIN", "author", "AS", "t1", "ON", "t4.aid", "=", "t1.aid", "WHERE", "t1.name", "=", "``", "H.", "V.", "Jagadish", "''", ";" ], "query_toks_no_value": [ "select", "t2", ".", "name", "from", "publication", "as", "t7", "join", "cite", "as", "t5", "on", "t7", ".", "pid", "=", "t5", ".", "citing", "join", "publication", "as", "t6", "on", "t6", ".", "pid", "=", "t5", ".", "cited", "join", "writes", "as", "t3", "on", "t3", ".", "pid", "=", "t7", ".", "pid", "join", "writes", "as", "t4", "on", "t4", ".", "pid", "=", "t6", ".", "pid", "join", "author", "as", "t2", "on", "t3", ".", "aid", "=", "t2", ".", "aid", "join", "author", "as", "t1", "on", "t4", ".", "aid", "=", "t1", ".", "aid", "where", "t1", ".", "name", "=", "value" ], "question": "me devolva os autores que citaram os artigos de \"H. V. Jagadish\".", "question_toks": [ "me", "devolva", "os", "autores", "que", "citaram", "os", "artigos", "de", "\"", "H.", "V.", "Jagadish", "\"", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 14 ], [ "table_unit", 9 ], [ "table_unit", 13 ], [ "table_unit", 13 ], [ "table_unit", 0 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 27, false ], null ], [ 0, 42, false ], null ], "and", [ false, 2, [ 0, [ 0, 27, false ], null ], [ 0, 41, false ], null ], "and", [ false, 2, [ 0, [ 0, 40, false ], null ], [ 0, 27, false ], null ], "and", [ false, 2, [ 0, [ 0, 40, false ], null ], [ 0, 27, false ], null ], "and", [ false, 2, [ 0, [ 0, 39, false ], null ], [ 0, 1, false ], null ], "and", [ false, 2, [ 0, [ 0, 39, false ], null ], [ 0, 1, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], "\"H. V. Jagadish\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT COUNT ( DISTINCT t5.title ) FROM writes AS t3 JOIN author AS t2 ON t3.aid = t2.aid JOIN publication AS t5 ON t3.pid = t5.pid JOIN writes AS t4 ON t4.pid = t5.pid JOIN author AS t1 ON t4.aid = t1.aid WHERE t2.name = \"H. V. Jagadish\" AND t1.name = \"Divesh Srivastava\";", "query_toks": [ "SELECT", "COUNT", "(", "DISTINCT", "t5.title", ")", "FROM", "writes", "AS", "t3", "JOIN", "author", "AS", "t2", "ON", "t3.aid", "=", "t2.aid", "JOIN", "publication", "AS", "t5", "ON", "t3.pid", "=", "t5.pid", "JOIN", "writes", "AS", "t4", "ON", "t4.pid", "=", "t5.pid", "JOIN", "author", "AS", "t1", "ON", "t4.aid", "=", "t1.aid", "WHERE", "t2.name", "=", "``", "H.", "V.", "Jagadish", "''", "AND", "t1.name", "=", "``", "Divesh", "Srivastava", "''", ";" ], "query_toks_no_value": [ "select", "count", "(", "distinct", "t5", ".", "title", ")", "from", "writes", "as", "t3", "join", "author", "as", "t2", "on", "t3", ".", "aid", "=", "t2", ".", "aid", "join", "publication", "as", "t5", "on", "t3", ".", "pid", "=", "t5", ".", "pid", "join", "writes", "as", "t4", "on", "t4", ".", "pid", "=", "t5", ".", "pid", "join", "author", "as", "t1", "on", "t4", ".", "aid", "=", "t1", ".", "aid", "where", "t2", ".", "name", "=", "value", "and", "t1", ".", "name", "=", "value" ], "question": "retorne-me o número de artigos escritos por \"H. V. Jagadish\" e \"Divesh Srivastava\".", "question_toks": [ "retorne-me", "o", "número", "de", "artigos", "escritos", "por", "\"", "H.", "V.", "Jagadish", "\"", "e", "\"", "Divesh", "Srivastava", "\"", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 13 ], [ "table_unit", 0 ], [ "table_unit", 9 ], [ "table_unit", 13 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 39, false ], null ], [ 0, 1, false ], null ], "and", [ false, 2, [ 0, [ 0, 40, false ], null ], [ 0, 27, false ], null ], "and", [ false, 2, [ 0, [ 0, 40, false ], null ], [ 0, 27, false ], null ], "and", [ false, 2, [ 0, [ 0, 39, false ], null ], [ 0, 1, false ], null ] ] }, "select": [ false, [ [ 3, [ 0, [ 0, 29, true ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], "\"H. V. Jagadish\"", null ], "and", [ false, 2, [ 0, [ 0, 3, false ], null ], "\"Divesh Srivastava\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT COUNT ( DISTINCT t5.title ) FROM writes AS t3 JOIN author AS t2 ON t3.aid = t2.aid JOIN publication AS t5 ON t3.pid = t5.pid JOIN writes AS t4 ON t4.pid = t5.pid JOIN author AS t1 ON t4.aid = t1.aid WHERE t2.name = \"H. V. Jagadish\" AND t1.name = \"Divesh Srivastava\" AND t5.year < 2000;", "query_toks": [ "SELECT", "COUNT", "(", "DISTINCT", "t5.title", ")", "FROM", "writes", "AS", "t3", "JOIN", "author", "AS", "t2", "ON", "t3.aid", "=", "t2.aid", "JOIN", "publication", "AS", "t5", "ON", "t3.pid", "=", "t5.pid", "JOIN", "writes", "AS", "t4", "ON", "t4.pid", "=", "t5.pid", "JOIN", "author", "AS", "t1", "ON", "t4.aid", "=", "t1.aid", "WHERE", "t2.name", "=", "``", "H.", "V.", "Jagadish", "''", "AND", "t1.name", "=", "``", "Divesh", "Srivastava", "''", "AND", "t5.year", "<", "2000", ";" ], "query_toks_no_value": [ "select", "count", "(", "distinct", "t5", ".", "title", ")", "from", "writes", "as", "t3", "join", "author", "as", "t2", "on", "t3", ".", "aid", "=", "t2", ".", "aid", "join", "publication", "as", "t5", "on", "t3", ".", "pid", "=", "t5", ".", "pid", "join", "writes", "as", "t4", "on", "t4", ".", "pid", "=", "t5", ".", "pid", "join", "author", "as", "t1", "on", "t4", ".", "aid", "=", "t1", ".", "aid", "where", "t2", ".", "name", "=", "value", "and", "t1", ".", "name", "=", "value", "and", "t5", ".", "year", "<", "value" ], "question": "retorne-me o número de artigos escritos por \"H. V. Jagadish\" e \"Divesh Srivastava\" antes de 2000.", "question_toks": [ "retorne-me", "o", "número", "de", "artigos", "escritos", "por", "\"", "H.", "V.", "Jagadish", "\"", "e", "\"", "Divesh", "Srivastava", "\"", "antes", "de", "2000", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 13 ], [ "table_unit", 0 ], [ "table_unit", 9 ], [ "table_unit", 13 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 39, false ], null ], [ 0, 1, false ], null ], "and", [ false, 2, [ 0, [ 0, 40, false ], null ], [ 0, 27, false ], null ], "and", [ false, 2, [ 0, [ 0, 40, false ], null ], [ 0, 27, false ], null ], "and", [ false, 2, [ 0, [ 0, 39, false ], null ], [ 0, 1, false ], null ] ] }, "select": [ false, [ [ 3, [ 0, [ 0, 29, true ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], "\"H. V. Jagadish\"", null ], "and", [ false, 2, [ 0, [ 0, 3, false ], null ], "\"Divesh Srivastava\"", null ], "and", [ false, 4, [ 0, [ 0, 30, false ], null ], 2000.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT COUNT ( DISTINCT t7.title ) FROM writes AS t4 JOIN author AS t2 ON t4.aid = t2.aid JOIN publication AS t7 ON t4.pid = t7.pid JOIN writes AS t5 ON t5.pid = t7.pid JOIN writes AS t6 ON t6.pid = t7.pid JOIN author AS t1 ON t5.aid = t1.aid JOIN author AS t3 ON t6.aid = t3.aid WHERE t2.name = \"Cong Yu\" AND t1.name = \"H. V. Jagadish\" AND t3.name = \"Yunyao Li\";", "query_toks": [ "SELECT", "COUNT", "(", "DISTINCT", "t7.title", ")", "FROM", "writes", "AS", "t4", "JOIN", "author", "AS", "t2", "ON", "t4.aid", "=", "t2.aid", "JOIN", "publication", "AS", "t7", "ON", "t4.pid", "=", "t7.pid", "JOIN", "writes", "AS", "t5", "ON", "t5.pid", "=", "t7.pid", "JOIN", "writes", "AS", "t6", "ON", "t6.pid", "=", "t7.pid", "JOIN", "author", "AS", "t1", "ON", "t5.aid", "=", "t1.aid", "JOIN", "author", "AS", "t3", "ON", "t6.aid", "=", "t3.aid", "WHERE", "t2.name", "=", "``", "Cong", "Yu", "''", "AND", "t1.name", "=", "``", "H.", "V.", "Jagadish", "''", "AND", "t3.name", "=", "``", "Yunyao", "Li", "''", ";" ], "query_toks_no_value": [ "select", "count", "(", "distinct", "t7", ".", "title", ")", "from", "writes", "as", "t4", "join", "author", "as", "t2", "on", "t4", ".", "aid", "=", "t2", ".", "aid", "join", "publication", "as", "t7", "on", "t4", ".", "pid", "=", "t7", ".", "pid", "join", "writes", "as", "t5", "on", "t5", ".", "pid", "=", "t7", ".", "pid", "join", "writes", "as", "t6", "on", "t6", ".", "pid", "=", "t7", ".", "pid", "join", "author", "as", "t1", "on", "t5", ".", "aid", "=", "t1", ".", "aid", "join", "author", "as", "t3", "on", "t6", ".", "aid", "=", "t3", ".", "aid", "where", "t2", ".", "name", "=", "value", "and", "t1", ".", "name", "=", "value", "and", "t3", ".", "name", "=", "value" ], "question": "retorne-me o número de artigos escritos por \"H. V. Jagadish\", \"Yunyao Li\" e \"Cong Yu\".", "question_toks": [ "retorne-me", "o", "número", "de", "artigos", "escritos", "por", "\"", "H.", "V.", "Jagadish", "\"", ",", "\"", "Yunyao", "Li", "\"", "e", "\"", "Cong", "Yu", "\"", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 13 ], [ "table_unit", 0 ], [ "table_unit", 9 ], [ "table_unit", 13 ], [ "table_unit", 13 ], [ "table_unit", 0 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 39, false ], null ], [ 0, 1, false ], null ], "and", [ false, 2, [ 0, [ 0, 40, false ], null ], [ 0, 27, false ], null ], "and", [ false, 2, [ 0, [ 0, 40, false ], null ], [ 0, 27, false ], null ], "and", [ false, 2, [ 0, [ 0, 40, false ], null ], [ 0, 27, false ], null ], "and", [ false, 2, [ 0, [ 0, 39, false ], null ], [ 0, 1, false ], null ], "and", [ false, 2, [ 0, [ 0, 39, false ], null ], [ 0, 1, false ], null ] ] }, "select": [ false, [ [ 3, [ 0, [ 0, 29, true ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], "\"Cong Yu\"", null ], "and", [ false, 2, [ 0, [ 0, 3, false ], null ], "\"H. V. Jagadish\"", null ], "and", [ false, 2, [ 0, [ 0, 3, false ], null ], "\"Yunyao Li\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT COUNT ( DISTINCT t2.name ) FROM writes AS t3 JOIN author AS t2 ON t3.aid = t2.aid JOIN publication AS t5 ON t3.pid = t5.pid JOIN writes AS t4 ON t4.pid = t5.pid JOIN author AS t1 ON t4.aid = t1.aid WHERE t1.name = \"H. V. Jagadish\";", "query_toks": [ "SELECT", "COUNT", "(", "DISTINCT", "t2.name", ")", "FROM", "writes", "AS", "t3", "JOIN", "author", "AS", "t2", "ON", "t3.aid", "=", "t2.aid", "JOIN", "publication", "AS", "t5", "ON", "t3.pid", "=", "t5.pid", "JOIN", "writes", "AS", "t4", "ON", "t4.pid", "=", "t5.pid", "JOIN", "author", "AS", "t1", "ON", "t4.aid", "=", "t1.aid", "WHERE", "t1.name", "=", "``", "H.", "V.", "Jagadish", "''", ";" ], "query_toks_no_value": [ "select", "count", "(", "distinct", "t2", ".", "name", ")", "from", "writes", "as", "t3", "join", "author", "as", "t2", "on", "t3", ".", "aid", "=", "t2", ".", "aid", "join", "publication", "as", "t5", "on", "t3", ".", "pid", "=", "t5", ".", "pid", "join", "writes", "as", "t4", "on", "t4", ".", "pid", "=", "t5", ".", "pid", "join", "author", "as", "t1", "on", "t4", ".", "aid", "=", "t1", ".", "aid", "where", "t1", ".", "name", "=", "value" ], "question": "retorne-me o número de autores que cooperaram com \"H. V. Jagadish\".", "question_toks": [ "retorne-me", "o", "número", "de", "autores", "que", "cooperaram", "com", "\"", "H.", "V.", "Jagadish", "\"", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 13 ], [ "table_unit", 0 ], [ "table_unit", 9 ], [ "table_unit", 13 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 39, false ], null ], [ 0, 1, false ], null ], "and", [ false, 2, [ 0, [ 0, 40, false ], null ], [ 0, 27, false ], null ], "and", [ false, 2, [ 0, [ 0, 40, false ], null ], [ 0, 27, false ], null ], "and", [ false, 2, [ 0, [ 0, 39, false ], null ], [ 0, 1, false ], null ] ] }, "select": [ false, [ [ 3, [ 0, [ 0, 3, true ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], "\"H. V. Jagadish\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT COUNT ( DISTINCT t2.name ) FROM publication AS t7 JOIN cite AS t5 ON t7.pid = t5.citing JOIN publication AS t6 ON t6.pid = t5.cited JOIN writes AS t3 ON t3.pid = t7.pid JOIN writes AS t4 ON t4.pid = t6.pid JOIN author AS t2 ON t3.aid = t2.aid JOIN author AS t1 ON t4.aid = t1.aid WHERE t1.name = \"H. V. Jagadish\";", "query_toks": [ "SELECT", "COUNT", "(", "DISTINCT", "t2.name", ")", "FROM", "publication", "AS", "t7", "JOIN", "cite", "AS", "t5", "ON", "t7.pid", "=", "t5.citing", "JOIN", "publication", "AS", "t6", "ON", "t6.pid", "=", "t5.cited", "JOIN", "writes", "AS", "t3", "ON", "t3.pid", "=", "t7.pid", "JOIN", "writes", "AS", "t4", "ON", "t4.pid", "=", "t6.pid", "JOIN", "author", "AS", "t2", "ON", "t3.aid", "=", "t2.aid", "JOIN", "author", "AS", "t1", "ON", "t4.aid", "=", "t1.aid", "WHERE", "t1.name", "=", "``", "H.", "V.", "Jagadish", "''", ";" ], "query_toks_no_value": [ "select", "count", "(", "distinct", "t2", ".", "name", ")", "from", "publication", "as", "t7", "join", "cite", "as", "t5", "on", "t7", ".", "pid", "=", "t5", ".", "citing", "join", "publication", "as", "t6", "on", "t6", ".", "pid", "=", "t5", ".", "cited", "join", "writes", "as", "t3", "on", "t3", ".", "pid", "=", "t7", ".", "pid", "join", "writes", "as", "t4", "on", "t4", ".", "pid", "=", "t6", ".", "pid", "join", "author", "as", "t2", "on", "t3", ".", "aid", "=", "t2", ".", "aid", "join", "author", "as", "t1", "on", "t4", ".", "aid", "=", "t1", ".", "aid", "where", "t1", ".", "name", "=", "value" ], "question": "retorne-me o número de autores que citaram os artigos de \"H. V. Jagadish\".", "question_toks": [ "retorne-me", "o", "número", "de", "autores", "que", "citaram", "os", "artigos", "de", "\"", "H.", "V.", "Jagadish", "\"", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 14 ], [ "table_unit", 9 ], [ "table_unit", 13 ], [ "table_unit", 13 ], [ "table_unit", 0 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 27, false ], null ], [ 0, 42, false ], null ], "and", [ false, 2, [ 0, [ 0, 27, false ], null ], [ 0, 41, false ], null ], "and", [ false, 2, [ 0, [ 0, 40, false ], null ], [ 0, 27, false ], null ], "and", [ false, 2, [ 0, [ 0, 40, false ], null ], [ 0, 27, false ], null ], "and", [ false, 2, [ 0, [ 0, 39, false ], null ], [ 0, 1, false ], null ], "and", [ false, 2, [ 0, [ 0, 39, false ], null ], [ 0, 1, false ], null ] ] }, "select": [ false, [ [ 3, [ 0, [ 0, 3, true ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], "\"H. V. Jagadish\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT t5.title FROM writes AS t3 JOIN author AS t2 ON t3.aid = t2.aid JOIN publication AS t5 ON t3.pid = t5.pid JOIN writes AS t4 ON t4.pid = t5.pid JOIN author AS t1 ON t4.aid = t1.aid WHERE t2.name = \"H. V. Jagadish\" AND t1.name = \"Divesh Srivastava\" AND t5.citation_num > 200;", "query_toks": [ "SELECT", "t5.title", "FROM", "writes", "AS", "t3", "JOIN", "author", "AS", "t2", "ON", "t3.aid", "=", "t2.aid", "JOIN", "publication", "AS", "t5", "ON", "t3.pid", "=", "t5.pid", "JOIN", "writes", "AS", "t4", "ON", "t4.pid", "=", "t5.pid", "JOIN", "author", "AS", "t1", "ON", "t4.aid", "=", "t1.aid", "WHERE", "t2.name", "=", "``", "H.", "V.", "Jagadish", "''", "AND", "t1.name", "=", "``", "Divesh", "Srivastava", "''", "AND", "t5.citation_num", ">", "200", ";" ], "query_toks_no_value": [ "select", "t5", ".", "title", "from", "writes", "as", "t3", "join", "author", "as", "t2", "on", "t3", ".", "aid", "=", "t2", ".", "aid", "join", "publication", "as", "t5", "on", "t3", ".", "pid", "=", "t5", ".", "pid", "join", "writes", "as", "t4", "on", "t4", ".", "pid", "=", "t5", ".", "pid", "join", "author", "as", "t1", "on", "t4", ".", "aid", "=", "t1", ".", "aid", "where", "t2", ".", "name", "=", "value", "and", "t1", ".", "name", "=", "value", "and", "t5", ".", "citation_num", ">", "value" ], "question": "me devolva os artigos escritos por \"H. V. Jagadish\" e \"Divesh Srivastava\" com mais de 200 citações.", "question_toks": [ "me", "devolva", "os", "artigos", "escritos", "por", "\"", "H.", "V.", "Jagadish", "\"", "e", "\"", "Divesh", "Srivastava", "\"", "com", "mais", "de", "200", "citações", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 13 ], [ "table_unit", 0 ], [ "table_unit", 9 ], [ "table_unit", 13 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 39, false ], null ], [ 0, 1, false ], null ], "and", [ false, 2, [ 0, [ 0, 40, false ], null ], [ 0, 27, false ], null ], "and", [ false, 2, [ 0, [ 0, 40, false ], null ], [ 0, 27, false ], null ], "and", [ false, 2, [ 0, [ 0, 39, false ], null ], [ 0, 1, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 29, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], "\"H. V. Jagadish\"", null ], "and", [ false, 2, [ 0, [ 0, 3, false ], null ], "\"Divesh Srivastava\"", null ], "and", [ false, 3, [ 0, [ 0, 25, false ], null ], 200.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT t2.name FROM publication_keyword AS t5 JOIN keyword AS t1 ON t5.kid = t1.kid JOIN publication AS t3 ON t3.pid = t5.pid JOIN writes AS t4 ON t4.pid = t3.pid JOIN author AS t2 ON t4.aid = t2.aid WHERE t1.keyword = \"Relational Database\" GROUP BY t2.name ORDER BY COUNT ( DISTINCT t3.title ) DESC LIMIT 1;", "query_toks": [ "SELECT", "t2.name", "FROM", "publication_keyword", "AS", "t5", "JOIN", "keyword", "AS", "t1", "ON", "t5.kid", "=", "t1.kid", "JOIN", "publication", "AS", "t3", "ON", "t3.pid", "=", "t5.pid", "JOIN", "writes", "AS", "t4", "ON", "t4.pid", "=", "t3.pid", "JOIN", "author", "AS", "t2", "ON", "t4.aid", "=", "t2.aid", "WHERE", "t1.keyword", "=", "``", "Relational", "Database", "''", "GROUP", "BY", "t2.name", "ORDER", "BY", "COUNT", "(", "DISTINCT", "t3.title", ")", "DESC", "LIMIT", "1", ";" ], "query_toks_no_value": [ "select", "t2", ".", "name", "from", "publication_keyword", "as", "t5", "join", "keyword", "as", "t1", "on", "t5", ".", "kid", "=", "t1", ".", "kid", "join", "publication", "as", "t3", "on", "t3", ".", "pid", "=", "t5", ".", "pid", "join", "writes", "as", "t4", "on", "t4", ".", "pid", "=", "t3", ".", "pid", "join", "author", "as", "t2", "on", "t4", ".", "aid", "=", "t2", ".", "aid", "where", "t1", ".", "keyword", "=", "value", "group", "by", "t2", ".", "name", "order", "by", "count", "(", "distinct", "t3", ".", "title", ")", "desc", "limit", "value" ], "question": "retorne-me o autor com o maior número de artigos contendo a palavra-chave \"Banco de dados relacional\".", "question_toks": [ "retorne-me", "o", "autor", "com", "o", "maior", "número", "de", "artigos", "contendo", "a", "palavra-chave", "\"", "Banco", "de", "dados", "relacional", "\"", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 12 ], [ "table_unit", 7 ], [ "table_unit", 9 ], [ "table_unit", 13 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 38, false ], null ], [ 0, 20, false ], null ], "and", [ false, 2, [ 0, [ 0, 27, false ], null ], [ 0, 37, false ], null ], "and", [ false, 2, [ 0, [ 0, 40, false ], null ], [ 0, 27, false ], null ], "and", [ false, 2, [ 0, [ 0, 39, false ], null ], [ 0, 1, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 19, false ], null ], "\"Relational Database\"", null ] ], "groupBy": [ [ 0, 3, false ] ], "having": [], "orderBy": [ "desc", [ [ 0, [ 3, 29, true ], null ] ] ], "limit": 1, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT t2.name FROM publication_keyword AS t4 JOIN keyword AS t1 ON t4.kid = t1.kid JOIN publication AS t3 ON t3.pid = t4.pid JOIN conference AS t2 ON t3.cid = t2.cid WHERE t1.keyword = \"Relational Database\" GROUP BY t2.name ORDER BY COUNT ( DISTINCT t3.title ) DESC LIMIT 1;", "query_toks": [ "SELECT", "t2.name", "FROM", "publication_keyword", "AS", "t4", "JOIN", "keyword", "AS", "t1", "ON", "t4.kid", "=", "t1.kid", "JOIN", "publication", "AS", "t3", "ON", "t3.pid", "=", "t4.pid", "JOIN", "conference", "AS", "t2", "ON", "t3.cid", "=", "t2.cid", "WHERE", "t1.keyword", "=", "``", "Relational", "Database", "''", "GROUP", "BY", "t2.name", "ORDER", "BY", "COUNT", "(", "DISTINCT", "t3.title", ")", "DESC", "LIMIT", "1", ";" ], "query_toks_no_value": [ "select", "t2", ".", "name", "from", "publication_keyword", "as", "t4", "join", "keyword", "as", "t1", "on", "t4", ".", "kid", "=", "t1", ".", "kid", "join", "publication", "as", "t3", "on", "t3", ".", "pid", "=", "t4", ".", "pid", "join", "conference", "as", "t2", "on", "t3", ".", "cid", "=", "t2", ".", "cid", "where", "t1", ".", "keyword", "=", "value", "group", "by", "t2", ".", "name", "order", "by", "count", "(", "distinct", "t3", ".", "title", ")", "desc", "limit", "value" ], "question": "retorne-me a conferência que tiver o maior número de artigos contendo a palavra-chave \"Banco de dados relacional\".", "question_toks": [ "retorne-me", "a", "conferência", "que", "tiver", "o", "maior", "número", "de", "artigos", "contendo", "a", "palavra-chave", "\"", "Banco", "de", "dados", "relacional", "\"", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 12 ], [ "table_unit", 7 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 38, false ], null ], [ 0, 20, false ], null ], "and", [ false, 2, [ 0, [ 0, 27, false ], null ], [ 0, 37, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 5, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 7, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 19, false ], null ], "\"Relational Database\"", null ] ], "groupBy": [ [ 0, 7, false ] ], "having": [], "orderBy": [ "desc", [ [ 0, [ 3, 29, true ], null ] ] ], "limit": 1, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT t2.name FROM publication_keyword AS t4 JOIN keyword AS t1 ON t4.kid = t1.kid JOIN publication AS t3 ON t3.pid = t4.pid JOIN conference AS t2 ON t3.cid = t2.cid WHERE t1.keyword = \"Relational Database\" GROUP BY t2.name ORDER BY COUNT ( DISTINCT t3.title ) DESC LIMIT 1;", "query_toks": [ "SELECT", "t2.name", "FROM", "publication_keyword", "AS", "t4", "JOIN", "keyword", "AS", "t1", "ON", "t4.kid", "=", "t1.kid", "JOIN", "publication", "AS", "t3", "ON", "t3.pid", "=", "t4.pid", "JOIN", "conference", "AS", "t2", "ON", "t3.cid", "=", "t2.cid", "WHERE", "t1.keyword", "=", "``", "Relational", "Database", "''", "GROUP", "BY", "t2.name", "ORDER", "BY", "COUNT", "(", "DISTINCT", "t3.title", ")", "DESC", "LIMIT", "1", ";" ], "query_toks_no_value": [ "select", "t2", ".", "name", "from", "publication_keyword", "as", "t4", "join", "keyword", "as", "t1", "on", "t4", ".", "kid", "=", "t1", ".", "kid", "join", "publication", "as", "t3", "on", "t3", ".", "pid", "=", "t4", ".", "pid", "join", "conference", "as", "t2", "on", "t3", ".", "cid", "=", "t2", ".", "cid", "where", "t1", ".", "keyword", "=", "value", "group", "by", "t2", ".", "name", "order", "by", "count", "(", "distinct", "t3", ".", "title", ")", "desc", "limit", "value" ], "question": "me devolva a conferência, que tem o maior número de artigos contendo a palavra-chave \"Banco de dados relacional\".", "question_toks": [ "me", "devolva", "a", "conferência", ",", "que", "tem", "o", "maior", "número", "de", "artigos", "contendo", "a", "palavra-chave", "\"", "Banco", "de", "dados", "relacional", "\"", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 12 ], [ "table_unit", 7 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 38, false ], null ], [ 0, 20, false ], null ], "and", [ false, 2, [ 0, [ 0, 27, false ], null ], [ 0, 37, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 5, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 7, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 19, false ], null ], "\"Relational Database\"", null ] ], "groupBy": [ [ 0, 7, false ] ], "having": [], "orderBy": [ "desc", [ [ 0, [ 3, 29, true ], null ] ] ], "limit": 1, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT t3.name FROM publication_keyword AS t4 JOIN keyword AS t1 ON t4.kid = t1.kid JOIN publication AS t2 ON t2.pid = t4.pid JOIN journal AS t3 ON t2.jid = t3.jid WHERE t1.keyword = \"Relational Database\" GROUP BY t3.name ORDER BY COUNT ( DISTINCT t2.title ) DESC LIMIT 1;", "query_toks": [ "SELECT", "t3.name", "FROM", "publication_keyword", "AS", "t4", "JOIN", "keyword", "AS", "t1", "ON", "t4.kid", "=", "t1.kid", "JOIN", "publication", "AS", "t2", "ON", "t2.pid", "=", "t4.pid", "JOIN", "journal", "AS", "t3", "ON", "t2.jid", "=", "t3.jid", "WHERE", "t1.keyword", "=", "``", "Relational", "Database", "''", "GROUP", "BY", "t3.name", "ORDER", "BY", "COUNT", "(", "DISTINCT", "t2.title", ")", "DESC", "LIMIT", "1", ";" ], "query_toks_no_value": [ "select", "t3", ".", "name", "from", "publication_keyword", "as", "t4", "join", "keyword", "as", "t1", "on", "t4", ".", "kid", "=", "t1", ".", "kid", "join", "publication", "as", "t2", "on", "t2", ".", "pid", "=", "t4", ".", "pid", "join", "journal", "as", "t3", "on", "t2", ".", "jid", "=", "t3", ".", "jid", "where", "t1", ".", "keyword", "=", "value", "group", "by", "t3", ".", "name", "order", "by", "count", "(", "distinct", "t2", ".", "title", ")", "desc", "limit", "value" ], "question": "retorne-me o periódico que tiver o maior número de artigos contendo a palavra-chave \"Banco de dados relacional\".", "question_toks": [ "retorne-me", "o", "periódico", "que", "tiver", "o", "maior", "número", "de", "artigos", "contendo", "a", "palavra-chave", "\"", "Banco", "de", "dados", "relacional", "\"", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 12 ], [ "table_unit", 7 ], [ "table_unit", 9 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 38, false ], null ], [ 0, 20, false ], null ], "and", [ false, 2, [ 0, [ 0, 27, false ], null ], [ 0, 37, false ], null ], "and", [ false, 2, [ 0, [ 0, 26, false ], null ], [ 0, 15, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 16, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 19, false ], null ], "\"Relational Database\"", null ] ], "groupBy": [ [ 0, 16, false ] ], "having": [], "orderBy": [ "desc", [ [ 0, [ 3, 29, true ], null ] ] ], "limit": 1, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT t3.name FROM publication_keyword AS t4 JOIN keyword AS t1 ON t4.kid = t1.kid JOIN publication AS t2 ON t2.pid = t4.pid JOIN journal AS t3 ON t2.jid = t3.jid WHERE t1.keyword = \"Relational Database\" GROUP BY t3.name ORDER BY COUNT ( DISTINCT t2.title ) DESC LIMIT 1;", "query_toks": [ "SELECT", "t3.name", "FROM", "publication_keyword", "AS", "t4", "JOIN", "keyword", "AS", "t1", "ON", "t4.kid", "=", "t1.kid", "JOIN", "publication", "AS", "t2", "ON", "t2.pid", "=", "t4.pid", "JOIN", "journal", "AS", "t3", "ON", "t2.jid", "=", "t3.jid", "WHERE", "t1.keyword", "=", "``", "Relational", "Database", "''", "GROUP", "BY", "t3.name", "ORDER", "BY", "COUNT", "(", "DISTINCT", "t2.title", ")", "DESC", "LIMIT", "1", ";" ], "query_toks_no_value": [ "select", "t3", ".", "name", "from", "publication_keyword", "as", "t4", "join", "keyword", "as", "t1", "on", "t4", ".", "kid", "=", "t1", ".", "kid", "join", "publication", "as", "t2", "on", "t2", ".", "pid", "=", "t4", ".", "pid", "join", "journal", "as", "t3", "on", "t2", ".", "jid", "=", "t3", ".", "jid", "where", "t1", ".", "keyword", "=", "value", "group", "by", "t3", ".", "name", "order", "by", "count", "(", "distinct", "t2", ".", "title", ")", "desc", "limit", "value" ], "question": "retorne-me a revista, que tem o maior número de artigos contendo a palavra-chave \"Banco de dados relacional\".", "question_toks": [ "retorne-me", "a", "revista", ",", "que", "tem", "o", "maior", "número", "de", "artigos", "contendo", "a", "palavra-chave", "\"", "Banco", "de", "dados", "relacional", "\"", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 12 ], [ "table_unit", 7 ], [ "table_unit", 9 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 38, false ], null ], [ 0, 20, false ], null ], "and", [ false, 2, [ 0, [ 0, 27, false ], null ], [ 0, 37, false ], null ], "and", [ false, 2, [ 0, [ 0, 26, false ], null ], [ 0, 15, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 16, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 19, false ], null ], "\"Relational Database\"", null ] ], "groupBy": [ [ 0, 16, false ] ], "having": [], "orderBy": [ "desc", [ [ 0, [ 3, 29, true ], null ] ] ], "limit": 1, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT t1.keyword FROM publication_keyword AS t4 JOIN keyword AS t1 ON t4.kid = t1.kid JOIN publication AS t3 ON t3.pid = t4.pid JOIN conference AS t2 ON t3.cid = t2.cid WHERE t2.name = \"VLDB\" GROUP BY t1.keyword ORDER BY COUNT ( DISTINCT t3.title ) DESC LIMIT 1;", "query_toks": [ "SELECT", "t1.keyword", "FROM", "publication_keyword", "AS", "t4", "JOIN", "keyword", "AS", "t1", "ON", "t4.kid", "=", "t1.kid", "JOIN", "publication", "AS", "t3", "ON", "t3.pid", "=", "t4.pid", "JOIN", "conference", "AS", "t2", "ON", "t3.cid", "=", "t2.cid", "WHERE", "t2.name", "=", "``", "VLDB", "''", "GROUP", "BY", "t1.keyword", "ORDER", "BY", "COUNT", "(", "DISTINCT", "t3.title", ")", "DESC", "LIMIT", "1", ";" ], "query_toks_no_value": [ "select", "t1", ".", "keyword", "from", "publication_keyword", "as", "t4", "join", "keyword", "as", "t1", "on", "t4", ".", "kid", "=", "t1", ".", "kid", "join", "publication", "as", "t3", "on", "t3", ".", "pid", "=", "t4", ".", "pid", "join", "conference", "as", "t2", "on", "t3", ".", "cid", "=", "t2", ".", "cid", "where", "t2", ".", "name", "=", "value", "group", "by", "t1", ".", "keyword", "order", "by", "count", "(", "distinct", "t3", ".", "title", ")", "desc", "limit", "value" ], "question": "retorne-me a palavra-chave, que foi contida pela maior parte dos artigos na conferência VLDB.", "question_toks": [ "retorne-me", "a", "palavra-chave", ",", "que", "foi", "contida", "pela", "maior", "parte", "dos", "artigos", "na", "conferência", "VLDB", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 12 ], [ "table_unit", 7 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 38, false ], null ], [ 0, 20, false ], null ], "and", [ false, 2, [ 0, [ 0, 27, false ], null ], [ 0, 37, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 5, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 19, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 7, false ], null ], "\"VLDB\"", null ] ], "groupBy": [ [ 0, 19, false ] ], "having": [], "orderBy": [ "desc", [ [ 0, [ 3, 29, true ], null ] ] ], "limit": 1, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT t1.keyword FROM publication_keyword AS t4 JOIN keyword AS t1 ON t4.kid = t1.kid JOIN publication AS t2 ON t2.pid = t4.pid JOIN journal AS t3 ON t2.jid = t3.jid WHERE t3.name = \"PVLDB\" GROUP BY t1.keyword ORDER BY COUNT ( DISTINCT t2.title ) DESC LIMIT 1;", "query_toks": [ "SELECT", "t1.keyword", "FROM", "publication_keyword", "AS", "t4", "JOIN", "keyword", "AS", "t1", "ON", "t4.kid", "=", "t1.kid", "JOIN", "publication", "AS", "t2", "ON", "t2.pid", "=", "t4.pid", "JOIN", "journal", "AS", "t3", "ON", "t2.jid", "=", "t3.jid", "WHERE", "t3.name", "=", "``", "PVLDB", "''", "GROUP", "BY", "t1.keyword", "ORDER", "BY", "COUNT", "(", "DISTINCT", "t2.title", ")", "DESC", "LIMIT", "1", ";" ], "query_toks_no_value": [ "select", "t1", ".", "keyword", "from", "publication_keyword", "as", "t4", "join", "keyword", "as", "t1", "on", "t4", ".", "kid", "=", "t1", ".", "kid", "join", "publication", "as", "t2", "on", "t2", ".", "pid", "=", "t4", ".", "pid", "join", "journal", "as", "t3", "on", "t2", ".", "jid", "=", "t3", ".", "jid", "where", "t3", ".", "name", "=", "value", "group", "by", "t1", ".", "keyword", "order", "by", "count", "(", "distinct", "t2", ".", "title", ")", "desc", "limit", "value" ], "question": "retorne-me a palavra-chave, que está contida na maior parte dos artigos do PVLDB.", "question_toks": [ "retorne-me", "a", "palavra-chave", ",", "que", "está", "contida", "na", "maior", "parte", "dos", "artigos", "do", "PVLDB", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 12 ], [ "table_unit", 7 ], [ "table_unit", 9 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 38, false ], null ], [ 0, 20, false ], null ], "and", [ false, 2, [ 0, [ 0, 27, false ], null ], [ 0, 37, false ], null ], "and", [ false, 2, [ 0, [ 0, 26, false ], null ], [ 0, 15, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 19, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 16, false ], null ], "\"PVLDB\"", null ] ], "groupBy": [ [ 0, 19, false ] ], "having": [], "orderBy": [ "desc", [ [ 0, [ 3, 29, true ], null ] ] ], "limit": 1, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT t1.keyword FROM publication_keyword AS t5 JOIN keyword AS t1 ON t5.kid = t1.kid JOIN publication AS t3 ON t3.pid = t5.pid JOIN writes AS t4 ON t4.pid = t3.pid JOIN author AS t2 ON t4.aid = t2.aid WHERE t2.name = \"H. V. Jagadish\" GROUP BY t1.keyword ORDER BY COUNT ( DISTINCT t3.title ) DESC LIMIT 1;", "query_toks": [ "SELECT", "t1.keyword", "FROM", "publication_keyword", "AS", "t5", "JOIN", "keyword", "AS", "t1", "ON", "t5.kid", "=", "t1.kid", "JOIN", "publication", "AS", "t3", "ON", "t3.pid", "=", "t5.pid", "JOIN", "writes", "AS", "t4", "ON", "t4.pid", "=", "t3.pid", "JOIN", "author", "AS", "t2", "ON", "t4.aid", "=", "t2.aid", "WHERE", "t2.name", "=", "``", "H.", "V.", "Jagadish", "''", "GROUP", "BY", "t1.keyword", "ORDER", "BY", "COUNT", "(", "DISTINCT", "t3.title", ")", "DESC", "LIMIT", "1", ";" ], "query_toks_no_value": [ "select", "t1", ".", "keyword", "from", "publication_keyword", "as", "t5", "join", "keyword", "as", "t1", "on", "t5", ".", "kid", "=", "t1", ".", "kid", "join", "publication", "as", "t3", "on", "t3", ".", "pid", "=", "t5", ".", "pid", "join", "writes", "as", "t4", "on", "t4", ".", "pid", "=", "t3", ".", "pid", "join", "author", "as", "t2", "on", "t4", ".", "aid", "=", "t2", ".", "aid", "where", "t2", ".", "name", "=", "value", "group", "by", "t1", ".", "keyword", "order", "by", "count", "(", "distinct", "t3", ".", "title", ")", "desc", "limit", "value" ], "question": "retorne-me a palavra-chave, que tem sido contida pela maior parte dos artigos de \"H. V. Jagadish\".", "question_toks": [ "retorne-me", "a", "palavra-chave", ",", "que", "tem", "sido", "contida", "pela", "maior", "parte", "dos", "artigos", "de", "\"", "H.", "V.", "Jagadish", "\"", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 12 ], [ "table_unit", 7 ], [ "table_unit", 9 ], [ "table_unit", 13 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 38, false ], null ], [ 0, 20, false ], null ], "and", [ false, 2, [ 0, [ 0, 27, false ], null ], [ 0, 37, false ], null ], "and", [ false, 2, [ 0, [ 0, 40, false ], null ], [ 0, 27, false ], null ], "and", [ false, 2, [ 0, [ 0, 39, false ], null ], [ 0, 1, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 19, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], "\"H. V. Jagadish\"", null ] ], "groupBy": [ [ 0, 19, false ] ], "having": [], "orderBy": [ "desc", [ [ 0, [ 3, 29, true ], null ] ] ], "limit": 1, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT t1.name FROM organization AS t2 JOIN author AS t1 ON t2.oid = t1.oid JOIN writes AS t3 ON t3.aid = t1.aid JOIN publication AS t4 ON t3.pid = t4.pid WHERE t2.name = \"University of Michigan\" GROUP BY t1.name ORDER BY SUM ( t4.citation_num ) DESC LIMIT 1;", "query_toks": [ "SELECT", "t1.name", "FROM", "organization", "AS", "t2", "JOIN", "author", "AS", "t1", "ON", "t2.oid", "=", "t1.oid", "JOIN", "writes", "AS", "t3", "ON", "t3.aid", "=", "t1.aid", "JOIN", "publication", "AS", "t4", "ON", "t3.pid", "=", "t4.pid", "WHERE", "t2.name", "=", "``", "University", "of", "Michigan", "''", "GROUP", "BY", "t1.name", "ORDER", "BY", "SUM", "(", "t4.citation_num", ")", "DESC", "LIMIT", "1", ";" ], "query_toks_no_value": [ "select", "t1", ".", "name", "from", "organization", "as", "t2", "join", "author", "as", "t1", "on", "t2", ".", "oid", "=", "t1", ".", "oid", "join", "writes", "as", "t3", "on", "t3", ".", "aid", "=", "t1", ".", "aid", "join", "publication", "as", "t4", "on", "t3", ".", "pid", "=", "t4", ".", "pid", "where", "t2", ".", "name", "=", "value", "group", "by", "t1", ".", "name", "order", "by", "sum", "(", "t4", ".", "citation_num", ")", "desc", "limit", "value" ], "question": "retorne-me o autor da \"Universidade de Michigan\" cujos artigos têm o maior número total de citações.", "question_toks": [ "retorne-me", "o", "autor", "da", "\"", "Universidade", "de", "Michigan", "\"", "cujos", "artigos", "têm", "o", "maior", "número", "total", "de", "citações", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 11 ], [ "table_unit", 0 ], [ "table_unit", 13 ], [ "table_unit", 9 ] ], "conds": [ [ false, 2, [ 0, [ 0, 36, false ], null ], [ 0, 4, false ], null ], "and", [ false, 2, [ 0, [ 0, 39, false ], null ], [ 0, 1, false ], null ], "and", [ false, 2, [ 0, [ 0, 40, false ], null ], [ 0, 27, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 35, false ], null ], "\"University of Michigan\"", null ] ], "groupBy": [ [ 0, 3, false ] ], "having": [], "orderBy": [ "desc", [ [ 0, [ 4, 25, false ], null ] ] ], "limit": 1, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT t1.name FROM DOMAIN AS t4 JOIN domain_publication AS t2 ON t4.did = t2.did JOIN publication AS t5 ON t5.pid = t2.pid JOIN writes AS t3 ON t3.pid = t5.pid JOIN author AS t1 ON t3.aid = t1.aid JOIN organization AS t6 ON t6.oid = t1.oid WHERE t4.name = \"Databases\" AND t6.name = \"University of Michigan\" GROUP BY t1.name ORDER BY SUM ( t5.citation_num ) DESC LIMIT 1;", "query_toks": [ "SELECT", "t1.name", "FROM", "DOMAIN", "AS", "t4", "JOIN", "domain_publication", "AS", "t2", "ON", "t4.did", "=", "t2.did", "JOIN", "publication", "AS", "t5", "ON", "t5.pid", "=", "t2.pid", "JOIN", "writes", "AS", "t3", "ON", "t3.pid", "=", "t5.pid", "JOIN", "author", "AS", "t1", "ON", "t3.aid", "=", "t1.aid", "JOIN", "organization", "AS", "t6", "ON", "t6.oid", "=", "t1.oid", "WHERE", "t4.name", "=", "``", "Databases", "''", "AND", "t6.name", "=", "``", "University", "of", "Michigan", "''", "GROUP", "BY", "t1.name", "ORDER", "BY", "SUM", "(", "t5.citation_num", ")", "DESC", "LIMIT", "1", ";" ], "query_toks_no_value": [ "select", "t1", ".", "name", "from", "domain", "as", "t4", "join", "domain_publication", "as", "t2", "on", "t4", ".", "did", "=", "t2", ".", "did", "join", "publication", "as", "t5", "on", "t5", ".", "pid", "=", "t2", ".", "pid", "join", "writes", "as", "t3", "on", "t3", ".", "pid", "=", "t5", ".", "pid", "join", "author", "as", "t1", "on", "t3", ".", "aid", "=", "t1", ".", "aid", "join", "organization", "as", "t6", "on", "t6", ".", "oid", "=", "t1", ".", "oid", "where", "t4", ".", "name", "=", "value", "and", "t6", ".", "name", "=", "value", "group", "by", "t1", ".", "name", "order", "by", "sum", "(", "t5", ".", "citation_num", ")", "desc", "limit", "value" ], "question": "retorne-me o autor da \"University of Michigan\" cujos artigos na área de bancos de dados têm o maior número total de citações.", "question_toks": [ "retorne-me", "o", "autor", "da", "\"", "University", "of", "Michigan", "\"", "cujos", "artigos", "na", "área", "de", "bancos", "de", "dados", "têm", "o", "maior", "número", "total", "de", "citações", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ], [ "table_unit", 10 ], [ "table_unit", 9 ], [ "table_unit", 13 ], [ "table_unit", 0 ], [ "table_unit", 11 ] ], "conds": [ [ false, 2, [ 0, [ 0, 8, false ], null ], [ 0, 31, false ], null ], "and", [ false, 2, [ 0, [ 0, 27, false ], null ], [ 0, 32, false ], null ], "and", [ false, 2, [ 0, [ 0, 40, false ], null ], [ 0, 27, false ], null ], "and", [ false, 2, [ 0, [ 0, 39, false ], null ], [ 0, 1, false ], null ], "and", [ false, 2, [ 0, [ 0, 36, false ], null ], [ 0, 4, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 9, false ], null ], "\"Databases\"", null ], "and", [ false, 2, [ 0, [ 0, 35, false ], null ], "\"University of Michigan\"", null ] ], "groupBy": [ [ 0, 3, false ] ], "having": [], "orderBy": [ "desc", [ [ 0, [ 4, 25, false ], null ] ] ], "limit": 1, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT t5.title FROM writes AS t3 JOIN author AS t2 ON t3.aid = t2.aid JOIN publication AS t5 ON t3.pid = t5.pid JOIN writes AS t4 ON t4.pid = t5.pid JOIN author AS t1 ON t4.aid = t1.aid WHERE t2.name = \"Divesh Srivastava\" AND t1.name = \"H. V. Jagadish\" ORDER BY t5.citation_num DESC LIMIT 1;", "query_toks": [ "SELECT", "t5.title", "FROM", "writes", "AS", "t3", "JOIN", "author", "AS", "t2", "ON", "t3.aid", "=", "t2.aid", "JOIN", "publication", "AS", "t5", "ON", "t3.pid", "=", "t5.pid", "JOIN", "writes", "AS", "t4", "ON", "t4.pid", "=", "t5.pid", "JOIN", "author", "AS", "t1", "ON", "t4.aid", "=", "t1.aid", "WHERE", "t2.name", "=", "``", "Divesh", "Srivastava", "''", "AND", "t1.name", "=", "``", "H.", "V.", "Jagadish", "''", "ORDER", "BY", "t5.citation_num", "DESC", "LIMIT", "1", ";" ], "query_toks_no_value": [ "select", "t5", ".", "title", "from", "writes", "as", "t3", "join", "author", "as", "t2", "on", "t3", ".", "aid", "=", "t2", ".", "aid", "join", "publication", "as", "t5", "on", "t3", ".", "pid", "=", "t5", ".", "pid", "join", "writes", "as", "t4", "on", "t4", ".", "pid", "=", "t5", ".", "pid", "join", "author", "as", "t1", "on", "t4", ".", "aid", "=", "t1", ".", "aid", "where", "t2", ".", "name", "=", "value", "and", "t1", ".", "name", "=", "value", "order", "by", "t5", ".", "citation_num", "desc", "limit", "value" ], "question": "devolva-me os artigos escritos por \"H. V. Jagadish\" e \"Divesh Srivastava\" com o maior número de citações.", "question_toks": [ "devolva-me", "os", "artigos", "escritos", "por", "\"", "H.", "V.", "Jagadish", "\"", "e", "\"", "Divesh", "Srivastava", "\"", "com", "o", "maior", "número", "de", "citações", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 13 ], [ "table_unit", 0 ], [ "table_unit", 9 ], [ "table_unit", 13 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 39, false ], null ], [ 0, 1, false ], null ], "and", [ false, 2, [ 0, [ 0, 40, false ], null ], [ 0, 27, false ], null ], "and", [ false, 2, [ 0, [ 0, 40, false ], null ], [ 0, 27, false ], null ], "and", [ false, 2, [ 0, [ 0, 39, false ], null ], [ 0, 1, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 29, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], "\"Divesh Srivastava\"", null ], "and", [ false, 2, [ 0, [ 0, 3, false ], null ], "\"H. V. Jagadish\"", null ] ], "groupBy": [], "having": [], "orderBy": [ "desc", [ [ 0, [ 0, 25, false ], null ] ] ], "limit": 1, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT t2.name FROM publication AS t4 JOIN conference AS t2 ON t4.cid = t2.cid JOIN writes AS t3 ON t3.pid = t4.pid JOIN author AS t1 ON t3.aid = t1.aid WHERE t1.name = \"H. V. Jagadish\" GROUP BY t2.name HAVING COUNT ( DISTINCT t4.title ) > 10;", "query_toks": [ "SELECT", "t2.name", "FROM", "publication", "AS", "t4", "JOIN", "conference", "AS", "t2", "ON", "t4.cid", "=", "t2.cid", "JOIN", "writes", "AS", "t3", "ON", "t3.pid", "=", "t4.pid", "JOIN", "author", "AS", "t1", "ON", "t3.aid", "=", "t1.aid", "WHERE", "t1.name", "=", "``", "H.", "V.", "Jagadish", "''", "GROUP", "BY", "t2.name", "HAVING", "COUNT", "(", "DISTINCT", "t4.title", ")", ">", "10", ";" ], "query_toks_no_value": [ "select", "t2", ".", "name", "from", "publication", "as", "t4", "join", "conference", "as", "t2", "on", "t4", ".", "cid", "=", "t2", ".", "cid", "join", "writes", "as", "t3", "on", "t3", ".", "pid", "=", "t4", ".", "pid", "join", "author", "as", "t1", "on", "t3", ".", "aid", "=", "t1", ".", "aid", "where", "t1", ".", "name", "=", "value", "group", "by", "t2", ".", "name", "having", "count", "(", "distinct", "t4", ".", "title", ")", ">", "value" ], "question": "me devolva as conferências, que têm mais de 10 artigos de \"H. V. Jagadish\".", "question_toks": [ "me", "devolva", "as", "conferências", ",", "que", "têm", "mais", "de", "10", "artigos", "de", "\"", "H.", "V.", "Jagadish", "\"", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ], [ "table_unit", 13 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 5, false ], null ], "and", [ false, 2, [ 0, [ 0, 40, false ], null ], [ 0, 27, false ], null ], "and", [ false, 2, [ 0, [ 0, 39, false ], null ], [ 0, 1, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 7, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], "\"H. V. Jagadish\"", null ] ], "groupBy": [ [ 0, 7, false ] ], "having": [ [ false, 3, [ 0, [ 3, 29, true ], null ], 10.0, null ] ], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT t2.name FROM publication AS t4 JOIN conference AS t2 ON t4.cid = t2.cid JOIN writes AS t3 ON t3.pid = t4.pid JOIN author AS t1 ON t3.aid = t1.aid WHERE t1.name = \"H. V. Jagadish\" GROUP BY t2.name ORDER BY COUNT ( DISTINCT t4.title ) DESC LIMIT 1;", "query_toks": [ "SELECT", "t2.name", "FROM", "publication", "AS", "t4", "JOIN", "conference", "AS", "t2", "ON", "t4.cid", "=", "t2.cid", "JOIN", "writes", "AS", "t3", "ON", "t3.pid", "=", "t4.pid", "JOIN", "author", "AS", "t1", "ON", "t3.aid", "=", "t1.aid", "WHERE", "t1.name", "=", "``", "H.", "V.", "Jagadish", "''", "GROUP", "BY", "t2.name", "ORDER", "BY", "COUNT", "(", "DISTINCT", "t4.title", ")", "DESC", "LIMIT", "1", ";" ], "query_toks_no_value": [ "select", "t2", ".", "name", "from", "publication", "as", "t4", "join", "conference", "as", "t2", "on", "t4", ".", "cid", "=", "t2", ".", "cid", "join", "writes", "as", "t3", "on", "t3", ".", "pid", "=", "t4", ".", "pid", "join", "author", "as", "t1", "on", "t3", ".", "aid", "=", "t1", ".", "aid", "where", "t1", ".", "name", "=", "value", "group", "by", "t2", ".", "name", "order", "by", "count", "(", "distinct", "t4", ".", "title", ")", "desc", "limit", "value" ], "question": "me devolva a conferência, que tem o maior número de artigos de \"H. V. Jagadish\".", "question_toks": [ "me", "devolva", "a", "conferência", ",", "que", "tem", "o", "maior", "número", "de", "artigos", "de", "\"", "H.", "V.", "Jagadish", "\"", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ], [ "table_unit", 13 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 5, false ], null ], "and", [ false, 2, [ 0, [ 0, 40, false ], null ], [ 0, 27, false ], null ], "and", [ false, 2, [ 0, [ 0, 39, false ], null ], [ 0, 1, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 7, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], "\"H. V. Jagadish\"", null ] ], "groupBy": [ [ 0, 7, false ] ], "having": [], "orderBy": [ "desc", [ [ 0, [ 3, 29, true ], null ] ] ], "limit": 1, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT t2.name FROM publication AS t4 JOIN journal AS t2 ON t4.jid = t2.jid JOIN writes AS t3 ON t3.pid = t4.pid JOIN author AS t1 ON t3.aid = t1.aid WHERE t1.name = \"H. V. Jagadish\" GROUP BY t2.name HAVING COUNT ( DISTINCT t4.title ) > 10;", "query_toks": [ "SELECT", "t2.name", "FROM", "publication", "AS", "t4", "JOIN", "journal", "AS", "t2", "ON", "t4.jid", "=", "t2.jid", "JOIN", "writes", "AS", "t3", "ON", "t3.pid", "=", "t4.pid", "JOIN", "author", "AS", "t1", "ON", "t3.aid", "=", "t1.aid", "WHERE", "t1.name", "=", "``", "H.", "V.", "Jagadish", "''", "GROUP", "BY", "t2.name", "HAVING", "COUNT", "(", "DISTINCT", "t4.title", ")", ">", "10", ";" ], "query_toks_no_value": [ "select", "t2", ".", "name", "from", "publication", "as", "t4", "join", "journal", "as", "t2", "on", "t4", ".", "jid", "=", "t2", ".", "jid", "join", "writes", "as", "t3", "on", "t3", ".", "pid", "=", "t4", ".", "pid", "join", "author", "as", "t1", "on", "t3", ".", "aid", "=", "t1", ".", "aid", "where", "t1", ".", "name", "=", "value", "group", "by", "t2", ".", "name", "having", "count", "(", "distinct", "t4", ".", "title", ")", ">", "value" ], "question": "devolva-me as revistas, que têm mais de 10 artigos de \"H. V. Jagadish\".", "question_toks": [ "devolva-me", "as", "revistas", ",", "que", "têm", "mais", "de", "10", "artigos", "de", "\"", "H.", "V.", "Jagadish", "\"", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 5 ], [ "table_unit", 13 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 26, false ], null ], [ 0, 15, false ], null ], "and", [ false, 2, [ 0, [ 0, 40, false ], null ], [ 0, 27, false ], null ], "and", [ false, 2, [ 0, [ 0, 39, false ], null ], [ 0, 1, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 16, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], "\"H. V. Jagadish\"", null ] ], "groupBy": [ [ 0, 16, false ] ], "having": [ [ false, 3, [ 0, [ 3, 29, true ], null ], 10.0, null ] ], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT t2.name FROM publication AS t4 JOIN journal AS t2 ON t4.jid = t2.jid JOIN writes AS t3 ON t3.pid = t4.pid JOIN author AS t1 ON t3.aid = t1.aid WHERE t1.name = \"H. V. Jagadish\" GROUP BY t2.name ORDER BY COUNT ( DISTINCT t4.title ) DESC LIMIT 1;", "query_toks": [ "SELECT", "t2.name", "FROM", "publication", "AS", "t4", "JOIN", "journal", "AS", "t2", "ON", "t4.jid", "=", "t2.jid", "JOIN", "writes", "AS", "t3", "ON", "t3.pid", "=", "t4.pid", "JOIN", "author", "AS", "t1", "ON", "t3.aid", "=", "t1.aid", "WHERE", "t1.name", "=", "``", "H.", "V.", "Jagadish", "''", "GROUP", "BY", "t2.name", "ORDER", "BY", "COUNT", "(", "DISTINCT", "t4.title", ")", "DESC", "LIMIT", "1", ";" ], "query_toks_no_value": [ "select", "t2", ".", "name", "from", "publication", "as", "t4", "join", "journal", "as", "t2", "on", "t4", ".", "jid", "=", "t2", ".", "jid", "join", "writes", "as", "t3", "on", "t3", ".", "pid", "=", "t4", ".", "pid", "join", "author", "as", "t1", "on", "t3", ".", "aid", "=", "t1", ".", "aid", "where", "t1", ".", "name", "=", "value", "group", "by", "t2", ".", "name", "order", "by", "count", "(", "distinct", "t4", ".", "title", ")", "desc", "limit", "value" ], "question": "me devolva o jornal, que tem o maior número de artigos de \"H. V. Jagadish\".", "question_toks": [ "me", "devolva", "o", "jornal", ",", "que", "tem", "o", "maior", "número", "de", "artigos", "de", "\"", "H.", "V.", "Jagadish", "\"", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 5 ], [ "table_unit", 13 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 26, false ], null ], [ 0, 15, false ], null ], "and", [ false, 2, [ 0, [ 0, 40, false ], null ], [ 0, 27, false ], null ], "and", [ false, 2, [ 0, [ 0, 39, false ], null ], [ 0, 1, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 16, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], "\"H. V. Jagadish\"", null ] ], "groupBy": [ [ 0, 16, false ] ], "having": [], "orderBy": [ "desc", [ [ 0, [ 3, 29, true ], null ] ] ], "limit": 1, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT title FROM publication ORDER BY citation_num DESC LIMIT 1;", "query_toks": [ "SELECT", "title", "FROM", "publication", "ORDER", "BY", "citation_num", "DESC", "LIMIT", "1", ";" ], "query_toks_no_value": [ "select", "title", "from", "publication", "order", "by", "citation_num", "desc", "limit", "value" ], "question": "devolva-me o artigo com mais citações.", "question_toks": [ "devolva-me", "o", "artigo", "com", "mais", "citações", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 29, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [ "desc", [ [ 0, [ 0, 25, false ], null ] ] ], "limit": 1, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT t3.title FROM DOMAIN AS t2 JOIN domain_publication AS t1 ON t2.did = t1.did JOIN publication AS t3 ON t3.pid = t1.pid WHERE t2.name = \"Databases\" ORDER BY t3.citation_num DESC LIMIT 1;", "query_toks": [ "SELECT", "t3.title", "FROM", "DOMAIN", "AS", "t2", "JOIN", "domain_publication", "AS", "t1", "ON", "t2.did", "=", "t1.did", "JOIN", "publication", "AS", "t3", "ON", "t3.pid", "=", "t1.pid", "WHERE", "t2.name", "=", "``", "Databases", "''", "ORDER", "BY", "t3.citation_num", "DESC", "LIMIT", "1", ";" ], "query_toks_no_value": [ "select", "t3", ".", "title", "from", "domain", "as", "t2", "join", "domain_publication", "as", "t1", "on", "t2", ".", "did", "=", "t1", ".", "did", "join", "publication", "as", "t3", "on", "t3", ".", "pid", "=", "t1", ".", "pid", "where", "t2", ".", "name", "=", "value", "order", "by", "t3", ".", "citation_num", "desc", "limit", "value" ], "question": "me devolva o artigo na área de Bancos de dados com mais citações.", "question_toks": [ "me", "devolva", "o", "artigo", "na", "área", "de", "Bancos", "de", "dados", "com", "mais", "citações", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ], [ "table_unit", 10 ], [ "table_unit", 9 ] ], "conds": [ [ false, 2, [ 0, [ 0, 8, false ], null ], [ 0, 31, false ], null ], "and", [ false, 2, [ 0, [ 0, 27, false ], null ], [ 0, 32, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 29, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 9, false ], null ], "\"Databases\"", null ] ], "groupBy": [], "having": [], "orderBy": [ "desc", [ [ 0, [ 0, 25, false ], null ] ] ], "limit": 1, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT t2.title FROM publication AS t2 JOIN journal AS t1 ON t2.jid = t1.jid WHERE t1.name = \"PVLDB\" ORDER BY t2.citation_num DESC LIMIT 1;", "query_toks": [ "SELECT", "t2.title", "FROM", "publication", "AS", "t2", "JOIN", "journal", "AS", "t1", "ON", "t2.jid", "=", "t1.jid", "WHERE", "t1.name", "=", "``", "PVLDB", "''", "ORDER", "BY", "t2.citation_num", "DESC", "LIMIT", "1", ";" ], "query_toks_no_value": [ "select", "t2", ".", "title", "from", "publication", "as", "t2", "join", "journal", "as", "t1", "on", "t2", ".", "jid", "=", "t1", ".", "jid", "where", "t1", ".", "name", "=", "value", "order", "by", "t2", ".", "citation_num", "desc", "limit", "value" ], "question": "me devolva o artigo em PVLDB com mais citações.", "question_toks": [ "me", "devolva", "o", "artigo", "em", "PVLDB", "com", "mais", "citações", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 26, false ], null ], [ 0, 15, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 29, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 16, false ], null ], "\"PVLDB\"", null ] ], "groupBy": [], "having": [], "orderBy": [ "desc", [ [ 0, [ 0, 25, false ], null ] ] ], "limit": 1, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT t2.title FROM publication AS t2 JOIN conference AS t1 ON t2.cid = t1.cid WHERE t1.name = \"VLDB\" ORDER BY t2.citation_num DESC LIMIT 1;", "query_toks": [ "SELECT", "t2.title", "FROM", "publication", "AS", "t2", "JOIN", "conference", "AS", "t1", "ON", "t2.cid", "=", "t1.cid", "WHERE", "t1.name", "=", "``", "VLDB", "''", "ORDER", "BY", "t2.citation_num", "DESC", "LIMIT", "1", ";" ], "query_toks_no_value": [ "select", "t2", ".", "title", "from", "publication", "as", "t2", "join", "conference", "as", "t1", "on", "t2", ".", "cid", "=", "t1", ".", "cid", "where", "t1", ".", "name", "=", "value", "order", "by", "t2", ".", "citation_num", "desc", "limit", "value" ], "question": "me devolva o artigo na conferência VLDB com mais citações.", "question_toks": [ "me", "devolva", "o", "artigo", "na", "conferência", "VLDB", "com", "mais", "citações", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 5, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 29, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 7, false ], null ], "\"VLDB\"", null ] ], "groupBy": [], "having": [], "orderBy": [ "desc", [ [ 0, [ 0, 25, false ], null ] ] ], "limit": 1, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT t3.title FROM writes AS t2 JOIN author AS t1 ON t2.aid = t1.aid JOIN publication AS t3 ON t2.pid = t3.pid WHERE t1.name = \"H. V. Jagadish\" ORDER BY t3.citation_num DESC LIMIT 1;", "query_toks": [ "SELECT", "t3.title", "FROM", "writes", "AS", "t2", "JOIN", "author", "AS", "t1", "ON", "t2.aid", "=", "t1.aid", "JOIN", "publication", "AS", "t3", "ON", "t2.pid", "=", "t3.pid", "WHERE", "t1.name", "=", "``", "H.", "V.", "Jagadish", "''", "ORDER", "BY", "t3.citation_num", "DESC", "LIMIT", "1", ";" ], "query_toks_no_value": [ "select", "t3", ".", "title", "from", "writes", "as", "t2", "join", "author", "as", "t1", "on", "t2", ".", "aid", "=", "t1", ".", "aid", "join", "publication", "as", "t3", "on", "t2", ".", "pid", "=", "t3", ".", "pid", "where", "t1", ".", "name", "=", "value", "order", "by", "t3", ".", "citation_num", "desc", "limit", "value" ], "question": "devolva-me o artigo de \"H. V. Jagadish\" com o maior número de citações.", "question_toks": [ "devolva-me", "o", "artigo", "de", "\"", "H.", "V.", "Jagadish", "\"", "com", "o", "maior", "número", "de", "citações", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 13 ], [ "table_unit", 0 ], [ "table_unit", 9 ] ], "conds": [ [ false, 2, [ 0, [ 0, 39, false ], null ], [ 0, 1, false ], null ], "and", [ false, 2, [ 0, [ 0, 40, false ], null ], [ 0, 27, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 29, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], "\"H. V. Jagadish\"", null ] ], "groupBy": [], "having": [], "orderBy": [ "desc", [ [ 0, [ 0, 25, false ], null ] ] ], "limit": 1, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT title FROM publication WHERE YEAR > 2000 ORDER BY citation_num DESC LIMIT 1;", "query_toks": [ "SELECT", "title", "FROM", "publication", "WHERE", "YEAR", ">", "2000", "ORDER", "BY", "citation_num", "DESC", "LIMIT", "1", ";" ], "query_toks_no_value": [ "select", "title", "from", "publication", "where", "year", ">", "value", "order", "by", "citation_num", "desc", "limit", "value" ], "question": "me devolva o artigo depois de 2000 com o maior número de citações.", "question_toks": [ "me", "devolva", "o", "artigo", "depois", "de", "2000", "com", "o", "maior", "número", "de", "citações", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 29, false ], null ] ] ] ], "where": [ [ false, 3, [ 0, [ 0, 30, false ], null ], 2000.0, null ] ], "groupBy": [], "having": [], "orderBy": [ "desc", [ [ 0, [ 0, 25, false ], null ] ] ], "limit": 1, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT t3.title FROM DOMAIN AS t2 JOIN domain_publication AS t1 ON t2.did = t1.did JOIN publication AS t3 ON t3.pid = t1.pid WHERE t2.name = \"Databases\" AND t3.year > 2000 ORDER BY t3.citation_num DESC LIMIT 1;", "query_toks": [ "SELECT", "t3.title", "FROM", "DOMAIN", "AS", "t2", "JOIN", "domain_publication", "AS", "t1", "ON", "t2.did", "=", "t1.did", "JOIN", "publication", "AS", "t3", "ON", "t3.pid", "=", "t1.pid", "WHERE", "t2.name", "=", "``", "Databases", "''", "AND", "t3.year", ">", "2000", "ORDER", "BY", "t3.citation_num", "DESC", "LIMIT", "1", ";" ], "query_toks_no_value": [ "select", "t3", ".", "title", "from", "domain", "as", "t2", "join", "domain_publication", "as", "t1", "on", "t2", ".", "did", "=", "t1", ".", "did", "join", "publication", "as", "t3", "on", "t3", ".", "pid", "=", "t1", ".", "pid", "where", "t2", ".", "name", "=", "value", "and", "t3", ".", "year", ">", "value", "order", "by", "t3", ".", "citation_num", "desc", "limit", "value" ], "question": "me devolva o artigo depois de 2000 na área de Bancos de dados com o maior número de citações.", "question_toks": [ "me", "devolva", "o", "artigo", "depois", "de", "2000", "na", "área", "de", "Bancos", "de", "dados", "com", "o", "maior", "número", "de", "citações", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ], [ "table_unit", 10 ], [ "table_unit", 9 ] ], "conds": [ [ false, 2, [ 0, [ 0, 8, false ], null ], [ 0, 31, false ], null ], "and", [ false, 2, [ 0, [ 0, 27, false ], null ], [ 0, 32, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 29, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 9, false ], null ], "\"Databases\"", null ], "and", [ false, 3, [ 0, [ 0, 30, false ], null ], 2000.0, null ] ], "groupBy": [], "having": [], "orderBy": [ "desc", [ [ 0, [ 0, 25, false ], null ] ] ], "limit": 1, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT t2.title FROM publication AS t2 JOIN journal AS t1 ON t2.jid = t1.jid WHERE t1.name = \"PVLDB\" AND t2.year > 2000 ORDER BY t2.citation_num DESC LIMIT 1;", "query_toks": [ "SELECT", "t2.title", "FROM", "publication", "AS", "t2", "JOIN", "journal", "AS", "t1", "ON", "t2.jid", "=", "t1.jid", "WHERE", "t1.name", "=", "``", "PVLDB", "''", "AND", "t2.year", ">", "2000", "ORDER", "BY", "t2.citation_num", "DESC", "LIMIT", "1", ";" ], "query_toks_no_value": [ "select", "t2", ".", "title", "from", "publication", "as", "t2", "join", "journal", "as", "t1", "on", "t2", ".", "jid", "=", "t1", ".", "jid", "where", "t1", ".", "name", "=", "value", "and", "t2", ".", "year", ">", "value", "order", "by", "t2", ".", "citation_num", "desc", "limit", "value" ], "question": "me devolva o artigo depois de 2000 no PVLDB com o maior número de citações.", "question_toks": [ "me", "devolva", "o", "artigo", "depois", "de", "2000", "no", "PVLDB", "com", "o", "maior", "número", "de", "citações", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 26, false ], null ], [ 0, 15, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 29, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 16, false ], null ], "\"PVLDB\"", null ], "and", [ false, 3, [ 0, [ 0, 30, false ], null ], 2000.0, null ] ], "groupBy": [], "having": [], "orderBy": [ "desc", [ [ 0, [ 0, 25, false ], null ] ] ], "limit": 1, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT t2.title FROM publication AS t2 JOIN conference AS t1 ON t2.cid = t1.cid WHERE t1.name = \"VLDB\" AND t2.year > 2000 ORDER BY t2.citation_num DESC LIMIT 1;", "query_toks": [ "SELECT", "t2.title", "FROM", "publication", "AS", "t2", "JOIN", "conference", "AS", "t1", "ON", "t2.cid", "=", "t1.cid", "WHERE", "t1.name", "=", "``", "VLDB", "''", "AND", "t2.year", ">", "2000", "ORDER", "BY", "t2.citation_num", "DESC", "LIMIT", "1", ";" ], "query_toks_no_value": [ "select", "t2", ".", "title", "from", "publication", "as", "t2", "join", "conference", "as", "t1", "on", "t2", ".", "cid", "=", "t1", ".", "cid", "where", "t1", ".", "name", "=", "value", "and", "t2", ".", "year", ">", "value", "order", "by", "t2", ".", "citation_num", "desc", "limit", "value" ], "question": "me devolva o artigo depois de 2000 na conferência VLDB com o maior número de citações.", "question_toks": [ "me", "devolva", "o", "artigo", "depois", "de", "2000", "na", "conferência", "VLDB", "com", "o", "maior", "número", "de", "citações", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 5, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 29, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 7, false ], null ], "\"VLDB\"", null ], "and", [ false, 3, [ 0, [ 0, 30, false ], null ], 2000.0, null ] ], "groupBy": [], "having": [], "orderBy": [ "desc", [ [ 0, [ 0, 25, false ], null ] ] ], "limit": 1, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT t1.name FROM publication AS t4 JOIN journal AS t2 ON t4.jid = t2.jid JOIN writes AS t3 ON t3.pid = t4.pid JOIN author AS t1 ON t3.aid = t1.aid WHERE t2.name = \"PVLDB\" GROUP BY t1.name HAVING COUNT ( DISTINCT t4.title ) > 10;", "query_toks": [ "SELECT", "t1.name", "FROM", "publication", "AS", "t4", "JOIN", "journal", "AS", "t2", "ON", "t4.jid", "=", "t2.jid", "JOIN", "writes", "AS", "t3", "ON", "t3.pid", "=", "t4.pid", "JOIN", "author", "AS", "t1", "ON", "t3.aid", "=", "t1.aid", "WHERE", "t2.name", "=", "``", "PVLDB", "''", "GROUP", "BY", "t1.name", "HAVING", "COUNT", "(", "DISTINCT", "t4.title", ")", ">", "10", ";" ], "query_toks_no_value": [ "select", "t1", ".", "name", "from", "publication", "as", "t4", "join", "journal", "as", "t2", "on", "t4", ".", "jid", "=", "t2", ".", "jid", "join", "writes", "as", "t3", "on", "t3", ".", "pid", "=", "t4", ".", "pid", "join", "author", "as", "t1", "on", "t3", ".", "aid", "=", "t1", ".", "aid", "where", "t2", ".", "name", "=", "value", "group", "by", "t1", ".", "name", "having", "count", "(", "distinct", "t4", ".", "title", ")", ">", "value" ], "question": "me devolva os autores que possuem mais de 10 artigos no PVLDB.", "question_toks": [ "me", "devolva", "os", "autores", "que", "possuem", "mais", "de", "10", "artigos", "no", "PVLDB", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 5 ], [ "table_unit", 13 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 26, false ], null ], [ 0, 15, false ], null ], "and", [ false, 2, [ 0, [ 0, 40, false ], null ], [ 0, 27, false ], null ], "and", [ false, 2, [ 0, [ 0, 39, false ], null ], [ 0, 1, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 16, false ], null ], "\"PVLDB\"", null ] ], "groupBy": [ [ 0, 3, false ] ], "having": [ [ false, 3, [ 0, [ 3, 29, true ], null ], 10.0, null ] ], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT t1.name FROM publication AS t4 JOIN journal AS t2 ON t4.jid = t2.jid JOIN writes AS t3 ON t3.pid = t4.pid JOIN author AS t1 ON t3.aid = t1.aid WHERE t2.name = \"PVLDB\" GROUP BY t1.name ORDER BY COUNT ( DISTINCT t4.title ) DESC LIMIT 1;", "query_toks": [ "SELECT", "t1.name", "FROM", "publication", "AS", "t4", "JOIN", "journal", "AS", "t2", "ON", "t4.jid", "=", "t2.jid", "JOIN", "writes", "AS", "t3", "ON", "t3.pid", "=", "t4.pid", "JOIN", "author", "AS", "t1", "ON", "t3.aid", "=", "t1.aid", "WHERE", "t2.name", "=", "``", "PVLDB", "''", "GROUP", "BY", "t1.name", "ORDER", "BY", "COUNT", "(", "DISTINCT", "t4.title", ")", "DESC", "LIMIT", "1", ";" ], "query_toks_no_value": [ "select", "t1", ".", "name", "from", "publication", "as", "t4", "join", "journal", "as", "t2", "on", "t4", ".", "jid", "=", "t2", ".", "jid", "join", "writes", "as", "t3", "on", "t3", ".", "pid", "=", "t4", ".", "pid", "join", "author", "as", "t1", "on", "t3", ".", "aid", "=", "t1", ".", "aid", "where", "t2", ".", "name", "=", "value", "group", "by", "t1", ".", "name", "order", "by", "count", "(", "distinct", "t4", ".", "title", ")", "desc", "limit", "value" ], "question": "me devolva os autores que têm o maior número de artigos no PVLDB.", "question_toks": [ "me", "devolva", "os", "autores", "que", "têm", "o", "maior", "número", "de", "artigos", "no", "PVLDB", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 5 ], [ "table_unit", 13 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 26, false ], null ], [ 0, 15, false ], null ], "and", [ false, 2, [ 0, [ 0, 40, false ], null ], [ 0, 27, false ], null ], "and", [ false, 2, [ 0, [ 0, 39, false ], null ], [ 0, 1, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 16, false ], null ], "\"PVLDB\"", null ] ], "groupBy": [ [ 0, 3, false ] ], "having": [], "orderBy": [ "desc", [ [ 0, [ 3, 29, true ], null ] ] ], "limit": 1, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT t2.name FROM publication_keyword AS t5 JOIN keyword AS t1 ON t5.kid = t1.kid JOIN publication AS t3 ON t3.pid = t5.pid JOIN writes AS t4 ON t4.pid = t3.pid JOIN author AS t2 ON t4.aid = t2.aid WHERE t1.keyword = \"Relational Database\" GROUP BY t2.name HAVING COUNT ( DISTINCT t3.title ) > 10;", "query_toks": [ "SELECT", "t2.name", "FROM", "publication_keyword", "AS", "t5", "JOIN", "keyword", "AS", "t1", "ON", "t5.kid", "=", "t1.kid", "JOIN", "publication", "AS", "t3", "ON", "t3.pid", "=", "t5.pid", "JOIN", "writes", "AS", "t4", "ON", "t4.pid", "=", "t3.pid", "JOIN", "author", "AS", "t2", "ON", "t4.aid", "=", "t2.aid", "WHERE", "t1.keyword", "=", "``", "Relational", "Database", "''", "GROUP", "BY", "t2.name", "HAVING", "COUNT", "(", "DISTINCT", "t3.title", ")", ">", "10", ";" ], "query_toks_no_value": [ "select", "t2", ".", "name", "from", "publication_keyword", "as", "t5", "join", "keyword", "as", "t1", "on", "t5", ".", "kid", "=", "t1", ".", "kid", "join", "publication", "as", "t3", "on", "t3", ".", "pid", "=", "t5", ".", "pid", "join", "writes", "as", "t4", "on", "t4", ".", "pid", "=", "t3", ".", "pid", "join", "author", "as", "t2", "on", "t4", ".", "aid", "=", "t2", ".", "aid", "where", "t1", ".", "keyword", "=", "value", "group", "by", "t2", ".", "name", "having", "count", "(", "distinct", "t3", ".", "title", ")", ">", "value" ], "question": "retorne-me os autores que possuem mais de 10 artigos contendo a palavra-chave \"Banco de dados relacional\".", "question_toks": [ "retorne-me", "os", "autores", "que", "possuem", "mais", "de", "10", "artigos", "contendo", "a", "palavra-chave", "\"", "Banco", "de", "dados", "relacional", "\"", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 12 ], [ "table_unit", 7 ], [ "table_unit", 9 ], [ "table_unit", 13 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 38, false ], null ], [ 0, 20, false ], null ], "and", [ false, 2, [ 0, [ 0, 27, false ], null ], [ 0, 37, false ], null ], "and", [ false, 2, [ 0, [ 0, 40, false ], null ], [ 0, 27, false ], null ], "and", [ false, 2, [ 0, [ 0, 39, false ], null ], [ 0, 1, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 19, false ], null ], "\"Relational Database\"", null ] ], "groupBy": [ [ 0, 3, false ] ], "having": [ [ false, 3, [ 0, [ 3, 29, true ], null ], 10.0, null ] ], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT t2.name FROM publication_keyword AS t4 JOIN keyword AS t1 ON t4.kid = t1.kid JOIN publication AS t3 ON t3.pid = t4.pid JOIN conference AS t2 ON t3.cid = t2.cid WHERE t1.keyword = \"Relational Database\" GROUP BY t2.name HAVING COUNT ( DISTINCT t3.title ) > 60;", "query_toks": [ "SELECT", "t2.name", "FROM", "publication_keyword", "AS", "t4", "JOIN", "keyword", "AS", "t1", "ON", "t4.kid", "=", "t1.kid", "JOIN", "publication", "AS", "t3", "ON", "t3.pid", "=", "t4.pid", "JOIN", "conference", "AS", "t2", "ON", "t3.cid", "=", "t2.cid", "WHERE", "t1.keyword", "=", "``", "Relational", "Database", "''", "GROUP", "BY", "t2.name", "HAVING", "COUNT", "(", "DISTINCT", "t3.title", ")", ">", "60", ";" ], "query_toks_no_value": [ "select", "t2", ".", "name", "from", "publication_keyword", "as", "t4", "join", "keyword", "as", "t1", "on", "t4", ".", "kid", "=", "t1", ".", "kid", "join", "publication", "as", "t3", "on", "t3", ".", "pid", "=", "t4", ".", "pid", "join", "conference", "as", "t2", "on", "t3", ".", "cid", "=", "t2", ".", "cid", "where", "t1", ".", "keyword", "=", "value", "group", "by", "t2", ".", "name", "having", "count", "(", "distinct", "t3", ".", "title", ")", ">", "value" ], "question": "retorne-me as conferências, que possuem mais de 60 artigos contendo a palavra-chave \"Banco de dados relacional\".", "question_toks": [ "retorne-me", "as", "conferências", ",", "que", "possuem", "mais", "de", "60", "artigos", "contendo", "a", "palavra-chave", "\"", "Banco", "de", "dados", "relacional", "\"", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 12 ], [ "table_unit", 7 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 38, false ], null ], [ 0, 20, false ], null ], "and", [ false, 2, [ 0, [ 0, 27, false ], null ], [ 0, 37, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 5, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 7, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 19, false ], null ], "\"Relational Database\"", null ] ], "groupBy": [ [ 0, 7, false ] ], "having": [ [ false, 3, [ 0, [ 3, 29, true ], null ], 60.0, null ] ], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT t3.name FROM publication_keyword AS t4 JOIN keyword AS t1 ON t4.kid = t1.kid JOIN publication AS t2 ON t2.pid = t4.pid JOIN journal AS t3 ON t2.jid = t3.jid WHERE t1.keyword = \"Relational Database\" GROUP BY t3.name HAVING COUNT ( DISTINCT t2.title ) > 60;", "query_toks": [ "SELECT", "t3.name", "FROM", "publication_keyword", "AS", "t4", "JOIN", "keyword", "AS", "t1", "ON", "t4.kid", "=", "t1.kid", "JOIN", "publication", "AS", "t2", "ON", "t2.pid", "=", "t4.pid", "JOIN", "journal", "AS", "t3", "ON", "t2.jid", "=", "t3.jid", "WHERE", "t1.keyword", "=", "``", "Relational", "Database", "''", "GROUP", "BY", "t3.name", "HAVING", "COUNT", "(", "DISTINCT", "t2.title", ")", ">", "60", ";" ], "query_toks_no_value": [ "select", "t3", ".", "name", "from", "publication_keyword", "as", "t4", "join", "keyword", "as", "t1", "on", "t4", ".", "kid", "=", "t1", ".", "kid", "join", "publication", "as", "t2", "on", "t2", ".", "pid", "=", "t4", ".", "pid", "join", "journal", "as", "t3", "on", "t2", ".", "jid", "=", "t3", ".", "jid", "where", "t1", ".", "keyword", "=", "value", "group", "by", "t3", ".", "name", "having", "count", "(", "distinct", "t2", ".", "title", ")", ">", "value" ], "question": "retorne-me os periódicos, que possuem mais de 60 artigos contendo a palavra-chave \"Banco de Dados Relacional\".", "question_toks": [ "retorne-me", "os", "periódicos", ",", "que", "possuem", "mais", "de", "60", "artigos", "contendo", "a", "palavra-chave", "\"", "Banco", "de", "Dados", "Relacional", "\"", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 12 ], [ "table_unit", 7 ], [ "table_unit", 9 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 38, false ], null ], [ 0, 20, false ], null ], "and", [ false, 2, [ 0, [ 0, 27, false ], null ], [ 0, 37, false ], null ], "and", [ false, 2, [ 0, [ 0, 26, false ], null ], [ 0, 15, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 16, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 19, false ], null ], "\"Relational Database\"", null ] ], "groupBy": [ [ 0, 16, false ] ], "having": [ [ false, 3, [ 0, [ 3, 29, true ], null ], 60.0, null ] ], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT t1.keyword FROM publication_keyword AS t4 JOIN keyword AS t1 ON t4.kid = t1.kid JOIN publication AS t3 ON t3.pid = t4.pid JOIN conference AS t2 ON t3.cid = t2.cid WHERE t2.name = \"VLDB\" GROUP BY t1.keyword HAVING COUNT ( DISTINCT t3.title ) > 100;", "query_toks": [ "SELECT", "t1.keyword", "FROM", "publication_keyword", "AS", "t4", "JOIN", "keyword", "AS", "t1", "ON", "t4.kid", "=", "t1.kid", "JOIN", "publication", "AS", "t3", "ON", "t3.pid", "=", "t4.pid", "JOIN", "conference", "AS", "t2", "ON", "t3.cid", "=", "t2.cid", "WHERE", "t2.name", "=", "``", "VLDB", "''", "GROUP", "BY", "t1.keyword", "HAVING", "COUNT", "(", "DISTINCT", "t3.title", ")", ">", "100", ";" ], "query_toks_no_value": [ "select", "t1", ".", "keyword", "from", "publication_keyword", "as", "t4", "join", "keyword", "as", "t1", "on", "t4", ".", "kid", "=", "t1", ".", "kid", "join", "publication", "as", "t3", "on", "t3", ".", "pid", "=", "t4", ".", "pid", "join", "conference", "as", "t2", "on", "t3", ".", "cid", "=", "t2", ".", "cid", "where", "t2", ".", "name", "=", "value", "group", "by", "t1", ".", "keyword", "having", "count", "(", "distinct", "t3", ".", "title", ")", ">", "value" ], "question": "retorne-me as palavras-chave contidas em mais de 100 artigos na conferência VLDB.", "question_toks": [ "retorne-me", "as", "palavras-chave", "contidas", "em", "mais", "de", "100", "artigos", "na", "conferência", "VLDB", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 12 ], [ "table_unit", 7 ], [ "table_unit", 9 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 38, false ], null ], [ 0, 20, false ], null ], "and", [ false, 2, [ 0, [ 0, 27, false ], null ], [ 0, 37, false ], null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 5, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 19, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 7, false ], null ], "\"VLDB\"", null ] ], "groupBy": [ [ 0, 19, false ] ], "having": [ [ false, 3, [ 0, [ 3, 29, true ], null ], 100.0, null ] ], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT t1.keyword FROM publication_keyword AS t4 JOIN keyword AS t1 ON t4.kid = t1.kid JOIN publication AS t2 ON t2.pid = t4.pid JOIN journal AS t3 ON t2.jid = t3.jid WHERE t3.name = \"PVLDB\" GROUP BY t1.keyword HAVING COUNT ( DISTINCT t2.title ) > 100;", "query_toks": [ "SELECT", "t1.keyword", "FROM", "publication_keyword", "AS", "t4", "JOIN", "keyword", "AS", "t1", "ON", "t4.kid", "=", "t1.kid", "JOIN", "publication", "AS", "t2", "ON", "t2.pid", "=", "t4.pid", "JOIN", "journal", "AS", "t3", "ON", "t2.jid", "=", "t3.jid", "WHERE", "t3.name", "=", "``", "PVLDB", "''", "GROUP", "BY", "t1.keyword", "HAVING", "COUNT", "(", "DISTINCT", "t2.title", ")", ">", "100", ";" ], "query_toks_no_value": [ "select", "t1", ".", "keyword", "from", "publication_keyword", "as", "t4", "join", "keyword", "as", "t1", "on", "t4", ".", "kid", "=", "t1", ".", "kid", "join", "publication", "as", "t2", "on", "t2", ".", "pid", "=", "t4", ".", "pid", "join", "journal", "as", "t3", "on", "t2", ".", "jid", "=", "t3", ".", "jid", "where", "t3", ".", "name", "=", "value", "group", "by", "t1", ".", "keyword", "having", "count", "(", "distinct", "t2", ".", "title", ")", ">", "value" ], "question": "retorne-me as palavras-chave contidas em mais de 100 artigos no PVLDB.", "question_toks": [ "retorne-me", "as", "palavras-chave", "contidas", "em", "mais", "de", "100", "artigos", "no", "PVLDB", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 12 ], [ "table_unit", 7 ], [ "table_unit", 9 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 38, false ], null ], [ 0, 20, false ], null ], "and", [ false, 2, [ 0, [ 0, 27, false ], null ], [ 0, 37, false ], null ], "and", [ false, 2, [ 0, [ 0, 26, false ], null ], [ 0, 15, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 19, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 16, false ], null ], "\"PVLDB\"", null ] ], "groupBy": [ [ 0, 19, false ] ], "having": [ [ false, 3, [ 0, [ 3, 29, true ], null ], 100.0, null ] ], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT t1.keyword FROM publication_keyword AS t5 JOIN keyword AS t1 ON t5.kid = t1.kid JOIN publication AS t3 ON t3.pid = t5.pid JOIN writes AS t4 ON t4.pid = t3.pid JOIN author AS t2 ON t4.aid = t2.aid WHERE t2.name = \"H. V. Jagadish\" GROUP BY t1.keyword HAVING COUNT ( DISTINCT t3.title ) > 10;", "query_toks": [ "SELECT", "t1.keyword", "FROM", "publication_keyword", "AS", "t5", "JOIN", "keyword", "AS", "t1", "ON", "t5.kid", "=", "t1.kid", "JOIN", "publication", "AS", "t3", "ON", "t3.pid", "=", "t5.pid", "JOIN", "writes", "AS", "t4", "ON", "t4.pid", "=", "t3.pid", "JOIN", "author", "AS", "t2", "ON", "t4.aid", "=", "t2.aid", "WHERE", "t2.name", "=", "``", "H.", "V.", "Jagadish", "''", "GROUP", "BY", "t1.keyword", "HAVING", "COUNT", "(", "DISTINCT", "t3.title", ")", ">", "10", ";" ], "query_toks_no_value": [ "select", "t1", ".", "keyword", "from", "publication_keyword", "as", "t5", "join", "keyword", "as", "t1", "on", "t5", ".", "kid", "=", "t1", ".", "kid", "join", "publication", "as", "t3", "on", "t3", ".", "pid", "=", "t5", ".", "pid", "join", "writes", "as", "t4", "on", "t4", ".", "pid", "=", "t3", ".", "pid", "join", "author", "as", "t2", "on", "t4", ".", "aid", "=", "t2", ".", "aid", "where", "t2", ".", "name", "=", "value", "group", "by", "t1", ".", "keyword", "having", "count", "(", "distinct", "t3", ".", "title", ")", ">", "value" ], "question": "retorne-me as palavras-chave contidas em mais de 10 artigos de \"H. V. Jagadish\".", "question_toks": [ "retorne-me", "as", "palavras-chave", "contidas", "em", "mais", "de", "10", "artigos", "de", "\"", "H.", "V.", "Jagadish", "\"", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 12 ], [ "table_unit", 7 ], [ "table_unit", 9 ], [ "table_unit", 13 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 38, false ], null ], [ 0, 20, false ], null ], "and", [ false, 2, [ 0, [ 0, 27, false ], null ], [ 0, 37, false ], null ], "and", [ false, 2, [ 0, [ 0, 40, false ], null ], [ 0, 27, false ], null ], "and", [ false, 2, [ 0, [ 0, 39, false ], null ], [ 0, 1, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 19, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], "\"H. V. Jagadish\"", null ] ], "groupBy": [ [ 0, 19, false ] ], "having": [ [ false, 3, [ 0, [ 3, 29, true ], null ], 10.0, null ] ], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT t1.name FROM publication AS t4 JOIN conference AS t2 ON t4.cid = t2.cid JOIN writes AS t3 ON t3.pid = t4.pid JOIN author AS t1 ON t3.aid = t1.aid WHERE t2.name = \"VLDB\" GROUP BY t1.name HAVING COUNT ( DISTINCT t4.title ) > 10;", "query_toks": [ "SELECT", "t1.name", "FROM", "publication", "AS", "t4", "JOIN", "conference", "AS", "t2", "ON", "t4.cid", "=", "t2.cid", "JOIN", "writes", "AS", "t3", "ON", "t3.pid", "=", "t4.pid", "JOIN", "author", "AS", "t1", "ON", "t3.aid", "=", "t1.aid", "WHERE", "t2.name", "=", "``", "VLDB", "''", "GROUP", "BY", "t1.name", "HAVING", "COUNT", "(", "DISTINCT", "t4.title", ")", ">", "10", ";" ], "query_toks_no_value": [ "select", "t1", ".", "name", "from", "publication", "as", "t4", "join", "conference", "as", "t2", "on", "t4", ".", "cid", "=", "t2", ".", "cid", "join", "writes", "as", "t3", "on", "t3", ".", "pid", "=", "t4", ".", "pid", "join", "author", "as", "t1", "on", "t3", ".", "aid", "=", "t1", ".", "aid", "where", "t2", ".", "name", "=", "value", "group", "by", "t1", ".", "name", "having", "count", "(", "distinct", "t4", ".", "title", ")", ">", "value" ], "question": "me devolva os autores que têm mais de 10 artigos na conferência VLDB.", "question_toks": [ "me", "devolva", "os", "autores", "que", "têm", "mais", "de", "10", "artigos", "na", "conferência", "VLDB", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ], [ "table_unit", 13 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 5, false ], null ], "and", [ false, 2, [ 0, [ 0, 40, false ], null ], [ 0, 27, false ], null ], "and", [ false, 2, [ 0, [ 0, 39, false ], null ], [ 0, 1, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 7, false ], null ], "\"VLDB\"", null ] ], "groupBy": [ [ 0, 3, false ] ], "having": [ [ false, 3, [ 0, [ 3, 29, true ], null ], 10.0, null ] ], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT t1.name FROM publication AS t4 JOIN conference AS t2 ON t4.cid = t2.cid JOIN writes AS t3 ON t3.pid = t4.pid JOIN author AS t1 ON t3.aid = t1.aid WHERE t2.name = \"VLDB\" GROUP BY t1.name ORDER BY COUNT ( DISTINCT t4.title ) DESC LIMIT 1;", "query_toks": [ "SELECT", "t1.name", "FROM", "publication", "AS", "t4", "JOIN", "conference", "AS", "t2", "ON", "t4.cid", "=", "t2.cid", "JOIN", "writes", "AS", "t3", "ON", "t3.pid", "=", "t4.pid", "JOIN", "author", "AS", "t1", "ON", "t3.aid", "=", "t1.aid", "WHERE", "t2.name", "=", "``", "VLDB", "''", "GROUP", "BY", "t1.name", "ORDER", "BY", "COUNT", "(", "DISTINCT", "t4.title", ")", "DESC", "LIMIT", "1", ";" ], "query_toks_no_value": [ "select", "t1", ".", "name", "from", "publication", "as", "t4", "join", "conference", "as", "t2", "on", "t4", ".", "cid", "=", "t2", ".", "cid", "join", "writes", "as", "t3", "on", "t3", ".", "pid", "=", "t4", ".", "pid", "join", "author", "as", "t1", "on", "t3", ".", "aid", "=", "t1", ".", "aid", "where", "t2", ".", "name", "=", "value", "group", "by", "t1", ".", "name", "order", "by", "count", "(", "distinct", "t4", ".", "title", ")", "desc", "limit", "value" ], "question": "me devolva o autor com o maior número de artigos na conferência VLDB.", "question_toks": [ "me", "devolva", "o", "autor", "com", "o", "maior", "número", "de", "artigos", "na", "conferência", "VLDB", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 9 ], [ "table_unit", 1 ], [ "table_unit", 13 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 24, false ], null ], [ 0, 5, false ], null ], "and", [ false, 2, [ 0, [ 0, 40, false ], null ], [ 0, 27, false ], null ], "and", [ false, 2, [ 0, [ 0, 39, false ], null ], [ 0, 1, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 7, false ], null ], "\"VLDB\"", null ] ], "groupBy": [ [ 0, 3, false ] ], "having": [], "orderBy": [ "desc", [ [ 0, [ 3, 29, true ], null ] ] ], "limit": 1, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT t1.name FROM organization AS t2 JOIN author AS t1 ON t2.oid = t1.oid JOIN writes AS t3 ON t3.aid = t1.aid JOIN publication AS t4 ON t3.pid = t4.pid WHERE t2.name = \"University of Michigan\" GROUP BY t1.name HAVING SUM ( t4.citation_num ) > 5000;", "query_toks": [ "SELECT", "t1.name", "FROM", "organization", "AS", "t2", "JOIN", "author", "AS", "t1", "ON", "t2.oid", "=", "t1.oid", "JOIN", "writes", "AS", "t3", "ON", "t3.aid", "=", "t1.aid", "JOIN", "publication", "AS", "t4", "ON", "t3.pid", "=", "t4.pid", "WHERE", "t2.name", "=", "``", "University", "of", "Michigan", "''", "GROUP", "BY", "t1.name", "HAVING", "SUM", "(", "t4.citation_num", ")", ">", "5000", ";" ], "query_toks_no_value": [ "select", "t1", ".", "name", "from", "organization", "as", "t2", "join", "author", "as", "t1", "on", "t2", ".", "oid", "=", "t1", ".", "oid", "join", "writes", "as", "t3", "on", "t3", ".", "aid", "=", "t1", ".", "aid", "join", "publication", "as", "t4", "on", "t3", ".", "pid", "=", "t4", ".", "pid", "where", "t2", ".", "name", "=", "value", "group", "by", "t1", ".", "name", "having", "sum", "(", "t4", ".", "citation_num", ")", ">", "value" ], "question": "retorne-me o autor da \"Universidade de Michigan\" cujos artigos têm mais de 5.000 citações no total.", "question_toks": [ "retorne-me", "o", "autor", "da", "\"", "Universidade", "de", "Michigan", "\"", "cujos", "artigos", "têm", "mais", "de", "5.000", "citações", "no", "total", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 11 ], [ "table_unit", 0 ], [ "table_unit", 13 ], [ "table_unit", 9 ] ], "conds": [ [ false, 2, [ 0, [ 0, 36, false ], null ], [ 0, 4, false ], null ], "and", [ false, 2, [ 0, [ 0, 39, false ], null ], [ 0, 1, false ], null ], "and", [ false, 2, [ 0, [ 0, 40, false ], null ], [ 0, 27, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 35, false ], null ], "\"University of Michigan\"", null ] ], "groupBy": [ [ 0, 3, false ] ], "having": [ [ false, 3, [ 0, [ 4, 25, false ], null ], 5000.0, null ] ], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "academic", "query": "SELECT t1.name FROM domain_author AS t6 JOIN author AS t1 ON t6.aid = t1.aid JOIN DOMAIN AS t3 ON t3.did = t6.did JOIN organization AS t5 ON t5.oid = t1.oid JOIN writes AS t2 ON t2.aid = t1.aid JOIN publication AS t4 ON t2.pid = t4.pid WHERE t3.name = \"Databases\" AND t5.name = \"University of Michigan\" GROUP BY t1.name HAVING SUM ( t4.citation_num ) > 5000;", "query_toks": [ "SELECT", "t1.name", "FROM", "domain_author", "AS", "t6", "JOIN", "author", "AS", "t1", "ON", "t6.aid", "=", "t1.aid", "JOIN", "DOMAIN", "AS", "t3", "ON", "t3.did", "=", "t6.did", "JOIN", "organization", "AS", "t5", "ON", "t5.oid", "=", "t1.oid", "JOIN", "writes", "AS", "t2", "ON", "t2.aid", "=", "t1.aid", "JOIN", "publication", "AS", "t4", "ON", "t2.pid", "=", "t4.pid", "WHERE", "t3.name", "=", "``", "Databases", "''", "AND", "t5.name", "=", "``", "University", "of", "Michigan", "''", "GROUP", "BY", "t1.name", "HAVING", "SUM", "(", "t4.citation_num", ")", ">", "5000", ";" ], "query_toks_no_value": [ "select", "t1", ".", "name", "from", "domain_author", "as", "t6", "join", "author", "as", "t1", "on", "t6", ".", "aid", "=", "t1", ".", "aid", "join", "domain", "as", "t3", "on", "t3", ".", "did", "=", "t6", ".", "did", "join", "organization", "as", "t5", "on", "t5", ".", "oid", "=", "t1", ".", "oid", "join", "writes", "as", "t2", "on", "t2", ".", "aid", "=", "t1", ".", "aid", "join", "publication", "as", "t4", "on", "t2", ".", "pid", "=", "t4", ".", "pid", "where", "t3", ".", "name", "=", "value", "and", "t5", ".", "name", "=", "value", "group", "by", "t1", ".", "name", "having", "sum", "(", "t4", ".", "citation_num", ")", ">", "value" ], "question": "retorne-me o autor da área \"University of Michigan\" em Databases cujos artigos tenham mais de 5000 citações no total.", "question_toks": [ "retorne-me", "o", "autor", "da", "área", "\"", "University", "of", "Michigan", "\"", "em", "Databases", "cujos", "artigos", "tenham", "mais", "de", "5000", "citações", "no", "total", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 3 ], [ "table_unit", 0 ], [ "table_unit", 2 ], [ "table_unit", 11 ], [ "table_unit", 13 ], [ "table_unit", 9 ] ], "conds": [ [ false, 2, [ 0, [ 0, 10, false ], null ], [ 0, 1, false ], null ], "and", [ false, 2, [ 0, [ 0, 8, false ], null ], [ 0, 11, false ], null ], "and", [ false, 2, [ 0, [ 0, 36, false ], null ], [ 0, 4, false ], null ], "and", [ false, 2, [ 0, [ 0, 39, false ], null ], [ 0, 1, false ], null ], "and", [ false, 2, [ 0, [ 0, 40, false ], null ], [ 0, 27, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 9, false ], null ], "\"Databases\"", null ], "and", [ false, 2, [ 0, [ 0, 35, false ], null ], "\"University of Michigan\"", null ] ], "groupBy": [ [ 0, 3, false ] ], "having": [ [ false, 3, [ 0, [ 4, 25, false ], null ], 5000.0, null ] ], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "imdb", "query": "SELECT release_year FROM movie WHERE title = \"The Imitation Game\";", "query_toks": [ "SELECT", "release_year", "FROM", "movie", "WHERE", "title", "=", "``", "The", "Imitation", "Game", "''", ";" ], "query_toks_no_value": [ "select", "release_year", "from", "movie", "where", "title", "=", "value" ], "question": "De que ano é o filme \"The Imitation Game\"?", "question_toks": [ "De", "que", "ano", "é", "o", "filme", "\"", "The", "Imitation", "Game", "\"", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 11 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 44, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 43, false ], null ], "\"The Imitation Game\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "imdb", "query": "SELECT release_year FROM movie WHERE title = \"The Imitation Game\";", "query_toks": [ "SELECT", "release_year", "FROM", "movie", "WHERE", "title", "=", "``", "The", "Imitation", "Game", "''", ";" ], "query_toks_no_value": [ "select", "release_year", "from", "movie", "where", "title", "=", "value" ], "question": "Em que ano o filme \"The Imitation Game\" foi produzido", "question_toks": [ "Em", "que", "ano", "o", "filme", "\"", "The", "Imitation", "Game", "\"", "foi", "produzido" ], "sql": { "from": { "table_units": [ [ "table_unit", 11 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 44, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 43, false ], null ], "\"The Imitation Game\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "imdb", "query": "SELECT birth_year FROM actor WHERE name = \"Benedict Cumberbatch\";", "query_toks": [ "SELECT", "birth_year", "FROM", "actor", "WHERE", "name", "=", "``", "Benedict", "Cumberbatch", "''", ";" ], "query_toks_no_value": [ "select", "birth_year", "from", "actor", "where", "name", "=", "value" ], "question": "Em que ano nasceu \"Benedict Cumberbatch\"?", "question_toks": [ "Em", "que", "ano", "nasceu", "\"", "Benedict", "Cumberbatch", "\"", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 6, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], "\"Benedict Cumberbatch\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "imdb", "query": "SELECT birth_year FROM actor WHERE name = \"Benedict Cumberbatch\";", "query_toks": [ "SELECT", "birth_year", "FROM", "actor", "WHERE", "name", "=", "``", "Benedict", "Cumberbatch", "''", ";" ], "query_toks_no_value": [ "select", "birth_year", "from", "actor", "where", "name", "=", "value" ], "question": "Em que ano nasceu \"Benedict Cumberbatch\"", "question_toks": [ "Em", "que", "ano", "nasceu", "\"", "Benedict", "Cumberbatch", "\"" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 6, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], "\"Benedict Cumberbatch\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "imdb", "query": "SELECT nationality FROM actor WHERE name = \"Christoph Waltz\";", "query_toks": [ "SELECT", "nationality", "FROM", "actor", "WHERE", "name", "=", "``", "Christoph", "Waltz", "''", ";" ], "query_toks_no_value": [ "select", "nationality", "from", "actor", "where", "name", "=", "value" ], "question": "Qual é a nacionalidade da atriz \"Christoph Waltz\"?", "question_toks": [ "Qual", "é", "a", "nacionalidade", "da", "atriz", "\"", "Christoph", "Waltz", "\"", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 4, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], "\"Christoph Waltz\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "imdb", "query": "SELECT nationality FROM actor WHERE name = \"Christoph Waltz\";", "query_toks": [ "SELECT", "nationality", "FROM", "actor", "WHERE", "name", "=", "``", "Christoph", "Waltz", "''", ";" ], "query_toks_no_value": [ "select", "nationality", "from", "actor", "where", "name", "=", "value" ], "question": "Qual é a nacionalidade do ator \"Christoph Waltz\"?", "question_toks": [ "Qual", "é", "a", "nacionalidade", "do", "ator", "\"", "Christoph", "Waltz", "\"", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 4, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], "\"Christoph Waltz\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "imdb", "query": "SELECT title FROM movie WHERE release_year = 2015;", "query_toks": [ "SELECT", "title", "FROM", "movie", "WHERE", "release_year", "=", "2015", ";" ], "query_toks_no_value": [ "select", "title", "from", "movie", "where", "release_year", "=", "value" ], "question": "Encontre todos os filmes produzidos em 2015", "question_toks": [ "Encontre", "todos", "os", "filmes", "produzidos", "em", "2015" ], "sql": { "from": { "table_units": [ [ "table_unit", 11 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 43, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 44, false ], null ], 2015.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "imdb", "query": "SELECT name FROM actor WHERE birth_city = \"Tehran\";", "query_toks": [ "SELECT", "name", "FROM", "actor", "WHERE", "birth_city", "=", "``", "Tehran", "''", ";" ], "query_toks_no_value": [ "select", "name", "from", "actor", "where", "birth_city", "=", "value" ], "question": "Encontre todos os atores nascidos em \"Teerã\"", "question_toks": [ "Encontre", "todos", "os", "atores", "nascidos", "em", "\"", "Teerã", "\"" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 5, false ], null ], "\"Tehran\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "imdb", "query": "SELECT name FROM actor WHERE birth_city = \"Tehran\";", "query_toks": [ "SELECT", "name", "FROM", "actor", "WHERE", "birth_city", "=", "``", "Tehran", "''", ";" ], "query_toks_no_value": [ "select", "name", "from", "actor", "where", "birth_city", "=", "value" ], "question": "Encontre todos os atores nascidos em Teerã", "question_toks": [ "Encontre", "todos", "os", "atores", "nascidos", "em", "Teerã" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 5, false ], null ], "\"Tehran\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "imdb", "query": "SELECT name FROM actor WHERE birth_city = \"Tehran\";", "query_toks": [ "SELECT", "name", "FROM", "actor", "WHERE", "birth_city", "=", "``", "Tehran", "''", ";" ], "query_toks_no_value": [ "select", "name", "from", "actor", "where", "birth_city", "=", "value" ], "question": "Quais atores nasceram em Teerã", "question_toks": [ "Quais", "atores", "nasceram", "em", "Teerã" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 5, false ], null ], "\"Tehran\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "imdb", "query": "SELECT name FROM actor WHERE nationality = \"Afghanistan\";", "query_toks": [ "SELECT", "name", "FROM", "actor", "WHERE", "nationality", "=", "``", "Afghanistan", "''", ";" ], "query_toks_no_value": [ "select", "name", "from", "actor", "where", "nationality", "=", "value" ], "question": "Encontre todos os atores que são do Afeganistão", "question_toks": [ "Encontre", "todos", "os", "atores", "que", "são", "do", "Afeganistão" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Afghanistan\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "imdb", "query": "SELECT name FROM actor WHERE nationality = \"Afghanistan\";", "query_toks": [ "SELECT", "name", "FROM", "actor", "WHERE", "nationality", "=", "``", "Afghanistan", "''", ";" ], "query_toks_no_value": [ "select", "name", "from", "actor", "where", "nationality", "=", "value" ], "question": "Encontre todos os atores do Afeganistão", "question_toks": [ "Encontre", "todos", "os", "atores", "do", "Afeganistão" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Afghanistan\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "imdb", "query": "SELECT name FROM actor WHERE nationality = \"Afghanistan\";", "query_toks": [ "SELECT", "name", "FROM", "actor", "WHERE", "nationality", "=", "``", "Afghanistan", "''", ";" ], "query_toks_no_value": [ "select", "name", "from", "actor", "where", "nationality", "=", "value" ], "question": "Dê-me o nome de todos os atores do Afeganistão", "question_toks": [ "Dê-me", "o", "nome", "de", "todos", "os", "atores", "do", "Afeganistão" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Afghanistan\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "imdb", "query": "SELECT name FROM actor WHERE birth_year = 1984;", "query_toks": [ "SELECT", "name", "FROM", "actor", "WHERE", "birth_year", "=", "1984", ";" ], "query_toks_no_value": [ "select", "name", "from", "actor", "where", "birth_year", "=", "value" ], "question": "Encontre todos os atores que nasceram em 1984", "question_toks": [ "Encontre", "todos", "os", "atores", "que", "nasceram", "em", "1984" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 6, false ], null ], 1984.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "imdb", "query": "SELECT birth_year FROM actor WHERE name = \"actor_name0\";", "query_toks": [ "SELECT", "birth_year", "FROM", "actor", "WHERE", "name", "=", "``", "actor_name0", "''", ";" ], "query_toks_no_value": [ "select", "birth_year", "from", "actor", "where", "name", "=", "value" ], "question": "Quando nasceu \"Kevin Spacey\"?", "question_toks": [ "Quando", "nasceu", "\"", "Kevin", "Spacey", "\"", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 6, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], "\"actor_name0\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "imdb", "query": "SELECT birth_year FROM actor WHERE name = \"actor_name0\";", "query_toks": [ "SELECT", "birth_year", "FROM", "actor", "WHERE", "name", "=", "``", "actor_name0", "''", ";" ], "query_toks_no_value": [ "select", "birth_year", "from", "actor", "where", "name", "=", "value" ], "question": "Em que ano nasceu \"Kevin Spacey\"?", "question_toks": [ "Em", "que", "ano", "nasceu", "\"", "Kevin", "Spacey", "\"", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 6, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], "\"actor_name0\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "imdb", "query": "SELECT birth_city FROM director WHERE name = \"director_name0\";", "query_toks": [ "SELECT", "birth_city", "FROM", "director", "WHERE", "name", "=", "``", "director_name0", "''", ";" ], "query_toks_no_value": [ "select", "birth_city", "from", "director", "where", "name", "=", "value" ], "question": "Onde é o local de nascimento de \"Kevin Spacey\"", "question_toks": [ "Onde", "é", "o", "local", "de", "nascimento", "de", "\"", "Kevin", "Spacey", "\"" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 26, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 24, false ], null ], "\"director_name0\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "imdb", "query": "SELECT birth_city FROM director WHERE name = \"director_name0\";", "query_toks": [ "SELECT", "birth_city", "FROM", "director", "WHERE", "name", "=", "``", "director_name0", "''", ";" ], "query_toks_no_value": [ "select", "birth_city", "from", "director", "where", "name", "=", "value" ], "question": "Em que cidade nasceu \"Kevin Spacey\"?", "question_toks": [ "Em", "que", "cidade", "nasceu", "\"", "Kevin", "Spacey", "\"", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 26, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 24, false ], null ], "\"director_name0\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "imdb", "query": "SELECT nationality FROM director WHERE name = \"director_name0\";", "query_toks": [ "SELECT", "nationality", "FROM", "director", "WHERE", "name", "=", "``", "director_name0", "''", ";" ], "query_toks_no_value": [ "select", "nationality", "from", "director", "where", "name", "=", "value" ], "question": "Qual é a nacionalidade de \"Kevin Spacey\"?", "question_toks": [ "Qual", "é", "a", "nacionalidade", "de", "\"", "Kevin", "Spacey", "\"", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 25, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 24, false ], null ], "\"director_name0\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "imdb", "query": "SELECT budget FROM movie WHERE title = \"Finding Nemo\";", "query_toks": [ "SELECT", "budget", "FROM", "movie", "WHERE", "title", "=", "``", "Finding", "Nemo", "''", ";" ], "query_toks_no_value": [ "select", "budget", "from", "movie", "where", "title", "=", "value" ], "question": "Quanto foi o orçamento de \"Procurando Nemo\"", "question_toks": [ "Quanto", "foi", "o", "orçamento", "de", "\"", "Procurando", "Nemo", "\"" ], "sql": { "from": { "table_units": [ [ "table_unit", 11 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 46, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 43, false ], null ], "\"Finding Nemo\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "imdb", "query": "SELECT t3.title FROM director AS t2 JOIN directed_by AS t1 ON t2.did = t1.did JOIN movie AS t3 ON t3.mid = t1.msid WHERE t2.name = \"Steven Spielberg\" AND t3.release_year > 2006;", "query_toks": [ "SELECT", "t3.title", "FROM", "director", "AS", "t2", "JOIN", "directed_by", "AS", "t1", "ON", "t2.did", "=", "t1.did", "JOIN", "movie", "AS", "t3", "ON", "t3.mid", "=", "t1.msid", "WHERE", "t2.name", "=", "``", "Steven", "Spielberg", "''", "AND", "t3.release_year", ">", "2006", ";" ], "query_toks_no_value": [ "select", "t3", ".", "title", "from", "director", "as", "t2", "join", "directed_by", "as", "t1", "on", "t2", ".", "did", "=", "t1", ".", "did", "join", "movie", "as", "t3", "on", "t3", ".", "mid", "=", "t1", ".", "msid", "where", "t2", ".", "name", "=", "value", "and", "t3", ".", "release_year", ">", "value" ], "question": "Encontre todos os filmes dirigidos por \"Steven Spielberg\" depois de 2006", "question_toks": [ "Encontre", "todos", "os", "filmes", "dirigidos", "por", "\"", "Steven", "Spielberg", "\"", "depois", "de", "2006" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ], [ "table_unit", 8 ], [ "table_unit", 11 ] ], "conds": [ [ false, 2, [ 0, [ 0, 22, false ], null ], [ 0, 36, false ], null ], "and", [ false, 2, [ 0, [ 0, 42, false ], null ], [ 0, 35, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 43, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 24, false ], null ], "\"Steven Spielberg\"", null ], "and", [ false, 3, [ 0, [ 0, 44, false ], null ], 2006.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "imdb", "query": "SELECT t2.name FROM director AS t2 JOIN directed_by AS t1 ON t2.did = t1.did JOIN movie AS t3 ON t3.mid = t1.msid WHERE t3.title = \"James Bond\";", "query_toks": [ "SELECT", "t2.name", "FROM", "director", "AS", "t2", "JOIN", "directed_by", "AS", "t1", "ON", "t2.did", "=", "t1.did", "JOIN", "movie", "AS", "t3", "ON", "t3.mid", "=", "t1.msid", "WHERE", "t3.title", "=", "``", "James", "Bond", "''", ";" ], "query_toks_no_value": [ "select", "t2", ".", "name", "from", "director", "as", "t2", "join", "directed_by", "as", "t1", "on", "t2", ".", "did", "=", "t1", ".", "did", "join", "movie", "as", "t3", "on", "t3", ".", "mid", "=", "t1", ".", "msid", "where", "t3", ".", "title", "=", "value" ], "question": "Quem é o diretor do filme \"James Bond\"?", "question_toks": [ "Quem", "é", "o", "diretor", "do", "filme", "\"", "James", "Bond", "\"", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ], [ "table_unit", 8 ], [ "table_unit", 11 ] ], "conds": [ [ false, 2, [ 0, [ 0, 22, false ], null ], [ 0, 36, false ], null ], "and", [ false, 2, [ 0, [ 0, 42, false ], null ], [ 0, 35, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 24, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 43, false ], null ], "\"James Bond\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "imdb", "query": "SELECT t2.name FROM director AS t2 JOIN directed_by AS t1 ON t2.did = t1.did JOIN movie AS t3 ON t3.mid = t1.msid WHERE t3.title = \"James Bond\";", "query_toks": [ "SELECT", "t2.name", "FROM", "director", "AS", "t2", "JOIN", "directed_by", "AS", "t1", "ON", "t2.did", "=", "t1.did", "JOIN", "movie", "AS", "t3", "ON", "t3.mid", "=", "t1.msid", "WHERE", "t3.title", "=", "``", "James", "Bond", "''", ";" ], "query_toks_no_value": [ "select", "t2", ".", "name", "from", "director", "as", "t2", "join", "directed_by", "as", "t1", "on", "t2", ".", "did", "=", "t1", ".", "did", "join", "movie", "as", "t3", "on", "t3", ".", "mid", "=", "t1", ".", "msid", "where", "t3", ".", "title", "=", "value" ], "question": "Quem dirigiu o filme \"James Bond\"?", "question_toks": [ "Quem", "dirigiu", "o", "filme", "\"", "James", "Bond", "\"", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ], [ "table_unit", 8 ], [ "table_unit", 11 ] ], "conds": [ [ false, 2, [ 0, [ 0, 22, false ], null ], [ 0, 36, false ], null ], "and", [ false, 2, [ 0, [ 0, 42, false ], null ], [ 0, 35, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 24, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 43, false ], null ], "\"James Bond\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "imdb", "query": "SELECT t2.name FROM director AS t2 JOIN directed_by AS t1 ON t2.did = t1.did JOIN movie AS t3 ON t3.mid = t1.msid WHERE t3.title = \"James Bond\";", "query_toks": [ "SELECT", "t2.name", "FROM", "director", "AS", "t2", "JOIN", "directed_by", "AS", "t1", "ON", "t2.did", "=", "t1.did", "JOIN", "movie", "AS", "t3", "ON", "t3.mid", "=", "t1.msid", "WHERE", "t3.title", "=", "``", "James", "Bond", "''", ";" ], "query_toks_no_value": [ "select", "t2", ".", "name", "from", "director", "as", "t2", "join", "directed_by", "as", "t1", "on", "t2", ".", "did", "=", "t1", ".", "did", "join", "movie", "as", "t3", "on", "t3", ".", "mid", "=", "t1", ".", "msid", "where", "t3", ".", "title", "=", "value" ], "question": "Liste os diretores de \"James Bond\"", "question_toks": [ "Liste", "os", "diretores", "de", "\"", "James", "Bond", "\"" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ], [ "table_unit", 8 ], [ "table_unit", 11 ] ], "conds": [ [ false, 2, [ 0, [ 0, 22, false ], null ], [ 0, 36, false ], null ], "and", [ false, 2, [ 0, [ 0, 42, false ], null ], [ 0, 35, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 24, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 43, false ], null ], "\"James Bond\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "imdb", "query": "SELECT t1.name FROM CAST AS t2 JOIN actor AS t1 ON t2.aid = t1.aid JOIN movie AS t3 ON t3.mid = t2.msid WHERE t2.role = \"Alan Turing\" AND t3.title = \"The Imitation Game\";", "query_toks": [ "SELECT", "t1.name", "FROM", "CAST", "AS", "t2", "JOIN", "actor", "AS", "t1", "ON", "t2.aid", "=", "t1.aid", "JOIN", "movie", "AS", "t3", "ON", "t3.mid", "=", "t2.msid", "WHERE", "t2.role", "=", "``", "Alan", "Turing", "''", "AND", "t3.title", "=", "``", "The", "Imitation", "Game", "''", ";" ], "query_toks_no_value": [ "select", "t1", ".", "name", "from", "cast", "as", "t2", "join", "actor", "as", "t1", "on", "t2", ".", "aid", "=", "t1", ".", "aid", "join", "movie", "as", "t3", "on", "t3", ".", "mid", "=", "t2", ".", "msid", "where", "t2", ".", "role", "=", "value", "and", "t3", ".", "title", "=", "value" ], "question": "Encontre o ator que interpretou \"Alan Turing\" no filme \"O Jogo da Imitação\"", "question_toks": [ "Encontre", "o", "ator", "que", "interpretou", "\"", "Alan", "Turing", "\"", "no", "filme", "\"", "O", "Jogo", "da", "Imitação", "\"" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ], [ "table_unit", 0 ], [ "table_unit", 11 ] ], "conds": [ [ false, 2, [ 0, [ 0, 12, false ], null ], [ 0, 1, false ], null ], "and", [ false, 2, [ 0, [ 0, 42, false ], null ], [ 0, 11, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 13, false ], null ], "\"Alan Turing\"", null ], "and", [ false, 2, [ 0, [ 0, 43, false ], null ], "\"The Imitation Game\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "imdb", "query": "SELECT t1.name FROM CAST AS t2 JOIN actor AS t1 ON t2.aid = t1.aid JOIN movie AS t3 ON t3.mid = t2.msid WHERE t2.role = \"Alan Turing\" AND t3.title = \"The Imitation Game\";", "query_toks": [ "SELECT", "t1.name", "FROM", "CAST", "AS", "t2", "JOIN", "actor", "AS", "t1", "ON", "t2.aid", "=", "t1.aid", "JOIN", "movie", "AS", "t3", "ON", "t3.mid", "=", "t2.msid", "WHERE", "t2.role", "=", "``", "Alan", "Turing", "''", "AND", "t3.title", "=", "``", "The", "Imitation", "Game", "''", ";" ], "query_toks_no_value": [ "select", "t1", ".", "name", "from", "cast", "as", "t2", "join", "actor", "as", "t1", "on", "t2", ".", "aid", "=", "t1", ".", "aid", "join", "movie", "as", "t3", "on", "t3", ".", "mid", "=", "t2", ".", "msid", "where", "t2", ".", "role", "=", "value", "and", "t3", ".", "title", "=", "value" ], "question": "Quem atuou \"Alan Turing\" no filme \"The Imitation Game\"?", "question_toks": [ "Quem", "atuou", "\"", "Alan", "Turing", "\"", "no", "filme", "\"", "The", "Imitation", "Game", "\"", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ], [ "table_unit", 0 ], [ "table_unit", 11 ] ], "conds": [ [ false, 2, [ 0, [ 0, 12, false ], null ], [ 0, 1, false ], null ], "and", [ false, 2, [ 0, [ 0, 42, false ], null ], [ 0, 11, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 13, false ], null ], "\"Alan Turing\"", null ], "and", [ false, 2, [ 0, [ 0, 43, false ], null ], "\"The Imitation Game\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "imdb", "query": "SELECT t1.name FROM CAST AS t2 JOIN actor AS t1 ON t2.aid = t1.aid JOIN movie AS t3 ON t3.mid = t2.msid WHERE t2.role = \"Alan Turing\" AND t3.title = \"The Imitation Game\";", "query_toks": [ "SELECT", "t1.name", "FROM", "CAST", "AS", "t2", "JOIN", "actor", "AS", "t1", "ON", "t2.aid", "=", "t1.aid", "JOIN", "movie", "AS", "t3", "ON", "t3.mid", "=", "t2.msid", "WHERE", "t2.role", "=", "``", "Alan", "Turing", "''", "AND", "t3.title", "=", "``", "The", "Imitation", "Game", "''", ";" ], "query_toks_no_value": [ "select", "t1", ".", "name", "from", "cast", "as", "t2", "join", "actor", "as", "t1", "on", "t2", ".", "aid", "=", "t1", ".", "aid", "join", "movie", "as", "t3", "on", "t3", ".", "mid", "=", "t2", ".", "msid", "where", "t2", ".", "role", "=", "value", "and", "t3", ".", "title", "=", "value" ], "question": "Quem foi o ator que interpretou \"Alan Turing\" no filme \"The Imitation Game\"?", "question_toks": [ "Quem", "foi", "o", "ator", "que", "interpretou", "\"", "Alan", "Turing", "\"", "no", "filme", "\"", "The", "Imitation", "Game", "\"", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ], [ "table_unit", 0 ], [ "table_unit", 11 ] ], "conds": [ [ false, 2, [ 0, [ 0, 12, false ], null ], [ 0, 1, false ], null ], "and", [ false, 2, [ 0, [ 0, 42, false ], null ], [ 0, 11, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 13, false ], null ], "\"Alan Turing\"", null ], "and", [ false, 2, [ 0, [ 0, 43, false ], null ], "\"The Imitation Game\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "imdb", "query": "SELECT t1.name FROM CAST AS t2 JOIN actor AS t1 ON t2.aid = t1.aid JOIN movie AS t3 ON t3.mid = t2.msid WHERE t2.role = \"Alan Turing\" AND t3.title = \"The Imitation Game\";", "query_toks": [ "SELECT", "t1.name", "FROM", "CAST", "AS", "t2", "JOIN", "actor", "AS", "t1", "ON", "t2.aid", "=", "t1.aid", "JOIN", "movie", "AS", "t3", "ON", "t3.mid", "=", "t2.msid", "WHERE", "t2.role", "=", "``", "Alan", "Turing", "''", "AND", "t3.title", "=", "``", "The", "Imitation", "Game", "''", ";" ], "query_toks_no_value": [ "select", "t1", ".", "name", "from", "cast", "as", "t2", "join", "actor", "as", "t1", "on", "t2", ".", "aid", "=", "t1", ".", "aid", "join", "movie", "as", "t3", "on", "t3", ".", "mid", "=", "t2", ".", "msid", "where", "t2", ".", "role", "=", "value", "and", "t3", ".", "title", "=", "value" ], "question": "Quem atua como \"Alan Turing\" no filme \"The Imitation Game\"?", "question_toks": [ "Quem", "atua", "como", "\"", "Alan", "Turing", "\"", "no", "filme", "\"", "The", "Imitation", "Game", "\"", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ], [ "table_unit", 0 ], [ "table_unit", 11 ] ], "conds": [ [ false, 2, [ 0, [ 0, 12, false ], null ], [ 0, 1, false ], null ], "and", [ false, 2, [ 0, [ 0, 42, false ], null ], [ 0, 11, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 13, false ], null ], "\"Alan Turing\"", null ], "and", [ false, 2, [ 0, [ 0, 43, false ], null ], "\"The Imitation Game\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "imdb", "query": "SELECT t1.name FROM CAST AS t2 JOIN actor AS t1 ON t2.aid = t1.aid JOIN movie AS t3 ON t3.mid = t2.msid WHERE t2.role = \"Alan Turing\" AND t3.title = \"The Imitation Game\";", "query_toks": [ "SELECT", "t1.name", "FROM", "CAST", "AS", "t2", "JOIN", "actor", "AS", "t1", "ON", "t2.aid", "=", "t1.aid", "JOIN", "movie", "AS", "t3", "ON", "t3.mid", "=", "t2.msid", "WHERE", "t2.role", "=", "``", "Alan", "Turing", "''", "AND", "t3.title", "=", "``", "The", "Imitation", "Game", "''", ";" ], "query_toks_no_value": [ "select", "t1", ".", "name", "from", "cast", "as", "t2", "join", "actor", "as", "t1", "on", "t2", ".", "aid", "=", "t1", ".", "aid", "join", "movie", "as", "t3", "on", "t3", ".", "mid", "=", "t2", ".", "msid", "where", "t2", ".", "role", "=", "value", "and", "t3", ".", "title", "=", "value" ], "question": "Quem é o ator interpretando \"Alan Turing\" em \"The Imitation Game\"?", "question_toks": [ "Quem", "é", "o", "ator", "interpretando", "\"", "Alan", "Turing", "\"", "em", "\"", "The", "Imitation", "Game", "\"", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ], [ "table_unit", 0 ], [ "table_unit", 11 ] ], "conds": [ [ false, 2, [ 0, [ 0, 12, false ], null ], [ 0, 1, false ], null ], "and", [ false, 2, [ 0, [ 0, 42, false ], null ], [ 0, 11, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 13, false ], null ], "\"Alan Turing\"", null ], "and", [ false, 2, [ 0, [ 0, 43, false ], null ], "\"The Imitation Game\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "imdb", "query": "SELECT t2.genre FROM genre AS t2 JOIN classification AS t1 ON t2.gid = t1.gid JOIN movie AS t3 ON t3.mid = t1.msid WHERE t3.title = \"Jurassic Park\";", "query_toks": [ "SELECT", "t2.genre", "FROM", "genre", "AS", "t2", "JOIN", "classification", "AS", "t1", "ON", "t2.gid", "=", "t1.gid", "JOIN", "movie", "AS", "t3", "ON", "t3.mid", "=", "t1.msid", "WHERE", "t3.title", "=", "``", "Jurassic", "Park", "''", ";" ], "query_toks_no_value": [ "select", "t2", ".", "genre", "from", "genre", "as", "t2", "join", "classification", "as", "t1", "on", "t2", ".", "gid", "=", "t1", ".", "gid", "join", "movie", "as", "t3", "on", "t3", ".", "mid", "=", "t1", ".", "msid", "where", "t3", ".", "title", "=", "value" ], "question": "Qual é o gênero do filme \"Jurassic Park\"?", "question_toks": [ "Qual", "é", "o", "gênero", "do", "filme", "\"", "Jurassic", "Park", "\"", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 3 ], [ "table_unit", 4 ], [ "table_unit", 11 ] ], "conds": [ [ false, 2, [ 0, [ 0, 14, false ], null ], [ 0, 18, false ], null ], "and", [ false, 2, [ 0, [ 0, 42, false ], null ], [ 0, 17, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 15, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 43, false ], null ], "\"Jurassic Park\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "imdb", "query": "SELECT t2.name FROM director AS t2 JOIN directed_by AS t1 ON t2.did = t1.did JOIN movie AS t3 ON t3.mid = t1.msid WHERE t3.release_year = 2015 AND t3.title = \"Joy\";", "query_toks": [ "SELECT", "t2.name", "FROM", "director", "AS", "t2", "JOIN", "directed_by", "AS", "t1", "ON", "t2.did", "=", "t1.did", "JOIN", "movie", "AS", "t3", "ON", "t3.mid", "=", "t1.msid", "WHERE", "t3.release_year", "=", "2015", "AND", "t3.title", "=", "``", "Joy", "''", ";" ], "query_toks_no_value": [ "select", "t2", ".", "name", "from", "director", "as", "t2", "join", "directed_by", "as", "t1", "on", "t2", ".", "did", "=", "t1", ".", "did", "join", "movie", "as", "t3", "on", "t3", ".", "mid", "=", "t1", ".", "msid", "where", "t3", ".", "release_year", "=", "value", "and", "t3", ".", "title", "=", "value" ], "question": "Quem foi o diretor do filme Joy de 2015?", "question_toks": [ "Quem", "foi", "o", "diretor", "do", "filme", "Joy", "de", "2015", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ], [ "table_unit", 8 ], [ "table_unit", 11 ] ], "conds": [ [ false, 2, [ 0, [ 0, 22, false ], null ], [ 0, 36, false ], null ], "and", [ false, 2, [ 0, [ 0, 42, false ], null ], [ 0, 35, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 24, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 44, false ], null ], 2015.0, null ], "and", [ false, 2, [ 0, [ 0, 43, false ], null ], "\"Joy\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "imdb", "query": "SELECT t1.title FROM written_by AS t3 JOIN movie AS t1 ON t3.msid = t1.mid JOIN writer AS t2 ON t3.wid = t2.wid WHERE t2.name = \"Matt Damon\";", "query_toks": [ "SELECT", "t1.title", "FROM", "written_by", "AS", "t3", "JOIN", "movie", "AS", "t1", "ON", "t3.msid", "=", "t1.mid", "JOIN", "writer", "AS", "t2", "ON", "t3.wid", "=", "t2.wid", "WHERE", "t2.name", "=", "``", "Matt", "Damon", "''", ";" ], "query_toks_no_value": [ "select", "t1", ".", "title", "from", "written_by", "as", "t3", "join", "movie", "as", "t1", "on", "t3", ".", "msid", "=", "t1", ".", "mid", "join", "writer", "as", "t2", "on", "t3", ".", "wid", "=", "t2", ".", "wid", "where", "t2", ".", "name", "=", "value" ], "question": "Encontre todos os filmes escritos por \"Matt Damon\"", "question_toks": [ "Encontre", "todos", "os", "filmes", "escritos", "por", "\"", "Matt", "Damon", "\"" ], "sql": { "from": { "table_units": [ [ "table_unit", 15 ], [ "table_unit", 11 ], [ "table_unit", 14 ] ], "conds": [ [ false, 2, [ 0, [ 0, 65, false ], null ], [ 0, 42, false ], null ], "and", [ false, 2, [ 0, [ 0, 66, false ], null ], [ 0, 57, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 43, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 59, false ], null ], "\"Matt Damon\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "imdb", "query": "SELECT t2.title FROM movie AS t2 JOIN made_by AS t3 ON t2.mid = t3.msid JOIN producer AS t1 ON t1.pid = t3.pid JOIN written_by AS t5 ON t5.msid = t2.mid JOIN writer AS t4 ON t5.wid = t4.wid WHERE t1.name = \"Woody Allen\" AND t4.name = \"Woody Allen\";", "query_toks": [ "SELECT", "t2.title", "FROM", "movie", "AS", "t2", "JOIN", "made_by", "AS", "t3", "ON", "t2.mid", "=", "t3.msid", "JOIN", "producer", "AS", "t1", "ON", "t1.pid", "=", "t3.pid", "JOIN", "written_by", "AS", "t5", "ON", "t5.msid", "=", "t2.mid", "JOIN", "writer", "AS", "t4", "ON", "t5.wid", "=", "t4.wid", "WHERE", "t1.name", "=", "``", "Woody", "Allen", "''", "AND", "t4.name", "=", "``", "Woody", "Allen", "''", ";" ], "query_toks_no_value": [ "select", "t2", ".", "title", "from", "movie", "as", "t2", "join", "made_by", "as", "t3", "on", "t2", ".", "mid", "=", "t3", ".", "msid", "join", "producer", "as", "t1", "on", "t1", ".", "pid", "=", "t3", ".", "pid", "join", "written_by", "as", "t5", "on", "t5", ".", "msid", "=", "t2", ".", "mid", "join", "writer", "as", "t4", "on", "t5", ".", "wid", "=", "t4", ".", "wid", "where", "t1", ".", "name", "=", "value", "and", "t4", ".", "name", "=", "value" ], "question": "Encontre todos os filmes escritos e produzidos por \"Woody Allen\"", "question_toks": [ "Encontre", "todos", "os", "filmes", "escritos", "e", "produzidos", "por", "\"", "Woody", "Allen", "\"" ], "sql": { "from": { "table_units": [ [ "table_unit", 11 ], [ "table_unit", 10 ], [ "table_unit", 7 ], [ "table_unit", 15 ], [ "table_unit", 14 ] ], "conds": [ [ false, 2, [ 0, [ 0, 42, false ], null ], [ 0, 40, false ], null ], "and", [ false, 2, [ 0, [ 0, 28, false ], null ], [ 0, 41, false ], null ], "and", [ false, 2, [ 0, [ 0, 65, false ], null ], [ 0, 42, false ], null ], "and", [ false, 2, [ 0, [ 0, 66, false ], null ], [ 0, 57, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 43, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 30, false ], null ], "\"Woody Allen\"", null ], "and", [ false, 2, [ 0, [ 0, 59, false ], null ], "\"Woody Allen\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "imdb", "query": "SELECT t2.title FROM CAST AS t3 JOIN actor AS t1 ON t3.aid = t1.aid JOIN movie AS t2 ON t2.mid = t3.msid WHERE t1.name = \"Robin Wright\";", "query_toks": [ "SELECT", "t2.title", "FROM", "CAST", "AS", "t3", "JOIN", "actor", "AS", "t1", "ON", "t3.aid", "=", "t1.aid", "JOIN", "movie", "AS", "t2", "ON", "t2.mid", "=", "t3.msid", "WHERE", "t1.name", "=", "``", "Robin", "Wright", "''", ";" ], "query_toks_no_value": [ "select", "t2", ".", "title", "from", "cast", "as", "t3", "join", "actor", "as", "t1", "on", "t3", ".", "aid", "=", "t1", ".", "aid", "join", "movie", "as", "t2", "on", "t2", ".", "mid", "=", "t3", ".", "msid", "where", "t1", ".", "name", "=", "value" ], "question": "Encontre todos os filmes com \"Robin Wright\"", "question_toks": [ "Encontre", "todos", "os", "filmes", "com", "\"", "Robin", "Wright", "\"" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ], [ "table_unit", 0 ], [ "table_unit", 11 ] ], "conds": [ [ false, 2, [ 0, [ 0, 12, false ], null ], [ 0, 1, false ], null ], "and", [ false, 2, [ 0, [ 0, 42, false ], null ], [ 0, 11, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 43, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], "\"Robin Wright\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "imdb", "query": "SELECT t2.title FROM CAST AS t3 JOIN actor AS t1 ON t3.aid = t1.aid JOIN movie AS t2 ON t2.mid = t3.msid WHERE t1.name = \"Robin Wright\";", "query_toks": [ "SELECT", "t2.title", "FROM", "CAST", "AS", "t3", "JOIN", "actor", "AS", "t1", "ON", "t3.aid", "=", "t1.aid", "JOIN", "movie", "AS", "t2", "ON", "t2.mid", "=", "t3.msid", "WHERE", "t1.name", "=", "``", "Robin", "Wright", "''", ";" ], "query_toks_no_value": [ "select", "t2", ".", "title", "from", "cast", "as", "t3", "join", "actor", "as", "t1", "on", "t3", ".", "aid", "=", "t1", ".", "aid", "join", "movie", "as", "t2", "on", "t2", ".", "mid", "=", "t3", ".", "msid", "where", "t1", ".", "name", "=", "value" ], "question": "Quais são todos os filmes com \"Robin Wright\"?", "question_toks": [ "Quais", "são", "todos", "os", "filmes", "com", "\"", "Robin", "Wright", "\"", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ], [ "table_unit", 0 ], [ "table_unit", 11 ] ], "conds": [ [ false, 2, [ 0, [ 0, 12, false ], null ], [ 0, 1, false ], null ], "and", [ false, 2, [ 0, [ 0, 42, false ], null ], [ 0, 11, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 43, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], "\"Robin Wright\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "imdb", "query": "SELECT t2.title FROM CAST AS t3 JOIN actor AS t1 ON t3.aid = t1.aid JOIN movie AS t2 ON t2.mid = t3.msid WHERE t1.name = \"Robin Wright\";", "query_toks": [ "SELECT", "t2.title", "FROM", "CAST", "AS", "t3", "JOIN", "actor", "AS", "t1", "ON", "t3.aid", "=", "t1.aid", "JOIN", "movie", "AS", "t2", "ON", "t2.mid", "=", "t3.msid", "WHERE", "t1.name", "=", "``", "Robin", "Wright", "''", ";" ], "query_toks_no_value": [ "select", "t2", ".", "title", "from", "cast", "as", "t3", "join", "actor", "as", "t1", "on", "t3", ".", "aid", "=", "t1", ".", "aid", "join", "movie", "as", "t2", "on", "t2", ".", "mid", "=", "t3", ".", "msid", "where", "t1", ".", "name", "=", "value" ], "question": "Encontre todos os filmes em que \"Robin Wright\" aparece", "question_toks": [ "Encontre", "todos", "os", "filmes", "em", "que", "\"", "Robin", "Wright", "\"", "aparece" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ], [ "table_unit", 0 ], [ "table_unit", 11 ] ], "conds": [ [ false, 2, [ 0, [ 0, 12, false ], null ], [ 0, 1, false ], null ], "and", [ false, 2, [ 0, [ 0, 42, false ], null ], [ 0, 11, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 43, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], "\"Robin Wright\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "imdb", "query": "SELECT budget FROM movie WHERE release_year = 2007 AND title = \"Juno\";", "query_toks": [ "SELECT", "budget", "FROM", "movie", "WHERE", "release_year", "=", "2007", "AND", "title", "=", "``", "Juno", "''", ";" ], "query_toks_no_value": [ "select", "budget", "from", "movie", "where", "release_year", "=", "value", "and", "title", "=", "value" ], "question": "Qual foi o orçamento do filme Juno de 2007?", "question_toks": [ "Qual", "foi", "o", "orçamento", "do", "filme", "Juno", "de", "2007", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 11 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 46, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 44, false ], null ], 2007.0, null ], "and", [ false, 2, [ 0, [ 0, 43, false ], null ], "\"Juno\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "imdb", "query": "SELECT t3.title FROM genre AS t2 JOIN classification AS t1 ON t2.gid = t1.gid JOIN movie AS t3 ON t3.mid = t1.msid WHERE t2.genre = \"Sci-Fi\" AND t3.release_year = 2010;", "query_toks": [ "SELECT", "t3.title", "FROM", "genre", "AS", "t2", "JOIN", "classification", "AS", "t1", "ON", "t2.gid", "=", "t1.gid", "JOIN", "movie", "AS", "t3", "ON", "t3.mid", "=", "t1.msid", "WHERE", "t2.genre", "=", "``", "Sci-Fi", "''", "AND", "t3.release_year", "=", "2010", ";" ], "query_toks_no_value": [ "select", "t3", ".", "title", "from", "genre", "as", "t2", "join", "classification", "as", "t1", "on", "t2", ".", "gid", "=", "t1", ".", "gid", "join", "movie", "as", "t3", "on", "t3", ".", "mid", "=", "t1", ".", "msid", "where", "t2", ".", "genre", "=", "value", "and", "t3", ".", "release_year", "=", "value" ], "question": "Encontre toda a ficção científica produzida no ano de 2010", "question_toks": [ "Encontre", "toda", "a", "ficção", "científica", "produzida", "no", "ano", "de", "2010" ], "sql": { "from": { "table_units": [ [ "table_unit", 3 ], [ "table_unit", 4 ], [ "table_unit", 11 ] ], "conds": [ [ false, 2, [ 0, [ 0, 14, false ], null ], [ 0, 18, false ], null ], "and", [ false, 2, [ 0, [ 0, 42, false ], null ], [ 0, 17, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 43, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 15, false ], null ], "\"Sci-Fi\"", null ], "and", [ false, 2, [ 0, [ 0, 44, false ], null ], 2010.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "imdb", "query": "SELECT t3.title FROM genre AS t2 JOIN classification AS t1 ON t2.gid = t1.gid JOIN movie AS t3 ON t3.mid = t1.msid WHERE t2.genre = \"Sci-Fi\" AND t3.release_year = 2010;", "query_toks": [ "SELECT", "t3.title", "FROM", "genre", "AS", "t2", "JOIN", "classification", "AS", "t1", "ON", "t2.gid", "=", "t1.gid", "JOIN", "movie", "AS", "t3", "ON", "t3.mid", "=", "t1.msid", "WHERE", "t2.genre", "=", "``", "Sci-Fi", "''", "AND", "t3.release_year", "=", "2010", ";" ], "query_toks_no_value": [ "select", "t3", ".", "title", "from", "genre", "as", "t2", "join", "classification", "as", "t1", "on", "t2", ".", "gid", "=", "t1", ".", "gid", "join", "movie", "as", "t3", "on", "t3", ".", "mid", "=", "t1", ".", "msid", "where", "t2", ".", "genre", "=", "value", "and", "t3", ".", "release_year", "=", "value" ], "question": "Liste todos os filmes de ficção científica lançados em 2010", "question_toks": [ "Liste", "todos", "os", "filmes", "de", "ficção", "científica", "lançados", "em", "2010" ], "sql": { "from": { "table_units": [ [ "table_unit", 3 ], [ "table_unit", 4 ], [ "table_unit", 11 ] ], "conds": [ [ false, 2, [ 0, [ 0, 14, false ], null ], [ 0, 18, false ], null ], "and", [ false, 2, [ 0, [ 0, 42, false ], null ], [ 0, 17, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 43, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 15, false ], null ], "\"Sci-Fi\"", null ], "and", [ false, 2, [ 0, [ 0, 44, false ], null ], 2010.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "imdb", "query": "SELECT name FROM actor WHERE birth_city = \"Austin\" AND birth_year > 1980;", "query_toks": [ "SELECT", "name", "FROM", "actor", "WHERE", "birth_city", "=", "``", "Austin", "''", "AND", "birth_year", ">", "1980", ";" ], "query_toks_no_value": [ "select", "name", "from", "actor", "where", "birth_city", "=", "value", "and", "birth_year", ">", "value" ], "question": "Encontre todos os atores nascidos em \"Austin\" depois de 1980", "question_toks": [ "Encontre", "todos", "os", "atores", "nascidos", "em", "\"", "Austin", "\"", "depois", "de", "1980" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 5, false ], null ], "\"Austin\"", null ], "and", [ false, 3, [ 0, [ 0, 6, false ], null ], 1980.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "imdb", "query": "SELECT name FROM actor WHERE birth_city = \"Austin\" AND birth_year > 1980;", "query_toks": [ "SELECT", "name", "FROM", "actor", "WHERE", "birth_city", "=", "``", "Austin", "''", "AND", "birth_year", ">", "1980", ";" ], "query_toks_no_value": [ "select", "name", "from", "actor", "where", "birth_city", "=", "value", "and", "birth_year", ">", "value" ], "question": "Quem são os atores nascidos em \"Austin\" depois de 1980?", "question_toks": [ "Quem", "são", "os", "atores", "nascidos", "em", "\"", "Austin", "\"", "depois", "de", "1980", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 5, false ], null ], "\"Austin\"", null ], "and", [ false, 3, [ 0, [ 0, 6, false ], null ], 1980.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "imdb", "query": "SELECT name FROM actor WHERE birth_city = \"Austin\" AND birth_year > 1980;", "query_toks": [ "SELECT", "name", "FROM", "actor", "WHERE", "birth_city", "=", "``", "Austin", "''", "AND", "birth_year", ">", "1980", ";" ], "query_toks_no_value": [ "select", "name", "from", "actor", "where", "birth_city", "=", "value", "and", "birth_year", ">", "value" ], "question": "Encontre todos os atores de Austin nascidos depois de 1980", "question_toks": [ "Encontre", "todos", "os", "atores", "de", "Austin", "nascidos", "depois", "de", "1980" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 5, false ], null ], "\"Austin\"", null ], "and", [ false, 3, [ 0, [ 0, 6, false ], null ], 1980.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "imdb", "query": "SELECT t3.title FROM director AS t2 JOIN directed_by AS t1 ON t2.did = t1.did JOIN movie AS t3 ON t3.mid = t1.msid WHERE t2.birth_city = \"Los Angeles\";", "query_toks": [ "SELECT", "t3.title", "FROM", "director", "AS", "t2", "JOIN", "directed_by", "AS", "t1", "ON", "t2.did", "=", "t1.did", "JOIN", "movie", "AS", "t3", "ON", "t3.mid", "=", "t1.msid", "WHERE", "t2.birth_city", "=", "``", "Los", "Angeles", "''", ";" ], "query_toks_no_value": [ "select", "t3", ".", "title", "from", "director", "as", "t2", "join", "directed_by", "as", "t1", "on", "t2", ".", "did", "=", "t1", ".", "did", "join", "movie", "as", "t3", "on", "t3", ".", "mid", "=", "t1", ".", "msid", "where", "t2", ".", "birth_city", "=", "value" ], "question": "Encontre todos os filmes de diretores nascidos em \"Los Angeles\"", "question_toks": [ "Encontre", "todos", "os", "filmes", "de", "diretores", "nascidos", "em", "\"", "Los", "Angeles", "\"" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ], [ "table_unit", 8 ], [ "table_unit", 11 ] ], "conds": [ [ false, 2, [ 0, [ 0, 22, false ], null ], [ 0, 36, false ], null ], "and", [ false, 2, [ 0, [ 0, 42, false ], null ], [ 0, 35, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 43, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 26, false ], null ], "\"Los Angeles\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "imdb", "query": "SELECT name FROM actor WHERE birth_city = \"New York City\" AND birth_year = 1984;", "query_toks": [ "SELECT", "name", "FROM", "actor", "WHERE", "birth_city", "=", "``", "New", "York", "City", "''", "AND", "birth_year", "=", "1984", ";" ], "query_toks_no_value": [ "select", "name", "from", "actor", "where", "birth_city", "=", "value", "and", "birth_year", "=", "value" ], "question": "Encontre todos os atores que nasceram na \"cidade de Nova York\" em 1984", "question_toks": [ "Encontre", "todos", "os", "atores", "que", "nasceram", "na", "\"", "cidade", "de", "Nova", "York", "\"", "em", "1984" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 5, false ], null ], "\"New York City\"", null ], "and", [ false, 2, [ 0, [ 0, 6, false ], null ], 1984.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "imdb", "query": "SELECT t3.title FROM tags AS t2 JOIN keyword AS t1 ON t2.kid = t1.id JOIN movie AS t3 ON t2.msid = t3.mid WHERE t1.keyword = \"nuclear weapons\";", "query_toks": [ "SELECT", "t3.title", "FROM", "tags", "AS", "t2", "JOIN", "keyword", "AS", "t1", "ON", "t2.kid", "=", "t1.id", "JOIN", "movie", "AS", "t3", "ON", "t2.msid", "=", "t3.mid", "WHERE", "t1.keyword", "=", "``", "nuclear", "weapons", "''", ";" ], "query_toks_no_value": [ "select", "t3", ".", "title", "from", "tags", "as", "t2", "join", "keyword", "as", "t1", "on", "t2", ".", "kid", "=", "t1", ".", "id", "join", "movie", "as", "t3", "on", "t2", ".", "msid", "=", "t3", ".", "mid", "where", "t1", ".", "keyword", "=", "value" ], "question": "Encontre todos os filmes sobre armas nucleares", "question_toks": [ "Encontre", "todos", "os", "filmes", "sobre", "armas", "nucleares" ], "sql": { "from": { "table_units": [ [ "table_unit", 12 ], [ "table_unit", 9 ], [ "table_unit", 11 ] ], "conds": [ [ false, 2, [ 0, [ 0, 49, false ], null ], [ 0, 37, false ], null ], "and", [ false, 2, [ 0, [ 0, 48, false ], null ], [ 0, 42, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 43, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 38, false ], null ], "\"nuclear weapons\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "imdb", "query": "SELECT t3.title FROM tags AS t2 JOIN keyword AS t1 ON t2.kid = t1.id JOIN movie AS t3 ON t2.msid = t3.mid WHERE t1.keyword = \"nuclear weapons\";", "query_toks": [ "SELECT", "t3.title", "FROM", "tags", "AS", "t2", "JOIN", "keyword", "AS", "t1", "ON", "t2.kid", "=", "t1.id", "JOIN", "movie", "AS", "t3", "ON", "t2.msid", "=", "t3.mid", "WHERE", "t1.keyword", "=", "``", "nuclear", "weapons", "''", ";" ], "query_toks_no_value": [ "select", "t3", ".", "title", "from", "tags", "as", "t2", "join", "keyword", "as", "t1", "on", "t2", ".", "kid", "=", "t1", ".", "id", "join", "movie", "as", "t3", "on", "t2", ".", "msid", "=", "t3", ".", "mid", "where", "t1", ".", "keyword", "=", "value" ], "question": "Quais são os filmes relacionados a armas nucleares", "question_toks": [ "Quais", "são", "os", "filmes", "relacionados", "a", "armas", "nucleares" ], "sql": { "from": { "table_units": [ [ "table_unit", 12 ], [ "table_unit", 9 ], [ "table_unit", 11 ] ], "conds": [ [ false, 2, [ 0, [ 0, 49, false ], null ], [ 0, 37, false ], null ], "and", [ false, 2, [ 0, [ 0, 48, false ], null ], [ 0, 42, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 43, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 38, false ], null ], "\"nuclear weapons\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "imdb", "query": "SELECT t3.title FROM director AS t2 JOIN directed_by AS t1 ON t2.did = t1.did JOIN movie AS t3 ON t3.mid = t1.msid WHERE t2.name = \"Alfred Hitchcock\";", "query_toks": [ "SELECT", "t3.title", "FROM", "director", "AS", "t2", "JOIN", "directed_by", "AS", "t1", "ON", "t2.did", "=", "t1.did", "JOIN", "movie", "AS", "t3", "ON", "t3.mid", "=", "t1.msid", "WHERE", "t2.name", "=", "``", "Alfred", "Hitchcock", "''", ";" ], "query_toks_no_value": [ "select", "t3", ".", "title", "from", "director", "as", "t2", "join", "directed_by", "as", "t1", "on", "t2", ".", "did", "=", "t1", ".", "did", "join", "movie", "as", "t3", "on", "t3", ".", "mid", "=", "t1", ".", "msid", "where", "t2", ".", "name", "=", "value" ], "question": "Quais filmes \"Alfred Hitchcock\" dirigiu?", "question_toks": [ "Quais", "filmes", "\"", "Alfred", "Hitchcock", "\"", "dirigiu", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ], [ "table_unit", 8 ], [ "table_unit", 11 ] ], "conds": [ [ false, 2, [ 0, [ 0, 22, false ], null ], [ 0, 36, false ], null ], "and", [ false, 2, [ 0, [ 0, 42, false ], null ], [ 0, 35, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 43, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 24, false ], null ], "\"Alfred Hitchcock\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "imdb", "query": "SELECT t4.title FROM CAST AS t5 JOIN actor AS t1 ON t5.aid = t1.aid JOIN movie AS t4 ON t4.mid = t5.msid JOIN directed_by AS t2 ON t4.mid = t2.msid JOIN director AS t3 ON t3.did = t2.did WHERE t1.name = \"Taraneh Alidoosti\" AND t3.name = \"Asghar Farhadi\";", "query_toks": [ "SELECT", "t4.title", "FROM", "CAST", "AS", "t5", "JOIN", "actor", "AS", "t1", "ON", "t5.aid", "=", "t1.aid", "JOIN", "movie", "AS", "t4", "ON", "t4.mid", "=", "t5.msid", "JOIN", "directed_by", "AS", "t2", "ON", "t4.mid", "=", "t2.msid", "JOIN", "director", "AS", "t3", "ON", "t3.did", "=", "t2.did", "WHERE", "t1.name", "=", "``", "Taraneh", "Alidoosti", "''", "AND", "t3.name", "=", "``", "Asghar", "Farhadi", "''", ";" ], "query_toks_no_value": [ "select", "t4", ".", "title", "from", "cast", "as", "t5", "join", "actor", "as", "t1", "on", "t5", ".", "aid", "=", "t1", ".", "aid", "join", "movie", "as", "t4", "on", "t4", ".", "mid", "=", "t5", ".", "msid", "join", "directed_by", "as", "t2", "on", "t4", ".", "mid", "=", "t2", ".", "msid", "join", "director", "as", "t3", "on", "t3", ".", "did", "=", "t2", ".", "did", "where", "t1", ".", "name", "=", "value", "and", "t3", ".", "name", "=", "value" ], "question": "Encontre todos os filmes dirigidos por \"Asghar Farhadi\" e com \"Taraneh Alidoosti\"", "question_toks": [ "Encontre", "todos", "os", "filmes", "dirigidos", "por", "\"", "Asghar", "Farhadi", "\"", "e", "com", "\"", "Taraneh", "Alidoosti", "\"" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ], [ "table_unit", 0 ], [ "table_unit", 11 ], [ "table_unit", 8 ], [ "table_unit", 6 ] ], "conds": [ [ false, 2, [ 0, [ 0, 12, false ], null ], [ 0, 1, false ], null ], "and", [ false, 2, [ 0, [ 0, 42, false ], null ], [ 0, 11, false ], null ], "and", [ false, 2, [ 0, [ 0, 42, false ], null ], [ 0, 35, false ], null ], "and", [ false, 2, [ 0, [ 0, 22, false ], null ], [ 0, 36, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 43, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], "\"Taraneh Alidoosti\"", null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], "\"Asghar Farhadi\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "imdb", "query": "SELECT t4.title FROM CAST AS t5 JOIN actor AS t1 ON t5.aid = t1.aid JOIN movie AS t4 ON t4.mid = t5.msid JOIN directed_by AS t2 ON t4.mid = t2.msid JOIN director AS t3 ON t3.did = t2.did WHERE t1.name = \"Taraneh Alidoosti\" AND t3.name = \"Asghar Farhadi\";", "query_toks": [ "SELECT", "t4.title", "FROM", "CAST", "AS", "t5", "JOIN", "actor", "AS", "t1", "ON", "t5.aid", "=", "t1.aid", "JOIN", "movie", "AS", "t4", "ON", "t4.mid", "=", "t5.msid", "JOIN", "directed_by", "AS", "t2", "ON", "t4.mid", "=", "t2.msid", "JOIN", "director", "AS", "t3", "ON", "t3.did", "=", "t2.did", "WHERE", "t1.name", "=", "``", "Taraneh", "Alidoosti", "''", "AND", "t3.name", "=", "``", "Asghar", "Farhadi", "''", ";" ], "query_toks_no_value": [ "select", "t4", ".", "title", "from", "cast", "as", "t5", "join", "actor", "as", "t1", "on", "t5", ".", "aid", "=", "t1", ".", "aid", "join", "movie", "as", "t4", "on", "t4", ".", "mid", "=", "t5", ".", "msid", "join", "directed_by", "as", "t2", "on", "t4", ".", "mid", "=", "t2", ".", "msid", "join", "director", "as", "t3", "on", "t3", ".", "did", "=", "t2", ".", "did", "where", "t1", ".", "name", "=", "value", "and", "t3", ".", "name", "=", "value" ], "question": "Quais são todos os filmes dirigidos por \"Asghar Farhadi\" com \"Taraneh Alidoosti\"?", "question_toks": [ "Quais", "são", "todos", "os", "filmes", "dirigidos", "por", "\"", "Asghar", "Farhadi", "\"", "com", "\"", "Taraneh", "Alidoosti", "\"", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ], [ "table_unit", 0 ], [ "table_unit", 11 ], [ "table_unit", 8 ], [ "table_unit", 6 ] ], "conds": [ [ false, 2, [ 0, [ 0, 12, false ], null ], [ 0, 1, false ], null ], "and", [ false, 2, [ 0, [ 0, 42, false ], null ], [ 0, 11, false ], null ], "and", [ false, 2, [ 0, [ 0, 42, false ], null ], [ 0, 35, false ], null ], "and", [ false, 2, [ 0, [ 0, 22, false ], null ], [ 0, 36, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 43, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], "\"Taraneh Alidoosti\"", null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], "\"Asghar Farhadi\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "imdb", "query": "SELECT t4.title FROM CAST AS t5 JOIN actor AS t1 ON t5.aid = t1.aid JOIN movie AS t4 ON t4.mid = t5.msid JOIN directed_by AS t2 ON t4.mid = t2.msid JOIN director AS t3 ON t3.did = t2.did WHERE t1.name = \"Taraneh Alidoosti\" AND t3.name = \"Asghar Farhadi\";", "query_toks": [ "SELECT", "t4.title", "FROM", "CAST", "AS", "t5", "JOIN", "actor", "AS", "t1", "ON", "t5.aid", "=", "t1.aid", "JOIN", "movie", "AS", "t4", "ON", "t4.mid", "=", "t5.msid", "JOIN", "directed_by", "AS", "t2", "ON", "t4.mid", "=", "t2.msid", "JOIN", "director", "AS", "t3", "ON", "t3.did", "=", "t2.did", "WHERE", "t1.name", "=", "``", "Taraneh", "Alidoosti", "''", "AND", "t3.name", "=", "``", "Asghar", "Farhadi", "''", ";" ], "query_toks_no_value": [ "select", "t4", ".", "title", "from", "cast", "as", "t5", "join", "actor", "as", "t1", "on", "t5", ".", "aid", "=", "t1", ".", "aid", "join", "movie", "as", "t4", "on", "t4", ".", "mid", "=", "t5", ".", "msid", "join", "directed_by", "as", "t2", "on", "t4", ".", "mid", "=", "t2", ".", "msid", "join", "director", "as", "t3", "on", "t3", ".", "did", "=", "t2", ".", "did", "where", "t1", ".", "name", "=", "value", "and", "t3", ".", "name", "=", "value" ], "question": "Quantos filmes existem dirigidos por \"Asghar Farhadi\" e apresentando \"Taraneh Alidoosti\"?", "question_toks": [ "Quantos", "filmes", "existem", "dirigidos", "por", "\"", "Asghar", "Farhadi", "\"", "e", "apresentando", "\"", "Taraneh", "Alidoosti", "\"", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ], [ "table_unit", 0 ], [ "table_unit", 11 ], [ "table_unit", 8 ], [ "table_unit", 6 ] ], "conds": [ [ false, 2, [ 0, [ 0, 12, false ], null ], [ 0, 1, false ], null ], "and", [ false, 2, [ 0, [ 0, 42, false ], null ], [ 0, 11, false ], null ], "and", [ false, 2, [ 0, [ 0, 42, false ], null ], [ 0, 35, false ], null ], "and", [ false, 2, [ 0, [ 0, 22, false ], null ], [ 0, 36, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 43, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], "\"Taraneh Alidoosti\"", null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], "\"Asghar Farhadi\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "imdb", "query": "SELECT t4.title FROM CAST AS t5 JOIN actor AS t1 ON t5.aid = t1.aid JOIN movie AS t4 ON t4.mid = t5.msid JOIN directed_by AS t2 ON t4.mid = t2.msid JOIN director AS t3 ON t3.did = t2.did WHERE t1.name = \"Taraneh Alidoosti\" AND t3.name = \"Asghar Farhadi\";", "query_toks": [ "SELECT", "t4.title", "FROM", "CAST", "AS", "t5", "JOIN", "actor", "AS", "t1", "ON", "t5.aid", "=", "t1.aid", "JOIN", "movie", "AS", "t4", "ON", "t4.mid", "=", "t5.msid", "JOIN", "directed_by", "AS", "t2", "ON", "t4.mid", "=", "t2.msid", "JOIN", "director", "AS", "t3", "ON", "t3.did", "=", "t2.did", "WHERE", "t1.name", "=", "``", "Taraneh", "Alidoosti", "''", "AND", "t3.name", "=", "``", "Asghar", "Farhadi", "''", ";" ], "query_toks_no_value": [ "select", "t4", ".", "title", "from", "cast", "as", "t5", "join", "actor", "as", "t1", "on", "t5", ".", "aid", "=", "t1", ".", "aid", "join", "movie", "as", "t4", "on", "t4", ".", "mid", "=", "t5", ".", "msid", "join", "directed_by", "as", "t2", "on", "t4", ".", "mid", "=", "t2", ".", "msid", "join", "director", "as", "t3", "on", "t3", ".", "did", "=", "t2", ".", "did", "where", "t1", ".", "name", "=", "value", "and", "t3", ".", "name", "=", "value" ], "question": "Liste todos os filmes dirigidos por \"Asghar Farhadi\" em que \"Taraneh Alidoosti\" foi exibido", "question_toks": [ "Liste", "todos", "os", "filmes", "dirigidos", "por", "\"", "Asghar", "Farhadi", "\"", "em", "que", "\"", "Taraneh", "Alidoosti", "\"", "foi", "exibido" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ], [ "table_unit", 0 ], [ "table_unit", 11 ], [ "table_unit", 8 ], [ "table_unit", 6 ] ], "conds": [ [ false, 2, [ 0, [ 0, 12, false ], null ], [ 0, 1, false ], null ], "and", [ false, 2, [ 0, [ 0, 42, false ], null ], [ 0, 11, false ], null ], "and", [ false, 2, [ 0, [ 0, 42, false ], null ], [ 0, 35, false ], null ], "and", [ false, 2, [ 0, [ 0, 22, false ], null ], [ 0, 36, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 43, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], "\"Taraneh Alidoosti\"", null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], "\"Asghar Farhadi\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "imdb", "query": "SELECT t2.title FROM producer AS t1 JOIN made_by AS t3 ON t1.pid = t3.pid JOIN tv_series AS t2 ON t2.sid = t3.msid WHERE t1.name = \"Shonda Rhimes\";", "query_toks": [ "SELECT", "t2.title", "FROM", "producer", "AS", "t1", "JOIN", "made_by", "AS", "t3", "ON", "t1.pid", "=", "t3.pid", "JOIN", "tv_series", "AS", "t2", "ON", "t2.sid", "=", "t3.msid", "WHERE", "t1.name", "=", "``", "Shonda", "Rhimes", "''", ";" ], "query_toks_no_value": [ "select", "t2", ".", "title", "from", "producer", "as", "t1", "join", "made_by", "as", "t3", "on", "t1", ".", "pid", "=", "t3", ".", "pid", "join", "tv_series", "as", "t2", "on", "t2", ".", "sid", "=", "t3", ".", "msid", "where", "t1", ".", "name", "=", "value" ], "question": "Quais são todas as séries de TV criadas por \"Shonda Rhimes\"?", "question_toks": [ "Quais", "são", "todas", "as", "séries", "de", "TV", "criadas", "por", "\"", "Shonda", "Rhimes", "\"", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 7 ], [ "table_unit", 10 ], [ "table_unit", 13 ] ], "conds": [ [ false, 2, [ 0, [ 0, 28, false ], null ], [ 0, 41, false ], null ], "and", [ false, 2, [ 0, [ 0, 50, false ], null ], [ 0, 40, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 51, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 30, false ], null ], "\"Shonda Rhimes\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "imdb", "query": "SELECT t1.name FROM CAST AS t3 JOIN actor AS t1 ON t3.aid = t1.aid JOIN tv_series AS t2 ON t2.sid = t3.msid WHERE t3.role = \"Olivia Pope\" AND t2.title = \"Scandal\";", "query_toks": [ "SELECT", "t1.name", "FROM", "CAST", "AS", "t3", "JOIN", "actor", "AS", "t1", "ON", "t3.aid", "=", "t1.aid", "JOIN", "tv_series", "AS", "t2", "ON", "t2.sid", "=", "t3.msid", "WHERE", "t3.role", "=", "``", "Olivia", "Pope", "''", "AND", "t2.title", "=", "``", "Scandal", "''", ";" ], "query_toks_no_value": [ "select", "t1", ".", "name", "from", "cast", "as", "t3", "join", "actor", "as", "t1", "on", "t3", ".", "aid", "=", "t1", ".", "aid", "join", "tv_series", "as", "t2", "on", "t2", ".", "sid", "=", "t3", ".", "msid", "where", "t3", ".", "role", "=", "value", "and", "t2", ".", "title", "=", "value" ], "question": "Quem atua como \"Olivia Pope\" na série Scandal?", "question_toks": [ "Quem", "atua", "como", "\"", "Olivia", "Pope", "\"", "na", "série", "Scandal", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ], [ "table_unit", 0 ], [ "table_unit", 13 ] ], "conds": [ [ false, 2, [ 0, [ 0, 12, false ], null ], [ 0, 1, false ], null ], "and", [ false, 2, [ 0, [ 0, 50, false ], null ], [ 0, 11, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 13, false ], null ], "\"Olivia Pope\"", null ], "and", [ false, 2, [ 0, [ 0, 51, false ], null ], "\"Scandal\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "imdb", "query": "SELECT t2.name FROM written_by AS t3 JOIN movie AS t1 ON t3.msid = t1.mid JOIN writer AS t2 ON t3.wid = t2.wid WHERE t1.title = \"The Truman Show\";", "query_toks": [ "SELECT", "t2.name", "FROM", "written_by", "AS", "t3", "JOIN", "movie", "AS", "t1", "ON", "t3.msid", "=", "t1.mid", "JOIN", "writer", "AS", "t2", "ON", "t3.wid", "=", "t2.wid", "WHERE", "t1.title", "=", "``", "The", "Truman", "Show", "''", ";" ], "query_toks_no_value": [ "select", "t2", ".", "name", "from", "written_by", "as", "t3", "join", "movie", "as", "t1", "on", "t3", ".", "msid", "=", "t1", ".", "mid", "join", "writer", "as", "t2", "on", "t3", ".", "wid", "=", "t2", ".", "wid", "where", "t1", ".", "title", "=", "value" ], "question": "Quem é o escritor do filme \"The Truman Show\"", "question_toks": [ "Quem", "é", "o", "escritor", "do", "filme", "\"", "The", "Truman", "Show", "\"" ], "sql": { "from": { "table_units": [ [ "table_unit", 15 ], [ "table_unit", 11 ], [ "table_unit", 14 ] ], "conds": [ [ false, 2, [ 0, [ 0, 65, false ], null ], [ 0, 42, false ], null ], "and", [ false, 2, [ 0, [ 0, 66, false ], null ], [ 0, 57, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 59, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 43, false ], null ], "\"The Truman Show\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "imdb", "query": "SELECT t2.name FROM written_by AS t3 JOIN movie AS t1 ON t3.msid = t1.mid JOIN writer AS t2 ON t3.wid = t2.wid WHERE t1.title = \"The Truman Show\";", "query_toks": [ "SELECT", "t2.name", "FROM", "written_by", "AS", "t3", "JOIN", "movie", "AS", "t1", "ON", "t3.msid", "=", "t1.mid", "JOIN", "writer", "AS", "t2", "ON", "t3.wid", "=", "t2.wid", "WHERE", "t1.title", "=", "``", "The", "Truman", "Show", "''", ";" ], "query_toks_no_value": [ "select", "t2", ".", "name", "from", "written_by", "as", "t3", "join", "movie", "as", "t1", "on", "t3", ".", "msid", "=", "t1", ".", "mid", "join", "writer", "as", "t2", "on", "t3", ".", "wid", "=", "t2", ".", "wid", "where", "t1", ".", "title", "=", "value" ], "question": "Quem é o escritor de \"The Truman Show\"", "question_toks": [ "Quem", "é", "o", "escritor", "de", "\"", "The", "Truman", "Show", "\"" ], "sql": { "from": { "table_units": [ [ "table_unit", 15 ], [ "table_unit", 11 ], [ "table_unit", 14 ] ], "conds": [ [ false, 2, [ 0, [ 0, 65, false ], null ], [ 0, 42, false ], null ], "and", [ false, 2, [ 0, [ 0, 66, false ], null ], [ 0, 57, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 59, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 43, false ], null ], "\"The Truman Show\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "imdb", "query": "SELECT t2.title FROM CAST AS t3 JOIN actor AS t1 ON t3.aid = t1.aid JOIN tv_series AS t2 ON t2.sid = t3.msid WHERE t1.name = \"Scott Foley\";", "query_toks": [ "SELECT", "t2.title", "FROM", "CAST", "AS", "t3", "JOIN", "actor", "AS", "t1", "ON", "t3.aid", "=", "t1.aid", "JOIN", "tv_series", "AS", "t2", "ON", "t2.sid", "=", "t3.msid", "WHERE", "t1.name", "=", "``", "Scott", "Foley", "''", ";" ], "query_toks_no_value": [ "select", "t2", ".", "title", "from", "cast", "as", "t3", "join", "actor", "as", "t1", "on", "t3", ".", "aid", "=", "t1", ".", "aid", "join", "tv_series", "as", "t2", "on", "t2", ".", "sid", "=", "t3", ".", "msid", "where", "t1", ".", "name", "=", "value" ], "question": "Quais são as séries com \"Scott Foley\"?", "question_toks": [ "Quais", "são", "as", "séries", "com", "\"", "Scott", "Foley", "\"", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ], [ "table_unit", 0 ], [ "table_unit", 13 ] ], "conds": [ [ false, 2, [ 0, [ 0, 12, false ], null ], [ 0, 1, false ], null ], "and", [ false, 2, [ 0, [ 0, 50, false ], null ], [ 0, 11, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 51, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], "\"Scott Foley\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "imdb", "query": "SELECT t2.title FROM CAST AS t3 JOIN actor AS t1 ON t3.aid = t1.aid JOIN tv_series AS t2 ON t2.sid = t3.msid WHERE t1.name = \"Scott Foley\";", "query_toks": [ "SELECT", "t2.title", "FROM", "CAST", "AS", "t3", "JOIN", "actor", "AS", "t1", "ON", "t3.aid", "=", "t1.aid", "JOIN", "tv_series", "AS", "t2", "ON", "t2.sid", "=", "t3.msid", "WHERE", "t1.name", "=", "``", "Scott", "Foley", "''", ";" ], "query_toks_no_value": [ "select", "t2", ".", "title", "from", "cast", "as", "t3", "join", "actor", "as", "t1", "on", "t3", ".", "aid", "=", "t1", ".", "aid", "join", "tv_series", "as", "t2", "on", "t2", ".", "sid", "=", "t3", ".", "msid", "where", "t1", ".", "name", "=", "value" ], "question": "Quais são as séries em que \"Scott Foley\" é ator?", "question_toks": [ "Quais", "são", "as", "séries", "em", "que", "\"", "Scott", "Foley", "\"", "é", "ator", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ], [ "table_unit", 0 ], [ "table_unit", 13 ] ], "conds": [ [ false, 2, [ 0, [ 0, 12, false ], null ], [ 0, 1, false ], null ], "and", [ false, 2, [ 0, [ 0, 50, false ], null ], [ 0, 11, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 51, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], "\"Scott Foley\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "imdb", "query": "SELECT t3.name FROM CAST AS t4 JOIN actor AS t1 ON t4.aid = t1.aid JOIN movie AS t5 ON t5.mid = t4.msid JOIN directed_by AS t2 ON t5.mid = t2.msid JOIN director AS t3 ON t3.did = t2.did WHERE t1.name = \"Kate Winslet\";", "query_toks": [ "SELECT", "t3.name", "FROM", "CAST", "AS", "t4", "JOIN", "actor", "AS", "t1", "ON", "t4.aid", "=", "t1.aid", "JOIN", "movie", "AS", "t5", "ON", "t5.mid", "=", "t4.msid", "JOIN", "directed_by", "AS", "t2", "ON", "t5.mid", "=", "t2.msid", "JOIN", "director", "AS", "t3", "ON", "t3.did", "=", "t2.did", "WHERE", "t1.name", "=", "``", "Kate", "Winslet", "''", ";" ], "query_toks_no_value": [ "select", "t3", ".", "name", "from", "cast", "as", "t4", "join", "actor", "as", "t1", "on", "t4", ".", "aid", "=", "t1", ".", "aid", "join", "movie", "as", "t5", "on", "t5", ".", "mid", "=", "t4", ".", "msid", "join", "directed_by", "as", "t2", "on", "t5", ".", "mid", "=", "t2", ".", "msid", "join", "director", "as", "t3", "on", "t3", ".", "did", "=", "t2", ".", "did", "where", "t1", ".", "name", "=", "value" ], "question": "Encontre os diretores de todos os filmes com \"Kate Winslet\"", "question_toks": [ "Encontre", "os", "diretores", "de", "todos", "os", "filmes", "com", "\"", "Kate", "Winslet", "\"" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ], [ "table_unit", 0 ], [ "table_unit", 11 ], [ "table_unit", 8 ], [ "table_unit", 6 ] ], "conds": [ [ false, 2, [ 0, [ 0, 12, false ], null ], [ 0, 1, false ], null ], "and", [ false, 2, [ 0, [ 0, 42, false ], null ], [ 0, 11, false ], null ], "and", [ false, 2, [ 0, [ 0, 42, false ], null ], [ 0, 35, false ], null ], "and", [ false, 2, [ 0, [ 0, 22, false ], null ], [ 0, 36, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 24, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], "\"Kate Winslet\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "imdb", "query": "SELECT t1.name FROM CAST AS t3 JOIN actor AS t2 ON t3.aid = t2.aid JOIN movie AS t5 ON t5.mid = t3.msid JOIN made_by AS t4 ON t5.mid = t4.msid JOIN producer AS t1 ON t1.pid = t4.pid WHERE t2.name = \"Kate Winslet\";", "query_toks": [ "SELECT", "t1.name", "FROM", "CAST", "AS", "t3", "JOIN", "actor", "AS", "t2", "ON", "t3.aid", "=", "t2.aid", "JOIN", "movie", "AS", "t5", "ON", "t5.mid", "=", "t3.msid", "JOIN", "made_by", "AS", "t4", "ON", "t5.mid", "=", "t4.msid", "JOIN", "producer", "AS", "t1", "ON", "t1.pid", "=", "t4.pid", "WHERE", "t2.name", "=", "``", "Kate", "Winslet", "''", ";" ], "query_toks_no_value": [ "select", "t1", ".", "name", "from", "cast", "as", "t3", "join", "actor", "as", "t2", "on", "t3", ".", "aid", "=", "t2", ".", "aid", "join", "movie", "as", "t5", "on", "t5", ".", "mid", "=", "t3", ".", "msid", "join", "made_by", "as", "t4", "on", "t5", ".", "mid", "=", "t4", ".", "msid", "join", "producer", "as", "t1", "on", "t1", ".", "pid", "=", "t4", ".", "pid", "where", "t2", ".", "name", "=", "value" ], "question": "Encontre os produtores de todos os filmes em que \"Kate Winslet\" é atriz", "question_toks": [ "Encontre", "os", "produtores", "de", "todos", "os", "filmes", "em", "que", "\"", "Kate", "Winslet", "\"", "é", "atriz" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ], [ "table_unit", 0 ], [ "table_unit", 11 ], [ "table_unit", 10 ], [ "table_unit", 7 ] ], "conds": [ [ false, 2, [ 0, [ 0, 12, false ], null ], [ 0, 1, false ], null ], "and", [ false, 2, [ 0, [ 0, 42, false ], null ], [ 0, 11, false ], null ], "and", [ false, 2, [ 0, [ 0, 42, false ], null ], [ 0, 40, false ], null ], "and", [ false, 2, [ 0, [ 0, 28, false ], null ], [ 0, 41, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 30, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], "\"Kate Winslet\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "imdb", "query": "SELECT t2.name FROM director AS t2 JOIN directed_by AS t1 ON t2.did = t1.did JOIN tv_series AS t3 ON t3.sid = t1.msid WHERE t3.release_year = 2013 AND t3.title = \"House of Cards\";", "query_toks": [ "SELECT", "t2.name", "FROM", "director", "AS", "t2", "JOIN", "directed_by", "AS", "t1", "ON", "t2.did", "=", "t1.did", "JOIN", "tv_series", "AS", "t3", "ON", "t3.sid", "=", "t1.msid", "WHERE", "t3.release_year", "=", "2013", "AND", "t3.title", "=", "``", "House", "of", "Cards", "''", ";" ], "query_toks_no_value": [ "select", "t2", ".", "name", "from", "director", "as", "t2", "join", "directed_by", "as", "t1", "on", "t2", ".", "did", "=", "t1", ".", "did", "join", "tv_series", "as", "t3", "on", "t3", ".", "sid", "=", "t1", ".", "msid", "where", "t3", ".", "release_year", "=", "value", "and", "t3", ".", "title", "=", "value" ], "question": "Quem é o diretor da série de TV \"House of Cards\" de 2013?", "question_toks": [ "Quem", "é", "o", "diretor", "da", "série", "de", "TV", "\"", "House", "of", "Cards", "\"", "de", "2013", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ], [ "table_unit", 8 ], [ "table_unit", 13 ] ], "conds": [ [ false, 2, [ 0, [ 0, 22, false ], null ], [ 0, 36, false ], null ], "and", [ false, 2, [ 0, [ 0, 50, false ], null ], [ 0, 35, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 24, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 52, false ], null ], 2013.0, null ], "and", [ false, 2, [ 0, [ 0, 51, false ], null ], "\"House of Cards\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "imdb", "query": "SELECT name FROM actor WHERE birth_city = \"Austin\" AND gender = \"female\";", "query_toks": [ "SELECT", "name", "FROM", "actor", "WHERE", "birth_city", "=", "``", "Austin", "''", "AND", "gender", "=", "``", "female", "''", ";" ], "query_toks_no_value": [ "select", "name", "from", "actor", "where", "birth_city", "=", "value", "and", "gender", "=", "value" ], "question": "Encontre todas as atrizes de Austin", "question_toks": [ "Encontre", "todas", "as", "atrizes", "de", "Austin" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 5, false ], null ], "\"Austin\"", null ], "and", [ false, 2, [ 0, [ 0, 2, false ], null ], "\"female\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "imdb", "query": "SELECT name FROM actor WHERE birth_year > 1980 AND nationality = \"Italy\";", "query_toks": [ "SELECT", "name", "FROM", "actor", "WHERE", "birth_year", ">", "1980", "AND", "nationality", "=", "``", "Italy", "''", ";" ], "query_toks_no_value": [ "select", "name", "from", "actor", "where", "birth_year", ">", "value", "and", "nationality", "=", "value" ], "question": "Encontre todos os atores da Itália nascidos após 1980", "question_toks": [ "Encontre", "todos", "os", "atores", "da", "Itália", "nascidos", "após", "1980" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [ [ false, 3, [ 0, [ 0, 6, false ], null ], 1980.0, null ], "and", [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Italy\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "imdb", "query": "SELECT name FROM actor WHERE birth_city = \"New York City\" AND birth_year > 1980 AND gender = \"female\";", "query_toks": [ "SELECT", "name", "FROM", "actor", "WHERE", "birth_city", "=", "``", "New", "York", "City", "''", "AND", "birth_year", ">", "1980", "AND", "gender", "=", "``", "female", "''", ";" ], "query_toks_no_value": [ "select", "name", "from", "actor", "where", "birth_city", "=", "value", "and", "birth_year", ">", "value", "and", "gender", "=", "value" ], "question": "Encontre todas as atrizes nascidas em \"Nova York\" depois de 1980", "question_toks": [ "Encontre", "todas", "as", "atrizes", "nascidas", "em", "\"", "Nova", "York", "\"", "depois", "de", "1980" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 5, false ], null ], "\"New York City\"", null ], "and", [ false, 3, [ 0, [ 0, 6, false ], null ], 1980.0, null ], "and", [ false, 2, [ 0, [ 0, 2, false ], null ], "\"female\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "imdb", "query": "SELECT t1.name FROM CAST AS t2 JOIN actor AS t1 ON t2.aid = t1.aid JOIN movie AS t3 ON t3.mid = t2.msid WHERE t1.gender = \"female\" AND t3.title = \"Saving Private Ryan\";", "query_toks": [ "SELECT", "t1.name", "FROM", "CAST", "AS", "t2", "JOIN", "actor", "AS", "t1", "ON", "t2.aid", "=", "t1.aid", "JOIN", "movie", "AS", "t3", "ON", "t3.mid", "=", "t2.msid", "WHERE", "t1.gender", "=", "``", "female", "''", "AND", "t3.title", "=", "``", "Saving", "Private", "Ryan", "''", ";" ], "query_toks_no_value": [ "select", "t1", ".", "name", "from", "cast", "as", "t2", "join", "actor", "as", "t1", "on", "t2", ".", "aid", "=", "t1", ".", "aid", "join", "movie", "as", "t3", "on", "t3", ".", "mid", "=", "t2", ".", "msid", "where", "t1", ".", "gender", "=", "value", "and", "t3", ".", "title", "=", "value" ], "question": "Encontre todas as atrizes do filme \"Salvando o Soldado Ryan\"", "question_toks": [ "Encontre", "todas", "as", "atrizes", "do", "filme", "\"", "Salvando", "o", "Soldado", "Ryan", "\"" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ], [ "table_unit", 0 ], [ "table_unit", 11 ] ], "conds": [ [ false, 2, [ 0, [ 0, 12, false ], null ], [ 0, 1, false ], null ], "and", [ false, 2, [ 0, [ 0, 42, false ], null ], [ 0, 11, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 2, false ], null ], "\"female\"", null ], "and", [ false, 2, [ 0, [ 0, 43, false ], null ], "\"Saving Private Ryan\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "imdb", "query": "SELECT name FROM director WHERE nationality = \"Afghanistan\";", "query_toks": [ "SELECT", "name", "FROM", "director", "WHERE", "nationality", "=", "``", "Afghanistan", "''", ";" ], "query_toks_no_value": [ "select", "name", "from", "director", "where", "nationality", "=", "value" ], "question": "Encontre todos os diretores que são do Afeganistão", "question_toks": [ "Encontre", "todos", "os", "diretores", "que", "são", "do", "Afeganistão" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 24, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 25, false ], null ], "\"Afghanistan\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "imdb", "query": "SELECT t1.name FROM CAST AS t2 JOIN actor AS t1 ON t2.aid = t1.aid JOIN movie AS t3 ON t3.mid = t2.msid WHERE t3.title = \"Camp X-Ray\";", "query_toks": [ "SELECT", "t1.name", "FROM", "CAST", "AS", "t2", "JOIN", "actor", "AS", "t1", "ON", "t2.aid", "=", "t1.aid", "JOIN", "movie", "AS", "t3", "ON", "t3.mid", "=", "t2.msid", "WHERE", "t3.title", "=", "``", "Camp", "X-Ray", "''", ";" ], "query_toks_no_value": [ "select", "t1", ".", "name", "from", "cast", "as", "t2", "join", "actor", "as", "t1", "on", "t2", ".", "aid", "=", "t1", ".", "aid", "join", "movie", "as", "t3", "on", "t3", ".", "mid", "=", "t2", ".", "msid", "where", "t3", ".", "title", "=", "value" ], "question": "Encontre os atores que atuaram no filme \"Camp X-Ray\"", "question_toks": [ "Encontre", "os", "atores", "que", "atuaram", "no", "filme", "\"", "Camp", "X-Ray", "\"" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ], [ "table_unit", 0 ], [ "table_unit", 11 ] ], "conds": [ [ false, 2, [ 0, [ 0, 12, false ], null ], [ 0, 1, false ], null ], "and", [ false, 2, [ 0, [ 0, 42, false ], null ], [ 0, 11, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 43, false ], null ], "\"Camp X-Ray\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "imdb", "query": "SELECT t1.name FROM CAST AS t2 JOIN actor AS t1 ON t2.aid = t1.aid JOIN movie AS t3 ON t3.mid = t2.msid WHERE t1.nationality = \"Canada\" AND t3.title = \"James Bond\";", "query_toks": [ "SELECT", "t1.name", "FROM", "CAST", "AS", "t2", "JOIN", "actor", "AS", "t1", "ON", "t2.aid", "=", "t1.aid", "JOIN", "movie", "AS", "t3", "ON", "t3.mid", "=", "t2.msid", "WHERE", "t1.nationality", "=", "``", "Canada", "''", "AND", "t3.title", "=", "``", "James", "Bond", "''", ";" ], "query_toks_no_value": [ "select", "t1", ".", "name", "from", "cast", "as", "t2", "join", "actor", "as", "t1", "on", "t2", ".", "aid", "=", "t1", ".", "aid", "join", "movie", "as", "t3", "on", "t3", ".", "mid", "=", "t2", ".", "msid", "where", "t1", ".", "nationality", "=", "value", "and", "t3", ".", "title", "=", "value" ], "question": "Encontre todos os atores do Canadá que atuaram em filmes de \"James Bond\"", "question_toks": [ "Encontre", "todos", "os", "atores", "do", "Canadá", "que", "atuaram", "em", "filmes", "de", "\"", "James", "Bond", "\"" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ], [ "table_unit", 0 ], [ "table_unit", 11 ] ], "conds": [ [ false, 2, [ 0, [ 0, 12, false ], null ], [ 0, 1, false ], null ], "and", [ false, 2, [ 0, [ 0, 42, false ], null ], [ 0, 11, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Canada\"", null ], "and", [ false, 2, [ 0, [ 0, 43, false ], null ], "\"James Bond\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "imdb", "query": "SELECT t2.title FROM CAST AS t3 JOIN actor AS t1 ON t3.aid = t1.aid JOIN movie AS t2 ON t2.mid = t3.msid WHERE t1.name = \"Rowan Atkinson\" AND t3.role = \"Mr. Bean\";", "query_toks": [ "SELECT", "t2.title", "FROM", "CAST", "AS", "t3", "JOIN", "actor", "AS", "t1", "ON", "t3.aid", "=", "t1.aid", "JOIN", "movie", "AS", "t2", "ON", "t2.mid", "=", "t3.msid", "WHERE", "t1.name", "=", "``", "Rowan", "Atkinson", "''", "AND", "t3.role", "=", "``", "Mr.", "Bean", "''", ";" ], "query_toks_no_value": [ "select", "t2", ".", "title", "from", "cast", "as", "t3", "join", "actor", "as", "t1", "on", "t3", ".", "aid", "=", "t1", ".", "aid", "join", "movie", "as", "t2", "on", "t2", ".", "mid", "=", "t3", ".", "msid", "where", "t1", ".", "name", "=", "value", "and", "t3", ".", "role", "=", "value" ], "question": "encontre todos os filmes em que \"Rowan Atkinson\" atuou como \"Mr. Bean\"", "question_toks": [ "encontre", "todos", "os", "filmes", "em", "que", "\"", "Rowan", "Atkinson", "\"", "atuou", "como", "\"", "Mr.", "Bean", "\"" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ], [ "table_unit", 0 ], [ "table_unit", 11 ] ], "conds": [ [ false, 2, [ 0, [ 0, 12, false ], null ], [ 0, 1, false ], null ], "and", [ false, 2, [ 0, [ 0, 42, false ], null ], [ 0, 11, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 43, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], "\"Rowan Atkinson\"", null ], "and", [ false, 2, [ 0, [ 0, 13, false ], null ], "\"Mr. Bean\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "imdb", "query": "SELECT t2.birth_city FROM director AS t2 JOIN directed_by AS t1 ON t2.did = t1.did JOIN movie AS t3 ON t3.mid = t1.msid WHERE t3.title = \"The Past\";", "query_toks": [ "SELECT", "t2.birth_city", "FROM", "director", "AS", "t2", "JOIN", "directed_by", "AS", "t1", "ON", "t2.did", "=", "t1.did", "JOIN", "movie", "AS", "t3", "ON", "t3.mid", "=", "t1.msid", "WHERE", "t3.title", "=", "``", "The", "Past", "''", ";" ], "query_toks_no_value": [ "select", "t2", ".", "birth_city", "from", "director", "as", "t2", "join", "directed_by", "as", "t1", "on", "t2", ".", "did", "=", "t1", ".", "did", "join", "movie", "as", "t3", "on", "t3", ".", "mid", "=", "t1", ".", "msid", "where", "t3", ".", "title", "=", "value" ], "question": "de onde é o diretor de \"The Past\" de", "question_toks": [ "de", "onde", "é", "o", "diretor", "de", "\"", "The", "Past", "\"", "de" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ], [ "table_unit", 8 ], [ "table_unit", 11 ] ], "conds": [ [ false, 2, [ 0, [ 0, 22, false ], null ], [ 0, 36, false ], null ], "and", [ false, 2, [ 0, [ 0, 42, false ], null ], [ 0, 35, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 26, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 43, false ], null ], "\"The Past\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "imdb", "query": "SELECT t1.name FROM CAST AS t2 JOIN actor AS t1 ON t2.aid = t1.aid WHERE t2.role = \"Mr. Bean\";", "query_toks": [ "SELECT", "t1.name", "FROM", "CAST", "AS", "t2", "JOIN", "actor", "AS", "t1", "ON", "t2.aid", "=", "t1.aid", "WHERE", "t2.role", "=", "``", "Mr.", "Bean", "''", ";" ], "query_toks_no_value": [ "select", "t1", ".", "name", "from", "cast", "as", "t2", "join", "actor", "as", "t1", "on", "t2", ".", "aid", "=", "t1", ".", "aid", "where", "t2", ".", "role", "=", "value" ], "question": "que desempenhou o papel de \"Mr. Bean\"", "question_toks": [ "que", "desempenhou", "o", "papel", "de", "\"", "Mr.", "Bean", "\"" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 12, false ], null ], [ 0, 1, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 13, false ], null ], "\"Mr. Bean\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "imdb", "query": "SELECT t3.genre FROM director AS t5 JOIN directed_by AS t2 ON t5.did = t2.did JOIN movie AS t4 ON t4.mid = t2.msid JOIN classification AS t1 ON t4.mid = t1.msid JOIN genre AS t3 ON t3.gid = t1.gid WHERE t5.name = \"Asghar Farhadi\";", "query_toks": [ "SELECT", "t3.genre", "FROM", "director", "AS", "t5", "JOIN", "directed_by", "AS", "t2", "ON", "t5.did", "=", "t2.did", "JOIN", "movie", "AS", "t4", "ON", "t4.mid", "=", "t2.msid", "JOIN", "classification", "AS", "t1", "ON", "t4.mid", "=", "t1.msid", "JOIN", "genre", "AS", "t3", "ON", "t3.gid", "=", "t1.gid", "WHERE", "t5.name", "=", "``", "Asghar", "Farhadi", "''", ";" ], "query_toks_no_value": [ "select", "t3", ".", "genre", "from", "director", "as", "t5", "join", "directed_by", "as", "t2", "on", "t5", ".", "did", "=", "t2", ".", "did", "join", "movie", "as", "t4", "on", "t4", ".", "mid", "=", "t2", ".", "msid", "join", "classification", "as", "t1", "on", "t4", ".", "mid", "=", "t1", ".", "msid", "join", "genre", "as", "t3", "on", "t3", ".", "gid", "=", "t1", ".", "gid", "where", "t5", ".", "name", "=", "value" ], "question": "quais são os gêneros de filmes dirigidos por \"Asghar Farhadi\"", "question_toks": [ "quais", "são", "os", "gêneros", "de", "filmes", "dirigidos", "por", "\"", "Asghar", "Farhadi", "\"" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ], [ "table_unit", 8 ], [ "table_unit", 11 ], [ "table_unit", 4 ], [ "table_unit", 3 ] ], "conds": [ [ false, 2, [ 0, [ 0, 22, false ], null ], [ 0, 36, false ], null ], "and", [ false, 2, [ 0, [ 0, 42, false ], null ], [ 0, 35, false ], null ], "and", [ false, 2, [ 0, [ 0, 42, false ], null ], [ 0, 17, false ], null ], "and", [ false, 2, [ 0, [ 0, 14, false ], null ], [ 0, 18, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 15, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 24, false ], null ], "\"Asghar Farhadi\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "imdb", "query": "SELECT t1.title FROM movie AS t1 JOIN CAST AS t2 ON t1.mid = t2.msid WHERE t2.role = \"Daffy Duck\";", "query_toks": [ "SELECT", "t1.title", "FROM", "movie", "AS", "t1", "JOIN", "CAST", "AS", "t2", "ON", "t1.mid", "=", "t2.msid", "WHERE", "t2.role", "=", "``", "Daffy", "Duck", "''", ";" ], "query_toks_no_value": [ "select", "t1", ".", "title", "from", "movie", "as", "t1", "join", "cast", "as", "t2", "on", "t1", ".", "mid", "=", "t2", ".", "msid", "where", "t2", ".", "role", "=", "value" ], "question": "Qual filme teve o personagem \"Patolino\"", "question_toks": [ "Qual", "filme", "teve", "o", "personagem", "\"", "Patolino", "\"" ], "sql": { "from": { "table_units": [ [ "table_unit", 11 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 42, false ], null ], [ 0, 11, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 43, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 13, false ], null ], "\"Daffy Duck\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "imdb", "query": "SELECT t2.role FROM CAST AS t2 JOIN actor AS t1 ON t2.aid = t1.aid JOIN movie AS t3 ON t3.mid = t2.msid WHERE t3.title = \"Daddy Long Legs\";", "query_toks": [ "SELECT", "t2.role", "FROM", "CAST", "AS", "t2", "JOIN", "actor", "AS", "t1", "ON", "t2.aid", "=", "t1.aid", "JOIN", "movie", "AS", "t3", "ON", "t3.mid", "=", "t2.msid", "WHERE", "t3.title", "=", "``", "Daddy", "Long", "Legs", "''", ";" ], "query_toks_no_value": [ "select", "t2", ".", "role", "from", "cast", "as", "t2", "join", "actor", "as", "t1", "on", "t2", ".", "aid", "=", "t1", ".", "aid", "join", "movie", "as", "t3", "on", "t3", ".", "mid", "=", "t2", ".", "msid", "where", "t3", ".", "title", "=", "value" ], "question": "Quais são os papéis principais no filme \"Daddy Long Legs\"", "question_toks": [ "Quais", "são", "os", "papéis", "principais", "no", "filme", "\"", "Daddy", "Long", "Legs", "\"" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ], [ "table_unit", 0 ], [ "table_unit", 11 ] ], "conds": [ [ false, 2, [ 0, [ 0, 12, false ], null ], [ 0, 1, false ], null ], "and", [ false, 2, [ 0, [ 0, 42, false ], null ], [ 0, 11, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 13, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 43, false ], null ], "\"Daddy Long Legs\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "imdb", "query": "SELECT t3.name FROM director AS t3 JOIN directed_by AS t2 ON t3.did = t2.did JOIN movie AS t4 ON t4.mid = t2.msid JOIN tags AS t5 ON t5.msid = t4.mid JOIN keyword AS t1 ON t5.kid = t1.id WHERE t1.keyword = \"nuclear weapons\";", "query_toks": [ "SELECT", "t3.name", "FROM", "director", "AS", "t3", "JOIN", "directed_by", "AS", "t2", "ON", "t3.did", "=", "t2.did", "JOIN", "movie", "AS", "t4", "ON", "t4.mid", "=", "t2.msid", "JOIN", "tags", "AS", "t5", "ON", "t5.msid", "=", "t4.mid", "JOIN", "keyword", "AS", "t1", "ON", "t5.kid", "=", "t1.id", "WHERE", "t1.keyword", "=", "``", "nuclear", "weapons", "''", ";" ], "query_toks_no_value": [ "select", "t3", ".", "name", "from", "director", "as", "t3", "join", "directed_by", "as", "t2", "on", "t3", ".", "did", "=", "t2", ".", "did", "join", "movie", "as", "t4", "on", "t4", ".", "mid", "=", "t2", ".", "msid", "join", "tags", "as", "t5", "on", "t5", ".", "msid", "=", "t4", ".", "mid", "join", "keyword", "as", "t1", "on", "t5", ".", "kid", "=", "t1", ".", "id", "where", "t1", ".", "keyword", "=", "value" ], "question": "Liste todos os diretores de filmes sobre armas nucleares", "question_toks": [ "Liste", "todos", "os", "diretores", "de", "filmes", "sobre", "armas", "nucleares" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ], [ "table_unit", 8 ], [ "table_unit", 11 ], [ "table_unit", 12 ], [ "table_unit", 9 ] ], "conds": [ [ false, 2, [ 0, [ 0, 22, false ], null ], [ 0, 36, false ], null ], "and", [ false, 2, [ 0, [ 0, 42, false ], null ], [ 0, 35, false ], null ], "and", [ false, 2, [ 0, [ 0, 48, false ], null ], [ 0, 42, false ], null ], "and", [ false, 2, [ 0, [ 0, 49, false ], null ], [ 0, 37, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 24, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 38, false ], null ], "\"nuclear weapons\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "imdb", "query": "SELECT COUNT ( DISTINCT t2.title ) FROM CAST AS t3 JOIN actor AS t1 ON t3.aid = t1.aid JOIN movie AS t2 ON t2.mid = t3.msid WHERE t1.name = \"Jennifer Aniston\" AND t2.release_year > 2010;", "query_toks": [ "SELECT", "COUNT", "(", "DISTINCT", "t2.title", ")", "FROM", "CAST", "AS", "t3", "JOIN", "actor", "AS", "t1", "ON", "t3.aid", "=", "t1.aid", "JOIN", "movie", "AS", "t2", "ON", "t2.mid", "=", "t3.msid", "WHERE", "t1.name", "=", "``", "Jennifer", "Aniston", "''", "AND", "t2.release_year", ">", "2010", ";" ], "query_toks_no_value": [ "select", "count", "(", "distinct", "t2", ".", "title", ")", "from", "cast", "as", "t3", "join", "actor", "as", "t1", "on", "t3", ".", "aid", "=", "t1", ".", "aid", "join", "movie", "as", "t2", "on", "t2", ".", "mid", "=", "t3", ".", "msid", "where", "t1", ".", "name", "=", "value", "and", "t2", ".", "release_year", ">", "value" ], "question": "Qual é o número de filmes em que \"Jennifer Aniston\" atuou depois de 2010?", "question_toks": [ "Qual", "é", "o", "número", "de", "filmes", "em", "que", "\"", "Jennifer", "Aniston", "\"", "atuou", "depois", "de", "2010", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ], [ "table_unit", 0 ], [ "table_unit", 11 ] ], "conds": [ [ false, 2, [ 0, [ 0, 12, false ], null ], [ 0, 1, false ], null ], "and", [ false, 2, [ 0, [ 0, 42, false ], null ], [ 0, 11, false ], null ] ] }, "select": [ false, [ [ 3, [ 0, [ 0, 43, true ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], "\"Jennifer Aniston\"", null ], "and", [ false, 3, [ 0, [ 0, 44, false ], null ], 2010.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "imdb", "query": "SELECT COUNT ( DISTINCT t1.name ) FROM CAST AS t2 JOIN actor AS t1 ON t2.aid = t1.aid JOIN movie AS t3 ON t3.mid = t2.msid WHERE t3.title = \"Saving Private Ryan\";", "query_toks": [ "SELECT", "COUNT", "(", "DISTINCT", "t1.name", ")", "FROM", "CAST", "AS", "t2", "JOIN", "actor", "AS", "t1", "ON", "t2.aid", "=", "t1.aid", "JOIN", "movie", "AS", "t3", "ON", "t3.mid", "=", "t2.msid", "WHERE", "t3.title", "=", "``", "Saving", "Private", "Ryan", "''", ";" ], "query_toks_no_value": [ "select", "count", "(", "distinct", "t1", ".", "name", ")", "from", "cast", "as", "t2", "join", "actor", "as", "t1", "on", "t2", ".", "aid", "=", "t1", ".", "aid", "join", "movie", "as", "t3", "on", "t3", ".", "mid", "=", "t2", ".", "msid", "where", "t3", ".", "title", "=", "value" ], "question": "Qual é o número de atores no filme \"Salvando o Soldado Ryan\"?", "question_toks": [ "Qual", "é", "o", "número", "de", "atores", "no", "filme", "\"", "Salvando", "o", "Soldado", "Ryan", "\"", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ], [ "table_unit", 0 ], [ "table_unit", 11 ] ], "conds": [ [ false, 2, [ 0, [ 0, 12, false ], null ], [ 0, 1, false ], null ], "and", [ false, 2, [ 0, [ 0, 42, false ], null ], [ 0, 11, false ], null ] ] }, "select": [ false, [ [ 3, [ 0, [ 0, 3, true ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 43, false ], null ], "\"Saving Private Ryan\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "imdb", "query": "SELECT COUNT ( DISTINCT t1.name ) FROM CAST AS t2 JOIN actor AS t1 ON t2.aid = t1.aid JOIN movie AS t3 ON t3.mid = t2.msid WHERE t3.title = \"Saving Private Ryan\";", "query_toks": [ "SELECT", "COUNT", "(", "DISTINCT", "t1.name", ")", "FROM", "CAST", "AS", "t2", "JOIN", "actor", "AS", "t1", "ON", "t2.aid", "=", "t1.aid", "JOIN", "movie", "AS", "t3", "ON", "t3.mid", "=", "t2.msid", "WHERE", "t3.title", "=", "``", "Saving", "Private", "Ryan", "''", ";" ], "query_toks_no_value": [ "select", "count", "(", "distinct", "t1", ".", "name", ")", "from", "cast", "as", "t2", "join", "actor", "as", "t1", "on", "t2", ".", "aid", "=", "t1", ".", "aid", "join", "movie", "as", "t3", "on", "t3", ".", "mid", "=", "t2", ".", "msid", "where", "t3", ".", "title", "=", "value" ], "question": "Quantos atores estão no filme \"Salvando o Soldado Ryan\"?", "question_toks": [ "Quantos", "atores", "estão", "no", "filme", "\"", "Salvando", "o", "Soldado", "Ryan", "\"", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ], [ "table_unit", 0 ], [ "table_unit", 11 ] ], "conds": [ [ false, 2, [ 0, [ 0, 12, false ], null ], [ 0, 1, false ], null ], "and", [ false, 2, [ 0, [ 0, 42, false ], null ], [ 0, 11, false ], null ] ] }, "select": [ false, [ [ 3, [ 0, [ 0, 3, true ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 43, false ], null ], "\"Saving Private Ryan\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "imdb", "query": "SELECT COUNT ( DISTINCT t3.title ) FROM director AS t2 JOIN directed_by AS t1 ON t2.did = t1.did JOIN movie AS t3 ON t3.mid = t1.msid WHERE t2.name = \"Steven Spielberg\";", "query_toks": [ "SELECT", "COUNT", "(", "DISTINCT", "t3.title", ")", "FROM", "director", "AS", "t2", "JOIN", "directed_by", "AS", "t1", "ON", "t2.did", "=", "t1.did", "JOIN", "movie", "AS", "t3", "ON", "t3.mid", "=", "t1.msid", "WHERE", "t2.name", "=", "``", "Steven", "Spielberg", "''", ";" ], "query_toks_no_value": [ "select", "count", "(", "distinct", "t3", ".", "title", ")", "from", "director", "as", "t2", "join", "directed_by", "as", "t1", "on", "t2", ".", "did", "=", "t1", ".", "did", "join", "movie", "as", "t3", "on", "t3", ".", "mid", "=", "t1", ".", "msid", "where", "t2", ".", "name", "=", "value" ], "question": "Quantos filmes dirigiu \"Steven Spielberg\"?", "question_toks": [ "Quantos", "filmes", "dirigiu", "\"", "Steven", "Spielberg", "\"", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ], [ "table_unit", 8 ], [ "table_unit", 11 ] ], "conds": [ [ false, 2, [ 0, [ 0, 22, false ], null ], [ 0, 36, false ], null ], "and", [ false, 2, [ 0, [ 0, 42, false ], null ], [ 0, 35, false ], null ] ] }, "select": [ false, [ [ 3, [ 0, [ 0, 43, true ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 24, false ], null ], "\"Steven Spielberg\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "imdb", "query": "SELECT COUNT ( DISTINCT title ) FROM movie WHERE release_year = 2013;", "query_toks": [ "SELECT", "COUNT", "(", "DISTINCT", "title", ")", "FROM", "movie", "WHERE", "release_year", "=", "2013", ";" ], "query_toks_no_value": [ "select", "count", "(", "distinct", "title", ")", "from", "movie", "where", "release_year", "=", "value" ], "question": "Quantos filmes foram produzidos no ano de 2013?", "question_toks": [ "Quantos", "filmes", "foram", "produzidos", "no", "ano", "de", "2013", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 11 ] ], "conds": [] }, "select": [ false, [ [ 3, [ 0, [ 0, 43, true ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 44, false ], null ], 2013.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "imdb", "query": "SELECT COUNT ( DISTINCT title ) FROM movie WHERE release_year = 2013;", "query_toks": [ "SELECT", "COUNT", "(", "DISTINCT", "title", ")", "FROM", "movie", "WHERE", "release_year", "=", "2013", ";" ], "query_toks_no_value": [ "select", "count", "(", "distinct", "title", ")", "from", "movie", "where", "release_year", "=", "value" ], "question": "Qual a quantidade de filmes produzidos em 2013?", "question_toks": [ "Qual", "a", "quantidade", "de", "filmes", "produzidos", "em", "2013", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 11 ] ], "conds": [] }, "select": [ false, [ [ 3, [ 0, [ 0, 43, true ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 44, false ], null ], 2013.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "imdb", "query": "SELECT COUNT ( DISTINCT t3.title ) , t3.release_year FROM director AS t2 JOIN directed_by AS t1 ON t2.did = t1.did JOIN movie AS t3 ON t3.mid = t1.msid WHERE t2.name = \"Woody Allen\" GROUP BY t3.release_year;", "query_toks": [ "SELECT", "COUNT", "(", "DISTINCT", "t3.title", ")", ",", "t3.release_year", "FROM", "director", "AS", "t2", "JOIN", "directed_by", "AS", "t1", "ON", "t2.did", "=", "t1.did", "JOIN", "movie", "AS", "t3", "ON", "t3.mid", "=", "t1.msid", "WHERE", "t2.name", "=", "``", "Woody", "Allen", "''", "GROUP", "BY", "t3.release_year", ";" ], "query_toks_no_value": [ "select", "count", "(", "distinct", "t3", ".", "title", ")", ",", "t3", ".", "release_year", "from", "director", "as", "t2", "join", "directed_by", "as", "t1", "on", "t2", ".", "did", "=", "t1", ".", "did", "join", "movie", "as", "t3", "on", "t3", ".", "mid", "=", "t1", ".", "msid", "where", "t2", ".", "name", "=", "value", "group", "by", "t3", ".", "release_year" ], "question": "Qual é a quantidade de filmes dirigidos por \"Woody Allen\" por ano?", "question_toks": [ "Qual", "é", "a", "quantidade", "de", "filmes", "dirigidos", "por", "\"", "Woody", "Allen", "\"", "por", "ano", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ], [ "table_unit", 8 ], [ "table_unit", 11 ] ], "conds": [ [ false, 2, [ 0, [ 0, 22, false ], null ], [ 0, 36, false ], null ], "and", [ false, 2, [ 0, [ 0, 42, false ], null ], [ 0, 35, false ], null ] ] }, "select": [ false, [ [ 3, [ 0, [ 0, 43, true ], null ] ], [ 0, [ 0, [ 0, 44, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 24, false ], null ], "\"Woody Allen\"", null ] ], "groupBy": [ [ 0, 44, false ] ], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "imdb", "query": "SELECT COUNT ( DISTINCT t2.title ) FROM CAST AS t3 JOIN actor AS t1 ON t3.aid = t1.aid JOIN movie AS t2 ON t2.mid = t3.msid WHERE t1.name = \"Shahab Hosseini\";", "query_toks": [ "SELECT", "COUNT", "(", "DISTINCT", "t2.title", ")", "FROM", "CAST", "AS", "t3", "JOIN", "actor", "AS", "t1", "ON", "t3.aid", "=", "t1.aid", "JOIN", "movie", "AS", "t2", "ON", "t2.mid", "=", "t3.msid", "WHERE", "t1.name", "=", "``", "Shahab", "Hosseini", "''", ";" ], "query_toks_no_value": [ "select", "count", "(", "distinct", "t2", ".", "title", ")", "from", "cast", "as", "t3", "join", "actor", "as", "t1", "on", "t3", ".", "aid", "=", "t1", ".", "aid", "join", "movie", "as", "t2", "on", "t2", ".", "mid", "=", "t3", ".", "msid", "where", "t1", ".", "name", "=", "value" ], "question": "Em quantos filmes \"Shahab Hosseini\" atuou?", "question_toks": [ "Em", "quantos", "filmes", "\"", "Shahab", "Hosseini", "\"", "atuou", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ], [ "table_unit", 0 ], [ "table_unit", 11 ] ], "conds": [ [ false, 2, [ 0, [ 0, 12, false ], null ], [ 0, 1, false ], null ], "and", [ false, 2, [ 0, [ 0, 42, false ], null ], [ 0, 11, false ], null ] ] }, "select": [ false, [ [ 3, [ 0, [ 0, 43, true ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], "\"Shahab Hosseini\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "imdb", "query": "SELECT COUNT ( DISTINCT t2.title ) FROM CAST AS t3 JOIN actor AS t1 ON t3.aid = t1.aid JOIN movie AS t2 ON t2.mid = t3.msid WHERE t1.name = \"Shahab Hosseini\";", "query_toks": [ "SELECT", "COUNT", "(", "DISTINCT", "t2.title", ")", "FROM", "CAST", "AS", "t3", "JOIN", "actor", "AS", "t1", "ON", "t3.aid", "=", "t1.aid", "JOIN", "movie", "AS", "t2", "ON", "t2.mid", "=", "t3.msid", "WHERE", "t1.name", "=", "``", "Shahab", "Hosseini", "''", ";" ], "query_toks_no_value": [ "select", "count", "(", "distinct", "t2", ".", "title", ")", "from", "cast", "as", "t3", "join", "actor", "as", "t1", "on", "t3", ".", "aid", "=", "t1", ".", "aid", "join", "movie", "as", "t2", "on", "t2", ".", "mid", "=", "t3", ".", "msid", "where", "t1", ".", "name", "=", "value" ], "question": "Qual é o número de filmes em que \"Shahab Hosseini\" atuou?", "question_toks": [ "Qual", "é", "o", "número", "de", "filmes", "em", "que", "\"", "Shahab", "Hosseini", "\"", "atuou", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ], [ "table_unit", 0 ], [ "table_unit", 11 ] ], "conds": [ [ false, 2, [ 0, [ 0, 12, false ], null ], [ 0, 1, false ], null ], "and", [ false, 2, [ 0, [ 0, 42, false ], null ], [ 0, 11, false ], null ] ] }, "select": [ false, [ [ 3, [ 0, [ 0, 43, true ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], "\"Shahab Hosseini\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "imdb", "query": "SELECT COUNT ( DISTINCT t2.title ) FROM CAST AS t3 JOIN actor AS t1 ON t3.aid = t1.aid JOIN movie AS t2 ON t2.mid = t3.msid WHERE t1.name = \"Shahab Hosseini\";", "query_toks": [ "SELECT", "COUNT", "(", "DISTINCT", "t2.title", ")", "FROM", "CAST", "AS", "t3", "JOIN", "actor", "AS", "t1", "ON", "t3.aid", "=", "t1.aid", "JOIN", "movie", "AS", "t2", "ON", "t2.mid", "=", "t3.msid", "WHERE", "t1.name", "=", "``", "Shahab", "Hosseini", "''", ";" ], "query_toks_no_value": [ "select", "count", "(", "distinct", "t2", ".", "title", ")", "from", "cast", "as", "t3", "join", "actor", "as", "t1", "on", "t3", ".", "aid", "=", "t1", ".", "aid", "join", "movie", "as", "t2", "on", "t2", ".", "mid", "=", "t3", ".", "msid", "where", "t1", ".", "name", "=", "value" ], "question": "Qual é o número de filmes com \"Shahab Hosseini\"?", "question_toks": [ "Qual", "é", "o", "número", "de", "filmes", "com", "\"", "Shahab", "Hosseini", "\"", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ], [ "table_unit", 0 ], [ "table_unit", 11 ] ], "conds": [ [ false, 2, [ 0, [ 0, 12, false ], null ], [ 0, 1, false ], null ], "and", [ false, 2, [ 0, [ 0, 42, false ], null ], [ 0, 11, false ], null ] ] }, "select": [ false, [ [ 3, [ 0, [ 0, 43, true ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], "\"Shahab Hosseini\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "imdb", "query": "SELECT COUNT ( DISTINCT t2.title ) FROM CAST AS t3 JOIN actor AS t1 ON t3.aid = t1.aid JOIN movie AS t2 ON t2.mid = t3.msid WHERE t1.name = \"Shahab Hosseini\";", "query_toks": [ "SELECT", "COUNT", "(", "DISTINCT", "t2.title", ")", "FROM", "CAST", "AS", "t3", "JOIN", "actor", "AS", "t1", "ON", "t3.aid", "=", "t1.aid", "JOIN", "movie", "AS", "t2", "ON", "t2.mid", "=", "t3.msid", "WHERE", "t1.name", "=", "``", "Shahab", "Hosseini", "''", ";" ], "query_toks_no_value": [ "select", "count", "(", "distinct", "t2", ".", "title", ")", "from", "cast", "as", "t3", "join", "actor", "as", "t1", "on", "t3", ".", "aid", "=", "t1", ".", "aid", "join", "movie", "as", "t2", "on", "t2", ".", "mid", "=", "t3", ".", "msid", "where", "t1", ".", "name", "=", "value" ], "question": "Em quantos filmes \"Shahab Hosseini\" atuou", "question_toks": [ "Em", "quantos", "filmes", "\"", "Shahab", "Hosseini", "\"", "atuou" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ], [ "table_unit", 0 ], [ "table_unit", 11 ] ], "conds": [ [ false, 2, [ 0, [ 0, 12, false ], null ], [ 0, 1, false ], null ], "and", [ false, 2, [ 0, [ 0, 42, false ], null ], [ 0, 11, false ], null ] ] }, "select": [ false, [ [ 3, [ 0, [ 0, 43, true ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], "\"Shahab Hosseini\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "imdb", "query": "SELECT COUNT ( DISTINCT name ) FROM actor WHERE birth_city = \"Los Angeles\" AND birth_year > 2000;", "query_toks": [ "SELECT", "COUNT", "(", "DISTINCT", "name", ")", "FROM", "actor", "WHERE", "birth_city", "=", "``", "Los", "Angeles", "''", "AND", "birth_year", ">", "2000", ";" ], "query_toks_no_value": [ "select", "count", "(", "distinct", "name", ")", "from", "actor", "where", "birth_city", "=", "value", "and", "birth_year", ">", "value" ], "question": "Quantos atores nasceram em \"Los Angeles\" depois de 2000?", "question_toks": [ "Quantos", "atores", "nasceram", "em", "\"", "Los", "Angeles", "\"", "depois", "de", "2000", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 3, [ 0, [ 0, 3, true ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 5, false ], null ], "\"Los Angeles\"", null ], "and", [ false, 3, [ 0, [ 0, 6, false ], null ], 2000.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "imdb", "query": "SELECT COUNT ( DISTINCT t2.title ) FROM CAST AS t3 JOIN actor AS t1 ON t3.aid = t1.aid JOIN movie AS t2 ON t2.mid = t3.msid WHERE t1.name = \"Humphrey Bogart\" AND t2.release_year < 1942;", "query_toks": [ "SELECT", "COUNT", "(", "DISTINCT", "t2.title", ")", "FROM", "CAST", "AS", "t3", "JOIN", "actor", "AS", "t1", "ON", "t3.aid", "=", "t1.aid", "JOIN", "movie", "AS", "t2", "ON", "t2.mid", "=", "t3.msid", "WHERE", "t1.name", "=", "``", "Humphrey", "Bogart", "''", "AND", "t2.release_year", "<", "1942", ";" ], "query_toks_no_value": [ "select", "count", "(", "distinct", "t2", ".", "title", ")", "from", "cast", "as", "t3", "join", "actor", "as", "t1", "on", "t3", ".", "aid", "=", "t1", ".", "aid", "join", "movie", "as", "t2", "on", "t2", ".", "mid", "=", "t3", ".", "msid", "where", "t1", ".", "name", "=", "value", "and", "t2", ".", "release_year", "<", "value" ], "question": "Em quantos filmes \"Humphrey Bogart\" atuou antes de 1942?", "question_toks": [ "Em", "quantos", "filmes", "\"", "Humphrey", "Bogart", "\"", "atuou", "antes", "de", "1942", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ], [ "table_unit", 0 ], [ "table_unit", 11 ] ], "conds": [ [ false, 2, [ 0, [ 0, 12, false ], null ], [ 0, 1, false ], null ], "and", [ false, 2, [ 0, [ 0, 42, false ], null ], [ 0, 11, false ], null ] ] }, "select": [ false, [ [ 3, [ 0, [ 0, 43, true ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], "\"Humphrey Bogart\"", null ], "and", [ false, 4, [ 0, [ 0, 44, false ], null ], 1942.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "imdb", "query": "SELECT COUNT ( DISTINCT t2.title ) , t2.release_year FROM CAST AS t3 JOIN actor AS t1 ON t3.aid = t1.aid JOIN movie AS t2 ON t2.mid = t3.msid WHERE t1.name = \"Brad Pitt\" GROUP BY t2.release_year;", "query_toks": [ "SELECT", "COUNT", "(", "DISTINCT", "t2.title", ")", ",", "t2.release_year", "FROM", "CAST", "AS", "t3", "JOIN", "actor", "AS", "t1", "ON", "t3.aid", "=", "t1.aid", "JOIN", "movie", "AS", "t2", "ON", "t2.mid", "=", "t3.msid", "WHERE", "t1.name", "=", "``", "Brad", "Pitt", "''", "GROUP", "BY", "t2.release_year", ";" ], "query_toks_no_value": [ "select", "count", "(", "distinct", "t2", ".", "title", ")", ",", "t2", ".", "release_year", "from", "cast", "as", "t3", "join", "actor", "as", "t1", "on", "t3", ".", "aid", "=", "t1", ".", "aid", "join", "movie", "as", "t2", "on", "t2", ".", "mid", "=", "t3", ".", "msid", "where", "t1", ".", "name", "=", "value", "group", "by", "t2", ".", "release_year" ], "question": "Qual é o número de filmes em que \"Brad Pitt\" atua por ano?", "question_toks": [ "Qual", "é", "o", "número", "de", "filmes", "em", "que", "\"", "Brad", "Pitt", "\"", "atua", "por", "ano", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ], [ "table_unit", 0 ], [ "table_unit", 11 ] ], "conds": [ [ false, 2, [ 0, [ 0, 12, false ], null ], [ 0, 1, false ], null ], "and", [ false, 2, [ 0, [ 0, 42, false ], null ], [ 0, 11, false ], null ] ] }, "select": [ false, [ [ 3, [ 0, [ 0, 43, true ], null ] ], [ 0, [ 0, [ 0, 44, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], "\"Brad Pitt\"", null ] ], "groupBy": [ [ 0, 44, false ] ], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "imdb", "query": "SELECT COUNT ( DISTINCT t3.title ) FROM tags AS t2 JOIN keyword AS t1 ON t2.kid = t1.id JOIN movie AS t3 ON t2.msid = t3.mid WHERE t1.keyword = \"Iraq war\" AND t3.release_year = 2015;", "query_toks": [ "SELECT", "COUNT", "(", "DISTINCT", "t3.title", ")", "FROM", "tags", "AS", "t2", "JOIN", "keyword", "AS", "t1", "ON", "t2.kid", "=", "t1.id", "JOIN", "movie", "AS", "t3", "ON", "t2.msid", "=", "t3.mid", "WHERE", "t1.keyword", "=", "``", "Iraq", "war", "''", "AND", "t3.release_year", "=", "2015", ";" ], "query_toks_no_value": [ "select", "count", "(", "distinct", "t3", ".", "title", ")", "from", "tags", "as", "t2", "join", "keyword", "as", "t1", "on", "t2", ".", "kid", "=", "t1", ".", "id", "join", "movie", "as", "t3", "on", "t2", ".", "msid", "=", "t3", ".", "mid", "where", "t1", ".", "keyword", "=", "value", "and", "t3", ".", "release_year", "=", "value" ], "question": "Quantos filmes sobre a guerra do Iraque foram produzidos em 2015?", "question_toks": [ "Quantos", "filmes", "sobre", "a", "guerra", "do", "Iraque", "foram", "produzidos", "em", "2015", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 12 ], [ "table_unit", 9 ], [ "table_unit", 11 ] ], "conds": [ [ false, 2, [ 0, [ 0, 49, false ], null ], [ 0, 37, false ], null ], "and", [ false, 2, [ 0, [ 0, 48, false ], null ], [ 0, 42, false ], null ] ] }, "select": [ false, [ [ 3, [ 0, [ 0, 43, true ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 38, false ], null ], "\"Iraq war\"", null ], "and", [ false, 2, [ 0, [ 0, 44, false ], null ], 2015.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "imdb", "query": "SELECT COUNT ( DISTINCT t3.title ) FROM tags AS t2 JOIN keyword AS t1 ON t2.kid = t1.id JOIN movie AS t3 ON t2.msid = t3.mid WHERE t1.keyword = \"Persians\" AND t3.release_year > 1990;", "query_toks": [ "SELECT", "COUNT", "(", "DISTINCT", "t3.title", ")", "FROM", "tags", "AS", "t2", "JOIN", "keyword", "AS", "t1", "ON", "t2.kid", "=", "t1.id", "JOIN", "movie", "AS", "t3", "ON", "t2.msid", "=", "t3.mid", "WHERE", "t1.keyword", "=", "``", "Persians", "''", "AND", "t3.release_year", ">", "1990", ";" ], "query_toks_no_value": [ "select", "count", "(", "distinct", "t3", ".", "title", ")", "from", "tags", "as", "t2", "join", "keyword", "as", "t1", "on", "t2", ".", "kid", "=", "t1", ".", "id", "join", "movie", "as", "t3", "on", "t2", ".", "msid", "=", "t3", ".", "mid", "where", "t1", ".", "keyword", "=", "value", "and", "t3", ".", "release_year", ">", "value" ], "question": "Quantos filmes sobre persas foram lançados depois de 1990?", "question_toks": [ "Quantos", "filmes", "sobre", "persas", "foram", "lançados", "depois", "de", "1990", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 12 ], [ "table_unit", 9 ], [ "table_unit", 11 ] ], "conds": [ [ false, 2, [ 0, [ 0, 49, false ], null ], [ 0, 37, false ], null ], "and", [ false, 2, [ 0, [ 0, 48, false ], null ], [ 0, 42, false ], null ] ] }, "select": [ false, [ [ 3, [ 0, [ 0, 43, true ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 38, false ], null ], "\"Persians\"", null ], "and", [ false, 3, [ 0, [ 0, 44, false ], null ], 1990.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "imdb", "query": "SELECT COUNT ( DISTINCT t3.title ) FROM director AS t2 JOIN directed_by AS t1 ON t2.did = t1.did JOIN movie AS t3 ON t3.mid = t1.msid WHERE t2.name = \"Quentin Tarantino\" AND t3.release_year > 2010;", "query_toks": [ "SELECT", "COUNT", "(", "DISTINCT", "t3.title", ")", "FROM", "director", "AS", "t2", "JOIN", "directed_by", "AS", "t1", "ON", "t2.did", "=", "t1.did", "JOIN", "movie", "AS", "t3", "ON", "t3.mid", "=", "t1.msid", "WHERE", "t2.name", "=", "``", "Quentin", "Tarantino", "''", "AND", "t3.release_year", ">", "2010", ";" ], "query_toks_no_value": [ "select", "count", "(", "distinct", "t3", ".", "title", ")", "from", "director", "as", "t2", "join", "directed_by", "as", "t1", "on", "t2", ".", "did", "=", "t1", ".", "did", "join", "movie", "as", "t3", "on", "t3", ".", "mid", "=", "t1", ".", "msid", "where", "t2", ".", "name", "=", "value", "and", "t3", ".", "release_year", ">", "value" ], "question": "Quantos filmes \"Quentin Tarantino\" dirigiu depois de 2010?", "question_toks": [ "Quantos", "filmes", "\"", "Quentin", "Tarantino", "\"", "dirigiu", "depois", "de", "2010", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ], [ "table_unit", 8 ], [ "table_unit", 11 ] ], "conds": [ [ false, 2, [ 0, [ 0, 22, false ], null ], [ 0, 36, false ], null ], "and", [ false, 2, [ 0, [ 0, 42, false ], null ], [ 0, 35, false ], null ] ] }, "select": [ false, [ [ 3, [ 0, [ 0, 43, true ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 24, false ], null ], "\"Quentin Tarantino\"", null ], "and", [ false, 3, [ 0, [ 0, 44, false ], null ], 2010.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "imdb", "query": "SELECT COUNT ( DISTINCT t3.title ) FROM director AS t2 JOIN directed_by AS t1 ON t2.did = t1.did JOIN movie AS t3 ON t3.mid = t1.msid WHERE t2.name = \"Quentin Tarantino\" AND t3.release_year < 2010;", "query_toks": [ "SELECT", "COUNT", "(", "DISTINCT", "t3.title", ")", "FROM", "director", "AS", "t2", "JOIN", "directed_by", "AS", "t1", "ON", "t2.did", "=", "t1.did", "JOIN", "movie", "AS", "t3", "ON", "t3.mid", "=", "t1.msid", "WHERE", "t2.name", "=", "``", "Quentin", "Tarantino", "''", "AND", "t3.release_year", "<", "2010", ";" ], "query_toks_no_value": [ "select", "count", "(", "distinct", "t3", ".", "title", ")", "from", "director", "as", "t2", "join", "directed_by", "as", "t1", "on", "t2", ".", "did", "=", "t1", ".", "did", "join", "movie", "as", "t3", "on", "t3", ".", "mid", "=", "t1", ".", "msid", "where", "t2", ".", "name", "=", "value", "and", "t3", ".", "release_year", "<", "value" ], "question": "Quantos filmes \"Quentin Tarantino\" dirigiu antes de 2010?", "question_toks": [ "Quantos", "filmes", "\"", "Quentin", "Tarantino", "\"", "dirigiu", "antes", "de", "2010", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ], [ "table_unit", 8 ], [ "table_unit", 11 ] ], "conds": [ [ false, 2, [ 0, [ 0, 22, false ], null ], [ 0, 36, false ], null ], "and", [ false, 2, [ 0, [ 0, 42, false ], null ], [ 0, 35, false ], null ] ] }, "select": [ false, [ [ 3, [ 0, [ 0, 43, true ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 24, false ], null ], "\"Quentin Tarantino\"", null ], "and", [ false, 4, [ 0, [ 0, 44, false ], null ], 2010.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "imdb", "query": "SELECT COUNT ( DISTINCT t4.title ) FROM director AS t3 JOIN directed_by AS t2 ON t3.did = t2.did JOIN movie AS t4 ON t4.mid = t2.msid JOIN made_by AS t5 ON t4.mid = t5.msid JOIN producer AS t1 ON t1.pid = t5.pid WHERE t3.name = \"Quentin Tarantino\" AND t4.release_year < 2010 AND t4.release_year > 2002;", "query_toks": [ "SELECT", "COUNT", "(", "DISTINCT", "t4.title", ")", "FROM", "director", "AS", "t3", "JOIN", "directed_by", "AS", "t2", "ON", "t3.did", "=", "t2.did", "JOIN", "movie", "AS", "t4", "ON", "t4.mid", "=", "t2.msid", "JOIN", "made_by", "AS", "t5", "ON", "t4.mid", "=", "t5.msid", "JOIN", "producer", "AS", "t1", "ON", "t1.pid", "=", "t5.pid", "WHERE", "t3.name", "=", "``", "Quentin", "Tarantino", "''", "AND", "t4.release_year", "<", "2010", "AND", "t4.release_year", ">", "2002", ";" ], "query_toks_no_value": [ "select", "count", "(", "distinct", "t4", ".", "title", ")", "from", "director", "as", "t3", "join", "directed_by", "as", "t2", "on", "t3", ".", "did", "=", "t2", ".", "did", "join", "movie", "as", "t4", "on", "t4", ".", "mid", "=", "t2", ".", "msid", "join", "made_by", "as", "t5", "on", "t4", ".", "mid", "=", "t5", ".", "msid", "join", "producer", "as", "t1", "on", "t1", ".", "pid", "=", "t5", ".", "pid", "where", "t3", ".", "name", "=", "value", "and", "t4", ".", "release_year", "<", "value", "and", "t4", ".", "release_year", ">", "value" ], "question": "Quantos filmes \"Quentin Tarantino\" dirigiu antes de 2002 e depois de 2010?", "question_toks": [ "Quantos", "filmes", "\"", "Quentin", "Tarantino", "\"", "dirigiu", "antes", "de", "2002", "e", "depois", "de", "2010", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ], [ "table_unit", 8 ], [ "table_unit", 11 ], [ "table_unit", 10 ], [ "table_unit", 7 ] ], "conds": [ [ false, 2, [ 0, [ 0, 22, false ], null ], [ 0, 36, false ], null ], "and", [ false, 2, [ 0, [ 0, 42, false ], null ], [ 0, 35, false ], null ], "and", [ false, 2, [ 0, [ 0, 42, false ], null ], [ 0, 40, false ], null ], "and", [ false, 2, [ 0, [ 0, 28, false ], null ], [ 0, 41, false ], null ] ] }, "select": [ false, [ [ 3, [ 0, [ 0, 43, true ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 24, false ], null ], "\"Quentin Tarantino\"", null ], "and", [ false, 4, [ 0, [ 0, 44, false ], null ], 2010.0, null ], "and", [ false, 3, [ 0, [ 0, 44, false ], null ], 2002.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "imdb", "query": "SELECT COUNT ( DISTINCT name ) FROM actor WHERE birth_city = \"New York City\" AND birth_year > 1980 AND gender = \"female\";", "query_toks": [ "SELECT", "COUNT", "(", "DISTINCT", "name", ")", "FROM", "actor", "WHERE", "birth_city", "=", "``", "New", "York", "City", "''", "AND", "birth_year", ">", "1980", "AND", "gender", "=", "``", "female", "''", ";" ], "query_toks_no_value": [ "select", "count", "(", "distinct", "name", ")", "from", "actor", "where", "birth_city", "=", "value", "and", "birth_year", ">", "value", "and", "gender", "=", "value" ], "question": "Quantas atrizes nasceram em \"New York City\" depois de 1980?", "question_toks": [ "Quantas", "atrizes", "nasceram", "em", "\"", "New", "York", "City", "\"", "depois", "de", "1980", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 3, [ 0, [ 0, 3, true ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 5, false ], null ], "\"New York City\"", null ], "and", [ false, 3, [ 0, [ 0, 6, false ], null ], 1980.0, null ], "and", [ false, 2, [ 0, [ 0, 2, false ], null ], "\"female\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "imdb", "query": "SELECT COUNT ( DISTINCT t1.name ) FROM CAST AS t4 JOIN actor AS t1 ON t4.aid = t1.aid JOIN movie AS t5 ON t5.mid = t4.msid JOIN directed_by AS t2 ON t5.mid = t2.msid JOIN director AS t3 ON t3.did = t2.did WHERE t1.nationality = \"Iran\" AND t3.name = \"Jim Jarmusch\";", "query_toks": [ "SELECT", "COUNT", "(", "DISTINCT", "t1.name", ")", "FROM", "CAST", "AS", "t4", "JOIN", "actor", "AS", "t1", "ON", "t4.aid", "=", "t1.aid", "JOIN", "movie", "AS", "t5", "ON", "t5.mid", "=", "t4.msid", "JOIN", "directed_by", "AS", "t2", "ON", "t5.mid", "=", "t2.msid", "JOIN", "director", "AS", "t3", "ON", "t3.did", "=", "t2.did", "WHERE", "t1.nationality", "=", "``", "Iran", "''", "AND", "t3.name", "=", "``", "Jim", "Jarmusch", "''", ";" ], "query_toks_no_value": [ "select", "count", "(", "distinct", "t1", ".", "name", ")", "from", "cast", "as", "t4", "join", "actor", "as", "t1", "on", "t4", ".", "aid", "=", "t1", ".", "aid", "join", "movie", "as", "t5", "on", "t5", ".", "mid", "=", "t4", ".", "msid", "join", "directed_by", "as", "t2", "on", "t5", ".", "mid", "=", "t2", ".", "msid", "join", "director", "as", "t3", "on", "t3", ".", "did", "=", "t2", ".", "did", "where", "t1", ".", "nationality", "=", "value", "and", "t3", ".", "name", "=", "value" ], "question": "encontre o número de atores do Irã que atuaram nos filmes de \"Jim Jarmusch\"", "question_toks": [ "encontre", "o", "número", "de", "atores", "do", "Irã", "que", "atuaram", "nos", "filmes", "de", "\"", "Jim", "Jarmusch", "\"" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ], [ "table_unit", 0 ], [ "table_unit", 11 ], [ "table_unit", 8 ], [ "table_unit", 6 ] ], "conds": [ [ false, 2, [ 0, [ 0, 12, false ], null ], [ 0, 1, false ], null ], "and", [ false, 2, [ 0, [ 0, 42, false ], null ], [ 0, 11, false ], null ], "and", [ false, 2, [ 0, [ 0, 42, false ], null ], [ 0, 35, false ], null ], "and", [ false, 2, [ 0, [ 0, 22, false ], null ], [ 0, 36, false ], null ] ] }, "select": [ false, [ [ 3, [ 0, [ 0, 3, true ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Iran\"", null ], "and", [ false, 2, [ 0, [ 0, 24, false ], null ], "\"Jim Jarmusch\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "imdb", "query": "SELECT COUNT ( DISTINCT t1.name ) FROM CAST AS t2 JOIN actor AS t1 ON t2.aid = t1.aid JOIN movie AS t3 ON t3.mid = t2.msid WHERE t1.nationality = \"China\" AND t3.title = \"Rush Hour 3\";", "query_toks": [ "SELECT", "COUNT", "(", "DISTINCT", "t1.name", ")", "FROM", "CAST", "AS", "t2", "JOIN", "actor", "AS", "t1", "ON", "t2.aid", "=", "t1.aid", "JOIN", "movie", "AS", "t3", "ON", "t3.mid", "=", "t2.msid", "WHERE", "t1.nationality", "=", "``", "China", "''", "AND", "t3.title", "=", "``", "Rush", "Hour", "3", "''", ";" ], "query_toks_no_value": [ "select", "count", "(", "distinct", "t1", ".", "name", ")", "from", "cast", "as", "t2", "join", "actor", "as", "t1", "on", "t2", ".", "aid", "=", "t1", ".", "aid", "join", "movie", "as", "t3", "on", "t3", ".", "mid", "=", "t2", ".", "msid", "where", "t1", ".", "nationality", "=", "value", "and", "t3", ".", "title", "=", "value" ], "question": "Quantos atores da China atuaram na \"Hora do Rush 3\"", "question_toks": [ "Quantos", "atores", "da", "China", "atuaram", "na", "\"", "Hora", "do", "Rush", "3", "\"" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ], [ "table_unit", 0 ], [ "table_unit", 11 ] ], "conds": [ [ false, 2, [ 0, [ 0, 12, false ], null ], [ 0, 1, false ], null ], "and", [ false, 2, [ 0, [ 0, 42, false ], null ], [ 0, 11, false ], null ] ] }, "select": [ false, [ [ 3, [ 0, [ 0, 3, true ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"China\"", null ], "and", [ false, 2, [ 0, [ 0, 43, false ], null ], "\"Rush Hour 3\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "imdb", "query": "SELECT t4.title FROM CAST AS t5 JOIN actor AS t1 ON t5.aid = t1.aid JOIN movie AS t4 ON t4.mid = t5.msid JOIN CAST AS t3 ON t4.mid = t3.msid JOIN actor AS t2 ON t3.aid = t2.aid WHERE t1.name = \"Woody Strode\" AND t2.name = \"Jason Robards\";", "query_toks": [ "SELECT", "t4.title", "FROM", "CAST", "AS", "t5", "JOIN", "actor", "AS", "t1", "ON", "t5.aid", "=", "t1.aid", "JOIN", "movie", "AS", "t4", "ON", "t4.mid", "=", "t5.msid", "JOIN", "CAST", "AS", "t3", "ON", "t4.mid", "=", "t3.msid", "JOIN", "actor", "AS", "t2", "ON", "t3.aid", "=", "t2.aid", "WHERE", "t1.name", "=", "``", "Woody", "Strode", "''", "AND", "t2.name", "=", "``", "Jason", "Robards", "''", ";" ], "query_toks_no_value": [ "select", "t4", ".", "title", "from", "cast", "as", "t5", "join", "actor", "as", "t1", "on", "t5", ".", "aid", "=", "t1", ".", "aid", "join", "movie", "as", "t4", "on", "t4", ".", "mid", "=", "t5", ".", "msid", "join", "cast", "as", "t3", "on", "t4", ".", "mid", "=", "t3", ".", "msid", "join", "actor", "as", "t2", "on", "t3", ".", "aid", "=", "t2", ".", "aid", "where", "t1", ".", "name", "=", "value", "and", "t2", ".", "name", "=", "value" ], "question": "Encontre todos os filmes estrelados por \"Woody Strode\" e \"Jason Robards\"", "question_toks": [ "Encontre", "todos", "os", "filmes", "estrelados", "por", "\"", "Woody", "Strode", "\"", "e", "\"", "Jason", "Robards", "\"" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ], [ "table_unit", 0 ], [ "table_unit", 11 ], [ "table_unit", 2 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 12, false ], null ], [ 0, 1, false ], null ], "and", [ false, 2, [ 0, [ 0, 42, false ], null ], [ 0, 11, false ], null ], "and", [ false, 2, [ 0, [ 0, 42, false ], null ], [ 0, 11, false ], null ], "and", [ false, 2, [ 0, [ 0, 12, false ], null ], [ 0, 1, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 43, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], "\"Woody Strode\"", null ], "and", [ false, 2, [ 0, [ 0, 3, false ], null ], "\"Jason Robards\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "imdb", "query": "SELECT t4.title FROM CAST AS t5 JOIN actor AS t1 ON t5.aid = t1.aid JOIN movie AS t4 ON t4.mid = t5.msid JOIN CAST AS t3 ON t4.mid = t3.msid JOIN actor AS t2 ON t3.aid = t2.aid WHERE t1.name = \"Woody Strode\" AND t2.name = \"Jason Robards\";", "query_toks": [ "SELECT", "t4.title", "FROM", "CAST", "AS", "t5", "JOIN", "actor", "AS", "t1", "ON", "t5.aid", "=", "t1.aid", "JOIN", "movie", "AS", "t4", "ON", "t4.mid", "=", "t5.msid", "JOIN", "CAST", "AS", "t3", "ON", "t4.mid", "=", "t3.msid", "JOIN", "actor", "AS", "t2", "ON", "t3.aid", "=", "t2.aid", "WHERE", "t1.name", "=", "``", "Woody", "Strode", "''", "AND", "t2.name", "=", "``", "Jason", "Robards", "''", ";" ], "query_toks_no_value": [ "select", "t4", ".", "title", "from", "cast", "as", "t5", "join", "actor", "as", "t1", "on", "t5", ".", "aid", "=", "t1", ".", "aid", "join", "movie", "as", "t4", "on", "t4", ".", "mid", "=", "t5", ".", "msid", "join", "cast", "as", "t3", "on", "t4", ".", "mid", "=", "t3", ".", "msid", "join", "actor", "as", "t2", "on", "t3", ".", "aid", "=", "t2", ".", "aid", "where", "t1", ".", "name", "=", "value", "and", "t2", ".", "name", "=", "value" ], "question": "Encontre todos os filmes com \"Woody Strode\" e \"Jason Robards\"", "question_toks": [ "Encontre", "todos", "os", "filmes", "com", "\"", "Woody", "Strode", "\"", "e", "\"", "Jason", "Robards", "\"" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ], [ "table_unit", 0 ], [ "table_unit", 11 ], [ "table_unit", 2 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 12, false ], null ], [ 0, 1, false ], null ], "and", [ false, 2, [ 0, [ 0, 42, false ], null ], [ 0, 11, false ], null ], "and", [ false, 2, [ 0, [ 0, 42, false ], null ], [ 0, 11, false ], null ], "and", [ false, 2, [ 0, [ 0, 12, false ], null ], [ 0, 1, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 43, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], "\"Woody Strode\"", null ], "and", [ false, 2, [ 0, [ 0, 3, false ], null ], "\"Jason Robards\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "imdb", "query": "SELECT t4.title FROM CAST AS t5 JOIN actor AS t1 ON t5.aid = t1.aid JOIN movie AS t4 ON t4.mid = t5.msid JOIN CAST AS t3 ON t4.mid = t3.msid JOIN actor AS t2 ON t3.aid = t2.aid WHERE t1.name = \"Woody Strode\" AND t2.name = \"Jason Robards\";", "query_toks": [ "SELECT", "t4.title", "FROM", "CAST", "AS", "t5", "JOIN", "actor", "AS", "t1", "ON", "t5.aid", "=", "t1.aid", "JOIN", "movie", "AS", "t4", "ON", "t4.mid", "=", "t5.msid", "JOIN", "CAST", "AS", "t3", "ON", "t4.mid", "=", "t3.msid", "JOIN", "actor", "AS", "t2", "ON", "t3.aid", "=", "t2.aid", "WHERE", "t1.name", "=", "``", "Woody", "Strode", "''", "AND", "t2.name", "=", "``", "Jason", "Robards", "''", ";" ], "query_toks_no_value": [ "select", "t4", ".", "title", "from", "cast", "as", "t5", "join", "actor", "as", "t1", "on", "t5", ".", "aid", "=", "t1", ".", "aid", "join", "movie", "as", "t4", "on", "t4", ".", "mid", "=", "t5", ".", "msid", "join", "cast", "as", "t3", "on", "t4", ".", "mid", "=", "t3", ".", "msid", "join", "actor", "as", "t2", "on", "t3", ".", "aid", "=", "t2", ".", "aid", "where", "t1", ".", "name", "=", "value", "and", "t2", ".", "name", "=", "value" ], "question": "Encontre todos os filmes com \"Woody Strode\" e \"Jason Robards\"", "question_toks": [ "Encontre", "todos", "os", "filmes", "com", "\"", "Woody", "Strode", "\"", "e", "\"", "Jason", "Robards", "\"" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ], [ "table_unit", 0 ], [ "table_unit", 11 ], [ "table_unit", 2 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 12, false ], null ], [ 0, 1, false ], null ], "and", [ false, 2, [ 0, [ 0, 42, false ], null ], [ 0, 11, false ], null ], "and", [ false, 2, [ 0, [ 0, 42, false ], null ], [ 0, 11, false ], null ], "and", [ false, 2, [ 0, [ 0, 12, false ], null ], [ 0, 1, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 43, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], "\"Woody Strode\"", null ], "and", [ false, 2, [ 0, [ 0, 3, false ], null ], "\"Jason Robards\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "imdb", "query": "SELECT t4.title FROM CAST AS t5 JOIN actor AS t1 ON t5.aid = t1.aid JOIN movie AS t4 ON t4.mid = t5.msid JOIN CAST AS t3 ON t4.mid = t3.msid JOIN actor AS t2 ON t3.aid = t2.aid WHERE t1.name = \"Woody Strode\" AND t2.name = \"Jason Robards\";", "query_toks": [ "SELECT", "t4.title", "FROM", "CAST", "AS", "t5", "JOIN", "actor", "AS", "t1", "ON", "t5.aid", "=", "t1.aid", "JOIN", "movie", "AS", "t4", "ON", "t4.mid", "=", "t5.msid", "JOIN", "CAST", "AS", "t3", "ON", "t4.mid", "=", "t3.msid", "JOIN", "actor", "AS", "t2", "ON", "t3.aid", "=", "t2.aid", "WHERE", "t1.name", "=", "``", "Woody", "Strode", "''", "AND", "t2.name", "=", "``", "Jason", "Robards", "''", ";" ], "query_toks_no_value": [ "select", "t4", ".", "title", "from", "cast", "as", "t5", "join", "actor", "as", "t1", "on", "t5", ".", "aid", "=", "t1", ".", "aid", "join", "movie", "as", "t4", "on", "t4", ".", "mid", "=", "t5", ".", "msid", "join", "cast", "as", "t3", "on", "t4", ".", "mid", "=", "t3", ".", "msid", "join", "actor", "as", "t2", "on", "t3", ".", "aid", "=", "t2", ".", "aid", "where", "t1", ".", "name", "=", "value", "and", "t2", ".", "name", "=", "value" ], "question": "Encontre todos os filmes com \"Jason Robards\" e \"Woody Strode\"", "question_toks": [ "Encontre", "todos", "os", "filmes", "com", "\"", "Jason", "Robards", "\"", "e", "\"", "Woody", "Strode", "\"" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ], [ "table_unit", 0 ], [ "table_unit", 11 ], [ "table_unit", 2 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 12, false ], null ], [ 0, 1, false ], null ], "and", [ false, 2, [ 0, [ 0, 42, false ], null ], [ 0, 11, false ], null ], "and", [ false, 2, [ 0, [ 0, 42, false ], null ], [ 0, 11, false ], null ], "and", [ false, 2, [ 0, [ 0, 12, false ], null ], [ 0, 1, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 43, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], "\"Woody Strode\"", null ], "and", [ false, 2, [ 0, [ 0, 3, false ], null ], "\"Jason Robards\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "imdb", "query": "SELECT t1.name FROM CAST AS t4 JOIN actor AS t1 ON t4.aid = t1.aid JOIN movie AS t5 ON t5.mid = t4.msid JOIN CAST AS t3 ON t5.mid = t3.msid JOIN actor AS t2 ON t3.aid = t2.aid WHERE t2.name = \"Tom Hanks\";", "query_toks": [ "SELECT", "t1.name", "FROM", "CAST", "AS", "t4", "JOIN", "actor", "AS", "t1", "ON", "t4.aid", "=", "t1.aid", "JOIN", "movie", "AS", "t5", "ON", "t5.mid", "=", "t4.msid", "JOIN", "CAST", "AS", "t3", "ON", "t5.mid", "=", "t3.msid", "JOIN", "actor", "AS", "t2", "ON", "t3.aid", "=", "t2.aid", "WHERE", "t2.name", "=", "``", "Tom", "Hanks", "''", ";" ], "query_toks_no_value": [ "select", "t1", ".", "name", "from", "cast", "as", "t4", "join", "actor", "as", "t1", "on", "t4", ".", "aid", "=", "t1", ".", "aid", "join", "movie", "as", "t5", "on", "t5", ".", "mid", "=", "t4", ".", "msid", "join", "cast", "as", "t3", "on", "t5", ".", "mid", "=", "t3", ".", "msid", "join", "actor", "as", "t2", "on", "t3", ".", "aid", "=", "t2", ".", "aid", "where", "t2", ".", "name", "=", "value" ], "question": "Encontre todos os atores que atuaram no mesmo filme de \"Tom Hanks\"", "question_toks": [ "Encontre", "todos", "os", "atores", "que", "atuaram", "no", "mesmo", "filme", "de", "\"", "Tom", "Hanks", "\"" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ], [ "table_unit", 0 ], [ "table_unit", 11 ], [ "table_unit", 2 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 12, false ], null ], [ 0, 1, false ], null ], "and", [ false, 2, [ 0, [ 0, 42, false ], null ], [ 0, 11, false ], null ], "and", [ false, 2, [ 0, [ 0, 42, false ], null ], [ 0, 11, false ], null ], "and", [ false, 2, [ 0, [ 0, 12, false ], null ], [ 0, 1, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], "\"Tom Hanks\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "imdb", "query": "SELECT t3.title FROM director AS t5 JOIN directed_by AS t2 ON t5.did = t2.did JOIN directed_by AS t1 ON t5.did = t1.did JOIN movie AS t4 ON t4.mid = t2.msid JOIN movie AS t3 ON t3.mid = t1.msid WHERE t4.title = \"Revolutionary Road\";", "query_toks": [ "SELECT", "t3.title", "FROM", "director", "AS", "t5", "JOIN", "directed_by", "AS", "t2", "ON", "t5.did", "=", "t2.did", "JOIN", "directed_by", "AS", "t1", "ON", "t5.did", "=", "t1.did", "JOIN", "movie", "AS", "t4", "ON", "t4.mid", "=", "t2.msid", "JOIN", "movie", "AS", "t3", "ON", "t3.mid", "=", "t1.msid", "WHERE", "t4.title", "=", "``", "Revolutionary", "Road", "''", ";" ], "query_toks_no_value": [ "select", "t3", ".", "title", "from", "director", "as", "t5", "join", "directed_by", "as", "t2", "on", "t5", ".", "did", "=", "t2", ".", "did", "join", "directed_by", "as", "t1", "on", "t5", ".", "did", "=", "t1", ".", "did", "join", "movie", "as", "t4", "on", "t4", ".", "mid", "=", "t2", ".", "msid", "join", "movie", "as", "t3", "on", "t3", ".", "mid", "=", "t1", ".", "msid", "where", "t4", ".", "title", "=", "value" ], "question": "Quais filmes têm o mesmo diretor do filme \"Revolutionary Road\"?", "question_toks": [ "Quais", "filmes", "têm", "o", "mesmo", "diretor", "do", "filme", "\"", "Revolutionary", "Road", "\"", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ], [ "table_unit", 8 ], [ "table_unit", 8 ], [ "table_unit", 11 ], [ "table_unit", 11 ] ], "conds": [ [ false, 2, [ 0, [ 0, 22, false ], null ], [ 0, 36, false ], null ], "and", [ false, 2, [ 0, [ 0, 22, false ], null ], [ 0, 36, false ], null ], "and", [ false, 2, [ 0, [ 0, 42, false ], null ], [ 0, 35, false ], null ], "and", [ false, 2, [ 0, [ 0, 42, false ], null ], [ 0, 35, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 43, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 43, false ], null ], "\"Revolutionary Road\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "imdb", "query": "SELECT t3.title FROM genre AS t2 JOIN classification AS t1 ON t2.gid = t1.gid JOIN movie AS t3 ON t3.mid = t1.msid GROUP BY t3.title ORDER BY COUNT ( DISTINCT t2.genre ) DESC LIMIT 1;", "query_toks": [ "SELECT", "t3.title", "FROM", "genre", "AS", "t2", "JOIN", "classification", "AS", "t1", "ON", "t2.gid", "=", "t1.gid", "JOIN", "movie", "AS", "t3", "ON", "t3.mid", "=", "t1.msid", "GROUP", "BY", "t3.title", "ORDER", "BY", "COUNT", "(", "DISTINCT", "t2.genre", ")", "DESC", "LIMIT", "1", ";" ], "query_toks_no_value": [ "select", "t3", ".", "title", "from", "genre", "as", "t2", "join", "classification", "as", "t1", "on", "t2", ".", "gid", "=", "t1", ".", "gid", "join", "movie", "as", "t3", "on", "t3", ".", "mid", "=", "t1", ".", "msid", "group", "by", "t3", ".", "title", "order", "by", "count", "(", "distinct", "t2", ".", "genre", ")", "desc", "limit", "value" ], "question": "Encontre o filme que é classificado no maior número de gêneros", "question_toks": [ "Encontre", "o", "filme", "que", "é", "classificado", "no", "maior", "número", "de", "gêneros" ], "sql": { "from": { "table_units": [ [ "table_unit", 3 ], [ "table_unit", 4 ], [ "table_unit", 11 ] ], "conds": [ [ false, 2, [ 0, [ 0, 14, false ], null ], [ 0, 18, false ], null ], "and", [ false, 2, [ 0, [ 0, 42, false ], null ], [ 0, 17, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 43, false ], null ] ] ] ], "where": [], "groupBy": [ [ 0, 43, false ] ], "having": [], "orderBy": [ "desc", [ [ 0, [ 3, 15, true ], null ] ] ], "limit": 1, "intersect": null, "union": null, "except": null } }, { "db_id": "imdb", "query": "SELECT t2.title FROM CAST AS t3 JOIN actor AS t1 ON t3.aid = t1.aid JOIN movie AS t2 ON t2.mid = t3.msid WHERE t1.nationality = \"China\" GROUP BY t2.title ORDER BY COUNT ( DISTINCT t1.name ) DESC LIMIT 1;", "query_toks": [ "SELECT", "t2.title", "FROM", "CAST", "AS", "t3", "JOIN", "actor", "AS", "t1", "ON", "t3.aid", "=", "t1.aid", "JOIN", "movie", "AS", "t2", "ON", "t2.mid", "=", "t3.msid", "WHERE", "t1.nationality", "=", "``", "China", "''", "GROUP", "BY", "t2.title", "ORDER", "BY", "COUNT", "(", "DISTINCT", "t1.name", ")", "DESC", "LIMIT", "1", ";" ], "query_toks_no_value": [ "select", "t2", ".", "title", "from", "cast", "as", "t3", "join", "actor", "as", "t1", "on", "t3", ".", "aid", "=", "t1", ".", "aid", "join", "movie", "as", "t2", "on", "t2", ".", "mid", "=", "t3", ".", "msid", "where", "t1", ".", "nationality", "=", "value", "group", "by", "t2", ".", "title", "order", "by", "count", "(", "distinct", "t1", ".", "name", ")", "desc", "limit", "value" ], "question": "qual filme tem o maior número de atores da China?", "question_toks": [ "qual", "filme", "tem", "o", "maior", "número", "de", "atores", "da", "China", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ], [ "table_unit", 0 ], [ "table_unit", 11 ] ], "conds": [ [ false, 2, [ 0, [ 0, 12, false ], null ], [ 0, 1, false ], null ], "and", [ false, 2, [ 0, [ 0, 42, false ], null ], [ 0, 11, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 43, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"China\"", null ] ], "groupBy": [ [ 0, 43, false ] ], "having": [], "orderBy": [ "desc", [ [ 0, [ 3, 3, true ], null ] ] ], "limit": 1, "intersect": null, "union": null, "except": null } }, { "db_id": "imdb", "query": "SELECT t1.name FROM CAST AS t4 JOIN actor AS t1 ON t4.aid = t1.aid JOIN movie AS t5 ON t5.mid = t4.msid JOIN directed_by AS t2 ON t5.mid = t2.msid JOIN director AS t3 ON t3.did = t2.did WHERE t3.name = \"Quentin Tarantino\" ORDER BY t5.release_year DESC LIMIT 1;", "query_toks": [ "SELECT", "t1.name", "FROM", "CAST", "AS", "t4", "JOIN", "actor", "AS", "t1", "ON", "t4.aid", "=", "t1.aid", "JOIN", "movie", "AS", "t5", "ON", "t5.mid", "=", "t4.msid", "JOIN", "directed_by", "AS", "t2", "ON", "t5.mid", "=", "t2.msid", "JOIN", "director", "AS", "t3", "ON", "t3.did", "=", "t2.did", "WHERE", "t3.name", "=", "``", "Quentin", "Tarantino", "''", "ORDER", "BY", "t5.release_year", "DESC", "LIMIT", "1", ";" ], "query_toks_no_value": [ "select", "t1", ".", "name", "from", "cast", "as", "t4", "join", "actor", "as", "t1", "on", "t4", ".", "aid", "=", "t1", ".", "aid", "join", "movie", "as", "t5", "on", "t5", ".", "mid", "=", "t4", ".", "msid", "join", "directed_by", "as", "t2", "on", "t5", ".", "mid", "=", "t2", ".", "msid", "join", "director", "as", "t3", "on", "t3", ".", "did", "=", "t2", ".", "did", "where", "t3", ".", "name", "=", "value", "order", "by", "t5", ".", "release_year", "desc", "limit", "value" ], "question": "Encontre os atores que atuaram no último filme de \"Quentin Tarantino\"", "question_toks": [ "Encontre", "os", "atores", "que", "atuaram", "no", "último", "filme", "de", "\"", "Quentin", "Tarantino", "\"" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ], [ "table_unit", 0 ], [ "table_unit", 11 ], [ "table_unit", 8 ], [ "table_unit", 6 ] ], "conds": [ [ false, 2, [ 0, [ 0, 12, false ], null ], [ 0, 1, false ], null ], "and", [ false, 2, [ 0, [ 0, 42, false ], null ], [ 0, 11, false ], null ], "and", [ false, 2, [ 0, [ 0, 42, false ], null ], [ 0, 35, false ], null ], "and", [ false, 2, [ 0, [ 0, 22, false ], null ], [ 0, 36, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 24, false ], null ], "\"Quentin Tarantino\"", null ] ], "groupBy": [], "having": [], "orderBy": [ "desc", [ [ 0, [ 0, 44, false ], null ] ] ], "limit": 1, "intersect": null, "union": null, "except": null } }, { "db_id": "imdb", "query": "SELECT t3.budget , t3.title FROM director AS t2 JOIN directed_by AS t1 ON t2.did = t1.did JOIN movie AS t3 ON t3.mid = t1.msid WHERE t2.name = \"Quentin Tarantino\" ORDER BY t3.release_year DESC LIMIT 1;", "query_toks": [ "SELECT", "t3.budget", ",", "t3.title", "FROM", "director", "AS", "t2", "JOIN", "directed_by", "AS", "t1", "ON", "t2.did", "=", "t1.did", "JOIN", "movie", "AS", "t3", "ON", "t3.mid", "=", "t1.msid", "WHERE", "t2.name", "=", "``", "Quentin", "Tarantino", "''", "ORDER", "BY", "t3.release_year", "DESC", "LIMIT", "1", ";" ], "query_toks_no_value": [ "select", "t3", ".", "budget", ",", "t3", ".", "title", "from", "director", "as", "t2", "join", "directed_by", "as", "t1", "on", "t2", ".", "did", "=", "t1", ".", "did", "join", "movie", "as", "t3", "on", "t3", ".", "mid", "=", "t1", ".", "msid", "where", "t2", ".", "name", "=", "value", "order", "by", "t3", ".", "release_year", "desc", "limit", "value" ], "question": "Encontre o nome e o orçamento do último filme de \"Quentin Tarantino\"", "question_toks": [ "Encontre", "o", "nome", "e", "o", "orçamento", "do", "último", "filme", "de", "\"", "Quentin", "Tarantino", "\"" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ], [ "table_unit", 8 ], [ "table_unit", 11 ] ], "conds": [ [ false, 2, [ 0, [ 0, 22, false ], null ], [ 0, 36, false ], null ], "and", [ false, 2, [ 0, [ 0, 42, false ], null ], [ 0, 35, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 46, false ], null ] ], [ 0, [ 0, [ 0, 43, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 24, false ], null ], "\"Quentin Tarantino\"", null ] ], "groupBy": [], "having": [], "orderBy": [ "desc", [ [ 0, [ 0, 44, false ], null ] ] ], "limit": 1, "intersect": null, "union": null, "except": null } }, { "db_id": "imdb", "query": "SELECT t3.title FROM director AS t2 JOIN directed_by AS t1 ON t2.did = t1.did JOIN movie AS t3 ON t3.mid = t1.msid WHERE t2.name = \"Jim Jarmusch\" ORDER BY t3.release_year DESC LIMIT 1;", "query_toks": [ "SELECT", "t3.title", "FROM", "director", "AS", "t2", "JOIN", "directed_by", "AS", "t1", "ON", "t2.did", "=", "t1.did", "JOIN", "movie", "AS", "t3", "ON", "t3.mid", "=", "t1.msid", "WHERE", "t2.name", "=", "``", "Jim", "Jarmusch", "''", "ORDER", "BY", "t3.release_year", "DESC", "LIMIT", "1", ";" ], "query_toks_no_value": [ "select", "t3", ".", "title", "from", "director", "as", "t2", "join", "directed_by", "as", "t1", "on", "t2", ".", "did", "=", "t1", ".", "did", "join", "movie", "as", "t3", "on", "t3", ".", "mid", "=", "t1", ".", "msid", "where", "t2", ".", "name", "=", "value", "order", "by", "t3", ".", "release_year", "desc", "limit", "value" ], "question": "Qual é o último filme de \"Jim Jarmusch\"", "question_toks": [ "Qual", "é", "o", "último", "filme", "de", "\"", "Jim", "Jarmusch", "\"" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ], [ "table_unit", 8 ], [ "table_unit", 11 ] ], "conds": [ [ false, 2, [ 0, [ 0, 22, false ], null ], [ 0, 36, false ], null ], "and", [ false, 2, [ 0, [ 0, 42, false ], null ], [ 0, 35, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 43, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 24, false ], null ], "\"Jim Jarmusch\"", null ] ], "groupBy": [], "having": [], "orderBy": [ "desc", [ [ 0, [ 0, 44, false ], null ] ] ], "limit": 1, "intersect": null, "union": null, "except": null } }, { "db_id": "imdb", "query": "SELECT t1.name FROM director AS t3 JOIN directed_by AS t2 ON t3.did = t2.did JOIN movie AS t4 ON t4.mid = t2.msid JOIN made_by AS t5 ON t4.mid = t5.msid JOIN producer AS t1 ON t1.pid = t5.pid GROUP BY t1.name ORDER BY COUNT ( DISTINCT t3.name ) DESC LIMIT 1;", "query_toks": [ "SELECT", "t1.name", "FROM", "director", "AS", "t3", "JOIN", "directed_by", "AS", "t2", "ON", "t3.did", "=", "t2.did", "JOIN", "movie", "AS", "t4", "ON", "t4.mid", "=", "t2.msid", "JOIN", "made_by", "AS", "t5", "ON", "t4.mid", "=", "t5.msid", "JOIN", "producer", "AS", "t1", "ON", "t1.pid", "=", "t5.pid", "GROUP", "BY", "t1.name", "ORDER", "BY", "COUNT", "(", "DISTINCT", "t3.name", ")", "DESC", "LIMIT", "1", ";" ], "query_toks_no_value": [ "select", "t1", ".", "name", "from", "director", "as", "t3", "join", "directed_by", "as", "t2", "on", "t3", ".", "did", "=", "t2", ".", "did", "join", "movie", "as", "t4", "on", "t4", ".", "mid", "=", "t2", ".", "msid", "join", "made_by", "as", "t5", "on", "t4", ".", "mid", "=", "t5", ".", "msid", "join", "producer", "as", "t1", "on", "t1", ".", "pid", "=", "t5", ".", "pid", "group", "by", "t1", ".", "name", "order", "by", "count", "(", "distinct", "t3", ".", "name", ")", "desc", "limit", "value" ], "question": "Qual produtor trabalhou com o maior número de diretores?", "question_toks": [ "Qual", "produtor", "trabalhou", "com", "o", "maior", "número", "de", "diretores", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ], [ "table_unit", 8 ], [ "table_unit", 11 ], [ "table_unit", 10 ], [ "table_unit", 7 ] ], "conds": [ [ false, 2, [ 0, [ 0, 22, false ], null ], [ 0, 36, false ], null ], "and", [ false, 2, [ 0, [ 0, 42, false ], null ], [ 0, 35, false ], null ], "and", [ false, 2, [ 0, [ 0, 42, false ], null ], [ 0, 40, false ], null ], "and", [ false, 2, [ 0, [ 0, 28, false ], null ], [ 0, 41, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 30, false ], null ] ] ] ], "where": [], "groupBy": [ [ 0, 30, false ] ], "having": [], "orderBy": [ "desc", [ [ 0, [ 3, 24, true ], null ] ] ], "limit": 1, "intersect": null, "union": null, "except": null } }, { "db_id": "imdb", "query": "SELECT t1.name FROM CAST AS t2 JOIN actor AS t1 ON t2.aid = t1.aid JOIN movie AS t3 ON t3.mid = t2.msid WHERE t1.name = \"Gabriele Ferzetti\" ORDER BY t3.release_year DESC LIMIT 1;", "query_toks": [ "SELECT", "t1.name", "FROM", "CAST", "AS", "t2", "JOIN", "actor", "AS", "t1", "ON", "t2.aid", "=", "t1.aid", "JOIN", "movie", "AS", "t3", "ON", "t3.mid", "=", "t2.msid", "WHERE", "t1.name", "=", "``", "Gabriele", "Ferzetti", "''", "ORDER", "BY", "t3.release_year", "DESC", "LIMIT", "1", ";" ], "query_toks_no_value": [ "select", "t1", ".", "name", "from", "cast", "as", "t2", "join", "actor", "as", "t1", "on", "t2", ".", "aid", "=", "t1", ".", "aid", "join", "movie", "as", "t3", "on", "t3", ".", "mid", "=", "t2", ".", "msid", "where", "t1", ".", "name", "=", "value", "order", "by", "t3", ".", "release_year", "desc", "limit", "value" ], "question": "Encontre o filme mais recente em que \"Gabriele Ferzetti\" atuou", "question_toks": [ "Encontre", "o", "filme", "mais", "recente", "em", "que", "\"", "Gabriele", "Ferzetti", "\"", "atuou" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ], [ "table_unit", 0 ], [ "table_unit", 11 ] ], "conds": [ [ false, 2, [ 0, [ 0, 12, false ], null ], [ 0, 1, false ], null ], "and", [ false, 2, [ 0, [ 0, 42, false ], null ], [ 0, 11, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], "\"Gabriele Ferzetti\"", null ] ], "groupBy": [], "having": [], "orderBy": [ "desc", [ [ 0, [ 0, 44, false ], null ] ] ], "limit": 1, "intersect": null, "union": null, "except": null } }, { "db_id": "restaurants", "query": "SELECT COUNT ( * ) FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = \"san francisco\" AND t1.name = \"buttercup kitchen\";", "query_toks": [ "SELECT", "COUNT", "(", "*", ")", "FROM", "restaurant", "AS", "t1", "JOIN", "LOCATION", "AS", "t2", "ON", "t1.id", "=", "t2.restaurant_id", "WHERE", "t2.city_name", "=", "``", "san", "francisco", "''", "AND", "t1.name", "=", "``", "buttercup", "kitchen", "''", ";" ], "query_toks_no_value": [ "select", "count", "(", "*", ")", "from", "restaurant", "as", "t1", "join", "location", "as", "t2", "on", "t1", ".", "id", "=", "t2", ".", "restaurant_id", "where", "t2", ".", "city_name", "=", "value", "and", "t1", ".", "name", "=", "value" ], "question": "quantas cozinhas buttercup tem em san francisco?", "question_toks": [ "quantas", "cozinhas", "buttercup", "tem", "em", "san", "francisco", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 9, false ], null ] ] }, "select": [ false, [ [ 3, [ 0, [ 0, 0, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 12, false ], null ], "\"san francisco\"", null ], "and", [ false, 2, [ 0, [ 0, 5, false ], null ], "\"buttercup kitchen\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "restaurants", "query": "SELECT COUNT ( * ) FROM restaurant AS t1 JOIN geographic AS t2 ON t1.city_name = t2.city_name WHERE t2.region = \"bay area\" AND t1.food_type = \"chinese\";", "query_toks": [ "SELECT", "COUNT", "(", "*", ")", "FROM", "restaurant", "AS", "t1", "JOIN", "geographic", "AS", "t2", "ON", "t1.city_name", "=", "t2.city_name", "WHERE", "t2.region", "=", "``", "bay", "area", "''", "AND", "t1.food_type", "=", "``", "chinese", "''", ";" ], "query_toks_no_value": [ "select", "count", "(", "*", ")", "from", "restaurant", "as", "t1", "join", "geographic", "as", "t2", "on", "t1", ".", "city_name", "=", "t2", ".", "city_name", "where", "t2", ".", "region", "=", "value", "and", "t1", ".", "food_type", "=", "value" ], "question": "quantos restaurantes chineses existem na área da baía?", "question_toks": [ "quantos", "restaurantes", "chineses", "existem", "na", "área", "da", "baía", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 7, false ], null ], [ 0, 1, false ], null ] ] }, "select": [ false, [ [ 3, [ 0, [ 0, 0, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], "\"bay area\"", null ], "and", [ false, 2, [ 0, [ 0, 6, false ], null ], "\"chinese\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "restaurants", "query": "SELECT COUNT ( * ) FROM restaurant AS t1 JOIN geographic AS t2 ON t1.city_name = t2.city_name WHERE t2.region = \"bay area\" AND t1.food_type = \"chinese\";", "query_toks": [ "SELECT", "COUNT", "(", "*", ")", "FROM", "restaurant", "AS", "t1", "JOIN", "geographic", "AS", "t2", "ON", "t1.city_name", "=", "t2.city_name", "WHERE", "t2.region", "=", "``", "bay", "area", "''", "AND", "t1.food_type", "=", "``", "chinese", "''", ";" ], "query_toks_no_value": [ "select", "count", "(", "*", ")", "from", "restaurant", "as", "t1", "join", "geographic", "as", "t2", "on", "t1", ".", "city_name", "=", "t2", ".", "city_name", "where", "t2", ".", "region", "=", "value", "and", "t1", ".", "food_type", "=", "value" ], "question": "quantos lugares para comida chinesa existem na área da baía?", "question_toks": [ "quantos", "lugares", "para", "comida", "chinesa", "existem", "na", "área", "da", "baía", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 7, false ], null ], [ 0, 1, false ], null ] ] }, "select": [ false, [ [ 3, [ 0, [ 0, 0, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], "\"bay area\"", null ], "and", [ false, 2, [ 0, [ 0, 6, false ], null ], "\"chinese\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "restaurants", "query": "SELECT COUNT ( * ) FROM restaurant AS t1 JOIN geographic AS t2 ON t1.city_name = t2.city_name WHERE t2.region = \"bay area\" AND t1.food_type = \"chinese\";", "query_toks": [ "SELECT", "COUNT", "(", "*", ")", "FROM", "restaurant", "AS", "t1", "JOIN", "geographic", "AS", "t2", "ON", "t1.city_name", "=", "t2.city_name", "WHERE", "t2.region", "=", "``", "bay", "area", "''", "AND", "t1.food_type", "=", "``", "chinese", "''", ";" ], "query_toks_no_value": [ "select", "count", "(", "*", ")", "from", "restaurant", "as", "t1", "join", "geographic", "as", "t2", "on", "t1", ".", "city_name", "=", "t2", ".", "city_name", "where", "t2", ".", "region", "=", "value", "and", "t1", ".", "food_type", "=", "value" ], "question": "quantos lugares chineses existem na área da baía?", "question_toks": [ "quantos", "lugares", "chineses", "existem", "na", "área", "da", "baía", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 7, false ], null ], [ 0, 1, false ], null ] ] }, "select": [ false, [ [ 3, [ 0, [ 0, 0, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], "\"bay area\"", null ], "and", [ false, 2, [ 0, [ 0, 6, false ], null ], "\"chinese\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "restaurants", "query": "SELECT COUNT ( * ) FROM restaurant AS t1 JOIN geographic AS t2 ON t1.city_name = t2.city_name WHERE t2.region = \"bay area\" AND t1.food_type = \"chinese\";", "query_toks": [ "SELECT", "COUNT", "(", "*", ")", "FROM", "restaurant", "AS", "t1", "JOIN", "geographic", "AS", "t2", "ON", "t1.city_name", "=", "t2.city_name", "WHERE", "t2.region", "=", "``", "bay", "area", "''", "AND", "t1.food_type", "=", "``", "chinese", "''", ";" ], "query_toks_no_value": [ "select", "count", "(", "*", ")", "from", "restaurant", "as", "t1", "join", "geographic", "as", "t2", "on", "t1", ".", "city_name", "=", "t2", ".", "city_name", "where", "t2", ".", "region", "=", "value", "and", "t1", ".", "food_type", "=", "value" ], "question": "quantos lugares para chineses existem na área da baía?", "question_toks": [ "quantos", "lugares", "para", "chineses", "existem", "na", "área", "da", "baía", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 7, false ], null ], [ 0, 1, false ], null ] ] }, "select": [ false, [ [ 3, [ 0, [ 0, 0, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], "\"bay area\"", null ], "and", [ false, 2, [ 0, [ 0, 6, false ], null ], "\"chinese\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "restaurants", "query": "SELECT COUNT ( * ) FROM restaurant AS t1 JOIN geographic AS t2 ON t1.city_name = t2.city_name WHERE t2.county = \"santa cruz county\" AND t1.name = \"jamerican cuisine\";", "query_toks": [ "SELECT", "COUNT", "(", "*", ")", "FROM", "restaurant", "AS", "t1", "JOIN", "geographic", "AS", "t2", "ON", "t1.city_name", "=", "t2.city_name", "WHERE", "t2.county", "=", "``", "santa", "cruz", "county", "''", "AND", "t1.name", "=", "``", "jamerican", "cuisine", "''", ";" ], "query_toks_no_value": [ "select", "count", "(", "*", ")", "from", "restaurant", "as", "t1", "join", "geographic", "as", "t2", "on", "t1", ".", "city_name", "=", "t2", ".", "city_name", "where", "t2", ".", "county", "=", "value", "and", "t1", ".", "name", "=", "value" ], "question": "quanta cozinha jamericana tem no condado de santa cruz?", "question_toks": [ "quanta", "cozinha", "jamericana", "tem", "no", "condado", "de", "santa", "cruz", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 7, false ], null ], [ 0, 1, false ], null ] ] }, "select": [ false, [ [ 3, [ 0, [ 0, 0, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 2, false ], null ], "\"santa cruz county\"", null ], "and", [ false, 2, [ 0, [ 0, 5, false ], null ], "\"jamerican cuisine\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "restaurants", "query": "SELECT t2.house_number , t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t1.name = \"jamerican cuisine\";", "query_toks": [ "SELECT", "t2.house_number", ",", "t1.name", "FROM", "restaurant", "AS", "t1", "JOIN", "LOCATION", "AS", "t2", "ON", "t1.id", "=", "t2.restaurant_id", "WHERE", "t1.name", "=", "``", "jamerican", "cuisine", "''", ";" ], "query_toks_no_value": [ "select", "t2", ".", "house_number", ",", "t1", ".", "name", "from", "restaurant", "as", "t1", "join", "location", "as", "t2", "on", "t1", ".", "id", "=", "t2", ".", "restaurant_id", "where", "t1", ".", "name", "=", "value" ], "question": "onde está a culinária jamericana?", "question_toks": [ "onde", "está", "a", "culinária", "jamericana", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 9, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 10, false ], null ] ], [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 5, false ], null ], "\"jamerican cuisine\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "restaurants", "query": "SELECT t2.house_number , t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = \"san francisco\" AND t1.food_type = \"french\" AND t1.rating = ( SELECT MAX ( t1.rating ) FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = \"san francisco\" AND t1.food_type = \"french\" );", "query_toks": [ "SELECT", "t2.house_number", ",", "t1.name", "FROM", "restaurant", "AS", "t1", "JOIN", "LOCATION", "AS", "t2", "ON", "t1.id", "=", "t2.restaurant_id", "WHERE", "t2.city_name", "=", "``", "san", "francisco", "''", "AND", "t1.food_type", "=", "``", "french", "''", "AND", "t1.rating", "=", "(", "SELECT", "MAX", "(", "t1.rating", ")", "FROM", "restaurant", "AS", "t1", "JOIN", "LOCATION", "AS", "t2", "ON", "t1.id", "=", "t2.restaurant_id", "WHERE", "t2.city_name", "=", "``", "san", "francisco", "''", "AND", "t1.food_type", "=", "``", "french", "''", ")", ";" ], "query_toks_no_value": [ "select", "t2", ".", "house_number", ",", "t1", ".", "name", "from", "restaurant", "as", "t1", "join", "location", "as", "t2", "on", "t1", ".", "id", "=", "t2", ".", "restaurant_id", "where", "t2", ".", "city_name", "=", "value", "and", "t1", ".", "food_type", "=", "value", "and", "t1", ".", "rating", "=", "(", "select", "max", "(", "t1", ".", "rating", ")", "from", "restaurant", "as", "t1", "join", "location", "as", "t2", "on", "t1", ".", "id", "=", "t2", ".", "restaurant_id", "where", "t2", ".", "city_name", "=", "value", "and", "t1", ".", "food_type", "=", "value", ")" ], "question": "qual é o melhor restaurante francês em san francisco?", "question_toks": [ "qual", "é", "o", "melhor", "restaurante", "francês", "em", "san", "francisco", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 9, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 10, false ], null ] ], [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 12, false ], null ], "\"san francisco\"", null ], "and", [ false, 2, [ 0, [ 0, 6, false ], null ], "\"french\"", null ], "and", [ false, 2, [ 0, [ 0, 8, false ], null ], { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 9, false ], null ] ] }, "select": [ false, [ [ 1, [ 0, [ 0, 8, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 12, false ], null ], "\"san francisco\"", null ], "and", [ false, 2, [ 0, [ 0, 6, false ], null ], "\"french\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "restaurants", "query": "SELECT t2.house_number , t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = \"san francisco\" AND t1.food_type = \"french\" AND t1.rating = ( SELECT MAX ( t1.rating ) FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = \"san francisco\" AND t1.food_type = \"french\" );", "query_toks": [ "SELECT", "t2.house_number", ",", "t1.name", "FROM", "restaurant", "AS", "t1", "JOIN", "LOCATION", "AS", "t2", "ON", "t1.id", "=", "t2.restaurant_id", "WHERE", "t2.city_name", "=", "``", "san", "francisco", "''", "AND", "t1.food_type", "=", "``", "french", "''", "AND", "t1.rating", "=", "(", "SELECT", "MAX", "(", "t1.rating", ")", "FROM", "restaurant", "AS", "t1", "JOIN", "LOCATION", "AS", "t2", "ON", "t1.id", "=", "t2.restaurant_id", "WHERE", "t2.city_name", "=", "``", "san", "francisco", "''", "AND", "t1.food_type", "=", "``", "french", "''", ")", ";" ], "query_toks_no_value": [ "select", "t2", ".", "house_number", ",", "t1", ".", "name", "from", "restaurant", "as", "t1", "join", "location", "as", "t2", "on", "t1", ".", "id", "=", "t2", ".", "restaurant_id", "where", "t2", ".", "city_name", "=", "value", "and", "t1", ".", "food_type", "=", "value", "and", "t1", ".", "rating", "=", "(", "select", "max", "(", "t1", ".", "rating", ")", "from", "restaurant", "as", "t1", "join", "location", "as", "t2", "on", "t1", ".", "id", "=", "t2", ".", "restaurant_id", "where", "t2", ".", "city_name", "=", "value", "and", "t1", ".", "food_type", "=", "value", ")" ], "question": "Qual é o melhor francês em São Francisco?", "question_toks": [ "Qual", "é", "o", "melhor", "francês", "em", "São", "Francisco", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 9, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 10, false ], null ] ], [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 12, false ], null ], "\"san francisco\"", null ], "and", [ false, 2, [ 0, [ 0, 6, false ], null ], "\"french\"", null ], "and", [ false, 2, [ 0, [ 0, 8, false ], null ], { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 9, false ], null ] ] }, "select": [ false, [ [ 1, [ 0, [ 0, 8, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 12, false ], null ], "\"san francisco\"", null ], "and", [ false, 2, [ 0, [ 0, 6, false ], null ], "\"french\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "restaurants", "query": "SELECT t2.house_number , t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = \"san francisco\" AND t1.food_type = \"french\" AND t1.rating = ( SELECT MAX ( t1.rating ) FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = \"san francisco\" AND t1.food_type = \"french\" );", "query_toks": [ "SELECT", "t2.house_number", ",", "t1.name", "FROM", "restaurant", "AS", "t1", "JOIN", "LOCATION", "AS", "t2", "ON", "t1.id", "=", "t2.restaurant_id", "WHERE", "t2.city_name", "=", "``", "san", "francisco", "''", "AND", "t1.food_type", "=", "``", "french", "''", "AND", "t1.rating", "=", "(", "SELECT", "MAX", "(", "t1.rating", ")", "FROM", "restaurant", "AS", "t1", "JOIN", "LOCATION", "AS", "t2", "ON", "t1.id", "=", "t2.restaurant_id", "WHERE", "t2.city_name", "=", "``", "san", "francisco", "''", "AND", "t1.food_type", "=", "``", "french", "''", ")", ";" ], "query_toks_no_value": [ "select", "t2", ".", "house_number", ",", "t1", ".", "name", "from", "restaurant", "as", "t1", "join", "location", "as", "t2", "on", "t1", ".", "id", "=", "t2", ".", "restaurant_id", "where", "t2", ".", "city_name", "=", "value", "and", "t1", ".", "food_type", "=", "value", "and", "t1", ".", "rating", "=", "(", "select", "max", "(", "t1", ".", "rating", ")", "from", "restaurant", "as", "t1", "join", "location", "as", "t2", "on", "t1", ".", "id", "=", "t2", ".", "restaurant_id", "where", "t2", ".", "city_name", "=", "value", "and", "t1", ".", "food_type", "=", "value", ")" ], "question": "Qual é o melhor lugar em São Francisco para comer comida francesa?", "question_toks": [ "Qual", "é", "o", "melhor", "lugar", "em", "São", "Francisco", "para", "comer", "comida", "francesa", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 9, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 10, false ], null ] ], [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 12, false ], null ], "\"san francisco\"", null ], "and", [ false, 2, [ 0, [ 0, 6, false ], null ], "\"french\"", null ], "and", [ false, 2, [ 0, [ 0, 8, false ], null ], { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 9, false ], null ] ] }, "select": [ false, [ [ 1, [ 0, [ 0, 8, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 12, false ], null ], "\"san francisco\"", null ], "and", [ false, 2, [ 0, [ 0, 6, false ], null ], "\"french\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "restaurants", "query": "SELECT t2.house_number , t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = \"san francisco\" AND t1.food_type = \"french\" AND t1.rating = ( SELECT MAX ( t1.rating ) FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = \"san francisco\" AND t1.food_type = \"french\" );", "query_toks": [ "SELECT", "t2.house_number", ",", "t1.name", "FROM", "restaurant", "AS", "t1", "JOIN", "LOCATION", "AS", "t2", "ON", "t1.id", "=", "t2.restaurant_id", "WHERE", "t2.city_name", "=", "``", "san", "francisco", "''", "AND", "t1.food_type", "=", "``", "french", "''", "AND", "t1.rating", "=", "(", "SELECT", "MAX", "(", "t1.rating", ")", "FROM", "restaurant", "AS", "t1", "JOIN", "LOCATION", "AS", "t2", "ON", "t1.id", "=", "t2.restaurant_id", "WHERE", "t2.city_name", "=", "``", "san", "francisco", "''", "AND", "t1.food_type", "=", "``", "french", "''", ")", ";" ], "query_toks_no_value": [ "select", "t2", ".", "house_number", ",", "t1", ".", "name", "from", "restaurant", "as", "t1", "join", "location", "as", "t2", "on", "t1", ".", "id", "=", "t2", ".", "restaurant_id", "where", "t2", ".", "city_name", "=", "value", "and", "t1", ".", "food_type", "=", "value", "and", "t1", ".", "rating", "=", "(", "select", "max", "(", "t1", ".", "rating", ")", "from", "restaurant", "as", "t1", "join", "location", "as", "t2", "on", "t1", ".", "id", "=", "t2", ".", "restaurant_id", "where", "t2", ".", "city_name", "=", "value", "and", "t1", ".", "food_type", "=", "value", ")" ], "question": "Dê-me o melhor lugar em São Francisco para comer comida francesa?", "question_toks": [ "Dê-me", "o", "melhor", "lugar", "em", "São", "Francisco", "para", "comer", "comida", "francesa", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 9, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 10, false ], null ] ], [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 12, false ], null ], "\"san francisco\"", null ], "and", [ false, 2, [ 0, [ 0, 6, false ], null ], "\"french\"", null ], "and", [ false, 2, [ 0, [ 0, 8, false ], null ], { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 9, false ], null ] ] }, "select": [ false, [ [ 1, [ 0, [ 0, 8, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 12, false ], null ], "\"san francisco\"", null ], "and", [ false, 2, [ 0, [ 0, 6, false ], null ], "\"french\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "restaurants", "query": "SELECT t2.house_number , t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = \"san francisco\" AND t1.food_type = \"french\" AND t1.rating = ( SELECT MAX ( t1.rating ) FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = \"san francisco\" AND t1.food_type = \"french\" );", "query_toks": [ "SELECT", "t2.house_number", ",", "t1.name", "FROM", "restaurant", "AS", "t1", "JOIN", "LOCATION", "AS", "t2", "ON", "t1.id", "=", "t2.restaurant_id", "WHERE", "t2.city_name", "=", "``", "san", "francisco", "''", "AND", "t1.food_type", "=", "``", "french", "''", "AND", "t1.rating", "=", "(", "SELECT", "MAX", "(", "t1.rating", ")", "FROM", "restaurant", "AS", "t1", "JOIN", "LOCATION", "AS", "t2", "ON", "t1.id", "=", "t2.restaurant_id", "WHERE", "t2.city_name", "=", "``", "san", "francisco", "''", "AND", "t1.food_type", "=", "``", "french", "''", ")", ";" ], "query_toks_no_value": [ "select", "t2", ".", "house_number", ",", "t1", ".", "name", "from", "restaurant", "as", "t1", "join", "location", "as", "t2", "on", "t1", ".", "id", "=", "t2", ".", "restaurant_id", "where", "t2", ".", "city_name", "=", "value", "and", "t1", ".", "food_type", "=", "value", "and", "t1", ".", "rating", "=", "(", "select", "max", "(", "t1", ".", "rating", ")", "from", "restaurant", "as", "t1", "join", "location", "as", "t2", "on", "t1", ".", "id", "=", "t2", ".", "restaurant_id", "where", "t2", ".", "city_name", "=", "value", "and", "t1", ".", "food_type", "=", "value", ")" ], "question": "Onde está o melhor francês em São Francisco?", "question_toks": [ "Onde", "está", "o", "melhor", "francês", "em", "São", "Francisco", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 9, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 10, false ], null ] ], [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 12, false ], null ], "\"san francisco\"", null ], "and", [ false, 2, [ 0, [ 0, 6, false ], null ], "\"french\"", null ], "and", [ false, 2, [ 0, [ 0, 8, false ], null ], { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 9, false ], null ] ] }, "select": [ false, [ [ 1, [ 0, [ 0, 8, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 12, false ], null ], "\"san francisco\"", null ], "and", [ false, 2, [ 0, [ 0, 6, false ], null ], "\"french\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "restaurants", "query": "SELECT t2.house_number , t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = \"san francisco\" AND t1.food_type = \"french\" AND t1.rating = ( SELECT MAX ( t1.rating ) FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = \"san francisco\" AND t1.food_type = \"french\" );", "query_toks": [ "SELECT", "t2.house_number", ",", "t1.name", "FROM", "restaurant", "AS", "t1", "JOIN", "LOCATION", "AS", "t2", "ON", "t1.id", "=", "t2.restaurant_id", "WHERE", "t2.city_name", "=", "``", "san", "francisco", "''", "AND", "t1.food_type", "=", "``", "french", "''", "AND", "t1.rating", "=", "(", "SELECT", "MAX", "(", "t1.rating", ")", "FROM", "restaurant", "AS", "t1", "JOIN", "LOCATION", "AS", "t2", "ON", "t1.id", "=", "t2.restaurant_id", "WHERE", "t2.city_name", "=", "``", "san", "francisco", "''", "AND", "t1.food_type", "=", "``", "french", "''", ")", ";" ], "query_toks_no_value": [ "select", "t2", ".", "house_number", ",", "t1", ".", "name", "from", "restaurant", "as", "t1", "join", "location", "as", "t2", "on", "t1", ".", "id", "=", "t2", ".", "restaurant_id", "where", "t2", ".", "city_name", "=", "value", "and", "t1", ".", "food_type", "=", "value", "and", "t1", ".", "rating", "=", "(", "select", "max", "(", "t1", ".", "rating", ")", "from", "restaurant", "as", "t1", "join", "location", "as", "t2", "on", "t1", ".", "id", "=", "t2", ".", "restaurant_id", "where", "t2", ".", "city_name", "=", "value", "and", "t1", ".", "food_type", "=", "value", ")" ], "question": "Dê-me o melhor francês em São Francisco?", "question_toks": [ "Dê-me", "o", "melhor", "francês", "em", "São", "Francisco", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 9, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 10, false ], null ] ], [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 12, false ], null ], "\"san francisco\"", null ], "and", [ false, 2, [ 0, [ 0, 6, false ], null ], "\"french\"", null ], "and", [ false, 2, [ 0, [ 0, 8, false ], null ], { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 9, false ], null ] ] }, "select": [ false, [ [ 1, [ 0, [ 0, 8, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 12, false ], null ], "\"san francisco\"", null ], "and", [ false, 2, [ 0, [ 0, 6, false ], null ], "\"french\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "restaurants", "query": "SELECT t2.house_number , t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = \"san francisco\" AND t1.food_type = \"french\" AND t1.rating = ( SELECT MAX ( t1.rating ) FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = \"san francisco\" AND t1.food_type = \"french\" );", "query_toks": [ "SELECT", "t2.house_number", ",", "t1.name", "FROM", "restaurant", "AS", "t1", "JOIN", "LOCATION", "AS", "t2", "ON", "t1.id", "=", "t2.restaurant_id", "WHERE", "t2.city_name", "=", "``", "san", "francisco", "''", "AND", "t1.food_type", "=", "``", "french", "''", "AND", "t1.rating", "=", "(", "SELECT", "MAX", "(", "t1.rating", ")", "FROM", "restaurant", "AS", "t1", "JOIN", "LOCATION", "AS", "t2", "ON", "t1.id", "=", "t2.restaurant_id", "WHERE", "t2.city_name", "=", "``", "san", "francisco", "''", "AND", "t1.food_type", "=", "``", "french", "''", ")", ";" ], "query_toks_no_value": [ "select", "t2", ".", "house_number", ",", "t1", ".", "name", "from", "restaurant", "as", "t1", "join", "location", "as", "t2", "on", "t1", ".", "id", "=", "t2", ".", "restaurant_id", "where", "t2", ".", "city_name", "=", "value", "and", "t1", ".", "food_type", "=", "value", "and", "t1", ".", "rating", "=", "(", "select", "max", "(", "t1", ".", "rating", ")", "from", "restaurant", "as", "t1", "join", "location", "as", "t2", "on", "t1", ".", "id", "=", "t2", ".", "restaurant_id", "where", "t2", ".", "city_name", "=", "value", "and", "t1", ".", "food_type", "=", "value", ")" ], "question": "Onde fica o melhor restaurante francês de São Francisco?", "question_toks": [ "Onde", "fica", "o", "melhor", "restaurante", "francês", "de", "São", "Francisco", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 9, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 10, false ], null ] ], [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 12, false ], null ], "\"san francisco\"", null ], "and", [ false, 2, [ 0, [ 0, 6, false ], null ], "\"french\"", null ], "and", [ false, 2, [ 0, [ 0, 8, false ], null ], { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 9, false ], null ] ] }, "select": [ false, [ [ 1, [ 0, [ 0, 8, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 12, false ], null ], "\"san francisco\"", null ], "and", [ false, 2, [ 0, [ 0, 6, false ], null ], "\"french\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "restaurants", "query": "SELECT t2.house_number , t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = \"san francisco\" AND t1.food_type = \"french\" AND t1.rating = ( SELECT MAX ( t1.rating ) FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = \"san francisco\" AND t1.food_type = \"french\" );", "query_toks": [ "SELECT", "t2.house_number", ",", "t1.name", "FROM", "restaurant", "AS", "t1", "JOIN", "LOCATION", "AS", "t2", "ON", "t1.id", "=", "t2.restaurant_id", "WHERE", "t2.city_name", "=", "``", "san", "francisco", "''", "AND", "t1.food_type", "=", "``", "french", "''", "AND", "t1.rating", "=", "(", "SELECT", "MAX", "(", "t1.rating", ")", "FROM", "restaurant", "AS", "t1", "JOIN", "LOCATION", "AS", "t2", "ON", "t1.id", "=", "t2.restaurant_id", "WHERE", "t2.city_name", "=", "``", "san", "francisco", "''", "AND", "t1.food_type", "=", "``", "french", "''", ")", ";" ], "query_toks_no_value": [ "select", "t2", ".", "house_number", ",", "t1", ".", "name", "from", "restaurant", "as", "t1", "join", "location", "as", "t2", "on", "t1", ".", "id", "=", "t2", ".", "restaurant_id", "where", "t2", ".", "city_name", "=", "value", "and", "t1", ".", "food_type", "=", "value", "and", "t1", ".", "rating", "=", "(", "select", "max", "(", "t1", ".", "rating", ")", "from", "restaurant", "as", "t1", "join", "location", "as", "t2", "on", "t1", ".", "id", "=", "t2", ".", "restaurant_id", "where", "t2", ".", "city_name", "=", "value", "and", "t1", ".", "food_type", "=", "value", ")" ], "question": "Dê-me o melhor restaurante de São Francisco para comida francesa?", "question_toks": [ "Dê-me", "o", "melhor", "restaurante", "de", "São", "Francisco", "para", "comida", "francesa", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 9, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 10, false ], null ] ], [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 12, false ], null ], "\"san francisco\"", null ], "and", [ false, 2, [ 0, [ 0, 6, false ], null ], "\"french\"", null ], "and", [ false, 2, [ 0, [ 0, 8, false ], null ], { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 9, false ], null ] ] }, "select": [ false, [ [ 1, [ 0, [ 0, 8, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 12, false ], null ], "\"san francisco\"", null ], "and", [ false, 2, [ 0, [ 0, 6, false ], null ], "\"french\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "restaurants", "query": "SELECT t2.house_number , t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = \"san francisco\" AND t1.food_type = \"french\" AND t1.rating = ( SELECT MAX ( t1.rating ) FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = \"san francisco\" AND t1.food_type = \"french\" );", "query_toks": [ "SELECT", "t2.house_number", ",", "t1.name", "FROM", "restaurant", "AS", "t1", "JOIN", "LOCATION", "AS", "t2", "ON", "t1.id", "=", "t2.restaurant_id", "WHERE", "t2.city_name", "=", "``", "san", "francisco", "''", "AND", "t1.food_type", "=", "``", "french", "''", "AND", "t1.rating", "=", "(", "SELECT", "MAX", "(", "t1.rating", ")", "FROM", "restaurant", "AS", "t1", "JOIN", "LOCATION", "AS", "t2", "ON", "t1.id", "=", "t2.restaurant_id", "WHERE", "t2.city_name", "=", "``", "san", "francisco", "''", "AND", "t1.food_type", "=", "``", "french", "''", ")", ";" ], "query_toks_no_value": [ "select", "t2", ".", "house_number", ",", "t1", ".", "name", "from", "restaurant", "as", "t1", "join", "location", "as", "t2", "on", "t1", ".", "id", "=", "t2", ".", "restaurant_id", "where", "t2", ".", "city_name", "=", "value", "and", "t1", ".", "food_type", "=", "value", "and", "t1", ".", "rating", "=", "(", "select", "max", "(", "t1", ".", "rating", ")", "from", "restaurant", "as", "t1", "join", "location", "as", "t2", "on", "t1", ".", "id", "=", "t2", ".", "restaurant_id", "where", "t2", ".", "city_name", "=", "value", "and", "t1", ".", "food_type", "=", "value", ")" ], "question": "Dê-me o melhor restaurante francês de São Francisco?", "question_toks": [ "Dê-me", "o", "melhor", "restaurante", "francês", "de", "São", "Francisco", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 9, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 10, false ], null ] ], [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 12, false ], null ], "\"san francisco\"", null ], "and", [ false, 2, [ 0, [ 0, 6, false ], null ], "\"french\"", null ], "and", [ false, 2, [ 0, [ 0, 8, false ], null ], { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 9, false ], null ] ] }, "select": [ false, [ [ 1, [ 0, [ 0, 8, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 12, false ], null ], "\"san francisco\"", null ], "and", [ false, 2, [ 0, [ 0, 6, false ], null ], "\"french\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "restaurants", "query": "SELECT t2.house_number , t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = \"san francisco\" AND t1.food_type = \"french\" AND t1.rating = ( SELECT MAX ( t1.rating ) FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = \"san francisco\" AND t1.food_type = \"french\" );", "query_toks": [ "SELECT", "t2.house_number", ",", "t1.name", "FROM", "restaurant", "AS", "t1", "JOIN", "LOCATION", "AS", "t2", "ON", "t1.id", "=", "t2.restaurant_id", "WHERE", "t2.city_name", "=", "``", "san", "francisco", "''", "AND", "t1.food_type", "=", "``", "french", "''", "AND", "t1.rating", "=", "(", "SELECT", "MAX", "(", "t1.rating", ")", "FROM", "restaurant", "AS", "t1", "JOIN", "LOCATION", "AS", "t2", "ON", "t1.id", "=", "t2.restaurant_id", "WHERE", "t2.city_name", "=", "``", "san", "francisco", "''", "AND", "t1.food_type", "=", "``", "french", "''", ")", ";" ], "query_toks_no_value": [ "select", "t2", ".", "house_number", ",", "t1", ".", "name", "from", "restaurant", "as", "t1", "join", "location", "as", "t2", "on", "t1", ".", "id", "=", "t2", ".", "restaurant_id", "where", "t2", ".", "city_name", "=", "value", "and", "t1", ".", "food_type", "=", "value", "and", "t1", ".", "rating", "=", "(", "select", "max", "(", "t1", ".", "rating", ")", "from", "restaurant", "as", "t1", "join", "location", "as", "t2", "on", "t1", ".", "id", "=", "t2", ".", "restaurant_id", "where", "t2", ".", "city_name", "=", "value", "and", "t1", ".", "food_type", "=", "value", ")" ], "question": "Qual é o melhor restaurante em São Francisco para comida francesa?", "question_toks": [ "Qual", "é", "o", "melhor", "restaurante", "em", "São", "Francisco", "para", "comida", "francesa", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 9, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 10, false ], null ] ], [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 12, false ], null ], "\"san francisco\"", null ], "and", [ false, 2, [ 0, [ 0, 6, false ], null ], "\"french\"", null ], "and", [ false, 2, [ 0, [ 0, 8, false ], null ], { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 9, false ], null ] ] }, "select": [ false, [ [ 1, [ 0, [ 0, 8, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 12, false ], null ], "\"san francisco\"", null ], "and", [ false, 2, [ 0, [ 0, 6, false ], null ], "\"french\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "restaurants", "query": "SELECT t2.house_number , t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = \"san francisco\" AND t1.food_type = \"french\" AND t1.rating = ( SELECT MAX ( t1.rating ) FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = \"san francisco\" AND t1.food_type = \"french\" );", "query_toks": [ "SELECT", "t2.house_number", ",", "t1.name", "FROM", "restaurant", "AS", "t1", "JOIN", "LOCATION", "AS", "t2", "ON", "t1.id", "=", "t2.restaurant_id", "WHERE", "t2.city_name", "=", "``", "san", "francisco", "''", "AND", "t1.food_type", "=", "``", "french", "''", "AND", "t1.rating", "=", "(", "SELECT", "MAX", "(", "t1.rating", ")", "FROM", "restaurant", "AS", "t1", "JOIN", "LOCATION", "AS", "t2", "ON", "t1.id", "=", "t2.restaurant_id", "WHERE", "t2.city_name", "=", "``", "san", "francisco", "''", "AND", "t1.food_type", "=", "``", "french", "''", ")", ";" ], "query_toks_no_value": [ "select", "t2", ".", "house_number", ",", "t1", ".", "name", "from", "restaurant", "as", "t1", "join", "location", "as", "t2", "on", "t1", ".", "id", "=", "t2", ".", "restaurant_id", "where", "t2", ".", "city_name", "=", "value", "and", "t1", ".", "food_type", "=", "value", "and", "t1", ".", "rating", "=", "(", "select", "max", "(", "t1", ".", "rating", ")", "from", "restaurant", "as", "t1", "join", "location", "as", "t2", "on", "t1", ".", "id", "=", "t2", ".", "restaurant_id", "where", "t2", ".", "city_name", "=", "value", "and", "t1", ".", "food_type", "=", "value", ")" ], "question": "Onde fica o melhor restaurante em san francisco para comida francesa?", "question_toks": [ "Onde", "fica", "o", "melhor", "restaurante", "em", "san", "francisco", "para", "comida", "francesa", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 9, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 10, false ], null ] ], [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 12, false ], null ], "\"san francisco\"", null ], "and", [ false, 2, [ 0, [ 0, 6, false ], null ], "\"french\"", null ], "and", [ false, 2, [ 0, [ 0, 8, false ], null ], { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 9, false ], null ] ] }, "select": [ false, [ [ 1, [ 0, [ 0, 8, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 12, false ], null ], "\"san francisco\"", null ], "and", [ false, 2, [ 0, [ 0, 6, false ], null ], "\"french\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "restaurants", "query": "SELECT t3.house_number , t1.name FROM restaurant AS t1 JOIN geographic AS t2 ON t1.city_name = t2.city_name JOIN LOCATION AS t3 ON t1.id = t3.restaurant_id WHERE t2.region = \"bay area\" AND t1.name = \"denny\";", "query_toks": [ "SELECT", "t3.house_number", ",", "t1.name", "FROM", "restaurant", "AS", "t1", "JOIN", "geographic", "AS", "t2", "ON", "t1.city_name", "=", "t2.city_name", "JOIN", "LOCATION", "AS", "t3", "ON", "t1.id", "=", "t3.restaurant_id", "WHERE", "t2.region", "=", "``", "bay", "area", "''", "AND", "t1.name", "=", "``", "denny", "''", ";" ], "query_toks_no_value": [ "select", "t3", ".", "house_number", ",", "t1", ".", "name", "from", "restaurant", "as", "t1", "join", "geographic", "as", "t2", "on", "t1", ".", "city_name", "=", "t2", ".", "city_name", "join", "location", "as", "t3", "on", "t1", ".", "id", "=", "t3", ".", "restaurant_id", "where", "t2", ".", "region", "=", "value", "and", "t1", ".", "name", "=", "value" ], "question": "onde fica Denny na área da baía?", "question_toks": [ "onde", "fica", "Denny", "na", "área", "da", "baía", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 0 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 7, false ], null ], [ 0, 1, false ], null ], "and", [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 9, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 10, false ], null ] ], [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], "\"bay area\"", null ], "and", [ false, 2, [ 0, [ 0, 5, false ], null ], "\"denny\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "restaurants", "query": "SELECT t2.house_number , t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = \"bethel island\" AND t2.street_name = \"bethel island rd\" AND t1.rating > 2.5;", "query_toks": [ "SELECT", "t2.house_number", ",", "t1.name", "FROM", "restaurant", "AS", "t1", "JOIN", "LOCATION", "AS", "t2", "ON", "t1.id", "=", "t2.restaurant_id", "WHERE", "t2.city_name", "=", "``", "bethel", "island", "''", "AND", "t2.street_name", "=", "``", "bethel", "island", "rd", "''", "AND", "t1.rating", ">", "2.5", ";" ], "query_toks_no_value": [ "select", "t2", ".", "house_number", ",", "t1", ".", "name", "from", "restaurant", "as", "t1", "join", "location", "as", "t2", "on", "t1", ".", "id", "=", "t2", ".", "restaurant_id", "where", "t2", ".", "city_name", "=", "value", "and", "t2", ".", "street_name", "=", "value", "and", "t1", ".", "rating", ">", "value" ], "question": "Quais são alguns bons restaurantes em Bethel Island e em Bethel Island?", "question_toks": [ "Quais", "são", "alguns", "bons", "restaurantes", "em", "Bethel", "Island", "e", "em", "Bethel", "Island", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 9, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 10, false ], null ] ], [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 12, false ], null ], "\"bethel island\"", null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], "\"bethel island rd\"", null ], "and", [ false, 3, [ 0, [ 0, 8, false ], null ], 2.5, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "restaurants", "query": "SELECT t2.house_number , t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = \"bethel island\" AND t2.street_name = \"bethel island rd\" AND t1.rating > 2.5;", "query_toks": [ "SELECT", "t2.house_number", ",", "t1.name", "FROM", "restaurant", "AS", "t1", "JOIN", "LOCATION", "AS", "t2", "ON", "t1.id", "=", "t2.restaurant_id", "WHERE", "t2.city_name", "=", "``", "bethel", "island", "''", "AND", "t2.street_name", "=", "``", "bethel", "island", "rd", "''", "AND", "t1.rating", ">", "2.5", ";" ], "query_toks_no_value": [ "select", "t2", ".", "house_number", ",", "t1", ".", "name", "from", "restaurant", "as", "t1", "join", "location", "as", "t2", "on", "t1", ".", "id", "=", "t2", ".", "restaurant_id", "where", "t2", ".", "city_name", "=", "value", "and", "t2", ".", "street_name", "=", "value", "and", "t1", ".", "rating", ">", "value" ], "question": "me dê alguns bons restaurantes na ilha de bethel rd na ilha de bethel?", "question_toks": [ "me", "dê", "alguns", "bons", "restaurantes", "na", "ilha", "de", "bethel", "rd", "na", "ilha", "de", "bethel", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 9, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 10, false ], null ] ], [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 12, false ], null ], "\"bethel island\"", null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], "\"bethel island rd\"", null ], "and", [ false, 3, [ 0, [ 0, 8, false ], null ], 2.5, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "restaurants", "query": "SELECT t2.house_number , t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = \"bethel island\" AND t2.street_name = \"bethel island rd\" AND t1.rating > 2.5;", "query_toks": [ "SELECT", "t2.house_number", ",", "t1.name", "FROM", "restaurant", "AS", "t1", "JOIN", "LOCATION", "AS", "t2", "ON", "t1.id", "=", "t2.restaurant_id", "WHERE", "t2.city_name", "=", "``", "bethel", "island", "''", "AND", "t2.street_name", "=", "``", "bethel", "island", "rd", "''", "AND", "t1.rating", ">", "2.5", ";" ], "query_toks_no_value": [ "select", "t2", ".", "house_number", ",", "t1", ".", "name", "from", "restaurant", "as", "t1", "join", "location", "as", "t2", "on", "t1", ".", "id", "=", "t2", ".", "restaurant_id", "where", "t2", ".", "city_name", "=", "value", "and", "t2", ".", "street_name", "=", "value", "and", "t1", ".", "rating", ">", "value" ], "question": "me dê um bom restaurante na ilha bethel rd na ilha bethel?", "question_toks": [ "me", "dê", "um", "bom", "restaurante", "na", "ilha", "bethel", "rd", "na", "ilha", "bethel", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 9, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 10, false ], null ] ], [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 12, false ], null ], "\"bethel island\"", null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], "\"bethel island rd\"", null ], "and", [ false, 3, [ 0, [ 0, 8, false ], null ], 2.5, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "restaurants", "query": "SELECT t2.house_number , t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = \"bethel island\" AND t2.street_name = \"bethel island rd\" AND t1.rating > 2.5;", "query_toks": [ "SELECT", "t2.house_number", ",", "t1.name", "FROM", "restaurant", "AS", "t1", "JOIN", "LOCATION", "AS", "t2", "ON", "t1.id", "=", "t2.restaurant_id", "WHERE", "t2.city_name", "=", "``", "bethel", "island", "''", "AND", "t2.street_name", "=", "``", "bethel", "island", "rd", "''", "AND", "t1.rating", ">", "2.5", ";" ], "query_toks_no_value": [ "select", "t2", ".", "house_number", ",", "t1", ".", "name", "from", "restaurant", "as", "t1", "join", "location", "as", "t2", "on", "t1", ".", "id", "=", "t2", ".", "restaurant_id", "where", "t2", ".", "city_name", "=", "value", "and", "t2", ".", "street_name", "=", "value", "and", "t1", ".", "rating", ">", "value" ], "question": "o que é um bom restaurante em bethel island rd em bethel island?", "question_toks": [ "o", "que", "é", "um", "bom", "restaurante", "em", "bethel", "island", "rd", "em", "bethel", "island", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 9, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 10, false ], null ] ], [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 12, false ], null ], "\"bethel island\"", null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], "\"bethel island rd\"", null ], "and", [ false, 3, [ 0, [ 0, 8, false ], null ], 2.5, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "restaurants", "query": "SELECT t2.house_number , t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = \"alameda\";", "query_toks": [ "SELECT", "t2.house_number", ",", "t1.name", "FROM", "restaurant", "AS", "t1", "JOIN", "LOCATION", "AS", "t2", "ON", "t1.id", "=", "t2.restaurant_id", "WHERE", "t2.city_name", "=", "``", "alameda", "''", ";" ], "query_toks_no_value": [ "select", "t2", ".", "house_number", ",", "t1", ".", "name", "from", "restaurant", "as", "t1", "join", "location", "as", "t2", "on", "t1", ".", "id", "=", "t2", ".", "restaurant_id", "where", "t2", ".", "city_name", "=", "value" ], "question": "onde podemos encontrar um restaurante na alameda?", "question_toks": [ "onde", "podemos", "encontrar", "um", "restaurante", "na", "alameda", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 9, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 10, false ], null ] ], [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 12, false ], null ], "\"alameda\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "restaurants", "query": "SELECT t2.house_number , t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = \"alameda\";", "query_toks": [ "SELECT", "t2.house_number", ",", "t1.name", "FROM", "restaurant", "AS", "t1", "JOIN", "LOCATION", "AS", "t2", "ON", "t1.id", "=", "t2.restaurant_id", "WHERE", "t2.city_name", "=", "``", "alameda", "''", ";" ], "query_toks_no_value": [ "select", "t2", ".", "house_number", ",", "t1", ".", "name", "from", "restaurant", "as", "t1", "join", "location", "as", "t2", "on", "t1", ".", "id", "=", "t2", ".", "restaurant_id", "where", "t2", ".", "city_name", "=", "value" ], "question": "me dê um restaurante na alameda?", "question_toks": [ "me", "dê", "um", "restaurante", "na", "alameda", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 9, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 10, false ], null ] ], [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 12, false ], null ], "\"alameda\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "restaurants", "query": "SELECT t2.house_number , t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = \"alameda\";", "query_toks": [ "SELECT", "t2.house_number", ",", "t1.name", "FROM", "restaurant", "AS", "t1", "JOIN", "LOCATION", "AS", "t2", "ON", "t1.id", "=", "t2.restaurant_id", "WHERE", "t2.city_name", "=", "``", "alameda", "''", ";" ], "query_toks_no_value": [ "select", "t2", ".", "house_number", ",", "t1", ".", "name", "from", "restaurant", "as", "t1", "join", "location", "as", "t2", "on", "t1", ".", "id", "=", "t2", ".", "restaurant_id", "where", "t2", ".", "city_name", "=", "value" ], "question": "onde podemos encontrar alguns restaurantes na alameda?", "question_toks": [ "onde", "podemos", "encontrar", "alguns", "restaurantes", "na", "alameda", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 9, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 10, false ], null ] ], [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 12, false ], null ], "\"alameda\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "restaurants", "query": "SELECT t2.house_number , t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = \"alameda\";", "query_toks": [ "SELECT", "t2.house_number", ",", "t1.name", "FROM", "restaurant", "AS", "t1", "JOIN", "LOCATION", "AS", "t2", "ON", "t1.id", "=", "t2.restaurant_id", "WHERE", "t2.city_name", "=", "``", "alameda", "''", ";" ], "query_toks_no_value": [ "select", "t2", ".", "house_number", ",", "t1", ".", "name", "from", "restaurant", "as", "t1", "join", "location", "as", "t2", "on", "t1", ".", "id", "=", "t2", ".", "restaurant_id", "where", "t2", ".", "city_name", "=", "value" ], "question": "onde fica um restaurante na alameda?", "question_toks": [ "onde", "fica", "um", "restaurante", "na", "alameda", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 9, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 10, false ], null ] ], [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 12, false ], null ], "\"alameda\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "restaurants", "query": "SELECT t2.house_number , t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = \"alameda\";", "query_toks": [ "SELECT", "t2.house_number", ",", "t1.name", "FROM", "restaurant", "AS", "t1", "JOIN", "LOCATION", "AS", "t2", "ON", "t1.id", "=", "t2.restaurant_id", "WHERE", "t2.city_name", "=", "``", "alameda", "''", ";" ], "query_toks_no_value": [ "select", "t2", ".", "house_number", ",", "t1", ".", "name", "from", "restaurant", "as", "t1", "join", "location", "as", "t2", "on", "t1", ".", "id", "=", "t2", ".", "restaurant_id", "where", "t2", ".", "city_name", "=", "value" ], "question": "me dê alguns restaurantes na alameda?", "question_toks": [ "me", "dê", "alguns", "restaurantes", "na", "alameda", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 9, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 10, false ], null ] ], [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 12, false ], null ], "\"alameda\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "restaurants", "query": "SELECT t2.house_number , t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t1.food_type = \"french\" AND t1.rating > 2.5;", "query_toks": [ "SELECT", "t2.house_number", ",", "t1.name", "FROM", "restaurant", "AS", "t1", "JOIN", "LOCATION", "AS", "t2", "ON", "t1.id", "=", "t2.restaurant_id", "WHERE", "t1.food_type", "=", "``", "french", "''", "AND", "t1.rating", ">", "2.5", ";" ], "query_toks_no_value": [ "select", "t2", ".", "house_number", ",", "t1", ".", "name", "from", "restaurant", "as", "t1", "join", "location", "as", "t2", "on", "t1", ".", "id", "=", "t2", ".", "restaurant_id", "where", "t1", ".", "food_type", "=", "value", "and", "t1", ".", "rating", ">", "value" ], "question": "me dê alguns restaurantes bons para comida francesa?", "question_toks": [ "me", "dê", "alguns", "restaurantes", "bons", "para", "comida", "francesa", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 9, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 10, false ], null ] ], [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 6, false ], null ], "\"french\"", null ], "and", [ false, 3, [ 0, [ 0, 8, false ], null ], 2.5, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "restaurants", "query": "SELECT t2.house_number , t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t1.food_type = \"french\" AND t1.rating > 2.5;", "query_toks": [ "SELECT", "t2.house_number", ",", "t1.name", "FROM", "restaurant", "AS", "t1", "JOIN", "LOCATION", "AS", "t2", "ON", "t1.id", "=", "t2.restaurant_id", "WHERE", "t1.food_type", "=", "``", "french", "''", "AND", "t1.rating", ">", "2.5", ";" ], "query_toks_no_value": [ "select", "t2", ".", "house_number", ",", "t1", ".", "name", "from", "restaurant", "as", "t1", "join", "location", "as", "t2", "on", "t1", ".", "id", "=", "t2", ".", "restaurant_id", "where", "t1", ".", "food_type", "=", "value", "and", "t1", ".", "rating", ">", "value" ], "question": "onde existem alguns restaurantes bons para comida francesa?", "question_toks": [ "onde", "existem", "alguns", "restaurantes", "bons", "para", "comida", "francesa", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 9, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 10, false ], null ] ], [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 6, false ], null ], "\"french\"", null ], "and", [ false, 3, [ 0, [ 0, 8, false ], null ], 2.5, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "restaurants", "query": "SELECT COUNT ( * ) FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = \"palo alto\" AND t1.food_type = \"french\";", "query_toks": [ "SELECT", "COUNT", "(", "*", ")", "FROM", "restaurant", "AS", "t1", "JOIN", "LOCATION", "AS", "t2", "ON", "t1.id", "=", "t2.restaurant_id", "WHERE", "t2.city_name", "=", "``", "palo", "alto", "''", "AND", "t1.food_type", "=", "``", "french", "''", ";" ], "query_toks_no_value": [ "select", "count", "(", "*", ")", "from", "restaurant", "as", "t1", "join", "location", "as", "t2", "on", "t1", ".", "id", "=", "t2", ".", "restaurant_id", "where", "t2", ".", "city_name", "=", "value", "and", "t1", ".", "food_type", "=", "value" ], "question": "quantos lugares para comida francesa existem em palo alto?", "question_toks": [ "quantos", "lugares", "para", "comida", "francesa", "existem", "em", "palo", "alto", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 9, false ], null ] ] }, "select": [ false, [ [ 3, [ 0, [ 0, 0, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 12, false ], null ], "\"palo alto\"", null ], "and", [ false, 2, [ 0, [ 0, 6, false ], null ], "\"french\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "restaurants", "query": "SELECT COUNT ( * ) FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = \"palo alto\" AND t1.food_type = \"french\";", "query_toks": [ "SELECT", "COUNT", "(", "*", ")", "FROM", "restaurant", "AS", "t1", "JOIN", "LOCATION", "AS", "t2", "ON", "t1.id", "=", "t2.restaurant_id", "WHERE", "t2.city_name", "=", "``", "palo", "alto", "''", "AND", "t1.food_type", "=", "``", "french", "''", ";" ], "query_toks_no_value": [ "select", "count", "(", "*", ")", "from", "restaurant", "as", "t1", "join", "location", "as", "t2", "on", "t1", ".", "id", "=", "t2", ".", "restaurant_id", "where", "t2", ".", "city_name", "=", "value", "and", "t1", ".", "food_type", "=", "value" ], "question": "quantos restaurantes franceses existem em palo alto?", "question_toks": [ "quantos", "restaurantes", "franceses", "existem", "em", "palo", "alto", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 9, false ], null ] ] }, "select": [ false, [ [ 3, [ 0, [ 0, 0, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 12, false ], null ], "\"palo alto\"", null ], "and", [ false, 2, [ 0, [ 0, 6, false ], null ], "\"french\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "restaurants", "query": "SELECT COUNT ( * ) FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = \"palo alto\" AND t1.food_type = \"french\";", "query_toks": [ "SELECT", "COUNT", "(", "*", ")", "FROM", "restaurant", "AS", "t1", "JOIN", "LOCATION", "AS", "t2", "ON", "t1.id", "=", "t2.restaurant_id", "WHERE", "t2.city_name", "=", "``", "palo", "alto", "''", "AND", "t1.food_type", "=", "``", "french", "''", ";" ], "query_toks_no_value": [ "select", "count", "(", "*", ")", "from", "restaurant", "as", "t1", "join", "location", "as", "t2", "on", "t1", ".", "id", "=", "t2", ".", "restaurant_id", "where", "t2", ".", "city_name", "=", "value", "and", "t1", ".", "food_type", "=", "value" ], "question": "quantos restaurantes franceses existem em palo alto?", "question_toks": [ "quantos", "restaurantes", "franceses", "existem", "em", "palo", "alto", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 9, false ], null ] ] }, "select": [ false, [ [ 3, [ 0, [ 0, 0, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 12, false ], null ], "\"palo alto\"", null ], "and", [ false, 2, [ 0, [ 0, 6, false ], null ], "\"french\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "restaurants", "query": "SELECT COUNT ( * ) FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = \"palo alto\" AND t1.food_type = \"french\";", "query_toks": [ "SELECT", "COUNT", "(", "*", ")", "FROM", "restaurant", "AS", "t1", "JOIN", "LOCATION", "AS", "t2", "ON", "t1.id", "=", "t2.restaurant_id", "WHERE", "t2.city_name", "=", "``", "palo", "alto", "''", "AND", "t1.food_type", "=", "``", "french", "''", ";" ], "query_toks_no_value": [ "select", "count", "(", "*", ")", "from", "restaurant", "as", "t1", "join", "location", "as", "t2", "on", "t1", ".", "id", "=", "t2", ".", "restaurant_id", "where", "t2", ".", "city_name", "=", "value", "and", "t1", ".", "food_type", "=", "value" ], "question": "quantos lugares para francês há em palo alto?", "question_toks": [ "quantos", "lugares", "para", "francês", "há", "em", "palo", "alto", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 9, false ], null ] ] }, "select": [ false, [ [ 3, [ 0, [ 0, 0, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 12, false ], null ], "\"palo alto\"", null ], "and", [ false, 2, [ 0, [ 0, 6, false ], null ], "\"french\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "restaurants", "query": "SELECT COUNT ( * ) FROM restaurant AS t1 JOIN geographic AS t2 ON t1.city_name = t2.city_name WHERE t2.county = \"yolo county\" AND t1.food_type = \"italian\";", "query_toks": [ "SELECT", "COUNT", "(", "*", ")", "FROM", "restaurant", "AS", "t1", "JOIN", "geographic", "AS", "t2", "ON", "t1.city_name", "=", "t2.city_name", "WHERE", "t2.county", "=", "``", "yolo", "county", "''", "AND", "t1.food_type", "=", "``", "italian", "''", ";" ], "query_toks_no_value": [ "select", "count", "(", "*", ")", "from", "restaurant", "as", "t1", "join", "geographic", "as", "t2", "on", "t1", ".", "city_name", "=", "t2", ".", "city_name", "where", "t2", ".", "county", "=", "value", "and", "t1", ".", "food_type", "=", "value" ], "question": "quantos restaurantes italianos existem no condado de yolo?", "question_toks": [ "quantos", "restaurantes", "italianos", "existem", "no", "condado", "de", "yolo", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 7, false ], null ], [ 0, 1, false ], null ] ] }, "select": [ false, [ [ 3, [ 0, [ 0, 0, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 2, false ], null ], "\"yolo county\"", null ], "and", [ false, 2, [ 0, [ 0, 6, false ], null ], "\"italian\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "restaurants", "query": "SELECT t2.house_number , t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = \"mountain view\" AND t1.food_type = \"french\";", "query_toks": [ "SELECT", "t2.house_number", ",", "t1.name", "FROM", "restaurant", "AS", "t1", "JOIN", "LOCATION", "AS", "t2", "ON", "t1.id", "=", "t2.restaurant_id", "WHERE", "t2.city_name", "=", "``", "mountain", "view", "''", "AND", "t1.food_type", "=", "``", "french", "''", ";" ], "query_toks_no_value": [ "select", "t2", ".", "house_number", ",", "t1", ".", "name", "from", "restaurant", "as", "t1", "join", "location", "as", "t2", "on", "t1", ".", "id", "=", "t2", ".", "restaurant_id", "where", "t2", ".", "city_name", "=", "value", "and", "t1", ".", "food_type", "=", "value" ], "question": "Onde posso comer comida francesa em Mountain View?", "question_toks": [ "Onde", "posso", "comer", "comida", "francesa", "em", "Mountain", "View", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 9, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 10, false ], null ] ], [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 12, false ], null ], "\"mountain view\"", null ], "and", [ false, 2, [ 0, [ 0, 6, false ], null ], "\"french\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "restaurants", "query": "SELECT COUNT ( * ) FROM restaurant AS t1 JOIN geographic AS t2 ON t1.city_name = t2.city_name WHERE t2.region = \"bay area\" AND t1.name = \"denny\";", "query_toks": [ "SELECT", "COUNT", "(", "*", ")", "FROM", "restaurant", "AS", "t1", "JOIN", "geographic", "AS", "t2", "ON", "t1.city_name", "=", "t2.city_name", "WHERE", "t2.region", "=", "``", "bay", "area", "''", "AND", "t1.name", "=", "``", "denny", "''", ";" ], "query_toks_no_value": [ "select", "count", "(", "*", ")", "from", "restaurant", "as", "t1", "join", "geographic", "as", "t2", "on", "t1", ".", "city_name", "=", "t2", ".", "city_name", "where", "t2", ".", "region", "=", "value", "and", "t1", ".", "name", "=", "value" ], "question": "quantos denny existem na área da baía?", "question_toks": [ "quantos", "denny", "existem", "na", "área", "da", "baía", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 7, false ], null ], [ 0, 1, false ], null ] ] }, "select": [ false, [ [ 3, [ 0, [ 0, 0, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], "\"bay area\"", null ], "and", [ false, 2, [ 0, [ 0, 5, false ], null ], "\"denny\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "restaurants", "query": "SELECT t2.house_number , t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = \"alameda\" AND t1.rating > 2.5;", "query_toks": [ "SELECT", "t2.house_number", ",", "t1.name", "FROM", "restaurant", "AS", "t1", "JOIN", "LOCATION", "AS", "t2", "ON", "t1.id", "=", "t2.restaurant_id", "WHERE", "t2.city_name", "=", "``", "alameda", "''", "AND", "t1.rating", ">", "2.5", ";" ], "query_toks_no_value": [ "select", "t2", ".", "house_number", ",", "t1", ".", "name", "from", "restaurant", "as", "t1", "join", "location", "as", "t2", "on", "t1", ".", "id", "=", "t2", ".", "restaurant_id", "where", "t2", ".", "city_name", "=", "value", "and", "t1", ".", "rating", ">", "value" ], "question": "me dê um bom restaurante na alameda?", "question_toks": [ "me", "dê", "um", "bom", "restaurante", "na", "alameda", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 9, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 10, false ], null ] ], [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 12, false ], null ], "\"alameda\"", null ], "and", [ false, 3, [ 0, [ 0, 8, false ], null ], 2.5, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "restaurants", "query": "SELECT t2.house_number , t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = \"alameda\" AND t1.rating > 2.5;", "query_toks": [ "SELECT", "t2.house_number", ",", "t1.name", "FROM", "restaurant", "AS", "t1", "JOIN", "LOCATION", "AS", "t2", "ON", "t1.id", "=", "t2.restaurant_id", "WHERE", "t2.city_name", "=", "``", "alameda", "''", "AND", "t1.rating", ">", "2.5", ";" ], "query_toks_no_value": [ "select", "t2", ".", "house_number", ",", "t1", ".", "name", "from", "restaurant", "as", "t1", "join", "location", "as", "t2", "on", "t1", ".", "id", "=", "t2", ".", "restaurant_id", "where", "t2", ".", "city_name", "=", "value", "and", "t1", ".", "rating", ">", "value" ], "question": "quais são alguns bons restaurantes na alameda?", "question_toks": [ "quais", "são", "alguns", "bons", "restaurantes", "na", "alameda", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 9, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 10, false ], null ] ], [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 12, false ], null ], "\"alameda\"", null ], "and", [ false, 3, [ 0, [ 0, 8, false ], null ], 2.5, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "restaurants", "query": "SELECT t2.house_number , t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = \"alameda\" AND t1.rating > 2.5;", "query_toks": [ "SELECT", "t2.house_number", ",", "t1.name", "FROM", "restaurant", "AS", "t1", "JOIN", "LOCATION", "AS", "t2", "ON", "t1.id", "=", "t2.restaurant_id", "WHERE", "t2.city_name", "=", "``", "alameda", "''", "AND", "t1.rating", ">", "2.5", ";" ], "query_toks_no_value": [ "select", "t2", ".", "house_number", ",", "t1", ".", "name", "from", "restaurant", "as", "t1", "join", "location", "as", "t2", "on", "t1", ".", "id", "=", "t2", ".", "restaurant_id", "where", "t2", ".", "city_name", "=", "value", "and", "t1", ".", "rating", ">", "value" ], "question": "o que é um bom restaurante na alameda?", "question_toks": [ "o", "que", "é", "um", "bom", "restaurante", "na", "alameda", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 9, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 10, false ], null ] ], [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 12, false ], null ], "\"alameda\"", null ], "and", [ false, 3, [ 0, [ 0, 8, false ], null ], 2.5, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "restaurants", "query": "SELECT t2.house_number , t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = \"alameda\" AND t1.rating > 2.5;", "query_toks": [ "SELECT", "t2.house_number", ",", "t1.name", "FROM", "restaurant", "AS", "t1", "JOIN", "LOCATION", "AS", "t2", "ON", "t1.id", "=", "t2.restaurant_id", "WHERE", "t2.city_name", "=", "``", "alameda", "''", "AND", "t1.rating", ">", "2.5", ";" ], "query_toks_no_value": [ "select", "t2", ".", "house_number", ",", "t1", ".", "name", "from", "restaurant", "as", "t1", "join", "location", "as", "t2", "on", "t1", ".", "id", "=", "t2", ".", "restaurant_id", "where", "t2", ".", "city_name", "=", "value", "and", "t1", ".", "rating", ">", "value" ], "question": "me dê alguns bons restaurantes na alameda?", "question_toks": [ "me", "dê", "alguns", "bons", "restaurantes", "na", "alameda", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 9, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 10, false ], null ] ], [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 12, false ], null ], "\"alameda\"", null ], "and", [ false, 3, [ 0, [ 0, 8, false ], null ], 2.5, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "restaurants", "query": "SELECT t2.house_number , t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = \"san francisco\" AND t2.street_name = \"buchanan\" AND t1.food_type = \"arabic\" AND t1.rating > 2.5;", "query_toks": [ "SELECT", "t2.house_number", ",", "t1.name", "FROM", "restaurant", "AS", "t1", "JOIN", "LOCATION", "AS", "t2", "ON", "t1.id", "=", "t2.restaurant_id", "WHERE", "t2.city_name", "=", "``", "san", "francisco", "''", "AND", "t2.street_name", "=", "``", "buchanan", "''", "AND", "t1.food_type", "=", "``", "arabic", "''", "AND", "t1.rating", ">", "2.5", ";" ], "query_toks_no_value": [ "select", "t2", ".", "house_number", ",", "t1", ".", "name", "from", "restaurant", "as", "t1", "join", "location", "as", "t2", "on", "t1", ".", "id", "=", "t2", ".", "restaurant_id", "where", "t2", ".", "city_name", "=", "value", "and", "t2", ".", "street_name", "=", "value", "and", "t1", ".", "food_type", "=", "value", "and", "t1", ".", "rating", ">", "value" ], "question": "onde há um bom restaurante em buchanan em san francisco para comida árabe?", "question_toks": [ "onde", "há", "um", "bom", "restaurante", "em", "buchanan", "em", "san", "francisco", "para", "comida", "árabe", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 9, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 10, false ], null ] ], [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 12, false ], null ], "\"san francisco\"", null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], "\"buchanan\"", null ], "and", [ false, 2, [ 0, [ 0, 6, false ], null ], "\"arabic\"", null ], "and", [ false, 3, [ 0, [ 0, 8, false ], null ], 2.5, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "restaurants", "query": "SELECT t2.house_number , t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = \"san francisco\" AND t2.street_name = \"buchanan\" AND t1.food_type = \"arabic\" AND t1.rating > 2.5;", "query_toks": [ "SELECT", "t2.house_number", ",", "t1.name", "FROM", "restaurant", "AS", "t1", "JOIN", "LOCATION", "AS", "t2", "ON", "t1.id", "=", "t2.restaurant_id", "WHERE", "t2.city_name", "=", "``", "san", "francisco", "''", "AND", "t2.street_name", "=", "``", "buchanan", "''", "AND", "t1.food_type", "=", "``", "arabic", "''", "AND", "t1.rating", ">", "2.5", ";" ], "query_toks_no_value": [ "select", "t2", ".", "house_number", ",", "t1", ".", "name", "from", "restaurant", "as", "t1", "join", "location", "as", "t2", "on", "t1", ".", "id", "=", "t2", ".", "restaurant_id", "where", "t2", ".", "city_name", "=", "value", "and", "t2", ".", "street_name", "=", "value", "and", "t1", ".", "food_type", "=", "value", "and", "t1", ".", "rating", ">", "value" ], "question": "onde estão alguns bons árabes em buchanan em san francisco?", "question_toks": [ "onde", "estão", "alguns", "bons", "árabes", "em", "buchanan", "em", "san", "francisco", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 9, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 10, false ], null ] ], [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 12, false ], null ], "\"san francisco\"", null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], "\"buchanan\"", null ], "and", [ false, 2, [ 0, [ 0, 6, false ], null ], "\"arabic\"", null ], "and", [ false, 3, [ 0, [ 0, 8, false ], null ], 2.5, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "restaurants", "query": "SELECT t2.house_number , t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = \"san francisco\" AND t2.street_name = \"buchanan\" AND t1.food_type = \"arabic\" AND t1.rating > 2.5;", "query_toks": [ "SELECT", "t2.house_number", ",", "t1.name", "FROM", "restaurant", "AS", "t1", "JOIN", "LOCATION", "AS", "t2", "ON", "t1.id", "=", "t2.restaurant_id", "WHERE", "t2.city_name", "=", "``", "san", "francisco", "''", "AND", "t2.street_name", "=", "``", "buchanan", "''", "AND", "t1.food_type", "=", "``", "arabic", "''", "AND", "t1.rating", ">", "2.5", ";" ], "query_toks_no_value": [ "select", "t2", ".", "house_number", ",", "t1", ".", "name", "from", "restaurant", "as", "t1", "join", "location", "as", "t2", "on", "t1", ".", "id", "=", "t2", ".", "restaurant_id", "where", "t2", ".", "city_name", "=", "value", "and", "t2", ".", "street_name", "=", "value", "and", "t1", ".", "food_type", "=", "value", "and", "t1", ".", "rating", ">", "value" ], "question": "onde fica um bom restaurante árabe em buchanan, em san francisco?", "question_toks": [ "onde", "fica", "um", "bom", "restaurante", "árabe", "em", "buchanan", ",", "em", "san", "francisco", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 9, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 10, false ], null ] ], [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 12, false ], null ], "\"san francisco\"", null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], "\"buchanan\"", null ], "and", [ false, 2, [ 0, [ 0, 6, false ], null ], "\"arabic\"", null ], "and", [ false, 3, [ 0, [ 0, 8, false ], null ], 2.5, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "restaurants", "query": "SELECT t2.house_number , t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = \"san francisco\" AND t2.street_name = \"buchanan\" AND t1.food_type = \"arabic\" AND t1.rating > 2.5;", "query_toks": [ "SELECT", "t2.house_number", ",", "t1.name", "FROM", "restaurant", "AS", "t1", "JOIN", "LOCATION", "AS", "t2", "ON", "t1.id", "=", "t2.restaurant_id", "WHERE", "t2.city_name", "=", "``", "san", "francisco", "''", "AND", "t2.street_name", "=", "``", "buchanan", "''", "AND", "t1.food_type", "=", "``", "arabic", "''", "AND", "t1.rating", ">", "2.5", ";" ], "query_toks_no_value": [ "select", "t2", ".", "house_number", ",", "t1", ".", "name", "from", "restaurant", "as", "t1", "join", "location", "as", "t2", "on", "t1", ".", "id", "=", "t2", ".", "restaurant_id", "where", "t2", ".", "city_name", "=", "value", "and", "t2", ".", "street_name", "=", "value", "and", "t1", ".", "food_type", "=", "value", "and", "t1", ".", "rating", ">", "value" ], "question": "quais são alguns bons lugares para comer árabe em buchanan em san francisco?", "question_toks": [ "quais", "são", "alguns", "bons", "lugares", "para", "comer", "árabe", "em", "buchanan", "em", "san", "francisco", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 9, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 10, false ], null ] ], [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 12, false ], null ], "\"san francisco\"", null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], "\"buchanan\"", null ], "and", [ false, 2, [ 0, [ 0, 6, false ], null ], "\"arabic\"", null ], "and", [ false, 3, [ 0, [ 0, 8, false ], null ], 2.5, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "restaurants", "query": "SELECT t2.house_number , t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = \"san francisco\" AND t2.street_name = \"buchanan\" AND t1.food_type = \"arabic\" AND t1.rating > 2.5;", "query_toks": [ "SELECT", "t2.house_number", ",", "t1.name", "FROM", "restaurant", "AS", "t1", "JOIN", "LOCATION", "AS", "t2", "ON", "t1.id", "=", "t2.restaurant_id", "WHERE", "t2.city_name", "=", "``", "san", "francisco", "''", "AND", "t2.street_name", "=", "``", "buchanan", "''", "AND", "t1.food_type", "=", "``", "arabic", "''", "AND", "t1.rating", ">", "2.5", ";" ], "query_toks_no_value": [ "select", "t2", ".", "house_number", ",", "t1", ".", "name", "from", "restaurant", "as", "t1", "join", "location", "as", "t2", "on", "t1", ".", "id", "=", "t2", ".", "restaurant_id", "where", "t2", ".", "city_name", "=", "value", "and", "t2", ".", "street_name", "=", "value", "and", "t1", ".", "food_type", "=", "value", "and", "t1", ".", "rating", ">", "value" ], "question": "me dê um bom árabe em buchanan em san francisco?", "question_toks": [ "me", "dê", "um", "bom", "árabe", "em", "buchanan", "em", "san", "francisco", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 9, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 10, false ], null ] ], [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 12, false ], null ], "\"san francisco\"", null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], "\"buchanan\"", null ], "and", [ false, 2, [ 0, [ 0, 6, false ], null ], "\"arabic\"", null ], "and", [ false, 3, [ 0, [ 0, 8, false ], null ], 2.5, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "restaurants", "query": "SELECT t2.house_number , t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = \"san francisco\" AND t2.street_name = \"buchanan\" AND t1.food_type = \"arabic\" AND t1.rating > 2.5;", "query_toks": [ "SELECT", "t2.house_number", ",", "t1.name", "FROM", "restaurant", "AS", "t1", "JOIN", "LOCATION", "AS", "t2", "ON", "t1.id", "=", "t2.restaurant_id", "WHERE", "t2.city_name", "=", "``", "san", "francisco", "''", "AND", "t2.street_name", "=", "``", "buchanan", "''", "AND", "t1.food_type", "=", "``", "arabic", "''", "AND", "t1.rating", ">", "2.5", ";" ], "query_toks_no_value": [ "select", "t2", ".", "house_number", ",", "t1", ".", "name", "from", "restaurant", "as", "t1", "join", "location", "as", "t2", "on", "t1", ".", "id", "=", "t2", ".", "restaurant_id", "where", "t2", ".", "city_name", "=", "value", "and", "t2", ".", "street_name", "=", "value", "and", "t1", ".", "food_type", "=", "value", "and", "t1", ".", "rating", ">", "value" ], "question": "me dê alguns restaurantes bons para comida árabe em buchanan em san francisco?", "question_toks": [ "me", "dê", "alguns", "restaurantes", "bons", "para", "comida", "árabe", "em", "buchanan", "em", "san", "francisco", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 9, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 10, false ], null ] ], [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 12, false ], null ], "\"san francisco\"", null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], "\"buchanan\"", null ], "and", [ false, 2, [ 0, [ 0, 6, false ], null ], "\"arabic\"", null ], "and", [ false, 3, [ 0, [ 0, 8, false ], null ], 2.5, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "restaurants", "query": "SELECT t2.house_number , t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = \"san francisco\" AND t2.street_name = \"buchanan\" AND t1.food_type = \"arabic\" AND t1.rating > 2.5;", "query_toks": [ "SELECT", "t2.house_number", ",", "t1.name", "FROM", "restaurant", "AS", "t1", "JOIN", "LOCATION", "AS", "t2", "ON", "t1.id", "=", "t2.restaurant_id", "WHERE", "t2.city_name", "=", "``", "san", "francisco", "''", "AND", "t2.street_name", "=", "``", "buchanan", "''", "AND", "t1.food_type", "=", "``", "arabic", "''", "AND", "t1.rating", ">", "2.5", ";" ], "query_toks_no_value": [ "select", "t2", ".", "house_number", ",", "t1", ".", "name", "from", "restaurant", "as", "t1", "join", "location", "as", "t2", "on", "t1", ".", "id", "=", "t2", ".", "restaurant_id", "where", "t2", ".", "city_name", "=", "value", "and", "t2", ".", "street_name", "=", "value", "and", "t1", ".", "food_type", "=", "value", "and", "t1", ".", "rating", ">", "value" ], "question": "me dê um bom lugar em buchanan em san francisco para comida árabe?", "question_toks": [ "me", "dê", "um", "bom", "lugar", "em", "buchanan", "em", "san", "francisco", "para", "comida", "árabe", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 9, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 10, false ], null ] ], [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 12, false ], null ], "\"san francisco\"", null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], "\"buchanan\"", null ], "and", [ false, 2, [ 0, [ 0, 6, false ], null ], "\"arabic\"", null ], "and", [ false, 3, [ 0, [ 0, 8, false ], null ], 2.5, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "restaurants", "query": "SELECT t2.house_number , t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = \"san francisco\" AND t2.street_name = \"buchanan\" AND t1.food_type = \"arabic\" AND t1.rating > 2.5;", "query_toks": [ "SELECT", "t2.house_number", ",", "t1.name", "FROM", "restaurant", "AS", "t1", "JOIN", "LOCATION", "AS", "t2", "ON", "t1.id", "=", "t2.restaurant_id", "WHERE", "t2.city_name", "=", "``", "san", "francisco", "''", "AND", "t2.street_name", "=", "``", "buchanan", "''", "AND", "t1.food_type", "=", "``", "arabic", "''", "AND", "t1.rating", ">", "2.5", ";" ], "query_toks_no_value": [ "select", "t2", ".", "house_number", ",", "t1", ".", "name", "from", "restaurant", "as", "t1", "join", "location", "as", "t2", "on", "t1", ".", "id", "=", "t2", ".", "restaurant_id", "where", "t2", ".", "city_name", "=", "value", "and", "t2", ".", "street_name", "=", "value", "and", "t1", ".", "food_type", "=", "value", "and", "t1", ".", "rating", ">", "value" ], "question": "onde há um bom lugar em buchanan, em san francisco, para comida árabe?", "question_toks": [ "onde", "há", "um", "bom", "lugar", "em", "buchanan", ",", "em", "san", "francisco", ",", "para", "comida", "árabe", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 9, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 10, false ], null ] ], [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 12, false ], null ], "\"san francisco\"", null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], "\"buchanan\"", null ], "and", [ false, 2, [ 0, [ 0, 6, false ], null ], "\"arabic\"", null ], "and", [ false, 3, [ 0, [ 0, 8, false ], null ], 2.5, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "restaurants", "query": "SELECT t2.house_number , t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = \"san francisco\" AND t2.street_name = \"buchanan\" AND t1.food_type = \"arabic\" AND t1.rating > 2.5;", "query_toks": [ "SELECT", "t2.house_number", ",", "t1.name", "FROM", "restaurant", "AS", "t1", "JOIN", "LOCATION", "AS", "t2", "ON", "t1.id", "=", "t2.restaurant_id", "WHERE", "t2.city_name", "=", "``", "san", "francisco", "''", "AND", "t2.street_name", "=", "``", "buchanan", "''", "AND", "t1.food_type", "=", "``", "arabic", "''", "AND", "t1.rating", ">", "2.5", ";" ], "query_toks_no_value": [ "select", "t2", ".", "house_number", ",", "t1", ".", "name", "from", "restaurant", "as", "t1", "join", "location", "as", "t2", "on", "t1", ".", "id", "=", "t2", ".", "restaurant_id", "where", "t2", ".", "city_name", "=", "value", "and", "t2", ".", "street_name", "=", "value", "and", "t1", ".", "food_type", "=", "value", "and", "t1", ".", "rating", ">", "value" ], "question": "onde posso comer comida árabe em buchanan em san francisco?", "question_toks": [ "onde", "posso", "comer", "comida", "árabe", "em", "buchanan", "em", "san", "francisco", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 9, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 10, false ], null ] ], [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 12, false ], null ], "\"san francisco\"", null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], "\"buchanan\"", null ], "and", [ false, 2, [ 0, [ 0, 6, false ], null ], "\"arabic\"", null ], "and", [ false, 3, [ 0, [ 0, 8, false ], null ], 2.5, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "restaurants", "query": "SELECT t2.house_number , t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = \"san francisco\" AND t2.street_name = \"buchanan\" AND t1.food_type = \"arabic\" AND t1.rating > 2.5;", "query_toks": [ "SELECT", "t2.house_number", ",", "t1.name", "FROM", "restaurant", "AS", "t1", "JOIN", "LOCATION", "AS", "t2", "ON", "t1.id", "=", "t2.restaurant_id", "WHERE", "t2.city_name", "=", "``", "san", "francisco", "''", "AND", "t2.street_name", "=", "``", "buchanan", "''", "AND", "t1.food_type", "=", "``", "arabic", "''", "AND", "t1.rating", ">", "2.5", ";" ], "query_toks_no_value": [ "select", "t2", ".", "house_number", ",", "t1", ".", "name", "from", "restaurant", "as", "t1", "join", "location", "as", "t2", "on", "t1", ".", "id", "=", "t2", ".", "restaurant_id", "where", "t2", ".", "city_name", "=", "value", "and", "t2", ".", "street_name", "=", "value", "and", "t1", ".", "food_type", "=", "value", "and", "t1", ".", "rating", ">", "value" ], "question": "me dê alguns bons lugares em buchanan em san francisco para comida árabe", "question_toks": [ "me", "dê", "alguns", "bons", "lugares", "em", "buchanan", "em", "san", "francisco", "para", "comida", "árabe" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 9, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 10, false ], null ] ], [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 12, false ], null ], "\"san francisco\"", null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], "\"buchanan\"", null ], "and", [ false, 2, [ 0, [ 0, 6, false ], null ], "\"arabic\"", null ], "and", [ false, 3, [ 0, [ 0, 8, false ], null ], 2.5, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "restaurants", "query": "SELECT t2.house_number , t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = \"san francisco\" AND t2.street_name = \"buchanan\" AND t1.food_type = \"arabic\" AND t1.rating > 2.5;", "query_toks": [ "SELECT", "t2.house_number", ",", "t1.name", "FROM", "restaurant", "AS", "t1", "JOIN", "LOCATION", "AS", "t2", "ON", "t1.id", "=", "t2.restaurant_id", "WHERE", "t2.city_name", "=", "``", "san", "francisco", "''", "AND", "t2.street_name", "=", "``", "buchanan", "''", "AND", "t1.food_type", "=", "``", "arabic", "''", "AND", "t1.rating", ">", "2.5", ";" ], "query_toks_no_value": [ "select", "t2", ".", "house_number", ",", "t1", ".", "name", "from", "restaurant", "as", "t1", "join", "location", "as", "t2", "on", "t1", ".", "id", "=", "t2", ".", "restaurant_id", "where", "t2", ".", "city_name", "=", "value", "and", "t2", ".", "street_name", "=", "value", "and", "t1", ".", "food_type", "=", "value", "and", "t1", ".", "rating", ">", "value" ], "question": "onde fica um restaurante árabe em buchanan, em san francisco?", "question_toks": [ "onde", "fica", "um", "restaurante", "árabe", "em", "buchanan", ",", "em", "san", "francisco", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 9, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 10, false ], null ] ], [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 12, false ], null ], "\"san francisco\"", null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], "\"buchanan\"", null ], "and", [ false, 2, [ 0, [ 0, 6, false ], null ], "\"arabic\"", null ], "and", [ false, 3, [ 0, [ 0, 8, false ], null ], 2.5, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "restaurants", "query": "SELECT t2.house_number , t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = \"san francisco\" AND t2.street_name = \"buchanan\" AND t1.food_type = \"arabic\" AND t1.rating > 2.5;", "query_toks": [ "SELECT", "t2.house_number", ",", "t1.name", "FROM", "restaurant", "AS", "t1", "JOIN", "LOCATION", "AS", "t2", "ON", "t1.id", "=", "t2.restaurant_id", "WHERE", "t2.city_name", "=", "``", "san", "francisco", "''", "AND", "t2.street_name", "=", "``", "buchanan", "''", "AND", "t1.food_type", "=", "``", "arabic", "''", "AND", "t1.rating", ">", "2.5", ";" ], "query_toks_no_value": [ "select", "t2", ".", "house_number", ",", "t1", ".", "name", "from", "restaurant", "as", "t1", "join", "location", "as", "t2", "on", "t1", ".", "id", "=", "t2", ".", "restaurant_id", "where", "t2", ".", "city_name", "=", "value", "and", "t2", ".", "street_name", "=", "value", "and", "t1", ".", "food_type", "=", "value", "and", "t1", ".", "rating", ">", "value" ], "question": "me dê um restaurante em buchanan, em san francisco, que sirva boa comida árabe?", "question_toks": [ "me", "dê", "um", "restaurante", "em", "buchanan", ",", "em", "san", "francisco", ",", "que", "sirva", "boa", "comida", "árabe", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 9, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 10, false ], null ] ], [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 12, false ], null ], "\"san francisco\"", null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], "\"buchanan\"", null ], "and", [ false, 2, [ 0, [ 0, 6, false ], null ], "\"arabic\"", null ], "and", [ false, 3, [ 0, [ 0, 8, false ], null ], 2.5, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "restaurants", "query": "SELECT t2.house_number , t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = \"san francisco\" AND t2.street_name = \"buchanan\" AND t1.food_type = \"arabic\" AND t1.rating > 2.5;", "query_toks": [ "SELECT", "t2.house_number", ",", "t1.name", "FROM", "restaurant", "AS", "t1", "JOIN", "LOCATION", "AS", "t2", "ON", "t1.id", "=", "t2.restaurant_id", "WHERE", "t2.city_name", "=", "``", "san", "francisco", "''", "AND", "t2.street_name", "=", "``", "buchanan", "''", "AND", "t1.food_type", "=", "``", "arabic", "''", "AND", "t1.rating", ">", "2.5", ";" ], "query_toks_no_value": [ "select", "t2", ".", "house_number", ",", "t1", ".", "name", "from", "restaurant", "as", "t1", "join", "location", "as", "t2", "on", "t1", ".", "id", "=", "t2", ".", "restaurant_id", "where", "t2", ".", "city_name", "=", "value", "and", "t2", ".", "street_name", "=", "value", "and", "t1", ".", "food_type", "=", "value", "and", "t1", ".", "rating", ">", "value" ], "question": "me dê um bom restaurante em buchanan em san francisco para comida árabe?", "question_toks": [ "me", "dê", "um", "bom", "restaurante", "em", "buchanan", "em", "san", "francisco", "para", "comida", "árabe", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 9, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 10, false ], null ] ], [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 12, false ], null ], "\"san francisco\"", null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], "\"buchanan\"", null ], "and", [ false, 2, [ 0, [ 0, 6, false ], null ], "\"arabic\"", null ], "and", [ false, 3, [ 0, [ 0, 8, false ], null ], 2.5, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "restaurants", "query": "SELECT t2.house_number , t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = \"san francisco\" AND t2.street_name = \"buchanan\" AND t1.food_type = \"arabic\" AND t1.rating > 2.5;", "query_toks": [ "SELECT", "t2.house_number", ",", "t1.name", "FROM", "restaurant", "AS", "t1", "JOIN", "LOCATION", "AS", "t2", "ON", "t1.id", "=", "t2.restaurant_id", "WHERE", "t2.city_name", "=", "``", "san", "francisco", "''", "AND", "t2.street_name", "=", "``", "buchanan", "''", "AND", "t1.food_type", "=", "``", "arabic", "''", "AND", "t1.rating", ">", "2.5", ";" ], "query_toks_no_value": [ "select", "t2", ".", "house_number", ",", "t1", ".", "name", "from", "restaurant", "as", "t1", "join", "location", "as", "t2", "on", "t1", ".", "id", "=", "t2", ".", "restaurant_id", "where", "t2", ".", "city_name", "=", "value", "and", "t2", ".", "street_name", "=", "value", "and", "t1", ".", "food_type", "=", "value", "and", "t1", ".", "rating", ">", "value" ], "question": "onde fica um restaurante em buchanan, em san francisco, que serve boa comida árabe?", "question_toks": [ "onde", "fica", "um", "restaurante", "em", "buchanan", ",", "em", "san", "francisco", ",", "que", "serve", "boa", "comida", "árabe", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 9, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 10, false ], null ] ], [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 12, false ], null ], "\"san francisco\"", null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], "\"buchanan\"", null ], "and", [ false, 2, [ 0, [ 0, 6, false ], null ], "\"arabic\"", null ], "and", [ false, 3, [ 0, [ 0, 8, false ], null ], 2.5, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "restaurants", "query": "SELECT t2.house_number , t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = \"san francisco\" AND t2.street_name = \"buchanan\" AND t1.food_type = \"arabic\" AND t1.rating > 2.5;", "query_toks": [ "SELECT", "t2.house_number", ",", "t1.name", "FROM", "restaurant", "AS", "t1", "JOIN", "LOCATION", "AS", "t2", "ON", "t1.id", "=", "t2.restaurant_id", "WHERE", "t2.city_name", "=", "``", "san", "francisco", "''", "AND", "t2.street_name", "=", "``", "buchanan", "''", "AND", "t1.food_type", "=", "``", "arabic", "''", "AND", "t1.rating", ">", "2.5", ";" ], "query_toks_no_value": [ "select", "t2", ".", "house_number", ",", "t1", ".", "name", "from", "restaurant", "as", "t1", "join", "location", "as", "t2", "on", "t1", ".", "id", "=", "t2", ".", "restaurant_id", "where", "t2", ".", "city_name", "=", "value", "and", "t2", ".", "street_name", "=", "value", "and", "t1", ".", "food_type", "=", "value", "and", "t1", ".", "rating", ">", "value" ], "question": "me dê alguns bons restaurantes em buchanan em san francisco para comida árabe?", "question_toks": [ "me", "dê", "alguns", "bons", "restaurantes", "em", "buchanan", "em", "san", "francisco", "para", "comida", "árabe", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 9, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 10, false ], null ] ], [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 12, false ], null ], "\"san francisco\"", null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], "\"buchanan\"", null ], "and", [ false, 2, [ 0, [ 0, 6, false ], null ], "\"arabic\"", null ], "and", [ false, 3, [ 0, [ 0, 8, false ], null ], 2.5, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "restaurants", "query": "SELECT t2.house_number , t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = \"san francisco\" AND t2.street_name = \"buchanan\" AND t1.food_type = \"arabic\" AND t1.rating > 2.5;", "query_toks": [ "SELECT", "t2.house_number", ",", "t1.name", "FROM", "restaurant", "AS", "t1", "JOIN", "LOCATION", "AS", "t2", "ON", "t1.id", "=", "t2.restaurant_id", "WHERE", "t2.city_name", "=", "``", "san", "francisco", "''", "AND", "t2.street_name", "=", "``", "buchanan", "''", "AND", "t1.food_type", "=", "``", "arabic", "''", "AND", "t1.rating", ">", "2.5", ";" ], "query_toks_no_value": [ "select", "t2", ".", "house_number", ",", "t1", ".", "name", "from", "restaurant", "as", "t1", "join", "location", "as", "t2", "on", "t1", ".", "id", "=", "t2", ".", "restaurant_id", "where", "t2", ".", "city_name", "=", "value", "and", "t2", ".", "street_name", "=", "value", "and", "t1", ".", "food_type", "=", "value", "and", "t1", ".", "rating", ">", "value" ], "question": "me dê alguns bons lugares para o árabe em buchanan em san francisco?", "question_toks": [ "me", "dê", "alguns", "bons", "lugares", "para", "o", "árabe", "em", "buchanan", "em", "san", "francisco", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 9, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 10, false ], null ] ], [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 12, false ], null ], "\"san francisco\"", null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], "\"buchanan\"", null ], "and", [ false, 2, [ 0, [ 0, 6, false ], null ], "\"arabic\"", null ], "and", [ false, 3, [ 0, [ 0, 8, false ], null ], 2.5, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "restaurants", "query": "SELECT t2.house_number , t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = \"san francisco\" AND t2.street_name = \"buchanan\" AND t1.food_type = \"arabic\" AND t1.rating > 2.5;", "query_toks": [ "SELECT", "t2.house_number", ",", "t1.name", "FROM", "restaurant", "AS", "t1", "JOIN", "LOCATION", "AS", "t2", "ON", "t1.id", "=", "t2.restaurant_id", "WHERE", "t2.city_name", "=", "``", "san", "francisco", "''", "AND", "t2.street_name", "=", "``", "buchanan", "''", "AND", "t1.food_type", "=", "``", "arabic", "''", "AND", "t1.rating", ">", "2.5", ";" ], "query_toks_no_value": [ "select", "t2", ".", "house_number", ",", "t1", ".", "name", "from", "restaurant", "as", "t1", "join", "location", "as", "t2", "on", "t1", ".", "id", "=", "t2", ".", "restaurant_id", "where", "t2", ".", "city_name", "=", "value", "and", "t2", ".", "street_name", "=", "value", "and", "t1", ".", "food_type", "=", "value", "and", "t1", ".", "rating", ">", "value" ], "question": "onde posso comer uma boa comida árabe em buchanan em san francisco?", "question_toks": [ "onde", "posso", "comer", "uma", "boa", "comida", "árabe", "em", "buchanan", "em", "san", "francisco", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 9, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 10, false ], null ] ], [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 12, false ], null ], "\"san francisco\"", null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], "\"buchanan\"", null ], "and", [ false, 2, [ 0, [ 0, 6, false ], null ], "\"arabic\"", null ], "and", [ false, 3, [ 0, [ 0, 8, false ], null ], 2.5, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "restaurants", "query": "SELECT t2.house_number , t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = \"san francisco\" AND t2.street_name = \"buchanan\" AND t1.food_type = \"arabic\" AND t1.rating > 2.5;", "query_toks": [ "SELECT", "t2.house_number", ",", "t1.name", "FROM", "restaurant", "AS", "t1", "JOIN", "LOCATION", "AS", "t2", "ON", "t1.id", "=", "t2.restaurant_id", "WHERE", "t2.city_name", "=", "``", "san", "francisco", "''", "AND", "t2.street_name", "=", "``", "buchanan", "''", "AND", "t1.food_type", "=", "``", "arabic", "''", "AND", "t1.rating", ">", "2.5", ";" ], "query_toks_no_value": [ "select", "t2", ".", "house_number", ",", "t1", ".", "name", "from", "restaurant", "as", "t1", "join", "location", "as", "t2", "on", "t1", ".", "id", "=", "t2", ".", "restaurant_id", "where", "t2", ".", "city_name", "=", "value", "and", "t2", ".", "street_name", "=", "value", "and", "t1", ".", "food_type", "=", "value", "and", "t1", ".", "rating", ">", "value" ], "question": "onde está um bom árabe em buchanan em san francisco?", "question_toks": [ "onde", "está", "um", "bom", "árabe", "em", "buchanan", "em", "san", "francisco", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 9, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 10, false ], null ] ], [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 12, false ], null ], "\"san francisco\"", null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], "\"buchanan\"", null ], "and", [ false, 2, [ 0, [ 0, 6, false ], null ], "\"arabic\"", null ], "and", [ false, 3, [ 0, [ 0, 8, false ], null ], 2.5, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "restaurants", "query": "SELECT t2.house_number , t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = \"san francisco\" AND t2.street_name = \"buchanan\" AND t1.food_type = \"arabic\" AND t1.rating > 2.5;", "query_toks": [ "SELECT", "t2.house_number", ",", "t1.name", "FROM", "restaurant", "AS", "t1", "JOIN", "LOCATION", "AS", "t2", "ON", "t1.id", "=", "t2.restaurant_id", "WHERE", "t2.city_name", "=", "``", "san", "francisco", "''", "AND", "t2.street_name", "=", "``", "buchanan", "''", "AND", "t1.food_type", "=", "``", "arabic", "''", "AND", "t1.rating", ">", "2.5", ";" ], "query_toks_no_value": [ "select", "t2", ".", "house_number", ",", "t1", ".", "name", "from", "restaurant", "as", "t1", "join", "location", "as", "t2", "on", "t1", ".", "id", "=", "t2", ".", "restaurant_id", "where", "t2", ".", "city_name", "=", "value", "and", "t2", ".", "street_name", "=", "value", "and", "t1", ".", "food_type", "=", "value", "and", "t1", ".", "rating", ">", "value" ], "question": "onde há alguns restaurantes bons para comida árabe em buchanan em san francisco?", "question_toks": [ "onde", "há", "alguns", "restaurantes", "bons", "para", "comida", "árabe", "em", "buchanan", "em", "san", "francisco", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 9, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 10, false ], null ] ], [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 12, false ], null ], "\"san francisco\"", null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], "\"buchanan\"", null ], "and", [ false, 2, [ 0, [ 0, 6, false ], null ], "\"arabic\"", null ], "and", [ false, 3, [ 0, [ 0, 8, false ], null ], 2.5, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "restaurants", "query": "SELECT t2.house_number , t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = \"san francisco\" AND t2.street_name = \"buchanan\" AND t1.food_type = \"arabic\" AND t1.rating > 2.5;", "query_toks": [ "SELECT", "t2.house_number", ",", "t1.name", "FROM", "restaurant", "AS", "t1", "JOIN", "LOCATION", "AS", "t2", "ON", "t1.id", "=", "t2.restaurant_id", "WHERE", "t2.city_name", "=", "``", "san", "francisco", "''", "AND", "t2.street_name", "=", "``", "buchanan", "''", "AND", "t1.food_type", "=", "``", "arabic", "''", "AND", "t1.rating", ">", "2.5", ";" ], "query_toks_no_value": [ "select", "t2", ".", "house_number", ",", "t1", ".", "name", "from", "restaurant", "as", "t1", "join", "location", "as", "t2", "on", "t1", ".", "id", "=", "t2", ".", "restaurant_id", "where", "t2", ".", "city_name", "=", "value", "and", "t2", ".", "street_name", "=", "value", "and", "t1", ".", "food_type", "=", "value", "and", "t1", ".", "rating", ">", "value" ], "question": "onde estão alguns bons lugares para comer árabe em buchanan em san francisco?", "question_toks": [ "onde", "estão", "alguns", "bons", "lugares", "para", "comer", "árabe", "em", "buchanan", "em", "san", "francisco", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 9, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 10, false ], null ] ], [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 12, false ], null ], "\"san francisco\"", null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], "\"buchanan\"", null ], "and", [ false, 2, [ 0, [ 0, 6, false ], null ], "\"arabic\"", null ], "and", [ false, 3, [ 0, [ 0, 8, false ], null ], 2.5, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "restaurants", "query": "SELECT t2.house_number , t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = \"san francisco\" AND t2.street_name = \"buchanan\" AND t1.food_type = \"arabic\" AND t1.rating > 2.5;", "query_toks": [ "SELECT", "t2.house_number", ",", "t1.name", "FROM", "restaurant", "AS", "t1", "JOIN", "LOCATION", "AS", "t2", "ON", "t1.id", "=", "t2.restaurant_id", "WHERE", "t2.city_name", "=", "``", "san", "francisco", "''", "AND", "t2.street_name", "=", "``", "buchanan", "''", "AND", "t1.food_type", "=", "``", "arabic", "''", "AND", "t1.rating", ">", "2.5", ";" ], "query_toks_no_value": [ "select", "t2", ".", "house_number", ",", "t1", ".", "name", "from", "restaurant", "as", "t1", "join", "location", "as", "t2", "on", "t1", ".", "id", "=", "t2", ".", "restaurant_id", "where", "t2", ".", "city_name", "=", "value", "and", "t2", ".", "street_name", "=", "value", "and", "t1", ".", "food_type", "=", "value", "and", "t1", ".", "rating", ">", "value" ], "question": "me dê um bom restaurante árabe em buchanan em san francisco?", "question_toks": [ "me", "dê", "um", "bom", "restaurante", "árabe", "em", "buchanan", "em", "san", "francisco", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 9, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 10, false ], null ] ], [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 12, false ], null ], "\"san francisco\"", null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], "\"buchanan\"", null ], "and", [ false, 2, [ 0, [ 0, 6, false ], null ], "\"arabic\"", null ], "and", [ false, 3, [ 0, [ 0, 8, false ], null ], 2.5, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "restaurants", "query": "SELECT t2.house_number , t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = \"san francisco\" AND t2.street_name = \"buchanan\" AND t1.food_type = \"arabic\" AND t1.rating > 2.5;", "query_toks": [ "SELECT", "t2.house_number", ",", "t1.name", "FROM", "restaurant", "AS", "t1", "JOIN", "LOCATION", "AS", "t2", "ON", "t1.id", "=", "t2.restaurant_id", "WHERE", "t2.city_name", "=", "``", "san", "francisco", "''", "AND", "t2.street_name", "=", "``", "buchanan", "''", "AND", "t1.food_type", "=", "``", "arabic", "''", "AND", "t1.rating", ">", "2.5", ";" ], "query_toks_no_value": [ "select", "t2", ".", "house_number", ",", "t1", ".", "name", "from", "restaurant", "as", "t1", "join", "location", "as", "t2", "on", "t1", ".", "id", "=", "t2", ".", "restaurant_id", "where", "t2", ".", "city_name", "=", "value", "and", "t2", ".", "street_name", "=", "value", "and", "t1", ".", "food_type", "=", "value", "and", "t1", ".", "rating", ">", "value" ], "question": "me dê alguns bons árabes em buchanan em san francisco?", "question_toks": [ "me", "dê", "alguns", "bons", "árabes", "em", "buchanan", "em", "san", "francisco", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 9, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 10, false ], null ] ], [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 12, false ], null ], "\"san francisco\"", null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], "\"buchanan\"", null ], "and", [ false, 2, [ 0, [ 0, 6, false ], null ], "\"arabic\"", null ], "and", [ false, 3, [ 0, [ 0, 8, false ], null ], 2.5, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "restaurants", "query": "SELECT t3.house_number , t1.name FROM restaurant AS t1 JOIN geographic AS t2 ON t1.city_name = t2.city_name JOIN LOCATION AS t3 ON t1.id = t3.restaurant_id WHERE t2.region = \"bay area\" AND t1.food_type = \"french\";", "query_toks": [ "SELECT", "t3.house_number", ",", "t1.name", "FROM", "restaurant", "AS", "t1", "JOIN", "geographic", "AS", "t2", "ON", "t1.city_name", "=", "t2.city_name", "JOIN", "LOCATION", "AS", "t3", "ON", "t1.id", "=", "t3.restaurant_id", "WHERE", "t2.region", "=", "``", "bay", "area", "''", "AND", "t1.food_type", "=", "``", "french", "''", ";" ], "query_toks_no_value": [ "select", "t3", ".", "house_number", ",", "t1", ".", "name", "from", "restaurant", "as", "t1", "join", "geographic", "as", "t2", "on", "t1", ".", "city_name", "=", "t2", ".", "city_name", "join", "location", "as", "t3", "on", "t1", ".", "id", "=", "t3", ".", "restaurant_id", "where", "t2", ".", "region", "=", "value", "and", "t1", ".", "food_type", "=", "value" ], "question": "Onde posso comer comida francesa na área da baía?", "question_toks": [ "Onde", "posso", "comer", "comida", "francesa", "na", "área", "da", "baía", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 0 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 7, false ], null ], [ 0, 1, false ], null ], "and", [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 9, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 10, false ], null ] ], [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], "\"bay area\"", null ], "and", [ false, 2, [ 0, [ 0, 6, false ], null ], "\"french\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "restaurants", "query": "SELECT t2.house_number , t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = \"bethel island\" AND t2.street_name = \"bethel island rd\";", "query_toks": [ "SELECT", "t2.house_number", ",", "t1.name", "FROM", "restaurant", "AS", "t1", "JOIN", "LOCATION", "AS", "t2", "ON", "t1.id", "=", "t2.restaurant_id", "WHERE", "t2.city_name", "=", "``", "bethel", "island", "''", "AND", "t2.street_name", "=", "``", "bethel", "island", "rd", "''", ";" ], "query_toks_no_value": [ "select", "t2", ".", "house_number", ",", "t1", ".", "name", "from", "restaurant", "as", "t1", "join", "location", "as", "t2", "on", "t1", ".", "id", "=", "t2", ".", "restaurant_id", "where", "t2", ".", "city_name", "=", "value", "and", "t2", ".", "street_name", "=", "value" ], "question": "me dê alguns restaurantes na ilha de Bethel rd na ilha de Bethel?", "question_toks": [ "me", "dê", "alguns", "restaurantes", "na", "ilha", "de", "Bethel", "rd", "na", "ilha", "de", "Bethel", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 9, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 10, false ], null ] ], [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 12, false ], null ], "\"bethel island\"", null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], "\"bethel island rd\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "restaurants", "query": "SELECT t2.house_number , t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = \"bethel island\" AND t2.street_name = \"bethel island rd\";", "query_toks": [ "SELECT", "t2.house_number", ",", "t1.name", "FROM", "restaurant", "AS", "t1", "JOIN", "LOCATION", "AS", "t2", "ON", "t1.id", "=", "t2.restaurant_id", "WHERE", "t2.city_name", "=", "``", "bethel", "island", "''", "AND", "t2.street_name", "=", "``", "bethel", "island", "rd", "''", ";" ], "query_toks_no_value": [ "select", "t2", ".", "house_number", ",", "t1", ".", "name", "from", "restaurant", "as", "t1", "join", "location", "as", "t2", "on", "t1", ".", "id", "=", "t2", ".", "restaurant_id", "where", "t2", ".", "city_name", "=", "value", "and", "t2", ".", "street_name", "=", "value" ], "question": "me dê um restaurante na ilha de Bethel rd na ilha de Bethel?", "question_toks": [ "me", "dê", "um", "restaurante", "na", "ilha", "de", "Bethel", "rd", "na", "ilha", "de", "Bethel", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 9, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 10, false ], null ] ], [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 12, false ], null ], "\"bethel island\"", null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], "\"bethel island rd\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "restaurants", "query": "SELECT t2.house_number , t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = \"bethel island\" AND t2.street_name = \"bethel island rd\";", "query_toks": [ "SELECT", "t2.house_number", ",", "t1.name", "FROM", "restaurant", "AS", "t1", "JOIN", "LOCATION", "AS", "t2", "ON", "t1.id", "=", "t2.restaurant_id", "WHERE", "t2.city_name", "=", "``", "bethel", "island", "''", "AND", "t2.street_name", "=", "``", "bethel", "island", "rd", "''", ";" ], "query_toks_no_value": [ "select", "t2", ".", "house_number", ",", "t1", ".", "name", "from", "restaurant", "as", "t1", "join", "location", "as", "t2", "on", "t1", ".", "id", "=", "t2", ".", "restaurant_id", "where", "t2", ".", "city_name", "=", "value", "and", "t2", ".", "street_name", "=", "value" ], "question": "onde podemos encontrar um restaurante na ilha bethel rd na ilha bethel?", "question_toks": [ "onde", "podemos", "encontrar", "um", "restaurante", "na", "ilha", "bethel", "rd", "na", "ilha", "bethel", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 9, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 10, false ], null ] ], [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 12, false ], null ], "\"bethel island\"", null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], "\"bethel island rd\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "restaurants", "query": "SELECT t2.house_number , t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = \"bethel island\" AND t2.street_name = \"bethel island rd\";", "query_toks": [ "SELECT", "t2.house_number", ",", "t1.name", "FROM", "restaurant", "AS", "t1", "JOIN", "LOCATION", "AS", "t2", "ON", "t1.id", "=", "t2.restaurant_id", "WHERE", "t2.city_name", "=", "``", "bethel", "island", "''", "AND", "t2.street_name", "=", "``", "bethel", "island", "rd", "''", ";" ], "query_toks_no_value": [ "select", "t2", ".", "house_number", ",", "t1", ".", "name", "from", "restaurant", "as", "t1", "join", "location", "as", "t2", "on", "t1", ".", "id", "=", "t2", ".", "restaurant_id", "where", "t2", ".", "city_name", "=", "value", "and", "t2", ".", "street_name", "=", "value" ], "question": "onde podemos encontrar alguns restaurantes em bethel island rd em bethel island?", "question_toks": [ "onde", "podemos", "encontrar", "alguns", "restaurantes", "em", "bethel", "island", "rd", "em", "bethel", "island", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 9, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 10, false ], null ] ], [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 12, false ], null ], "\"bethel island\"", null ], "and", [ false, 2, [ 0, [ 0, 11, false ], null ], "\"bethel island rd\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "restaurants", "query": "SELECT t3.house_number , t1.name FROM restaurant AS t1 JOIN geographic AS t2 ON t1.city_name = t2.city_name JOIN LOCATION AS t3 ON t1.id = t3.restaurant_id WHERE t2.region = \"bay area\" AND t1.food_type = \"american\" AND t1.rating = ( SELECT MAX ( t1.rating ) FROM restaurant AS t1 JOIN geographic AS t2 ON t1.city_name = t2.city_name WHERE t2.region = \"bay area\" AND t1.food_type = \"american\" );", "query_toks": [ "SELECT", "t3.house_number", ",", "t1.name", "FROM", "restaurant", "AS", "t1", "JOIN", "geographic", "AS", "t2", "ON", "t1.city_name", "=", "t2.city_name", "JOIN", "LOCATION", "AS", "t3", "ON", "t1.id", "=", "t3.restaurant_id", "WHERE", "t2.region", "=", "``", "bay", "area", "''", "AND", "t1.food_type", "=", "``", "american", "''", "AND", "t1.rating", "=", "(", "SELECT", "MAX", "(", "t1.rating", ")", "FROM", "restaurant", "AS", "t1", "JOIN", "geographic", "AS", "t2", "ON", "t1.city_name", "=", "t2.city_name", "WHERE", "t2.region", "=", "``", "bay", "area", "''", "AND", "t1.food_type", "=", "``", "american", "''", ")", ";" ], "query_toks_no_value": [ "select", "t3", ".", "house_number", ",", "t1", ".", "name", "from", "restaurant", "as", "t1", "join", "geographic", "as", "t2", "on", "t1", ".", "city_name", "=", "t2", ".", "city_name", "join", "location", "as", "t3", "on", "t1", ".", "id", "=", "t3", ".", "restaurant_id", "where", "t2", ".", "region", "=", "value", "and", "t1", ".", "food_type", "=", "value", "and", "t1", ".", "rating", "=", "(", "select", "max", "(", "t1", ".", "rating", ")", "from", "restaurant", "as", "t1", "join", "geographic", "as", "t2", "on", "t1", ".", "city_name", "=", "t2", ".", "city_name", "where", "t2", ".", "region", "=", "value", "and", "t1", ".", "food_type", "=", "value", ")" ], "question": "onde fica o melhor restaurante da baia para comida americana?", "question_toks": [ "onde", "fica", "o", "melhor", "restaurante", "da", "baia", "para", "comida", "americana", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 0 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 7, false ], null ], [ 0, 1, false ], null ], "and", [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 9, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 10, false ], null ] ], [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], "\"bay area\"", null ], "and", [ false, 2, [ 0, [ 0, 6, false ], null ], "\"american\"", null ], "and", [ false, 2, [ 0, [ 0, 8, false ], null ], { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 7, false ], null ], [ 0, 1, false ], null ] ] }, "select": [ false, [ [ 1, [ 0, [ 0, 8, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], "\"bay area\"", null ], "and", [ false, 2, [ 0, [ 0, 6, false ], null ], "\"american\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "restaurants", "query": "SELECT t3.house_number , t1.name FROM restaurant AS t1 JOIN geographic AS t2 ON t1.city_name = t2.city_name JOIN LOCATION AS t3 ON t1.id = t3.restaurant_id WHERE t2.region = \"bay area\" AND t1.food_type = \"american\" AND t1.rating = ( SELECT MAX ( t1.rating ) FROM restaurant AS t1 JOIN geographic AS t2 ON t1.city_name = t2.city_name WHERE t2.region = \"bay area\" AND t1.food_type = \"american\" );", "query_toks": [ "SELECT", "t3.house_number", ",", "t1.name", "FROM", "restaurant", "AS", "t1", "JOIN", "geographic", "AS", "t2", "ON", "t1.city_name", "=", "t2.city_name", "JOIN", "LOCATION", "AS", "t3", "ON", "t1.id", "=", "t3.restaurant_id", "WHERE", "t2.region", "=", "``", "bay", "area", "''", "AND", "t1.food_type", "=", "``", "american", "''", "AND", "t1.rating", "=", "(", "SELECT", "MAX", "(", "t1.rating", ")", "FROM", "restaurant", "AS", "t1", "JOIN", "geographic", "AS", "t2", "ON", "t1.city_name", "=", "t2.city_name", "WHERE", "t2.region", "=", "``", "bay", "area", "''", "AND", "t1.food_type", "=", "``", "american", "''", ")", ";" ], "query_toks_no_value": [ "select", "t3", ".", "house_number", ",", "t1", ".", "name", "from", "restaurant", "as", "t1", "join", "geographic", "as", "t2", "on", "t1", ".", "city_name", "=", "t2", ".", "city_name", "join", "location", "as", "t3", "on", "t1", ".", "id", "=", "t3", ".", "restaurant_id", "where", "t2", ".", "region", "=", "value", "and", "t1", ".", "food_type", "=", "value", "and", "t1", ".", "rating", "=", "(", "select", "max", "(", "t1", ".", "rating", ")", "from", "restaurant", "as", "t1", "join", "geographic", "as", "t2", "on", "t1", ".", "city_name", "=", "t2", ".", "city_name", "where", "t2", ".", "region", "=", "value", "and", "t1", ".", "food_type", "=", "value", ")" ], "question": "onde fica o melhor restaurante da área da baía para comida americana?", "question_toks": [ "onde", "fica", "o", "melhor", "restaurante", "da", "área", "da", "baía", "para", "comida", "americana", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 0 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 7, false ], null ], [ 0, 1, false ], null ], "and", [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 9, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 10, false ], null ] ], [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], "\"bay area\"", null ], "and", [ false, 2, [ 0, [ 0, 6, false ], null ], "\"american\"", null ], "and", [ false, 2, [ 0, [ 0, 8, false ], null ], { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 7, false ], null ], [ 0, 1, false ], null ] ] }, "select": [ false, [ [ 1, [ 0, [ 0, 8, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], "\"bay area\"", null ], "and", [ false, 2, [ 0, [ 0, 6, false ], null ], "\"american\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "restaurants", "query": "SELECT t3.house_number , t1.name FROM restaurant AS t1 JOIN geographic AS t2 ON t1.city_name = t2.city_name JOIN LOCATION AS t3 ON t1.id = t3.restaurant_id WHERE t2.region = \"bay area\" AND t1.food_type = \"american\" AND t1.rating = ( SELECT MAX ( t1.rating ) FROM restaurant AS t1 JOIN geographic AS t2 ON t1.city_name = t2.city_name WHERE t2.region = \"bay area\" AND t1.food_type = \"american\" );", "query_toks": [ "SELECT", "t3.house_number", ",", "t1.name", "FROM", "restaurant", "AS", "t1", "JOIN", "geographic", "AS", "t2", "ON", "t1.city_name", "=", "t2.city_name", "JOIN", "LOCATION", "AS", "t3", "ON", "t1.id", "=", "t3.restaurant_id", "WHERE", "t2.region", "=", "``", "bay", "area", "''", "AND", "t1.food_type", "=", "``", "american", "''", "AND", "t1.rating", "=", "(", "SELECT", "MAX", "(", "t1.rating", ")", "FROM", "restaurant", "AS", "t1", "JOIN", "geographic", "AS", "t2", "ON", "t1.city_name", "=", "t2.city_name", "WHERE", "t2.region", "=", "``", "bay", "area", "''", "AND", "t1.food_type", "=", "``", "american", "''", ")", ";" ], "query_toks_no_value": [ "select", "t3", ".", "house_number", ",", "t1", ".", "name", "from", "restaurant", "as", "t1", "join", "geographic", "as", "t2", "on", "t1", ".", "city_name", "=", "t2", ".", "city_name", "join", "location", "as", "t3", "on", "t1", ".", "id", "=", "t3", ".", "restaurant_id", "where", "t2", ".", "region", "=", "value", "and", "t1", ".", "food_type", "=", "value", "and", "t1", ".", "rating", "=", "(", "select", "max", "(", "t1", ".", "rating", ")", "from", "restaurant", "as", "t1", "join", "geographic", "as", "t2", "on", "t1", ".", "city_name", "=", "t2", ".", "city_name", "where", "t2", ".", "region", "=", "value", "and", "t1", ".", "food_type", "=", "value", ")" ], "question": "qual o melhor restaurante da area da baía para comida americana?", "question_toks": [ "qual", "o", "melhor", "restaurante", "da", "area", "da", "baía", "para", "comida", "americana", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 0 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 7, false ], null ], [ 0, 1, false ], null ], "and", [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 9, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 10, false ], null ] ], [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], "\"bay area\"", null ], "and", [ false, 2, [ 0, [ 0, 6, false ], null ], "\"american\"", null ], "and", [ false, 2, [ 0, [ 0, 8, false ], null ], { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 7, false ], null ], [ 0, 1, false ], null ] ] }, "select": [ false, [ [ 1, [ 0, [ 0, 8, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], "\"bay area\"", null ], "and", [ false, 2, [ 0, [ 0, 6, false ], null ], "\"american\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "restaurants", "query": "SELECT t3.house_number , t1.name FROM restaurant AS t1 JOIN geographic AS t2 ON t1.city_name = t2.city_name JOIN LOCATION AS t3 ON t1.id = t3.restaurant_id WHERE t2.region = \"bay area\" AND t1.food_type = \"american\" AND t1.rating = ( SELECT MAX ( t1.rating ) FROM restaurant AS t1 JOIN geographic AS t2 ON t1.city_name = t2.city_name WHERE t2.region = \"bay area\" AND t1.food_type = \"american\" );", "query_toks": [ "SELECT", "t3.house_number", ",", "t1.name", "FROM", "restaurant", "AS", "t1", "JOIN", "geographic", "AS", "t2", "ON", "t1.city_name", "=", "t2.city_name", "JOIN", "LOCATION", "AS", "t3", "ON", "t1.id", "=", "t3.restaurant_id", "WHERE", "t2.region", "=", "``", "bay", "area", "''", "AND", "t1.food_type", "=", "``", "american", "''", "AND", "t1.rating", "=", "(", "SELECT", "MAX", "(", "t1.rating", ")", "FROM", "restaurant", "AS", "t1", "JOIN", "geographic", "AS", "t2", "ON", "t1.city_name", "=", "t2.city_name", "WHERE", "t2.region", "=", "``", "bay", "area", "''", "AND", "t1.food_type", "=", "``", "american", "''", ")", ";" ], "query_toks_no_value": [ "select", "t3", ".", "house_number", ",", "t1", ".", "name", "from", "restaurant", "as", "t1", "join", "geographic", "as", "t2", "on", "t1", ".", "city_name", "=", "t2", ".", "city_name", "join", "location", "as", "t3", "on", "t1", ".", "id", "=", "t3", ".", "restaurant_id", "where", "t2", ".", "region", "=", "value", "and", "t1", ".", "food_type", "=", "value", "and", "t1", ".", "rating", "=", "(", "select", "max", "(", "t1", ".", "rating", ")", "from", "restaurant", "as", "t1", "join", "geographic", "as", "t2", "on", "t1", ".", "city_name", "=", "t2", ".", "city_name", "where", "t2", ".", "region", "=", "value", "and", "t1", ".", "food_type", "=", "value", ")" ], "question": "qual o melhor restaurante americano da area da baía?", "question_toks": [ "qual", "o", "melhor", "restaurante", "americano", "da", "area", "da", "baía", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 0 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 7, false ], null ], [ 0, 1, false ], null ], "and", [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 9, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 10, false ], null ] ], [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], "\"bay area\"", null ], "and", [ false, 2, [ 0, [ 0, 6, false ], null ], "\"american\"", null ], "and", [ false, 2, [ 0, [ 0, 8, false ], null ], { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 7, false ], null ], [ 0, 1, false ], null ] ] }, "select": [ false, [ [ 1, [ 0, [ 0, 8, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], "\"bay area\"", null ], "and", [ false, 2, [ 0, [ 0, 6, false ], null ], "\"american\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "restaurants", "query": "SELECT t3.house_number , t1.name FROM restaurant AS t1 JOIN geographic AS t2 ON t1.city_name = t2.city_name JOIN LOCATION AS t3 ON t1.id = t3.restaurant_id WHERE t2.region = \"bay area\" AND t1.food_type = \"american\" AND t1.rating = ( SELECT MAX ( t1.rating ) FROM restaurant AS t1 JOIN geographic AS t2 ON t1.city_name = t2.city_name WHERE t2.region = \"bay area\" AND t1.food_type = \"american\" );", "query_toks": [ "SELECT", "t3.house_number", ",", "t1.name", "FROM", "restaurant", "AS", "t1", "JOIN", "geographic", "AS", "t2", "ON", "t1.city_name", "=", "t2.city_name", "JOIN", "LOCATION", "AS", "t3", "ON", "t1.id", "=", "t3.restaurant_id", "WHERE", "t2.region", "=", "``", "bay", "area", "''", "AND", "t1.food_type", "=", "``", "american", "''", "AND", "t1.rating", "=", "(", "SELECT", "MAX", "(", "t1.rating", ")", "FROM", "restaurant", "AS", "t1", "JOIN", "geographic", "AS", "t2", "ON", "t1.city_name", "=", "t2.city_name", "WHERE", "t2.region", "=", "``", "bay", "area", "''", "AND", "t1.food_type", "=", "``", "american", "''", ")", ";" ], "query_toks_no_value": [ "select", "t3", ".", "house_number", ",", "t1", ".", "name", "from", "restaurant", "as", "t1", "join", "geographic", "as", "t2", "on", "t1", ".", "city_name", "=", "t2", ".", "city_name", "join", "location", "as", "t3", "on", "t1", ".", "id", "=", "t3", ".", "restaurant_id", "where", "t2", ".", "region", "=", "value", "and", "t1", ".", "food_type", "=", "value", "and", "t1", ".", "rating", "=", "(", "select", "max", "(", "t1", ".", "rating", ")", "from", "restaurant", "as", "t1", "join", "geographic", "as", "t2", "on", "t1", ".", "city_name", "=", "t2", ".", "city_name", "where", "t2", ".", "region", "=", "value", "and", "t1", ".", "food_type", "=", "value", ")" ], "question": "onde fica o melhor restaurante americano da area da baía?", "question_toks": [ "onde", "fica", "o", "melhor", "restaurante", "americano", "da", "area", "da", "baía", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 0 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 7, false ], null ], [ 0, 1, false ], null ], "and", [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 9, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 10, false ], null ] ], [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], "\"bay area\"", null ], "and", [ false, 2, [ 0, [ 0, 6, false ], null ], "\"american\"", null ], "and", [ false, 2, [ 0, [ 0, 8, false ], null ], { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 7, false ], null ], [ 0, 1, false ], null ] ] }, "select": [ false, [ [ 1, [ 0, [ 0, 8, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], "\"bay area\"", null ], "and", [ false, 2, [ 0, [ 0, 6, false ], null ], "\"american\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "restaurants", "query": "SELECT t3.house_number , t1.name FROM restaurant AS t1 JOIN geographic AS t2 ON t1.city_name = t2.city_name JOIN LOCATION AS t3 ON t1.id = t3.restaurant_id WHERE t2.region = \"bay area\" AND t1.food_type = \"american\" AND t1.rating = ( SELECT MAX ( t1.rating ) FROM restaurant AS t1 JOIN geographic AS t2 ON t1.city_name = t2.city_name WHERE t2.region = \"bay area\" AND t1.food_type = \"american\" );", "query_toks": [ "SELECT", "t3.house_number", ",", "t1.name", "FROM", "restaurant", "AS", "t1", "JOIN", "geographic", "AS", "t2", "ON", "t1.city_name", "=", "t2.city_name", "JOIN", "LOCATION", "AS", "t3", "ON", "t1.id", "=", "t3.restaurant_id", "WHERE", "t2.region", "=", "``", "bay", "area", "''", "AND", "t1.food_type", "=", "``", "american", "''", "AND", "t1.rating", "=", "(", "SELECT", "MAX", "(", "t1.rating", ")", "FROM", "restaurant", "AS", "t1", "JOIN", "geographic", "AS", "t2", "ON", "t1.city_name", "=", "t2.city_name", "WHERE", "t2.region", "=", "``", "bay", "area", "''", "AND", "t1.food_type", "=", "``", "american", "''", ")", ";" ], "query_toks_no_value": [ "select", "t3", ".", "house_number", ",", "t1", ".", "name", "from", "restaurant", "as", "t1", "join", "geographic", "as", "t2", "on", "t1", ".", "city_name", "=", "t2", ".", "city_name", "join", "location", "as", "t3", "on", "t1", ".", "id", "=", "t3", ".", "restaurant_id", "where", "t2", ".", "region", "=", "value", "and", "t1", ".", "food_type", "=", "value", "and", "t1", ".", "rating", "=", "(", "select", "max", "(", "t1", ".", "rating", ")", "from", "restaurant", "as", "t1", "join", "geographic", "as", "t2", "on", "t1", ".", "city_name", "=", "t2", ".", "city_name", "where", "t2", ".", "region", "=", "value", "and", "t1", ".", "food_type", "=", "value", ")" ], "question": "qual o melhor americano da area da baía?", "question_toks": [ "qual", "o", "melhor", "americano", "da", "area", "da", "baía", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 0 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 7, false ], null ], [ 0, 1, false ], null ], "and", [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 9, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 10, false ], null ] ], [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], "\"bay area\"", null ], "and", [ false, 2, [ 0, [ 0, 6, false ], null ], "\"american\"", null ], "and", [ false, 2, [ 0, [ 0, 8, false ], null ], { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 7, false ], null ], [ 0, 1, false ], null ] ] }, "select": [ false, [ [ 1, [ 0, [ 0, 8, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], "\"bay area\"", null ], "and", [ false, 2, [ 0, [ 0, 6, false ], null ], "\"american\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "restaurants", "query": "SELECT t3.house_number , t1.name FROM restaurant AS t1 JOIN geographic AS t2 ON t1.city_name = t2.city_name JOIN LOCATION AS t3 ON t1.id = t3.restaurant_id WHERE t2.region = \"bay area\" AND t1.food_type = \"american\" AND t1.rating = ( SELECT MAX ( t1.rating ) FROM restaurant AS t1 JOIN geographic AS t2 ON t1.city_name = t2.city_name WHERE t2.region = \"bay area\" AND t1.food_type = \"american\" );", "query_toks": [ "SELECT", "t3.house_number", ",", "t1.name", "FROM", "restaurant", "AS", "t1", "JOIN", "geographic", "AS", "t2", "ON", "t1.city_name", "=", "t2.city_name", "JOIN", "LOCATION", "AS", "t3", "ON", "t1.id", "=", "t3.restaurant_id", "WHERE", "t2.region", "=", "``", "bay", "area", "''", "AND", "t1.food_type", "=", "``", "american", "''", "AND", "t1.rating", "=", "(", "SELECT", "MAX", "(", "t1.rating", ")", "FROM", "restaurant", "AS", "t1", "JOIN", "geographic", "AS", "t2", "ON", "t1.city_name", "=", "t2.city_name", "WHERE", "t2.region", "=", "``", "bay", "area", "''", "AND", "t1.food_type", "=", "``", "american", "''", ")", ";" ], "query_toks_no_value": [ "select", "t3", ".", "house_number", ",", "t1", ".", "name", "from", "restaurant", "as", "t1", "join", "geographic", "as", "t2", "on", "t1", ".", "city_name", "=", "t2", ".", "city_name", "join", "location", "as", "t3", "on", "t1", ".", "id", "=", "t3", ".", "restaurant_id", "where", "t2", ".", "region", "=", "value", "and", "t1", ".", "food_type", "=", "value", "and", "t1", ".", "rating", "=", "(", "select", "max", "(", "t1", ".", "rating", ")", "from", "restaurant", "as", "t1", "join", "geographic", "as", "t2", "on", "t1", ".", "city_name", "=", "t2", ".", "city_name", "where", "t2", ".", "region", "=", "value", "and", "t1", ".", "food_type", "=", "value", ")" ], "question": "me dê o melhor restaurante da baía para comida americana?", "question_toks": [ "me", "dê", "o", "melhor", "restaurante", "da", "baía", "para", "comida", "americana", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 0 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 7, false ], null ], [ 0, 1, false ], null ], "and", [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 9, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 10, false ], null ] ], [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], "\"bay area\"", null ], "and", [ false, 2, [ 0, [ 0, 6, false ], null ], "\"american\"", null ], "and", [ false, 2, [ 0, [ 0, 8, false ], null ], { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 7, false ], null ], [ 0, 1, false ], null ] ] }, "select": [ false, [ [ 1, [ 0, [ 0, 8, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], "\"bay area\"", null ], "and", [ false, 2, [ 0, [ 0, 6, false ], null ], "\"american\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "restaurants", "query": "SELECT t3.house_number , t1.name FROM restaurant AS t1 JOIN geographic AS t2 ON t1.city_name = t2.city_name JOIN LOCATION AS t3 ON t1.id = t3.restaurant_id WHERE t2.region = \"bay area\" AND t1.food_type = \"american\" AND t1.rating = ( SELECT MAX ( t1.rating ) FROM restaurant AS t1 JOIN geographic AS t2 ON t1.city_name = t2.city_name WHERE t2.region = \"bay area\" AND t1.food_type = \"american\" );", "query_toks": [ "SELECT", "t3.house_number", ",", "t1.name", "FROM", "restaurant", "AS", "t1", "JOIN", "geographic", "AS", "t2", "ON", "t1.city_name", "=", "t2.city_name", "JOIN", "LOCATION", "AS", "t3", "ON", "t1.id", "=", "t3.restaurant_id", "WHERE", "t2.region", "=", "``", "bay", "area", "''", "AND", "t1.food_type", "=", "``", "american", "''", "AND", "t1.rating", "=", "(", "SELECT", "MAX", "(", "t1.rating", ")", "FROM", "restaurant", "AS", "t1", "JOIN", "geographic", "AS", "t2", "ON", "t1.city_name", "=", "t2.city_name", "WHERE", "t2.region", "=", "``", "bay", "area", "''", "AND", "t1.food_type", "=", "``", "american", "''", ")", ";" ], "query_toks_no_value": [ "select", "t3", ".", "house_number", ",", "t1", ".", "name", "from", "restaurant", "as", "t1", "join", "geographic", "as", "t2", "on", "t1", ".", "city_name", "=", "t2", ".", "city_name", "join", "location", "as", "t3", "on", "t1", ".", "id", "=", "t3", ".", "restaurant_id", "where", "t2", ".", "region", "=", "value", "and", "t1", ".", "food_type", "=", "value", "and", "t1", ".", "rating", "=", "(", "select", "max", "(", "t1", ".", "rating", ")", "from", "restaurant", "as", "t1", "join", "geographic", "as", "t2", "on", "t1", ".", "city_name", "=", "t2", ".", "city_name", "where", "t2", ".", "region", "=", "value", "and", "t1", ".", "food_type", "=", "value", ")" ], "question": "me dê o melhor restaurante da área da baía para comida americana?", "question_toks": [ "me", "dê", "o", "melhor", "restaurante", "da", "área", "da", "baía", "para", "comida", "americana", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 0 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 7, false ], null ], [ 0, 1, false ], null ], "and", [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 9, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 10, false ], null ] ], [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], "\"bay area\"", null ], "and", [ false, 2, [ 0, [ 0, 6, false ], null ], "\"american\"", null ], "and", [ false, 2, [ 0, [ 0, 8, false ], null ], { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 7, false ], null ], [ 0, 1, false ], null ] ] }, "select": [ false, [ [ 1, [ 0, [ 0, 8, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], "\"bay area\"", null ], "and", [ false, 2, [ 0, [ 0, 6, false ], null ], "\"american\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "restaurants", "query": "SELECT t3.house_number , t1.name FROM restaurant AS t1 JOIN geographic AS t2 ON t1.city_name = t2.city_name JOIN LOCATION AS t3 ON t1.id = t3.restaurant_id WHERE t2.region = \"bay area\" AND t1.food_type = \"american\" AND t1.rating = ( SELECT MAX ( t1.rating ) FROM restaurant AS t1 JOIN geographic AS t2 ON t1.city_name = t2.city_name WHERE t2.region = \"bay area\" AND t1.food_type = \"american\" );", "query_toks": [ "SELECT", "t3.house_number", ",", "t1.name", "FROM", "restaurant", "AS", "t1", "JOIN", "geographic", "AS", "t2", "ON", "t1.city_name", "=", "t2.city_name", "JOIN", "LOCATION", "AS", "t3", "ON", "t1.id", "=", "t3.restaurant_id", "WHERE", "t2.region", "=", "``", "bay", "area", "''", "AND", "t1.food_type", "=", "``", "american", "''", "AND", "t1.rating", "=", "(", "SELECT", "MAX", "(", "t1.rating", ")", "FROM", "restaurant", "AS", "t1", "JOIN", "geographic", "AS", "t2", "ON", "t1.city_name", "=", "t2.city_name", "WHERE", "t2.region", "=", "``", "bay", "area", "''", "AND", "t1.food_type", "=", "``", "american", "''", ")", ";" ], "query_toks_no_value": [ "select", "t3", ".", "house_number", ",", "t1", ".", "name", "from", "restaurant", "as", "t1", "join", "geographic", "as", "t2", "on", "t1", ".", "city_name", "=", "t2", ".", "city_name", "join", "location", "as", "t3", "on", "t1", ".", "id", "=", "t3", ".", "restaurant_id", "where", "t2", ".", "region", "=", "value", "and", "t1", ".", "food_type", "=", "value", "and", "t1", ".", "rating", "=", "(", "select", "max", "(", "t1", ".", "rating", ")", "from", "restaurant", "as", "t1", "join", "geographic", "as", "t2", "on", "t1", ".", "city_name", "=", "t2", ".", "city_name", "where", "t2", ".", "region", "=", "value", "and", "t1", ".", "food_type", "=", "value", ")" ], "question": "qual o melhor restaurante da area da baía para comida americana?", "question_toks": [ "qual", "o", "melhor", "restaurante", "da", "area", "da", "baía", "para", "comida", "americana", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 0 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 7, false ], null ], [ 0, 1, false ], null ], "and", [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 9, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 10, false ], null ] ], [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], "\"bay area\"", null ], "and", [ false, 2, [ 0, [ 0, 6, false ], null ], "\"american\"", null ], "and", [ false, 2, [ 0, [ 0, 8, false ], null ], { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 7, false ], null ], [ 0, 1, false ], null ] ] }, "select": [ false, [ [ 1, [ 0, [ 0, 8, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], "\"bay area\"", null ], "and", [ false, 2, [ 0, [ 0, 6, false ], null ], "\"american\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "restaurants", "query": "SELECT t3.house_number , t1.name FROM restaurant AS t1 JOIN geographic AS t2 ON t1.city_name = t2.city_name JOIN LOCATION AS t3 ON t1.id = t3.restaurant_id WHERE t2.region = \"bay area\" AND t1.food_type = \"american\" AND t1.rating = ( SELECT MAX ( t1.rating ) FROM restaurant AS t1 JOIN geographic AS t2 ON t1.city_name = t2.city_name WHERE t2.region = \"bay area\" AND t1.food_type = \"american\" );", "query_toks": [ "SELECT", "t3.house_number", ",", "t1.name", "FROM", "restaurant", "AS", "t1", "JOIN", "geographic", "AS", "t2", "ON", "t1.city_name", "=", "t2.city_name", "JOIN", "LOCATION", "AS", "t3", "ON", "t1.id", "=", "t3.restaurant_id", "WHERE", "t2.region", "=", "``", "bay", "area", "''", "AND", "t1.food_type", "=", "``", "american", "''", "AND", "t1.rating", "=", "(", "SELECT", "MAX", "(", "t1.rating", ")", "FROM", "restaurant", "AS", "t1", "JOIN", "geographic", "AS", "t2", "ON", "t1.city_name", "=", "t2.city_name", "WHERE", "t2.region", "=", "``", "bay", "area", "''", "AND", "t1.food_type", "=", "``", "american", "''", ")", ";" ], "query_toks_no_value": [ "select", "t3", ".", "house_number", ",", "t1", ".", "name", "from", "restaurant", "as", "t1", "join", "geographic", "as", "t2", "on", "t1", ".", "city_name", "=", "t2", ".", "city_name", "join", "location", "as", "t3", "on", "t1", ".", "id", "=", "t3", ".", "restaurant_id", "where", "t2", ".", "region", "=", "value", "and", "t1", ".", "food_type", "=", "value", "and", "t1", ".", "rating", "=", "(", "select", "max", "(", "t1", ".", "rating", ")", "from", "restaurant", "as", "t1", "join", "geographic", "as", "t2", "on", "t1", ".", "city_name", "=", "t2", ".", "city_name", "where", "t2", ".", "region", "=", "value", "and", "t1", ".", "food_type", "=", "value", ")" ], "question": "onde está o melhor americano da baía?", "question_toks": [ "onde", "está", "o", "melhor", "americano", "da", "baía", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 0 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 7, false ], null ], [ 0, 1, false ], null ], "and", [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 9, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 10, false ], null ] ], [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], "\"bay area\"", null ], "and", [ false, 2, [ 0, [ 0, 6, false ], null ], "\"american\"", null ], "and", [ false, 2, [ 0, [ 0, 8, false ], null ], { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 7, false ], null ], [ 0, 1, false ], null ] ] }, "select": [ false, [ [ 1, [ 0, [ 0, 8, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], "\"bay area\"", null ], "and", [ false, 2, [ 0, [ 0, 6, false ], null ], "\"american\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "restaurants", "query": "SELECT t3.house_number , t1.name FROM restaurant AS t1 JOIN geographic AS t2 ON t1.city_name = t2.city_name JOIN LOCATION AS t3 ON t1.id = t3.restaurant_id WHERE t2.region = \"bay area\" AND t1.food_type = \"american\" AND t1.rating = ( SELECT MAX ( t1.rating ) FROM restaurant AS t1 JOIN geographic AS t2 ON t1.city_name = t2.city_name WHERE t2.region = \"bay area\" AND t1.food_type = \"american\" );", "query_toks": [ "SELECT", "t3.house_number", ",", "t1.name", "FROM", "restaurant", "AS", "t1", "JOIN", "geographic", "AS", "t2", "ON", "t1.city_name", "=", "t2.city_name", "JOIN", "LOCATION", "AS", "t3", "ON", "t1.id", "=", "t3.restaurant_id", "WHERE", "t2.region", "=", "``", "bay", "area", "''", "AND", "t1.food_type", "=", "``", "american", "''", "AND", "t1.rating", "=", "(", "SELECT", "MAX", "(", "t1.rating", ")", "FROM", "restaurant", "AS", "t1", "JOIN", "geographic", "AS", "t2", "ON", "t1.city_name", "=", "t2.city_name", "WHERE", "t2.region", "=", "``", "bay", "area", "''", "AND", "t1.food_type", "=", "``", "american", "''", ")", ";" ], "query_toks_no_value": [ "select", "t3", ".", "house_number", ",", "t1", ".", "name", "from", "restaurant", "as", "t1", "join", "geographic", "as", "t2", "on", "t1", ".", "city_name", "=", "t2", ".", "city_name", "join", "location", "as", "t3", "on", "t1", ".", "id", "=", "t3", ".", "restaurant_id", "where", "t2", ".", "region", "=", "value", "and", "t1", ".", "food_type", "=", "value", "and", "t1", ".", "rating", "=", "(", "select", "max", "(", "t1", ".", "rating", ")", "from", "restaurant", "as", "t1", "join", "geographic", "as", "t2", "on", "t1", ".", "city_name", "=", "t2", ".", "city_name", "where", "t2", ".", "region", "=", "value", "and", "t1", ".", "food_type", "=", "value", ")" ], "question": "me dê o melhor americano na área da baía?", "question_toks": [ "me", "dê", "o", "melhor", "americano", "na", "área", "da", "baía", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 0 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 7, false ], null ], [ 0, 1, false ], null ], "and", [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 9, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 10, false ], null ] ], [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], "\"bay area\"", null ], "and", [ false, 2, [ 0, [ 0, 6, false ], null ], "\"american\"", null ], "and", [ false, 2, [ 0, [ 0, 8, false ], null ], { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 7, false ], null ], [ 0, 1, false ], null ] ] }, "select": [ false, [ [ 1, [ 0, [ 0, 8, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], "\"bay area\"", null ], "and", [ false, 2, [ 0, [ 0, 6, false ], null ], "\"american\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "restaurants", "query": "SELECT t3.house_number , t1.name FROM restaurant AS t1 JOIN geographic AS t2 ON t1.city_name = t2.city_name JOIN LOCATION AS t3 ON t1.id = t3.restaurant_id WHERE t2.region = \"bay area\" AND t1.food_type = \"american\" AND t1.rating = ( SELECT MAX ( t1.rating ) FROM restaurant AS t1 JOIN geographic AS t2 ON t1.city_name = t2.city_name WHERE t2.region = \"bay area\" AND t1.food_type = \"american\" );", "query_toks": [ "SELECT", "t3.house_number", ",", "t1.name", "FROM", "restaurant", "AS", "t1", "JOIN", "geographic", "AS", "t2", "ON", "t1.city_name", "=", "t2.city_name", "JOIN", "LOCATION", "AS", "t3", "ON", "t1.id", "=", "t3.restaurant_id", "WHERE", "t2.region", "=", "``", "bay", "area", "''", "AND", "t1.food_type", "=", "``", "american", "''", "AND", "t1.rating", "=", "(", "SELECT", "MAX", "(", "t1.rating", ")", "FROM", "restaurant", "AS", "t1", "JOIN", "geographic", "AS", "t2", "ON", "t1.city_name", "=", "t2.city_name", "WHERE", "t2.region", "=", "``", "bay", "area", "''", "AND", "t1.food_type", "=", "``", "american", "''", ")", ";" ], "query_toks_no_value": [ "select", "t3", ".", "house_number", ",", "t1", ".", "name", "from", "restaurant", "as", "t1", "join", "geographic", "as", "t2", "on", "t1", ".", "city_name", "=", "t2", ".", "city_name", "join", "location", "as", "t3", "on", "t1", ".", "id", "=", "t3", ".", "restaurant_id", "where", "t2", ".", "region", "=", "value", "and", "t1", ".", "food_type", "=", "value", "and", "t1", ".", "rating", "=", "(", "select", "max", "(", "t1", ".", "rating", ")", "from", "restaurant", "as", "t1", "join", "geographic", "as", "t2", "on", "t1", ".", "city_name", "=", "t2", ".", "city_name", "where", "t2", ".", "region", "=", "value", "and", "t1", ".", "food_type", "=", "value", ")" ], "question": "me dê o melhor restaurante americano na área da baía?", "question_toks": [ "me", "dê", "o", "melhor", "restaurante", "americano", "na", "área", "da", "baía", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 0 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 7, false ], null ], [ 0, 1, false ], null ], "and", [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 9, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 10, false ], null ] ], [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], "\"bay area\"", null ], "and", [ false, 2, [ 0, [ 0, 6, false ], null ], "\"american\"", null ], "and", [ false, 2, [ 0, [ 0, 8, false ], null ], { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 7, false ], null ], [ 0, 1, false ], null ] ] }, "select": [ false, [ [ 1, [ 0, [ 0, 8, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], "\"bay area\"", null ], "and", [ false, 2, [ 0, [ 0, 6, false ], null ], "\"american\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "restaurants", "query": "SELECT t3.house_number , t1.name FROM restaurant AS t1 JOIN geographic AS t2 ON t1.city_name = t2.city_name JOIN LOCATION AS t3 ON t1.id = t3.restaurant_id WHERE t2.region = \"yosemite and mono lake area\" AND t1.food_type = \"french\" AND t1.rating > 2.5;", "query_toks": [ "SELECT", "t3.house_number", ",", "t1.name", "FROM", "restaurant", "AS", "t1", "JOIN", "geographic", "AS", "t2", "ON", "t1.city_name", "=", "t2.city_name", "JOIN", "LOCATION", "AS", "t3", "ON", "t1.id", "=", "t3.restaurant_id", "WHERE", "t2.region", "=", "``", "yosemite", "and", "mono", "lake", "area", "''", "AND", "t1.food_type", "=", "``", "french", "''", "AND", "t1.rating", ">", "2.5", ";" ], "query_toks_no_value": [ "select", "t3", ".", "house_number", ",", "t1", ".", "name", "from", "restaurant", "as", "t1", "join", "geographic", "as", "t2", "on", "t1", ".", "city_name", "=", "t2", ".", "city_name", "join", "location", "as", "t3", "on", "t1", ".", "id", "=", "t3", ".", "restaurant_id", "where", "t2", ".", "region", "=", "value", "and", "t1", ".", "food_type", "=", "value", "and", "t1", ".", "rating", ">", "value" ], "question": "me dê alguns restaurantes bons para comida francesa na área de yosemite e mono lake?", "question_toks": [ "me", "dê", "alguns", "restaurantes", "bons", "para", "comida", "francesa", "na", "área", "de", "yosemite", "e", "mono", "lake", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 0 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 7, false ], null ], [ 0, 1, false ], null ], "and", [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 9, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 10, false ], null ] ], [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], "\"yosemite and mono lake area\"", null ], "and", [ false, 2, [ 0, [ 0, 6, false ], null ], "\"french\"", null ], "and", [ false, 3, [ 0, [ 0, 8, false ], null ], 2.5, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "restaurants", "query": "SELECT t3.house_number , t1.name FROM restaurant AS t1 JOIN geographic AS t2 ON t1.city_name = t2.city_name JOIN LOCATION AS t3 ON t1.id = t3.restaurant_id WHERE t2.region = \"yosemite and mono lake area\" AND t1.food_type = \"french\" AND t1.rating > 2.5;", "query_toks": [ "SELECT", "t3.house_number", ",", "t1.name", "FROM", "restaurant", "AS", "t1", "JOIN", "geographic", "AS", "t2", "ON", "t1.city_name", "=", "t2.city_name", "JOIN", "LOCATION", "AS", "t3", "ON", "t1.id", "=", "t3.restaurant_id", "WHERE", "t2.region", "=", "``", "yosemite", "and", "mono", "lake", "area", "''", "AND", "t1.food_type", "=", "``", "french", "''", "AND", "t1.rating", ">", "2.5", ";" ], "query_toks_no_value": [ "select", "t3", ".", "house_number", ",", "t1", ".", "name", "from", "restaurant", "as", "t1", "join", "geographic", "as", "t2", "on", "t1", ".", "city_name", "=", "t2", ".", "city_name", "join", "location", "as", "t3", "on", "t1", ".", "id", "=", "t3", ".", "restaurant_id", "where", "t2", ".", "region", "=", "value", "and", "t1", ".", "food_type", "=", "value", "and", "t1", ".", "rating", ">", "value" ], "question": "Quais são alguns bons lugares na área de yosemite e mono lake para comida francesa?", "question_toks": [ "Quais", "são", "alguns", "bons", "lugares", "na", "área", "de", "yosemite", "e", "mono", "lake", "para", "comida", "francesa", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 0 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 7, false ], null ], [ 0, 1, false ], null ], "and", [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 9, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 10, false ], null ] ], [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], "\"yosemite and mono lake area\"", null ], "and", [ false, 2, [ 0, [ 0, 6, false ], null ], "\"french\"", null ], "and", [ false, 3, [ 0, [ 0, 8, false ], null ], 2.5, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "restaurants", "query": "SELECT t3.house_number , t1.name FROM restaurant AS t1 JOIN geographic AS t2 ON t1.city_name = t2.city_name JOIN LOCATION AS t3 ON t1.id = t3.restaurant_id WHERE t2.region = \"yosemite and mono lake area\" AND t1.food_type = \"french\" AND t1.rating > 2.5;", "query_toks": [ "SELECT", "t3.house_number", ",", "t1.name", "FROM", "restaurant", "AS", "t1", "JOIN", "geographic", "AS", "t2", "ON", "t1.city_name", "=", "t2.city_name", "JOIN", "LOCATION", "AS", "t3", "ON", "t1.id", "=", "t3.restaurant_id", "WHERE", "t2.region", "=", "``", "yosemite", "and", "mono", "lake", "area", "''", "AND", "t1.food_type", "=", "``", "french", "''", "AND", "t1.rating", ">", "2.5", ";" ], "query_toks_no_value": [ "select", "t3", ".", "house_number", ",", "t1", ".", "name", "from", "restaurant", "as", "t1", "join", "geographic", "as", "t2", "on", "t1", ".", "city_name", "=", "t2", ".", "city_name", "join", "location", "as", "t3", "on", "t1", ".", "id", "=", "t3", ".", "restaurant_id", "where", "t2", ".", "region", "=", "value", "and", "t1", ".", "food_type", "=", "value", "and", "t1", ".", "rating", ">", "value" ], "question": "me dê um bom restaurante na área de yosemite e mono lake para comida francesa?", "question_toks": [ "me", "dê", "um", "bom", "restaurante", "na", "área", "de", "yosemite", "e", "mono", "lake", "para", "comida", "francesa", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 0 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 7, false ], null ], [ 0, 1, false ], null ], "and", [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 9, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 10, false ], null ] ], [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], "\"yosemite and mono lake area\"", null ], "and", [ false, 2, [ 0, [ 0, 6, false ], null ], "\"french\"", null ], "and", [ false, 3, [ 0, [ 0, 8, false ], null ], 2.5, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "restaurants", "query": "SELECT t3.house_number , t1.name FROM restaurant AS t1 JOIN geographic AS t2 ON t1.city_name = t2.city_name JOIN LOCATION AS t3 ON t1.id = t3.restaurant_id WHERE t2.region = \"yosemite and mono lake area\" AND t1.food_type = \"french\" AND t1.rating > 2.5;", "query_toks": [ "SELECT", "t3.house_number", ",", "t1.name", "FROM", "restaurant", "AS", "t1", "JOIN", "geographic", "AS", "t2", "ON", "t1.city_name", "=", "t2.city_name", "JOIN", "LOCATION", "AS", "t3", "ON", "t1.id", "=", "t3.restaurant_id", "WHERE", "t2.region", "=", "``", "yosemite", "and", "mono", "lake", "area", "''", "AND", "t1.food_type", "=", "``", "french", "''", "AND", "t1.rating", ">", "2.5", ";" ], "query_toks_no_value": [ "select", "t3", ".", "house_number", ",", "t1", ".", "name", "from", "restaurant", "as", "t1", "join", "geographic", "as", "t2", "on", "t1", ".", "city_name", "=", "t2", ".", "city_name", "join", "location", "as", "t3", "on", "t1", ".", "id", "=", "t3", ".", "restaurant_id", "where", "t2", ".", "region", "=", "value", "and", "t1", ".", "food_type", "=", "value", "and", "t1", ".", "rating", ">", "value" ], "question": "me dê um bom restaurante francês na área de yosemite e mono lake?", "question_toks": [ "me", "dê", "um", "bom", "restaurante", "francês", "na", "área", "de", "yosemite", "e", "mono", "lake", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 0 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 7, false ], null ], [ 0, 1, false ], null ], "and", [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 9, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 10, false ], null ] ], [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], "\"yosemite and mono lake area\"", null ], "and", [ false, 2, [ 0, [ 0, 6, false ], null ], "\"french\"", null ], "and", [ false, 3, [ 0, [ 0, 8, false ], null ], 2.5, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "restaurants", "query": "SELECT t3.house_number , t1.name FROM restaurant AS t1 JOIN geographic AS t2 ON t1.city_name = t2.city_name JOIN LOCATION AS t3 ON t1.id = t3.restaurant_id WHERE t2.region = \"yosemite and mono lake area\" AND t1.food_type = \"french\" AND t1.rating > 2.5;", "query_toks": [ "SELECT", "t3.house_number", ",", "t1.name", "FROM", "restaurant", "AS", "t1", "JOIN", "geographic", "AS", "t2", "ON", "t1.city_name", "=", "t2.city_name", "JOIN", "LOCATION", "AS", "t3", "ON", "t1.id", "=", "t3.restaurant_id", "WHERE", "t2.region", "=", "``", "yosemite", "and", "mono", "lake", "area", "''", "AND", "t1.food_type", "=", "``", "french", "''", "AND", "t1.rating", ">", "2.5", ";" ], "query_toks_no_value": [ "select", "t3", ".", "house_number", ",", "t1", ".", "name", "from", "restaurant", "as", "t1", "join", "geographic", "as", "t2", "on", "t1", ".", "city_name", "=", "t2", ".", "city_name", "join", "location", "as", "t3", "on", "t1", ".", "id", "=", "t3", ".", "restaurant_id", "where", "t2", ".", "region", "=", "value", "and", "t1", ".", "food_type", "=", "value", "and", "t1", ".", "rating", ">", "value" ], "question": "onde há um bom lugar na área de yosemite e mono lake para comida francesa?", "question_toks": [ "onde", "há", "um", "bom", "lugar", "na", "área", "de", "yosemite", "e", "mono", "lake", "para", "comida", "francesa", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 0 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 7, false ], null ], [ 0, 1, false ], null ], "and", [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 9, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 10, false ], null ] ], [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], "\"yosemite and mono lake area\"", null ], "and", [ false, 2, [ 0, [ 0, 6, false ], null ], "\"french\"", null ], "and", [ false, 3, [ 0, [ 0, 8, false ], null ], 2.5, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "restaurants", "query": "SELECT t3.house_number , t1.name FROM restaurant AS t1 JOIN geographic AS t2 ON t1.city_name = t2.city_name JOIN LOCATION AS t3 ON t1.id = t3.restaurant_id WHERE t2.region = \"yosemite and mono lake area\" AND t1.food_type = \"french\" AND t1.rating > 2.5;", "query_toks": [ "SELECT", "t3.house_number", ",", "t1.name", "FROM", "restaurant", "AS", "t1", "JOIN", "geographic", "AS", "t2", "ON", "t1.city_name", "=", "t2.city_name", "JOIN", "LOCATION", "AS", "t3", "ON", "t1.id", "=", "t3.restaurant_id", "WHERE", "t2.region", "=", "``", "yosemite", "and", "mono", "lake", "area", "''", "AND", "t1.food_type", "=", "``", "french", "''", "AND", "t1.rating", ">", "2.5", ";" ], "query_toks_no_value": [ "select", "t3", ".", "house_number", ",", "t1", ".", "name", "from", "restaurant", "as", "t1", "join", "geographic", "as", "t2", "on", "t1", ".", "city_name", "=", "t2", ".", "city_name", "join", "location", "as", "t3", "on", "t1", ".", "id", "=", "t3", ".", "restaurant_id", "where", "t2", ".", "region", "=", "value", "and", "t1", ".", "food_type", "=", "value", "and", "t1", ".", "rating", ">", "value" ], "question": "onde há alguns restaurantes bons para comida francesa na área de yosemite e mono lake?", "question_toks": [ "onde", "há", "alguns", "restaurantes", "bons", "para", "comida", "francesa", "na", "área", "de", "yosemite", "e", "mono", "lake", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 0 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 7, false ], null ], [ 0, 1, false ], null ], "and", [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 9, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 10, false ], null ] ], [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], "\"yosemite and mono lake area\"", null ], "and", [ false, 2, [ 0, [ 0, 6, false ], null ], "\"french\"", null ], "and", [ false, 3, [ 0, [ 0, 8, false ], null ], 2.5, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "restaurants", "query": "SELECT t3.house_number , t1.name FROM restaurant AS t1 JOIN geographic AS t2 ON t1.city_name = t2.city_name JOIN LOCATION AS t3 ON t1.id = t3.restaurant_id WHERE t2.region = \"yosemite and mono lake area\" AND t1.food_type = \"french\" AND t1.rating > 2.5;", "query_toks": [ "SELECT", "t3.house_number", ",", "t1.name", "FROM", "restaurant", "AS", "t1", "JOIN", "geographic", "AS", "t2", "ON", "t1.city_name", "=", "t2.city_name", "JOIN", "LOCATION", "AS", "t3", "ON", "t1.id", "=", "t3.restaurant_id", "WHERE", "t2.region", "=", "``", "yosemite", "and", "mono", "lake", "area", "''", "AND", "t1.food_type", "=", "``", "french", "''", "AND", "t1.rating", ">", "2.5", ";" ], "query_toks_no_value": [ "select", "t3", ".", "house_number", ",", "t1", ".", "name", "from", "restaurant", "as", "t1", "join", "geographic", "as", "t2", "on", "t1", ".", "city_name", "=", "t2", ".", "city_name", "join", "location", "as", "t3", "on", "t1", ".", "id", "=", "t3", ".", "restaurant_id", "where", "t2", ".", "region", "=", "value", "and", "t1", ".", "food_type", "=", "value", "and", "t1", ".", "rating", ">", "value" ], "question": "me dê um bom lugar na área de yosemite e mono lake para comida francesa?", "question_toks": [ "me", "dê", "um", "bom", "lugar", "na", "área", "de", "yosemite", "e", "mono", "lake", "para", "comida", "francesa", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 0 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 7, false ], null ], [ 0, 1, false ], null ], "and", [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 9, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 10, false ], null ] ], [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], "\"yosemite and mono lake area\"", null ], "and", [ false, 2, [ 0, [ 0, 6, false ], null ], "\"french\"", null ], "and", [ false, 3, [ 0, [ 0, 8, false ], null ], 2.5, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "restaurants", "query": "SELECT t3.house_number , t1.name FROM restaurant AS t1 JOIN geographic AS t2 ON t1.city_name = t2.city_name JOIN LOCATION AS t3 ON t1.id = t3.restaurant_id WHERE t2.region = \"yosemite and mono lake area\" AND t1.food_type = \"french\" AND t1.rating > 2.5;", "query_toks": [ "SELECT", "t3.house_number", ",", "t1.name", "FROM", "restaurant", "AS", "t1", "JOIN", "geographic", "AS", "t2", "ON", "t1.city_name", "=", "t2.city_name", "JOIN", "LOCATION", "AS", "t3", "ON", "t1.id", "=", "t3.restaurant_id", "WHERE", "t2.region", "=", "``", "yosemite", "and", "mono", "lake", "area", "''", "AND", "t1.food_type", "=", "``", "french", "''", "AND", "t1.rating", ">", "2.5", ";" ], "query_toks_no_value": [ "select", "t3", ".", "house_number", ",", "t1", ".", "name", "from", "restaurant", "as", "t1", "join", "geographic", "as", "t2", "on", "t1", ".", "city_name", "=", "t2", ".", "city_name", "join", "location", "as", "t3", "on", "t1", ".", "id", "=", "t3", ".", "restaurant_id", "where", "t2", ".", "region", "=", "value", "and", "t1", ".", "food_type", "=", "value", "and", "t1", ".", "rating", ">", "value" ], "question": "onde há um bom restaurante na área de yosemite e mono lake para comida francesa?", "question_toks": [ "onde", "há", "um", "bom", "restaurante", "na", "área", "de", "yosemite", "e", "mono", "lake", "para", "comida", "francesa", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 0 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 7, false ], null ], [ 0, 1, false ], null ], "and", [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 9, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 10, false ], null ] ], [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], "\"yosemite and mono lake area\"", null ], "and", [ false, 2, [ 0, [ 0, 6, false ], null ], "\"french\"", null ], "and", [ false, 3, [ 0, [ 0, 8, false ], null ], 2.5, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "restaurants", "query": "SELECT t3.house_number , t1.name FROM restaurant AS t1 JOIN geographic AS t2 ON t1.city_name = t2.city_name JOIN LOCATION AS t3 ON t1.id = t3.restaurant_id WHERE t2.region = \"yosemite and mono lake area\" AND t1.food_type = \"french\" AND t1.rating > 2.5;", "query_toks": [ "SELECT", "t3.house_number", ",", "t1.name", "FROM", "restaurant", "AS", "t1", "JOIN", "geographic", "AS", "t2", "ON", "t1.city_name", "=", "t2.city_name", "JOIN", "LOCATION", "AS", "t3", "ON", "t1.id", "=", "t3.restaurant_id", "WHERE", "t2.region", "=", "``", "yosemite", "and", "mono", "lake", "area", "''", "AND", "t1.food_type", "=", "``", "french", "''", "AND", "t1.rating", ">", "2.5", ";" ], "query_toks_no_value": [ "select", "t3", ".", "house_number", ",", "t1", ".", "name", "from", "restaurant", "as", "t1", "join", "geographic", "as", "t2", "on", "t1", ".", "city_name", "=", "t2", ".", "city_name", "join", "location", "as", "t3", "on", "t1", ".", "id", "=", "t3", ".", "restaurant_id", "where", "t2", ".", "region", "=", "value", "and", "t1", ".", "food_type", "=", "value", "and", "t1", ".", "rating", ">", "value" ], "question": "quais são alguns bons restaurantes na área de yosemite e mono lake para comida francesa?", "question_toks": [ "quais", "são", "alguns", "bons", "restaurantes", "na", "área", "de", "yosemite", "e", "mono", "lake", "para", "comida", "francesa", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 0 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 7, false ], null ], [ 0, 1, false ], null ], "and", [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 9, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 10, false ], null ] ], [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], "\"yosemite and mono lake area\"", null ], "and", [ false, 2, [ 0, [ 0, 6, false ], null ], "\"french\"", null ], "and", [ false, 3, [ 0, [ 0, 8, false ], null ], 2.5, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "restaurants", "query": "SELECT t3.house_number , t1.name FROM restaurant AS t1 JOIN geographic AS t2 ON t1.city_name = t2.city_name JOIN LOCATION AS t3 ON t1.id = t3.restaurant_id WHERE t2.region = \"yosemite and mono lake area\" AND t1.food_type = \"french\" AND t1.rating > 2.5;", "query_toks": [ "SELECT", "t3.house_number", ",", "t1.name", "FROM", "restaurant", "AS", "t1", "JOIN", "geographic", "AS", "t2", "ON", "t1.city_name", "=", "t2.city_name", "JOIN", "LOCATION", "AS", "t3", "ON", "t1.id", "=", "t3.restaurant_id", "WHERE", "t2.region", "=", "``", "yosemite", "and", "mono", "lake", "area", "''", "AND", "t1.food_type", "=", "``", "french", "''", "AND", "t1.rating", ">", "2.5", ";" ], "query_toks_no_value": [ "select", "t3", ".", "house_number", ",", "t1", ".", "name", "from", "restaurant", "as", "t1", "join", "geographic", "as", "t2", "on", "t1", ".", "city_name", "=", "t2", ".", "city_name", "join", "location", "as", "t3", "on", "t1", ".", "id", "=", "t3", ".", "restaurant_id", "where", "t2", ".", "region", "=", "value", "and", "t1", ".", "food_type", "=", "value", "and", "t1", ".", "rating", ">", "value" ], "question": "onde há um bom restaurante francês na área de yosemite e mono lake?", "question_toks": [ "onde", "há", "um", "bom", "restaurante", "francês", "na", "área", "de", "yosemite", "e", "mono", "lake", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 0 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 7, false ], null ], [ 0, 1, false ], null ], "and", [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 9, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 10, false ], null ] ], [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], "\"yosemite and mono lake area\"", null ], "and", [ false, 2, [ 0, [ 0, 6, false ], null ], "\"french\"", null ], "and", [ false, 3, [ 0, [ 0, 8, false ], null ], 2.5, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "restaurants", "query": "SELECT t3.house_number , t1.name FROM restaurant AS t1 JOIN geographic AS t2 ON t1.city_name = t2.city_name JOIN LOCATION AS t3 ON t1.id = t3.restaurant_id WHERE t2.region = \"yosemite and mono lake area\" AND t1.food_type = \"french\" AND t1.rating > 2.5;", "query_toks": [ "SELECT", "t3.house_number", ",", "t1.name", "FROM", "restaurant", "AS", "t1", "JOIN", "geographic", "AS", "t2", "ON", "t1.city_name", "=", "t2.city_name", "JOIN", "LOCATION", "AS", "t3", "ON", "t1.id", "=", "t3.restaurant_id", "WHERE", "t2.region", "=", "``", "yosemite", "and", "mono", "lake", "area", "''", "AND", "t1.food_type", "=", "``", "french", "''", "AND", "t1.rating", ">", "2.5", ";" ], "query_toks_no_value": [ "select", "t3", ".", "house_number", ",", "t1", ".", "name", "from", "restaurant", "as", "t1", "join", "geographic", "as", "t2", "on", "t1", ".", "city_name", "=", "t2", ".", "city_name", "join", "location", "as", "t3", "on", "t1", ".", "id", "=", "t3", ".", "restaurant_id", "where", "t2", ".", "region", "=", "value", "and", "t1", ".", "food_type", "=", "value", "and", "t1", ".", "rating", ">", "value" ], "question": "Onde posso comer uma boa comida francesa na área de yosemite e mono lake?", "question_toks": [ "Onde", "posso", "comer", "uma", "boa", "comida", "francesa", "na", "área", "de", "yosemite", "e", "mono", "lake", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 0 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 7, false ], null ], [ 0, 1, false ], null ], "and", [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 9, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 10, false ], null ] ], [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], "\"yosemite and mono lake area\"", null ], "and", [ false, 2, [ 0, [ 0, 6, false ], null ], "\"french\"", null ], "and", [ false, 3, [ 0, [ 0, 8, false ], null ], 2.5, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "restaurants", "query": "SELECT t2.house_number , t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = \"mountain view\" AND t1.food_type = \"arabic\" AND t1.rating > 2.5;", "query_toks": [ "SELECT", "t2.house_number", ",", "t1.name", "FROM", "restaurant", "AS", "t1", "JOIN", "LOCATION", "AS", "t2", "ON", "t1.id", "=", "t2.restaurant_id", "WHERE", "t2.city_name", "=", "``", "mountain", "view", "''", "AND", "t1.food_type", "=", "``", "arabic", "''", "AND", "t1.rating", ">", "2.5", ";" ], "query_toks_no_value": [ "select", "t2", ".", "house_number", ",", "t1", ".", "name", "from", "restaurant", "as", "t1", "join", "location", "as", "t2", "on", "t1", ".", "id", "=", "t2", ".", "restaurant_id", "where", "t2", ".", "city_name", "=", "value", "and", "t1", ".", "food_type", "=", "value", "and", "t1", ".", "rating", ">", "value" ], "question": "onde há alguns restaurantes bons para comida árabe em mountain view?", "question_toks": [ "onde", "há", "alguns", "restaurantes", "bons", "para", "comida", "árabe", "em", "mountain", "view", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 9, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 10, false ], null ] ], [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 12, false ], null ], "\"mountain view\"", null ], "and", [ false, 2, [ 0, [ 0, 6, false ], null ], "\"arabic\"", null ], "and", [ false, 3, [ 0, [ 0, 8, false ], null ], 2.5, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "restaurants", "query": "SELECT t2.house_number , t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = \"mountain view\" AND t1.food_type = \"arabic\" AND t1.rating > 2.5;", "query_toks": [ "SELECT", "t2.house_number", ",", "t1.name", "FROM", "restaurant", "AS", "t1", "JOIN", "LOCATION", "AS", "t2", "ON", "t1.id", "=", "t2.restaurant_id", "WHERE", "t2.city_name", "=", "``", "mountain", "view", "''", "AND", "t1.food_type", "=", "``", "arabic", "''", "AND", "t1.rating", ">", "2.5", ";" ], "query_toks_no_value": [ "select", "t2", ".", "house_number", ",", "t1", ".", "name", "from", "restaurant", "as", "t1", "join", "location", "as", "t2", "on", "t1", ".", "id", "=", "t2", ".", "restaurant_id", "where", "t2", ".", "city_name", "=", "value", "and", "t1", ".", "food_type", "=", "value", "and", "t1", ".", "rating", ">", "value" ], "question": "Quais são alguns bons lugares em Mountain View para comida árabe?", "question_toks": [ "Quais", "são", "alguns", "bons", "lugares", "em", "Mountain", "View", "para", "comida", "árabe", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 9, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 10, false ], null ] ], [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 12, false ], null ], "\"mountain view\"", null ], "and", [ false, 2, [ 0, [ 0, 6, false ], null ], "\"arabic\"", null ], "and", [ false, 3, [ 0, [ 0, 8, false ], null ], 2.5, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "restaurants", "query": "SELECT t2.house_number , t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = \"mountain view\" AND t1.food_type = \"arabic\" AND t1.rating > 2.5;", "query_toks": [ "SELECT", "t2.house_number", ",", "t1.name", "FROM", "restaurant", "AS", "t1", "JOIN", "LOCATION", "AS", "t2", "ON", "t1.id", "=", "t2.restaurant_id", "WHERE", "t2.city_name", "=", "``", "mountain", "view", "''", "AND", "t1.food_type", "=", "``", "arabic", "''", "AND", "t1.rating", ">", "2.5", ";" ], "query_toks_no_value": [ "select", "t2", ".", "house_number", ",", "t1", ".", "name", "from", "restaurant", "as", "t1", "join", "location", "as", "t2", "on", "t1", ".", "id", "=", "t2", ".", "restaurant_id", "where", "t2", ".", "city_name", "=", "value", "and", "t1", ".", "food_type", "=", "value", "and", "t1", ".", "rating", ">", "value" ], "question": "Onde estão alguns bons restaurantes árabes em Mountain View?", "question_toks": [ "Onde", "estão", "alguns", "bons", "restaurantes", "árabes", "em", "Mountain", "View", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 9, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 10, false ], null ] ], [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 12, false ], null ], "\"mountain view\"", null ], "and", [ false, 2, [ 0, [ 0, 6, false ], null ], "\"arabic\"", null ], "and", [ false, 3, [ 0, [ 0, 8, false ], null ], 2.5, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "restaurants", "query": "SELECT t2.house_number , t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = \"mountain view\" AND t1.food_type = \"arabic\" AND t1.rating > 2.5;", "query_toks": [ "SELECT", "t2.house_number", ",", "t1.name", "FROM", "restaurant", "AS", "t1", "JOIN", "LOCATION", "AS", "t2", "ON", "t1.id", "=", "t2.restaurant_id", "WHERE", "t2.city_name", "=", "``", "mountain", "view", "''", "AND", "t1.food_type", "=", "``", "arabic", "''", "AND", "t1.rating", ">", "2.5", ";" ], "query_toks_no_value": [ "select", "t2", ".", "house_number", ",", "t1", ".", "name", "from", "restaurant", "as", "t1", "join", "location", "as", "t2", "on", "t1", ".", "id", "=", "t2", ".", "restaurant_id", "where", "t2", ".", "city_name", "=", "value", "and", "t1", ".", "food_type", "=", "value", "and", "t1", ".", "rating", ">", "value" ], "question": "me Mostre um bom restaurante árabe em vista para a montanha?", "question_toks": [ "me", "Mostre", "um", "bom", "restaurante", "árabe", "em", "vista", "para", "a", "montanha", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 9, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 10, false ], null ] ], [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 12, false ], null ], "\"mountain view\"", null ], "and", [ false, 2, [ 0, [ 0, 6, false ], null ], "\"arabic\"", null ], "and", [ false, 3, [ 0, [ 0, 8, false ], null ], 2.5, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "restaurants", "query": "SELECT t2.house_number , t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = \"mountain view\" AND t1.food_type = \"arabic\" AND t1.rating > 2.5;", "query_toks": [ "SELECT", "t2.house_number", ",", "t1.name", "FROM", "restaurant", "AS", "t1", "JOIN", "LOCATION", "AS", "t2", "ON", "t1.id", "=", "t2.restaurant_id", "WHERE", "t2.city_name", "=", "``", "mountain", "view", "''", "AND", "t1.food_type", "=", "``", "arabic", "''", "AND", "t1.rating", ">", "2.5", ";" ], "query_toks_no_value": [ "select", "t2", ".", "house_number", ",", "t1", ".", "name", "from", "restaurant", "as", "t1", "join", "location", "as", "t2", "on", "t1", ".", "id", "=", "t2", ".", "restaurant_id", "where", "t2", ".", "city_name", "=", "value", "and", "t1", ".", "food_type", "=", "value", "and", "t1", ".", "rating", ">", "value" ], "question": "me dê um bom árabe em vista para a montanha?", "question_toks": [ "me", "dê", "um", "bom", "árabe", "em", "vista", "para", "a", "montanha", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 9, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 10, false ], null ] ], [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 12, false ], null ], "\"mountain view\"", null ], "and", [ false, 2, [ 0, [ 0, 6, false ], null ], "\"arabic\"", null ], "and", [ false, 3, [ 0, [ 0, 8, false ], null ], 2.5, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "restaurants", "query": "SELECT t2.house_number , t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = \"mountain view\" AND t1.food_type = \"arabic\" AND t1.rating > 2.5;", "query_toks": [ "SELECT", "t2.house_number", ",", "t1.name", "FROM", "restaurant", "AS", "t1", "JOIN", "LOCATION", "AS", "t2", "ON", "t1.id", "=", "t2.restaurant_id", "WHERE", "t2.city_name", "=", "``", "mountain", "view", "''", "AND", "t1.food_type", "=", "``", "arabic", "''", "AND", "t1.rating", ">", "2.5", ";" ], "query_toks_no_value": [ "select", "t2", ".", "house_number", ",", "t1", ".", "name", "from", "restaurant", "as", "t1", "join", "location", "as", "t2", "on", "t1", ".", "id", "=", "t2", ".", "restaurant_id", "where", "t2", ".", "city_name", "=", "value", "and", "t1", ".", "food_type", "=", "value", "and", "t1", ".", "rating", ">", "value" ], "question": "me dê um bom restaurante árabe em vista para a montanha?", "question_toks": [ "me", "dê", "um", "bom", "restaurante", "árabe", "em", "vista", "para", "a", "montanha", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 9, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 10, false ], null ] ], [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 12, false ], null ], "\"mountain view\"", null ], "and", [ false, 2, [ 0, [ 0, 6, false ], null ], "\"arabic\"", null ], "and", [ false, 3, [ 0, [ 0, 8, false ], null ], 2.5, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "restaurants", "query": "SELECT t2.house_number , t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = \"mountain view\" AND t1.food_type = \"arabic\" AND t1.rating > 2.5;", "query_toks": [ "SELECT", "t2.house_number", ",", "t1.name", "FROM", "restaurant", "AS", "t1", "JOIN", "LOCATION", "AS", "t2", "ON", "t1.id", "=", "t2.restaurant_id", "WHERE", "t2.city_name", "=", "``", "mountain", "view", "''", "AND", "t1.food_type", "=", "``", "arabic", "''", "AND", "t1.rating", ">", "2.5", ";" ], "query_toks_no_value": [ "select", "t2", ".", "house_number", ",", "t1", ".", "name", "from", "restaurant", "as", "t1", "join", "location", "as", "t2", "on", "t1", ".", "id", "=", "t2", ".", "restaurant_id", "where", "t2", ".", "city_name", "=", "value", "and", "t1", ".", "food_type", "=", "value", "and", "t1", ".", "rating", ">", "value" ], "question": "me dê um bom lugar em vista da montanha para comida árabe?", "question_toks": [ "me", "dê", "um", "bom", "lugar", "em", "vista", "da", "montanha", "para", "comida", "árabe", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 9, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 10, false ], null ] ], [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 12, false ], null ], "\"mountain view\"", null ], "and", [ false, 2, [ 0, [ 0, 6, false ], null ], "\"arabic\"", null ], "and", [ false, 3, [ 0, [ 0, 8, false ], null ], 2.5, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "restaurants", "query": "SELECT t2.house_number , t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = \"mountain view\" AND t1.food_type = \"arabic\" AND t1.rating > 2.5;", "query_toks": [ "SELECT", "t2.house_number", ",", "t1.name", "FROM", "restaurant", "AS", "t1", "JOIN", "LOCATION", "AS", "t2", "ON", "t1.id", "=", "t2.restaurant_id", "WHERE", "t2.city_name", "=", "``", "mountain", "view", "''", "AND", "t1.food_type", "=", "``", "arabic", "''", "AND", "t1.rating", ">", "2.5", ";" ], "query_toks_no_value": [ "select", "t2", ".", "house_number", ",", "t1", ".", "name", "from", "restaurant", "as", "t1", "join", "location", "as", "t2", "on", "t1", ".", "id", "=", "t2", ".", "restaurant_id", "where", "t2", ".", "city_name", "=", "value", "and", "t1", ".", "food_type", "=", "value", "and", "t1", ".", "rating", ">", "value" ], "question": "onde estão alguns bons árabes em vista para a montanha?", "question_toks": [ "onde", "estão", "alguns", "bons", "árabes", "em", "vista", "para", "a", "montanha", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 9, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 10, false ], null ] ], [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 12, false ], null ], "\"mountain view\"", null ], "and", [ false, 2, [ 0, [ 0, 6, false ], null ], "\"arabic\"", null ], "and", [ false, 3, [ 0, [ 0, 8, false ], null ], 2.5, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "restaurants", "query": "SELECT t2.house_number , t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = \"mountain view\" AND t1.food_type = \"arabic\" AND t1.rating > 2.5;", "query_toks": [ "SELECT", "t2.house_number", ",", "t1.name", "FROM", "restaurant", "AS", "t1", "JOIN", "LOCATION", "AS", "t2", "ON", "t1.id", "=", "t2.restaurant_id", "WHERE", "t2.city_name", "=", "``", "mountain", "view", "''", "AND", "t1.food_type", "=", "``", "arabic", "''", "AND", "t1.rating", ">", "2.5", ";" ], "query_toks_no_value": [ "select", "t2", ".", "house_number", ",", "t1", ".", "name", "from", "restaurant", "as", "t1", "join", "location", "as", "t2", "on", "t1", ".", "id", "=", "t2", ".", "restaurant_id", "where", "t2", ".", "city_name", "=", "value", "and", "t1", ".", "food_type", "=", "value", "and", "t1", ".", "rating", ">", "value" ], "question": "onde fica um restaurante com vista para a montanha que serve boa comida árabe?", "question_toks": [ "onde", "fica", "um", "restaurante", "com", "vista", "para", "a", "montanha", "que", "serve", "boa", "comida", "árabe", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 9, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 10, false ], null ] ], [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 12, false ], null ], "\"mountain view\"", null ], "and", [ false, 2, [ 0, [ 0, 6, false ], null ], "\"arabic\"", null ], "and", [ false, 3, [ 0, [ 0, 8, false ], null ], 2.5, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "restaurants", "query": "SELECT t2.house_number , t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = \"mountain view\" AND t1.food_type = \"arabic\" AND t1.rating > 2.5;", "query_toks": [ "SELECT", "t2.house_number", ",", "t1.name", "FROM", "restaurant", "AS", "t1", "JOIN", "LOCATION", "AS", "t2", "ON", "t1.id", "=", "t2.restaurant_id", "WHERE", "t2.city_name", "=", "``", "mountain", "view", "''", "AND", "t1.food_type", "=", "``", "arabic", "''", "AND", "t1.rating", ">", "2.5", ";" ], "query_toks_no_value": [ "select", "t2", ".", "house_number", ",", "t1", ".", "name", "from", "restaurant", "as", "t1", "join", "location", "as", "t2", "on", "t1", ".", "id", "=", "t2", ".", "restaurant_id", "where", "t2", ".", "city_name", "=", "value", "and", "t1", ".", "food_type", "=", "value", "and", "t1", ".", "rating", ">", "value" ], "question": "Quais são alguns bons restaurantes em Mountain View para comida árabe?", "question_toks": [ "Quais", "são", "alguns", "bons", "restaurantes", "em", "Mountain", "View", "para", "comida", "árabe", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 9, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 10, false ], null ] ], [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 12, false ], null ], "\"mountain view\"", null ], "and", [ false, 2, [ 0, [ 0, 6, false ], null ], "\"arabic\"", null ], "and", [ false, 3, [ 0, [ 0, 8, false ], null ], 2.5, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "restaurants", "query": "SELECT t2.house_number , t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = \"mountain view\" AND t1.food_type = \"arabic\" AND t1.rating > 2.5;", "query_toks": [ "SELECT", "t2.house_number", ",", "t1.name", "FROM", "restaurant", "AS", "t1", "JOIN", "LOCATION", "AS", "t2", "ON", "t1.id", "=", "t2.restaurant_id", "WHERE", "t2.city_name", "=", "``", "mountain", "view", "''", "AND", "t1.food_type", "=", "``", "arabic", "''", "AND", "t1.rating", ">", "2.5", ";" ], "query_toks_no_value": [ "select", "t2", ".", "house_number", ",", "t1", ".", "name", "from", "restaurant", "as", "t1", "join", "location", "as", "t2", "on", "t1", ".", "id", "=", "t2", ".", "restaurant_id", "where", "t2", ".", "city_name", "=", "value", "and", "t1", ".", "food_type", "=", "value", "and", "t1", ".", "rating", ">", "value" ], "question": "me dê alguns restaurantes bons para comida árabe em mountain view", "question_toks": [ "me", "dê", "alguns", "restaurantes", "bons", "para", "comida", "árabe", "em", "mountain", "view" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 9, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 10, false ], null ] ], [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 12, false ], null ], "\"mountain view\"", null ], "and", [ false, 2, [ 0, [ 0, 6, false ], null ], "\"arabic\"", null ], "and", [ false, 3, [ 0, [ 0, 8, false ], null ], 2.5, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "restaurants", "query": "SELECT t2.house_number , t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = \"mountain view\" AND t1.food_type = \"arabic\" AND t1.rating > 2.5;", "query_toks": [ "SELECT", "t2.house_number", ",", "t1.name", "FROM", "restaurant", "AS", "t1", "JOIN", "LOCATION", "AS", "t2", "ON", "t1.id", "=", "t2.restaurant_id", "WHERE", "t2.city_name", "=", "``", "mountain", "view", "''", "AND", "t1.food_type", "=", "``", "arabic", "''", "AND", "t1.rating", ">", "2.5", ";" ], "query_toks_no_value": [ "select", "t2", ".", "house_number", ",", "t1", ".", "name", "from", "restaurant", "as", "t1", "join", "location", "as", "t2", "on", "t1", ".", "id", "=", "t2", ".", "restaurant_id", "where", "t2", ".", "city_name", "=", "value", "and", "t1", ".", "food_type", "=", "value", "and", "t1", ".", "rating", ">", "value" ], "question": "Onde posso comer uma boa comida árabe em Mountain View?", "question_toks": [ "Onde", "posso", "comer", "uma", "boa", "comida", "árabe", "em", "Mountain", "View", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 9, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 10, false ], null ] ], [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 12, false ], null ], "\"mountain view\"", null ], "and", [ false, 2, [ 0, [ 0, 6, false ], null ], "\"arabic\"", null ], "and", [ false, 3, [ 0, [ 0, 8, false ], null ], 2.5, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "restaurants", "query": "SELECT t2.house_number , t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = \"mountain view\" AND t1.food_type = \"arabic\" AND t1.rating > 2.5;", "query_toks": [ "SELECT", "t2.house_number", ",", "t1.name", "FROM", "restaurant", "AS", "t1", "JOIN", "LOCATION", "AS", "t2", "ON", "t1.id", "=", "t2.restaurant_id", "WHERE", "t2.city_name", "=", "``", "mountain", "view", "''", "AND", "t1.food_type", "=", "``", "arabic", "''", "AND", "t1.rating", ">", "2.5", ";" ], "query_toks_no_value": [ "select", "t2", ".", "house_number", ",", "t1", ".", "name", "from", "restaurant", "as", "t1", "join", "location", "as", "t2", "on", "t1", ".", "id", "=", "t2", ".", "restaurant_id", "where", "t2", ".", "city_name", "=", "value", "and", "t1", ".", "food_type", "=", "value", "and", "t1", ".", "rating", ">", "value" ], "question": "me dê alguns bons lugares para o árabe na vista da montanha?", "question_toks": [ "me", "dê", "alguns", "bons", "lugares", "para", "o", "árabe", "na", "vista", "da", "montanha", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 9, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 10, false ], null ] ], [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 12, false ], null ], "\"mountain view\"", null ], "and", [ false, 2, [ 0, [ 0, 6, false ], null ], "\"arabic\"", null ], "and", [ false, 3, [ 0, [ 0, 8, false ], null ], 2.5, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "restaurants", "query": "SELECT t2.house_number , t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = \"mountain view\" AND t1.food_type = \"arabic\" AND t1.rating > 2.5;", "query_toks": [ "SELECT", "t2.house_number", ",", "t1.name", "FROM", "restaurant", "AS", "t1", "JOIN", "LOCATION", "AS", "t2", "ON", "t1.id", "=", "t2.restaurant_id", "WHERE", "t2.city_name", "=", "``", "mountain", "view", "''", "AND", "t1.food_type", "=", "``", "arabic", "''", "AND", "t1.rating", ">", "2.5", ";" ], "query_toks_no_value": [ "select", "t2", ".", "house_number", ",", "t1", ".", "name", "from", "restaurant", "as", "t1", "join", "location", "as", "t2", "on", "t1", ".", "id", "=", "t2", ".", "restaurant_id", "where", "t2", ".", "city_name", "=", "value", "and", "t1", ".", "food_type", "=", "value", "and", "t1", ".", "rating", ">", "value" ], "question": "onde fica um bom árabe em vista para a montanha?", "question_toks": [ "onde", "fica", "um", "bom", "árabe", "em", "vista", "para", "a", "montanha", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 9, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 10, false ], null ] ], [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 12, false ], null ], "\"mountain view\"", null ], "and", [ false, 2, [ 0, [ 0, 6, false ], null ], "\"arabic\"", null ], "and", [ false, 3, [ 0, [ 0, 8, false ], null ], 2.5, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "restaurants", "query": "SELECT t2.house_number , t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = \"mountain view\" AND t1.food_type = \"arabic\" AND t1.rating > 2.5;", "query_toks": [ "SELECT", "t2.house_number", ",", "t1.name", "FROM", "restaurant", "AS", "t1", "JOIN", "LOCATION", "AS", "t2", "ON", "t1.id", "=", "t2.restaurant_id", "WHERE", "t2.city_name", "=", "``", "mountain", "view", "''", "AND", "t1.food_type", "=", "``", "arabic", "''", "AND", "t1.rating", ">", "2.5", ";" ], "query_toks_no_value": [ "select", "t2", ".", "house_number", ",", "t1", ".", "name", "from", "restaurant", "as", "t1", "join", "location", "as", "t2", "on", "t1", ".", "id", "=", "t2", ".", "restaurant_id", "where", "t2", ".", "city_name", "=", "value", "and", "t1", ".", "food_type", "=", "value", "and", "t1", ".", "rating", ">", "value" ], "question": "me dá um restaurante com vista para a montanha que serve boa comida árabe?", "question_toks": [ "me", "dá", "um", "restaurante", "com", "vista", "para", "a", "montanha", "que", "serve", "boa", "comida", "árabe", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 9, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 10, false ], null ] ], [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 12, false ], null ], "\"mountain view\"", null ], "and", [ false, 2, [ 0, [ 0, 6, false ], null ], "\"arabic\"", null ], "and", [ false, 3, [ 0, [ 0, 8, false ], null ], 2.5, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "restaurants", "query": "SELECT t2.house_number , t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = \"mountain view\" AND t1.food_type = \"arabic\" AND t1.rating > 2.5;", "query_toks": [ "SELECT", "t2.house_number", ",", "t1.name", "FROM", "restaurant", "AS", "t1", "JOIN", "LOCATION", "AS", "t2", "ON", "t1.id", "=", "t2.restaurant_id", "WHERE", "t2.city_name", "=", "``", "mountain", "view", "''", "AND", "t1.food_type", "=", "``", "arabic", "''", "AND", "t1.rating", ">", "2.5", ";" ], "query_toks_no_value": [ "select", "t2", ".", "house_number", ",", "t1", ".", "name", "from", "restaurant", "as", "t1", "join", "location", "as", "t2", "on", "t1", ".", "id", "=", "t2", ".", "restaurant_id", "where", "t2", ".", "city_name", "=", "value", "and", "t1", ".", "food_type", "=", "value", "and", "t1", ".", "rating", ">", "value" ], "question": "me dê alguns bons restaurantes árabes em vista para a montanha?", "question_toks": [ "me", "dê", "alguns", "bons", "restaurantes", "árabes", "em", "vista", "para", "a", "montanha", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 9, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 10, false ], null ] ], [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 12, false ], null ], "\"mountain view\"", null ], "and", [ false, 2, [ 0, [ 0, 6, false ], null ], "\"arabic\"", null ], "and", [ false, 3, [ 0, [ 0, 8, false ], null ], 2.5, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "restaurants", "query": "SELECT t2.house_number , t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = \"mountain view\" AND t1.food_type = \"arabic\" AND t1.rating > 2.5;", "query_toks": [ "SELECT", "t2.house_number", ",", "t1.name", "FROM", "restaurant", "AS", "t1", "JOIN", "LOCATION", "AS", "t2", "ON", "t1.id", "=", "t2.restaurant_id", "WHERE", "t2.city_name", "=", "``", "mountain", "view", "''", "AND", "t1.food_type", "=", "``", "arabic", "''", "AND", "t1.rating", ">", "2.5", ";" ], "query_toks_no_value": [ "select", "t2", ".", "house_number", ",", "t1", ".", "name", "from", "restaurant", "as", "t1", "join", "location", "as", "t2", "on", "t1", ".", "id", "=", "t2", ".", "restaurant_id", "where", "t2", ".", "city_name", "=", "value", "and", "t1", ".", "food_type", "=", "value", "and", "t1", ".", "rating", ">", "value" ], "question": "onde estão alguns bons lugares para o árabe em vista para a montanha?", "question_toks": [ "onde", "estão", "alguns", "bons", "lugares", "para", "o", "árabe", "em", "vista", "para", "a", "montanha", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 9, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 10, false ], null ] ], [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 12, false ], null ], "\"mountain view\"", null ], "and", [ false, 2, [ 0, [ 0, 6, false ], null ], "\"arabic\"", null ], "and", [ false, 3, [ 0, [ 0, 8, false ], null ], 2.5, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "restaurants", "query": "SELECT t2.house_number , t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = \"mountain view\" AND t1.food_type = \"arabic\" AND t1.rating > 2.5;", "query_toks": [ "SELECT", "t2.house_number", ",", "t1.name", "FROM", "restaurant", "AS", "t1", "JOIN", "LOCATION", "AS", "t2", "ON", "t1.id", "=", "t2.restaurant_id", "WHERE", "t2.city_name", "=", "``", "mountain", "view", "''", "AND", "t1.food_type", "=", "``", "arabic", "''", "AND", "t1.rating", ">", "2.5", ";" ], "query_toks_no_value": [ "select", "t2", ".", "house_number", ",", "t1", ".", "name", "from", "restaurant", "as", "t1", "join", "location", "as", "t2", "on", "t1", ".", "id", "=", "t2", ".", "restaurant_id", "where", "t2", ".", "city_name", "=", "value", "and", "t1", ".", "food_type", "=", "value", "and", "t1", ".", "rating", ">", "value" ], "question": "me dê alguns bons árabes em vista para a montanha?", "question_toks": [ "me", "dê", "alguns", "bons", "árabes", "em", "vista", "para", "a", "montanha", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 9, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 10, false ], null ] ], [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 12, false ], null ], "\"mountain view\"", null ], "and", [ false, 2, [ 0, [ 0, 6, false ], null ], "\"arabic\"", null ], "and", [ false, 3, [ 0, [ 0, 8, false ], null ], 2.5, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "restaurants", "query": "SELECT t2.house_number , t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = \"mountain view\" AND t1.food_type = \"arabic\" AND t1.rating > 2.5;", "query_toks": [ "SELECT", "t2.house_number", ",", "t1.name", "FROM", "restaurant", "AS", "t1", "JOIN", "LOCATION", "AS", "t2", "ON", "t1.id", "=", "t2.restaurant_id", "WHERE", "t2.city_name", "=", "``", "mountain", "view", "''", "AND", "t1.food_type", "=", "``", "arabic", "''", "AND", "t1.rating", ">", "2.5", ";" ], "query_toks_no_value": [ "select", "t2", ".", "house_number", ",", "t1", ".", "name", "from", "restaurant", "as", "t1", "join", "location", "as", "t2", "on", "t1", ".", "id", "=", "t2", ".", "restaurant_id", "where", "t2", ".", "city_name", "=", "value", "and", "t1", ".", "food_type", "=", "value", "and", "t1", ".", "rating", ">", "value" ], "question": "me dê um bom restaurante em vista para a montanha para comida árabe?", "question_toks": [ "me", "dê", "um", "bom", "restaurante", "em", "vista", "para", "a", "montanha", "para", "comida", "árabe", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 9, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 10, false ], null ] ], [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 12, false ], null ], "\"mountain view\"", null ], "and", [ false, 2, [ 0, [ 0, 6, false ], null ], "\"arabic\"", null ], "and", [ false, 3, [ 0, [ 0, 8, false ], null ], 2.5, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "restaurants", "query": "SELECT t2.house_number , t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = \"mountain view\" AND t1.food_type = \"arabic\" AND t1.rating > 2.5;", "query_toks": [ "SELECT", "t2.house_number", ",", "t1.name", "FROM", "restaurant", "AS", "t1", "JOIN", "LOCATION", "AS", "t2", "ON", "t1.id", "=", "t2.restaurant_id", "WHERE", "t2.city_name", "=", "``", "mountain", "view", "''", "AND", "t1.food_type", "=", "``", "arabic", "''", "AND", "t1.rating", ">", "2.5", ";" ], "query_toks_no_value": [ "select", "t2", ".", "house_number", ",", "t1", ".", "name", "from", "restaurant", "as", "t1", "join", "location", "as", "t2", "on", "t1", ".", "id", "=", "t2", ".", "restaurant_id", "where", "t2", ".", "city_name", "=", "value", "and", "t1", ".", "food_type", "=", "value", "and", "t1", ".", "rating", ">", "value" ], "question": "onde fica um bom restaurante árabe em vista para a montanha?", "question_toks": [ "onde", "fica", "um", "bom", "restaurante", "árabe", "em", "vista", "para", "a", "montanha", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 9, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 10, false ], null ] ], [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 12, false ], null ], "\"mountain view\"", null ], "and", [ false, 2, [ 0, [ 0, 6, false ], null ], "\"arabic\"", null ], "and", [ false, 3, [ 0, [ 0, 8, false ], null ], 2.5, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "restaurants", "query": "SELECT t2.house_number , t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = \"mountain view\" AND t1.food_type = \"arabic\" AND t1.rating > 2.5;", "query_toks": [ "SELECT", "t2.house_number", ",", "t1.name", "FROM", "restaurant", "AS", "t1", "JOIN", "LOCATION", "AS", "t2", "ON", "t1.id", "=", "t2.restaurant_id", "WHERE", "t2.city_name", "=", "``", "mountain", "view", "''", "AND", "t1.food_type", "=", "``", "arabic", "''", "AND", "t1.rating", ">", "2.5", ";" ], "query_toks_no_value": [ "select", "t2", ".", "house_number", ",", "t1", ".", "name", "from", "restaurant", "as", "t1", "join", "location", "as", "t2", "on", "t1", ".", "id", "=", "t2", ".", "restaurant_id", "where", "t2", ".", "city_name", "=", "value", "and", "t1", ".", "food_type", "=", "value", "and", "t1", ".", "rating", ">", "value" ], "question": "Quais são alguns bons lugares para ver o árabe na montanha", "question_toks": [ "Quais", "são", "alguns", "bons", "lugares", "para", "ver", "o", "árabe", "na", "montanha" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 9, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 10, false ], null ] ], [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 12, false ], null ], "\"mountain view\"", null ], "and", [ false, 2, [ 0, [ 0, 6, false ], null ], "\"arabic\"", null ], "and", [ false, 3, [ 0, [ 0, 8, false ], null ], 2.5, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "restaurants", "query": "SELECT t2.house_number , t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = \"mountain view\" AND t1.food_type = \"arabic\" AND t1.rating > 2.5;", "query_toks": [ "SELECT", "t2.house_number", ",", "t1.name", "FROM", "restaurant", "AS", "t1", "JOIN", "LOCATION", "AS", "t2", "ON", "t1.id", "=", "t2.restaurant_id", "WHERE", "t2.city_name", "=", "``", "mountain", "view", "''", "AND", "t1.food_type", "=", "``", "arabic", "''", "AND", "t1.rating", ">", "2.5", ";" ], "query_toks_no_value": [ "select", "t2", ".", "house_number", ",", "t1", ".", "name", "from", "restaurant", "as", "t1", "join", "location", "as", "t2", "on", "t1", ".", "id", "=", "t2", ".", "restaurant_id", "where", "t2", ".", "city_name", "=", "value", "and", "t1", ".", "food_type", "=", "value", "and", "t1", ".", "rating", ">", "value" ], "question": "onde fica um bom restaurante com vista para a montanha para comida árabe?", "question_toks": [ "onde", "fica", "um", "bom", "restaurante", "com", "vista", "para", "a", "montanha", "para", "comida", "árabe", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 9, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 10, false ], null ] ], [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 12, false ], null ], "\"mountain view\"", null ], "and", [ false, 2, [ 0, [ 0, 6, false ], null ], "\"arabic\"", null ], "and", [ false, 3, [ 0, [ 0, 8, false ], null ], 2.5, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "restaurants", "query": "SELECT t2.house_number , t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = \"mountain view\" AND t1.food_type = \"arabic\" AND t1.rating > 2.5;", "query_toks": [ "SELECT", "t2.house_number", ",", "t1.name", "FROM", "restaurant", "AS", "t1", "JOIN", "LOCATION", "AS", "t2", "ON", "t1.id", "=", "t2.restaurant_id", "WHERE", "t2.city_name", "=", "``", "mountain", "view", "''", "AND", "t1.food_type", "=", "``", "arabic", "''", "AND", "t1.rating", ">", "2.5", ";" ], "query_toks_no_value": [ "select", "t2", ".", "house_number", ",", "t1", ".", "name", "from", "restaurant", "as", "t1", "join", "location", "as", "t2", "on", "t1", ".", "id", "=", "t2", ".", "restaurant_id", "where", "t2", ".", "city_name", "=", "value", "and", "t1", ".", "food_type", "=", "value", "and", "t1", ".", "rating", ">", "value" ], "question": "onde fica um bom lugar em Mountain View para comida árabe?", "question_toks": [ "onde", "fica", "um", "bom", "lugar", "em", "Mountain", "View", "para", "comida", "árabe", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 9, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 10, false ], null ] ], [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 12, false ], null ], "\"mountain view\"", null ], "and", [ false, 2, [ 0, [ 0, 6, false ], null ], "\"arabic\"", null ], "and", [ false, 3, [ 0, [ 0, 8, false ], null ], 2.5, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "restaurants", "query": "SELECT t2.house_number , t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = \"san francisco\" AND t1.name = \"jamerican cuisine\";", "query_toks": [ "SELECT", "t2.house_number", ",", "t1.name", "FROM", "restaurant", "AS", "t1", "JOIN", "LOCATION", "AS", "t2", "ON", "t1.id", "=", "t2.restaurant_id", "WHERE", "t2.city_name", "=", "``", "san", "francisco", "''", "AND", "t1.name", "=", "``", "jamerican", "cuisine", "''", ";" ], "query_toks_no_value": [ "select", "t2", ".", "house_number", ",", "t1", ".", "name", "from", "restaurant", "as", "t1", "join", "location", "as", "t2", "on", "t1", ".", "id", "=", "t2", ".", "restaurant_id", "where", "t2", ".", "city_name", "=", "value", "and", "t1", ".", "name", "=", "value" ], "question": "onde posso encontrar culinária jamericana em san francisco?", "question_toks": [ "onde", "posso", "encontrar", "culinária", "jamericana", "em", "san", "francisco", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 9, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 10, false ], null ] ], [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 12, false ], null ], "\"san francisco\"", null ], "and", [ false, 2, [ 0, [ 0, 5, false ], null ], "\"jamerican cuisine\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "restaurants", "query": "SELECT t2.house_number , t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = \"san francisco\" AND t1.name = \"jamerican cuisine\";", "query_toks": [ "SELECT", "t2.house_number", ",", "t1.name", "FROM", "restaurant", "AS", "t1", "JOIN", "LOCATION", "AS", "t2", "ON", "t1.id", "=", "t2.restaurant_id", "WHERE", "t2.city_name", "=", "``", "san", "francisco", "''", "AND", "t1.name", "=", "``", "jamerican", "cuisine", "''", ";" ], "query_toks_no_value": [ "select", "t2", ".", "house_number", ",", "t1", ".", "name", "from", "restaurant", "as", "t1", "join", "location", "as", "t2", "on", "t1", ".", "id", "=", "t2", ".", "restaurant_id", "where", "t2", ".", "city_name", "=", "value", "and", "t1", ".", "name", "=", "value" ], "question": "onde fica a culinária jamericana em san francisco?", "question_toks": [ "onde", "fica", "a", "culinária", "jamericana", "em", "san", "francisco", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 9, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 10, false ], null ] ], [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 12, false ], null ], "\"san francisco\"", null ], "and", [ false, 2, [ 0, [ 0, 5, false ], null ], "\"jamerican cuisine\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "restaurants", "query": "SELECT t2.house_number , t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = \"san francisco\" AND t1.name = \"jamerican cuisine\";", "query_toks": [ "SELECT", "t2.house_number", ",", "t1.name", "FROM", "restaurant", "AS", "t1", "JOIN", "LOCATION", "AS", "t2", "ON", "t1.id", "=", "t2.restaurant_id", "WHERE", "t2.city_name", "=", "``", "san", "francisco", "''", "AND", "t1.name", "=", "``", "jamerican", "cuisine", "''", ";" ], "query_toks_no_value": [ "select", "t2", ".", "house_number", ",", "t1", ".", "name", "from", "restaurant", "as", "t1", "join", "location", "as", "t2", "on", "t1", ".", "id", "=", "t2", ".", "restaurant_id", "where", "t2", ".", "city_name", "=", "value", "and", "t1", ".", "name", "=", "value" ], "question": "onde fica a culinária jamericana em san francisco?", "question_toks": [ "onde", "fica", "a", "culinária", "jamericana", "em", "san", "francisco", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 9, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 10, false ], null ] ], [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 12, false ], null ], "\"san francisco\"", null ], "and", [ false, 2, [ 0, [ 0, 5, false ], null ], "\"jamerican cuisine\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "restaurants", "query": "SELECT t2.house_number , t1.name FROM LOCATION AS t2 JOIN restaurant AS t1 ON t1.id = t2.restaurant_id WHERE t1.city_name IN ( SELECT city_name FROM geographic WHERE region = \"bay area\" );", "query_toks": [ "SELECT", "t2.house_number", ",", "t1.name", "FROM", "LOCATION", "AS", "t2", "JOIN", "restaurant", "AS", "t1", "ON", "t1.id", "=", "t2.restaurant_id", "WHERE", "t1.city_name", "IN", "(", "SELECT", "city_name", "FROM", "geographic", "WHERE", "region", "=", "``", "bay", "area", "''", ")", ";" ], "query_toks_no_value": [ "select", "t2", ".", "house_number", ",", "t1", ".", "name", "from", "location", "as", "t2", "join", "restaurant", "as", "t1", "on", "t1", ".", "id", "=", "t2", ".", "restaurant_id", "where", "t1", ".", "city_name", "in", "(", "select", "city_name", "from", "geographic", "where", "region", "=", "value", ")" ], "question": "onde podemos encontrar alguns restaurantes na área da baía?", "question_toks": [ "onde", "podemos", "encontrar", "alguns", "restaurantes", "na", "área", "da", "baía", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 9, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 10, false ], null ] ], [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 8, [ 0, [ 0, 7, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 1, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], "\"bay area\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "restaurants", "query": "SELECT t2.house_number , t1.name FROM LOCATION AS t2 JOIN restaurant AS t1 ON t1.id = t2.restaurant_id WHERE t1.city_name IN ( SELECT city_name FROM geographic WHERE region = \"bay area\" );", "query_toks": [ "SELECT", "t2.house_number", ",", "t1.name", "FROM", "LOCATION", "AS", "t2", "JOIN", "restaurant", "AS", "t1", "ON", "t1.id", "=", "t2.restaurant_id", "WHERE", "t1.city_name", "IN", "(", "SELECT", "city_name", "FROM", "geographic", "WHERE", "region", "=", "``", "bay", "area", "''", ")", ";" ], "query_toks_no_value": [ "select", "t2", ".", "house_number", ",", "t1", ".", "name", "from", "location", "as", "t2", "join", "restaurant", "as", "t1", "on", "t1", ".", "id", "=", "t2", ".", "restaurant_id", "where", "t1", ".", "city_name", "in", "(", "select", "city_name", "from", "geographic", "where", "region", "=", "value", ")" ], "question": "me dê alguns restaurantes na área da baía?", "question_toks": [ "me", "dê", "alguns", "restaurantes", "na", "área", "da", "baía", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 9, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 10, false ], null ] ], [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 8, [ 0, [ 0, 7, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 1, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], "\"bay area\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "restaurants", "query": "SELECT t2.house_number , t1.name FROM LOCATION AS t2 JOIN restaurant AS t1 ON t1.id = t2.restaurant_id WHERE t1.city_name IN ( SELECT city_name FROM geographic WHERE region = \"bay area\" );", "query_toks": [ "SELECT", "t2.house_number", ",", "t1.name", "FROM", "LOCATION", "AS", "t2", "JOIN", "restaurant", "AS", "t1", "ON", "t1.id", "=", "t2.restaurant_id", "WHERE", "t1.city_name", "IN", "(", "SELECT", "city_name", "FROM", "geographic", "WHERE", "region", "=", "``", "bay", "area", "''", ")", ";" ], "query_toks_no_value": [ "select", "t2", ".", "house_number", ",", "t1", ".", "name", "from", "location", "as", "t2", "join", "restaurant", "as", "t1", "on", "t1", ".", "id", "=", "t2", ".", "restaurant_id", "where", "t1", ".", "city_name", "in", "(", "select", "city_name", "from", "geographic", "where", "region", "=", "value", ")" ], "question": "me dê um restaurante na área da baía?", "question_toks": [ "me", "dê", "um", "restaurante", "na", "área", "da", "baía", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 9, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 10, false ], null ] ], [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 8, [ 0, [ 0, 7, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 1, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], "\"bay area\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "restaurants", "query": "SELECT t2.house_number , t1.name FROM LOCATION AS t2 JOIN restaurant AS t1 ON t1.id = t2.restaurant_id WHERE t1.city_name IN ( SELECT city_name FROM geographic WHERE region = \"bay area\" );", "query_toks": [ "SELECT", "t2.house_number", ",", "t1.name", "FROM", "LOCATION", "AS", "t2", "JOIN", "restaurant", "AS", "t1", "ON", "t1.id", "=", "t2.restaurant_id", "WHERE", "t1.city_name", "IN", "(", "SELECT", "city_name", "FROM", "geographic", "WHERE", "region", "=", "``", "bay", "area", "''", ")", ";" ], "query_toks_no_value": [ "select", "t2", ".", "house_number", ",", "t1", ".", "name", "from", "location", "as", "t2", "join", "restaurant", "as", "t1", "on", "t1", ".", "id", "=", "t2", ".", "restaurant_id", "where", "t1", ".", "city_name", "in", "(", "select", "city_name", "from", "geographic", "where", "region", "=", "value", ")" ], "question": "onde posso encontrar um restaurante na área da baía?", "question_toks": [ "onde", "posso", "encontrar", "um", "restaurante", "na", "área", "da", "baía", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 9, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 10, false ], null ] ], [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 8, [ 0, [ 0, 7, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 1, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], "\"bay area\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "restaurants", "query": "SELECT t2.house_number , t1.name FROM LOCATION AS t2 JOIN restaurant AS t1 ON t1.id = t2.restaurant_id WHERE t1.city_name IN ( SELECT city_name FROM geographic WHERE region = \"region0\" ) AND t1.rating > 2.5;", "query_toks": [ "SELECT", "t2.house_number", ",", "t1.name", "FROM", "LOCATION", "AS", "t2", "JOIN", "restaurant", "AS", "t1", "ON", "t1.id", "=", "t2.restaurant_id", "WHERE", "t1.city_name", "IN", "(", "SELECT", "city_name", "FROM", "geographic", "WHERE", "region", "=", "``", "region0", "''", ")", "AND", "t1.rating", ">", "2.5", ";" ], "query_toks_no_value": [ "select", "t2", ".", "house_number", ",", "t1", ".", "name", "from", "location", "as", "t2", "join", "restaurant", "as", "t1", "on", "t1", ".", "id", "=", "t2", ".", "restaurant_id", "where", "t1", ".", "city_name", "in", "(", "select", "city_name", "from", "geographic", "where", "region", "=", "value", ")", "and", "t1", ".", "rating", ">", "value" ], "question": "me dê um bom restaurante na área da baía?", "question_toks": [ "me", "dê", "um", "bom", "restaurante", "na", "área", "da", "baía", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 9, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 10, false ], null ] ], [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 8, [ 0, [ 0, 7, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 1, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], "\"region0\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ], "and", [ false, 3, [ 0, [ 0, 8, false ], null ], 2.5, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "restaurants", "query": "SELECT t2.house_number , t1.name FROM LOCATION AS t2 JOIN restaurant AS t1 ON t1.id = t2.restaurant_id WHERE t1.city_name IN ( SELECT city_name FROM geographic WHERE region = \"region0\" ) AND t1.rating > 2.5;", "query_toks": [ "SELECT", "t2.house_number", ",", "t1.name", "FROM", "LOCATION", "AS", "t2", "JOIN", "restaurant", "AS", "t1", "ON", "t1.id", "=", "t2.restaurant_id", "WHERE", "t1.city_name", "IN", "(", "SELECT", "city_name", "FROM", "geographic", "WHERE", "region", "=", "``", "region0", "''", ")", "AND", "t1.rating", ">", "2.5", ";" ], "query_toks_no_value": [ "select", "t2", ".", "house_number", ",", "t1", ".", "name", "from", "location", "as", "t2", "join", "restaurant", "as", "t1", "on", "t1", ".", "id", "=", "t2", ".", "restaurant_id", "where", "t1", ".", "city_name", "in", "(", "select", "city_name", "from", "geographic", "where", "region", "=", "value", ")", "and", "t1", ".", "rating", ">", "value" ], "question": "quais são alguns bons restaurantes na área da baía?", "question_toks": [ "quais", "são", "alguns", "bons", "restaurantes", "na", "área", "da", "baía", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 9, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 10, false ], null ] ], [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 8, [ 0, [ 0, 7, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 1, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], "\"region0\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ], "and", [ false, 3, [ 0, [ 0, 8, false ], null ], 2.5, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "restaurants", "query": "SELECT t2.house_number , t1.name FROM LOCATION AS t2 JOIN restaurant AS t1 ON t1.id = t2.restaurant_id WHERE t1.city_name IN ( SELECT city_name FROM geographic WHERE region = \"region0\" ) AND t1.rating > 2.5;", "query_toks": [ "SELECT", "t2.house_number", ",", "t1.name", "FROM", "LOCATION", "AS", "t2", "JOIN", "restaurant", "AS", "t1", "ON", "t1.id", "=", "t2.restaurant_id", "WHERE", "t1.city_name", "IN", "(", "SELECT", "city_name", "FROM", "geographic", "WHERE", "region", "=", "``", "region0", "''", ")", "AND", "t1.rating", ">", "2.5", ";" ], "query_toks_no_value": [ "select", "t2", ".", "house_number", ",", "t1", ".", "name", "from", "location", "as", "t2", "join", "restaurant", "as", "t1", "on", "t1", ".", "id", "=", "t2", ".", "restaurant_id", "where", "t1", ".", "city_name", "in", "(", "select", "city_name", "from", "geographic", "where", "region", "=", "value", ")", "and", "t1", ".", "rating", ">", "value" ], "question": "me dê alguns bons restaurantes na área da baía?", "question_toks": [ "me", "dê", "alguns", "bons", "restaurantes", "na", "área", "da", "baía", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 9, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 10, false ], null ] ], [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 8, [ 0, [ 0, 7, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 1, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], "\"region0\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ], "and", [ false, 3, [ 0, [ 0, 8, false ], null ], 2.5, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "restaurants", "query": "SELECT t2.house_number , t1.name FROM LOCATION AS t2 JOIN restaurant AS t1 ON t1.id = t2.restaurant_id WHERE t1.city_name IN ( SELECT city_name FROM geographic WHERE region = \"region0\" ) AND t1.rating > 2.5;", "query_toks": [ "SELECT", "t2.house_number", ",", "t1.name", "FROM", "LOCATION", "AS", "t2", "JOIN", "restaurant", "AS", "t1", "ON", "t1.id", "=", "t2.restaurant_id", "WHERE", "t1.city_name", "IN", "(", "SELECT", "city_name", "FROM", "geographic", "WHERE", "region", "=", "``", "region0", "''", ")", "AND", "t1.rating", ">", "2.5", ";" ], "query_toks_no_value": [ "select", "t2", ".", "house_number", ",", "t1", ".", "name", "from", "location", "as", "t2", "join", "restaurant", "as", "t1", "on", "t1", ".", "id", "=", "t2", ".", "restaurant_id", "where", "t1", ".", "city_name", "in", "(", "select", "city_name", "from", "geographic", "where", "region", "=", "value", ")", "and", "t1", ".", "rating", ">", "value" ], "question": "o que é um bom restaurante na área da baía?", "question_toks": [ "o", "que", "é", "um", "bom", "restaurante", "na", "área", "da", "baía", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 9, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 10, false ], null ] ], [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 8, [ 0, [ 0, 7, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 1, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], "\"region0\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ], "and", [ false, 3, [ 0, [ 0, 8, false ], null ], 2.5, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } } ]