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 t2.keyphraseid FROM paper AS t3 JOIN paperkeyphrase AS t2 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 = "Christof Dallermassl" AND t3.year = 2000; | What are keyphrases by Christof Dallermassl in 2000 ? | 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 , COUNT ( t3.citingpaperid ) FROM writes AS t2 JOIN author AS t1 ON t2.authorid = t1.authorid JOIN cite AS t3 ON t2.paperid = t3.citedpaperid GROUP BY t1.authorname ORDER BY COUNT ( t3.citingpaperid ) DESC; | what author is most cited ? | 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 writes AS t2 JOIN author AS t1 ON t2.authorid = t1.authorid JOIN paper AS t3 ON t2.paperid = t3.paperid WHERE t1.authorname = "mohammad rastegari" AND t3.journalid >= 0; | journal articles by mohammad rastegari | 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 writes AS t2 JOIN author AS t1 ON t2.authorid = t1.authorid JOIN paper AS t3 ON t2.paperid = t3.paperid WHERE t1.authorname = "mohammad rastegari" AND t3.journalid >= 0; | Journal Papers by mohammad rastegari | 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.citingpaperid ) , t1.paperid 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 = 2014 AND t2.venuename = "TACL" GROUP BY t1.paperid ORDER BY COUNT ( DISTINCT t3.citingpaperid ) DESC; | best paper in TACL 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 COUNT ( DISTINCT t3.citingpaperid ) , t1.paperid 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 = 2014 AND t2.venuename = "TACL" GROUP BY t1.paperid ORDER BY COUNT ( DISTINCT t3.citingpaperid ) DESC; | What was the best paper at TACL 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 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 t2.year = 2016 AND t3.venuename = "acl"; | who published at acl 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 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 t2.year = 2016 AND t3.venuename = "acl"; | acl 2016 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 t2.year = 2016 AND t3.venuename = "acl"; | authors of acl 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 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 t2.year = 2016 AND t3.venuename = "acl"; | List of authors acl 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 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 t2.year = 2016 AND t3.venuename = "acl"; | author published acl 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 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 t2.year = 2016 AND t3.venuename = "acl"; | who had papers at acl 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 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 t2.year = 2016 AND t3.venuename = "acl"; | List of authors in acl 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 paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid WHERE t1.keyphrasename = "Multiuser Receiver in the Decision Feedback" AND t3.year = 2016 GROUP BY t3.paperid HAVING COUNT ( DISTINCT t1.keyphrasename ) > 1; | How many papers were written on Multiuser Receiver in the Decision Feedback 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 ( 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 LIKE "ImageNet"; | How many papers run experiments on 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 COUNT ( 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 LIKE "ImageNet"; | How many papers used ImageNet dataset ? | 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 ) 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 LIKE "ImageNet"; | How many papers written on 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 COUNT ( 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 LIKE "ImageNet"; | how many papers are based on 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 COUNT ( 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 LIKE "ImageNet"; | how many papers use 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 COUNT ( t3.citedpaperid ) FROM writes AS t2 JOIN author AS t1 ON t2.authorid = t1.authorid JOIN cite AS t3 ON t2.paperid = t3.citingpaperid WHERE t1.authorname = "Mirella Lapata"; | How many papers did Mirella Lapata 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 COUNT ( t3.citedpaperid ) FROM writes AS t2 JOIN author AS t1 ON t2.authorid = t1.authorid JOIN cite AS t3 ON t2.paperid = t3.citingpaperid WHERE t1.authorname = "Mirella Lapata"; | how many papers does Mirella Lapata 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 COUNT ( t3.citedpaperid ) FROM writes AS t2 JOIN author AS t1 ON t2.authorid = t1.authorid JOIN cite AS t3 ON t2.paperid = t3.citingpaperid WHERE t1.authorname = "Mirella Lapata"; | how many papers has Mirella Lapata cited ? | 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 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 = "Michael Stonebraker" AND t4.venuename = "VLDB" ORDER BY t3.year; | When does Michael Stonebraker publish the first VLDB 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 t2.datasetid FROM paperdataset AS t3 JOIN dataset AS t2 ON t3.datasetid = t2.datasetid JOIN paperkeyphrase AS t1 ON t1.paperid = t3.paperid JOIN keyphrase AS t4 ON t1.keyphraseid = t4.keyphraseid WHERE t4.keyphrasename = "semantic parsing"; | semantic parsing dataset | 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.datasetid FROM paperdataset AS t3 JOIN dataset AS t2 ON t3.datasetid = t2.datasetid JOIN paperkeyphrase AS t1 ON t1.paperid = t3.paperid JOIN keyphrase AS t4 ON t1.keyphraseid = t4.keyphraseid WHERE t4.keyphrasename = "semantic parsing"; | data sets for semantic parsing | 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.datasetid FROM paperdataset AS t3 JOIN dataset AS t2 ON t3.datasetid = t2.datasetid JOIN paperkeyphrase AS t1 ON t1.paperid = t3.paperid JOIN keyphrase AS t4 ON t1.keyphraseid = t4.keyphraseid WHERE t4.keyphrasename = "semantic parsing"; | list datasets for semantic parsing | 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.datasetid FROM paperdataset AS t3 JOIN dataset AS t2 ON t3.datasetid = t2.datasetid JOIN paperkeyphrase AS t1 ON t1.paperid = t3.paperid JOIN keyphrase AS t4 ON t1.keyphraseid = t4.keyphraseid WHERE t4.keyphrasename = "semantic parsing"; | datasets for semantic parsing | 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.datasetid FROM paperdataset AS t3 JOIN dataset AS t2 ON t3.datasetid = t2.datasetid JOIN paperkeyphrase AS t1 ON t1.paperid = t3.paperid JOIN keyphrase AS t4 ON t1.keyphraseid = t4.keyphraseid WHERE t4.keyphrasename = "semantic parsing"; | Datasets with semantic parsing information | 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.datasetid FROM paperdataset AS t3 JOIN dataset AS t2 ON t3.datasetid = t2.datasetid JOIN paperkeyphrase AS t1 ON t1.paperid = t3.paperid JOIN keyphrase AS t4 ON t1.keyphraseid = t4.keyphraseid WHERE t4.keyphrasename = "semantic parsing"; | datasets used by semantic 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 t2.datasetid FROM paperdataset AS t3 JOIN dataset AS t2 ON t3.datasetid = t2.datasetid JOIN paperkeyphrase AS t1 ON t1.paperid = t3.paperid JOIN keyphrase AS t4 ON t1.keyphraseid = t4.keyphraseid WHERE t4.keyphrasename = "semantic parsing"; | datasets in semantic 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 t2.datasetid FROM paperdataset AS t3 JOIN dataset AS t2 ON t3.datasetid = t2.datasetid JOIN paperkeyphrase AS t1 ON t1.paperid = t3.paperid JOIN keyphrase AS t4 ON t1.keyphraseid = t4.keyphraseid WHERE t4.keyphrasename = "semantic parsing"; | semantic parsing datasets | 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.datasetid FROM paperdataset AS t3 JOIN dataset AS t2 ON t3.datasetid = t2.datasetid JOIN paperkeyphrase AS t1 ON t1.paperid = t3.paperid JOIN keyphrase AS t4 ON t1.keyphraseid = t4.keyphraseid WHERE t4.keyphrasename = "semantic parsing"; | datasets in papers about semantic parsing | 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.datasetid FROM paperdataset AS t3 JOIN dataset AS t2 ON t3.datasetid = t2.datasetid JOIN paperkeyphrase AS t1 ON t1.paperid = t3.paperid JOIN keyphrase AS t4 ON t1.keyphraseid = t4.keyphraseid WHERE t4.keyphrasename = "semantic parsing"; | datasets used for semantic parsing | 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.datasetid FROM paperdataset AS t3 JOIN dataset AS t2 ON t3.datasetid = t2.datasetid JOIN paperkeyphrase AS t1 ON t1.paperid = t3.paperid JOIN keyphrase AS t4 ON t1.keyphraseid = t4.keyphraseid WHERE t4.keyphrasename = "semantic parsing"; | large-scale datasets used in semantic parsing | 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.datasetid FROM paperdataset AS t3 JOIN dataset AS t2 ON t3.datasetid = t2.datasetid JOIN paperkeyphrase AS t1 ON t1.paperid = t3.paperid JOIN keyphrase AS t4 ON t1.keyphraseid = t4.keyphraseid WHERE t4.keyphrasename = "semantic parsing"; | datasets with semantic parsing | 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.datasetid FROM paperdataset AS t3 JOIN dataset AS t2 ON t3.datasetid = t2.datasetid JOIN paperkeyphrase AS t1 ON t1.paperid = t3.paperid JOIN keyphrase AS t4 ON t1.keyphraseid = t4.keyphraseid WHERE t4.keyphrasename = "semantic parsing"; | datasets used for evaluating semantic parsing | 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 , t4.venueid 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 = "Peter Mertens"; | where does Peter Mertens 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.journalid , t4.venueid 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 = "Peter Mertens"; | in what venues does Peter Mertens 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.journalid , t4.venueid 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 = "Peter Mertens"; | Where does Peter Mertens 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 COUNT ( t1.paperid ) FROM venue AS t2 JOIN paper AS t1 ON t2.venueid = t1.venueid WHERE t1.year = 2015 AND t2.venuename = "nature communications"; | how many papers appeared at nature communications 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 COUNT ( t1.paperid ) FROM venue AS t2 JOIN paper AS t1 ON t2.venueid = t1.venueid WHERE t1.year = 2015 AND t2.venuename = "nature communications"; | How many papers were at nature communications 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 COUNT ( t1.paperid ) FROM venue AS t2 JOIN paper AS t1 ON t2.venueid = t1.venueid WHERE t1.year = 2015 AND t2.venuename = "nature communications"; | how many papers accepted in nature communications 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 COUNT ( t1.paperid ) FROM venue AS t2 JOIN paper AS t1 ON t2.venueid = t1.venueid WHERE t1.year = 2015 AND t2.venuename = "nature communications"; | How many papers were published in nature communications 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 COUNT ( t1.paperid ) FROM venue AS t2 JOIN paper AS t1 ON t2.venueid = t1.venueid WHERE t1.year = 2015 AND t2.venuename = "nature communications"; | How many papers on nature communications 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 COUNT ( t1.paperid ) FROM venue AS t2 JOIN paper AS t1 ON t2.venueid = t1.venueid WHERE t1.year = 2015 AND t2.venuename = "nature communications"; | how many papers in nature communications 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 COUNT ( t1.paperid ) FROM venue AS t2 JOIN paper AS t1 ON t2.venueid = t1.venueid WHERE t1.year = 2015 AND t2.venuename = "nature communications"; | How many papers were accepted at nature communications 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 COUNT ( t1.paperid ) FROM venue AS t2 JOIN paper AS t1 ON t2.venueid = t1.venueid WHERE t1.year = 2015 AND t2.venuename = "nature communications"; | How many papers are presented in nature communications 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 COUNT ( t1.paperid ) FROM venue AS t2 JOIN paper AS t1 ON t2.venueid = t1.venueid WHERE t1.year = 2015 AND t2.venuename = "nature communications"; | How many papers published in nature communications 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 COUNT ( t1.paperid ) FROM venue AS t2 JOIN paper AS t1 ON t2.venueid = t1.venueid WHERE t1.year = 2015 AND t2.venuename = "nature communications"; | how many papers published in nature communications 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 COUNT ( t1.paperid ) FROM venue AS t2 JOIN paper AS t1 ON t2.venueid = t1.venueid WHERE t1.year = 2015 AND t2.venuename = "nature communications"; | How many papers were published in nature communications 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 COUNT ( t1.paperid ) FROM venue AS t2 JOIN paper AS t1 ON t2.venueid = t1.venueid WHERE t1.year = 2015 AND t2.venuename = "nature communications"; | How many papers was published in nature communications 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 t2.datasetid , t4.year FROM paperdataset AS t3 JOIN dataset AS t2 ON t3.datasetid = t2.datasetid JOIN paperkeyphrase AS t1 ON t1.paperid = t3.paperid JOIN paper AS t4 ON t4.paperid = t3.paperid JOIN keyphrase AS t5 ON t1.keyphraseid = t5.keyphraseid WHERE t5.keyphrasename = "deep learning" ORDER BY t4.year ASC; | what was the 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 t2.datasetid , t4.year FROM paperdataset AS t3 JOIN dataset AS t2 ON t3.datasetid = t2.datasetid JOIN paperkeyphrase AS t1 ON t1.paperid = t3.paperid JOIN paper AS t4 ON t4.paperid = t3.paperid JOIN keyphrase AS t5 ON t1.keyphraseid = t5.keyphraseid WHERE t5.keyphrasename = "deep learning" ORDER BY t4.year ASC; | what year 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 t1.datasetid FROM paperdataset AS t2 JOIN dataset AS t1 ON t2.datasetid = t1.datasetid JOIN paper AS t3 ON t3.paperid = t2.paperid JOIN venue AS t4 ON t4.venueid = t3.venueid WHERE t4.venuename = "ACL"; | datasets mentioned at ACL | 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.datasetid FROM paperdataset AS t2 JOIN dataset AS t1 ON t2.datasetid = t1.datasetid JOIN paper AS t3 ON t3.paperid = t2.paperid JOIN venue AS t4 ON t4.venueid = t3.venueid WHERE t4.venuename = "ACL"; | what datasets do papers at ACL use most ? | 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 paperkeyphrase AS t5 JOIN keyphrase AS t3 ON t5.keyphraseid = t3.keyphraseid JOIN paper AS t2 ON t2.paperid = t5.paperid JOIN venue AS t6 ON t6.venueid = t2.venueid JOIN writes AS t4 ON t4.paperid = t2.paperid JOIN author AS t1 ON t4.authorid = t1.authorid WHERE t1.authorname = "li dong" AND t3.keyphrasename = "semantic parsing" AND t2.year = 2016 AND t6.venuename = "acl"; | the papers on semantic parsing by li dong at acl 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.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 = "convolutional neural networks" AND t3.year = 2016; | How many papers were written on convolutional neural networks in the past 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 paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid WHERE t1.keyphrasename = "convolutional neural networks" AND t3.year = 2016; | How many papers were published on convolutional neural networks 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.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 = "convolutional neural networks" AND t3.year = 2016; | How many papers were written on convolutional neural networks 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.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 = "convolutional neural networks" AND t3.year = 2016; | How many papers were written on the convolutional neural networks 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 paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid WHERE t1.keyphrasename = "convolutional neural networks" AND t3.year = 2016; | how many papers on convolutional neural networks have been published in the past 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.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 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 ( t1.paperid ) , t1.year FROM venue AS t2 JOIN paper AS t1 ON t2.venueid = t1.venueid WHERE t2.venuename = "NIPS" GROUP BY t1.year ORDER BY COUNT ( t1.paperid ) DESC; | which year had the most NIPS 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 ( t1.paperid ) , t1.year FROM venue AS t2 JOIN paper AS t1 ON t2.venueid = t1.venueid WHERE t2.venuename = "NIPS" GROUP BY t1.year ORDER BY COUNT ( t1.paperid ) DESC; | what year had the most NIPS 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 ( t1.paperid ) , t1.year FROM venue AS t2 JOIN paper AS t1 ON t2.venueid = t1.venueid WHERE t2.venuename = "NIPS" GROUP BY t1.year ORDER BY COUNT ( t1.paperid ) DESC; | what year had the most number of NIPS 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 ( t1.paperid ) , t1.year FROM venue AS t2 JOIN paper AS t1 ON t2.venueid = t1.venueid WHERE t2.venuename = "NIPS" GROUP BY t1.year ORDER BY COUNT ( t1.paperid ) DESC; | when were most NIPS papers 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 t1.authorid FROM writes AS t3 JOIN author AS t2 ON t3.authorid = t2.authorid JOIN writes AS t4 ON t4.paperid = t3.paperid JOIN author AS t1 ON t4.authorid = t1.authorid WHERE t2.authorname = "Noah A Smith"; | who writes papers with Noah A Smith ? | 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 t3 JOIN author AS t2 ON t3.authorid = t2.authorid JOIN writes AS t4 ON t4.paperid = t3.paperid JOIN author AS t1 ON t4.authorid = t1.authorid WHERE t2.authorname = "Noah A Smith"; | Who is a coauthor with Noah A Smith ? | 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 t3 JOIN author AS t2 ON t3.authorid = t2.authorid JOIN writes AS t4 ON t4.paperid = t3.paperid JOIN author AS t1 ON t4.authorid = t1.authorid WHERE t2.authorname = "Noah A Smith"; | Who are Noah A Smith 's co-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 writes AS t3 JOIN author AS t2 ON t3.authorid = t2.authorid JOIN writes AS t4 ON t4.paperid = t3.paperid JOIN author AS t1 ON t4.authorid = t1.authorid WHERE t2.authorname = "Noah A Smith"; | Who has coauthored with Noah A Smith ? | 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 t3 JOIN author AS t2 ON t3.authorid = t2.authorid JOIN writes AS t4 ON t4.paperid = t3.paperid JOIN author AS t1 ON t4.authorid = t1.authorid WHERE t2.authorname = "Noah A Smith"; | co-authors of Noah A Smith | 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 t3 JOIN author AS t2 ON t3.authorid = t2.authorid JOIN writes AS t4 ON t4.paperid = t3.paperid JOIN author AS t1 ON t4.authorid = t1.authorid WHERE t2.authorname = "Noah A Smith"; | author who wrote papers with Noah A Smith | 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 t3 JOIN author AS t2 ON t3.authorid = t2.authorid JOIN writes AS t4 ON t4.paperid = t3.paperid JOIN author AS t1 ON t4.authorid = t1.authorid WHERE t2.authorname = "Noah A Smith"; | authors who collaborated with Noah A Smith | 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 t3 JOIN author AS t2 ON t3.authorid = t2.authorid JOIN writes AS t4 ON t4.paperid = t3.paperid JOIN author AS t1 ON t4.authorid = t1.authorid WHERE t2.authorname = "Noah A Smith"; | who does Noah A Smith author with ? | 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 t3 JOIN author AS t2 ON t3.authorid = t2.authorid JOIN writes AS t4 ON t4.paperid = t3.paperid JOIN author AS t1 ON t4.authorid = t1.authorid WHERE t2.authorname = "Noah A Smith"; | Who are Noah A Smith 's coauthors | 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 t3 JOIN author AS t2 ON t3.authorid = t2.authorid JOIN writes AS t4 ON t4.paperid = t3.paperid JOIN author AS t1 ON t4.authorid = t1.authorid WHERE t2.authorname = "Noah A Smith"; | who are all the co-authors of Noah A Smith ? | 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 t3 JOIN author AS t2 ON t3.authorid = t2.authorid JOIN writes AS t4 ON t4.paperid = t3.paperid JOIN author AS t1 ON t4.authorid = t1.authorid WHERE t2.authorname = "Noah A Smith"; | who does Noah A Smith work with ? | 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 t3 JOIN author AS t2 ON t3.authorid = t2.authorid JOIN writes AS t4 ON t4.paperid = t3.paperid JOIN author AS t1 ON t4.authorid = t1.authorid WHERE t2.authorname = "Noah A Smith"; | who does Noah A Smith collaborate with ? | 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 t3 JOIN author AS t2 ON t3.authorid = t2.authorid JOIN writes AS t4 ON t4.paperid = t3.paperid JOIN author AS t1 ON t4.authorid = t1.authorid WHERE t2.authorname = "Noah A Smith"; | Who are Noah A Smith 's coauthors ? | 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 t3 JOIN author AS t2 ON t3.authorid = t2.authorid JOIN writes AS t4 ON t4.paperid = t3.paperid JOIN author AS t1 ON t4.authorid = t1.authorid WHERE t2.authorname = "Noah A Smith"; | coauthors of Noah A Smith | 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.datasetid FROM paper AS t3 JOIN paperdataset AS t2 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 = "jitendra malik"; | what datasets did jitendra malik use ? | 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.datasetid FROM paper AS t3 JOIN paperdataset AS t2 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 = "jitendra malik"; | what datasets are used in papers by jitendra malik | 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.datasetid FROM paper AS t3 JOIN paperdataset AS t2 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 = "jitendra malik"; | what datasets did jitendra malik use in his 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 t2.datasetid FROM paper AS t3 JOIN paperdataset AS t2 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 = "jitendra malik"; | what datasets were used by jitendra malik ? | 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.datasetid FROM paper AS t3 JOIN paperdataset AS t2 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 = "jitendra malik"; | datasets used in papers written by jitendra malik ? | 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.datasetid FROM paper AS t3 JOIN paperdataset AS t2 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 = "jitendra malik"; | Datasets by jitendra malik | 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.datasetid FROM paper AS t3 JOIN paperdataset AS t2 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 = "jitendra malik"; | What datasets have jitendra malik used | 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 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" ORDER BY t3.year DESC; | recent deep learning 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 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" ORDER BY t3.year DESC; | new deep learning 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 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" ORDER BY t3.year DESC; | What are the latest publications on 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 t3.paperid , 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" ORDER BY t3.year DESC; | Most recent deep learning 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.paperid , 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" ORDER BY t3.year DESC; | Show me some recent papers on 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 t3.paperid , 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" ORDER BY t3.year DESC; | What are some recent papers written in 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 t3.paperid , 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" ORDER BY t3.year DESC; | What is the most recent paper of 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 t3.paperid , 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" ORDER BY t3.year DESC; | What are recent papers on 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 t3.paperid , 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" ORDER BY t3.year DESC; | Current research on 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 t3.paperid , 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" ORDER BY t3.year DESC; | latest deep learning 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 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" ORDER BY t3.year DESC; | newest deep learning 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.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 = "Pedro Domingos" GROUP BY t3.year; | What years did Pedro Domingos publish papers 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.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 = "Pedro Domingos" GROUP BY t3.year; | In what years did Pedro Domingos publish a paper ? | scholar |