db_id
stringlengths 3
31
| query
stringlengths 18
577
| question
stringlengths 3
224
| schema
stringlengths 177
6.14k
| primary_keys
stringlengths 16
545
| foreign_keys
stringlengths 16
1.48k
|
---|---|---|---|---|---|
academic | 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; | return me the conferences, which have more than 10 papers by " H. V. Jagadish " . | [Schema (values) (types)]: | academic | author : aid (text) , homepage (number) , name (text) , oid (text) | conference : cid (text) , homepage (number) , name (text) | domain : did (text) , name (number) | domain_author : aid (text) , did (number) | domain_conference : cid (text) , did (number) | journal : homepage (text) , jid (number) , name (text) | domain_journal : did (text) , jid (number) | keyword : keyword (text) , kid (number) | domain_keyword : did (text) , kid (number) | publication : abstract (text) , cid (number) , citation_num (text) , jid (text) , pid (number) , reference_num (number) , title (text) , year (text) | domain_publication : did (text) , pid (number) | organization : continent (text) , homepage (number) , name (text) , oid (text) | publication_keyword : pid (text) , kid (number) | writes : aid (text) , pid (number) | cite : cited (text) , citing (number); | [Primary Keys]: author : aid, conference : cid, domain : did, domain_author : did, domain_conference : did, journal : jid, domain_journal : did, keyword : kid, domain_keyword : did, publication : pid, domain_publication : did, organization : oid, publication_keyword : kid, writes : aid | [Foreign Keys]: domain_author : did = domain : did | domain_author : aid = author : aid | domain_conference : did = domain : did | domain_conference : cid = conference : cid | domain_journal : did = domain : did | domain_journal : jid = journal : jid | domain_keyword : did = domain : did | domain_keyword : kid = keyword : kid | publication : cid = conference : cid | publication : jid = journal : jid | domain_publication : did = domain : did | domain_publication : pid = publication : pid | publication_keyword : kid = keyword : kid | publication_keyword : pid = publication : pid | writes : aid = author : aid | writes : pid = publication : pid | cite : citing = publication : pid | cite : cited = publication : pid |
academic | 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; | return me the conference, which have the most number of papers by " H. V. Jagadish " . | [Schema (values) (types)]: | academic | author : aid (text) , homepage (number) , name (text) , oid (text) | conference : cid (text) , homepage (number) , name (text) | domain : did (text) , name (number) | domain_author : aid (text) , did (number) | domain_conference : cid (text) , did (number) | journal : homepage (text) , jid (number) , name (text) | domain_journal : did (text) , jid (number) | keyword : keyword (text) , kid (number) | domain_keyword : did (text) , kid (number) | publication : abstract (text) , cid (number) , citation_num (text) , jid (text) , pid (number) , reference_num (number) , title (text) , year (text) | domain_publication : did (text) , pid (number) | organization : continent (text) , homepage (number) , name (text) , oid (text) | publication_keyword : pid (text) , kid (number) | writes : aid (text) , pid (number) | cite : cited (text) , citing (number); | [Primary Keys]: author : aid, conference : cid, domain : did, domain_author : did, domain_conference : did, journal : jid, domain_journal : did, keyword : kid, domain_keyword : did, publication : pid, domain_publication : did, organization : oid, publication_keyword : kid, writes : aid | [Foreign Keys]: domain_author : did = domain : did | domain_author : aid = author : aid | domain_conference : did = domain : did | domain_conference : cid = conference : cid | domain_journal : did = domain : did | domain_journal : jid = journal : jid | domain_keyword : did = domain : did | domain_keyword : kid = keyword : kid | publication : cid = conference : cid | publication : jid = journal : jid | domain_publication : did = domain : did | domain_publication : pid = publication : pid | publication_keyword : kid = keyword : kid | publication_keyword : pid = publication : pid | writes : aid = author : aid | writes : pid = publication : pid | cite : citing = publication : pid | cite : cited = publication : pid |
academic | 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; | return me the journals, which have more than 10 papers by " H. V. Jagadish " . | [Schema (values) (types)]: | academic | author : aid (text) , homepage (number) , name (text) , oid (text) | conference : cid (text) , homepage (number) , name (text) | domain : did (text) , name (number) | domain_author : aid (text) , did (number) | domain_conference : cid (text) , did (number) | journal : homepage (text) , jid (number) , name (text) | domain_journal : did (text) , jid (number) | keyword : keyword (text) , kid (number) | domain_keyword : did (text) , kid (number) | publication : abstract (text) , cid (number) , citation_num (text) , jid (text) , pid (number) , reference_num (number) , title (text) , year (text) | domain_publication : did (text) , pid (number) | organization : continent (text) , homepage (number) , name (text) , oid (text) | publication_keyword : pid (text) , kid (number) | writes : aid (text) , pid (number) | cite : cited (text) , citing (number); | [Primary Keys]: author : aid, conference : cid, domain : did, domain_author : did, domain_conference : did, journal : jid, domain_journal : did, keyword : kid, domain_keyword : did, publication : pid, domain_publication : did, organization : oid, publication_keyword : kid, writes : aid | [Foreign Keys]: domain_author : did = domain : did | domain_author : aid = author : aid | domain_conference : did = domain : did | domain_conference : cid = conference : cid | domain_journal : did = domain : did | domain_journal : jid = journal : jid | domain_keyword : did = domain : did | domain_keyword : kid = keyword : kid | publication : cid = conference : cid | publication : jid = journal : jid | domain_publication : did = domain : did | domain_publication : pid = publication : pid | publication_keyword : kid = keyword : kid | publication_keyword : pid = publication : pid | writes : aid = author : aid | writes : pid = publication : pid | cite : citing = publication : pid | cite : cited = publication : pid |
academic | 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; | return me the journal, which have the most number of papers by " H. V. Jagadish " . | [Schema (values) (types)]: | academic | author : aid (text) , homepage (number) , name (text) , oid (text) | conference : cid (text) , homepage (number) , name (text) | domain : did (text) , name (number) | domain_author : aid (text) , did (number) | domain_conference : cid (text) , did (number) | journal : homepage (text) , jid (number) , name (text) | domain_journal : did (text) , jid (number) | keyword : keyword (text) , kid (number) | domain_keyword : did (text) , kid (number) | publication : abstract (text) , cid (number) , citation_num (text) , jid (text) , pid (number) , reference_num (number) , title (text) , year (text) | domain_publication : did (text) , pid (number) | organization : continent (text) , homepage (number) , name (text) , oid (text) | publication_keyword : pid (text) , kid (number) | writes : aid (text) , pid (number) | cite : cited (text) , citing (number); | [Primary Keys]: author : aid, conference : cid, domain : did, domain_author : did, domain_conference : did, journal : jid, domain_journal : did, keyword : kid, domain_keyword : did, publication : pid, domain_publication : did, organization : oid, publication_keyword : kid, writes : aid | [Foreign Keys]: domain_author : did = domain : did | domain_author : aid = author : aid | domain_conference : did = domain : did | domain_conference : cid = conference : cid | domain_journal : did = domain : did | domain_journal : jid = journal : jid | domain_keyword : did = domain : did | domain_keyword : kid = keyword : kid | publication : cid = conference : cid | publication : jid = journal : jid | domain_publication : did = domain : did | domain_publication : pid = publication : pid | publication_keyword : kid = keyword : kid | publication_keyword : pid = publication : pid | writes : aid = author : aid | writes : pid = publication : pid | cite : citing = publication : pid | cite : cited = publication : pid |
academic | SELECT title FROM publication ORDER BY citation_num DESC LIMIT 1; | return me the paper with the most citations . | [Schema (values) (types)]: | academic | author : aid (text) , homepage (number) , name (text) , oid (text) | conference : cid (text) , homepage (number) , name (text) | domain : did (text) , name (number) | domain_author : aid (text) , did (number) | domain_conference : cid (text) , did (number) | journal : homepage (text) , jid (number) , name (text) | domain_journal : did (text) , jid (number) | keyword : keyword (text) , kid (number) | domain_keyword : did (text) , kid (number) | publication : abstract (text) , cid (number) , citation_num (text) , jid (text) , pid (number) , reference_num (number) , title (text) , year (text) | domain_publication : did (text) , pid (number) | organization : continent (text) , homepage (number) , name (text) , oid (text) | publication_keyword : pid (text) , kid (number) | writes : aid (text) , pid (number) | cite : cited (text) , citing (number); | [Primary Keys]: author : aid, conference : cid, domain : did, domain_author : did, domain_conference : did, journal : jid, domain_journal : did, keyword : kid, domain_keyword : did, publication : pid, domain_publication : did, organization : oid, publication_keyword : kid, writes : aid | [Foreign Keys]: domain_author : did = domain : did | domain_author : aid = author : aid | domain_conference : did = domain : did | domain_conference : cid = conference : cid | domain_journal : did = domain : did | domain_journal : jid = journal : jid | domain_keyword : did = domain : did | domain_keyword : kid = keyword : kid | publication : cid = conference : cid | publication : jid = journal : jid | domain_publication : did = domain : did | domain_publication : pid = publication : pid | publication_keyword : kid = keyword : kid | publication_keyword : pid = publication : pid | writes : aid = author : aid | writes : pid = publication : pid | cite : citing = publication : pid | cite : cited = publication : pid |
academic | 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; | return me the paper in Databases area with the most citations . | [Schema (values) (types)]: | academic | author : aid (text) , homepage (number) , name (text) , oid (text) | conference : cid (text) , homepage (number) , name (text) | domain : did (text) , name (number) | domain_author : aid (text) , did (number) | domain_conference : cid (text) , did (number) | journal : homepage (text) , jid (number) , name (text) | domain_journal : did (text) , jid (number) | keyword : keyword (text) , kid (number) | domain_keyword : did (text) , kid (number) | publication : abstract (text) , cid (number) , citation_num (text) , jid (text) , pid (number) , reference_num (number) , title (text) , year (text) | domain_publication : did (text) , pid (number) | organization : continent (text) , homepage (number) , name (text) , oid (text) | publication_keyword : pid (text) , kid (number) | writes : aid (text) , pid (number) | cite : cited (text) , citing (number); | [Primary Keys]: author : aid, conference : cid, domain : did, domain_author : did, domain_conference : did, journal : jid, domain_journal : did, keyword : kid, domain_keyword : did, publication : pid, domain_publication : did, organization : oid, publication_keyword : kid, writes : aid | [Foreign Keys]: domain_author : did = domain : did | domain_author : aid = author : aid | domain_conference : did = domain : did | domain_conference : cid = conference : cid | domain_journal : did = domain : did | domain_journal : jid = journal : jid | domain_keyword : did = domain : did | domain_keyword : kid = keyword : kid | publication : cid = conference : cid | publication : jid = journal : jid | domain_publication : did = domain : did | domain_publication : pid = publication : pid | publication_keyword : kid = keyword : kid | publication_keyword : pid = publication : pid | writes : aid = author : aid | writes : pid = publication : pid | cite : citing = publication : pid | cite : cited = publication : pid |
academic | 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; | return me the paper in PVLDB with the most citations . | [Schema (values) (types)]: | academic | author : aid (text) , homepage (number) , name (text) , oid (text) | conference : cid (text) , homepage (number) , name (text) | domain : did (text) , name (number) | domain_author : aid (text) , did (number) | domain_conference : cid (text) , did (number) | journal : homepage (text) , jid (number) , name (text) | domain_journal : did (text) , jid (number) | keyword : keyword (text) , kid (number) | domain_keyword : did (text) , kid (number) | publication : abstract (text) , cid (number) , citation_num (text) , jid (text) , pid (number) , reference_num (number) , title (text) , year (text) | domain_publication : did (text) , pid (number) | organization : continent (text) , homepage (number) , name (text) , oid (text) | publication_keyword : pid (text) , kid (number) | writes : aid (text) , pid (number) | cite : cited (text) , citing (number); | [Primary Keys]: author : aid, conference : cid, domain : did, domain_author : did, domain_conference : did, journal : jid, domain_journal : did, keyword : kid, domain_keyword : did, publication : pid, domain_publication : did, organization : oid, publication_keyword : kid, writes : aid | [Foreign Keys]: domain_author : did = domain : did | domain_author : aid = author : aid | domain_conference : did = domain : did | domain_conference : cid = conference : cid | domain_journal : did = domain : did | domain_journal : jid = journal : jid | domain_keyword : did = domain : did | domain_keyword : kid = keyword : kid | publication : cid = conference : cid | publication : jid = journal : jid | domain_publication : did = domain : did | domain_publication : pid = publication : pid | publication_keyword : kid = keyword : kid | publication_keyword : pid = publication : pid | writes : aid = author : aid | writes : pid = publication : pid | cite : citing = publication : pid | cite : cited = publication : pid |
academic | 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; | return me the paper in VLDB conference with the most citations . | [Schema (values) (types)]: | academic | author : aid (text) , homepage (number) , name (text) , oid (text) | conference : cid (text) , homepage (number) , name (text) | domain : did (text) , name (number) | domain_author : aid (text) , did (number) | domain_conference : cid (text) , did (number) | journal : homepage (text) , jid (number) , name (text) | domain_journal : did (text) , jid (number) | keyword : keyword (text) , kid (number) | domain_keyword : did (text) , kid (number) | publication : abstract (text) , cid (number) , citation_num (text) , jid (text) , pid (number) , reference_num (number) , title (text) , year (text) | domain_publication : did (text) , pid (number) | organization : continent (text) , homepage (number) , name (text) , oid (text) | publication_keyword : pid (text) , kid (number) | writes : aid (text) , pid (number) | cite : cited (text) , citing (number); | [Primary Keys]: author : aid, conference : cid, domain : did, domain_author : did, domain_conference : did, journal : jid, domain_journal : did, keyword : kid, domain_keyword : did, publication : pid, domain_publication : did, organization : oid, publication_keyword : kid, writes : aid | [Foreign Keys]: domain_author : did = domain : did | domain_author : aid = author : aid | domain_conference : did = domain : did | domain_conference : cid = conference : cid | domain_journal : did = domain : did | domain_journal : jid = journal : jid | domain_keyword : did = domain : did | domain_keyword : kid = keyword : kid | publication : cid = conference : cid | publication : jid = journal : jid | domain_publication : did = domain : did | domain_publication : pid = publication : pid | publication_keyword : kid = keyword : kid | publication_keyword : pid = publication : pid | writes : aid = author : aid | writes : pid = publication : pid | cite : citing = publication : pid | cite : cited = publication : pid |
academic | 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; | return me the paper by " H. V. Jagadish " with the most citations . | [Schema (values) (types)]: | academic | author : aid (text) , homepage (number) , name (text) , oid (text) | conference : cid (text) , homepage (number) , name (text) | domain : did (text) , name (number) | domain_author : aid (text) , did (number) | domain_conference : cid (text) , did (number) | journal : homepage (text) , jid (number) , name (text) | domain_journal : did (text) , jid (number) | keyword : keyword (text) , kid (number) | domain_keyword : did (text) , kid (number) | publication : abstract (text) , cid (number) , citation_num (text) , jid (text) , pid (number) , reference_num (number) , title (text) , year (text) | domain_publication : did (text) , pid (number) | organization : continent (text) , homepage (number) , name (text) , oid (text) | publication_keyword : pid (text) , kid (number) | writes : aid (text) , pid (number) | cite : cited (text) , citing (number); | [Primary Keys]: author : aid, conference : cid, domain : did, domain_author : did, domain_conference : did, journal : jid, domain_journal : did, keyword : kid, domain_keyword : did, publication : pid, domain_publication : did, organization : oid, publication_keyword : kid, writes : aid | [Foreign Keys]: domain_author : did = domain : did | domain_author : aid = author : aid | domain_conference : did = domain : did | domain_conference : cid = conference : cid | domain_journal : did = domain : did | domain_journal : jid = journal : jid | domain_keyword : did = domain : did | domain_keyword : kid = keyword : kid | publication : cid = conference : cid | publication : jid = journal : jid | domain_publication : did = domain : did | domain_publication : pid = publication : pid | publication_keyword : kid = keyword : kid | publication_keyword : pid = publication : pid | writes : aid = author : aid | writes : pid = publication : pid | cite : citing = publication : pid | cite : cited = publication : pid |
academic | SELECT title FROM publication WHERE YEAR > 2000 ORDER BY citation_num DESC LIMIT 1; | return me the paper after 2000 with the most citations . | [Schema (values) (types)]: | academic | author : aid (text) , homepage (number) , name (text) , oid (text) | conference : cid (text) , homepage (number) , name (text) | domain : did (text) , name (number) | domain_author : aid (text) , did (number) | domain_conference : cid (text) , did (number) | journal : homepage (text) , jid (number) , name (text) | domain_journal : did (text) , jid (number) | keyword : keyword (text) , kid (number) | domain_keyword : did (text) , kid (number) | publication : abstract (text) , cid (number) , citation_num (text) , jid (text) , pid (number) , reference_num (number) , title (text) , year (text) | domain_publication : did (text) , pid (number) | organization : continent (text) , homepage (number) , name (text) , oid (text) | publication_keyword : pid (text) , kid (number) | writes : aid (text) , pid (number) | cite : cited (text) , citing (number); | [Primary Keys]: author : aid, conference : cid, domain : did, domain_author : did, domain_conference : did, journal : jid, domain_journal : did, keyword : kid, domain_keyword : did, publication : pid, domain_publication : did, organization : oid, publication_keyword : kid, writes : aid | [Foreign Keys]: domain_author : did = domain : did | domain_author : aid = author : aid | domain_conference : did = domain : did | domain_conference : cid = conference : cid | domain_journal : did = domain : did | domain_journal : jid = journal : jid | domain_keyword : did = domain : did | domain_keyword : kid = keyword : kid | publication : cid = conference : cid | publication : jid = journal : jid | domain_publication : did = domain : did | domain_publication : pid = publication : pid | publication_keyword : kid = keyword : kid | publication_keyword : pid = publication : pid | writes : aid = author : aid | writes : pid = publication : pid | cite : citing = publication : pid | cite : cited = publication : pid |
academic | 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; | return me the paper after 2000 in Databases area with the most citations . | [Schema (values) (types)]: | academic | author : aid (text) , homepage (number) , name (text) , oid (text) | conference : cid (text) , homepage (number) , name (text) | domain : did (text) , name (number) | domain_author : aid (text) , did (number) | domain_conference : cid (text) , did (number) | journal : homepage (text) , jid (number) , name (text) | domain_journal : did (text) , jid (number) | keyword : keyword (text) , kid (number) | domain_keyword : did (text) , kid (number) | publication : abstract (text) , cid (number) , citation_num (text) , jid (text) , pid (number) , reference_num (number) , title (text) , year (text) | domain_publication : did (text) , pid (number) | organization : continent (text) , homepage (number) , name (text) , oid (text) | publication_keyword : pid (text) , kid (number) | writes : aid (text) , pid (number) | cite : cited (text) , citing (number); | [Primary Keys]: author : aid, conference : cid, domain : did, domain_author : did, domain_conference : did, journal : jid, domain_journal : did, keyword : kid, domain_keyword : did, publication : pid, domain_publication : did, organization : oid, publication_keyword : kid, writes : aid | [Foreign Keys]: domain_author : did = domain : did | domain_author : aid = author : aid | domain_conference : did = domain : did | domain_conference : cid = conference : cid | domain_journal : did = domain : did | domain_journal : jid = journal : jid | domain_keyword : did = domain : did | domain_keyword : kid = keyword : kid | publication : cid = conference : cid | publication : jid = journal : jid | domain_publication : did = domain : did | domain_publication : pid = publication : pid | publication_keyword : kid = keyword : kid | publication_keyword : pid = publication : pid | writes : aid = author : aid | writes : pid = publication : pid | cite : citing = publication : pid | cite : cited = publication : pid |
academic | 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; | return me the paper after 2000 in PVLDB with the most citations . | [Schema (values) (types)]: | academic | author : aid (text) , homepage (number) , name (text) , oid (text) | conference : cid (text) , homepage (number) , name (text) | domain : did (text) , name (number) | domain_author : aid (text) , did (number) | domain_conference : cid (text) , did (number) | journal : homepage (text) , jid (number) , name (text) | domain_journal : did (text) , jid (number) | keyword : keyword (text) , kid (number) | domain_keyword : did (text) , kid (number) | publication : abstract (text) , cid (number) , citation_num (text) , jid (text) , pid (number) , reference_num (number) , title (text) , year (text) | domain_publication : did (text) , pid (number) | organization : continent (text) , homepage (number) , name (text) , oid (text) | publication_keyword : pid (text) , kid (number) | writes : aid (text) , pid (number) | cite : cited (text) , citing (number); | [Primary Keys]: author : aid, conference : cid, domain : did, domain_author : did, domain_conference : did, journal : jid, domain_journal : did, keyword : kid, domain_keyword : did, publication : pid, domain_publication : did, organization : oid, publication_keyword : kid, writes : aid | [Foreign Keys]: domain_author : did = domain : did | domain_author : aid = author : aid | domain_conference : did = domain : did | domain_conference : cid = conference : cid | domain_journal : did = domain : did | domain_journal : jid = journal : jid | domain_keyword : did = domain : did | domain_keyword : kid = keyword : kid | publication : cid = conference : cid | publication : jid = journal : jid | domain_publication : did = domain : did | domain_publication : pid = publication : pid | publication_keyword : kid = keyword : kid | publication_keyword : pid = publication : pid | writes : aid = author : aid | writes : pid = publication : pid | cite : citing = publication : pid | cite : cited = publication : pid |
academic | 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; | return me the paper after 2000 in VLDB conference with the most citations . | [Schema (values) (types)]: | academic | author : aid (text) , homepage (number) , name (text) , oid (text) | conference : cid (text) , homepage (number) , name (text) | domain : did (text) , name (number) | domain_author : aid (text) , did (number) | domain_conference : cid (text) , did (number) | journal : homepage (text) , jid (number) , name (text) | domain_journal : did (text) , jid (number) | keyword : keyword (text) , kid (number) | domain_keyword : did (text) , kid (number) | publication : abstract (text) , cid (number) , citation_num (text) , jid (text) , pid (number) , reference_num (number) , title (text) , year (text) | domain_publication : did (text) , pid (number) | organization : continent (text) , homepage (number) , name (text) , oid (text) | publication_keyword : pid (text) , kid (number) | writes : aid (text) , pid (number) | cite : cited (text) , citing (number); | [Primary Keys]: author : aid, conference : cid, domain : did, domain_author : did, domain_conference : did, journal : jid, domain_journal : did, keyword : kid, domain_keyword : did, publication : pid, domain_publication : did, organization : oid, publication_keyword : kid, writes : aid | [Foreign Keys]: domain_author : did = domain : did | domain_author : aid = author : aid | domain_conference : did = domain : did | domain_conference : cid = conference : cid | domain_journal : did = domain : did | domain_journal : jid = journal : jid | domain_keyword : did = domain : did | domain_keyword : kid = keyword : kid | publication : cid = conference : cid | publication : jid = journal : jid | domain_publication : did = domain : did | domain_publication : pid = publication : pid | publication_keyword : kid = keyword : kid | publication_keyword : pid = publication : pid | writes : aid = author : aid | writes : pid = publication : pid | cite : citing = publication : pid | cite : cited = publication : pid |
academic | 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; | return me the authors who have more than 10 papers in PVLDB . | [Schema (values) (types)]: | academic | author : aid (text) , homepage (number) , name (text) , oid (text) | conference : cid (text) , homepage (number) , name (text) | domain : did (text) , name (number) | domain_author : aid (text) , did (number) | domain_conference : cid (text) , did (number) | journal : homepage (text) , jid (number) , name (text) | domain_journal : did (text) , jid (number) | keyword : keyword (text) , kid (number) | domain_keyword : did (text) , kid (number) | publication : abstract (text) , cid (number) , citation_num (text) , jid (text) , pid (number) , reference_num (number) , title (text) , year (text) | domain_publication : did (text) , pid (number) | organization : continent (text) , homepage (number) , name (text) , oid (text) | publication_keyword : pid (text) , kid (number) | writes : aid (text) , pid (number) | cite : cited (text) , citing (number); | [Primary Keys]: author : aid, conference : cid, domain : did, domain_author : did, domain_conference : did, journal : jid, domain_journal : did, keyword : kid, domain_keyword : did, publication : pid, domain_publication : did, organization : oid, publication_keyword : kid, writes : aid | [Foreign Keys]: domain_author : did = domain : did | domain_author : aid = author : aid | domain_conference : did = domain : did | domain_conference : cid = conference : cid | domain_journal : did = domain : did | domain_journal : jid = journal : jid | domain_keyword : did = domain : did | domain_keyword : kid = keyword : kid | publication : cid = conference : cid | publication : jid = journal : jid | domain_publication : did = domain : did | domain_publication : pid = publication : pid | publication_keyword : kid = keyword : kid | publication_keyword : pid = publication : pid | writes : aid = author : aid | writes : pid = publication : pid | cite : citing = publication : pid | cite : cited = publication : pid |
academic | 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; | return me the authors who have the most number of papers in PVLDB . | [Schema (values) (types)]: | academic | author : aid (text) , homepage (number) , name (text) , oid (text) | conference : cid (text) , homepage (number) , name (text) | domain : did (text) , name (number) | domain_author : aid (text) , did (number) | domain_conference : cid (text) , did (number) | journal : homepage (text) , jid (number) , name (text) | domain_journal : did (text) , jid (number) | keyword : keyword (text) , kid (number) | domain_keyword : did (text) , kid (number) | publication : abstract (text) , cid (number) , citation_num (text) , jid (text) , pid (number) , reference_num (number) , title (text) , year (text) | domain_publication : did (text) , pid (number) | organization : continent (text) , homepage (number) , name (text) , oid (text) | publication_keyword : pid (text) , kid (number) | writes : aid (text) , pid (number) | cite : cited (text) , citing (number); | [Primary Keys]: author : aid, conference : cid, domain : did, domain_author : did, domain_conference : did, journal : jid, domain_journal : did, keyword : kid, domain_keyword : did, publication : pid, domain_publication : did, organization : oid, publication_keyword : kid, writes : aid | [Foreign Keys]: domain_author : did = domain : did | domain_author : aid = author : aid | domain_conference : did = domain : did | domain_conference : cid = conference : cid | domain_journal : did = domain : did | domain_journal : jid = journal : jid | domain_keyword : did = domain : did | domain_keyword : kid = keyword : kid | publication : cid = conference : cid | publication : jid = journal : jid | domain_publication : did = domain : did | domain_publication : pid = publication : pid | publication_keyword : kid = keyword : kid | publication_keyword : pid = publication : pid | writes : aid = author : aid | writes : pid = publication : pid | cite : citing = publication : pid | cite : cited = publication : pid |
academic | 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; | return me the authors who have more than 10 papers containing keyword " Relational Database " . | [Schema (values) (types)]: | academic | author : aid (text) , homepage (number) , name (text) , oid (text) | conference : cid (text) , homepage (number) , name (text) | domain : did (text) , name (number) | domain_author : aid (text) , did (number) | domain_conference : cid (text) , did (number) | journal : homepage (text) , jid (number) , name (text) | domain_journal : did (text) , jid (number) | keyword : keyword (text) , kid (number) | domain_keyword : did (text) , kid (number) | publication : abstract (text) , cid (number) , citation_num (text) , jid (text) , pid (number) , reference_num (number) , title (text) , year (text) | domain_publication : did (text) , pid (number) | organization : continent (text) , homepage (number) , name (text) , oid (text) | publication_keyword : pid (text) , kid (number) | writes : aid (text) , pid (number) | cite : cited (text) , citing (number); | [Primary Keys]: author : aid, conference : cid, domain : did, domain_author : did, domain_conference : did, journal : jid, domain_journal : did, keyword : kid, domain_keyword : did, publication : pid, domain_publication : did, organization : oid, publication_keyword : kid, writes : aid | [Foreign Keys]: domain_author : did = domain : did | domain_author : aid = author : aid | domain_conference : did = domain : did | domain_conference : cid = conference : cid | domain_journal : did = domain : did | domain_journal : jid = journal : jid | domain_keyword : did = domain : did | domain_keyword : kid = keyword : kid | publication : cid = conference : cid | publication : jid = journal : jid | domain_publication : did = domain : did | domain_publication : pid = publication : pid | publication_keyword : kid = keyword : kid | publication_keyword : pid = publication : pid | writes : aid = author : aid | writes : pid = publication : pid | cite : citing = publication : pid | cite : cited = publication : pid |
academic | 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; | return me the conferences, which have more than 60 papers containing keyword " Relational Database " . | [Schema (values) (types)]: | academic | author : aid (text) , homepage (number) , name (text) , oid (text) | conference : cid (text) , homepage (number) , name (text) | domain : did (text) , name (number) | domain_author : aid (text) , did (number) | domain_conference : cid (text) , did (number) | journal : homepage (text) , jid (number) , name (text) | domain_journal : did (text) , jid (number) | keyword : keyword (text) , kid (number) | domain_keyword : did (text) , kid (number) | publication : abstract (text) , cid (number) , citation_num (text) , jid (text) , pid (number) , reference_num (number) , title (text) , year (text) | domain_publication : did (text) , pid (number) | organization : continent (text) , homepage (number) , name (text) , oid (text) | publication_keyword : pid (text) , kid (number) | writes : aid (text) , pid (number) | cite : cited (text) , citing (number); | [Primary Keys]: author : aid, conference : cid, domain : did, domain_author : did, domain_conference : did, journal : jid, domain_journal : did, keyword : kid, domain_keyword : did, publication : pid, domain_publication : did, organization : oid, publication_keyword : kid, writes : aid | [Foreign Keys]: domain_author : did = domain : did | domain_author : aid = author : aid | domain_conference : did = domain : did | domain_conference : cid = conference : cid | domain_journal : did = domain : did | domain_journal : jid = journal : jid | domain_keyword : did = domain : did | domain_keyword : kid = keyword : kid | publication : cid = conference : cid | publication : jid = journal : jid | domain_publication : did = domain : did | domain_publication : pid = publication : pid | publication_keyword : kid = keyword : kid | publication_keyword : pid = publication : pid | writes : aid = author : aid | writes : pid = publication : pid | cite : citing = publication : pid | cite : cited = publication : pid |
academic | 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; | return me the journals, which have more than 60 papers containing keyword " Relational Database " . | [Schema (values) (types)]: | academic | author : aid (text) , homepage (number) , name (text) , oid (text) | conference : cid (text) , homepage (number) , name (text) | domain : did (text) , name (number) | domain_author : aid (text) , did (number) | domain_conference : cid (text) , did (number) | journal : homepage (text) , jid (number) , name (text) | domain_journal : did (text) , jid (number) | keyword : keyword (text) , kid (number) | domain_keyword : did (text) , kid (number) | publication : abstract (text) , cid (number) , citation_num (text) , jid (text) , pid (number) , reference_num (number) , title (text) , year (text) | domain_publication : did (text) , pid (number) | organization : continent (text) , homepage (number) , name (text) , oid (text) | publication_keyword : pid (text) , kid (number) | writes : aid (text) , pid (number) | cite : cited (text) , citing (number); | [Primary Keys]: author : aid, conference : cid, domain : did, domain_author : did, domain_conference : did, journal : jid, domain_journal : did, keyword : kid, domain_keyword : did, publication : pid, domain_publication : did, organization : oid, publication_keyword : kid, writes : aid | [Foreign Keys]: domain_author : did = domain : did | domain_author : aid = author : aid | domain_conference : did = domain : did | domain_conference : cid = conference : cid | domain_journal : did = domain : did | domain_journal : jid = journal : jid | domain_keyword : did = domain : did | domain_keyword : kid = keyword : kid | publication : cid = conference : cid | publication : jid = journal : jid | domain_publication : did = domain : did | domain_publication : pid = publication : pid | publication_keyword : kid = keyword : kid | publication_keyword : pid = publication : pid | writes : aid = author : aid | writes : pid = publication : pid | cite : citing = publication : pid | cite : cited = publication : pid |
academic | 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; | return me the keywords, which have been contained by more than 100 papers in VLDB conference . | [Schema (values) (types)]: | academic | author : aid (text) , homepage (number) , name (text) , oid (text) | conference : cid (text) , homepage (number) , name (text) | domain : did (text) , name (number) | domain_author : aid (text) , did (number) | domain_conference : cid (text) , did (number) | journal : homepage (text) , jid (number) , name (text) | domain_journal : did (text) , jid (number) | keyword : keyword (text) , kid (number) | domain_keyword : did (text) , kid (number) | publication : abstract (text) , cid (number) , citation_num (text) , jid (text) , pid (number) , reference_num (number) , title (text) , year (text) | domain_publication : did (text) , pid (number) | organization : continent (text) , homepage (number) , name (text) , oid (text) | publication_keyword : pid (text) , kid (number) | writes : aid (text) , pid (number) | cite : cited (text) , citing (number); | [Primary Keys]: author : aid, conference : cid, domain : did, domain_author : did, domain_conference : did, journal : jid, domain_journal : did, keyword : kid, domain_keyword : did, publication : pid, domain_publication : did, organization : oid, publication_keyword : kid, writes : aid | [Foreign Keys]: domain_author : did = domain : did | domain_author : aid = author : aid | domain_conference : did = domain : did | domain_conference : cid = conference : cid | domain_journal : did = domain : did | domain_journal : jid = journal : jid | domain_keyword : did = domain : did | domain_keyword : kid = keyword : kid | publication : cid = conference : cid | publication : jid = journal : jid | domain_publication : did = domain : did | domain_publication : pid = publication : pid | publication_keyword : kid = keyword : kid | publication_keyword : pid = publication : pid | writes : aid = author : aid | writes : pid = publication : pid | cite : citing = publication : pid | cite : cited = publication : pid |
academic | 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; | return me the keywords, which have been contained by more than 100 papers in PVLDB . | [Schema (values) (types)]: | academic | author : aid (text) , homepage (number) , name (text) , oid (text) | conference : cid (text) , homepage (number) , name (text) | domain : did (text) , name (number) | domain_author : aid (text) , did (number) | domain_conference : cid (text) , did (number) | journal : homepage (text) , jid (number) , name (text) | domain_journal : did (text) , jid (number) | keyword : keyword (text) , kid (number) | domain_keyword : did (text) , kid (number) | publication : abstract (text) , cid (number) , citation_num (text) , jid (text) , pid (number) , reference_num (number) , title (text) , year (text) | domain_publication : did (text) , pid (number) | organization : continent (text) , homepage (number) , name (text) , oid (text) | publication_keyword : pid (text) , kid (number) | writes : aid (text) , pid (number) | cite : cited (text) , citing (number); | [Primary Keys]: author : aid, conference : cid, domain : did, domain_author : did, domain_conference : did, journal : jid, domain_journal : did, keyword : kid, domain_keyword : did, publication : pid, domain_publication : did, organization : oid, publication_keyword : kid, writes : aid | [Foreign Keys]: domain_author : did = domain : did | domain_author : aid = author : aid | domain_conference : did = domain : did | domain_conference : cid = conference : cid | domain_journal : did = domain : did | domain_journal : jid = journal : jid | domain_keyword : did = domain : did | domain_keyword : kid = keyword : kid | publication : cid = conference : cid | publication : jid = journal : jid | domain_publication : did = domain : did | domain_publication : pid = publication : pid | publication_keyword : kid = keyword : kid | publication_keyword : pid = publication : pid | writes : aid = author : aid | writes : pid = publication : pid | cite : citing = publication : pid | cite : cited = publication : pid |
academic | 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; | return me the keywords, which have been contained by more than 10 papers of " H. V. Jagadish " . | [Schema (values) (types)]: | academic | author : aid (text) , homepage (number) , name (text) , oid (text) | conference : cid (text) , homepage (number) , name (text) | domain : did (text) , name (number) | domain_author : aid (text) , did (number) | domain_conference : cid (text) , did (number) | journal : homepage (text) , jid (number) , name (text) | domain_journal : did (text) , jid (number) | keyword : keyword (text) , kid (number) | domain_keyword : did (text) , kid (number) | publication : abstract (text) , cid (number) , citation_num (text) , jid (text) , pid (number) , reference_num (number) , title (text) , year (text) | domain_publication : did (text) , pid (number) | organization : continent (text) , homepage (number) , name (text) , oid (text) | publication_keyword : pid (text) , kid (number) | writes : aid (text) , pid (number) | cite : cited (text) , citing (number); | [Primary Keys]: author : aid, conference : cid, domain : did, domain_author : did, domain_conference : did, journal : jid, domain_journal : did, keyword : kid, domain_keyword : did, publication : pid, domain_publication : did, organization : oid, publication_keyword : kid, writes : aid | [Foreign Keys]: domain_author : did = domain : did | domain_author : aid = author : aid | domain_conference : did = domain : did | domain_conference : cid = conference : cid | domain_journal : did = domain : did | domain_journal : jid = journal : jid | domain_keyword : did = domain : did | domain_keyword : kid = keyword : kid | publication : cid = conference : cid | publication : jid = journal : jid | domain_publication : did = domain : did | domain_publication : pid = publication : pid | publication_keyword : kid = keyword : kid | publication_keyword : pid = publication : pid | writes : aid = author : aid | writes : pid = publication : pid | cite : citing = publication : pid | cite : cited = publication : pid |
academic | 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; | return me the authors who have more than 10 papers in the VLDB conference . | [Schema (values) (types)]: | academic | author : aid (text) , homepage (number) , name (text) , oid (text) | conference : cid (text) , homepage (number) , name (text) | domain : did (text) , name (number) | domain_author : aid (text) , did (number) | domain_conference : cid (text) , did (number) | journal : homepage (text) , jid (number) , name (text) | domain_journal : did (text) , jid (number) | keyword : keyword (text) , kid (number) | domain_keyword : did (text) , kid (number) | publication : abstract (text) , cid (number) , citation_num (text) , jid (text) , pid (number) , reference_num (number) , title (text) , year (text) | domain_publication : did (text) , pid (number) | organization : continent (text) , homepage (number) , name (text) , oid (text) | publication_keyword : pid (text) , kid (number) | writes : aid (text) , pid (number) | cite : cited (text) , citing (number); | [Primary Keys]: author : aid, conference : cid, domain : did, domain_author : did, domain_conference : did, journal : jid, domain_journal : did, keyword : kid, domain_keyword : did, publication : pid, domain_publication : did, organization : oid, publication_keyword : kid, writes : aid | [Foreign Keys]: domain_author : did = domain : did | domain_author : aid = author : aid | domain_conference : did = domain : did | domain_conference : cid = conference : cid | domain_journal : did = domain : did | domain_journal : jid = journal : jid | domain_keyword : did = domain : did | domain_keyword : kid = keyword : kid | publication : cid = conference : cid | publication : jid = journal : jid | domain_publication : did = domain : did | domain_publication : pid = publication : pid | publication_keyword : kid = keyword : kid | publication_keyword : pid = publication : pid | writes : aid = author : aid | writes : pid = publication : pid | cite : citing = publication : pid | cite : cited = publication : pid |
academic | 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; | return me the author who has the most number of papers in the VLDB conference . | [Schema (values) (types)]: | academic | author : aid (text) , homepage (number) , name (text) , oid (text) | conference : cid (text) , homepage (number) , name (text) | domain : did (text) , name (number) | domain_author : aid (text) , did (number) | domain_conference : cid (text) , did (number) | journal : homepage (text) , jid (number) , name (text) | domain_journal : did (text) , jid (number) | keyword : keyword (text) , kid (number) | domain_keyword : did (text) , kid (number) | publication : abstract (text) , cid (number) , citation_num (text) , jid (text) , pid (number) , reference_num (number) , title (text) , year (text) | domain_publication : did (text) , pid (number) | organization : continent (text) , homepage (number) , name (text) , oid (text) | publication_keyword : pid (text) , kid (number) | writes : aid (text) , pid (number) | cite : cited (text) , citing (number); | [Primary Keys]: author : aid, conference : cid, domain : did, domain_author : did, domain_conference : did, journal : jid, domain_journal : did, keyword : kid, domain_keyword : did, publication : pid, domain_publication : did, organization : oid, publication_keyword : kid, writes : aid | [Foreign Keys]: domain_author : did = domain : did | domain_author : aid = author : aid | domain_conference : did = domain : did | domain_conference : cid = conference : cid | domain_journal : did = domain : did | domain_journal : jid = journal : jid | domain_keyword : did = domain : did | domain_keyword : kid = keyword : kid | publication : cid = conference : cid | publication : jid = journal : jid | domain_publication : did = domain : did | domain_publication : pid = publication : pid | publication_keyword : kid = keyword : kid | publication_keyword : pid = publication : pid | writes : aid = author : aid | writes : pid = publication : pid | cite : citing = publication : pid | cite : cited = publication : pid |
academic | 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; | return me the author in the " University of Michigan " whose papers have more than 5000 total citations . | [Schema (values) (types)]: | academic | author : aid (text) , homepage (number) , name (text) , oid (text) | conference : cid (text) , homepage (number) , name (text) | domain : did (text) , name (number) | domain_author : aid (text) , did (number) | domain_conference : cid (text) , did (number) | journal : homepage (text) , jid (number) , name (text) | domain_journal : did (text) , jid (number) | keyword : keyword (text) , kid (number) | domain_keyword : did (text) , kid (number) | publication : abstract (text) , cid (number) , citation_num (text) , jid (text) , pid (number) , reference_num (number) , title (text) , year (text) | domain_publication : did (text) , pid (number) | organization : continent (text) , homepage (number) , name (text) , oid (text) | publication_keyword : pid (text) , kid (number) | writes : aid (text) , pid (number) | cite : cited (text) , citing (number); | [Primary Keys]: author : aid, conference : cid, domain : did, domain_author : did, domain_conference : did, journal : jid, domain_journal : did, keyword : kid, domain_keyword : did, publication : pid, domain_publication : did, organization : oid, publication_keyword : kid, writes : aid | [Foreign Keys]: domain_author : did = domain : did | domain_author : aid = author : aid | domain_conference : did = domain : did | domain_conference : cid = conference : cid | domain_journal : did = domain : did | domain_journal : jid = journal : jid | domain_keyword : did = domain : did | domain_keyword : kid = keyword : kid | publication : cid = conference : cid | publication : jid = journal : jid | domain_publication : did = domain : did | domain_publication : pid = publication : pid | publication_keyword : kid = keyword : kid | publication_keyword : pid = publication : pid | writes : aid = author : aid | writes : pid = publication : pid | cite : citing = publication : pid | cite : cited = publication : pid |
academic | 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; | return me the author in the " University of Michigan " in Databases area whose papers have more than 5000 total citations . | [Schema (values) (types)]: | academic | author : aid (text) , homepage (number) , name (text) , oid (text) | conference : cid (text) , homepage (number) , name (text) | domain : did (text) , name (number) | domain_author : aid (text) , did (number) | domain_conference : cid (text) , did (number) | journal : homepage (text) , jid (number) , name (text) | domain_journal : did (text) , jid (number) | keyword : keyword (text) , kid (number) | domain_keyword : did (text) , kid (number) | publication : abstract (text) , cid (number) , citation_num (text) , jid (text) , pid (number) , reference_num (number) , title (text) , year (text) | domain_publication : did (text) , pid (number) | organization : continent (text) , homepage (number) , name (text) , oid (text) | publication_keyword : pid (text) , kid (number) | writes : aid (text) , pid (number) | cite : cited (text) , citing (number); | [Primary Keys]: author : aid, conference : cid, domain : did, domain_author : did, domain_conference : did, journal : jid, domain_journal : did, keyword : kid, domain_keyword : did, publication : pid, domain_publication : did, organization : oid, publication_keyword : kid, writes : aid | [Foreign Keys]: domain_author : did = domain : did | domain_author : aid = author : aid | domain_conference : did = domain : did | domain_conference : cid = conference : cid | domain_journal : did = domain : did | domain_journal : jid = journal : jid | domain_keyword : did = domain : did | domain_keyword : kid = keyword : kid | publication : cid = conference : cid | publication : jid = journal : jid | domain_publication : did = domain : did | domain_publication : pid = publication : pid | publication_keyword : kid = keyword : kid | publication_keyword : pid = publication : pid | writes : aid = author : aid | writes : pid = publication : pid | cite : citing = publication : pid | cite : cited = publication : pid |
imdb | SELECT release_year FROM movie WHERE title = "The Imitation Game"; | What year is the movie " The Imitation Game " from ? | [Schema (values) (types)]: | imdb | actor : aid (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | copyright : id (text) , msid (number) , cid (text) | cast : id (text) , msid (number) , aid (text) , role (text) | genre : gid (text) , genre (number) | classification : id (text) , msid (number) , gid (text) | company : id (text) , name (number) , country_code (text) | director : did (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | producer : pid (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | directed_by : id (text) , msid (number) , did (text) | keyword : id (text) , keyword (number) | made_by : id (text) , msid (number) , pid (text) | movie : mid (text) , title (number) , release_year (text) , title_aka (text) , budget (text) | tags : id (text) , msid (number) , kid (text) | tv_series : sid (text) , title (number) , release_year (text) , num_of_seasons (text) , num_of_episodes (text) , title_aka (text) , budget (number) | writer : wid (text) , gender (number) , name (text) , nationality (text) , num_of_episodes (text) , birth_city (text) , birth_year (number) | written_by : id (text) , msid (number) , wid (text); | [Primary Keys]: actor : aid, copyright : id, cast : id, genre : gid, classification : id, company : id, director : did, producer : pid, directed_by : id, keyword : id, made_by : id, movie : mid, tags : id, tv_series : sid, writer : wid | [Foreign Keys]: cast : msid = copyright : msid | cast : aid = actor : aid | classification : msid = copyright : msid | classification : gid = genre : gid | directed_by : did = director : did | directed_by : msid = copyright : msid | made_by : pid = producer : pid | made_by : msid = copyright : msid | tags : msid = copyright : msid | written_by : wid = writer : wid | written_by : msid = copyright : msid |
imdb | SELECT release_year FROM movie WHERE title = "The Imitation Game"; | What year was the movie " The Imitation Game " produced | [Schema (values) (types)]: | imdb | actor : aid (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | copyright : id (text) , msid (number) , cid (text) | cast : id (text) , msid (number) , aid (text) , role (text) | genre : gid (text) , genre (number) | classification : id (text) , msid (number) , gid (text) | company : id (text) , name (number) , country_code (text) | director : did (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | producer : pid (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | directed_by : id (text) , msid (number) , did (text) | keyword : id (text) , keyword (number) | made_by : id (text) , msid (number) , pid (text) | movie : mid (text) , title (number) , release_year (text) , title_aka (text) , budget (text) | tags : id (text) , msid (number) , kid (text) | tv_series : sid (text) , title (number) , release_year (text) , num_of_seasons (text) , num_of_episodes (text) , title_aka (text) , budget (number) | writer : wid (text) , gender (number) , name (text) , nationality (text) , num_of_episodes (text) , birth_city (text) , birth_year (number) | written_by : id (text) , msid (number) , wid (text); | [Primary Keys]: actor : aid, copyright : id, cast : id, genre : gid, classification : id, company : id, director : did, producer : pid, directed_by : id, keyword : id, made_by : id, movie : mid, tags : id, tv_series : sid, writer : wid | [Foreign Keys]: cast : msid = copyright : msid | cast : aid = actor : aid | classification : msid = copyright : msid | classification : gid = genre : gid | directed_by : did = director : did | directed_by : msid = copyright : msid | made_by : pid = producer : pid | made_by : msid = copyright : msid | tags : msid = copyright : msid | written_by : wid = writer : wid | written_by : msid = copyright : msid |
imdb | SELECT birth_year FROM actor WHERE name = "Benedict Cumberbatch"; | What year was " Benedict Cumberbatch " born ? | [Schema (values) (types)]: | imdb | actor : aid (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | copyright : id (text) , msid (number) , cid (text) | cast : id (text) , msid (number) , aid (text) , role (text) | genre : gid (text) , genre (number) | classification : id (text) , msid (number) , gid (text) | company : id (text) , name (number) , country_code (text) | director : did (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | producer : pid (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | directed_by : id (text) , msid (number) , did (text) | keyword : id (text) , keyword (number) | made_by : id (text) , msid (number) , pid (text) | movie : mid (text) , title (number) , release_year (text) , title_aka (text) , budget (text) | tags : id (text) , msid (number) , kid (text) | tv_series : sid (text) , title (number) , release_year (text) , num_of_seasons (text) , num_of_episodes (text) , title_aka (text) , budget (number) | writer : wid (text) , gender (number) , name (text) , nationality (text) , num_of_episodes (text) , birth_city (text) , birth_year (number) | written_by : id (text) , msid (number) , wid (text); | [Primary Keys]: actor : aid, copyright : id, cast : id, genre : gid, classification : id, company : id, director : did, producer : pid, directed_by : id, keyword : id, made_by : id, movie : mid, tags : id, tv_series : sid, writer : wid | [Foreign Keys]: cast : msid = copyright : msid | cast : aid = actor : aid | classification : msid = copyright : msid | classification : gid = genre : gid | directed_by : did = director : did | directed_by : msid = copyright : msid | made_by : pid = producer : pid | made_by : msid = copyright : msid | tags : msid = copyright : msid | written_by : wid = writer : wid | written_by : msid = copyright : msid |
imdb | SELECT birth_year FROM actor WHERE name = "Benedict Cumberbatch"; | In what year was " Benedict Cumberbatch " born | [Schema (values) (types)]: | imdb | actor : aid (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | copyright : id (text) , msid (number) , cid (text) | cast : id (text) , msid (number) , aid (text) , role (text) | genre : gid (text) , genre (number) | classification : id (text) , msid (number) , gid (text) | company : id (text) , name (number) , country_code (text) | director : did (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | producer : pid (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | directed_by : id (text) , msid (number) , did (text) | keyword : id (text) , keyword (number) | made_by : id (text) , msid (number) , pid (text) | movie : mid (text) , title (number) , release_year (text) , title_aka (text) , budget (text) | tags : id (text) , msid (number) , kid (text) | tv_series : sid (text) , title (number) , release_year (text) , num_of_seasons (text) , num_of_episodes (text) , title_aka (text) , budget (number) | writer : wid (text) , gender (number) , name (text) , nationality (text) , num_of_episodes (text) , birth_city (text) , birth_year (number) | written_by : id (text) , msid (number) , wid (text); | [Primary Keys]: actor : aid, copyright : id, cast : id, genre : gid, classification : id, company : id, director : did, producer : pid, directed_by : id, keyword : id, made_by : id, movie : mid, tags : id, tv_series : sid, writer : wid | [Foreign Keys]: cast : msid = copyright : msid | cast : aid = actor : aid | classification : msid = copyright : msid | classification : gid = genre : gid | directed_by : did = director : did | directed_by : msid = copyright : msid | made_by : pid = producer : pid | made_by : msid = copyright : msid | tags : msid = copyright : msid | written_by : wid = writer : wid | written_by : msid = copyright : msid |
imdb | SELECT nationality FROM actor WHERE name = "Christoph Waltz"; | What is the nationality of the actress " Christoph Waltz " ? | [Schema (values) (types)]: | imdb | actor : aid (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | copyright : id (text) , msid (number) , cid (text) | cast : id (text) , msid (number) , aid (text) , role (text) | genre : gid (text) , genre (number) | classification : id (text) , msid (number) , gid (text) | company : id (text) , name (number) , country_code (text) | director : did (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | producer : pid (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | directed_by : id (text) , msid (number) , did (text) | keyword : id (text) , keyword (number) | made_by : id (text) , msid (number) , pid (text) | movie : mid (text) , title (number) , release_year (text) , title_aka (text) , budget (text) | tags : id (text) , msid (number) , kid (text) | tv_series : sid (text) , title (number) , release_year (text) , num_of_seasons (text) , num_of_episodes (text) , title_aka (text) , budget (number) | writer : wid (text) , gender (number) , name (text) , nationality (text) , num_of_episodes (text) , birth_city (text) , birth_year (number) | written_by : id (text) , msid (number) , wid (text); | [Primary Keys]: actor : aid, copyright : id, cast : id, genre : gid, classification : id, company : id, director : did, producer : pid, directed_by : id, keyword : id, made_by : id, movie : mid, tags : id, tv_series : sid, writer : wid | [Foreign Keys]: cast : msid = copyright : msid | cast : aid = actor : aid | classification : msid = copyright : msid | classification : gid = genre : gid | directed_by : did = director : did | directed_by : msid = copyright : msid | made_by : pid = producer : pid | made_by : msid = copyright : msid | tags : msid = copyright : msid | written_by : wid = writer : wid | written_by : msid = copyright : msid |
imdb | SELECT nationality FROM actor WHERE name = "Christoph Waltz"; | What is the nationality of the actor " Christoph Waltz " ? | [Schema (values) (types)]: | imdb | actor : aid (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | copyright : id (text) , msid (number) , cid (text) | cast : id (text) , msid (number) , aid (text) , role (text) | genre : gid (text) , genre (number) | classification : id (text) , msid (number) , gid (text) | company : id (text) , name (number) , country_code (text) | director : did (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | producer : pid (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | directed_by : id (text) , msid (number) , did (text) | keyword : id (text) , keyword (number) | made_by : id (text) , msid (number) , pid (text) | movie : mid (text) , title (number) , release_year (text) , title_aka (text) , budget (text) | tags : id (text) , msid (number) , kid (text) | tv_series : sid (text) , title (number) , release_year (text) , num_of_seasons (text) , num_of_episodes (text) , title_aka (text) , budget (number) | writer : wid (text) , gender (number) , name (text) , nationality (text) , num_of_episodes (text) , birth_city (text) , birth_year (number) | written_by : id (text) , msid (number) , wid (text); | [Primary Keys]: actor : aid, copyright : id, cast : id, genre : gid, classification : id, company : id, director : did, producer : pid, directed_by : id, keyword : id, made_by : id, movie : mid, tags : id, tv_series : sid, writer : wid | [Foreign Keys]: cast : msid = copyright : msid | cast : aid = actor : aid | classification : msid = copyright : msid | classification : gid = genre : gid | directed_by : did = director : did | directed_by : msid = copyright : msid | made_by : pid = producer : pid | made_by : msid = copyright : msid | tags : msid = copyright : msid | written_by : wid = writer : wid | written_by : msid = copyright : msid |
imdb | SELECT title FROM movie WHERE release_year = 2015; | Find all movies produced in 2015 | [Schema (values) (types)]: | imdb | actor : aid (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | copyright : id (text) , msid (number) , cid (text) | cast : id (text) , msid (number) , aid (text) , role (text) | genre : gid (text) , genre (number) | classification : id (text) , msid (number) , gid (text) | company : id (text) , name (number) , country_code (text) | director : did (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | producer : pid (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | directed_by : id (text) , msid (number) , did (text) | keyword : id (text) , keyword (number) | made_by : id (text) , msid (number) , pid (text) | movie : mid (text) , title (number) , release_year (text) , title_aka (text) , budget (text) | tags : id (text) , msid (number) , kid (text) | tv_series : sid (text) , title (number) , release_year (text) , num_of_seasons (text) , num_of_episodes (text) , title_aka (text) , budget (number) | writer : wid (text) , gender (number) , name (text) , nationality (text) , num_of_episodes (text) , birth_city (text) , birth_year (number) | written_by : id (text) , msid (number) , wid (text); | [Primary Keys]: actor : aid, copyright : id, cast : id, genre : gid, classification : id, company : id, director : did, producer : pid, directed_by : id, keyword : id, made_by : id, movie : mid, tags : id, tv_series : sid, writer : wid | [Foreign Keys]: cast : msid = copyright : msid | cast : aid = actor : aid | classification : msid = copyright : msid | classification : gid = genre : gid | directed_by : did = director : did | directed_by : msid = copyright : msid | made_by : pid = producer : pid | made_by : msid = copyright : msid | tags : msid = copyright : msid | written_by : wid = writer : wid | written_by : msid = copyright : msid |
imdb | SELECT name FROM actor WHERE birth_city = "Tehran"; | Find all actors born in " Tehran " | [Schema (values) (types)]: | imdb | actor : aid (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | copyright : id (text) , msid (number) , cid (text) | cast : id (text) , msid (number) , aid (text) , role (text) | genre : gid (text) , genre (number) | classification : id (text) , msid (number) , gid (text) | company : id (text) , name (number) , country_code (text) | director : did (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | producer : pid (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | directed_by : id (text) , msid (number) , did (text) | keyword : id (text) , keyword (number) | made_by : id (text) , msid (number) , pid (text) | movie : mid (text) , title (number) , release_year (text) , title_aka (text) , budget (text) | tags : id (text) , msid (number) , kid (text) | tv_series : sid (text) , title (number) , release_year (text) , num_of_seasons (text) , num_of_episodes (text) , title_aka (text) , budget (number) | writer : wid (text) , gender (number) , name (text) , nationality (text) , num_of_episodes (text) , birth_city (text) , birth_year (number) | written_by : id (text) , msid (number) , wid (text); | [Primary Keys]: actor : aid, copyright : id, cast : id, genre : gid, classification : id, company : id, director : did, producer : pid, directed_by : id, keyword : id, made_by : id, movie : mid, tags : id, tv_series : sid, writer : wid | [Foreign Keys]: cast : msid = copyright : msid | cast : aid = actor : aid | classification : msid = copyright : msid | classification : gid = genre : gid | directed_by : did = director : did | directed_by : msid = copyright : msid | made_by : pid = producer : pid | made_by : msid = copyright : msid | tags : msid = copyright : msid | written_by : wid = writer : wid | written_by : msid = copyright : msid |
imdb | SELECT name FROM actor WHERE birth_city = "Tehran"; | Find all actors born in Tehran | [Schema (values) (types)]: | imdb | actor : aid (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | copyright : id (text) , msid (number) , cid (text) | cast : id (text) , msid (number) , aid (text) , role (text) | genre : gid (text) , genre (number) | classification : id (text) , msid (number) , gid (text) | company : id (text) , name (number) , country_code (text) | director : did (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | producer : pid (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | directed_by : id (text) , msid (number) , did (text) | keyword : id (text) , keyword (number) | made_by : id (text) , msid (number) , pid (text) | movie : mid (text) , title (number) , release_year (text) , title_aka (text) , budget (text) | tags : id (text) , msid (number) , kid (text) | tv_series : sid (text) , title (number) , release_year (text) , num_of_seasons (text) , num_of_episodes (text) , title_aka (text) , budget (number) | writer : wid (text) , gender (number) , name (text) , nationality (text) , num_of_episodes (text) , birth_city (text) , birth_year (number) | written_by : id (text) , msid (number) , wid (text); | [Primary Keys]: actor : aid, copyright : id, cast : id, genre : gid, classification : id, company : id, director : did, producer : pid, directed_by : id, keyword : id, made_by : id, movie : mid, tags : id, tv_series : sid, writer : wid | [Foreign Keys]: cast : msid = copyright : msid | cast : aid = actor : aid | classification : msid = copyright : msid | classification : gid = genre : gid | directed_by : did = director : did | directed_by : msid = copyright : msid | made_by : pid = producer : pid | made_by : msid = copyright : msid | tags : msid = copyright : msid | written_by : wid = writer : wid | written_by : msid = copyright : msid |
imdb | SELECT name FROM actor WHERE birth_city = "Tehran"; | Which actors were born in Tehran | [Schema (values) (types)]: | imdb | actor : aid (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | copyright : id (text) , msid (number) , cid (text) | cast : id (text) , msid (number) , aid (text) , role (text) | genre : gid (text) , genre (number) | classification : id (text) , msid (number) , gid (text) | company : id (text) , name (number) , country_code (text) | director : did (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | producer : pid (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | directed_by : id (text) , msid (number) , did (text) | keyword : id (text) , keyword (number) | made_by : id (text) , msid (number) , pid (text) | movie : mid (text) , title (number) , release_year (text) , title_aka (text) , budget (text) | tags : id (text) , msid (number) , kid (text) | tv_series : sid (text) , title (number) , release_year (text) , num_of_seasons (text) , num_of_episodes (text) , title_aka (text) , budget (number) | writer : wid (text) , gender (number) , name (text) , nationality (text) , num_of_episodes (text) , birth_city (text) , birth_year (number) | written_by : id (text) , msid (number) , wid (text); | [Primary Keys]: actor : aid, copyright : id, cast : id, genre : gid, classification : id, company : id, director : did, producer : pid, directed_by : id, keyword : id, made_by : id, movie : mid, tags : id, tv_series : sid, writer : wid | [Foreign Keys]: cast : msid = copyright : msid | cast : aid = actor : aid | classification : msid = copyright : msid | classification : gid = genre : gid | directed_by : did = director : did | directed_by : msid = copyright : msid | made_by : pid = producer : pid | made_by : msid = copyright : msid | tags : msid = copyright : msid | written_by : wid = writer : wid | written_by : msid = copyright : msid |
imdb | SELECT name FROM actor WHERE nationality = "Afghanistan"; | Find all actors who are from Afghanistan | [Schema (values) (types)]: | imdb | actor : aid (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | copyright : id (text) , msid (number) , cid (text) | cast : id (text) , msid (number) , aid (text) , role (text) | genre : gid (text) , genre (number) | classification : id (text) , msid (number) , gid (text) | company : id (text) , name (number) , country_code (text) | director : did (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | producer : pid (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | directed_by : id (text) , msid (number) , did (text) | keyword : id (text) , keyword (number) | made_by : id (text) , msid (number) , pid (text) | movie : mid (text) , title (number) , release_year (text) , title_aka (text) , budget (text) | tags : id (text) , msid (number) , kid (text) | tv_series : sid (text) , title (number) , release_year (text) , num_of_seasons (text) , num_of_episodes (text) , title_aka (text) , budget (number) | writer : wid (text) , gender (number) , name (text) , nationality (text) , num_of_episodes (text) , birth_city (text) , birth_year (number) | written_by : id (text) , msid (number) , wid (text); | [Primary Keys]: actor : aid, copyright : id, cast : id, genre : gid, classification : id, company : id, director : did, producer : pid, directed_by : id, keyword : id, made_by : id, movie : mid, tags : id, tv_series : sid, writer : wid | [Foreign Keys]: cast : msid = copyright : msid | cast : aid = actor : aid | classification : msid = copyright : msid | classification : gid = genre : gid | directed_by : did = director : did | directed_by : msid = copyright : msid | made_by : pid = producer : pid | made_by : msid = copyright : msid | tags : msid = copyright : msid | written_by : wid = writer : wid | written_by : msid = copyright : msid |
imdb | SELECT name FROM actor WHERE nationality = "Afghanistan"; | Find all actors from Afghanistan | [Schema (values) (types)]: | imdb | actor : aid (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | copyright : id (text) , msid (number) , cid (text) | cast : id (text) , msid (number) , aid (text) , role (text) | genre : gid (text) , genre (number) | classification : id (text) , msid (number) , gid (text) | company : id (text) , name (number) , country_code (text) | director : did (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | producer : pid (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | directed_by : id (text) , msid (number) , did (text) | keyword : id (text) , keyword (number) | made_by : id (text) , msid (number) , pid (text) | movie : mid (text) , title (number) , release_year (text) , title_aka (text) , budget (text) | tags : id (text) , msid (number) , kid (text) | tv_series : sid (text) , title (number) , release_year (text) , num_of_seasons (text) , num_of_episodes (text) , title_aka (text) , budget (number) | writer : wid (text) , gender (number) , name (text) , nationality (text) , num_of_episodes (text) , birth_city (text) , birth_year (number) | written_by : id (text) , msid (number) , wid (text); | [Primary Keys]: actor : aid, copyright : id, cast : id, genre : gid, classification : id, company : id, director : did, producer : pid, directed_by : id, keyword : id, made_by : id, movie : mid, tags : id, tv_series : sid, writer : wid | [Foreign Keys]: cast : msid = copyright : msid | cast : aid = actor : aid | classification : msid = copyright : msid | classification : gid = genre : gid | directed_by : did = director : did | directed_by : msid = copyright : msid | made_by : pid = producer : pid | made_by : msid = copyright : msid | tags : msid = copyright : msid | written_by : wid = writer : wid | written_by : msid = copyright : msid |
imdb | SELECT name FROM actor WHERE nationality = "Afghanistan"; | Give me the name of all the actors from Afghanistan | [Schema (values) (types)]: | imdb | actor : aid (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | copyright : id (text) , msid (number) , cid (text) | cast : id (text) , msid (number) , aid (text) , role (text) | genre : gid (text) , genre (number) | classification : id (text) , msid (number) , gid (text) | company : id (text) , name (number) , country_code (text) | director : did (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | producer : pid (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | directed_by : id (text) , msid (number) , did (text) | keyword : id (text) , keyword (number) | made_by : id (text) , msid (number) , pid (text) | movie : mid (text) , title (number) , release_year (text) , title_aka (text) , budget (text) | tags : id (text) , msid (number) , kid (text) | tv_series : sid (text) , title (number) , release_year (text) , num_of_seasons (text) , num_of_episodes (text) , title_aka (text) , budget (number) | writer : wid (text) , gender (number) , name (text) , nationality (text) , num_of_episodes (text) , birth_city (text) , birth_year (number) | written_by : id (text) , msid (number) , wid (text); | [Primary Keys]: actor : aid, copyright : id, cast : id, genre : gid, classification : id, company : id, director : did, producer : pid, directed_by : id, keyword : id, made_by : id, movie : mid, tags : id, tv_series : sid, writer : wid | [Foreign Keys]: cast : msid = copyright : msid | cast : aid = actor : aid | classification : msid = copyright : msid | classification : gid = genre : gid | directed_by : did = director : did | directed_by : msid = copyright : msid | made_by : pid = producer : pid | made_by : msid = copyright : msid | tags : msid = copyright : msid | written_by : wid = writer : wid | written_by : msid = copyright : msid |
imdb | SELECT name FROM actor WHERE birth_year = 1984; | Find all actors who were born in 1984 | [Schema (values) (types)]: | imdb | actor : aid (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | copyright : id (text) , msid (number) , cid (text) | cast : id (text) , msid (number) , aid (text) , role (text) | genre : gid (text) , genre (number) | classification : id (text) , msid (number) , gid (text) | company : id (text) , name (number) , country_code (text) | director : did (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | producer : pid (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | directed_by : id (text) , msid (number) , did (text) | keyword : id (text) , keyword (number) | made_by : id (text) , msid (number) , pid (text) | movie : mid (text) , title (number) , release_year (text) , title_aka (text) , budget (text) | tags : id (text) , msid (number) , kid (text) | tv_series : sid (text) , title (number) , release_year (text) , num_of_seasons (text) , num_of_episodes (text) , title_aka (text) , budget (number) | writer : wid (text) , gender (number) , name (text) , nationality (text) , num_of_episodes (text) , birth_city (text) , birth_year (number) | written_by : id (text) , msid (number) , wid (text); | [Primary Keys]: actor : aid, copyright : id, cast : id, genre : gid, classification : id, company : id, director : did, producer : pid, directed_by : id, keyword : id, made_by : id, movie : mid, tags : id, tv_series : sid, writer : wid | [Foreign Keys]: cast : msid = copyright : msid | cast : aid = actor : aid | classification : msid = copyright : msid | classification : gid = genre : gid | directed_by : did = director : did | directed_by : msid = copyright : msid | made_by : pid = producer : pid | made_by : msid = copyright : msid | tags : msid = copyright : msid | written_by : wid = writer : wid | written_by : msid = copyright : msid |
imdb | SELECT birth_year FROM actor WHERE name = "actor_name0"; | When was " Kevin Spacey " born ? | [Schema (values) (types)]: | imdb | actor : aid (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | copyright : id (text) , msid (number) , cid (text) | cast : id (text) , msid (number) , aid (text) , role (text) | genre : gid (text) , genre (number) | classification : id (text) , msid (number) , gid (text) | company : id (text) , name (number) , country_code (text) | director : did (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | producer : pid (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | directed_by : id (text) , msid (number) , did (text) | keyword : id (text) , keyword (number) | made_by : id (text) , msid (number) , pid (text) | movie : mid (text) , title (number) , release_year (text) , title_aka (text) , budget (text) | tags : id (text) , msid (number) , kid (text) | tv_series : sid (text) , title (number) , release_year (text) , num_of_seasons (text) , num_of_episodes (text) , title_aka (text) , budget (number) | writer : wid (text) , gender (number) , name (text) , nationality (text) , num_of_episodes (text) , birth_city (text) , birth_year (number) | written_by : id (text) , msid (number) , wid (text); | [Primary Keys]: actor : aid, copyright : id, cast : id, genre : gid, classification : id, company : id, director : did, producer : pid, directed_by : id, keyword : id, made_by : id, movie : mid, tags : id, tv_series : sid, writer : wid | [Foreign Keys]: cast : msid = copyright : msid | cast : aid = actor : aid | classification : msid = copyright : msid | classification : gid = genre : gid | directed_by : did = director : did | directed_by : msid = copyright : msid | made_by : pid = producer : pid | made_by : msid = copyright : msid | tags : msid = copyright : msid | written_by : wid = writer : wid | written_by : msid = copyright : msid |
imdb | SELECT birth_year FROM actor WHERE name = "actor_name0"; | In what year was " Kevin Spacey " born ? | [Schema (values) (types)]: | imdb | actor : aid (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | copyright : id (text) , msid (number) , cid (text) | cast : id (text) , msid (number) , aid (text) , role (text) | genre : gid (text) , genre (number) | classification : id (text) , msid (number) , gid (text) | company : id (text) , name (number) , country_code (text) | director : did (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | producer : pid (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | directed_by : id (text) , msid (number) , did (text) | keyword : id (text) , keyword (number) | made_by : id (text) , msid (number) , pid (text) | movie : mid (text) , title (number) , release_year (text) , title_aka (text) , budget (text) | tags : id (text) , msid (number) , kid (text) | tv_series : sid (text) , title (number) , release_year (text) , num_of_seasons (text) , num_of_episodes (text) , title_aka (text) , budget (number) | writer : wid (text) , gender (number) , name (text) , nationality (text) , num_of_episodes (text) , birth_city (text) , birth_year (number) | written_by : id (text) , msid (number) , wid (text); | [Primary Keys]: actor : aid, copyright : id, cast : id, genre : gid, classification : id, company : id, director : did, producer : pid, directed_by : id, keyword : id, made_by : id, movie : mid, tags : id, tv_series : sid, writer : wid | [Foreign Keys]: cast : msid = copyright : msid | cast : aid = actor : aid | classification : msid = copyright : msid | classification : gid = genre : gid | directed_by : did = director : did | directed_by : msid = copyright : msid | made_by : pid = producer : pid | made_by : msid = copyright : msid | tags : msid = copyright : msid | written_by : wid = writer : wid | written_by : msid = copyright : msid |
imdb | SELECT birth_city FROM director WHERE name = "director_name0"; | Where is the birth place of " Kevin Spacey " | [Schema (values) (types)]: | imdb | actor : aid (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | copyright : id (text) , msid (number) , cid (text) | cast : id (text) , msid (number) , aid (text) , role (text) | genre : gid (text) , genre (number) | classification : id (text) , msid (number) , gid (text) | company : id (text) , name (number) , country_code (text) | director : did (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | producer : pid (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | directed_by : id (text) , msid (number) , did (text) | keyword : id (text) , keyword (number) | made_by : id (text) , msid (number) , pid (text) | movie : mid (text) , title (number) , release_year (text) , title_aka (text) , budget (text) | tags : id (text) , msid (number) , kid (text) | tv_series : sid (text) , title (number) , release_year (text) , num_of_seasons (text) , num_of_episodes (text) , title_aka (text) , budget (number) | writer : wid (text) , gender (number) , name (text) , nationality (text) , num_of_episodes (text) , birth_city (text) , birth_year (number) | written_by : id (text) , msid (number) , wid (text); | [Primary Keys]: actor : aid, copyright : id, cast : id, genre : gid, classification : id, company : id, director : did, producer : pid, directed_by : id, keyword : id, made_by : id, movie : mid, tags : id, tv_series : sid, writer : wid | [Foreign Keys]: cast : msid = copyright : msid | cast : aid = actor : aid | classification : msid = copyright : msid | classification : gid = genre : gid | directed_by : did = director : did | directed_by : msid = copyright : msid | made_by : pid = producer : pid | made_by : msid = copyright : msid | tags : msid = copyright : msid | written_by : wid = writer : wid | written_by : msid = copyright : msid |
imdb | SELECT birth_city FROM director WHERE name = "director_name0"; | In what city was " Kevin Spacey " born ? | [Schema (values) (types)]: | imdb | actor : aid (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | copyright : id (text) , msid (number) , cid (text) | cast : id (text) , msid (number) , aid (text) , role (text) | genre : gid (text) , genre (number) | classification : id (text) , msid (number) , gid (text) | company : id (text) , name (number) , country_code (text) | director : did (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | producer : pid (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | directed_by : id (text) , msid (number) , did (text) | keyword : id (text) , keyword (number) | made_by : id (text) , msid (number) , pid (text) | movie : mid (text) , title (number) , release_year (text) , title_aka (text) , budget (text) | tags : id (text) , msid (number) , kid (text) | tv_series : sid (text) , title (number) , release_year (text) , num_of_seasons (text) , num_of_episodes (text) , title_aka (text) , budget (number) | writer : wid (text) , gender (number) , name (text) , nationality (text) , num_of_episodes (text) , birth_city (text) , birth_year (number) | written_by : id (text) , msid (number) , wid (text); | [Primary Keys]: actor : aid, copyright : id, cast : id, genre : gid, classification : id, company : id, director : did, producer : pid, directed_by : id, keyword : id, made_by : id, movie : mid, tags : id, tv_series : sid, writer : wid | [Foreign Keys]: cast : msid = copyright : msid | cast : aid = actor : aid | classification : msid = copyright : msid | classification : gid = genre : gid | directed_by : did = director : did | directed_by : msid = copyright : msid | made_by : pid = producer : pid | made_by : msid = copyright : msid | tags : msid = copyright : msid | written_by : wid = writer : wid | written_by : msid = copyright : msid |
imdb | SELECT nationality FROM director WHERE name = "director_name0"; | What is the nationality of " Kevin Spacey " ? | [Schema (values) (types)]: | imdb | actor : aid (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | copyright : id (text) , msid (number) , cid (text) | cast : id (text) , msid (number) , aid (text) , role (text) | genre : gid (text) , genre (number) | classification : id (text) , msid (number) , gid (text) | company : id (text) , name (number) , country_code (text) | director : did (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | producer : pid (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | directed_by : id (text) , msid (number) , did (text) | keyword : id (text) , keyword (number) | made_by : id (text) , msid (number) , pid (text) | movie : mid (text) , title (number) , release_year (text) , title_aka (text) , budget (text) | tags : id (text) , msid (number) , kid (text) | tv_series : sid (text) , title (number) , release_year (text) , num_of_seasons (text) , num_of_episodes (text) , title_aka (text) , budget (number) | writer : wid (text) , gender (number) , name (text) , nationality (text) , num_of_episodes (text) , birth_city (text) , birth_year (number) | written_by : id (text) , msid (number) , wid (text); | [Primary Keys]: actor : aid, copyright : id, cast : id, genre : gid, classification : id, company : id, director : did, producer : pid, directed_by : id, keyword : id, made_by : id, movie : mid, tags : id, tv_series : sid, writer : wid | [Foreign Keys]: cast : msid = copyright : msid | cast : aid = actor : aid | classification : msid = copyright : msid | classification : gid = genre : gid | directed_by : did = director : did | directed_by : msid = copyright : msid | made_by : pid = producer : pid | made_by : msid = copyright : msid | tags : msid = copyright : msid | written_by : wid = writer : wid | written_by : msid = copyright : msid |
imdb | SELECT budget FROM movie WHERE title = "Finding Nemo"; | How much was the budget of " Finding Nemo " | [Schema (values) (types)]: | imdb | actor : aid (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | copyright : id (text) , msid (number) , cid (text) | cast : id (text) , msid (number) , aid (text) , role (text) | genre : gid (text) , genre (number) | classification : id (text) , msid (number) , gid (text) | company : id (text) , name (number) , country_code (text) | director : did (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | producer : pid (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | directed_by : id (text) , msid (number) , did (text) | keyword : id (text) , keyword (number) | made_by : id (text) , msid (number) , pid (text) | movie : mid (text) , title (number) , release_year (text) , title_aka (text) , budget (text) | tags : id (text) , msid (number) , kid (text) | tv_series : sid (text) , title (number) , release_year (text) , num_of_seasons (text) , num_of_episodes (text) , title_aka (text) , budget (number) | writer : wid (text) , gender (number) , name (text) , nationality (text) , num_of_episodes (text) , birth_city (text) , birth_year (number) | written_by : id (text) , msid (number) , wid (text); | [Primary Keys]: actor : aid, copyright : id, cast : id, genre : gid, classification : id, company : id, director : did, producer : pid, directed_by : id, keyword : id, made_by : id, movie : mid, tags : id, tv_series : sid, writer : wid | [Foreign Keys]: cast : msid = copyright : msid | cast : aid = actor : aid | classification : msid = copyright : msid | classification : gid = genre : gid | directed_by : did = director : did | directed_by : msid = copyright : msid | made_by : pid = producer : pid | made_by : msid = copyright : msid | tags : msid = copyright : msid | written_by : wid = writer : wid | written_by : msid = copyright : msid |
imdb | SELECT t3.title FROM director AS t2 JOIN directed_by AS t1 ON t2.did = t1.did JOIN movie AS t3 ON t3.mid = t1.msid WHERE t2.name = "Steven Spielberg" AND t3.release_year > 2006; | Find all movies directed by " Steven Spielberg " after 2006 | [Schema (values) (types)]: | imdb | actor : aid (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | copyright : id (text) , msid (number) , cid (text) | cast : id (text) , msid (number) , aid (text) , role (text) | genre : gid (text) , genre (number) | classification : id (text) , msid (number) , gid (text) | company : id (text) , name (number) , country_code (text) | director : did (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | producer : pid (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | directed_by : id (text) , msid (number) , did (text) | keyword : id (text) , keyword (number) | made_by : id (text) , msid (number) , pid (text) | movie : mid (text) , title (number) , release_year (text) , title_aka (text) , budget (text) | tags : id (text) , msid (number) , kid (text) | tv_series : sid (text) , title (number) , release_year (text) , num_of_seasons (text) , num_of_episodes (text) , title_aka (text) , budget (number) | writer : wid (text) , gender (number) , name (text) , nationality (text) , num_of_episodes (text) , birth_city (text) , birth_year (number) | written_by : id (text) , msid (number) , wid (text); | [Primary Keys]: actor : aid, copyright : id, cast : id, genre : gid, classification : id, company : id, director : did, producer : pid, directed_by : id, keyword : id, made_by : id, movie : mid, tags : id, tv_series : sid, writer : wid | [Foreign Keys]: cast : msid = copyright : msid | cast : aid = actor : aid | classification : msid = copyright : msid | classification : gid = genre : gid | directed_by : did = director : did | directed_by : msid = copyright : msid | made_by : pid = producer : pid | made_by : msid = copyright : msid | tags : msid = copyright : msid | written_by : wid = writer : wid | written_by : msid = copyright : msid |
imdb | SELECT t2.name FROM director AS t2 JOIN directed_by AS t1 ON t2.did = t1.did JOIN movie AS t3 ON t3.mid = t1.msid WHERE t3.title = "James Bond"; | Who is the director of the movie " James Bond " ? | [Schema (values) (types)]: | imdb | actor : aid (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | copyright : id (text) , msid (number) , cid (text) | cast : id (text) , msid (number) , aid (text) , role (text) | genre : gid (text) , genre (number) | classification : id (text) , msid (number) , gid (text) | company : id (text) , name (number) , country_code (text) | director : did (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | producer : pid (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | directed_by : id (text) , msid (number) , did (text) | keyword : id (text) , keyword (number) | made_by : id (text) , msid (number) , pid (text) | movie : mid (text) , title (number) , release_year (text) , title_aka (text) , budget (text) | tags : id (text) , msid (number) , kid (text) | tv_series : sid (text) , title (number) , release_year (text) , num_of_seasons (text) , num_of_episodes (text) , title_aka (text) , budget (number) | writer : wid (text) , gender (number) , name (text) , nationality (text) , num_of_episodes (text) , birth_city (text) , birth_year (number) | written_by : id (text) , msid (number) , wid (text); | [Primary Keys]: actor : aid, copyright : id, cast : id, genre : gid, classification : id, company : id, director : did, producer : pid, directed_by : id, keyword : id, made_by : id, movie : mid, tags : id, tv_series : sid, writer : wid | [Foreign Keys]: cast : msid = copyright : msid | cast : aid = actor : aid | classification : msid = copyright : msid | classification : gid = genre : gid | directed_by : did = director : did | directed_by : msid = copyright : msid | made_by : pid = producer : pid | made_by : msid = copyright : msid | tags : msid = copyright : msid | written_by : wid = writer : wid | written_by : msid = copyright : msid |
imdb | SELECT t2.name FROM director AS t2 JOIN directed_by AS t1 ON t2.did = t1.did JOIN movie AS t3 ON t3.mid = t1.msid WHERE t3.title = "James Bond"; | Who directed the movie " James Bond " ? | [Schema (values) (types)]: | imdb | actor : aid (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | copyright : id (text) , msid (number) , cid (text) | cast : id (text) , msid (number) , aid (text) , role (text) | genre : gid (text) , genre (number) | classification : id (text) , msid (number) , gid (text) | company : id (text) , name (number) , country_code (text) | director : did (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | producer : pid (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | directed_by : id (text) , msid (number) , did (text) | keyword : id (text) , keyword (number) | made_by : id (text) , msid (number) , pid (text) | movie : mid (text) , title (number) , release_year (text) , title_aka (text) , budget (text) | tags : id (text) , msid (number) , kid (text) | tv_series : sid (text) , title (number) , release_year (text) , num_of_seasons (text) , num_of_episodes (text) , title_aka (text) , budget (number) | writer : wid (text) , gender (number) , name (text) , nationality (text) , num_of_episodes (text) , birth_city (text) , birth_year (number) | written_by : id (text) , msid (number) , wid (text); | [Primary Keys]: actor : aid, copyright : id, cast : id, genre : gid, classification : id, company : id, director : did, producer : pid, directed_by : id, keyword : id, made_by : id, movie : mid, tags : id, tv_series : sid, writer : wid | [Foreign Keys]: cast : msid = copyright : msid | cast : aid = actor : aid | classification : msid = copyright : msid | classification : gid = genre : gid | directed_by : did = director : did | directed_by : msid = copyright : msid | made_by : pid = producer : pid | made_by : msid = copyright : msid | tags : msid = copyright : msid | written_by : wid = writer : wid | written_by : msid = copyright : msid |
imdb | SELECT t2.name FROM director AS t2 JOIN directed_by AS t1 ON t2.did = t1.did JOIN movie AS t3 ON t3.mid = t1.msid WHERE t3.title = "James Bond"; | List " James Bond " directors | [Schema (values) (types)]: | imdb | actor : aid (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | copyright : id (text) , msid (number) , cid (text) | cast : id (text) , msid (number) , aid (text) , role (text) | genre : gid (text) , genre (number) | classification : id (text) , msid (number) , gid (text) | company : id (text) , name (number) , country_code (text) | director : did (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | producer : pid (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | directed_by : id (text) , msid (number) , did (text) | keyword : id (text) , keyword (number) | made_by : id (text) , msid (number) , pid (text) | movie : mid (text) , title (number) , release_year (text) , title_aka (text) , budget (text) | tags : id (text) , msid (number) , kid (text) | tv_series : sid (text) , title (number) , release_year (text) , num_of_seasons (text) , num_of_episodes (text) , title_aka (text) , budget (number) | writer : wid (text) , gender (number) , name (text) , nationality (text) , num_of_episodes (text) , birth_city (text) , birth_year (number) | written_by : id (text) , msid (number) , wid (text); | [Primary Keys]: actor : aid, copyright : id, cast : id, genre : gid, classification : id, company : id, director : did, producer : pid, directed_by : id, keyword : id, made_by : id, movie : mid, tags : id, tv_series : sid, writer : wid | [Foreign Keys]: cast : msid = copyright : msid | cast : aid = actor : aid | classification : msid = copyright : msid | classification : gid = genre : gid | directed_by : did = director : did | directed_by : msid = copyright : msid | made_by : pid = producer : pid | made_by : msid = copyright : msid | tags : msid = copyright : msid | written_by : wid = writer : wid | written_by : msid = copyright : msid |
imdb | SELECT t1.name FROM CAST AS t2 JOIN actor AS t1 ON t2.aid = t1.aid JOIN movie AS t3 ON t3.mid = t2.msid WHERE t2.role = "Alan Turing" AND t3.title = "The Imitation Game"; | Find the actor who played " Alan Turing " in the movie " The Imitation Game " | [Schema (values) (types)]: | imdb | actor : aid (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | copyright : id (text) , msid (number) , cid (text) | cast : id (text) , msid (number) , aid (text) , role (text) | genre : gid (text) , genre (number) | classification : id (text) , msid (number) , gid (text) | company : id (text) , name (number) , country_code (text) | director : did (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | producer : pid (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | directed_by : id (text) , msid (number) , did (text) | keyword : id (text) , keyword (number) | made_by : id (text) , msid (number) , pid (text) | movie : mid (text) , title (number) , release_year (text) , title_aka (text) , budget (text) | tags : id (text) , msid (number) , kid (text) | tv_series : sid (text) , title (number) , release_year (text) , num_of_seasons (text) , num_of_episodes (text) , title_aka (text) , budget (number) | writer : wid (text) , gender (number) , name (text) , nationality (text) , num_of_episodes (text) , birth_city (text) , birth_year (number) | written_by : id (text) , msid (number) , wid (text); | [Primary Keys]: actor : aid, copyright : id, cast : id, genre : gid, classification : id, company : id, director : did, producer : pid, directed_by : id, keyword : id, made_by : id, movie : mid, tags : id, tv_series : sid, writer : wid | [Foreign Keys]: cast : msid = copyright : msid | cast : aid = actor : aid | classification : msid = copyright : msid | classification : gid = genre : gid | directed_by : did = director : did | directed_by : msid = copyright : msid | made_by : pid = producer : pid | made_by : msid = copyright : msid | tags : msid = copyright : msid | written_by : wid = writer : wid | written_by : msid = copyright : msid |
imdb | SELECT t1.name FROM CAST AS t2 JOIN actor AS t1 ON t2.aid = t1.aid JOIN movie AS t3 ON t3.mid = t2.msid WHERE t2.role = "Alan Turing" AND t3.title = "The Imitation Game"; | Who acted " Alan Turing " in the movie " The Imitation Game " ? | [Schema (values) (types)]: | imdb | actor : aid (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | copyright : id (text) , msid (number) , cid (text) | cast : id (text) , msid (number) , aid (text) , role (text) | genre : gid (text) , genre (number) | classification : id (text) , msid (number) , gid (text) | company : id (text) , name (number) , country_code (text) | director : did (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | producer : pid (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | directed_by : id (text) , msid (number) , did (text) | keyword : id (text) , keyword (number) | made_by : id (text) , msid (number) , pid (text) | movie : mid (text) , title (number) , release_year (text) , title_aka (text) , budget (text) | tags : id (text) , msid (number) , kid (text) | tv_series : sid (text) , title (number) , release_year (text) , num_of_seasons (text) , num_of_episodes (text) , title_aka (text) , budget (number) | writer : wid (text) , gender (number) , name (text) , nationality (text) , num_of_episodes (text) , birth_city (text) , birth_year (number) | written_by : id (text) , msid (number) , wid (text); | [Primary Keys]: actor : aid, copyright : id, cast : id, genre : gid, classification : id, company : id, director : did, producer : pid, directed_by : id, keyword : id, made_by : id, movie : mid, tags : id, tv_series : sid, writer : wid | [Foreign Keys]: cast : msid = copyright : msid | cast : aid = actor : aid | classification : msid = copyright : msid | classification : gid = genre : gid | directed_by : did = director : did | directed_by : msid = copyright : msid | made_by : pid = producer : pid | made_by : msid = copyright : msid | tags : msid = copyright : msid | written_by : wid = writer : wid | written_by : msid = copyright : msid |
imdb | SELECT t1.name FROM CAST AS t2 JOIN actor AS t1 ON t2.aid = t1.aid JOIN movie AS t3 ON t3.mid = t2.msid WHERE t2.role = "Alan Turing" AND t3.title = "The Imitation Game"; | Who was the actor that played " Alan Turing " in the movie " The Imitation Game " ? | [Schema (values) (types)]: | imdb | actor : aid (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | copyright : id (text) , msid (number) , cid (text) | cast : id (text) , msid (number) , aid (text) , role (text) | genre : gid (text) , genre (number) | classification : id (text) , msid (number) , gid (text) | company : id (text) , name (number) , country_code (text) | director : did (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | producer : pid (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | directed_by : id (text) , msid (number) , did (text) | keyword : id (text) , keyword (number) | made_by : id (text) , msid (number) , pid (text) | movie : mid (text) , title (number) , release_year (text) , title_aka (text) , budget (text) | tags : id (text) , msid (number) , kid (text) | tv_series : sid (text) , title (number) , release_year (text) , num_of_seasons (text) , num_of_episodes (text) , title_aka (text) , budget (number) | writer : wid (text) , gender (number) , name (text) , nationality (text) , num_of_episodes (text) , birth_city (text) , birth_year (number) | written_by : id (text) , msid (number) , wid (text); | [Primary Keys]: actor : aid, copyright : id, cast : id, genre : gid, classification : id, company : id, director : did, producer : pid, directed_by : id, keyword : id, made_by : id, movie : mid, tags : id, tv_series : sid, writer : wid | [Foreign Keys]: cast : msid = copyright : msid | cast : aid = actor : aid | classification : msid = copyright : msid | classification : gid = genre : gid | directed_by : did = director : did | directed_by : msid = copyright : msid | made_by : pid = producer : pid | made_by : msid = copyright : msid | tags : msid = copyright : msid | written_by : wid = writer : wid | written_by : msid = copyright : msid |
imdb | SELECT t1.name FROM CAST AS t2 JOIN actor AS t1 ON t2.aid = t1.aid JOIN movie AS t3 ON t3.mid = t2.msid WHERE t2.role = "Alan Turing" AND t3.title = "The Imitation Game"; | Who acts as " Alan Turing " in the movie " The Imitation Game " ? | [Schema (values) (types)]: | imdb | actor : aid (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | copyright : id (text) , msid (number) , cid (text) | cast : id (text) , msid (number) , aid (text) , role (text) | genre : gid (text) , genre (number) | classification : id (text) , msid (number) , gid (text) | company : id (text) , name (number) , country_code (text) | director : did (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | producer : pid (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | directed_by : id (text) , msid (number) , did (text) | keyword : id (text) , keyword (number) | made_by : id (text) , msid (number) , pid (text) | movie : mid (text) , title (number) , release_year (text) , title_aka (text) , budget (text) | tags : id (text) , msid (number) , kid (text) | tv_series : sid (text) , title (number) , release_year (text) , num_of_seasons (text) , num_of_episodes (text) , title_aka (text) , budget (number) | writer : wid (text) , gender (number) , name (text) , nationality (text) , num_of_episodes (text) , birth_city (text) , birth_year (number) | written_by : id (text) , msid (number) , wid (text); | [Primary Keys]: actor : aid, copyright : id, cast : id, genre : gid, classification : id, company : id, director : did, producer : pid, directed_by : id, keyword : id, made_by : id, movie : mid, tags : id, tv_series : sid, writer : wid | [Foreign Keys]: cast : msid = copyright : msid | cast : aid = actor : aid | classification : msid = copyright : msid | classification : gid = genre : gid | directed_by : did = director : did | directed_by : msid = copyright : msid | made_by : pid = producer : pid | made_by : msid = copyright : msid | tags : msid = copyright : msid | written_by : wid = writer : wid | written_by : msid = copyright : msid |
imdb | SELECT t1.name FROM CAST AS t2 JOIN actor AS t1 ON t2.aid = t1.aid JOIN movie AS t3 ON t3.mid = t2.msid WHERE t2.role = "Alan Turing" AND t3.title = "The Imitation Game"; | Who is the actor playing " Alan Turing " in " The Imitation Game " ? | [Schema (values) (types)]: | imdb | actor : aid (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | copyright : id (text) , msid (number) , cid (text) | cast : id (text) , msid (number) , aid (text) , role (text) | genre : gid (text) , genre (number) | classification : id (text) , msid (number) , gid (text) | company : id (text) , name (number) , country_code (text) | director : did (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | producer : pid (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | directed_by : id (text) , msid (number) , did (text) | keyword : id (text) , keyword (number) | made_by : id (text) , msid (number) , pid (text) | movie : mid (text) , title (number) , release_year (text) , title_aka (text) , budget (text) | tags : id (text) , msid (number) , kid (text) | tv_series : sid (text) , title (number) , release_year (text) , num_of_seasons (text) , num_of_episodes (text) , title_aka (text) , budget (number) | writer : wid (text) , gender (number) , name (text) , nationality (text) , num_of_episodes (text) , birth_city (text) , birth_year (number) | written_by : id (text) , msid (number) , wid (text); | [Primary Keys]: actor : aid, copyright : id, cast : id, genre : gid, classification : id, company : id, director : did, producer : pid, directed_by : id, keyword : id, made_by : id, movie : mid, tags : id, tv_series : sid, writer : wid | [Foreign Keys]: cast : msid = copyright : msid | cast : aid = actor : aid | classification : msid = copyright : msid | classification : gid = genre : gid | directed_by : did = director : did | directed_by : msid = copyright : msid | made_by : pid = producer : pid | made_by : msid = copyright : msid | tags : msid = copyright : msid | written_by : wid = writer : wid | written_by : msid = copyright : msid |
imdb | SELECT t2.genre FROM genre AS t2 JOIN classification AS t1 ON t2.gid = t1.gid JOIN movie AS t3 ON t3.mid = t1.msid WHERE t3.title = "Jurassic Park"; | What is the genre of the movie " Jurassic Park " ? | [Schema (values) (types)]: | imdb | actor : aid (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | copyright : id (text) , msid (number) , cid (text) | cast : id (text) , msid (number) , aid (text) , role (text) | genre : gid (text) , genre (number) | classification : id (text) , msid (number) , gid (text) | company : id (text) , name (number) , country_code (text) | director : did (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | producer : pid (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | directed_by : id (text) , msid (number) , did (text) | keyword : id (text) , keyword (number) | made_by : id (text) , msid (number) , pid (text) | movie : mid (text) , title (number) , release_year (text) , title_aka (text) , budget (text) | tags : id (text) , msid (number) , kid (text) | tv_series : sid (text) , title (number) , release_year (text) , num_of_seasons (text) , num_of_episodes (text) , title_aka (text) , budget (number) | writer : wid (text) , gender (number) , name (text) , nationality (text) , num_of_episodes (text) , birth_city (text) , birth_year (number) | written_by : id (text) , msid (number) , wid (text); | [Primary Keys]: actor : aid, copyright : id, cast : id, genre : gid, classification : id, company : id, director : did, producer : pid, directed_by : id, keyword : id, made_by : id, movie : mid, tags : id, tv_series : sid, writer : wid | [Foreign Keys]: cast : msid = copyright : msid | cast : aid = actor : aid | classification : msid = copyright : msid | classification : gid = genre : gid | directed_by : did = director : did | directed_by : msid = copyright : msid | made_by : pid = producer : pid | made_by : msid = copyright : msid | tags : msid = copyright : msid | written_by : wid = writer : wid | written_by : msid = copyright : msid |
imdb | SELECT t2.name FROM director AS t2 JOIN directed_by AS t1 ON t2.did = t1.did JOIN movie AS t3 ON t3.mid = t1.msid WHERE t3.release_year = 2015 AND t3.title = "Joy"; | Who was the director of the movie Joy from 2015 ? | [Schema (values) (types)]: | imdb | actor : aid (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | copyright : id (text) , msid (number) , cid (text) | cast : id (text) , msid (number) , aid (text) , role (text) | genre : gid (text) , genre (number) | classification : id (text) , msid (number) , gid (text) | company : id (text) , name (number) , country_code (text) | director : did (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | producer : pid (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | directed_by : id (text) , msid (number) , did (text) | keyword : id (text) , keyword (number) | made_by : id (text) , msid (number) , pid (text) | movie : mid (text) , title (number) , release_year (text) , title_aka (text) , budget (text) | tags : id (text) , msid (number) , kid (text) | tv_series : sid (text) , title (number) , release_year (text) , num_of_seasons (text) , num_of_episodes (text) , title_aka (text) , budget (number) | writer : wid (text) , gender (number) , name (text) , nationality (text) , num_of_episodes (text) , birth_city (text) , birth_year (number) | written_by : id (text) , msid (number) , wid (text); | [Primary Keys]: actor : aid, copyright : id, cast : id, genre : gid, classification : id, company : id, director : did, producer : pid, directed_by : id, keyword : id, made_by : id, movie : mid, tags : id, tv_series : sid, writer : wid | [Foreign Keys]: cast : msid = copyright : msid | cast : aid = actor : aid | classification : msid = copyright : msid | classification : gid = genre : gid | directed_by : did = director : did | directed_by : msid = copyright : msid | made_by : pid = producer : pid | made_by : msid = copyright : msid | tags : msid = copyright : msid | written_by : wid = writer : wid | written_by : msid = copyright : msid |
imdb | SELECT t1.title FROM written_by AS t3 JOIN movie AS t1 ON t3.msid = t1.mid JOIN writer AS t2 ON t3.wid = t2.wid WHERE t2.name = "Matt Damon"; | Find all movies written by " Matt Damon " | [Schema (values) (types)]: | imdb | actor : aid (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | copyright : id (text) , msid (number) , cid (text) | cast : id (text) , msid (number) , aid (text) , role (text) | genre : gid (text) , genre (number) | classification : id (text) , msid (number) , gid (text) | company : id (text) , name (number) , country_code (text) | director : did (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | producer : pid (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | directed_by : id (text) , msid (number) , did (text) | keyword : id (text) , keyword (number) | made_by : id (text) , msid (number) , pid (text) | movie : mid (text) , title (number) , release_year (text) , title_aka (text) , budget (text) | tags : id (text) , msid (number) , kid (text) | tv_series : sid (text) , title (number) , release_year (text) , num_of_seasons (text) , num_of_episodes (text) , title_aka (text) , budget (number) | writer : wid (text) , gender (number) , name (text) , nationality (text) , num_of_episodes (text) , birth_city (text) , birth_year (number) | written_by : id (text) , msid (number) , wid (text); | [Primary Keys]: actor : aid, copyright : id, cast : id, genre : gid, classification : id, company : id, director : did, producer : pid, directed_by : id, keyword : id, made_by : id, movie : mid, tags : id, tv_series : sid, writer : wid | [Foreign Keys]: cast : msid = copyright : msid | cast : aid = actor : aid | classification : msid = copyright : msid | classification : gid = genre : gid | directed_by : did = director : did | directed_by : msid = copyright : msid | made_by : pid = producer : pid | made_by : msid = copyright : msid | tags : msid = copyright : msid | written_by : wid = writer : wid | written_by : msid = copyright : msid |
imdb | SELECT t2.title FROM movie AS t2 JOIN made_by AS t3 ON t2.mid = t3.msid JOIN producer AS t1 ON t1.pid = t3.pid JOIN written_by AS t5 ON t5.msid = t2.mid JOIN writer AS t4 ON t5.wid = t4.wid WHERE t1.name = "Woody Allen" AND t4.name = "Woody Allen"; | Find all movies written and produced by " Woody Allen " | [Schema (values) (types)]: | imdb | actor : aid (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | copyright : id (text) , msid (number) , cid (text) | cast : id (text) , msid (number) , aid (text) , role (text) | genre : gid (text) , genre (number) | classification : id (text) , msid (number) , gid (text) | company : id (text) , name (number) , country_code (text) | director : did (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | producer : pid (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | directed_by : id (text) , msid (number) , did (text) | keyword : id (text) , keyword (number) | made_by : id (text) , msid (number) , pid (text) | movie : mid (text) , title (number) , release_year (text) , title_aka (text) , budget (text) | tags : id (text) , msid (number) , kid (text) | tv_series : sid (text) , title (number) , release_year (text) , num_of_seasons (text) , num_of_episodes (text) , title_aka (text) , budget (number) | writer : wid (text) , gender (number) , name (text) , nationality (text) , num_of_episodes (text) , birth_city (text) , birth_year (number) | written_by : id (text) , msid (number) , wid (text); | [Primary Keys]: actor : aid, copyright : id, cast : id, genre : gid, classification : id, company : id, director : did, producer : pid, directed_by : id, keyword : id, made_by : id, movie : mid, tags : id, tv_series : sid, writer : wid | [Foreign Keys]: cast : msid = copyright : msid | cast : aid = actor : aid | classification : msid = copyright : msid | classification : gid = genre : gid | directed_by : did = director : did | directed_by : msid = copyright : msid | made_by : pid = producer : pid | made_by : msid = copyright : msid | tags : msid = copyright : msid | written_by : wid = writer : wid | written_by : msid = copyright : msid |
imdb | SELECT t2.title FROM CAST AS t3 JOIN actor AS t1 ON t3.aid = t1.aid JOIN movie AS t2 ON t2.mid = t3.msid WHERE t1.name = "Robin Wright"; | Find all movies featuring " Robin Wright " | [Schema (values) (types)]: | imdb | actor : aid (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | copyright : id (text) , msid (number) , cid (text) | cast : id (text) , msid (number) , aid (text) , role (text) | genre : gid (text) , genre (number) | classification : id (text) , msid (number) , gid (text) | company : id (text) , name (number) , country_code (text) | director : did (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | producer : pid (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | directed_by : id (text) , msid (number) , did (text) | keyword : id (text) , keyword (number) | made_by : id (text) , msid (number) , pid (text) | movie : mid (text) , title (number) , release_year (text) , title_aka (text) , budget (text) | tags : id (text) , msid (number) , kid (text) | tv_series : sid (text) , title (number) , release_year (text) , num_of_seasons (text) , num_of_episodes (text) , title_aka (text) , budget (number) | writer : wid (text) , gender (number) , name (text) , nationality (text) , num_of_episodes (text) , birth_city (text) , birth_year (number) | written_by : id (text) , msid (number) , wid (text); | [Primary Keys]: actor : aid, copyright : id, cast : id, genre : gid, classification : id, company : id, director : did, producer : pid, directed_by : id, keyword : id, made_by : id, movie : mid, tags : id, tv_series : sid, writer : wid | [Foreign Keys]: cast : msid = copyright : msid | cast : aid = actor : aid | classification : msid = copyright : msid | classification : gid = genre : gid | directed_by : did = director : did | directed_by : msid = copyright : msid | made_by : pid = producer : pid | made_by : msid = copyright : msid | tags : msid = copyright : msid | written_by : wid = writer : wid | written_by : msid = copyright : msid |
imdb | SELECT t2.title FROM CAST AS t3 JOIN actor AS t1 ON t3.aid = t1.aid JOIN movie AS t2 ON t2.mid = t3.msid WHERE t1.name = "Robin Wright"; | What are all the movies featuring " Robin Wright " ? | [Schema (values) (types)]: | imdb | actor : aid (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | copyright : id (text) , msid (number) , cid (text) | cast : id (text) , msid (number) , aid (text) , role (text) | genre : gid (text) , genre (number) | classification : id (text) , msid (number) , gid (text) | company : id (text) , name (number) , country_code (text) | director : did (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | producer : pid (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | directed_by : id (text) , msid (number) , did (text) | keyword : id (text) , keyword (number) | made_by : id (text) , msid (number) , pid (text) | movie : mid (text) , title (number) , release_year (text) , title_aka (text) , budget (text) | tags : id (text) , msid (number) , kid (text) | tv_series : sid (text) , title (number) , release_year (text) , num_of_seasons (text) , num_of_episodes (text) , title_aka (text) , budget (number) | writer : wid (text) , gender (number) , name (text) , nationality (text) , num_of_episodes (text) , birth_city (text) , birth_year (number) | written_by : id (text) , msid (number) , wid (text); | [Primary Keys]: actor : aid, copyright : id, cast : id, genre : gid, classification : id, company : id, director : did, producer : pid, directed_by : id, keyword : id, made_by : id, movie : mid, tags : id, tv_series : sid, writer : wid | [Foreign Keys]: cast : msid = copyright : msid | cast : aid = actor : aid | classification : msid = copyright : msid | classification : gid = genre : gid | directed_by : did = director : did | directed_by : msid = copyright : msid | made_by : pid = producer : pid | made_by : msid = copyright : msid | tags : msid = copyright : msid | written_by : wid = writer : wid | written_by : msid = copyright : msid |
imdb | SELECT t2.title FROM CAST AS t3 JOIN actor AS t1 ON t3.aid = t1.aid JOIN movie AS t2 ON t2.mid = t3.msid WHERE t1.name = "Robin Wright"; | Find all movies in which " Robin Wright " appears | [Schema (values) (types)]: | imdb | actor : aid (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | copyright : id (text) , msid (number) , cid (text) | cast : id (text) , msid (number) , aid (text) , role (text) | genre : gid (text) , genre (number) | classification : id (text) , msid (number) , gid (text) | company : id (text) , name (number) , country_code (text) | director : did (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | producer : pid (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | directed_by : id (text) , msid (number) , did (text) | keyword : id (text) , keyword (number) | made_by : id (text) , msid (number) , pid (text) | movie : mid (text) , title (number) , release_year (text) , title_aka (text) , budget (text) | tags : id (text) , msid (number) , kid (text) | tv_series : sid (text) , title (number) , release_year (text) , num_of_seasons (text) , num_of_episodes (text) , title_aka (text) , budget (number) | writer : wid (text) , gender (number) , name (text) , nationality (text) , num_of_episodes (text) , birth_city (text) , birth_year (number) | written_by : id (text) , msid (number) , wid (text); | [Primary Keys]: actor : aid, copyright : id, cast : id, genre : gid, classification : id, company : id, director : did, producer : pid, directed_by : id, keyword : id, made_by : id, movie : mid, tags : id, tv_series : sid, writer : wid | [Foreign Keys]: cast : msid = copyright : msid | cast : aid = actor : aid | classification : msid = copyright : msid | classification : gid = genre : gid | directed_by : did = director : did | directed_by : msid = copyright : msid | made_by : pid = producer : pid | made_by : msid = copyright : msid | tags : msid = copyright : msid | written_by : wid = writer : wid | written_by : msid = copyright : msid |
imdb | SELECT budget FROM movie WHERE release_year = 2007 AND title = "Juno"; | What was the budget of the movie Juno from 2007 ? | [Schema (values) (types)]: | imdb | actor : aid (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | copyright : id (text) , msid (number) , cid (text) | cast : id (text) , msid (number) , aid (text) , role (text) | genre : gid (text) , genre (number) | classification : id (text) , msid (number) , gid (text) | company : id (text) , name (number) , country_code (text) | director : did (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | producer : pid (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | directed_by : id (text) , msid (number) , did (text) | keyword : id (text) , keyword (number) | made_by : id (text) , msid (number) , pid (text) | movie : mid (text) , title (number) , release_year (text) , title_aka (text) , budget (text) | tags : id (text) , msid (number) , kid (text) | tv_series : sid (text) , title (number) , release_year (text) , num_of_seasons (text) , num_of_episodes (text) , title_aka (text) , budget (number) | writer : wid (text) , gender (number) , name (text) , nationality (text) , num_of_episodes (text) , birth_city (text) , birth_year (number) | written_by : id (text) , msid (number) , wid (text); | [Primary Keys]: actor : aid, copyright : id, cast : id, genre : gid, classification : id, company : id, director : did, producer : pid, directed_by : id, keyword : id, made_by : id, movie : mid, tags : id, tv_series : sid, writer : wid | [Foreign Keys]: cast : msid = copyright : msid | cast : aid = actor : aid | classification : msid = copyright : msid | classification : gid = genre : gid | directed_by : did = director : did | directed_by : msid = copyright : msid | made_by : pid = producer : pid | made_by : msid = copyright : msid | tags : msid = copyright : msid | written_by : wid = writer : wid | written_by : msid = copyright : msid |
imdb | SELECT t3.title FROM genre AS t2 JOIN classification AS t1 ON t2.gid = t1.gid JOIN movie AS t3 ON t3.mid = t1.msid WHERE t2.genre = "Sci-Fi" AND t3.release_year = 2010; | Find all Sci-Fi produced in year 2010 | [Schema (values) (types)]: | imdb | actor : aid (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | copyright : id (text) , msid (number) , cid (text) | cast : id (text) , msid (number) , aid (text) , role (text) | genre : gid (text) , genre (number) | classification : id (text) , msid (number) , gid (text) | company : id (text) , name (number) , country_code (text) | director : did (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | producer : pid (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | directed_by : id (text) , msid (number) , did (text) | keyword : id (text) , keyword (number) | made_by : id (text) , msid (number) , pid (text) | movie : mid (text) , title (number) , release_year (text) , title_aka (text) , budget (text) | tags : id (text) , msid (number) , kid (text) | tv_series : sid (text) , title (number) , release_year (text) , num_of_seasons (text) , num_of_episodes (text) , title_aka (text) , budget (number) | writer : wid (text) , gender (number) , name (text) , nationality (text) , num_of_episodes (text) , birth_city (text) , birth_year (number) | written_by : id (text) , msid (number) , wid (text); | [Primary Keys]: actor : aid, copyright : id, cast : id, genre : gid, classification : id, company : id, director : did, producer : pid, directed_by : id, keyword : id, made_by : id, movie : mid, tags : id, tv_series : sid, writer : wid | [Foreign Keys]: cast : msid = copyright : msid | cast : aid = actor : aid | classification : msid = copyright : msid | classification : gid = genre : gid | directed_by : did = director : did | directed_by : msid = copyright : msid | made_by : pid = producer : pid | made_by : msid = copyright : msid | tags : msid = copyright : msid | written_by : wid = writer : wid | written_by : msid = copyright : msid |
imdb | SELECT t3.title FROM genre AS t2 JOIN classification AS t1 ON t2.gid = t1.gid JOIN movie AS t3 ON t3.mid = t1.msid WHERE t2.genre = "Sci-Fi" AND t3.release_year = 2010; | List all the Sci-Fi movies which released in 2010 | [Schema (values) (types)]: | imdb | actor : aid (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | copyright : id (text) , msid (number) , cid (text) | cast : id (text) , msid (number) , aid (text) , role (text) | genre : gid (text) , genre (number) | classification : id (text) , msid (number) , gid (text) | company : id (text) , name (number) , country_code (text) | director : did (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | producer : pid (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | directed_by : id (text) , msid (number) , did (text) | keyword : id (text) , keyword (number) | made_by : id (text) , msid (number) , pid (text) | movie : mid (text) , title (number) , release_year (text) , title_aka (text) , budget (text) | tags : id (text) , msid (number) , kid (text) | tv_series : sid (text) , title (number) , release_year (text) , num_of_seasons (text) , num_of_episodes (text) , title_aka (text) , budget (number) | writer : wid (text) , gender (number) , name (text) , nationality (text) , num_of_episodes (text) , birth_city (text) , birth_year (number) | written_by : id (text) , msid (number) , wid (text); | [Primary Keys]: actor : aid, copyright : id, cast : id, genre : gid, classification : id, company : id, director : did, producer : pid, directed_by : id, keyword : id, made_by : id, movie : mid, tags : id, tv_series : sid, writer : wid | [Foreign Keys]: cast : msid = copyright : msid | cast : aid = actor : aid | classification : msid = copyright : msid | classification : gid = genre : gid | directed_by : did = director : did | directed_by : msid = copyright : msid | made_by : pid = producer : pid | made_by : msid = copyright : msid | tags : msid = copyright : msid | written_by : wid = writer : wid | written_by : msid = copyright : msid |
imdb | SELECT name FROM actor WHERE birth_city = "Austin" AND birth_year > 1980; | Find all actors born in " Austin " after 1980 | [Schema (values) (types)]: | imdb | actor : aid (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | copyright : id (text) , msid (number) , cid (text) | cast : id (text) , msid (number) , aid (text) , role (text) | genre : gid (text) , genre (number) | classification : id (text) , msid (number) , gid (text) | company : id (text) , name (number) , country_code (text) | director : did (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | producer : pid (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | directed_by : id (text) , msid (number) , did (text) | keyword : id (text) , keyword (number) | made_by : id (text) , msid (number) , pid (text) | movie : mid (text) , title (number) , release_year (text) , title_aka (text) , budget (text) | tags : id (text) , msid (number) , kid (text) | tv_series : sid (text) , title (number) , release_year (text) , num_of_seasons (text) , num_of_episodes (text) , title_aka (text) , budget (number) | writer : wid (text) , gender (number) , name (text) , nationality (text) , num_of_episodes (text) , birth_city (text) , birth_year (number) | written_by : id (text) , msid (number) , wid (text); | [Primary Keys]: actor : aid, copyright : id, cast : id, genre : gid, classification : id, company : id, director : did, producer : pid, directed_by : id, keyword : id, made_by : id, movie : mid, tags : id, tv_series : sid, writer : wid | [Foreign Keys]: cast : msid = copyright : msid | cast : aid = actor : aid | classification : msid = copyright : msid | classification : gid = genre : gid | directed_by : did = director : did | directed_by : msid = copyright : msid | made_by : pid = producer : pid | made_by : msid = copyright : msid | tags : msid = copyright : msid | written_by : wid = writer : wid | written_by : msid = copyright : msid |
imdb | SELECT name FROM actor WHERE birth_city = "Austin" AND birth_year > 1980; | Who are the actors born in " Austin " after 1980 ? | [Schema (values) (types)]: | imdb | actor : aid (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | copyright : id (text) , msid (number) , cid (text) | cast : id (text) , msid (number) , aid (text) , role (text) | genre : gid (text) , genre (number) | classification : id (text) , msid (number) , gid (text) | company : id (text) , name (number) , country_code (text) | director : did (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | producer : pid (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | directed_by : id (text) , msid (number) , did (text) | keyword : id (text) , keyword (number) | made_by : id (text) , msid (number) , pid (text) | movie : mid (text) , title (number) , release_year (text) , title_aka (text) , budget (text) | tags : id (text) , msid (number) , kid (text) | tv_series : sid (text) , title (number) , release_year (text) , num_of_seasons (text) , num_of_episodes (text) , title_aka (text) , budget (number) | writer : wid (text) , gender (number) , name (text) , nationality (text) , num_of_episodes (text) , birth_city (text) , birth_year (number) | written_by : id (text) , msid (number) , wid (text); | [Primary Keys]: actor : aid, copyright : id, cast : id, genre : gid, classification : id, company : id, director : did, producer : pid, directed_by : id, keyword : id, made_by : id, movie : mid, tags : id, tv_series : sid, writer : wid | [Foreign Keys]: cast : msid = copyright : msid | cast : aid = actor : aid | classification : msid = copyright : msid | classification : gid = genre : gid | directed_by : did = director : did | directed_by : msid = copyright : msid | made_by : pid = producer : pid | made_by : msid = copyright : msid | tags : msid = copyright : msid | written_by : wid = writer : wid | written_by : msid = copyright : msid |
imdb | SELECT name FROM actor WHERE birth_city = "Austin" AND birth_year > 1980; | Find all actors from Austin born after 1980 | [Schema (values) (types)]: | imdb | actor : aid (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | copyright : id (text) , msid (number) , cid (text) | cast : id (text) , msid (number) , aid (text) , role (text) | genre : gid (text) , genre (number) | classification : id (text) , msid (number) , gid (text) | company : id (text) , name (number) , country_code (text) | director : did (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | producer : pid (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | directed_by : id (text) , msid (number) , did (text) | keyword : id (text) , keyword (number) | made_by : id (text) , msid (number) , pid (text) | movie : mid (text) , title (number) , release_year (text) , title_aka (text) , budget (text) | tags : id (text) , msid (number) , kid (text) | tv_series : sid (text) , title (number) , release_year (text) , num_of_seasons (text) , num_of_episodes (text) , title_aka (text) , budget (number) | writer : wid (text) , gender (number) , name (text) , nationality (text) , num_of_episodes (text) , birth_city (text) , birth_year (number) | written_by : id (text) , msid (number) , wid (text); | [Primary Keys]: actor : aid, copyright : id, cast : id, genre : gid, classification : id, company : id, director : did, producer : pid, directed_by : id, keyword : id, made_by : id, movie : mid, tags : id, tv_series : sid, writer : wid | [Foreign Keys]: cast : msid = copyright : msid | cast : aid = actor : aid | classification : msid = copyright : msid | classification : gid = genre : gid | directed_by : did = director : did | directed_by : msid = copyright : msid | made_by : pid = producer : pid | made_by : msid = copyright : msid | tags : msid = copyright : msid | written_by : wid = writer : wid | written_by : msid = copyright : msid |
imdb | SELECT t3.title FROM director AS t2 JOIN directed_by AS t1 ON t2.did = t1.did JOIN movie AS t3 ON t3.mid = t1.msid WHERE t2.birth_city = "Los Angeles"; | Find all movies by directors born in " Los Angeles " | [Schema (values) (types)]: | imdb | actor : aid (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | copyright : id (text) , msid (number) , cid (text) | cast : id (text) , msid (number) , aid (text) , role (text) | genre : gid (text) , genre (number) | classification : id (text) , msid (number) , gid (text) | company : id (text) , name (number) , country_code (text) | director : did (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | producer : pid (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | directed_by : id (text) , msid (number) , did (text) | keyword : id (text) , keyword (number) | made_by : id (text) , msid (number) , pid (text) | movie : mid (text) , title (number) , release_year (text) , title_aka (text) , budget (text) | tags : id (text) , msid (number) , kid (text) | tv_series : sid (text) , title (number) , release_year (text) , num_of_seasons (text) , num_of_episodes (text) , title_aka (text) , budget (number) | writer : wid (text) , gender (number) , name (text) , nationality (text) , num_of_episodes (text) , birth_city (text) , birth_year (number) | written_by : id (text) , msid (number) , wid (text); | [Primary Keys]: actor : aid, copyright : id, cast : id, genre : gid, classification : id, company : id, director : did, producer : pid, directed_by : id, keyword : id, made_by : id, movie : mid, tags : id, tv_series : sid, writer : wid | [Foreign Keys]: cast : msid = copyright : msid | cast : aid = actor : aid | classification : msid = copyright : msid | classification : gid = genre : gid | directed_by : did = director : did | directed_by : msid = copyright : msid | made_by : pid = producer : pid | made_by : msid = copyright : msid | tags : msid = copyright : msid | written_by : wid = writer : wid | written_by : msid = copyright : msid |
imdb | SELECT name FROM actor WHERE birth_city = "New York City" AND birth_year = 1984; | Find all actors who were born in " New York City " in 1984 | [Schema (values) (types)]: | imdb | actor : aid (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | copyright : id (text) , msid (number) , cid (text) | cast : id (text) , msid (number) , aid (text) , role (text) | genre : gid (text) , genre (number) | classification : id (text) , msid (number) , gid (text) | company : id (text) , name (number) , country_code (text) | director : did (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | producer : pid (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | directed_by : id (text) , msid (number) , did (text) | keyword : id (text) , keyword (number) | made_by : id (text) , msid (number) , pid (text) | movie : mid (text) , title (number) , release_year (text) , title_aka (text) , budget (text) | tags : id (text) , msid (number) , kid (text) | tv_series : sid (text) , title (number) , release_year (text) , num_of_seasons (text) , num_of_episodes (text) , title_aka (text) , budget (number) | writer : wid (text) , gender (number) , name (text) , nationality (text) , num_of_episodes (text) , birth_city (text) , birth_year (number) | written_by : id (text) , msid (number) , wid (text); | [Primary Keys]: actor : aid, copyright : id, cast : id, genre : gid, classification : id, company : id, director : did, producer : pid, directed_by : id, keyword : id, made_by : id, movie : mid, tags : id, tv_series : sid, writer : wid | [Foreign Keys]: cast : msid = copyright : msid | cast : aid = actor : aid | classification : msid = copyright : msid | classification : gid = genre : gid | directed_by : did = director : did | directed_by : msid = copyright : msid | made_by : pid = producer : pid | made_by : msid = copyright : msid | tags : msid = copyright : msid | written_by : wid = writer : wid | written_by : msid = copyright : msid |
imdb | SELECT t3.title FROM tags AS t2 JOIN keyword AS t1 ON t2.kid = t1.id JOIN movie AS t3 ON t2.msid = t3.mid WHERE t1.keyword = "nuclear weapons"; | Find all movies about nuclear weapons | [Schema (values) (types)]: | imdb | actor : aid (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | copyright : id (text) , msid (number) , cid (text) | cast : id (text) , msid (number) , aid (text) , role (text) | genre : gid (text) , genre (number) | classification : id (text) , msid (number) , gid (text) | company : id (text) , name (number) , country_code (text) | director : did (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | producer : pid (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | directed_by : id (text) , msid (number) , did (text) | keyword : id (text) , keyword (number) | made_by : id (text) , msid (number) , pid (text) | movie : mid (text) , title (number) , release_year (text) , title_aka (text) , budget (text) | tags : id (text) , msid (number) , kid (text) | tv_series : sid (text) , title (number) , release_year (text) , num_of_seasons (text) , num_of_episodes (text) , title_aka (text) , budget (number) | writer : wid (text) , gender (number) , name (text) , nationality (text) , num_of_episodes (text) , birth_city (text) , birth_year (number) | written_by : id (text) , msid (number) , wid (text); | [Primary Keys]: actor : aid, copyright : id, cast : id, genre : gid, classification : id, company : id, director : did, producer : pid, directed_by : id, keyword : id, made_by : id, movie : mid, tags : id, tv_series : sid, writer : wid | [Foreign Keys]: cast : msid = copyright : msid | cast : aid = actor : aid | classification : msid = copyright : msid | classification : gid = genre : gid | directed_by : did = director : did | directed_by : msid = copyright : msid | made_by : pid = producer : pid | made_by : msid = copyright : msid | tags : msid = copyright : msid | written_by : wid = writer : wid | written_by : msid = copyright : msid |
imdb | SELECT t3.title FROM tags AS t2 JOIN keyword AS t1 ON t2.kid = t1.id JOIN movie AS t3 ON t2.msid = t3.mid WHERE t1.keyword = "nuclear weapons"; | What are the movies related to nuclear weapons | [Schema (values) (types)]: | imdb | actor : aid (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | copyright : id (text) , msid (number) , cid (text) | cast : id (text) , msid (number) , aid (text) , role (text) | genre : gid (text) , genre (number) | classification : id (text) , msid (number) , gid (text) | company : id (text) , name (number) , country_code (text) | director : did (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | producer : pid (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | directed_by : id (text) , msid (number) , did (text) | keyword : id (text) , keyword (number) | made_by : id (text) , msid (number) , pid (text) | movie : mid (text) , title (number) , release_year (text) , title_aka (text) , budget (text) | tags : id (text) , msid (number) , kid (text) | tv_series : sid (text) , title (number) , release_year (text) , num_of_seasons (text) , num_of_episodes (text) , title_aka (text) , budget (number) | writer : wid (text) , gender (number) , name (text) , nationality (text) , num_of_episodes (text) , birth_city (text) , birth_year (number) | written_by : id (text) , msid (number) , wid (text); | [Primary Keys]: actor : aid, copyright : id, cast : id, genre : gid, classification : id, company : id, director : did, producer : pid, directed_by : id, keyword : id, made_by : id, movie : mid, tags : id, tv_series : sid, writer : wid | [Foreign Keys]: cast : msid = copyright : msid | cast : aid = actor : aid | classification : msid = copyright : msid | classification : gid = genre : gid | directed_by : did = director : did | directed_by : msid = copyright : msid | made_by : pid = producer : pid | made_by : msid = copyright : msid | tags : msid = copyright : msid | written_by : wid = writer : wid | written_by : msid = copyright : msid |
imdb | SELECT t3.title FROM director AS t2 JOIN directed_by AS t1 ON t2.did = t1.did JOIN movie AS t3 ON t3.mid = t1.msid WHERE t2.name = "Alfred Hitchcock"; | Which movies did " Alfred Hitchcock " direct ? | [Schema (values) (types)]: | imdb | actor : aid (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | copyright : id (text) , msid (number) , cid (text) | cast : id (text) , msid (number) , aid (text) , role (text) | genre : gid (text) , genre (number) | classification : id (text) , msid (number) , gid (text) | company : id (text) , name (number) , country_code (text) | director : did (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | producer : pid (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | directed_by : id (text) , msid (number) , did (text) | keyword : id (text) , keyword (number) | made_by : id (text) , msid (number) , pid (text) | movie : mid (text) , title (number) , release_year (text) , title_aka (text) , budget (text) | tags : id (text) , msid (number) , kid (text) | tv_series : sid (text) , title (number) , release_year (text) , num_of_seasons (text) , num_of_episodes (text) , title_aka (text) , budget (number) | writer : wid (text) , gender (number) , name (text) , nationality (text) , num_of_episodes (text) , birth_city (text) , birth_year (number) | written_by : id (text) , msid (number) , wid (text); | [Primary Keys]: actor : aid, copyright : id, cast : id, genre : gid, classification : id, company : id, director : did, producer : pid, directed_by : id, keyword : id, made_by : id, movie : mid, tags : id, tv_series : sid, writer : wid | [Foreign Keys]: cast : msid = copyright : msid | cast : aid = actor : aid | classification : msid = copyright : msid | classification : gid = genre : gid | directed_by : did = director : did | directed_by : msid = copyright : msid | made_by : pid = producer : pid | made_by : msid = copyright : msid | tags : msid = copyright : msid | written_by : wid = writer : wid | written_by : msid = copyright : msid |
imdb | SELECT t4.title FROM CAST AS t5 JOIN actor AS t1 ON t5.aid = t1.aid JOIN movie AS t4 ON t4.mid = t5.msid JOIN directed_by AS t2 ON t4.mid = t2.msid JOIN director AS t3 ON t3.did = t2.did WHERE t1.name = "Taraneh Alidoosti" AND t3.name = "Asghar Farhadi"; | Find all movies directed by " Asghar Farhadi " and featuring " Taraneh Alidoosti " | [Schema (values) (types)]: | imdb | actor : aid (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | copyright : id (text) , msid (number) , cid (text) | cast : id (text) , msid (number) , aid (text) , role (text) | genre : gid (text) , genre (number) | classification : id (text) , msid (number) , gid (text) | company : id (text) , name (number) , country_code (text) | director : did (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | producer : pid (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | directed_by : id (text) , msid (number) , did (text) | keyword : id (text) , keyword (number) | made_by : id (text) , msid (number) , pid (text) | movie : mid (text) , title (number) , release_year (text) , title_aka (text) , budget (text) | tags : id (text) , msid (number) , kid (text) | tv_series : sid (text) , title (number) , release_year (text) , num_of_seasons (text) , num_of_episodes (text) , title_aka (text) , budget (number) | writer : wid (text) , gender (number) , name (text) , nationality (text) , num_of_episodes (text) , birth_city (text) , birth_year (number) | written_by : id (text) , msid (number) , wid (text); | [Primary Keys]: actor : aid, copyright : id, cast : id, genre : gid, classification : id, company : id, director : did, producer : pid, directed_by : id, keyword : id, made_by : id, movie : mid, tags : id, tv_series : sid, writer : wid | [Foreign Keys]: cast : msid = copyright : msid | cast : aid = actor : aid | classification : msid = copyright : msid | classification : gid = genre : gid | directed_by : did = director : did | directed_by : msid = copyright : msid | made_by : pid = producer : pid | made_by : msid = copyright : msid | tags : msid = copyright : msid | written_by : wid = writer : wid | written_by : msid = copyright : msid |
imdb | SELECT t4.title FROM CAST AS t5 JOIN actor AS t1 ON t5.aid = t1.aid JOIN movie AS t4 ON t4.mid = t5.msid JOIN directed_by AS t2 ON t4.mid = t2.msid JOIN director AS t3 ON t3.did = t2.did WHERE t1.name = "Taraneh Alidoosti" AND t3.name = "Asghar Farhadi"; | What are all the movies directed by " Asghar Farhadi " featuring " Taraneh Alidoosti " ? | [Schema (values) (types)]: | imdb | actor : aid (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | copyright : id (text) , msid (number) , cid (text) | cast : id (text) , msid (number) , aid (text) , role (text) | genre : gid (text) , genre (number) | classification : id (text) , msid (number) , gid (text) | company : id (text) , name (number) , country_code (text) | director : did (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | producer : pid (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | directed_by : id (text) , msid (number) , did (text) | keyword : id (text) , keyword (number) | made_by : id (text) , msid (number) , pid (text) | movie : mid (text) , title (number) , release_year (text) , title_aka (text) , budget (text) | tags : id (text) , msid (number) , kid (text) | tv_series : sid (text) , title (number) , release_year (text) , num_of_seasons (text) , num_of_episodes (text) , title_aka (text) , budget (number) | writer : wid (text) , gender (number) , name (text) , nationality (text) , num_of_episodes (text) , birth_city (text) , birth_year (number) | written_by : id (text) , msid (number) , wid (text); | [Primary Keys]: actor : aid, copyright : id, cast : id, genre : gid, classification : id, company : id, director : did, producer : pid, directed_by : id, keyword : id, made_by : id, movie : mid, tags : id, tv_series : sid, writer : wid | [Foreign Keys]: cast : msid = copyright : msid | cast : aid = actor : aid | classification : msid = copyright : msid | classification : gid = genre : gid | directed_by : did = director : did | directed_by : msid = copyright : msid | made_by : pid = producer : pid | made_by : msid = copyright : msid | tags : msid = copyright : msid | written_by : wid = writer : wid | written_by : msid = copyright : msid |
imdb | SELECT t4.title FROM CAST AS t5 JOIN actor AS t1 ON t5.aid = t1.aid JOIN movie AS t4 ON t4.mid = t5.msid JOIN directed_by AS t2 ON t4.mid = t2.msid JOIN director AS t3 ON t3.did = t2.did WHERE t1.name = "Taraneh Alidoosti" AND t3.name = "Asghar Farhadi"; | How many movies are there that are directed by " Asghar Farhadi " and featuring " Taraneh Alidoosti " ? | [Schema (values) (types)]: | imdb | actor : aid (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | copyright : id (text) , msid (number) , cid (text) | cast : id (text) , msid (number) , aid (text) , role (text) | genre : gid (text) , genre (number) | classification : id (text) , msid (number) , gid (text) | company : id (text) , name (number) , country_code (text) | director : did (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | producer : pid (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | directed_by : id (text) , msid (number) , did (text) | keyword : id (text) , keyword (number) | made_by : id (text) , msid (number) , pid (text) | movie : mid (text) , title (number) , release_year (text) , title_aka (text) , budget (text) | tags : id (text) , msid (number) , kid (text) | tv_series : sid (text) , title (number) , release_year (text) , num_of_seasons (text) , num_of_episodes (text) , title_aka (text) , budget (number) | writer : wid (text) , gender (number) , name (text) , nationality (text) , num_of_episodes (text) , birth_city (text) , birth_year (number) | written_by : id (text) , msid (number) , wid (text); | [Primary Keys]: actor : aid, copyright : id, cast : id, genre : gid, classification : id, company : id, director : did, producer : pid, directed_by : id, keyword : id, made_by : id, movie : mid, tags : id, tv_series : sid, writer : wid | [Foreign Keys]: cast : msid = copyright : msid | cast : aid = actor : aid | classification : msid = copyright : msid | classification : gid = genre : gid | directed_by : did = director : did | directed_by : msid = copyright : msid | made_by : pid = producer : pid | made_by : msid = copyright : msid | tags : msid = copyright : msid | written_by : wid = writer : wid | written_by : msid = copyright : msid |
imdb | SELECT t4.title FROM CAST AS t5 JOIN actor AS t1 ON t5.aid = t1.aid JOIN movie AS t4 ON t4.mid = t5.msid JOIN directed_by AS t2 ON t4.mid = t2.msid JOIN director AS t3 ON t3.did = t2.did WHERE t1.name = "Taraneh Alidoosti" AND t3.name = "Asghar Farhadi"; | List all the movies directed by " Asghar Farhadi " in which " Taraneh Alidoosti " played | [Schema (values) (types)]: | imdb | actor : aid (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | copyright : id (text) , msid (number) , cid (text) | cast : id (text) , msid (number) , aid (text) , role (text) | genre : gid (text) , genre (number) | classification : id (text) , msid (number) , gid (text) | company : id (text) , name (number) , country_code (text) | director : did (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | producer : pid (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | directed_by : id (text) , msid (number) , did (text) | keyword : id (text) , keyword (number) | made_by : id (text) , msid (number) , pid (text) | movie : mid (text) , title (number) , release_year (text) , title_aka (text) , budget (text) | tags : id (text) , msid (number) , kid (text) | tv_series : sid (text) , title (number) , release_year (text) , num_of_seasons (text) , num_of_episodes (text) , title_aka (text) , budget (number) | writer : wid (text) , gender (number) , name (text) , nationality (text) , num_of_episodes (text) , birth_city (text) , birth_year (number) | written_by : id (text) , msid (number) , wid (text); | [Primary Keys]: actor : aid, copyright : id, cast : id, genre : gid, classification : id, company : id, director : did, producer : pid, directed_by : id, keyword : id, made_by : id, movie : mid, tags : id, tv_series : sid, writer : wid | [Foreign Keys]: cast : msid = copyright : msid | cast : aid = actor : aid | classification : msid = copyright : msid | classification : gid = genre : gid | directed_by : did = director : did | directed_by : msid = copyright : msid | made_by : pid = producer : pid | made_by : msid = copyright : msid | tags : msid = copyright : msid | written_by : wid = writer : wid | written_by : msid = copyright : msid |
imdb | SELECT t2.title FROM producer AS t1 JOIN made_by AS t3 ON t1.pid = t3.pid JOIN tv_series AS t2 ON t2.sid = t3.msid WHERE t1.name = "Shonda Rhimes"; | What are all the tv series created by " Shonda Rhimes " ? | [Schema (values) (types)]: | imdb | actor : aid (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | copyright : id (text) , msid (number) , cid (text) | cast : id (text) , msid (number) , aid (text) , role (text) | genre : gid (text) , genre (number) | classification : id (text) , msid (number) , gid (text) | company : id (text) , name (number) , country_code (text) | director : did (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | producer : pid (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | directed_by : id (text) , msid (number) , did (text) | keyword : id (text) , keyword (number) | made_by : id (text) , msid (number) , pid (text) | movie : mid (text) , title (number) , release_year (text) , title_aka (text) , budget (text) | tags : id (text) , msid (number) , kid (text) | tv_series : sid (text) , title (number) , release_year (text) , num_of_seasons (text) , num_of_episodes (text) , title_aka (text) , budget (number) | writer : wid (text) , gender (number) , name (text) , nationality (text) , num_of_episodes (text) , birth_city (text) , birth_year (number) | written_by : id (text) , msid (number) , wid (text); | [Primary Keys]: actor : aid, copyright : id, cast : id, genre : gid, classification : id, company : id, director : did, producer : pid, directed_by : id, keyword : id, made_by : id, movie : mid, tags : id, tv_series : sid, writer : wid | [Foreign Keys]: cast : msid = copyright : msid | cast : aid = actor : aid | classification : msid = copyright : msid | classification : gid = genre : gid | directed_by : did = director : did | directed_by : msid = copyright : msid | made_by : pid = producer : pid | made_by : msid = copyright : msid | tags : msid = copyright : msid | written_by : wid = writer : wid | written_by : msid = copyright : msid |
imdb | SELECT t1.name FROM CAST AS t3 JOIN actor AS t1 ON t3.aid = t1.aid JOIN tv_series AS t2 ON t2.sid = t3.msid WHERE t3.role = "Olivia Pope" AND t2.title = "Scandal"; | Who acts " Olivia Pope " in the series Scandal ? | [Schema (values) (types)]: | imdb | actor : aid (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | copyright : id (text) , msid (number) , cid (text) | cast : id (text) , msid (number) , aid (text) , role (text) | genre : gid (text) , genre (number) | classification : id (text) , msid (number) , gid (text) | company : id (text) , name (number) , country_code (text) | director : did (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | producer : pid (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | directed_by : id (text) , msid (number) , did (text) | keyword : id (text) , keyword (number) | made_by : id (text) , msid (number) , pid (text) | movie : mid (text) , title (number) , release_year (text) , title_aka (text) , budget (text) | tags : id (text) , msid (number) , kid (text) | tv_series : sid (text) , title (number) , release_year (text) , num_of_seasons (text) , num_of_episodes (text) , title_aka (text) , budget (number) | writer : wid (text) , gender (number) , name (text) , nationality (text) , num_of_episodes (text) , birth_city (text) , birth_year (number) | written_by : id (text) , msid (number) , wid (text); | [Primary Keys]: actor : aid, copyright : id, cast : id, genre : gid, classification : id, company : id, director : did, producer : pid, directed_by : id, keyword : id, made_by : id, movie : mid, tags : id, tv_series : sid, writer : wid | [Foreign Keys]: cast : msid = copyright : msid | cast : aid = actor : aid | classification : msid = copyright : msid | classification : gid = genre : gid | directed_by : did = director : did | directed_by : msid = copyright : msid | made_by : pid = producer : pid | made_by : msid = copyright : msid | tags : msid = copyright : msid | written_by : wid = writer : wid | written_by : msid = copyright : msid |
imdb | SELECT t2.name FROM written_by AS t3 JOIN movie AS t1 ON t3.msid = t1.mid JOIN writer AS t2 ON t3.wid = t2.wid WHERE t1.title = "The Truman Show"; | Who is the writer of the movie " The Truman Show " | [Schema (values) (types)]: | imdb | actor : aid (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | copyright : id (text) , msid (number) , cid (text) | cast : id (text) , msid (number) , aid (text) , role (text) | genre : gid (text) , genre (number) | classification : id (text) , msid (number) , gid (text) | company : id (text) , name (number) , country_code (text) | director : did (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | producer : pid (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | directed_by : id (text) , msid (number) , did (text) | keyword : id (text) , keyword (number) | made_by : id (text) , msid (number) , pid (text) | movie : mid (text) , title (number) , release_year (text) , title_aka (text) , budget (text) | tags : id (text) , msid (number) , kid (text) | tv_series : sid (text) , title (number) , release_year (text) , num_of_seasons (text) , num_of_episodes (text) , title_aka (text) , budget (number) | writer : wid (text) , gender (number) , name (text) , nationality (text) , num_of_episodes (text) , birth_city (text) , birth_year (number) | written_by : id (text) , msid (number) , wid (text); | [Primary Keys]: actor : aid, copyright : id, cast : id, genre : gid, classification : id, company : id, director : did, producer : pid, directed_by : id, keyword : id, made_by : id, movie : mid, tags : id, tv_series : sid, writer : wid | [Foreign Keys]: cast : msid = copyright : msid | cast : aid = actor : aid | classification : msid = copyright : msid | classification : gid = genre : gid | directed_by : did = director : did | directed_by : msid = copyright : msid | made_by : pid = producer : pid | made_by : msid = copyright : msid | tags : msid = copyright : msid | written_by : wid = writer : wid | written_by : msid = copyright : msid |
imdb | SELECT t2.name FROM written_by AS t3 JOIN movie AS t1 ON t3.msid = t1.mid JOIN writer AS t2 ON t3.wid = t2.wid WHERE t1.title = "The Truman Show"; | Who is the writer of " The Truman Show " | [Schema (values) (types)]: | imdb | actor : aid (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | copyright : id (text) , msid (number) , cid (text) | cast : id (text) , msid (number) , aid (text) , role (text) | genre : gid (text) , genre (number) | classification : id (text) , msid (number) , gid (text) | company : id (text) , name (number) , country_code (text) | director : did (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | producer : pid (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | directed_by : id (text) , msid (number) , did (text) | keyword : id (text) , keyword (number) | made_by : id (text) , msid (number) , pid (text) | movie : mid (text) , title (number) , release_year (text) , title_aka (text) , budget (text) | tags : id (text) , msid (number) , kid (text) | tv_series : sid (text) , title (number) , release_year (text) , num_of_seasons (text) , num_of_episodes (text) , title_aka (text) , budget (number) | writer : wid (text) , gender (number) , name (text) , nationality (text) , num_of_episodes (text) , birth_city (text) , birth_year (number) | written_by : id (text) , msid (number) , wid (text); | [Primary Keys]: actor : aid, copyright : id, cast : id, genre : gid, classification : id, company : id, director : did, producer : pid, directed_by : id, keyword : id, made_by : id, movie : mid, tags : id, tv_series : sid, writer : wid | [Foreign Keys]: cast : msid = copyright : msid | cast : aid = actor : aid | classification : msid = copyright : msid | classification : gid = genre : gid | directed_by : did = director : did | directed_by : msid = copyright : msid | made_by : pid = producer : pid | made_by : msid = copyright : msid | tags : msid = copyright : msid | written_by : wid = writer : wid | written_by : msid = copyright : msid |
imdb | SELECT t2.title FROM CAST AS t3 JOIN actor AS t1 ON t3.aid = t1.aid JOIN tv_series AS t2 ON t2.sid = t3.msid WHERE t1.name = "Scott Foley"; | What are the series featuring " Scott Foley " ? | [Schema (values) (types)]: | imdb | actor : aid (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | copyright : id (text) , msid (number) , cid (text) | cast : id (text) , msid (number) , aid (text) , role (text) | genre : gid (text) , genre (number) | classification : id (text) , msid (number) , gid (text) | company : id (text) , name (number) , country_code (text) | director : did (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | producer : pid (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | directed_by : id (text) , msid (number) , did (text) | keyword : id (text) , keyword (number) | made_by : id (text) , msid (number) , pid (text) | movie : mid (text) , title (number) , release_year (text) , title_aka (text) , budget (text) | tags : id (text) , msid (number) , kid (text) | tv_series : sid (text) , title (number) , release_year (text) , num_of_seasons (text) , num_of_episodes (text) , title_aka (text) , budget (number) | writer : wid (text) , gender (number) , name (text) , nationality (text) , num_of_episodes (text) , birth_city (text) , birth_year (number) | written_by : id (text) , msid (number) , wid (text); | [Primary Keys]: actor : aid, copyright : id, cast : id, genre : gid, classification : id, company : id, director : did, producer : pid, directed_by : id, keyword : id, made_by : id, movie : mid, tags : id, tv_series : sid, writer : wid | [Foreign Keys]: cast : msid = copyright : msid | cast : aid = actor : aid | classification : msid = copyright : msid | classification : gid = genre : gid | directed_by : did = director : did | directed_by : msid = copyright : msid | made_by : pid = producer : pid | made_by : msid = copyright : msid | tags : msid = copyright : msid | written_by : wid = writer : wid | written_by : msid = copyright : msid |
imdb | SELECT t2.title FROM CAST AS t3 JOIN actor AS t1 ON t3.aid = t1.aid JOIN tv_series AS t2 ON t2.sid = t3.msid WHERE t1.name = "Scott Foley"; | What are the series in which " Scott Foley " is an actor ? | [Schema (values) (types)]: | imdb | actor : aid (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | copyright : id (text) , msid (number) , cid (text) | cast : id (text) , msid (number) , aid (text) , role (text) | genre : gid (text) , genre (number) | classification : id (text) , msid (number) , gid (text) | company : id (text) , name (number) , country_code (text) | director : did (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | producer : pid (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | directed_by : id (text) , msid (number) , did (text) | keyword : id (text) , keyword (number) | made_by : id (text) , msid (number) , pid (text) | movie : mid (text) , title (number) , release_year (text) , title_aka (text) , budget (text) | tags : id (text) , msid (number) , kid (text) | tv_series : sid (text) , title (number) , release_year (text) , num_of_seasons (text) , num_of_episodes (text) , title_aka (text) , budget (number) | writer : wid (text) , gender (number) , name (text) , nationality (text) , num_of_episodes (text) , birth_city (text) , birth_year (number) | written_by : id (text) , msid (number) , wid (text); | [Primary Keys]: actor : aid, copyright : id, cast : id, genre : gid, classification : id, company : id, director : did, producer : pid, directed_by : id, keyword : id, made_by : id, movie : mid, tags : id, tv_series : sid, writer : wid | [Foreign Keys]: cast : msid = copyright : msid | cast : aid = actor : aid | classification : msid = copyright : msid | classification : gid = genre : gid | directed_by : did = director : did | directed_by : msid = copyright : msid | made_by : pid = producer : pid | made_by : msid = copyright : msid | tags : msid = copyright : msid | written_by : wid = writer : wid | written_by : msid = copyright : msid |
imdb | SELECT t3.name FROM CAST AS t4 JOIN actor AS t1 ON t4.aid = t1.aid JOIN movie AS t5 ON t5.mid = t4.msid JOIN directed_by AS t2 ON t5.mid = t2.msid JOIN director AS t3 ON t3.did = t2.did WHERE t1.name = "Kate Winslet"; | Find the directors of all movies featuring " Kate Winslet " | [Schema (values) (types)]: | imdb | actor : aid (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | copyright : id (text) , msid (number) , cid (text) | cast : id (text) , msid (number) , aid (text) , role (text) | genre : gid (text) , genre (number) | classification : id (text) , msid (number) , gid (text) | company : id (text) , name (number) , country_code (text) | director : did (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | producer : pid (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | directed_by : id (text) , msid (number) , did (text) | keyword : id (text) , keyword (number) | made_by : id (text) , msid (number) , pid (text) | movie : mid (text) , title (number) , release_year (text) , title_aka (text) , budget (text) | tags : id (text) , msid (number) , kid (text) | tv_series : sid (text) , title (number) , release_year (text) , num_of_seasons (text) , num_of_episodes (text) , title_aka (text) , budget (number) | writer : wid (text) , gender (number) , name (text) , nationality (text) , num_of_episodes (text) , birth_city (text) , birth_year (number) | written_by : id (text) , msid (number) , wid (text); | [Primary Keys]: actor : aid, copyright : id, cast : id, genre : gid, classification : id, company : id, director : did, producer : pid, directed_by : id, keyword : id, made_by : id, movie : mid, tags : id, tv_series : sid, writer : wid | [Foreign Keys]: cast : msid = copyright : msid | cast : aid = actor : aid | classification : msid = copyright : msid | classification : gid = genre : gid | directed_by : did = director : did | directed_by : msid = copyright : msid | made_by : pid = producer : pid | made_by : msid = copyright : msid | tags : msid = copyright : msid | written_by : wid = writer : wid | written_by : msid = copyright : msid |
imdb | SELECT t1.name FROM CAST AS t3 JOIN actor AS t2 ON t3.aid = t2.aid JOIN movie AS t5 ON t5.mid = t3.msid JOIN made_by AS t4 ON t5.mid = t4.msid JOIN producer AS t1 ON t1.pid = t4.pid WHERE t2.name = "Kate Winslet"; | Find the producers of all movies in which " Kate Winslet " is an actor | [Schema (values) (types)]: | imdb | actor : aid (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | copyright : id (text) , msid (number) , cid (text) | cast : id (text) , msid (number) , aid (text) , role (text) | genre : gid (text) , genre (number) | classification : id (text) , msid (number) , gid (text) | company : id (text) , name (number) , country_code (text) | director : did (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | producer : pid (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | directed_by : id (text) , msid (number) , did (text) | keyword : id (text) , keyword (number) | made_by : id (text) , msid (number) , pid (text) | movie : mid (text) , title (number) , release_year (text) , title_aka (text) , budget (text) | tags : id (text) , msid (number) , kid (text) | tv_series : sid (text) , title (number) , release_year (text) , num_of_seasons (text) , num_of_episodes (text) , title_aka (text) , budget (number) | writer : wid (text) , gender (number) , name (text) , nationality (text) , num_of_episodes (text) , birth_city (text) , birth_year (number) | written_by : id (text) , msid (number) , wid (text); | [Primary Keys]: actor : aid, copyright : id, cast : id, genre : gid, classification : id, company : id, director : did, producer : pid, directed_by : id, keyword : id, made_by : id, movie : mid, tags : id, tv_series : sid, writer : wid | [Foreign Keys]: cast : msid = copyright : msid | cast : aid = actor : aid | classification : msid = copyright : msid | classification : gid = genre : gid | directed_by : did = director : did | directed_by : msid = copyright : msid | made_by : pid = producer : pid | made_by : msid = copyright : msid | tags : msid = copyright : msid | written_by : wid = writer : wid | written_by : msid = copyright : msid |
imdb | SELECT t2.name FROM director AS t2 JOIN directed_by AS t1 ON t2.did = t1.did JOIN tv_series AS t3 ON t3.sid = t1.msid WHERE t3.release_year = 2013 AND t3.title = "House of Cards"; | Who is the director of the tv series " House of Cards " from 2013 ? | [Schema (values) (types)]: | imdb | actor : aid (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | copyright : id (text) , msid (number) , cid (text) | cast : id (text) , msid (number) , aid (text) , role (text) | genre : gid (text) , genre (number) | classification : id (text) , msid (number) , gid (text) | company : id (text) , name (number) , country_code (text) | director : did (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | producer : pid (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | directed_by : id (text) , msid (number) , did (text) | keyword : id (text) , keyword (number) | made_by : id (text) , msid (number) , pid (text) | movie : mid (text) , title (number) , release_year (text) , title_aka (text) , budget (text) | tags : id (text) , msid (number) , kid (text) | tv_series : sid (text) , title (number) , release_year (text) , num_of_seasons (text) , num_of_episodes (text) , title_aka (text) , budget (number) | writer : wid (text) , gender (number) , name (text) , nationality (text) , num_of_episodes (text) , birth_city (text) , birth_year (number) | written_by : id (text) , msid (number) , wid (text); | [Primary Keys]: actor : aid, copyright : id, cast : id, genre : gid, classification : id, company : id, director : did, producer : pid, directed_by : id, keyword : id, made_by : id, movie : mid, tags : id, tv_series : sid, writer : wid | [Foreign Keys]: cast : msid = copyright : msid | cast : aid = actor : aid | classification : msid = copyright : msid | classification : gid = genre : gid | directed_by : did = director : did | directed_by : msid = copyright : msid | made_by : pid = producer : pid | made_by : msid = copyright : msid | tags : msid = copyright : msid | written_by : wid = writer : wid | written_by : msid = copyright : msid |
imdb | SELECT name FROM actor WHERE birth_city = "Austin" AND gender = "female"; | Find all the female actors from Austin | [Schema (values) (types)]: | imdb | actor : aid (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | copyright : id (text) , msid (number) , cid (text) | cast : id (text) , msid (number) , aid (text) , role (text) | genre : gid (text) , genre (number) | classification : id (text) , msid (number) , gid (text) | company : id (text) , name (number) , country_code (text) | director : did (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | producer : pid (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | directed_by : id (text) , msid (number) , did (text) | keyword : id (text) , keyword (number) | made_by : id (text) , msid (number) , pid (text) | movie : mid (text) , title (number) , release_year (text) , title_aka (text) , budget (text) | tags : id (text) , msid (number) , kid (text) | tv_series : sid (text) , title (number) , release_year (text) , num_of_seasons (text) , num_of_episodes (text) , title_aka (text) , budget (number) | writer : wid (text) , gender (number) , name (text) , nationality (text) , num_of_episodes (text) , birth_city (text) , birth_year (number) | written_by : id (text) , msid (number) , wid (text); | [Primary Keys]: actor : aid, copyright : id, cast : id, genre : gid, classification : id, company : id, director : did, producer : pid, directed_by : id, keyword : id, made_by : id, movie : mid, tags : id, tv_series : sid, writer : wid | [Foreign Keys]: cast : msid = copyright : msid | cast : aid = actor : aid | classification : msid = copyright : msid | classification : gid = genre : gid | directed_by : did = director : did | directed_by : msid = copyright : msid | made_by : pid = producer : pid | made_by : msid = copyright : msid | tags : msid = copyright : msid | written_by : wid = writer : wid | written_by : msid = copyright : msid |
imdb | SELECT name FROM actor WHERE birth_year > 1980 AND nationality = "Italy"; | Find all actors from Italy born after 1980 | [Schema (values) (types)]: | imdb | actor : aid (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | copyright : id (text) , msid (number) , cid (text) | cast : id (text) , msid (number) , aid (text) , role (text) | genre : gid (text) , genre (number) | classification : id (text) , msid (number) , gid (text) | company : id (text) , name (number) , country_code (text) | director : did (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | producer : pid (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | directed_by : id (text) , msid (number) , did (text) | keyword : id (text) , keyword (number) | made_by : id (text) , msid (number) , pid (text) | movie : mid (text) , title (number) , release_year (text) , title_aka (text) , budget (text) | tags : id (text) , msid (number) , kid (text) | tv_series : sid (text) , title (number) , release_year (text) , num_of_seasons (text) , num_of_episodes (text) , title_aka (text) , budget (number) | writer : wid (text) , gender (number) , name (text) , nationality (text) , num_of_episodes (text) , birth_city (text) , birth_year (number) | written_by : id (text) , msid (number) , wid (text); | [Primary Keys]: actor : aid, copyright : id, cast : id, genre : gid, classification : id, company : id, director : did, producer : pid, directed_by : id, keyword : id, made_by : id, movie : mid, tags : id, tv_series : sid, writer : wid | [Foreign Keys]: cast : msid = copyright : msid | cast : aid = actor : aid | classification : msid = copyright : msid | classification : gid = genre : gid | directed_by : did = director : did | directed_by : msid = copyright : msid | made_by : pid = producer : pid | made_by : msid = copyright : msid | tags : msid = copyright : msid | written_by : wid = writer : wid | written_by : msid = copyright : msid |
imdb | SELECT name FROM actor WHERE birth_city = "New York City" AND birth_year > 1980 AND gender = "female"; | Find all the female actors born in " New York City " after 1980 | [Schema (values) (types)]: | imdb | actor : aid (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | copyright : id (text) , msid (number) , cid (text) | cast : id (text) , msid (number) , aid (text) , role (text) | genre : gid (text) , genre (number) | classification : id (text) , msid (number) , gid (text) | company : id (text) , name (number) , country_code (text) | director : did (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | producer : pid (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | directed_by : id (text) , msid (number) , did (text) | keyword : id (text) , keyword (number) | made_by : id (text) , msid (number) , pid (text) | movie : mid (text) , title (number) , release_year (text) , title_aka (text) , budget (text) | tags : id (text) , msid (number) , kid (text) | tv_series : sid (text) , title (number) , release_year (text) , num_of_seasons (text) , num_of_episodes (text) , title_aka (text) , budget (number) | writer : wid (text) , gender (number) , name (text) , nationality (text) , num_of_episodes (text) , birth_city (text) , birth_year (number) | written_by : id (text) , msid (number) , wid (text); | [Primary Keys]: actor : aid, copyright : id, cast : id, genre : gid, classification : id, company : id, director : did, producer : pid, directed_by : id, keyword : id, made_by : id, movie : mid, tags : id, tv_series : sid, writer : wid | [Foreign Keys]: cast : msid = copyright : msid | cast : aid = actor : aid | classification : msid = copyright : msid | classification : gid = genre : gid | directed_by : did = director : did | directed_by : msid = copyright : msid | made_by : pid = producer : pid | made_by : msid = copyright : msid | tags : msid = copyright : msid | written_by : wid = writer : wid | written_by : msid = copyright : msid |
imdb | SELECT t1.name FROM CAST AS t2 JOIN actor AS t1 ON t2.aid = t1.aid JOIN movie AS t3 ON t3.mid = t2.msid WHERE t1.gender = "female" AND t3.title = "Saving Private Ryan"; | Find all the female actors in the movie " Saving Private Ryan " | [Schema (values) (types)]: | imdb | actor : aid (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | copyright : id (text) , msid (number) , cid (text) | cast : id (text) , msid (number) , aid (text) , role (text) | genre : gid (text) , genre (number) | classification : id (text) , msid (number) , gid (text) | company : id (text) , name (number) , country_code (text) | director : did (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | producer : pid (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | directed_by : id (text) , msid (number) , did (text) | keyword : id (text) , keyword (number) | made_by : id (text) , msid (number) , pid (text) | movie : mid (text) , title (number) , release_year (text) , title_aka (text) , budget (text) | tags : id (text) , msid (number) , kid (text) | tv_series : sid (text) , title (number) , release_year (text) , num_of_seasons (text) , num_of_episodes (text) , title_aka (text) , budget (number) | writer : wid (text) , gender (number) , name (text) , nationality (text) , num_of_episodes (text) , birth_city (text) , birth_year (number) | written_by : id (text) , msid (number) , wid (text); | [Primary Keys]: actor : aid, copyright : id, cast : id, genre : gid, classification : id, company : id, director : did, producer : pid, directed_by : id, keyword : id, made_by : id, movie : mid, tags : id, tv_series : sid, writer : wid | [Foreign Keys]: cast : msid = copyright : msid | cast : aid = actor : aid | classification : msid = copyright : msid | classification : gid = genre : gid | directed_by : did = director : did | directed_by : msid = copyright : msid | made_by : pid = producer : pid | made_by : msid = copyright : msid | tags : msid = copyright : msid | written_by : wid = writer : wid | written_by : msid = copyright : msid |
imdb | SELECT name FROM director WHERE nationality = "Afghanistan"; | Find all the directors who are from Afghanistan | [Schema (values) (types)]: | imdb | actor : aid (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | copyright : id (text) , msid (number) , cid (text) | cast : id (text) , msid (number) , aid (text) , role (text) | genre : gid (text) , genre (number) | classification : id (text) , msid (number) , gid (text) | company : id (text) , name (number) , country_code (text) | director : did (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | producer : pid (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | directed_by : id (text) , msid (number) , did (text) | keyword : id (text) , keyword (number) | made_by : id (text) , msid (number) , pid (text) | movie : mid (text) , title (number) , release_year (text) , title_aka (text) , budget (text) | tags : id (text) , msid (number) , kid (text) | tv_series : sid (text) , title (number) , release_year (text) , num_of_seasons (text) , num_of_episodes (text) , title_aka (text) , budget (number) | writer : wid (text) , gender (number) , name (text) , nationality (text) , num_of_episodes (text) , birth_city (text) , birth_year (number) | written_by : id (text) , msid (number) , wid (text); | [Primary Keys]: actor : aid, copyright : id, cast : id, genre : gid, classification : id, company : id, director : did, producer : pid, directed_by : id, keyword : id, made_by : id, movie : mid, tags : id, tv_series : sid, writer : wid | [Foreign Keys]: cast : msid = copyright : msid | cast : aid = actor : aid | classification : msid = copyright : msid | classification : gid = genre : gid | directed_by : did = director : did | directed_by : msid = copyright : msid | made_by : pid = producer : pid | made_by : msid = copyright : msid | tags : msid = copyright : msid | written_by : wid = writer : wid | written_by : msid = copyright : msid |
imdb | SELECT t1.name FROM CAST AS t2 JOIN actor AS t1 ON t2.aid = t1.aid JOIN movie AS t3 ON t3.mid = t2.msid WHERE t3.title = "Camp X-Ray"; | Find the actors who played in the movie " Camp X-Ray " | [Schema (values) (types)]: | imdb | actor : aid (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | copyright : id (text) , msid (number) , cid (text) | cast : id (text) , msid (number) , aid (text) , role (text) | genre : gid (text) , genre (number) | classification : id (text) , msid (number) , gid (text) | company : id (text) , name (number) , country_code (text) | director : did (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | producer : pid (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | directed_by : id (text) , msid (number) , did (text) | keyword : id (text) , keyword (number) | made_by : id (text) , msid (number) , pid (text) | movie : mid (text) , title (number) , release_year (text) , title_aka (text) , budget (text) | tags : id (text) , msid (number) , kid (text) | tv_series : sid (text) , title (number) , release_year (text) , num_of_seasons (text) , num_of_episodes (text) , title_aka (text) , budget (number) | writer : wid (text) , gender (number) , name (text) , nationality (text) , num_of_episodes (text) , birth_city (text) , birth_year (number) | written_by : id (text) , msid (number) , wid (text); | [Primary Keys]: actor : aid, copyright : id, cast : id, genre : gid, classification : id, company : id, director : did, producer : pid, directed_by : id, keyword : id, made_by : id, movie : mid, tags : id, tv_series : sid, writer : wid | [Foreign Keys]: cast : msid = copyright : msid | cast : aid = actor : aid | classification : msid = copyright : msid | classification : gid = genre : gid | directed_by : did = director : did | directed_by : msid = copyright : msid | made_by : pid = producer : pid | made_by : msid = copyright : msid | tags : msid = copyright : msid | written_by : wid = writer : wid | written_by : msid = copyright : msid |
imdb | SELECT t1.name FROM CAST AS t2 JOIN actor AS t1 ON t2.aid = t1.aid JOIN movie AS t3 ON t3.mid = t2.msid WHERE t1.nationality = "Canada" AND t3.title = "James Bond"; | Find all actors from Canada who acted in " James Bond " movies | [Schema (values) (types)]: | imdb | actor : aid (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | copyright : id (text) , msid (number) , cid (text) | cast : id (text) , msid (number) , aid (text) , role (text) | genre : gid (text) , genre (number) | classification : id (text) , msid (number) , gid (text) | company : id (text) , name (number) , country_code (text) | director : did (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | producer : pid (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | directed_by : id (text) , msid (number) , did (text) | keyword : id (text) , keyword (number) | made_by : id (text) , msid (number) , pid (text) | movie : mid (text) , title (number) , release_year (text) , title_aka (text) , budget (text) | tags : id (text) , msid (number) , kid (text) | tv_series : sid (text) , title (number) , release_year (text) , num_of_seasons (text) , num_of_episodes (text) , title_aka (text) , budget (number) | writer : wid (text) , gender (number) , name (text) , nationality (text) , num_of_episodes (text) , birth_city (text) , birth_year (number) | written_by : id (text) , msid (number) , wid (text); | [Primary Keys]: actor : aid, copyright : id, cast : id, genre : gid, classification : id, company : id, director : did, producer : pid, directed_by : id, keyword : id, made_by : id, movie : mid, tags : id, tv_series : sid, writer : wid | [Foreign Keys]: cast : msid = copyright : msid | cast : aid = actor : aid | classification : msid = copyright : msid | classification : gid = genre : gid | directed_by : did = director : did | directed_by : msid = copyright : msid | made_by : pid = producer : pid | made_by : msid = copyright : msid | tags : msid = copyright : msid | written_by : wid = writer : wid | written_by : msid = copyright : msid |
imdb | SELECT t2.title FROM CAST AS t3 JOIN actor AS t1 ON t3.aid = t1.aid JOIN movie AS t2 ON t2.mid = t3.msid WHERE t1.name = "Rowan Atkinson" AND t3.role = "Mr. Bean"; | find all films in which " Rowan Atkinson " acted as " Mr. Bean " | [Schema (values) (types)]: | imdb | actor : aid (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | copyright : id (text) , msid (number) , cid (text) | cast : id (text) , msid (number) , aid (text) , role (text) | genre : gid (text) , genre (number) | classification : id (text) , msid (number) , gid (text) | company : id (text) , name (number) , country_code (text) | director : did (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | producer : pid (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | directed_by : id (text) , msid (number) , did (text) | keyword : id (text) , keyword (number) | made_by : id (text) , msid (number) , pid (text) | movie : mid (text) , title (number) , release_year (text) , title_aka (text) , budget (text) | tags : id (text) , msid (number) , kid (text) | tv_series : sid (text) , title (number) , release_year (text) , num_of_seasons (text) , num_of_episodes (text) , title_aka (text) , budget (number) | writer : wid (text) , gender (number) , name (text) , nationality (text) , num_of_episodes (text) , birth_city (text) , birth_year (number) | written_by : id (text) , msid (number) , wid (text); | [Primary Keys]: actor : aid, copyright : id, cast : id, genre : gid, classification : id, company : id, director : did, producer : pid, directed_by : id, keyword : id, made_by : id, movie : mid, tags : id, tv_series : sid, writer : wid | [Foreign Keys]: cast : msid = copyright : msid | cast : aid = actor : aid | classification : msid = copyright : msid | classification : gid = genre : gid | directed_by : did = director : did | directed_by : msid = copyright : msid | made_by : pid = producer : pid | made_by : msid = copyright : msid | tags : msid = copyright : msid | written_by : wid = writer : wid | written_by : msid = copyright : msid |
imdb | SELECT t2.birth_city FROM director AS t2 JOIN directed_by AS t1 ON t2.did = t1.did JOIN movie AS t3 ON t3.mid = t1.msid WHERE t3.title = "The Past"; | where is the director of " The Past " from | [Schema (values) (types)]: | imdb | actor : aid (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | copyright : id (text) , msid (number) , cid (text) | cast : id (text) , msid (number) , aid (text) , role (text) | genre : gid (text) , genre (number) | classification : id (text) , msid (number) , gid (text) | company : id (text) , name (number) , country_code (text) | director : did (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | producer : pid (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | directed_by : id (text) , msid (number) , did (text) | keyword : id (text) , keyword (number) | made_by : id (text) , msid (number) , pid (text) | movie : mid (text) , title (number) , release_year (text) , title_aka (text) , budget (text) | tags : id (text) , msid (number) , kid (text) | tv_series : sid (text) , title (number) , release_year (text) , num_of_seasons (text) , num_of_episodes (text) , title_aka (text) , budget (number) | writer : wid (text) , gender (number) , name (text) , nationality (text) , num_of_episodes (text) , birth_city (text) , birth_year (number) | written_by : id (text) , msid (number) , wid (text); | [Primary Keys]: actor : aid, copyright : id, cast : id, genre : gid, classification : id, company : id, director : did, producer : pid, directed_by : id, keyword : id, made_by : id, movie : mid, tags : id, tv_series : sid, writer : wid | [Foreign Keys]: cast : msid = copyright : msid | cast : aid = actor : aid | classification : msid = copyright : msid | classification : gid = genre : gid | directed_by : did = director : did | directed_by : msid = copyright : msid | made_by : pid = producer : pid | made_by : msid = copyright : msid | tags : msid = copyright : msid | written_by : wid = writer : wid | written_by : msid = copyright : msid |
imdb | SELECT t1.name FROM CAST AS t2 JOIN actor AS t1 ON t2.aid = t1.aid WHERE t2.role = "Mr. Bean"; | who acted the role of " Mr. Bean " | [Schema (values) (types)]: | imdb | actor : aid (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | copyright : id (text) , msid (number) , cid (text) | cast : id (text) , msid (number) , aid (text) , role (text) | genre : gid (text) , genre (number) | classification : id (text) , msid (number) , gid (text) | company : id (text) , name (number) , country_code (text) | director : did (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | producer : pid (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | directed_by : id (text) , msid (number) , did (text) | keyword : id (text) , keyword (number) | made_by : id (text) , msid (number) , pid (text) | movie : mid (text) , title (number) , release_year (text) , title_aka (text) , budget (text) | tags : id (text) , msid (number) , kid (text) | tv_series : sid (text) , title (number) , release_year (text) , num_of_seasons (text) , num_of_episodes (text) , title_aka (text) , budget (number) | writer : wid (text) , gender (number) , name (text) , nationality (text) , num_of_episodes (text) , birth_city (text) , birth_year (number) | written_by : id (text) , msid (number) , wid (text); | [Primary Keys]: actor : aid, copyright : id, cast : id, genre : gid, classification : id, company : id, director : did, producer : pid, directed_by : id, keyword : id, made_by : id, movie : mid, tags : id, tv_series : sid, writer : wid | [Foreign Keys]: cast : msid = copyright : msid | cast : aid = actor : aid | classification : msid = copyright : msid | classification : gid = genre : gid | directed_by : did = director : did | directed_by : msid = copyright : msid | made_by : pid = producer : pid | made_by : msid = copyright : msid | tags : msid = copyright : msid | written_by : wid = writer : wid | written_by : msid = copyright : msid |
imdb | SELECT t3.genre FROM director AS t5 JOIN directed_by AS t2 ON t5.did = t2.did JOIN movie AS t4 ON t4.mid = t2.msid JOIN classification AS t1 ON t4.mid = t1.msid JOIN genre AS t3 ON t3.gid = t1.gid WHERE t5.name = "Asghar Farhadi"; | what are the genres of movies directed by " Asghar Farhadi " | [Schema (values) (types)]: | imdb | actor : aid (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | copyright : id (text) , msid (number) , cid (text) | cast : id (text) , msid (number) , aid (text) , role (text) | genre : gid (text) , genre (number) | classification : id (text) , msid (number) , gid (text) | company : id (text) , name (number) , country_code (text) | director : did (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | producer : pid (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | directed_by : id (text) , msid (number) , did (text) | keyword : id (text) , keyword (number) | made_by : id (text) , msid (number) , pid (text) | movie : mid (text) , title (number) , release_year (text) , title_aka (text) , budget (text) | tags : id (text) , msid (number) , kid (text) | tv_series : sid (text) , title (number) , release_year (text) , num_of_seasons (text) , num_of_episodes (text) , title_aka (text) , budget (number) | writer : wid (text) , gender (number) , name (text) , nationality (text) , num_of_episodes (text) , birth_city (text) , birth_year (number) | written_by : id (text) , msid (number) , wid (text); | [Primary Keys]: actor : aid, copyright : id, cast : id, genre : gid, classification : id, company : id, director : did, producer : pid, directed_by : id, keyword : id, made_by : id, movie : mid, tags : id, tv_series : sid, writer : wid | [Foreign Keys]: cast : msid = copyright : msid | cast : aid = actor : aid | classification : msid = copyright : msid | classification : gid = genre : gid | directed_by : did = director : did | directed_by : msid = copyright : msid | made_by : pid = producer : pid | made_by : msid = copyright : msid | tags : msid = copyright : msid | written_by : wid = writer : wid | written_by : msid = copyright : msid |
imdb | SELECT t1.title FROM movie AS t1 JOIN CAST AS t2 ON t1.mid = t2.msid WHERE t2.role = "Daffy Duck"; | Which movie had the character " Daffy Duck " | [Schema (values) (types)]: | imdb | actor : aid (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | copyright : id (text) , msid (number) , cid (text) | cast : id (text) , msid (number) , aid (text) , role (text) | genre : gid (text) , genre (number) | classification : id (text) , msid (number) , gid (text) | company : id (text) , name (number) , country_code (text) | director : did (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | producer : pid (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | directed_by : id (text) , msid (number) , did (text) | keyword : id (text) , keyword (number) | made_by : id (text) , msid (number) , pid (text) | movie : mid (text) , title (number) , release_year (text) , title_aka (text) , budget (text) | tags : id (text) , msid (number) , kid (text) | tv_series : sid (text) , title (number) , release_year (text) , num_of_seasons (text) , num_of_episodes (text) , title_aka (text) , budget (number) | writer : wid (text) , gender (number) , name (text) , nationality (text) , num_of_episodes (text) , birth_city (text) , birth_year (number) | written_by : id (text) , msid (number) , wid (text); | [Primary Keys]: actor : aid, copyright : id, cast : id, genre : gid, classification : id, company : id, director : did, producer : pid, directed_by : id, keyword : id, made_by : id, movie : mid, tags : id, tv_series : sid, writer : wid | [Foreign Keys]: cast : msid = copyright : msid | cast : aid = actor : aid | classification : msid = copyright : msid | classification : gid = genre : gid | directed_by : did = director : did | directed_by : msid = copyright : msid | made_by : pid = producer : pid | made_by : msid = copyright : msid | tags : msid = copyright : msid | written_by : wid = writer : wid | written_by : msid = copyright : msid |
imdb | SELECT t2.role FROM CAST AS t2 JOIN actor AS t1 ON t2.aid = t1.aid JOIN movie AS t3 ON t3.mid = t2.msid WHERE t3.title = "Daddy Long Legs"; | What are the major roles in the movie " Daddy Long Legs " | [Schema (values) (types)]: | imdb | actor : aid (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | copyright : id (text) , msid (number) , cid (text) | cast : id (text) , msid (number) , aid (text) , role (text) | genre : gid (text) , genre (number) | classification : id (text) , msid (number) , gid (text) | company : id (text) , name (number) , country_code (text) | director : did (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | producer : pid (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | directed_by : id (text) , msid (number) , did (text) | keyword : id (text) , keyword (number) | made_by : id (text) , msid (number) , pid (text) | movie : mid (text) , title (number) , release_year (text) , title_aka (text) , budget (text) | tags : id (text) , msid (number) , kid (text) | tv_series : sid (text) , title (number) , release_year (text) , num_of_seasons (text) , num_of_episodes (text) , title_aka (text) , budget (number) | writer : wid (text) , gender (number) , name (text) , nationality (text) , num_of_episodes (text) , birth_city (text) , birth_year (number) | written_by : id (text) , msid (number) , wid (text); | [Primary Keys]: actor : aid, copyright : id, cast : id, genre : gid, classification : id, company : id, director : did, producer : pid, directed_by : id, keyword : id, made_by : id, movie : mid, tags : id, tv_series : sid, writer : wid | [Foreign Keys]: cast : msid = copyright : msid | cast : aid = actor : aid | classification : msid = copyright : msid | classification : gid = genre : gid | directed_by : did = director : did | directed_by : msid = copyright : msid | made_by : pid = producer : pid | made_by : msid = copyright : msid | tags : msid = copyright : msid | written_by : wid = writer : wid | written_by : msid = copyright : msid |
imdb | SELECT t3.name FROM director AS t3 JOIN directed_by AS t2 ON t3.did = t2.did JOIN movie AS t4 ON t4.mid = t2.msid JOIN tags AS t5 ON t5.msid = t4.mid JOIN keyword AS t1 ON t5.kid = t1.id WHERE t1.keyword = "nuclear weapons"; | List all the directors of movies about nuclear weapons | [Schema (values) (types)]: | imdb | actor : aid (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | copyright : id (text) , msid (number) , cid (text) | cast : id (text) , msid (number) , aid (text) , role (text) | genre : gid (text) , genre (number) | classification : id (text) , msid (number) , gid (text) | company : id (text) , name (number) , country_code (text) | director : did (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | producer : pid (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | directed_by : id (text) , msid (number) , did (text) | keyword : id (text) , keyword (number) | made_by : id (text) , msid (number) , pid (text) | movie : mid (text) , title (number) , release_year (text) , title_aka (text) , budget (text) | tags : id (text) , msid (number) , kid (text) | tv_series : sid (text) , title (number) , release_year (text) , num_of_seasons (text) , num_of_episodes (text) , title_aka (text) , budget (number) | writer : wid (text) , gender (number) , name (text) , nationality (text) , num_of_episodes (text) , birth_city (text) , birth_year (number) | written_by : id (text) , msid (number) , wid (text); | [Primary Keys]: actor : aid, copyright : id, cast : id, genre : gid, classification : id, company : id, director : did, producer : pid, directed_by : id, keyword : id, made_by : id, movie : mid, tags : id, tv_series : sid, writer : wid | [Foreign Keys]: cast : msid = copyright : msid | cast : aid = actor : aid | classification : msid = copyright : msid | classification : gid = genre : gid | directed_by : did = director : did | directed_by : msid = copyright : msid | made_by : pid = producer : pid | made_by : msid = copyright : msid | tags : msid = copyright : msid | written_by : wid = writer : wid | written_by : msid = copyright : msid |
imdb | SELECT COUNT ( DISTINCT t2.title ) FROM CAST AS t3 JOIN actor AS t1 ON t3.aid = t1.aid JOIN movie AS t2 ON t2.mid = t3.msid WHERE t1.name = "Jennifer Aniston" AND t2.release_year > 2010; | What is the number of movies in which " Jennifer Aniston " acted after 2010 ? | [Schema (values) (types)]: | imdb | actor : aid (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | copyright : id (text) , msid (number) , cid (text) | cast : id (text) , msid (number) , aid (text) , role (text) | genre : gid (text) , genre (number) | classification : id (text) , msid (number) , gid (text) | company : id (text) , name (number) , country_code (text) | director : did (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | producer : pid (text) , gender (number) , name (text) , nationality (text) , birth_city (text) , birth_year (text) | directed_by : id (text) , msid (number) , did (text) | keyword : id (text) , keyword (number) | made_by : id (text) , msid (number) , pid (text) | movie : mid (text) , title (number) , release_year (text) , title_aka (text) , budget (text) | tags : id (text) , msid (number) , kid (text) | tv_series : sid (text) , title (number) , release_year (text) , num_of_seasons (text) , num_of_episodes (text) , title_aka (text) , budget (number) | writer : wid (text) , gender (number) , name (text) , nationality (text) , num_of_episodes (text) , birth_city (text) , birth_year (number) | written_by : id (text) , msid (number) , wid (text); | [Primary Keys]: actor : aid, copyright : id, cast : id, genre : gid, classification : id, company : id, director : did, producer : pid, directed_by : id, keyword : id, made_by : id, movie : mid, tags : id, tv_series : sid, writer : wid | [Foreign Keys]: cast : msid = copyright : msid | cast : aid = actor : aid | classification : msid = copyright : msid | classification : gid = genre : gid | directed_by : did = director : did | directed_by : msid = copyright : msid | made_by : pid = producer : pid | made_by : msid = copyright : msid | tags : msid = copyright : msid | written_by : wid = writer : wid | written_by : msid = copyright : msid |