db_id
stringclasses
146 values
question
stringlengths
3
224
sql
stringlengths
18
577
database_schema
stringclasses
146 values
yelp
Find users whose average review rating is below 3
SELECT t2.name FROM USER AS t2 JOIN review AS t1 ON t2.user_id = t1.user_id GROUP BY t2.name HAVING AVG ( t1.rating ) < 3;
CREATE TABLE "business" ( "bid" int, "business_id" text, "name" text, "full_address" text, "city" text, "latitude" text, "longitude" text, "review_count" int, "is_open" int, "rating" real, "state" text, primary key("bid") ) 3 rows from business table: Empty DataFrame Columns: [bid, business_id, name, full_address, city, latitude, longitude, review_count, is_open, rating, state] Index: [] CREATE TABLE "category" ( "id" int, "business_id" text, "category_name" text, primary key("id"), foreign key("business_id") references `business`("business_id") ) 3 rows from category table: Empty DataFrame Columns: [id, business_id, category_name] Index: [] CREATE TABLE "user" ( "uid" int, "user_id" text, "name" text, primary key("uid") ) 3 rows from user table: Empty DataFrame Columns: [uid, user_id, name] Index: [] CREATE TABLE "checkin" ( "cid" int, "business_id" text, "count" int, "day" text, primary key("cid"), foreign key("business_id") references `business`("business_id") ) 3 rows from checkin table: Empty DataFrame Columns: [cid, business_id, count, day] Index: [] CREATE TABLE "neighbourhood" ( "id" int, "business_id" text, "neighbourhood_name" text, primary key("id"), foreign key("business_id") references `business`("business_id") ) 3 rows from neighbourhood table: Empty DataFrame Columns: [id, business_id, neighbourhood_name] Index: [] CREATE TABLE "review" ( "rid" int, "business_id" text, "user_id" text, "rating" real, "text" text, "year" int, "month" text, primary key("rid"), foreign key("business_id") references `business`("business_id"), foreign key("user_id") references `user`("user_id") ) 3 rows from review table: Empty DataFrame Columns: [rid, business_id, user_id, rating, text, year, month] Index: [] CREATE TABLE "tip" ( "tip_id" int, "business_id" text, "text" text, "user_id" text, "likes" int, "year" int, "month" text, primary key("tip_id") foreign key("business_id") references `business`("business_id"), foreign key("user_id") references `user`("user_id") ) 3 rows from tip table: Empty DataFrame Columns: [tip_id, business_id, text, user_id, likes, year, month] Index: []
yelp
Find the business with the most number of reviews in April
SELECT t1.name FROM review AS t2 JOIN business AS t1 ON t2.business_id = t1.business_id WHERE t2.month = "April" GROUP BY t1.name ORDER BY COUNT ( DISTINCT t2.text ) DESC LIMIT 1;
CREATE TABLE "business" ( "bid" int, "business_id" text, "name" text, "full_address" text, "city" text, "latitude" text, "longitude" text, "review_count" int, "is_open" int, "rating" real, "state" text, primary key("bid") ) 3 rows from business table: Empty DataFrame Columns: [bid, business_id, name, full_address, city, latitude, longitude, review_count, is_open, rating, state] Index: [] CREATE TABLE "category" ( "id" int, "business_id" text, "category_name" text, primary key("id"), foreign key("business_id") references `business`("business_id") ) 3 rows from category table: Empty DataFrame Columns: [id, business_id, category_name] Index: [] CREATE TABLE "user" ( "uid" int, "user_id" text, "name" text, primary key("uid") ) 3 rows from user table: Empty DataFrame Columns: [uid, user_id, name] Index: [] CREATE TABLE "checkin" ( "cid" int, "business_id" text, "count" int, "day" text, primary key("cid"), foreign key("business_id") references `business`("business_id") ) 3 rows from checkin table: Empty DataFrame Columns: [cid, business_id, count, day] Index: [] CREATE TABLE "neighbourhood" ( "id" int, "business_id" text, "neighbourhood_name" text, primary key("id"), foreign key("business_id") references `business`("business_id") ) 3 rows from neighbourhood table: Empty DataFrame Columns: [id, business_id, neighbourhood_name] Index: [] CREATE TABLE "review" ( "rid" int, "business_id" text, "user_id" text, "rating" real, "text" text, "year" int, "month" text, primary key("rid"), foreign key("business_id") references `business`("business_id"), foreign key("user_id") references `user`("user_id") ) 3 rows from review table: Empty DataFrame Columns: [rid, business_id, user_id, rating, text, year, month] Index: [] CREATE TABLE "tip" ( "tip_id" int, "business_id" text, "text" text, "user_id" text, "likes" int, "year" int, "month" text, primary key("tip_id") foreign key("business_id") references `business`("business_id"), foreign key("user_id") references `user`("user_id") ) 3 rows from tip table: Empty DataFrame Columns: [tip_id, business_id, text, user_id, likes, year, month] Index: []
yelp
Find the business which has the most number of categories
SELECT t1.name FROM category AS t2 JOIN business AS t1 ON t2.business_id = t1.business_id GROUP BY t1.name ORDER BY COUNT ( DISTINCT t2.category_name ) DESC LIMIT 1;
CREATE TABLE "business" ( "bid" int, "business_id" text, "name" text, "full_address" text, "city" text, "latitude" text, "longitude" text, "review_count" int, "is_open" int, "rating" real, "state" text, primary key("bid") ) 3 rows from business table: Empty DataFrame Columns: [bid, business_id, name, full_address, city, latitude, longitude, review_count, is_open, rating, state] Index: [] CREATE TABLE "category" ( "id" int, "business_id" text, "category_name" text, primary key("id"), foreign key("business_id") references `business`("business_id") ) 3 rows from category table: Empty DataFrame Columns: [id, business_id, category_name] Index: [] CREATE TABLE "user" ( "uid" int, "user_id" text, "name" text, primary key("uid") ) 3 rows from user table: Empty DataFrame Columns: [uid, user_id, name] Index: [] CREATE TABLE "checkin" ( "cid" int, "business_id" text, "count" int, "day" text, primary key("cid"), foreign key("business_id") references `business`("business_id") ) 3 rows from checkin table: Empty DataFrame Columns: [cid, business_id, count, day] Index: [] CREATE TABLE "neighbourhood" ( "id" int, "business_id" text, "neighbourhood_name" text, primary key("id"), foreign key("business_id") references `business`("business_id") ) 3 rows from neighbourhood table: Empty DataFrame Columns: [id, business_id, neighbourhood_name] Index: [] CREATE TABLE "review" ( "rid" int, "business_id" text, "user_id" text, "rating" real, "text" text, "year" int, "month" text, primary key("rid"), foreign key("business_id") references `business`("business_id"), foreign key("user_id") references `user`("user_id") ) 3 rows from review table: Empty DataFrame Columns: [rid, business_id, user_id, rating, text, year, month] Index: [] CREATE TABLE "tip" ( "tip_id" int, "business_id" text, "text" text, "user_id" text, "likes" int, "year" int, "month" text, primary key("tip_id") foreign key("business_id") references `business`("business_id"), foreign key("user_id") references `user`("user_id") ) 3 rows from tip table: Empty DataFrame Columns: [tip_id, business_id, text, user_id, likes, year, month] Index: []
academic
return me the homepage of PVLDB .
SELECT homepage FROM journal WHERE 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 homepage of " H. V. Jagadish " .
SELECT homepage FROM author WHERE 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 abstract of " Making database systems usable " .
SELECT abstract FROM publication WHERE title = "Making database systems usable";
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 year of " Making database systems usable "
SELECT YEAR FROM publication WHERE title = "Making database systems usable";
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 year of " Making database systems usable " .
SELECT YEAR FROM publication WHERE title = "Making database systems usable";
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 after 2000 .
SELECT title FROM publication WHERE 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 homepage of the VLDB conference .
SELECT homepage FROM conference WHERE 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 all the keywords .
SELECT keyword FROM keyword;
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 all the organizations .
SELECT 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 all the organizations in " North America " .
SELECT 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 homepage of " University of Michigan " .
SELECT homepage FROM organization WHERE 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 references of " Making database systems usable " .
SELECT reference_num FROM publication WHERE title = "Making database systems usable";
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 references of " Making database systems usable " .
SELECT reference_num FROM publication WHERE title = "Making database systems usable";
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 citations of " Making database systems usable " .
SELECT citation_num FROM publication WHERE title = "Making database systems usable";
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 " Making database systems usable " .
SELECT citation_num FROM publication WHERE title = "Making database systems usable";
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 more than 200 citations .
SELECT title FROM publication WHERE 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 authors who have papers in PVLDB 2010 .
SELECT t1.name FROM publication AS t4 JOIN journal AS t2 ON t4.jid = t2.jid JOIN writes AS t3 ON t3.pid = t4.pid JOIN author AS t1 ON t3.aid = t1.aid WHERE t2.name = "PVLDB" AND t4.year = 2010;
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 papers in PVLDB after 2010 .
SELECT t1.name FROM publication AS t4 JOIN journal AS t2 ON t4.jid = t2.jid JOIN writes AS t3 ON t3.pid = t4.pid JOIN author AS t1 ON t3.aid = t1.aid WHERE t2.name = "PVLDB" AND t4.year > 2010;
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 papers in VLDB conference in 2002 .
SELECT t1.name FROM publication AS t4 JOIN conference AS t2 ON t4.cid = t2.cid JOIN writes AS t3 ON t3.pid = t4.pid JOIN author AS t1 ON t3.aid = t1.aid WHERE t2.name = "VLDB" AND t4.year = 2002;
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 papers in VLDB conference before 2002 .
SELECT t1.name FROM publication AS t4 JOIN conference AS t2 ON t4.cid = t2.cid JOIN writes AS t3 ON t3.pid = t4.pid JOIN author AS t1 ON t3.aid = t1.aid WHERE t2.name = "VLDB" AND t4.year < 2002;
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 papers in VLDB conference before 2002 after 1995 .
SELECT t1.name FROM publication AS t4 JOIN conference AS t2 ON t4.cid = t2.cid JOIN writes AS t3 ON t3.pid = t4.pid JOIN author AS t1 ON t3.aid = t1.aid WHERE t2.name = "VLDB" AND t4.year < 2002 AND t4.year > 1995;
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 area of PVLDB .
SELECT t3.name FROM DOMAIN AS t3 JOIN domain_journal AS t1 ON t3.did = t1.did JOIN journal AS t2 ON t2.jid = t1.jid WHERE t2.name = "PVLDB";
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 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";
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 organization " H. V. Jagadish " is in .
SELECT t2.name FROM organization AS t2 JOIN author AS t1 ON t2.oid = t1.oid 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 conferences, which have 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";
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 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";
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 domain where " H. V. Jagadish " is focused .
SELECT t2.name FROM domain_author AS t3 JOIN author AS t1 ON t3.aid = t1.aid JOIN DOMAIN AS t2 ON t2.did = t3.did WHERE t1.name = "H. V. Jagadish";
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 of " Making database systems usable " .
SELECT t1.name FROM writes AS t2 JOIN author AS t1 ON t2.aid = t1.aid JOIN publication AS t3 ON t2.pid = t3.pid WHERE t3.title = "Making database systems usable";
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 published " Making database systems usable " .
SELECT t1.name FROM publication AS t2 JOIN conference AS t1 ON t2.cid = t1.cid WHERE t2.title = "Making database systems usable";
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 by " H. V. Jagadish " .
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";
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 on VLDB conference .
SELECT t2.title 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 papers on PVLDB .
SELECT t2.title 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 papers on PVLDB after 2000 .
SELECT 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 papers on VLDB conference after 2000 .
SELECT 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 papers by " H. V. Jagadish " on PVLDB .
SELECT t4.title FROM publication AS t4 JOIN journal AS t2 ON t4.jid = t2.jid JOIN writes AS t3 ON t3.pid = t4.pid JOIN author AS t1 ON t3.aid = t1.aid WHERE t1.name = "H. V. Jagadish" AND t2.name = "PVLDB";
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 by " H. V. Jagadish " on VLDB conference .
SELECT t4.title FROM publication AS t4 JOIN conference AS t2 ON t4.cid = t2.cid JOIN writes AS t3 ON t3.pid = t4.pid JOIN author AS t1 ON t3.aid = t1.aid WHERE t1.name = "H. V. Jagadish" AND t2.name = "VLDB";
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 by " H. V. Jagadish " after 2000 .
SELECT t3.title FROM writes AS t2 JOIN author AS t1 ON t2.aid = t1.aid JOIN publication AS t3 ON t2.pid = t3.pid WHERE t1.name = "H. V. Jagadish" AND t3.year > 2000;
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 by " H. V. Jagadish " on PVLDB after 2000 .
SELECT t4.title FROM publication AS t4 JOIN journal AS t2 ON t4.jid = t2.jid JOIN writes AS t3 ON t3.pid = t4.pid JOIN author AS t1 ON t3.aid = t1.aid WHERE t1.name = "H. V. Jagadish" AND t2.name = "PVLDB" AND t4.year > 2000;
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 by " H. V. Jagadish " on VLDB conference after 2000 .
SELECT t4.title FROM publication AS t4 JOIN conference AS t2 ON t4.cid = t2.cid JOIN writes AS t3 ON t3.pid = t4.pid JOIN author AS t1 ON t3.aid = t1.aid WHERE t1.name = "H. V. Jagadish" AND t2.name = "VLDB" AND t4.year > 2000;
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 area of the VLDB conference .
SELECT t2.name FROM domain_conference AS t3 JOIN conference AS t1 ON t3.cid = t1.cid JOIN DOMAIN AS t2 ON t2.did = t3.did WHERE t1.name = "VLDB";
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 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";
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 all the keywords in Databases area .
SELECT t1.keyword FROM DOMAIN AS t3 JOIN domain_keyword AS t2 ON t3.did = t2.did JOIN keyword AS t1 ON t1.kid = t2.kid WHERE t3.name = "Databases";
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 all the papers, which contain the keyword " Natural Language " .
SELECT t3.title FROM publication_keyword AS t2 JOIN keyword AS t1 ON t2.kid = t1.kid JOIN publication AS t3 ON t3.pid = t2.pid WHERE t1.keyword = "Natural Language";
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 of " Making database systems usable " .
SELECT t1.keyword FROM publication_keyword AS t3 JOIN keyword AS t1 ON t3.kid = t1.kid JOIN publication AS t2 ON t2.pid = t3.pid WHERE t2.title = "Making database systems usable";
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 related to " 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";
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 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";
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 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";
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 in the papers of " University of Michigan " .
SELECT t1.keyword FROM organization AS t6 JOIN author AS t2 ON t6.oid = t2.oid JOIN writes AS t4 ON t4.aid = t2.aid JOIN publication AS t5 ON t4.pid = t5.pid JOIN publication_keyword AS t3 ON t5.pid = t3.pid JOIN keyword AS t1 ON t3.kid = t1.kid WHERE t6.name = "University of Michigan";
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 of " H. V. Jagadish " containing keyword " User Study " .
SELECT t5.title FROM publication_keyword AS t3 JOIN keyword AS t1 ON t3.kid = t1.kid JOIN publication AS t5 ON t5.pid = t3.pid JOIN writes AS t4 ON t4.pid = t5.pid JOIN author AS t2 ON t4.aid = t2.aid WHERE t2.name = "H. V. Jagadish" AND t1.keyword = "User Study";
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 in PVLDB containing keyword " Keyword search " .
SELECT t4.title FROM publication_keyword AS t2 JOIN keyword AS t1 ON t2.kid = t1.kid JOIN publication AS t4 ON t4.pid = t2.pid JOIN journal AS t3 ON t4.jid = t3.jid WHERE t3.name = "PVLDB" AND t1.keyword = "Keyword search";
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 in VLDB conference containing keyword " Information Retrieval " .
SELECT t4.title FROM publication_keyword AS t3 JOIN keyword AS t1 ON t3.kid = t1.kid JOIN publication AS t4 ON t4.pid = t3.pid JOIN conference AS t2 ON t4.cid = t2.cid WHERE t2.name = "VLDB" AND t1.keyword = "Information Retrieval";
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 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";
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 all the organizations in Databases area .
SELECT t2.name FROM domain_author AS t4 JOIN author AS t1 ON t4.aid = t1.aid JOIN DOMAIN AS t3 ON t3.did = t4.did JOIN organization AS t2 ON t2.oid = t1.oid WHERE t3.name = "Databases";
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 all the organizations in Databases area located in " North America " .
SELECT t2.name FROM domain_author AS t4 JOIN author AS t1 ON t4.aid = t1.aid JOIN DOMAIN AS t3 ON t3.did = t4.did JOIN organization AS t2 ON t2.oid = t1.oid WHERE t3.name = "Databases" AND t2.continent = "North America";
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 all the researchers in " University of Michigan " .
SELECT 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 all the researchers in Databases area in " University of Michigan " .
SELECT t1.name FROM domain_author AS t4 JOIN author AS t1 ON t4.aid = t1.aid JOIN DOMAIN AS t3 ON t3.did = t4.did JOIN organization AS t2 ON t2.oid = t1.oid WHERE t3.name = "Databases" AND t2.name = "University of Michigan";
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 all the papers in " University of Michigan " .
SELECT t4.title FROM organization AS t2 JOIN author AS t1 ON t2.oid = t1.oid JOIN writes AS t3 ON t3.aid = t1.aid JOIN publication AS t4 ON t3.pid = t4.pid WHERE t2.name = "University of Michigan";
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 all the papers after 2000 in " University of Michigan " .
SELECT t4.title FROM organization AS t2 JOIN author AS t1 ON t2.oid = t1.oid JOIN writes AS t3 ON t3.aid = t1.aid JOIN publication AS t4 ON t3.pid = t4.pid WHERE t2.name = "University of Michigan" AND t4.year > 2000;
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 all the papers in VLDB conference in " University of Michigan " .
SELECT t5.title FROM organization AS t3 JOIN author AS t1 ON t3.oid = t1.oid JOIN writes AS t4 ON t4.aid = t1.aid JOIN publication AS t5 ON t4.pid = t5.pid JOIN conference AS t2 ON t5.cid = t2.cid WHERE t2.name = "VLDB" AND t3.name = "University of Michigan";
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 all the papers in PVLDB in " University of Michigan " .
SELECT t5.title FROM organization AS t2 JOIN author AS t1 ON t2.oid = t1.oid JOIN writes AS t4 ON t4.aid = t1.aid JOIN publication AS t5 ON t4.pid = t5.pid JOIN journal AS t3 ON t5.jid = t3.jid WHERE t3.name = "PVLDB" AND t2.name = "University of Michigan";
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 all the papers in PVLDB after 2000 in " University of Michigan " .
SELECT t5.title FROM organization AS t2 JOIN author AS t1 ON t2.oid = t1.oid JOIN writes AS t4 ON t4.aid = t1.aid JOIN publication AS t5 ON t4.pid = t5.pid JOIN journal AS t3 ON t5.jid = t3.jid WHERE t3.name = "PVLDB" AND t2.name = "University of Michigan" AND t5.year > 2000;
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 more than 200 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.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 paper in PVLDB with more than 200 citations .
SELECT t2.title FROM publication AS t2 JOIN journal AS t1 ON t2.jid = t1.jid WHERE t1.name = "PVLDB" AND t2.citation_num > 200;
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 more than 200 citations .
SELECT t2.title FROM publication AS t2 JOIN conference AS t1 ON t2.cid = t1.cid WHERE t1.name = "VLDB" AND t2.citation_num > 200;
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 more than 200 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" AND t3.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 papers by " H. V. Jagadish " on PVLDB with more than 200 citations .
SELECT t4.title FROM publication AS t4 JOIN journal AS t2 ON t4.jid = t2.jid JOIN writes AS t3 ON t3.pid = t4.pid JOIN author AS t1 ON t3.aid = t1.aid WHERE t1.name = "H. V. Jagadish" AND t2.name = "PVLDB" AND t4.citation_num > 200;
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 by " H. V. Jagadish " on VLDB conference with more than 200 citations .
SELECT t4.title FROM publication AS t4 JOIN conference AS t2 ON t4.cid = t2.cid JOIN writes AS t3 ON t3.pid = t4.pid JOIN author AS t1 ON t3.aid = t1.aid WHERE t1.name = "H. V. Jagadish" AND t2.name = "VLDB" AND t4.citation_num > 200;
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 more than 200 citations .
SELECT title FROM publication WHERE citation_num > 200 AND 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 paper after 2000 in Databases area with more than 200 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.citation_num > 200 AND t3.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 paper after 2000 in PVLDB with more than 200 citations .
SELECT t2.title FROM publication AS t2 JOIN journal AS t1 ON t2.jid = t1.jid WHERE t1.name = "PVLDB" AND t2.citation_num > 200 AND t2.year > 2000;
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 more than 200 citations .
SELECT t2.title FROM publication AS t2 JOIN conference AS t1 ON t2.cid = t1.cid WHERE t1.name = "VLDB" AND t2.citation_num > 200 AND t2.year > 2000;
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 conferences which have papers by " H. V. Jagadish " .
SELECT COUNT ( DISTINCT t2.name ) FROM publication AS t4 JOIN conference AS t2 ON t4.cid = t2.cid JOIN writes AS t3 ON t3.pid = t4.pid JOIN author AS t1 ON t3.aid = t1.aid WHERE t1.name = "H. V. Jagadish";
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 journals which have papers by " H. V. Jagadish " .
SELECT COUNT ( DISTINCT t2.name ) FROM publication AS t4 JOIN journal AS t2 ON t4.jid = t2.jid JOIN writes AS t3 ON t3.pid = t4.pid JOIN author AS t1 ON t3.aid = t1.aid WHERE t1.name = "H. V. Jagadish";
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 " in each year .
SELECT COUNT ( DISTINCT t3.title ) , t3.year FROM writes AS t2 JOIN author AS t1 ON t2.aid = t1.aid JOIN publication AS t3 ON t2.pid = t3.pid WHERE t1.name = "H. V. Jagadish" GROUP BY t3.year;
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 of " Making database systems usable " .
SELECT COUNT ( DISTINCT t1.name ) FROM writes AS t2 JOIN author AS t1 ON t2.aid = t1.aid JOIN publication AS t3 ON t2.pid = t3.pid WHERE t3.title = "Making database systems usable";
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 citations of " Making database systems usable " in each year .
SELECT YEAR , SUM ( citation_num ) FROM publication WHERE title = "Making database systems usable" GROUP BY 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 citations of " Making database systems usable " before 2010 .
SELECT COUNT ( DISTINCT t2.title ) FROM publication AS t3 JOIN cite AS t1 ON t3.pid = t1.cited JOIN publication AS t2 ON t2.pid = t1.citing WHERE t3.title = "Making database systems usable" AND t2.year < 2010;
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 by " H. V. Jagadish " .
SELECT COUNT ( DISTINCT t3.title ) FROM writes AS t2 JOIN author AS t1 ON t2.aid = t1.aid JOIN publication AS t3 ON t2.pid = t3.pid WHERE t1.name = "H. V. Jagadish";
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 on VLDB conference .
SELECT COUNT ( DISTINCT t2.title ) 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 number of papers on PVLDB .
SELECT COUNT ( DISTINCT t2.title ) 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 number of papers after 2000 .
SELECT COUNT ( DISTINCT title ) FROM publication WHERE 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 on PVLDB after 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 on VLDB conference after 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 number of papers by " H. V. Jagadish " on PVLDB .
SELECT COUNT ( DISTINCT t4.title ) FROM publication AS t4 JOIN journal AS t2 ON t4.jid = t2.jid JOIN writes AS t3 ON t3.pid = t4.pid JOIN author AS t1 ON t3.aid = t1.aid WHERE t1.name = "H. V. Jagadish" AND t2.name = "PVLDB";
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 by " H. V. Jagadish " on VLDB conference .
SELECT COUNT ( DISTINCT t4.title ) FROM publication AS t4 JOIN conference AS t2 ON t4.cid = t2.cid JOIN writes AS t3 ON t3.pid = t4.pid JOIN author AS t1 ON t3.aid = t1.aid WHERE t1.name = "H. V. Jagadish" AND t2.name = "VLDB";
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 by " H. V. Jagadish " after 2000 .
SELECT COUNT ( DISTINCT t3.title ) FROM writes AS t2 JOIN author AS t1 ON t2.aid = t1.aid JOIN publication AS t3 ON t2.pid = t3.pid WHERE t1.name = "H. V. Jagadish" AND t3.year > 2000;
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 by " H. V. Jagadish " on PVLDB after 2000 .
SELECT COUNT ( DISTINCT t4.title ) FROM publication AS t4 JOIN journal AS t2 ON t4.jid = t2.jid JOIN writes AS t3 ON t3.pid = t4.pid JOIN author AS t1 ON t3.aid = t1.aid WHERE t1.name = "H. V. Jagadish" AND t2.name = "PVLDB" AND t4.year > 2000;
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 by " H. V. Jagadish " on VLDB conference after 2000 .
SELECT COUNT ( DISTINCT t4.title ) FROM publication AS t4 JOIN conference AS t2 ON t4.cid = t2.cid JOIN writes AS t3 ON t3.pid = t4.pid JOIN author AS t1 ON t3.aid = t1.aid WHERE t1.name = "H. V. Jagadish" AND t2.name = "VLDB" AND t4.year > 2000;
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 keywords .
SELECT COUNT ( DISTINCT keyword ) FROM keyword;
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 keywords in Databases area .
SELECT COUNT ( DISTINCT t1.keyword ) FROM DOMAIN AS t3 JOIN domain_keyword AS t2 ON t3.did = t2.did JOIN keyword AS t1 ON t1.kid = t2.kid WHERE t3.name = "Databases";
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 which contain the keyword " Natural Language " .
SELECT COUNT ( DISTINCT t3.title ) FROM publication_keyword AS t2 JOIN keyword AS t1 ON t2.kid = t1.kid JOIN publication AS t3 ON t3.pid = t2.pid WHERE t1.keyword = "Natural Language";
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 keywords of " Making database systems usable " .
SELECT COUNT ( DISTINCT t1.keyword ) FROM publication_keyword AS t3 JOIN keyword AS t1 ON t3.kid = t1.kid JOIN publication AS t2 ON t2.pid = t3.pid WHERE t2.title = "Making database systems usable";
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 keywords related to " H. V. Jagadish " .
SELECT COUNT ( DISTINCT t1.keyword ) FROM publication_keyword AS t5 JOIN keyword AS t1 ON t5.kid = t1.kid JOIN publication AS t3 ON t3.pid = t5.pid JOIN writes AS t4 ON t4.pid = t3.pid JOIN author AS t2 ON t4.aid = t2.aid WHERE t2.name = "H. V. Jagadish";
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 keywords in VLDB conference .
SELECT COUNT ( DISTINCT t1.keyword ) FROM publication_keyword AS t4 JOIN keyword AS t1 ON t4.kid = t1.kid JOIN publication AS t3 ON t3.pid = t4.pid JOIN conference AS t2 ON t3.cid = t2.cid WHERE t2.name = "VLDB";
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 keywords in PVLDB .
SELECT COUNT ( DISTINCT t1.keyword ) FROM publication_keyword AS t4 JOIN keyword AS t1 ON t4.kid = t1.kid JOIN publication AS t2 ON t2.pid = t4.pid JOIN journal AS t3 ON t2.jid = t3.jid WHERE t3.name = "PVLDB";
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 keywords in the papers of " University of Michigan " .
SELECT COUNT ( DISTINCT t1.keyword ) FROM organization AS t6 JOIN author AS t2 ON t6.oid = t2.oid JOIN writes AS t4 ON t4.aid = t2.aid JOIN publication AS t5 ON t4.pid = t5.pid JOIN publication_keyword AS t3 ON t5.pid = t3.pid JOIN keyword AS t1 ON t3.kid = t1.kid WHERE t6.name = "University of Michigan";
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 papers of " H. V. Jagadish " containing keyword " User Study " .
SELECT COUNT ( DISTINCT t5.title ) FROM publication_keyword AS t3 JOIN keyword AS t1 ON t3.kid = t1.kid JOIN publication AS t5 ON t5.pid = t3.pid JOIN writes AS t4 ON t4.pid = t5.pid JOIN author AS t2 ON t4.aid = t2.aid WHERE t2.name = "H. V. Jagadish" AND t1.keyword = "User Study";
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: []