[ { "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": "devuélvame la página de inicio de ''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": "devuélvame la página de inicio 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": "devuélvame el resumen de \"Making database systems usable\"", "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": "devuélvame el año de \"Making database systems usable\"", "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": "devuélvame el año de \"Making database systems usable\"", "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": "devuélvame los papeles después del 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": "devuélvame la página de inicio de la conferencia ''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": "devuélvame todas las palabras clave.", "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": "devuélvame todas las organizaciones.", "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": "devuélvame todas las organizaciones en \"North America\".", "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": "devuélvame la página de inicio de la \"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": "devuélvame el número de referencias de \"Making database systems usable\"", "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": "devuélvame las referencias de \"Making database systems usable\"", "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": "devuélvame el número de citas de \"Making database systems usable\"", "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": "devuélvame las citas de \"Making database systems usable\"", "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": "devuélvame el papel con más de 200 citas.", "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": "devuélvame los autores que tienen papeles en ''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": "devuélvame los autores que tienen papeles en ''PVLDB'' después de 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": "devuélveme los autores que tienen papeles en la conferencia ''VLDB'' en 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": "devuélvame los autores que tienen papeles en la conferencia ''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": "devuélvame los autores que tienen papeles en la conferencia ''VLDB'' antes de 2002 después de 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": "devuélvame el á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": "devuélvame los autores que tienen papeles en ''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": "devuélvame la organización en la que se encuentra \"H.V. Jagadish\".", "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": "devuélvame las conferencias, que tienen papeles 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": "devuélvame las revistas, que tienen papeles 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": "devuélvame el dominio en el que se centra \"H.V. Jagadish\"", "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": "devuélvame los autores de \"Making database systems usable\"", "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": "devuélvame la conferencia, que publicó \"Making database systems usable\"", "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": "devuélvame los papeles 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": "devuélvame los papeles de la conferencia ''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": "devuélvame los papeles 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": "devuélvame los papeles sobre ''PVLDB'' después 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, [ [ 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": "devuélvame los papeles sobre la conferencia ''VLDB'' después 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, [ [ 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": "devuélvame los papeles de \"H.V. Jagadish\" en ''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": "devuélvame los papeles de \"H.V. Jagadish\"en la conferencia ''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": "devuélvame los papeles de \"H.V. Jagadish\" después de 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": "devuélvame los papeles de \"H.V. Jagadish\" en ”PVLDB“ después de 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": "devuélvame los papeles de \"H.V. Jagadish\" sobre la conferencia de \"VLDB\" después de 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": "devuélvame el área de la conferencia ''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": "devuélvame los autores que tienen papeles en la conferencia ''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": "devuélvame todas las palabras clave en el área de ''databases''.", "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": "devuélvame todos los papeles que contengan la palabra clave \"Natural Language''.", "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": "devuélvame las palabras clave de \"Making database systems usable\"", "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": "devuélvame las palabras clave relacionadas con \"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": "devuélvame las palabras clave en la conferencia ''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": "devuélvame las palabras clave en ''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": "devuélvame las palabras clave en los papeles de la \"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": "devuélvame los papeles de \"H.V. Jagadish\" que contienen la palabra clave \"User Study\".", "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": "devuélvame los papeles en ''PVLDB'' que contengan la palabra clave \"Keyword search\".", "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": "devuélvame los papeles en la conferencia ''VLDB'' que contienen la palabra clave \" 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, [ [ 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": "devuélvame los autores que tengan papeles que contengan la palabra clave \"Relational Database\".", "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": "Devuélvame todas las organizaciones en el área de ''databases''.", "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": "Devuélvame todas las organizaciones en el área de ''databases'' ubicadas en \"North America''", "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": "devuélvame todos los investigadores de la \"University of 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": "devuélvame todos los investigadores del área de ''Databases'' en la \"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": "devuélvame todos los papeles de la \"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, [ [ 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": "devuélvame todos los papeles después del 2000 en la \"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, [ [ 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": "devuélvame todos los papeles en la conferencia ''VLDB'' en la \"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": "devuélvame todos los papeles en ''PVLDB'' en la \"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": "devuélvame todos los papeles en ''PVLDB'' después de 2000 en la \"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": "devuélvame el papel en el área de Bases de datos con más de 200 citas.", "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": "devuélvame el papel en ''PVLDB'' con más de 200 citas.", "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": "devuélvame el papel en la conferencia ''VLDB'' con más de 200 citas.", "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": "devuélvame el papel de \"H.V. Jagadish\" con más de 200 citas.", "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": "devuélvame los papeles de \"H.V. Jagadish\" en ''PVLDB'' con más de 200 citas.", "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": "devuélvame los papeles de \"H.V. Jagadish\" en la conferencia ''VLDB'' con más de 200 citas.", "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": "devuélvame el papel después del 2000 con más de 200 citas.", "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": "devuélvame el papel después del 2000 en el área de ''Databases'' con más de 200 citas.", "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": "devuélvame el papel después del 2000 en ''PVLDB'' con más de 200 citas.", "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": "devuélvame el papel después de 2000 en la conferencia ''VLDB'' con más de 200 citas.", "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": "devuélvame el número de conferencias que tienen ponencias 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": "devuélvame el número de revistas que tienen papeles 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": "devuélvame el número de papeles escritos por \"H.V. Jagadish\" en cada año.", "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": "devuélvame el número de autores de \"Making database systems usable\"", "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": "devuélvame el número de citas de \"Making database systems usable\" en cada año.", "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": "Devuélvame el número de citas de \"Making database systems usable\" 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": "devuélvame el número de papeles 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": "devuélvame el número de papeles sobre la conferencia ''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": "devuélvame el número de papeles 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": "devuélvame el número de papeles después del 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": "devuélvame el número de papeles sobre ''PVLDB'' después 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, 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": "devuélvame el número de papeles sobre la conferencia ''VLDB'' después 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, 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": "devuélvame el número de papeles de \"H.V. Jagadish\" en ''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": "devuélvame el número de papeles de \"H.V. Jagadish\" en la conferencia ''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": "devuélvame el número de papeles de \"H.V. Jagadish\" después de 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": "devuélvame el número de papeles de \"HV Jagadish\" en ''PVLDB'' después de 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": "devuélvame el número de papeles de \"HV Jagadish\" sobre la conferencia ''VLDB'' después de 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": "devuélvame el número de palabras clave.", "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": "devuélvame el número de palabras clave en el área de ''Databases''.", "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": "devuélvame el número de papeles que contienen la palabra clave ''Natural Language\".", "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": "devuélvame el número de palabras clave de \"Making database systems usable\".", "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": "devuélvame el número de palabras clave relacionadas con \"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": "devuélvame el número de palabras clave en la conferencia ''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": "devuélvame el número de palabras clave en ''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": "devuélvame el número de palabras clave en los papeles de la \"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, [ [ 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": "devuélvame el número de los papeles de \"H.V. Jagadish\" que contienen la palabra clave \"User Study\".", "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": "devuélvame el número de papeles en ''PVLDB'' que contienen la palabra clave \"Keyword search\".", "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": "devuélvame el número de papeles en la conferencia ''VLDB'' que contienen la palabra clave \"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": "Devuélvame el número de autores que tengan papeles que contengan la palabra clave \"Relational Database\".", "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": "Devuélvame el total de citas de los papeles que contienen la palabra clave \"Natural Language\".", "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": "devuélvame el número de las organizaciones.", "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": "devuélvame el número de las organizaciones en \"North America\".", "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": "Devuélvame el número de organizaciones en el área de ''Databases''.", "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": "Devuélvame el número de organizaciones en el área de ''Databases'' ubicadas en \"North America\".", "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": "devuélvame el número de papeles en la \"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": "Devuélvame el número de papeles en \"University of Michigan\" en el área de ''Databases''.", "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": "devuélvame el número de papeles posteriores al 2000 en la \"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 ], "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": "devuélvame el número de papeles en la conferencia ''VLDB'' en la \"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": "devuélvame el número de papeles en ''PVLDB'' en \"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": "devuélvame el número de papeles en ''PVLDB'' después de 2000 en la \"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": "devuélvame el total de citas de los papeles de la \"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": "devuélvame el número de investigadores de la \"University of 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": "Devuélvame el número de investigadores en el área de ''Databases'' en \"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": "devuélvame el número de autores que tienen papeles en ''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": "devuélvame el número de autores que tienen papeles en la conferencia ''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": "devuélvame el número de papeles publicados en ''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": "devuélvame el número de papeles publicados en la conferencia ''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": "devuélvame el total de citas de todos los papeles en ''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": "devuélvame las citas de cada papel en ''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": "devuélvame el total de citas de papeles en ''PVLDB'' en 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": "devuélvame el total de citas de papeles en ''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": "devuélvame el total de citas de papeles en ''PVLDB'' en cada año.", "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": "devuélvame el número de papeles publicados en ''PVLDB'' en cada año.", "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": "devuélvame el total de citas de todos los papeles de la conferencia ''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": "devuélvame las citas de cada papel en la conferencia ''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": "devuélvame el total de citas de papeles en la conferencia ''VLDB'' en 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": "devuélvame el total de citas de papeles en la conferencia ''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": "devuélvame el total de citas de paples en la conferencia ''VLDB'' de cada año.", "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": "devuélvame el número de papeles publicados en la conferencia ''VLDB'' en cada año.", "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": "devuélvame los autores que han cooperado tanto con \"H.V. Jagadish\" como con \"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": "devuélvame los autores que han cooperado con \"H.V. Jagadish\" después 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, 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": "devuélvame los papeles escritos por \"H.V. Jagadish\" y \"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": "devuélvame los papeles escritos por \"H.V. Jagadish\" y \"Yunyao Li\" después de 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": "devuélvame los papeles escritos por \"H.V. Jagadish\" y \"Yunyao Li\" en ''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": "devuélvame los papeles escritos por \"H.V. Jagadish\" y \"Yunyao Li\" en ''PVLDB'' después de 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": "devuélvame los autores que han cooperado con \"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": "devuélvame los papeles escritos por \"H.V. Jagadish\" y \"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": "devuélvame los autores que han citado los papeles 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": "devuélvame el número de papeles escritos por \"H.V. Jagadish\" y \"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": "devuélvame el número de papeles escritos por \"H.V. Jagadish\" y \"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": "devuélvame el número de papeles escritos por \"H.V. Jagadish\", \"Yunyao Li\" y \"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": "devuélvame el número de autores que han cooperado con \"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": "devuélvame el número de autores que han citado los papeles 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": "devuélvame los papeles escritos por \"H.V. Jagadish\" y \"Divesh Srivastava\" con más de 200 citas.", "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": "devuélvame el autor que tenga la mayor cantidad de papeles que contengan la palabra clave \"Relational Database\".", "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": "devuélvame la conferencia que tenga la mayor cantidad de papeles que contengan la palabra clave \"Relational Database\".", "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": "devuélvame la conferencia, que tiene la mayor cantidad de papeles que contienen la palabra clave \"Relational Database\".", "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": "devuélvame la revista que tenga la mayor cantidad de papeles que contengan la palabra clave \"Relational Database\".", "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": "devuélvame la revista, que tiene la mayor cantidad de papeles que contienen la palabra clave \"Relational Database\".", "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": "devuélvqme la palabra clave, que ha sido contenida por la mayor cantidad de papeles en la conferencia ''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": "devuélvame la palabra clave, que ha sido contenida por la mayor cantidad de papeles en ''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": "devuélvame la palabra clave, que ha sido contenida por la mayor cantidad de papeles 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": "devuélvame el autor en la \"University of Michigan\" cuyos papeles tienen la mayor cantidad de citas.", "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": "devuélvame el autor en la \"University of Michigan\" cuyos papeles en el área de ''Databases'' tienen la mayor cantidad de citas.", "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": "devuélvame los papeles escritos por \"H.V. Jagadish\" y \"Divesh Srivastava\" con el mayor número de citas.", "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": "devuélvame las conferencias, que tienen más de 10 papeles 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": "devuélvame la conferencia, que tiene la mayor cantidad de papeles 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": "devuélvame las revistas, que tienen más de 10 papeles 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": "devuélvame la revista, que tiene la mayor cantidad de papeles 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": "devuélvame el papeles con más citas.", "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": "devuélvame el papeles en el área de ''Datadatos'' con más citas.", "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": "devuélvame el papeles en ''PVLDB'' con más citas.", "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": "devuélvame el papeles en la conferencia ''VLDB'' con más citas.", "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": "devuélvame el papeles de \"H.V. Jagadish\" con más citas.", "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": "devuélvame el papeles después del 2000 con más citas.", "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": "devuélvame el papeles después del 2000 en el área de ''Databases'' con más citas.", "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": "devuélvame el papeles después de 2000 en ''PVLDB'' con la mayor cantidad de citas.", "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": "devuélvame el papeles después de 2000 en la conferencia ''VLDB'' con la mayor cantidad de citas.", "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": "devuélvame los autores que tienen más de 10 papeles en ''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": "devuélvame los autores que tienen la mayor cantidad de papeles en ''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": "devuélvame los autores que tienen más de 10 papeles que contienen la palabra clave \"elational Database\".", "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": "devuélvame las conferencias, que tienen más de 60 papeles que contienen la palabra clave \" Relational Database\".", "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": "devuélvame las revistas, que tienen más de 60 papeles que contienen la palabra clave \" Relational Database\".", "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": "devuélvame las palabras clave, que han estado contenidas en más de 100 papeles en la conferencia ''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": "devuélvame las palabras clave, que han estado contenidas en más de 100 papeles en ''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": "devuélvame las palabras clave, que han estado contenidas en más de 10 papeles 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": "devuélvame los autores que tienen más de 10 papeles en la conferencia ''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": "devuélvame el autor que tiene la mayor cantidad de papeles en la conferencia ''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": "devuélvame el autor en la \"University of Michigan\" cuyos papeles tienen más de 5000 citas en 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": "devuélvame el autor en la ''University of Michigan en el área de Bases de datos cuyos papeles tienen más de 5000 citas en 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 } } ]