db_id stringclasses 146 values | question stringlengths 3 224 | sql stringlengths 18 577 | database_schema stringclasses 146 values |
|---|---|---|---|
academic | return me the number of papers in PVLDB containing keyword " Keyword search " . | SELECT COUNT ( DISTINCT t4.title ) FROM publication_keyword AS t2 JOIN keyword AS t1 ON t2.kid = t1.kid JOIN publication AS t4 ON t4.pid = t2.pid JOIN journal AS t3 ON t4.jid = t3.jid WHERE t3.name = "PVLDB" AND t1.keyword = "Keyword search"; | CREATE TABLE "author" (
"aid" int,
"homepage" text,
"name" text,
"oid" int,
primary key("aid")
)
3 rows from author table:
Empty DataFrame
Columns: [aid, homepage, name, oid]
Index: []
CREATE TABLE "conference" (
"cid" int,
"homepage" text,
"name" text,
primary key ("cid")
)
3 rows from conference table:
Empty DataFrame
Columns: [cid, homepage, name]
Index: []
CREATE TABLE "domain" (
"did" int,
"name" text,
primary key ("did")
)
3 rows from domain table:
Empty DataFrame
Columns: [did, name]
Index: []
CREATE TABLE "domain_author" (
"aid" int,
"did" int,
primary key ("did", "aid"),
foreign key("aid") references `author`("aid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_author table:
Empty DataFrame
Columns: [aid, did]
Index: []
CREATE TABLE "domain_conference" (
"cid" int,
"did" int,
primary key ("did", "cid"),
foreign key("cid") references `conference`("cid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_conference table:
Empty DataFrame
Columns: [cid, did]
Index: []
CREATE TABLE "journal" (
"homepage" text,
"jid" int,
"name" text,
primary key("jid")
)
3 rows from journal table:
Empty DataFrame
Columns: [homepage, jid, name]
Index: []
CREATE TABLE "domain_journal" (
"did" int,
"jid" int,
primary key ("did", "jid"),
foreign key("jid") references "journal"("jid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_journal table:
Empty DataFrame
Columns: [did, jid]
Index: []
CREATE TABLE "keyword" (
"keyword" text,
"kid" int,
primary key("kid")
)
3 rows from keyword table:
Empty DataFrame
Columns: [keyword, kid]
Index: []
CREATE TABLE "domain_keyword" (
"did" int,
"kid" int,
primary key ("did", "kid"),
foreign key("kid") references "keyword"("kid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_keyword table:
Empty DataFrame
Columns: [did, kid]
Index: []
CREATE TABLE "publication" (
"abstract" text,
"cid" text,
"citation_num" int,
"jid" int,
"pid" int,
"reference_num" int,
"title" text,
"year" int,
primary key("pid"),
foreign key("jid") references "journal"("jid"),
foreign key("cid") references "conference"("cid")
)
3 rows from publication table:
Empty DataFrame
Columns: [abstract, cid, citation_num, jid, pid, reference_num, title, year]
Index: []
CREATE TABLE "domain_publication" (
"did" int,
"pid" int,
primary key ("did", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_publication table:
Empty DataFrame
Columns: [did, pid]
Index: []
CREATE TABLE "organization" (
"continent" text,
"homepage" text,
"name" text,
"oid" int,
primary key("oid")
)
3 rows from organization table:
Empty DataFrame
Columns: [continent, homepage, name, oid]
Index: []
CREATE TABLE "publication_keyword" (
"pid" int,
"kid" int,
primary key ("kid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("kid") references "keyword"("kid")
)
3 rows from publication_keyword table:
Empty DataFrame
Columns: [pid, kid]
Index: []
CREATE TABLE "writes" (
"aid" int,
"pid" int,
primary key ("aid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("aid") references "author"("aid")
)
3 rows from writes table:
Empty DataFrame
Columns: [aid, pid]
Index: []
CREATE TABLE "cite" (
"cited" int,
"citing" int,
foreign key("cited") references "publication"("pid"),
foreign key("citing") references "publication"("pid")
)
3 rows from cite table:
Empty DataFrame
Columns: [cited, citing]
Index: []
|
academic | return me the number of papers in VLDB conference containing keyword " Information Retrieval " . | SELECT COUNT ( DISTINCT t4.title ) FROM publication_keyword AS t3 JOIN keyword AS t1 ON t3.kid = t1.kid JOIN publication AS t4 ON t4.pid = t3.pid JOIN conference AS t2 ON t4.cid = t2.cid WHERE t2.name = "VLDB" AND t1.keyword = "Information Retrieval"; | CREATE TABLE "author" (
"aid" int,
"homepage" text,
"name" text,
"oid" int,
primary key("aid")
)
3 rows from author table:
Empty DataFrame
Columns: [aid, homepage, name, oid]
Index: []
CREATE TABLE "conference" (
"cid" int,
"homepage" text,
"name" text,
primary key ("cid")
)
3 rows from conference table:
Empty DataFrame
Columns: [cid, homepage, name]
Index: []
CREATE TABLE "domain" (
"did" int,
"name" text,
primary key ("did")
)
3 rows from domain table:
Empty DataFrame
Columns: [did, name]
Index: []
CREATE TABLE "domain_author" (
"aid" int,
"did" int,
primary key ("did", "aid"),
foreign key("aid") references `author`("aid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_author table:
Empty DataFrame
Columns: [aid, did]
Index: []
CREATE TABLE "domain_conference" (
"cid" int,
"did" int,
primary key ("did", "cid"),
foreign key("cid") references `conference`("cid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_conference table:
Empty DataFrame
Columns: [cid, did]
Index: []
CREATE TABLE "journal" (
"homepage" text,
"jid" int,
"name" text,
primary key("jid")
)
3 rows from journal table:
Empty DataFrame
Columns: [homepage, jid, name]
Index: []
CREATE TABLE "domain_journal" (
"did" int,
"jid" int,
primary key ("did", "jid"),
foreign key("jid") references "journal"("jid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_journal table:
Empty DataFrame
Columns: [did, jid]
Index: []
CREATE TABLE "keyword" (
"keyword" text,
"kid" int,
primary key("kid")
)
3 rows from keyword table:
Empty DataFrame
Columns: [keyword, kid]
Index: []
CREATE TABLE "domain_keyword" (
"did" int,
"kid" int,
primary key ("did", "kid"),
foreign key("kid") references "keyword"("kid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_keyword table:
Empty DataFrame
Columns: [did, kid]
Index: []
CREATE TABLE "publication" (
"abstract" text,
"cid" text,
"citation_num" int,
"jid" int,
"pid" int,
"reference_num" int,
"title" text,
"year" int,
primary key("pid"),
foreign key("jid") references "journal"("jid"),
foreign key("cid") references "conference"("cid")
)
3 rows from publication table:
Empty DataFrame
Columns: [abstract, cid, citation_num, jid, pid, reference_num, title, year]
Index: []
CREATE TABLE "domain_publication" (
"did" int,
"pid" int,
primary key ("did", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_publication table:
Empty DataFrame
Columns: [did, pid]
Index: []
CREATE TABLE "organization" (
"continent" text,
"homepage" text,
"name" text,
"oid" int,
primary key("oid")
)
3 rows from organization table:
Empty DataFrame
Columns: [continent, homepage, name, oid]
Index: []
CREATE TABLE "publication_keyword" (
"pid" int,
"kid" int,
primary key ("kid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("kid") references "keyword"("kid")
)
3 rows from publication_keyword table:
Empty DataFrame
Columns: [pid, kid]
Index: []
CREATE TABLE "writes" (
"aid" int,
"pid" int,
primary key ("aid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("aid") references "author"("aid")
)
3 rows from writes table:
Empty DataFrame
Columns: [aid, pid]
Index: []
CREATE TABLE "cite" (
"cited" int,
"citing" int,
foreign key("cited") references "publication"("pid"),
foreign key("citing") references "publication"("pid")
)
3 rows from cite table:
Empty DataFrame
Columns: [cited, citing]
Index: []
|
academic | return me the number of authors who have papers containing keyword " Relational Database " . | SELECT COUNT ( DISTINCT t2.name ) FROM publication_keyword AS t5 JOIN keyword AS t1 ON t5.kid = t1.kid JOIN publication AS t3 ON t3.pid = t5.pid JOIN writes AS t4 ON t4.pid = t3.pid JOIN author AS t2 ON t4.aid = t2.aid WHERE t1.keyword = "Relational Database"; | CREATE TABLE "author" (
"aid" int,
"homepage" text,
"name" text,
"oid" int,
primary key("aid")
)
3 rows from author table:
Empty DataFrame
Columns: [aid, homepage, name, oid]
Index: []
CREATE TABLE "conference" (
"cid" int,
"homepage" text,
"name" text,
primary key ("cid")
)
3 rows from conference table:
Empty DataFrame
Columns: [cid, homepage, name]
Index: []
CREATE TABLE "domain" (
"did" int,
"name" text,
primary key ("did")
)
3 rows from domain table:
Empty DataFrame
Columns: [did, name]
Index: []
CREATE TABLE "domain_author" (
"aid" int,
"did" int,
primary key ("did", "aid"),
foreign key("aid") references `author`("aid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_author table:
Empty DataFrame
Columns: [aid, did]
Index: []
CREATE TABLE "domain_conference" (
"cid" int,
"did" int,
primary key ("did", "cid"),
foreign key("cid") references `conference`("cid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_conference table:
Empty DataFrame
Columns: [cid, did]
Index: []
CREATE TABLE "journal" (
"homepage" text,
"jid" int,
"name" text,
primary key("jid")
)
3 rows from journal table:
Empty DataFrame
Columns: [homepage, jid, name]
Index: []
CREATE TABLE "domain_journal" (
"did" int,
"jid" int,
primary key ("did", "jid"),
foreign key("jid") references "journal"("jid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_journal table:
Empty DataFrame
Columns: [did, jid]
Index: []
CREATE TABLE "keyword" (
"keyword" text,
"kid" int,
primary key("kid")
)
3 rows from keyword table:
Empty DataFrame
Columns: [keyword, kid]
Index: []
CREATE TABLE "domain_keyword" (
"did" int,
"kid" int,
primary key ("did", "kid"),
foreign key("kid") references "keyword"("kid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_keyword table:
Empty DataFrame
Columns: [did, kid]
Index: []
CREATE TABLE "publication" (
"abstract" text,
"cid" text,
"citation_num" int,
"jid" int,
"pid" int,
"reference_num" int,
"title" text,
"year" int,
primary key("pid"),
foreign key("jid") references "journal"("jid"),
foreign key("cid") references "conference"("cid")
)
3 rows from publication table:
Empty DataFrame
Columns: [abstract, cid, citation_num, jid, pid, reference_num, title, year]
Index: []
CREATE TABLE "domain_publication" (
"did" int,
"pid" int,
primary key ("did", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_publication table:
Empty DataFrame
Columns: [did, pid]
Index: []
CREATE TABLE "organization" (
"continent" text,
"homepage" text,
"name" text,
"oid" int,
primary key("oid")
)
3 rows from organization table:
Empty DataFrame
Columns: [continent, homepage, name, oid]
Index: []
CREATE TABLE "publication_keyword" (
"pid" int,
"kid" int,
primary key ("kid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("kid") references "keyword"("kid")
)
3 rows from publication_keyword table:
Empty DataFrame
Columns: [pid, kid]
Index: []
CREATE TABLE "writes" (
"aid" int,
"pid" int,
primary key ("aid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("aid") references "author"("aid")
)
3 rows from writes table:
Empty DataFrame
Columns: [aid, pid]
Index: []
CREATE TABLE "cite" (
"cited" int,
"citing" int,
foreign key("cited") references "publication"("pid"),
foreign key("citing") references "publication"("pid")
)
3 rows from cite table:
Empty DataFrame
Columns: [cited, citing]
Index: []
|
academic | return me the total citations of the papers containing keyword " Natural Language " | SELECT SUM ( t3.citation_num ) FROM publication_keyword AS t2 JOIN keyword AS t1 ON t2.kid = t1.kid JOIN publication AS t3 ON t3.pid = t2.pid WHERE t1.keyword = "Natural Language"; | CREATE TABLE "author" (
"aid" int,
"homepage" text,
"name" text,
"oid" int,
primary key("aid")
)
3 rows from author table:
Empty DataFrame
Columns: [aid, homepage, name, oid]
Index: []
CREATE TABLE "conference" (
"cid" int,
"homepage" text,
"name" text,
primary key ("cid")
)
3 rows from conference table:
Empty DataFrame
Columns: [cid, homepage, name]
Index: []
CREATE TABLE "domain" (
"did" int,
"name" text,
primary key ("did")
)
3 rows from domain table:
Empty DataFrame
Columns: [did, name]
Index: []
CREATE TABLE "domain_author" (
"aid" int,
"did" int,
primary key ("did", "aid"),
foreign key("aid") references `author`("aid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_author table:
Empty DataFrame
Columns: [aid, did]
Index: []
CREATE TABLE "domain_conference" (
"cid" int,
"did" int,
primary key ("did", "cid"),
foreign key("cid") references `conference`("cid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_conference table:
Empty DataFrame
Columns: [cid, did]
Index: []
CREATE TABLE "journal" (
"homepage" text,
"jid" int,
"name" text,
primary key("jid")
)
3 rows from journal table:
Empty DataFrame
Columns: [homepage, jid, name]
Index: []
CREATE TABLE "domain_journal" (
"did" int,
"jid" int,
primary key ("did", "jid"),
foreign key("jid") references "journal"("jid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_journal table:
Empty DataFrame
Columns: [did, jid]
Index: []
CREATE TABLE "keyword" (
"keyword" text,
"kid" int,
primary key("kid")
)
3 rows from keyword table:
Empty DataFrame
Columns: [keyword, kid]
Index: []
CREATE TABLE "domain_keyword" (
"did" int,
"kid" int,
primary key ("did", "kid"),
foreign key("kid") references "keyword"("kid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_keyword table:
Empty DataFrame
Columns: [did, kid]
Index: []
CREATE TABLE "publication" (
"abstract" text,
"cid" text,
"citation_num" int,
"jid" int,
"pid" int,
"reference_num" int,
"title" text,
"year" int,
primary key("pid"),
foreign key("jid") references "journal"("jid"),
foreign key("cid") references "conference"("cid")
)
3 rows from publication table:
Empty DataFrame
Columns: [abstract, cid, citation_num, jid, pid, reference_num, title, year]
Index: []
CREATE TABLE "domain_publication" (
"did" int,
"pid" int,
primary key ("did", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_publication table:
Empty DataFrame
Columns: [did, pid]
Index: []
CREATE TABLE "organization" (
"continent" text,
"homepage" text,
"name" text,
"oid" int,
primary key("oid")
)
3 rows from organization table:
Empty DataFrame
Columns: [continent, homepage, name, oid]
Index: []
CREATE TABLE "publication_keyword" (
"pid" int,
"kid" int,
primary key ("kid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("kid") references "keyword"("kid")
)
3 rows from publication_keyword table:
Empty DataFrame
Columns: [pid, kid]
Index: []
CREATE TABLE "writes" (
"aid" int,
"pid" int,
primary key ("aid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("aid") references "author"("aid")
)
3 rows from writes table:
Empty DataFrame
Columns: [aid, pid]
Index: []
CREATE TABLE "cite" (
"cited" int,
"citing" int,
foreign key("cited") references "publication"("pid"),
foreign key("citing") references "publication"("pid")
)
3 rows from cite table:
Empty DataFrame
Columns: [cited, citing]
Index: []
|
academic | return me the number of the organizations . | SELECT COUNT ( DISTINCT name ) FROM organization; | CREATE TABLE "author" (
"aid" int,
"homepage" text,
"name" text,
"oid" int,
primary key("aid")
)
3 rows from author table:
Empty DataFrame
Columns: [aid, homepage, name, oid]
Index: []
CREATE TABLE "conference" (
"cid" int,
"homepage" text,
"name" text,
primary key ("cid")
)
3 rows from conference table:
Empty DataFrame
Columns: [cid, homepage, name]
Index: []
CREATE TABLE "domain" (
"did" int,
"name" text,
primary key ("did")
)
3 rows from domain table:
Empty DataFrame
Columns: [did, name]
Index: []
CREATE TABLE "domain_author" (
"aid" int,
"did" int,
primary key ("did", "aid"),
foreign key("aid") references `author`("aid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_author table:
Empty DataFrame
Columns: [aid, did]
Index: []
CREATE TABLE "domain_conference" (
"cid" int,
"did" int,
primary key ("did", "cid"),
foreign key("cid") references `conference`("cid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_conference table:
Empty DataFrame
Columns: [cid, did]
Index: []
CREATE TABLE "journal" (
"homepage" text,
"jid" int,
"name" text,
primary key("jid")
)
3 rows from journal table:
Empty DataFrame
Columns: [homepage, jid, name]
Index: []
CREATE TABLE "domain_journal" (
"did" int,
"jid" int,
primary key ("did", "jid"),
foreign key("jid") references "journal"("jid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_journal table:
Empty DataFrame
Columns: [did, jid]
Index: []
CREATE TABLE "keyword" (
"keyword" text,
"kid" int,
primary key("kid")
)
3 rows from keyword table:
Empty DataFrame
Columns: [keyword, kid]
Index: []
CREATE TABLE "domain_keyword" (
"did" int,
"kid" int,
primary key ("did", "kid"),
foreign key("kid") references "keyword"("kid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_keyword table:
Empty DataFrame
Columns: [did, kid]
Index: []
CREATE TABLE "publication" (
"abstract" text,
"cid" text,
"citation_num" int,
"jid" int,
"pid" int,
"reference_num" int,
"title" text,
"year" int,
primary key("pid"),
foreign key("jid") references "journal"("jid"),
foreign key("cid") references "conference"("cid")
)
3 rows from publication table:
Empty DataFrame
Columns: [abstract, cid, citation_num, jid, pid, reference_num, title, year]
Index: []
CREATE TABLE "domain_publication" (
"did" int,
"pid" int,
primary key ("did", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_publication table:
Empty DataFrame
Columns: [did, pid]
Index: []
CREATE TABLE "organization" (
"continent" text,
"homepage" text,
"name" text,
"oid" int,
primary key("oid")
)
3 rows from organization table:
Empty DataFrame
Columns: [continent, homepage, name, oid]
Index: []
CREATE TABLE "publication_keyword" (
"pid" int,
"kid" int,
primary key ("kid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("kid") references "keyword"("kid")
)
3 rows from publication_keyword table:
Empty DataFrame
Columns: [pid, kid]
Index: []
CREATE TABLE "writes" (
"aid" int,
"pid" int,
primary key ("aid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("aid") references "author"("aid")
)
3 rows from writes table:
Empty DataFrame
Columns: [aid, pid]
Index: []
CREATE TABLE "cite" (
"cited" int,
"citing" int,
foreign key("cited") references "publication"("pid"),
foreign key("citing") references "publication"("pid")
)
3 rows from cite table:
Empty DataFrame
Columns: [cited, citing]
Index: []
|
academic | return me the number of the organizations in " North America " . | SELECT COUNT ( DISTINCT name ) FROM organization WHERE continent = "North America"; | CREATE TABLE "author" (
"aid" int,
"homepage" text,
"name" text,
"oid" int,
primary key("aid")
)
3 rows from author table:
Empty DataFrame
Columns: [aid, homepage, name, oid]
Index: []
CREATE TABLE "conference" (
"cid" int,
"homepage" text,
"name" text,
primary key ("cid")
)
3 rows from conference table:
Empty DataFrame
Columns: [cid, homepage, name]
Index: []
CREATE TABLE "domain" (
"did" int,
"name" text,
primary key ("did")
)
3 rows from domain table:
Empty DataFrame
Columns: [did, name]
Index: []
CREATE TABLE "domain_author" (
"aid" int,
"did" int,
primary key ("did", "aid"),
foreign key("aid") references `author`("aid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_author table:
Empty DataFrame
Columns: [aid, did]
Index: []
CREATE TABLE "domain_conference" (
"cid" int,
"did" int,
primary key ("did", "cid"),
foreign key("cid") references `conference`("cid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_conference table:
Empty DataFrame
Columns: [cid, did]
Index: []
CREATE TABLE "journal" (
"homepage" text,
"jid" int,
"name" text,
primary key("jid")
)
3 rows from journal table:
Empty DataFrame
Columns: [homepage, jid, name]
Index: []
CREATE TABLE "domain_journal" (
"did" int,
"jid" int,
primary key ("did", "jid"),
foreign key("jid") references "journal"("jid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_journal table:
Empty DataFrame
Columns: [did, jid]
Index: []
CREATE TABLE "keyword" (
"keyword" text,
"kid" int,
primary key("kid")
)
3 rows from keyword table:
Empty DataFrame
Columns: [keyword, kid]
Index: []
CREATE TABLE "domain_keyword" (
"did" int,
"kid" int,
primary key ("did", "kid"),
foreign key("kid") references "keyword"("kid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_keyword table:
Empty DataFrame
Columns: [did, kid]
Index: []
CREATE TABLE "publication" (
"abstract" text,
"cid" text,
"citation_num" int,
"jid" int,
"pid" int,
"reference_num" int,
"title" text,
"year" int,
primary key("pid"),
foreign key("jid") references "journal"("jid"),
foreign key("cid") references "conference"("cid")
)
3 rows from publication table:
Empty DataFrame
Columns: [abstract, cid, citation_num, jid, pid, reference_num, title, year]
Index: []
CREATE TABLE "domain_publication" (
"did" int,
"pid" int,
primary key ("did", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_publication table:
Empty DataFrame
Columns: [did, pid]
Index: []
CREATE TABLE "organization" (
"continent" text,
"homepage" text,
"name" text,
"oid" int,
primary key("oid")
)
3 rows from organization table:
Empty DataFrame
Columns: [continent, homepage, name, oid]
Index: []
CREATE TABLE "publication_keyword" (
"pid" int,
"kid" int,
primary key ("kid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("kid") references "keyword"("kid")
)
3 rows from publication_keyword table:
Empty DataFrame
Columns: [pid, kid]
Index: []
CREATE TABLE "writes" (
"aid" int,
"pid" int,
primary key ("aid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("aid") references "author"("aid")
)
3 rows from writes table:
Empty DataFrame
Columns: [aid, pid]
Index: []
CREATE TABLE "cite" (
"cited" int,
"citing" int,
foreign key("cited") references "publication"("pid"),
foreign key("citing") references "publication"("pid")
)
3 rows from cite table:
Empty DataFrame
Columns: [cited, citing]
Index: []
|
academic | return me the number of organizations in Databases area . | SELECT COUNT ( DISTINCT t2.name ) FROM domain_author AS t4 JOIN author AS t1 ON t4.aid = t1.aid JOIN DOMAIN AS t3 ON t3.did = t4.did JOIN organization AS t2 ON t2.oid = t1.oid WHERE t3.name = "Databases"; | CREATE TABLE "author" (
"aid" int,
"homepage" text,
"name" text,
"oid" int,
primary key("aid")
)
3 rows from author table:
Empty DataFrame
Columns: [aid, homepage, name, oid]
Index: []
CREATE TABLE "conference" (
"cid" int,
"homepage" text,
"name" text,
primary key ("cid")
)
3 rows from conference table:
Empty DataFrame
Columns: [cid, homepage, name]
Index: []
CREATE TABLE "domain" (
"did" int,
"name" text,
primary key ("did")
)
3 rows from domain table:
Empty DataFrame
Columns: [did, name]
Index: []
CREATE TABLE "domain_author" (
"aid" int,
"did" int,
primary key ("did", "aid"),
foreign key("aid") references `author`("aid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_author table:
Empty DataFrame
Columns: [aid, did]
Index: []
CREATE TABLE "domain_conference" (
"cid" int,
"did" int,
primary key ("did", "cid"),
foreign key("cid") references `conference`("cid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_conference table:
Empty DataFrame
Columns: [cid, did]
Index: []
CREATE TABLE "journal" (
"homepage" text,
"jid" int,
"name" text,
primary key("jid")
)
3 rows from journal table:
Empty DataFrame
Columns: [homepage, jid, name]
Index: []
CREATE TABLE "domain_journal" (
"did" int,
"jid" int,
primary key ("did", "jid"),
foreign key("jid") references "journal"("jid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_journal table:
Empty DataFrame
Columns: [did, jid]
Index: []
CREATE TABLE "keyword" (
"keyword" text,
"kid" int,
primary key("kid")
)
3 rows from keyword table:
Empty DataFrame
Columns: [keyword, kid]
Index: []
CREATE TABLE "domain_keyword" (
"did" int,
"kid" int,
primary key ("did", "kid"),
foreign key("kid") references "keyword"("kid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_keyword table:
Empty DataFrame
Columns: [did, kid]
Index: []
CREATE TABLE "publication" (
"abstract" text,
"cid" text,
"citation_num" int,
"jid" int,
"pid" int,
"reference_num" int,
"title" text,
"year" int,
primary key("pid"),
foreign key("jid") references "journal"("jid"),
foreign key("cid") references "conference"("cid")
)
3 rows from publication table:
Empty DataFrame
Columns: [abstract, cid, citation_num, jid, pid, reference_num, title, year]
Index: []
CREATE TABLE "domain_publication" (
"did" int,
"pid" int,
primary key ("did", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_publication table:
Empty DataFrame
Columns: [did, pid]
Index: []
CREATE TABLE "organization" (
"continent" text,
"homepage" text,
"name" text,
"oid" int,
primary key("oid")
)
3 rows from organization table:
Empty DataFrame
Columns: [continent, homepage, name, oid]
Index: []
CREATE TABLE "publication_keyword" (
"pid" int,
"kid" int,
primary key ("kid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("kid") references "keyword"("kid")
)
3 rows from publication_keyword table:
Empty DataFrame
Columns: [pid, kid]
Index: []
CREATE TABLE "writes" (
"aid" int,
"pid" int,
primary key ("aid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("aid") references "author"("aid")
)
3 rows from writes table:
Empty DataFrame
Columns: [aid, pid]
Index: []
CREATE TABLE "cite" (
"cited" int,
"citing" int,
foreign key("cited") references "publication"("pid"),
foreign key("citing") references "publication"("pid")
)
3 rows from cite table:
Empty DataFrame
Columns: [cited, citing]
Index: []
|
academic | return me the number of organizations in Databases area located in " North America " . | SELECT COUNT ( DISTINCT t2.name ) FROM domain_author AS t4 JOIN author AS t1 ON t4.aid = t1.aid JOIN DOMAIN AS t3 ON t3.did = t4.did JOIN organization AS t2 ON t2.oid = t1.oid WHERE t3.name = "Databases" AND t2.continent = "North America"; | CREATE TABLE "author" (
"aid" int,
"homepage" text,
"name" text,
"oid" int,
primary key("aid")
)
3 rows from author table:
Empty DataFrame
Columns: [aid, homepage, name, oid]
Index: []
CREATE TABLE "conference" (
"cid" int,
"homepage" text,
"name" text,
primary key ("cid")
)
3 rows from conference table:
Empty DataFrame
Columns: [cid, homepage, name]
Index: []
CREATE TABLE "domain" (
"did" int,
"name" text,
primary key ("did")
)
3 rows from domain table:
Empty DataFrame
Columns: [did, name]
Index: []
CREATE TABLE "domain_author" (
"aid" int,
"did" int,
primary key ("did", "aid"),
foreign key("aid") references `author`("aid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_author table:
Empty DataFrame
Columns: [aid, did]
Index: []
CREATE TABLE "domain_conference" (
"cid" int,
"did" int,
primary key ("did", "cid"),
foreign key("cid") references `conference`("cid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_conference table:
Empty DataFrame
Columns: [cid, did]
Index: []
CREATE TABLE "journal" (
"homepage" text,
"jid" int,
"name" text,
primary key("jid")
)
3 rows from journal table:
Empty DataFrame
Columns: [homepage, jid, name]
Index: []
CREATE TABLE "domain_journal" (
"did" int,
"jid" int,
primary key ("did", "jid"),
foreign key("jid") references "journal"("jid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_journal table:
Empty DataFrame
Columns: [did, jid]
Index: []
CREATE TABLE "keyword" (
"keyword" text,
"kid" int,
primary key("kid")
)
3 rows from keyword table:
Empty DataFrame
Columns: [keyword, kid]
Index: []
CREATE TABLE "domain_keyword" (
"did" int,
"kid" int,
primary key ("did", "kid"),
foreign key("kid") references "keyword"("kid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_keyword table:
Empty DataFrame
Columns: [did, kid]
Index: []
CREATE TABLE "publication" (
"abstract" text,
"cid" text,
"citation_num" int,
"jid" int,
"pid" int,
"reference_num" int,
"title" text,
"year" int,
primary key("pid"),
foreign key("jid") references "journal"("jid"),
foreign key("cid") references "conference"("cid")
)
3 rows from publication table:
Empty DataFrame
Columns: [abstract, cid, citation_num, jid, pid, reference_num, title, year]
Index: []
CREATE TABLE "domain_publication" (
"did" int,
"pid" int,
primary key ("did", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_publication table:
Empty DataFrame
Columns: [did, pid]
Index: []
CREATE TABLE "organization" (
"continent" text,
"homepage" text,
"name" text,
"oid" int,
primary key("oid")
)
3 rows from organization table:
Empty DataFrame
Columns: [continent, homepage, name, oid]
Index: []
CREATE TABLE "publication_keyword" (
"pid" int,
"kid" int,
primary key ("kid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("kid") references "keyword"("kid")
)
3 rows from publication_keyword table:
Empty DataFrame
Columns: [pid, kid]
Index: []
CREATE TABLE "writes" (
"aid" int,
"pid" int,
primary key ("aid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("aid") references "author"("aid")
)
3 rows from writes table:
Empty DataFrame
Columns: [aid, pid]
Index: []
CREATE TABLE "cite" (
"cited" int,
"citing" int,
foreign key("cited") references "publication"("pid"),
foreign key("citing") references "publication"("pid")
)
3 rows from cite table:
Empty DataFrame
Columns: [cited, citing]
Index: []
|
academic | return me the number of papers in " University of Michigan " . | SELECT COUNT ( DISTINCT t4.title ) FROM organization AS t2 JOIN author AS t1 ON t2.oid = t1.oid JOIN writes AS t3 ON t3.aid = t1.aid JOIN publication AS t4 ON t3.pid = t4.pid WHERE t2.name = "University of Michigan"; | CREATE TABLE "author" (
"aid" int,
"homepage" text,
"name" text,
"oid" int,
primary key("aid")
)
3 rows from author table:
Empty DataFrame
Columns: [aid, homepage, name, oid]
Index: []
CREATE TABLE "conference" (
"cid" int,
"homepage" text,
"name" text,
primary key ("cid")
)
3 rows from conference table:
Empty DataFrame
Columns: [cid, homepage, name]
Index: []
CREATE TABLE "domain" (
"did" int,
"name" text,
primary key ("did")
)
3 rows from domain table:
Empty DataFrame
Columns: [did, name]
Index: []
CREATE TABLE "domain_author" (
"aid" int,
"did" int,
primary key ("did", "aid"),
foreign key("aid") references `author`("aid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_author table:
Empty DataFrame
Columns: [aid, did]
Index: []
CREATE TABLE "domain_conference" (
"cid" int,
"did" int,
primary key ("did", "cid"),
foreign key("cid") references `conference`("cid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_conference table:
Empty DataFrame
Columns: [cid, did]
Index: []
CREATE TABLE "journal" (
"homepage" text,
"jid" int,
"name" text,
primary key("jid")
)
3 rows from journal table:
Empty DataFrame
Columns: [homepage, jid, name]
Index: []
CREATE TABLE "domain_journal" (
"did" int,
"jid" int,
primary key ("did", "jid"),
foreign key("jid") references "journal"("jid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_journal table:
Empty DataFrame
Columns: [did, jid]
Index: []
CREATE TABLE "keyword" (
"keyword" text,
"kid" int,
primary key("kid")
)
3 rows from keyword table:
Empty DataFrame
Columns: [keyword, kid]
Index: []
CREATE TABLE "domain_keyword" (
"did" int,
"kid" int,
primary key ("did", "kid"),
foreign key("kid") references "keyword"("kid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_keyword table:
Empty DataFrame
Columns: [did, kid]
Index: []
CREATE TABLE "publication" (
"abstract" text,
"cid" text,
"citation_num" int,
"jid" int,
"pid" int,
"reference_num" int,
"title" text,
"year" int,
primary key("pid"),
foreign key("jid") references "journal"("jid"),
foreign key("cid") references "conference"("cid")
)
3 rows from publication table:
Empty DataFrame
Columns: [abstract, cid, citation_num, jid, pid, reference_num, title, year]
Index: []
CREATE TABLE "domain_publication" (
"did" int,
"pid" int,
primary key ("did", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_publication table:
Empty DataFrame
Columns: [did, pid]
Index: []
CREATE TABLE "organization" (
"continent" text,
"homepage" text,
"name" text,
"oid" int,
primary key("oid")
)
3 rows from organization table:
Empty DataFrame
Columns: [continent, homepage, name, oid]
Index: []
CREATE TABLE "publication_keyword" (
"pid" int,
"kid" int,
primary key ("kid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("kid") references "keyword"("kid")
)
3 rows from publication_keyword table:
Empty DataFrame
Columns: [pid, kid]
Index: []
CREATE TABLE "writes" (
"aid" int,
"pid" int,
primary key ("aid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("aid") references "author"("aid")
)
3 rows from writes table:
Empty DataFrame
Columns: [aid, pid]
Index: []
CREATE TABLE "cite" (
"cited" int,
"citing" int,
foreign key("cited") references "publication"("pid"),
foreign key("citing") references "publication"("pid")
)
3 rows from cite table:
Empty DataFrame
Columns: [cited, citing]
Index: []
|
academic | return me the number of papers in " University of Michigan " in Databases area . | SELECT COUNT ( DISTINCT t4.title ) FROM domain_author AS t6 JOIN author AS t1 ON t6.aid = t1.aid JOIN DOMAIN AS t3 ON t3.did = t6.did JOIN domain_publication AS t2 ON t3.did = t2.did JOIN organization AS t5 ON t5.oid = t1.oid JOIN publication AS t4 ON t4.pid = t2.pid WHERE t3.name = "Databases" AND t5.name = "University of Michigan"; | CREATE TABLE "author" (
"aid" int,
"homepage" text,
"name" text,
"oid" int,
primary key("aid")
)
3 rows from author table:
Empty DataFrame
Columns: [aid, homepage, name, oid]
Index: []
CREATE TABLE "conference" (
"cid" int,
"homepage" text,
"name" text,
primary key ("cid")
)
3 rows from conference table:
Empty DataFrame
Columns: [cid, homepage, name]
Index: []
CREATE TABLE "domain" (
"did" int,
"name" text,
primary key ("did")
)
3 rows from domain table:
Empty DataFrame
Columns: [did, name]
Index: []
CREATE TABLE "domain_author" (
"aid" int,
"did" int,
primary key ("did", "aid"),
foreign key("aid") references `author`("aid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_author table:
Empty DataFrame
Columns: [aid, did]
Index: []
CREATE TABLE "domain_conference" (
"cid" int,
"did" int,
primary key ("did", "cid"),
foreign key("cid") references `conference`("cid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_conference table:
Empty DataFrame
Columns: [cid, did]
Index: []
CREATE TABLE "journal" (
"homepage" text,
"jid" int,
"name" text,
primary key("jid")
)
3 rows from journal table:
Empty DataFrame
Columns: [homepage, jid, name]
Index: []
CREATE TABLE "domain_journal" (
"did" int,
"jid" int,
primary key ("did", "jid"),
foreign key("jid") references "journal"("jid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_journal table:
Empty DataFrame
Columns: [did, jid]
Index: []
CREATE TABLE "keyword" (
"keyword" text,
"kid" int,
primary key("kid")
)
3 rows from keyword table:
Empty DataFrame
Columns: [keyword, kid]
Index: []
CREATE TABLE "domain_keyword" (
"did" int,
"kid" int,
primary key ("did", "kid"),
foreign key("kid") references "keyword"("kid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_keyword table:
Empty DataFrame
Columns: [did, kid]
Index: []
CREATE TABLE "publication" (
"abstract" text,
"cid" text,
"citation_num" int,
"jid" int,
"pid" int,
"reference_num" int,
"title" text,
"year" int,
primary key("pid"),
foreign key("jid") references "journal"("jid"),
foreign key("cid") references "conference"("cid")
)
3 rows from publication table:
Empty DataFrame
Columns: [abstract, cid, citation_num, jid, pid, reference_num, title, year]
Index: []
CREATE TABLE "domain_publication" (
"did" int,
"pid" int,
primary key ("did", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_publication table:
Empty DataFrame
Columns: [did, pid]
Index: []
CREATE TABLE "organization" (
"continent" text,
"homepage" text,
"name" text,
"oid" int,
primary key("oid")
)
3 rows from organization table:
Empty DataFrame
Columns: [continent, homepage, name, oid]
Index: []
CREATE TABLE "publication_keyword" (
"pid" int,
"kid" int,
primary key ("kid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("kid") references "keyword"("kid")
)
3 rows from publication_keyword table:
Empty DataFrame
Columns: [pid, kid]
Index: []
CREATE TABLE "writes" (
"aid" int,
"pid" int,
primary key ("aid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("aid") references "author"("aid")
)
3 rows from writes table:
Empty DataFrame
Columns: [aid, pid]
Index: []
CREATE TABLE "cite" (
"cited" int,
"citing" int,
foreign key("cited") references "publication"("pid"),
foreign key("citing") references "publication"("pid")
)
3 rows from cite table:
Empty DataFrame
Columns: [cited, citing]
Index: []
|
academic | return me the number of papers after 2000 in " University of Michigan " . | SELECT COUNT ( DISTINCT t4.title ) FROM organization AS t2 JOIN author AS t1 ON t2.oid = t1.oid JOIN writes AS t3 ON t3.aid = t1.aid JOIN publication AS t4 ON t3.pid = t4.pid WHERE t2.name = "University of Michigan" AND t4.year > 2000; | CREATE TABLE "author" (
"aid" int,
"homepage" text,
"name" text,
"oid" int,
primary key("aid")
)
3 rows from author table:
Empty DataFrame
Columns: [aid, homepage, name, oid]
Index: []
CREATE TABLE "conference" (
"cid" int,
"homepage" text,
"name" text,
primary key ("cid")
)
3 rows from conference table:
Empty DataFrame
Columns: [cid, homepage, name]
Index: []
CREATE TABLE "domain" (
"did" int,
"name" text,
primary key ("did")
)
3 rows from domain table:
Empty DataFrame
Columns: [did, name]
Index: []
CREATE TABLE "domain_author" (
"aid" int,
"did" int,
primary key ("did", "aid"),
foreign key("aid") references `author`("aid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_author table:
Empty DataFrame
Columns: [aid, did]
Index: []
CREATE TABLE "domain_conference" (
"cid" int,
"did" int,
primary key ("did", "cid"),
foreign key("cid") references `conference`("cid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_conference table:
Empty DataFrame
Columns: [cid, did]
Index: []
CREATE TABLE "journal" (
"homepage" text,
"jid" int,
"name" text,
primary key("jid")
)
3 rows from journal table:
Empty DataFrame
Columns: [homepage, jid, name]
Index: []
CREATE TABLE "domain_journal" (
"did" int,
"jid" int,
primary key ("did", "jid"),
foreign key("jid") references "journal"("jid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_journal table:
Empty DataFrame
Columns: [did, jid]
Index: []
CREATE TABLE "keyword" (
"keyword" text,
"kid" int,
primary key("kid")
)
3 rows from keyword table:
Empty DataFrame
Columns: [keyword, kid]
Index: []
CREATE TABLE "domain_keyword" (
"did" int,
"kid" int,
primary key ("did", "kid"),
foreign key("kid") references "keyword"("kid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_keyword table:
Empty DataFrame
Columns: [did, kid]
Index: []
CREATE TABLE "publication" (
"abstract" text,
"cid" text,
"citation_num" int,
"jid" int,
"pid" int,
"reference_num" int,
"title" text,
"year" int,
primary key("pid"),
foreign key("jid") references "journal"("jid"),
foreign key("cid") references "conference"("cid")
)
3 rows from publication table:
Empty DataFrame
Columns: [abstract, cid, citation_num, jid, pid, reference_num, title, year]
Index: []
CREATE TABLE "domain_publication" (
"did" int,
"pid" int,
primary key ("did", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_publication table:
Empty DataFrame
Columns: [did, pid]
Index: []
CREATE TABLE "organization" (
"continent" text,
"homepage" text,
"name" text,
"oid" int,
primary key("oid")
)
3 rows from organization table:
Empty DataFrame
Columns: [continent, homepage, name, oid]
Index: []
CREATE TABLE "publication_keyword" (
"pid" int,
"kid" int,
primary key ("kid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("kid") references "keyword"("kid")
)
3 rows from publication_keyword table:
Empty DataFrame
Columns: [pid, kid]
Index: []
CREATE TABLE "writes" (
"aid" int,
"pid" int,
primary key ("aid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("aid") references "author"("aid")
)
3 rows from writes table:
Empty DataFrame
Columns: [aid, pid]
Index: []
CREATE TABLE "cite" (
"cited" int,
"citing" int,
foreign key("cited") references "publication"("pid"),
foreign key("citing") references "publication"("pid")
)
3 rows from cite table:
Empty DataFrame
Columns: [cited, citing]
Index: []
|
academic | return me the number of papers in VLDB conference in " University of Michigan " . | SELECT COUNT ( DISTINCT t5.title ) FROM organization AS t3 JOIN author AS t1 ON t3.oid = t1.oid JOIN writes AS t4 ON t4.aid = t1.aid JOIN publication AS t5 ON t4.pid = t5.pid JOIN conference AS t2 ON t5.cid = t2.cid WHERE t2.name = "VLDB" AND t3.name = "University of Michigan"; | CREATE TABLE "author" (
"aid" int,
"homepage" text,
"name" text,
"oid" int,
primary key("aid")
)
3 rows from author table:
Empty DataFrame
Columns: [aid, homepage, name, oid]
Index: []
CREATE TABLE "conference" (
"cid" int,
"homepage" text,
"name" text,
primary key ("cid")
)
3 rows from conference table:
Empty DataFrame
Columns: [cid, homepage, name]
Index: []
CREATE TABLE "domain" (
"did" int,
"name" text,
primary key ("did")
)
3 rows from domain table:
Empty DataFrame
Columns: [did, name]
Index: []
CREATE TABLE "domain_author" (
"aid" int,
"did" int,
primary key ("did", "aid"),
foreign key("aid") references `author`("aid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_author table:
Empty DataFrame
Columns: [aid, did]
Index: []
CREATE TABLE "domain_conference" (
"cid" int,
"did" int,
primary key ("did", "cid"),
foreign key("cid") references `conference`("cid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_conference table:
Empty DataFrame
Columns: [cid, did]
Index: []
CREATE TABLE "journal" (
"homepage" text,
"jid" int,
"name" text,
primary key("jid")
)
3 rows from journal table:
Empty DataFrame
Columns: [homepage, jid, name]
Index: []
CREATE TABLE "domain_journal" (
"did" int,
"jid" int,
primary key ("did", "jid"),
foreign key("jid") references "journal"("jid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_journal table:
Empty DataFrame
Columns: [did, jid]
Index: []
CREATE TABLE "keyword" (
"keyword" text,
"kid" int,
primary key("kid")
)
3 rows from keyword table:
Empty DataFrame
Columns: [keyword, kid]
Index: []
CREATE TABLE "domain_keyword" (
"did" int,
"kid" int,
primary key ("did", "kid"),
foreign key("kid") references "keyword"("kid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_keyword table:
Empty DataFrame
Columns: [did, kid]
Index: []
CREATE TABLE "publication" (
"abstract" text,
"cid" text,
"citation_num" int,
"jid" int,
"pid" int,
"reference_num" int,
"title" text,
"year" int,
primary key("pid"),
foreign key("jid") references "journal"("jid"),
foreign key("cid") references "conference"("cid")
)
3 rows from publication table:
Empty DataFrame
Columns: [abstract, cid, citation_num, jid, pid, reference_num, title, year]
Index: []
CREATE TABLE "domain_publication" (
"did" int,
"pid" int,
primary key ("did", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_publication table:
Empty DataFrame
Columns: [did, pid]
Index: []
CREATE TABLE "organization" (
"continent" text,
"homepage" text,
"name" text,
"oid" int,
primary key("oid")
)
3 rows from organization table:
Empty DataFrame
Columns: [continent, homepage, name, oid]
Index: []
CREATE TABLE "publication_keyword" (
"pid" int,
"kid" int,
primary key ("kid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("kid") references "keyword"("kid")
)
3 rows from publication_keyword table:
Empty DataFrame
Columns: [pid, kid]
Index: []
CREATE TABLE "writes" (
"aid" int,
"pid" int,
primary key ("aid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("aid") references "author"("aid")
)
3 rows from writes table:
Empty DataFrame
Columns: [aid, pid]
Index: []
CREATE TABLE "cite" (
"cited" int,
"citing" int,
foreign key("cited") references "publication"("pid"),
foreign key("citing") references "publication"("pid")
)
3 rows from cite table:
Empty DataFrame
Columns: [cited, citing]
Index: []
|
academic | return me the number of papers in PVLDB in " University of Michigan " . | SELECT COUNT ( DISTINCT t5.title ) FROM organization AS t2 JOIN author AS t1 ON t2.oid = t1.oid JOIN writes AS t4 ON t4.aid = t1.aid JOIN publication AS t5 ON t4.pid = t5.pid JOIN journal AS t3 ON t5.jid = t3.jid WHERE t3.name = "PVLDB" AND t2.name = "University of Michigan"; | CREATE TABLE "author" (
"aid" int,
"homepage" text,
"name" text,
"oid" int,
primary key("aid")
)
3 rows from author table:
Empty DataFrame
Columns: [aid, homepage, name, oid]
Index: []
CREATE TABLE "conference" (
"cid" int,
"homepage" text,
"name" text,
primary key ("cid")
)
3 rows from conference table:
Empty DataFrame
Columns: [cid, homepage, name]
Index: []
CREATE TABLE "domain" (
"did" int,
"name" text,
primary key ("did")
)
3 rows from domain table:
Empty DataFrame
Columns: [did, name]
Index: []
CREATE TABLE "domain_author" (
"aid" int,
"did" int,
primary key ("did", "aid"),
foreign key("aid") references `author`("aid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_author table:
Empty DataFrame
Columns: [aid, did]
Index: []
CREATE TABLE "domain_conference" (
"cid" int,
"did" int,
primary key ("did", "cid"),
foreign key("cid") references `conference`("cid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_conference table:
Empty DataFrame
Columns: [cid, did]
Index: []
CREATE TABLE "journal" (
"homepage" text,
"jid" int,
"name" text,
primary key("jid")
)
3 rows from journal table:
Empty DataFrame
Columns: [homepage, jid, name]
Index: []
CREATE TABLE "domain_journal" (
"did" int,
"jid" int,
primary key ("did", "jid"),
foreign key("jid") references "journal"("jid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_journal table:
Empty DataFrame
Columns: [did, jid]
Index: []
CREATE TABLE "keyword" (
"keyword" text,
"kid" int,
primary key("kid")
)
3 rows from keyword table:
Empty DataFrame
Columns: [keyword, kid]
Index: []
CREATE TABLE "domain_keyword" (
"did" int,
"kid" int,
primary key ("did", "kid"),
foreign key("kid") references "keyword"("kid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_keyword table:
Empty DataFrame
Columns: [did, kid]
Index: []
CREATE TABLE "publication" (
"abstract" text,
"cid" text,
"citation_num" int,
"jid" int,
"pid" int,
"reference_num" int,
"title" text,
"year" int,
primary key("pid"),
foreign key("jid") references "journal"("jid"),
foreign key("cid") references "conference"("cid")
)
3 rows from publication table:
Empty DataFrame
Columns: [abstract, cid, citation_num, jid, pid, reference_num, title, year]
Index: []
CREATE TABLE "domain_publication" (
"did" int,
"pid" int,
primary key ("did", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_publication table:
Empty DataFrame
Columns: [did, pid]
Index: []
CREATE TABLE "organization" (
"continent" text,
"homepage" text,
"name" text,
"oid" int,
primary key("oid")
)
3 rows from organization table:
Empty DataFrame
Columns: [continent, homepage, name, oid]
Index: []
CREATE TABLE "publication_keyword" (
"pid" int,
"kid" int,
primary key ("kid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("kid") references "keyword"("kid")
)
3 rows from publication_keyword table:
Empty DataFrame
Columns: [pid, kid]
Index: []
CREATE TABLE "writes" (
"aid" int,
"pid" int,
primary key ("aid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("aid") references "author"("aid")
)
3 rows from writes table:
Empty DataFrame
Columns: [aid, pid]
Index: []
CREATE TABLE "cite" (
"cited" int,
"citing" int,
foreign key("cited") references "publication"("pid"),
foreign key("citing") references "publication"("pid")
)
3 rows from cite table:
Empty DataFrame
Columns: [cited, citing]
Index: []
|
academic | return me the number of papers in PVLDB after 2000 in " University of Michigan " . | SELECT COUNT ( DISTINCT t5.title ) FROM organization AS t2 JOIN author AS t1 ON t2.oid = t1.oid JOIN writes AS t4 ON t4.aid = t1.aid JOIN publication AS t5 ON t4.pid = t5.pid JOIN journal AS t3 ON t5.jid = t3.jid WHERE t3.name = "PVLDB" AND t2.name = "University of Michigan" AND t5.year > 2000; | CREATE TABLE "author" (
"aid" int,
"homepage" text,
"name" text,
"oid" int,
primary key("aid")
)
3 rows from author table:
Empty DataFrame
Columns: [aid, homepage, name, oid]
Index: []
CREATE TABLE "conference" (
"cid" int,
"homepage" text,
"name" text,
primary key ("cid")
)
3 rows from conference table:
Empty DataFrame
Columns: [cid, homepage, name]
Index: []
CREATE TABLE "domain" (
"did" int,
"name" text,
primary key ("did")
)
3 rows from domain table:
Empty DataFrame
Columns: [did, name]
Index: []
CREATE TABLE "domain_author" (
"aid" int,
"did" int,
primary key ("did", "aid"),
foreign key("aid") references `author`("aid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_author table:
Empty DataFrame
Columns: [aid, did]
Index: []
CREATE TABLE "domain_conference" (
"cid" int,
"did" int,
primary key ("did", "cid"),
foreign key("cid") references `conference`("cid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_conference table:
Empty DataFrame
Columns: [cid, did]
Index: []
CREATE TABLE "journal" (
"homepage" text,
"jid" int,
"name" text,
primary key("jid")
)
3 rows from journal table:
Empty DataFrame
Columns: [homepage, jid, name]
Index: []
CREATE TABLE "domain_journal" (
"did" int,
"jid" int,
primary key ("did", "jid"),
foreign key("jid") references "journal"("jid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_journal table:
Empty DataFrame
Columns: [did, jid]
Index: []
CREATE TABLE "keyword" (
"keyword" text,
"kid" int,
primary key("kid")
)
3 rows from keyword table:
Empty DataFrame
Columns: [keyword, kid]
Index: []
CREATE TABLE "domain_keyword" (
"did" int,
"kid" int,
primary key ("did", "kid"),
foreign key("kid") references "keyword"("kid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_keyword table:
Empty DataFrame
Columns: [did, kid]
Index: []
CREATE TABLE "publication" (
"abstract" text,
"cid" text,
"citation_num" int,
"jid" int,
"pid" int,
"reference_num" int,
"title" text,
"year" int,
primary key("pid"),
foreign key("jid") references "journal"("jid"),
foreign key("cid") references "conference"("cid")
)
3 rows from publication table:
Empty DataFrame
Columns: [abstract, cid, citation_num, jid, pid, reference_num, title, year]
Index: []
CREATE TABLE "domain_publication" (
"did" int,
"pid" int,
primary key ("did", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_publication table:
Empty DataFrame
Columns: [did, pid]
Index: []
CREATE TABLE "organization" (
"continent" text,
"homepage" text,
"name" text,
"oid" int,
primary key("oid")
)
3 rows from organization table:
Empty DataFrame
Columns: [continent, homepage, name, oid]
Index: []
CREATE TABLE "publication_keyword" (
"pid" int,
"kid" int,
primary key ("kid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("kid") references "keyword"("kid")
)
3 rows from publication_keyword table:
Empty DataFrame
Columns: [pid, kid]
Index: []
CREATE TABLE "writes" (
"aid" int,
"pid" int,
primary key ("aid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("aid") references "author"("aid")
)
3 rows from writes table:
Empty DataFrame
Columns: [aid, pid]
Index: []
CREATE TABLE "cite" (
"cited" int,
"citing" int,
foreign key("cited") references "publication"("pid"),
foreign key("citing") references "publication"("pid")
)
3 rows from cite table:
Empty DataFrame
Columns: [cited, citing]
Index: []
|
academic | return me the total citations of the papers in " University of Michigan " . | SELECT SUM ( t4.citation_num ) FROM organization AS t2 JOIN author AS t1 ON t2.oid = t1.oid JOIN writes AS t3 ON t3.aid = t1.aid JOIN publication AS t4 ON t3.pid = t4.pid WHERE t2.name = "University of Michigan"; | CREATE TABLE "author" (
"aid" int,
"homepage" text,
"name" text,
"oid" int,
primary key("aid")
)
3 rows from author table:
Empty DataFrame
Columns: [aid, homepage, name, oid]
Index: []
CREATE TABLE "conference" (
"cid" int,
"homepage" text,
"name" text,
primary key ("cid")
)
3 rows from conference table:
Empty DataFrame
Columns: [cid, homepage, name]
Index: []
CREATE TABLE "domain" (
"did" int,
"name" text,
primary key ("did")
)
3 rows from domain table:
Empty DataFrame
Columns: [did, name]
Index: []
CREATE TABLE "domain_author" (
"aid" int,
"did" int,
primary key ("did", "aid"),
foreign key("aid") references `author`("aid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_author table:
Empty DataFrame
Columns: [aid, did]
Index: []
CREATE TABLE "domain_conference" (
"cid" int,
"did" int,
primary key ("did", "cid"),
foreign key("cid") references `conference`("cid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_conference table:
Empty DataFrame
Columns: [cid, did]
Index: []
CREATE TABLE "journal" (
"homepage" text,
"jid" int,
"name" text,
primary key("jid")
)
3 rows from journal table:
Empty DataFrame
Columns: [homepage, jid, name]
Index: []
CREATE TABLE "domain_journal" (
"did" int,
"jid" int,
primary key ("did", "jid"),
foreign key("jid") references "journal"("jid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_journal table:
Empty DataFrame
Columns: [did, jid]
Index: []
CREATE TABLE "keyword" (
"keyword" text,
"kid" int,
primary key("kid")
)
3 rows from keyword table:
Empty DataFrame
Columns: [keyword, kid]
Index: []
CREATE TABLE "domain_keyword" (
"did" int,
"kid" int,
primary key ("did", "kid"),
foreign key("kid") references "keyword"("kid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_keyword table:
Empty DataFrame
Columns: [did, kid]
Index: []
CREATE TABLE "publication" (
"abstract" text,
"cid" text,
"citation_num" int,
"jid" int,
"pid" int,
"reference_num" int,
"title" text,
"year" int,
primary key("pid"),
foreign key("jid") references "journal"("jid"),
foreign key("cid") references "conference"("cid")
)
3 rows from publication table:
Empty DataFrame
Columns: [abstract, cid, citation_num, jid, pid, reference_num, title, year]
Index: []
CREATE TABLE "domain_publication" (
"did" int,
"pid" int,
primary key ("did", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_publication table:
Empty DataFrame
Columns: [did, pid]
Index: []
CREATE TABLE "organization" (
"continent" text,
"homepage" text,
"name" text,
"oid" int,
primary key("oid")
)
3 rows from organization table:
Empty DataFrame
Columns: [continent, homepage, name, oid]
Index: []
CREATE TABLE "publication_keyword" (
"pid" int,
"kid" int,
primary key ("kid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("kid") references "keyword"("kid")
)
3 rows from publication_keyword table:
Empty DataFrame
Columns: [pid, kid]
Index: []
CREATE TABLE "writes" (
"aid" int,
"pid" int,
primary key ("aid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("aid") references "author"("aid")
)
3 rows from writes table:
Empty DataFrame
Columns: [aid, pid]
Index: []
CREATE TABLE "cite" (
"cited" int,
"citing" int,
foreign key("cited") references "publication"("pid"),
foreign key("citing") references "publication"("pid")
)
3 rows from cite table:
Empty DataFrame
Columns: [cited, citing]
Index: []
|
academic | return me the number of researchers in " University of Michigan " . | SELECT COUNT ( DISTINCT t1.name ) FROM organization AS t2 JOIN author AS t1 ON t2.oid = t1.oid WHERE t2.name = "University of Michigan"; | CREATE TABLE "author" (
"aid" int,
"homepage" text,
"name" text,
"oid" int,
primary key("aid")
)
3 rows from author table:
Empty DataFrame
Columns: [aid, homepage, name, oid]
Index: []
CREATE TABLE "conference" (
"cid" int,
"homepage" text,
"name" text,
primary key ("cid")
)
3 rows from conference table:
Empty DataFrame
Columns: [cid, homepage, name]
Index: []
CREATE TABLE "domain" (
"did" int,
"name" text,
primary key ("did")
)
3 rows from domain table:
Empty DataFrame
Columns: [did, name]
Index: []
CREATE TABLE "domain_author" (
"aid" int,
"did" int,
primary key ("did", "aid"),
foreign key("aid") references `author`("aid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_author table:
Empty DataFrame
Columns: [aid, did]
Index: []
CREATE TABLE "domain_conference" (
"cid" int,
"did" int,
primary key ("did", "cid"),
foreign key("cid") references `conference`("cid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_conference table:
Empty DataFrame
Columns: [cid, did]
Index: []
CREATE TABLE "journal" (
"homepage" text,
"jid" int,
"name" text,
primary key("jid")
)
3 rows from journal table:
Empty DataFrame
Columns: [homepage, jid, name]
Index: []
CREATE TABLE "domain_journal" (
"did" int,
"jid" int,
primary key ("did", "jid"),
foreign key("jid") references "journal"("jid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_journal table:
Empty DataFrame
Columns: [did, jid]
Index: []
CREATE TABLE "keyword" (
"keyword" text,
"kid" int,
primary key("kid")
)
3 rows from keyword table:
Empty DataFrame
Columns: [keyword, kid]
Index: []
CREATE TABLE "domain_keyword" (
"did" int,
"kid" int,
primary key ("did", "kid"),
foreign key("kid") references "keyword"("kid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_keyword table:
Empty DataFrame
Columns: [did, kid]
Index: []
CREATE TABLE "publication" (
"abstract" text,
"cid" text,
"citation_num" int,
"jid" int,
"pid" int,
"reference_num" int,
"title" text,
"year" int,
primary key("pid"),
foreign key("jid") references "journal"("jid"),
foreign key("cid") references "conference"("cid")
)
3 rows from publication table:
Empty DataFrame
Columns: [abstract, cid, citation_num, jid, pid, reference_num, title, year]
Index: []
CREATE TABLE "domain_publication" (
"did" int,
"pid" int,
primary key ("did", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_publication table:
Empty DataFrame
Columns: [did, pid]
Index: []
CREATE TABLE "organization" (
"continent" text,
"homepage" text,
"name" text,
"oid" int,
primary key("oid")
)
3 rows from organization table:
Empty DataFrame
Columns: [continent, homepage, name, oid]
Index: []
CREATE TABLE "publication_keyword" (
"pid" int,
"kid" int,
primary key ("kid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("kid") references "keyword"("kid")
)
3 rows from publication_keyword table:
Empty DataFrame
Columns: [pid, kid]
Index: []
CREATE TABLE "writes" (
"aid" int,
"pid" int,
primary key ("aid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("aid") references "author"("aid")
)
3 rows from writes table:
Empty DataFrame
Columns: [aid, pid]
Index: []
CREATE TABLE "cite" (
"cited" int,
"citing" int,
foreign key("cited") references "publication"("pid"),
foreign key("citing") references "publication"("pid")
)
3 rows from cite table:
Empty DataFrame
Columns: [cited, citing]
Index: []
|
academic | return me the number of researchers in Databases area in " University of Michigan " . | SELECT COUNT ( DISTINCT t1.name ) FROM domain_author AS t4 JOIN author AS t1 ON t4.aid = t1.aid JOIN DOMAIN AS t3 ON t3.did = t4.did JOIN organization AS t2 ON t2.oid = t1.oid WHERE t3.name = "Databases" AND t2.name = "University of Michigan"; | CREATE TABLE "author" (
"aid" int,
"homepage" text,
"name" text,
"oid" int,
primary key("aid")
)
3 rows from author table:
Empty DataFrame
Columns: [aid, homepage, name, oid]
Index: []
CREATE TABLE "conference" (
"cid" int,
"homepage" text,
"name" text,
primary key ("cid")
)
3 rows from conference table:
Empty DataFrame
Columns: [cid, homepage, name]
Index: []
CREATE TABLE "domain" (
"did" int,
"name" text,
primary key ("did")
)
3 rows from domain table:
Empty DataFrame
Columns: [did, name]
Index: []
CREATE TABLE "domain_author" (
"aid" int,
"did" int,
primary key ("did", "aid"),
foreign key("aid") references `author`("aid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_author table:
Empty DataFrame
Columns: [aid, did]
Index: []
CREATE TABLE "domain_conference" (
"cid" int,
"did" int,
primary key ("did", "cid"),
foreign key("cid") references `conference`("cid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_conference table:
Empty DataFrame
Columns: [cid, did]
Index: []
CREATE TABLE "journal" (
"homepage" text,
"jid" int,
"name" text,
primary key("jid")
)
3 rows from journal table:
Empty DataFrame
Columns: [homepage, jid, name]
Index: []
CREATE TABLE "domain_journal" (
"did" int,
"jid" int,
primary key ("did", "jid"),
foreign key("jid") references "journal"("jid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_journal table:
Empty DataFrame
Columns: [did, jid]
Index: []
CREATE TABLE "keyword" (
"keyword" text,
"kid" int,
primary key("kid")
)
3 rows from keyword table:
Empty DataFrame
Columns: [keyword, kid]
Index: []
CREATE TABLE "domain_keyword" (
"did" int,
"kid" int,
primary key ("did", "kid"),
foreign key("kid") references "keyword"("kid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_keyword table:
Empty DataFrame
Columns: [did, kid]
Index: []
CREATE TABLE "publication" (
"abstract" text,
"cid" text,
"citation_num" int,
"jid" int,
"pid" int,
"reference_num" int,
"title" text,
"year" int,
primary key("pid"),
foreign key("jid") references "journal"("jid"),
foreign key("cid") references "conference"("cid")
)
3 rows from publication table:
Empty DataFrame
Columns: [abstract, cid, citation_num, jid, pid, reference_num, title, year]
Index: []
CREATE TABLE "domain_publication" (
"did" int,
"pid" int,
primary key ("did", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_publication table:
Empty DataFrame
Columns: [did, pid]
Index: []
CREATE TABLE "organization" (
"continent" text,
"homepage" text,
"name" text,
"oid" int,
primary key("oid")
)
3 rows from organization table:
Empty DataFrame
Columns: [continent, homepage, name, oid]
Index: []
CREATE TABLE "publication_keyword" (
"pid" int,
"kid" int,
primary key ("kid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("kid") references "keyword"("kid")
)
3 rows from publication_keyword table:
Empty DataFrame
Columns: [pid, kid]
Index: []
CREATE TABLE "writes" (
"aid" int,
"pid" int,
primary key ("aid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("aid") references "author"("aid")
)
3 rows from writes table:
Empty DataFrame
Columns: [aid, pid]
Index: []
CREATE TABLE "cite" (
"cited" int,
"citing" int,
foreign key("cited") references "publication"("pid"),
foreign key("citing") references "publication"("pid")
)
3 rows from cite table:
Empty DataFrame
Columns: [cited, citing]
Index: []
|
academic | return me the number of authors who have papers in PVLDB . | SELECT COUNT ( DISTINCT t1.name ) FROM publication AS t4 JOIN journal AS t2 ON t4.jid = t2.jid JOIN writes AS t3 ON t3.pid = t4.pid JOIN author AS t1 ON t3.aid = t1.aid WHERE t2.name = "PVLDB"; | CREATE TABLE "author" (
"aid" int,
"homepage" text,
"name" text,
"oid" int,
primary key("aid")
)
3 rows from author table:
Empty DataFrame
Columns: [aid, homepage, name, oid]
Index: []
CREATE TABLE "conference" (
"cid" int,
"homepage" text,
"name" text,
primary key ("cid")
)
3 rows from conference table:
Empty DataFrame
Columns: [cid, homepage, name]
Index: []
CREATE TABLE "domain" (
"did" int,
"name" text,
primary key ("did")
)
3 rows from domain table:
Empty DataFrame
Columns: [did, name]
Index: []
CREATE TABLE "domain_author" (
"aid" int,
"did" int,
primary key ("did", "aid"),
foreign key("aid") references `author`("aid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_author table:
Empty DataFrame
Columns: [aid, did]
Index: []
CREATE TABLE "domain_conference" (
"cid" int,
"did" int,
primary key ("did", "cid"),
foreign key("cid") references `conference`("cid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_conference table:
Empty DataFrame
Columns: [cid, did]
Index: []
CREATE TABLE "journal" (
"homepage" text,
"jid" int,
"name" text,
primary key("jid")
)
3 rows from journal table:
Empty DataFrame
Columns: [homepage, jid, name]
Index: []
CREATE TABLE "domain_journal" (
"did" int,
"jid" int,
primary key ("did", "jid"),
foreign key("jid") references "journal"("jid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_journal table:
Empty DataFrame
Columns: [did, jid]
Index: []
CREATE TABLE "keyword" (
"keyword" text,
"kid" int,
primary key("kid")
)
3 rows from keyword table:
Empty DataFrame
Columns: [keyword, kid]
Index: []
CREATE TABLE "domain_keyword" (
"did" int,
"kid" int,
primary key ("did", "kid"),
foreign key("kid") references "keyword"("kid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_keyword table:
Empty DataFrame
Columns: [did, kid]
Index: []
CREATE TABLE "publication" (
"abstract" text,
"cid" text,
"citation_num" int,
"jid" int,
"pid" int,
"reference_num" int,
"title" text,
"year" int,
primary key("pid"),
foreign key("jid") references "journal"("jid"),
foreign key("cid") references "conference"("cid")
)
3 rows from publication table:
Empty DataFrame
Columns: [abstract, cid, citation_num, jid, pid, reference_num, title, year]
Index: []
CREATE TABLE "domain_publication" (
"did" int,
"pid" int,
primary key ("did", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_publication table:
Empty DataFrame
Columns: [did, pid]
Index: []
CREATE TABLE "organization" (
"continent" text,
"homepage" text,
"name" text,
"oid" int,
primary key("oid")
)
3 rows from organization table:
Empty DataFrame
Columns: [continent, homepage, name, oid]
Index: []
CREATE TABLE "publication_keyword" (
"pid" int,
"kid" int,
primary key ("kid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("kid") references "keyword"("kid")
)
3 rows from publication_keyword table:
Empty DataFrame
Columns: [pid, kid]
Index: []
CREATE TABLE "writes" (
"aid" int,
"pid" int,
primary key ("aid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("aid") references "author"("aid")
)
3 rows from writes table:
Empty DataFrame
Columns: [aid, pid]
Index: []
CREATE TABLE "cite" (
"cited" int,
"citing" int,
foreign key("cited") references "publication"("pid"),
foreign key("citing") references "publication"("pid")
)
3 rows from cite table:
Empty DataFrame
Columns: [cited, citing]
Index: []
|
academic | return me the number of authors who have papers in the VLDB conference . | SELECT COUNT ( DISTINCT t1.name ) FROM publication AS t4 JOIN conference AS t2 ON t4.cid = t2.cid JOIN writes AS t3 ON t3.pid = t4.pid JOIN author AS t1 ON t3.aid = t1.aid WHERE t2.name = "VLDB"; | CREATE TABLE "author" (
"aid" int,
"homepage" text,
"name" text,
"oid" int,
primary key("aid")
)
3 rows from author table:
Empty DataFrame
Columns: [aid, homepage, name, oid]
Index: []
CREATE TABLE "conference" (
"cid" int,
"homepage" text,
"name" text,
primary key ("cid")
)
3 rows from conference table:
Empty DataFrame
Columns: [cid, homepage, name]
Index: []
CREATE TABLE "domain" (
"did" int,
"name" text,
primary key ("did")
)
3 rows from domain table:
Empty DataFrame
Columns: [did, name]
Index: []
CREATE TABLE "domain_author" (
"aid" int,
"did" int,
primary key ("did", "aid"),
foreign key("aid") references `author`("aid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_author table:
Empty DataFrame
Columns: [aid, did]
Index: []
CREATE TABLE "domain_conference" (
"cid" int,
"did" int,
primary key ("did", "cid"),
foreign key("cid") references `conference`("cid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_conference table:
Empty DataFrame
Columns: [cid, did]
Index: []
CREATE TABLE "journal" (
"homepage" text,
"jid" int,
"name" text,
primary key("jid")
)
3 rows from journal table:
Empty DataFrame
Columns: [homepage, jid, name]
Index: []
CREATE TABLE "domain_journal" (
"did" int,
"jid" int,
primary key ("did", "jid"),
foreign key("jid") references "journal"("jid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_journal table:
Empty DataFrame
Columns: [did, jid]
Index: []
CREATE TABLE "keyword" (
"keyword" text,
"kid" int,
primary key("kid")
)
3 rows from keyword table:
Empty DataFrame
Columns: [keyword, kid]
Index: []
CREATE TABLE "domain_keyword" (
"did" int,
"kid" int,
primary key ("did", "kid"),
foreign key("kid") references "keyword"("kid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_keyword table:
Empty DataFrame
Columns: [did, kid]
Index: []
CREATE TABLE "publication" (
"abstract" text,
"cid" text,
"citation_num" int,
"jid" int,
"pid" int,
"reference_num" int,
"title" text,
"year" int,
primary key("pid"),
foreign key("jid") references "journal"("jid"),
foreign key("cid") references "conference"("cid")
)
3 rows from publication table:
Empty DataFrame
Columns: [abstract, cid, citation_num, jid, pid, reference_num, title, year]
Index: []
CREATE TABLE "domain_publication" (
"did" int,
"pid" int,
primary key ("did", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_publication table:
Empty DataFrame
Columns: [did, pid]
Index: []
CREATE TABLE "organization" (
"continent" text,
"homepage" text,
"name" text,
"oid" int,
primary key("oid")
)
3 rows from organization table:
Empty DataFrame
Columns: [continent, homepage, name, oid]
Index: []
CREATE TABLE "publication_keyword" (
"pid" int,
"kid" int,
primary key ("kid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("kid") references "keyword"("kid")
)
3 rows from publication_keyword table:
Empty DataFrame
Columns: [pid, kid]
Index: []
CREATE TABLE "writes" (
"aid" int,
"pid" int,
primary key ("aid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("aid") references "author"("aid")
)
3 rows from writes table:
Empty DataFrame
Columns: [aid, pid]
Index: []
CREATE TABLE "cite" (
"cited" int,
"citing" int,
foreign key("cited") references "publication"("pid"),
foreign key("citing") references "publication"("pid")
)
3 rows from cite table:
Empty DataFrame
Columns: [cited, citing]
Index: []
|
academic | return me the number of papers published on PVLDB before 2000 . | SELECT COUNT ( DISTINCT t2.title ) FROM publication AS t2 JOIN journal AS t1 ON t2.jid = t1.jid WHERE t1.name = "PVLDB" AND t2.year < 2000; | CREATE TABLE "author" (
"aid" int,
"homepage" text,
"name" text,
"oid" int,
primary key("aid")
)
3 rows from author table:
Empty DataFrame
Columns: [aid, homepage, name, oid]
Index: []
CREATE TABLE "conference" (
"cid" int,
"homepage" text,
"name" text,
primary key ("cid")
)
3 rows from conference table:
Empty DataFrame
Columns: [cid, homepage, name]
Index: []
CREATE TABLE "domain" (
"did" int,
"name" text,
primary key ("did")
)
3 rows from domain table:
Empty DataFrame
Columns: [did, name]
Index: []
CREATE TABLE "domain_author" (
"aid" int,
"did" int,
primary key ("did", "aid"),
foreign key("aid") references `author`("aid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_author table:
Empty DataFrame
Columns: [aid, did]
Index: []
CREATE TABLE "domain_conference" (
"cid" int,
"did" int,
primary key ("did", "cid"),
foreign key("cid") references `conference`("cid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_conference table:
Empty DataFrame
Columns: [cid, did]
Index: []
CREATE TABLE "journal" (
"homepage" text,
"jid" int,
"name" text,
primary key("jid")
)
3 rows from journal table:
Empty DataFrame
Columns: [homepage, jid, name]
Index: []
CREATE TABLE "domain_journal" (
"did" int,
"jid" int,
primary key ("did", "jid"),
foreign key("jid") references "journal"("jid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_journal table:
Empty DataFrame
Columns: [did, jid]
Index: []
CREATE TABLE "keyword" (
"keyword" text,
"kid" int,
primary key("kid")
)
3 rows from keyword table:
Empty DataFrame
Columns: [keyword, kid]
Index: []
CREATE TABLE "domain_keyword" (
"did" int,
"kid" int,
primary key ("did", "kid"),
foreign key("kid") references "keyword"("kid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_keyword table:
Empty DataFrame
Columns: [did, kid]
Index: []
CREATE TABLE "publication" (
"abstract" text,
"cid" text,
"citation_num" int,
"jid" int,
"pid" int,
"reference_num" int,
"title" text,
"year" int,
primary key("pid"),
foreign key("jid") references "journal"("jid"),
foreign key("cid") references "conference"("cid")
)
3 rows from publication table:
Empty DataFrame
Columns: [abstract, cid, citation_num, jid, pid, reference_num, title, year]
Index: []
CREATE TABLE "domain_publication" (
"did" int,
"pid" int,
primary key ("did", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_publication table:
Empty DataFrame
Columns: [did, pid]
Index: []
CREATE TABLE "organization" (
"continent" text,
"homepage" text,
"name" text,
"oid" int,
primary key("oid")
)
3 rows from organization table:
Empty DataFrame
Columns: [continent, homepage, name, oid]
Index: []
CREATE TABLE "publication_keyword" (
"pid" int,
"kid" int,
primary key ("kid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("kid") references "keyword"("kid")
)
3 rows from publication_keyword table:
Empty DataFrame
Columns: [pid, kid]
Index: []
CREATE TABLE "writes" (
"aid" int,
"pid" int,
primary key ("aid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("aid") references "author"("aid")
)
3 rows from writes table:
Empty DataFrame
Columns: [aid, pid]
Index: []
CREATE TABLE "cite" (
"cited" int,
"citing" int,
foreign key("cited") references "publication"("pid"),
foreign key("citing") references "publication"("pid")
)
3 rows from cite table:
Empty DataFrame
Columns: [cited, citing]
Index: []
|
academic | return me the number of papers published in the VLDB conference before 2000 . | SELECT COUNT ( DISTINCT t2.title ) FROM publication AS t2 JOIN conference AS t1 ON t2.cid = t1.cid WHERE t1.name = "VLDB" AND t2.year < 2000; | CREATE TABLE "author" (
"aid" int,
"homepage" text,
"name" text,
"oid" int,
primary key("aid")
)
3 rows from author table:
Empty DataFrame
Columns: [aid, homepage, name, oid]
Index: []
CREATE TABLE "conference" (
"cid" int,
"homepage" text,
"name" text,
primary key ("cid")
)
3 rows from conference table:
Empty DataFrame
Columns: [cid, homepage, name]
Index: []
CREATE TABLE "domain" (
"did" int,
"name" text,
primary key ("did")
)
3 rows from domain table:
Empty DataFrame
Columns: [did, name]
Index: []
CREATE TABLE "domain_author" (
"aid" int,
"did" int,
primary key ("did", "aid"),
foreign key("aid") references `author`("aid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_author table:
Empty DataFrame
Columns: [aid, did]
Index: []
CREATE TABLE "domain_conference" (
"cid" int,
"did" int,
primary key ("did", "cid"),
foreign key("cid") references `conference`("cid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_conference table:
Empty DataFrame
Columns: [cid, did]
Index: []
CREATE TABLE "journal" (
"homepage" text,
"jid" int,
"name" text,
primary key("jid")
)
3 rows from journal table:
Empty DataFrame
Columns: [homepage, jid, name]
Index: []
CREATE TABLE "domain_journal" (
"did" int,
"jid" int,
primary key ("did", "jid"),
foreign key("jid") references "journal"("jid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_journal table:
Empty DataFrame
Columns: [did, jid]
Index: []
CREATE TABLE "keyword" (
"keyword" text,
"kid" int,
primary key("kid")
)
3 rows from keyword table:
Empty DataFrame
Columns: [keyword, kid]
Index: []
CREATE TABLE "domain_keyword" (
"did" int,
"kid" int,
primary key ("did", "kid"),
foreign key("kid") references "keyword"("kid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_keyword table:
Empty DataFrame
Columns: [did, kid]
Index: []
CREATE TABLE "publication" (
"abstract" text,
"cid" text,
"citation_num" int,
"jid" int,
"pid" int,
"reference_num" int,
"title" text,
"year" int,
primary key("pid"),
foreign key("jid") references "journal"("jid"),
foreign key("cid") references "conference"("cid")
)
3 rows from publication table:
Empty DataFrame
Columns: [abstract, cid, citation_num, jid, pid, reference_num, title, year]
Index: []
CREATE TABLE "domain_publication" (
"did" int,
"pid" int,
primary key ("did", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_publication table:
Empty DataFrame
Columns: [did, pid]
Index: []
CREATE TABLE "organization" (
"continent" text,
"homepage" text,
"name" text,
"oid" int,
primary key("oid")
)
3 rows from organization table:
Empty DataFrame
Columns: [continent, homepage, name, oid]
Index: []
CREATE TABLE "publication_keyword" (
"pid" int,
"kid" int,
primary key ("kid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("kid") references "keyword"("kid")
)
3 rows from publication_keyword table:
Empty DataFrame
Columns: [pid, kid]
Index: []
CREATE TABLE "writes" (
"aid" int,
"pid" int,
primary key ("aid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("aid") references "author"("aid")
)
3 rows from writes table:
Empty DataFrame
Columns: [aid, pid]
Index: []
CREATE TABLE "cite" (
"cited" int,
"citing" int,
foreign key("cited") references "publication"("pid"),
foreign key("citing") references "publication"("pid")
)
3 rows from cite table:
Empty DataFrame
Columns: [cited, citing]
Index: []
|
academic | return me the total citations of all the papers in PVLDB . | SELECT SUM ( t2.citation_num ) FROM publication AS t2 JOIN journal AS t1 ON t2.jid = t1.jid WHERE t1.name = "PVLDB"; | CREATE TABLE "author" (
"aid" int,
"homepage" text,
"name" text,
"oid" int,
primary key("aid")
)
3 rows from author table:
Empty DataFrame
Columns: [aid, homepage, name, oid]
Index: []
CREATE TABLE "conference" (
"cid" int,
"homepage" text,
"name" text,
primary key ("cid")
)
3 rows from conference table:
Empty DataFrame
Columns: [cid, homepage, name]
Index: []
CREATE TABLE "domain" (
"did" int,
"name" text,
primary key ("did")
)
3 rows from domain table:
Empty DataFrame
Columns: [did, name]
Index: []
CREATE TABLE "domain_author" (
"aid" int,
"did" int,
primary key ("did", "aid"),
foreign key("aid") references `author`("aid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_author table:
Empty DataFrame
Columns: [aid, did]
Index: []
CREATE TABLE "domain_conference" (
"cid" int,
"did" int,
primary key ("did", "cid"),
foreign key("cid") references `conference`("cid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_conference table:
Empty DataFrame
Columns: [cid, did]
Index: []
CREATE TABLE "journal" (
"homepage" text,
"jid" int,
"name" text,
primary key("jid")
)
3 rows from journal table:
Empty DataFrame
Columns: [homepage, jid, name]
Index: []
CREATE TABLE "domain_journal" (
"did" int,
"jid" int,
primary key ("did", "jid"),
foreign key("jid") references "journal"("jid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_journal table:
Empty DataFrame
Columns: [did, jid]
Index: []
CREATE TABLE "keyword" (
"keyword" text,
"kid" int,
primary key("kid")
)
3 rows from keyword table:
Empty DataFrame
Columns: [keyword, kid]
Index: []
CREATE TABLE "domain_keyword" (
"did" int,
"kid" int,
primary key ("did", "kid"),
foreign key("kid") references "keyword"("kid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_keyword table:
Empty DataFrame
Columns: [did, kid]
Index: []
CREATE TABLE "publication" (
"abstract" text,
"cid" text,
"citation_num" int,
"jid" int,
"pid" int,
"reference_num" int,
"title" text,
"year" int,
primary key("pid"),
foreign key("jid") references "journal"("jid"),
foreign key("cid") references "conference"("cid")
)
3 rows from publication table:
Empty DataFrame
Columns: [abstract, cid, citation_num, jid, pid, reference_num, title, year]
Index: []
CREATE TABLE "domain_publication" (
"did" int,
"pid" int,
primary key ("did", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_publication table:
Empty DataFrame
Columns: [did, pid]
Index: []
CREATE TABLE "organization" (
"continent" text,
"homepage" text,
"name" text,
"oid" int,
primary key("oid")
)
3 rows from organization table:
Empty DataFrame
Columns: [continent, homepage, name, oid]
Index: []
CREATE TABLE "publication_keyword" (
"pid" int,
"kid" int,
primary key ("kid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("kid") references "keyword"("kid")
)
3 rows from publication_keyword table:
Empty DataFrame
Columns: [pid, kid]
Index: []
CREATE TABLE "writes" (
"aid" int,
"pid" int,
primary key ("aid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("aid") references "author"("aid")
)
3 rows from writes table:
Empty DataFrame
Columns: [aid, pid]
Index: []
CREATE TABLE "cite" (
"cited" int,
"citing" int,
foreign key("cited") references "publication"("pid"),
foreign key("citing") references "publication"("pid")
)
3 rows from cite table:
Empty DataFrame
Columns: [cited, citing]
Index: []
|
academic | return me the citations of each paper in PVLDB . | SELECT t2.citation_num FROM publication AS t2 JOIN journal AS t1 ON t2.jid = t1.jid WHERE t1.name = "PVLDB"; | CREATE TABLE "author" (
"aid" int,
"homepage" text,
"name" text,
"oid" int,
primary key("aid")
)
3 rows from author table:
Empty DataFrame
Columns: [aid, homepage, name, oid]
Index: []
CREATE TABLE "conference" (
"cid" int,
"homepage" text,
"name" text,
primary key ("cid")
)
3 rows from conference table:
Empty DataFrame
Columns: [cid, homepage, name]
Index: []
CREATE TABLE "domain" (
"did" int,
"name" text,
primary key ("did")
)
3 rows from domain table:
Empty DataFrame
Columns: [did, name]
Index: []
CREATE TABLE "domain_author" (
"aid" int,
"did" int,
primary key ("did", "aid"),
foreign key("aid") references `author`("aid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_author table:
Empty DataFrame
Columns: [aid, did]
Index: []
CREATE TABLE "domain_conference" (
"cid" int,
"did" int,
primary key ("did", "cid"),
foreign key("cid") references `conference`("cid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_conference table:
Empty DataFrame
Columns: [cid, did]
Index: []
CREATE TABLE "journal" (
"homepage" text,
"jid" int,
"name" text,
primary key("jid")
)
3 rows from journal table:
Empty DataFrame
Columns: [homepage, jid, name]
Index: []
CREATE TABLE "domain_journal" (
"did" int,
"jid" int,
primary key ("did", "jid"),
foreign key("jid") references "journal"("jid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_journal table:
Empty DataFrame
Columns: [did, jid]
Index: []
CREATE TABLE "keyword" (
"keyword" text,
"kid" int,
primary key("kid")
)
3 rows from keyword table:
Empty DataFrame
Columns: [keyword, kid]
Index: []
CREATE TABLE "domain_keyword" (
"did" int,
"kid" int,
primary key ("did", "kid"),
foreign key("kid") references "keyword"("kid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_keyword table:
Empty DataFrame
Columns: [did, kid]
Index: []
CREATE TABLE "publication" (
"abstract" text,
"cid" text,
"citation_num" int,
"jid" int,
"pid" int,
"reference_num" int,
"title" text,
"year" int,
primary key("pid"),
foreign key("jid") references "journal"("jid"),
foreign key("cid") references "conference"("cid")
)
3 rows from publication table:
Empty DataFrame
Columns: [abstract, cid, citation_num, jid, pid, reference_num, title, year]
Index: []
CREATE TABLE "domain_publication" (
"did" int,
"pid" int,
primary key ("did", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_publication table:
Empty DataFrame
Columns: [did, pid]
Index: []
CREATE TABLE "organization" (
"continent" text,
"homepage" text,
"name" text,
"oid" int,
primary key("oid")
)
3 rows from organization table:
Empty DataFrame
Columns: [continent, homepage, name, oid]
Index: []
CREATE TABLE "publication_keyword" (
"pid" int,
"kid" int,
primary key ("kid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("kid") references "keyword"("kid")
)
3 rows from publication_keyword table:
Empty DataFrame
Columns: [pid, kid]
Index: []
CREATE TABLE "writes" (
"aid" int,
"pid" int,
primary key ("aid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("aid") references "author"("aid")
)
3 rows from writes table:
Empty DataFrame
Columns: [aid, pid]
Index: []
CREATE TABLE "cite" (
"cited" int,
"citing" int,
foreign key("cited") references "publication"("pid"),
foreign key("citing") references "publication"("pid")
)
3 rows from cite table:
Empty DataFrame
Columns: [cited, citing]
Index: []
|
academic | return me the total citations of papers in PVLDB in 2005 . | SELECT SUM ( t2.citation_num ) FROM publication AS t2 JOIN journal AS t1 ON t2.jid = t1.jid WHERE t1.name = "PVLDB" AND t2.year = 2005; | CREATE TABLE "author" (
"aid" int,
"homepage" text,
"name" text,
"oid" int,
primary key("aid")
)
3 rows from author table:
Empty DataFrame
Columns: [aid, homepage, name, oid]
Index: []
CREATE TABLE "conference" (
"cid" int,
"homepage" text,
"name" text,
primary key ("cid")
)
3 rows from conference table:
Empty DataFrame
Columns: [cid, homepage, name]
Index: []
CREATE TABLE "domain" (
"did" int,
"name" text,
primary key ("did")
)
3 rows from domain table:
Empty DataFrame
Columns: [did, name]
Index: []
CREATE TABLE "domain_author" (
"aid" int,
"did" int,
primary key ("did", "aid"),
foreign key("aid") references `author`("aid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_author table:
Empty DataFrame
Columns: [aid, did]
Index: []
CREATE TABLE "domain_conference" (
"cid" int,
"did" int,
primary key ("did", "cid"),
foreign key("cid") references `conference`("cid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_conference table:
Empty DataFrame
Columns: [cid, did]
Index: []
CREATE TABLE "journal" (
"homepage" text,
"jid" int,
"name" text,
primary key("jid")
)
3 rows from journal table:
Empty DataFrame
Columns: [homepage, jid, name]
Index: []
CREATE TABLE "domain_journal" (
"did" int,
"jid" int,
primary key ("did", "jid"),
foreign key("jid") references "journal"("jid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_journal table:
Empty DataFrame
Columns: [did, jid]
Index: []
CREATE TABLE "keyword" (
"keyword" text,
"kid" int,
primary key("kid")
)
3 rows from keyword table:
Empty DataFrame
Columns: [keyword, kid]
Index: []
CREATE TABLE "domain_keyword" (
"did" int,
"kid" int,
primary key ("did", "kid"),
foreign key("kid") references "keyword"("kid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_keyword table:
Empty DataFrame
Columns: [did, kid]
Index: []
CREATE TABLE "publication" (
"abstract" text,
"cid" text,
"citation_num" int,
"jid" int,
"pid" int,
"reference_num" int,
"title" text,
"year" int,
primary key("pid"),
foreign key("jid") references "journal"("jid"),
foreign key("cid") references "conference"("cid")
)
3 rows from publication table:
Empty DataFrame
Columns: [abstract, cid, citation_num, jid, pid, reference_num, title, year]
Index: []
CREATE TABLE "domain_publication" (
"did" int,
"pid" int,
primary key ("did", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_publication table:
Empty DataFrame
Columns: [did, pid]
Index: []
CREATE TABLE "organization" (
"continent" text,
"homepage" text,
"name" text,
"oid" int,
primary key("oid")
)
3 rows from organization table:
Empty DataFrame
Columns: [continent, homepage, name, oid]
Index: []
CREATE TABLE "publication_keyword" (
"pid" int,
"kid" int,
primary key ("kid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("kid") references "keyword"("kid")
)
3 rows from publication_keyword table:
Empty DataFrame
Columns: [pid, kid]
Index: []
CREATE TABLE "writes" (
"aid" int,
"pid" int,
primary key ("aid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("aid") references "author"("aid")
)
3 rows from writes table:
Empty DataFrame
Columns: [aid, pid]
Index: []
CREATE TABLE "cite" (
"cited" int,
"citing" int,
foreign key("cited") references "publication"("pid"),
foreign key("citing") references "publication"("pid")
)
3 rows from cite table:
Empty DataFrame
Columns: [cited, citing]
Index: []
|
academic | return me the total citations of papers in PVLDB before 2005 . | SELECT SUM ( t2.citation_num ) FROM publication AS t2 JOIN journal AS t1 ON t2.jid = t1.jid WHERE t1.name = "PVLDB" AND t2.year < 2005; | CREATE TABLE "author" (
"aid" int,
"homepage" text,
"name" text,
"oid" int,
primary key("aid")
)
3 rows from author table:
Empty DataFrame
Columns: [aid, homepage, name, oid]
Index: []
CREATE TABLE "conference" (
"cid" int,
"homepage" text,
"name" text,
primary key ("cid")
)
3 rows from conference table:
Empty DataFrame
Columns: [cid, homepage, name]
Index: []
CREATE TABLE "domain" (
"did" int,
"name" text,
primary key ("did")
)
3 rows from domain table:
Empty DataFrame
Columns: [did, name]
Index: []
CREATE TABLE "domain_author" (
"aid" int,
"did" int,
primary key ("did", "aid"),
foreign key("aid") references `author`("aid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_author table:
Empty DataFrame
Columns: [aid, did]
Index: []
CREATE TABLE "domain_conference" (
"cid" int,
"did" int,
primary key ("did", "cid"),
foreign key("cid") references `conference`("cid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_conference table:
Empty DataFrame
Columns: [cid, did]
Index: []
CREATE TABLE "journal" (
"homepage" text,
"jid" int,
"name" text,
primary key("jid")
)
3 rows from journal table:
Empty DataFrame
Columns: [homepage, jid, name]
Index: []
CREATE TABLE "domain_journal" (
"did" int,
"jid" int,
primary key ("did", "jid"),
foreign key("jid") references "journal"("jid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_journal table:
Empty DataFrame
Columns: [did, jid]
Index: []
CREATE TABLE "keyword" (
"keyword" text,
"kid" int,
primary key("kid")
)
3 rows from keyword table:
Empty DataFrame
Columns: [keyword, kid]
Index: []
CREATE TABLE "domain_keyword" (
"did" int,
"kid" int,
primary key ("did", "kid"),
foreign key("kid") references "keyword"("kid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_keyword table:
Empty DataFrame
Columns: [did, kid]
Index: []
CREATE TABLE "publication" (
"abstract" text,
"cid" text,
"citation_num" int,
"jid" int,
"pid" int,
"reference_num" int,
"title" text,
"year" int,
primary key("pid"),
foreign key("jid") references "journal"("jid"),
foreign key("cid") references "conference"("cid")
)
3 rows from publication table:
Empty DataFrame
Columns: [abstract, cid, citation_num, jid, pid, reference_num, title, year]
Index: []
CREATE TABLE "domain_publication" (
"did" int,
"pid" int,
primary key ("did", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_publication table:
Empty DataFrame
Columns: [did, pid]
Index: []
CREATE TABLE "organization" (
"continent" text,
"homepage" text,
"name" text,
"oid" int,
primary key("oid")
)
3 rows from organization table:
Empty DataFrame
Columns: [continent, homepage, name, oid]
Index: []
CREATE TABLE "publication_keyword" (
"pid" int,
"kid" int,
primary key ("kid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("kid") references "keyword"("kid")
)
3 rows from publication_keyword table:
Empty DataFrame
Columns: [pid, kid]
Index: []
CREATE TABLE "writes" (
"aid" int,
"pid" int,
primary key ("aid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("aid") references "author"("aid")
)
3 rows from writes table:
Empty DataFrame
Columns: [aid, pid]
Index: []
CREATE TABLE "cite" (
"cited" int,
"citing" int,
foreign key("cited") references "publication"("pid"),
foreign key("citing") references "publication"("pid")
)
3 rows from cite table:
Empty DataFrame
Columns: [cited, citing]
Index: []
|
academic | return me the total citations of papers in PVLDB in each year . | SELECT t2.year , SUM ( t2.citation_num ) FROM publication AS t2 JOIN journal AS t1 ON t2.jid = t1.jid WHERE t1.name = "PVLDB" GROUP BY t2.year; | CREATE TABLE "author" (
"aid" int,
"homepage" text,
"name" text,
"oid" int,
primary key("aid")
)
3 rows from author table:
Empty DataFrame
Columns: [aid, homepage, name, oid]
Index: []
CREATE TABLE "conference" (
"cid" int,
"homepage" text,
"name" text,
primary key ("cid")
)
3 rows from conference table:
Empty DataFrame
Columns: [cid, homepage, name]
Index: []
CREATE TABLE "domain" (
"did" int,
"name" text,
primary key ("did")
)
3 rows from domain table:
Empty DataFrame
Columns: [did, name]
Index: []
CREATE TABLE "domain_author" (
"aid" int,
"did" int,
primary key ("did", "aid"),
foreign key("aid") references `author`("aid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_author table:
Empty DataFrame
Columns: [aid, did]
Index: []
CREATE TABLE "domain_conference" (
"cid" int,
"did" int,
primary key ("did", "cid"),
foreign key("cid") references `conference`("cid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_conference table:
Empty DataFrame
Columns: [cid, did]
Index: []
CREATE TABLE "journal" (
"homepage" text,
"jid" int,
"name" text,
primary key("jid")
)
3 rows from journal table:
Empty DataFrame
Columns: [homepage, jid, name]
Index: []
CREATE TABLE "domain_journal" (
"did" int,
"jid" int,
primary key ("did", "jid"),
foreign key("jid") references "journal"("jid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_journal table:
Empty DataFrame
Columns: [did, jid]
Index: []
CREATE TABLE "keyword" (
"keyword" text,
"kid" int,
primary key("kid")
)
3 rows from keyword table:
Empty DataFrame
Columns: [keyword, kid]
Index: []
CREATE TABLE "domain_keyword" (
"did" int,
"kid" int,
primary key ("did", "kid"),
foreign key("kid") references "keyword"("kid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_keyword table:
Empty DataFrame
Columns: [did, kid]
Index: []
CREATE TABLE "publication" (
"abstract" text,
"cid" text,
"citation_num" int,
"jid" int,
"pid" int,
"reference_num" int,
"title" text,
"year" int,
primary key("pid"),
foreign key("jid") references "journal"("jid"),
foreign key("cid") references "conference"("cid")
)
3 rows from publication table:
Empty DataFrame
Columns: [abstract, cid, citation_num, jid, pid, reference_num, title, year]
Index: []
CREATE TABLE "domain_publication" (
"did" int,
"pid" int,
primary key ("did", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_publication table:
Empty DataFrame
Columns: [did, pid]
Index: []
CREATE TABLE "organization" (
"continent" text,
"homepage" text,
"name" text,
"oid" int,
primary key("oid")
)
3 rows from organization table:
Empty DataFrame
Columns: [continent, homepage, name, oid]
Index: []
CREATE TABLE "publication_keyword" (
"pid" int,
"kid" int,
primary key ("kid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("kid") references "keyword"("kid")
)
3 rows from publication_keyword table:
Empty DataFrame
Columns: [pid, kid]
Index: []
CREATE TABLE "writes" (
"aid" int,
"pid" int,
primary key ("aid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("aid") references "author"("aid")
)
3 rows from writes table:
Empty DataFrame
Columns: [aid, pid]
Index: []
CREATE TABLE "cite" (
"cited" int,
"citing" int,
foreign key("cited") references "publication"("pid"),
foreign key("citing") references "publication"("pid")
)
3 rows from cite table:
Empty DataFrame
Columns: [cited, citing]
Index: []
|
academic | return me the number of papers published in PVLDB in each year . | SELECT COUNT ( DISTINCT t2.title ) , t2.year FROM publication AS t2 JOIN journal AS t1 ON t2.jid = t1.jid WHERE t1.name = "PVLDB" GROUP BY t2.year; | CREATE TABLE "author" (
"aid" int,
"homepage" text,
"name" text,
"oid" int,
primary key("aid")
)
3 rows from author table:
Empty DataFrame
Columns: [aid, homepage, name, oid]
Index: []
CREATE TABLE "conference" (
"cid" int,
"homepage" text,
"name" text,
primary key ("cid")
)
3 rows from conference table:
Empty DataFrame
Columns: [cid, homepage, name]
Index: []
CREATE TABLE "domain" (
"did" int,
"name" text,
primary key ("did")
)
3 rows from domain table:
Empty DataFrame
Columns: [did, name]
Index: []
CREATE TABLE "domain_author" (
"aid" int,
"did" int,
primary key ("did", "aid"),
foreign key("aid") references `author`("aid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_author table:
Empty DataFrame
Columns: [aid, did]
Index: []
CREATE TABLE "domain_conference" (
"cid" int,
"did" int,
primary key ("did", "cid"),
foreign key("cid") references `conference`("cid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_conference table:
Empty DataFrame
Columns: [cid, did]
Index: []
CREATE TABLE "journal" (
"homepage" text,
"jid" int,
"name" text,
primary key("jid")
)
3 rows from journal table:
Empty DataFrame
Columns: [homepage, jid, name]
Index: []
CREATE TABLE "domain_journal" (
"did" int,
"jid" int,
primary key ("did", "jid"),
foreign key("jid") references "journal"("jid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_journal table:
Empty DataFrame
Columns: [did, jid]
Index: []
CREATE TABLE "keyword" (
"keyword" text,
"kid" int,
primary key("kid")
)
3 rows from keyword table:
Empty DataFrame
Columns: [keyword, kid]
Index: []
CREATE TABLE "domain_keyword" (
"did" int,
"kid" int,
primary key ("did", "kid"),
foreign key("kid") references "keyword"("kid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_keyword table:
Empty DataFrame
Columns: [did, kid]
Index: []
CREATE TABLE "publication" (
"abstract" text,
"cid" text,
"citation_num" int,
"jid" int,
"pid" int,
"reference_num" int,
"title" text,
"year" int,
primary key("pid"),
foreign key("jid") references "journal"("jid"),
foreign key("cid") references "conference"("cid")
)
3 rows from publication table:
Empty DataFrame
Columns: [abstract, cid, citation_num, jid, pid, reference_num, title, year]
Index: []
CREATE TABLE "domain_publication" (
"did" int,
"pid" int,
primary key ("did", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_publication table:
Empty DataFrame
Columns: [did, pid]
Index: []
CREATE TABLE "organization" (
"continent" text,
"homepage" text,
"name" text,
"oid" int,
primary key("oid")
)
3 rows from organization table:
Empty DataFrame
Columns: [continent, homepage, name, oid]
Index: []
CREATE TABLE "publication_keyword" (
"pid" int,
"kid" int,
primary key ("kid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("kid") references "keyword"("kid")
)
3 rows from publication_keyword table:
Empty DataFrame
Columns: [pid, kid]
Index: []
CREATE TABLE "writes" (
"aid" int,
"pid" int,
primary key ("aid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("aid") references "author"("aid")
)
3 rows from writes table:
Empty DataFrame
Columns: [aid, pid]
Index: []
CREATE TABLE "cite" (
"cited" int,
"citing" int,
foreign key("cited") references "publication"("pid"),
foreign key("citing") references "publication"("pid")
)
3 rows from cite table:
Empty DataFrame
Columns: [cited, citing]
Index: []
|
academic | return me the total citations of all the papers in the VLDB conference . | SELECT SUM ( t2.citation_num ) FROM publication AS t2 JOIN conference AS t1 ON t2.cid = t1.cid WHERE t1.name = "VLDB"; | CREATE TABLE "author" (
"aid" int,
"homepage" text,
"name" text,
"oid" int,
primary key("aid")
)
3 rows from author table:
Empty DataFrame
Columns: [aid, homepage, name, oid]
Index: []
CREATE TABLE "conference" (
"cid" int,
"homepage" text,
"name" text,
primary key ("cid")
)
3 rows from conference table:
Empty DataFrame
Columns: [cid, homepage, name]
Index: []
CREATE TABLE "domain" (
"did" int,
"name" text,
primary key ("did")
)
3 rows from domain table:
Empty DataFrame
Columns: [did, name]
Index: []
CREATE TABLE "domain_author" (
"aid" int,
"did" int,
primary key ("did", "aid"),
foreign key("aid") references `author`("aid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_author table:
Empty DataFrame
Columns: [aid, did]
Index: []
CREATE TABLE "domain_conference" (
"cid" int,
"did" int,
primary key ("did", "cid"),
foreign key("cid") references `conference`("cid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_conference table:
Empty DataFrame
Columns: [cid, did]
Index: []
CREATE TABLE "journal" (
"homepage" text,
"jid" int,
"name" text,
primary key("jid")
)
3 rows from journal table:
Empty DataFrame
Columns: [homepage, jid, name]
Index: []
CREATE TABLE "domain_journal" (
"did" int,
"jid" int,
primary key ("did", "jid"),
foreign key("jid") references "journal"("jid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_journal table:
Empty DataFrame
Columns: [did, jid]
Index: []
CREATE TABLE "keyword" (
"keyword" text,
"kid" int,
primary key("kid")
)
3 rows from keyword table:
Empty DataFrame
Columns: [keyword, kid]
Index: []
CREATE TABLE "domain_keyword" (
"did" int,
"kid" int,
primary key ("did", "kid"),
foreign key("kid") references "keyword"("kid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_keyword table:
Empty DataFrame
Columns: [did, kid]
Index: []
CREATE TABLE "publication" (
"abstract" text,
"cid" text,
"citation_num" int,
"jid" int,
"pid" int,
"reference_num" int,
"title" text,
"year" int,
primary key("pid"),
foreign key("jid") references "journal"("jid"),
foreign key("cid") references "conference"("cid")
)
3 rows from publication table:
Empty DataFrame
Columns: [abstract, cid, citation_num, jid, pid, reference_num, title, year]
Index: []
CREATE TABLE "domain_publication" (
"did" int,
"pid" int,
primary key ("did", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_publication table:
Empty DataFrame
Columns: [did, pid]
Index: []
CREATE TABLE "organization" (
"continent" text,
"homepage" text,
"name" text,
"oid" int,
primary key("oid")
)
3 rows from organization table:
Empty DataFrame
Columns: [continent, homepage, name, oid]
Index: []
CREATE TABLE "publication_keyword" (
"pid" int,
"kid" int,
primary key ("kid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("kid") references "keyword"("kid")
)
3 rows from publication_keyword table:
Empty DataFrame
Columns: [pid, kid]
Index: []
CREATE TABLE "writes" (
"aid" int,
"pid" int,
primary key ("aid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("aid") references "author"("aid")
)
3 rows from writes table:
Empty DataFrame
Columns: [aid, pid]
Index: []
CREATE TABLE "cite" (
"cited" int,
"citing" int,
foreign key("cited") references "publication"("pid"),
foreign key("citing") references "publication"("pid")
)
3 rows from cite table:
Empty DataFrame
Columns: [cited, citing]
Index: []
|
academic | return me the citations of each paper in the VLDB conference . | SELECT t2.citation_num FROM publication AS t2 JOIN conference AS t1 ON t2.cid = t1.cid WHERE t1.name = "VLDB"; | CREATE TABLE "author" (
"aid" int,
"homepage" text,
"name" text,
"oid" int,
primary key("aid")
)
3 rows from author table:
Empty DataFrame
Columns: [aid, homepage, name, oid]
Index: []
CREATE TABLE "conference" (
"cid" int,
"homepage" text,
"name" text,
primary key ("cid")
)
3 rows from conference table:
Empty DataFrame
Columns: [cid, homepage, name]
Index: []
CREATE TABLE "domain" (
"did" int,
"name" text,
primary key ("did")
)
3 rows from domain table:
Empty DataFrame
Columns: [did, name]
Index: []
CREATE TABLE "domain_author" (
"aid" int,
"did" int,
primary key ("did", "aid"),
foreign key("aid") references `author`("aid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_author table:
Empty DataFrame
Columns: [aid, did]
Index: []
CREATE TABLE "domain_conference" (
"cid" int,
"did" int,
primary key ("did", "cid"),
foreign key("cid") references `conference`("cid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_conference table:
Empty DataFrame
Columns: [cid, did]
Index: []
CREATE TABLE "journal" (
"homepage" text,
"jid" int,
"name" text,
primary key("jid")
)
3 rows from journal table:
Empty DataFrame
Columns: [homepage, jid, name]
Index: []
CREATE TABLE "domain_journal" (
"did" int,
"jid" int,
primary key ("did", "jid"),
foreign key("jid") references "journal"("jid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_journal table:
Empty DataFrame
Columns: [did, jid]
Index: []
CREATE TABLE "keyword" (
"keyword" text,
"kid" int,
primary key("kid")
)
3 rows from keyword table:
Empty DataFrame
Columns: [keyword, kid]
Index: []
CREATE TABLE "domain_keyword" (
"did" int,
"kid" int,
primary key ("did", "kid"),
foreign key("kid") references "keyword"("kid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_keyword table:
Empty DataFrame
Columns: [did, kid]
Index: []
CREATE TABLE "publication" (
"abstract" text,
"cid" text,
"citation_num" int,
"jid" int,
"pid" int,
"reference_num" int,
"title" text,
"year" int,
primary key("pid"),
foreign key("jid") references "journal"("jid"),
foreign key("cid") references "conference"("cid")
)
3 rows from publication table:
Empty DataFrame
Columns: [abstract, cid, citation_num, jid, pid, reference_num, title, year]
Index: []
CREATE TABLE "domain_publication" (
"did" int,
"pid" int,
primary key ("did", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_publication table:
Empty DataFrame
Columns: [did, pid]
Index: []
CREATE TABLE "organization" (
"continent" text,
"homepage" text,
"name" text,
"oid" int,
primary key("oid")
)
3 rows from organization table:
Empty DataFrame
Columns: [continent, homepage, name, oid]
Index: []
CREATE TABLE "publication_keyword" (
"pid" int,
"kid" int,
primary key ("kid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("kid") references "keyword"("kid")
)
3 rows from publication_keyword table:
Empty DataFrame
Columns: [pid, kid]
Index: []
CREATE TABLE "writes" (
"aid" int,
"pid" int,
primary key ("aid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("aid") references "author"("aid")
)
3 rows from writes table:
Empty DataFrame
Columns: [aid, pid]
Index: []
CREATE TABLE "cite" (
"cited" int,
"citing" int,
foreign key("cited") references "publication"("pid"),
foreign key("citing") references "publication"("pid")
)
3 rows from cite table:
Empty DataFrame
Columns: [cited, citing]
Index: []
|
academic | return me the total citations of papers in the VLDB conference in 2005 . | SELECT SUM ( t2.citation_num ) FROM publication AS t2 JOIN conference AS t1 ON t2.cid = t1.cid WHERE t1.name = "VLDB" AND t2.year = 2005; | CREATE TABLE "author" (
"aid" int,
"homepage" text,
"name" text,
"oid" int,
primary key("aid")
)
3 rows from author table:
Empty DataFrame
Columns: [aid, homepage, name, oid]
Index: []
CREATE TABLE "conference" (
"cid" int,
"homepage" text,
"name" text,
primary key ("cid")
)
3 rows from conference table:
Empty DataFrame
Columns: [cid, homepage, name]
Index: []
CREATE TABLE "domain" (
"did" int,
"name" text,
primary key ("did")
)
3 rows from domain table:
Empty DataFrame
Columns: [did, name]
Index: []
CREATE TABLE "domain_author" (
"aid" int,
"did" int,
primary key ("did", "aid"),
foreign key("aid") references `author`("aid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_author table:
Empty DataFrame
Columns: [aid, did]
Index: []
CREATE TABLE "domain_conference" (
"cid" int,
"did" int,
primary key ("did", "cid"),
foreign key("cid") references `conference`("cid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_conference table:
Empty DataFrame
Columns: [cid, did]
Index: []
CREATE TABLE "journal" (
"homepage" text,
"jid" int,
"name" text,
primary key("jid")
)
3 rows from journal table:
Empty DataFrame
Columns: [homepage, jid, name]
Index: []
CREATE TABLE "domain_journal" (
"did" int,
"jid" int,
primary key ("did", "jid"),
foreign key("jid") references "journal"("jid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_journal table:
Empty DataFrame
Columns: [did, jid]
Index: []
CREATE TABLE "keyword" (
"keyword" text,
"kid" int,
primary key("kid")
)
3 rows from keyword table:
Empty DataFrame
Columns: [keyword, kid]
Index: []
CREATE TABLE "domain_keyword" (
"did" int,
"kid" int,
primary key ("did", "kid"),
foreign key("kid") references "keyword"("kid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_keyword table:
Empty DataFrame
Columns: [did, kid]
Index: []
CREATE TABLE "publication" (
"abstract" text,
"cid" text,
"citation_num" int,
"jid" int,
"pid" int,
"reference_num" int,
"title" text,
"year" int,
primary key("pid"),
foreign key("jid") references "journal"("jid"),
foreign key("cid") references "conference"("cid")
)
3 rows from publication table:
Empty DataFrame
Columns: [abstract, cid, citation_num, jid, pid, reference_num, title, year]
Index: []
CREATE TABLE "domain_publication" (
"did" int,
"pid" int,
primary key ("did", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_publication table:
Empty DataFrame
Columns: [did, pid]
Index: []
CREATE TABLE "organization" (
"continent" text,
"homepage" text,
"name" text,
"oid" int,
primary key("oid")
)
3 rows from organization table:
Empty DataFrame
Columns: [continent, homepage, name, oid]
Index: []
CREATE TABLE "publication_keyword" (
"pid" int,
"kid" int,
primary key ("kid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("kid") references "keyword"("kid")
)
3 rows from publication_keyword table:
Empty DataFrame
Columns: [pid, kid]
Index: []
CREATE TABLE "writes" (
"aid" int,
"pid" int,
primary key ("aid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("aid") references "author"("aid")
)
3 rows from writes table:
Empty DataFrame
Columns: [aid, pid]
Index: []
CREATE TABLE "cite" (
"cited" int,
"citing" int,
foreign key("cited") references "publication"("pid"),
foreign key("citing") references "publication"("pid")
)
3 rows from cite table:
Empty DataFrame
Columns: [cited, citing]
Index: []
|
academic | return me the total citations of papers in the VLDB conference before 2005 . | SELECT SUM ( t2.citation_num ) FROM publication AS t2 JOIN conference AS t1 ON t2.cid = t1.cid WHERE t1.name = "VLDB" AND t2.year < 2005; | CREATE TABLE "author" (
"aid" int,
"homepage" text,
"name" text,
"oid" int,
primary key("aid")
)
3 rows from author table:
Empty DataFrame
Columns: [aid, homepage, name, oid]
Index: []
CREATE TABLE "conference" (
"cid" int,
"homepage" text,
"name" text,
primary key ("cid")
)
3 rows from conference table:
Empty DataFrame
Columns: [cid, homepage, name]
Index: []
CREATE TABLE "domain" (
"did" int,
"name" text,
primary key ("did")
)
3 rows from domain table:
Empty DataFrame
Columns: [did, name]
Index: []
CREATE TABLE "domain_author" (
"aid" int,
"did" int,
primary key ("did", "aid"),
foreign key("aid") references `author`("aid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_author table:
Empty DataFrame
Columns: [aid, did]
Index: []
CREATE TABLE "domain_conference" (
"cid" int,
"did" int,
primary key ("did", "cid"),
foreign key("cid") references `conference`("cid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_conference table:
Empty DataFrame
Columns: [cid, did]
Index: []
CREATE TABLE "journal" (
"homepage" text,
"jid" int,
"name" text,
primary key("jid")
)
3 rows from journal table:
Empty DataFrame
Columns: [homepage, jid, name]
Index: []
CREATE TABLE "domain_journal" (
"did" int,
"jid" int,
primary key ("did", "jid"),
foreign key("jid") references "journal"("jid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_journal table:
Empty DataFrame
Columns: [did, jid]
Index: []
CREATE TABLE "keyword" (
"keyword" text,
"kid" int,
primary key("kid")
)
3 rows from keyword table:
Empty DataFrame
Columns: [keyword, kid]
Index: []
CREATE TABLE "domain_keyword" (
"did" int,
"kid" int,
primary key ("did", "kid"),
foreign key("kid") references "keyword"("kid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_keyword table:
Empty DataFrame
Columns: [did, kid]
Index: []
CREATE TABLE "publication" (
"abstract" text,
"cid" text,
"citation_num" int,
"jid" int,
"pid" int,
"reference_num" int,
"title" text,
"year" int,
primary key("pid"),
foreign key("jid") references "journal"("jid"),
foreign key("cid") references "conference"("cid")
)
3 rows from publication table:
Empty DataFrame
Columns: [abstract, cid, citation_num, jid, pid, reference_num, title, year]
Index: []
CREATE TABLE "domain_publication" (
"did" int,
"pid" int,
primary key ("did", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_publication table:
Empty DataFrame
Columns: [did, pid]
Index: []
CREATE TABLE "organization" (
"continent" text,
"homepage" text,
"name" text,
"oid" int,
primary key("oid")
)
3 rows from organization table:
Empty DataFrame
Columns: [continent, homepage, name, oid]
Index: []
CREATE TABLE "publication_keyword" (
"pid" int,
"kid" int,
primary key ("kid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("kid") references "keyword"("kid")
)
3 rows from publication_keyword table:
Empty DataFrame
Columns: [pid, kid]
Index: []
CREATE TABLE "writes" (
"aid" int,
"pid" int,
primary key ("aid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("aid") references "author"("aid")
)
3 rows from writes table:
Empty DataFrame
Columns: [aid, pid]
Index: []
CREATE TABLE "cite" (
"cited" int,
"citing" int,
foreign key("cited") references "publication"("pid"),
foreign key("citing") references "publication"("pid")
)
3 rows from cite table:
Empty DataFrame
Columns: [cited, citing]
Index: []
|
academic | return me the total citations of papers in the VLDB conference in each year . | SELECT t2.year , SUM ( t2.citation_num ) FROM publication AS t2 JOIN conference AS t1 ON t2.cid = t1.cid WHERE t1.name = "VLDB" GROUP BY t2.year; | CREATE TABLE "author" (
"aid" int,
"homepage" text,
"name" text,
"oid" int,
primary key("aid")
)
3 rows from author table:
Empty DataFrame
Columns: [aid, homepage, name, oid]
Index: []
CREATE TABLE "conference" (
"cid" int,
"homepage" text,
"name" text,
primary key ("cid")
)
3 rows from conference table:
Empty DataFrame
Columns: [cid, homepage, name]
Index: []
CREATE TABLE "domain" (
"did" int,
"name" text,
primary key ("did")
)
3 rows from domain table:
Empty DataFrame
Columns: [did, name]
Index: []
CREATE TABLE "domain_author" (
"aid" int,
"did" int,
primary key ("did", "aid"),
foreign key("aid") references `author`("aid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_author table:
Empty DataFrame
Columns: [aid, did]
Index: []
CREATE TABLE "domain_conference" (
"cid" int,
"did" int,
primary key ("did", "cid"),
foreign key("cid") references `conference`("cid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_conference table:
Empty DataFrame
Columns: [cid, did]
Index: []
CREATE TABLE "journal" (
"homepage" text,
"jid" int,
"name" text,
primary key("jid")
)
3 rows from journal table:
Empty DataFrame
Columns: [homepage, jid, name]
Index: []
CREATE TABLE "domain_journal" (
"did" int,
"jid" int,
primary key ("did", "jid"),
foreign key("jid") references "journal"("jid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_journal table:
Empty DataFrame
Columns: [did, jid]
Index: []
CREATE TABLE "keyword" (
"keyword" text,
"kid" int,
primary key("kid")
)
3 rows from keyword table:
Empty DataFrame
Columns: [keyword, kid]
Index: []
CREATE TABLE "domain_keyword" (
"did" int,
"kid" int,
primary key ("did", "kid"),
foreign key("kid") references "keyword"("kid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_keyword table:
Empty DataFrame
Columns: [did, kid]
Index: []
CREATE TABLE "publication" (
"abstract" text,
"cid" text,
"citation_num" int,
"jid" int,
"pid" int,
"reference_num" int,
"title" text,
"year" int,
primary key("pid"),
foreign key("jid") references "journal"("jid"),
foreign key("cid") references "conference"("cid")
)
3 rows from publication table:
Empty DataFrame
Columns: [abstract, cid, citation_num, jid, pid, reference_num, title, year]
Index: []
CREATE TABLE "domain_publication" (
"did" int,
"pid" int,
primary key ("did", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_publication table:
Empty DataFrame
Columns: [did, pid]
Index: []
CREATE TABLE "organization" (
"continent" text,
"homepage" text,
"name" text,
"oid" int,
primary key("oid")
)
3 rows from organization table:
Empty DataFrame
Columns: [continent, homepage, name, oid]
Index: []
CREATE TABLE "publication_keyword" (
"pid" int,
"kid" int,
primary key ("kid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("kid") references "keyword"("kid")
)
3 rows from publication_keyword table:
Empty DataFrame
Columns: [pid, kid]
Index: []
CREATE TABLE "writes" (
"aid" int,
"pid" int,
primary key ("aid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("aid") references "author"("aid")
)
3 rows from writes table:
Empty DataFrame
Columns: [aid, pid]
Index: []
CREATE TABLE "cite" (
"cited" int,
"citing" int,
foreign key("cited") references "publication"("pid"),
foreign key("citing") references "publication"("pid")
)
3 rows from cite table:
Empty DataFrame
Columns: [cited, citing]
Index: []
|
academic | return me the number of papers published in the VLDB conference in each year . | SELECT COUNT ( DISTINCT t2.title ) , t2.year FROM publication AS t2 JOIN conference AS t1 ON t2.cid = t1.cid WHERE t1.name = "VLDB" GROUP BY t2.year; | CREATE TABLE "author" (
"aid" int,
"homepage" text,
"name" text,
"oid" int,
primary key("aid")
)
3 rows from author table:
Empty DataFrame
Columns: [aid, homepage, name, oid]
Index: []
CREATE TABLE "conference" (
"cid" int,
"homepage" text,
"name" text,
primary key ("cid")
)
3 rows from conference table:
Empty DataFrame
Columns: [cid, homepage, name]
Index: []
CREATE TABLE "domain" (
"did" int,
"name" text,
primary key ("did")
)
3 rows from domain table:
Empty DataFrame
Columns: [did, name]
Index: []
CREATE TABLE "domain_author" (
"aid" int,
"did" int,
primary key ("did", "aid"),
foreign key("aid") references `author`("aid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_author table:
Empty DataFrame
Columns: [aid, did]
Index: []
CREATE TABLE "domain_conference" (
"cid" int,
"did" int,
primary key ("did", "cid"),
foreign key("cid") references `conference`("cid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_conference table:
Empty DataFrame
Columns: [cid, did]
Index: []
CREATE TABLE "journal" (
"homepage" text,
"jid" int,
"name" text,
primary key("jid")
)
3 rows from journal table:
Empty DataFrame
Columns: [homepage, jid, name]
Index: []
CREATE TABLE "domain_journal" (
"did" int,
"jid" int,
primary key ("did", "jid"),
foreign key("jid") references "journal"("jid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_journal table:
Empty DataFrame
Columns: [did, jid]
Index: []
CREATE TABLE "keyword" (
"keyword" text,
"kid" int,
primary key("kid")
)
3 rows from keyword table:
Empty DataFrame
Columns: [keyword, kid]
Index: []
CREATE TABLE "domain_keyword" (
"did" int,
"kid" int,
primary key ("did", "kid"),
foreign key("kid") references "keyword"("kid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_keyword table:
Empty DataFrame
Columns: [did, kid]
Index: []
CREATE TABLE "publication" (
"abstract" text,
"cid" text,
"citation_num" int,
"jid" int,
"pid" int,
"reference_num" int,
"title" text,
"year" int,
primary key("pid"),
foreign key("jid") references "journal"("jid"),
foreign key("cid") references "conference"("cid")
)
3 rows from publication table:
Empty DataFrame
Columns: [abstract, cid, citation_num, jid, pid, reference_num, title, year]
Index: []
CREATE TABLE "domain_publication" (
"did" int,
"pid" int,
primary key ("did", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_publication table:
Empty DataFrame
Columns: [did, pid]
Index: []
CREATE TABLE "organization" (
"continent" text,
"homepage" text,
"name" text,
"oid" int,
primary key("oid")
)
3 rows from organization table:
Empty DataFrame
Columns: [continent, homepage, name, oid]
Index: []
CREATE TABLE "publication_keyword" (
"pid" int,
"kid" int,
primary key ("kid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("kid") references "keyword"("kid")
)
3 rows from publication_keyword table:
Empty DataFrame
Columns: [pid, kid]
Index: []
CREATE TABLE "writes" (
"aid" int,
"pid" int,
primary key ("aid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("aid") references "author"("aid")
)
3 rows from writes table:
Empty DataFrame
Columns: [aid, pid]
Index: []
CREATE TABLE "cite" (
"cited" int,
"citing" int,
foreign key("cited") references "publication"("pid"),
foreign key("citing") references "publication"("pid")
)
3 rows from cite table:
Empty DataFrame
Columns: [cited, citing]
Index: []
|
academic | return me the authors who have cooperated both with " H. V. Jagadish " and " Divesh Srivastava " . | SELECT t2.name FROM writes AS t4 JOIN author AS t2 ON t4.aid = t2.aid JOIN publication AS t7 ON t4.pid = t7.pid JOIN writes AS t5 ON t5.pid = t7.pid JOIN writes AS t6 ON t6.pid = t7.pid JOIN author AS t1 ON t5.aid = t1.aid JOIN author AS t3 ON t6.aid = t3.aid WHERE t1.name = "H. V. Jagadish" AND t3.name = "Divesh Srivastava"; | CREATE TABLE "author" (
"aid" int,
"homepage" text,
"name" text,
"oid" int,
primary key("aid")
)
3 rows from author table:
Empty DataFrame
Columns: [aid, homepage, name, oid]
Index: []
CREATE TABLE "conference" (
"cid" int,
"homepage" text,
"name" text,
primary key ("cid")
)
3 rows from conference table:
Empty DataFrame
Columns: [cid, homepage, name]
Index: []
CREATE TABLE "domain" (
"did" int,
"name" text,
primary key ("did")
)
3 rows from domain table:
Empty DataFrame
Columns: [did, name]
Index: []
CREATE TABLE "domain_author" (
"aid" int,
"did" int,
primary key ("did", "aid"),
foreign key("aid") references `author`("aid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_author table:
Empty DataFrame
Columns: [aid, did]
Index: []
CREATE TABLE "domain_conference" (
"cid" int,
"did" int,
primary key ("did", "cid"),
foreign key("cid") references `conference`("cid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_conference table:
Empty DataFrame
Columns: [cid, did]
Index: []
CREATE TABLE "journal" (
"homepage" text,
"jid" int,
"name" text,
primary key("jid")
)
3 rows from journal table:
Empty DataFrame
Columns: [homepage, jid, name]
Index: []
CREATE TABLE "domain_journal" (
"did" int,
"jid" int,
primary key ("did", "jid"),
foreign key("jid") references "journal"("jid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_journal table:
Empty DataFrame
Columns: [did, jid]
Index: []
CREATE TABLE "keyword" (
"keyword" text,
"kid" int,
primary key("kid")
)
3 rows from keyword table:
Empty DataFrame
Columns: [keyword, kid]
Index: []
CREATE TABLE "domain_keyword" (
"did" int,
"kid" int,
primary key ("did", "kid"),
foreign key("kid") references "keyword"("kid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_keyword table:
Empty DataFrame
Columns: [did, kid]
Index: []
CREATE TABLE "publication" (
"abstract" text,
"cid" text,
"citation_num" int,
"jid" int,
"pid" int,
"reference_num" int,
"title" text,
"year" int,
primary key("pid"),
foreign key("jid") references "journal"("jid"),
foreign key("cid") references "conference"("cid")
)
3 rows from publication table:
Empty DataFrame
Columns: [abstract, cid, citation_num, jid, pid, reference_num, title, year]
Index: []
CREATE TABLE "domain_publication" (
"did" int,
"pid" int,
primary key ("did", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_publication table:
Empty DataFrame
Columns: [did, pid]
Index: []
CREATE TABLE "organization" (
"continent" text,
"homepage" text,
"name" text,
"oid" int,
primary key("oid")
)
3 rows from organization table:
Empty DataFrame
Columns: [continent, homepage, name, oid]
Index: []
CREATE TABLE "publication_keyword" (
"pid" int,
"kid" int,
primary key ("kid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("kid") references "keyword"("kid")
)
3 rows from publication_keyword table:
Empty DataFrame
Columns: [pid, kid]
Index: []
CREATE TABLE "writes" (
"aid" int,
"pid" int,
primary key ("aid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("aid") references "author"("aid")
)
3 rows from writes table:
Empty DataFrame
Columns: [aid, pid]
Index: []
CREATE TABLE "cite" (
"cited" int,
"citing" int,
foreign key("cited") references "publication"("pid"),
foreign key("citing") references "publication"("pid")
)
3 rows from cite table:
Empty DataFrame
Columns: [cited, citing]
Index: []
|
academic | return me the authors who have cooperated with " H. V. Jagadish " after 2000 . | SELECT t2.name FROM writes AS t3 JOIN author AS t2 ON t3.aid = t2.aid JOIN publication AS t5 ON t3.pid = t5.pid JOIN writes AS t4 ON t4.pid = t5.pid JOIN author AS t1 ON t4.aid = t1.aid WHERE t1.name = "H. V. Jagadish" AND t5.year > 2000; | CREATE TABLE "author" (
"aid" int,
"homepage" text,
"name" text,
"oid" int,
primary key("aid")
)
3 rows from author table:
Empty DataFrame
Columns: [aid, homepage, name, oid]
Index: []
CREATE TABLE "conference" (
"cid" int,
"homepage" text,
"name" text,
primary key ("cid")
)
3 rows from conference table:
Empty DataFrame
Columns: [cid, homepage, name]
Index: []
CREATE TABLE "domain" (
"did" int,
"name" text,
primary key ("did")
)
3 rows from domain table:
Empty DataFrame
Columns: [did, name]
Index: []
CREATE TABLE "domain_author" (
"aid" int,
"did" int,
primary key ("did", "aid"),
foreign key("aid") references `author`("aid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_author table:
Empty DataFrame
Columns: [aid, did]
Index: []
CREATE TABLE "domain_conference" (
"cid" int,
"did" int,
primary key ("did", "cid"),
foreign key("cid") references `conference`("cid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_conference table:
Empty DataFrame
Columns: [cid, did]
Index: []
CREATE TABLE "journal" (
"homepage" text,
"jid" int,
"name" text,
primary key("jid")
)
3 rows from journal table:
Empty DataFrame
Columns: [homepage, jid, name]
Index: []
CREATE TABLE "domain_journal" (
"did" int,
"jid" int,
primary key ("did", "jid"),
foreign key("jid") references "journal"("jid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_journal table:
Empty DataFrame
Columns: [did, jid]
Index: []
CREATE TABLE "keyword" (
"keyword" text,
"kid" int,
primary key("kid")
)
3 rows from keyword table:
Empty DataFrame
Columns: [keyword, kid]
Index: []
CREATE TABLE "domain_keyword" (
"did" int,
"kid" int,
primary key ("did", "kid"),
foreign key("kid") references "keyword"("kid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_keyword table:
Empty DataFrame
Columns: [did, kid]
Index: []
CREATE TABLE "publication" (
"abstract" text,
"cid" text,
"citation_num" int,
"jid" int,
"pid" int,
"reference_num" int,
"title" text,
"year" int,
primary key("pid"),
foreign key("jid") references "journal"("jid"),
foreign key("cid") references "conference"("cid")
)
3 rows from publication table:
Empty DataFrame
Columns: [abstract, cid, citation_num, jid, pid, reference_num, title, year]
Index: []
CREATE TABLE "domain_publication" (
"did" int,
"pid" int,
primary key ("did", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_publication table:
Empty DataFrame
Columns: [did, pid]
Index: []
CREATE TABLE "organization" (
"continent" text,
"homepage" text,
"name" text,
"oid" int,
primary key("oid")
)
3 rows from organization table:
Empty DataFrame
Columns: [continent, homepage, name, oid]
Index: []
CREATE TABLE "publication_keyword" (
"pid" int,
"kid" int,
primary key ("kid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("kid") references "keyword"("kid")
)
3 rows from publication_keyword table:
Empty DataFrame
Columns: [pid, kid]
Index: []
CREATE TABLE "writes" (
"aid" int,
"pid" int,
primary key ("aid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("aid") references "author"("aid")
)
3 rows from writes table:
Empty DataFrame
Columns: [aid, pid]
Index: []
CREATE TABLE "cite" (
"cited" int,
"citing" int,
foreign key("cited") references "publication"("pid"),
foreign key("citing") references "publication"("pid")
)
3 rows from cite table:
Empty DataFrame
Columns: [cited, citing]
Index: []
|
academic | return me the papers written by " H. V. Jagadish " and " Divesh Srivastava " . | SELECT t5.title FROM writes AS t3 JOIN author AS t2 ON t3.aid = t2.aid JOIN publication AS t5 ON t3.pid = t5.pid JOIN writes AS t4 ON t4.pid = t5.pid JOIN author AS t1 ON t4.aid = t1.aid WHERE t2.name = "H. V. Jagadish" AND t1.name = "Divesh Srivastava"; | CREATE TABLE "author" (
"aid" int,
"homepage" text,
"name" text,
"oid" int,
primary key("aid")
)
3 rows from author table:
Empty DataFrame
Columns: [aid, homepage, name, oid]
Index: []
CREATE TABLE "conference" (
"cid" int,
"homepage" text,
"name" text,
primary key ("cid")
)
3 rows from conference table:
Empty DataFrame
Columns: [cid, homepage, name]
Index: []
CREATE TABLE "domain" (
"did" int,
"name" text,
primary key ("did")
)
3 rows from domain table:
Empty DataFrame
Columns: [did, name]
Index: []
CREATE TABLE "domain_author" (
"aid" int,
"did" int,
primary key ("did", "aid"),
foreign key("aid") references `author`("aid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_author table:
Empty DataFrame
Columns: [aid, did]
Index: []
CREATE TABLE "domain_conference" (
"cid" int,
"did" int,
primary key ("did", "cid"),
foreign key("cid") references `conference`("cid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_conference table:
Empty DataFrame
Columns: [cid, did]
Index: []
CREATE TABLE "journal" (
"homepage" text,
"jid" int,
"name" text,
primary key("jid")
)
3 rows from journal table:
Empty DataFrame
Columns: [homepage, jid, name]
Index: []
CREATE TABLE "domain_journal" (
"did" int,
"jid" int,
primary key ("did", "jid"),
foreign key("jid") references "journal"("jid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_journal table:
Empty DataFrame
Columns: [did, jid]
Index: []
CREATE TABLE "keyword" (
"keyword" text,
"kid" int,
primary key("kid")
)
3 rows from keyword table:
Empty DataFrame
Columns: [keyword, kid]
Index: []
CREATE TABLE "domain_keyword" (
"did" int,
"kid" int,
primary key ("did", "kid"),
foreign key("kid") references "keyword"("kid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_keyword table:
Empty DataFrame
Columns: [did, kid]
Index: []
CREATE TABLE "publication" (
"abstract" text,
"cid" text,
"citation_num" int,
"jid" int,
"pid" int,
"reference_num" int,
"title" text,
"year" int,
primary key("pid"),
foreign key("jid") references "journal"("jid"),
foreign key("cid") references "conference"("cid")
)
3 rows from publication table:
Empty DataFrame
Columns: [abstract, cid, citation_num, jid, pid, reference_num, title, year]
Index: []
CREATE TABLE "domain_publication" (
"did" int,
"pid" int,
primary key ("did", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_publication table:
Empty DataFrame
Columns: [did, pid]
Index: []
CREATE TABLE "organization" (
"continent" text,
"homepage" text,
"name" text,
"oid" int,
primary key("oid")
)
3 rows from organization table:
Empty DataFrame
Columns: [continent, homepage, name, oid]
Index: []
CREATE TABLE "publication_keyword" (
"pid" int,
"kid" int,
primary key ("kid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("kid") references "keyword"("kid")
)
3 rows from publication_keyword table:
Empty DataFrame
Columns: [pid, kid]
Index: []
CREATE TABLE "writes" (
"aid" int,
"pid" int,
primary key ("aid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("aid") references "author"("aid")
)
3 rows from writes table:
Empty DataFrame
Columns: [aid, pid]
Index: []
CREATE TABLE "cite" (
"cited" int,
"citing" int,
foreign key("cited") references "publication"("pid"),
foreign key("citing") references "publication"("pid")
)
3 rows from cite table:
Empty DataFrame
Columns: [cited, citing]
Index: []
|
academic | return me the papers written by " H. V. Jagadish " and " Yunyao Li " after 2005 . | SELECT t5.title FROM writes AS t3 JOIN author AS t2 ON t3.aid = t2.aid JOIN publication AS t5 ON t3.pid = t5.pid JOIN writes AS t4 ON t4.pid = t5.pid JOIN author AS t1 ON t4.aid = t1.aid WHERE t2.name = "H. V. Jagadish" AND t1.name = "Yunyao Li" AND t5.year > 2005; | CREATE TABLE "author" (
"aid" int,
"homepage" text,
"name" text,
"oid" int,
primary key("aid")
)
3 rows from author table:
Empty DataFrame
Columns: [aid, homepage, name, oid]
Index: []
CREATE TABLE "conference" (
"cid" int,
"homepage" text,
"name" text,
primary key ("cid")
)
3 rows from conference table:
Empty DataFrame
Columns: [cid, homepage, name]
Index: []
CREATE TABLE "domain" (
"did" int,
"name" text,
primary key ("did")
)
3 rows from domain table:
Empty DataFrame
Columns: [did, name]
Index: []
CREATE TABLE "domain_author" (
"aid" int,
"did" int,
primary key ("did", "aid"),
foreign key("aid") references `author`("aid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_author table:
Empty DataFrame
Columns: [aid, did]
Index: []
CREATE TABLE "domain_conference" (
"cid" int,
"did" int,
primary key ("did", "cid"),
foreign key("cid") references `conference`("cid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_conference table:
Empty DataFrame
Columns: [cid, did]
Index: []
CREATE TABLE "journal" (
"homepage" text,
"jid" int,
"name" text,
primary key("jid")
)
3 rows from journal table:
Empty DataFrame
Columns: [homepage, jid, name]
Index: []
CREATE TABLE "domain_journal" (
"did" int,
"jid" int,
primary key ("did", "jid"),
foreign key("jid") references "journal"("jid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_journal table:
Empty DataFrame
Columns: [did, jid]
Index: []
CREATE TABLE "keyword" (
"keyword" text,
"kid" int,
primary key("kid")
)
3 rows from keyword table:
Empty DataFrame
Columns: [keyword, kid]
Index: []
CREATE TABLE "domain_keyword" (
"did" int,
"kid" int,
primary key ("did", "kid"),
foreign key("kid") references "keyword"("kid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_keyword table:
Empty DataFrame
Columns: [did, kid]
Index: []
CREATE TABLE "publication" (
"abstract" text,
"cid" text,
"citation_num" int,
"jid" int,
"pid" int,
"reference_num" int,
"title" text,
"year" int,
primary key("pid"),
foreign key("jid") references "journal"("jid"),
foreign key("cid") references "conference"("cid")
)
3 rows from publication table:
Empty DataFrame
Columns: [abstract, cid, citation_num, jid, pid, reference_num, title, year]
Index: []
CREATE TABLE "domain_publication" (
"did" int,
"pid" int,
primary key ("did", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_publication table:
Empty DataFrame
Columns: [did, pid]
Index: []
CREATE TABLE "organization" (
"continent" text,
"homepage" text,
"name" text,
"oid" int,
primary key("oid")
)
3 rows from organization table:
Empty DataFrame
Columns: [continent, homepage, name, oid]
Index: []
CREATE TABLE "publication_keyword" (
"pid" int,
"kid" int,
primary key ("kid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("kid") references "keyword"("kid")
)
3 rows from publication_keyword table:
Empty DataFrame
Columns: [pid, kid]
Index: []
CREATE TABLE "writes" (
"aid" int,
"pid" int,
primary key ("aid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("aid") references "author"("aid")
)
3 rows from writes table:
Empty DataFrame
Columns: [aid, pid]
Index: []
CREATE TABLE "cite" (
"cited" int,
"citing" int,
foreign key("cited") references "publication"("pid"),
foreign key("citing") references "publication"("pid")
)
3 rows from cite table:
Empty DataFrame
Columns: [cited, citing]
Index: []
|
academic | return me the papers written by " H. V. Jagadish " and " Yunyao Li " on PVLDB . | SELECT t6.title FROM publication AS t6 JOIN journal AS t4 ON t6.jid = t4.jid JOIN writes AS t3 ON t3.pid = t6.pid JOIN writes AS t5 ON t5.pid = t6.pid JOIN author AS t1 ON t5.aid = t1.aid JOIN author AS t2 ON t3.aid = t2.aid WHERE t2.name = "H. V. Jagadish" AND t1.name = "Yunyao Li" AND t4.name = "PVLDB"; | CREATE TABLE "author" (
"aid" int,
"homepage" text,
"name" text,
"oid" int,
primary key("aid")
)
3 rows from author table:
Empty DataFrame
Columns: [aid, homepage, name, oid]
Index: []
CREATE TABLE "conference" (
"cid" int,
"homepage" text,
"name" text,
primary key ("cid")
)
3 rows from conference table:
Empty DataFrame
Columns: [cid, homepage, name]
Index: []
CREATE TABLE "domain" (
"did" int,
"name" text,
primary key ("did")
)
3 rows from domain table:
Empty DataFrame
Columns: [did, name]
Index: []
CREATE TABLE "domain_author" (
"aid" int,
"did" int,
primary key ("did", "aid"),
foreign key("aid") references `author`("aid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_author table:
Empty DataFrame
Columns: [aid, did]
Index: []
CREATE TABLE "domain_conference" (
"cid" int,
"did" int,
primary key ("did", "cid"),
foreign key("cid") references `conference`("cid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_conference table:
Empty DataFrame
Columns: [cid, did]
Index: []
CREATE TABLE "journal" (
"homepage" text,
"jid" int,
"name" text,
primary key("jid")
)
3 rows from journal table:
Empty DataFrame
Columns: [homepage, jid, name]
Index: []
CREATE TABLE "domain_journal" (
"did" int,
"jid" int,
primary key ("did", "jid"),
foreign key("jid") references "journal"("jid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_journal table:
Empty DataFrame
Columns: [did, jid]
Index: []
CREATE TABLE "keyword" (
"keyword" text,
"kid" int,
primary key("kid")
)
3 rows from keyword table:
Empty DataFrame
Columns: [keyword, kid]
Index: []
CREATE TABLE "domain_keyword" (
"did" int,
"kid" int,
primary key ("did", "kid"),
foreign key("kid") references "keyword"("kid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_keyword table:
Empty DataFrame
Columns: [did, kid]
Index: []
CREATE TABLE "publication" (
"abstract" text,
"cid" text,
"citation_num" int,
"jid" int,
"pid" int,
"reference_num" int,
"title" text,
"year" int,
primary key("pid"),
foreign key("jid") references "journal"("jid"),
foreign key("cid") references "conference"("cid")
)
3 rows from publication table:
Empty DataFrame
Columns: [abstract, cid, citation_num, jid, pid, reference_num, title, year]
Index: []
CREATE TABLE "domain_publication" (
"did" int,
"pid" int,
primary key ("did", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_publication table:
Empty DataFrame
Columns: [did, pid]
Index: []
CREATE TABLE "organization" (
"continent" text,
"homepage" text,
"name" text,
"oid" int,
primary key("oid")
)
3 rows from organization table:
Empty DataFrame
Columns: [continent, homepage, name, oid]
Index: []
CREATE TABLE "publication_keyword" (
"pid" int,
"kid" int,
primary key ("kid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("kid") references "keyword"("kid")
)
3 rows from publication_keyword table:
Empty DataFrame
Columns: [pid, kid]
Index: []
CREATE TABLE "writes" (
"aid" int,
"pid" int,
primary key ("aid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("aid") references "author"("aid")
)
3 rows from writes table:
Empty DataFrame
Columns: [aid, pid]
Index: []
CREATE TABLE "cite" (
"cited" int,
"citing" int,
foreign key("cited") references "publication"("pid"),
foreign key("citing") references "publication"("pid")
)
3 rows from cite table:
Empty DataFrame
Columns: [cited, citing]
Index: []
|
academic | return me the papers written by " H. V. Jagadish " and " Yunyao Li " on PVLDB after 2005 . | SELECT t6.title FROM publication AS t6 JOIN journal AS t4 ON t6.jid = t4.jid JOIN writes AS t3 ON t3.pid = t6.pid JOIN writes AS t5 ON t5.pid = t6.pid JOIN author AS t1 ON t5.aid = t1.aid JOIN author AS t2 ON t3.aid = t2.aid WHERE t2.name = "H. V. Jagadish" AND t1.name = "Yunyao Li" AND t4.name = "PVLDB" AND t6.year > 2005; | CREATE TABLE "author" (
"aid" int,
"homepage" text,
"name" text,
"oid" int,
primary key("aid")
)
3 rows from author table:
Empty DataFrame
Columns: [aid, homepage, name, oid]
Index: []
CREATE TABLE "conference" (
"cid" int,
"homepage" text,
"name" text,
primary key ("cid")
)
3 rows from conference table:
Empty DataFrame
Columns: [cid, homepage, name]
Index: []
CREATE TABLE "domain" (
"did" int,
"name" text,
primary key ("did")
)
3 rows from domain table:
Empty DataFrame
Columns: [did, name]
Index: []
CREATE TABLE "domain_author" (
"aid" int,
"did" int,
primary key ("did", "aid"),
foreign key("aid") references `author`("aid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_author table:
Empty DataFrame
Columns: [aid, did]
Index: []
CREATE TABLE "domain_conference" (
"cid" int,
"did" int,
primary key ("did", "cid"),
foreign key("cid") references `conference`("cid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_conference table:
Empty DataFrame
Columns: [cid, did]
Index: []
CREATE TABLE "journal" (
"homepage" text,
"jid" int,
"name" text,
primary key("jid")
)
3 rows from journal table:
Empty DataFrame
Columns: [homepage, jid, name]
Index: []
CREATE TABLE "domain_journal" (
"did" int,
"jid" int,
primary key ("did", "jid"),
foreign key("jid") references "journal"("jid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_journal table:
Empty DataFrame
Columns: [did, jid]
Index: []
CREATE TABLE "keyword" (
"keyword" text,
"kid" int,
primary key("kid")
)
3 rows from keyword table:
Empty DataFrame
Columns: [keyword, kid]
Index: []
CREATE TABLE "domain_keyword" (
"did" int,
"kid" int,
primary key ("did", "kid"),
foreign key("kid") references "keyword"("kid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_keyword table:
Empty DataFrame
Columns: [did, kid]
Index: []
CREATE TABLE "publication" (
"abstract" text,
"cid" text,
"citation_num" int,
"jid" int,
"pid" int,
"reference_num" int,
"title" text,
"year" int,
primary key("pid"),
foreign key("jid") references "journal"("jid"),
foreign key("cid") references "conference"("cid")
)
3 rows from publication table:
Empty DataFrame
Columns: [abstract, cid, citation_num, jid, pid, reference_num, title, year]
Index: []
CREATE TABLE "domain_publication" (
"did" int,
"pid" int,
primary key ("did", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_publication table:
Empty DataFrame
Columns: [did, pid]
Index: []
CREATE TABLE "organization" (
"continent" text,
"homepage" text,
"name" text,
"oid" int,
primary key("oid")
)
3 rows from organization table:
Empty DataFrame
Columns: [continent, homepage, name, oid]
Index: []
CREATE TABLE "publication_keyword" (
"pid" int,
"kid" int,
primary key ("kid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("kid") references "keyword"("kid")
)
3 rows from publication_keyword table:
Empty DataFrame
Columns: [pid, kid]
Index: []
CREATE TABLE "writes" (
"aid" int,
"pid" int,
primary key ("aid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("aid") references "author"("aid")
)
3 rows from writes table:
Empty DataFrame
Columns: [aid, pid]
Index: []
CREATE TABLE "cite" (
"cited" int,
"citing" int,
foreign key("cited") references "publication"("pid"),
foreign key("citing") references "publication"("pid")
)
3 rows from cite table:
Empty DataFrame
Columns: [cited, citing]
Index: []
|
academic | return me the authors who have cooperated with " H. V. Jagadish " . | SELECT t2.name FROM writes AS t3 JOIN author AS t2 ON t3.aid = t2.aid JOIN publication AS t5 ON t3.pid = t5.pid JOIN writes AS t4 ON t4.pid = t5.pid JOIN author AS t1 ON t4.aid = t1.aid WHERE t1.name = "H. V. Jagadish"; | CREATE TABLE "author" (
"aid" int,
"homepage" text,
"name" text,
"oid" int,
primary key("aid")
)
3 rows from author table:
Empty DataFrame
Columns: [aid, homepage, name, oid]
Index: []
CREATE TABLE "conference" (
"cid" int,
"homepage" text,
"name" text,
primary key ("cid")
)
3 rows from conference table:
Empty DataFrame
Columns: [cid, homepage, name]
Index: []
CREATE TABLE "domain" (
"did" int,
"name" text,
primary key ("did")
)
3 rows from domain table:
Empty DataFrame
Columns: [did, name]
Index: []
CREATE TABLE "domain_author" (
"aid" int,
"did" int,
primary key ("did", "aid"),
foreign key("aid") references `author`("aid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_author table:
Empty DataFrame
Columns: [aid, did]
Index: []
CREATE TABLE "domain_conference" (
"cid" int,
"did" int,
primary key ("did", "cid"),
foreign key("cid") references `conference`("cid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_conference table:
Empty DataFrame
Columns: [cid, did]
Index: []
CREATE TABLE "journal" (
"homepage" text,
"jid" int,
"name" text,
primary key("jid")
)
3 rows from journal table:
Empty DataFrame
Columns: [homepage, jid, name]
Index: []
CREATE TABLE "domain_journal" (
"did" int,
"jid" int,
primary key ("did", "jid"),
foreign key("jid") references "journal"("jid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_journal table:
Empty DataFrame
Columns: [did, jid]
Index: []
CREATE TABLE "keyword" (
"keyword" text,
"kid" int,
primary key("kid")
)
3 rows from keyword table:
Empty DataFrame
Columns: [keyword, kid]
Index: []
CREATE TABLE "domain_keyword" (
"did" int,
"kid" int,
primary key ("did", "kid"),
foreign key("kid") references "keyword"("kid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_keyword table:
Empty DataFrame
Columns: [did, kid]
Index: []
CREATE TABLE "publication" (
"abstract" text,
"cid" text,
"citation_num" int,
"jid" int,
"pid" int,
"reference_num" int,
"title" text,
"year" int,
primary key("pid"),
foreign key("jid") references "journal"("jid"),
foreign key("cid") references "conference"("cid")
)
3 rows from publication table:
Empty DataFrame
Columns: [abstract, cid, citation_num, jid, pid, reference_num, title, year]
Index: []
CREATE TABLE "domain_publication" (
"did" int,
"pid" int,
primary key ("did", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_publication table:
Empty DataFrame
Columns: [did, pid]
Index: []
CREATE TABLE "organization" (
"continent" text,
"homepage" text,
"name" text,
"oid" int,
primary key("oid")
)
3 rows from organization table:
Empty DataFrame
Columns: [continent, homepage, name, oid]
Index: []
CREATE TABLE "publication_keyword" (
"pid" int,
"kid" int,
primary key ("kid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("kid") references "keyword"("kid")
)
3 rows from publication_keyword table:
Empty DataFrame
Columns: [pid, kid]
Index: []
CREATE TABLE "writes" (
"aid" int,
"pid" int,
primary key ("aid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("aid") references "author"("aid")
)
3 rows from writes table:
Empty DataFrame
Columns: [aid, pid]
Index: []
CREATE TABLE "cite" (
"cited" int,
"citing" int,
foreign key("cited") references "publication"("pid"),
foreign key("citing") references "publication"("pid")
)
3 rows from cite table:
Empty DataFrame
Columns: [cited, citing]
Index: []
|
academic | return me the papers written by " H. V. Jagadish " and " Divesh Srivastava " before 2000 . | SELECT t5.title FROM writes AS t3 JOIN author AS t2 ON t3.aid = t2.aid JOIN publication AS t5 ON t3.pid = t5.pid JOIN writes AS t4 ON t4.pid = t5.pid JOIN author AS t1 ON t4.aid = t1.aid WHERE t2.name = "H. V. Jagadish" AND t1.name = "Divesh Srivastava" AND t5.year < 2000; | CREATE TABLE "author" (
"aid" int,
"homepage" text,
"name" text,
"oid" int,
primary key("aid")
)
3 rows from author table:
Empty DataFrame
Columns: [aid, homepage, name, oid]
Index: []
CREATE TABLE "conference" (
"cid" int,
"homepage" text,
"name" text,
primary key ("cid")
)
3 rows from conference table:
Empty DataFrame
Columns: [cid, homepage, name]
Index: []
CREATE TABLE "domain" (
"did" int,
"name" text,
primary key ("did")
)
3 rows from domain table:
Empty DataFrame
Columns: [did, name]
Index: []
CREATE TABLE "domain_author" (
"aid" int,
"did" int,
primary key ("did", "aid"),
foreign key("aid") references `author`("aid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_author table:
Empty DataFrame
Columns: [aid, did]
Index: []
CREATE TABLE "domain_conference" (
"cid" int,
"did" int,
primary key ("did", "cid"),
foreign key("cid") references `conference`("cid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_conference table:
Empty DataFrame
Columns: [cid, did]
Index: []
CREATE TABLE "journal" (
"homepage" text,
"jid" int,
"name" text,
primary key("jid")
)
3 rows from journal table:
Empty DataFrame
Columns: [homepage, jid, name]
Index: []
CREATE TABLE "domain_journal" (
"did" int,
"jid" int,
primary key ("did", "jid"),
foreign key("jid") references "journal"("jid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_journal table:
Empty DataFrame
Columns: [did, jid]
Index: []
CREATE TABLE "keyword" (
"keyword" text,
"kid" int,
primary key("kid")
)
3 rows from keyword table:
Empty DataFrame
Columns: [keyword, kid]
Index: []
CREATE TABLE "domain_keyword" (
"did" int,
"kid" int,
primary key ("did", "kid"),
foreign key("kid") references "keyword"("kid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_keyword table:
Empty DataFrame
Columns: [did, kid]
Index: []
CREATE TABLE "publication" (
"abstract" text,
"cid" text,
"citation_num" int,
"jid" int,
"pid" int,
"reference_num" int,
"title" text,
"year" int,
primary key("pid"),
foreign key("jid") references "journal"("jid"),
foreign key("cid") references "conference"("cid")
)
3 rows from publication table:
Empty DataFrame
Columns: [abstract, cid, citation_num, jid, pid, reference_num, title, year]
Index: []
CREATE TABLE "domain_publication" (
"did" int,
"pid" int,
primary key ("did", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_publication table:
Empty DataFrame
Columns: [did, pid]
Index: []
CREATE TABLE "organization" (
"continent" text,
"homepage" text,
"name" text,
"oid" int,
primary key("oid")
)
3 rows from organization table:
Empty DataFrame
Columns: [continent, homepage, name, oid]
Index: []
CREATE TABLE "publication_keyword" (
"pid" int,
"kid" int,
primary key ("kid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("kid") references "keyword"("kid")
)
3 rows from publication_keyword table:
Empty DataFrame
Columns: [pid, kid]
Index: []
CREATE TABLE "writes" (
"aid" int,
"pid" int,
primary key ("aid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("aid") references "author"("aid")
)
3 rows from writes table:
Empty DataFrame
Columns: [aid, pid]
Index: []
CREATE TABLE "cite" (
"cited" int,
"citing" int,
foreign key("cited") references "publication"("pid"),
foreign key("citing") references "publication"("pid")
)
3 rows from cite table:
Empty DataFrame
Columns: [cited, citing]
Index: []
|
academic | return me the authors who have cited the papers by " H. V. Jagadish " . | SELECT t2.name FROM publication AS t7 JOIN cite AS t5 ON t7.pid = t5.citing JOIN publication AS t6 ON t6.pid = t5.cited JOIN writes AS t3 ON t3.pid = t7.pid JOIN writes AS t4 ON t4.pid = t6.pid JOIN author AS t2 ON t3.aid = t2.aid JOIN author AS t1 ON t4.aid = t1.aid WHERE t1.name = "H. V. Jagadish"; | CREATE TABLE "author" (
"aid" int,
"homepage" text,
"name" text,
"oid" int,
primary key("aid")
)
3 rows from author table:
Empty DataFrame
Columns: [aid, homepage, name, oid]
Index: []
CREATE TABLE "conference" (
"cid" int,
"homepage" text,
"name" text,
primary key ("cid")
)
3 rows from conference table:
Empty DataFrame
Columns: [cid, homepage, name]
Index: []
CREATE TABLE "domain" (
"did" int,
"name" text,
primary key ("did")
)
3 rows from domain table:
Empty DataFrame
Columns: [did, name]
Index: []
CREATE TABLE "domain_author" (
"aid" int,
"did" int,
primary key ("did", "aid"),
foreign key("aid") references `author`("aid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_author table:
Empty DataFrame
Columns: [aid, did]
Index: []
CREATE TABLE "domain_conference" (
"cid" int,
"did" int,
primary key ("did", "cid"),
foreign key("cid") references `conference`("cid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_conference table:
Empty DataFrame
Columns: [cid, did]
Index: []
CREATE TABLE "journal" (
"homepage" text,
"jid" int,
"name" text,
primary key("jid")
)
3 rows from journal table:
Empty DataFrame
Columns: [homepage, jid, name]
Index: []
CREATE TABLE "domain_journal" (
"did" int,
"jid" int,
primary key ("did", "jid"),
foreign key("jid") references "journal"("jid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_journal table:
Empty DataFrame
Columns: [did, jid]
Index: []
CREATE TABLE "keyword" (
"keyword" text,
"kid" int,
primary key("kid")
)
3 rows from keyword table:
Empty DataFrame
Columns: [keyword, kid]
Index: []
CREATE TABLE "domain_keyword" (
"did" int,
"kid" int,
primary key ("did", "kid"),
foreign key("kid") references "keyword"("kid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_keyword table:
Empty DataFrame
Columns: [did, kid]
Index: []
CREATE TABLE "publication" (
"abstract" text,
"cid" text,
"citation_num" int,
"jid" int,
"pid" int,
"reference_num" int,
"title" text,
"year" int,
primary key("pid"),
foreign key("jid") references "journal"("jid"),
foreign key("cid") references "conference"("cid")
)
3 rows from publication table:
Empty DataFrame
Columns: [abstract, cid, citation_num, jid, pid, reference_num, title, year]
Index: []
CREATE TABLE "domain_publication" (
"did" int,
"pid" int,
primary key ("did", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_publication table:
Empty DataFrame
Columns: [did, pid]
Index: []
CREATE TABLE "organization" (
"continent" text,
"homepage" text,
"name" text,
"oid" int,
primary key("oid")
)
3 rows from organization table:
Empty DataFrame
Columns: [continent, homepage, name, oid]
Index: []
CREATE TABLE "publication_keyword" (
"pid" int,
"kid" int,
primary key ("kid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("kid") references "keyword"("kid")
)
3 rows from publication_keyword table:
Empty DataFrame
Columns: [pid, kid]
Index: []
CREATE TABLE "writes" (
"aid" int,
"pid" int,
primary key ("aid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("aid") references "author"("aid")
)
3 rows from writes table:
Empty DataFrame
Columns: [aid, pid]
Index: []
CREATE TABLE "cite" (
"cited" int,
"citing" int,
foreign key("cited") references "publication"("pid"),
foreign key("citing") references "publication"("pid")
)
3 rows from cite table:
Empty DataFrame
Columns: [cited, citing]
Index: []
|
academic | return me the number of papers written by " H. V. Jagadish " and " Divesh Srivastava " . | SELECT COUNT ( DISTINCT t5.title ) FROM writes AS t3 JOIN author AS t2 ON t3.aid = t2.aid JOIN publication AS t5 ON t3.pid = t5.pid JOIN writes AS t4 ON t4.pid = t5.pid JOIN author AS t1 ON t4.aid = t1.aid WHERE t2.name = "H. V. Jagadish" AND t1.name = "Divesh Srivastava"; | CREATE TABLE "author" (
"aid" int,
"homepage" text,
"name" text,
"oid" int,
primary key("aid")
)
3 rows from author table:
Empty DataFrame
Columns: [aid, homepage, name, oid]
Index: []
CREATE TABLE "conference" (
"cid" int,
"homepage" text,
"name" text,
primary key ("cid")
)
3 rows from conference table:
Empty DataFrame
Columns: [cid, homepage, name]
Index: []
CREATE TABLE "domain" (
"did" int,
"name" text,
primary key ("did")
)
3 rows from domain table:
Empty DataFrame
Columns: [did, name]
Index: []
CREATE TABLE "domain_author" (
"aid" int,
"did" int,
primary key ("did", "aid"),
foreign key("aid") references `author`("aid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_author table:
Empty DataFrame
Columns: [aid, did]
Index: []
CREATE TABLE "domain_conference" (
"cid" int,
"did" int,
primary key ("did", "cid"),
foreign key("cid") references `conference`("cid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_conference table:
Empty DataFrame
Columns: [cid, did]
Index: []
CREATE TABLE "journal" (
"homepage" text,
"jid" int,
"name" text,
primary key("jid")
)
3 rows from journal table:
Empty DataFrame
Columns: [homepage, jid, name]
Index: []
CREATE TABLE "domain_journal" (
"did" int,
"jid" int,
primary key ("did", "jid"),
foreign key("jid") references "journal"("jid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_journal table:
Empty DataFrame
Columns: [did, jid]
Index: []
CREATE TABLE "keyword" (
"keyword" text,
"kid" int,
primary key("kid")
)
3 rows from keyword table:
Empty DataFrame
Columns: [keyword, kid]
Index: []
CREATE TABLE "domain_keyword" (
"did" int,
"kid" int,
primary key ("did", "kid"),
foreign key("kid") references "keyword"("kid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_keyword table:
Empty DataFrame
Columns: [did, kid]
Index: []
CREATE TABLE "publication" (
"abstract" text,
"cid" text,
"citation_num" int,
"jid" int,
"pid" int,
"reference_num" int,
"title" text,
"year" int,
primary key("pid"),
foreign key("jid") references "journal"("jid"),
foreign key("cid") references "conference"("cid")
)
3 rows from publication table:
Empty DataFrame
Columns: [abstract, cid, citation_num, jid, pid, reference_num, title, year]
Index: []
CREATE TABLE "domain_publication" (
"did" int,
"pid" int,
primary key ("did", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_publication table:
Empty DataFrame
Columns: [did, pid]
Index: []
CREATE TABLE "organization" (
"continent" text,
"homepage" text,
"name" text,
"oid" int,
primary key("oid")
)
3 rows from organization table:
Empty DataFrame
Columns: [continent, homepage, name, oid]
Index: []
CREATE TABLE "publication_keyword" (
"pid" int,
"kid" int,
primary key ("kid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("kid") references "keyword"("kid")
)
3 rows from publication_keyword table:
Empty DataFrame
Columns: [pid, kid]
Index: []
CREATE TABLE "writes" (
"aid" int,
"pid" int,
primary key ("aid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("aid") references "author"("aid")
)
3 rows from writes table:
Empty DataFrame
Columns: [aid, pid]
Index: []
CREATE TABLE "cite" (
"cited" int,
"citing" int,
foreign key("cited") references "publication"("pid"),
foreign key("citing") references "publication"("pid")
)
3 rows from cite table:
Empty DataFrame
Columns: [cited, citing]
Index: []
|
academic | return me the number of papers written by " H. V. Jagadish " and " Divesh Srivastava " before 2000 . | SELECT COUNT ( DISTINCT t5.title ) FROM writes AS t3 JOIN author AS t2 ON t3.aid = t2.aid JOIN publication AS t5 ON t3.pid = t5.pid JOIN writes AS t4 ON t4.pid = t5.pid JOIN author AS t1 ON t4.aid = t1.aid WHERE t2.name = "H. V. Jagadish" AND t1.name = "Divesh Srivastava" AND t5.year < 2000; | CREATE TABLE "author" (
"aid" int,
"homepage" text,
"name" text,
"oid" int,
primary key("aid")
)
3 rows from author table:
Empty DataFrame
Columns: [aid, homepage, name, oid]
Index: []
CREATE TABLE "conference" (
"cid" int,
"homepage" text,
"name" text,
primary key ("cid")
)
3 rows from conference table:
Empty DataFrame
Columns: [cid, homepage, name]
Index: []
CREATE TABLE "domain" (
"did" int,
"name" text,
primary key ("did")
)
3 rows from domain table:
Empty DataFrame
Columns: [did, name]
Index: []
CREATE TABLE "domain_author" (
"aid" int,
"did" int,
primary key ("did", "aid"),
foreign key("aid") references `author`("aid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_author table:
Empty DataFrame
Columns: [aid, did]
Index: []
CREATE TABLE "domain_conference" (
"cid" int,
"did" int,
primary key ("did", "cid"),
foreign key("cid") references `conference`("cid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_conference table:
Empty DataFrame
Columns: [cid, did]
Index: []
CREATE TABLE "journal" (
"homepage" text,
"jid" int,
"name" text,
primary key("jid")
)
3 rows from journal table:
Empty DataFrame
Columns: [homepage, jid, name]
Index: []
CREATE TABLE "domain_journal" (
"did" int,
"jid" int,
primary key ("did", "jid"),
foreign key("jid") references "journal"("jid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_journal table:
Empty DataFrame
Columns: [did, jid]
Index: []
CREATE TABLE "keyword" (
"keyword" text,
"kid" int,
primary key("kid")
)
3 rows from keyword table:
Empty DataFrame
Columns: [keyword, kid]
Index: []
CREATE TABLE "domain_keyword" (
"did" int,
"kid" int,
primary key ("did", "kid"),
foreign key("kid") references "keyword"("kid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_keyword table:
Empty DataFrame
Columns: [did, kid]
Index: []
CREATE TABLE "publication" (
"abstract" text,
"cid" text,
"citation_num" int,
"jid" int,
"pid" int,
"reference_num" int,
"title" text,
"year" int,
primary key("pid"),
foreign key("jid") references "journal"("jid"),
foreign key("cid") references "conference"("cid")
)
3 rows from publication table:
Empty DataFrame
Columns: [abstract, cid, citation_num, jid, pid, reference_num, title, year]
Index: []
CREATE TABLE "domain_publication" (
"did" int,
"pid" int,
primary key ("did", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_publication table:
Empty DataFrame
Columns: [did, pid]
Index: []
CREATE TABLE "organization" (
"continent" text,
"homepage" text,
"name" text,
"oid" int,
primary key("oid")
)
3 rows from organization table:
Empty DataFrame
Columns: [continent, homepage, name, oid]
Index: []
CREATE TABLE "publication_keyword" (
"pid" int,
"kid" int,
primary key ("kid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("kid") references "keyword"("kid")
)
3 rows from publication_keyword table:
Empty DataFrame
Columns: [pid, kid]
Index: []
CREATE TABLE "writes" (
"aid" int,
"pid" int,
primary key ("aid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("aid") references "author"("aid")
)
3 rows from writes table:
Empty DataFrame
Columns: [aid, pid]
Index: []
CREATE TABLE "cite" (
"cited" int,
"citing" int,
foreign key("cited") references "publication"("pid"),
foreign key("citing") references "publication"("pid")
)
3 rows from cite table:
Empty DataFrame
Columns: [cited, citing]
Index: []
|
academic | return me the number of papers written by " H. V. Jagadish " , " Yunyao Li " , and " Cong Yu " . | SELECT COUNT ( DISTINCT t7.title ) FROM writes AS t4 JOIN author AS t2 ON t4.aid = t2.aid JOIN publication AS t7 ON t4.pid = t7.pid JOIN writes AS t5 ON t5.pid = t7.pid JOIN writes AS t6 ON t6.pid = t7.pid JOIN author AS t1 ON t5.aid = t1.aid JOIN author AS t3 ON t6.aid = t3.aid WHERE t2.name = "Cong Yu" AND t1.name = "H. V. Jagadish" AND t3.name = "Yunyao Li"; | CREATE TABLE "author" (
"aid" int,
"homepage" text,
"name" text,
"oid" int,
primary key("aid")
)
3 rows from author table:
Empty DataFrame
Columns: [aid, homepage, name, oid]
Index: []
CREATE TABLE "conference" (
"cid" int,
"homepage" text,
"name" text,
primary key ("cid")
)
3 rows from conference table:
Empty DataFrame
Columns: [cid, homepage, name]
Index: []
CREATE TABLE "domain" (
"did" int,
"name" text,
primary key ("did")
)
3 rows from domain table:
Empty DataFrame
Columns: [did, name]
Index: []
CREATE TABLE "domain_author" (
"aid" int,
"did" int,
primary key ("did", "aid"),
foreign key("aid") references `author`("aid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_author table:
Empty DataFrame
Columns: [aid, did]
Index: []
CREATE TABLE "domain_conference" (
"cid" int,
"did" int,
primary key ("did", "cid"),
foreign key("cid") references `conference`("cid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_conference table:
Empty DataFrame
Columns: [cid, did]
Index: []
CREATE TABLE "journal" (
"homepage" text,
"jid" int,
"name" text,
primary key("jid")
)
3 rows from journal table:
Empty DataFrame
Columns: [homepage, jid, name]
Index: []
CREATE TABLE "domain_journal" (
"did" int,
"jid" int,
primary key ("did", "jid"),
foreign key("jid") references "journal"("jid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_journal table:
Empty DataFrame
Columns: [did, jid]
Index: []
CREATE TABLE "keyword" (
"keyword" text,
"kid" int,
primary key("kid")
)
3 rows from keyword table:
Empty DataFrame
Columns: [keyword, kid]
Index: []
CREATE TABLE "domain_keyword" (
"did" int,
"kid" int,
primary key ("did", "kid"),
foreign key("kid") references "keyword"("kid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_keyword table:
Empty DataFrame
Columns: [did, kid]
Index: []
CREATE TABLE "publication" (
"abstract" text,
"cid" text,
"citation_num" int,
"jid" int,
"pid" int,
"reference_num" int,
"title" text,
"year" int,
primary key("pid"),
foreign key("jid") references "journal"("jid"),
foreign key("cid") references "conference"("cid")
)
3 rows from publication table:
Empty DataFrame
Columns: [abstract, cid, citation_num, jid, pid, reference_num, title, year]
Index: []
CREATE TABLE "domain_publication" (
"did" int,
"pid" int,
primary key ("did", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_publication table:
Empty DataFrame
Columns: [did, pid]
Index: []
CREATE TABLE "organization" (
"continent" text,
"homepage" text,
"name" text,
"oid" int,
primary key("oid")
)
3 rows from organization table:
Empty DataFrame
Columns: [continent, homepage, name, oid]
Index: []
CREATE TABLE "publication_keyword" (
"pid" int,
"kid" int,
primary key ("kid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("kid") references "keyword"("kid")
)
3 rows from publication_keyword table:
Empty DataFrame
Columns: [pid, kid]
Index: []
CREATE TABLE "writes" (
"aid" int,
"pid" int,
primary key ("aid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("aid") references "author"("aid")
)
3 rows from writes table:
Empty DataFrame
Columns: [aid, pid]
Index: []
CREATE TABLE "cite" (
"cited" int,
"citing" int,
foreign key("cited") references "publication"("pid"),
foreign key("citing") references "publication"("pid")
)
3 rows from cite table:
Empty DataFrame
Columns: [cited, citing]
Index: []
|
academic | return me the number of authors who have cooperated with " H. V. Jagadish " . | SELECT COUNT ( DISTINCT t2.name ) FROM writes AS t3 JOIN author AS t2 ON t3.aid = t2.aid JOIN publication AS t5 ON t3.pid = t5.pid JOIN writes AS t4 ON t4.pid = t5.pid JOIN author AS t1 ON t4.aid = t1.aid WHERE t1.name = "H. V. Jagadish"; | CREATE TABLE "author" (
"aid" int,
"homepage" text,
"name" text,
"oid" int,
primary key("aid")
)
3 rows from author table:
Empty DataFrame
Columns: [aid, homepage, name, oid]
Index: []
CREATE TABLE "conference" (
"cid" int,
"homepage" text,
"name" text,
primary key ("cid")
)
3 rows from conference table:
Empty DataFrame
Columns: [cid, homepage, name]
Index: []
CREATE TABLE "domain" (
"did" int,
"name" text,
primary key ("did")
)
3 rows from domain table:
Empty DataFrame
Columns: [did, name]
Index: []
CREATE TABLE "domain_author" (
"aid" int,
"did" int,
primary key ("did", "aid"),
foreign key("aid") references `author`("aid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_author table:
Empty DataFrame
Columns: [aid, did]
Index: []
CREATE TABLE "domain_conference" (
"cid" int,
"did" int,
primary key ("did", "cid"),
foreign key("cid") references `conference`("cid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_conference table:
Empty DataFrame
Columns: [cid, did]
Index: []
CREATE TABLE "journal" (
"homepage" text,
"jid" int,
"name" text,
primary key("jid")
)
3 rows from journal table:
Empty DataFrame
Columns: [homepage, jid, name]
Index: []
CREATE TABLE "domain_journal" (
"did" int,
"jid" int,
primary key ("did", "jid"),
foreign key("jid") references "journal"("jid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_journal table:
Empty DataFrame
Columns: [did, jid]
Index: []
CREATE TABLE "keyword" (
"keyword" text,
"kid" int,
primary key("kid")
)
3 rows from keyword table:
Empty DataFrame
Columns: [keyword, kid]
Index: []
CREATE TABLE "domain_keyword" (
"did" int,
"kid" int,
primary key ("did", "kid"),
foreign key("kid") references "keyword"("kid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_keyword table:
Empty DataFrame
Columns: [did, kid]
Index: []
CREATE TABLE "publication" (
"abstract" text,
"cid" text,
"citation_num" int,
"jid" int,
"pid" int,
"reference_num" int,
"title" text,
"year" int,
primary key("pid"),
foreign key("jid") references "journal"("jid"),
foreign key("cid") references "conference"("cid")
)
3 rows from publication table:
Empty DataFrame
Columns: [abstract, cid, citation_num, jid, pid, reference_num, title, year]
Index: []
CREATE TABLE "domain_publication" (
"did" int,
"pid" int,
primary key ("did", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_publication table:
Empty DataFrame
Columns: [did, pid]
Index: []
CREATE TABLE "organization" (
"continent" text,
"homepage" text,
"name" text,
"oid" int,
primary key("oid")
)
3 rows from organization table:
Empty DataFrame
Columns: [continent, homepage, name, oid]
Index: []
CREATE TABLE "publication_keyword" (
"pid" int,
"kid" int,
primary key ("kid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("kid") references "keyword"("kid")
)
3 rows from publication_keyword table:
Empty DataFrame
Columns: [pid, kid]
Index: []
CREATE TABLE "writes" (
"aid" int,
"pid" int,
primary key ("aid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("aid") references "author"("aid")
)
3 rows from writes table:
Empty DataFrame
Columns: [aid, pid]
Index: []
CREATE TABLE "cite" (
"cited" int,
"citing" int,
foreign key("cited") references "publication"("pid"),
foreign key("citing") references "publication"("pid")
)
3 rows from cite table:
Empty DataFrame
Columns: [cited, citing]
Index: []
|
academic | return me the number of authors who have cited the papers by " H. V. Jagadish " . | SELECT COUNT ( DISTINCT t2.name ) FROM publication AS t7 JOIN cite AS t5 ON t7.pid = t5.citing JOIN publication AS t6 ON t6.pid = t5.cited JOIN writes AS t3 ON t3.pid = t7.pid JOIN writes AS t4 ON t4.pid = t6.pid JOIN author AS t2 ON t3.aid = t2.aid JOIN author AS t1 ON t4.aid = t1.aid WHERE t1.name = "H. V. Jagadish"; | CREATE TABLE "author" (
"aid" int,
"homepage" text,
"name" text,
"oid" int,
primary key("aid")
)
3 rows from author table:
Empty DataFrame
Columns: [aid, homepage, name, oid]
Index: []
CREATE TABLE "conference" (
"cid" int,
"homepage" text,
"name" text,
primary key ("cid")
)
3 rows from conference table:
Empty DataFrame
Columns: [cid, homepage, name]
Index: []
CREATE TABLE "domain" (
"did" int,
"name" text,
primary key ("did")
)
3 rows from domain table:
Empty DataFrame
Columns: [did, name]
Index: []
CREATE TABLE "domain_author" (
"aid" int,
"did" int,
primary key ("did", "aid"),
foreign key("aid") references `author`("aid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_author table:
Empty DataFrame
Columns: [aid, did]
Index: []
CREATE TABLE "domain_conference" (
"cid" int,
"did" int,
primary key ("did", "cid"),
foreign key("cid") references `conference`("cid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_conference table:
Empty DataFrame
Columns: [cid, did]
Index: []
CREATE TABLE "journal" (
"homepage" text,
"jid" int,
"name" text,
primary key("jid")
)
3 rows from journal table:
Empty DataFrame
Columns: [homepage, jid, name]
Index: []
CREATE TABLE "domain_journal" (
"did" int,
"jid" int,
primary key ("did", "jid"),
foreign key("jid") references "journal"("jid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_journal table:
Empty DataFrame
Columns: [did, jid]
Index: []
CREATE TABLE "keyword" (
"keyword" text,
"kid" int,
primary key("kid")
)
3 rows from keyword table:
Empty DataFrame
Columns: [keyword, kid]
Index: []
CREATE TABLE "domain_keyword" (
"did" int,
"kid" int,
primary key ("did", "kid"),
foreign key("kid") references "keyword"("kid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_keyword table:
Empty DataFrame
Columns: [did, kid]
Index: []
CREATE TABLE "publication" (
"abstract" text,
"cid" text,
"citation_num" int,
"jid" int,
"pid" int,
"reference_num" int,
"title" text,
"year" int,
primary key("pid"),
foreign key("jid") references "journal"("jid"),
foreign key("cid") references "conference"("cid")
)
3 rows from publication table:
Empty DataFrame
Columns: [abstract, cid, citation_num, jid, pid, reference_num, title, year]
Index: []
CREATE TABLE "domain_publication" (
"did" int,
"pid" int,
primary key ("did", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_publication table:
Empty DataFrame
Columns: [did, pid]
Index: []
CREATE TABLE "organization" (
"continent" text,
"homepage" text,
"name" text,
"oid" int,
primary key("oid")
)
3 rows from organization table:
Empty DataFrame
Columns: [continent, homepage, name, oid]
Index: []
CREATE TABLE "publication_keyword" (
"pid" int,
"kid" int,
primary key ("kid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("kid") references "keyword"("kid")
)
3 rows from publication_keyword table:
Empty DataFrame
Columns: [pid, kid]
Index: []
CREATE TABLE "writes" (
"aid" int,
"pid" int,
primary key ("aid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("aid") references "author"("aid")
)
3 rows from writes table:
Empty DataFrame
Columns: [aid, pid]
Index: []
CREATE TABLE "cite" (
"cited" int,
"citing" int,
foreign key("cited") references "publication"("pid"),
foreign key("citing") references "publication"("pid")
)
3 rows from cite table:
Empty DataFrame
Columns: [cited, citing]
Index: []
|
academic | return me the papers written by " H. V. Jagadish " and " Divesh Srivastava " with more than 200 citations . | SELECT t5.title FROM writes AS t3 JOIN author AS t2 ON t3.aid = t2.aid JOIN publication AS t5 ON t3.pid = t5.pid JOIN writes AS t4 ON t4.pid = t5.pid JOIN author AS t1 ON t4.aid = t1.aid WHERE t2.name = "H. V. Jagadish" AND t1.name = "Divesh Srivastava" AND t5.citation_num > 200; | CREATE TABLE "author" (
"aid" int,
"homepage" text,
"name" text,
"oid" int,
primary key("aid")
)
3 rows from author table:
Empty DataFrame
Columns: [aid, homepage, name, oid]
Index: []
CREATE TABLE "conference" (
"cid" int,
"homepage" text,
"name" text,
primary key ("cid")
)
3 rows from conference table:
Empty DataFrame
Columns: [cid, homepage, name]
Index: []
CREATE TABLE "domain" (
"did" int,
"name" text,
primary key ("did")
)
3 rows from domain table:
Empty DataFrame
Columns: [did, name]
Index: []
CREATE TABLE "domain_author" (
"aid" int,
"did" int,
primary key ("did", "aid"),
foreign key("aid") references `author`("aid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_author table:
Empty DataFrame
Columns: [aid, did]
Index: []
CREATE TABLE "domain_conference" (
"cid" int,
"did" int,
primary key ("did", "cid"),
foreign key("cid") references `conference`("cid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_conference table:
Empty DataFrame
Columns: [cid, did]
Index: []
CREATE TABLE "journal" (
"homepage" text,
"jid" int,
"name" text,
primary key("jid")
)
3 rows from journal table:
Empty DataFrame
Columns: [homepage, jid, name]
Index: []
CREATE TABLE "domain_journal" (
"did" int,
"jid" int,
primary key ("did", "jid"),
foreign key("jid") references "journal"("jid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_journal table:
Empty DataFrame
Columns: [did, jid]
Index: []
CREATE TABLE "keyword" (
"keyword" text,
"kid" int,
primary key("kid")
)
3 rows from keyword table:
Empty DataFrame
Columns: [keyword, kid]
Index: []
CREATE TABLE "domain_keyword" (
"did" int,
"kid" int,
primary key ("did", "kid"),
foreign key("kid") references "keyword"("kid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_keyword table:
Empty DataFrame
Columns: [did, kid]
Index: []
CREATE TABLE "publication" (
"abstract" text,
"cid" text,
"citation_num" int,
"jid" int,
"pid" int,
"reference_num" int,
"title" text,
"year" int,
primary key("pid"),
foreign key("jid") references "journal"("jid"),
foreign key("cid") references "conference"("cid")
)
3 rows from publication table:
Empty DataFrame
Columns: [abstract, cid, citation_num, jid, pid, reference_num, title, year]
Index: []
CREATE TABLE "domain_publication" (
"did" int,
"pid" int,
primary key ("did", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_publication table:
Empty DataFrame
Columns: [did, pid]
Index: []
CREATE TABLE "organization" (
"continent" text,
"homepage" text,
"name" text,
"oid" int,
primary key("oid")
)
3 rows from organization table:
Empty DataFrame
Columns: [continent, homepage, name, oid]
Index: []
CREATE TABLE "publication_keyword" (
"pid" int,
"kid" int,
primary key ("kid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("kid") references "keyword"("kid")
)
3 rows from publication_keyword table:
Empty DataFrame
Columns: [pid, kid]
Index: []
CREATE TABLE "writes" (
"aid" int,
"pid" int,
primary key ("aid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("aid") references "author"("aid")
)
3 rows from writes table:
Empty DataFrame
Columns: [aid, pid]
Index: []
CREATE TABLE "cite" (
"cited" int,
"citing" int,
foreign key("cited") references "publication"("pid"),
foreign key("citing") references "publication"("pid")
)
3 rows from cite table:
Empty DataFrame
Columns: [cited, citing]
Index: []
|
academic | return me the author who has the most number of papers containing keyword " Relational Database " . | SELECT t2.name FROM publication_keyword AS t5 JOIN keyword AS t1 ON t5.kid = t1.kid JOIN publication AS t3 ON t3.pid = t5.pid JOIN writes AS t4 ON t4.pid = t3.pid JOIN author AS t2 ON t4.aid = t2.aid WHERE t1.keyword = "Relational Database" GROUP BY t2.name ORDER BY COUNT ( DISTINCT t3.title ) DESC LIMIT 1; | CREATE TABLE "author" (
"aid" int,
"homepage" text,
"name" text,
"oid" int,
primary key("aid")
)
3 rows from author table:
Empty DataFrame
Columns: [aid, homepage, name, oid]
Index: []
CREATE TABLE "conference" (
"cid" int,
"homepage" text,
"name" text,
primary key ("cid")
)
3 rows from conference table:
Empty DataFrame
Columns: [cid, homepage, name]
Index: []
CREATE TABLE "domain" (
"did" int,
"name" text,
primary key ("did")
)
3 rows from domain table:
Empty DataFrame
Columns: [did, name]
Index: []
CREATE TABLE "domain_author" (
"aid" int,
"did" int,
primary key ("did", "aid"),
foreign key("aid") references `author`("aid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_author table:
Empty DataFrame
Columns: [aid, did]
Index: []
CREATE TABLE "domain_conference" (
"cid" int,
"did" int,
primary key ("did", "cid"),
foreign key("cid") references `conference`("cid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_conference table:
Empty DataFrame
Columns: [cid, did]
Index: []
CREATE TABLE "journal" (
"homepage" text,
"jid" int,
"name" text,
primary key("jid")
)
3 rows from journal table:
Empty DataFrame
Columns: [homepage, jid, name]
Index: []
CREATE TABLE "domain_journal" (
"did" int,
"jid" int,
primary key ("did", "jid"),
foreign key("jid") references "journal"("jid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_journal table:
Empty DataFrame
Columns: [did, jid]
Index: []
CREATE TABLE "keyword" (
"keyword" text,
"kid" int,
primary key("kid")
)
3 rows from keyword table:
Empty DataFrame
Columns: [keyword, kid]
Index: []
CREATE TABLE "domain_keyword" (
"did" int,
"kid" int,
primary key ("did", "kid"),
foreign key("kid") references "keyword"("kid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_keyword table:
Empty DataFrame
Columns: [did, kid]
Index: []
CREATE TABLE "publication" (
"abstract" text,
"cid" text,
"citation_num" int,
"jid" int,
"pid" int,
"reference_num" int,
"title" text,
"year" int,
primary key("pid"),
foreign key("jid") references "journal"("jid"),
foreign key("cid") references "conference"("cid")
)
3 rows from publication table:
Empty DataFrame
Columns: [abstract, cid, citation_num, jid, pid, reference_num, title, year]
Index: []
CREATE TABLE "domain_publication" (
"did" int,
"pid" int,
primary key ("did", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_publication table:
Empty DataFrame
Columns: [did, pid]
Index: []
CREATE TABLE "organization" (
"continent" text,
"homepage" text,
"name" text,
"oid" int,
primary key("oid")
)
3 rows from organization table:
Empty DataFrame
Columns: [continent, homepage, name, oid]
Index: []
CREATE TABLE "publication_keyword" (
"pid" int,
"kid" int,
primary key ("kid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("kid") references "keyword"("kid")
)
3 rows from publication_keyword table:
Empty DataFrame
Columns: [pid, kid]
Index: []
CREATE TABLE "writes" (
"aid" int,
"pid" int,
primary key ("aid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("aid") references "author"("aid")
)
3 rows from writes table:
Empty DataFrame
Columns: [aid, pid]
Index: []
CREATE TABLE "cite" (
"cited" int,
"citing" int,
foreign key("cited") references "publication"("pid"),
foreign key("citing") references "publication"("pid")
)
3 rows from cite table:
Empty DataFrame
Columns: [cited, citing]
Index: []
|
academic | return me the conference that has the most number of papers containing keyword " Relational Database " . | SELECT t2.name FROM publication_keyword AS t4 JOIN keyword AS t1 ON t4.kid = t1.kid JOIN publication AS t3 ON t3.pid = t4.pid JOIN conference AS t2 ON t3.cid = t2.cid WHERE t1.keyword = "Relational Database" GROUP BY t2.name ORDER BY COUNT ( DISTINCT t3.title ) DESC LIMIT 1; | CREATE TABLE "author" (
"aid" int,
"homepage" text,
"name" text,
"oid" int,
primary key("aid")
)
3 rows from author table:
Empty DataFrame
Columns: [aid, homepage, name, oid]
Index: []
CREATE TABLE "conference" (
"cid" int,
"homepage" text,
"name" text,
primary key ("cid")
)
3 rows from conference table:
Empty DataFrame
Columns: [cid, homepage, name]
Index: []
CREATE TABLE "domain" (
"did" int,
"name" text,
primary key ("did")
)
3 rows from domain table:
Empty DataFrame
Columns: [did, name]
Index: []
CREATE TABLE "domain_author" (
"aid" int,
"did" int,
primary key ("did", "aid"),
foreign key("aid") references `author`("aid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_author table:
Empty DataFrame
Columns: [aid, did]
Index: []
CREATE TABLE "domain_conference" (
"cid" int,
"did" int,
primary key ("did", "cid"),
foreign key("cid") references `conference`("cid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_conference table:
Empty DataFrame
Columns: [cid, did]
Index: []
CREATE TABLE "journal" (
"homepage" text,
"jid" int,
"name" text,
primary key("jid")
)
3 rows from journal table:
Empty DataFrame
Columns: [homepage, jid, name]
Index: []
CREATE TABLE "domain_journal" (
"did" int,
"jid" int,
primary key ("did", "jid"),
foreign key("jid") references "journal"("jid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_journal table:
Empty DataFrame
Columns: [did, jid]
Index: []
CREATE TABLE "keyword" (
"keyword" text,
"kid" int,
primary key("kid")
)
3 rows from keyword table:
Empty DataFrame
Columns: [keyword, kid]
Index: []
CREATE TABLE "domain_keyword" (
"did" int,
"kid" int,
primary key ("did", "kid"),
foreign key("kid") references "keyword"("kid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_keyword table:
Empty DataFrame
Columns: [did, kid]
Index: []
CREATE TABLE "publication" (
"abstract" text,
"cid" text,
"citation_num" int,
"jid" int,
"pid" int,
"reference_num" int,
"title" text,
"year" int,
primary key("pid"),
foreign key("jid") references "journal"("jid"),
foreign key("cid") references "conference"("cid")
)
3 rows from publication table:
Empty DataFrame
Columns: [abstract, cid, citation_num, jid, pid, reference_num, title, year]
Index: []
CREATE TABLE "domain_publication" (
"did" int,
"pid" int,
primary key ("did", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_publication table:
Empty DataFrame
Columns: [did, pid]
Index: []
CREATE TABLE "organization" (
"continent" text,
"homepage" text,
"name" text,
"oid" int,
primary key("oid")
)
3 rows from organization table:
Empty DataFrame
Columns: [continent, homepage, name, oid]
Index: []
CREATE TABLE "publication_keyword" (
"pid" int,
"kid" int,
primary key ("kid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("kid") references "keyword"("kid")
)
3 rows from publication_keyword table:
Empty DataFrame
Columns: [pid, kid]
Index: []
CREATE TABLE "writes" (
"aid" int,
"pid" int,
primary key ("aid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("aid") references "author"("aid")
)
3 rows from writes table:
Empty DataFrame
Columns: [aid, pid]
Index: []
CREATE TABLE "cite" (
"cited" int,
"citing" int,
foreign key("cited") references "publication"("pid"),
foreign key("citing") references "publication"("pid")
)
3 rows from cite table:
Empty DataFrame
Columns: [cited, citing]
Index: []
|
academic | return me the conference, which has the most number of papers containing keyword " Relational Database " . | SELECT t2.name FROM publication_keyword AS t4 JOIN keyword AS t1 ON t4.kid = t1.kid JOIN publication AS t3 ON t3.pid = t4.pid JOIN conference AS t2 ON t3.cid = t2.cid WHERE t1.keyword = "Relational Database" GROUP BY t2.name ORDER BY COUNT ( DISTINCT t3.title ) DESC LIMIT 1; | CREATE TABLE "author" (
"aid" int,
"homepage" text,
"name" text,
"oid" int,
primary key("aid")
)
3 rows from author table:
Empty DataFrame
Columns: [aid, homepage, name, oid]
Index: []
CREATE TABLE "conference" (
"cid" int,
"homepage" text,
"name" text,
primary key ("cid")
)
3 rows from conference table:
Empty DataFrame
Columns: [cid, homepage, name]
Index: []
CREATE TABLE "domain" (
"did" int,
"name" text,
primary key ("did")
)
3 rows from domain table:
Empty DataFrame
Columns: [did, name]
Index: []
CREATE TABLE "domain_author" (
"aid" int,
"did" int,
primary key ("did", "aid"),
foreign key("aid") references `author`("aid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_author table:
Empty DataFrame
Columns: [aid, did]
Index: []
CREATE TABLE "domain_conference" (
"cid" int,
"did" int,
primary key ("did", "cid"),
foreign key("cid") references `conference`("cid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_conference table:
Empty DataFrame
Columns: [cid, did]
Index: []
CREATE TABLE "journal" (
"homepage" text,
"jid" int,
"name" text,
primary key("jid")
)
3 rows from journal table:
Empty DataFrame
Columns: [homepage, jid, name]
Index: []
CREATE TABLE "domain_journal" (
"did" int,
"jid" int,
primary key ("did", "jid"),
foreign key("jid") references "journal"("jid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_journal table:
Empty DataFrame
Columns: [did, jid]
Index: []
CREATE TABLE "keyword" (
"keyword" text,
"kid" int,
primary key("kid")
)
3 rows from keyword table:
Empty DataFrame
Columns: [keyword, kid]
Index: []
CREATE TABLE "domain_keyword" (
"did" int,
"kid" int,
primary key ("did", "kid"),
foreign key("kid") references "keyword"("kid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_keyword table:
Empty DataFrame
Columns: [did, kid]
Index: []
CREATE TABLE "publication" (
"abstract" text,
"cid" text,
"citation_num" int,
"jid" int,
"pid" int,
"reference_num" int,
"title" text,
"year" int,
primary key("pid"),
foreign key("jid") references "journal"("jid"),
foreign key("cid") references "conference"("cid")
)
3 rows from publication table:
Empty DataFrame
Columns: [abstract, cid, citation_num, jid, pid, reference_num, title, year]
Index: []
CREATE TABLE "domain_publication" (
"did" int,
"pid" int,
primary key ("did", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_publication table:
Empty DataFrame
Columns: [did, pid]
Index: []
CREATE TABLE "organization" (
"continent" text,
"homepage" text,
"name" text,
"oid" int,
primary key("oid")
)
3 rows from organization table:
Empty DataFrame
Columns: [continent, homepage, name, oid]
Index: []
CREATE TABLE "publication_keyword" (
"pid" int,
"kid" int,
primary key ("kid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("kid") references "keyword"("kid")
)
3 rows from publication_keyword table:
Empty DataFrame
Columns: [pid, kid]
Index: []
CREATE TABLE "writes" (
"aid" int,
"pid" int,
primary key ("aid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("aid") references "author"("aid")
)
3 rows from writes table:
Empty DataFrame
Columns: [aid, pid]
Index: []
CREATE TABLE "cite" (
"cited" int,
"citing" int,
foreign key("cited") references "publication"("pid"),
foreign key("citing") references "publication"("pid")
)
3 rows from cite table:
Empty DataFrame
Columns: [cited, citing]
Index: []
|
academic | return me the journal that has the most number of papers containing keyword " Relational Database " . | SELECT t3.name FROM publication_keyword AS t4 JOIN keyword AS t1 ON t4.kid = t1.kid JOIN publication AS t2 ON t2.pid = t4.pid JOIN journal AS t3 ON t2.jid = t3.jid WHERE t1.keyword = "Relational Database" GROUP BY t3.name ORDER BY COUNT ( DISTINCT t2.title ) DESC LIMIT 1; | CREATE TABLE "author" (
"aid" int,
"homepage" text,
"name" text,
"oid" int,
primary key("aid")
)
3 rows from author table:
Empty DataFrame
Columns: [aid, homepage, name, oid]
Index: []
CREATE TABLE "conference" (
"cid" int,
"homepage" text,
"name" text,
primary key ("cid")
)
3 rows from conference table:
Empty DataFrame
Columns: [cid, homepage, name]
Index: []
CREATE TABLE "domain" (
"did" int,
"name" text,
primary key ("did")
)
3 rows from domain table:
Empty DataFrame
Columns: [did, name]
Index: []
CREATE TABLE "domain_author" (
"aid" int,
"did" int,
primary key ("did", "aid"),
foreign key("aid") references `author`("aid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_author table:
Empty DataFrame
Columns: [aid, did]
Index: []
CREATE TABLE "domain_conference" (
"cid" int,
"did" int,
primary key ("did", "cid"),
foreign key("cid") references `conference`("cid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_conference table:
Empty DataFrame
Columns: [cid, did]
Index: []
CREATE TABLE "journal" (
"homepage" text,
"jid" int,
"name" text,
primary key("jid")
)
3 rows from journal table:
Empty DataFrame
Columns: [homepage, jid, name]
Index: []
CREATE TABLE "domain_journal" (
"did" int,
"jid" int,
primary key ("did", "jid"),
foreign key("jid") references "journal"("jid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_journal table:
Empty DataFrame
Columns: [did, jid]
Index: []
CREATE TABLE "keyword" (
"keyword" text,
"kid" int,
primary key("kid")
)
3 rows from keyword table:
Empty DataFrame
Columns: [keyword, kid]
Index: []
CREATE TABLE "domain_keyword" (
"did" int,
"kid" int,
primary key ("did", "kid"),
foreign key("kid") references "keyword"("kid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_keyword table:
Empty DataFrame
Columns: [did, kid]
Index: []
CREATE TABLE "publication" (
"abstract" text,
"cid" text,
"citation_num" int,
"jid" int,
"pid" int,
"reference_num" int,
"title" text,
"year" int,
primary key("pid"),
foreign key("jid") references "journal"("jid"),
foreign key("cid") references "conference"("cid")
)
3 rows from publication table:
Empty DataFrame
Columns: [abstract, cid, citation_num, jid, pid, reference_num, title, year]
Index: []
CREATE TABLE "domain_publication" (
"did" int,
"pid" int,
primary key ("did", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_publication table:
Empty DataFrame
Columns: [did, pid]
Index: []
CREATE TABLE "organization" (
"continent" text,
"homepage" text,
"name" text,
"oid" int,
primary key("oid")
)
3 rows from organization table:
Empty DataFrame
Columns: [continent, homepage, name, oid]
Index: []
CREATE TABLE "publication_keyword" (
"pid" int,
"kid" int,
primary key ("kid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("kid") references "keyword"("kid")
)
3 rows from publication_keyword table:
Empty DataFrame
Columns: [pid, kid]
Index: []
CREATE TABLE "writes" (
"aid" int,
"pid" int,
primary key ("aid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("aid") references "author"("aid")
)
3 rows from writes table:
Empty DataFrame
Columns: [aid, pid]
Index: []
CREATE TABLE "cite" (
"cited" int,
"citing" int,
foreign key("cited") references "publication"("pid"),
foreign key("citing") references "publication"("pid")
)
3 rows from cite table:
Empty DataFrame
Columns: [cited, citing]
Index: []
|
academic | return me the journal, which has the most number of papers containing keyword " Relational Database " . | SELECT t3.name FROM publication_keyword AS t4 JOIN keyword AS t1 ON t4.kid = t1.kid JOIN publication AS t2 ON t2.pid = t4.pid JOIN journal AS t3 ON t2.jid = t3.jid WHERE t1.keyword = "Relational Database" GROUP BY t3.name ORDER BY COUNT ( DISTINCT t2.title ) DESC LIMIT 1; | CREATE TABLE "author" (
"aid" int,
"homepage" text,
"name" text,
"oid" int,
primary key("aid")
)
3 rows from author table:
Empty DataFrame
Columns: [aid, homepage, name, oid]
Index: []
CREATE TABLE "conference" (
"cid" int,
"homepage" text,
"name" text,
primary key ("cid")
)
3 rows from conference table:
Empty DataFrame
Columns: [cid, homepage, name]
Index: []
CREATE TABLE "domain" (
"did" int,
"name" text,
primary key ("did")
)
3 rows from domain table:
Empty DataFrame
Columns: [did, name]
Index: []
CREATE TABLE "domain_author" (
"aid" int,
"did" int,
primary key ("did", "aid"),
foreign key("aid") references `author`("aid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_author table:
Empty DataFrame
Columns: [aid, did]
Index: []
CREATE TABLE "domain_conference" (
"cid" int,
"did" int,
primary key ("did", "cid"),
foreign key("cid") references `conference`("cid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_conference table:
Empty DataFrame
Columns: [cid, did]
Index: []
CREATE TABLE "journal" (
"homepage" text,
"jid" int,
"name" text,
primary key("jid")
)
3 rows from journal table:
Empty DataFrame
Columns: [homepage, jid, name]
Index: []
CREATE TABLE "domain_journal" (
"did" int,
"jid" int,
primary key ("did", "jid"),
foreign key("jid") references "journal"("jid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_journal table:
Empty DataFrame
Columns: [did, jid]
Index: []
CREATE TABLE "keyword" (
"keyword" text,
"kid" int,
primary key("kid")
)
3 rows from keyword table:
Empty DataFrame
Columns: [keyword, kid]
Index: []
CREATE TABLE "domain_keyword" (
"did" int,
"kid" int,
primary key ("did", "kid"),
foreign key("kid") references "keyword"("kid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_keyword table:
Empty DataFrame
Columns: [did, kid]
Index: []
CREATE TABLE "publication" (
"abstract" text,
"cid" text,
"citation_num" int,
"jid" int,
"pid" int,
"reference_num" int,
"title" text,
"year" int,
primary key("pid"),
foreign key("jid") references "journal"("jid"),
foreign key("cid") references "conference"("cid")
)
3 rows from publication table:
Empty DataFrame
Columns: [abstract, cid, citation_num, jid, pid, reference_num, title, year]
Index: []
CREATE TABLE "domain_publication" (
"did" int,
"pid" int,
primary key ("did", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_publication table:
Empty DataFrame
Columns: [did, pid]
Index: []
CREATE TABLE "organization" (
"continent" text,
"homepage" text,
"name" text,
"oid" int,
primary key("oid")
)
3 rows from organization table:
Empty DataFrame
Columns: [continent, homepage, name, oid]
Index: []
CREATE TABLE "publication_keyword" (
"pid" int,
"kid" int,
primary key ("kid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("kid") references "keyword"("kid")
)
3 rows from publication_keyword table:
Empty DataFrame
Columns: [pid, kid]
Index: []
CREATE TABLE "writes" (
"aid" int,
"pid" int,
primary key ("aid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("aid") references "author"("aid")
)
3 rows from writes table:
Empty DataFrame
Columns: [aid, pid]
Index: []
CREATE TABLE "cite" (
"cited" int,
"citing" int,
foreign key("cited") references "publication"("pid"),
foreign key("citing") references "publication"("pid")
)
3 rows from cite table:
Empty DataFrame
Columns: [cited, citing]
Index: []
|
academic | return me the keyword, which have been contained by the most number of papers in VLDB conference . | SELECT t1.keyword FROM publication_keyword AS t4 JOIN keyword AS t1 ON t4.kid = t1.kid JOIN publication AS t3 ON t3.pid = t4.pid JOIN conference AS t2 ON t3.cid = t2.cid WHERE t2.name = "VLDB" GROUP BY t1.keyword ORDER BY COUNT ( DISTINCT t3.title ) DESC LIMIT 1; | CREATE TABLE "author" (
"aid" int,
"homepage" text,
"name" text,
"oid" int,
primary key("aid")
)
3 rows from author table:
Empty DataFrame
Columns: [aid, homepage, name, oid]
Index: []
CREATE TABLE "conference" (
"cid" int,
"homepage" text,
"name" text,
primary key ("cid")
)
3 rows from conference table:
Empty DataFrame
Columns: [cid, homepage, name]
Index: []
CREATE TABLE "domain" (
"did" int,
"name" text,
primary key ("did")
)
3 rows from domain table:
Empty DataFrame
Columns: [did, name]
Index: []
CREATE TABLE "domain_author" (
"aid" int,
"did" int,
primary key ("did", "aid"),
foreign key("aid") references `author`("aid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_author table:
Empty DataFrame
Columns: [aid, did]
Index: []
CREATE TABLE "domain_conference" (
"cid" int,
"did" int,
primary key ("did", "cid"),
foreign key("cid") references `conference`("cid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_conference table:
Empty DataFrame
Columns: [cid, did]
Index: []
CREATE TABLE "journal" (
"homepage" text,
"jid" int,
"name" text,
primary key("jid")
)
3 rows from journal table:
Empty DataFrame
Columns: [homepage, jid, name]
Index: []
CREATE TABLE "domain_journal" (
"did" int,
"jid" int,
primary key ("did", "jid"),
foreign key("jid") references "journal"("jid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_journal table:
Empty DataFrame
Columns: [did, jid]
Index: []
CREATE TABLE "keyword" (
"keyword" text,
"kid" int,
primary key("kid")
)
3 rows from keyword table:
Empty DataFrame
Columns: [keyword, kid]
Index: []
CREATE TABLE "domain_keyword" (
"did" int,
"kid" int,
primary key ("did", "kid"),
foreign key("kid") references "keyword"("kid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_keyword table:
Empty DataFrame
Columns: [did, kid]
Index: []
CREATE TABLE "publication" (
"abstract" text,
"cid" text,
"citation_num" int,
"jid" int,
"pid" int,
"reference_num" int,
"title" text,
"year" int,
primary key("pid"),
foreign key("jid") references "journal"("jid"),
foreign key("cid") references "conference"("cid")
)
3 rows from publication table:
Empty DataFrame
Columns: [abstract, cid, citation_num, jid, pid, reference_num, title, year]
Index: []
CREATE TABLE "domain_publication" (
"did" int,
"pid" int,
primary key ("did", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_publication table:
Empty DataFrame
Columns: [did, pid]
Index: []
CREATE TABLE "organization" (
"continent" text,
"homepage" text,
"name" text,
"oid" int,
primary key("oid")
)
3 rows from organization table:
Empty DataFrame
Columns: [continent, homepage, name, oid]
Index: []
CREATE TABLE "publication_keyword" (
"pid" int,
"kid" int,
primary key ("kid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("kid") references "keyword"("kid")
)
3 rows from publication_keyword table:
Empty DataFrame
Columns: [pid, kid]
Index: []
CREATE TABLE "writes" (
"aid" int,
"pid" int,
primary key ("aid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("aid") references "author"("aid")
)
3 rows from writes table:
Empty DataFrame
Columns: [aid, pid]
Index: []
CREATE TABLE "cite" (
"cited" int,
"citing" int,
foreign key("cited") references "publication"("pid"),
foreign key("citing") references "publication"("pid")
)
3 rows from cite table:
Empty DataFrame
Columns: [cited, citing]
Index: []
|
academic | return me the keyword, which have been contained by the most number of papers in PVLDB . | SELECT t1.keyword FROM publication_keyword AS t4 JOIN keyword AS t1 ON t4.kid = t1.kid JOIN publication AS t2 ON t2.pid = t4.pid JOIN journal AS t3 ON t2.jid = t3.jid WHERE t3.name = "PVLDB" GROUP BY t1.keyword ORDER BY COUNT ( DISTINCT t2.title ) DESC LIMIT 1; | CREATE TABLE "author" (
"aid" int,
"homepage" text,
"name" text,
"oid" int,
primary key("aid")
)
3 rows from author table:
Empty DataFrame
Columns: [aid, homepage, name, oid]
Index: []
CREATE TABLE "conference" (
"cid" int,
"homepage" text,
"name" text,
primary key ("cid")
)
3 rows from conference table:
Empty DataFrame
Columns: [cid, homepage, name]
Index: []
CREATE TABLE "domain" (
"did" int,
"name" text,
primary key ("did")
)
3 rows from domain table:
Empty DataFrame
Columns: [did, name]
Index: []
CREATE TABLE "domain_author" (
"aid" int,
"did" int,
primary key ("did", "aid"),
foreign key("aid") references `author`("aid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_author table:
Empty DataFrame
Columns: [aid, did]
Index: []
CREATE TABLE "domain_conference" (
"cid" int,
"did" int,
primary key ("did", "cid"),
foreign key("cid") references `conference`("cid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_conference table:
Empty DataFrame
Columns: [cid, did]
Index: []
CREATE TABLE "journal" (
"homepage" text,
"jid" int,
"name" text,
primary key("jid")
)
3 rows from journal table:
Empty DataFrame
Columns: [homepage, jid, name]
Index: []
CREATE TABLE "domain_journal" (
"did" int,
"jid" int,
primary key ("did", "jid"),
foreign key("jid") references "journal"("jid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_journal table:
Empty DataFrame
Columns: [did, jid]
Index: []
CREATE TABLE "keyword" (
"keyword" text,
"kid" int,
primary key("kid")
)
3 rows from keyword table:
Empty DataFrame
Columns: [keyword, kid]
Index: []
CREATE TABLE "domain_keyword" (
"did" int,
"kid" int,
primary key ("did", "kid"),
foreign key("kid") references "keyword"("kid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_keyword table:
Empty DataFrame
Columns: [did, kid]
Index: []
CREATE TABLE "publication" (
"abstract" text,
"cid" text,
"citation_num" int,
"jid" int,
"pid" int,
"reference_num" int,
"title" text,
"year" int,
primary key("pid"),
foreign key("jid") references "journal"("jid"),
foreign key("cid") references "conference"("cid")
)
3 rows from publication table:
Empty DataFrame
Columns: [abstract, cid, citation_num, jid, pid, reference_num, title, year]
Index: []
CREATE TABLE "domain_publication" (
"did" int,
"pid" int,
primary key ("did", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_publication table:
Empty DataFrame
Columns: [did, pid]
Index: []
CREATE TABLE "organization" (
"continent" text,
"homepage" text,
"name" text,
"oid" int,
primary key("oid")
)
3 rows from organization table:
Empty DataFrame
Columns: [continent, homepage, name, oid]
Index: []
CREATE TABLE "publication_keyword" (
"pid" int,
"kid" int,
primary key ("kid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("kid") references "keyword"("kid")
)
3 rows from publication_keyword table:
Empty DataFrame
Columns: [pid, kid]
Index: []
CREATE TABLE "writes" (
"aid" int,
"pid" int,
primary key ("aid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("aid") references "author"("aid")
)
3 rows from writes table:
Empty DataFrame
Columns: [aid, pid]
Index: []
CREATE TABLE "cite" (
"cited" int,
"citing" int,
foreign key("cited") references "publication"("pid"),
foreign key("citing") references "publication"("pid")
)
3 rows from cite table:
Empty DataFrame
Columns: [cited, citing]
Index: []
|
academic | return me the keyword, which have been contained by the most number of papers by " H. V. Jagadish " . | SELECT t1.keyword FROM publication_keyword AS t5 JOIN keyword AS t1 ON t5.kid = t1.kid JOIN publication AS t3 ON t3.pid = t5.pid JOIN writes AS t4 ON t4.pid = t3.pid JOIN author AS t2 ON t4.aid = t2.aid WHERE t2.name = "H. V. Jagadish" GROUP BY t1.keyword ORDER BY COUNT ( DISTINCT t3.title ) DESC LIMIT 1; | CREATE TABLE "author" (
"aid" int,
"homepage" text,
"name" text,
"oid" int,
primary key("aid")
)
3 rows from author table:
Empty DataFrame
Columns: [aid, homepage, name, oid]
Index: []
CREATE TABLE "conference" (
"cid" int,
"homepage" text,
"name" text,
primary key ("cid")
)
3 rows from conference table:
Empty DataFrame
Columns: [cid, homepage, name]
Index: []
CREATE TABLE "domain" (
"did" int,
"name" text,
primary key ("did")
)
3 rows from domain table:
Empty DataFrame
Columns: [did, name]
Index: []
CREATE TABLE "domain_author" (
"aid" int,
"did" int,
primary key ("did", "aid"),
foreign key("aid") references `author`("aid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_author table:
Empty DataFrame
Columns: [aid, did]
Index: []
CREATE TABLE "domain_conference" (
"cid" int,
"did" int,
primary key ("did", "cid"),
foreign key("cid") references `conference`("cid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_conference table:
Empty DataFrame
Columns: [cid, did]
Index: []
CREATE TABLE "journal" (
"homepage" text,
"jid" int,
"name" text,
primary key("jid")
)
3 rows from journal table:
Empty DataFrame
Columns: [homepage, jid, name]
Index: []
CREATE TABLE "domain_journal" (
"did" int,
"jid" int,
primary key ("did", "jid"),
foreign key("jid") references "journal"("jid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_journal table:
Empty DataFrame
Columns: [did, jid]
Index: []
CREATE TABLE "keyword" (
"keyword" text,
"kid" int,
primary key("kid")
)
3 rows from keyword table:
Empty DataFrame
Columns: [keyword, kid]
Index: []
CREATE TABLE "domain_keyword" (
"did" int,
"kid" int,
primary key ("did", "kid"),
foreign key("kid") references "keyword"("kid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_keyword table:
Empty DataFrame
Columns: [did, kid]
Index: []
CREATE TABLE "publication" (
"abstract" text,
"cid" text,
"citation_num" int,
"jid" int,
"pid" int,
"reference_num" int,
"title" text,
"year" int,
primary key("pid"),
foreign key("jid") references "journal"("jid"),
foreign key("cid") references "conference"("cid")
)
3 rows from publication table:
Empty DataFrame
Columns: [abstract, cid, citation_num, jid, pid, reference_num, title, year]
Index: []
CREATE TABLE "domain_publication" (
"did" int,
"pid" int,
primary key ("did", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_publication table:
Empty DataFrame
Columns: [did, pid]
Index: []
CREATE TABLE "organization" (
"continent" text,
"homepage" text,
"name" text,
"oid" int,
primary key("oid")
)
3 rows from organization table:
Empty DataFrame
Columns: [continent, homepage, name, oid]
Index: []
CREATE TABLE "publication_keyword" (
"pid" int,
"kid" int,
primary key ("kid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("kid") references "keyword"("kid")
)
3 rows from publication_keyword table:
Empty DataFrame
Columns: [pid, kid]
Index: []
CREATE TABLE "writes" (
"aid" int,
"pid" int,
primary key ("aid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("aid") references "author"("aid")
)
3 rows from writes table:
Empty DataFrame
Columns: [aid, pid]
Index: []
CREATE TABLE "cite" (
"cited" int,
"citing" int,
foreign key("cited") references "publication"("pid"),
foreign key("citing") references "publication"("pid")
)
3 rows from cite table:
Empty DataFrame
Columns: [cited, citing]
Index: []
|
academic | return me the author in the " University of Michigan " whose papers have the most total citations . | SELECT t1.name FROM organization AS t2 JOIN author AS t1 ON t2.oid = t1.oid JOIN writes AS t3 ON t3.aid = t1.aid JOIN publication AS t4 ON t3.pid = t4.pid WHERE t2.name = "University of Michigan" GROUP BY t1.name ORDER BY SUM ( t4.citation_num ) DESC LIMIT 1; | CREATE TABLE "author" (
"aid" int,
"homepage" text,
"name" text,
"oid" int,
primary key("aid")
)
3 rows from author table:
Empty DataFrame
Columns: [aid, homepage, name, oid]
Index: []
CREATE TABLE "conference" (
"cid" int,
"homepage" text,
"name" text,
primary key ("cid")
)
3 rows from conference table:
Empty DataFrame
Columns: [cid, homepage, name]
Index: []
CREATE TABLE "domain" (
"did" int,
"name" text,
primary key ("did")
)
3 rows from domain table:
Empty DataFrame
Columns: [did, name]
Index: []
CREATE TABLE "domain_author" (
"aid" int,
"did" int,
primary key ("did", "aid"),
foreign key("aid") references `author`("aid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_author table:
Empty DataFrame
Columns: [aid, did]
Index: []
CREATE TABLE "domain_conference" (
"cid" int,
"did" int,
primary key ("did", "cid"),
foreign key("cid") references `conference`("cid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_conference table:
Empty DataFrame
Columns: [cid, did]
Index: []
CREATE TABLE "journal" (
"homepage" text,
"jid" int,
"name" text,
primary key("jid")
)
3 rows from journal table:
Empty DataFrame
Columns: [homepage, jid, name]
Index: []
CREATE TABLE "domain_journal" (
"did" int,
"jid" int,
primary key ("did", "jid"),
foreign key("jid") references "journal"("jid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_journal table:
Empty DataFrame
Columns: [did, jid]
Index: []
CREATE TABLE "keyword" (
"keyword" text,
"kid" int,
primary key("kid")
)
3 rows from keyword table:
Empty DataFrame
Columns: [keyword, kid]
Index: []
CREATE TABLE "domain_keyword" (
"did" int,
"kid" int,
primary key ("did", "kid"),
foreign key("kid") references "keyword"("kid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_keyword table:
Empty DataFrame
Columns: [did, kid]
Index: []
CREATE TABLE "publication" (
"abstract" text,
"cid" text,
"citation_num" int,
"jid" int,
"pid" int,
"reference_num" int,
"title" text,
"year" int,
primary key("pid"),
foreign key("jid") references "journal"("jid"),
foreign key("cid") references "conference"("cid")
)
3 rows from publication table:
Empty DataFrame
Columns: [abstract, cid, citation_num, jid, pid, reference_num, title, year]
Index: []
CREATE TABLE "domain_publication" (
"did" int,
"pid" int,
primary key ("did", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_publication table:
Empty DataFrame
Columns: [did, pid]
Index: []
CREATE TABLE "organization" (
"continent" text,
"homepage" text,
"name" text,
"oid" int,
primary key("oid")
)
3 rows from organization table:
Empty DataFrame
Columns: [continent, homepage, name, oid]
Index: []
CREATE TABLE "publication_keyword" (
"pid" int,
"kid" int,
primary key ("kid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("kid") references "keyword"("kid")
)
3 rows from publication_keyword table:
Empty DataFrame
Columns: [pid, kid]
Index: []
CREATE TABLE "writes" (
"aid" int,
"pid" int,
primary key ("aid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("aid") references "author"("aid")
)
3 rows from writes table:
Empty DataFrame
Columns: [aid, pid]
Index: []
CREATE TABLE "cite" (
"cited" int,
"citing" int,
foreign key("cited") references "publication"("pid"),
foreign key("citing") references "publication"("pid")
)
3 rows from cite table:
Empty DataFrame
Columns: [cited, citing]
Index: []
|
academic | return me the author in the " University of Michigan " whose papers in Databases area have the most total citations . | SELECT t1.name FROM DOMAIN AS t4 JOIN domain_publication AS t2 ON t4.did = t2.did JOIN publication AS t5 ON t5.pid = t2.pid JOIN writes AS t3 ON t3.pid = t5.pid JOIN author AS t1 ON t3.aid = t1.aid JOIN organization AS t6 ON t6.oid = t1.oid WHERE t4.name = "Databases" AND t6.name = "University of Michigan" GROUP BY t1.name ORDER BY SUM ( t5.citation_num ) DESC LIMIT 1; | CREATE TABLE "author" (
"aid" int,
"homepage" text,
"name" text,
"oid" int,
primary key("aid")
)
3 rows from author table:
Empty DataFrame
Columns: [aid, homepage, name, oid]
Index: []
CREATE TABLE "conference" (
"cid" int,
"homepage" text,
"name" text,
primary key ("cid")
)
3 rows from conference table:
Empty DataFrame
Columns: [cid, homepage, name]
Index: []
CREATE TABLE "domain" (
"did" int,
"name" text,
primary key ("did")
)
3 rows from domain table:
Empty DataFrame
Columns: [did, name]
Index: []
CREATE TABLE "domain_author" (
"aid" int,
"did" int,
primary key ("did", "aid"),
foreign key("aid") references `author`("aid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_author table:
Empty DataFrame
Columns: [aid, did]
Index: []
CREATE TABLE "domain_conference" (
"cid" int,
"did" int,
primary key ("did", "cid"),
foreign key("cid") references `conference`("cid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_conference table:
Empty DataFrame
Columns: [cid, did]
Index: []
CREATE TABLE "journal" (
"homepage" text,
"jid" int,
"name" text,
primary key("jid")
)
3 rows from journal table:
Empty DataFrame
Columns: [homepage, jid, name]
Index: []
CREATE TABLE "domain_journal" (
"did" int,
"jid" int,
primary key ("did", "jid"),
foreign key("jid") references "journal"("jid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_journal table:
Empty DataFrame
Columns: [did, jid]
Index: []
CREATE TABLE "keyword" (
"keyword" text,
"kid" int,
primary key("kid")
)
3 rows from keyword table:
Empty DataFrame
Columns: [keyword, kid]
Index: []
CREATE TABLE "domain_keyword" (
"did" int,
"kid" int,
primary key ("did", "kid"),
foreign key("kid") references "keyword"("kid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_keyword table:
Empty DataFrame
Columns: [did, kid]
Index: []
CREATE TABLE "publication" (
"abstract" text,
"cid" text,
"citation_num" int,
"jid" int,
"pid" int,
"reference_num" int,
"title" text,
"year" int,
primary key("pid"),
foreign key("jid") references "journal"("jid"),
foreign key("cid") references "conference"("cid")
)
3 rows from publication table:
Empty DataFrame
Columns: [abstract, cid, citation_num, jid, pid, reference_num, title, year]
Index: []
CREATE TABLE "domain_publication" (
"did" int,
"pid" int,
primary key ("did", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_publication table:
Empty DataFrame
Columns: [did, pid]
Index: []
CREATE TABLE "organization" (
"continent" text,
"homepage" text,
"name" text,
"oid" int,
primary key("oid")
)
3 rows from organization table:
Empty DataFrame
Columns: [continent, homepage, name, oid]
Index: []
CREATE TABLE "publication_keyword" (
"pid" int,
"kid" int,
primary key ("kid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("kid") references "keyword"("kid")
)
3 rows from publication_keyword table:
Empty DataFrame
Columns: [pid, kid]
Index: []
CREATE TABLE "writes" (
"aid" int,
"pid" int,
primary key ("aid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("aid") references "author"("aid")
)
3 rows from writes table:
Empty DataFrame
Columns: [aid, pid]
Index: []
CREATE TABLE "cite" (
"cited" int,
"citing" int,
foreign key("cited") references "publication"("pid"),
foreign key("citing") references "publication"("pid")
)
3 rows from cite table:
Empty DataFrame
Columns: [cited, citing]
Index: []
|
academic | return me the papers written by " H. V. Jagadish " and " Divesh Srivastava " with the most number of citations . | SELECT t5.title FROM writes AS t3 JOIN author AS t2 ON t3.aid = t2.aid JOIN publication AS t5 ON t3.pid = t5.pid JOIN writes AS t4 ON t4.pid = t5.pid JOIN author AS t1 ON t4.aid = t1.aid WHERE t2.name = "Divesh Srivastava" AND t1.name = "H. V. Jagadish" ORDER BY t5.citation_num DESC LIMIT 1; | CREATE TABLE "author" (
"aid" int,
"homepage" text,
"name" text,
"oid" int,
primary key("aid")
)
3 rows from author table:
Empty DataFrame
Columns: [aid, homepage, name, oid]
Index: []
CREATE TABLE "conference" (
"cid" int,
"homepage" text,
"name" text,
primary key ("cid")
)
3 rows from conference table:
Empty DataFrame
Columns: [cid, homepage, name]
Index: []
CREATE TABLE "domain" (
"did" int,
"name" text,
primary key ("did")
)
3 rows from domain table:
Empty DataFrame
Columns: [did, name]
Index: []
CREATE TABLE "domain_author" (
"aid" int,
"did" int,
primary key ("did", "aid"),
foreign key("aid") references `author`("aid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_author table:
Empty DataFrame
Columns: [aid, did]
Index: []
CREATE TABLE "domain_conference" (
"cid" int,
"did" int,
primary key ("did", "cid"),
foreign key("cid") references `conference`("cid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_conference table:
Empty DataFrame
Columns: [cid, did]
Index: []
CREATE TABLE "journal" (
"homepage" text,
"jid" int,
"name" text,
primary key("jid")
)
3 rows from journal table:
Empty DataFrame
Columns: [homepage, jid, name]
Index: []
CREATE TABLE "domain_journal" (
"did" int,
"jid" int,
primary key ("did", "jid"),
foreign key("jid") references "journal"("jid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_journal table:
Empty DataFrame
Columns: [did, jid]
Index: []
CREATE TABLE "keyword" (
"keyword" text,
"kid" int,
primary key("kid")
)
3 rows from keyword table:
Empty DataFrame
Columns: [keyword, kid]
Index: []
CREATE TABLE "domain_keyword" (
"did" int,
"kid" int,
primary key ("did", "kid"),
foreign key("kid") references "keyword"("kid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_keyword table:
Empty DataFrame
Columns: [did, kid]
Index: []
CREATE TABLE "publication" (
"abstract" text,
"cid" text,
"citation_num" int,
"jid" int,
"pid" int,
"reference_num" int,
"title" text,
"year" int,
primary key("pid"),
foreign key("jid") references "journal"("jid"),
foreign key("cid") references "conference"("cid")
)
3 rows from publication table:
Empty DataFrame
Columns: [abstract, cid, citation_num, jid, pid, reference_num, title, year]
Index: []
CREATE TABLE "domain_publication" (
"did" int,
"pid" int,
primary key ("did", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_publication table:
Empty DataFrame
Columns: [did, pid]
Index: []
CREATE TABLE "organization" (
"continent" text,
"homepage" text,
"name" text,
"oid" int,
primary key("oid")
)
3 rows from organization table:
Empty DataFrame
Columns: [continent, homepage, name, oid]
Index: []
CREATE TABLE "publication_keyword" (
"pid" int,
"kid" int,
primary key ("kid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("kid") references "keyword"("kid")
)
3 rows from publication_keyword table:
Empty DataFrame
Columns: [pid, kid]
Index: []
CREATE TABLE "writes" (
"aid" int,
"pid" int,
primary key ("aid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("aid") references "author"("aid")
)
3 rows from writes table:
Empty DataFrame
Columns: [aid, pid]
Index: []
CREATE TABLE "cite" (
"cited" int,
"citing" int,
foreign key("cited") references "publication"("pid"),
foreign key("citing") references "publication"("pid")
)
3 rows from cite table:
Empty DataFrame
Columns: [cited, citing]
Index: []
|
academic | return me the conferences, which have more than 10 papers by " H. V. Jagadish " . | 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; | CREATE TABLE "author" (
"aid" int,
"homepage" text,
"name" text,
"oid" int,
primary key("aid")
)
3 rows from author table:
Empty DataFrame
Columns: [aid, homepage, name, oid]
Index: []
CREATE TABLE "conference" (
"cid" int,
"homepage" text,
"name" text,
primary key ("cid")
)
3 rows from conference table:
Empty DataFrame
Columns: [cid, homepage, name]
Index: []
CREATE TABLE "domain" (
"did" int,
"name" text,
primary key ("did")
)
3 rows from domain table:
Empty DataFrame
Columns: [did, name]
Index: []
CREATE TABLE "domain_author" (
"aid" int,
"did" int,
primary key ("did", "aid"),
foreign key("aid") references `author`("aid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_author table:
Empty DataFrame
Columns: [aid, did]
Index: []
CREATE TABLE "domain_conference" (
"cid" int,
"did" int,
primary key ("did", "cid"),
foreign key("cid") references `conference`("cid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_conference table:
Empty DataFrame
Columns: [cid, did]
Index: []
CREATE TABLE "journal" (
"homepage" text,
"jid" int,
"name" text,
primary key("jid")
)
3 rows from journal table:
Empty DataFrame
Columns: [homepage, jid, name]
Index: []
CREATE TABLE "domain_journal" (
"did" int,
"jid" int,
primary key ("did", "jid"),
foreign key("jid") references "journal"("jid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_journal table:
Empty DataFrame
Columns: [did, jid]
Index: []
CREATE TABLE "keyword" (
"keyword" text,
"kid" int,
primary key("kid")
)
3 rows from keyword table:
Empty DataFrame
Columns: [keyword, kid]
Index: []
CREATE TABLE "domain_keyword" (
"did" int,
"kid" int,
primary key ("did", "kid"),
foreign key("kid") references "keyword"("kid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_keyword table:
Empty DataFrame
Columns: [did, kid]
Index: []
CREATE TABLE "publication" (
"abstract" text,
"cid" text,
"citation_num" int,
"jid" int,
"pid" int,
"reference_num" int,
"title" text,
"year" int,
primary key("pid"),
foreign key("jid") references "journal"("jid"),
foreign key("cid") references "conference"("cid")
)
3 rows from publication table:
Empty DataFrame
Columns: [abstract, cid, citation_num, jid, pid, reference_num, title, year]
Index: []
CREATE TABLE "domain_publication" (
"did" int,
"pid" int,
primary key ("did", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_publication table:
Empty DataFrame
Columns: [did, pid]
Index: []
CREATE TABLE "organization" (
"continent" text,
"homepage" text,
"name" text,
"oid" int,
primary key("oid")
)
3 rows from organization table:
Empty DataFrame
Columns: [continent, homepage, name, oid]
Index: []
CREATE TABLE "publication_keyword" (
"pid" int,
"kid" int,
primary key ("kid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("kid") references "keyword"("kid")
)
3 rows from publication_keyword table:
Empty DataFrame
Columns: [pid, kid]
Index: []
CREATE TABLE "writes" (
"aid" int,
"pid" int,
primary key ("aid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("aid") references "author"("aid")
)
3 rows from writes table:
Empty DataFrame
Columns: [aid, pid]
Index: []
CREATE TABLE "cite" (
"cited" int,
"citing" int,
foreign key("cited") references "publication"("pid"),
foreign key("citing") references "publication"("pid")
)
3 rows from cite table:
Empty DataFrame
Columns: [cited, citing]
Index: []
|
academic | return me the conference, which have the most number of papers by " H. V. Jagadish " . | 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; | CREATE TABLE "author" (
"aid" int,
"homepage" text,
"name" text,
"oid" int,
primary key("aid")
)
3 rows from author table:
Empty DataFrame
Columns: [aid, homepage, name, oid]
Index: []
CREATE TABLE "conference" (
"cid" int,
"homepage" text,
"name" text,
primary key ("cid")
)
3 rows from conference table:
Empty DataFrame
Columns: [cid, homepage, name]
Index: []
CREATE TABLE "domain" (
"did" int,
"name" text,
primary key ("did")
)
3 rows from domain table:
Empty DataFrame
Columns: [did, name]
Index: []
CREATE TABLE "domain_author" (
"aid" int,
"did" int,
primary key ("did", "aid"),
foreign key("aid") references `author`("aid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_author table:
Empty DataFrame
Columns: [aid, did]
Index: []
CREATE TABLE "domain_conference" (
"cid" int,
"did" int,
primary key ("did", "cid"),
foreign key("cid") references `conference`("cid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_conference table:
Empty DataFrame
Columns: [cid, did]
Index: []
CREATE TABLE "journal" (
"homepage" text,
"jid" int,
"name" text,
primary key("jid")
)
3 rows from journal table:
Empty DataFrame
Columns: [homepage, jid, name]
Index: []
CREATE TABLE "domain_journal" (
"did" int,
"jid" int,
primary key ("did", "jid"),
foreign key("jid") references "journal"("jid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_journal table:
Empty DataFrame
Columns: [did, jid]
Index: []
CREATE TABLE "keyword" (
"keyword" text,
"kid" int,
primary key("kid")
)
3 rows from keyword table:
Empty DataFrame
Columns: [keyword, kid]
Index: []
CREATE TABLE "domain_keyword" (
"did" int,
"kid" int,
primary key ("did", "kid"),
foreign key("kid") references "keyword"("kid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_keyword table:
Empty DataFrame
Columns: [did, kid]
Index: []
CREATE TABLE "publication" (
"abstract" text,
"cid" text,
"citation_num" int,
"jid" int,
"pid" int,
"reference_num" int,
"title" text,
"year" int,
primary key("pid"),
foreign key("jid") references "journal"("jid"),
foreign key("cid") references "conference"("cid")
)
3 rows from publication table:
Empty DataFrame
Columns: [abstract, cid, citation_num, jid, pid, reference_num, title, year]
Index: []
CREATE TABLE "domain_publication" (
"did" int,
"pid" int,
primary key ("did", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_publication table:
Empty DataFrame
Columns: [did, pid]
Index: []
CREATE TABLE "organization" (
"continent" text,
"homepage" text,
"name" text,
"oid" int,
primary key("oid")
)
3 rows from organization table:
Empty DataFrame
Columns: [continent, homepage, name, oid]
Index: []
CREATE TABLE "publication_keyword" (
"pid" int,
"kid" int,
primary key ("kid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("kid") references "keyword"("kid")
)
3 rows from publication_keyword table:
Empty DataFrame
Columns: [pid, kid]
Index: []
CREATE TABLE "writes" (
"aid" int,
"pid" int,
primary key ("aid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("aid") references "author"("aid")
)
3 rows from writes table:
Empty DataFrame
Columns: [aid, pid]
Index: []
CREATE TABLE "cite" (
"cited" int,
"citing" int,
foreign key("cited") references "publication"("pid"),
foreign key("citing") references "publication"("pid")
)
3 rows from cite table:
Empty DataFrame
Columns: [cited, citing]
Index: []
|
academic | return me the journals, which have more than 10 papers by " H. V. Jagadish " . | 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; | CREATE TABLE "author" (
"aid" int,
"homepage" text,
"name" text,
"oid" int,
primary key("aid")
)
3 rows from author table:
Empty DataFrame
Columns: [aid, homepage, name, oid]
Index: []
CREATE TABLE "conference" (
"cid" int,
"homepage" text,
"name" text,
primary key ("cid")
)
3 rows from conference table:
Empty DataFrame
Columns: [cid, homepage, name]
Index: []
CREATE TABLE "domain" (
"did" int,
"name" text,
primary key ("did")
)
3 rows from domain table:
Empty DataFrame
Columns: [did, name]
Index: []
CREATE TABLE "domain_author" (
"aid" int,
"did" int,
primary key ("did", "aid"),
foreign key("aid") references `author`("aid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_author table:
Empty DataFrame
Columns: [aid, did]
Index: []
CREATE TABLE "domain_conference" (
"cid" int,
"did" int,
primary key ("did", "cid"),
foreign key("cid") references `conference`("cid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_conference table:
Empty DataFrame
Columns: [cid, did]
Index: []
CREATE TABLE "journal" (
"homepage" text,
"jid" int,
"name" text,
primary key("jid")
)
3 rows from journal table:
Empty DataFrame
Columns: [homepage, jid, name]
Index: []
CREATE TABLE "domain_journal" (
"did" int,
"jid" int,
primary key ("did", "jid"),
foreign key("jid") references "journal"("jid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_journal table:
Empty DataFrame
Columns: [did, jid]
Index: []
CREATE TABLE "keyword" (
"keyword" text,
"kid" int,
primary key("kid")
)
3 rows from keyword table:
Empty DataFrame
Columns: [keyword, kid]
Index: []
CREATE TABLE "domain_keyword" (
"did" int,
"kid" int,
primary key ("did", "kid"),
foreign key("kid") references "keyword"("kid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_keyword table:
Empty DataFrame
Columns: [did, kid]
Index: []
CREATE TABLE "publication" (
"abstract" text,
"cid" text,
"citation_num" int,
"jid" int,
"pid" int,
"reference_num" int,
"title" text,
"year" int,
primary key("pid"),
foreign key("jid") references "journal"("jid"),
foreign key("cid") references "conference"("cid")
)
3 rows from publication table:
Empty DataFrame
Columns: [abstract, cid, citation_num, jid, pid, reference_num, title, year]
Index: []
CREATE TABLE "domain_publication" (
"did" int,
"pid" int,
primary key ("did", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_publication table:
Empty DataFrame
Columns: [did, pid]
Index: []
CREATE TABLE "organization" (
"continent" text,
"homepage" text,
"name" text,
"oid" int,
primary key("oid")
)
3 rows from organization table:
Empty DataFrame
Columns: [continent, homepage, name, oid]
Index: []
CREATE TABLE "publication_keyword" (
"pid" int,
"kid" int,
primary key ("kid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("kid") references "keyword"("kid")
)
3 rows from publication_keyword table:
Empty DataFrame
Columns: [pid, kid]
Index: []
CREATE TABLE "writes" (
"aid" int,
"pid" int,
primary key ("aid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("aid") references "author"("aid")
)
3 rows from writes table:
Empty DataFrame
Columns: [aid, pid]
Index: []
CREATE TABLE "cite" (
"cited" int,
"citing" int,
foreign key("cited") references "publication"("pid"),
foreign key("citing") references "publication"("pid")
)
3 rows from cite table:
Empty DataFrame
Columns: [cited, citing]
Index: []
|
academic | return me the journal, which have the most number of papers by " H. V. Jagadish " . | 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; | CREATE TABLE "author" (
"aid" int,
"homepage" text,
"name" text,
"oid" int,
primary key("aid")
)
3 rows from author table:
Empty DataFrame
Columns: [aid, homepage, name, oid]
Index: []
CREATE TABLE "conference" (
"cid" int,
"homepage" text,
"name" text,
primary key ("cid")
)
3 rows from conference table:
Empty DataFrame
Columns: [cid, homepage, name]
Index: []
CREATE TABLE "domain" (
"did" int,
"name" text,
primary key ("did")
)
3 rows from domain table:
Empty DataFrame
Columns: [did, name]
Index: []
CREATE TABLE "domain_author" (
"aid" int,
"did" int,
primary key ("did", "aid"),
foreign key("aid") references `author`("aid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_author table:
Empty DataFrame
Columns: [aid, did]
Index: []
CREATE TABLE "domain_conference" (
"cid" int,
"did" int,
primary key ("did", "cid"),
foreign key("cid") references `conference`("cid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_conference table:
Empty DataFrame
Columns: [cid, did]
Index: []
CREATE TABLE "journal" (
"homepage" text,
"jid" int,
"name" text,
primary key("jid")
)
3 rows from journal table:
Empty DataFrame
Columns: [homepage, jid, name]
Index: []
CREATE TABLE "domain_journal" (
"did" int,
"jid" int,
primary key ("did", "jid"),
foreign key("jid") references "journal"("jid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_journal table:
Empty DataFrame
Columns: [did, jid]
Index: []
CREATE TABLE "keyword" (
"keyword" text,
"kid" int,
primary key("kid")
)
3 rows from keyword table:
Empty DataFrame
Columns: [keyword, kid]
Index: []
CREATE TABLE "domain_keyword" (
"did" int,
"kid" int,
primary key ("did", "kid"),
foreign key("kid") references "keyword"("kid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_keyword table:
Empty DataFrame
Columns: [did, kid]
Index: []
CREATE TABLE "publication" (
"abstract" text,
"cid" text,
"citation_num" int,
"jid" int,
"pid" int,
"reference_num" int,
"title" text,
"year" int,
primary key("pid"),
foreign key("jid") references "journal"("jid"),
foreign key("cid") references "conference"("cid")
)
3 rows from publication table:
Empty DataFrame
Columns: [abstract, cid, citation_num, jid, pid, reference_num, title, year]
Index: []
CREATE TABLE "domain_publication" (
"did" int,
"pid" int,
primary key ("did", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_publication table:
Empty DataFrame
Columns: [did, pid]
Index: []
CREATE TABLE "organization" (
"continent" text,
"homepage" text,
"name" text,
"oid" int,
primary key("oid")
)
3 rows from organization table:
Empty DataFrame
Columns: [continent, homepage, name, oid]
Index: []
CREATE TABLE "publication_keyword" (
"pid" int,
"kid" int,
primary key ("kid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("kid") references "keyword"("kid")
)
3 rows from publication_keyword table:
Empty DataFrame
Columns: [pid, kid]
Index: []
CREATE TABLE "writes" (
"aid" int,
"pid" int,
primary key ("aid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("aid") references "author"("aid")
)
3 rows from writes table:
Empty DataFrame
Columns: [aid, pid]
Index: []
CREATE TABLE "cite" (
"cited" int,
"citing" int,
foreign key("cited") references "publication"("pid"),
foreign key("citing") references "publication"("pid")
)
3 rows from cite table:
Empty DataFrame
Columns: [cited, citing]
Index: []
|
academic | return me the paper with the most citations . | SELECT title FROM publication ORDER BY citation_num DESC LIMIT 1; | CREATE TABLE "author" (
"aid" int,
"homepage" text,
"name" text,
"oid" int,
primary key("aid")
)
3 rows from author table:
Empty DataFrame
Columns: [aid, homepage, name, oid]
Index: []
CREATE TABLE "conference" (
"cid" int,
"homepage" text,
"name" text,
primary key ("cid")
)
3 rows from conference table:
Empty DataFrame
Columns: [cid, homepage, name]
Index: []
CREATE TABLE "domain" (
"did" int,
"name" text,
primary key ("did")
)
3 rows from domain table:
Empty DataFrame
Columns: [did, name]
Index: []
CREATE TABLE "domain_author" (
"aid" int,
"did" int,
primary key ("did", "aid"),
foreign key("aid") references `author`("aid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_author table:
Empty DataFrame
Columns: [aid, did]
Index: []
CREATE TABLE "domain_conference" (
"cid" int,
"did" int,
primary key ("did", "cid"),
foreign key("cid") references `conference`("cid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_conference table:
Empty DataFrame
Columns: [cid, did]
Index: []
CREATE TABLE "journal" (
"homepage" text,
"jid" int,
"name" text,
primary key("jid")
)
3 rows from journal table:
Empty DataFrame
Columns: [homepage, jid, name]
Index: []
CREATE TABLE "domain_journal" (
"did" int,
"jid" int,
primary key ("did", "jid"),
foreign key("jid") references "journal"("jid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_journal table:
Empty DataFrame
Columns: [did, jid]
Index: []
CREATE TABLE "keyword" (
"keyword" text,
"kid" int,
primary key("kid")
)
3 rows from keyword table:
Empty DataFrame
Columns: [keyword, kid]
Index: []
CREATE TABLE "domain_keyword" (
"did" int,
"kid" int,
primary key ("did", "kid"),
foreign key("kid") references "keyword"("kid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_keyword table:
Empty DataFrame
Columns: [did, kid]
Index: []
CREATE TABLE "publication" (
"abstract" text,
"cid" text,
"citation_num" int,
"jid" int,
"pid" int,
"reference_num" int,
"title" text,
"year" int,
primary key("pid"),
foreign key("jid") references "journal"("jid"),
foreign key("cid") references "conference"("cid")
)
3 rows from publication table:
Empty DataFrame
Columns: [abstract, cid, citation_num, jid, pid, reference_num, title, year]
Index: []
CREATE TABLE "domain_publication" (
"did" int,
"pid" int,
primary key ("did", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_publication table:
Empty DataFrame
Columns: [did, pid]
Index: []
CREATE TABLE "organization" (
"continent" text,
"homepage" text,
"name" text,
"oid" int,
primary key("oid")
)
3 rows from organization table:
Empty DataFrame
Columns: [continent, homepage, name, oid]
Index: []
CREATE TABLE "publication_keyword" (
"pid" int,
"kid" int,
primary key ("kid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("kid") references "keyword"("kid")
)
3 rows from publication_keyword table:
Empty DataFrame
Columns: [pid, kid]
Index: []
CREATE TABLE "writes" (
"aid" int,
"pid" int,
primary key ("aid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("aid") references "author"("aid")
)
3 rows from writes table:
Empty DataFrame
Columns: [aid, pid]
Index: []
CREATE TABLE "cite" (
"cited" int,
"citing" int,
foreign key("cited") references "publication"("pid"),
foreign key("citing") references "publication"("pid")
)
3 rows from cite table:
Empty DataFrame
Columns: [cited, citing]
Index: []
|
academic | return me the paper in Databases area with the most citations . | 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; | CREATE TABLE "author" (
"aid" int,
"homepage" text,
"name" text,
"oid" int,
primary key("aid")
)
3 rows from author table:
Empty DataFrame
Columns: [aid, homepage, name, oid]
Index: []
CREATE TABLE "conference" (
"cid" int,
"homepage" text,
"name" text,
primary key ("cid")
)
3 rows from conference table:
Empty DataFrame
Columns: [cid, homepage, name]
Index: []
CREATE TABLE "domain" (
"did" int,
"name" text,
primary key ("did")
)
3 rows from domain table:
Empty DataFrame
Columns: [did, name]
Index: []
CREATE TABLE "domain_author" (
"aid" int,
"did" int,
primary key ("did", "aid"),
foreign key("aid") references `author`("aid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_author table:
Empty DataFrame
Columns: [aid, did]
Index: []
CREATE TABLE "domain_conference" (
"cid" int,
"did" int,
primary key ("did", "cid"),
foreign key("cid") references `conference`("cid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_conference table:
Empty DataFrame
Columns: [cid, did]
Index: []
CREATE TABLE "journal" (
"homepage" text,
"jid" int,
"name" text,
primary key("jid")
)
3 rows from journal table:
Empty DataFrame
Columns: [homepage, jid, name]
Index: []
CREATE TABLE "domain_journal" (
"did" int,
"jid" int,
primary key ("did", "jid"),
foreign key("jid") references "journal"("jid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_journal table:
Empty DataFrame
Columns: [did, jid]
Index: []
CREATE TABLE "keyword" (
"keyword" text,
"kid" int,
primary key("kid")
)
3 rows from keyword table:
Empty DataFrame
Columns: [keyword, kid]
Index: []
CREATE TABLE "domain_keyword" (
"did" int,
"kid" int,
primary key ("did", "kid"),
foreign key("kid") references "keyword"("kid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_keyword table:
Empty DataFrame
Columns: [did, kid]
Index: []
CREATE TABLE "publication" (
"abstract" text,
"cid" text,
"citation_num" int,
"jid" int,
"pid" int,
"reference_num" int,
"title" text,
"year" int,
primary key("pid"),
foreign key("jid") references "journal"("jid"),
foreign key("cid") references "conference"("cid")
)
3 rows from publication table:
Empty DataFrame
Columns: [abstract, cid, citation_num, jid, pid, reference_num, title, year]
Index: []
CREATE TABLE "domain_publication" (
"did" int,
"pid" int,
primary key ("did", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_publication table:
Empty DataFrame
Columns: [did, pid]
Index: []
CREATE TABLE "organization" (
"continent" text,
"homepage" text,
"name" text,
"oid" int,
primary key("oid")
)
3 rows from organization table:
Empty DataFrame
Columns: [continent, homepage, name, oid]
Index: []
CREATE TABLE "publication_keyword" (
"pid" int,
"kid" int,
primary key ("kid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("kid") references "keyword"("kid")
)
3 rows from publication_keyword table:
Empty DataFrame
Columns: [pid, kid]
Index: []
CREATE TABLE "writes" (
"aid" int,
"pid" int,
primary key ("aid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("aid") references "author"("aid")
)
3 rows from writes table:
Empty DataFrame
Columns: [aid, pid]
Index: []
CREATE TABLE "cite" (
"cited" int,
"citing" int,
foreign key("cited") references "publication"("pid"),
foreign key("citing") references "publication"("pid")
)
3 rows from cite table:
Empty DataFrame
Columns: [cited, citing]
Index: []
|
academic | return me the paper in PVLDB with the most citations . | 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; | CREATE TABLE "author" (
"aid" int,
"homepage" text,
"name" text,
"oid" int,
primary key("aid")
)
3 rows from author table:
Empty DataFrame
Columns: [aid, homepage, name, oid]
Index: []
CREATE TABLE "conference" (
"cid" int,
"homepage" text,
"name" text,
primary key ("cid")
)
3 rows from conference table:
Empty DataFrame
Columns: [cid, homepage, name]
Index: []
CREATE TABLE "domain" (
"did" int,
"name" text,
primary key ("did")
)
3 rows from domain table:
Empty DataFrame
Columns: [did, name]
Index: []
CREATE TABLE "domain_author" (
"aid" int,
"did" int,
primary key ("did", "aid"),
foreign key("aid") references `author`("aid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_author table:
Empty DataFrame
Columns: [aid, did]
Index: []
CREATE TABLE "domain_conference" (
"cid" int,
"did" int,
primary key ("did", "cid"),
foreign key("cid") references `conference`("cid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_conference table:
Empty DataFrame
Columns: [cid, did]
Index: []
CREATE TABLE "journal" (
"homepage" text,
"jid" int,
"name" text,
primary key("jid")
)
3 rows from journal table:
Empty DataFrame
Columns: [homepage, jid, name]
Index: []
CREATE TABLE "domain_journal" (
"did" int,
"jid" int,
primary key ("did", "jid"),
foreign key("jid") references "journal"("jid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_journal table:
Empty DataFrame
Columns: [did, jid]
Index: []
CREATE TABLE "keyword" (
"keyword" text,
"kid" int,
primary key("kid")
)
3 rows from keyword table:
Empty DataFrame
Columns: [keyword, kid]
Index: []
CREATE TABLE "domain_keyword" (
"did" int,
"kid" int,
primary key ("did", "kid"),
foreign key("kid") references "keyword"("kid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_keyword table:
Empty DataFrame
Columns: [did, kid]
Index: []
CREATE TABLE "publication" (
"abstract" text,
"cid" text,
"citation_num" int,
"jid" int,
"pid" int,
"reference_num" int,
"title" text,
"year" int,
primary key("pid"),
foreign key("jid") references "journal"("jid"),
foreign key("cid") references "conference"("cid")
)
3 rows from publication table:
Empty DataFrame
Columns: [abstract, cid, citation_num, jid, pid, reference_num, title, year]
Index: []
CREATE TABLE "domain_publication" (
"did" int,
"pid" int,
primary key ("did", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_publication table:
Empty DataFrame
Columns: [did, pid]
Index: []
CREATE TABLE "organization" (
"continent" text,
"homepage" text,
"name" text,
"oid" int,
primary key("oid")
)
3 rows from organization table:
Empty DataFrame
Columns: [continent, homepage, name, oid]
Index: []
CREATE TABLE "publication_keyword" (
"pid" int,
"kid" int,
primary key ("kid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("kid") references "keyword"("kid")
)
3 rows from publication_keyword table:
Empty DataFrame
Columns: [pid, kid]
Index: []
CREATE TABLE "writes" (
"aid" int,
"pid" int,
primary key ("aid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("aid") references "author"("aid")
)
3 rows from writes table:
Empty DataFrame
Columns: [aid, pid]
Index: []
CREATE TABLE "cite" (
"cited" int,
"citing" int,
foreign key("cited") references "publication"("pid"),
foreign key("citing") references "publication"("pid")
)
3 rows from cite table:
Empty DataFrame
Columns: [cited, citing]
Index: []
|
academic | return me the paper in VLDB conference with the most citations . | 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; | CREATE TABLE "author" (
"aid" int,
"homepage" text,
"name" text,
"oid" int,
primary key("aid")
)
3 rows from author table:
Empty DataFrame
Columns: [aid, homepage, name, oid]
Index: []
CREATE TABLE "conference" (
"cid" int,
"homepage" text,
"name" text,
primary key ("cid")
)
3 rows from conference table:
Empty DataFrame
Columns: [cid, homepage, name]
Index: []
CREATE TABLE "domain" (
"did" int,
"name" text,
primary key ("did")
)
3 rows from domain table:
Empty DataFrame
Columns: [did, name]
Index: []
CREATE TABLE "domain_author" (
"aid" int,
"did" int,
primary key ("did", "aid"),
foreign key("aid") references `author`("aid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_author table:
Empty DataFrame
Columns: [aid, did]
Index: []
CREATE TABLE "domain_conference" (
"cid" int,
"did" int,
primary key ("did", "cid"),
foreign key("cid") references `conference`("cid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_conference table:
Empty DataFrame
Columns: [cid, did]
Index: []
CREATE TABLE "journal" (
"homepage" text,
"jid" int,
"name" text,
primary key("jid")
)
3 rows from journal table:
Empty DataFrame
Columns: [homepage, jid, name]
Index: []
CREATE TABLE "domain_journal" (
"did" int,
"jid" int,
primary key ("did", "jid"),
foreign key("jid") references "journal"("jid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_journal table:
Empty DataFrame
Columns: [did, jid]
Index: []
CREATE TABLE "keyword" (
"keyword" text,
"kid" int,
primary key("kid")
)
3 rows from keyword table:
Empty DataFrame
Columns: [keyword, kid]
Index: []
CREATE TABLE "domain_keyword" (
"did" int,
"kid" int,
primary key ("did", "kid"),
foreign key("kid") references "keyword"("kid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_keyword table:
Empty DataFrame
Columns: [did, kid]
Index: []
CREATE TABLE "publication" (
"abstract" text,
"cid" text,
"citation_num" int,
"jid" int,
"pid" int,
"reference_num" int,
"title" text,
"year" int,
primary key("pid"),
foreign key("jid") references "journal"("jid"),
foreign key("cid") references "conference"("cid")
)
3 rows from publication table:
Empty DataFrame
Columns: [abstract, cid, citation_num, jid, pid, reference_num, title, year]
Index: []
CREATE TABLE "domain_publication" (
"did" int,
"pid" int,
primary key ("did", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_publication table:
Empty DataFrame
Columns: [did, pid]
Index: []
CREATE TABLE "organization" (
"continent" text,
"homepage" text,
"name" text,
"oid" int,
primary key("oid")
)
3 rows from organization table:
Empty DataFrame
Columns: [continent, homepage, name, oid]
Index: []
CREATE TABLE "publication_keyword" (
"pid" int,
"kid" int,
primary key ("kid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("kid") references "keyword"("kid")
)
3 rows from publication_keyword table:
Empty DataFrame
Columns: [pid, kid]
Index: []
CREATE TABLE "writes" (
"aid" int,
"pid" int,
primary key ("aid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("aid") references "author"("aid")
)
3 rows from writes table:
Empty DataFrame
Columns: [aid, pid]
Index: []
CREATE TABLE "cite" (
"cited" int,
"citing" int,
foreign key("cited") references "publication"("pid"),
foreign key("citing") references "publication"("pid")
)
3 rows from cite table:
Empty DataFrame
Columns: [cited, citing]
Index: []
|
academic | return me the paper by " H. V. Jagadish " with the most citations . | 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; | CREATE TABLE "author" (
"aid" int,
"homepage" text,
"name" text,
"oid" int,
primary key("aid")
)
3 rows from author table:
Empty DataFrame
Columns: [aid, homepage, name, oid]
Index: []
CREATE TABLE "conference" (
"cid" int,
"homepage" text,
"name" text,
primary key ("cid")
)
3 rows from conference table:
Empty DataFrame
Columns: [cid, homepage, name]
Index: []
CREATE TABLE "domain" (
"did" int,
"name" text,
primary key ("did")
)
3 rows from domain table:
Empty DataFrame
Columns: [did, name]
Index: []
CREATE TABLE "domain_author" (
"aid" int,
"did" int,
primary key ("did", "aid"),
foreign key("aid") references `author`("aid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_author table:
Empty DataFrame
Columns: [aid, did]
Index: []
CREATE TABLE "domain_conference" (
"cid" int,
"did" int,
primary key ("did", "cid"),
foreign key("cid") references `conference`("cid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_conference table:
Empty DataFrame
Columns: [cid, did]
Index: []
CREATE TABLE "journal" (
"homepage" text,
"jid" int,
"name" text,
primary key("jid")
)
3 rows from journal table:
Empty DataFrame
Columns: [homepage, jid, name]
Index: []
CREATE TABLE "domain_journal" (
"did" int,
"jid" int,
primary key ("did", "jid"),
foreign key("jid") references "journal"("jid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_journal table:
Empty DataFrame
Columns: [did, jid]
Index: []
CREATE TABLE "keyword" (
"keyword" text,
"kid" int,
primary key("kid")
)
3 rows from keyword table:
Empty DataFrame
Columns: [keyword, kid]
Index: []
CREATE TABLE "domain_keyword" (
"did" int,
"kid" int,
primary key ("did", "kid"),
foreign key("kid") references "keyword"("kid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_keyword table:
Empty DataFrame
Columns: [did, kid]
Index: []
CREATE TABLE "publication" (
"abstract" text,
"cid" text,
"citation_num" int,
"jid" int,
"pid" int,
"reference_num" int,
"title" text,
"year" int,
primary key("pid"),
foreign key("jid") references "journal"("jid"),
foreign key("cid") references "conference"("cid")
)
3 rows from publication table:
Empty DataFrame
Columns: [abstract, cid, citation_num, jid, pid, reference_num, title, year]
Index: []
CREATE TABLE "domain_publication" (
"did" int,
"pid" int,
primary key ("did", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_publication table:
Empty DataFrame
Columns: [did, pid]
Index: []
CREATE TABLE "organization" (
"continent" text,
"homepage" text,
"name" text,
"oid" int,
primary key("oid")
)
3 rows from organization table:
Empty DataFrame
Columns: [continent, homepage, name, oid]
Index: []
CREATE TABLE "publication_keyword" (
"pid" int,
"kid" int,
primary key ("kid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("kid") references "keyword"("kid")
)
3 rows from publication_keyword table:
Empty DataFrame
Columns: [pid, kid]
Index: []
CREATE TABLE "writes" (
"aid" int,
"pid" int,
primary key ("aid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("aid") references "author"("aid")
)
3 rows from writes table:
Empty DataFrame
Columns: [aid, pid]
Index: []
CREATE TABLE "cite" (
"cited" int,
"citing" int,
foreign key("cited") references "publication"("pid"),
foreign key("citing") references "publication"("pid")
)
3 rows from cite table:
Empty DataFrame
Columns: [cited, citing]
Index: []
|
academic | return me the paper after 2000 with the most citations . | SELECT title FROM publication WHERE YEAR > 2000 ORDER BY citation_num DESC LIMIT 1; | CREATE TABLE "author" (
"aid" int,
"homepage" text,
"name" text,
"oid" int,
primary key("aid")
)
3 rows from author table:
Empty DataFrame
Columns: [aid, homepage, name, oid]
Index: []
CREATE TABLE "conference" (
"cid" int,
"homepage" text,
"name" text,
primary key ("cid")
)
3 rows from conference table:
Empty DataFrame
Columns: [cid, homepage, name]
Index: []
CREATE TABLE "domain" (
"did" int,
"name" text,
primary key ("did")
)
3 rows from domain table:
Empty DataFrame
Columns: [did, name]
Index: []
CREATE TABLE "domain_author" (
"aid" int,
"did" int,
primary key ("did", "aid"),
foreign key("aid") references `author`("aid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_author table:
Empty DataFrame
Columns: [aid, did]
Index: []
CREATE TABLE "domain_conference" (
"cid" int,
"did" int,
primary key ("did", "cid"),
foreign key("cid") references `conference`("cid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_conference table:
Empty DataFrame
Columns: [cid, did]
Index: []
CREATE TABLE "journal" (
"homepage" text,
"jid" int,
"name" text,
primary key("jid")
)
3 rows from journal table:
Empty DataFrame
Columns: [homepage, jid, name]
Index: []
CREATE TABLE "domain_journal" (
"did" int,
"jid" int,
primary key ("did", "jid"),
foreign key("jid") references "journal"("jid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_journal table:
Empty DataFrame
Columns: [did, jid]
Index: []
CREATE TABLE "keyword" (
"keyword" text,
"kid" int,
primary key("kid")
)
3 rows from keyword table:
Empty DataFrame
Columns: [keyword, kid]
Index: []
CREATE TABLE "domain_keyword" (
"did" int,
"kid" int,
primary key ("did", "kid"),
foreign key("kid") references "keyword"("kid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_keyword table:
Empty DataFrame
Columns: [did, kid]
Index: []
CREATE TABLE "publication" (
"abstract" text,
"cid" text,
"citation_num" int,
"jid" int,
"pid" int,
"reference_num" int,
"title" text,
"year" int,
primary key("pid"),
foreign key("jid") references "journal"("jid"),
foreign key("cid") references "conference"("cid")
)
3 rows from publication table:
Empty DataFrame
Columns: [abstract, cid, citation_num, jid, pid, reference_num, title, year]
Index: []
CREATE TABLE "domain_publication" (
"did" int,
"pid" int,
primary key ("did", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_publication table:
Empty DataFrame
Columns: [did, pid]
Index: []
CREATE TABLE "organization" (
"continent" text,
"homepage" text,
"name" text,
"oid" int,
primary key("oid")
)
3 rows from organization table:
Empty DataFrame
Columns: [continent, homepage, name, oid]
Index: []
CREATE TABLE "publication_keyword" (
"pid" int,
"kid" int,
primary key ("kid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("kid") references "keyword"("kid")
)
3 rows from publication_keyword table:
Empty DataFrame
Columns: [pid, kid]
Index: []
CREATE TABLE "writes" (
"aid" int,
"pid" int,
primary key ("aid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("aid") references "author"("aid")
)
3 rows from writes table:
Empty DataFrame
Columns: [aid, pid]
Index: []
CREATE TABLE "cite" (
"cited" int,
"citing" int,
foreign key("cited") references "publication"("pid"),
foreign key("citing") references "publication"("pid")
)
3 rows from cite table:
Empty DataFrame
Columns: [cited, citing]
Index: []
|
academic | return me the paper after 2000 in Databases area with the most citations . | 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; | CREATE TABLE "author" (
"aid" int,
"homepage" text,
"name" text,
"oid" int,
primary key("aid")
)
3 rows from author table:
Empty DataFrame
Columns: [aid, homepage, name, oid]
Index: []
CREATE TABLE "conference" (
"cid" int,
"homepage" text,
"name" text,
primary key ("cid")
)
3 rows from conference table:
Empty DataFrame
Columns: [cid, homepage, name]
Index: []
CREATE TABLE "domain" (
"did" int,
"name" text,
primary key ("did")
)
3 rows from domain table:
Empty DataFrame
Columns: [did, name]
Index: []
CREATE TABLE "domain_author" (
"aid" int,
"did" int,
primary key ("did", "aid"),
foreign key("aid") references `author`("aid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_author table:
Empty DataFrame
Columns: [aid, did]
Index: []
CREATE TABLE "domain_conference" (
"cid" int,
"did" int,
primary key ("did", "cid"),
foreign key("cid") references `conference`("cid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_conference table:
Empty DataFrame
Columns: [cid, did]
Index: []
CREATE TABLE "journal" (
"homepage" text,
"jid" int,
"name" text,
primary key("jid")
)
3 rows from journal table:
Empty DataFrame
Columns: [homepage, jid, name]
Index: []
CREATE TABLE "domain_journal" (
"did" int,
"jid" int,
primary key ("did", "jid"),
foreign key("jid") references "journal"("jid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_journal table:
Empty DataFrame
Columns: [did, jid]
Index: []
CREATE TABLE "keyword" (
"keyword" text,
"kid" int,
primary key("kid")
)
3 rows from keyword table:
Empty DataFrame
Columns: [keyword, kid]
Index: []
CREATE TABLE "domain_keyword" (
"did" int,
"kid" int,
primary key ("did", "kid"),
foreign key("kid") references "keyword"("kid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_keyword table:
Empty DataFrame
Columns: [did, kid]
Index: []
CREATE TABLE "publication" (
"abstract" text,
"cid" text,
"citation_num" int,
"jid" int,
"pid" int,
"reference_num" int,
"title" text,
"year" int,
primary key("pid"),
foreign key("jid") references "journal"("jid"),
foreign key("cid") references "conference"("cid")
)
3 rows from publication table:
Empty DataFrame
Columns: [abstract, cid, citation_num, jid, pid, reference_num, title, year]
Index: []
CREATE TABLE "domain_publication" (
"did" int,
"pid" int,
primary key ("did", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_publication table:
Empty DataFrame
Columns: [did, pid]
Index: []
CREATE TABLE "organization" (
"continent" text,
"homepage" text,
"name" text,
"oid" int,
primary key("oid")
)
3 rows from organization table:
Empty DataFrame
Columns: [continent, homepage, name, oid]
Index: []
CREATE TABLE "publication_keyword" (
"pid" int,
"kid" int,
primary key ("kid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("kid") references "keyword"("kid")
)
3 rows from publication_keyword table:
Empty DataFrame
Columns: [pid, kid]
Index: []
CREATE TABLE "writes" (
"aid" int,
"pid" int,
primary key ("aid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("aid") references "author"("aid")
)
3 rows from writes table:
Empty DataFrame
Columns: [aid, pid]
Index: []
CREATE TABLE "cite" (
"cited" int,
"citing" int,
foreign key("cited") references "publication"("pid"),
foreign key("citing") references "publication"("pid")
)
3 rows from cite table:
Empty DataFrame
Columns: [cited, citing]
Index: []
|
academic | return me the paper after 2000 in PVLDB with the most citations . | 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; | CREATE TABLE "author" (
"aid" int,
"homepage" text,
"name" text,
"oid" int,
primary key("aid")
)
3 rows from author table:
Empty DataFrame
Columns: [aid, homepage, name, oid]
Index: []
CREATE TABLE "conference" (
"cid" int,
"homepage" text,
"name" text,
primary key ("cid")
)
3 rows from conference table:
Empty DataFrame
Columns: [cid, homepage, name]
Index: []
CREATE TABLE "domain" (
"did" int,
"name" text,
primary key ("did")
)
3 rows from domain table:
Empty DataFrame
Columns: [did, name]
Index: []
CREATE TABLE "domain_author" (
"aid" int,
"did" int,
primary key ("did", "aid"),
foreign key("aid") references `author`("aid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_author table:
Empty DataFrame
Columns: [aid, did]
Index: []
CREATE TABLE "domain_conference" (
"cid" int,
"did" int,
primary key ("did", "cid"),
foreign key("cid") references `conference`("cid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_conference table:
Empty DataFrame
Columns: [cid, did]
Index: []
CREATE TABLE "journal" (
"homepage" text,
"jid" int,
"name" text,
primary key("jid")
)
3 rows from journal table:
Empty DataFrame
Columns: [homepage, jid, name]
Index: []
CREATE TABLE "domain_journal" (
"did" int,
"jid" int,
primary key ("did", "jid"),
foreign key("jid") references "journal"("jid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_journal table:
Empty DataFrame
Columns: [did, jid]
Index: []
CREATE TABLE "keyword" (
"keyword" text,
"kid" int,
primary key("kid")
)
3 rows from keyword table:
Empty DataFrame
Columns: [keyword, kid]
Index: []
CREATE TABLE "domain_keyword" (
"did" int,
"kid" int,
primary key ("did", "kid"),
foreign key("kid") references "keyword"("kid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_keyword table:
Empty DataFrame
Columns: [did, kid]
Index: []
CREATE TABLE "publication" (
"abstract" text,
"cid" text,
"citation_num" int,
"jid" int,
"pid" int,
"reference_num" int,
"title" text,
"year" int,
primary key("pid"),
foreign key("jid") references "journal"("jid"),
foreign key("cid") references "conference"("cid")
)
3 rows from publication table:
Empty DataFrame
Columns: [abstract, cid, citation_num, jid, pid, reference_num, title, year]
Index: []
CREATE TABLE "domain_publication" (
"did" int,
"pid" int,
primary key ("did", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_publication table:
Empty DataFrame
Columns: [did, pid]
Index: []
CREATE TABLE "organization" (
"continent" text,
"homepage" text,
"name" text,
"oid" int,
primary key("oid")
)
3 rows from organization table:
Empty DataFrame
Columns: [continent, homepage, name, oid]
Index: []
CREATE TABLE "publication_keyword" (
"pid" int,
"kid" int,
primary key ("kid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("kid") references "keyword"("kid")
)
3 rows from publication_keyword table:
Empty DataFrame
Columns: [pid, kid]
Index: []
CREATE TABLE "writes" (
"aid" int,
"pid" int,
primary key ("aid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("aid") references "author"("aid")
)
3 rows from writes table:
Empty DataFrame
Columns: [aid, pid]
Index: []
CREATE TABLE "cite" (
"cited" int,
"citing" int,
foreign key("cited") references "publication"("pid"),
foreign key("citing") references "publication"("pid")
)
3 rows from cite table:
Empty DataFrame
Columns: [cited, citing]
Index: []
|
academic | return me the paper after 2000 in VLDB conference with the most citations . | 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; | CREATE TABLE "author" (
"aid" int,
"homepage" text,
"name" text,
"oid" int,
primary key("aid")
)
3 rows from author table:
Empty DataFrame
Columns: [aid, homepage, name, oid]
Index: []
CREATE TABLE "conference" (
"cid" int,
"homepage" text,
"name" text,
primary key ("cid")
)
3 rows from conference table:
Empty DataFrame
Columns: [cid, homepage, name]
Index: []
CREATE TABLE "domain" (
"did" int,
"name" text,
primary key ("did")
)
3 rows from domain table:
Empty DataFrame
Columns: [did, name]
Index: []
CREATE TABLE "domain_author" (
"aid" int,
"did" int,
primary key ("did", "aid"),
foreign key("aid") references `author`("aid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_author table:
Empty DataFrame
Columns: [aid, did]
Index: []
CREATE TABLE "domain_conference" (
"cid" int,
"did" int,
primary key ("did", "cid"),
foreign key("cid") references `conference`("cid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_conference table:
Empty DataFrame
Columns: [cid, did]
Index: []
CREATE TABLE "journal" (
"homepage" text,
"jid" int,
"name" text,
primary key("jid")
)
3 rows from journal table:
Empty DataFrame
Columns: [homepage, jid, name]
Index: []
CREATE TABLE "domain_journal" (
"did" int,
"jid" int,
primary key ("did", "jid"),
foreign key("jid") references "journal"("jid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_journal table:
Empty DataFrame
Columns: [did, jid]
Index: []
CREATE TABLE "keyword" (
"keyword" text,
"kid" int,
primary key("kid")
)
3 rows from keyword table:
Empty DataFrame
Columns: [keyword, kid]
Index: []
CREATE TABLE "domain_keyword" (
"did" int,
"kid" int,
primary key ("did", "kid"),
foreign key("kid") references "keyword"("kid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_keyword table:
Empty DataFrame
Columns: [did, kid]
Index: []
CREATE TABLE "publication" (
"abstract" text,
"cid" text,
"citation_num" int,
"jid" int,
"pid" int,
"reference_num" int,
"title" text,
"year" int,
primary key("pid"),
foreign key("jid") references "journal"("jid"),
foreign key("cid") references "conference"("cid")
)
3 rows from publication table:
Empty DataFrame
Columns: [abstract, cid, citation_num, jid, pid, reference_num, title, year]
Index: []
CREATE TABLE "domain_publication" (
"did" int,
"pid" int,
primary key ("did", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_publication table:
Empty DataFrame
Columns: [did, pid]
Index: []
CREATE TABLE "organization" (
"continent" text,
"homepage" text,
"name" text,
"oid" int,
primary key("oid")
)
3 rows from organization table:
Empty DataFrame
Columns: [continent, homepage, name, oid]
Index: []
CREATE TABLE "publication_keyword" (
"pid" int,
"kid" int,
primary key ("kid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("kid") references "keyword"("kid")
)
3 rows from publication_keyword table:
Empty DataFrame
Columns: [pid, kid]
Index: []
CREATE TABLE "writes" (
"aid" int,
"pid" int,
primary key ("aid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("aid") references "author"("aid")
)
3 rows from writes table:
Empty DataFrame
Columns: [aid, pid]
Index: []
CREATE TABLE "cite" (
"cited" int,
"citing" int,
foreign key("cited") references "publication"("pid"),
foreign key("citing") references "publication"("pid")
)
3 rows from cite table:
Empty DataFrame
Columns: [cited, citing]
Index: []
|
academic | return me the authors who have more than 10 papers in PVLDB . | 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; | CREATE TABLE "author" (
"aid" int,
"homepage" text,
"name" text,
"oid" int,
primary key("aid")
)
3 rows from author table:
Empty DataFrame
Columns: [aid, homepage, name, oid]
Index: []
CREATE TABLE "conference" (
"cid" int,
"homepage" text,
"name" text,
primary key ("cid")
)
3 rows from conference table:
Empty DataFrame
Columns: [cid, homepage, name]
Index: []
CREATE TABLE "domain" (
"did" int,
"name" text,
primary key ("did")
)
3 rows from domain table:
Empty DataFrame
Columns: [did, name]
Index: []
CREATE TABLE "domain_author" (
"aid" int,
"did" int,
primary key ("did", "aid"),
foreign key("aid") references `author`("aid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_author table:
Empty DataFrame
Columns: [aid, did]
Index: []
CREATE TABLE "domain_conference" (
"cid" int,
"did" int,
primary key ("did", "cid"),
foreign key("cid") references `conference`("cid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_conference table:
Empty DataFrame
Columns: [cid, did]
Index: []
CREATE TABLE "journal" (
"homepage" text,
"jid" int,
"name" text,
primary key("jid")
)
3 rows from journal table:
Empty DataFrame
Columns: [homepage, jid, name]
Index: []
CREATE TABLE "domain_journal" (
"did" int,
"jid" int,
primary key ("did", "jid"),
foreign key("jid") references "journal"("jid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_journal table:
Empty DataFrame
Columns: [did, jid]
Index: []
CREATE TABLE "keyword" (
"keyword" text,
"kid" int,
primary key("kid")
)
3 rows from keyword table:
Empty DataFrame
Columns: [keyword, kid]
Index: []
CREATE TABLE "domain_keyword" (
"did" int,
"kid" int,
primary key ("did", "kid"),
foreign key("kid") references "keyword"("kid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_keyword table:
Empty DataFrame
Columns: [did, kid]
Index: []
CREATE TABLE "publication" (
"abstract" text,
"cid" text,
"citation_num" int,
"jid" int,
"pid" int,
"reference_num" int,
"title" text,
"year" int,
primary key("pid"),
foreign key("jid") references "journal"("jid"),
foreign key("cid") references "conference"("cid")
)
3 rows from publication table:
Empty DataFrame
Columns: [abstract, cid, citation_num, jid, pid, reference_num, title, year]
Index: []
CREATE TABLE "domain_publication" (
"did" int,
"pid" int,
primary key ("did", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_publication table:
Empty DataFrame
Columns: [did, pid]
Index: []
CREATE TABLE "organization" (
"continent" text,
"homepage" text,
"name" text,
"oid" int,
primary key("oid")
)
3 rows from organization table:
Empty DataFrame
Columns: [continent, homepage, name, oid]
Index: []
CREATE TABLE "publication_keyword" (
"pid" int,
"kid" int,
primary key ("kid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("kid") references "keyword"("kid")
)
3 rows from publication_keyword table:
Empty DataFrame
Columns: [pid, kid]
Index: []
CREATE TABLE "writes" (
"aid" int,
"pid" int,
primary key ("aid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("aid") references "author"("aid")
)
3 rows from writes table:
Empty DataFrame
Columns: [aid, pid]
Index: []
CREATE TABLE "cite" (
"cited" int,
"citing" int,
foreign key("cited") references "publication"("pid"),
foreign key("citing") references "publication"("pid")
)
3 rows from cite table:
Empty DataFrame
Columns: [cited, citing]
Index: []
|
academic | return me the authors who have the most number of papers in PVLDB . | 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; | CREATE TABLE "author" (
"aid" int,
"homepage" text,
"name" text,
"oid" int,
primary key("aid")
)
3 rows from author table:
Empty DataFrame
Columns: [aid, homepage, name, oid]
Index: []
CREATE TABLE "conference" (
"cid" int,
"homepage" text,
"name" text,
primary key ("cid")
)
3 rows from conference table:
Empty DataFrame
Columns: [cid, homepage, name]
Index: []
CREATE TABLE "domain" (
"did" int,
"name" text,
primary key ("did")
)
3 rows from domain table:
Empty DataFrame
Columns: [did, name]
Index: []
CREATE TABLE "domain_author" (
"aid" int,
"did" int,
primary key ("did", "aid"),
foreign key("aid") references `author`("aid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_author table:
Empty DataFrame
Columns: [aid, did]
Index: []
CREATE TABLE "domain_conference" (
"cid" int,
"did" int,
primary key ("did", "cid"),
foreign key("cid") references `conference`("cid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_conference table:
Empty DataFrame
Columns: [cid, did]
Index: []
CREATE TABLE "journal" (
"homepage" text,
"jid" int,
"name" text,
primary key("jid")
)
3 rows from journal table:
Empty DataFrame
Columns: [homepage, jid, name]
Index: []
CREATE TABLE "domain_journal" (
"did" int,
"jid" int,
primary key ("did", "jid"),
foreign key("jid") references "journal"("jid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_journal table:
Empty DataFrame
Columns: [did, jid]
Index: []
CREATE TABLE "keyword" (
"keyword" text,
"kid" int,
primary key("kid")
)
3 rows from keyword table:
Empty DataFrame
Columns: [keyword, kid]
Index: []
CREATE TABLE "domain_keyword" (
"did" int,
"kid" int,
primary key ("did", "kid"),
foreign key("kid") references "keyword"("kid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_keyword table:
Empty DataFrame
Columns: [did, kid]
Index: []
CREATE TABLE "publication" (
"abstract" text,
"cid" text,
"citation_num" int,
"jid" int,
"pid" int,
"reference_num" int,
"title" text,
"year" int,
primary key("pid"),
foreign key("jid") references "journal"("jid"),
foreign key("cid") references "conference"("cid")
)
3 rows from publication table:
Empty DataFrame
Columns: [abstract, cid, citation_num, jid, pid, reference_num, title, year]
Index: []
CREATE TABLE "domain_publication" (
"did" int,
"pid" int,
primary key ("did", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_publication table:
Empty DataFrame
Columns: [did, pid]
Index: []
CREATE TABLE "organization" (
"continent" text,
"homepage" text,
"name" text,
"oid" int,
primary key("oid")
)
3 rows from organization table:
Empty DataFrame
Columns: [continent, homepage, name, oid]
Index: []
CREATE TABLE "publication_keyword" (
"pid" int,
"kid" int,
primary key ("kid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("kid") references "keyword"("kid")
)
3 rows from publication_keyword table:
Empty DataFrame
Columns: [pid, kid]
Index: []
CREATE TABLE "writes" (
"aid" int,
"pid" int,
primary key ("aid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("aid") references "author"("aid")
)
3 rows from writes table:
Empty DataFrame
Columns: [aid, pid]
Index: []
CREATE TABLE "cite" (
"cited" int,
"citing" int,
foreign key("cited") references "publication"("pid"),
foreign key("citing") references "publication"("pid")
)
3 rows from cite table:
Empty DataFrame
Columns: [cited, citing]
Index: []
|
academic | return me the authors who have more than 10 papers containing keyword " Relational Database " . | 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; | CREATE TABLE "author" (
"aid" int,
"homepage" text,
"name" text,
"oid" int,
primary key("aid")
)
3 rows from author table:
Empty DataFrame
Columns: [aid, homepage, name, oid]
Index: []
CREATE TABLE "conference" (
"cid" int,
"homepage" text,
"name" text,
primary key ("cid")
)
3 rows from conference table:
Empty DataFrame
Columns: [cid, homepage, name]
Index: []
CREATE TABLE "domain" (
"did" int,
"name" text,
primary key ("did")
)
3 rows from domain table:
Empty DataFrame
Columns: [did, name]
Index: []
CREATE TABLE "domain_author" (
"aid" int,
"did" int,
primary key ("did", "aid"),
foreign key("aid") references `author`("aid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_author table:
Empty DataFrame
Columns: [aid, did]
Index: []
CREATE TABLE "domain_conference" (
"cid" int,
"did" int,
primary key ("did", "cid"),
foreign key("cid") references `conference`("cid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_conference table:
Empty DataFrame
Columns: [cid, did]
Index: []
CREATE TABLE "journal" (
"homepage" text,
"jid" int,
"name" text,
primary key("jid")
)
3 rows from journal table:
Empty DataFrame
Columns: [homepage, jid, name]
Index: []
CREATE TABLE "domain_journal" (
"did" int,
"jid" int,
primary key ("did", "jid"),
foreign key("jid") references "journal"("jid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_journal table:
Empty DataFrame
Columns: [did, jid]
Index: []
CREATE TABLE "keyword" (
"keyword" text,
"kid" int,
primary key("kid")
)
3 rows from keyword table:
Empty DataFrame
Columns: [keyword, kid]
Index: []
CREATE TABLE "domain_keyword" (
"did" int,
"kid" int,
primary key ("did", "kid"),
foreign key("kid") references "keyword"("kid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_keyword table:
Empty DataFrame
Columns: [did, kid]
Index: []
CREATE TABLE "publication" (
"abstract" text,
"cid" text,
"citation_num" int,
"jid" int,
"pid" int,
"reference_num" int,
"title" text,
"year" int,
primary key("pid"),
foreign key("jid") references "journal"("jid"),
foreign key("cid") references "conference"("cid")
)
3 rows from publication table:
Empty DataFrame
Columns: [abstract, cid, citation_num, jid, pid, reference_num, title, year]
Index: []
CREATE TABLE "domain_publication" (
"did" int,
"pid" int,
primary key ("did", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_publication table:
Empty DataFrame
Columns: [did, pid]
Index: []
CREATE TABLE "organization" (
"continent" text,
"homepage" text,
"name" text,
"oid" int,
primary key("oid")
)
3 rows from organization table:
Empty DataFrame
Columns: [continent, homepage, name, oid]
Index: []
CREATE TABLE "publication_keyword" (
"pid" int,
"kid" int,
primary key ("kid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("kid") references "keyword"("kid")
)
3 rows from publication_keyword table:
Empty DataFrame
Columns: [pid, kid]
Index: []
CREATE TABLE "writes" (
"aid" int,
"pid" int,
primary key ("aid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("aid") references "author"("aid")
)
3 rows from writes table:
Empty DataFrame
Columns: [aid, pid]
Index: []
CREATE TABLE "cite" (
"cited" int,
"citing" int,
foreign key("cited") references "publication"("pid"),
foreign key("citing") references "publication"("pid")
)
3 rows from cite table:
Empty DataFrame
Columns: [cited, citing]
Index: []
|
academic | return me the conferences, which have more than 60 papers containing keyword " Relational Database " . | 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; | CREATE TABLE "author" (
"aid" int,
"homepage" text,
"name" text,
"oid" int,
primary key("aid")
)
3 rows from author table:
Empty DataFrame
Columns: [aid, homepage, name, oid]
Index: []
CREATE TABLE "conference" (
"cid" int,
"homepage" text,
"name" text,
primary key ("cid")
)
3 rows from conference table:
Empty DataFrame
Columns: [cid, homepage, name]
Index: []
CREATE TABLE "domain" (
"did" int,
"name" text,
primary key ("did")
)
3 rows from domain table:
Empty DataFrame
Columns: [did, name]
Index: []
CREATE TABLE "domain_author" (
"aid" int,
"did" int,
primary key ("did", "aid"),
foreign key("aid") references `author`("aid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_author table:
Empty DataFrame
Columns: [aid, did]
Index: []
CREATE TABLE "domain_conference" (
"cid" int,
"did" int,
primary key ("did", "cid"),
foreign key("cid") references `conference`("cid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_conference table:
Empty DataFrame
Columns: [cid, did]
Index: []
CREATE TABLE "journal" (
"homepage" text,
"jid" int,
"name" text,
primary key("jid")
)
3 rows from journal table:
Empty DataFrame
Columns: [homepage, jid, name]
Index: []
CREATE TABLE "domain_journal" (
"did" int,
"jid" int,
primary key ("did", "jid"),
foreign key("jid") references "journal"("jid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_journal table:
Empty DataFrame
Columns: [did, jid]
Index: []
CREATE TABLE "keyword" (
"keyword" text,
"kid" int,
primary key("kid")
)
3 rows from keyword table:
Empty DataFrame
Columns: [keyword, kid]
Index: []
CREATE TABLE "domain_keyword" (
"did" int,
"kid" int,
primary key ("did", "kid"),
foreign key("kid") references "keyword"("kid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_keyword table:
Empty DataFrame
Columns: [did, kid]
Index: []
CREATE TABLE "publication" (
"abstract" text,
"cid" text,
"citation_num" int,
"jid" int,
"pid" int,
"reference_num" int,
"title" text,
"year" int,
primary key("pid"),
foreign key("jid") references "journal"("jid"),
foreign key("cid") references "conference"("cid")
)
3 rows from publication table:
Empty DataFrame
Columns: [abstract, cid, citation_num, jid, pid, reference_num, title, year]
Index: []
CREATE TABLE "domain_publication" (
"did" int,
"pid" int,
primary key ("did", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_publication table:
Empty DataFrame
Columns: [did, pid]
Index: []
CREATE TABLE "organization" (
"continent" text,
"homepage" text,
"name" text,
"oid" int,
primary key("oid")
)
3 rows from organization table:
Empty DataFrame
Columns: [continent, homepage, name, oid]
Index: []
CREATE TABLE "publication_keyword" (
"pid" int,
"kid" int,
primary key ("kid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("kid") references "keyword"("kid")
)
3 rows from publication_keyword table:
Empty DataFrame
Columns: [pid, kid]
Index: []
CREATE TABLE "writes" (
"aid" int,
"pid" int,
primary key ("aid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("aid") references "author"("aid")
)
3 rows from writes table:
Empty DataFrame
Columns: [aid, pid]
Index: []
CREATE TABLE "cite" (
"cited" int,
"citing" int,
foreign key("cited") references "publication"("pid"),
foreign key("citing") references "publication"("pid")
)
3 rows from cite table:
Empty DataFrame
Columns: [cited, citing]
Index: []
|
academic | return me the journals, which have more than 60 papers containing keyword " Relational Database " . | 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; | CREATE TABLE "author" (
"aid" int,
"homepage" text,
"name" text,
"oid" int,
primary key("aid")
)
3 rows from author table:
Empty DataFrame
Columns: [aid, homepage, name, oid]
Index: []
CREATE TABLE "conference" (
"cid" int,
"homepage" text,
"name" text,
primary key ("cid")
)
3 rows from conference table:
Empty DataFrame
Columns: [cid, homepage, name]
Index: []
CREATE TABLE "domain" (
"did" int,
"name" text,
primary key ("did")
)
3 rows from domain table:
Empty DataFrame
Columns: [did, name]
Index: []
CREATE TABLE "domain_author" (
"aid" int,
"did" int,
primary key ("did", "aid"),
foreign key("aid") references `author`("aid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_author table:
Empty DataFrame
Columns: [aid, did]
Index: []
CREATE TABLE "domain_conference" (
"cid" int,
"did" int,
primary key ("did", "cid"),
foreign key("cid") references `conference`("cid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_conference table:
Empty DataFrame
Columns: [cid, did]
Index: []
CREATE TABLE "journal" (
"homepage" text,
"jid" int,
"name" text,
primary key("jid")
)
3 rows from journal table:
Empty DataFrame
Columns: [homepage, jid, name]
Index: []
CREATE TABLE "domain_journal" (
"did" int,
"jid" int,
primary key ("did", "jid"),
foreign key("jid") references "journal"("jid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_journal table:
Empty DataFrame
Columns: [did, jid]
Index: []
CREATE TABLE "keyword" (
"keyword" text,
"kid" int,
primary key("kid")
)
3 rows from keyword table:
Empty DataFrame
Columns: [keyword, kid]
Index: []
CREATE TABLE "domain_keyword" (
"did" int,
"kid" int,
primary key ("did", "kid"),
foreign key("kid") references "keyword"("kid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_keyword table:
Empty DataFrame
Columns: [did, kid]
Index: []
CREATE TABLE "publication" (
"abstract" text,
"cid" text,
"citation_num" int,
"jid" int,
"pid" int,
"reference_num" int,
"title" text,
"year" int,
primary key("pid"),
foreign key("jid") references "journal"("jid"),
foreign key("cid") references "conference"("cid")
)
3 rows from publication table:
Empty DataFrame
Columns: [abstract, cid, citation_num, jid, pid, reference_num, title, year]
Index: []
CREATE TABLE "domain_publication" (
"did" int,
"pid" int,
primary key ("did", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_publication table:
Empty DataFrame
Columns: [did, pid]
Index: []
CREATE TABLE "organization" (
"continent" text,
"homepage" text,
"name" text,
"oid" int,
primary key("oid")
)
3 rows from organization table:
Empty DataFrame
Columns: [continent, homepage, name, oid]
Index: []
CREATE TABLE "publication_keyword" (
"pid" int,
"kid" int,
primary key ("kid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("kid") references "keyword"("kid")
)
3 rows from publication_keyword table:
Empty DataFrame
Columns: [pid, kid]
Index: []
CREATE TABLE "writes" (
"aid" int,
"pid" int,
primary key ("aid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("aid") references "author"("aid")
)
3 rows from writes table:
Empty DataFrame
Columns: [aid, pid]
Index: []
CREATE TABLE "cite" (
"cited" int,
"citing" int,
foreign key("cited") references "publication"("pid"),
foreign key("citing") references "publication"("pid")
)
3 rows from cite table:
Empty DataFrame
Columns: [cited, citing]
Index: []
|
academic | return me the keywords, which have been contained by more than 100 papers in VLDB conference . | 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; | CREATE TABLE "author" (
"aid" int,
"homepage" text,
"name" text,
"oid" int,
primary key("aid")
)
3 rows from author table:
Empty DataFrame
Columns: [aid, homepage, name, oid]
Index: []
CREATE TABLE "conference" (
"cid" int,
"homepage" text,
"name" text,
primary key ("cid")
)
3 rows from conference table:
Empty DataFrame
Columns: [cid, homepage, name]
Index: []
CREATE TABLE "domain" (
"did" int,
"name" text,
primary key ("did")
)
3 rows from domain table:
Empty DataFrame
Columns: [did, name]
Index: []
CREATE TABLE "domain_author" (
"aid" int,
"did" int,
primary key ("did", "aid"),
foreign key("aid") references `author`("aid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_author table:
Empty DataFrame
Columns: [aid, did]
Index: []
CREATE TABLE "domain_conference" (
"cid" int,
"did" int,
primary key ("did", "cid"),
foreign key("cid") references `conference`("cid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_conference table:
Empty DataFrame
Columns: [cid, did]
Index: []
CREATE TABLE "journal" (
"homepage" text,
"jid" int,
"name" text,
primary key("jid")
)
3 rows from journal table:
Empty DataFrame
Columns: [homepage, jid, name]
Index: []
CREATE TABLE "domain_journal" (
"did" int,
"jid" int,
primary key ("did", "jid"),
foreign key("jid") references "journal"("jid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_journal table:
Empty DataFrame
Columns: [did, jid]
Index: []
CREATE TABLE "keyword" (
"keyword" text,
"kid" int,
primary key("kid")
)
3 rows from keyword table:
Empty DataFrame
Columns: [keyword, kid]
Index: []
CREATE TABLE "domain_keyword" (
"did" int,
"kid" int,
primary key ("did", "kid"),
foreign key("kid") references "keyword"("kid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_keyword table:
Empty DataFrame
Columns: [did, kid]
Index: []
CREATE TABLE "publication" (
"abstract" text,
"cid" text,
"citation_num" int,
"jid" int,
"pid" int,
"reference_num" int,
"title" text,
"year" int,
primary key("pid"),
foreign key("jid") references "journal"("jid"),
foreign key("cid") references "conference"("cid")
)
3 rows from publication table:
Empty DataFrame
Columns: [abstract, cid, citation_num, jid, pid, reference_num, title, year]
Index: []
CREATE TABLE "domain_publication" (
"did" int,
"pid" int,
primary key ("did", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_publication table:
Empty DataFrame
Columns: [did, pid]
Index: []
CREATE TABLE "organization" (
"continent" text,
"homepage" text,
"name" text,
"oid" int,
primary key("oid")
)
3 rows from organization table:
Empty DataFrame
Columns: [continent, homepage, name, oid]
Index: []
CREATE TABLE "publication_keyword" (
"pid" int,
"kid" int,
primary key ("kid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("kid") references "keyword"("kid")
)
3 rows from publication_keyword table:
Empty DataFrame
Columns: [pid, kid]
Index: []
CREATE TABLE "writes" (
"aid" int,
"pid" int,
primary key ("aid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("aid") references "author"("aid")
)
3 rows from writes table:
Empty DataFrame
Columns: [aid, pid]
Index: []
CREATE TABLE "cite" (
"cited" int,
"citing" int,
foreign key("cited") references "publication"("pid"),
foreign key("citing") references "publication"("pid")
)
3 rows from cite table:
Empty DataFrame
Columns: [cited, citing]
Index: []
|
academic | return me the keywords, which have been contained by more than 100 papers in PVLDB . | 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; | CREATE TABLE "author" (
"aid" int,
"homepage" text,
"name" text,
"oid" int,
primary key("aid")
)
3 rows from author table:
Empty DataFrame
Columns: [aid, homepage, name, oid]
Index: []
CREATE TABLE "conference" (
"cid" int,
"homepage" text,
"name" text,
primary key ("cid")
)
3 rows from conference table:
Empty DataFrame
Columns: [cid, homepage, name]
Index: []
CREATE TABLE "domain" (
"did" int,
"name" text,
primary key ("did")
)
3 rows from domain table:
Empty DataFrame
Columns: [did, name]
Index: []
CREATE TABLE "domain_author" (
"aid" int,
"did" int,
primary key ("did", "aid"),
foreign key("aid") references `author`("aid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_author table:
Empty DataFrame
Columns: [aid, did]
Index: []
CREATE TABLE "domain_conference" (
"cid" int,
"did" int,
primary key ("did", "cid"),
foreign key("cid") references `conference`("cid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_conference table:
Empty DataFrame
Columns: [cid, did]
Index: []
CREATE TABLE "journal" (
"homepage" text,
"jid" int,
"name" text,
primary key("jid")
)
3 rows from journal table:
Empty DataFrame
Columns: [homepage, jid, name]
Index: []
CREATE TABLE "domain_journal" (
"did" int,
"jid" int,
primary key ("did", "jid"),
foreign key("jid") references "journal"("jid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_journal table:
Empty DataFrame
Columns: [did, jid]
Index: []
CREATE TABLE "keyword" (
"keyword" text,
"kid" int,
primary key("kid")
)
3 rows from keyword table:
Empty DataFrame
Columns: [keyword, kid]
Index: []
CREATE TABLE "domain_keyword" (
"did" int,
"kid" int,
primary key ("did", "kid"),
foreign key("kid") references "keyword"("kid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_keyword table:
Empty DataFrame
Columns: [did, kid]
Index: []
CREATE TABLE "publication" (
"abstract" text,
"cid" text,
"citation_num" int,
"jid" int,
"pid" int,
"reference_num" int,
"title" text,
"year" int,
primary key("pid"),
foreign key("jid") references "journal"("jid"),
foreign key("cid") references "conference"("cid")
)
3 rows from publication table:
Empty DataFrame
Columns: [abstract, cid, citation_num, jid, pid, reference_num, title, year]
Index: []
CREATE TABLE "domain_publication" (
"did" int,
"pid" int,
primary key ("did", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_publication table:
Empty DataFrame
Columns: [did, pid]
Index: []
CREATE TABLE "organization" (
"continent" text,
"homepage" text,
"name" text,
"oid" int,
primary key("oid")
)
3 rows from organization table:
Empty DataFrame
Columns: [continent, homepage, name, oid]
Index: []
CREATE TABLE "publication_keyword" (
"pid" int,
"kid" int,
primary key ("kid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("kid") references "keyword"("kid")
)
3 rows from publication_keyword table:
Empty DataFrame
Columns: [pid, kid]
Index: []
CREATE TABLE "writes" (
"aid" int,
"pid" int,
primary key ("aid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("aid") references "author"("aid")
)
3 rows from writes table:
Empty DataFrame
Columns: [aid, pid]
Index: []
CREATE TABLE "cite" (
"cited" int,
"citing" int,
foreign key("cited") references "publication"("pid"),
foreign key("citing") references "publication"("pid")
)
3 rows from cite table:
Empty DataFrame
Columns: [cited, citing]
Index: []
|
academic | return me the keywords, which have been contained by more than 10 papers of " H. V. Jagadish " . | 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; | CREATE TABLE "author" (
"aid" int,
"homepage" text,
"name" text,
"oid" int,
primary key("aid")
)
3 rows from author table:
Empty DataFrame
Columns: [aid, homepage, name, oid]
Index: []
CREATE TABLE "conference" (
"cid" int,
"homepage" text,
"name" text,
primary key ("cid")
)
3 rows from conference table:
Empty DataFrame
Columns: [cid, homepage, name]
Index: []
CREATE TABLE "domain" (
"did" int,
"name" text,
primary key ("did")
)
3 rows from domain table:
Empty DataFrame
Columns: [did, name]
Index: []
CREATE TABLE "domain_author" (
"aid" int,
"did" int,
primary key ("did", "aid"),
foreign key("aid") references `author`("aid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_author table:
Empty DataFrame
Columns: [aid, did]
Index: []
CREATE TABLE "domain_conference" (
"cid" int,
"did" int,
primary key ("did", "cid"),
foreign key("cid") references `conference`("cid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_conference table:
Empty DataFrame
Columns: [cid, did]
Index: []
CREATE TABLE "journal" (
"homepage" text,
"jid" int,
"name" text,
primary key("jid")
)
3 rows from journal table:
Empty DataFrame
Columns: [homepage, jid, name]
Index: []
CREATE TABLE "domain_journal" (
"did" int,
"jid" int,
primary key ("did", "jid"),
foreign key("jid") references "journal"("jid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_journal table:
Empty DataFrame
Columns: [did, jid]
Index: []
CREATE TABLE "keyword" (
"keyword" text,
"kid" int,
primary key("kid")
)
3 rows from keyword table:
Empty DataFrame
Columns: [keyword, kid]
Index: []
CREATE TABLE "domain_keyword" (
"did" int,
"kid" int,
primary key ("did", "kid"),
foreign key("kid") references "keyword"("kid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_keyword table:
Empty DataFrame
Columns: [did, kid]
Index: []
CREATE TABLE "publication" (
"abstract" text,
"cid" text,
"citation_num" int,
"jid" int,
"pid" int,
"reference_num" int,
"title" text,
"year" int,
primary key("pid"),
foreign key("jid") references "journal"("jid"),
foreign key("cid") references "conference"("cid")
)
3 rows from publication table:
Empty DataFrame
Columns: [abstract, cid, citation_num, jid, pid, reference_num, title, year]
Index: []
CREATE TABLE "domain_publication" (
"did" int,
"pid" int,
primary key ("did", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_publication table:
Empty DataFrame
Columns: [did, pid]
Index: []
CREATE TABLE "organization" (
"continent" text,
"homepage" text,
"name" text,
"oid" int,
primary key("oid")
)
3 rows from organization table:
Empty DataFrame
Columns: [continent, homepage, name, oid]
Index: []
CREATE TABLE "publication_keyword" (
"pid" int,
"kid" int,
primary key ("kid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("kid") references "keyword"("kid")
)
3 rows from publication_keyword table:
Empty DataFrame
Columns: [pid, kid]
Index: []
CREATE TABLE "writes" (
"aid" int,
"pid" int,
primary key ("aid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("aid") references "author"("aid")
)
3 rows from writes table:
Empty DataFrame
Columns: [aid, pid]
Index: []
CREATE TABLE "cite" (
"cited" int,
"citing" int,
foreign key("cited") references "publication"("pid"),
foreign key("citing") references "publication"("pid")
)
3 rows from cite table:
Empty DataFrame
Columns: [cited, citing]
Index: []
|
academic | return me the authors who have more than 10 papers in the VLDB conference . | 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; | CREATE TABLE "author" (
"aid" int,
"homepage" text,
"name" text,
"oid" int,
primary key("aid")
)
3 rows from author table:
Empty DataFrame
Columns: [aid, homepage, name, oid]
Index: []
CREATE TABLE "conference" (
"cid" int,
"homepage" text,
"name" text,
primary key ("cid")
)
3 rows from conference table:
Empty DataFrame
Columns: [cid, homepage, name]
Index: []
CREATE TABLE "domain" (
"did" int,
"name" text,
primary key ("did")
)
3 rows from domain table:
Empty DataFrame
Columns: [did, name]
Index: []
CREATE TABLE "domain_author" (
"aid" int,
"did" int,
primary key ("did", "aid"),
foreign key("aid") references `author`("aid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_author table:
Empty DataFrame
Columns: [aid, did]
Index: []
CREATE TABLE "domain_conference" (
"cid" int,
"did" int,
primary key ("did", "cid"),
foreign key("cid") references `conference`("cid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_conference table:
Empty DataFrame
Columns: [cid, did]
Index: []
CREATE TABLE "journal" (
"homepage" text,
"jid" int,
"name" text,
primary key("jid")
)
3 rows from journal table:
Empty DataFrame
Columns: [homepage, jid, name]
Index: []
CREATE TABLE "domain_journal" (
"did" int,
"jid" int,
primary key ("did", "jid"),
foreign key("jid") references "journal"("jid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_journal table:
Empty DataFrame
Columns: [did, jid]
Index: []
CREATE TABLE "keyword" (
"keyword" text,
"kid" int,
primary key("kid")
)
3 rows from keyword table:
Empty DataFrame
Columns: [keyword, kid]
Index: []
CREATE TABLE "domain_keyword" (
"did" int,
"kid" int,
primary key ("did", "kid"),
foreign key("kid") references "keyword"("kid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_keyword table:
Empty DataFrame
Columns: [did, kid]
Index: []
CREATE TABLE "publication" (
"abstract" text,
"cid" text,
"citation_num" int,
"jid" int,
"pid" int,
"reference_num" int,
"title" text,
"year" int,
primary key("pid"),
foreign key("jid") references "journal"("jid"),
foreign key("cid") references "conference"("cid")
)
3 rows from publication table:
Empty DataFrame
Columns: [abstract, cid, citation_num, jid, pid, reference_num, title, year]
Index: []
CREATE TABLE "domain_publication" (
"did" int,
"pid" int,
primary key ("did", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_publication table:
Empty DataFrame
Columns: [did, pid]
Index: []
CREATE TABLE "organization" (
"continent" text,
"homepage" text,
"name" text,
"oid" int,
primary key("oid")
)
3 rows from organization table:
Empty DataFrame
Columns: [continent, homepage, name, oid]
Index: []
CREATE TABLE "publication_keyword" (
"pid" int,
"kid" int,
primary key ("kid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("kid") references "keyword"("kid")
)
3 rows from publication_keyword table:
Empty DataFrame
Columns: [pid, kid]
Index: []
CREATE TABLE "writes" (
"aid" int,
"pid" int,
primary key ("aid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("aid") references "author"("aid")
)
3 rows from writes table:
Empty DataFrame
Columns: [aid, pid]
Index: []
CREATE TABLE "cite" (
"cited" int,
"citing" int,
foreign key("cited") references "publication"("pid"),
foreign key("citing") references "publication"("pid")
)
3 rows from cite table:
Empty DataFrame
Columns: [cited, citing]
Index: []
|
academic | return me the author who has the most number of papers in the VLDB conference . | 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; | CREATE TABLE "author" (
"aid" int,
"homepage" text,
"name" text,
"oid" int,
primary key("aid")
)
3 rows from author table:
Empty DataFrame
Columns: [aid, homepage, name, oid]
Index: []
CREATE TABLE "conference" (
"cid" int,
"homepage" text,
"name" text,
primary key ("cid")
)
3 rows from conference table:
Empty DataFrame
Columns: [cid, homepage, name]
Index: []
CREATE TABLE "domain" (
"did" int,
"name" text,
primary key ("did")
)
3 rows from domain table:
Empty DataFrame
Columns: [did, name]
Index: []
CREATE TABLE "domain_author" (
"aid" int,
"did" int,
primary key ("did", "aid"),
foreign key("aid") references `author`("aid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_author table:
Empty DataFrame
Columns: [aid, did]
Index: []
CREATE TABLE "domain_conference" (
"cid" int,
"did" int,
primary key ("did", "cid"),
foreign key("cid") references `conference`("cid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_conference table:
Empty DataFrame
Columns: [cid, did]
Index: []
CREATE TABLE "journal" (
"homepage" text,
"jid" int,
"name" text,
primary key("jid")
)
3 rows from journal table:
Empty DataFrame
Columns: [homepage, jid, name]
Index: []
CREATE TABLE "domain_journal" (
"did" int,
"jid" int,
primary key ("did", "jid"),
foreign key("jid") references "journal"("jid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_journal table:
Empty DataFrame
Columns: [did, jid]
Index: []
CREATE TABLE "keyword" (
"keyword" text,
"kid" int,
primary key("kid")
)
3 rows from keyword table:
Empty DataFrame
Columns: [keyword, kid]
Index: []
CREATE TABLE "domain_keyword" (
"did" int,
"kid" int,
primary key ("did", "kid"),
foreign key("kid") references "keyword"("kid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_keyword table:
Empty DataFrame
Columns: [did, kid]
Index: []
CREATE TABLE "publication" (
"abstract" text,
"cid" text,
"citation_num" int,
"jid" int,
"pid" int,
"reference_num" int,
"title" text,
"year" int,
primary key("pid"),
foreign key("jid") references "journal"("jid"),
foreign key("cid") references "conference"("cid")
)
3 rows from publication table:
Empty DataFrame
Columns: [abstract, cid, citation_num, jid, pid, reference_num, title, year]
Index: []
CREATE TABLE "domain_publication" (
"did" int,
"pid" int,
primary key ("did", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_publication table:
Empty DataFrame
Columns: [did, pid]
Index: []
CREATE TABLE "organization" (
"continent" text,
"homepage" text,
"name" text,
"oid" int,
primary key("oid")
)
3 rows from organization table:
Empty DataFrame
Columns: [continent, homepage, name, oid]
Index: []
CREATE TABLE "publication_keyword" (
"pid" int,
"kid" int,
primary key ("kid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("kid") references "keyword"("kid")
)
3 rows from publication_keyword table:
Empty DataFrame
Columns: [pid, kid]
Index: []
CREATE TABLE "writes" (
"aid" int,
"pid" int,
primary key ("aid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("aid") references "author"("aid")
)
3 rows from writes table:
Empty DataFrame
Columns: [aid, pid]
Index: []
CREATE TABLE "cite" (
"cited" int,
"citing" int,
foreign key("cited") references "publication"("pid"),
foreign key("citing") references "publication"("pid")
)
3 rows from cite table:
Empty DataFrame
Columns: [cited, citing]
Index: []
|
academic | return me the author in the " University of Michigan " whose papers have more than 5000 total citations . | 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; | CREATE TABLE "author" (
"aid" int,
"homepage" text,
"name" text,
"oid" int,
primary key("aid")
)
3 rows from author table:
Empty DataFrame
Columns: [aid, homepage, name, oid]
Index: []
CREATE TABLE "conference" (
"cid" int,
"homepage" text,
"name" text,
primary key ("cid")
)
3 rows from conference table:
Empty DataFrame
Columns: [cid, homepage, name]
Index: []
CREATE TABLE "domain" (
"did" int,
"name" text,
primary key ("did")
)
3 rows from domain table:
Empty DataFrame
Columns: [did, name]
Index: []
CREATE TABLE "domain_author" (
"aid" int,
"did" int,
primary key ("did", "aid"),
foreign key("aid") references `author`("aid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_author table:
Empty DataFrame
Columns: [aid, did]
Index: []
CREATE TABLE "domain_conference" (
"cid" int,
"did" int,
primary key ("did", "cid"),
foreign key("cid") references `conference`("cid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_conference table:
Empty DataFrame
Columns: [cid, did]
Index: []
CREATE TABLE "journal" (
"homepage" text,
"jid" int,
"name" text,
primary key("jid")
)
3 rows from journal table:
Empty DataFrame
Columns: [homepage, jid, name]
Index: []
CREATE TABLE "domain_journal" (
"did" int,
"jid" int,
primary key ("did", "jid"),
foreign key("jid") references "journal"("jid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_journal table:
Empty DataFrame
Columns: [did, jid]
Index: []
CREATE TABLE "keyword" (
"keyword" text,
"kid" int,
primary key("kid")
)
3 rows from keyword table:
Empty DataFrame
Columns: [keyword, kid]
Index: []
CREATE TABLE "domain_keyword" (
"did" int,
"kid" int,
primary key ("did", "kid"),
foreign key("kid") references "keyword"("kid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_keyword table:
Empty DataFrame
Columns: [did, kid]
Index: []
CREATE TABLE "publication" (
"abstract" text,
"cid" text,
"citation_num" int,
"jid" int,
"pid" int,
"reference_num" int,
"title" text,
"year" int,
primary key("pid"),
foreign key("jid") references "journal"("jid"),
foreign key("cid") references "conference"("cid")
)
3 rows from publication table:
Empty DataFrame
Columns: [abstract, cid, citation_num, jid, pid, reference_num, title, year]
Index: []
CREATE TABLE "domain_publication" (
"did" int,
"pid" int,
primary key ("did", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_publication table:
Empty DataFrame
Columns: [did, pid]
Index: []
CREATE TABLE "organization" (
"continent" text,
"homepage" text,
"name" text,
"oid" int,
primary key("oid")
)
3 rows from organization table:
Empty DataFrame
Columns: [continent, homepage, name, oid]
Index: []
CREATE TABLE "publication_keyword" (
"pid" int,
"kid" int,
primary key ("kid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("kid") references "keyword"("kid")
)
3 rows from publication_keyword table:
Empty DataFrame
Columns: [pid, kid]
Index: []
CREATE TABLE "writes" (
"aid" int,
"pid" int,
primary key ("aid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("aid") references "author"("aid")
)
3 rows from writes table:
Empty DataFrame
Columns: [aid, pid]
Index: []
CREATE TABLE "cite" (
"cited" int,
"citing" int,
foreign key("cited") references "publication"("pid"),
foreign key("citing") references "publication"("pid")
)
3 rows from cite table:
Empty DataFrame
Columns: [cited, citing]
Index: []
|
academic | return me the author in the " University of Michigan " in Databases area whose papers have more than 5000 total citations . | 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; | CREATE TABLE "author" (
"aid" int,
"homepage" text,
"name" text,
"oid" int,
primary key("aid")
)
3 rows from author table:
Empty DataFrame
Columns: [aid, homepage, name, oid]
Index: []
CREATE TABLE "conference" (
"cid" int,
"homepage" text,
"name" text,
primary key ("cid")
)
3 rows from conference table:
Empty DataFrame
Columns: [cid, homepage, name]
Index: []
CREATE TABLE "domain" (
"did" int,
"name" text,
primary key ("did")
)
3 rows from domain table:
Empty DataFrame
Columns: [did, name]
Index: []
CREATE TABLE "domain_author" (
"aid" int,
"did" int,
primary key ("did", "aid"),
foreign key("aid") references `author`("aid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_author table:
Empty DataFrame
Columns: [aid, did]
Index: []
CREATE TABLE "domain_conference" (
"cid" int,
"did" int,
primary key ("did", "cid"),
foreign key("cid") references `conference`("cid"),
foreign key("did") references `domain`("did")
)
3 rows from domain_conference table:
Empty DataFrame
Columns: [cid, did]
Index: []
CREATE TABLE "journal" (
"homepage" text,
"jid" int,
"name" text,
primary key("jid")
)
3 rows from journal table:
Empty DataFrame
Columns: [homepage, jid, name]
Index: []
CREATE TABLE "domain_journal" (
"did" int,
"jid" int,
primary key ("did", "jid"),
foreign key("jid") references "journal"("jid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_journal table:
Empty DataFrame
Columns: [did, jid]
Index: []
CREATE TABLE "keyword" (
"keyword" text,
"kid" int,
primary key("kid")
)
3 rows from keyword table:
Empty DataFrame
Columns: [keyword, kid]
Index: []
CREATE TABLE "domain_keyword" (
"did" int,
"kid" int,
primary key ("did", "kid"),
foreign key("kid") references "keyword"("kid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_keyword table:
Empty DataFrame
Columns: [did, kid]
Index: []
CREATE TABLE "publication" (
"abstract" text,
"cid" text,
"citation_num" int,
"jid" int,
"pid" int,
"reference_num" int,
"title" text,
"year" int,
primary key("pid"),
foreign key("jid") references "journal"("jid"),
foreign key("cid") references "conference"("cid")
)
3 rows from publication table:
Empty DataFrame
Columns: [abstract, cid, citation_num, jid, pid, reference_num, title, year]
Index: []
CREATE TABLE "domain_publication" (
"did" int,
"pid" int,
primary key ("did", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("did") references "domain"("did")
)
3 rows from domain_publication table:
Empty DataFrame
Columns: [did, pid]
Index: []
CREATE TABLE "organization" (
"continent" text,
"homepage" text,
"name" text,
"oid" int,
primary key("oid")
)
3 rows from organization table:
Empty DataFrame
Columns: [continent, homepage, name, oid]
Index: []
CREATE TABLE "publication_keyword" (
"pid" int,
"kid" int,
primary key ("kid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("kid") references "keyword"("kid")
)
3 rows from publication_keyword table:
Empty DataFrame
Columns: [pid, kid]
Index: []
CREATE TABLE "writes" (
"aid" int,
"pid" int,
primary key ("aid", "pid"),
foreign key("pid") references "publication"("pid"),
foreign key("aid") references "author"("aid")
)
3 rows from writes table:
Empty DataFrame
Columns: [aid, pid]
Index: []
CREATE TABLE "cite" (
"cited" int,
"citing" int,
foreign key("cited") references "publication"("pid"),
foreign key("citing") references "publication"("pid")
)
3 rows from cite table:
Empty DataFrame
Columns: [cited, citing]
Index: []
|
imdb | What year is the movie " The Imitation Game " from ? | SELECT release_year FROM movie WHERE title = "The Imitation Game"; | CREATE TABLE "actor" (
"aid" int,
"gender" text,
"name" text,
"nationality" text,
"birth_city" text,
"birth_year" int,
primary key("aid")
)
3 rows from actor table:
Empty DataFrame
Columns: [aid, gender, name, nationality, birth_city, birth_year]
Index: []
CREATE TABLE "copyright" (
"id" int,
"msid" int,
"cid" int,
primary key("id")
)
3 rows from copyright table:
Empty DataFrame
Columns: [id, msid, cid]
Index: []
CREATE TABLE "cast" (
"id" int,
"msid" int,
"aid" int,
"role" int,
primary key("id"),
foreign key("aid") references `actor`("aid"),
foreign key("msid") references `copyright`("msid")
)
3 rows from cast table:
Empty DataFrame
Columns: [id, msid, aid, role]
Index: []
CREATE TABLE "genre" (
"gid" int,
"genre" text,
primary key("gid")
)
3 rows from genre table:
Empty DataFrame
Columns: [gid, genre]
Index: []
CREATE TABLE "classification" (
"id" int,
"msid" int,
"gid" int,
primary key("id"),
foreign key("gid") references `genre`("gid"),
foreign key("msid") references `copyright`("msid")
)
3 rows from classification table:
Empty DataFrame
Columns: [id, msid, gid]
Index: []
CREATE TABLE "company" (
"id" int,
"name" text,
"country_code" text,
primary key("id")
)
3 rows from company table:
Empty DataFrame
Columns: [id, name, country_code]
Index: []
CREATE TABLE "director" (
"did" int,
"gender" text,
"name" text,
"nationality" text,
"birth_city" text,
"birth_year" int,
primary key("did")
)
3 rows from director table:
Empty DataFrame
Columns: [did, gender, name, nationality, birth_city, birth_year]
Index: []
CREATE TABLE "producer" (
"pid" int,
"gender" text,
"name" text,
"nationality" text,
"birth_city" text,
"birth_year" int,
primary key("pid")
)
3 rows from producer table:
Empty DataFrame
Columns: [pid, gender, name, nationality, birth_city, birth_year]
Index: []
CREATE TABLE "directed_by" (
"id" int,
"msid" int,
"did" int,
primary key("id"),
foreign key("msid") references `copyright`("msid"),
foreign key("did") references `director`("did")
)
3 rows from directed_by table:
Empty DataFrame
Columns: [id, msid, did]
Index: []
CREATE TABLE "keyword" (
"id" int,
"keyword" text,
primary key("id")
)
3 rows from keyword table:
Empty DataFrame
Columns: [id, keyword]
Index: []
CREATE TABLE "made_by" (
"id" int,
"msid" int,
"pid" int,
primary key("id"),
foreign key("msid") references `copyright`("msid"),
foreign key("pid") references `producer`("pid")
)
3 rows from made_by table:
Empty DataFrame
Columns: [id, msid, pid]
Index: []
CREATE TABLE "movie" (
"mid" int,
"title" text,
"release_year" int,
"title_aka" text,
"budget" text,
primary key("mid")
)
3 rows from movie table:
Empty DataFrame
Columns: [mid, title, release_year, title_aka, budget]
Index: []
CREATE TABLE "tags" (
"id" int,
"msid" int,
"kid" int,
primary key("id"),
foreign key("msid") references `copyright`("msid"),
foreign key("kid") references `keyword`("kid")
)
3 rows from tags table:
Empty DataFrame
Columns: [id, msid, kid]
Index: []
CREATE TABLE "tv_series" (
"sid" int,
"title" text,
"release_year" int,
"num_of_seasons" int,
"num_of_episodes" int,
"title_aka" text,
"budget" text,
primary key("sid")
)
3 rows from tv_series table:
Empty DataFrame
Columns: [sid, title, release_year, num_of_seasons, num_of_episodes, title_aka, budget]
Index: []
CREATE TABLE "writer" (
"wid" int,
"gender" text,
"name" int,
"nationality" int,
"num_of_episodes" int,
"birth_city" text,
"birth_year" int,
primary key("wid")
)
3 rows from writer table:
Empty DataFrame
Columns: [wid, gender, name, nationality, num_of_episodes, birth_city, birth_year]
Index: []
CREATE TABLE "written_by" (
"id" int,
"msid" int,
"wid" int,
foreign key("msid") references `copyright`("msid"),
foreign key("wid") references `writer`("wid")
)
3 rows from written_by table:
Empty DataFrame
Columns: [id, msid, wid]
Index: []
|
imdb | What year was the movie " The Imitation Game " produced | SELECT release_year FROM movie WHERE title = "The Imitation Game"; | CREATE TABLE "actor" (
"aid" int,
"gender" text,
"name" text,
"nationality" text,
"birth_city" text,
"birth_year" int,
primary key("aid")
)
3 rows from actor table:
Empty DataFrame
Columns: [aid, gender, name, nationality, birth_city, birth_year]
Index: []
CREATE TABLE "copyright" (
"id" int,
"msid" int,
"cid" int,
primary key("id")
)
3 rows from copyright table:
Empty DataFrame
Columns: [id, msid, cid]
Index: []
CREATE TABLE "cast" (
"id" int,
"msid" int,
"aid" int,
"role" int,
primary key("id"),
foreign key("aid") references `actor`("aid"),
foreign key("msid") references `copyright`("msid")
)
3 rows from cast table:
Empty DataFrame
Columns: [id, msid, aid, role]
Index: []
CREATE TABLE "genre" (
"gid" int,
"genre" text,
primary key("gid")
)
3 rows from genre table:
Empty DataFrame
Columns: [gid, genre]
Index: []
CREATE TABLE "classification" (
"id" int,
"msid" int,
"gid" int,
primary key("id"),
foreign key("gid") references `genre`("gid"),
foreign key("msid") references `copyright`("msid")
)
3 rows from classification table:
Empty DataFrame
Columns: [id, msid, gid]
Index: []
CREATE TABLE "company" (
"id" int,
"name" text,
"country_code" text,
primary key("id")
)
3 rows from company table:
Empty DataFrame
Columns: [id, name, country_code]
Index: []
CREATE TABLE "director" (
"did" int,
"gender" text,
"name" text,
"nationality" text,
"birth_city" text,
"birth_year" int,
primary key("did")
)
3 rows from director table:
Empty DataFrame
Columns: [did, gender, name, nationality, birth_city, birth_year]
Index: []
CREATE TABLE "producer" (
"pid" int,
"gender" text,
"name" text,
"nationality" text,
"birth_city" text,
"birth_year" int,
primary key("pid")
)
3 rows from producer table:
Empty DataFrame
Columns: [pid, gender, name, nationality, birth_city, birth_year]
Index: []
CREATE TABLE "directed_by" (
"id" int,
"msid" int,
"did" int,
primary key("id"),
foreign key("msid") references `copyright`("msid"),
foreign key("did") references `director`("did")
)
3 rows from directed_by table:
Empty DataFrame
Columns: [id, msid, did]
Index: []
CREATE TABLE "keyword" (
"id" int,
"keyword" text,
primary key("id")
)
3 rows from keyword table:
Empty DataFrame
Columns: [id, keyword]
Index: []
CREATE TABLE "made_by" (
"id" int,
"msid" int,
"pid" int,
primary key("id"),
foreign key("msid") references `copyright`("msid"),
foreign key("pid") references `producer`("pid")
)
3 rows from made_by table:
Empty DataFrame
Columns: [id, msid, pid]
Index: []
CREATE TABLE "movie" (
"mid" int,
"title" text,
"release_year" int,
"title_aka" text,
"budget" text,
primary key("mid")
)
3 rows from movie table:
Empty DataFrame
Columns: [mid, title, release_year, title_aka, budget]
Index: []
CREATE TABLE "tags" (
"id" int,
"msid" int,
"kid" int,
primary key("id"),
foreign key("msid") references `copyright`("msid"),
foreign key("kid") references `keyword`("kid")
)
3 rows from tags table:
Empty DataFrame
Columns: [id, msid, kid]
Index: []
CREATE TABLE "tv_series" (
"sid" int,
"title" text,
"release_year" int,
"num_of_seasons" int,
"num_of_episodes" int,
"title_aka" text,
"budget" text,
primary key("sid")
)
3 rows from tv_series table:
Empty DataFrame
Columns: [sid, title, release_year, num_of_seasons, num_of_episodes, title_aka, budget]
Index: []
CREATE TABLE "writer" (
"wid" int,
"gender" text,
"name" int,
"nationality" int,
"num_of_episodes" int,
"birth_city" text,
"birth_year" int,
primary key("wid")
)
3 rows from writer table:
Empty DataFrame
Columns: [wid, gender, name, nationality, num_of_episodes, birth_city, birth_year]
Index: []
CREATE TABLE "written_by" (
"id" int,
"msid" int,
"wid" int,
foreign key("msid") references `copyright`("msid"),
foreign key("wid") references `writer`("wid")
)
3 rows from written_by table:
Empty DataFrame
Columns: [id, msid, wid]
Index: []
|
imdb | What year was " Benedict Cumberbatch " born ? | SELECT birth_year FROM actor WHERE name = "Benedict Cumberbatch"; | CREATE TABLE "actor" (
"aid" int,
"gender" text,
"name" text,
"nationality" text,
"birth_city" text,
"birth_year" int,
primary key("aid")
)
3 rows from actor table:
Empty DataFrame
Columns: [aid, gender, name, nationality, birth_city, birth_year]
Index: []
CREATE TABLE "copyright" (
"id" int,
"msid" int,
"cid" int,
primary key("id")
)
3 rows from copyright table:
Empty DataFrame
Columns: [id, msid, cid]
Index: []
CREATE TABLE "cast" (
"id" int,
"msid" int,
"aid" int,
"role" int,
primary key("id"),
foreign key("aid") references `actor`("aid"),
foreign key("msid") references `copyright`("msid")
)
3 rows from cast table:
Empty DataFrame
Columns: [id, msid, aid, role]
Index: []
CREATE TABLE "genre" (
"gid" int,
"genre" text,
primary key("gid")
)
3 rows from genre table:
Empty DataFrame
Columns: [gid, genre]
Index: []
CREATE TABLE "classification" (
"id" int,
"msid" int,
"gid" int,
primary key("id"),
foreign key("gid") references `genre`("gid"),
foreign key("msid") references `copyright`("msid")
)
3 rows from classification table:
Empty DataFrame
Columns: [id, msid, gid]
Index: []
CREATE TABLE "company" (
"id" int,
"name" text,
"country_code" text,
primary key("id")
)
3 rows from company table:
Empty DataFrame
Columns: [id, name, country_code]
Index: []
CREATE TABLE "director" (
"did" int,
"gender" text,
"name" text,
"nationality" text,
"birth_city" text,
"birth_year" int,
primary key("did")
)
3 rows from director table:
Empty DataFrame
Columns: [did, gender, name, nationality, birth_city, birth_year]
Index: []
CREATE TABLE "producer" (
"pid" int,
"gender" text,
"name" text,
"nationality" text,
"birth_city" text,
"birth_year" int,
primary key("pid")
)
3 rows from producer table:
Empty DataFrame
Columns: [pid, gender, name, nationality, birth_city, birth_year]
Index: []
CREATE TABLE "directed_by" (
"id" int,
"msid" int,
"did" int,
primary key("id"),
foreign key("msid") references `copyright`("msid"),
foreign key("did") references `director`("did")
)
3 rows from directed_by table:
Empty DataFrame
Columns: [id, msid, did]
Index: []
CREATE TABLE "keyword" (
"id" int,
"keyword" text,
primary key("id")
)
3 rows from keyword table:
Empty DataFrame
Columns: [id, keyword]
Index: []
CREATE TABLE "made_by" (
"id" int,
"msid" int,
"pid" int,
primary key("id"),
foreign key("msid") references `copyright`("msid"),
foreign key("pid") references `producer`("pid")
)
3 rows from made_by table:
Empty DataFrame
Columns: [id, msid, pid]
Index: []
CREATE TABLE "movie" (
"mid" int,
"title" text,
"release_year" int,
"title_aka" text,
"budget" text,
primary key("mid")
)
3 rows from movie table:
Empty DataFrame
Columns: [mid, title, release_year, title_aka, budget]
Index: []
CREATE TABLE "tags" (
"id" int,
"msid" int,
"kid" int,
primary key("id"),
foreign key("msid") references `copyright`("msid"),
foreign key("kid") references `keyword`("kid")
)
3 rows from tags table:
Empty DataFrame
Columns: [id, msid, kid]
Index: []
CREATE TABLE "tv_series" (
"sid" int,
"title" text,
"release_year" int,
"num_of_seasons" int,
"num_of_episodes" int,
"title_aka" text,
"budget" text,
primary key("sid")
)
3 rows from tv_series table:
Empty DataFrame
Columns: [sid, title, release_year, num_of_seasons, num_of_episodes, title_aka, budget]
Index: []
CREATE TABLE "writer" (
"wid" int,
"gender" text,
"name" int,
"nationality" int,
"num_of_episodes" int,
"birth_city" text,
"birth_year" int,
primary key("wid")
)
3 rows from writer table:
Empty DataFrame
Columns: [wid, gender, name, nationality, num_of_episodes, birth_city, birth_year]
Index: []
CREATE TABLE "written_by" (
"id" int,
"msid" int,
"wid" int,
foreign key("msid") references `copyright`("msid"),
foreign key("wid") references `writer`("wid")
)
3 rows from written_by table:
Empty DataFrame
Columns: [id, msid, wid]
Index: []
|
imdb | In what year was " Benedict Cumberbatch " born | SELECT birth_year FROM actor WHERE name = "Benedict Cumberbatch"; | CREATE TABLE "actor" (
"aid" int,
"gender" text,
"name" text,
"nationality" text,
"birth_city" text,
"birth_year" int,
primary key("aid")
)
3 rows from actor table:
Empty DataFrame
Columns: [aid, gender, name, nationality, birth_city, birth_year]
Index: []
CREATE TABLE "copyright" (
"id" int,
"msid" int,
"cid" int,
primary key("id")
)
3 rows from copyright table:
Empty DataFrame
Columns: [id, msid, cid]
Index: []
CREATE TABLE "cast" (
"id" int,
"msid" int,
"aid" int,
"role" int,
primary key("id"),
foreign key("aid") references `actor`("aid"),
foreign key("msid") references `copyright`("msid")
)
3 rows from cast table:
Empty DataFrame
Columns: [id, msid, aid, role]
Index: []
CREATE TABLE "genre" (
"gid" int,
"genre" text,
primary key("gid")
)
3 rows from genre table:
Empty DataFrame
Columns: [gid, genre]
Index: []
CREATE TABLE "classification" (
"id" int,
"msid" int,
"gid" int,
primary key("id"),
foreign key("gid") references `genre`("gid"),
foreign key("msid") references `copyright`("msid")
)
3 rows from classification table:
Empty DataFrame
Columns: [id, msid, gid]
Index: []
CREATE TABLE "company" (
"id" int,
"name" text,
"country_code" text,
primary key("id")
)
3 rows from company table:
Empty DataFrame
Columns: [id, name, country_code]
Index: []
CREATE TABLE "director" (
"did" int,
"gender" text,
"name" text,
"nationality" text,
"birth_city" text,
"birth_year" int,
primary key("did")
)
3 rows from director table:
Empty DataFrame
Columns: [did, gender, name, nationality, birth_city, birth_year]
Index: []
CREATE TABLE "producer" (
"pid" int,
"gender" text,
"name" text,
"nationality" text,
"birth_city" text,
"birth_year" int,
primary key("pid")
)
3 rows from producer table:
Empty DataFrame
Columns: [pid, gender, name, nationality, birth_city, birth_year]
Index: []
CREATE TABLE "directed_by" (
"id" int,
"msid" int,
"did" int,
primary key("id"),
foreign key("msid") references `copyright`("msid"),
foreign key("did") references `director`("did")
)
3 rows from directed_by table:
Empty DataFrame
Columns: [id, msid, did]
Index: []
CREATE TABLE "keyword" (
"id" int,
"keyword" text,
primary key("id")
)
3 rows from keyword table:
Empty DataFrame
Columns: [id, keyword]
Index: []
CREATE TABLE "made_by" (
"id" int,
"msid" int,
"pid" int,
primary key("id"),
foreign key("msid") references `copyright`("msid"),
foreign key("pid") references `producer`("pid")
)
3 rows from made_by table:
Empty DataFrame
Columns: [id, msid, pid]
Index: []
CREATE TABLE "movie" (
"mid" int,
"title" text,
"release_year" int,
"title_aka" text,
"budget" text,
primary key("mid")
)
3 rows from movie table:
Empty DataFrame
Columns: [mid, title, release_year, title_aka, budget]
Index: []
CREATE TABLE "tags" (
"id" int,
"msid" int,
"kid" int,
primary key("id"),
foreign key("msid") references `copyright`("msid"),
foreign key("kid") references `keyword`("kid")
)
3 rows from tags table:
Empty DataFrame
Columns: [id, msid, kid]
Index: []
CREATE TABLE "tv_series" (
"sid" int,
"title" text,
"release_year" int,
"num_of_seasons" int,
"num_of_episodes" int,
"title_aka" text,
"budget" text,
primary key("sid")
)
3 rows from tv_series table:
Empty DataFrame
Columns: [sid, title, release_year, num_of_seasons, num_of_episodes, title_aka, budget]
Index: []
CREATE TABLE "writer" (
"wid" int,
"gender" text,
"name" int,
"nationality" int,
"num_of_episodes" int,
"birth_city" text,
"birth_year" int,
primary key("wid")
)
3 rows from writer table:
Empty DataFrame
Columns: [wid, gender, name, nationality, num_of_episodes, birth_city, birth_year]
Index: []
CREATE TABLE "written_by" (
"id" int,
"msid" int,
"wid" int,
foreign key("msid") references `copyright`("msid"),
foreign key("wid") references `writer`("wid")
)
3 rows from written_by table:
Empty DataFrame
Columns: [id, msid, wid]
Index: []
|
imdb | What is the nationality of the actress " Christoph Waltz " ? | SELECT nationality FROM actor WHERE name = "Christoph Waltz"; | CREATE TABLE "actor" (
"aid" int,
"gender" text,
"name" text,
"nationality" text,
"birth_city" text,
"birth_year" int,
primary key("aid")
)
3 rows from actor table:
Empty DataFrame
Columns: [aid, gender, name, nationality, birth_city, birth_year]
Index: []
CREATE TABLE "copyright" (
"id" int,
"msid" int,
"cid" int,
primary key("id")
)
3 rows from copyright table:
Empty DataFrame
Columns: [id, msid, cid]
Index: []
CREATE TABLE "cast" (
"id" int,
"msid" int,
"aid" int,
"role" int,
primary key("id"),
foreign key("aid") references `actor`("aid"),
foreign key("msid") references `copyright`("msid")
)
3 rows from cast table:
Empty DataFrame
Columns: [id, msid, aid, role]
Index: []
CREATE TABLE "genre" (
"gid" int,
"genre" text,
primary key("gid")
)
3 rows from genre table:
Empty DataFrame
Columns: [gid, genre]
Index: []
CREATE TABLE "classification" (
"id" int,
"msid" int,
"gid" int,
primary key("id"),
foreign key("gid") references `genre`("gid"),
foreign key("msid") references `copyright`("msid")
)
3 rows from classification table:
Empty DataFrame
Columns: [id, msid, gid]
Index: []
CREATE TABLE "company" (
"id" int,
"name" text,
"country_code" text,
primary key("id")
)
3 rows from company table:
Empty DataFrame
Columns: [id, name, country_code]
Index: []
CREATE TABLE "director" (
"did" int,
"gender" text,
"name" text,
"nationality" text,
"birth_city" text,
"birth_year" int,
primary key("did")
)
3 rows from director table:
Empty DataFrame
Columns: [did, gender, name, nationality, birth_city, birth_year]
Index: []
CREATE TABLE "producer" (
"pid" int,
"gender" text,
"name" text,
"nationality" text,
"birth_city" text,
"birth_year" int,
primary key("pid")
)
3 rows from producer table:
Empty DataFrame
Columns: [pid, gender, name, nationality, birth_city, birth_year]
Index: []
CREATE TABLE "directed_by" (
"id" int,
"msid" int,
"did" int,
primary key("id"),
foreign key("msid") references `copyright`("msid"),
foreign key("did") references `director`("did")
)
3 rows from directed_by table:
Empty DataFrame
Columns: [id, msid, did]
Index: []
CREATE TABLE "keyword" (
"id" int,
"keyword" text,
primary key("id")
)
3 rows from keyword table:
Empty DataFrame
Columns: [id, keyword]
Index: []
CREATE TABLE "made_by" (
"id" int,
"msid" int,
"pid" int,
primary key("id"),
foreign key("msid") references `copyright`("msid"),
foreign key("pid") references `producer`("pid")
)
3 rows from made_by table:
Empty DataFrame
Columns: [id, msid, pid]
Index: []
CREATE TABLE "movie" (
"mid" int,
"title" text,
"release_year" int,
"title_aka" text,
"budget" text,
primary key("mid")
)
3 rows from movie table:
Empty DataFrame
Columns: [mid, title, release_year, title_aka, budget]
Index: []
CREATE TABLE "tags" (
"id" int,
"msid" int,
"kid" int,
primary key("id"),
foreign key("msid") references `copyright`("msid"),
foreign key("kid") references `keyword`("kid")
)
3 rows from tags table:
Empty DataFrame
Columns: [id, msid, kid]
Index: []
CREATE TABLE "tv_series" (
"sid" int,
"title" text,
"release_year" int,
"num_of_seasons" int,
"num_of_episodes" int,
"title_aka" text,
"budget" text,
primary key("sid")
)
3 rows from tv_series table:
Empty DataFrame
Columns: [sid, title, release_year, num_of_seasons, num_of_episodes, title_aka, budget]
Index: []
CREATE TABLE "writer" (
"wid" int,
"gender" text,
"name" int,
"nationality" int,
"num_of_episodes" int,
"birth_city" text,
"birth_year" int,
primary key("wid")
)
3 rows from writer table:
Empty DataFrame
Columns: [wid, gender, name, nationality, num_of_episodes, birth_city, birth_year]
Index: []
CREATE TABLE "written_by" (
"id" int,
"msid" int,
"wid" int,
foreign key("msid") references `copyright`("msid"),
foreign key("wid") references `writer`("wid")
)
3 rows from written_by table:
Empty DataFrame
Columns: [id, msid, wid]
Index: []
|
imdb | What is the nationality of the actor " Christoph Waltz " ? | SELECT nationality FROM actor WHERE name = "Christoph Waltz"; | CREATE TABLE "actor" (
"aid" int,
"gender" text,
"name" text,
"nationality" text,
"birth_city" text,
"birth_year" int,
primary key("aid")
)
3 rows from actor table:
Empty DataFrame
Columns: [aid, gender, name, nationality, birth_city, birth_year]
Index: []
CREATE TABLE "copyright" (
"id" int,
"msid" int,
"cid" int,
primary key("id")
)
3 rows from copyright table:
Empty DataFrame
Columns: [id, msid, cid]
Index: []
CREATE TABLE "cast" (
"id" int,
"msid" int,
"aid" int,
"role" int,
primary key("id"),
foreign key("aid") references `actor`("aid"),
foreign key("msid") references `copyright`("msid")
)
3 rows from cast table:
Empty DataFrame
Columns: [id, msid, aid, role]
Index: []
CREATE TABLE "genre" (
"gid" int,
"genre" text,
primary key("gid")
)
3 rows from genre table:
Empty DataFrame
Columns: [gid, genre]
Index: []
CREATE TABLE "classification" (
"id" int,
"msid" int,
"gid" int,
primary key("id"),
foreign key("gid") references `genre`("gid"),
foreign key("msid") references `copyright`("msid")
)
3 rows from classification table:
Empty DataFrame
Columns: [id, msid, gid]
Index: []
CREATE TABLE "company" (
"id" int,
"name" text,
"country_code" text,
primary key("id")
)
3 rows from company table:
Empty DataFrame
Columns: [id, name, country_code]
Index: []
CREATE TABLE "director" (
"did" int,
"gender" text,
"name" text,
"nationality" text,
"birth_city" text,
"birth_year" int,
primary key("did")
)
3 rows from director table:
Empty DataFrame
Columns: [did, gender, name, nationality, birth_city, birth_year]
Index: []
CREATE TABLE "producer" (
"pid" int,
"gender" text,
"name" text,
"nationality" text,
"birth_city" text,
"birth_year" int,
primary key("pid")
)
3 rows from producer table:
Empty DataFrame
Columns: [pid, gender, name, nationality, birth_city, birth_year]
Index: []
CREATE TABLE "directed_by" (
"id" int,
"msid" int,
"did" int,
primary key("id"),
foreign key("msid") references `copyright`("msid"),
foreign key("did") references `director`("did")
)
3 rows from directed_by table:
Empty DataFrame
Columns: [id, msid, did]
Index: []
CREATE TABLE "keyword" (
"id" int,
"keyword" text,
primary key("id")
)
3 rows from keyword table:
Empty DataFrame
Columns: [id, keyword]
Index: []
CREATE TABLE "made_by" (
"id" int,
"msid" int,
"pid" int,
primary key("id"),
foreign key("msid") references `copyright`("msid"),
foreign key("pid") references `producer`("pid")
)
3 rows from made_by table:
Empty DataFrame
Columns: [id, msid, pid]
Index: []
CREATE TABLE "movie" (
"mid" int,
"title" text,
"release_year" int,
"title_aka" text,
"budget" text,
primary key("mid")
)
3 rows from movie table:
Empty DataFrame
Columns: [mid, title, release_year, title_aka, budget]
Index: []
CREATE TABLE "tags" (
"id" int,
"msid" int,
"kid" int,
primary key("id"),
foreign key("msid") references `copyright`("msid"),
foreign key("kid") references `keyword`("kid")
)
3 rows from tags table:
Empty DataFrame
Columns: [id, msid, kid]
Index: []
CREATE TABLE "tv_series" (
"sid" int,
"title" text,
"release_year" int,
"num_of_seasons" int,
"num_of_episodes" int,
"title_aka" text,
"budget" text,
primary key("sid")
)
3 rows from tv_series table:
Empty DataFrame
Columns: [sid, title, release_year, num_of_seasons, num_of_episodes, title_aka, budget]
Index: []
CREATE TABLE "writer" (
"wid" int,
"gender" text,
"name" int,
"nationality" int,
"num_of_episodes" int,
"birth_city" text,
"birth_year" int,
primary key("wid")
)
3 rows from writer table:
Empty DataFrame
Columns: [wid, gender, name, nationality, num_of_episodes, birth_city, birth_year]
Index: []
CREATE TABLE "written_by" (
"id" int,
"msid" int,
"wid" int,
foreign key("msid") references `copyright`("msid"),
foreign key("wid") references `writer`("wid")
)
3 rows from written_by table:
Empty DataFrame
Columns: [id, msid, wid]
Index: []
|
imdb | Find all movies produced in 2015 | SELECT title FROM movie WHERE release_year = 2015; | CREATE TABLE "actor" (
"aid" int,
"gender" text,
"name" text,
"nationality" text,
"birth_city" text,
"birth_year" int,
primary key("aid")
)
3 rows from actor table:
Empty DataFrame
Columns: [aid, gender, name, nationality, birth_city, birth_year]
Index: []
CREATE TABLE "copyright" (
"id" int,
"msid" int,
"cid" int,
primary key("id")
)
3 rows from copyright table:
Empty DataFrame
Columns: [id, msid, cid]
Index: []
CREATE TABLE "cast" (
"id" int,
"msid" int,
"aid" int,
"role" int,
primary key("id"),
foreign key("aid") references `actor`("aid"),
foreign key("msid") references `copyright`("msid")
)
3 rows from cast table:
Empty DataFrame
Columns: [id, msid, aid, role]
Index: []
CREATE TABLE "genre" (
"gid" int,
"genre" text,
primary key("gid")
)
3 rows from genre table:
Empty DataFrame
Columns: [gid, genre]
Index: []
CREATE TABLE "classification" (
"id" int,
"msid" int,
"gid" int,
primary key("id"),
foreign key("gid") references `genre`("gid"),
foreign key("msid") references `copyright`("msid")
)
3 rows from classification table:
Empty DataFrame
Columns: [id, msid, gid]
Index: []
CREATE TABLE "company" (
"id" int,
"name" text,
"country_code" text,
primary key("id")
)
3 rows from company table:
Empty DataFrame
Columns: [id, name, country_code]
Index: []
CREATE TABLE "director" (
"did" int,
"gender" text,
"name" text,
"nationality" text,
"birth_city" text,
"birth_year" int,
primary key("did")
)
3 rows from director table:
Empty DataFrame
Columns: [did, gender, name, nationality, birth_city, birth_year]
Index: []
CREATE TABLE "producer" (
"pid" int,
"gender" text,
"name" text,
"nationality" text,
"birth_city" text,
"birth_year" int,
primary key("pid")
)
3 rows from producer table:
Empty DataFrame
Columns: [pid, gender, name, nationality, birth_city, birth_year]
Index: []
CREATE TABLE "directed_by" (
"id" int,
"msid" int,
"did" int,
primary key("id"),
foreign key("msid") references `copyright`("msid"),
foreign key("did") references `director`("did")
)
3 rows from directed_by table:
Empty DataFrame
Columns: [id, msid, did]
Index: []
CREATE TABLE "keyword" (
"id" int,
"keyword" text,
primary key("id")
)
3 rows from keyword table:
Empty DataFrame
Columns: [id, keyword]
Index: []
CREATE TABLE "made_by" (
"id" int,
"msid" int,
"pid" int,
primary key("id"),
foreign key("msid") references `copyright`("msid"),
foreign key("pid") references `producer`("pid")
)
3 rows from made_by table:
Empty DataFrame
Columns: [id, msid, pid]
Index: []
CREATE TABLE "movie" (
"mid" int,
"title" text,
"release_year" int,
"title_aka" text,
"budget" text,
primary key("mid")
)
3 rows from movie table:
Empty DataFrame
Columns: [mid, title, release_year, title_aka, budget]
Index: []
CREATE TABLE "tags" (
"id" int,
"msid" int,
"kid" int,
primary key("id"),
foreign key("msid") references `copyright`("msid"),
foreign key("kid") references `keyword`("kid")
)
3 rows from tags table:
Empty DataFrame
Columns: [id, msid, kid]
Index: []
CREATE TABLE "tv_series" (
"sid" int,
"title" text,
"release_year" int,
"num_of_seasons" int,
"num_of_episodes" int,
"title_aka" text,
"budget" text,
primary key("sid")
)
3 rows from tv_series table:
Empty DataFrame
Columns: [sid, title, release_year, num_of_seasons, num_of_episodes, title_aka, budget]
Index: []
CREATE TABLE "writer" (
"wid" int,
"gender" text,
"name" int,
"nationality" int,
"num_of_episodes" int,
"birth_city" text,
"birth_year" int,
primary key("wid")
)
3 rows from writer table:
Empty DataFrame
Columns: [wid, gender, name, nationality, num_of_episodes, birth_city, birth_year]
Index: []
CREATE TABLE "written_by" (
"id" int,
"msid" int,
"wid" int,
foreign key("msid") references `copyright`("msid"),
foreign key("wid") references `writer`("wid")
)
3 rows from written_by table:
Empty DataFrame
Columns: [id, msid, wid]
Index: []
|
imdb | Find all actors born in " Tehran " | SELECT name FROM actor WHERE birth_city = "Tehran"; | CREATE TABLE "actor" (
"aid" int,
"gender" text,
"name" text,
"nationality" text,
"birth_city" text,
"birth_year" int,
primary key("aid")
)
3 rows from actor table:
Empty DataFrame
Columns: [aid, gender, name, nationality, birth_city, birth_year]
Index: []
CREATE TABLE "copyright" (
"id" int,
"msid" int,
"cid" int,
primary key("id")
)
3 rows from copyright table:
Empty DataFrame
Columns: [id, msid, cid]
Index: []
CREATE TABLE "cast" (
"id" int,
"msid" int,
"aid" int,
"role" int,
primary key("id"),
foreign key("aid") references `actor`("aid"),
foreign key("msid") references `copyright`("msid")
)
3 rows from cast table:
Empty DataFrame
Columns: [id, msid, aid, role]
Index: []
CREATE TABLE "genre" (
"gid" int,
"genre" text,
primary key("gid")
)
3 rows from genre table:
Empty DataFrame
Columns: [gid, genre]
Index: []
CREATE TABLE "classification" (
"id" int,
"msid" int,
"gid" int,
primary key("id"),
foreign key("gid") references `genre`("gid"),
foreign key("msid") references `copyright`("msid")
)
3 rows from classification table:
Empty DataFrame
Columns: [id, msid, gid]
Index: []
CREATE TABLE "company" (
"id" int,
"name" text,
"country_code" text,
primary key("id")
)
3 rows from company table:
Empty DataFrame
Columns: [id, name, country_code]
Index: []
CREATE TABLE "director" (
"did" int,
"gender" text,
"name" text,
"nationality" text,
"birth_city" text,
"birth_year" int,
primary key("did")
)
3 rows from director table:
Empty DataFrame
Columns: [did, gender, name, nationality, birth_city, birth_year]
Index: []
CREATE TABLE "producer" (
"pid" int,
"gender" text,
"name" text,
"nationality" text,
"birth_city" text,
"birth_year" int,
primary key("pid")
)
3 rows from producer table:
Empty DataFrame
Columns: [pid, gender, name, nationality, birth_city, birth_year]
Index: []
CREATE TABLE "directed_by" (
"id" int,
"msid" int,
"did" int,
primary key("id"),
foreign key("msid") references `copyright`("msid"),
foreign key("did") references `director`("did")
)
3 rows from directed_by table:
Empty DataFrame
Columns: [id, msid, did]
Index: []
CREATE TABLE "keyword" (
"id" int,
"keyword" text,
primary key("id")
)
3 rows from keyword table:
Empty DataFrame
Columns: [id, keyword]
Index: []
CREATE TABLE "made_by" (
"id" int,
"msid" int,
"pid" int,
primary key("id"),
foreign key("msid") references `copyright`("msid"),
foreign key("pid") references `producer`("pid")
)
3 rows from made_by table:
Empty DataFrame
Columns: [id, msid, pid]
Index: []
CREATE TABLE "movie" (
"mid" int,
"title" text,
"release_year" int,
"title_aka" text,
"budget" text,
primary key("mid")
)
3 rows from movie table:
Empty DataFrame
Columns: [mid, title, release_year, title_aka, budget]
Index: []
CREATE TABLE "tags" (
"id" int,
"msid" int,
"kid" int,
primary key("id"),
foreign key("msid") references `copyright`("msid"),
foreign key("kid") references `keyword`("kid")
)
3 rows from tags table:
Empty DataFrame
Columns: [id, msid, kid]
Index: []
CREATE TABLE "tv_series" (
"sid" int,
"title" text,
"release_year" int,
"num_of_seasons" int,
"num_of_episodes" int,
"title_aka" text,
"budget" text,
primary key("sid")
)
3 rows from tv_series table:
Empty DataFrame
Columns: [sid, title, release_year, num_of_seasons, num_of_episodes, title_aka, budget]
Index: []
CREATE TABLE "writer" (
"wid" int,
"gender" text,
"name" int,
"nationality" int,
"num_of_episodes" int,
"birth_city" text,
"birth_year" int,
primary key("wid")
)
3 rows from writer table:
Empty DataFrame
Columns: [wid, gender, name, nationality, num_of_episodes, birth_city, birth_year]
Index: []
CREATE TABLE "written_by" (
"id" int,
"msid" int,
"wid" int,
foreign key("msid") references `copyright`("msid"),
foreign key("wid") references `writer`("wid")
)
3 rows from written_by table:
Empty DataFrame
Columns: [id, msid, wid]
Index: []
|
imdb | Find all actors born in Tehran | SELECT name FROM actor WHERE birth_city = "Tehran"; | CREATE TABLE "actor" (
"aid" int,
"gender" text,
"name" text,
"nationality" text,
"birth_city" text,
"birth_year" int,
primary key("aid")
)
3 rows from actor table:
Empty DataFrame
Columns: [aid, gender, name, nationality, birth_city, birth_year]
Index: []
CREATE TABLE "copyright" (
"id" int,
"msid" int,
"cid" int,
primary key("id")
)
3 rows from copyright table:
Empty DataFrame
Columns: [id, msid, cid]
Index: []
CREATE TABLE "cast" (
"id" int,
"msid" int,
"aid" int,
"role" int,
primary key("id"),
foreign key("aid") references `actor`("aid"),
foreign key("msid") references `copyright`("msid")
)
3 rows from cast table:
Empty DataFrame
Columns: [id, msid, aid, role]
Index: []
CREATE TABLE "genre" (
"gid" int,
"genre" text,
primary key("gid")
)
3 rows from genre table:
Empty DataFrame
Columns: [gid, genre]
Index: []
CREATE TABLE "classification" (
"id" int,
"msid" int,
"gid" int,
primary key("id"),
foreign key("gid") references `genre`("gid"),
foreign key("msid") references `copyright`("msid")
)
3 rows from classification table:
Empty DataFrame
Columns: [id, msid, gid]
Index: []
CREATE TABLE "company" (
"id" int,
"name" text,
"country_code" text,
primary key("id")
)
3 rows from company table:
Empty DataFrame
Columns: [id, name, country_code]
Index: []
CREATE TABLE "director" (
"did" int,
"gender" text,
"name" text,
"nationality" text,
"birth_city" text,
"birth_year" int,
primary key("did")
)
3 rows from director table:
Empty DataFrame
Columns: [did, gender, name, nationality, birth_city, birth_year]
Index: []
CREATE TABLE "producer" (
"pid" int,
"gender" text,
"name" text,
"nationality" text,
"birth_city" text,
"birth_year" int,
primary key("pid")
)
3 rows from producer table:
Empty DataFrame
Columns: [pid, gender, name, nationality, birth_city, birth_year]
Index: []
CREATE TABLE "directed_by" (
"id" int,
"msid" int,
"did" int,
primary key("id"),
foreign key("msid") references `copyright`("msid"),
foreign key("did") references `director`("did")
)
3 rows from directed_by table:
Empty DataFrame
Columns: [id, msid, did]
Index: []
CREATE TABLE "keyword" (
"id" int,
"keyword" text,
primary key("id")
)
3 rows from keyword table:
Empty DataFrame
Columns: [id, keyword]
Index: []
CREATE TABLE "made_by" (
"id" int,
"msid" int,
"pid" int,
primary key("id"),
foreign key("msid") references `copyright`("msid"),
foreign key("pid") references `producer`("pid")
)
3 rows from made_by table:
Empty DataFrame
Columns: [id, msid, pid]
Index: []
CREATE TABLE "movie" (
"mid" int,
"title" text,
"release_year" int,
"title_aka" text,
"budget" text,
primary key("mid")
)
3 rows from movie table:
Empty DataFrame
Columns: [mid, title, release_year, title_aka, budget]
Index: []
CREATE TABLE "tags" (
"id" int,
"msid" int,
"kid" int,
primary key("id"),
foreign key("msid") references `copyright`("msid"),
foreign key("kid") references `keyword`("kid")
)
3 rows from tags table:
Empty DataFrame
Columns: [id, msid, kid]
Index: []
CREATE TABLE "tv_series" (
"sid" int,
"title" text,
"release_year" int,
"num_of_seasons" int,
"num_of_episodes" int,
"title_aka" text,
"budget" text,
primary key("sid")
)
3 rows from tv_series table:
Empty DataFrame
Columns: [sid, title, release_year, num_of_seasons, num_of_episodes, title_aka, budget]
Index: []
CREATE TABLE "writer" (
"wid" int,
"gender" text,
"name" int,
"nationality" int,
"num_of_episodes" int,
"birth_city" text,
"birth_year" int,
primary key("wid")
)
3 rows from writer table:
Empty DataFrame
Columns: [wid, gender, name, nationality, num_of_episodes, birth_city, birth_year]
Index: []
CREATE TABLE "written_by" (
"id" int,
"msid" int,
"wid" int,
foreign key("msid") references `copyright`("msid"),
foreign key("wid") references `writer`("wid")
)
3 rows from written_by table:
Empty DataFrame
Columns: [id, msid, wid]
Index: []
|
imdb | Which actors were born in Tehran | SELECT name FROM actor WHERE birth_city = "Tehran"; | CREATE TABLE "actor" (
"aid" int,
"gender" text,
"name" text,
"nationality" text,
"birth_city" text,
"birth_year" int,
primary key("aid")
)
3 rows from actor table:
Empty DataFrame
Columns: [aid, gender, name, nationality, birth_city, birth_year]
Index: []
CREATE TABLE "copyright" (
"id" int,
"msid" int,
"cid" int,
primary key("id")
)
3 rows from copyright table:
Empty DataFrame
Columns: [id, msid, cid]
Index: []
CREATE TABLE "cast" (
"id" int,
"msid" int,
"aid" int,
"role" int,
primary key("id"),
foreign key("aid") references `actor`("aid"),
foreign key("msid") references `copyright`("msid")
)
3 rows from cast table:
Empty DataFrame
Columns: [id, msid, aid, role]
Index: []
CREATE TABLE "genre" (
"gid" int,
"genre" text,
primary key("gid")
)
3 rows from genre table:
Empty DataFrame
Columns: [gid, genre]
Index: []
CREATE TABLE "classification" (
"id" int,
"msid" int,
"gid" int,
primary key("id"),
foreign key("gid") references `genre`("gid"),
foreign key("msid") references `copyright`("msid")
)
3 rows from classification table:
Empty DataFrame
Columns: [id, msid, gid]
Index: []
CREATE TABLE "company" (
"id" int,
"name" text,
"country_code" text,
primary key("id")
)
3 rows from company table:
Empty DataFrame
Columns: [id, name, country_code]
Index: []
CREATE TABLE "director" (
"did" int,
"gender" text,
"name" text,
"nationality" text,
"birth_city" text,
"birth_year" int,
primary key("did")
)
3 rows from director table:
Empty DataFrame
Columns: [did, gender, name, nationality, birth_city, birth_year]
Index: []
CREATE TABLE "producer" (
"pid" int,
"gender" text,
"name" text,
"nationality" text,
"birth_city" text,
"birth_year" int,
primary key("pid")
)
3 rows from producer table:
Empty DataFrame
Columns: [pid, gender, name, nationality, birth_city, birth_year]
Index: []
CREATE TABLE "directed_by" (
"id" int,
"msid" int,
"did" int,
primary key("id"),
foreign key("msid") references `copyright`("msid"),
foreign key("did") references `director`("did")
)
3 rows from directed_by table:
Empty DataFrame
Columns: [id, msid, did]
Index: []
CREATE TABLE "keyword" (
"id" int,
"keyword" text,
primary key("id")
)
3 rows from keyword table:
Empty DataFrame
Columns: [id, keyword]
Index: []
CREATE TABLE "made_by" (
"id" int,
"msid" int,
"pid" int,
primary key("id"),
foreign key("msid") references `copyright`("msid"),
foreign key("pid") references `producer`("pid")
)
3 rows from made_by table:
Empty DataFrame
Columns: [id, msid, pid]
Index: []
CREATE TABLE "movie" (
"mid" int,
"title" text,
"release_year" int,
"title_aka" text,
"budget" text,
primary key("mid")
)
3 rows from movie table:
Empty DataFrame
Columns: [mid, title, release_year, title_aka, budget]
Index: []
CREATE TABLE "tags" (
"id" int,
"msid" int,
"kid" int,
primary key("id"),
foreign key("msid") references `copyright`("msid"),
foreign key("kid") references `keyword`("kid")
)
3 rows from tags table:
Empty DataFrame
Columns: [id, msid, kid]
Index: []
CREATE TABLE "tv_series" (
"sid" int,
"title" text,
"release_year" int,
"num_of_seasons" int,
"num_of_episodes" int,
"title_aka" text,
"budget" text,
primary key("sid")
)
3 rows from tv_series table:
Empty DataFrame
Columns: [sid, title, release_year, num_of_seasons, num_of_episodes, title_aka, budget]
Index: []
CREATE TABLE "writer" (
"wid" int,
"gender" text,
"name" int,
"nationality" int,
"num_of_episodes" int,
"birth_city" text,
"birth_year" int,
primary key("wid")
)
3 rows from writer table:
Empty DataFrame
Columns: [wid, gender, name, nationality, num_of_episodes, birth_city, birth_year]
Index: []
CREATE TABLE "written_by" (
"id" int,
"msid" int,
"wid" int,
foreign key("msid") references `copyright`("msid"),
foreign key("wid") references `writer`("wid")
)
3 rows from written_by table:
Empty DataFrame
Columns: [id, msid, wid]
Index: []
|
imdb | Find all actors who are from Afghanistan | SELECT name FROM actor WHERE nationality = "Afghanistan"; | CREATE TABLE "actor" (
"aid" int,
"gender" text,
"name" text,
"nationality" text,
"birth_city" text,
"birth_year" int,
primary key("aid")
)
3 rows from actor table:
Empty DataFrame
Columns: [aid, gender, name, nationality, birth_city, birth_year]
Index: []
CREATE TABLE "copyright" (
"id" int,
"msid" int,
"cid" int,
primary key("id")
)
3 rows from copyright table:
Empty DataFrame
Columns: [id, msid, cid]
Index: []
CREATE TABLE "cast" (
"id" int,
"msid" int,
"aid" int,
"role" int,
primary key("id"),
foreign key("aid") references `actor`("aid"),
foreign key("msid") references `copyright`("msid")
)
3 rows from cast table:
Empty DataFrame
Columns: [id, msid, aid, role]
Index: []
CREATE TABLE "genre" (
"gid" int,
"genre" text,
primary key("gid")
)
3 rows from genre table:
Empty DataFrame
Columns: [gid, genre]
Index: []
CREATE TABLE "classification" (
"id" int,
"msid" int,
"gid" int,
primary key("id"),
foreign key("gid") references `genre`("gid"),
foreign key("msid") references `copyright`("msid")
)
3 rows from classification table:
Empty DataFrame
Columns: [id, msid, gid]
Index: []
CREATE TABLE "company" (
"id" int,
"name" text,
"country_code" text,
primary key("id")
)
3 rows from company table:
Empty DataFrame
Columns: [id, name, country_code]
Index: []
CREATE TABLE "director" (
"did" int,
"gender" text,
"name" text,
"nationality" text,
"birth_city" text,
"birth_year" int,
primary key("did")
)
3 rows from director table:
Empty DataFrame
Columns: [did, gender, name, nationality, birth_city, birth_year]
Index: []
CREATE TABLE "producer" (
"pid" int,
"gender" text,
"name" text,
"nationality" text,
"birth_city" text,
"birth_year" int,
primary key("pid")
)
3 rows from producer table:
Empty DataFrame
Columns: [pid, gender, name, nationality, birth_city, birth_year]
Index: []
CREATE TABLE "directed_by" (
"id" int,
"msid" int,
"did" int,
primary key("id"),
foreign key("msid") references `copyright`("msid"),
foreign key("did") references `director`("did")
)
3 rows from directed_by table:
Empty DataFrame
Columns: [id, msid, did]
Index: []
CREATE TABLE "keyword" (
"id" int,
"keyword" text,
primary key("id")
)
3 rows from keyword table:
Empty DataFrame
Columns: [id, keyword]
Index: []
CREATE TABLE "made_by" (
"id" int,
"msid" int,
"pid" int,
primary key("id"),
foreign key("msid") references `copyright`("msid"),
foreign key("pid") references `producer`("pid")
)
3 rows from made_by table:
Empty DataFrame
Columns: [id, msid, pid]
Index: []
CREATE TABLE "movie" (
"mid" int,
"title" text,
"release_year" int,
"title_aka" text,
"budget" text,
primary key("mid")
)
3 rows from movie table:
Empty DataFrame
Columns: [mid, title, release_year, title_aka, budget]
Index: []
CREATE TABLE "tags" (
"id" int,
"msid" int,
"kid" int,
primary key("id"),
foreign key("msid") references `copyright`("msid"),
foreign key("kid") references `keyword`("kid")
)
3 rows from tags table:
Empty DataFrame
Columns: [id, msid, kid]
Index: []
CREATE TABLE "tv_series" (
"sid" int,
"title" text,
"release_year" int,
"num_of_seasons" int,
"num_of_episodes" int,
"title_aka" text,
"budget" text,
primary key("sid")
)
3 rows from tv_series table:
Empty DataFrame
Columns: [sid, title, release_year, num_of_seasons, num_of_episodes, title_aka, budget]
Index: []
CREATE TABLE "writer" (
"wid" int,
"gender" text,
"name" int,
"nationality" int,
"num_of_episodes" int,
"birth_city" text,
"birth_year" int,
primary key("wid")
)
3 rows from writer table:
Empty DataFrame
Columns: [wid, gender, name, nationality, num_of_episodes, birth_city, birth_year]
Index: []
CREATE TABLE "written_by" (
"id" int,
"msid" int,
"wid" int,
foreign key("msid") references `copyright`("msid"),
foreign key("wid") references `writer`("wid")
)
3 rows from written_by table:
Empty DataFrame
Columns: [id, msid, wid]
Index: []
|
imdb | Find all actors from Afghanistan | SELECT name FROM actor WHERE nationality = "Afghanistan"; | CREATE TABLE "actor" (
"aid" int,
"gender" text,
"name" text,
"nationality" text,
"birth_city" text,
"birth_year" int,
primary key("aid")
)
3 rows from actor table:
Empty DataFrame
Columns: [aid, gender, name, nationality, birth_city, birth_year]
Index: []
CREATE TABLE "copyright" (
"id" int,
"msid" int,
"cid" int,
primary key("id")
)
3 rows from copyright table:
Empty DataFrame
Columns: [id, msid, cid]
Index: []
CREATE TABLE "cast" (
"id" int,
"msid" int,
"aid" int,
"role" int,
primary key("id"),
foreign key("aid") references `actor`("aid"),
foreign key("msid") references `copyright`("msid")
)
3 rows from cast table:
Empty DataFrame
Columns: [id, msid, aid, role]
Index: []
CREATE TABLE "genre" (
"gid" int,
"genre" text,
primary key("gid")
)
3 rows from genre table:
Empty DataFrame
Columns: [gid, genre]
Index: []
CREATE TABLE "classification" (
"id" int,
"msid" int,
"gid" int,
primary key("id"),
foreign key("gid") references `genre`("gid"),
foreign key("msid") references `copyright`("msid")
)
3 rows from classification table:
Empty DataFrame
Columns: [id, msid, gid]
Index: []
CREATE TABLE "company" (
"id" int,
"name" text,
"country_code" text,
primary key("id")
)
3 rows from company table:
Empty DataFrame
Columns: [id, name, country_code]
Index: []
CREATE TABLE "director" (
"did" int,
"gender" text,
"name" text,
"nationality" text,
"birth_city" text,
"birth_year" int,
primary key("did")
)
3 rows from director table:
Empty DataFrame
Columns: [did, gender, name, nationality, birth_city, birth_year]
Index: []
CREATE TABLE "producer" (
"pid" int,
"gender" text,
"name" text,
"nationality" text,
"birth_city" text,
"birth_year" int,
primary key("pid")
)
3 rows from producer table:
Empty DataFrame
Columns: [pid, gender, name, nationality, birth_city, birth_year]
Index: []
CREATE TABLE "directed_by" (
"id" int,
"msid" int,
"did" int,
primary key("id"),
foreign key("msid") references `copyright`("msid"),
foreign key("did") references `director`("did")
)
3 rows from directed_by table:
Empty DataFrame
Columns: [id, msid, did]
Index: []
CREATE TABLE "keyword" (
"id" int,
"keyword" text,
primary key("id")
)
3 rows from keyword table:
Empty DataFrame
Columns: [id, keyword]
Index: []
CREATE TABLE "made_by" (
"id" int,
"msid" int,
"pid" int,
primary key("id"),
foreign key("msid") references `copyright`("msid"),
foreign key("pid") references `producer`("pid")
)
3 rows from made_by table:
Empty DataFrame
Columns: [id, msid, pid]
Index: []
CREATE TABLE "movie" (
"mid" int,
"title" text,
"release_year" int,
"title_aka" text,
"budget" text,
primary key("mid")
)
3 rows from movie table:
Empty DataFrame
Columns: [mid, title, release_year, title_aka, budget]
Index: []
CREATE TABLE "tags" (
"id" int,
"msid" int,
"kid" int,
primary key("id"),
foreign key("msid") references `copyright`("msid"),
foreign key("kid") references `keyword`("kid")
)
3 rows from tags table:
Empty DataFrame
Columns: [id, msid, kid]
Index: []
CREATE TABLE "tv_series" (
"sid" int,
"title" text,
"release_year" int,
"num_of_seasons" int,
"num_of_episodes" int,
"title_aka" text,
"budget" text,
primary key("sid")
)
3 rows from tv_series table:
Empty DataFrame
Columns: [sid, title, release_year, num_of_seasons, num_of_episodes, title_aka, budget]
Index: []
CREATE TABLE "writer" (
"wid" int,
"gender" text,
"name" int,
"nationality" int,
"num_of_episodes" int,
"birth_city" text,
"birth_year" int,
primary key("wid")
)
3 rows from writer table:
Empty DataFrame
Columns: [wid, gender, name, nationality, num_of_episodes, birth_city, birth_year]
Index: []
CREATE TABLE "written_by" (
"id" int,
"msid" int,
"wid" int,
foreign key("msid") references `copyright`("msid"),
foreign key("wid") references `writer`("wid")
)
3 rows from written_by table:
Empty DataFrame
Columns: [id, msid, wid]
Index: []
|
imdb | Give me the name of all the actors from Afghanistan | SELECT name FROM actor WHERE nationality = "Afghanistan"; | CREATE TABLE "actor" (
"aid" int,
"gender" text,
"name" text,
"nationality" text,
"birth_city" text,
"birth_year" int,
primary key("aid")
)
3 rows from actor table:
Empty DataFrame
Columns: [aid, gender, name, nationality, birth_city, birth_year]
Index: []
CREATE TABLE "copyright" (
"id" int,
"msid" int,
"cid" int,
primary key("id")
)
3 rows from copyright table:
Empty DataFrame
Columns: [id, msid, cid]
Index: []
CREATE TABLE "cast" (
"id" int,
"msid" int,
"aid" int,
"role" int,
primary key("id"),
foreign key("aid") references `actor`("aid"),
foreign key("msid") references `copyright`("msid")
)
3 rows from cast table:
Empty DataFrame
Columns: [id, msid, aid, role]
Index: []
CREATE TABLE "genre" (
"gid" int,
"genre" text,
primary key("gid")
)
3 rows from genre table:
Empty DataFrame
Columns: [gid, genre]
Index: []
CREATE TABLE "classification" (
"id" int,
"msid" int,
"gid" int,
primary key("id"),
foreign key("gid") references `genre`("gid"),
foreign key("msid") references `copyright`("msid")
)
3 rows from classification table:
Empty DataFrame
Columns: [id, msid, gid]
Index: []
CREATE TABLE "company" (
"id" int,
"name" text,
"country_code" text,
primary key("id")
)
3 rows from company table:
Empty DataFrame
Columns: [id, name, country_code]
Index: []
CREATE TABLE "director" (
"did" int,
"gender" text,
"name" text,
"nationality" text,
"birth_city" text,
"birth_year" int,
primary key("did")
)
3 rows from director table:
Empty DataFrame
Columns: [did, gender, name, nationality, birth_city, birth_year]
Index: []
CREATE TABLE "producer" (
"pid" int,
"gender" text,
"name" text,
"nationality" text,
"birth_city" text,
"birth_year" int,
primary key("pid")
)
3 rows from producer table:
Empty DataFrame
Columns: [pid, gender, name, nationality, birth_city, birth_year]
Index: []
CREATE TABLE "directed_by" (
"id" int,
"msid" int,
"did" int,
primary key("id"),
foreign key("msid") references `copyright`("msid"),
foreign key("did") references `director`("did")
)
3 rows from directed_by table:
Empty DataFrame
Columns: [id, msid, did]
Index: []
CREATE TABLE "keyword" (
"id" int,
"keyword" text,
primary key("id")
)
3 rows from keyword table:
Empty DataFrame
Columns: [id, keyword]
Index: []
CREATE TABLE "made_by" (
"id" int,
"msid" int,
"pid" int,
primary key("id"),
foreign key("msid") references `copyright`("msid"),
foreign key("pid") references `producer`("pid")
)
3 rows from made_by table:
Empty DataFrame
Columns: [id, msid, pid]
Index: []
CREATE TABLE "movie" (
"mid" int,
"title" text,
"release_year" int,
"title_aka" text,
"budget" text,
primary key("mid")
)
3 rows from movie table:
Empty DataFrame
Columns: [mid, title, release_year, title_aka, budget]
Index: []
CREATE TABLE "tags" (
"id" int,
"msid" int,
"kid" int,
primary key("id"),
foreign key("msid") references `copyright`("msid"),
foreign key("kid") references `keyword`("kid")
)
3 rows from tags table:
Empty DataFrame
Columns: [id, msid, kid]
Index: []
CREATE TABLE "tv_series" (
"sid" int,
"title" text,
"release_year" int,
"num_of_seasons" int,
"num_of_episodes" int,
"title_aka" text,
"budget" text,
primary key("sid")
)
3 rows from tv_series table:
Empty DataFrame
Columns: [sid, title, release_year, num_of_seasons, num_of_episodes, title_aka, budget]
Index: []
CREATE TABLE "writer" (
"wid" int,
"gender" text,
"name" int,
"nationality" int,
"num_of_episodes" int,
"birth_city" text,
"birth_year" int,
primary key("wid")
)
3 rows from writer table:
Empty DataFrame
Columns: [wid, gender, name, nationality, num_of_episodes, birth_city, birth_year]
Index: []
CREATE TABLE "written_by" (
"id" int,
"msid" int,
"wid" int,
foreign key("msid") references `copyright`("msid"),
foreign key("wid") references `writer`("wid")
)
3 rows from written_by table:
Empty DataFrame
Columns: [id, msid, wid]
Index: []
|
imdb | Find all actors who were born in 1984 | SELECT name FROM actor WHERE birth_year = 1984; | CREATE TABLE "actor" (
"aid" int,
"gender" text,
"name" text,
"nationality" text,
"birth_city" text,
"birth_year" int,
primary key("aid")
)
3 rows from actor table:
Empty DataFrame
Columns: [aid, gender, name, nationality, birth_city, birth_year]
Index: []
CREATE TABLE "copyright" (
"id" int,
"msid" int,
"cid" int,
primary key("id")
)
3 rows from copyright table:
Empty DataFrame
Columns: [id, msid, cid]
Index: []
CREATE TABLE "cast" (
"id" int,
"msid" int,
"aid" int,
"role" int,
primary key("id"),
foreign key("aid") references `actor`("aid"),
foreign key("msid") references `copyright`("msid")
)
3 rows from cast table:
Empty DataFrame
Columns: [id, msid, aid, role]
Index: []
CREATE TABLE "genre" (
"gid" int,
"genre" text,
primary key("gid")
)
3 rows from genre table:
Empty DataFrame
Columns: [gid, genre]
Index: []
CREATE TABLE "classification" (
"id" int,
"msid" int,
"gid" int,
primary key("id"),
foreign key("gid") references `genre`("gid"),
foreign key("msid") references `copyright`("msid")
)
3 rows from classification table:
Empty DataFrame
Columns: [id, msid, gid]
Index: []
CREATE TABLE "company" (
"id" int,
"name" text,
"country_code" text,
primary key("id")
)
3 rows from company table:
Empty DataFrame
Columns: [id, name, country_code]
Index: []
CREATE TABLE "director" (
"did" int,
"gender" text,
"name" text,
"nationality" text,
"birth_city" text,
"birth_year" int,
primary key("did")
)
3 rows from director table:
Empty DataFrame
Columns: [did, gender, name, nationality, birth_city, birth_year]
Index: []
CREATE TABLE "producer" (
"pid" int,
"gender" text,
"name" text,
"nationality" text,
"birth_city" text,
"birth_year" int,
primary key("pid")
)
3 rows from producer table:
Empty DataFrame
Columns: [pid, gender, name, nationality, birth_city, birth_year]
Index: []
CREATE TABLE "directed_by" (
"id" int,
"msid" int,
"did" int,
primary key("id"),
foreign key("msid") references `copyright`("msid"),
foreign key("did") references `director`("did")
)
3 rows from directed_by table:
Empty DataFrame
Columns: [id, msid, did]
Index: []
CREATE TABLE "keyword" (
"id" int,
"keyword" text,
primary key("id")
)
3 rows from keyword table:
Empty DataFrame
Columns: [id, keyword]
Index: []
CREATE TABLE "made_by" (
"id" int,
"msid" int,
"pid" int,
primary key("id"),
foreign key("msid") references `copyright`("msid"),
foreign key("pid") references `producer`("pid")
)
3 rows from made_by table:
Empty DataFrame
Columns: [id, msid, pid]
Index: []
CREATE TABLE "movie" (
"mid" int,
"title" text,
"release_year" int,
"title_aka" text,
"budget" text,
primary key("mid")
)
3 rows from movie table:
Empty DataFrame
Columns: [mid, title, release_year, title_aka, budget]
Index: []
CREATE TABLE "tags" (
"id" int,
"msid" int,
"kid" int,
primary key("id"),
foreign key("msid") references `copyright`("msid"),
foreign key("kid") references `keyword`("kid")
)
3 rows from tags table:
Empty DataFrame
Columns: [id, msid, kid]
Index: []
CREATE TABLE "tv_series" (
"sid" int,
"title" text,
"release_year" int,
"num_of_seasons" int,
"num_of_episodes" int,
"title_aka" text,
"budget" text,
primary key("sid")
)
3 rows from tv_series table:
Empty DataFrame
Columns: [sid, title, release_year, num_of_seasons, num_of_episodes, title_aka, budget]
Index: []
CREATE TABLE "writer" (
"wid" int,
"gender" text,
"name" int,
"nationality" int,
"num_of_episodes" int,
"birth_city" text,
"birth_year" int,
primary key("wid")
)
3 rows from writer table:
Empty DataFrame
Columns: [wid, gender, name, nationality, num_of_episodes, birth_city, birth_year]
Index: []
CREATE TABLE "written_by" (
"id" int,
"msid" int,
"wid" int,
foreign key("msid") references `copyright`("msid"),
foreign key("wid") references `writer`("wid")
)
3 rows from written_by table:
Empty DataFrame
Columns: [id, msid, wid]
Index: []
|
imdb | When was " Kevin Spacey " born ? | SELECT birth_year FROM actor WHERE name = "actor_name0"; | CREATE TABLE "actor" (
"aid" int,
"gender" text,
"name" text,
"nationality" text,
"birth_city" text,
"birth_year" int,
primary key("aid")
)
3 rows from actor table:
Empty DataFrame
Columns: [aid, gender, name, nationality, birth_city, birth_year]
Index: []
CREATE TABLE "copyright" (
"id" int,
"msid" int,
"cid" int,
primary key("id")
)
3 rows from copyright table:
Empty DataFrame
Columns: [id, msid, cid]
Index: []
CREATE TABLE "cast" (
"id" int,
"msid" int,
"aid" int,
"role" int,
primary key("id"),
foreign key("aid") references `actor`("aid"),
foreign key("msid") references `copyright`("msid")
)
3 rows from cast table:
Empty DataFrame
Columns: [id, msid, aid, role]
Index: []
CREATE TABLE "genre" (
"gid" int,
"genre" text,
primary key("gid")
)
3 rows from genre table:
Empty DataFrame
Columns: [gid, genre]
Index: []
CREATE TABLE "classification" (
"id" int,
"msid" int,
"gid" int,
primary key("id"),
foreign key("gid") references `genre`("gid"),
foreign key("msid") references `copyright`("msid")
)
3 rows from classification table:
Empty DataFrame
Columns: [id, msid, gid]
Index: []
CREATE TABLE "company" (
"id" int,
"name" text,
"country_code" text,
primary key("id")
)
3 rows from company table:
Empty DataFrame
Columns: [id, name, country_code]
Index: []
CREATE TABLE "director" (
"did" int,
"gender" text,
"name" text,
"nationality" text,
"birth_city" text,
"birth_year" int,
primary key("did")
)
3 rows from director table:
Empty DataFrame
Columns: [did, gender, name, nationality, birth_city, birth_year]
Index: []
CREATE TABLE "producer" (
"pid" int,
"gender" text,
"name" text,
"nationality" text,
"birth_city" text,
"birth_year" int,
primary key("pid")
)
3 rows from producer table:
Empty DataFrame
Columns: [pid, gender, name, nationality, birth_city, birth_year]
Index: []
CREATE TABLE "directed_by" (
"id" int,
"msid" int,
"did" int,
primary key("id"),
foreign key("msid") references `copyright`("msid"),
foreign key("did") references `director`("did")
)
3 rows from directed_by table:
Empty DataFrame
Columns: [id, msid, did]
Index: []
CREATE TABLE "keyword" (
"id" int,
"keyword" text,
primary key("id")
)
3 rows from keyword table:
Empty DataFrame
Columns: [id, keyword]
Index: []
CREATE TABLE "made_by" (
"id" int,
"msid" int,
"pid" int,
primary key("id"),
foreign key("msid") references `copyright`("msid"),
foreign key("pid") references `producer`("pid")
)
3 rows from made_by table:
Empty DataFrame
Columns: [id, msid, pid]
Index: []
CREATE TABLE "movie" (
"mid" int,
"title" text,
"release_year" int,
"title_aka" text,
"budget" text,
primary key("mid")
)
3 rows from movie table:
Empty DataFrame
Columns: [mid, title, release_year, title_aka, budget]
Index: []
CREATE TABLE "tags" (
"id" int,
"msid" int,
"kid" int,
primary key("id"),
foreign key("msid") references `copyright`("msid"),
foreign key("kid") references `keyword`("kid")
)
3 rows from tags table:
Empty DataFrame
Columns: [id, msid, kid]
Index: []
CREATE TABLE "tv_series" (
"sid" int,
"title" text,
"release_year" int,
"num_of_seasons" int,
"num_of_episodes" int,
"title_aka" text,
"budget" text,
primary key("sid")
)
3 rows from tv_series table:
Empty DataFrame
Columns: [sid, title, release_year, num_of_seasons, num_of_episodes, title_aka, budget]
Index: []
CREATE TABLE "writer" (
"wid" int,
"gender" text,
"name" int,
"nationality" int,
"num_of_episodes" int,
"birth_city" text,
"birth_year" int,
primary key("wid")
)
3 rows from writer table:
Empty DataFrame
Columns: [wid, gender, name, nationality, num_of_episodes, birth_city, birth_year]
Index: []
CREATE TABLE "written_by" (
"id" int,
"msid" int,
"wid" int,
foreign key("msid") references `copyright`("msid"),
foreign key("wid") references `writer`("wid")
)
3 rows from written_by table:
Empty DataFrame
Columns: [id, msid, wid]
Index: []
|
imdb | In what year was " Kevin Spacey " born ? | SELECT birth_year FROM actor WHERE name = "actor_name0"; | CREATE TABLE "actor" (
"aid" int,
"gender" text,
"name" text,
"nationality" text,
"birth_city" text,
"birth_year" int,
primary key("aid")
)
3 rows from actor table:
Empty DataFrame
Columns: [aid, gender, name, nationality, birth_city, birth_year]
Index: []
CREATE TABLE "copyright" (
"id" int,
"msid" int,
"cid" int,
primary key("id")
)
3 rows from copyright table:
Empty DataFrame
Columns: [id, msid, cid]
Index: []
CREATE TABLE "cast" (
"id" int,
"msid" int,
"aid" int,
"role" int,
primary key("id"),
foreign key("aid") references `actor`("aid"),
foreign key("msid") references `copyright`("msid")
)
3 rows from cast table:
Empty DataFrame
Columns: [id, msid, aid, role]
Index: []
CREATE TABLE "genre" (
"gid" int,
"genre" text,
primary key("gid")
)
3 rows from genre table:
Empty DataFrame
Columns: [gid, genre]
Index: []
CREATE TABLE "classification" (
"id" int,
"msid" int,
"gid" int,
primary key("id"),
foreign key("gid") references `genre`("gid"),
foreign key("msid") references `copyright`("msid")
)
3 rows from classification table:
Empty DataFrame
Columns: [id, msid, gid]
Index: []
CREATE TABLE "company" (
"id" int,
"name" text,
"country_code" text,
primary key("id")
)
3 rows from company table:
Empty DataFrame
Columns: [id, name, country_code]
Index: []
CREATE TABLE "director" (
"did" int,
"gender" text,
"name" text,
"nationality" text,
"birth_city" text,
"birth_year" int,
primary key("did")
)
3 rows from director table:
Empty DataFrame
Columns: [did, gender, name, nationality, birth_city, birth_year]
Index: []
CREATE TABLE "producer" (
"pid" int,
"gender" text,
"name" text,
"nationality" text,
"birth_city" text,
"birth_year" int,
primary key("pid")
)
3 rows from producer table:
Empty DataFrame
Columns: [pid, gender, name, nationality, birth_city, birth_year]
Index: []
CREATE TABLE "directed_by" (
"id" int,
"msid" int,
"did" int,
primary key("id"),
foreign key("msid") references `copyright`("msid"),
foreign key("did") references `director`("did")
)
3 rows from directed_by table:
Empty DataFrame
Columns: [id, msid, did]
Index: []
CREATE TABLE "keyword" (
"id" int,
"keyword" text,
primary key("id")
)
3 rows from keyword table:
Empty DataFrame
Columns: [id, keyword]
Index: []
CREATE TABLE "made_by" (
"id" int,
"msid" int,
"pid" int,
primary key("id"),
foreign key("msid") references `copyright`("msid"),
foreign key("pid") references `producer`("pid")
)
3 rows from made_by table:
Empty DataFrame
Columns: [id, msid, pid]
Index: []
CREATE TABLE "movie" (
"mid" int,
"title" text,
"release_year" int,
"title_aka" text,
"budget" text,
primary key("mid")
)
3 rows from movie table:
Empty DataFrame
Columns: [mid, title, release_year, title_aka, budget]
Index: []
CREATE TABLE "tags" (
"id" int,
"msid" int,
"kid" int,
primary key("id"),
foreign key("msid") references `copyright`("msid"),
foreign key("kid") references `keyword`("kid")
)
3 rows from tags table:
Empty DataFrame
Columns: [id, msid, kid]
Index: []
CREATE TABLE "tv_series" (
"sid" int,
"title" text,
"release_year" int,
"num_of_seasons" int,
"num_of_episodes" int,
"title_aka" text,
"budget" text,
primary key("sid")
)
3 rows from tv_series table:
Empty DataFrame
Columns: [sid, title, release_year, num_of_seasons, num_of_episodes, title_aka, budget]
Index: []
CREATE TABLE "writer" (
"wid" int,
"gender" text,
"name" int,
"nationality" int,
"num_of_episodes" int,
"birth_city" text,
"birth_year" int,
primary key("wid")
)
3 rows from writer table:
Empty DataFrame
Columns: [wid, gender, name, nationality, num_of_episodes, birth_city, birth_year]
Index: []
CREATE TABLE "written_by" (
"id" int,
"msid" int,
"wid" int,
foreign key("msid") references `copyright`("msid"),
foreign key("wid") references `writer`("wid")
)
3 rows from written_by table:
Empty DataFrame
Columns: [id, msid, wid]
Index: []
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.