DDL_schema
stringlengths 263
8.16k
| query
stringlengths 18
577
| question
stringlengths 3
224
| db_id
stringlengths 3
31
|
---|---|---|---|
CREATE TABLE `venue` (
`venueId` integer NOT NULL
, `venueName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`venueId`)
)
CREATE TABLE `author` (
`authorId` integer NOT NULL
, `authorName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`authorId`)
)
CREATE TABLE `dataset` (
`datasetId` integer NOT NULL
, `datasetName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`datasetId`)
)
CREATE TABLE `journal` (
`journalId` integer NOT NULL
, `journalName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`journalId`)
)
CREATE TABLE `keyphrase` (
`keyphraseId` integer NOT NULL
, `keyphraseName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`keyphraseId`)
)
CREATE TABLE `paper` (
`paperId` integer NOT NULL
, `title` varchar(300) DEFAULT NULL
, `venueId` integer DEFAULT NULL
, `year` integer DEFAULT NULL
, `numCiting` integer DEFAULT NULL
, `numCitedBy` integer DEFAULT NULL
, `journalId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`)
, FOREIGN KEY(`journalId`) REFERENCES `journal`(`journalId`)
, FOREIGN KEY(`venueId`) REFERENCES `venue`(`venueId`)
)
CREATE TABLE `cite` (
`citingPaperId` integer NOT NULL
, `citedPaperId` integer NOT NULL
, PRIMARY KEY (`citingPaperId`,`citedPaperId`)
, FOREIGN KEY(`citedpaperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`citingpaperId`) REFERENCES `paper`(`paperId`)
)
CREATE TABLE `paperDataset` (
`paperId` integer DEFAULT NULL
, `datasetId` integer DEFAULT NULL
, PRIMARY KEY (`datasetId`, `paperId`)
)
CREATE TABLE `paperKeyphrase` (
`paperId` integer DEFAULT NULL
, `keyphraseId` integer DEFAULT NULL
, PRIMARY KEY (`keyphraseId`,`paperId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`keyphraseId`) REFERENCES `keyphrase`(`keyphraseId`)
)
CREATE TABLE `writes` (
`paperId` integer DEFAULT NULL
, `authorId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`,`authorId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`authorId`) REFERENCES `author`(`authorId`)
) | SELECT DISTINCT COUNT ( t1.paperid ) FROM venue AS t2 JOIN paper AS t1 ON t2.venueid = t1.venueid WHERE t2.venuename = "sigir"; | how many papers are published in sigir ? | scholar |
CREATE TABLE `venue` (
`venueId` integer NOT NULL
, `venueName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`venueId`)
)
CREATE TABLE `author` (
`authorId` integer NOT NULL
, `authorName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`authorId`)
)
CREATE TABLE `dataset` (
`datasetId` integer NOT NULL
, `datasetName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`datasetId`)
)
CREATE TABLE `journal` (
`journalId` integer NOT NULL
, `journalName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`journalId`)
)
CREATE TABLE `keyphrase` (
`keyphraseId` integer NOT NULL
, `keyphraseName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`keyphraseId`)
)
CREATE TABLE `paper` (
`paperId` integer NOT NULL
, `title` varchar(300) DEFAULT NULL
, `venueId` integer DEFAULT NULL
, `year` integer DEFAULT NULL
, `numCiting` integer DEFAULT NULL
, `numCitedBy` integer DEFAULT NULL
, `journalId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`)
, FOREIGN KEY(`journalId`) REFERENCES `journal`(`journalId`)
, FOREIGN KEY(`venueId`) REFERENCES `venue`(`venueId`)
)
CREATE TABLE `cite` (
`citingPaperId` integer NOT NULL
, `citedPaperId` integer NOT NULL
, PRIMARY KEY (`citingPaperId`,`citedPaperId`)
, FOREIGN KEY(`citedpaperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`citingpaperId`) REFERENCES `paper`(`paperId`)
)
CREATE TABLE `paperDataset` (
`paperId` integer DEFAULT NULL
, `datasetId` integer DEFAULT NULL
, PRIMARY KEY (`datasetId`, `paperId`)
)
CREATE TABLE `paperKeyphrase` (
`paperId` integer DEFAULT NULL
, `keyphraseId` integer DEFAULT NULL
, PRIMARY KEY (`keyphraseId`,`paperId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`keyphraseId`) REFERENCES `keyphrase`(`keyphraseId`)
)
CREATE TABLE `writes` (
`paperId` integer DEFAULT NULL
, `authorId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`,`authorId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`authorId`) REFERENCES `author`(`authorId`)
) | SELECT DISTINCT COUNT ( t1.paperid ) FROM venue AS t2 JOIN paper AS t1 ON t2.venueid = t1.venueid WHERE t2.venuename = "sigir"; | number of papers in sigir conference | scholar |
CREATE TABLE `venue` (
`venueId` integer NOT NULL
, `venueName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`venueId`)
)
CREATE TABLE `author` (
`authorId` integer NOT NULL
, `authorName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`authorId`)
)
CREATE TABLE `dataset` (
`datasetId` integer NOT NULL
, `datasetName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`datasetId`)
)
CREATE TABLE `journal` (
`journalId` integer NOT NULL
, `journalName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`journalId`)
)
CREATE TABLE `keyphrase` (
`keyphraseId` integer NOT NULL
, `keyphraseName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`keyphraseId`)
)
CREATE TABLE `paper` (
`paperId` integer NOT NULL
, `title` varchar(300) DEFAULT NULL
, `venueId` integer DEFAULT NULL
, `year` integer DEFAULT NULL
, `numCiting` integer DEFAULT NULL
, `numCitedBy` integer DEFAULT NULL
, `journalId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`)
, FOREIGN KEY(`journalId`) REFERENCES `journal`(`journalId`)
, FOREIGN KEY(`venueId`) REFERENCES `venue`(`venueId`)
)
CREATE TABLE `cite` (
`citingPaperId` integer NOT NULL
, `citedPaperId` integer NOT NULL
, PRIMARY KEY (`citingPaperId`,`citedPaperId`)
, FOREIGN KEY(`citedpaperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`citingpaperId`) REFERENCES `paper`(`paperId`)
)
CREATE TABLE `paperDataset` (
`paperId` integer DEFAULT NULL
, `datasetId` integer DEFAULT NULL
, PRIMARY KEY (`datasetId`, `paperId`)
)
CREATE TABLE `paperKeyphrase` (
`paperId` integer DEFAULT NULL
, `keyphraseId` integer DEFAULT NULL
, PRIMARY KEY (`keyphraseId`,`paperId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`keyphraseId`) REFERENCES `keyphrase`(`keyphraseId`)
)
CREATE TABLE `writes` (
`paperId` integer DEFAULT NULL
, `authorId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`,`authorId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`authorId`) REFERENCES `author`(`authorId`)
) | SELECT DISTINCT t3.citingpaperid FROM paper AS t1 JOIN cite AS t3 ON t1.paperid = t3.citedpaperid JOIN venue AS t2 ON t2.venueid = t1.venueid WHERE t2.venuename = "ACL" GROUP BY t3.citingpaperid HAVING COUNT ( DISTINCT t3.citedpaperid ) < 5; | what papers have fewer than 5 citations by ACL papers ? | scholar |
CREATE TABLE `venue` (
`venueId` integer NOT NULL
, `venueName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`venueId`)
)
CREATE TABLE `author` (
`authorId` integer NOT NULL
, `authorName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`authorId`)
)
CREATE TABLE `dataset` (
`datasetId` integer NOT NULL
, `datasetName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`datasetId`)
)
CREATE TABLE `journal` (
`journalId` integer NOT NULL
, `journalName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`journalId`)
)
CREATE TABLE `keyphrase` (
`keyphraseId` integer NOT NULL
, `keyphraseName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`keyphraseId`)
)
CREATE TABLE `paper` (
`paperId` integer NOT NULL
, `title` varchar(300) DEFAULT NULL
, `venueId` integer DEFAULT NULL
, `year` integer DEFAULT NULL
, `numCiting` integer DEFAULT NULL
, `numCitedBy` integer DEFAULT NULL
, `journalId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`)
, FOREIGN KEY(`journalId`) REFERENCES `journal`(`journalId`)
, FOREIGN KEY(`venueId`) REFERENCES `venue`(`venueId`)
)
CREATE TABLE `cite` (
`citingPaperId` integer NOT NULL
, `citedPaperId` integer NOT NULL
, PRIMARY KEY (`citingPaperId`,`citedPaperId`)
, FOREIGN KEY(`citedpaperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`citingpaperId`) REFERENCES `paper`(`paperId`)
)
CREATE TABLE `paperDataset` (
`paperId` integer DEFAULT NULL
, `datasetId` integer DEFAULT NULL
, PRIMARY KEY (`datasetId`, `paperId`)
)
CREATE TABLE `paperKeyphrase` (
`paperId` integer DEFAULT NULL
, `keyphraseId` integer DEFAULT NULL
, PRIMARY KEY (`keyphraseId`,`paperId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`keyphraseId`) REFERENCES `keyphrase`(`keyphraseId`)
)
CREATE TABLE `writes` (
`paperId` integer DEFAULT NULL
, `authorId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`,`authorId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`authorId`) REFERENCES `author`(`authorId`)
) | SELECT DISTINCT t3.citingpaperid FROM paper AS t1 JOIN cite AS t3 ON t1.paperid = t3.citedpaperid JOIN venue AS t2 ON t2.venueid = t1.venueid WHERE t2.venuename = "ACL" GROUP BY t3.citingpaperid HAVING COUNT ( DISTINCT t3.citedpaperid ) < 5; | ACL papers with less than 5 citations | scholar |
CREATE TABLE `venue` (
`venueId` integer NOT NULL
, `venueName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`venueId`)
)
CREATE TABLE `author` (
`authorId` integer NOT NULL
, `authorName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`authorId`)
)
CREATE TABLE `dataset` (
`datasetId` integer NOT NULL
, `datasetName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`datasetId`)
)
CREATE TABLE `journal` (
`journalId` integer NOT NULL
, `journalName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`journalId`)
)
CREATE TABLE `keyphrase` (
`keyphraseId` integer NOT NULL
, `keyphraseName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`keyphraseId`)
)
CREATE TABLE `paper` (
`paperId` integer NOT NULL
, `title` varchar(300) DEFAULT NULL
, `venueId` integer DEFAULT NULL
, `year` integer DEFAULT NULL
, `numCiting` integer DEFAULT NULL
, `numCitedBy` integer DEFAULT NULL
, `journalId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`)
, FOREIGN KEY(`journalId`) REFERENCES `journal`(`journalId`)
, FOREIGN KEY(`venueId`) REFERENCES `venue`(`venueId`)
)
CREATE TABLE `cite` (
`citingPaperId` integer NOT NULL
, `citedPaperId` integer NOT NULL
, PRIMARY KEY (`citingPaperId`,`citedPaperId`)
, FOREIGN KEY(`citedpaperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`citingpaperId`) REFERENCES `paper`(`paperId`)
)
CREATE TABLE `paperDataset` (
`paperId` integer DEFAULT NULL
, `datasetId` integer DEFAULT NULL
, PRIMARY KEY (`datasetId`, `paperId`)
)
CREATE TABLE `paperKeyphrase` (
`paperId` integer DEFAULT NULL
, `keyphraseId` integer DEFAULT NULL
, PRIMARY KEY (`keyphraseId`,`paperId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`keyphraseId`) REFERENCES `keyphrase`(`keyphraseId`)
)
CREATE TABLE `writes` (
`paperId` integer DEFAULT NULL
, `authorId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`,`authorId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`authorId`) REFERENCES `author`(`authorId`)
) | SELECT DISTINCT t3.citingpaperid FROM paper AS t1 JOIN cite AS t3 ON t1.paperid = t3.citedpaperid JOIN venue AS t2 ON t2.venueid = t1.venueid WHERE t2.venuename = "ACL" GROUP BY t3.citingpaperid HAVING COUNT ( DISTINCT t3.citedpaperid ) < 5; | what ACL papers have less than 5 citations ? | scholar |
CREATE TABLE `venue` (
`venueId` integer NOT NULL
, `venueName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`venueId`)
)
CREATE TABLE `author` (
`authorId` integer NOT NULL
, `authorName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`authorId`)
)
CREATE TABLE `dataset` (
`datasetId` integer NOT NULL
, `datasetName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`datasetId`)
)
CREATE TABLE `journal` (
`journalId` integer NOT NULL
, `journalName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`journalId`)
)
CREATE TABLE `keyphrase` (
`keyphraseId` integer NOT NULL
, `keyphraseName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`keyphraseId`)
)
CREATE TABLE `paper` (
`paperId` integer NOT NULL
, `title` varchar(300) DEFAULT NULL
, `venueId` integer DEFAULT NULL
, `year` integer DEFAULT NULL
, `numCiting` integer DEFAULT NULL
, `numCitedBy` integer DEFAULT NULL
, `journalId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`)
, FOREIGN KEY(`journalId`) REFERENCES `journal`(`journalId`)
, FOREIGN KEY(`venueId`) REFERENCES `venue`(`venueId`)
)
CREATE TABLE `cite` (
`citingPaperId` integer NOT NULL
, `citedPaperId` integer NOT NULL
, PRIMARY KEY (`citingPaperId`,`citedPaperId`)
, FOREIGN KEY(`citedpaperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`citingpaperId`) REFERENCES `paper`(`paperId`)
)
CREATE TABLE `paperDataset` (
`paperId` integer DEFAULT NULL
, `datasetId` integer DEFAULT NULL
, PRIMARY KEY (`datasetId`, `paperId`)
)
CREATE TABLE `paperKeyphrase` (
`paperId` integer DEFAULT NULL
, `keyphraseId` integer DEFAULT NULL
, PRIMARY KEY (`keyphraseId`,`paperId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`keyphraseId`) REFERENCES `keyphrase`(`keyphraseId`)
)
CREATE TABLE `writes` (
`paperId` integer DEFAULT NULL
, `authorId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`,`authorId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`authorId`) REFERENCES `author`(`authorId`)
) | SELECT DISTINCT t3.citingpaperid FROM paper AS t1 JOIN cite AS t3 ON t1.paperid = t3.citedpaperid JOIN venue AS t2 ON t2.venueid = t1.venueid WHERE t2.venuename = "ACL" GROUP BY t3.citingpaperid HAVING COUNT ( DISTINCT t3.citedpaperid ) < 5; | what papers have fewer than 5 citations by ACL papers | scholar |
CREATE TABLE `venue` (
`venueId` integer NOT NULL
, `venueName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`venueId`)
)
CREATE TABLE `author` (
`authorId` integer NOT NULL
, `authorName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`authorId`)
)
CREATE TABLE `dataset` (
`datasetId` integer NOT NULL
, `datasetName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`datasetId`)
)
CREATE TABLE `journal` (
`journalId` integer NOT NULL
, `journalName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`journalId`)
)
CREATE TABLE `keyphrase` (
`keyphraseId` integer NOT NULL
, `keyphraseName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`keyphraseId`)
)
CREATE TABLE `paper` (
`paperId` integer NOT NULL
, `title` varchar(300) DEFAULT NULL
, `venueId` integer DEFAULT NULL
, `year` integer DEFAULT NULL
, `numCiting` integer DEFAULT NULL
, `numCitedBy` integer DEFAULT NULL
, `journalId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`)
, FOREIGN KEY(`journalId`) REFERENCES `journal`(`journalId`)
, FOREIGN KEY(`venueId`) REFERENCES `venue`(`venueId`)
)
CREATE TABLE `cite` (
`citingPaperId` integer NOT NULL
, `citedPaperId` integer NOT NULL
, PRIMARY KEY (`citingPaperId`,`citedPaperId`)
, FOREIGN KEY(`citedpaperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`citingpaperId`) REFERENCES `paper`(`paperId`)
)
CREATE TABLE `paperDataset` (
`paperId` integer DEFAULT NULL
, `datasetId` integer DEFAULT NULL
, PRIMARY KEY (`datasetId`, `paperId`)
)
CREATE TABLE `paperKeyphrase` (
`paperId` integer DEFAULT NULL
, `keyphraseId` integer DEFAULT NULL
, PRIMARY KEY (`keyphraseId`,`paperId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`keyphraseId`) REFERENCES `keyphrase`(`keyphraseId`)
)
CREATE TABLE `writes` (
`paperId` integer DEFAULT NULL
, `authorId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`,`authorId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`authorId`) REFERENCES `author`(`authorId`)
) | SELECT DISTINCT t3.paperid , t3.year FROM writes AS t2 JOIN author AS t1 ON t2.authorid = t1.authorid JOIN paper AS t3 ON t2.paperid = t3.paperid WHERE t1.authorname = "Mirella Lapata" ORDER BY t3.year DESC LIMIT 5; | What are the 5 most recent papers of Mirella Lapata ? | scholar |
CREATE TABLE `venue` (
`venueId` integer NOT NULL
, `venueName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`venueId`)
)
CREATE TABLE `author` (
`authorId` integer NOT NULL
, `authorName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`authorId`)
)
CREATE TABLE `dataset` (
`datasetId` integer NOT NULL
, `datasetName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`datasetId`)
)
CREATE TABLE `journal` (
`journalId` integer NOT NULL
, `journalName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`journalId`)
)
CREATE TABLE `keyphrase` (
`keyphraseId` integer NOT NULL
, `keyphraseName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`keyphraseId`)
)
CREATE TABLE `paper` (
`paperId` integer NOT NULL
, `title` varchar(300) DEFAULT NULL
, `venueId` integer DEFAULT NULL
, `year` integer DEFAULT NULL
, `numCiting` integer DEFAULT NULL
, `numCitedBy` integer DEFAULT NULL
, `journalId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`)
, FOREIGN KEY(`journalId`) REFERENCES `journal`(`journalId`)
, FOREIGN KEY(`venueId`) REFERENCES `venue`(`venueId`)
)
CREATE TABLE `cite` (
`citingPaperId` integer NOT NULL
, `citedPaperId` integer NOT NULL
, PRIMARY KEY (`citingPaperId`,`citedPaperId`)
, FOREIGN KEY(`citedpaperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`citingpaperId`) REFERENCES `paper`(`paperId`)
)
CREATE TABLE `paperDataset` (
`paperId` integer DEFAULT NULL
, `datasetId` integer DEFAULT NULL
, PRIMARY KEY (`datasetId`, `paperId`)
)
CREATE TABLE `paperKeyphrase` (
`paperId` integer DEFAULT NULL
, `keyphraseId` integer DEFAULT NULL
, PRIMARY KEY (`keyphraseId`,`paperId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`keyphraseId`) REFERENCES `keyphrase`(`keyphraseId`)
)
CREATE TABLE `writes` (
`paperId` integer DEFAULT NULL
, `authorId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`,`authorId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`authorId`) REFERENCES `author`(`authorId`)
) | SELECT DISTINCT t1.paperid FROM venue AS t2 JOIN paper AS t1 ON t2.venueid = t1.venueid WHERE t1.year = 2015 AND t2.venuename = "pldi"; | What were the papers published at pldi 2015 ? | scholar |
CREATE TABLE `venue` (
`venueId` integer NOT NULL
, `venueName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`venueId`)
)
CREATE TABLE `author` (
`authorId` integer NOT NULL
, `authorName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`authorId`)
)
CREATE TABLE `dataset` (
`datasetId` integer NOT NULL
, `datasetName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`datasetId`)
)
CREATE TABLE `journal` (
`journalId` integer NOT NULL
, `journalName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`journalId`)
)
CREATE TABLE `keyphrase` (
`keyphraseId` integer NOT NULL
, `keyphraseName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`keyphraseId`)
)
CREATE TABLE `paper` (
`paperId` integer NOT NULL
, `title` varchar(300) DEFAULT NULL
, `venueId` integer DEFAULT NULL
, `year` integer DEFAULT NULL
, `numCiting` integer DEFAULT NULL
, `numCitedBy` integer DEFAULT NULL
, `journalId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`)
, FOREIGN KEY(`journalId`) REFERENCES `journal`(`journalId`)
, FOREIGN KEY(`venueId`) REFERENCES `venue`(`venueId`)
)
CREATE TABLE `cite` (
`citingPaperId` integer NOT NULL
, `citedPaperId` integer NOT NULL
, PRIMARY KEY (`citingPaperId`,`citedPaperId`)
, FOREIGN KEY(`citedpaperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`citingpaperId`) REFERENCES `paper`(`paperId`)
)
CREATE TABLE `paperDataset` (
`paperId` integer DEFAULT NULL
, `datasetId` integer DEFAULT NULL
, PRIMARY KEY (`datasetId`, `paperId`)
)
CREATE TABLE `paperKeyphrase` (
`paperId` integer DEFAULT NULL
, `keyphraseId` integer DEFAULT NULL
, PRIMARY KEY (`keyphraseId`,`paperId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`keyphraseId`) REFERENCES `keyphrase`(`keyphraseId`)
)
CREATE TABLE `writes` (
`paperId` integer DEFAULT NULL
, `authorId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`,`authorId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`authorId`) REFERENCES `author`(`authorId`)
) | SELECT DISTINCT t1.paperid FROM venue AS t2 JOIN paper AS t1 ON t2.venueid = t1.venueid WHERE t1.year = 2015 AND t2.venuename = "pldi"; | Papers from pldi 2015 conference | scholar |
CREATE TABLE `venue` (
`venueId` integer NOT NULL
, `venueName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`venueId`)
)
CREATE TABLE `author` (
`authorId` integer NOT NULL
, `authorName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`authorId`)
)
CREATE TABLE `dataset` (
`datasetId` integer NOT NULL
, `datasetName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`datasetId`)
)
CREATE TABLE `journal` (
`journalId` integer NOT NULL
, `journalName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`journalId`)
)
CREATE TABLE `keyphrase` (
`keyphraseId` integer NOT NULL
, `keyphraseName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`keyphraseId`)
)
CREATE TABLE `paper` (
`paperId` integer NOT NULL
, `title` varchar(300) DEFAULT NULL
, `venueId` integer DEFAULT NULL
, `year` integer DEFAULT NULL
, `numCiting` integer DEFAULT NULL
, `numCitedBy` integer DEFAULT NULL
, `journalId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`)
, FOREIGN KEY(`journalId`) REFERENCES `journal`(`journalId`)
, FOREIGN KEY(`venueId`) REFERENCES `venue`(`venueId`)
)
CREATE TABLE `cite` (
`citingPaperId` integer NOT NULL
, `citedPaperId` integer NOT NULL
, PRIMARY KEY (`citingPaperId`,`citedPaperId`)
, FOREIGN KEY(`citedpaperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`citingpaperId`) REFERENCES `paper`(`paperId`)
)
CREATE TABLE `paperDataset` (
`paperId` integer DEFAULT NULL
, `datasetId` integer DEFAULT NULL
, PRIMARY KEY (`datasetId`, `paperId`)
)
CREATE TABLE `paperKeyphrase` (
`paperId` integer DEFAULT NULL
, `keyphraseId` integer DEFAULT NULL
, PRIMARY KEY (`keyphraseId`,`paperId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`keyphraseId`) REFERENCES `keyphrase`(`keyphraseId`)
)
CREATE TABLE `writes` (
`paperId` integer DEFAULT NULL
, `authorId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`,`authorId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`authorId`) REFERENCES `author`(`authorId`)
) | SELECT DISTINCT t1.paperid FROM venue AS t2 JOIN paper AS t1 ON t2.venueid = t1.venueid WHERE t1.year = 2015 AND t2.venuename = "pldi"; | papers published at pldi 2015 | scholar |
CREATE TABLE `venue` (
`venueId` integer NOT NULL
, `venueName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`venueId`)
)
CREATE TABLE `author` (
`authorId` integer NOT NULL
, `authorName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`authorId`)
)
CREATE TABLE `dataset` (
`datasetId` integer NOT NULL
, `datasetName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`datasetId`)
)
CREATE TABLE `journal` (
`journalId` integer NOT NULL
, `journalName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`journalId`)
)
CREATE TABLE `keyphrase` (
`keyphraseId` integer NOT NULL
, `keyphraseName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`keyphraseId`)
)
CREATE TABLE `paper` (
`paperId` integer NOT NULL
, `title` varchar(300) DEFAULT NULL
, `venueId` integer DEFAULT NULL
, `year` integer DEFAULT NULL
, `numCiting` integer DEFAULT NULL
, `numCitedBy` integer DEFAULT NULL
, `journalId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`)
, FOREIGN KEY(`journalId`) REFERENCES `journal`(`journalId`)
, FOREIGN KEY(`venueId`) REFERENCES `venue`(`venueId`)
)
CREATE TABLE `cite` (
`citingPaperId` integer NOT NULL
, `citedPaperId` integer NOT NULL
, PRIMARY KEY (`citingPaperId`,`citedPaperId`)
, FOREIGN KEY(`citedpaperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`citingpaperId`) REFERENCES `paper`(`paperId`)
)
CREATE TABLE `paperDataset` (
`paperId` integer DEFAULT NULL
, `datasetId` integer DEFAULT NULL
, PRIMARY KEY (`datasetId`, `paperId`)
)
CREATE TABLE `paperKeyphrase` (
`paperId` integer DEFAULT NULL
, `keyphraseId` integer DEFAULT NULL
, PRIMARY KEY (`keyphraseId`,`paperId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`keyphraseId`) REFERENCES `keyphrase`(`keyphraseId`)
)
CREATE TABLE `writes` (
`paperId` integer DEFAULT NULL
, `authorId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`,`authorId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`authorId`) REFERENCES `author`(`authorId`)
) | SELECT DISTINCT t1.paperid FROM venue AS t2 JOIN paper AS t1 ON t2.venueid = t1.venueid WHERE t1.year = 2015 AND t2.venuename = "pldi"; | What are the papers from pldi 2015 ? | scholar |
CREATE TABLE `venue` (
`venueId` integer NOT NULL
, `venueName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`venueId`)
)
CREATE TABLE `author` (
`authorId` integer NOT NULL
, `authorName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`authorId`)
)
CREATE TABLE `dataset` (
`datasetId` integer NOT NULL
, `datasetName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`datasetId`)
)
CREATE TABLE `journal` (
`journalId` integer NOT NULL
, `journalName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`journalId`)
)
CREATE TABLE `keyphrase` (
`keyphraseId` integer NOT NULL
, `keyphraseName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`keyphraseId`)
)
CREATE TABLE `paper` (
`paperId` integer NOT NULL
, `title` varchar(300) DEFAULT NULL
, `venueId` integer DEFAULT NULL
, `year` integer DEFAULT NULL
, `numCiting` integer DEFAULT NULL
, `numCitedBy` integer DEFAULT NULL
, `journalId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`)
, FOREIGN KEY(`journalId`) REFERENCES `journal`(`journalId`)
, FOREIGN KEY(`venueId`) REFERENCES `venue`(`venueId`)
)
CREATE TABLE `cite` (
`citingPaperId` integer NOT NULL
, `citedPaperId` integer NOT NULL
, PRIMARY KEY (`citingPaperId`,`citedPaperId`)
, FOREIGN KEY(`citedpaperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`citingpaperId`) REFERENCES `paper`(`paperId`)
)
CREATE TABLE `paperDataset` (
`paperId` integer DEFAULT NULL
, `datasetId` integer DEFAULT NULL
, PRIMARY KEY (`datasetId`, `paperId`)
)
CREATE TABLE `paperKeyphrase` (
`paperId` integer DEFAULT NULL
, `keyphraseId` integer DEFAULT NULL
, PRIMARY KEY (`keyphraseId`,`paperId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`keyphraseId`) REFERENCES `keyphrase`(`keyphraseId`)
)
CREATE TABLE `writes` (
`paperId` integer DEFAULT NULL
, `authorId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`,`authorId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`authorId`) REFERENCES `author`(`authorId`)
) | SELECT DISTINCT t1.paperid FROM venue AS t2 JOIN paper AS t1 ON t2.venueid = t1.venueid WHERE t1.year = 2015 AND t2.venuename = "pldi"; | Papers from pldi 2015 ? | scholar |
CREATE TABLE `venue` (
`venueId` integer NOT NULL
, `venueName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`venueId`)
)
CREATE TABLE `author` (
`authorId` integer NOT NULL
, `authorName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`authorId`)
)
CREATE TABLE `dataset` (
`datasetId` integer NOT NULL
, `datasetName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`datasetId`)
)
CREATE TABLE `journal` (
`journalId` integer NOT NULL
, `journalName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`journalId`)
)
CREATE TABLE `keyphrase` (
`keyphraseId` integer NOT NULL
, `keyphraseName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`keyphraseId`)
)
CREATE TABLE `paper` (
`paperId` integer NOT NULL
, `title` varchar(300) DEFAULT NULL
, `venueId` integer DEFAULT NULL
, `year` integer DEFAULT NULL
, `numCiting` integer DEFAULT NULL
, `numCitedBy` integer DEFAULT NULL
, `journalId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`)
, FOREIGN KEY(`journalId`) REFERENCES `journal`(`journalId`)
, FOREIGN KEY(`venueId`) REFERENCES `venue`(`venueId`)
)
CREATE TABLE `cite` (
`citingPaperId` integer NOT NULL
, `citedPaperId` integer NOT NULL
, PRIMARY KEY (`citingPaperId`,`citedPaperId`)
, FOREIGN KEY(`citedpaperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`citingpaperId`) REFERENCES `paper`(`paperId`)
)
CREATE TABLE `paperDataset` (
`paperId` integer DEFAULT NULL
, `datasetId` integer DEFAULT NULL
, PRIMARY KEY (`datasetId`, `paperId`)
)
CREATE TABLE `paperKeyphrase` (
`paperId` integer DEFAULT NULL
, `keyphraseId` integer DEFAULT NULL
, PRIMARY KEY (`keyphraseId`,`paperId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`keyphraseId`) REFERENCES `keyphrase`(`keyphraseId`)
)
CREATE TABLE `writes` (
`paperId` integer DEFAULT NULL
, `authorId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`,`authorId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`authorId`) REFERENCES `author`(`authorId`)
) | SELECT DISTINCT t1.paperid FROM venue AS t2 JOIN paper AS t1 ON t2.venueid = t1.venueid WHERE t1.year = 2015 AND t2.venuename = "pldi"; | Which papers were accepted in pldi 2015 ? | scholar |
CREATE TABLE `venue` (
`venueId` integer NOT NULL
, `venueName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`venueId`)
)
CREATE TABLE `author` (
`authorId` integer NOT NULL
, `authorName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`authorId`)
)
CREATE TABLE `dataset` (
`datasetId` integer NOT NULL
, `datasetName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`datasetId`)
)
CREATE TABLE `journal` (
`journalId` integer NOT NULL
, `journalName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`journalId`)
)
CREATE TABLE `keyphrase` (
`keyphraseId` integer NOT NULL
, `keyphraseName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`keyphraseId`)
)
CREATE TABLE `paper` (
`paperId` integer NOT NULL
, `title` varchar(300) DEFAULT NULL
, `venueId` integer DEFAULT NULL
, `year` integer DEFAULT NULL
, `numCiting` integer DEFAULT NULL
, `numCitedBy` integer DEFAULT NULL
, `journalId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`)
, FOREIGN KEY(`journalId`) REFERENCES `journal`(`journalId`)
, FOREIGN KEY(`venueId`) REFERENCES `venue`(`venueId`)
)
CREATE TABLE `cite` (
`citingPaperId` integer NOT NULL
, `citedPaperId` integer NOT NULL
, PRIMARY KEY (`citingPaperId`,`citedPaperId`)
, FOREIGN KEY(`citedpaperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`citingpaperId`) REFERENCES `paper`(`paperId`)
)
CREATE TABLE `paperDataset` (
`paperId` integer DEFAULT NULL
, `datasetId` integer DEFAULT NULL
, PRIMARY KEY (`datasetId`, `paperId`)
)
CREATE TABLE `paperKeyphrase` (
`paperId` integer DEFAULT NULL
, `keyphraseId` integer DEFAULT NULL
, PRIMARY KEY (`keyphraseId`,`paperId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`keyphraseId`) REFERENCES `keyphrase`(`keyphraseId`)
)
CREATE TABLE `writes` (
`paperId` integer DEFAULT NULL
, `authorId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`,`authorId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`authorId`) REFERENCES `author`(`authorId`)
) | SELECT DISTINCT t1.paperid FROM venue AS t2 JOIN paper AS t1 ON t2.venueid = t1.venueid WHERE t1.year = 2015 AND t2.venuename = "pldi"; | What papers were published during the conference pldi 2015 ? | scholar |
CREATE TABLE `venue` (
`venueId` integer NOT NULL
, `venueName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`venueId`)
)
CREATE TABLE `author` (
`authorId` integer NOT NULL
, `authorName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`authorId`)
)
CREATE TABLE `dataset` (
`datasetId` integer NOT NULL
, `datasetName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`datasetId`)
)
CREATE TABLE `journal` (
`journalId` integer NOT NULL
, `journalName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`journalId`)
)
CREATE TABLE `keyphrase` (
`keyphraseId` integer NOT NULL
, `keyphraseName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`keyphraseId`)
)
CREATE TABLE `paper` (
`paperId` integer NOT NULL
, `title` varchar(300) DEFAULT NULL
, `venueId` integer DEFAULT NULL
, `year` integer DEFAULT NULL
, `numCiting` integer DEFAULT NULL
, `numCitedBy` integer DEFAULT NULL
, `journalId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`)
, FOREIGN KEY(`journalId`) REFERENCES `journal`(`journalId`)
, FOREIGN KEY(`venueId`) REFERENCES `venue`(`venueId`)
)
CREATE TABLE `cite` (
`citingPaperId` integer NOT NULL
, `citedPaperId` integer NOT NULL
, PRIMARY KEY (`citingPaperId`,`citedPaperId`)
, FOREIGN KEY(`citedpaperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`citingpaperId`) REFERENCES `paper`(`paperId`)
)
CREATE TABLE `paperDataset` (
`paperId` integer DEFAULT NULL
, `datasetId` integer DEFAULT NULL
, PRIMARY KEY (`datasetId`, `paperId`)
)
CREATE TABLE `paperKeyphrase` (
`paperId` integer DEFAULT NULL
, `keyphraseId` integer DEFAULT NULL
, PRIMARY KEY (`keyphraseId`,`paperId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`keyphraseId`) REFERENCES `keyphrase`(`keyphraseId`)
)
CREATE TABLE `writes` (
`paperId` integer DEFAULT NULL
, `authorId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`,`authorId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`authorId`) REFERENCES `author`(`authorId`)
) | SELECT DISTINCT t1.paperid FROM venue AS t2 JOIN paper AS t1 ON t2.venueid = t1.venueid WHERE t1.year = 2015 AND t2.venuename = "pldi"; | papers in pldi 2015 | scholar |
CREATE TABLE `venue` (
`venueId` integer NOT NULL
, `venueName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`venueId`)
)
CREATE TABLE `author` (
`authorId` integer NOT NULL
, `authorName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`authorId`)
)
CREATE TABLE `dataset` (
`datasetId` integer NOT NULL
, `datasetName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`datasetId`)
)
CREATE TABLE `journal` (
`journalId` integer NOT NULL
, `journalName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`journalId`)
)
CREATE TABLE `keyphrase` (
`keyphraseId` integer NOT NULL
, `keyphraseName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`keyphraseId`)
)
CREATE TABLE `paper` (
`paperId` integer NOT NULL
, `title` varchar(300) DEFAULT NULL
, `venueId` integer DEFAULT NULL
, `year` integer DEFAULT NULL
, `numCiting` integer DEFAULT NULL
, `numCitedBy` integer DEFAULT NULL
, `journalId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`)
, FOREIGN KEY(`journalId`) REFERENCES `journal`(`journalId`)
, FOREIGN KEY(`venueId`) REFERENCES `venue`(`venueId`)
)
CREATE TABLE `cite` (
`citingPaperId` integer NOT NULL
, `citedPaperId` integer NOT NULL
, PRIMARY KEY (`citingPaperId`,`citedPaperId`)
, FOREIGN KEY(`citedpaperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`citingpaperId`) REFERENCES `paper`(`paperId`)
)
CREATE TABLE `paperDataset` (
`paperId` integer DEFAULT NULL
, `datasetId` integer DEFAULT NULL
, PRIMARY KEY (`datasetId`, `paperId`)
)
CREATE TABLE `paperKeyphrase` (
`paperId` integer DEFAULT NULL
, `keyphraseId` integer DEFAULT NULL
, PRIMARY KEY (`keyphraseId`,`paperId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`keyphraseId`) REFERENCES `keyphrase`(`keyphraseId`)
)
CREATE TABLE `writes` (
`paperId` integer DEFAULT NULL
, `authorId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`,`authorId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`authorId`) REFERENCES `author`(`authorId`)
) | SELECT DISTINCT t1.paperid FROM venue AS t2 JOIN paper AS t1 ON t2.venueid = t1.venueid WHERE t1.year = 2015 AND t2.venuename = "pldi"; | List of papers in pldi 2015 | scholar |
CREATE TABLE `venue` (
`venueId` integer NOT NULL
, `venueName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`venueId`)
)
CREATE TABLE `author` (
`authorId` integer NOT NULL
, `authorName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`authorId`)
)
CREATE TABLE `dataset` (
`datasetId` integer NOT NULL
, `datasetName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`datasetId`)
)
CREATE TABLE `journal` (
`journalId` integer NOT NULL
, `journalName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`journalId`)
)
CREATE TABLE `keyphrase` (
`keyphraseId` integer NOT NULL
, `keyphraseName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`keyphraseId`)
)
CREATE TABLE `paper` (
`paperId` integer NOT NULL
, `title` varchar(300) DEFAULT NULL
, `venueId` integer DEFAULT NULL
, `year` integer DEFAULT NULL
, `numCiting` integer DEFAULT NULL
, `numCitedBy` integer DEFAULT NULL
, `journalId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`)
, FOREIGN KEY(`journalId`) REFERENCES `journal`(`journalId`)
, FOREIGN KEY(`venueId`) REFERENCES `venue`(`venueId`)
)
CREATE TABLE `cite` (
`citingPaperId` integer NOT NULL
, `citedPaperId` integer NOT NULL
, PRIMARY KEY (`citingPaperId`,`citedPaperId`)
, FOREIGN KEY(`citedpaperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`citingpaperId`) REFERENCES `paper`(`paperId`)
)
CREATE TABLE `paperDataset` (
`paperId` integer DEFAULT NULL
, `datasetId` integer DEFAULT NULL
, PRIMARY KEY (`datasetId`, `paperId`)
)
CREATE TABLE `paperKeyphrase` (
`paperId` integer DEFAULT NULL
, `keyphraseId` integer DEFAULT NULL
, PRIMARY KEY (`keyphraseId`,`paperId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`keyphraseId`) REFERENCES `keyphrase`(`keyphraseId`)
)
CREATE TABLE `writes` (
`paperId` integer DEFAULT NULL
, `authorId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`,`authorId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`authorId`) REFERENCES `author`(`authorId`)
) | SELECT DISTINCT t1.paperid FROM venue AS t2 JOIN paper AS t1 ON t2.venueid = t1.venueid WHERE t1.year = 2015 AND t2.venuename = "pldi"; | pldi papers in 2015 | scholar |
CREATE TABLE `venue` (
`venueId` integer NOT NULL
, `venueName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`venueId`)
)
CREATE TABLE `author` (
`authorId` integer NOT NULL
, `authorName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`authorId`)
)
CREATE TABLE `dataset` (
`datasetId` integer NOT NULL
, `datasetName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`datasetId`)
)
CREATE TABLE `journal` (
`journalId` integer NOT NULL
, `journalName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`journalId`)
)
CREATE TABLE `keyphrase` (
`keyphraseId` integer NOT NULL
, `keyphraseName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`keyphraseId`)
)
CREATE TABLE `paper` (
`paperId` integer NOT NULL
, `title` varchar(300) DEFAULT NULL
, `venueId` integer DEFAULT NULL
, `year` integer DEFAULT NULL
, `numCiting` integer DEFAULT NULL
, `numCitedBy` integer DEFAULT NULL
, `journalId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`)
, FOREIGN KEY(`journalId`) REFERENCES `journal`(`journalId`)
, FOREIGN KEY(`venueId`) REFERENCES `venue`(`venueId`)
)
CREATE TABLE `cite` (
`citingPaperId` integer NOT NULL
, `citedPaperId` integer NOT NULL
, PRIMARY KEY (`citingPaperId`,`citedPaperId`)
, FOREIGN KEY(`citedpaperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`citingpaperId`) REFERENCES `paper`(`paperId`)
)
CREATE TABLE `paperDataset` (
`paperId` integer DEFAULT NULL
, `datasetId` integer DEFAULT NULL
, PRIMARY KEY (`datasetId`, `paperId`)
)
CREATE TABLE `paperKeyphrase` (
`paperId` integer DEFAULT NULL
, `keyphraseId` integer DEFAULT NULL
, PRIMARY KEY (`keyphraseId`,`paperId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`keyphraseId`) REFERENCES `keyphrase`(`keyphraseId`)
)
CREATE TABLE `writes` (
`paperId` integer DEFAULT NULL
, `authorId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`,`authorId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`authorId`) REFERENCES `author`(`authorId`)
) | SELECT DISTINCT t1.paperid FROM venue AS t2 JOIN paper AS t1 ON t2.venueid = t1.venueid WHERE t1.year = 2015 AND t2.venuename = "pldi"; | what papers are published in pldi 2015 | scholar |
CREATE TABLE `venue` (
`venueId` integer NOT NULL
, `venueName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`venueId`)
)
CREATE TABLE `author` (
`authorId` integer NOT NULL
, `authorName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`authorId`)
)
CREATE TABLE `dataset` (
`datasetId` integer NOT NULL
, `datasetName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`datasetId`)
)
CREATE TABLE `journal` (
`journalId` integer NOT NULL
, `journalName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`journalId`)
)
CREATE TABLE `keyphrase` (
`keyphraseId` integer NOT NULL
, `keyphraseName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`keyphraseId`)
)
CREATE TABLE `paper` (
`paperId` integer NOT NULL
, `title` varchar(300) DEFAULT NULL
, `venueId` integer DEFAULT NULL
, `year` integer DEFAULT NULL
, `numCiting` integer DEFAULT NULL
, `numCitedBy` integer DEFAULT NULL
, `journalId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`)
, FOREIGN KEY(`journalId`) REFERENCES `journal`(`journalId`)
, FOREIGN KEY(`venueId`) REFERENCES `venue`(`venueId`)
)
CREATE TABLE `cite` (
`citingPaperId` integer NOT NULL
, `citedPaperId` integer NOT NULL
, PRIMARY KEY (`citingPaperId`,`citedPaperId`)
, FOREIGN KEY(`citedpaperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`citingpaperId`) REFERENCES `paper`(`paperId`)
)
CREATE TABLE `paperDataset` (
`paperId` integer DEFAULT NULL
, `datasetId` integer DEFAULT NULL
, PRIMARY KEY (`datasetId`, `paperId`)
)
CREATE TABLE `paperKeyphrase` (
`paperId` integer DEFAULT NULL
, `keyphraseId` integer DEFAULT NULL
, PRIMARY KEY (`keyphraseId`,`paperId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`keyphraseId`) REFERENCES `keyphrase`(`keyphraseId`)
)
CREATE TABLE `writes` (
`paperId` integer DEFAULT NULL
, `authorId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`,`authorId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`authorId`) REFERENCES `author`(`authorId`)
) | SELECT DISTINCT t1.paperid FROM venue AS t2 JOIN paper AS t1 ON t2.venueid = t1.venueid WHERE t1.year = 2015 AND t2.venuename = "pldi"; | papers from pldi 2015 | scholar |
CREATE TABLE `venue` (
`venueId` integer NOT NULL
, `venueName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`venueId`)
)
CREATE TABLE `author` (
`authorId` integer NOT NULL
, `authorName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`authorId`)
)
CREATE TABLE `dataset` (
`datasetId` integer NOT NULL
, `datasetName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`datasetId`)
)
CREATE TABLE `journal` (
`journalId` integer NOT NULL
, `journalName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`journalId`)
)
CREATE TABLE `keyphrase` (
`keyphraseId` integer NOT NULL
, `keyphraseName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`keyphraseId`)
)
CREATE TABLE `paper` (
`paperId` integer NOT NULL
, `title` varchar(300) DEFAULT NULL
, `venueId` integer DEFAULT NULL
, `year` integer DEFAULT NULL
, `numCiting` integer DEFAULT NULL
, `numCitedBy` integer DEFAULT NULL
, `journalId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`)
, FOREIGN KEY(`journalId`) REFERENCES `journal`(`journalId`)
, FOREIGN KEY(`venueId`) REFERENCES `venue`(`venueId`)
)
CREATE TABLE `cite` (
`citingPaperId` integer NOT NULL
, `citedPaperId` integer NOT NULL
, PRIMARY KEY (`citingPaperId`,`citedPaperId`)
, FOREIGN KEY(`citedpaperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`citingpaperId`) REFERENCES `paper`(`paperId`)
)
CREATE TABLE `paperDataset` (
`paperId` integer DEFAULT NULL
, `datasetId` integer DEFAULT NULL
, PRIMARY KEY (`datasetId`, `paperId`)
)
CREATE TABLE `paperKeyphrase` (
`paperId` integer DEFAULT NULL
, `keyphraseId` integer DEFAULT NULL
, PRIMARY KEY (`keyphraseId`,`paperId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`keyphraseId`) REFERENCES `keyphrase`(`keyphraseId`)
)
CREATE TABLE `writes` (
`paperId` integer DEFAULT NULL
, `authorId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`,`authorId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`authorId`) REFERENCES `author`(`authorId`)
) | SELECT DISTINCT t1.paperid FROM venue AS t2 JOIN paper AS t1 ON t2.venueid = t1.venueid WHERE t1.year = 2015 AND t2.venuename = "pldi"; | pldi papers 2015 | scholar |
CREATE TABLE `venue` (
`venueId` integer NOT NULL
, `venueName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`venueId`)
)
CREATE TABLE `author` (
`authorId` integer NOT NULL
, `authorName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`authorId`)
)
CREATE TABLE `dataset` (
`datasetId` integer NOT NULL
, `datasetName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`datasetId`)
)
CREATE TABLE `journal` (
`journalId` integer NOT NULL
, `journalName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`journalId`)
)
CREATE TABLE `keyphrase` (
`keyphraseId` integer NOT NULL
, `keyphraseName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`keyphraseId`)
)
CREATE TABLE `paper` (
`paperId` integer NOT NULL
, `title` varchar(300) DEFAULT NULL
, `venueId` integer DEFAULT NULL
, `year` integer DEFAULT NULL
, `numCiting` integer DEFAULT NULL
, `numCitedBy` integer DEFAULT NULL
, `journalId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`)
, FOREIGN KEY(`journalId`) REFERENCES `journal`(`journalId`)
, FOREIGN KEY(`venueId`) REFERENCES `venue`(`venueId`)
)
CREATE TABLE `cite` (
`citingPaperId` integer NOT NULL
, `citedPaperId` integer NOT NULL
, PRIMARY KEY (`citingPaperId`,`citedPaperId`)
, FOREIGN KEY(`citedpaperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`citingpaperId`) REFERENCES `paper`(`paperId`)
)
CREATE TABLE `paperDataset` (
`paperId` integer DEFAULT NULL
, `datasetId` integer DEFAULT NULL
, PRIMARY KEY (`datasetId`, `paperId`)
)
CREATE TABLE `paperKeyphrase` (
`paperId` integer DEFAULT NULL
, `keyphraseId` integer DEFAULT NULL
, PRIMARY KEY (`keyphraseId`,`paperId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`keyphraseId`) REFERENCES `keyphrase`(`keyphraseId`)
)
CREATE TABLE `writes` (
`paperId` integer DEFAULT NULL
, `authorId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`,`authorId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`authorId`) REFERENCES `author`(`authorId`)
) | SELECT DISTINCT t1.paperid FROM venue AS t2 JOIN paper AS t1 ON t2.venueid = t1.venueid WHERE t1.year = 2015 AND t2.venuename = "pldi"; | pldi 2015 conference | scholar |
CREATE TABLE `venue` (
`venueId` integer NOT NULL
, `venueName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`venueId`)
)
CREATE TABLE `author` (
`authorId` integer NOT NULL
, `authorName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`authorId`)
)
CREATE TABLE `dataset` (
`datasetId` integer NOT NULL
, `datasetName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`datasetId`)
)
CREATE TABLE `journal` (
`journalId` integer NOT NULL
, `journalName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`journalId`)
)
CREATE TABLE `keyphrase` (
`keyphraseId` integer NOT NULL
, `keyphraseName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`keyphraseId`)
)
CREATE TABLE `paper` (
`paperId` integer NOT NULL
, `title` varchar(300) DEFAULT NULL
, `venueId` integer DEFAULT NULL
, `year` integer DEFAULT NULL
, `numCiting` integer DEFAULT NULL
, `numCitedBy` integer DEFAULT NULL
, `journalId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`)
, FOREIGN KEY(`journalId`) REFERENCES `journal`(`journalId`)
, FOREIGN KEY(`venueId`) REFERENCES `venue`(`venueId`)
)
CREATE TABLE `cite` (
`citingPaperId` integer NOT NULL
, `citedPaperId` integer NOT NULL
, PRIMARY KEY (`citingPaperId`,`citedPaperId`)
, FOREIGN KEY(`citedpaperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`citingpaperId`) REFERENCES `paper`(`paperId`)
)
CREATE TABLE `paperDataset` (
`paperId` integer DEFAULT NULL
, `datasetId` integer DEFAULT NULL
, PRIMARY KEY (`datasetId`, `paperId`)
)
CREATE TABLE `paperKeyphrase` (
`paperId` integer DEFAULT NULL
, `keyphraseId` integer DEFAULT NULL
, PRIMARY KEY (`keyphraseId`,`paperId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`keyphraseId`) REFERENCES `keyphrase`(`keyphraseId`)
)
CREATE TABLE `writes` (
`paperId` integer DEFAULT NULL
, `authorId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`,`authorId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`authorId`) REFERENCES `author`(`authorId`)
) | SELECT DISTINCT t1.paperid FROM venue AS t2 JOIN paper AS t1 ON t2.venueid = t1.venueid WHERE t1.year = 2015 AND t2.venuename = "pldi"; | pldi best paper award 2015 | scholar |
CREATE TABLE `venue` (
`venueId` integer NOT NULL
, `venueName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`venueId`)
)
CREATE TABLE `author` (
`authorId` integer NOT NULL
, `authorName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`authorId`)
)
CREATE TABLE `dataset` (
`datasetId` integer NOT NULL
, `datasetName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`datasetId`)
)
CREATE TABLE `journal` (
`journalId` integer NOT NULL
, `journalName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`journalId`)
)
CREATE TABLE `keyphrase` (
`keyphraseId` integer NOT NULL
, `keyphraseName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`keyphraseId`)
)
CREATE TABLE `paper` (
`paperId` integer NOT NULL
, `title` varchar(300) DEFAULT NULL
, `venueId` integer DEFAULT NULL
, `year` integer DEFAULT NULL
, `numCiting` integer DEFAULT NULL
, `numCitedBy` integer DEFAULT NULL
, `journalId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`)
, FOREIGN KEY(`journalId`) REFERENCES `journal`(`journalId`)
, FOREIGN KEY(`venueId`) REFERENCES `venue`(`venueId`)
)
CREATE TABLE `cite` (
`citingPaperId` integer NOT NULL
, `citedPaperId` integer NOT NULL
, PRIMARY KEY (`citingPaperId`,`citedPaperId`)
, FOREIGN KEY(`citedpaperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`citingpaperId`) REFERENCES `paper`(`paperId`)
)
CREATE TABLE `paperDataset` (
`paperId` integer DEFAULT NULL
, `datasetId` integer DEFAULT NULL
, PRIMARY KEY (`datasetId`, `paperId`)
)
CREATE TABLE `paperKeyphrase` (
`paperId` integer DEFAULT NULL
, `keyphraseId` integer DEFAULT NULL
, PRIMARY KEY (`keyphraseId`,`paperId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`keyphraseId`) REFERENCES `keyphrase`(`keyphraseId`)
)
CREATE TABLE `writes` (
`paperId` integer DEFAULT NULL
, `authorId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`,`authorId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`authorId`) REFERENCES `author`(`authorId`)
) | SELECT DISTINCT t1.paperid FROM venue AS t2 JOIN paper AS t1 ON t2.venueid = t1.venueid WHERE t1.year = 2015 AND t2.venuename = "pldi"; | pldi 2015 list of papers | scholar |
CREATE TABLE `venue` (
`venueId` integer NOT NULL
, `venueName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`venueId`)
)
CREATE TABLE `author` (
`authorId` integer NOT NULL
, `authorName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`authorId`)
)
CREATE TABLE `dataset` (
`datasetId` integer NOT NULL
, `datasetName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`datasetId`)
)
CREATE TABLE `journal` (
`journalId` integer NOT NULL
, `journalName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`journalId`)
)
CREATE TABLE `keyphrase` (
`keyphraseId` integer NOT NULL
, `keyphraseName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`keyphraseId`)
)
CREATE TABLE `paper` (
`paperId` integer NOT NULL
, `title` varchar(300) DEFAULT NULL
, `venueId` integer DEFAULT NULL
, `year` integer DEFAULT NULL
, `numCiting` integer DEFAULT NULL
, `numCitedBy` integer DEFAULT NULL
, `journalId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`)
, FOREIGN KEY(`journalId`) REFERENCES `journal`(`journalId`)
, FOREIGN KEY(`venueId`) REFERENCES `venue`(`venueId`)
)
CREATE TABLE `cite` (
`citingPaperId` integer NOT NULL
, `citedPaperId` integer NOT NULL
, PRIMARY KEY (`citingPaperId`,`citedPaperId`)
, FOREIGN KEY(`citedpaperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`citingpaperId`) REFERENCES `paper`(`paperId`)
)
CREATE TABLE `paperDataset` (
`paperId` integer DEFAULT NULL
, `datasetId` integer DEFAULT NULL
, PRIMARY KEY (`datasetId`, `paperId`)
)
CREATE TABLE `paperKeyphrase` (
`paperId` integer DEFAULT NULL
, `keyphraseId` integer DEFAULT NULL
, PRIMARY KEY (`keyphraseId`,`paperId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`keyphraseId`) REFERENCES `keyphrase`(`keyphraseId`)
)
CREATE TABLE `writes` (
`paperId` integer DEFAULT NULL
, `authorId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`,`authorId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`authorId`) REFERENCES `author`(`authorId`)
) | SELECT DISTINCT journalid FROM paper WHERE YEAR = 2011 GROUP BY journalid; | List today 's journals | scholar |
CREATE TABLE `venue` (
`venueId` integer NOT NULL
, `venueName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`venueId`)
)
CREATE TABLE `author` (
`authorId` integer NOT NULL
, `authorName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`authorId`)
)
CREATE TABLE `dataset` (
`datasetId` integer NOT NULL
, `datasetName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`datasetId`)
)
CREATE TABLE `journal` (
`journalId` integer NOT NULL
, `journalName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`journalId`)
)
CREATE TABLE `keyphrase` (
`keyphraseId` integer NOT NULL
, `keyphraseName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`keyphraseId`)
)
CREATE TABLE `paper` (
`paperId` integer NOT NULL
, `title` varchar(300) DEFAULT NULL
, `venueId` integer DEFAULT NULL
, `year` integer DEFAULT NULL
, `numCiting` integer DEFAULT NULL
, `numCitedBy` integer DEFAULT NULL
, `journalId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`)
, FOREIGN KEY(`journalId`) REFERENCES `journal`(`journalId`)
, FOREIGN KEY(`venueId`) REFERENCES `venue`(`venueId`)
)
CREATE TABLE `cite` (
`citingPaperId` integer NOT NULL
, `citedPaperId` integer NOT NULL
, PRIMARY KEY (`citingPaperId`,`citedPaperId`)
, FOREIGN KEY(`citedpaperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`citingpaperId`) REFERENCES `paper`(`paperId`)
)
CREATE TABLE `paperDataset` (
`paperId` integer DEFAULT NULL
, `datasetId` integer DEFAULT NULL
, PRIMARY KEY (`datasetId`, `paperId`)
)
CREATE TABLE `paperKeyphrase` (
`paperId` integer DEFAULT NULL
, `keyphraseId` integer DEFAULT NULL
, PRIMARY KEY (`keyphraseId`,`paperId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`keyphraseId`) REFERENCES `keyphrase`(`keyphraseId`)
)
CREATE TABLE `writes` (
`paperId` integer DEFAULT NULL
, `authorId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`,`authorId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`authorId`) REFERENCES `author`(`authorId`)
) | SELECT DISTINCT journalid FROM paper WHERE YEAR = 2011 GROUP BY journalid; | List the journals published in March , 2011 | scholar |
CREATE TABLE `venue` (
`venueId` integer NOT NULL
, `venueName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`venueId`)
)
CREATE TABLE `author` (
`authorId` integer NOT NULL
, `authorName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`authorId`)
)
CREATE TABLE `dataset` (
`datasetId` integer NOT NULL
, `datasetName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`datasetId`)
)
CREATE TABLE `journal` (
`journalId` integer NOT NULL
, `journalName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`journalId`)
)
CREATE TABLE `keyphrase` (
`keyphraseId` integer NOT NULL
, `keyphraseName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`keyphraseId`)
)
CREATE TABLE `paper` (
`paperId` integer NOT NULL
, `title` varchar(300) DEFAULT NULL
, `venueId` integer DEFAULT NULL
, `year` integer DEFAULT NULL
, `numCiting` integer DEFAULT NULL
, `numCitedBy` integer DEFAULT NULL
, `journalId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`)
, FOREIGN KEY(`journalId`) REFERENCES `journal`(`journalId`)
, FOREIGN KEY(`venueId`) REFERENCES `venue`(`venueId`)
)
CREATE TABLE `cite` (
`citingPaperId` integer NOT NULL
, `citedPaperId` integer NOT NULL
, PRIMARY KEY (`citingPaperId`,`citedPaperId`)
, FOREIGN KEY(`citedpaperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`citingpaperId`) REFERENCES `paper`(`paperId`)
)
CREATE TABLE `paperDataset` (
`paperId` integer DEFAULT NULL
, `datasetId` integer DEFAULT NULL
, PRIMARY KEY (`datasetId`, `paperId`)
)
CREATE TABLE `paperKeyphrase` (
`paperId` integer DEFAULT NULL
, `keyphraseId` integer DEFAULT NULL
, PRIMARY KEY (`keyphraseId`,`paperId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`keyphraseId`) REFERENCES `keyphrase`(`keyphraseId`)
)
CREATE TABLE `writes` (
`paperId` integer DEFAULT NULL
, `authorId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`,`authorId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`authorId`) REFERENCES `author`(`authorId`)
) | SELECT DISTINCT t1.paperid FROM venue AS t2 JOIN paper AS t1 ON t2.venueid = t1.venueid WHERE t1.title LIKE "neural attention" AND t1.year = 2016 AND t2.venuename = "ACL"; | ACL papers in 2016 with neural attention in the title | scholar |
CREATE TABLE `venue` (
`venueId` integer NOT NULL
, `venueName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`venueId`)
)
CREATE TABLE `author` (
`authorId` integer NOT NULL
, `authorName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`authorId`)
)
CREATE TABLE `dataset` (
`datasetId` integer NOT NULL
, `datasetName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`datasetId`)
)
CREATE TABLE `journal` (
`journalId` integer NOT NULL
, `journalName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`journalId`)
)
CREATE TABLE `keyphrase` (
`keyphraseId` integer NOT NULL
, `keyphraseName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`keyphraseId`)
)
CREATE TABLE `paper` (
`paperId` integer NOT NULL
, `title` varchar(300) DEFAULT NULL
, `venueId` integer DEFAULT NULL
, `year` integer DEFAULT NULL
, `numCiting` integer DEFAULT NULL
, `numCitedBy` integer DEFAULT NULL
, `journalId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`)
, FOREIGN KEY(`journalId`) REFERENCES `journal`(`journalId`)
, FOREIGN KEY(`venueId`) REFERENCES `venue`(`venueId`)
)
CREATE TABLE `cite` (
`citingPaperId` integer NOT NULL
, `citedPaperId` integer NOT NULL
, PRIMARY KEY (`citingPaperId`,`citedPaperId`)
, FOREIGN KEY(`citedpaperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`citingpaperId`) REFERENCES `paper`(`paperId`)
)
CREATE TABLE `paperDataset` (
`paperId` integer DEFAULT NULL
, `datasetId` integer DEFAULT NULL
, PRIMARY KEY (`datasetId`, `paperId`)
)
CREATE TABLE `paperKeyphrase` (
`paperId` integer DEFAULT NULL
, `keyphraseId` integer DEFAULT NULL
, PRIMARY KEY (`keyphraseId`,`paperId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`keyphraseId`) REFERENCES `keyphrase`(`keyphraseId`)
)
CREATE TABLE `writes` (
`paperId` integer DEFAULT NULL
, `authorId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`,`authorId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`authorId`) REFERENCES `author`(`authorId`)
) | SELECT DISTINCT t1.authorname FROM paperkeyphrase AS t2 JOIN keyphrase AS t4 ON t2.keyphraseid = t4.keyphraseid JOIN writes AS t3 ON t3.paperid = t2.paperid JOIN author AS t1 ON t3.authorid = t1.authorid WHERE t4.keyphrasename = "Machine Learning" GROUP BY t1.authorname ORDER BY COUNT ( DISTINCT t3.paperid ) DESC; | Who writes a lot of papers in Machine Learning ? | scholar |
CREATE TABLE `venue` (
`venueId` integer NOT NULL
, `venueName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`venueId`)
)
CREATE TABLE `author` (
`authorId` integer NOT NULL
, `authorName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`authorId`)
)
CREATE TABLE `dataset` (
`datasetId` integer NOT NULL
, `datasetName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`datasetId`)
)
CREATE TABLE `journal` (
`journalId` integer NOT NULL
, `journalName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`journalId`)
)
CREATE TABLE `keyphrase` (
`keyphraseId` integer NOT NULL
, `keyphraseName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`keyphraseId`)
)
CREATE TABLE `paper` (
`paperId` integer NOT NULL
, `title` varchar(300) DEFAULT NULL
, `venueId` integer DEFAULT NULL
, `year` integer DEFAULT NULL
, `numCiting` integer DEFAULT NULL
, `numCitedBy` integer DEFAULT NULL
, `journalId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`)
, FOREIGN KEY(`journalId`) REFERENCES `journal`(`journalId`)
, FOREIGN KEY(`venueId`) REFERENCES `venue`(`venueId`)
)
CREATE TABLE `cite` (
`citingPaperId` integer NOT NULL
, `citedPaperId` integer NOT NULL
, PRIMARY KEY (`citingPaperId`,`citedPaperId`)
, FOREIGN KEY(`citedpaperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`citingpaperId`) REFERENCES `paper`(`paperId`)
)
CREATE TABLE `paperDataset` (
`paperId` integer DEFAULT NULL
, `datasetId` integer DEFAULT NULL
, PRIMARY KEY (`datasetId`, `paperId`)
)
CREATE TABLE `paperKeyphrase` (
`paperId` integer DEFAULT NULL
, `keyphraseId` integer DEFAULT NULL
, PRIMARY KEY (`keyphraseId`,`paperId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`keyphraseId`) REFERENCES `keyphrase`(`keyphraseId`)
)
CREATE TABLE `writes` (
`paperId` integer DEFAULT NULL
, `authorId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`,`authorId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`authorId`) REFERENCES `author`(`authorId`)
) | SELECT DISTINCT t1.authorname FROM paperkeyphrase AS t2 JOIN keyphrase AS t4 ON t2.keyphraseid = t4.keyphraseid JOIN writes AS t3 ON t3.paperid = t2.paperid JOIN author AS t1 ON t3.authorid = t1.authorid WHERE t4.keyphrasename LIKE "sensor fusion"; | Who wrote sensor fusion ? | scholar |
CREATE TABLE `venue` (
`venueId` integer NOT NULL
, `venueName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`venueId`)
)
CREATE TABLE `author` (
`authorId` integer NOT NULL
, `authorName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`authorId`)
)
CREATE TABLE `dataset` (
`datasetId` integer NOT NULL
, `datasetName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`datasetId`)
)
CREATE TABLE `journal` (
`journalId` integer NOT NULL
, `journalName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`journalId`)
)
CREATE TABLE `keyphrase` (
`keyphraseId` integer NOT NULL
, `keyphraseName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`keyphraseId`)
)
CREATE TABLE `paper` (
`paperId` integer NOT NULL
, `title` varchar(300) DEFAULT NULL
, `venueId` integer DEFAULT NULL
, `year` integer DEFAULT NULL
, `numCiting` integer DEFAULT NULL
, `numCitedBy` integer DEFAULT NULL
, `journalId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`)
, FOREIGN KEY(`journalId`) REFERENCES `journal`(`journalId`)
, FOREIGN KEY(`venueId`) REFERENCES `venue`(`venueId`)
)
CREATE TABLE `cite` (
`citingPaperId` integer NOT NULL
, `citedPaperId` integer NOT NULL
, PRIMARY KEY (`citingPaperId`,`citedPaperId`)
, FOREIGN KEY(`citedpaperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`citingpaperId`) REFERENCES `paper`(`paperId`)
)
CREATE TABLE `paperDataset` (
`paperId` integer DEFAULT NULL
, `datasetId` integer DEFAULT NULL
, PRIMARY KEY (`datasetId`, `paperId`)
)
CREATE TABLE `paperKeyphrase` (
`paperId` integer DEFAULT NULL
, `keyphraseId` integer DEFAULT NULL
, PRIMARY KEY (`keyphraseId`,`paperId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`keyphraseId`) REFERENCES `keyphrase`(`keyphraseId`)
)
CREATE TABLE `writes` (
`paperId` integer DEFAULT NULL
, `authorId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`,`authorId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`authorId`) REFERENCES `author`(`authorId`)
) | SELECT DISTINCT t1.authorname FROM paperkeyphrase AS t2 JOIN keyphrase AS t4 ON t2.keyphraseid = t4.keyphraseid JOIN writes AS t3 ON t3.paperid = t2.paperid JOIN author AS t1 ON t3.authorid = t1.authorid WHERE t4.keyphrasename LIKE "sensor fusion"; | Authors of papers on sensor fusion | scholar |
CREATE TABLE `venue` (
`venueId` integer NOT NULL
, `venueName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`venueId`)
)
CREATE TABLE `author` (
`authorId` integer NOT NULL
, `authorName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`authorId`)
)
CREATE TABLE `dataset` (
`datasetId` integer NOT NULL
, `datasetName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`datasetId`)
)
CREATE TABLE `journal` (
`journalId` integer NOT NULL
, `journalName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`journalId`)
)
CREATE TABLE `keyphrase` (
`keyphraseId` integer NOT NULL
, `keyphraseName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`keyphraseId`)
)
CREATE TABLE `paper` (
`paperId` integer NOT NULL
, `title` varchar(300) DEFAULT NULL
, `venueId` integer DEFAULT NULL
, `year` integer DEFAULT NULL
, `numCiting` integer DEFAULT NULL
, `numCitedBy` integer DEFAULT NULL
, `journalId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`)
, FOREIGN KEY(`journalId`) REFERENCES `journal`(`journalId`)
, FOREIGN KEY(`venueId`) REFERENCES `venue`(`venueId`)
)
CREATE TABLE `cite` (
`citingPaperId` integer NOT NULL
, `citedPaperId` integer NOT NULL
, PRIMARY KEY (`citingPaperId`,`citedPaperId`)
, FOREIGN KEY(`citedpaperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`citingpaperId`) REFERENCES `paper`(`paperId`)
)
CREATE TABLE `paperDataset` (
`paperId` integer DEFAULT NULL
, `datasetId` integer DEFAULT NULL
, PRIMARY KEY (`datasetId`, `paperId`)
)
CREATE TABLE `paperKeyphrase` (
`paperId` integer DEFAULT NULL
, `keyphraseId` integer DEFAULT NULL
, PRIMARY KEY (`keyphraseId`,`paperId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`keyphraseId`) REFERENCES `keyphrase`(`keyphraseId`)
)
CREATE TABLE `writes` (
`paperId` integer DEFAULT NULL
, `authorId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`,`authorId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`authorId`) REFERENCES `author`(`authorId`)
) | SELECT DISTINCT t1.authorname FROM paperkeyphrase AS t2 JOIN keyphrase AS t4 ON t2.keyphraseid = t4.keyphraseid JOIN writes AS t3 ON t3.paperid = t2.paperid JOIN author AS t1 ON t3.authorid = t1.authorid WHERE t4.keyphrasename LIKE "sensor fusion"; | people working on sensor fusion | scholar |
CREATE TABLE `venue` (
`venueId` integer NOT NULL
, `venueName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`venueId`)
)
CREATE TABLE `author` (
`authorId` integer NOT NULL
, `authorName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`authorId`)
)
CREATE TABLE `dataset` (
`datasetId` integer NOT NULL
, `datasetName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`datasetId`)
)
CREATE TABLE `journal` (
`journalId` integer NOT NULL
, `journalName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`journalId`)
)
CREATE TABLE `keyphrase` (
`keyphraseId` integer NOT NULL
, `keyphraseName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`keyphraseId`)
)
CREATE TABLE `paper` (
`paperId` integer NOT NULL
, `title` varchar(300) DEFAULT NULL
, `venueId` integer DEFAULT NULL
, `year` integer DEFAULT NULL
, `numCiting` integer DEFAULT NULL
, `numCitedBy` integer DEFAULT NULL
, `journalId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`)
, FOREIGN KEY(`journalId`) REFERENCES `journal`(`journalId`)
, FOREIGN KEY(`venueId`) REFERENCES `venue`(`venueId`)
)
CREATE TABLE `cite` (
`citingPaperId` integer NOT NULL
, `citedPaperId` integer NOT NULL
, PRIMARY KEY (`citingPaperId`,`citedPaperId`)
, FOREIGN KEY(`citedpaperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`citingpaperId`) REFERENCES `paper`(`paperId`)
)
CREATE TABLE `paperDataset` (
`paperId` integer DEFAULT NULL
, `datasetId` integer DEFAULT NULL
, PRIMARY KEY (`datasetId`, `paperId`)
)
CREATE TABLE `paperKeyphrase` (
`paperId` integer DEFAULT NULL
, `keyphraseId` integer DEFAULT NULL
, PRIMARY KEY (`keyphraseId`,`paperId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`keyphraseId`) REFERENCES `keyphrase`(`keyphraseId`)
)
CREATE TABLE `writes` (
`paperId` integer DEFAULT NULL
, `authorId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`,`authorId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`authorId`) REFERENCES `author`(`authorId`)
) | SELECT DISTINCT t1.authorname FROM paperkeyphrase AS t2 JOIN keyphrase AS t4 ON t2.keyphraseid = t4.keyphraseid JOIN writes AS t3 ON t3.paperid = t2.paperid JOIN author AS t1 ON t3.authorid = t1.authorid WHERE t4.keyphrasename LIKE "sensor fusion"; | Who publishes in sensor fusion ? | scholar |
CREATE TABLE `venue` (
`venueId` integer NOT NULL
, `venueName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`venueId`)
)
CREATE TABLE `author` (
`authorId` integer NOT NULL
, `authorName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`authorId`)
)
CREATE TABLE `dataset` (
`datasetId` integer NOT NULL
, `datasetName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`datasetId`)
)
CREATE TABLE `journal` (
`journalId` integer NOT NULL
, `journalName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`journalId`)
)
CREATE TABLE `keyphrase` (
`keyphraseId` integer NOT NULL
, `keyphraseName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`keyphraseId`)
)
CREATE TABLE `paper` (
`paperId` integer NOT NULL
, `title` varchar(300) DEFAULT NULL
, `venueId` integer DEFAULT NULL
, `year` integer DEFAULT NULL
, `numCiting` integer DEFAULT NULL
, `numCitedBy` integer DEFAULT NULL
, `journalId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`)
, FOREIGN KEY(`journalId`) REFERENCES `journal`(`journalId`)
, FOREIGN KEY(`venueId`) REFERENCES `venue`(`venueId`)
)
CREATE TABLE `cite` (
`citingPaperId` integer NOT NULL
, `citedPaperId` integer NOT NULL
, PRIMARY KEY (`citingPaperId`,`citedPaperId`)
, FOREIGN KEY(`citedpaperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`citingpaperId`) REFERENCES `paper`(`paperId`)
)
CREATE TABLE `paperDataset` (
`paperId` integer DEFAULT NULL
, `datasetId` integer DEFAULT NULL
, PRIMARY KEY (`datasetId`, `paperId`)
)
CREATE TABLE `paperKeyphrase` (
`paperId` integer DEFAULT NULL
, `keyphraseId` integer DEFAULT NULL
, PRIMARY KEY (`keyphraseId`,`paperId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`keyphraseId`) REFERENCES `keyphrase`(`keyphraseId`)
)
CREATE TABLE `writes` (
`paperId` integer DEFAULT NULL
, `authorId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`,`authorId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`authorId`) REFERENCES `author`(`authorId`)
) | SELECT DISTINCT t1.authorname FROM paperkeyphrase AS t2 JOIN keyphrase AS t4 ON t2.keyphraseid = t4.keyphraseid JOIN writes AS t3 ON t3.paperid = t2.paperid JOIN author AS t1 ON t3.authorid = t1.authorid WHERE t4.keyphrasename LIKE "sensor fusion"; | who publishes papers about sensor fusion | scholar |
CREATE TABLE `venue` (
`venueId` integer NOT NULL
, `venueName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`venueId`)
)
CREATE TABLE `author` (
`authorId` integer NOT NULL
, `authorName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`authorId`)
)
CREATE TABLE `dataset` (
`datasetId` integer NOT NULL
, `datasetName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`datasetId`)
)
CREATE TABLE `journal` (
`journalId` integer NOT NULL
, `journalName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`journalId`)
)
CREATE TABLE `keyphrase` (
`keyphraseId` integer NOT NULL
, `keyphraseName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`keyphraseId`)
)
CREATE TABLE `paper` (
`paperId` integer NOT NULL
, `title` varchar(300) DEFAULT NULL
, `venueId` integer DEFAULT NULL
, `year` integer DEFAULT NULL
, `numCiting` integer DEFAULT NULL
, `numCitedBy` integer DEFAULT NULL
, `journalId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`)
, FOREIGN KEY(`journalId`) REFERENCES `journal`(`journalId`)
, FOREIGN KEY(`venueId`) REFERENCES `venue`(`venueId`)
)
CREATE TABLE `cite` (
`citingPaperId` integer NOT NULL
, `citedPaperId` integer NOT NULL
, PRIMARY KEY (`citingPaperId`,`citedPaperId`)
, FOREIGN KEY(`citedpaperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`citingpaperId`) REFERENCES `paper`(`paperId`)
)
CREATE TABLE `paperDataset` (
`paperId` integer DEFAULT NULL
, `datasetId` integer DEFAULT NULL
, PRIMARY KEY (`datasetId`, `paperId`)
)
CREATE TABLE `paperKeyphrase` (
`paperId` integer DEFAULT NULL
, `keyphraseId` integer DEFAULT NULL
, PRIMARY KEY (`keyphraseId`,`paperId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`keyphraseId`) REFERENCES `keyphrase`(`keyphraseId`)
)
CREATE TABLE `writes` (
`paperId` integer DEFAULT NULL
, `authorId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`,`authorId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`authorId`) REFERENCES `author`(`authorId`)
) | SELECT DISTINCT COUNT ( t5.citingpaperid ) FROM writes AS t3 JOIN author AS t2 ON t3.authorid = t2.authorid JOIN cite AS t5 ON t3.paperid = t5.citedpaperid JOIN writes AS t4 ON t4.paperid = t5.citingpaperid JOIN author AS t1 ON t4.authorid = t1.authorid WHERE t2.authorname = "michael i. jordan" AND t1.authorname = "dan klein"; | how many papers by dan klein are cited by michael i. jordan | scholar |
CREATE TABLE `venue` (
`venueId` integer NOT NULL
, `venueName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`venueId`)
)
CREATE TABLE `author` (
`authorId` integer NOT NULL
, `authorName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`authorId`)
)
CREATE TABLE `dataset` (
`datasetId` integer NOT NULL
, `datasetName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`datasetId`)
)
CREATE TABLE `journal` (
`journalId` integer NOT NULL
, `journalName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`journalId`)
)
CREATE TABLE `keyphrase` (
`keyphraseId` integer NOT NULL
, `keyphraseName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`keyphraseId`)
)
CREATE TABLE `paper` (
`paperId` integer NOT NULL
, `title` varchar(300) DEFAULT NULL
, `venueId` integer DEFAULT NULL
, `year` integer DEFAULT NULL
, `numCiting` integer DEFAULT NULL
, `numCitedBy` integer DEFAULT NULL
, `journalId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`)
, FOREIGN KEY(`journalId`) REFERENCES `journal`(`journalId`)
, FOREIGN KEY(`venueId`) REFERENCES `venue`(`venueId`)
)
CREATE TABLE `cite` (
`citingPaperId` integer NOT NULL
, `citedPaperId` integer NOT NULL
, PRIMARY KEY (`citingPaperId`,`citedPaperId`)
, FOREIGN KEY(`citedpaperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`citingpaperId`) REFERENCES `paper`(`paperId`)
)
CREATE TABLE `paperDataset` (
`paperId` integer DEFAULT NULL
, `datasetId` integer DEFAULT NULL
, PRIMARY KEY (`datasetId`, `paperId`)
)
CREATE TABLE `paperKeyphrase` (
`paperId` integer DEFAULT NULL
, `keyphraseId` integer DEFAULT NULL
, PRIMARY KEY (`keyphraseId`,`paperId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`keyphraseId`) REFERENCES `keyphrase`(`keyphraseId`)
)
CREATE TABLE `writes` (
`paperId` integer DEFAULT NULL
, `authorId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`,`authorId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`authorId`) REFERENCES `author`(`authorId`)
) | SELECT DISTINCT COUNT ( t5.citingpaperid ) FROM writes AS t3 JOIN author AS t2 ON t3.authorid = t2.authorid JOIN cite AS t5 ON t3.paperid = t5.citedpaperid JOIN writes AS t4 ON t4.paperid = t5.citingpaperid JOIN author AS t1 ON t4.authorid = t1.authorid WHERE t2.authorname = "michael i. jordan" AND t1.authorname = "dan klein"; | how many of dan klein 's papers cite michael i. jordan | scholar |
CREATE TABLE `venue` (
`venueId` integer NOT NULL
, `venueName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`venueId`)
)
CREATE TABLE `author` (
`authorId` integer NOT NULL
, `authorName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`authorId`)
)
CREATE TABLE `dataset` (
`datasetId` integer NOT NULL
, `datasetName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`datasetId`)
)
CREATE TABLE `journal` (
`journalId` integer NOT NULL
, `journalName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`journalId`)
)
CREATE TABLE `keyphrase` (
`keyphraseId` integer NOT NULL
, `keyphraseName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`keyphraseId`)
)
CREATE TABLE `paper` (
`paperId` integer NOT NULL
, `title` varchar(300) DEFAULT NULL
, `venueId` integer DEFAULT NULL
, `year` integer DEFAULT NULL
, `numCiting` integer DEFAULT NULL
, `numCitedBy` integer DEFAULT NULL
, `journalId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`)
, FOREIGN KEY(`journalId`) REFERENCES `journal`(`journalId`)
, FOREIGN KEY(`venueId`) REFERENCES `venue`(`venueId`)
)
CREATE TABLE `cite` (
`citingPaperId` integer NOT NULL
, `citedPaperId` integer NOT NULL
, PRIMARY KEY (`citingPaperId`,`citedPaperId`)
, FOREIGN KEY(`citedpaperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`citingpaperId`) REFERENCES `paper`(`paperId`)
)
CREATE TABLE `paperDataset` (
`paperId` integer DEFAULT NULL
, `datasetId` integer DEFAULT NULL
, PRIMARY KEY (`datasetId`, `paperId`)
)
CREATE TABLE `paperKeyphrase` (
`paperId` integer DEFAULT NULL
, `keyphraseId` integer DEFAULT NULL
, PRIMARY KEY (`keyphraseId`,`paperId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`keyphraseId`) REFERENCES `keyphrase`(`keyphraseId`)
)
CREATE TABLE `writes` (
`paperId` integer DEFAULT NULL
, `authorId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`,`authorId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`authorId`) REFERENCES `author`(`authorId`)
) | SELECT DISTINCT t5.authorid FROM writes AS t3 JOIN author AS t2 ON t3.authorid = t2.authorid JOIN writes AS t4 ON t4.paperid = t3.paperid JOIN writes AS t5 ON t5.paperid = t4.paperid JOIN author AS t1 ON t4.authorid = t1.authorid WHERE t2.authorname = "Ameet Soni" AND t1.authorname = "Ras Bodik"; | who else was on the paper with Ameet Soni and Ras Bodik ? | scholar |
CREATE TABLE `venue` (
`venueId` integer NOT NULL
, `venueName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`venueId`)
)
CREATE TABLE `author` (
`authorId` integer NOT NULL
, `authorName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`authorId`)
)
CREATE TABLE `dataset` (
`datasetId` integer NOT NULL
, `datasetName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`datasetId`)
)
CREATE TABLE `journal` (
`journalId` integer NOT NULL
, `journalName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`journalId`)
)
CREATE TABLE `keyphrase` (
`keyphraseId` integer NOT NULL
, `keyphraseName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`keyphraseId`)
)
CREATE TABLE `paper` (
`paperId` integer NOT NULL
, `title` varchar(300) DEFAULT NULL
, `venueId` integer DEFAULT NULL
, `year` integer DEFAULT NULL
, `numCiting` integer DEFAULT NULL
, `numCitedBy` integer DEFAULT NULL
, `journalId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`)
, FOREIGN KEY(`journalId`) REFERENCES `journal`(`journalId`)
, FOREIGN KEY(`venueId`) REFERENCES `venue`(`venueId`)
)
CREATE TABLE `cite` (
`citingPaperId` integer NOT NULL
, `citedPaperId` integer NOT NULL
, PRIMARY KEY (`citingPaperId`,`citedPaperId`)
, FOREIGN KEY(`citedpaperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`citingpaperId`) REFERENCES `paper`(`paperId`)
)
CREATE TABLE `paperDataset` (
`paperId` integer DEFAULT NULL
, `datasetId` integer DEFAULT NULL
, PRIMARY KEY (`datasetId`, `paperId`)
)
CREATE TABLE `paperKeyphrase` (
`paperId` integer DEFAULT NULL
, `keyphraseId` integer DEFAULT NULL
, PRIMARY KEY (`keyphraseId`,`paperId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`keyphraseId`) REFERENCES `keyphrase`(`keyphraseId`)
)
CREATE TABLE `writes` (
`paperId` integer DEFAULT NULL
, `authorId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`,`authorId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`authorId`) REFERENCES `author`(`authorId`)
) | SELECT DISTINCT t3.paperid FROM paperdataset AS t2 JOIN dataset AS t1 ON t2.datasetid = t1.datasetid JOIN paper AS t3 ON t3.paperid = t2.paperid WHERE t1.datasetname = "ImageNet" AND t3.year = 2014; | 2014 papers using ImageNet | scholar |
CREATE TABLE `venue` (
`venueId` integer NOT NULL
, `venueName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`venueId`)
)
CREATE TABLE `author` (
`authorId` integer NOT NULL
, `authorName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`authorId`)
)
CREATE TABLE `dataset` (
`datasetId` integer NOT NULL
, `datasetName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`datasetId`)
)
CREATE TABLE `journal` (
`journalId` integer NOT NULL
, `journalName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`journalId`)
)
CREATE TABLE `keyphrase` (
`keyphraseId` integer NOT NULL
, `keyphraseName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`keyphraseId`)
)
CREATE TABLE `paper` (
`paperId` integer NOT NULL
, `title` varchar(300) DEFAULT NULL
, `venueId` integer DEFAULT NULL
, `year` integer DEFAULT NULL
, `numCiting` integer DEFAULT NULL
, `numCitedBy` integer DEFAULT NULL
, `journalId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`)
, FOREIGN KEY(`journalId`) REFERENCES `journal`(`journalId`)
, FOREIGN KEY(`venueId`) REFERENCES `venue`(`venueId`)
)
CREATE TABLE `cite` (
`citingPaperId` integer NOT NULL
, `citedPaperId` integer NOT NULL
, PRIMARY KEY (`citingPaperId`,`citedPaperId`)
, FOREIGN KEY(`citedpaperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`citingpaperId`) REFERENCES `paper`(`paperId`)
)
CREATE TABLE `paperDataset` (
`paperId` integer DEFAULT NULL
, `datasetId` integer DEFAULT NULL
, PRIMARY KEY (`datasetId`, `paperId`)
)
CREATE TABLE `paperKeyphrase` (
`paperId` integer DEFAULT NULL
, `keyphraseId` integer DEFAULT NULL
, PRIMARY KEY (`keyphraseId`,`paperId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`keyphraseId`) REFERENCES `keyphrase`(`keyphraseId`)
)
CREATE TABLE `writes` (
`paperId` integer DEFAULT NULL
, `authorId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`,`authorId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`authorId`) REFERENCES `author`(`authorId`)
) | SELECT DISTINCT t3.journalid FROM writes AS t2 JOIN author AS t1 ON t2.authorid = t1.authorid JOIN paper AS t3 ON t2.paperid = t3.paperid WHERE t1.authorname = "Takashi Matsumoto" GROUP BY t3.journalid; | What journals are Takashi Matsumoto 's articles published in ? | scholar |
CREATE TABLE `venue` (
`venueId` integer NOT NULL
, `venueName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`venueId`)
)
CREATE TABLE `author` (
`authorId` integer NOT NULL
, `authorName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`authorId`)
)
CREATE TABLE `dataset` (
`datasetId` integer NOT NULL
, `datasetName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`datasetId`)
)
CREATE TABLE `journal` (
`journalId` integer NOT NULL
, `journalName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`journalId`)
)
CREATE TABLE `keyphrase` (
`keyphraseId` integer NOT NULL
, `keyphraseName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`keyphraseId`)
)
CREATE TABLE `paper` (
`paperId` integer NOT NULL
, `title` varchar(300) DEFAULT NULL
, `venueId` integer DEFAULT NULL
, `year` integer DEFAULT NULL
, `numCiting` integer DEFAULT NULL
, `numCitedBy` integer DEFAULT NULL
, `journalId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`)
, FOREIGN KEY(`journalId`) REFERENCES `journal`(`journalId`)
, FOREIGN KEY(`venueId`) REFERENCES `venue`(`venueId`)
)
CREATE TABLE `cite` (
`citingPaperId` integer NOT NULL
, `citedPaperId` integer NOT NULL
, PRIMARY KEY (`citingPaperId`,`citedPaperId`)
, FOREIGN KEY(`citedpaperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`citingpaperId`) REFERENCES `paper`(`paperId`)
)
CREATE TABLE `paperDataset` (
`paperId` integer DEFAULT NULL
, `datasetId` integer DEFAULT NULL
, PRIMARY KEY (`datasetId`, `paperId`)
)
CREATE TABLE `paperKeyphrase` (
`paperId` integer DEFAULT NULL
, `keyphraseId` integer DEFAULT NULL
, PRIMARY KEY (`keyphraseId`,`paperId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`keyphraseId`) REFERENCES `keyphrase`(`keyphraseId`)
)
CREATE TABLE `writes` (
`paperId` integer DEFAULT NULL
, `authorId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`,`authorId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`authorId`) REFERENCES `author`(`authorId`)
) | SELECT DISTINCT t3.journalid FROM writes AS t2 JOIN author AS t1 ON t2.authorid = t1.authorid JOIN paper AS t3 ON t2.paperid = t3.paperid WHERE t1.authorname = "Takashi Matsumoto" GROUP BY t3.journalid; | What journals has Takashi Matsumoto published in ? | scholar |
CREATE TABLE `venue` (
`venueId` integer NOT NULL
, `venueName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`venueId`)
)
CREATE TABLE `author` (
`authorId` integer NOT NULL
, `authorName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`authorId`)
)
CREATE TABLE `dataset` (
`datasetId` integer NOT NULL
, `datasetName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`datasetId`)
)
CREATE TABLE `journal` (
`journalId` integer NOT NULL
, `journalName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`journalId`)
)
CREATE TABLE `keyphrase` (
`keyphraseId` integer NOT NULL
, `keyphraseName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`keyphraseId`)
)
CREATE TABLE `paper` (
`paperId` integer NOT NULL
, `title` varchar(300) DEFAULT NULL
, `venueId` integer DEFAULT NULL
, `year` integer DEFAULT NULL
, `numCiting` integer DEFAULT NULL
, `numCitedBy` integer DEFAULT NULL
, `journalId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`)
, FOREIGN KEY(`journalId`) REFERENCES `journal`(`journalId`)
, FOREIGN KEY(`venueId`) REFERENCES `venue`(`venueId`)
)
CREATE TABLE `cite` (
`citingPaperId` integer NOT NULL
, `citedPaperId` integer NOT NULL
, PRIMARY KEY (`citingPaperId`,`citedPaperId`)
, FOREIGN KEY(`citedpaperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`citingpaperId`) REFERENCES `paper`(`paperId`)
)
CREATE TABLE `paperDataset` (
`paperId` integer DEFAULT NULL
, `datasetId` integer DEFAULT NULL
, PRIMARY KEY (`datasetId`, `paperId`)
)
CREATE TABLE `paperKeyphrase` (
`paperId` integer DEFAULT NULL
, `keyphraseId` integer DEFAULT NULL
, PRIMARY KEY (`keyphraseId`,`paperId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`keyphraseId`) REFERENCES `keyphrase`(`keyphraseId`)
)
CREATE TABLE `writes` (
`paperId` integer DEFAULT NULL
, `authorId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`,`authorId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`authorId`) REFERENCES `author`(`authorId`)
) | SELECT DISTINCT t3.journalid FROM writes AS t2 JOIN author AS t1 ON t2.authorid = t1.authorid JOIN paper AS t3 ON t2.paperid = t3.paperid WHERE t1.authorname = "Takashi Matsumoto" GROUP BY t3.journalid; | In what scholarly journals does Takashi Matsumoto publish ? | scholar |
CREATE TABLE `venue` (
`venueId` integer NOT NULL
, `venueName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`venueId`)
)
CREATE TABLE `author` (
`authorId` integer NOT NULL
, `authorName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`authorId`)
)
CREATE TABLE `dataset` (
`datasetId` integer NOT NULL
, `datasetName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`datasetId`)
)
CREATE TABLE `journal` (
`journalId` integer NOT NULL
, `journalName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`journalId`)
)
CREATE TABLE `keyphrase` (
`keyphraseId` integer NOT NULL
, `keyphraseName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`keyphraseId`)
)
CREATE TABLE `paper` (
`paperId` integer NOT NULL
, `title` varchar(300) DEFAULT NULL
, `venueId` integer DEFAULT NULL
, `year` integer DEFAULT NULL
, `numCiting` integer DEFAULT NULL
, `numCitedBy` integer DEFAULT NULL
, `journalId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`)
, FOREIGN KEY(`journalId`) REFERENCES `journal`(`journalId`)
, FOREIGN KEY(`venueId`) REFERENCES `venue`(`venueId`)
)
CREATE TABLE `cite` (
`citingPaperId` integer NOT NULL
, `citedPaperId` integer NOT NULL
, PRIMARY KEY (`citingPaperId`,`citedPaperId`)
, FOREIGN KEY(`citedpaperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`citingpaperId`) REFERENCES `paper`(`paperId`)
)
CREATE TABLE `paperDataset` (
`paperId` integer DEFAULT NULL
, `datasetId` integer DEFAULT NULL
, PRIMARY KEY (`datasetId`, `paperId`)
)
CREATE TABLE `paperKeyphrase` (
`paperId` integer DEFAULT NULL
, `keyphraseId` integer DEFAULT NULL
, PRIMARY KEY (`keyphraseId`,`paperId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`keyphraseId`) REFERENCES `keyphrase`(`keyphraseId`)
)
CREATE TABLE `writes` (
`paperId` integer DEFAULT NULL
, `authorId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`,`authorId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`authorId`) REFERENCES `author`(`authorId`)
) | SELECT DISTINCT t3.authorid FROM paperkeyphrase AS t1 JOIN keyphrase AS t2 ON t1.keyphraseid = t2.keyphraseid JOIN paper AS t4 ON t4.paperid = t1.paperid JOIN writes AS t3 ON t3.paperid = t4.paperid JOIN author AS t5 ON t3.authorid = t5.authorid WHERE t2.keyphrasename = "Bacterial Wilt" AND t4.year = 2016; | What authors wrote papers about Bacterial Wilt in 2016 ? | scholar |
CREATE TABLE `venue` (
`venueId` integer NOT NULL
, `venueName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`venueId`)
)
CREATE TABLE `author` (
`authorId` integer NOT NULL
, `authorName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`authorId`)
)
CREATE TABLE `dataset` (
`datasetId` integer NOT NULL
, `datasetName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`datasetId`)
)
CREATE TABLE `journal` (
`journalId` integer NOT NULL
, `journalName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`journalId`)
)
CREATE TABLE `keyphrase` (
`keyphraseId` integer NOT NULL
, `keyphraseName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`keyphraseId`)
)
CREATE TABLE `paper` (
`paperId` integer NOT NULL
, `title` varchar(300) DEFAULT NULL
, `venueId` integer DEFAULT NULL
, `year` integer DEFAULT NULL
, `numCiting` integer DEFAULT NULL
, `numCitedBy` integer DEFAULT NULL
, `journalId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`)
, FOREIGN KEY(`journalId`) REFERENCES `journal`(`journalId`)
, FOREIGN KEY(`venueId`) REFERENCES `venue`(`venueId`)
)
CREATE TABLE `cite` (
`citingPaperId` integer NOT NULL
, `citedPaperId` integer NOT NULL
, PRIMARY KEY (`citingPaperId`,`citedPaperId`)
, FOREIGN KEY(`citedpaperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`citingpaperId`) REFERENCES `paper`(`paperId`)
)
CREATE TABLE `paperDataset` (
`paperId` integer DEFAULT NULL
, `datasetId` integer DEFAULT NULL
, PRIMARY KEY (`datasetId`, `paperId`)
)
CREATE TABLE `paperKeyphrase` (
`paperId` integer DEFAULT NULL
, `keyphraseId` integer DEFAULT NULL
, PRIMARY KEY (`keyphraseId`,`paperId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`keyphraseId`) REFERENCES `keyphrase`(`keyphraseId`)
)
CREATE TABLE `writes` (
`paperId` integer DEFAULT NULL
, `authorId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`,`authorId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`authorId`) REFERENCES `author`(`authorId`)
) | SELECT DISTINCT t3.authorid FROM paperkeyphrase AS t1 JOIN keyphrase AS t2 ON t1.keyphraseid = t2.keyphraseid JOIN paper AS t4 ON t4.paperid = t1.paperid JOIN writes AS t3 ON t3.paperid = t4.paperid JOIN author AS t5 ON t3.authorid = t5.authorid WHERE t2.keyphrasename = "Bacterial Wilt" AND t4.year = 2016; | Who wrote on the topic of Bacterial Wilt in 2016 ? | scholar |
CREATE TABLE `venue` (
`venueId` integer NOT NULL
, `venueName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`venueId`)
)
CREATE TABLE `author` (
`authorId` integer NOT NULL
, `authorName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`authorId`)
)
CREATE TABLE `dataset` (
`datasetId` integer NOT NULL
, `datasetName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`datasetId`)
)
CREATE TABLE `journal` (
`journalId` integer NOT NULL
, `journalName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`journalId`)
)
CREATE TABLE `keyphrase` (
`keyphraseId` integer NOT NULL
, `keyphraseName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`keyphraseId`)
)
CREATE TABLE `paper` (
`paperId` integer NOT NULL
, `title` varchar(300) DEFAULT NULL
, `venueId` integer DEFAULT NULL
, `year` integer DEFAULT NULL
, `numCiting` integer DEFAULT NULL
, `numCitedBy` integer DEFAULT NULL
, `journalId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`)
, FOREIGN KEY(`journalId`) REFERENCES `journal`(`journalId`)
, FOREIGN KEY(`venueId`) REFERENCES `venue`(`venueId`)
)
CREATE TABLE `cite` (
`citingPaperId` integer NOT NULL
, `citedPaperId` integer NOT NULL
, PRIMARY KEY (`citingPaperId`,`citedPaperId`)
, FOREIGN KEY(`citedpaperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`citingpaperId`) REFERENCES `paper`(`paperId`)
)
CREATE TABLE `paperDataset` (
`paperId` integer DEFAULT NULL
, `datasetId` integer DEFAULT NULL
, PRIMARY KEY (`datasetId`, `paperId`)
)
CREATE TABLE `paperKeyphrase` (
`paperId` integer DEFAULT NULL
, `keyphraseId` integer DEFAULT NULL
, PRIMARY KEY (`keyphraseId`,`paperId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`keyphraseId`) REFERENCES `keyphrase`(`keyphraseId`)
)
CREATE TABLE `writes` (
`paperId` integer DEFAULT NULL
, `authorId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`,`authorId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`authorId`) REFERENCES `author`(`authorId`)
) | SELECT DISTINCT t3.year FROM writes AS t2 JOIN author AS t1 ON t2.authorid = t1.authorid JOIN paper AS t3 ON t2.paperid = t3.paperid WHERE t1.authorname = "Luke S Zettlemoyer" ORDER BY t3.year; | When did Luke S Zettlemoyer publish ? | scholar |
CREATE TABLE `venue` (
`venueId` integer NOT NULL
, `venueName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`venueId`)
)
CREATE TABLE `author` (
`authorId` integer NOT NULL
, `authorName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`authorId`)
)
CREATE TABLE `dataset` (
`datasetId` integer NOT NULL
, `datasetName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`datasetId`)
)
CREATE TABLE `journal` (
`journalId` integer NOT NULL
, `journalName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`journalId`)
)
CREATE TABLE `keyphrase` (
`keyphraseId` integer NOT NULL
, `keyphraseName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`keyphraseId`)
)
CREATE TABLE `paper` (
`paperId` integer NOT NULL
, `title` varchar(300) DEFAULT NULL
, `venueId` integer DEFAULT NULL
, `year` integer DEFAULT NULL
, `numCiting` integer DEFAULT NULL
, `numCitedBy` integer DEFAULT NULL
, `journalId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`)
, FOREIGN KEY(`journalId`) REFERENCES `journal`(`journalId`)
, FOREIGN KEY(`venueId`) REFERENCES `venue`(`venueId`)
)
CREATE TABLE `cite` (
`citingPaperId` integer NOT NULL
, `citedPaperId` integer NOT NULL
, PRIMARY KEY (`citingPaperId`,`citedPaperId`)
, FOREIGN KEY(`citedpaperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`citingpaperId`) REFERENCES `paper`(`paperId`)
)
CREATE TABLE `paperDataset` (
`paperId` integer DEFAULT NULL
, `datasetId` integer DEFAULT NULL
, PRIMARY KEY (`datasetId`, `paperId`)
)
CREATE TABLE `paperKeyphrase` (
`paperId` integer DEFAULT NULL
, `keyphraseId` integer DEFAULT NULL
, PRIMARY KEY (`keyphraseId`,`paperId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`keyphraseId`) REFERENCES `keyphrase`(`keyphraseId`)
)
CREATE TABLE `writes` (
`paperId` integer DEFAULT NULL
, `authorId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`,`authorId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`authorId`) REFERENCES `author`(`authorId`)
) | SELECT DISTINCT t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid WHERE t1.keyphrasename = "question answering" AND t3.year = 2016; | question answering 2016 papers | scholar |
CREATE TABLE `venue` (
`venueId` integer NOT NULL
, `venueName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`venueId`)
)
CREATE TABLE `author` (
`authorId` integer NOT NULL
, `authorName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`authorId`)
)
CREATE TABLE `dataset` (
`datasetId` integer NOT NULL
, `datasetName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`datasetId`)
)
CREATE TABLE `journal` (
`journalId` integer NOT NULL
, `journalName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`journalId`)
)
CREATE TABLE `keyphrase` (
`keyphraseId` integer NOT NULL
, `keyphraseName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`keyphraseId`)
)
CREATE TABLE `paper` (
`paperId` integer NOT NULL
, `title` varchar(300) DEFAULT NULL
, `venueId` integer DEFAULT NULL
, `year` integer DEFAULT NULL
, `numCiting` integer DEFAULT NULL
, `numCitedBy` integer DEFAULT NULL
, `journalId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`)
, FOREIGN KEY(`journalId`) REFERENCES `journal`(`journalId`)
, FOREIGN KEY(`venueId`) REFERENCES `venue`(`venueId`)
)
CREATE TABLE `cite` (
`citingPaperId` integer NOT NULL
, `citedPaperId` integer NOT NULL
, PRIMARY KEY (`citingPaperId`,`citedPaperId`)
, FOREIGN KEY(`citedpaperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`citingpaperId`) REFERENCES `paper`(`paperId`)
)
CREATE TABLE `paperDataset` (
`paperId` integer DEFAULT NULL
, `datasetId` integer DEFAULT NULL
, PRIMARY KEY (`datasetId`, `paperId`)
)
CREATE TABLE `paperKeyphrase` (
`paperId` integer DEFAULT NULL
, `keyphraseId` integer DEFAULT NULL
, PRIMARY KEY (`keyphraseId`,`paperId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`keyphraseId`) REFERENCES `keyphrase`(`keyphraseId`)
)
CREATE TABLE `writes` (
`paperId` integer DEFAULT NULL
, `authorId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`,`authorId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`authorId`) REFERENCES `author`(`authorId`)
) | SELECT DISTINCT t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid WHERE t1.keyphrasename = "question answering" AND t3.year = 2016; | What papers were written on question answering in 2016 ? | scholar |
CREATE TABLE `venue` (
`venueId` integer NOT NULL
, `venueName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`venueId`)
)
CREATE TABLE `author` (
`authorId` integer NOT NULL
, `authorName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`authorId`)
)
CREATE TABLE `dataset` (
`datasetId` integer NOT NULL
, `datasetName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`datasetId`)
)
CREATE TABLE `journal` (
`journalId` integer NOT NULL
, `journalName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`journalId`)
)
CREATE TABLE `keyphrase` (
`keyphraseId` integer NOT NULL
, `keyphraseName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`keyphraseId`)
)
CREATE TABLE `paper` (
`paperId` integer NOT NULL
, `title` varchar(300) DEFAULT NULL
, `venueId` integer DEFAULT NULL
, `year` integer DEFAULT NULL
, `numCiting` integer DEFAULT NULL
, `numCitedBy` integer DEFAULT NULL
, `journalId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`)
, FOREIGN KEY(`journalId`) REFERENCES `journal`(`journalId`)
, FOREIGN KEY(`venueId`) REFERENCES `venue`(`venueId`)
)
CREATE TABLE `cite` (
`citingPaperId` integer NOT NULL
, `citedPaperId` integer NOT NULL
, PRIMARY KEY (`citingPaperId`,`citedPaperId`)
, FOREIGN KEY(`citedpaperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`citingpaperId`) REFERENCES `paper`(`paperId`)
)
CREATE TABLE `paperDataset` (
`paperId` integer DEFAULT NULL
, `datasetId` integer DEFAULT NULL
, PRIMARY KEY (`datasetId`, `paperId`)
)
CREATE TABLE `paperKeyphrase` (
`paperId` integer DEFAULT NULL
, `keyphraseId` integer DEFAULT NULL
, PRIMARY KEY (`keyphraseId`,`paperId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`keyphraseId`) REFERENCES `keyphrase`(`keyphraseId`)
)
CREATE TABLE `writes` (
`paperId` integer DEFAULT NULL
, `authorId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`,`authorId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`authorId`) REFERENCES `author`(`authorId`)
) | SELECT DISTINCT COUNT ( t3.citingpaperid ) , t1.keyphrasename FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN cite AS t3 ON t2.paperid = t3.citedpaperid GROUP BY t1.keyphrasename ORDER BY COUNT ( t3.citingpaperid ) DESC; | what keyphrases get most citations ? | scholar |
CREATE TABLE `venue` (
`venueId` integer NOT NULL
, `venueName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`venueId`)
)
CREATE TABLE `author` (
`authorId` integer NOT NULL
, `authorName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`authorId`)
)
CREATE TABLE `dataset` (
`datasetId` integer NOT NULL
, `datasetName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`datasetId`)
)
CREATE TABLE `journal` (
`journalId` integer NOT NULL
, `journalName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`journalId`)
)
CREATE TABLE `keyphrase` (
`keyphraseId` integer NOT NULL
, `keyphraseName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`keyphraseId`)
)
CREATE TABLE `paper` (
`paperId` integer NOT NULL
, `title` varchar(300) DEFAULT NULL
, `venueId` integer DEFAULT NULL
, `year` integer DEFAULT NULL
, `numCiting` integer DEFAULT NULL
, `numCitedBy` integer DEFAULT NULL
, `journalId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`)
, FOREIGN KEY(`journalId`) REFERENCES `journal`(`journalId`)
, FOREIGN KEY(`venueId`) REFERENCES `venue`(`venueId`)
)
CREATE TABLE `cite` (
`citingPaperId` integer NOT NULL
, `citedPaperId` integer NOT NULL
, PRIMARY KEY (`citingPaperId`,`citedPaperId`)
, FOREIGN KEY(`citedpaperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`citingpaperId`) REFERENCES `paper`(`paperId`)
)
CREATE TABLE `paperDataset` (
`paperId` integer DEFAULT NULL
, `datasetId` integer DEFAULT NULL
, PRIMARY KEY (`datasetId`, `paperId`)
)
CREATE TABLE `paperKeyphrase` (
`paperId` integer DEFAULT NULL
, `keyphraseId` integer DEFAULT NULL
, PRIMARY KEY (`keyphraseId`,`paperId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`keyphraseId`) REFERENCES `keyphrase`(`keyphraseId`)
)
CREATE TABLE `writes` (
`paperId` integer DEFAULT NULL
, `authorId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`,`authorId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`authorId`) REFERENCES `author`(`authorId`)
) | SELECT DISTINCT t3.journalid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid WHERE t1.keyphrasename = "Temporal Data" GROUP BY t3.journalid; | Find journals about Temporal Data . | scholar |
CREATE TABLE `venue` (
`venueId` integer NOT NULL
, `venueName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`venueId`)
)
CREATE TABLE `author` (
`authorId` integer NOT NULL
, `authorName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`authorId`)
)
CREATE TABLE `dataset` (
`datasetId` integer NOT NULL
, `datasetName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`datasetId`)
)
CREATE TABLE `journal` (
`journalId` integer NOT NULL
, `journalName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`journalId`)
)
CREATE TABLE `keyphrase` (
`keyphraseId` integer NOT NULL
, `keyphraseName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`keyphraseId`)
)
CREATE TABLE `paper` (
`paperId` integer NOT NULL
, `title` varchar(300) DEFAULT NULL
, `venueId` integer DEFAULT NULL
, `year` integer DEFAULT NULL
, `numCiting` integer DEFAULT NULL
, `numCitedBy` integer DEFAULT NULL
, `journalId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`)
, FOREIGN KEY(`journalId`) REFERENCES `journal`(`journalId`)
, FOREIGN KEY(`venueId`) REFERENCES `venue`(`venueId`)
)
CREATE TABLE `cite` (
`citingPaperId` integer NOT NULL
, `citedPaperId` integer NOT NULL
, PRIMARY KEY (`citingPaperId`,`citedPaperId`)
, FOREIGN KEY(`citedpaperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`citingpaperId`) REFERENCES `paper`(`paperId`)
)
CREATE TABLE `paperDataset` (
`paperId` integer DEFAULT NULL
, `datasetId` integer DEFAULT NULL
, PRIMARY KEY (`datasetId`, `paperId`)
)
CREATE TABLE `paperKeyphrase` (
`paperId` integer DEFAULT NULL
, `keyphraseId` integer DEFAULT NULL
, PRIMARY KEY (`keyphraseId`,`paperId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`keyphraseId`) REFERENCES `keyphrase`(`keyphraseId`)
)
CREATE TABLE `writes` (
`paperId` integer DEFAULT NULL
, `authorId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`,`authorId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`authorId`) REFERENCES `author`(`authorId`)
) | SELECT DISTINCT t3.journalid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid WHERE t1.keyphrasename = "Temporal Data" GROUP BY t3.journalid; | List the journals related to Temporal Data | scholar |
CREATE TABLE `venue` (
`venueId` integer NOT NULL
, `venueName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`venueId`)
)
CREATE TABLE `author` (
`authorId` integer NOT NULL
, `authorName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`authorId`)
)
CREATE TABLE `dataset` (
`datasetId` integer NOT NULL
, `datasetName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`datasetId`)
)
CREATE TABLE `journal` (
`journalId` integer NOT NULL
, `journalName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`journalId`)
)
CREATE TABLE `keyphrase` (
`keyphraseId` integer NOT NULL
, `keyphraseName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`keyphraseId`)
)
CREATE TABLE `paper` (
`paperId` integer NOT NULL
, `title` varchar(300) DEFAULT NULL
, `venueId` integer DEFAULT NULL
, `year` integer DEFAULT NULL
, `numCiting` integer DEFAULT NULL
, `numCitedBy` integer DEFAULT NULL
, `journalId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`)
, FOREIGN KEY(`journalId`) REFERENCES `journal`(`journalId`)
, FOREIGN KEY(`venueId`) REFERENCES `venue`(`venueId`)
)
CREATE TABLE `cite` (
`citingPaperId` integer NOT NULL
, `citedPaperId` integer NOT NULL
, PRIMARY KEY (`citingPaperId`,`citedPaperId`)
, FOREIGN KEY(`citedpaperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`citingpaperId`) REFERENCES `paper`(`paperId`)
)
CREATE TABLE `paperDataset` (
`paperId` integer DEFAULT NULL
, `datasetId` integer DEFAULT NULL
, PRIMARY KEY (`datasetId`, `paperId`)
)
CREATE TABLE `paperKeyphrase` (
`paperId` integer DEFAULT NULL
, `keyphraseId` integer DEFAULT NULL
, PRIMARY KEY (`keyphraseId`,`paperId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`keyphraseId`) REFERENCES `keyphrase`(`keyphraseId`)
)
CREATE TABLE `writes` (
`paperId` integer DEFAULT NULL
, `authorId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`,`authorId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`authorId`) REFERENCES `author`(`authorId`)
) | SELECT DISTINCT t2.paperid FROM paperdataset AS t3 JOIN dataset AS t5 ON t3.datasetid = t5.datasetid JOIN paperkeyphrase AS t4 ON t4.paperid = t3.paperid JOIN paper AS t2 ON t2.paperid = t3.paperid JOIN venue AS t6 ON t6.venueid = t2.venueid JOIN keyphrase AS t1 ON t4.keyphraseid = t1.keyphraseid WHERE t5.datasetname = "Jeopardy! Questions" AND t1.keyphrasename = "Parsing" AND t2.year = 2014 AND t6.venuename = "ACL"; | which ACL 2014 papers about Parsing used Jeopardy! Questions ? | scholar |
CREATE TABLE `venue` (
`venueId` integer NOT NULL
, `venueName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`venueId`)
)
CREATE TABLE `author` (
`authorId` integer NOT NULL
, `authorName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`authorId`)
)
CREATE TABLE `dataset` (
`datasetId` integer NOT NULL
, `datasetName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`datasetId`)
)
CREATE TABLE `journal` (
`journalId` integer NOT NULL
, `journalName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`journalId`)
)
CREATE TABLE `keyphrase` (
`keyphraseId` integer NOT NULL
, `keyphraseName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`keyphraseId`)
)
CREATE TABLE `paper` (
`paperId` integer NOT NULL
, `title` varchar(300) DEFAULT NULL
, `venueId` integer DEFAULT NULL
, `year` integer DEFAULT NULL
, `numCiting` integer DEFAULT NULL
, `numCitedBy` integer DEFAULT NULL
, `journalId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`)
, FOREIGN KEY(`journalId`) REFERENCES `journal`(`journalId`)
, FOREIGN KEY(`venueId`) REFERENCES `venue`(`venueId`)
)
CREATE TABLE `cite` (
`citingPaperId` integer NOT NULL
, `citedPaperId` integer NOT NULL
, PRIMARY KEY (`citingPaperId`,`citedPaperId`)
, FOREIGN KEY(`citedpaperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`citingpaperId`) REFERENCES `paper`(`paperId`)
)
CREATE TABLE `paperDataset` (
`paperId` integer DEFAULT NULL
, `datasetId` integer DEFAULT NULL
, PRIMARY KEY (`datasetId`, `paperId`)
)
CREATE TABLE `paperKeyphrase` (
`paperId` integer DEFAULT NULL
, `keyphraseId` integer DEFAULT NULL
, PRIMARY KEY (`keyphraseId`,`paperId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`keyphraseId`) REFERENCES `keyphrase`(`keyphraseId`)
)
CREATE TABLE `writes` (
`paperId` integer DEFAULT NULL
, `authorId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`,`authorId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`authorId`) REFERENCES `author`(`authorId`)
) | SELECT DISTINCT t2.paperid FROM paperdataset AS t3 JOIN dataset AS t5 ON t3.datasetid = t5.datasetid JOIN paperkeyphrase AS t4 ON t4.paperid = t3.paperid JOIN paper AS t2 ON t2.paperid = t3.paperid JOIN venue AS t6 ON t6.venueid = t2.venueid JOIN keyphrase AS t1 ON t4.keyphraseid = t1.keyphraseid WHERE t5.datasetname = "Jeopardy! Questions" AND t1.keyphrasename = "Parsing" AND t2.year = 2014 AND t6.venuename = "ACL"; | Parsing papers using Jeopardy! Questions published at ACL 2014 | scholar |
CREATE TABLE `venue` (
`venueId` integer NOT NULL
, `venueName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`venueId`)
)
CREATE TABLE `author` (
`authorId` integer NOT NULL
, `authorName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`authorId`)
)
CREATE TABLE `dataset` (
`datasetId` integer NOT NULL
, `datasetName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`datasetId`)
)
CREATE TABLE `journal` (
`journalId` integer NOT NULL
, `journalName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`journalId`)
)
CREATE TABLE `keyphrase` (
`keyphraseId` integer NOT NULL
, `keyphraseName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`keyphraseId`)
)
CREATE TABLE `paper` (
`paperId` integer NOT NULL
, `title` varchar(300) DEFAULT NULL
, `venueId` integer DEFAULT NULL
, `year` integer DEFAULT NULL
, `numCiting` integer DEFAULT NULL
, `numCitedBy` integer DEFAULT NULL
, `journalId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`)
, FOREIGN KEY(`journalId`) REFERENCES `journal`(`journalId`)
, FOREIGN KEY(`venueId`) REFERENCES `venue`(`venueId`)
)
CREATE TABLE `cite` (
`citingPaperId` integer NOT NULL
, `citedPaperId` integer NOT NULL
, PRIMARY KEY (`citingPaperId`,`citedPaperId`)
, FOREIGN KEY(`citedpaperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`citingpaperId`) REFERENCES `paper`(`paperId`)
)
CREATE TABLE `paperDataset` (
`paperId` integer DEFAULT NULL
, `datasetId` integer DEFAULT NULL
, PRIMARY KEY (`datasetId`, `paperId`)
)
CREATE TABLE `paperKeyphrase` (
`paperId` integer DEFAULT NULL
, `keyphraseId` integer DEFAULT NULL
, PRIMARY KEY (`keyphraseId`,`paperId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`keyphraseId`) REFERENCES `keyphrase`(`keyphraseId`)
)
CREATE TABLE `writes` (
`paperId` integer DEFAULT NULL
, `authorId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`,`authorId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`authorId`) REFERENCES `author`(`authorId`)
) | SELECT DISTINCT t2.paperid FROM paperdataset AS t3 JOIN dataset AS t5 ON t3.datasetid = t5.datasetid JOIN paperkeyphrase AS t4 ON t4.paperid = t3.paperid JOIN paper AS t2 ON t2.paperid = t3.paperid JOIN venue AS t6 ON t6.venueid = t2.venueid JOIN keyphrase AS t1 ON t4.keyphraseid = t1.keyphraseid WHERE t5.datasetname = "Jeopardy! Questions" AND t1.keyphrasename = "Parsing" AND t2.year = 2014 AND t6.venuename = "ACL"; | Parsing papers from ACL 2014 using Jeopardy! Questions | scholar |
CREATE TABLE `venue` (
`venueId` integer NOT NULL
, `venueName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`venueId`)
)
CREATE TABLE `author` (
`authorId` integer NOT NULL
, `authorName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`authorId`)
)
CREATE TABLE `dataset` (
`datasetId` integer NOT NULL
, `datasetName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`datasetId`)
)
CREATE TABLE `journal` (
`journalId` integer NOT NULL
, `journalName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`journalId`)
)
CREATE TABLE `keyphrase` (
`keyphraseId` integer NOT NULL
, `keyphraseName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`keyphraseId`)
)
CREATE TABLE `paper` (
`paperId` integer NOT NULL
, `title` varchar(300) DEFAULT NULL
, `venueId` integer DEFAULT NULL
, `year` integer DEFAULT NULL
, `numCiting` integer DEFAULT NULL
, `numCitedBy` integer DEFAULT NULL
, `journalId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`)
, FOREIGN KEY(`journalId`) REFERENCES `journal`(`journalId`)
, FOREIGN KEY(`venueId`) REFERENCES `venue`(`venueId`)
)
CREATE TABLE `cite` (
`citingPaperId` integer NOT NULL
, `citedPaperId` integer NOT NULL
, PRIMARY KEY (`citingPaperId`,`citedPaperId`)
, FOREIGN KEY(`citedpaperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`citingpaperId`) REFERENCES `paper`(`paperId`)
)
CREATE TABLE `paperDataset` (
`paperId` integer DEFAULT NULL
, `datasetId` integer DEFAULT NULL
, PRIMARY KEY (`datasetId`, `paperId`)
)
CREATE TABLE `paperKeyphrase` (
`paperId` integer DEFAULT NULL
, `keyphraseId` integer DEFAULT NULL
, PRIMARY KEY (`keyphraseId`,`paperId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`keyphraseId`) REFERENCES `keyphrase`(`keyphraseId`)
)
CREATE TABLE `writes` (
`paperId` integer DEFAULT NULL
, `authorId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`,`authorId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`authorId`) REFERENCES `author`(`authorId`)
) | SELECT DISTINCT t2.paperid FROM paperdataset AS t3 JOIN dataset AS t5 ON t3.datasetid = t5.datasetid JOIN paperkeyphrase AS t4 ON t4.paperid = t3.paperid JOIN paper AS t2 ON t2.paperid = t3.paperid JOIN venue AS t6 ON t6.venueid = t2.venueid JOIN keyphrase AS t1 ON t4.keyphraseid = t1.keyphraseid WHERE t5.datasetname = "Jeopardy! Questions" AND t1.keyphrasename = "Parsing" AND t2.year = 2014 AND t6.venuename = "ACL"; | Parsing papers from ACL 2014 that used Jeopardy! Questions | scholar |
CREATE TABLE `venue` (
`venueId` integer NOT NULL
, `venueName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`venueId`)
)
CREATE TABLE `author` (
`authorId` integer NOT NULL
, `authorName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`authorId`)
)
CREATE TABLE `dataset` (
`datasetId` integer NOT NULL
, `datasetName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`datasetId`)
)
CREATE TABLE `journal` (
`journalId` integer NOT NULL
, `journalName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`journalId`)
)
CREATE TABLE `keyphrase` (
`keyphraseId` integer NOT NULL
, `keyphraseName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`keyphraseId`)
)
CREATE TABLE `paper` (
`paperId` integer NOT NULL
, `title` varchar(300) DEFAULT NULL
, `venueId` integer DEFAULT NULL
, `year` integer DEFAULT NULL
, `numCiting` integer DEFAULT NULL
, `numCitedBy` integer DEFAULT NULL
, `journalId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`)
, FOREIGN KEY(`journalId`) REFERENCES `journal`(`journalId`)
, FOREIGN KEY(`venueId`) REFERENCES `venue`(`venueId`)
)
CREATE TABLE `cite` (
`citingPaperId` integer NOT NULL
, `citedPaperId` integer NOT NULL
, PRIMARY KEY (`citingPaperId`,`citedPaperId`)
, FOREIGN KEY(`citedpaperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`citingpaperId`) REFERENCES `paper`(`paperId`)
)
CREATE TABLE `paperDataset` (
`paperId` integer DEFAULT NULL
, `datasetId` integer DEFAULT NULL
, PRIMARY KEY (`datasetId`, `paperId`)
)
CREATE TABLE `paperKeyphrase` (
`paperId` integer DEFAULT NULL
, `keyphraseId` integer DEFAULT NULL
, PRIMARY KEY (`keyphraseId`,`paperId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`keyphraseId`) REFERENCES `keyphrase`(`keyphraseId`)
)
CREATE TABLE `writes` (
`paperId` integer DEFAULT NULL
, `authorId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`,`authorId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`authorId`) REFERENCES `author`(`authorId`)
) | SELECT DISTINCT t2.paperid FROM paperdataset AS t3 JOIN dataset AS t5 ON t3.datasetid = t5.datasetid JOIN paperkeyphrase AS t4 ON t4.paperid = t3.paperid JOIN paper AS t2 ON t2.paperid = t3.paperid JOIN venue AS t6 ON t6.venueid = t2.venueid JOIN keyphrase AS t1 ON t4.keyphraseid = t1.keyphraseid WHERE t5.datasetname = "Jeopardy! Questions" AND t1.keyphrasename = "Parsing" AND t2.year = 2014 AND t6.venuename = "ACL"; | papers about Parsing that used Jeopardy! Questions and were published at ACL 2014 | scholar |
CREATE TABLE `venue` (
`venueId` integer NOT NULL
, `venueName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`venueId`)
)
CREATE TABLE `author` (
`authorId` integer NOT NULL
, `authorName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`authorId`)
)
CREATE TABLE `dataset` (
`datasetId` integer NOT NULL
, `datasetName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`datasetId`)
)
CREATE TABLE `journal` (
`journalId` integer NOT NULL
, `journalName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`journalId`)
)
CREATE TABLE `keyphrase` (
`keyphraseId` integer NOT NULL
, `keyphraseName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`keyphraseId`)
)
CREATE TABLE `paper` (
`paperId` integer NOT NULL
, `title` varchar(300) DEFAULT NULL
, `venueId` integer DEFAULT NULL
, `year` integer DEFAULT NULL
, `numCiting` integer DEFAULT NULL
, `numCitedBy` integer DEFAULT NULL
, `journalId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`)
, FOREIGN KEY(`journalId`) REFERENCES `journal`(`journalId`)
, FOREIGN KEY(`venueId`) REFERENCES `venue`(`venueId`)
)
CREATE TABLE `cite` (
`citingPaperId` integer NOT NULL
, `citedPaperId` integer NOT NULL
, PRIMARY KEY (`citingPaperId`,`citedPaperId`)
, FOREIGN KEY(`citedpaperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`citingpaperId`) REFERENCES `paper`(`paperId`)
)
CREATE TABLE `paperDataset` (
`paperId` integer DEFAULT NULL
, `datasetId` integer DEFAULT NULL
, PRIMARY KEY (`datasetId`, `paperId`)
)
CREATE TABLE `paperKeyphrase` (
`paperId` integer DEFAULT NULL
, `keyphraseId` integer DEFAULT NULL
, PRIMARY KEY (`keyphraseId`,`paperId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`keyphraseId`) REFERENCES `keyphrase`(`keyphraseId`)
)
CREATE TABLE `writes` (
`paperId` integer DEFAULT NULL
, `authorId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`,`authorId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`authorId`) REFERENCES `author`(`authorId`)
) | SELECT DISTINCT t2.journalid FROM paper AS t3 JOIN journal AS t2 ON t3.journalid = t2.journalid JOIN writes AS t4 ON t4.paperid = t3.paperid JOIN author AS t1 ON t4.authorid = t1.authorid WHERE t1.authorname = "linda shapiro"; | in what journals does linda shapiro publish ? | scholar |
CREATE TABLE `venue` (
`venueId` integer NOT NULL
, `venueName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`venueId`)
)
CREATE TABLE `author` (
`authorId` integer NOT NULL
, `authorName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`authorId`)
)
CREATE TABLE `dataset` (
`datasetId` integer NOT NULL
, `datasetName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`datasetId`)
)
CREATE TABLE `journal` (
`journalId` integer NOT NULL
, `journalName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`journalId`)
)
CREATE TABLE `keyphrase` (
`keyphraseId` integer NOT NULL
, `keyphraseName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`keyphraseId`)
)
CREATE TABLE `paper` (
`paperId` integer NOT NULL
, `title` varchar(300) DEFAULT NULL
, `venueId` integer DEFAULT NULL
, `year` integer DEFAULT NULL
, `numCiting` integer DEFAULT NULL
, `numCitedBy` integer DEFAULT NULL
, `journalId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`)
, FOREIGN KEY(`journalId`) REFERENCES `journal`(`journalId`)
, FOREIGN KEY(`venueId`) REFERENCES `venue`(`venueId`)
)
CREATE TABLE `cite` (
`citingPaperId` integer NOT NULL
, `citedPaperId` integer NOT NULL
, PRIMARY KEY (`citingPaperId`,`citedPaperId`)
, FOREIGN KEY(`citedpaperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`citingpaperId`) REFERENCES `paper`(`paperId`)
)
CREATE TABLE `paperDataset` (
`paperId` integer DEFAULT NULL
, `datasetId` integer DEFAULT NULL
, PRIMARY KEY (`datasetId`, `paperId`)
)
CREATE TABLE `paperKeyphrase` (
`paperId` integer DEFAULT NULL
, `keyphraseId` integer DEFAULT NULL
, PRIMARY KEY (`keyphraseId`,`paperId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`keyphraseId`) REFERENCES `keyphrase`(`keyphraseId`)
)
CREATE TABLE `writes` (
`paperId` integer DEFAULT NULL
, `authorId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`,`authorId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`authorId`) REFERENCES `author`(`authorId`)
) | SELECT DISTINCT t2.journalid FROM paper AS t3 JOIN journal AS t2 ON t3.journalid = t2.journalid JOIN writes AS t4 ON t4.paperid = t3.paperid JOIN author AS t1 ON t4.authorid = t1.authorid WHERE t1.authorname = "linda shapiro"; | Which journals did linda shapiro submit papers to ? | scholar |
CREATE TABLE `venue` (
`venueId` integer NOT NULL
, `venueName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`venueId`)
)
CREATE TABLE `author` (
`authorId` integer NOT NULL
, `authorName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`authorId`)
)
CREATE TABLE `dataset` (
`datasetId` integer NOT NULL
, `datasetName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`datasetId`)
)
CREATE TABLE `journal` (
`journalId` integer NOT NULL
, `journalName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`journalId`)
)
CREATE TABLE `keyphrase` (
`keyphraseId` integer NOT NULL
, `keyphraseName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`keyphraseId`)
)
CREATE TABLE `paper` (
`paperId` integer NOT NULL
, `title` varchar(300) DEFAULT NULL
, `venueId` integer DEFAULT NULL
, `year` integer DEFAULT NULL
, `numCiting` integer DEFAULT NULL
, `numCitedBy` integer DEFAULT NULL
, `journalId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`)
, FOREIGN KEY(`journalId`) REFERENCES `journal`(`journalId`)
, FOREIGN KEY(`venueId`) REFERENCES `venue`(`venueId`)
)
CREATE TABLE `cite` (
`citingPaperId` integer NOT NULL
, `citedPaperId` integer NOT NULL
, PRIMARY KEY (`citingPaperId`,`citedPaperId`)
, FOREIGN KEY(`citedpaperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`citingpaperId`) REFERENCES `paper`(`paperId`)
)
CREATE TABLE `paperDataset` (
`paperId` integer DEFAULT NULL
, `datasetId` integer DEFAULT NULL
, PRIMARY KEY (`datasetId`, `paperId`)
)
CREATE TABLE `paperKeyphrase` (
`paperId` integer DEFAULT NULL
, `keyphraseId` integer DEFAULT NULL
, PRIMARY KEY (`keyphraseId`,`paperId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`keyphraseId`) REFERENCES `keyphrase`(`keyphraseId`)
)
CREATE TABLE `writes` (
`paperId` integer DEFAULT NULL
, `authorId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`,`authorId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`authorId`) REFERENCES `author`(`authorId`)
) | SELECT DISTINCT t1.authorid FROM venue AS t3 JOIN paper AS t2 ON t3.venueid = t2.venueid JOIN writes AS t1 ON t1.paperid = t2.paperid WHERE t3.venuename = "NIPS"; | NIPS authors | scholar |
CREATE TABLE `venue` (
`venueId` integer NOT NULL
, `venueName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`venueId`)
)
CREATE TABLE `author` (
`authorId` integer NOT NULL
, `authorName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`authorId`)
)
CREATE TABLE `dataset` (
`datasetId` integer NOT NULL
, `datasetName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`datasetId`)
)
CREATE TABLE `journal` (
`journalId` integer NOT NULL
, `journalName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`journalId`)
)
CREATE TABLE `keyphrase` (
`keyphraseId` integer NOT NULL
, `keyphraseName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`keyphraseId`)
)
CREATE TABLE `paper` (
`paperId` integer NOT NULL
, `title` varchar(300) DEFAULT NULL
, `venueId` integer DEFAULT NULL
, `year` integer DEFAULT NULL
, `numCiting` integer DEFAULT NULL
, `numCitedBy` integer DEFAULT NULL
, `journalId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`)
, FOREIGN KEY(`journalId`) REFERENCES `journal`(`journalId`)
, FOREIGN KEY(`venueId`) REFERENCES `venue`(`venueId`)
)
CREATE TABLE `cite` (
`citingPaperId` integer NOT NULL
, `citedPaperId` integer NOT NULL
, PRIMARY KEY (`citingPaperId`,`citedPaperId`)
, FOREIGN KEY(`citedpaperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`citingpaperId`) REFERENCES `paper`(`paperId`)
)
CREATE TABLE `paperDataset` (
`paperId` integer DEFAULT NULL
, `datasetId` integer DEFAULT NULL
, PRIMARY KEY (`datasetId`, `paperId`)
)
CREATE TABLE `paperKeyphrase` (
`paperId` integer DEFAULT NULL
, `keyphraseId` integer DEFAULT NULL
, PRIMARY KEY (`keyphraseId`,`paperId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`keyphraseId`) REFERENCES `keyphrase`(`keyphraseId`)
)
CREATE TABLE `writes` (
`paperId` integer DEFAULT NULL
, `authorId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`,`authorId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`authorId`) REFERENCES `author`(`authorId`)
) | SELECT DISTINCT t1.authorid FROM venue AS t3 JOIN paper AS t2 ON t3.venueid = t2.venueid JOIN writes AS t1 ON t1.paperid = t2.paperid WHERE t3.venuename = "NIPS"; | who are the authors at NIPS ? | scholar |
CREATE TABLE `venue` (
`venueId` integer NOT NULL
, `venueName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`venueId`)
)
CREATE TABLE `author` (
`authorId` integer NOT NULL
, `authorName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`authorId`)
)
CREATE TABLE `dataset` (
`datasetId` integer NOT NULL
, `datasetName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`datasetId`)
)
CREATE TABLE `journal` (
`journalId` integer NOT NULL
, `journalName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`journalId`)
)
CREATE TABLE `keyphrase` (
`keyphraseId` integer NOT NULL
, `keyphraseName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`keyphraseId`)
)
CREATE TABLE `paper` (
`paperId` integer NOT NULL
, `title` varchar(300) DEFAULT NULL
, `venueId` integer DEFAULT NULL
, `year` integer DEFAULT NULL
, `numCiting` integer DEFAULT NULL
, `numCitedBy` integer DEFAULT NULL
, `journalId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`)
, FOREIGN KEY(`journalId`) REFERENCES `journal`(`journalId`)
, FOREIGN KEY(`venueId`) REFERENCES `venue`(`venueId`)
)
CREATE TABLE `cite` (
`citingPaperId` integer NOT NULL
, `citedPaperId` integer NOT NULL
, PRIMARY KEY (`citingPaperId`,`citedPaperId`)
, FOREIGN KEY(`citedpaperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`citingpaperId`) REFERENCES `paper`(`paperId`)
)
CREATE TABLE `paperDataset` (
`paperId` integer DEFAULT NULL
, `datasetId` integer DEFAULT NULL
, PRIMARY KEY (`datasetId`, `paperId`)
)
CREATE TABLE `paperKeyphrase` (
`paperId` integer DEFAULT NULL
, `keyphraseId` integer DEFAULT NULL
, PRIMARY KEY (`keyphraseId`,`paperId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`keyphraseId`) REFERENCES `keyphrase`(`keyphraseId`)
)
CREATE TABLE `writes` (
`paperId` integer DEFAULT NULL
, `authorId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`,`authorId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`authorId`) REFERENCES `author`(`authorId`)
) | SELECT DISTINCT t1.authorid FROM venue AS t3 JOIN paper AS t2 ON t3.venueid = t2.venueid JOIN writes AS t1 ON t1.paperid = t2.paperid WHERE t3.venuename = "NIPS"; | who authored papers at NIPS ? | scholar |
CREATE TABLE `venue` (
`venueId` integer NOT NULL
, `venueName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`venueId`)
)
CREATE TABLE `author` (
`authorId` integer NOT NULL
, `authorName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`authorId`)
)
CREATE TABLE `dataset` (
`datasetId` integer NOT NULL
, `datasetName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`datasetId`)
)
CREATE TABLE `journal` (
`journalId` integer NOT NULL
, `journalName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`journalId`)
)
CREATE TABLE `keyphrase` (
`keyphraseId` integer NOT NULL
, `keyphraseName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`keyphraseId`)
)
CREATE TABLE `paper` (
`paperId` integer NOT NULL
, `title` varchar(300) DEFAULT NULL
, `venueId` integer DEFAULT NULL
, `year` integer DEFAULT NULL
, `numCiting` integer DEFAULT NULL
, `numCitedBy` integer DEFAULT NULL
, `journalId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`)
, FOREIGN KEY(`journalId`) REFERENCES `journal`(`journalId`)
, FOREIGN KEY(`venueId`) REFERENCES `venue`(`venueId`)
)
CREATE TABLE `cite` (
`citingPaperId` integer NOT NULL
, `citedPaperId` integer NOT NULL
, PRIMARY KEY (`citingPaperId`,`citedPaperId`)
, FOREIGN KEY(`citedpaperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`citingpaperId`) REFERENCES `paper`(`paperId`)
)
CREATE TABLE `paperDataset` (
`paperId` integer DEFAULT NULL
, `datasetId` integer DEFAULT NULL
, PRIMARY KEY (`datasetId`, `paperId`)
)
CREATE TABLE `paperKeyphrase` (
`paperId` integer DEFAULT NULL
, `keyphraseId` integer DEFAULT NULL
, PRIMARY KEY (`keyphraseId`,`paperId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`keyphraseId`) REFERENCES `keyphrase`(`keyphraseId`)
)
CREATE TABLE `writes` (
`paperId` integer DEFAULT NULL
, `authorId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`,`authorId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`authorId`) REFERENCES `author`(`authorId`)
) | SELECT DISTINCT t1.authorid FROM venue AS t3 JOIN paper AS t2 ON t3.venueid = t2.venueid JOIN writes AS t1 ON t1.paperid = t2.paperid WHERE t3.venuename = "NIPS"; | who publishes in NIPS ? | scholar |
CREATE TABLE `venue` (
`venueId` integer NOT NULL
, `venueName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`venueId`)
)
CREATE TABLE `author` (
`authorId` integer NOT NULL
, `authorName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`authorId`)
)
CREATE TABLE `dataset` (
`datasetId` integer NOT NULL
, `datasetName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`datasetId`)
)
CREATE TABLE `journal` (
`journalId` integer NOT NULL
, `journalName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`journalId`)
)
CREATE TABLE `keyphrase` (
`keyphraseId` integer NOT NULL
, `keyphraseName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`keyphraseId`)
)
CREATE TABLE `paper` (
`paperId` integer NOT NULL
, `title` varchar(300) DEFAULT NULL
, `venueId` integer DEFAULT NULL
, `year` integer DEFAULT NULL
, `numCiting` integer DEFAULT NULL
, `numCitedBy` integer DEFAULT NULL
, `journalId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`)
, FOREIGN KEY(`journalId`) REFERENCES `journal`(`journalId`)
, FOREIGN KEY(`venueId`) REFERENCES `venue`(`venueId`)
)
CREATE TABLE `cite` (
`citingPaperId` integer NOT NULL
, `citedPaperId` integer NOT NULL
, PRIMARY KEY (`citingPaperId`,`citedPaperId`)
, FOREIGN KEY(`citedpaperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`citingpaperId`) REFERENCES `paper`(`paperId`)
)
CREATE TABLE `paperDataset` (
`paperId` integer DEFAULT NULL
, `datasetId` integer DEFAULT NULL
, PRIMARY KEY (`datasetId`, `paperId`)
)
CREATE TABLE `paperKeyphrase` (
`paperId` integer DEFAULT NULL
, `keyphraseId` integer DEFAULT NULL
, PRIMARY KEY (`keyphraseId`,`paperId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`keyphraseId`) REFERENCES `keyphrase`(`keyphraseId`)
)
CREATE TABLE `writes` (
`paperId` integer DEFAULT NULL
, `authorId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`,`authorId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`authorId`) REFERENCES `author`(`authorId`)
) | SELECT DISTINCT t1.authorid FROM venue AS t3 JOIN paper AS t2 ON t3.venueid = t2.venueid JOIN writes AS t1 ON t1.paperid = t2.paperid WHERE t3.venuename = "NIPS"; | who has papers at NIPS ? | scholar |
CREATE TABLE `venue` (
`venueId` integer NOT NULL
, `venueName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`venueId`)
)
CREATE TABLE `author` (
`authorId` integer NOT NULL
, `authorName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`authorId`)
)
CREATE TABLE `dataset` (
`datasetId` integer NOT NULL
, `datasetName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`datasetId`)
)
CREATE TABLE `journal` (
`journalId` integer NOT NULL
, `journalName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`journalId`)
)
CREATE TABLE `keyphrase` (
`keyphraseId` integer NOT NULL
, `keyphraseName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`keyphraseId`)
)
CREATE TABLE `paper` (
`paperId` integer NOT NULL
, `title` varchar(300) DEFAULT NULL
, `venueId` integer DEFAULT NULL
, `year` integer DEFAULT NULL
, `numCiting` integer DEFAULT NULL
, `numCitedBy` integer DEFAULT NULL
, `journalId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`)
, FOREIGN KEY(`journalId`) REFERENCES `journal`(`journalId`)
, FOREIGN KEY(`venueId`) REFERENCES `venue`(`venueId`)
)
CREATE TABLE `cite` (
`citingPaperId` integer NOT NULL
, `citedPaperId` integer NOT NULL
, PRIMARY KEY (`citingPaperId`,`citedPaperId`)
, FOREIGN KEY(`citedpaperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`citingpaperId`) REFERENCES `paper`(`paperId`)
)
CREATE TABLE `paperDataset` (
`paperId` integer DEFAULT NULL
, `datasetId` integer DEFAULT NULL
, PRIMARY KEY (`datasetId`, `paperId`)
)
CREATE TABLE `paperKeyphrase` (
`paperId` integer DEFAULT NULL
, `keyphraseId` integer DEFAULT NULL
, PRIMARY KEY (`keyphraseId`,`paperId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`keyphraseId`) REFERENCES `keyphrase`(`keyphraseId`)
)
CREATE TABLE `writes` (
`paperId` integer DEFAULT NULL
, `authorId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`,`authorId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`authorId`) REFERENCES `author`(`authorId`)
) | SELECT DISTINCT COUNT ( t3.paperid ) , t4.venueid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid JOIN venue AS t4 ON t4.venueid = t3.venueid WHERE t1.keyphrasename = "deep learning" GROUP BY t4.venueid ORDER BY COUNT ( t3.paperid ) DESC; | which venue publishes the most papers about deep learning | scholar |
CREATE TABLE `venue` (
`venueId` integer NOT NULL
, `venueName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`venueId`)
)
CREATE TABLE `author` (
`authorId` integer NOT NULL
, `authorName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`authorId`)
)
CREATE TABLE `dataset` (
`datasetId` integer NOT NULL
, `datasetName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`datasetId`)
)
CREATE TABLE `journal` (
`journalId` integer NOT NULL
, `journalName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`journalId`)
)
CREATE TABLE `keyphrase` (
`keyphraseId` integer NOT NULL
, `keyphraseName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`keyphraseId`)
)
CREATE TABLE `paper` (
`paperId` integer NOT NULL
, `title` varchar(300) DEFAULT NULL
, `venueId` integer DEFAULT NULL
, `year` integer DEFAULT NULL
, `numCiting` integer DEFAULT NULL
, `numCitedBy` integer DEFAULT NULL
, `journalId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`)
, FOREIGN KEY(`journalId`) REFERENCES `journal`(`journalId`)
, FOREIGN KEY(`venueId`) REFERENCES `venue`(`venueId`)
)
CREATE TABLE `cite` (
`citingPaperId` integer NOT NULL
, `citedPaperId` integer NOT NULL
, PRIMARY KEY (`citingPaperId`,`citedPaperId`)
, FOREIGN KEY(`citedpaperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`citingpaperId`) REFERENCES `paper`(`paperId`)
)
CREATE TABLE `paperDataset` (
`paperId` integer DEFAULT NULL
, `datasetId` integer DEFAULT NULL
, PRIMARY KEY (`datasetId`, `paperId`)
)
CREATE TABLE `paperKeyphrase` (
`paperId` integer DEFAULT NULL
, `keyphraseId` integer DEFAULT NULL
, PRIMARY KEY (`keyphraseId`,`paperId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`keyphraseId`) REFERENCES `keyphrase`(`keyphraseId`)
)
CREATE TABLE `writes` (
`paperId` integer DEFAULT NULL
, `authorId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`,`authorId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`authorId`) REFERENCES `author`(`authorId`)
) | SELECT DISTINCT COUNT ( t3.paperid ) FROM paper AS t3 JOIN journal AS t2 ON t3.journalid = t2.journalid JOIN paperkeyphrase AS t1 ON t3.paperid = t1.paperid WHERE t2.journalname = "Cell" AND t3.year = 2015; | How many publications were added to the Cell journal this year ? | scholar |
CREATE TABLE `venue` (
`venueId` integer NOT NULL
, `venueName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`venueId`)
)
CREATE TABLE `author` (
`authorId` integer NOT NULL
, `authorName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`authorId`)
)
CREATE TABLE `dataset` (
`datasetId` integer NOT NULL
, `datasetName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`datasetId`)
)
CREATE TABLE `journal` (
`journalId` integer NOT NULL
, `journalName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`journalId`)
)
CREATE TABLE `keyphrase` (
`keyphraseId` integer NOT NULL
, `keyphraseName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`keyphraseId`)
)
CREATE TABLE `paper` (
`paperId` integer NOT NULL
, `title` varchar(300) DEFAULT NULL
, `venueId` integer DEFAULT NULL
, `year` integer DEFAULT NULL
, `numCiting` integer DEFAULT NULL
, `numCitedBy` integer DEFAULT NULL
, `journalId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`)
, FOREIGN KEY(`journalId`) REFERENCES `journal`(`journalId`)
, FOREIGN KEY(`venueId`) REFERENCES `venue`(`venueId`)
)
CREATE TABLE `cite` (
`citingPaperId` integer NOT NULL
, `citedPaperId` integer NOT NULL
, PRIMARY KEY (`citingPaperId`,`citedPaperId`)
, FOREIGN KEY(`citedpaperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`citingpaperId`) REFERENCES `paper`(`paperId`)
)
CREATE TABLE `paperDataset` (
`paperId` integer DEFAULT NULL
, `datasetId` integer DEFAULT NULL
, PRIMARY KEY (`datasetId`, `paperId`)
)
CREATE TABLE `paperKeyphrase` (
`paperId` integer DEFAULT NULL
, `keyphraseId` integer DEFAULT NULL
, PRIMARY KEY (`keyphraseId`,`paperId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`keyphraseId`) REFERENCES `keyphrase`(`keyphraseId`)
)
CREATE TABLE `writes` (
`paperId` integer DEFAULT NULL
, `authorId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`,`authorId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`authorId`) REFERENCES `author`(`authorId`)
) | SELECT DISTINCT COUNT ( t3.paperid ) FROM paper AS t3 JOIN journal AS t2 ON t3.journalid = t2.journalid JOIN paperkeyphrase AS t1 ON t3.paperid = t1.paperid WHERE t2.journalname = "Cell" AND t3.year = 2015; | How many articles were published in the Cell journal in 2015 ? | scholar |
CREATE TABLE `venue` (
`venueId` integer NOT NULL
, `venueName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`venueId`)
)
CREATE TABLE `author` (
`authorId` integer NOT NULL
, `authorName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`authorId`)
)
CREATE TABLE `dataset` (
`datasetId` integer NOT NULL
, `datasetName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`datasetId`)
)
CREATE TABLE `journal` (
`journalId` integer NOT NULL
, `journalName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`journalId`)
)
CREATE TABLE `keyphrase` (
`keyphraseId` integer NOT NULL
, `keyphraseName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`keyphraseId`)
)
CREATE TABLE `paper` (
`paperId` integer NOT NULL
, `title` varchar(300) DEFAULT NULL
, `venueId` integer DEFAULT NULL
, `year` integer DEFAULT NULL
, `numCiting` integer DEFAULT NULL
, `numCitedBy` integer DEFAULT NULL
, `journalId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`)
, FOREIGN KEY(`journalId`) REFERENCES `journal`(`journalId`)
, FOREIGN KEY(`venueId`) REFERENCES `venue`(`venueId`)
)
CREATE TABLE `cite` (
`citingPaperId` integer NOT NULL
, `citedPaperId` integer NOT NULL
, PRIMARY KEY (`citingPaperId`,`citedPaperId`)
, FOREIGN KEY(`citedpaperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`citingpaperId`) REFERENCES `paper`(`paperId`)
)
CREATE TABLE `paperDataset` (
`paperId` integer DEFAULT NULL
, `datasetId` integer DEFAULT NULL
, PRIMARY KEY (`datasetId`, `paperId`)
)
CREATE TABLE `paperKeyphrase` (
`paperId` integer DEFAULT NULL
, `keyphraseId` integer DEFAULT NULL
, PRIMARY KEY (`keyphraseId`,`paperId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`keyphraseId`) REFERENCES `keyphrase`(`keyphraseId`)
)
CREATE TABLE `writes` (
`paperId` integer DEFAULT NULL
, `authorId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`,`authorId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`authorId`) REFERENCES `author`(`authorId`)
) | SELECT DISTINCT t3.title FROM writes AS t2 JOIN author AS t1 ON t2.authorid = t1.authorid JOIN paper AS t3 ON t2.paperid = t3.paperid WHERE t1.authorname = "Donald E Knuth"; | What are all the publication titles by Donald E Knuth ? | scholar |
CREATE TABLE `venue` (
`venueId` integer NOT NULL
, `venueName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`venueId`)
)
CREATE TABLE `author` (
`authorId` integer NOT NULL
, `authorName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`authorId`)
)
CREATE TABLE `dataset` (
`datasetId` integer NOT NULL
, `datasetName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`datasetId`)
)
CREATE TABLE `journal` (
`journalId` integer NOT NULL
, `journalName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`journalId`)
)
CREATE TABLE `keyphrase` (
`keyphraseId` integer NOT NULL
, `keyphraseName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`keyphraseId`)
)
CREATE TABLE `paper` (
`paperId` integer NOT NULL
, `title` varchar(300) DEFAULT NULL
, `venueId` integer DEFAULT NULL
, `year` integer DEFAULT NULL
, `numCiting` integer DEFAULT NULL
, `numCitedBy` integer DEFAULT NULL
, `journalId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`)
, FOREIGN KEY(`journalId`) REFERENCES `journal`(`journalId`)
, FOREIGN KEY(`venueId`) REFERENCES `venue`(`venueId`)
)
CREATE TABLE `cite` (
`citingPaperId` integer NOT NULL
, `citedPaperId` integer NOT NULL
, PRIMARY KEY (`citingPaperId`,`citedPaperId`)
, FOREIGN KEY(`citedpaperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`citingpaperId`) REFERENCES `paper`(`paperId`)
)
CREATE TABLE `paperDataset` (
`paperId` integer DEFAULT NULL
, `datasetId` integer DEFAULT NULL
, PRIMARY KEY (`datasetId`, `paperId`)
)
CREATE TABLE `paperKeyphrase` (
`paperId` integer DEFAULT NULL
, `keyphraseId` integer DEFAULT NULL
, PRIMARY KEY (`keyphraseId`,`paperId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`keyphraseId`) REFERENCES `keyphrase`(`keyphraseId`)
)
CREATE TABLE `writes` (
`paperId` integer DEFAULT NULL
, `authorId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`,`authorId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`authorId`) REFERENCES `author`(`authorId`)
) | SELECT DISTINCT t3.paperid FROM venue AS t4 JOIN paper AS t3 ON t4.venueid = t3.venueid JOIN writes AS t2 ON t2.paperid = t3.paperid JOIN author AS t1 ON t2.authorid = t1.authorid WHERE t1.authorname = "ali farhadi" AND t3.year = 2016 AND t4.venuename = "eccv"; | papers published in eccv 2016 by ali farhadi | scholar |
CREATE TABLE `venue` (
`venueId` integer NOT NULL
, `venueName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`venueId`)
)
CREATE TABLE `author` (
`authorId` integer NOT NULL
, `authorName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`authorId`)
)
CREATE TABLE `dataset` (
`datasetId` integer NOT NULL
, `datasetName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`datasetId`)
)
CREATE TABLE `journal` (
`journalId` integer NOT NULL
, `journalName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`journalId`)
)
CREATE TABLE `keyphrase` (
`keyphraseId` integer NOT NULL
, `keyphraseName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`keyphraseId`)
)
CREATE TABLE `paper` (
`paperId` integer NOT NULL
, `title` varchar(300) DEFAULT NULL
, `venueId` integer DEFAULT NULL
, `year` integer DEFAULT NULL
, `numCiting` integer DEFAULT NULL
, `numCitedBy` integer DEFAULT NULL
, `journalId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`)
, FOREIGN KEY(`journalId`) REFERENCES `journal`(`journalId`)
, FOREIGN KEY(`venueId`) REFERENCES `venue`(`venueId`)
)
CREATE TABLE `cite` (
`citingPaperId` integer NOT NULL
, `citedPaperId` integer NOT NULL
, PRIMARY KEY (`citingPaperId`,`citedPaperId`)
, FOREIGN KEY(`citedpaperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`citingpaperId`) REFERENCES `paper`(`paperId`)
)
CREATE TABLE `paperDataset` (
`paperId` integer DEFAULT NULL
, `datasetId` integer DEFAULT NULL
, PRIMARY KEY (`datasetId`, `paperId`)
)
CREATE TABLE `paperKeyphrase` (
`paperId` integer DEFAULT NULL
, `keyphraseId` integer DEFAULT NULL
, PRIMARY KEY (`keyphraseId`,`paperId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`keyphraseId`) REFERENCES `keyphrase`(`keyphraseId`)
)
CREATE TABLE `writes` (
`paperId` integer DEFAULT NULL
, `authorId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`,`authorId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`authorId`) REFERENCES `author`(`authorId`)
) | SELECT DISTINCT t3.paperid FROM venue AS t4 JOIN paper AS t3 ON t4.venueid = t3.venueid JOIN writes AS t2 ON t2.paperid = t3.paperid JOIN author AS t1 ON t2.authorid = t1.authorid WHERE t1.authorname = "ali farhadi" AND t3.year = 2016 AND t4.venuename = "eccv"; | Does ali farhadi have a paper in eccv in 2016 ? | scholar |
CREATE TABLE `venue` (
`venueId` integer NOT NULL
, `venueName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`venueId`)
)
CREATE TABLE `author` (
`authorId` integer NOT NULL
, `authorName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`authorId`)
)
CREATE TABLE `dataset` (
`datasetId` integer NOT NULL
, `datasetName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`datasetId`)
)
CREATE TABLE `journal` (
`journalId` integer NOT NULL
, `journalName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`journalId`)
)
CREATE TABLE `keyphrase` (
`keyphraseId` integer NOT NULL
, `keyphraseName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`keyphraseId`)
)
CREATE TABLE `paper` (
`paperId` integer NOT NULL
, `title` varchar(300) DEFAULT NULL
, `venueId` integer DEFAULT NULL
, `year` integer DEFAULT NULL
, `numCiting` integer DEFAULT NULL
, `numCitedBy` integer DEFAULT NULL
, `journalId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`)
, FOREIGN KEY(`journalId`) REFERENCES `journal`(`journalId`)
, FOREIGN KEY(`venueId`) REFERENCES `venue`(`venueId`)
)
CREATE TABLE `cite` (
`citingPaperId` integer NOT NULL
, `citedPaperId` integer NOT NULL
, PRIMARY KEY (`citingPaperId`,`citedPaperId`)
, FOREIGN KEY(`citedpaperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`citingpaperId`) REFERENCES `paper`(`paperId`)
)
CREATE TABLE `paperDataset` (
`paperId` integer DEFAULT NULL
, `datasetId` integer DEFAULT NULL
, PRIMARY KEY (`datasetId`, `paperId`)
)
CREATE TABLE `paperKeyphrase` (
`paperId` integer DEFAULT NULL
, `keyphraseId` integer DEFAULT NULL
, PRIMARY KEY (`keyphraseId`,`paperId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`keyphraseId`) REFERENCES `keyphrase`(`keyphraseId`)
)
CREATE TABLE `writes` (
`paperId` integer DEFAULT NULL
, `authorId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`,`authorId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`authorId`) REFERENCES `author`(`authorId`)
) | SELECT DISTINCT t3.paperid FROM venue AS t4 JOIN paper AS t3 ON t4.venueid = t3.venueid JOIN writes AS t2 ON t2.paperid = t3.paperid JOIN author AS t1 ON t2.authorid = t1.authorid WHERE t1.authorname = "ali farhadi" AND t3.year = 2016 AND t4.venuename = "eccv"; | papers of ali farhadi in eccv 2016 | scholar |
CREATE TABLE `venue` (
`venueId` integer NOT NULL
, `venueName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`venueId`)
)
CREATE TABLE `author` (
`authorId` integer NOT NULL
, `authorName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`authorId`)
)
CREATE TABLE `dataset` (
`datasetId` integer NOT NULL
, `datasetName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`datasetId`)
)
CREATE TABLE `journal` (
`journalId` integer NOT NULL
, `journalName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`journalId`)
)
CREATE TABLE `keyphrase` (
`keyphraseId` integer NOT NULL
, `keyphraseName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`keyphraseId`)
)
CREATE TABLE `paper` (
`paperId` integer NOT NULL
, `title` varchar(300) DEFAULT NULL
, `venueId` integer DEFAULT NULL
, `year` integer DEFAULT NULL
, `numCiting` integer DEFAULT NULL
, `numCitedBy` integer DEFAULT NULL
, `journalId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`)
, FOREIGN KEY(`journalId`) REFERENCES `journal`(`journalId`)
, FOREIGN KEY(`venueId`) REFERENCES `venue`(`venueId`)
)
CREATE TABLE `cite` (
`citingPaperId` integer NOT NULL
, `citedPaperId` integer NOT NULL
, PRIMARY KEY (`citingPaperId`,`citedPaperId`)
, FOREIGN KEY(`citedpaperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`citingpaperId`) REFERENCES `paper`(`paperId`)
)
CREATE TABLE `paperDataset` (
`paperId` integer DEFAULT NULL
, `datasetId` integer DEFAULT NULL
, PRIMARY KEY (`datasetId`, `paperId`)
)
CREATE TABLE `paperKeyphrase` (
`paperId` integer DEFAULT NULL
, `keyphraseId` integer DEFAULT NULL
, PRIMARY KEY (`keyphraseId`,`paperId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`keyphraseId`) REFERENCES `keyphrase`(`keyphraseId`)
)
CREATE TABLE `writes` (
`paperId` integer DEFAULT NULL
, `authorId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`,`authorId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`authorId`) REFERENCES `author`(`authorId`)
) | SELECT DISTINCT t2.paperid FROM paperdataset AS t3 JOIN dataset AS t1 ON t3.datasetid = t1.datasetid JOIN paperkeyphrase AS t2 ON t2.paperid = t3.paperid JOIN keyphrase AS t4 ON t2.keyphraseid = t4.keyphraseid WHERE t1.datasetname = "YAGO" AND t4.keyphrasename = "Semantic Data"; | What are some papers dealing with Semantic Data in YAGO ? | scholar |
CREATE TABLE `venue` (
`venueId` integer NOT NULL
, `venueName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`venueId`)
)
CREATE TABLE `author` (
`authorId` integer NOT NULL
, `authorName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`authorId`)
)
CREATE TABLE `dataset` (
`datasetId` integer NOT NULL
, `datasetName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`datasetId`)
)
CREATE TABLE `journal` (
`journalId` integer NOT NULL
, `journalName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`journalId`)
)
CREATE TABLE `keyphrase` (
`keyphraseId` integer NOT NULL
, `keyphraseName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`keyphraseId`)
)
CREATE TABLE `paper` (
`paperId` integer NOT NULL
, `title` varchar(300) DEFAULT NULL
, `venueId` integer DEFAULT NULL
, `year` integer DEFAULT NULL
, `numCiting` integer DEFAULT NULL
, `numCitedBy` integer DEFAULT NULL
, `journalId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`)
, FOREIGN KEY(`journalId`) REFERENCES `journal`(`journalId`)
, FOREIGN KEY(`venueId`) REFERENCES `venue`(`venueId`)
)
CREATE TABLE `cite` (
`citingPaperId` integer NOT NULL
, `citedPaperId` integer NOT NULL
, PRIMARY KEY (`citingPaperId`,`citedPaperId`)
, FOREIGN KEY(`citedpaperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`citingpaperId`) REFERENCES `paper`(`paperId`)
)
CREATE TABLE `paperDataset` (
`paperId` integer DEFAULT NULL
, `datasetId` integer DEFAULT NULL
, PRIMARY KEY (`datasetId`, `paperId`)
)
CREATE TABLE `paperKeyphrase` (
`paperId` integer DEFAULT NULL
, `keyphraseId` integer DEFAULT NULL
, PRIMARY KEY (`keyphraseId`,`paperId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`keyphraseId`) REFERENCES `keyphrase`(`keyphraseId`)
)
CREATE TABLE `writes` (
`paperId` integer DEFAULT NULL
, `authorId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`,`authorId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`authorId`) REFERENCES `author`(`authorId`)
) | SELECT DISTINCT COUNT ( DISTINCT t2.paperid ) , t1.authorid FROM venue AS t3 JOIN paper AS t2 ON t3.venueid = t2.venueid JOIN writes AS t1 ON t1.paperid = t2.paperid WHERE t3.venuename = "chi" GROUP BY t1.authorid ORDER BY COUNT ( DISTINCT t2.paperid ) DESC; | Who has published more papers in chi ? | scholar |
CREATE TABLE `venue` (
`venueId` integer NOT NULL
, `venueName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`venueId`)
)
CREATE TABLE `author` (
`authorId` integer NOT NULL
, `authorName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`authorId`)
)
CREATE TABLE `dataset` (
`datasetId` integer NOT NULL
, `datasetName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`datasetId`)
)
CREATE TABLE `journal` (
`journalId` integer NOT NULL
, `journalName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`journalId`)
)
CREATE TABLE `keyphrase` (
`keyphraseId` integer NOT NULL
, `keyphraseName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`keyphraseId`)
)
CREATE TABLE `paper` (
`paperId` integer NOT NULL
, `title` varchar(300) DEFAULT NULL
, `venueId` integer DEFAULT NULL
, `year` integer DEFAULT NULL
, `numCiting` integer DEFAULT NULL
, `numCitedBy` integer DEFAULT NULL
, `journalId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`)
, FOREIGN KEY(`journalId`) REFERENCES `journal`(`journalId`)
, FOREIGN KEY(`venueId`) REFERENCES `venue`(`venueId`)
)
CREATE TABLE `cite` (
`citingPaperId` integer NOT NULL
, `citedPaperId` integer NOT NULL
, PRIMARY KEY (`citingPaperId`,`citedPaperId`)
, FOREIGN KEY(`citedpaperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`citingpaperId`) REFERENCES `paper`(`paperId`)
)
CREATE TABLE `paperDataset` (
`paperId` integer DEFAULT NULL
, `datasetId` integer DEFAULT NULL
, PRIMARY KEY (`datasetId`, `paperId`)
)
CREATE TABLE `paperKeyphrase` (
`paperId` integer DEFAULT NULL
, `keyphraseId` integer DEFAULT NULL
, PRIMARY KEY (`keyphraseId`,`paperId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`keyphraseId`) REFERENCES `keyphrase`(`keyphraseId`)
)
CREATE TABLE `writes` (
`paperId` integer DEFAULT NULL
, `authorId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`,`authorId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`authorId`) REFERENCES `author`(`authorId`)
) | SELECT DISTINCT COUNT ( DISTINCT t2.paperid ) , t1.authorid FROM venue AS t3 JOIN paper AS t2 ON t3.venueid = t2.venueid JOIN writes AS t1 ON t1.paperid = t2.paperid WHERE t3.venuename = "chi" GROUP BY t1.authorid ORDER BY COUNT ( DISTINCT t2.paperid ) DESC; | Who has written the most papers at chi ? | scholar |
CREATE TABLE `venue` (
`venueId` integer NOT NULL
, `venueName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`venueId`)
)
CREATE TABLE `author` (
`authorId` integer NOT NULL
, `authorName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`authorId`)
)
CREATE TABLE `dataset` (
`datasetId` integer NOT NULL
, `datasetName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`datasetId`)
)
CREATE TABLE `journal` (
`journalId` integer NOT NULL
, `journalName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`journalId`)
)
CREATE TABLE `keyphrase` (
`keyphraseId` integer NOT NULL
, `keyphraseName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`keyphraseId`)
)
CREATE TABLE `paper` (
`paperId` integer NOT NULL
, `title` varchar(300) DEFAULT NULL
, `venueId` integer DEFAULT NULL
, `year` integer DEFAULT NULL
, `numCiting` integer DEFAULT NULL
, `numCitedBy` integer DEFAULT NULL
, `journalId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`)
, FOREIGN KEY(`journalId`) REFERENCES `journal`(`journalId`)
, FOREIGN KEY(`venueId`) REFERENCES `venue`(`venueId`)
)
CREATE TABLE `cite` (
`citingPaperId` integer NOT NULL
, `citedPaperId` integer NOT NULL
, PRIMARY KEY (`citingPaperId`,`citedPaperId`)
, FOREIGN KEY(`citedpaperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`citingpaperId`) REFERENCES `paper`(`paperId`)
)
CREATE TABLE `paperDataset` (
`paperId` integer DEFAULT NULL
, `datasetId` integer DEFAULT NULL
, PRIMARY KEY (`datasetId`, `paperId`)
)
CREATE TABLE `paperKeyphrase` (
`paperId` integer DEFAULT NULL
, `keyphraseId` integer DEFAULT NULL
, PRIMARY KEY (`keyphraseId`,`paperId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`keyphraseId`) REFERENCES `keyphrase`(`keyphraseId`)
)
CREATE TABLE `writes` (
`paperId` integer DEFAULT NULL
, `authorId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`,`authorId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`authorId`) REFERENCES `author`(`authorId`)
) | SELECT DISTINCT COUNT ( DISTINCT t2.paperid ) , t1.authorid FROM venue AS t3 JOIN paper AS t2 ON t3.venueid = t2.venueid JOIN writes AS t1 ON t1.paperid = t2.paperid WHERE t3.venuename = "chi" GROUP BY t1.authorid ORDER BY COUNT ( DISTINCT t2.paperid ) DESC; | how is the most prolific author in chi ? | scholar |
CREATE TABLE `venue` (
`venueId` integer NOT NULL
, `venueName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`venueId`)
)
CREATE TABLE `author` (
`authorId` integer NOT NULL
, `authorName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`authorId`)
)
CREATE TABLE `dataset` (
`datasetId` integer NOT NULL
, `datasetName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`datasetId`)
)
CREATE TABLE `journal` (
`journalId` integer NOT NULL
, `journalName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`journalId`)
)
CREATE TABLE `keyphrase` (
`keyphraseId` integer NOT NULL
, `keyphraseName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`keyphraseId`)
)
CREATE TABLE `paper` (
`paperId` integer NOT NULL
, `title` varchar(300) DEFAULT NULL
, `venueId` integer DEFAULT NULL
, `year` integer DEFAULT NULL
, `numCiting` integer DEFAULT NULL
, `numCitedBy` integer DEFAULT NULL
, `journalId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`)
, FOREIGN KEY(`journalId`) REFERENCES `journal`(`journalId`)
, FOREIGN KEY(`venueId`) REFERENCES `venue`(`venueId`)
)
CREATE TABLE `cite` (
`citingPaperId` integer NOT NULL
, `citedPaperId` integer NOT NULL
, PRIMARY KEY (`citingPaperId`,`citedPaperId`)
, FOREIGN KEY(`citedpaperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`citingpaperId`) REFERENCES `paper`(`paperId`)
)
CREATE TABLE `paperDataset` (
`paperId` integer DEFAULT NULL
, `datasetId` integer DEFAULT NULL
, PRIMARY KEY (`datasetId`, `paperId`)
)
CREATE TABLE `paperKeyphrase` (
`paperId` integer DEFAULT NULL
, `keyphraseId` integer DEFAULT NULL
, PRIMARY KEY (`keyphraseId`,`paperId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`keyphraseId`) REFERENCES `keyphrase`(`keyphraseId`)
)
CREATE TABLE `writes` (
`paperId` integer DEFAULT NULL
, `authorId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`,`authorId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`authorId`) REFERENCES `author`(`authorId`)
) | SELECT DISTINCT COUNT ( DISTINCT t2.paperid ) , t1.authorid FROM venue AS t3 JOIN paper AS t2 ON t3.venueid = t2.venueid JOIN writes AS t1 ON t1.paperid = t2.paperid WHERE t3.venuename = "chi" GROUP BY t1.authorid ORDER BY COUNT ( DISTINCT t2.paperid ) DESC; | who published the most at chi | scholar |
CREATE TABLE `venue` (
`venueId` integer NOT NULL
, `venueName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`venueId`)
)
CREATE TABLE `author` (
`authorId` integer NOT NULL
, `authorName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`authorId`)
)
CREATE TABLE `dataset` (
`datasetId` integer NOT NULL
, `datasetName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`datasetId`)
)
CREATE TABLE `journal` (
`journalId` integer NOT NULL
, `journalName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`journalId`)
)
CREATE TABLE `keyphrase` (
`keyphraseId` integer NOT NULL
, `keyphraseName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`keyphraseId`)
)
CREATE TABLE `paper` (
`paperId` integer NOT NULL
, `title` varchar(300) DEFAULT NULL
, `venueId` integer DEFAULT NULL
, `year` integer DEFAULT NULL
, `numCiting` integer DEFAULT NULL
, `numCitedBy` integer DEFAULT NULL
, `journalId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`)
, FOREIGN KEY(`journalId`) REFERENCES `journal`(`journalId`)
, FOREIGN KEY(`venueId`) REFERENCES `venue`(`venueId`)
)
CREATE TABLE `cite` (
`citingPaperId` integer NOT NULL
, `citedPaperId` integer NOT NULL
, PRIMARY KEY (`citingPaperId`,`citedPaperId`)
, FOREIGN KEY(`citedpaperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`citingpaperId`) REFERENCES `paper`(`paperId`)
)
CREATE TABLE `paperDataset` (
`paperId` integer DEFAULT NULL
, `datasetId` integer DEFAULT NULL
, PRIMARY KEY (`datasetId`, `paperId`)
)
CREATE TABLE `paperKeyphrase` (
`paperId` integer DEFAULT NULL
, `keyphraseId` integer DEFAULT NULL
, PRIMARY KEY (`keyphraseId`,`paperId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`keyphraseId`) REFERENCES `keyphrase`(`keyphraseId`)
)
CREATE TABLE `writes` (
`paperId` integer DEFAULT NULL
, `authorId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`,`authorId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`authorId`) REFERENCES `author`(`authorId`)
) | SELECT DISTINCT COUNT ( DISTINCT t3.paperid ) , t3.year FROM writes AS t2 JOIN author AS t1 ON t2.authorid = t1.authorid JOIN paper AS t3 ON t2.paperid = t3.paperid WHERE t1.authorname LIKE "Ye Cao" GROUP BY t3.year ORDER BY COUNT ( DISTINCT t3.paperid ) DESC; | In what year did Ye Cao publish the most papers | scholar |
CREATE TABLE `venue` (
`venueId` integer NOT NULL
, `venueName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`venueId`)
)
CREATE TABLE `author` (
`authorId` integer NOT NULL
, `authorName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`authorId`)
)
CREATE TABLE `dataset` (
`datasetId` integer NOT NULL
, `datasetName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`datasetId`)
)
CREATE TABLE `journal` (
`journalId` integer NOT NULL
, `journalName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`journalId`)
)
CREATE TABLE `keyphrase` (
`keyphraseId` integer NOT NULL
, `keyphraseName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`keyphraseId`)
)
CREATE TABLE `paper` (
`paperId` integer NOT NULL
, `title` varchar(300) DEFAULT NULL
, `venueId` integer DEFAULT NULL
, `year` integer DEFAULT NULL
, `numCiting` integer DEFAULT NULL
, `numCitedBy` integer DEFAULT NULL
, `journalId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`)
, FOREIGN KEY(`journalId`) REFERENCES `journal`(`journalId`)
, FOREIGN KEY(`venueId`) REFERENCES `venue`(`venueId`)
)
CREATE TABLE `cite` (
`citingPaperId` integer NOT NULL
, `citedPaperId` integer NOT NULL
, PRIMARY KEY (`citingPaperId`,`citedPaperId`)
, FOREIGN KEY(`citedpaperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`citingpaperId`) REFERENCES `paper`(`paperId`)
)
CREATE TABLE `paperDataset` (
`paperId` integer DEFAULT NULL
, `datasetId` integer DEFAULT NULL
, PRIMARY KEY (`datasetId`, `paperId`)
)
CREATE TABLE `paperKeyphrase` (
`paperId` integer DEFAULT NULL
, `keyphraseId` integer DEFAULT NULL
, PRIMARY KEY (`keyphraseId`,`paperId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`keyphraseId`) REFERENCES `keyphrase`(`keyphraseId`)
)
CREATE TABLE `writes` (
`paperId` integer DEFAULT NULL
, `authorId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`,`authorId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`authorId`) REFERENCES `author`(`authorId`)
) | SELECT DISTINCT COUNT ( DISTINCT t3.paperid ) , t3.year FROM writes AS t2 JOIN author AS t1 ON t2.authorid = t1.authorid JOIN paper AS t3 ON t2.paperid = t3.paperid WHERE t1.authorname LIKE "Ye Cao" GROUP BY t3.year ORDER BY COUNT ( DISTINCT t3.paperid ) DESC; | What year did Ye Cao publish the most papers | scholar |
CREATE TABLE `venue` (
`venueId` integer NOT NULL
, `venueName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`venueId`)
)
CREATE TABLE `author` (
`authorId` integer NOT NULL
, `authorName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`authorId`)
)
CREATE TABLE `dataset` (
`datasetId` integer NOT NULL
, `datasetName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`datasetId`)
)
CREATE TABLE `journal` (
`journalId` integer NOT NULL
, `journalName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`journalId`)
)
CREATE TABLE `keyphrase` (
`keyphraseId` integer NOT NULL
, `keyphraseName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`keyphraseId`)
)
CREATE TABLE `paper` (
`paperId` integer NOT NULL
, `title` varchar(300) DEFAULT NULL
, `venueId` integer DEFAULT NULL
, `year` integer DEFAULT NULL
, `numCiting` integer DEFAULT NULL
, `numCitedBy` integer DEFAULT NULL
, `journalId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`)
, FOREIGN KEY(`journalId`) REFERENCES `journal`(`journalId`)
, FOREIGN KEY(`venueId`) REFERENCES `venue`(`venueId`)
)
CREATE TABLE `cite` (
`citingPaperId` integer NOT NULL
, `citedPaperId` integer NOT NULL
, PRIMARY KEY (`citingPaperId`,`citedPaperId`)
, FOREIGN KEY(`citedpaperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`citingpaperId`) REFERENCES `paper`(`paperId`)
)
CREATE TABLE `paperDataset` (
`paperId` integer DEFAULT NULL
, `datasetId` integer DEFAULT NULL
, PRIMARY KEY (`datasetId`, `paperId`)
)
CREATE TABLE `paperKeyphrase` (
`paperId` integer DEFAULT NULL
, `keyphraseId` integer DEFAULT NULL
, PRIMARY KEY (`keyphraseId`,`paperId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`keyphraseId`) REFERENCES `keyphrase`(`keyphraseId`)
)
CREATE TABLE `writes` (
`paperId` integer DEFAULT NULL
, `authorId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`,`authorId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`authorId`) REFERENCES `author`(`authorId`)
) | SELECT DISTINCT t3.venueid FROM paperdataset AS t2 JOIN dataset AS t1 ON t2.datasetid = t1.datasetid JOIN paper AS t3 ON t3.paperid = t2.paperid WHERE t1.datasetname = "ImageNet"; | conferences that mention ImageNet | scholar |
CREATE TABLE `venue` (
`venueId` integer NOT NULL
, `venueName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`venueId`)
)
CREATE TABLE `author` (
`authorId` integer NOT NULL
, `authorName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`authorId`)
)
CREATE TABLE `dataset` (
`datasetId` integer NOT NULL
, `datasetName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`datasetId`)
)
CREATE TABLE `journal` (
`journalId` integer NOT NULL
, `journalName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`journalId`)
)
CREATE TABLE `keyphrase` (
`keyphraseId` integer NOT NULL
, `keyphraseName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`keyphraseId`)
)
CREATE TABLE `paper` (
`paperId` integer NOT NULL
, `title` varchar(300) DEFAULT NULL
, `venueId` integer DEFAULT NULL
, `year` integer DEFAULT NULL
, `numCiting` integer DEFAULT NULL
, `numCitedBy` integer DEFAULT NULL
, `journalId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`)
, FOREIGN KEY(`journalId`) REFERENCES `journal`(`journalId`)
, FOREIGN KEY(`venueId`) REFERENCES `venue`(`venueId`)
)
CREATE TABLE `cite` (
`citingPaperId` integer NOT NULL
, `citedPaperId` integer NOT NULL
, PRIMARY KEY (`citingPaperId`,`citedPaperId`)
, FOREIGN KEY(`citedpaperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`citingpaperId`) REFERENCES `paper`(`paperId`)
)
CREATE TABLE `paperDataset` (
`paperId` integer DEFAULT NULL
, `datasetId` integer DEFAULT NULL
, PRIMARY KEY (`datasetId`, `paperId`)
)
CREATE TABLE `paperKeyphrase` (
`paperId` integer DEFAULT NULL
, `keyphraseId` integer DEFAULT NULL
, PRIMARY KEY (`keyphraseId`,`paperId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`keyphraseId`) REFERENCES `keyphrase`(`keyphraseId`)
)
CREATE TABLE `writes` (
`paperId` integer DEFAULT NULL
, `authorId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`,`authorId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`authorId`) REFERENCES `author`(`authorId`)
) | SELECT DISTINCT t3.year FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid WHERE t1.keyphrasename = "deep learning" GROUP BY t3.year ORDER BY t3.year ASC; | first deep learning paper | scholar |
CREATE TABLE `venue` (
`venueId` integer NOT NULL
, `venueName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`venueId`)
)
CREATE TABLE `author` (
`authorId` integer NOT NULL
, `authorName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`authorId`)
)
CREATE TABLE `dataset` (
`datasetId` integer NOT NULL
, `datasetName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`datasetId`)
)
CREATE TABLE `journal` (
`journalId` integer NOT NULL
, `journalName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`journalId`)
)
CREATE TABLE `keyphrase` (
`keyphraseId` integer NOT NULL
, `keyphraseName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`keyphraseId`)
)
CREATE TABLE `paper` (
`paperId` integer NOT NULL
, `title` varchar(300) DEFAULT NULL
, `venueId` integer DEFAULT NULL
, `year` integer DEFAULT NULL
, `numCiting` integer DEFAULT NULL
, `numCitedBy` integer DEFAULT NULL
, `journalId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`)
, FOREIGN KEY(`journalId`) REFERENCES `journal`(`journalId`)
, FOREIGN KEY(`venueId`) REFERENCES `venue`(`venueId`)
)
CREATE TABLE `cite` (
`citingPaperId` integer NOT NULL
, `citedPaperId` integer NOT NULL
, PRIMARY KEY (`citingPaperId`,`citedPaperId`)
, FOREIGN KEY(`citedpaperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`citingpaperId`) REFERENCES `paper`(`paperId`)
)
CREATE TABLE `paperDataset` (
`paperId` integer DEFAULT NULL
, `datasetId` integer DEFAULT NULL
, PRIMARY KEY (`datasetId`, `paperId`)
)
CREATE TABLE `paperKeyphrase` (
`paperId` integer DEFAULT NULL
, `keyphraseId` integer DEFAULT NULL
, PRIMARY KEY (`keyphraseId`,`paperId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`keyphraseId`) REFERENCES `keyphrase`(`keyphraseId`)
)
CREATE TABLE `writes` (
`paperId` integer DEFAULT NULL
, `authorId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`,`authorId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`authorId`) REFERENCES `author`(`authorId`)
) | SELECT DISTINCT t3.year FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid WHERE t1.keyphrasename = "deep learning" GROUP BY t3.year ORDER BY t3.year ASC; | What was the first paper on deep learning written ? | scholar |
CREATE TABLE `venue` (
`venueId` integer NOT NULL
, `venueName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`venueId`)
)
CREATE TABLE `author` (
`authorId` integer NOT NULL
, `authorName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`authorId`)
)
CREATE TABLE `dataset` (
`datasetId` integer NOT NULL
, `datasetName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`datasetId`)
)
CREATE TABLE `journal` (
`journalId` integer NOT NULL
, `journalName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`journalId`)
)
CREATE TABLE `keyphrase` (
`keyphraseId` integer NOT NULL
, `keyphraseName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`keyphraseId`)
)
CREATE TABLE `paper` (
`paperId` integer NOT NULL
, `title` varchar(300) DEFAULT NULL
, `venueId` integer DEFAULT NULL
, `year` integer DEFAULT NULL
, `numCiting` integer DEFAULT NULL
, `numCitedBy` integer DEFAULT NULL
, `journalId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`)
, FOREIGN KEY(`journalId`) REFERENCES `journal`(`journalId`)
, FOREIGN KEY(`venueId`) REFERENCES `venue`(`venueId`)
)
CREATE TABLE `cite` (
`citingPaperId` integer NOT NULL
, `citedPaperId` integer NOT NULL
, PRIMARY KEY (`citingPaperId`,`citedPaperId`)
, FOREIGN KEY(`citedpaperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`citingpaperId`) REFERENCES `paper`(`paperId`)
)
CREATE TABLE `paperDataset` (
`paperId` integer DEFAULT NULL
, `datasetId` integer DEFAULT NULL
, PRIMARY KEY (`datasetId`, `paperId`)
)
CREATE TABLE `paperKeyphrase` (
`paperId` integer DEFAULT NULL
, `keyphraseId` integer DEFAULT NULL
, PRIMARY KEY (`keyphraseId`,`paperId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`keyphraseId`) REFERENCES `keyphrase`(`keyphraseId`)
)
CREATE TABLE `writes` (
`paperId` integer DEFAULT NULL
, `authorId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`,`authorId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`authorId`) REFERENCES `author`(`authorId`)
) | SELECT DISTINCT t3.year FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid WHERE t1.keyphrasename = "deep learning" GROUP BY t3.year ORDER BY t3.year ASC; | When was deep learning proposed ? | scholar |
CREATE TABLE `venue` (
`venueId` integer NOT NULL
, `venueName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`venueId`)
)
CREATE TABLE `author` (
`authorId` integer NOT NULL
, `authorName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`authorId`)
)
CREATE TABLE `dataset` (
`datasetId` integer NOT NULL
, `datasetName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`datasetId`)
)
CREATE TABLE `journal` (
`journalId` integer NOT NULL
, `journalName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`journalId`)
)
CREATE TABLE `keyphrase` (
`keyphraseId` integer NOT NULL
, `keyphraseName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`keyphraseId`)
)
CREATE TABLE `paper` (
`paperId` integer NOT NULL
, `title` varchar(300) DEFAULT NULL
, `venueId` integer DEFAULT NULL
, `year` integer DEFAULT NULL
, `numCiting` integer DEFAULT NULL
, `numCitedBy` integer DEFAULT NULL
, `journalId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`)
, FOREIGN KEY(`journalId`) REFERENCES `journal`(`journalId`)
, FOREIGN KEY(`venueId`) REFERENCES `venue`(`venueId`)
)
CREATE TABLE `cite` (
`citingPaperId` integer NOT NULL
, `citedPaperId` integer NOT NULL
, PRIMARY KEY (`citingPaperId`,`citedPaperId`)
, FOREIGN KEY(`citedpaperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`citingpaperId`) REFERENCES `paper`(`paperId`)
)
CREATE TABLE `paperDataset` (
`paperId` integer DEFAULT NULL
, `datasetId` integer DEFAULT NULL
, PRIMARY KEY (`datasetId`, `paperId`)
)
CREATE TABLE `paperKeyphrase` (
`paperId` integer DEFAULT NULL
, `keyphraseId` integer DEFAULT NULL
, PRIMARY KEY (`keyphraseId`,`paperId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`keyphraseId`) REFERENCES `keyphrase`(`keyphraseId`)
)
CREATE TABLE `writes` (
`paperId` integer DEFAULT NULL
, `authorId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`,`authorId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`authorId`) REFERENCES `author`(`authorId`)
) | SELECT DISTINCT t3.year FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid WHERE t1.keyphrasename = "deep learning" GROUP BY t3.year ORDER BY t3.year ASC; | when was the first deep learning paper published ? | scholar |
CREATE TABLE `venue` (
`venueId` integer NOT NULL
, `venueName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`venueId`)
)
CREATE TABLE `author` (
`authorId` integer NOT NULL
, `authorName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`authorId`)
)
CREATE TABLE `dataset` (
`datasetId` integer NOT NULL
, `datasetName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`datasetId`)
)
CREATE TABLE `journal` (
`journalId` integer NOT NULL
, `journalName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`journalId`)
)
CREATE TABLE `keyphrase` (
`keyphraseId` integer NOT NULL
, `keyphraseName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`keyphraseId`)
)
CREATE TABLE `paper` (
`paperId` integer NOT NULL
, `title` varchar(300) DEFAULT NULL
, `venueId` integer DEFAULT NULL
, `year` integer DEFAULT NULL
, `numCiting` integer DEFAULT NULL
, `numCitedBy` integer DEFAULT NULL
, `journalId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`)
, FOREIGN KEY(`journalId`) REFERENCES `journal`(`journalId`)
, FOREIGN KEY(`venueId`) REFERENCES `venue`(`venueId`)
)
CREATE TABLE `cite` (
`citingPaperId` integer NOT NULL
, `citedPaperId` integer NOT NULL
, PRIMARY KEY (`citingPaperId`,`citedPaperId`)
, FOREIGN KEY(`citedpaperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`citingpaperId`) REFERENCES `paper`(`paperId`)
)
CREATE TABLE `paperDataset` (
`paperId` integer DEFAULT NULL
, `datasetId` integer DEFAULT NULL
, PRIMARY KEY (`datasetId`, `paperId`)
)
CREATE TABLE `paperKeyphrase` (
`paperId` integer DEFAULT NULL
, `keyphraseId` integer DEFAULT NULL
, PRIMARY KEY (`keyphraseId`,`paperId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`keyphraseId`) REFERENCES `keyphrase`(`keyphraseId`)
)
CREATE TABLE `writes` (
`paperId` integer DEFAULT NULL
, `authorId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`,`authorId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`authorId`) REFERENCES `author`(`authorId`)
) | SELECT DISTINCT t2.paperid FROM paper AS t2 JOIN journal AS t1 ON t2.journalid = t1.journalid WHERE t1.journalname = "Academic radiology" AND t2.year = 1995; | what papers were published in Academic radiology in 1995 ? | scholar |
CREATE TABLE `venue` (
`venueId` integer NOT NULL
, `venueName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`venueId`)
)
CREATE TABLE `author` (
`authorId` integer NOT NULL
, `authorName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`authorId`)
)
CREATE TABLE `dataset` (
`datasetId` integer NOT NULL
, `datasetName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`datasetId`)
)
CREATE TABLE `journal` (
`journalId` integer NOT NULL
, `journalName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`journalId`)
)
CREATE TABLE `keyphrase` (
`keyphraseId` integer NOT NULL
, `keyphraseName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`keyphraseId`)
)
CREATE TABLE `paper` (
`paperId` integer NOT NULL
, `title` varchar(300) DEFAULT NULL
, `venueId` integer DEFAULT NULL
, `year` integer DEFAULT NULL
, `numCiting` integer DEFAULT NULL
, `numCitedBy` integer DEFAULT NULL
, `journalId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`)
, FOREIGN KEY(`journalId`) REFERENCES `journal`(`journalId`)
, FOREIGN KEY(`venueId`) REFERENCES `venue`(`venueId`)
)
CREATE TABLE `cite` (
`citingPaperId` integer NOT NULL
, `citedPaperId` integer NOT NULL
, PRIMARY KEY (`citingPaperId`,`citedPaperId`)
, FOREIGN KEY(`citedpaperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`citingpaperId`) REFERENCES `paper`(`paperId`)
)
CREATE TABLE `paperDataset` (
`paperId` integer DEFAULT NULL
, `datasetId` integer DEFAULT NULL
, PRIMARY KEY (`datasetId`, `paperId`)
)
CREATE TABLE `paperKeyphrase` (
`paperId` integer DEFAULT NULL
, `keyphraseId` integer DEFAULT NULL
, PRIMARY KEY (`keyphraseId`,`paperId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`keyphraseId`) REFERENCES `keyphrase`(`keyphraseId`)
)
CREATE TABLE `writes` (
`paperId` integer DEFAULT NULL
, `authorId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`,`authorId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`authorId`) REFERENCES `author`(`authorId`)
) | SELECT DISTINCT t4.citedpaperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid JOIN cite AS t4 ON t3.paperid = t4.citingpaperid WHERE t1.keyphrasename = "parsing"; | what papers do parsing papers typically cite ? | scholar |
CREATE TABLE `venue` (
`venueId` integer NOT NULL
, `venueName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`venueId`)
)
CREATE TABLE `author` (
`authorId` integer NOT NULL
, `authorName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`authorId`)
)
CREATE TABLE `dataset` (
`datasetId` integer NOT NULL
, `datasetName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`datasetId`)
)
CREATE TABLE `journal` (
`journalId` integer NOT NULL
, `journalName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`journalId`)
)
CREATE TABLE `keyphrase` (
`keyphraseId` integer NOT NULL
, `keyphraseName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`keyphraseId`)
)
CREATE TABLE `paper` (
`paperId` integer NOT NULL
, `title` varchar(300) DEFAULT NULL
, `venueId` integer DEFAULT NULL
, `year` integer DEFAULT NULL
, `numCiting` integer DEFAULT NULL
, `numCitedBy` integer DEFAULT NULL
, `journalId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`)
, FOREIGN KEY(`journalId`) REFERENCES `journal`(`journalId`)
, FOREIGN KEY(`venueId`) REFERENCES `venue`(`venueId`)
)
CREATE TABLE `cite` (
`citingPaperId` integer NOT NULL
, `citedPaperId` integer NOT NULL
, PRIMARY KEY (`citingPaperId`,`citedPaperId`)
, FOREIGN KEY(`citedpaperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`citingpaperId`) REFERENCES `paper`(`paperId`)
)
CREATE TABLE `paperDataset` (
`paperId` integer DEFAULT NULL
, `datasetId` integer DEFAULT NULL
, PRIMARY KEY (`datasetId`, `paperId`)
)
CREATE TABLE `paperKeyphrase` (
`paperId` integer DEFAULT NULL
, `keyphraseId` integer DEFAULT NULL
, PRIMARY KEY (`keyphraseId`,`paperId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`keyphraseId`) REFERENCES `keyphrase`(`keyphraseId`)
)
CREATE TABLE `writes` (
`paperId` integer DEFAULT NULL
, `authorId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`,`authorId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`authorId`) REFERENCES `author`(`authorId`)
) | SELECT DISTINCT t4.citedpaperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid JOIN cite AS t4 ON t3.paperid = t4.citingpaperid WHERE t1.keyphrasename = "parsing"; | papers typically cited by parsing papers | scholar |
CREATE TABLE `venue` (
`venueId` integer NOT NULL
, `venueName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`venueId`)
)
CREATE TABLE `author` (
`authorId` integer NOT NULL
, `authorName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`authorId`)
)
CREATE TABLE `dataset` (
`datasetId` integer NOT NULL
, `datasetName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`datasetId`)
)
CREATE TABLE `journal` (
`journalId` integer NOT NULL
, `journalName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`journalId`)
)
CREATE TABLE `keyphrase` (
`keyphraseId` integer NOT NULL
, `keyphraseName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`keyphraseId`)
)
CREATE TABLE `paper` (
`paperId` integer NOT NULL
, `title` varchar(300) DEFAULT NULL
, `venueId` integer DEFAULT NULL
, `year` integer DEFAULT NULL
, `numCiting` integer DEFAULT NULL
, `numCitedBy` integer DEFAULT NULL
, `journalId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`)
, FOREIGN KEY(`journalId`) REFERENCES `journal`(`journalId`)
, FOREIGN KEY(`venueId`) REFERENCES `venue`(`venueId`)
)
CREATE TABLE `cite` (
`citingPaperId` integer NOT NULL
, `citedPaperId` integer NOT NULL
, PRIMARY KEY (`citingPaperId`,`citedPaperId`)
, FOREIGN KEY(`citedpaperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`citingpaperId`) REFERENCES `paper`(`paperId`)
)
CREATE TABLE `paperDataset` (
`paperId` integer DEFAULT NULL
, `datasetId` integer DEFAULT NULL
, PRIMARY KEY (`datasetId`, `paperId`)
)
CREATE TABLE `paperKeyphrase` (
`paperId` integer DEFAULT NULL
, `keyphraseId` integer DEFAULT NULL
, PRIMARY KEY (`keyphraseId`,`paperId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`keyphraseId`) REFERENCES `keyphrase`(`keyphraseId`)
)
CREATE TABLE `writes` (
`paperId` integer DEFAULT NULL
, `authorId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`,`authorId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`authorId`) REFERENCES `author`(`authorId`)
) | SELECT DISTINCT t3.venueid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid WHERE t1.keyphrasename = "Trophic Cascade"; | venue for Trophic Cascade | scholar |
CREATE TABLE `venue` (
`venueId` integer NOT NULL
, `venueName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`venueId`)
)
CREATE TABLE `author` (
`authorId` integer NOT NULL
, `authorName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`authorId`)
)
CREATE TABLE `dataset` (
`datasetId` integer NOT NULL
, `datasetName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`datasetId`)
)
CREATE TABLE `journal` (
`journalId` integer NOT NULL
, `journalName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`journalId`)
)
CREATE TABLE `keyphrase` (
`keyphraseId` integer NOT NULL
, `keyphraseName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`keyphraseId`)
)
CREATE TABLE `paper` (
`paperId` integer NOT NULL
, `title` varchar(300) DEFAULT NULL
, `venueId` integer DEFAULT NULL
, `year` integer DEFAULT NULL
, `numCiting` integer DEFAULT NULL
, `numCitedBy` integer DEFAULT NULL
, `journalId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`)
, FOREIGN KEY(`journalId`) REFERENCES `journal`(`journalId`)
, FOREIGN KEY(`venueId`) REFERENCES `venue`(`venueId`)
)
CREATE TABLE `cite` (
`citingPaperId` integer NOT NULL
, `citedPaperId` integer NOT NULL
, PRIMARY KEY (`citingPaperId`,`citedPaperId`)
, FOREIGN KEY(`citedpaperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`citingpaperId`) REFERENCES `paper`(`paperId`)
)
CREATE TABLE `paperDataset` (
`paperId` integer DEFAULT NULL
, `datasetId` integer DEFAULT NULL
, PRIMARY KEY (`datasetId`, `paperId`)
)
CREATE TABLE `paperKeyphrase` (
`paperId` integer DEFAULT NULL
, `keyphraseId` integer DEFAULT NULL
, PRIMARY KEY (`keyphraseId`,`paperId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`keyphraseId`) REFERENCES `keyphrase`(`keyphraseId`)
)
CREATE TABLE `writes` (
`paperId` integer DEFAULT NULL
, `authorId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`,`authorId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`authorId`) REFERENCES `author`(`authorId`)
) | SELECT DISTINCT t3.venueid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid WHERE t1.keyphrasename = "Trophic Cascade"; | conferences for Trophic Cascade | scholar |
CREATE TABLE `venue` (
`venueId` integer NOT NULL
, `venueName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`venueId`)
)
CREATE TABLE `author` (
`authorId` integer NOT NULL
, `authorName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`authorId`)
)
CREATE TABLE `dataset` (
`datasetId` integer NOT NULL
, `datasetName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`datasetId`)
)
CREATE TABLE `journal` (
`journalId` integer NOT NULL
, `journalName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`journalId`)
)
CREATE TABLE `keyphrase` (
`keyphraseId` integer NOT NULL
, `keyphraseName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`keyphraseId`)
)
CREATE TABLE `paper` (
`paperId` integer NOT NULL
, `title` varchar(300) DEFAULT NULL
, `venueId` integer DEFAULT NULL
, `year` integer DEFAULT NULL
, `numCiting` integer DEFAULT NULL
, `numCitedBy` integer DEFAULT NULL
, `journalId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`)
, FOREIGN KEY(`journalId`) REFERENCES `journal`(`journalId`)
, FOREIGN KEY(`venueId`) REFERENCES `venue`(`venueId`)
)
CREATE TABLE `cite` (
`citingPaperId` integer NOT NULL
, `citedPaperId` integer NOT NULL
, PRIMARY KEY (`citingPaperId`,`citedPaperId`)
, FOREIGN KEY(`citedpaperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`citingpaperId`) REFERENCES `paper`(`paperId`)
)
CREATE TABLE `paperDataset` (
`paperId` integer DEFAULT NULL
, `datasetId` integer DEFAULT NULL
, PRIMARY KEY (`datasetId`, `paperId`)
)
CREATE TABLE `paperKeyphrase` (
`paperId` integer DEFAULT NULL
, `keyphraseId` integer DEFAULT NULL
, PRIMARY KEY (`keyphraseId`,`paperId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`keyphraseId`) REFERENCES `keyphrase`(`keyphraseId`)
)
CREATE TABLE `writes` (
`paperId` integer DEFAULT NULL
, `authorId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`,`authorId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`authorId`) REFERENCES `author`(`authorId`)
) | SELECT DISTINCT t3.venueid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid WHERE t1.keyphrasename = "Trophic Cascade"; | what conferences are related to Trophic Cascade | scholar |
CREATE TABLE `venue` (
`venueId` integer NOT NULL
, `venueName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`venueId`)
)
CREATE TABLE `author` (
`authorId` integer NOT NULL
, `authorName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`authorId`)
)
CREATE TABLE `dataset` (
`datasetId` integer NOT NULL
, `datasetName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`datasetId`)
)
CREATE TABLE `journal` (
`journalId` integer NOT NULL
, `journalName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`journalId`)
)
CREATE TABLE `keyphrase` (
`keyphraseId` integer NOT NULL
, `keyphraseName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`keyphraseId`)
)
CREATE TABLE `paper` (
`paperId` integer NOT NULL
, `title` varchar(300) DEFAULT NULL
, `venueId` integer DEFAULT NULL
, `year` integer DEFAULT NULL
, `numCiting` integer DEFAULT NULL
, `numCitedBy` integer DEFAULT NULL
, `journalId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`)
, FOREIGN KEY(`journalId`) REFERENCES `journal`(`journalId`)
, FOREIGN KEY(`venueId`) REFERENCES `venue`(`venueId`)
)
CREATE TABLE `cite` (
`citingPaperId` integer NOT NULL
, `citedPaperId` integer NOT NULL
, PRIMARY KEY (`citingPaperId`,`citedPaperId`)
, FOREIGN KEY(`citedpaperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`citingpaperId`) REFERENCES `paper`(`paperId`)
)
CREATE TABLE `paperDataset` (
`paperId` integer DEFAULT NULL
, `datasetId` integer DEFAULT NULL
, PRIMARY KEY (`datasetId`, `paperId`)
)
CREATE TABLE `paperKeyphrase` (
`paperId` integer DEFAULT NULL
, `keyphraseId` integer DEFAULT NULL
, PRIMARY KEY (`keyphraseId`,`paperId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`keyphraseId`) REFERENCES `keyphrase`(`keyphraseId`)
)
CREATE TABLE `writes` (
`paperId` integer DEFAULT NULL
, `authorId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`,`authorId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`authorId`) REFERENCES `author`(`authorId`)
) | SELECT DISTINCT t3.venueid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid WHERE t1.keyphrasename = "Trophic Cascade"; | What was the conference name that approved Trophic Cascade ? | scholar |
CREATE TABLE `venue` (
`venueId` integer NOT NULL
, `venueName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`venueId`)
)
CREATE TABLE `author` (
`authorId` integer NOT NULL
, `authorName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`authorId`)
)
CREATE TABLE `dataset` (
`datasetId` integer NOT NULL
, `datasetName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`datasetId`)
)
CREATE TABLE `journal` (
`journalId` integer NOT NULL
, `journalName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`journalId`)
)
CREATE TABLE `keyphrase` (
`keyphraseId` integer NOT NULL
, `keyphraseName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`keyphraseId`)
)
CREATE TABLE `paper` (
`paperId` integer NOT NULL
, `title` varchar(300) DEFAULT NULL
, `venueId` integer DEFAULT NULL
, `year` integer DEFAULT NULL
, `numCiting` integer DEFAULT NULL
, `numCitedBy` integer DEFAULT NULL
, `journalId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`)
, FOREIGN KEY(`journalId`) REFERENCES `journal`(`journalId`)
, FOREIGN KEY(`venueId`) REFERENCES `venue`(`venueId`)
)
CREATE TABLE `cite` (
`citingPaperId` integer NOT NULL
, `citedPaperId` integer NOT NULL
, PRIMARY KEY (`citingPaperId`,`citedPaperId`)
, FOREIGN KEY(`citedpaperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`citingpaperId`) REFERENCES `paper`(`paperId`)
)
CREATE TABLE `paperDataset` (
`paperId` integer DEFAULT NULL
, `datasetId` integer DEFAULT NULL
, PRIMARY KEY (`datasetId`, `paperId`)
)
CREATE TABLE `paperKeyphrase` (
`paperId` integer DEFAULT NULL
, `keyphraseId` integer DEFAULT NULL
, PRIMARY KEY (`keyphraseId`,`paperId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`keyphraseId`) REFERENCES `keyphrase`(`keyphraseId`)
)
CREATE TABLE `writes` (
`paperId` integer DEFAULT NULL
, `authorId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`,`authorId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`authorId`) REFERENCES `author`(`authorId`)
) | SELECT DISTINCT COUNT ( t3.paperid ) FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid WHERE t1.keyphrasename = "question answering" AND t3.year >= 2011; | How many papers were written on question answering in 2011 through 2016 ? | scholar |
CREATE TABLE `venue` (
`venueId` integer NOT NULL
, `venueName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`venueId`)
)
CREATE TABLE `author` (
`authorId` integer NOT NULL
, `authorName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`authorId`)
)
CREATE TABLE `dataset` (
`datasetId` integer NOT NULL
, `datasetName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`datasetId`)
)
CREATE TABLE `journal` (
`journalId` integer NOT NULL
, `journalName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`journalId`)
)
CREATE TABLE `keyphrase` (
`keyphraseId` integer NOT NULL
, `keyphraseName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`keyphraseId`)
)
CREATE TABLE `paper` (
`paperId` integer NOT NULL
, `title` varchar(300) DEFAULT NULL
, `venueId` integer DEFAULT NULL
, `year` integer DEFAULT NULL
, `numCiting` integer DEFAULT NULL
, `numCitedBy` integer DEFAULT NULL
, `journalId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`)
, FOREIGN KEY(`journalId`) REFERENCES `journal`(`journalId`)
, FOREIGN KEY(`venueId`) REFERENCES `venue`(`venueId`)
)
CREATE TABLE `cite` (
`citingPaperId` integer NOT NULL
, `citedPaperId` integer NOT NULL
, PRIMARY KEY (`citingPaperId`,`citedPaperId`)
, FOREIGN KEY(`citedpaperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`citingpaperId`) REFERENCES `paper`(`paperId`)
)
CREATE TABLE `paperDataset` (
`paperId` integer DEFAULT NULL
, `datasetId` integer DEFAULT NULL
, PRIMARY KEY (`datasetId`, `paperId`)
)
CREATE TABLE `paperKeyphrase` (
`paperId` integer DEFAULT NULL
, `keyphraseId` integer DEFAULT NULL
, PRIMARY KEY (`keyphraseId`,`paperId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`keyphraseId`) REFERENCES `keyphrase`(`keyphraseId`)
)
CREATE TABLE `writes` (
`paperId` integer DEFAULT NULL
, `authorId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`,`authorId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`authorId`) REFERENCES `author`(`authorId`)
) | SELECT DISTINCT COUNT ( DISTINCT t4.citingpaperid ) , t3.venueid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid JOIN cite AS t4 ON t3.paperid = t4.citedpaperid WHERE t1.keyphrasename = "NLP" GROUP BY t3.venueid ORDER BY COUNT ( DISTINCT t4.citingpaperid ) DESC; | What are the best NLP conferences ? | scholar |
CREATE TABLE `venue` (
`venueId` integer NOT NULL
, `venueName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`venueId`)
)
CREATE TABLE `author` (
`authorId` integer NOT NULL
, `authorName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`authorId`)
)
CREATE TABLE `dataset` (
`datasetId` integer NOT NULL
, `datasetName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`datasetId`)
)
CREATE TABLE `journal` (
`journalId` integer NOT NULL
, `journalName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`journalId`)
)
CREATE TABLE `keyphrase` (
`keyphraseId` integer NOT NULL
, `keyphraseName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`keyphraseId`)
)
CREATE TABLE `paper` (
`paperId` integer NOT NULL
, `title` varchar(300) DEFAULT NULL
, `venueId` integer DEFAULT NULL
, `year` integer DEFAULT NULL
, `numCiting` integer DEFAULT NULL
, `numCitedBy` integer DEFAULT NULL
, `journalId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`)
, FOREIGN KEY(`journalId`) REFERENCES `journal`(`journalId`)
, FOREIGN KEY(`venueId`) REFERENCES `venue`(`venueId`)
)
CREATE TABLE `cite` (
`citingPaperId` integer NOT NULL
, `citedPaperId` integer NOT NULL
, PRIMARY KEY (`citingPaperId`,`citedPaperId`)
, FOREIGN KEY(`citedpaperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`citingpaperId`) REFERENCES `paper`(`paperId`)
)
CREATE TABLE `paperDataset` (
`paperId` integer DEFAULT NULL
, `datasetId` integer DEFAULT NULL
, PRIMARY KEY (`datasetId`, `paperId`)
)
CREATE TABLE `paperKeyphrase` (
`paperId` integer DEFAULT NULL
, `keyphraseId` integer DEFAULT NULL
, PRIMARY KEY (`keyphraseId`,`paperId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`keyphraseId`) REFERENCES `keyphrase`(`keyphraseId`)
)
CREATE TABLE `writes` (
`paperId` integer DEFAULT NULL
, `authorId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`,`authorId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`authorId`) REFERENCES `author`(`authorId`)
) | SELECT DISTINCT t2.paperid , t1.authorid FROM venue AS t3 JOIN paper AS t2 ON t3.venueid = t2.venueid JOIN writes AS t1 ON t1.paperid = t2.paperid WHERE t3.venuename = "ACL"; | ACL papers by author | scholar |
CREATE TABLE `venue` (
`venueId` integer NOT NULL
, `venueName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`venueId`)
)
CREATE TABLE `author` (
`authorId` integer NOT NULL
, `authorName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`authorId`)
)
CREATE TABLE `dataset` (
`datasetId` integer NOT NULL
, `datasetName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`datasetId`)
)
CREATE TABLE `journal` (
`journalId` integer NOT NULL
, `journalName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`journalId`)
)
CREATE TABLE `keyphrase` (
`keyphraseId` integer NOT NULL
, `keyphraseName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`keyphraseId`)
)
CREATE TABLE `paper` (
`paperId` integer NOT NULL
, `title` varchar(300) DEFAULT NULL
, `venueId` integer DEFAULT NULL
, `year` integer DEFAULT NULL
, `numCiting` integer DEFAULT NULL
, `numCitedBy` integer DEFAULT NULL
, `journalId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`)
, FOREIGN KEY(`journalId`) REFERENCES `journal`(`journalId`)
, FOREIGN KEY(`venueId`) REFERENCES `venue`(`venueId`)
)
CREATE TABLE `cite` (
`citingPaperId` integer NOT NULL
, `citedPaperId` integer NOT NULL
, PRIMARY KEY (`citingPaperId`,`citedPaperId`)
, FOREIGN KEY(`citedpaperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`citingpaperId`) REFERENCES `paper`(`paperId`)
)
CREATE TABLE `paperDataset` (
`paperId` integer DEFAULT NULL
, `datasetId` integer DEFAULT NULL
, PRIMARY KEY (`datasetId`, `paperId`)
)
CREATE TABLE `paperKeyphrase` (
`paperId` integer DEFAULT NULL
, `keyphraseId` integer DEFAULT NULL
, PRIMARY KEY (`keyphraseId`,`paperId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`keyphraseId`) REFERENCES `keyphrase`(`keyphraseId`)
)
CREATE TABLE `writes` (
`paperId` integer DEFAULT NULL
, `authorId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`,`authorId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`authorId`) REFERENCES `author`(`authorId`)
) | SELECT DISTINCT t2.citingpaperid FROM paper AS t1 JOIN cite AS t2 ON t1.paperid = t2.citedpaperid GROUP BY t2.citingpaperid HAVING COUNT ( DISTINCT t2.citedpaperid ) > 10; | papers with more than 10 citations | scholar |
CREATE TABLE `venue` (
`venueId` integer NOT NULL
, `venueName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`venueId`)
)
CREATE TABLE `author` (
`authorId` integer NOT NULL
, `authorName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`authorId`)
)
CREATE TABLE `dataset` (
`datasetId` integer NOT NULL
, `datasetName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`datasetId`)
)
CREATE TABLE `journal` (
`journalId` integer NOT NULL
, `journalName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`journalId`)
)
CREATE TABLE `keyphrase` (
`keyphraseId` integer NOT NULL
, `keyphraseName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`keyphraseId`)
)
CREATE TABLE `paper` (
`paperId` integer NOT NULL
, `title` varchar(300) DEFAULT NULL
, `venueId` integer DEFAULT NULL
, `year` integer DEFAULT NULL
, `numCiting` integer DEFAULT NULL
, `numCitedBy` integer DEFAULT NULL
, `journalId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`)
, FOREIGN KEY(`journalId`) REFERENCES `journal`(`journalId`)
, FOREIGN KEY(`venueId`) REFERENCES `venue`(`venueId`)
)
CREATE TABLE `cite` (
`citingPaperId` integer NOT NULL
, `citedPaperId` integer NOT NULL
, PRIMARY KEY (`citingPaperId`,`citedPaperId`)
, FOREIGN KEY(`citedpaperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`citingpaperId`) REFERENCES `paper`(`paperId`)
)
CREATE TABLE `paperDataset` (
`paperId` integer DEFAULT NULL
, `datasetId` integer DEFAULT NULL
, PRIMARY KEY (`datasetId`, `paperId`)
)
CREATE TABLE `paperKeyphrase` (
`paperId` integer DEFAULT NULL
, `keyphraseId` integer DEFAULT NULL
, PRIMARY KEY (`keyphraseId`,`paperId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`keyphraseId`) REFERENCES `keyphrase`(`keyphraseId`)
)
CREATE TABLE `writes` (
`paperId` integer DEFAULT NULL
, `authorId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`,`authorId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`authorId`) REFERENCES `author`(`authorId`)
) | SELECT DISTINCT t1.authorid FROM writes AS t1 JOIN paper AS t2 ON t1.paperid = t2.paperid WHERE t2.year = 2015; | Which authors published papers in 2015 ? | scholar |
CREATE TABLE `venue` (
`venueId` integer NOT NULL
, `venueName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`venueId`)
)
CREATE TABLE `author` (
`authorId` integer NOT NULL
, `authorName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`authorId`)
)
CREATE TABLE `dataset` (
`datasetId` integer NOT NULL
, `datasetName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`datasetId`)
)
CREATE TABLE `journal` (
`journalId` integer NOT NULL
, `journalName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`journalId`)
)
CREATE TABLE `keyphrase` (
`keyphraseId` integer NOT NULL
, `keyphraseName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`keyphraseId`)
)
CREATE TABLE `paper` (
`paperId` integer NOT NULL
, `title` varchar(300) DEFAULT NULL
, `venueId` integer DEFAULT NULL
, `year` integer DEFAULT NULL
, `numCiting` integer DEFAULT NULL
, `numCitedBy` integer DEFAULT NULL
, `journalId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`)
, FOREIGN KEY(`journalId`) REFERENCES `journal`(`journalId`)
, FOREIGN KEY(`venueId`) REFERENCES `venue`(`venueId`)
)
CREATE TABLE `cite` (
`citingPaperId` integer NOT NULL
, `citedPaperId` integer NOT NULL
, PRIMARY KEY (`citingPaperId`,`citedPaperId`)
, FOREIGN KEY(`citedpaperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`citingpaperId`) REFERENCES `paper`(`paperId`)
)
CREATE TABLE `paperDataset` (
`paperId` integer DEFAULT NULL
, `datasetId` integer DEFAULT NULL
, PRIMARY KEY (`datasetId`, `paperId`)
)
CREATE TABLE `paperKeyphrase` (
`paperId` integer DEFAULT NULL
, `keyphraseId` integer DEFAULT NULL
, PRIMARY KEY (`keyphraseId`,`paperId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`keyphraseId`) REFERENCES `keyphrase`(`keyphraseId`)
)
CREATE TABLE `writes` (
`paperId` integer DEFAULT NULL
, `authorId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`,`authorId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`authorId`) REFERENCES `author`(`authorId`)
) | SELECT DISTINCT t1.authorid FROM writes AS t1 JOIN paper AS t2 ON t1.paperid = t2.paperid WHERE t2.year = 2015; | who wrote papers in 2015 | scholar |
CREATE TABLE `venue` (
`venueId` integer NOT NULL
, `venueName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`venueId`)
)
CREATE TABLE `author` (
`authorId` integer NOT NULL
, `authorName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`authorId`)
)
CREATE TABLE `dataset` (
`datasetId` integer NOT NULL
, `datasetName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`datasetId`)
)
CREATE TABLE `journal` (
`journalId` integer NOT NULL
, `journalName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`journalId`)
)
CREATE TABLE `keyphrase` (
`keyphraseId` integer NOT NULL
, `keyphraseName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`keyphraseId`)
)
CREATE TABLE `paper` (
`paperId` integer NOT NULL
, `title` varchar(300) DEFAULT NULL
, `venueId` integer DEFAULT NULL
, `year` integer DEFAULT NULL
, `numCiting` integer DEFAULT NULL
, `numCitedBy` integer DEFAULT NULL
, `journalId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`)
, FOREIGN KEY(`journalId`) REFERENCES `journal`(`journalId`)
, FOREIGN KEY(`venueId`) REFERENCES `venue`(`venueId`)
)
CREATE TABLE `cite` (
`citingPaperId` integer NOT NULL
, `citedPaperId` integer NOT NULL
, PRIMARY KEY (`citingPaperId`,`citedPaperId`)
, FOREIGN KEY(`citedpaperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`citingpaperId`) REFERENCES `paper`(`paperId`)
)
CREATE TABLE `paperDataset` (
`paperId` integer DEFAULT NULL
, `datasetId` integer DEFAULT NULL
, PRIMARY KEY (`datasetId`, `paperId`)
)
CREATE TABLE `paperKeyphrase` (
`paperId` integer DEFAULT NULL
, `keyphraseId` integer DEFAULT NULL
, PRIMARY KEY (`keyphraseId`,`paperId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`keyphraseId`) REFERENCES `keyphrase`(`keyphraseId`)
)
CREATE TABLE `writes` (
`paperId` integer DEFAULT NULL
, `authorId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`,`authorId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`authorId`) REFERENCES `author`(`authorId`)
) | SELECT DISTINCT t1.keyphrasename , SUM ( t3.numcitedby ) FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid JOIN writes AS t4 ON t4.paperid = t3.paperid JOIN author AS t5 ON t4.authorid = t5.authorid WHERE t5.authorname = "Brian DeRenzi" GROUP BY t1.keyphrasename ORDER BY SUM ( t3.numcitedby ) DESC; | what keyphrase does Brian DeRenzi write about that gets most citations ? | scholar |
CREATE TABLE `venue` (
`venueId` integer NOT NULL
, `venueName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`venueId`)
)
CREATE TABLE `author` (
`authorId` integer NOT NULL
, `authorName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`authorId`)
)
CREATE TABLE `dataset` (
`datasetId` integer NOT NULL
, `datasetName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`datasetId`)
)
CREATE TABLE `journal` (
`journalId` integer NOT NULL
, `journalName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`journalId`)
)
CREATE TABLE `keyphrase` (
`keyphraseId` integer NOT NULL
, `keyphraseName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`keyphraseId`)
)
CREATE TABLE `paper` (
`paperId` integer NOT NULL
, `title` varchar(300) DEFAULT NULL
, `venueId` integer DEFAULT NULL
, `year` integer DEFAULT NULL
, `numCiting` integer DEFAULT NULL
, `numCitedBy` integer DEFAULT NULL
, `journalId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`)
, FOREIGN KEY(`journalId`) REFERENCES `journal`(`journalId`)
, FOREIGN KEY(`venueId`) REFERENCES `venue`(`venueId`)
)
CREATE TABLE `cite` (
`citingPaperId` integer NOT NULL
, `citedPaperId` integer NOT NULL
, PRIMARY KEY (`citingPaperId`,`citedPaperId`)
, FOREIGN KEY(`citedpaperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`citingpaperId`) REFERENCES `paper`(`paperId`)
)
CREATE TABLE `paperDataset` (
`paperId` integer DEFAULT NULL
, `datasetId` integer DEFAULT NULL
, PRIMARY KEY (`datasetId`, `paperId`)
)
CREATE TABLE `paperKeyphrase` (
`paperId` integer DEFAULT NULL
, `keyphraseId` integer DEFAULT NULL
, PRIMARY KEY (`keyphraseId`,`paperId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`keyphraseId`) REFERENCES `keyphrase`(`keyphraseId`)
)
CREATE TABLE `writes` (
`paperId` integer DEFAULT NULL
, `authorId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`,`authorId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`authorId`) REFERENCES `author`(`authorId`)
) | SELECT DISTINCT t1.keyphrasename , SUM ( t3.numcitedby ) FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid JOIN writes AS t4 ON t4.paperid = t3.paperid JOIN author AS t5 ON t4.authorid = t5.authorid WHERE t5.authorname = "Brian DeRenzi" GROUP BY t1.keyphrasename ORDER BY SUM ( t3.numcitedby ) DESC; | main topics of work by Brian DeRenzi | scholar |
CREATE TABLE `venue` (
`venueId` integer NOT NULL
, `venueName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`venueId`)
)
CREATE TABLE `author` (
`authorId` integer NOT NULL
, `authorName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`authorId`)
)
CREATE TABLE `dataset` (
`datasetId` integer NOT NULL
, `datasetName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`datasetId`)
)
CREATE TABLE `journal` (
`journalId` integer NOT NULL
, `journalName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`journalId`)
)
CREATE TABLE `keyphrase` (
`keyphraseId` integer NOT NULL
, `keyphraseName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`keyphraseId`)
)
CREATE TABLE `paper` (
`paperId` integer NOT NULL
, `title` varchar(300) DEFAULT NULL
, `venueId` integer DEFAULT NULL
, `year` integer DEFAULT NULL
, `numCiting` integer DEFAULT NULL
, `numCitedBy` integer DEFAULT NULL
, `journalId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`)
, FOREIGN KEY(`journalId`) REFERENCES `journal`(`journalId`)
, FOREIGN KEY(`venueId`) REFERENCES `venue`(`venueId`)
)
CREATE TABLE `cite` (
`citingPaperId` integer NOT NULL
, `citedPaperId` integer NOT NULL
, PRIMARY KEY (`citingPaperId`,`citedPaperId`)
, FOREIGN KEY(`citedpaperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`citingpaperId`) REFERENCES `paper`(`paperId`)
)
CREATE TABLE `paperDataset` (
`paperId` integer DEFAULT NULL
, `datasetId` integer DEFAULT NULL
, PRIMARY KEY (`datasetId`, `paperId`)
)
CREATE TABLE `paperKeyphrase` (
`paperId` integer DEFAULT NULL
, `keyphraseId` integer DEFAULT NULL
, PRIMARY KEY (`keyphraseId`,`paperId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`keyphraseId`) REFERENCES `keyphrase`(`keyphraseId`)
)
CREATE TABLE `writes` (
`paperId` integer DEFAULT NULL
, `authorId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`,`authorId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`authorId`) REFERENCES `author`(`authorId`)
) | SELECT DISTINCT COUNT ( t2.paperid ) , t1.authorid FROM writes AS t1 JOIN paper AS t2 ON t1.paperid = t2.paperid GROUP BY t1.authorid HAVING COUNT ( t2.paperid ) >= 5; | authors with at least 5 papers | scholar |
CREATE TABLE `venue` (
`venueId` integer NOT NULL
, `venueName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`venueId`)
)
CREATE TABLE `author` (
`authorId` integer NOT NULL
, `authorName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`authorId`)
)
CREATE TABLE `dataset` (
`datasetId` integer NOT NULL
, `datasetName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`datasetId`)
)
CREATE TABLE `journal` (
`journalId` integer NOT NULL
, `journalName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`journalId`)
)
CREATE TABLE `keyphrase` (
`keyphraseId` integer NOT NULL
, `keyphraseName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`keyphraseId`)
)
CREATE TABLE `paper` (
`paperId` integer NOT NULL
, `title` varchar(300) DEFAULT NULL
, `venueId` integer DEFAULT NULL
, `year` integer DEFAULT NULL
, `numCiting` integer DEFAULT NULL
, `numCitedBy` integer DEFAULT NULL
, `journalId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`)
, FOREIGN KEY(`journalId`) REFERENCES `journal`(`journalId`)
, FOREIGN KEY(`venueId`) REFERENCES `venue`(`venueId`)
)
CREATE TABLE `cite` (
`citingPaperId` integer NOT NULL
, `citedPaperId` integer NOT NULL
, PRIMARY KEY (`citingPaperId`,`citedPaperId`)
, FOREIGN KEY(`citedpaperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`citingpaperId`) REFERENCES `paper`(`paperId`)
)
CREATE TABLE `paperDataset` (
`paperId` integer DEFAULT NULL
, `datasetId` integer DEFAULT NULL
, PRIMARY KEY (`datasetId`, `paperId`)
)
CREATE TABLE `paperKeyphrase` (
`paperId` integer DEFAULT NULL
, `keyphraseId` integer DEFAULT NULL
, PRIMARY KEY (`keyphraseId`,`paperId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`keyphraseId`) REFERENCES `keyphrase`(`keyphraseId`)
)
CREATE TABLE `writes` (
`paperId` integer DEFAULT NULL
, `authorId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`,`authorId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`authorId`) REFERENCES `author`(`authorId`)
) | SELECT DISTINCT paperid FROM paper WHERE YEAR != 2015; | papers that were not published in the last year | scholar |
CREATE TABLE `venue` (
`venueId` integer NOT NULL
, `venueName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`venueId`)
)
CREATE TABLE `author` (
`authorId` integer NOT NULL
, `authorName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`authorId`)
)
CREATE TABLE `dataset` (
`datasetId` integer NOT NULL
, `datasetName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`datasetId`)
)
CREATE TABLE `journal` (
`journalId` integer NOT NULL
, `journalName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`journalId`)
)
CREATE TABLE `keyphrase` (
`keyphraseId` integer NOT NULL
, `keyphraseName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`keyphraseId`)
)
CREATE TABLE `paper` (
`paperId` integer NOT NULL
, `title` varchar(300) DEFAULT NULL
, `venueId` integer DEFAULT NULL
, `year` integer DEFAULT NULL
, `numCiting` integer DEFAULT NULL
, `numCitedBy` integer DEFAULT NULL
, `journalId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`)
, FOREIGN KEY(`journalId`) REFERENCES `journal`(`journalId`)
, FOREIGN KEY(`venueId`) REFERENCES `venue`(`venueId`)
)
CREATE TABLE `cite` (
`citingPaperId` integer NOT NULL
, `citedPaperId` integer NOT NULL
, PRIMARY KEY (`citingPaperId`,`citedPaperId`)
, FOREIGN KEY(`citedpaperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`citingpaperId`) REFERENCES `paper`(`paperId`)
)
CREATE TABLE `paperDataset` (
`paperId` integer DEFAULT NULL
, `datasetId` integer DEFAULT NULL
, PRIMARY KEY (`datasetId`, `paperId`)
)
CREATE TABLE `paperKeyphrase` (
`paperId` integer DEFAULT NULL
, `keyphraseId` integer DEFAULT NULL
, PRIMARY KEY (`keyphraseId`,`paperId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`keyphraseId`) REFERENCES `keyphrase`(`keyphraseId`)
)
CREATE TABLE `writes` (
`paperId` integer DEFAULT NULL
, `authorId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`,`authorId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`authorId`) REFERENCES `author`(`authorId`)
) | SELECT DISTINCT t3.year FROM paperkeyphrase AS t2 JOIN keyphrase AS t5 ON t2.keyphraseid = t5.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid JOIN writes AS t4 ON t4.paperid = t3.paperid JOIN author AS t1 ON t4.authorid = t1.authorid WHERE t1.authorname = "Michael Stonebraker" AND t5.keyphrasename = "GIS Database"; | When was Michael Stonebraker GIS Database published ? | scholar |
CREATE TABLE `venue` (
`venueId` integer NOT NULL
, `venueName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`venueId`)
)
CREATE TABLE `author` (
`authorId` integer NOT NULL
, `authorName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`authorId`)
)
CREATE TABLE `dataset` (
`datasetId` integer NOT NULL
, `datasetName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`datasetId`)
)
CREATE TABLE `journal` (
`journalId` integer NOT NULL
, `journalName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`journalId`)
)
CREATE TABLE `keyphrase` (
`keyphraseId` integer NOT NULL
, `keyphraseName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`keyphraseId`)
)
CREATE TABLE `paper` (
`paperId` integer NOT NULL
, `title` varchar(300) DEFAULT NULL
, `venueId` integer DEFAULT NULL
, `year` integer DEFAULT NULL
, `numCiting` integer DEFAULT NULL
, `numCitedBy` integer DEFAULT NULL
, `journalId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`)
, FOREIGN KEY(`journalId`) REFERENCES `journal`(`journalId`)
, FOREIGN KEY(`venueId`) REFERENCES `venue`(`venueId`)
)
CREATE TABLE `cite` (
`citingPaperId` integer NOT NULL
, `citedPaperId` integer NOT NULL
, PRIMARY KEY (`citingPaperId`,`citedPaperId`)
, FOREIGN KEY(`citedpaperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`citingpaperId`) REFERENCES `paper`(`paperId`)
)
CREATE TABLE `paperDataset` (
`paperId` integer DEFAULT NULL
, `datasetId` integer DEFAULT NULL
, PRIMARY KEY (`datasetId`, `paperId`)
)
CREATE TABLE `paperKeyphrase` (
`paperId` integer DEFAULT NULL
, `keyphraseId` integer DEFAULT NULL
, PRIMARY KEY (`keyphraseId`,`paperId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`keyphraseId`) REFERENCES `keyphrase`(`keyphraseId`)
)
CREATE TABLE `writes` (
`paperId` integer DEFAULT NULL
, `authorId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`,`authorId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`authorId`) REFERENCES `author`(`authorId`)
) | SELECT DISTINCT t3.year FROM paperkeyphrase AS t2 JOIN keyphrase AS t5 ON t2.keyphraseid = t5.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid JOIN writes AS t4 ON t4.paperid = t3.paperid JOIN author AS t1 ON t4.authorid = t1.authorid WHERE t1.authorname = "Michael Stonebraker" AND t5.keyphrasename = "GIS Database"; | When did Michael Stonebraker publish his GIS Database paper ? | scholar |
CREATE TABLE `venue` (
`venueId` integer NOT NULL
, `venueName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`venueId`)
)
CREATE TABLE `author` (
`authorId` integer NOT NULL
, `authorName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`authorId`)
)
CREATE TABLE `dataset` (
`datasetId` integer NOT NULL
, `datasetName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`datasetId`)
)
CREATE TABLE `journal` (
`journalId` integer NOT NULL
, `journalName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`journalId`)
)
CREATE TABLE `keyphrase` (
`keyphraseId` integer NOT NULL
, `keyphraseName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`keyphraseId`)
)
CREATE TABLE `paper` (
`paperId` integer NOT NULL
, `title` varchar(300) DEFAULT NULL
, `venueId` integer DEFAULT NULL
, `year` integer DEFAULT NULL
, `numCiting` integer DEFAULT NULL
, `numCitedBy` integer DEFAULT NULL
, `journalId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`)
, FOREIGN KEY(`journalId`) REFERENCES `journal`(`journalId`)
, FOREIGN KEY(`venueId`) REFERENCES `venue`(`venueId`)
)
CREATE TABLE `cite` (
`citingPaperId` integer NOT NULL
, `citedPaperId` integer NOT NULL
, PRIMARY KEY (`citingPaperId`,`citedPaperId`)
, FOREIGN KEY(`citedpaperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`citingpaperId`) REFERENCES `paper`(`paperId`)
)
CREATE TABLE `paperDataset` (
`paperId` integer DEFAULT NULL
, `datasetId` integer DEFAULT NULL
, PRIMARY KEY (`datasetId`, `paperId`)
)
CREATE TABLE `paperKeyphrase` (
`paperId` integer DEFAULT NULL
, `keyphraseId` integer DEFAULT NULL
, PRIMARY KEY (`keyphraseId`,`paperId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`keyphraseId`) REFERENCES `keyphrase`(`keyphraseId`)
)
CREATE TABLE `writes` (
`paperId` integer DEFAULT NULL
, `authorId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`,`authorId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`authorId`) REFERENCES `author`(`authorId`)
) | SELECT DISTINCT t3.year FROM paperkeyphrase AS t2 JOIN keyphrase AS t5 ON t2.keyphraseid = t5.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid JOIN writes AS t4 ON t4.paperid = t3.paperid JOIN author AS t1 ON t4.authorid = t1.authorid WHERE t1.authorname = "Michael Stonebraker" AND t5.keyphrasename = "GIS Database"; | When does Michael Stonebraker publish the GIS Database paper ? | scholar |
CREATE TABLE `venue` (
`venueId` integer NOT NULL
, `venueName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`venueId`)
)
CREATE TABLE `author` (
`authorId` integer NOT NULL
, `authorName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`authorId`)
)
CREATE TABLE `dataset` (
`datasetId` integer NOT NULL
, `datasetName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`datasetId`)
)
CREATE TABLE `journal` (
`journalId` integer NOT NULL
, `journalName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`journalId`)
)
CREATE TABLE `keyphrase` (
`keyphraseId` integer NOT NULL
, `keyphraseName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`keyphraseId`)
)
CREATE TABLE `paper` (
`paperId` integer NOT NULL
, `title` varchar(300) DEFAULT NULL
, `venueId` integer DEFAULT NULL
, `year` integer DEFAULT NULL
, `numCiting` integer DEFAULT NULL
, `numCitedBy` integer DEFAULT NULL
, `journalId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`)
, FOREIGN KEY(`journalId`) REFERENCES `journal`(`journalId`)
, FOREIGN KEY(`venueId`) REFERENCES `venue`(`venueId`)
)
CREATE TABLE `cite` (
`citingPaperId` integer NOT NULL
, `citedPaperId` integer NOT NULL
, PRIMARY KEY (`citingPaperId`,`citedPaperId`)
, FOREIGN KEY(`citedpaperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`citingpaperId`) REFERENCES `paper`(`paperId`)
)
CREATE TABLE `paperDataset` (
`paperId` integer DEFAULT NULL
, `datasetId` integer DEFAULT NULL
, PRIMARY KEY (`datasetId`, `paperId`)
)
CREATE TABLE `paperKeyphrase` (
`paperId` integer DEFAULT NULL
, `keyphraseId` integer DEFAULT NULL
, PRIMARY KEY (`keyphraseId`,`paperId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`keyphraseId`) REFERENCES `keyphrase`(`keyphraseId`)
)
CREATE TABLE `writes` (
`paperId` integer DEFAULT NULL
, `authorId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`,`authorId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`authorId`) REFERENCES `author`(`authorId`)
) | SELECT DISTINCT t3.journalid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid WHERE t1.keyphrasename = "Trophic Cascade" AND t3.year = 2010 GROUP BY t3.journalid; | In 2010 what journal published an article about Trophic Cascade ? | scholar |
CREATE TABLE `venue` (
`venueId` integer NOT NULL
, `venueName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`venueId`)
)
CREATE TABLE `author` (
`authorId` integer NOT NULL
, `authorName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`authorId`)
)
CREATE TABLE `dataset` (
`datasetId` integer NOT NULL
, `datasetName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`datasetId`)
)
CREATE TABLE `journal` (
`journalId` integer NOT NULL
, `journalName` varchar(100) DEFAULT NULL
, PRIMARY KEY (`journalId`)
)
CREATE TABLE `keyphrase` (
`keyphraseId` integer NOT NULL
, `keyphraseName` varchar(50) DEFAULT NULL
, PRIMARY KEY (`keyphraseId`)
)
CREATE TABLE `paper` (
`paperId` integer NOT NULL
, `title` varchar(300) DEFAULT NULL
, `venueId` integer DEFAULT NULL
, `year` integer DEFAULT NULL
, `numCiting` integer DEFAULT NULL
, `numCitedBy` integer DEFAULT NULL
, `journalId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`)
, FOREIGN KEY(`journalId`) REFERENCES `journal`(`journalId`)
, FOREIGN KEY(`venueId`) REFERENCES `venue`(`venueId`)
)
CREATE TABLE `cite` (
`citingPaperId` integer NOT NULL
, `citedPaperId` integer NOT NULL
, PRIMARY KEY (`citingPaperId`,`citedPaperId`)
, FOREIGN KEY(`citedpaperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`citingpaperId`) REFERENCES `paper`(`paperId`)
)
CREATE TABLE `paperDataset` (
`paperId` integer DEFAULT NULL
, `datasetId` integer DEFAULT NULL
, PRIMARY KEY (`datasetId`, `paperId`)
)
CREATE TABLE `paperKeyphrase` (
`paperId` integer DEFAULT NULL
, `keyphraseId` integer DEFAULT NULL
, PRIMARY KEY (`keyphraseId`,`paperId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`keyphraseId`) REFERENCES `keyphrase`(`keyphraseId`)
)
CREATE TABLE `writes` (
`paperId` integer DEFAULT NULL
, `authorId` integer DEFAULT NULL
, PRIMARY KEY (`paperId`,`authorId`)
, FOREIGN KEY(`paperId`) REFERENCES `paper`(`paperId`)
, FOREIGN KEY(`authorId`) REFERENCES `author`(`authorId`)
) | SELECT DISTINCT t3.citedpaperid , COUNT ( t3.citingpaperid ) FROM paper AS t1 JOIN cite AS t3 ON t1.paperid = t3.citedpaperid JOIN venue AS t2 ON t2.venueid = t1.venueid WHERE t1.year = 2016 AND t2.venuename = "CVPR" GROUP BY t3.citedpaperid ORDER BY COUNT ( t3.citingpaperid ) DESC; | What is the most popular paper this year in CVPR ? | scholar |