db_name
stringclasses
146 values
prompt
stringlengths
310
4.81k
scholar
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # venue ( venueId, venueName ) # author ( authorId, authorName ) # dataset ( datasetId, datasetName ) # journal ( journalId, journalName ) # keyphrase ( keyphraseId, keyphraseName ) # paper ( paperId, title, venueId, year, numCiting, numCitedBy, journalId ) # cite ( citingPaperId, citedPaperId ) # paperDataset ( paperId, datasetId ) # paperKeyphrase ( paperId, keyphraseId ) # writes ( paperId, authorId ) # # paper.venueId can be joined with venue.venueId # paper.journalId can be joined with journal.journalId # cite.citingPaperId can be joined with paper.paperId # cite.citedPaperId can be joined with paper.paperId # paperKeyphrase.keyphraseId can be joined with keyphrase.keyphraseId # paperKeyphrase.paperId can be joined with paper.paperId # writes.authorId can be joined with author.authorId # writes.paperId can be joined with paper.paperId # ### Question: # # jamie callan 's publications by year # ### SQL: # # SELECT DISTINCT t3.paperid , t3.year FROM writes AS t2 JOIN author AS t1 ON t2.authorid = t1.authorid JOIN paper AS t3 ON t2.paperid = t3.paperid WHERE t1.authorname = "jamie callan" ORDER BY t3.year; # ### End.
scholar
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # venue ( venueId, venueName ) # author ( authorId, authorName ) # dataset ( datasetId, datasetName ) # journal ( journalId, journalName ) # keyphrase ( keyphraseId, keyphraseName ) # paper ( paperId, title, venueId, year, numCiting, numCitedBy, journalId ) # cite ( citingPaperId, citedPaperId ) # paperDataset ( paperId, datasetId ) # paperKeyphrase ( paperId, keyphraseId ) # writes ( paperId, authorId ) # # paper.venueId can be joined with venue.venueId # paper.journalId can be joined with journal.journalId # cite.citingPaperId can be joined with paper.paperId # cite.citedPaperId can be joined with paper.paperId # paperKeyphrase.keyphraseId can be joined with keyphrase.keyphraseId # paperKeyphrase.paperId can be joined with paper.paperId # writes.authorId can be joined with author.authorId # writes.paperId can be joined with paper.paperId # ### Question: # # How many papers does jamie callan publish each year ? # ### SQL: # # SELECT DISTINCT COUNT ( t3.paperid ) , t3.year FROM writes AS t2 JOIN author AS t1 ON t2.authorid = t1.authorid JOIN paper AS t3 ON t2.paperid = t3.paperid WHERE t1.authorname = "jamie callan" GROUP BY t3.year; # ### End.
scholar
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # venue ( venueId, venueName ) # author ( authorId, authorName ) # dataset ( datasetId, datasetName ) # journal ( journalId, journalName ) # keyphrase ( keyphraseId, keyphraseName ) # paper ( paperId, title, venueId, year, numCiting, numCitedBy, journalId ) # cite ( citingPaperId, citedPaperId ) # paperDataset ( paperId, datasetId ) # paperKeyphrase ( paperId, keyphraseId ) # writes ( paperId, authorId ) # # paper.venueId can be joined with venue.venueId # paper.journalId can be joined with journal.journalId # cite.citingPaperId can be joined with paper.paperId # cite.citedPaperId can be joined with paper.paperId # paperKeyphrase.keyphraseId can be joined with keyphrase.keyphraseId # paperKeyphrase.paperId can be joined with paper.paperId # writes.authorId can be joined with author.authorId # writes.paperId can be joined with paper.paperId # ### Question: # # number of papers by year from jamie callan # ### SQL: # # SELECT DISTINCT COUNT ( t3.paperid ) , t3.year FROM writes AS t2 JOIN author AS t1 ON t2.authorid = t1.authorid JOIN paper AS t3 ON t2.paperid = t3.paperid WHERE t1.authorname = "jamie callan" GROUP BY t3.year; # ### End.
scholar
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # venue ( venueId, venueName ) # author ( authorId, authorName ) # dataset ( datasetId, datasetName ) # journal ( journalId, journalName ) # keyphrase ( keyphraseId, keyphraseName ) # paper ( paperId, title, venueId, year, numCiting, numCitedBy, journalId ) # cite ( citingPaperId, citedPaperId ) # paperDataset ( paperId, datasetId ) # paperKeyphrase ( paperId, keyphraseId ) # writes ( paperId, authorId ) # # paper.venueId can be joined with venue.venueId # paper.journalId can be joined with journal.journalId # cite.citingPaperId can be joined with paper.paperId # cite.citedPaperId can be joined with paper.paperId # paperKeyphrase.keyphraseId can be joined with keyphrase.keyphraseId # paperKeyphrase.paperId can be joined with paper.paperId # writes.authorId can be joined with author.authorId # writes.paperId can be joined with paper.paperId # ### Question: # # how many papers jamie callan published each year ? # ### SQL: # # SELECT DISTINCT COUNT ( t3.paperid ) , t3.year FROM writes AS t2 JOIN author AS t1 ON t2.authorid = t1.authorid JOIN paper AS t3 ON t2.paperid = t3.paperid WHERE t1.authorname = "jamie callan" GROUP BY t3.year; # ### End.
scholar
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # venue ( venueId, venueName ) # author ( authorId, authorName ) # dataset ( datasetId, datasetName ) # journal ( journalId, journalName ) # keyphrase ( keyphraseId, keyphraseName ) # paper ( paperId, title, venueId, year, numCiting, numCitedBy, journalId ) # cite ( citingPaperId, citedPaperId ) # paperDataset ( paperId, datasetId ) # paperKeyphrase ( paperId, keyphraseId ) # writes ( paperId, authorId ) # # paper.venueId can be joined with venue.venueId # paper.journalId can be joined with journal.journalId # cite.citingPaperId can be joined with paper.paperId # cite.citedPaperId can be joined with paper.paperId # paperKeyphrase.keyphraseId can be joined with keyphrase.keyphraseId # paperKeyphrase.paperId can be joined with paper.paperId # writes.authorId can be joined with author.authorId # writes.paperId can be joined with paper.paperId # ### Question: # # who does oren etzioni cite # ### SQL: # # SELECT DISTINCT t3.paperid FROM paper AS t3 JOIN cite AS t4 ON t3.paperid = t4.citingpaperid JOIN writes AS t2 ON t2.paperid = t4.citedpaperid JOIN author AS t1 ON t2.authorid = t1.authorid WHERE t1.authorname = "oren etzioni"; # ### End.
scholar
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # venue ( venueId, venueName ) # author ( authorId, authorName ) # dataset ( datasetId, datasetName ) # journal ( journalId, journalName ) # keyphrase ( keyphraseId, keyphraseName ) # paper ( paperId, title, venueId, year, numCiting, numCitedBy, journalId ) # cite ( citingPaperId, citedPaperId ) # paperDataset ( paperId, datasetId ) # paperKeyphrase ( paperId, keyphraseId ) # writes ( paperId, authorId ) # # paper.venueId can be joined with venue.venueId # paper.journalId can be joined with journal.journalId # cite.citingPaperId can be joined with paper.paperId # cite.citedPaperId can be joined with paper.paperId # paperKeyphrase.keyphraseId can be joined with keyphrase.keyphraseId # paperKeyphrase.paperId can be joined with paper.paperId # writes.authorId can be joined with author.authorId # writes.paperId can be joined with paper.paperId # ### Question: # # what papers does oren etzioni cite # ### SQL: # # SELECT DISTINCT t3.paperid FROM paper AS t3 JOIN cite AS t4 ON t3.paperid = t4.citingpaperid JOIN writes AS t2 ON t2.paperid = t4.citedpaperid JOIN author AS t1 ON t2.authorid = t1.authorid WHERE t1.authorname = "oren etzioni"; # ### End.
scholar
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # venue ( venueId, venueName ) # author ( authorId, authorName ) # dataset ( datasetId, datasetName ) # journal ( journalId, journalName ) # keyphrase ( keyphraseId, keyphraseName ) # paper ( paperId, title, venueId, year, numCiting, numCitedBy, journalId ) # cite ( citingPaperId, citedPaperId ) # paperDataset ( paperId, datasetId ) # paperKeyphrase ( paperId, keyphraseId ) # writes ( paperId, authorId ) # # paper.venueId can be joined with venue.venueId # paper.journalId can be joined with journal.journalId # cite.citingPaperId can be joined with paper.paperId # cite.citedPaperId can be joined with paper.paperId # paperKeyphrase.keyphraseId can be joined with keyphrase.keyphraseId # paperKeyphrase.paperId can be joined with paper.paperId # writes.authorId can be joined with author.authorId # writes.paperId can be joined with paper.paperId # ### Question: # # papers citing Daniel Jurafsky # ### SQL: # # SELECT DISTINCT t3.paperid FROM paper AS t3 JOIN cite AS t4 ON t3.paperid = t4.citingpaperid JOIN writes AS t2 ON t2.paperid = t4.citedpaperid JOIN author AS t1 ON t2.authorid = t1.authorid WHERE t1.authorname = "Daniel Jurafsky"; # ### End.
scholar
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # venue ( venueId, venueName ) # author ( authorId, authorName ) # dataset ( datasetId, datasetName ) # journal ( journalId, journalName ) # keyphrase ( keyphraseId, keyphraseName ) # paper ( paperId, title, venueId, year, numCiting, numCitedBy, journalId ) # cite ( citingPaperId, citedPaperId ) # paperDataset ( paperId, datasetId ) # paperKeyphrase ( paperId, keyphraseId ) # writes ( paperId, authorId ) # # paper.venueId can be joined with venue.venueId # paper.journalId can be joined with journal.journalId # cite.citingPaperId can be joined with paper.paperId # cite.citedPaperId can be joined with paper.paperId # paperKeyphrase.keyphraseId can be joined with keyphrase.keyphraseId # paperKeyphrase.paperId can be joined with paper.paperId # writes.authorId can be joined with author.authorId # writes.paperId can be joined with paper.paperId # ### Question: # # What papers cite Daniel Jurafsky ? # ### SQL: # # SELECT DISTINCT t3.paperid FROM paper AS t3 JOIN cite AS t4 ON t3.paperid = t4.citingpaperid JOIN writes AS t2 ON t2.paperid = t4.citedpaperid JOIN author AS t1 ON t2.authorid = t1.authorid WHERE t1.authorname = "Daniel Jurafsky"; # ### End.
scholar
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # venue ( venueId, venueName ) # author ( authorId, authorName ) # dataset ( datasetId, datasetName ) # journal ( journalId, journalName ) # keyphrase ( keyphraseId, keyphraseName ) # paper ( paperId, title, venueId, year, numCiting, numCitedBy, journalId ) # cite ( citingPaperId, citedPaperId ) # paperDataset ( paperId, datasetId ) # paperKeyphrase ( paperId, keyphraseId ) # writes ( paperId, authorId ) # # paper.venueId can be joined with venue.venueId # paper.journalId can be joined with journal.journalId # cite.citingPaperId can be joined with paper.paperId # cite.citedPaperId can be joined with paper.paperId # paperKeyphrase.keyphraseId can be joined with keyphrase.keyphraseId # paperKeyphrase.paperId can be joined with paper.paperId # writes.authorId can be joined with author.authorId # writes.paperId can be joined with paper.paperId # ### Question: # # Which papers cite Daniel Jurafsky ? # ### SQL: # # SELECT DISTINCT t3.paperid FROM paper AS t3 JOIN cite AS t4 ON t3.paperid = t4.citingpaperid JOIN writes AS t2 ON t2.paperid = t4.citedpaperid JOIN author AS t1 ON t2.authorid = t1.authorid WHERE t1.authorname = "Daniel Jurafsky"; # ### End.
scholar
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # venue ( venueId, venueName ) # author ( authorId, authorName ) # dataset ( datasetId, datasetName ) # journal ( journalId, journalName ) # keyphrase ( keyphraseId, keyphraseName ) # paper ( paperId, title, venueId, year, numCiting, numCitedBy, journalId ) # cite ( citingPaperId, citedPaperId ) # paperDataset ( paperId, datasetId ) # paperKeyphrase ( paperId, keyphraseId ) # writes ( paperId, authorId ) # # paper.venueId can be joined with venue.venueId # paper.journalId can be joined with journal.journalId # cite.citingPaperId can be joined with paper.paperId # cite.citedPaperId can be joined with paper.paperId # paperKeyphrase.keyphraseId can be joined with keyphrase.keyphraseId # paperKeyphrase.paperId can be joined with paper.paperId # writes.authorId can be joined with author.authorId # writes.paperId can be joined with paper.paperId # ### Question: # # citations for Daniel Jurafsky # ### SQL: # # SELECT DISTINCT t3.paperid FROM paper AS t3 JOIN cite AS t4 ON t3.paperid = t4.citingpaperid JOIN writes AS t2 ON t2.paperid = t4.citedpaperid JOIN author AS t1 ON t2.authorid = t1.authorid WHERE t1.authorname = "Daniel Jurafsky"; # ### End.
scholar
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # venue ( venueId, venueName ) # author ( authorId, authorName ) # dataset ( datasetId, datasetName ) # journal ( journalId, journalName ) # keyphrase ( keyphraseId, keyphraseName ) # paper ( paperId, title, venueId, year, numCiting, numCitedBy, journalId ) # cite ( citingPaperId, citedPaperId ) # paperDataset ( paperId, datasetId ) # paperKeyphrase ( paperId, keyphraseId ) # writes ( paperId, authorId ) # # paper.venueId can be joined with venue.venueId # paper.journalId can be joined with journal.journalId # cite.citingPaperId can be joined with paper.paperId # cite.citedPaperId can be joined with paper.paperId # paperKeyphrase.keyphraseId can be joined with keyphrase.keyphraseId # paperKeyphrase.paperId can be joined with paper.paperId # writes.authorId can be joined with author.authorId # writes.paperId can be joined with paper.paperId # ### Question: # # journal papers for instance segmentation # ### SQL: # # 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 = "instance segmentation" AND t3.journalid >= 0; # ### End.
scholar
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # venue ( venueId, venueName ) # author ( authorId, authorName ) # dataset ( datasetId, datasetName ) # journal ( journalId, journalName ) # keyphrase ( keyphraseId, keyphraseName ) # paper ( paperId, title, venueId, year, numCiting, numCitedBy, journalId ) # cite ( citingPaperId, citedPaperId ) # paperDataset ( paperId, datasetId ) # paperKeyphrase ( paperId, keyphraseId ) # writes ( paperId, authorId ) # # paper.venueId can be joined with venue.venueId # paper.journalId can be joined with journal.journalId # cite.citingPaperId can be joined with paper.paperId # cite.citedPaperId can be joined with paper.paperId # paperKeyphrase.keyphraseId can be joined with keyphrase.keyphraseId # paperKeyphrase.paperId can be joined with paper.paperId # writes.authorId can be joined with author.authorId # writes.paperId can be joined with paper.paperId # ### Question: # # who has the most papers in semantic parsing after 2005 ? # ### SQL: # # SELECT DISTINCT COUNT ( t4.paperid ) , t3.authorid FROM paperkeyphrase AS t1 JOIN keyphrase AS t2 ON t1.keyphraseid = t2.keyphraseid JOIN paper AS t4 ON t4.paperid = t1.paperid JOIN writes AS t3 ON t3.paperid = t4.paperid WHERE t2.keyphrasename = "semantic parsing" AND t4.year > 2005 GROUP BY t3.authorid ORDER BY COUNT ( t4.paperid ) DESC; # ### End.
scholar
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # venue ( venueId, venueName ) # author ( authorId, authorName ) # dataset ( datasetId, datasetName ) # journal ( journalId, journalName ) # keyphrase ( keyphraseId, keyphraseName ) # paper ( paperId, title, venueId, year, numCiting, numCitedBy, journalId ) # cite ( citingPaperId, citedPaperId ) # paperDataset ( paperId, datasetId ) # paperKeyphrase ( paperId, keyphraseId ) # writes ( paperId, authorId ) # # paper.venueId can be joined with venue.venueId # paper.journalId can be joined with journal.journalId # cite.citingPaperId can be joined with paper.paperId # cite.citedPaperId can be joined with paper.paperId # paperKeyphrase.keyphraseId can be joined with keyphrase.keyphraseId # paperKeyphrase.paperId can be joined with paper.paperId # writes.authorId can be joined with author.authorId # writes.paperId can be joined with paper.paperId # ### Question: # # who has written the most papers on semantic parsing since 2005 ? # ### SQL: # # SELECT DISTINCT COUNT ( t4.paperid ) , t3.authorid FROM paperkeyphrase AS t1 JOIN keyphrase AS t2 ON t1.keyphraseid = t2.keyphraseid JOIN paper AS t4 ON t4.paperid = t1.paperid JOIN writes AS t3 ON t3.paperid = t4.paperid WHERE t2.keyphrasename = "semantic parsing" AND t4.year > 2005 GROUP BY t3.authorid ORDER BY COUNT ( t4.paperid ) DESC; # ### End.
scholar
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # venue ( venueId, venueName ) # author ( authorId, authorName ) # dataset ( datasetId, datasetName ) # journal ( journalId, journalName ) # keyphrase ( keyphraseId, keyphraseName ) # paper ( paperId, title, venueId, year, numCiting, numCitedBy, journalId ) # cite ( citingPaperId, citedPaperId ) # paperDataset ( paperId, datasetId ) # paperKeyphrase ( paperId, keyphraseId ) # writes ( paperId, authorId ) # # paper.venueId can be joined with venue.venueId # paper.journalId can be joined with journal.journalId # cite.citingPaperId can be joined with paper.paperId # cite.citedPaperId can be joined with paper.paperId # paperKeyphrase.keyphraseId can be joined with keyphrase.keyphraseId # paperKeyphrase.paperId can be joined with paper.paperId # writes.authorId can be joined with author.authorId # writes.paperId can be joined with paper.paperId # ### Question: # # who published the most in semantic parsing after 2005 ? # ### SQL: # # SELECT DISTINCT COUNT ( t4.paperid ) , t3.authorid FROM paperkeyphrase AS t1 JOIN keyphrase AS t2 ON t1.keyphraseid = t2.keyphraseid JOIN paper AS t4 ON t4.paperid = t1.paperid JOIN writes AS t3 ON t3.paperid = t4.paperid WHERE t2.keyphrasename = "semantic parsing" AND t4.year > 2005 GROUP BY t3.authorid ORDER BY COUNT ( t4.paperid ) DESC; # ### End.
scholar
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # venue ( venueId, venueName ) # author ( authorId, authorName ) # dataset ( datasetId, datasetName ) # journal ( journalId, journalName ) # keyphrase ( keyphraseId, keyphraseName ) # paper ( paperId, title, venueId, year, numCiting, numCitedBy, journalId ) # cite ( citingPaperId, citedPaperId ) # paperDataset ( paperId, datasetId ) # paperKeyphrase ( paperId, keyphraseId ) # writes ( paperId, authorId ) # # paper.venueId can be joined with venue.venueId # paper.journalId can be joined with journal.journalId # cite.citingPaperId can be joined with paper.paperId # cite.citedPaperId can be joined with paper.paperId # paperKeyphrase.keyphraseId can be joined with keyphrase.keyphraseId # paperKeyphrase.paperId can be joined with paper.paperId # writes.authorId can be joined with author.authorId # writes.paperId can be joined with paper.paperId # ### Question: # # How many citations does Dan Makumbi 's Genetic Identity paper have ? # ### SQL: # # SELECT DISTINCT COUNT ( t5.citingpaperid ) FROM paperkeyphrase AS t2 JOIN keyphrase AS t3 ON t2.keyphraseid = t3.keyphraseid JOIN writes AS t4 ON t4.paperid = t2.paperid JOIN cite AS t5 ON t4.paperid = t5.citedpaperid JOIN author AS t1 ON t4.authorid = t1.authorid WHERE t1.authorname = "Dan Makumbi" AND t3.keyphrasename = "Genetic Identity"; # ### End.
scholar
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # venue ( venueId, venueName ) # author ( authorId, authorName ) # dataset ( datasetId, datasetName ) # journal ( journalId, journalName ) # keyphrase ( keyphraseId, keyphraseName ) # paper ( paperId, title, venueId, year, numCiting, numCitedBy, journalId ) # cite ( citingPaperId, citedPaperId ) # paperDataset ( paperId, datasetId ) # paperKeyphrase ( paperId, keyphraseId ) # writes ( paperId, authorId ) # # paper.venueId can be joined with venue.venueId # paper.journalId can be joined with journal.journalId # cite.citingPaperId can be joined with paper.paperId # cite.citedPaperId can be joined with paper.paperId # paperKeyphrase.keyphraseId can be joined with keyphrase.keyphraseId # paperKeyphrase.paperId can be joined with paper.paperId # writes.authorId can be joined with author.authorId # writes.paperId can be joined with paper.paperId # ### Question: # # character recognition papers earlier than 2010 # ### SQL: # # 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 = "character recognition" AND t3.year < 2010; # ### End.
scholar
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # venue ( venueId, venueName ) # author ( authorId, authorName ) # dataset ( datasetId, datasetName ) # journal ( journalId, journalName ) # keyphrase ( keyphraseId, keyphraseName ) # paper ( paperId, title, venueId, year, numCiting, numCitedBy, journalId ) # cite ( citingPaperId, citedPaperId ) # paperDataset ( paperId, datasetId ) # paperKeyphrase ( paperId, keyphraseId ) # writes ( paperId, authorId ) # # paper.venueId can be joined with venue.venueId # paper.journalId can be joined with journal.journalId # cite.citingPaperId can be joined with paper.paperId # cite.citedPaperId can be joined with paper.paperId # paperKeyphrase.keyphraseId can be joined with keyphrase.keyphraseId # paperKeyphrase.paperId can be joined with paper.paperId # writes.authorId can be joined with author.authorId # writes.paperId can be joined with paper.paperId # ### Question: # # papers before 2010 about character recognition # ### SQL: # # 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 = "character recognition" AND t3.year < 2010; # ### End.
scholar
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # venue ( venueId, venueName ) # author ( authorId, authorName ) # dataset ( datasetId, datasetName ) # journal ( journalId, journalName ) # keyphrase ( keyphraseId, keyphraseName ) # paper ( paperId, title, venueId, year, numCiting, numCitedBy, journalId ) # cite ( citingPaperId, citedPaperId ) # paperDataset ( paperId, datasetId ) # paperKeyphrase ( paperId, keyphraseId ) # writes ( paperId, authorId ) # # paper.venueId can be joined with venue.venueId # paper.journalId can be joined with journal.journalId # cite.citingPaperId can be joined with paper.paperId # cite.citedPaperId can be joined with paper.paperId # paperKeyphrase.keyphraseId can be joined with keyphrase.keyphraseId # paperKeyphrase.paperId can be joined with paper.paperId # writes.authorId can be joined with author.authorId # writes.paperId can be joined with paper.paperId # ### Question: # # character recognition papers from before 2010 # ### SQL: # # 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 = "character recognition" AND t3.year < 2010; # ### End.
scholar
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # venue ( venueId, venueName ) # author ( authorId, authorName ) # dataset ( datasetId, datasetName ) # journal ( journalId, journalName ) # keyphrase ( keyphraseId, keyphraseName ) # paper ( paperId, title, venueId, year, numCiting, numCitedBy, journalId ) # cite ( citingPaperId, citedPaperId ) # paperDataset ( paperId, datasetId ) # paperKeyphrase ( paperId, keyphraseId ) # writes ( paperId, authorId ) # # paper.venueId can be joined with venue.venueId # paper.journalId can be joined with journal.journalId # cite.citingPaperId can be joined with paper.paperId # cite.citedPaperId can be joined with paper.paperId # paperKeyphrase.keyphraseId can be joined with keyphrase.keyphraseId # paperKeyphrase.paperId can be joined with paper.paperId # writes.authorId can be joined with author.authorId # writes.paperId can be joined with paper.paperId # ### Question: # # papers about character recognition from before 2010 # ### SQL: # # 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 = "character recognition" AND t3.year < 2010; # ### End.
scholar
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # venue ( venueId, venueName ) # author ( authorId, authorName ) # dataset ( datasetId, datasetName ) # journal ( journalId, journalName ) # keyphrase ( keyphraseId, keyphraseName ) # paper ( paperId, title, venueId, year, numCiting, numCitedBy, journalId ) # cite ( citingPaperId, citedPaperId ) # paperDataset ( paperId, datasetId ) # paperKeyphrase ( paperId, keyphraseId ) # writes ( paperId, authorId ) # # paper.venueId can be joined with venue.venueId # paper.journalId can be joined with journal.journalId # cite.citingPaperId can be joined with paper.paperId # cite.citedPaperId can be joined with paper.paperId # paperKeyphrase.keyphraseId can be joined with keyphrase.keyphraseId # paperKeyphrase.paperId can be joined with paper.paperId # writes.authorId can be joined with author.authorId # writes.paperId can be joined with paper.paperId # ### Question: # # character recognition papers before 2010 # ### SQL: # # 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 = "character recognition" AND t3.year < 2010; # ### End.
scholar
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # venue ( venueId, venueName ) # author ( authorId, authorName ) # dataset ( datasetId, datasetName ) # journal ( journalId, journalName ) # keyphrase ( keyphraseId, keyphraseName ) # paper ( paperId, title, venueId, year, numCiting, numCitedBy, journalId ) # cite ( citingPaperId, citedPaperId ) # paperDataset ( paperId, datasetId ) # paperKeyphrase ( paperId, keyphraseId ) # writes ( paperId, authorId ) # # paper.venueId can be joined with venue.venueId # paper.journalId can be joined with journal.journalId # cite.citingPaperId can be joined with paper.paperId # cite.citedPaperId can be joined with paper.paperId # paperKeyphrase.keyphraseId can be joined with keyphrase.keyphraseId # paperKeyphrase.paperId can be joined with paper.paperId # writes.authorId can be joined with author.authorId # writes.paperId can be joined with paper.paperId # ### Question: # # what topics does oren etzioni write about most ? # ### SQL: # # SELECT DISTINCT COUNT ( t2.keyphraseid ) , 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 = "oren etzioni" GROUP BY t2.keyphraseid ORDER BY COUNT ( t2.keyphraseid ) DESC; # ### End.
scholar
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # venue ( venueId, venueName ) # author ( authorId, authorName ) # dataset ( datasetId, datasetName ) # journal ( journalId, journalName ) # keyphrase ( keyphraseId, keyphraseName ) # paper ( paperId, title, venueId, year, numCiting, numCitedBy, journalId ) # cite ( citingPaperId, citedPaperId ) # paperDataset ( paperId, datasetId ) # paperKeyphrase ( paperId, keyphraseId ) # writes ( paperId, authorId ) # # paper.venueId can be joined with venue.venueId # paper.journalId can be joined with journal.journalId # cite.citingPaperId can be joined with paper.paperId # cite.citedPaperId can be joined with paper.paperId # paperKeyphrase.keyphraseId can be joined with keyphrase.keyphraseId # paperKeyphrase.paperId can be joined with paper.paperId # writes.authorId can be joined with author.authorId # writes.paperId can be joined with paper.paperId # ### Question: # # How many papers related to deep learning cited the dataset ImageNet ? # ### SQL: # # SELECT DISTINCT COUNT ( t4.paperid ) FROM paperdataset AS t3 JOIN dataset AS t2 ON t3.datasetid = t2.datasetid JOIN paper AS t4 ON t4.paperid = t3.paperid JOIN paperkeyphrase AS t1 ON t4.paperid = t1.paperid JOIN keyphrase AS t5 ON t1.keyphraseid = t5.keyphraseid WHERE t2.datasetname = "ImageNet" AND t5.keyphrasename = "deep learning"; # ### End.
scholar
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # venue ( venueId, venueName ) # author ( authorId, authorName ) # dataset ( datasetId, datasetName ) # journal ( journalId, journalName ) # keyphrase ( keyphraseId, keyphraseName ) # paper ( paperId, title, venueId, year, numCiting, numCitedBy, journalId ) # cite ( citingPaperId, citedPaperId ) # paperDataset ( paperId, datasetId ) # paperKeyphrase ( paperId, keyphraseId ) # writes ( paperId, authorId ) # # paper.venueId can be joined with venue.venueId # paper.journalId can be joined with journal.journalId # cite.citingPaperId can be joined with paper.paperId # cite.citedPaperId can be joined with paper.paperId # paperKeyphrase.keyphraseId can be joined with keyphrase.keyphraseId # paperKeyphrase.paperId can be joined with paper.paperId # writes.authorId can be joined with author.authorId # writes.paperId can be joined with paper.paperId # ### Question: # # most cited papers on parsing # ### SQL: # # SELECT DISTINCT t4.citedpaperid , COUNT ( t4.citedpaperid ) FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid JOIN cite AS t4 ON t3.paperid = t4.citedpaperid WHERE t1.keyphrasename = "parsing" GROUP BY t4.citedpaperid ORDER BY COUNT ( t4.citedpaperid ) DESC; # ### End.
scholar
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # venue ( venueId, venueName ) # author ( authorId, authorName ) # dataset ( datasetId, datasetName ) # journal ( journalId, journalName ) # keyphrase ( keyphraseId, keyphraseName ) # paper ( paperId, title, venueId, year, numCiting, numCitedBy, journalId ) # cite ( citingPaperId, citedPaperId ) # paperDataset ( paperId, datasetId ) # paperKeyphrase ( paperId, keyphraseId ) # writes ( paperId, authorId ) # # paper.venueId can be joined with venue.venueId # paper.journalId can be joined with journal.journalId # cite.citingPaperId can be joined with paper.paperId # cite.citedPaperId can be joined with paper.paperId # paperKeyphrase.keyphraseId can be joined with keyphrase.keyphraseId # paperKeyphrase.paperId can be joined with paper.paperId # writes.authorId can be joined with author.authorId # writes.paperId can be joined with paper.paperId # ### Question: # # parsing top papers # ### SQL: # # SELECT DISTINCT t4.citedpaperid , COUNT ( t4.citedpaperid ) FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid JOIN cite AS t4 ON t3.paperid = t4.citedpaperid WHERE t1.keyphrasename = "parsing" GROUP BY t4.citedpaperid ORDER BY COUNT ( t4.citedpaperid ) DESC; # ### End.
scholar
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # venue ( venueId, venueName ) # author ( authorId, authorName ) # dataset ( datasetId, datasetName ) # journal ( journalId, journalName ) # keyphrase ( keyphraseId, keyphraseName ) # paper ( paperId, title, venueId, year, numCiting, numCitedBy, journalId ) # cite ( citingPaperId, citedPaperId ) # paperDataset ( paperId, datasetId ) # paperKeyphrase ( paperId, keyphraseId ) # writes ( paperId, authorId ) # # paper.venueId can be joined with venue.venueId # paper.journalId can be joined with journal.journalId # cite.citingPaperId can be joined with paper.paperId # cite.citedPaperId can be joined with paper.paperId # paperKeyphrase.keyphraseId can be joined with keyphrase.keyphraseId # paperKeyphrase.paperId can be joined with paper.paperId # writes.authorId can be joined with author.authorId # writes.paperId can be joined with paper.paperId # ### Question: # # List top papers for parsing # ### SQL: # # SELECT DISTINCT t4.citedpaperid , COUNT ( t4.citedpaperid ) FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid JOIN cite AS t4 ON t3.paperid = t4.citedpaperid WHERE t1.keyphrasename = "parsing" GROUP BY t4.citedpaperid ORDER BY COUNT ( t4.citedpaperid ) DESC; # ### End.
scholar
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # venue ( venueId, venueName ) # author ( authorId, authorName ) # dataset ( datasetId, datasetName ) # journal ( journalId, journalName ) # keyphrase ( keyphraseId, keyphraseName ) # paper ( paperId, title, venueId, year, numCiting, numCitedBy, journalId ) # cite ( citingPaperId, citedPaperId ) # paperDataset ( paperId, datasetId ) # paperKeyphrase ( paperId, keyphraseId ) # writes ( paperId, authorId ) # # paper.venueId can be joined with venue.venueId # paper.journalId can be joined with journal.journalId # cite.citingPaperId can be joined with paper.paperId # cite.citedPaperId can be joined with paper.paperId # paperKeyphrase.keyphraseId can be joined with keyphrase.keyphraseId # paperKeyphrase.paperId can be joined with paper.paperId # writes.authorId can be joined with author.authorId # writes.paperId can be joined with paper.paperId # ### Question: # # parsing papers that have the most citations # ### SQL: # # SELECT DISTINCT t4.citedpaperid , COUNT ( t4.citedpaperid ) FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid JOIN cite AS t4 ON t3.paperid = t4.citedpaperid WHERE t1.keyphrasename = "parsing" GROUP BY t4.citedpaperid ORDER BY COUNT ( t4.citedpaperid ) DESC; # ### End.
scholar
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # venue ( venueId, venueName ) # author ( authorId, authorName ) # dataset ( datasetId, datasetName ) # journal ( journalId, journalName ) # keyphrase ( keyphraseId, keyphraseName ) # paper ( paperId, title, venueId, year, numCiting, numCitedBy, journalId ) # cite ( citingPaperId, citedPaperId ) # paperDataset ( paperId, datasetId ) # paperKeyphrase ( paperId, keyphraseId ) # writes ( paperId, authorId ) # # paper.venueId can be joined with venue.venueId # paper.journalId can be joined with journal.journalId # cite.citingPaperId can be joined with paper.paperId # cite.citedPaperId can be joined with paper.paperId # paperKeyphrase.keyphraseId can be joined with keyphrase.keyphraseId # paperKeyphrase.paperId can be joined with paper.paperId # writes.authorId can be joined with author.authorId # writes.paperId can be joined with paper.paperId # ### Question: # # What is the paper about parsing of the most citation ? # ### SQL: # # SELECT DISTINCT t4.citedpaperid , COUNT ( t4.citedpaperid ) FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid JOIN cite AS t4 ON t3.paperid = t4.citedpaperid WHERE t1.keyphrasename = "parsing" GROUP BY t4.citedpaperid ORDER BY COUNT ( t4.citedpaperid ) DESC; # ### End.
scholar
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # venue ( venueId, venueName ) # author ( authorId, authorName ) # dataset ( datasetId, datasetName ) # journal ( journalId, journalName ) # keyphrase ( keyphraseId, keyphraseName ) # paper ( paperId, title, venueId, year, numCiting, numCitedBy, journalId ) # cite ( citingPaperId, citedPaperId ) # paperDataset ( paperId, datasetId ) # paperKeyphrase ( paperId, keyphraseId ) # writes ( paperId, authorId ) # # paper.venueId can be joined with venue.venueId # paper.journalId can be joined with journal.journalId # cite.citingPaperId can be joined with paper.paperId # cite.citedPaperId can be joined with paper.paperId # paperKeyphrase.keyphraseId can be joined with keyphrase.keyphraseId # paperKeyphrase.paperId can be joined with paper.paperId # writes.authorId can be joined with author.authorId # writes.paperId can be joined with paper.paperId # ### Question: # # Paper on parsing with most citations # ### SQL: # # SELECT DISTINCT t4.citedpaperid , COUNT ( t4.citedpaperid ) FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid JOIN cite AS t4 ON t3.paperid = t4.citedpaperid WHERE t1.keyphrasename = "parsing" GROUP BY t4.citedpaperid ORDER BY COUNT ( t4.citedpaperid ) DESC; # ### End.
scholar
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # venue ( venueId, venueName ) # author ( authorId, authorName ) # dataset ( datasetId, datasetName ) # journal ( journalId, journalName ) # keyphrase ( keyphraseId, keyphraseName ) # paper ( paperId, title, venueId, year, numCiting, numCitedBy, journalId ) # cite ( citingPaperId, citedPaperId ) # paperDataset ( paperId, datasetId ) # paperKeyphrase ( paperId, keyphraseId ) # writes ( paperId, authorId ) # # paper.venueId can be joined with venue.venueId # paper.journalId can be joined with journal.journalId # cite.citingPaperId can be joined with paper.paperId # cite.citedPaperId can be joined with paper.paperId # paperKeyphrase.keyphraseId can be joined with keyphrase.keyphraseId # paperKeyphrase.paperId can be joined with paper.paperId # writes.authorId can be joined with author.authorId # writes.paperId can be joined with paper.paperId # ### Question: # # parsing papers with most citations # ### SQL: # # SELECT DISTINCT t4.citedpaperid , COUNT ( t4.citedpaperid ) FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid JOIN cite AS t4 ON t3.paperid = t4.citedpaperid WHERE t1.keyphrasename = "parsing" GROUP BY t4.citedpaperid ORDER BY COUNT ( t4.citedpaperid ) DESC; # ### End.
scholar
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # venue ( venueId, venueName ) # author ( authorId, authorName ) # dataset ( datasetId, datasetName ) # journal ( journalId, journalName ) # keyphrase ( keyphraseId, keyphraseName ) # paper ( paperId, title, venueId, year, numCiting, numCitedBy, journalId ) # cite ( citingPaperId, citedPaperId ) # paperDataset ( paperId, datasetId ) # paperKeyphrase ( paperId, keyphraseId ) # writes ( paperId, authorId ) # # paper.venueId can be joined with venue.venueId # paper.journalId can be joined with journal.journalId # cite.citingPaperId can be joined with paper.paperId # cite.citedPaperId can be joined with paper.paperId # paperKeyphrase.keyphraseId can be joined with keyphrase.keyphraseId # paperKeyphrase.paperId can be joined with paper.paperId # writes.authorId can be joined with author.authorId # writes.paperId can be joined with paper.paperId # ### Question: # # most cited parsing papers # ### SQL: # # SELECT DISTINCT t4.citedpaperid , COUNT ( t4.citedpaperid ) FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid JOIN cite AS t4 ON t3.paperid = t4.citedpaperid WHERE t1.keyphrasename = "parsing" GROUP BY t4.citedpaperid ORDER BY COUNT ( t4.citedpaperid ) DESC; # ### End.
scholar
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # venue ( venueId, venueName ) # author ( authorId, authorName ) # dataset ( datasetId, datasetName ) # journal ( journalId, journalName ) # keyphrase ( keyphraseId, keyphraseName ) # paper ( paperId, title, venueId, year, numCiting, numCitedBy, journalId ) # cite ( citingPaperId, citedPaperId ) # paperDataset ( paperId, datasetId ) # paperKeyphrase ( paperId, keyphraseId ) # writes ( paperId, authorId ) # # paper.venueId can be joined with venue.venueId # paper.journalId can be joined with journal.journalId # cite.citingPaperId can be joined with paper.paperId # cite.citedPaperId can be joined with paper.paperId # paperKeyphrase.keyphraseId can be joined with keyphrase.keyphraseId # paperKeyphrase.paperId can be joined with paper.paperId # writes.authorId can be joined with author.authorId # writes.paperId can be joined with paper.paperId # ### Question: # # what are the parsing papers that have the most citations ? # ### SQL: # # SELECT DISTINCT t4.citedpaperid , COUNT ( t4.citedpaperid ) FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid JOIN cite AS t4 ON t3.paperid = t4.citedpaperid WHERE t1.keyphrasename = "parsing" GROUP BY t4.citedpaperid ORDER BY COUNT ( t4.citedpaperid ) DESC; # ### End.
scholar
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # venue ( venueId, venueName ) # author ( authorId, authorName ) # dataset ( datasetId, datasetName ) # journal ( journalId, journalName ) # keyphrase ( keyphraseId, keyphraseName ) # paper ( paperId, title, venueId, year, numCiting, numCitedBy, journalId ) # cite ( citingPaperId, citedPaperId ) # paperDataset ( paperId, datasetId ) # paperKeyphrase ( paperId, keyphraseId ) # writes ( paperId, authorId ) # # paper.venueId can be joined with venue.venueId # paper.journalId can be joined with journal.journalId # cite.citingPaperId can be joined with paper.paperId # cite.citedPaperId can be joined with paper.paperId # paperKeyphrase.keyphraseId can be joined with keyphrase.keyphraseId # paperKeyphrase.paperId can be joined with paper.paperId # writes.authorId can be joined with author.authorId # writes.paperId can be joined with paper.paperId # ### Question: # # highly cited parsing papers # ### SQL: # # SELECT DISTINCT t4.citedpaperid , COUNT ( t4.citedpaperid ) FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid JOIN cite AS t4 ON t3.paperid = t4.citedpaperid WHERE t1.keyphrasename = "parsing" GROUP BY t4.citedpaperid ORDER BY COUNT ( t4.citedpaperid ) DESC; # ### End.
scholar
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # venue ( venueId, venueName ) # author ( authorId, authorName ) # dataset ( datasetId, datasetName ) # journal ( journalId, journalName ) # keyphrase ( keyphraseId, keyphraseName ) # paper ( paperId, title, venueId, year, numCiting, numCitedBy, journalId ) # cite ( citingPaperId, citedPaperId ) # paperDataset ( paperId, datasetId ) # paperKeyphrase ( paperId, keyphraseId ) # writes ( paperId, authorId ) # # paper.venueId can be joined with venue.venueId # paper.journalId can be joined with journal.journalId # cite.citingPaperId can be joined with paper.paperId # cite.citedPaperId can be joined with paper.paperId # paperKeyphrase.keyphraseId can be joined with keyphrase.keyphraseId # paperKeyphrase.paperId can be joined with paper.paperId # writes.authorId can be joined with author.authorId # writes.paperId can be joined with paper.paperId # ### Question: # # most cited papers for parsing # ### SQL: # # SELECT DISTINCT t4.citedpaperid , COUNT ( t4.citedpaperid ) FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid JOIN cite AS t4 ON t3.paperid = t4.citedpaperid WHERE t1.keyphrasename = "parsing" GROUP BY t4.citedpaperid ORDER BY COUNT ( t4.citedpaperid ) DESC; # ### End.
scholar
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # venue ( venueId, venueName ) # author ( authorId, authorName ) # dataset ( datasetId, datasetName ) # journal ( journalId, journalName ) # keyphrase ( keyphraseId, keyphraseName ) # paper ( paperId, title, venueId, year, numCiting, numCitedBy, journalId ) # cite ( citingPaperId, citedPaperId ) # paperDataset ( paperId, datasetId ) # paperKeyphrase ( paperId, keyphraseId ) # writes ( paperId, authorId ) # # paper.venueId can be joined with venue.venueId # paper.journalId can be joined with journal.journalId # cite.citingPaperId can be joined with paper.paperId # cite.citedPaperId can be joined with paper.paperId # paperKeyphrase.keyphraseId can be joined with keyphrase.keyphraseId # paperKeyphrase.paperId can be joined with paper.paperId # writes.authorId can be joined with author.authorId # writes.paperId can be joined with paper.paperId # ### Question: # # Most cited papers on parsing # ### SQL: # # SELECT DISTINCT t4.citedpaperid , COUNT ( t4.citedpaperid ) FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid JOIN cite AS t4 ON t3.paperid = t4.citedpaperid WHERE t1.keyphrasename = "parsing" GROUP BY t4.citedpaperid ORDER BY COUNT ( t4.citedpaperid ) DESC; # ### End.
scholar
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # venue ( venueId, venueName ) # author ( authorId, authorName ) # dataset ( datasetId, datasetName ) # journal ( journalId, journalName ) # keyphrase ( keyphraseId, keyphraseName ) # paper ( paperId, title, venueId, year, numCiting, numCitedBy, journalId ) # cite ( citingPaperId, citedPaperId ) # paperDataset ( paperId, datasetId ) # paperKeyphrase ( paperId, keyphraseId ) # writes ( paperId, authorId ) # # paper.venueId can be joined with venue.venueId # paper.journalId can be joined with journal.journalId # cite.citingPaperId can be joined with paper.paperId # cite.citedPaperId can be joined with paper.paperId # paperKeyphrase.keyphraseId can be joined with keyphrase.keyphraseId # paperKeyphrase.paperId can be joined with paper.paperId # writes.authorId can be joined with author.authorId # writes.paperId can be joined with paper.paperId # ### Question: # # What paper did Michael Armstrong wrote in the 90s ? # ### SQL: # # SELECT DISTINCT t3.year , t2.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 LIKE "Michael Armstrong" AND t3.year LIKE "199"; # ### End.
scholar
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # venue ( venueId, venueName ) # author ( authorId, authorName ) # dataset ( datasetId, datasetName ) # journal ( journalId, journalName ) # keyphrase ( keyphraseId, keyphraseName ) # paper ( paperId, title, venueId, year, numCiting, numCitedBy, journalId ) # cite ( citingPaperId, citedPaperId ) # paperDataset ( paperId, datasetId ) # paperKeyphrase ( paperId, keyphraseId ) # writes ( paperId, authorId ) # # paper.venueId can be joined with venue.venueId # paper.journalId can be joined with journal.journalId # cite.citingPaperId can be joined with paper.paperId # cite.citedPaperId can be joined with paper.paperId # paperKeyphrase.keyphraseId can be joined with keyphrase.keyphraseId # paperKeyphrase.paperId can be joined with paper.paperId # writes.authorId can be joined with author.authorId # writes.paperId can be joined with paper.paperId # ### Question: # # What is the most cited paper by ohad shamir ? # ### SQL: # # SELECT DISTINCT t4.citedpaperid , COUNT ( t4.citedpaperid ) FROM paper AS t3 JOIN cite AS t4 ON t3.paperid = t4.citedpaperid JOIN writes AS t2 ON t2.paperid = t3.paperid JOIN author AS t1 ON t2.authorid = t1.authorid WHERE t1.authorname = "ohad shamir" GROUP BY t4.citedpaperid ORDER BY COUNT ( t4.citedpaperid ) DESC; # ### End.
scholar
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # venue ( venueId, venueName ) # author ( authorId, authorName ) # dataset ( datasetId, datasetName ) # journal ( journalId, journalName ) # keyphrase ( keyphraseId, keyphraseName ) # paper ( paperId, title, venueId, year, numCiting, numCitedBy, journalId ) # cite ( citingPaperId, citedPaperId ) # paperDataset ( paperId, datasetId ) # paperKeyphrase ( paperId, keyphraseId ) # writes ( paperId, authorId ) # # paper.venueId can be joined with venue.venueId # paper.journalId can be joined with journal.journalId # cite.citingPaperId can be joined with paper.paperId # cite.citedPaperId can be joined with paper.paperId # paperKeyphrase.keyphraseId can be joined with keyphrase.keyphraseId # paperKeyphrase.paperId can be joined with paper.paperId # writes.authorId can be joined with author.authorId # writes.paperId can be joined with paper.paperId # ### Question: # # What is the highest cited paper by ohad shamir ? # ### SQL: # # SELECT DISTINCT t4.citedpaperid , COUNT ( t4.citedpaperid ) FROM paper AS t3 JOIN cite AS t4 ON t3.paperid = t4.citedpaperid JOIN writes AS t2 ON t2.paperid = t3.paperid JOIN author AS t1 ON t2.authorid = t1.authorid WHERE t1.authorname = "ohad shamir" GROUP BY t4.citedpaperid ORDER BY COUNT ( t4.citedpaperid ) DESC; # ### End.
scholar
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # venue ( venueId, venueName ) # author ( authorId, authorName ) # dataset ( datasetId, datasetName ) # journal ( journalId, journalName ) # keyphrase ( keyphraseId, keyphraseName ) # paper ( paperId, title, venueId, year, numCiting, numCitedBy, journalId ) # cite ( citingPaperId, citedPaperId ) # paperDataset ( paperId, datasetId ) # paperKeyphrase ( paperId, keyphraseId ) # writes ( paperId, authorId ) # # paper.venueId can be joined with venue.venueId # paper.journalId can be joined with journal.journalId # cite.citingPaperId can be joined with paper.paperId # cite.citedPaperId can be joined with paper.paperId # paperKeyphrase.keyphraseId can be joined with keyphrase.keyphraseId # paperKeyphrase.paperId can be joined with paper.paperId # writes.authorId can be joined with author.authorId # writes.paperId can be joined with paper.paperId # ### Question: # # What is the most cited paper of ohad shamir ? # ### SQL: # # SELECT DISTINCT t4.citedpaperid , COUNT ( t4.citedpaperid ) FROM paper AS t3 JOIN cite AS t4 ON t3.paperid = t4.citedpaperid JOIN writes AS t2 ON t2.paperid = t3.paperid JOIN author AS t1 ON t2.authorid = t1.authorid WHERE t1.authorname = "ohad shamir" GROUP BY t4.citedpaperid ORDER BY COUNT ( t4.citedpaperid ) DESC; # ### End.
scholar
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # venue ( venueId, venueName ) # author ( authorId, authorName ) # dataset ( datasetId, datasetName ) # journal ( journalId, journalName ) # keyphrase ( keyphraseId, keyphraseName ) # paper ( paperId, title, venueId, year, numCiting, numCitedBy, journalId ) # cite ( citingPaperId, citedPaperId ) # paperDataset ( paperId, datasetId ) # paperKeyphrase ( paperId, keyphraseId ) # writes ( paperId, authorId ) # # paper.venueId can be joined with venue.venueId # paper.journalId can be joined with journal.journalId # cite.citingPaperId can be joined with paper.paperId # cite.citedPaperId can be joined with paper.paperId # paperKeyphrase.keyphraseId can be joined with keyphrase.keyphraseId # paperKeyphrase.paperId can be joined with paper.paperId # writes.authorId can be joined with author.authorId # writes.paperId can be joined with paper.paperId # ### Question: # # What is ohad shamir 's highest cited paper ? # ### SQL: # # SELECT DISTINCT t4.citedpaperid , COUNT ( t4.citedpaperid ) FROM paper AS t3 JOIN cite AS t4 ON t3.paperid = t4.citedpaperid JOIN writes AS t2 ON t2.paperid = t3.paperid JOIN author AS t1 ON t2.authorid = t1.authorid WHERE t1.authorname = "ohad shamir" GROUP BY t4.citedpaperid ORDER BY COUNT ( t4.citedpaperid ) DESC; # ### End.
scholar
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # venue ( venueId, venueName ) # author ( authorId, authorName ) # dataset ( datasetId, datasetName ) # journal ( journalId, journalName ) # keyphrase ( keyphraseId, keyphraseName ) # paper ( paperId, title, venueId, year, numCiting, numCitedBy, journalId ) # cite ( citingPaperId, citedPaperId ) # paperDataset ( paperId, datasetId ) # paperKeyphrase ( paperId, keyphraseId ) # writes ( paperId, authorId ) # # paper.venueId can be joined with venue.venueId # paper.journalId can be joined with journal.journalId # cite.citingPaperId can be joined with paper.paperId # cite.citedPaperId can be joined with paper.paperId # paperKeyphrase.keyphraseId can be joined with keyphrase.keyphraseId # paperKeyphrase.paperId can be joined with paper.paperId # writes.authorId can be joined with author.authorId # writes.paperId can be joined with paper.paperId # ### Question: # # What paper by ohad shamir has the most citation ? # ### SQL: # # SELECT DISTINCT t4.citedpaperid , COUNT ( t4.citedpaperid ) FROM paper AS t3 JOIN cite AS t4 ON t3.paperid = t4.citedpaperid JOIN writes AS t2 ON t2.paperid = t3.paperid JOIN author AS t1 ON t2.authorid = t1.authorid WHERE t1.authorname = "ohad shamir" GROUP BY t4.citedpaperid ORDER BY COUNT ( t4.citedpaperid ) DESC; # ### End.
scholar
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # venue ( venueId, venueName ) # author ( authorId, authorName ) # dataset ( datasetId, datasetName ) # journal ( journalId, journalName ) # keyphrase ( keyphraseId, keyphraseName ) # paper ( paperId, title, venueId, year, numCiting, numCitedBy, journalId ) # cite ( citingPaperId, citedPaperId ) # paperDataset ( paperId, datasetId ) # paperKeyphrase ( paperId, keyphraseId ) # writes ( paperId, authorId ) # # paper.venueId can be joined with venue.venueId # paper.journalId can be joined with journal.journalId # cite.citingPaperId can be joined with paper.paperId # cite.citedPaperId can be joined with paper.paperId # paperKeyphrase.keyphraseId can be joined with keyphrase.keyphraseId # paperKeyphrase.paperId can be joined with paper.paperId # writes.authorId can be joined with author.authorId # writes.paperId can be joined with paper.paperId # ### Question: # # what is the most cited paper of ohad shamir ? # ### SQL: # # SELECT DISTINCT t4.citedpaperid , COUNT ( t4.citedpaperid ) FROM paper AS t3 JOIN cite AS t4 ON t3.paperid = t4.citedpaperid JOIN writes AS t2 ON t2.paperid = t3.paperid JOIN author AS t1 ON t2.authorid = t1.authorid WHERE t1.authorname = "ohad shamir" GROUP BY t4.citedpaperid ORDER BY COUNT ( t4.citedpaperid ) DESC; # ### End.
scholar
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # venue ( venueId, venueName ) # author ( authorId, authorName ) # dataset ( datasetId, datasetName ) # journal ( journalId, journalName ) # keyphrase ( keyphraseId, keyphraseName ) # paper ( paperId, title, venueId, year, numCiting, numCitedBy, journalId ) # cite ( citingPaperId, citedPaperId ) # paperDataset ( paperId, datasetId ) # paperKeyphrase ( paperId, keyphraseId ) # writes ( paperId, authorId ) # # paper.venueId can be joined with venue.venueId # paper.journalId can be joined with journal.journalId # cite.citingPaperId can be joined with paper.paperId # cite.citedPaperId can be joined with paper.paperId # paperKeyphrase.keyphraseId can be joined with keyphrase.keyphraseId # paperKeyphrase.paperId can be joined with paper.paperId # writes.authorId can be joined with author.authorId # writes.paperId can be joined with paper.paperId # ### Question: # # what is ohad shamir 's most cited paper ? # ### SQL: # # SELECT DISTINCT t4.citedpaperid , COUNT ( t4.citedpaperid ) FROM paper AS t3 JOIN cite AS t4 ON t3.paperid = t4.citedpaperid JOIN writes AS t2 ON t2.paperid = t3.paperid JOIN author AS t1 ON t2.authorid = t1.authorid WHERE t1.authorname = "ohad shamir" GROUP BY t4.citedpaperid ORDER BY COUNT ( t4.citedpaperid ) DESC; # ### End.
scholar
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # venue ( venueId, venueName ) # author ( authorId, authorName ) # dataset ( datasetId, datasetName ) # journal ( journalId, journalName ) # keyphrase ( keyphraseId, keyphraseName ) # paper ( paperId, title, venueId, year, numCiting, numCitedBy, journalId ) # cite ( citingPaperId, citedPaperId ) # paperDataset ( paperId, datasetId ) # paperKeyphrase ( paperId, keyphraseId ) # writes ( paperId, authorId ) # # paper.venueId can be joined with venue.venueId # paper.journalId can be joined with journal.journalId # cite.citingPaperId can be joined with paper.paperId # cite.citedPaperId can be joined with paper.paperId # paperKeyphrase.keyphraseId can be joined with keyphrase.keyphraseId # paperKeyphrase.paperId can be joined with paper.paperId # writes.authorId can be joined with author.authorId # writes.paperId can be joined with paper.paperId # ### Question: # # How many papers did michael i. jordan publish in 2016 ? # ### SQL: # # SELECT DISTINCT COUNT ( t2.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 = "michael i. jordan" AND t3.year = 2016; # ### End.
scholar
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # venue ( venueId, venueName ) # author ( authorId, authorName ) # dataset ( datasetId, datasetName ) # journal ( journalId, journalName ) # keyphrase ( keyphraseId, keyphraseName ) # paper ( paperId, title, venueId, year, numCiting, numCitedBy, journalId ) # cite ( citingPaperId, citedPaperId ) # paperDataset ( paperId, datasetId ) # paperKeyphrase ( paperId, keyphraseId ) # writes ( paperId, authorId ) # # paper.venueId can be joined with venue.venueId # paper.journalId can be joined with journal.journalId # cite.citingPaperId can be joined with paper.paperId # cite.citedPaperId can be joined with paper.paperId # paperKeyphrase.keyphraseId can be joined with keyphrase.keyphraseId # paperKeyphrase.paperId can be joined with paper.paperId # writes.authorId can be joined with author.authorId # writes.paperId can be joined with paper.paperId # ### Question: # # How many papers does michael i. jordan have in 2016 ? # ### SQL: # # SELECT DISTINCT COUNT ( t2.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 = "michael i. jordan" AND t3.year = 2016; # ### End.
scholar
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # venue ( venueId, venueName ) # author ( authorId, authorName ) # dataset ( datasetId, datasetName ) # journal ( journalId, journalName ) # keyphrase ( keyphraseId, keyphraseName ) # paper ( paperId, title, venueId, year, numCiting, numCitedBy, journalId ) # cite ( citingPaperId, citedPaperId ) # paperDataset ( paperId, datasetId ) # paperKeyphrase ( paperId, keyphraseId ) # writes ( paperId, authorId ) # # paper.venueId can be joined with venue.venueId # paper.journalId can be joined with journal.journalId # cite.citingPaperId can be joined with paper.paperId # cite.citedPaperId can be joined with paper.paperId # paperKeyphrase.keyphraseId can be joined with keyphrase.keyphraseId # paperKeyphrase.paperId can be joined with paper.paperId # writes.authorId can be joined with author.authorId # writes.paperId can be joined with paper.paperId # ### Question: # # How many papers did michael i. jordan publish in 2016 # ### SQL: # # SELECT DISTINCT COUNT ( t2.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 = "michael i. jordan" AND t3.year = 2016; # ### End.
scholar
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # venue ( venueId, venueName ) # author ( authorId, authorName ) # dataset ( datasetId, datasetName ) # journal ( journalId, journalName ) # keyphrase ( keyphraseId, keyphraseName ) # paper ( paperId, title, venueId, year, numCiting, numCitedBy, journalId ) # cite ( citingPaperId, citedPaperId ) # paperDataset ( paperId, datasetId ) # paperKeyphrase ( paperId, keyphraseId ) # writes ( paperId, authorId ) # # paper.venueId can be joined with venue.venueId # paper.journalId can be joined with journal.journalId # cite.citingPaperId can be joined with paper.paperId # cite.citedPaperId can be joined with paper.paperId # paperKeyphrase.keyphraseId can be joined with keyphrase.keyphraseId # paperKeyphrase.paperId can be joined with paper.paperId # writes.authorId can be joined with author.authorId # writes.paperId can be joined with paper.paperId # ### Question: # # count of ACL papers by author # ### SQL: # # SELECT DISTINCT COUNT ( t2.paperid ) , t1.authorid FROM venue AS t3 JOIN paper AS t2 ON t3.venueid = t2.venueid JOIN writes AS t1 ON t1.paperid = t2.paperid WHERE t3.venuename = "ACL" GROUP BY t1.authorid; # ### End.
scholar
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # venue ( venueId, venueName ) # author ( authorId, authorName ) # dataset ( datasetId, datasetName ) # journal ( journalId, journalName ) # keyphrase ( keyphraseId, keyphraseName ) # paper ( paperId, title, venueId, year, numCiting, numCitedBy, journalId ) # cite ( citingPaperId, citedPaperId ) # paperDataset ( paperId, datasetId ) # paperKeyphrase ( paperId, keyphraseId ) # writes ( paperId, authorId ) # # paper.venueId can be joined with venue.venueId # paper.journalId can be joined with journal.journalId # cite.citingPaperId can be joined with paper.paperId # cite.citedPaperId can be joined with paper.paperId # paperKeyphrase.keyphraseId can be joined with keyphrase.keyphraseId # paperKeyphrase.paperId can be joined with paper.paperId # writes.authorId can be joined with author.authorId # writes.paperId can be joined with paper.paperId # ### Question: # # how many ACL papers by author # ### SQL: # # SELECT DISTINCT COUNT ( t2.paperid ) , t1.authorid FROM venue AS t3 JOIN paper AS t2 ON t3.venueid = t2.venueid JOIN writes AS t1 ON t1.paperid = t2.paperid WHERE t3.venuename = "ACL" GROUP BY t1.authorid; # ### End.
scholar
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # venue ( venueId, venueName ) # author ( authorId, authorName ) # dataset ( datasetId, datasetName ) # journal ( journalId, journalName ) # keyphrase ( keyphraseId, keyphraseName ) # paper ( paperId, title, venueId, year, numCiting, numCitedBy, journalId ) # cite ( citingPaperId, citedPaperId ) # paperDataset ( paperId, datasetId ) # paperKeyphrase ( paperId, keyphraseId ) # writes ( paperId, authorId ) # # paper.venueId can be joined with venue.venueId # paper.journalId can be joined with journal.journalId # cite.citingPaperId can be joined with paper.paperId # cite.citedPaperId can be joined with paper.paperId # paperKeyphrase.keyphraseId can be joined with keyphrase.keyphraseId # paperKeyphrase.paperId can be joined with paper.paperId # writes.authorId can be joined with author.authorId # writes.paperId can be joined with paper.paperId # ### Question: # # number of ACL papers by author # ### SQL: # # SELECT DISTINCT COUNT ( t2.paperid ) , t1.authorid FROM venue AS t3 JOIN paper AS t2 ON t3.venueid = t2.venueid JOIN writes AS t1 ON t1.paperid = t2.paperid WHERE t3.venuename = "ACL" GROUP BY t1.authorid; # ### End.
scholar
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # venue ( venueId, venueName ) # author ( authorId, authorName ) # dataset ( datasetId, datasetName ) # journal ( journalId, journalName ) # keyphrase ( keyphraseId, keyphraseName ) # paper ( paperId, title, venueId, year, numCiting, numCitedBy, journalId ) # cite ( citingPaperId, citedPaperId ) # paperDataset ( paperId, datasetId ) # paperKeyphrase ( paperId, keyphraseId ) # writes ( paperId, authorId ) # # paper.venueId can be joined with venue.venueId # paper.journalId can be joined with journal.journalId # cite.citingPaperId can be joined with paper.paperId # cite.citedPaperId can be joined with paper.paperId # paperKeyphrase.keyphraseId can be joined with keyphrase.keyphraseId # paperKeyphrase.paperId can be joined with paper.paperId # writes.authorId can be joined with author.authorId # writes.paperId can be joined with paper.paperId # ### Question: # # who wrote the most papers for CVPR 2007 # ### SQL: # # SELECT DISTINCT COUNT ( t2.paperid ) , t1.authorid FROM venue AS t3 JOIN paper AS t2 ON t3.venueid = t2.venueid JOIN writes AS t1 ON t1.paperid = t2.paperid WHERE t2.year = 2007 AND t3.venuename = "CVPR" GROUP BY t1.authorid ORDER BY COUNT ( t2.paperid ) DESC; # ### End.
scholar
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # venue ( venueId, venueName ) # author ( authorId, authorName ) # dataset ( datasetId, datasetName ) # journal ( journalId, journalName ) # keyphrase ( keyphraseId, keyphraseName ) # paper ( paperId, title, venueId, year, numCiting, numCitedBy, journalId ) # cite ( citingPaperId, citedPaperId ) # paperDataset ( paperId, datasetId ) # paperKeyphrase ( paperId, keyphraseId ) # writes ( paperId, authorId ) # # paper.venueId can be joined with venue.venueId # paper.journalId can be joined with journal.journalId # cite.citingPaperId can be joined with paper.paperId # cite.citedPaperId can be joined with paper.paperId # paperKeyphrase.keyphraseId can be joined with keyphrase.keyphraseId # paperKeyphrase.paperId can be joined with paper.paperId # writes.authorId can be joined with author.authorId # writes.paperId can be joined with paper.paperId # ### Question: # # who published papers in CVPR 2007 # ### SQL: # # SELECT DISTINCT COUNT ( t2.paperid ) , t1.authorid FROM venue AS t3 JOIN paper AS t2 ON t3.venueid = t2.venueid JOIN writes AS t1 ON t1.paperid = t2.paperid WHERE t2.year = 2007 AND t3.venuename = "CVPR" GROUP BY t1.authorid ORDER BY COUNT ( t2.paperid ) DESC; # ### End.
scholar
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # venue ( venueId, venueName ) # author ( authorId, authorName ) # dataset ( datasetId, datasetName ) # journal ( journalId, journalName ) # keyphrase ( keyphraseId, keyphraseName ) # paper ( paperId, title, venueId, year, numCiting, numCitedBy, journalId ) # cite ( citingPaperId, citedPaperId ) # paperDataset ( paperId, datasetId ) # paperKeyphrase ( paperId, keyphraseId ) # writes ( paperId, authorId ) # # paper.venueId can be joined with venue.venueId # paper.journalId can be joined with journal.journalId # cite.citingPaperId can be joined with paper.paperId # cite.citedPaperId can be joined with paper.paperId # paperKeyphrase.keyphraseId can be joined with keyphrase.keyphraseId # paperKeyphrase.paperId can be joined with paper.paperId # writes.authorId can be joined with author.authorId # writes.paperId can be joined with paper.paperId # ### Question: # # who wrote the most CVPR papers in 2007 # ### SQL: # # SELECT DISTINCT COUNT ( t2.paperid ) , t1.authorid FROM venue AS t3 JOIN paper AS t2 ON t3.venueid = t2.venueid JOIN writes AS t1 ON t1.paperid = t2.paperid WHERE t2.year = 2007 AND t3.venuename = "CVPR" GROUP BY t1.authorid ORDER BY COUNT ( t2.paperid ) DESC; # ### End.
scholar
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # venue ( venueId, venueName ) # author ( authorId, authorName ) # dataset ( datasetId, datasetName ) # journal ( journalId, journalName ) # keyphrase ( keyphraseId, keyphraseName ) # paper ( paperId, title, venueId, year, numCiting, numCitedBy, journalId ) # cite ( citingPaperId, citedPaperId ) # paperDataset ( paperId, datasetId ) # paperKeyphrase ( paperId, keyphraseId ) # writes ( paperId, authorId ) # # paper.venueId can be joined with venue.venueId # paper.journalId can be joined with journal.journalId # cite.citingPaperId can be joined with paper.paperId # cite.citedPaperId can be joined with paper.paperId # paperKeyphrase.keyphraseId can be joined with keyphrase.keyphraseId # paperKeyphrase.paperId can be joined with paper.paperId # writes.authorId can be joined with author.authorId # writes.paperId can be joined with paper.paperId # ### Question: # # most published author at CVPR 2007 # ### SQL: # # SELECT DISTINCT COUNT ( t2.paperid ) , t1.authorid FROM venue AS t3 JOIN paper AS t2 ON t3.venueid = t2.venueid JOIN writes AS t1 ON t1.paperid = t2.paperid WHERE t2.year = 2007 AND t3.venuename = "CVPR" GROUP BY t1.authorid ORDER BY COUNT ( t2.paperid ) DESC; # ### End.
scholar
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # venue ( venueId, venueName ) # author ( authorId, authorName ) # dataset ( datasetId, datasetName ) # journal ( journalId, journalName ) # keyphrase ( keyphraseId, keyphraseName ) # paper ( paperId, title, venueId, year, numCiting, numCitedBy, journalId ) # cite ( citingPaperId, citedPaperId ) # paperDataset ( paperId, datasetId ) # paperKeyphrase ( paperId, keyphraseId ) # writes ( paperId, authorId ) # # paper.venueId can be joined with venue.venueId # paper.journalId can be joined with journal.journalId # cite.citingPaperId can be joined with paper.paperId # cite.citedPaperId can be joined with paper.paperId # paperKeyphrase.keyphraseId can be joined with keyphrase.keyphraseId # paperKeyphrase.paperId can be joined with paper.paperId # writes.authorId can be joined with author.authorId # writes.paperId can be joined with paper.paperId # ### Question: # # who published the most papers in CVPR 2007 # ### SQL: # # SELECT DISTINCT COUNT ( t2.paperid ) , t1.authorid FROM venue AS t3 JOIN paper AS t2 ON t3.venueid = t2.venueid JOIN writes AS t1 ON t1.paperid = t2.paperid WHERE t2.year = 2007 AND t3.venuename = "CVPR" GROUP BY t1.authorid ORDER BY COUNT ( t2.paperid ) DESC; # ### End.
scholar
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # venue ( venueId, venueName ) # author ( authorId, authorName ) # dataset ( datasetId, datasetName ) # journal ( journalId, journalName ) # keyphrase ( keyphraseId, keyphraseName ) # paper ( paperId, title, venueId, year, numCiting, numCitedBy, journalId ) # cite ( citingPaperId, citedPaperId ) # paperDataset ( paperId, datasetId ) # paperKeyphrase ( paperId, keyphraseId ) # writes ( paperId, authorId ) # # paper.venueId can be joined with venue.venueId # paper.journalId can be joined with journal.journalId # cite.citingPaperId can be joined with paper.paperId # cite.citedPaperId can be joined with paper.paperId # paperKeyphrase.keyphraseId can be joined with keyphrase.keyphraseId # paperKeyphrase.paperId can be joined with paper.paperId # writes.authorId can be joined with author.authorId # writes.paperId can be joined with paper.paperId # ### Question: # # Who published the most papers in 2007 at CVPR ? # ### SQL: # # SELECT DISTINCT COUNT ( t2.paperid ) , t1.authorid FROM venue AS t3 JOIN paper AS t2 ON t3.venueid = t2.venueid JOIN writes AS t1 ON t1.paperid = t2.paperid WHERE t2.year = 2007 AND t3.venuename = "CVPR" GROUP BY t1.authorid ORDER BY COUNT ( t2.paperid ) DESC; # ### End.
scholar
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # venue ( venueId, venueName ) # author ( authorId, authorName ) # dataset ( datasetId, datasetName ) # journal ( journalId, journalName ) # keyphrase ( keyphraseId, keyphraseName ) # paper ( paperId, title, venueId, year, numCiting, numCitedBy, journalId ) # cite ( citingPaperId, citedPaperId ) # paperDataset ( paperId, datasetId ) # paperKeyphrase ( paperId, keyphraseId ) # writes ( paperId, authorId ) # # paper.venueId can be joined with venue.venueId # paper.journalId can be joined with journal.journalId # cite.citingPaperId can be joined with paper.paperId # cite.citedPaperId can be joined with paper.paperId # paperKeyphrase.keyphraseId can be joined with keyphrase.keyphraseId # paperKeyphrase.paperId can be joined with paper.paperId # writes.authorId can be joined with author.authorId # writes.paperId can be joined with paper.paperId # ### Question: # # How many papers in ACL 2015 ? # ### SQL: # # SELECT DISTINCT COUNT ( DISTINCT t1.paperid ) FROM venue AS t2 JOIN paper AS t1 ON t2.venueid = t1.venueid WHERE t1.year = 2015 AND t2.venuename = "ACL"; # ### End.
scholar
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # venue ( venueId, venueName ) # author ( authorId, authorName ) # dataset ( datasetId, datasetName ) # journal ( journalId, journalName ) # keyphrase ( keyphraseId, keyphraseName ) # paper ( paperId, title, venueId, year, numCiting, numCitedBy, journalId ) # cite ( citingPaperId, citedPaperId ) # paperDataset ( paperId, datasetId ) # paperKeyphrase ( paperId, keyphraseId ) # writes ( paperId, authorId ) # # paper.venueId can be joined with venue.venueId # paper.journalId can be joined with journal.journalId # cite.citingPaperId can be joined with paper.paperId # cite.citedPaperId can be joined with paper.paperId # paperKeyphrase.keyphraseId can be joined with keyphrase.keyphraseId # paperKeyphrase.paperId can be joined with paper.paperId # writes.authorId can be joined with author.authorId # writes.paperId can be joined with paper.paperId # ### Question: # # number of papers published in ACL 2015 # ### SQL: # # SELECT DISTINCT COUNT ( DISTINCT t1.paperid ) FROM venue AS t2 JOIN paper AS t1 ON t2.venueid = t1.venueid WHERE t1.year = 2015 AND t2.venuename = "ACL"; # ### End.
scholar
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # venue ( venueId, venueName ) # author ( authorId, authorName ) # dataset ( datasetId, datasetName ) # journal ( journalId, journalName ) # keyphrase ( keyphraseId, keyphraseName ) # paper ( paperId, title, venueId, year, numCiting, numCitedBy, journalId ) # cite ( citingPaperId, citedPaperId ) # paperDataset ( paperId, datasetId ) # paperKeyphrase ( paperId, keyphraseId ) # writes ( paperId, authorId ) # # paper.venueId can be joined with venue.venueId # paper.journalId can be joined with journal.journalId # cite.citingPaperId can be joined with paper.paperId # cite.citedPaperId can be joined with paper.paperId # paperKeyphrase.keyphraseId can be joined with keyphrase.keyphraseId # paperKeyphrase.paperId can be joined with paper.paperId # writes.authorId can be joined with author.authorId # writes.paperId can be joined with paper.paperId # ### Question: # # papers from 2014 # ### SQL: # # SELECT DISTINCT paperid FROM paper WHERE YEAR = 2014; # ### End.
scholar
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # venue ( venueId, venueName ) # author ( authorId, authorName ) # dataset ( datasetId, datasetName ) # journal ( journalId, journalName ) # keyphrase ( keyphraseId, keyphraseName ) # paper ( paperId, title, venueId, year, numCiting, numCitedBy, journalId ) # cite ( citingPaperId, citedPaperId ) # paperDataset ( paperId, datasetId ) # paperKeyphrase ( paperId, keyphraseId ) # writes ( paperId, authorId ) # # paper.venueId can be joined with venue.venueId # paper.journalId can be joined with journal.journalId # cite.citingPaperId can be joined with paper.paperId # cite.citedPaperId can be joined with paper.paperId # paperKeyphrase.keyphraseId can be joined with keyphrase.keyphraseId # paperKeyphrase.paperId can be joined with paper.paperId # writes.authorId can be joined with author.authorId # writes.paperId can be joined with paper.paperId # ### Question: # # 2014 papers # ### SQL: # # SELECT DISTINCT paperid FROM paper WHERE YEAR = 2014; # ### End.
scholar
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # venue ( venueId, venueName ) # author ( authorId, authorName ) # dataset ( datasetId, datasetName ) # journal ( journalId, journalName ) # keyphrase ( keyphraseId, keyphraseName ) # paper ( paperId, title, venueId, year, numCiting, numCitedBy, journalId ) # cite ( citingPaperId, citedPaperId ) # paperDataset ( paperId, datasetId ) # paperKeyphrase ( paperId, keyphraseId ) # writes ( paperId, authorId ) # # paper.venueId can be joined with venue.venueId # paper.journalId can be joined with journal.journalId # cite.citingPaperId can be joined with paper.paperId # cite.citedPaperId can be joined with paper.paperId # paperKeyphrase.keyphraseId can be joined with keyphrase.keyphraseId # paperKeyphrase.paperId can be joined with paper.paperId # writes.authorId can be joined with author.authorId # writes.paperId can be joined with paper.paperId # ### Question: # # What papers does Richard Ladner have in chi ? # ### SQL: # # SELECT DISTINCT t3.paperid FROM venue AS t4 JOIN paper AS t3 ON t4.venueid = t3.venueid JOIN writes AS t2 ON t2.paperid = t3.paperid JOIN author AS t1 ON t2.authorid = t1.authorid WHERE t1.authorname = "Richard Ladner" AND t4.venuename = "chi"; # ### End.
scholar
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # venue ( venueId, venueName ) # author ( authorId, authorName ) # dataset ( datasetId, datasetName ) # journal ( journalId, journalName ) # keyphrase ( keyphraseId, keyphraseName ) # paper ( paperId, title, venueId, year, numCiting, numCitedBy, journalId ) # cite ( citingPaperId, citedPaperId ) # paperDataset ( paperId, datasetId ) # paperKeyphrase ( paperId, keyphraseId ) # writes ( paperId, authorId ) # # paper.venueId can be joined with venue.venueId # paper.journalId can be joined with journal.journalId # cite.citingPaperId can be joined with paper.paperId # cite.citedPaperId can be joined with paper.paperId # paperKeyphrase.keyphraseId can be joined with keyphrase.keyphraseId # paperKeyphrase.paperId can be joined with paper.paperId # writes.authorId can be joined with author.authorId # writes.paperId can be joined with paper.paperId # ### Question: # # what paper has Richard Ladner published in chi journal ? # ### SQL: # # SELECT DISTINCT t3.paperid FROM venue AS t4 JOIN paper AS t3 ON t4.venueid = t3.venueid JOIN writes AS t2 ON t2.paperid = t3.paperid JOIN author AS t1 ON t2.authorid = t1.authorid WHERE t1.authorname = "Richard Ladner" AND t4.venuename = "chi"; # ### End.
scholar
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # venue ( venueId, venueName ) # author ( authorId, authorName ) # dataset ( datasetId, datasetName ) # journal ( journalId, journalName ) # keyphrase ( keyphraseId, keyphraseName ) # paper ( paperId, title, venueId, year, numCiting, numCitedBy, journalId ) # cite ( citingPaperId, citedPaperId ) # paperDataset ( paperId, datasetId ) # paperKeyphrase ( paperId, keyphraseId ) # writes ( paperId, authorId ) # # paper.venueId can be joined with venue.venueId # paper.journalId can be joined with journal.journalId # cite.citingPaperId can be joined with paper.paperId # cite.citedPaperId can be joined with paper.paperId # paperKeyphrase.keyphraseId can be joined with keyphrase.keyphraseId # paperKeyphrase.paperId can be joined with paper.paperId # writes.authorId can be joined with author.authorId # writes.paperId can be joined with paper.paperId # ### Question: # # what paper has Richard Ladner published in chi ? # ### SQL: # # SELECT DISTINCT t3.paperid FROM venue AS t4 JOIN paper AS t3 ON t4.venueid = t3.venueid JOIN writes AS t2 ON t2.paperid = t3.paperid JOIN author AS t1 ON t2.authorid = t1.authorid WHERE t1.authorname = "Richard Ladner" AND t4.venuename = "chi"; # ### End.
scholar
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # venue ( venueId, venueName ) # author ( authorId, authorName ) # dataset ( datasetId, datasetName ) # journal ( journalId, journalName ) # keyphrase ( keyphraseId, keyphraseName ) # paper ( paperId, title, venueId, year, numCiting, numCitedBy, journalId ) # cite ( citingPaperId, citedPaperId ) # paperDataset ( paperId, datasetId ) # paperKeyphrase ( paperId, keyphraseId ) # writes ( paperId, authorId ) # # paper.venueId can be joined with venue.venueId # paper.journalId can be joined with journal.journalId # cite.citingPaperId can be joined with paper.paperId # cite.citedPaperId can be joined with paper.paperId # paperKeyphrase.keyphraseId can be joined with keyphrase.keyphraseId # paperKeyphrase.paperId can be joined with paper.paperId # writes.authorId can be joined with author.authorId # writes.paperId can be joined with paper.paperId # ### Question: # # papers by Richard Ladner published at chi # ### SQL: # # SELECT DISTINCT t3.paperid FROM venue AS t4 JOIN paper AS t3 ON t4.venueid = t3.venueid JOIN writes AS t2 ON t2.paperid = t3.paperid JOIN author AS t1 ON t2.authorid = t1.authorid WHERE t1.authorname = "Richard Ladner" AND t4.venuename = "chi"; # ### End.
scholar
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # venue ( venueId, venueName ) # author ( authorId, authorName ) # dataset ( datasetId, datasetName ) # journal ( journalId, journalName ) # keyphrase ( keyphraseId, keyphraseName ) # paper ( paperId, title, venueId, year, numCiting, numCitedBy, journalId ) # cite ( citingPaperId, citedPaperId ) # paperDataset ( paperId, datasetId ) # paperKeyphrase ( paperId, keyphraseId ) # writes ( paperId, authorId ) # # paper.venueId can be joined with venue.venueId # paper.journalId can be joined with journal.journalId # cite.citingPaperId can be joined with paper.paperId # cite.citedPaperId can be joined with paper.paperId # paperKeyphrase.keyphraseId can be joined with keyphrase.keyphraseId # paperKeyphrase.paperId can be joined with paper.paperId # writes.authorId can be joined with author.authorId # writes.paperId can be joined with paper.paperId # ### Question: # # Does Richard Ladner publish in chi ? # ### SQL: # # SELECT DISTINCT t3.paperid FROM venue AS t4 JOIN paper AS t3 ON t4.venueid = t3.venueid JOIN writes AS t2 ON t2.paperid = t3.paperid JOIN author AS t1 ON t2.authorid = t1.authorid WHERE t1.authorname = "Richard Ladner" AND t4.venuename = "chi"; # ### End.
scholar
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # venue ( venueId, venueName ) # author ( authorId, authorName ) # dataset ( datasetId, datasetName ) # journal ( journalId, journalName ) # keyphrase ( keyphraseId, keyphraseName ) # paper ( paperId, title, venueId, year, numCiting, numCitedBy, journalId ) # cite ( citingPaperId, citedPaperId ) # paperDataset ( paperId, datasetId ) # paperKeyphrase ( paperId, keyphraseId ) # writes ( paperId, authorId ) # # paper.venueId can be joined with venue.venueId # paper.journalId can be joined with journal.journalId # cite.citingPaperId can be joined with paper.paperId # cite.citedPaperId can be joined with paper.paperId # paperKeyphrase.keyphraseId can be joined with keyphrase.keyphraseId # paperKeyphrase.paperId can be joined with paper.paperId # writes.authorId can be joined with author.authorId # writes.paperId can be joined with paper.paperId # ### Question: # # What has Richard Ladner published at chi ? # ### SQL: # # SELECT DISTINCT t3.paperid FROM venue AS t4 JOIN paper AS t3 ON t4.venueid = t3.venueid JOIN writes AS t2 ON t2.paperid = t3.paperid JOIN author AS t1 ON t2.authorid = t1.authorid WHERE t1.authorname = "Richard Ladner" AND t4.venuename = "chi"; # ### End.
scholar
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # venue ( venueId, venueName ) # author ( authorId, authorName ) # dataset ( datasetId, datasetName ) # journal ( journalId, journalName ) # keyphrase ( keyphraseId, keyphraseName ) # paper ( paperId, title, venueId, year, numCiting, numCitedBy, journalId ) # cite ( citingPaperId, citedPaperId ) # paperDataset ( paperId, datasetId ) # paperKeyphrase ( paperId, keyphraseId ) # writes ( paperId, authorId ) # # paper.venueId can be joined with venue.venueId # paper.journalId can be joined with journal.journalId # cite.citingPaperId can be joined with paper.paperId # cite.citedPaperId can be joined with paper.paperId # paperKeyphrase.keyphraseId can be joined with keyphrase.keyphraseId # paperKeyphrase.paperId can be joined with paper.paperId # writes.authorId can be joined with author.authorId # writes.paperId can be joined with paper.paperId # ### Question: # # What papers has Richard Ladner written at chi ? # ### SQL: # # SELECT DISTINCT t3.paperid FROM venue AS t4 JOIN paper AS t3 ON t4.venueid = t3.venueid JOIN writes AS t2 ON t2.paperid = t3.paperid JOIN author AS t1 ON t2.authorid = t1.authorid WHERE t1.authorname = "Richard Ladner" AND t4.venuename = "chi"; # ### End.
scholar
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # venue ( venueId, venueName ) # author ( authorId, authorName ) # dataset ( datasetId, datasetName ) # journal ( journalId, journalName ) # keyphrase ( keyphraseId, keyphraseName ) # paper ( paperId, title, venueId, year, numCiting, numCitedBy, journalId ) # cite ( citingPaperId, citedPaperId ) # paperDataset ( paperId, datasetId ) # paperKeyphrase ( paperId, keyphraseId ) # writes ( paperId, authorId ) # # paper.venueId can be joined with venue.venueId # paper.journalId can be joined with journal.journalId # cite.citingPaperId can be joined with paper.paperId # cite.citedPaperId can be joined with paper.paperId # paperKeyphrase.keyphraseId can be joined with keyphrase.keyphraseId # paperKeyphrase.paperId can be joined with paper.paperId # writes.authorId can be joined with author.authorId # writes.paperId can be joined with paper.paperId # ### Question: # # Which paper did Richard Ladner present at chi ? # ### SQL: # # SELECT DISTINCT t3.paperid FROM venue AS t4 JOIN paper AS t3 ON t4.venueid = t3.venueid JOIN writes AS t2 ON t2.paperid = t3.paperid JOIN author AS t1 ON t2.authorid = t1.authorid WHERE t1.authorname = "Richard Ladner" AND t4.venuename = "chi"; # ### End.
scholar
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # venue ( venueId, venueName ) # author ( authorId, authorName ) # dataset ( datasetId, datasetName ) # journal ( journalId, journalName ) # keyphrase ( keyphraseId, keyphraseName ) # paper ( paperId, title, venueId, year, numCiting, numCitedBy, journalId ) # cite ( citingPaperId, citedPaperId ) # paperDataset ( paperId, datasetId ) # paperKeyphrase ( paperId, keyphraseId ) # writes ( paperId, authorId ) # # paper.venueId can be joined with venue.venueId # paper.journalId can be joined with journal.journalId # cite.citingPaperId can be joined with paper.paperId # cite.citedPaperId can be joined with paper.paperId # paperKeyphrase.keyphraseId can be joined with keyphrase.keyphraseId # paperKeyphrase.paperId can be joined with paper.paperId # writes.authorId can be joined with author.authorId # writes.paperId can be joined with paper.paperId # ### Question: # # What is the paper with the most citation about Artificial Intelligence ? # ### SQL: # # SELECT DISTINCT t4.citedpaperid , COUNT ( t4.citingpaperid ) FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid JOIN cite AS t4 ON t3.paperid = t4.citedpaperid WHERE t1.keyphrasename = "Artificial Intelligence" GROUP BY t4.citedpaperid ORDER BY COUNT ( t4.citingpaperid ) DESC; # ### End.
scholar
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # venue ( venueId, venueName ) # author ( authorId, authorName ) # dataset ( datasetId, datasetName ) # journal ( journalId, journalName ) # keyphrase ( keyphraseId, keyphraseName ) # paper ( paperId, title, venueId, year, numCiting, numCitedBy, journalId ) # cite ( citingPaperId, citedPaperId ) # paperDataset ( paperId, datasetId ) # paperKeyphrase ( paperId, keyphraseId ) # writes ( paperId, authorId ) # # paper.venueId can be joined with venue.venueId # paper.journalId can be joined with journal.journalId # cite.citingPaperId can be joined with paper.paperId # cite.citedPaperId can be joined with paper.paperId # paperKeyphrase.keyphraseId can be joined with keyphrase.keyphraseId # paperKeyphrase.paperId can be joined with paper.paperId # writes.authorId can be joined with author.authorId # writes.paperId can be joined with paper.paperId # ### Question: # # Fetch me the most cited publications for Artificial Intelligence # ### SQL: # # SELECT DISTINCT t4.citedpaperid , COUNT ( t4.citingpaperid ) FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid JOIN cite AS t4 ON t3.paperid = t4.citedpaperid WHERE t1.keyphrasename = "Artificial Intelligence" GROUP BY t4.citedpaperid ORDER BY COUNT ( t4.citingpaperid ) DESC; # ### End.
scholar
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # venue ( venueId, venueName ) # author ( authorId, authorName ) # dataset ( datasetId, datasetName ) # journal ( journalId, journalName ) # keyphrase ( keyphraseId, keyphraseName ) # paper ( paperId, title, venueId, year, numCiting, numCitedBy, journalId ) # cite ( citingPaperId, citedPaperId ) # paperDataset ( paperId, datasetId ) # paperKeyphrase ( paperId, keyphraseId ) # writes ( paperId, authorId ) # # paper.venueId can be joined with venue.venueId # paper.journalId can be joined with journal.journalId # cite.citingPaperId can be joined with paper.paperId # cite.citedPaperId can be joined with paper.paperId # paperKeyphrase.keyphraseId can be joined with keyphrase.keyphraseId # paperKeyphrase.paperId can be joined with paper.paperId # writes.authorId can be joined with author.authorId # writes.paperId can be joined with paper.paperId # ### Question: # # topics at ACL 2014 # ### SQL: # # SELECT DISTINCT COUNT ( t3.paperid ) , t1.keyphraseid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid JOIN venue AS t4 ON t4.venueid = t3.venueid WHERE t3.year = 2014 AND t4.venuename = "ACL" GROUP BY t1.keyphraseid ORDER BY COUNT ( t3.paperid ) DESC; # ### End.
scholar
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # venue ( venueId, venueName ) # author ( authorId, authorName ) # dataset ( datasetId, datasetName ) # journal ( journalId, journalName ) # keyphrase ( keyphraseId, keyphraseName ) # paper ( paperId, title, venueId, year, numCiting, numCitedBy, journalId ) # cite ( citingPaperId, citedPaperId ) # paperDataset ( paperId, datasetId ) # paperKeyphrase ( paperId, keyphraseId ) # writes ( paperId, authorId ) # # paper.venueId can be joined with venue.venueId # paper.journalId can be joined with journal.journalId # cite.citingPaperId can be joined with paper.paperId # cite.citedPaperId can be joined with paper.paperId # paperKeyphrase.keyphraseId can be joined with keyphrase.keyphraseId # paperKeyphrase.paperId can be joined with paper.paperId # writes.authorId can be joined with author.authorId # writes.paperId can be joined with paper.paperId # ### Question: # # most common topics at NIPS 2015 # ### SQL: # # SELECT DISTINCT COUNT ( t3.paperid ) , t1.keyphraseid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid JOIN venue AS t4 ON t4.venueid = t3.venueid WHERE t3.year = 2015 AND t4.venuename = "NIPS" GROUP BY t1.keyphraseid ORDER BY COUNT ( t3.paperid ) DESC; # ### End.
scholar
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # venue ( venueId, venueName ) # author ( authorId, authorName ) # dataset ( datasetId, datasetName ) # journal ( journalId, journalName ) # keyphrase ( keyphraseId, keyphraseName ) # paper ( paperId, title, venueId, year, numCiting, numCitedBy, journalId ) # cite ( citingPaperId, citedPaperId ) # paperDataset ( paperId, datasetId ) # paperKeyphrase ( paperId, keyphraseId ) # writes ( paperId, authorId ) # # paper.venueId can be joined with venue.venueId # paper.journalId can be joined with journal.journalId # cite.citingPaperId can be joined with paper.paperId # cite.citedPaperId can be joined with paper.paperId # paperKeyphrase.keyphraseId can be joined with keyphrase.keyphraseId # paperKeyphrase.paperId can be joined with paper.paperId # writes.authorId can be joined with author.authorId # writes.paperId can be joined with paper.paperId # ### Question: # # most popular topics at NIPS 2015 # ### SQL: # # SELECT DISTINCT COUNT ( t3.paperid ) , t1.keyphraseid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid JOIN venue AS t4 ON t4.venueid = t3.venueid WHERE t3.year = 2015 AND t4.venuename = "NIPS" GROUP BY t1.keyphraseid ORDER BY COUNT ( t3.paperid ) DESC; # ### End.
scholar
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # venue ( venueId, venueName ) # author ( authorId, authorName ) # dataset ( datasetId, datasetName ) # journal ( journalId, journalName ) # keyphrase ( keyphraseId, keyphraseName ) # paper ( paperId, title, venueId, year, numCiting, numCitedBy, journalId ) # cite ( citingPaperId, citedPaperId ) # paperDataset ( paperId, datasetId ) # paperKeyphrase ( paperId, keyphraseId ) # writes ( paperId, authorId ) # # paper.venueId can be joined with venue.venueId # paper.journalId can be joined with journal.journalId # cite.citingPaperId can be joined with paper.paperId # cite.citedPaperId can be joined with paper.paperId # paperKeyphrase.keyphraseId can be joined with keyphrase.keyphraseId # paperKeyphrase.paperId can be joined with paper.paperId # writes.authorId can be joined with author.authorId # writes.paperId can be joined with paper.paperId # ### Question: # # hot topics at NIPS 2015 # ### SQL: # # SELECT DISTINCT COUNT ( t3.paperid ) , t1.keyphraseid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid JOIN venue AS t4 ON t4.venueid = t3.venueid WHERE t3.year = 2015 AND t4.venuename = "NIPS" GROUP BY t1.keyphraseid ORDER BY COUNT ( t3.paperid ) DESC; # ### End.
scholar
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # venue ( venueId, venueName ) # author ( authorId, authorName ) # dataset ( datasetId, datasetName ) # journal ( journalId, journalName ) # keyphrase ( keyphraseId, keyphraseName ) # paper ( paperId, title, venueId, year, numCiting, numCitedBy, journalId ) # cite ( citingPaperId, citedPaperId ) # paperDataset ( paperId, datasetId ) # paperKeyphrase ( paperId, keyphraseId ) # writes ( paperId, authorId ) # # paper.venueId can be joined with venue.venueId # paper.journalId can be joined with journal.journalId # cite.citingPaperId can be joined with paper.paperId # cite.citedPaperId can be joined with paper.paperId # paperKeyphrase.keyphraseId can be joined with keyphrase.keyphraseId # paperKeyphrase.paperId can be joined with paper.paperId # writes.authorId can be joined with author.authorId # writes.paperId can be joined with paper.paperId # ### Question: # # popular topics at NIPS 2015 # ### SQL: # # SELECT DISTINCT COUNT ( t3.paperid ) , t1.keyphraseid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid JOIN venue AS t4 ON t4.venueid = t3.venueid WHERE t3.year = 2015 AND t4.venuename = "NIPS" GROUP BY t1.keyphraseid ORDER BY COUNT ( t3.paperid ) DESC; # ### End.
scholar
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # venue ( venueId, venueName ) # author ( authorId, authorName ) # dataset ( datasetId, datasetName ) # journal ( journalId, journalName ) # keyphrase ( keyphraseId, keyphraseName ) # paper ( paperId, title, venueId, year, numCiting, numCitedBy, journalId ) # cite ( citingPaperId, citedPaperId ) # paperDataset ( paperId, datasetId ) # paperKeyphrase ( paperId, keyphraseId ) # writes ( paperId, authorId ) # # paper.venueId can be joined with venue.venueId # paper.journalId can be joined with journal.journalId # cite.citingPaperId can be joined with paper.paperId # cite.citedPaperId can be joined with paper.paperId # paperKeyphrase.keyphraseId can be joined with keyphrase.keyphraseId # paperKeyphrase.paperId can be joined with paper.paperId # writes.authorId can be joined with author.authorId # writes.paperId can be joined with paper.paperId # ### Question: # # which topics were most popular at NIPS 2015 # ### SQL: # # SELECT DISTINCT COUNT ( t3.paperid ) , t1.keyphraseid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid JOIN venue AS t4 ON t4.venueid = t3.venueid WHERE t3.year = 2015 AND t4.venuename = "NIPS" GROUP BY t1.keyphraseid ORDER BY COUNT ( t3.paperid ) DESC; # ### End.
scholar
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # venue ( venueId, venueName ) # author ( authorId, authorName ) # dataset ( datasetId, datasetName ) # journal ( journalId, journalName ) # keyphrase ( keyphraseId, keyphraseName ) # paper ( paperId, title, venueId, year, numCiting, numCitedBy, journalId ) # cite ( citingPaperId, citedPaperId ) # paperDataset ( paperId, datasetId ) # paperKeyphrase ( paperId, keyphraseId ) # writes ( paperId, authorId ) # # paper.venueId can be joined with venue.venueId # paper.journalId can be joined with journal.journalId # cite.citingPaperId can be joined with paper.paperId # cite.citedPaperId can be joined with paper.paperId # paperKeyphrase.keyphraseId can be joined with keyphrase.keyphraseId # paperKeyphrase.paperId can be joined with paper.paperId # writes.authorId can be joined with author.authorId # writes.paperId can be joined with paper.paperId # ### Question: # # topics popular at NIPS 2015 # ### SQL: # # SELECT DISTINCT COUNT ( t3.paperid ) , t1.keyphraseid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid JOIN venue AS t4 ON t4.venueid = t3.venueid WHERE t3.year = 2015 AND t4.venuename = "NIPS" GROUP BY t1.keyphraseid ORDER BY COUNT ( t3.paperid ) DESC; # ### End.
scholar
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # venue ( venueId, venueName ) # author ( authorId, authorName ) # dataset ( datasetId, datasetName ) # journal ( journalId, journalName ) # keyphrase ( keyphraseId, keyphraseName ) # paper ( paperId, title, venueId, year, numCiting, numCitedBy, journalId ) # cite ( citingPaperId, citedPaperId ) # paperDataset ( paperId, datasetId ) # paperKeyphrase ( paperId, keyphraseId ) # writes ( paperId, authorId ) # # paper.venueId can be joined with venue.venueId # paper.journalId can be joined with journal.journalId # cite.citingPaperId can be joined with paper.paperId # cite.citedPaperId can be joined with paper.paperId # paperKeyphrase.keyphraseId can be joined with keyphrase.keyphraseId # paperKeyphrase.paperId can be joined with paper.paperId # writes.authorId can be joined with author.authorId # writes.paperId can be joined with paper.paperId # ### Question: # # How many papers related to deep reinforcement learning in nips ? # ### SQL: # # 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 JOIN venue AS t4 ON t4.venueid = t3.venueid WHERE t1.keyphrasename = "deep reinforcement learning" AND t4.venuename = "nips"; # ### End.
scholar
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # venue ( venueId, venueName ) # author ( authorId, authorName ) # dataset ( datasetId, datasetName ) # journal ( journalId, journalName ) # keyphrase ( keyphraseId, keyphraseName ) # paper ( paperId, title, venueId, year, numCiting, numCitedBy, journalId ) # cite ( citingPaperId, citedPaperId ) # paperDataset ( paperId, datasetId ) # paperKeyphrase ( paperId, keyphraseId ) # writes ( paperId, authorId ) # # paper.venueId can be joined with venue.venueId # paper.journalId can be joined with journal.journalId # cite.citingPaperId can be joined with paper.paperId # cite.citedPaperId can be joined with paper.paperId # paperKeyphrase.keyphraseId can be joined with keyphrase.keyphraseId # paperKeyphrase.paperId can be joined with paper.paperId # writes.authorId can be joined with author.authorId # writes.paperId can be joined with paper.paperId # ### Question: # # Papers on WebKB # ### SQL: # # SELECT DISTINCT t3.paperid FROM paperdataset AS t2 JOIN dataset AS t1 ON t2.datasetid = t1.datasetid JOIN paper AS t3 ON t3.paperid = t2.paperid WHERE t1.datasetname = "WebKB"; # ### End.
scholar
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # venue ( venueId, venueName ) # author ( authorId, authorName ) # dataset ( datasetId, datasetName ) # journal ( journalId, journalName ) # keyphrase ( keyphraseId, keyphraseName ) # paper ( paperId, title, venueId, year, numCiting, numCitedBy, journalId ) # cite ( citingPaperId, citedPaperId ) # paperDataset ( paperId, datasetId ) # paperKeyphrase ( paperId, keyphraseId ) # writes ( paperId, authorId ) # # paper.venueId can be joined with venue.venueId # paper.journalId can be joined with journal.journalId # cite.citingPaperId can be joined with paper.paperId # cite.citedPaperId can be joined with paper.paperId # paperKeyphrase.keyphraseId can be joined with keyphrase.keyphraseId # paperKeyphrase.paperId can be joined with paper.paperId # writes.authorId can be joined with author.authorId # writes.paperId can be joined with paper.paperId # ### Question: # # which papers used WebKB ? # ### SQL: # # SELECT DISTINCT t3.paperid FROM paperdataset AS t2 JOIN dataset AS t1 ON t2.datasetid = t1.datasetid JOIN paper AS t3 ON t3.paperid = t2.paperid WHERE t1.datasetname = "WebKB"; # ### End.
scholar
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # venue ( venueId, venueName ) # author ( authorId, authorName ) # dataset ( datasetId, datasetName ) # journal ( journalId, journalName ) # keyphrase ( keyphraseId, keyphraseName ) # paper ( paperId, title, venueId, year, numCiting, numCitedBy, journalId ) # cite ( citingPaperId, citedPaperId ) # paperDataset ( paperId, datasetId ) # paperKeyphrase ( paperId, keyphraseId ) # writes ( paperId, authorId ) # # paper.venueId can be joined with venue.venueId # paper.journalId can be joined with journal.journalId # cite.citingPaperId can be joined with paper.paperId # cite.citedPaperId can be joined with paper.paperId # paperKeyphrase.keyphraseId can be joined with keyphrase.keyphraseId # paperKeyphrase.paperId can be joined with paper.paperId # writes.authorId can be joined with author.authorId # writes.paperId can be joined with paper.paperId # ### Question: # # papers about WebKB # ### SQL: # # SELECT DISTINCT t3.paperid FROM paperdataset AS t2 JOIN dataset AS t1 ON t2.datasetid = t1.datasetid JOIN paper AS t3 ON t3.paperid = t2.paperid WHERE t1.datasetname = "WebKB"; # ### End.
scholar
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # venue ( venueId, venueName ) # author ( authorId, authorName ) # dataset ( datasetId, datasetName ) # journal ( journalId, journalName ) # keyphrase ( keyphraseId, keyphraseName ) # paper ( paperId, title, venueId, year, numCiting, numCitedBy, journalId ) # cite ( citingPaperId, citedPaperId ) # paperDataset ( paperId, datasetId ) # paperKeyphrase ( paperId, keyphraseId ) # writes ( paperId, authorId ) # # paper.venueId can be joined with venue.venueId # paper.journalId can be joined with journal.journalId # cite.citingPaperId can be joined with paper.paperId # cite.citedPaperId can be joined with paper.paperId # paperKeyphrase.keyphraseId can be joined with keyphrase.keyphraseId # paperKeyphrase.paperId can be joined with paper.paperId # writes.authorId can be joined with author.authorId # writes.paperId can be joined with paper.paperId # ### Question: # # List the papers that used WebKB dataset # ### SQL: # # SELECT DISTINCT t3.paperid FROM paperdataset AS t2 JOIN dataset AS t1 ON t2.datasetid = t1.datasetid JOIN paper AS t3 ON t3.paperid = t2.paperid WHERE t1.datasetname = "WebKB"; # ### End.
scholar
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # venue ( venueId, venueName ) # author ( authorId, authorName ) # dataset ( datasetId, datasetName ) # journal ( journalId, journalName ) # keyphrase ( keyphraseId, keyphraseName ) # paper ( paperId, title, venueId, year, numCiting, numCitedBy, journalId ) # cite ( citingPaperId, citedPaperId ) # paperDataset ( paperId, datasetId ) # paperKeyphrase ( paperId, keyphraseId ) # writes ( paperId, authorId ) # # paper.venueId can be joined with venue.venueId # paper.journalId can be joined with journal.journalId # cite.citingPaperId can be joined with paper.paperId # cite.citedPaperId can be joined with paper.paperId # paperKeyphrase.keyphraseId can be joined with keyphrase.keyphraseId # paperKeyphrase.paperId can be joined with paper.paperId # writes.authorId can be joined with author.authorId # writes.paperId can be joined with paper.paperId # ### Question: # # papers using WebKB # ### SQL: # # SELECT DISTINCT t3.paperid FROM paperdataset AS t2 JOIN dataset AS t1 ON t2.datasetid = t1.datasetid JOIN paper AS t3 ON t3.paperid = t2.paperid WHERE t1.datasetname = "WebKB"; # ### End.
scholar
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # venue ( venueId, venueName ) # author ( authorId, authorName ) # dataset ( datasetId, datasetName ) # journal ( journalId, journalName ) # keyphrase ( keyphraseId, keyphraseName ) # paper ( paperId, title, venueId, year, numCiting, numCitedBy, journalId ) # cite ( citingPaperId, citedPaperId ) # paperDataset ( paperId, datasetId ) # paperKeyphrase ( paperId, keyphraseId ) # writes ( paperId, authorId ) # # paper.venueId can be joined with venue.venueId # paper.journalId can be joined with journal.journalId # cite.citingPaperId can be joined with paper.paperId # cite.citedPaperId can be joined with paper.paperId # paperKeyphrase.keyphraseId can be joined with keyphrase.keyphraseId # paperKeyphrase.paperId can be joined with paper.paperId # writes.authorId can be joined with author.authorId # writes.paperId can be joined with paper.paperId # ### Question: # # papers that use WebKB # ### SQL: # # SELECT DISTINCT t3.paperid FROM paperdataset AS t2 JOIN dataset AS t1 ON t2.datasetid = t1.datasetid JOIN paper AS t3 ON t3.paperid = t2.paperid WHERE t1.datasetname = "WebKB"; # ### End.
scholar
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # venue ( venueId, venueName ) # author ( authorId, authorName ) # dataset ( datasetId, datasetName ) # journal ( journalId, journalName ) # keyphrase ( keyphraseId, keyphraseName ) # paper ( paperId, title, venueId, year, numCiting, numCitedBy, journalId ) # cite ( citingPaperId, citedPaperId ) # paperDataset ( paperId, datasetId ) # paperKeyphrase ( paperId, keyphraseId ) # writes ( paperId, authorId ) # # paper.venueId can be joined with venue.venueId # paper.journalId can be joined with journal.journalId # cite.citingPaperId can be joined with paper.paperId # cite.citedPaperId can be joined with paper.paperId # paperKeyphrase.keyphraseId can be joined with keyphrase.keyphraseId # paperKeyphrase.paperId can be joined with paper.paperId # writes.authorId can be joined with author.authorId # writes.paperId can be joined with paper.paperId # ### Question: # # WebKB papers # ### SQL: # # SELECT DISTINCT t3.paperid FROM paperdataset AS t2 JOIN dataset AS t1 ON t2.datasetid = t1.datasetid JOIN paper AS t3 ON t3.paperid = t2.paperid WHERE t1.datasetname = "WebKB"; # ### End.
scholar
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # venue ( venueId, venueName ) # author ( authorId, authorName ) # dataset ( datasetId, datasetName ) # journal ( journalId, journalName ) # keyphrase ( keyphraseId, keyphraseName ) # paper ( paperId, title, venueId, year, numCiting, numCitedBy, journalId ) # cite ( citingPaperId, citedPaperId ) # paperDataset ( paperId, datasetId ) # paperKeyphrase ( paperId, keyphraseId ) # writes ( paperId, authorId ) # # paper.venueId can be joined with venue.venueId # paper.journalId can be joined with journal.journalId # cite.citingPaperId can be joined with paper.paperId # cite.citedPaperId can be joined with paper.paperId # paperKeyphrase.keyphraseId can be joined with keyphrase.keyphraseId # paperKeyphrase.paperId can be joined with paper.paperId # writes.authorId can be joined with author.authorId # writes.paperId can be joined with paper.paperId # ### Question: # # papers that used WebKB # ### SQL: # # SELECT DISTINCT t3.paperid FROM paperdataset AS t2 JOIN dataset AS t1 ON t2.datasetid = t1.datasetid JOIN paper AS t3 ON t3.paperid = t2.paperid WHERE t1.datasetname = "WebKB"; # ### End.
scholar
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # venue ( venueId, venueName ) # author ( authorId, authorName ) # dataset ( datasetId, datasetName ) # journal ( journalId, journalName ) # keyphrase ( keyphraseId, keyphraseName ) # paper ( paperId, title, venueId, year, numCiting, numCitedBy, journalId ) # cite ( citingPaperId, citedPaperId ) # paperDataset ( paperId, datasetId ) # paperKeyphrase ( paperId, keyphraseId ) # writes ( paperId, authorId ) # # paper.venueId can be joined with venue.venueId # paper.journalId can be joined with journal.journalId # cite.citingPaperId can be joined with paper.paperId # cite.citedPaperId can be joined with paper.paperId # paperKeyphrase.keyphraseId can be joined with keyphrase.keyphraseId # paperKeyphrase.paperId can be joined with paper.paperId # writes.authorId can be joined with author.authorId # writes.paperId can be joined with paper.paperId # ### Question: # # Papers that use the WebKB dataset # ### SQL: # # SELECT DISTINCT t3.paperid FROM paperdataset AS t2 JOIN dataset AS t1 ON t2.datasetid = t1.datasetid JOIN paper AS t3 ON t3.paperid = t2.paperid WHERE t1.datasetname = "WebKB"; # ### End.
scholar
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # venue ( venueId, venueName ) # author ( authorId, authorName ) # dataset ( datasetId, datasetName ) # journal ( journalId, journalName ) # keyphrase ( keyphraseId, keyphraseName ) # paper ( paperId, title, venueId, year, numCiting, numCitedBy, journalId ) # cite ( citingPaperId, citedPaperId ) # paperDataset ( paperId, datasetId ) # paperKeyphrase ( paperId, keyphraseId ) # writes ( paperId, authorId ) # # paper.venueId can be joined with venue.venueId # paper.journalId can be joined with journal.journalId # cite.citingPaperId can be joined with paper.paperId # cite.citedPaperId can be joined with paper.paperId # paperKeyphrase.keyphraseId can be joined with keyphrase.keyphraseId # paperKeyphrase.paperId can be joined with paper.paperId # writes.authorId can be joined with author.authorId # writes.paperId can be joined with paper.paperId # ### Question: # # conferences in 2013 # ### SQL: # # SELECT DISTINCT venueid FROM paper WHERE YEAR = 2013; # ### End.
scholar
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # venue ( venueId, venueName ) # author ( authorId, authorName ) # dataset ( datasetId, datasetName ) # journal ( journalId, journalName ) # keyphrase ( keyphraseId, keyphraseName ) # paper ( paperId, title, venueId, year, numCiting, numCitedBy, journalId ) # cite ( citingPaperId, citedPaperId ) # paperDataset ( paperId, datasetId ) # paperKeyphrase ( paperId, keyphraseId ) # writes ( paperId, authorId ) # # paper.venueId can be joined with venue.venueId # paper.journalId can be joined with journal.journalId # cite.citingPaperId can be joined with paper.paperId # cite.citedPaperId can be joined with paper.paperId # paperKeyphrase.keyphraseId can be joined with keyphrase.keyphraseId # paperKeyphrase.paperId can be joined with paper.paperId # writes.authorId can be joined with author.authorId # writes.paperId can be joined with paper.paperId # ### Question: # # how is the most cited author in CVPR ? # ### SQL: # # SELECT DISTINCT COUNT ( DISTINCT t4.citingpaperid ) , t1.authorid FROM venue AS t3 JOIN paper AS t2 ON t3.venueid = t2.venueid JOIN writes AS t1 ON t1.paperid = t2.paperid JOIN cite AS t4 ON t1.paperid = t4.citedpaperid WHERE t3.venuename = "CVPR" GROUP BY t1.authorid ORDER BY COUNT ( DISTINCT t4.citingpaperid ) DESC; # ### End.
scholar
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # venue ( venueId, venueName ) # author ( authorId, authorName ) # dataset ( datasetId, datasetName ) # journal ( journalId, journalName ) # keyphrase ( keyphraseId, keyphraseName ) # paper ( paperId, title, venueId, year, numCiting, numCitedBy, journalId ) # cite ( citingPaperId, citedPaperId ) # paperDataset ( paperId, datasetId ) # paperKeyphrase ( paperId, keyphraseId ) # writes ( paperId, authorId ) # # paper.venueId can be joined with venue.venueId # paper.journalId can be joined with journal.journalId # cite.citingPaperId can be joined with paper.paperId # cite.citedPaperId can be joined with paper.paperId # paperKeyphrase.keyphraseId can be joined with keyphrase.keyphraseId # paperKeyphrase.paperId can be joined with paper.paperId # writes.authorId can be joined with author.authorId # writes.paperId can be joined with paper.paperId # ### Question: # # who is the most cited author at CVPR ? # ### SQL: # # SELECT DISTINCT COUNT ( DISTINCT t4.citingpaperid ) , t1.authorid FROM venue AS t3 JOIN paper AS t2 ON t3.venueid = t2.venueid JOIN writes AS t1 ON t1.paperid = t2.paperid JOIN cite AS t4 ON t1.paperid = t4.citedpaperid WHERE t3.venuename = "CVPR" GROUP BY t1.authorid ORDER BY COUNT ( DISTINCT t4.citingpaperid ) DESC; # ### End.
scholar
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # venue ( venueId, venueName ) # author ( authorId, authorName ) # dataset ( datasetId, datasetName ) # journal ( journalId, journalName ) # keyphrase ( keyphraseId, keyphraseName ) # paper ( paperId, title, venueId, year, numCiting, numCitedBy, journalId ) # cite ( citingPaperId, citedPaperId ) # paperDataset ( paperId, datasetId ) # paperKeyphrase ( paperId, keyphraseId ) # writes ( paperId, authorId ) # # paper.venueId can be joined with venue.venueId # paper.journalId can be joined with journal.journalId # cite.citingPaperId can be joined with paper.paperId # cite.citedPaperId can be joined with paper.paperId # paperKeyphrase.keyphraseId can be joined with keyphrase.keyphraseId # paperKeyphrase.paperId can be joined with paper.paperId # writes.authorId can be joined with author.authorId # writes.paperId can be joined with paper.paperId # ### Question: # # what are some syntactic parsing papers that chris dyer did not write ? # ### SQL: # # SELECT DISTINCT t1.authorname , t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t5 ON t2.keyphraseid = t5.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid JOIN writes AS t4 ON t4.paperid = t3.paperid JOIN author AS t1 ON t4.authorid = t1.authorid WHERE t1.authorname != "chris dyer" AND t5.keyphrasename = "syntactic parsing"; # ### End.
scholar
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # venue ( venueId, venueName ) # author ( authorId, authorName ) # dataset ( datasetId, datasetName ) # journal ( journalId, journalName ) # keyphrase ( keyphraseId, keyphraseName ) # paper ( paperId, title, venueId, year, numCiting, numCitedBy, journalId ) # cite ( citingPaperId, citedPaperId ) # paperDataset ( paperId, datasetId ) # paperKeyphrase ( paperId, keyphraseId ) # writes ( paperId, authorId ) # # paper.venueId can be joined with venue.venueId # paper.journalId can be joined with journal.journalId # cite.citingPaperId can be joined with paper.paperId # cite.citedPaperId can be joined with paper.paperId # paperKeyphrase.keyphraseId can be joined with keyphrase.keyphraseId # paperKeyphrase.paperId can be joined with paper.paperId # writes.authorId can be joined with author.authorId # writes.paperId can be joined with paper.paperId # ### Question: # # are there any syntactic parsing papers not written by chris dyer ? # ### SQL: # # SELECT DISTINCT t1.authorname , t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t5 ON t2.keyphraseid = t5.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid JOIN writes AS t4 ON t4.paperid = t3.paperid JOIN author AS t1 ON t4.authorid = t1.authorid WHERE t1.authorname != "chris dyer" AND t5.keyphrasename = "syntactic parsing"; # ### End.
scholar
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # venue ( venueId, venueName ) # author ( authorId, authorName ) # dataset ( datasetId, datasetName ) # journal ( journalId, journalName ) # keyphrase ( keyphraseId, keyphraseName ) # paper ( paperId, title, venueId, year, numCiting, numCitedBy, journalId ) # cite ( citingPaperId, citedPaperId ) # paperDataset ( paperId, datasetId ) # paperKeyphrase ( paperId, keyphraseId ) # writes ( paperId, authorId ) # # paper.venueId can be joined with venue.venueId # paper.journalId can be joined with journal.journalId # cite.citingPaperId can be joined with paper.paperId # cite.citedPaperId can be joined with paper.paperId # paperKeyphrase.keyphraseId can be joined with keyphrase.keyphraseId # paperKeyphrase.paperId can be joined with paper.paperId # writes.authorId can be joined with author.authorId # writes.paperId can be joined with paper.paperId # ### Question: # # what are syntactic parsing papers not written by chris dyer # ### SQL: # # SELECT DISTINCT t1.authorname , t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t5 ON t2.keyphraseid = t5.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid JOIN writes AS t4 ON t4.paperid = t3.paperid JOIN author AS t1 ON t4.authorid = t1.authorid WHERE t1.authorname != "chris dyer" AND t5.keyphrasename = "syntactic parsing"; # ### End.
scholar
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # venue ( venueId, venueName ) # author ( authorId, authorName ) # dataset ( datasetId, datasetName ) # journal ( journalId, journalName ) # keyphrase ( keyphraseId, keyphraseName ) # paper ( paperId, title, venueId, year, numCiting, numCitedBy, journalId ) # cite ( citingPaperId, citedPaperId ) # paperDataset ( paperId, datasetId ) # paperKeyphrase ( paperId, keyphraseId ) # writes ( paperId, authorId ) # # paper.venueId can be joined with venue.venueId # paper.journalId can be joined with journal.journalId # cite.citingPaperId can be joined with paper.paperId # cite.citedPaperId can be joined with paper.paperId # paperKeyphrase.keyphraseId can be joined with keyphrase.keyphraseId # paperKeyphrase.paperId can be joined with paper.paperId # writes.authorId can be joined with author.authorId # writes.paperId can be joined with paper.paperId # ### Question: # # syntactic parsing papers not written by chris dyer # ### SQL: # # SELECT DISTINCT t1.authorname , t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t5 ON t2.keyphraseid = t5.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid JOIN writes AS t4 ON t4.paperid = t3.paperid JOIN author AS t1 ON t4.authorid = t1.authorid WHERE t1.authorname != "chris dyer" AND t5.keyphrasename = "syntactic parsing"; # ### End.
scholar
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # venue ( venueId, venueName ) # author ( authorId, authorName ) # dataset ( datasetId, datasetName ) # journal ( journalId, journalName ) # keyphrase ( keyphraseId, keyphraseName ) # paper ( paperId, title, venueId, year, numCiting, numCitedBy, journalId ) # cite ( citingPaperId, citedPaperId ) # paperDataset ( paperId, datasetId ) # paperKeyphrase ( paperId, keyphraseId ) # writes ( paperId, authorId ) # # paper.venueId can be joined with venue.venueId # paper.journalId can be joined with journal.journalId # cite.citingPaperId can be joined with paper.paperId # cite.citedPaperId can be joined with paper.paperId # paperKeyphrase.keyphraseId can be joined with keyphrase.keyphraseId # paperKeyphrase.paperId can be joined with paper.paperId # writes.authorId can be joined with author.authorId # writes.paperId can be joined with paper.paperId # ### Question: # # papers published in the last year # ### SQL: # # SELECT DISTINCT paperid FROM paper WHERE YEAR = ( SELECT MAX ( YEAR ) FROM paper ); # ### End.
scholar
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # venue ( venueId, venueName ) # author ( authorId, authorName ) # dataset ( datasetId, datasetName ) # journal ( journalId, journalName ) # keyphrase ( keyphraseId, keyphraseName ) # paper ( paperId, title, venueId, year, numCiting, numCitedBy, journalId ) # cite ( citingPaperId, citedPaperId ) # paperDataset ( paperId, datasetId ) # paperKeyphrase ( paperId, keyphraseId ) # writes ( paperId, authorId ) # # paper.venueId can be joined with venue.venueId # paper.journalId can be joined with journal.journalId # cite.citingPaperId can be joined with paper.paperId # cite.citedPaperId can be joined with paper.paperId # paperKeyphrase.keyphraseId can be joined with keyphrase.keyphraseId # paperKeyphrase.paperId can be joined with paper.paperId # writes.authorId can be joined with author.authorId # writes.paperId can be joined with paper.paperId # ### Question: # # When was benjamin mako hill 's first publication ? # ### SQL: # # SELECT DISTINCT COUNT ( t3.paperid ) , t3.year FROM writes AS t2 JOIN author AS t1 ON t2.authorid = t1.authorid JOIN paper AS t3 ON t2.paperid = t3.paperid WHERE t1.authorname = "benjamin mako hill" GROUP BY t3.year ORDER BY t3.year; # ### End.
scholar
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # venue ( venueId, venueName ) # author ( authorId, authorName ) # dataset ( datasetId, datasetName ) # journal ( journalId, journalName ) # keyphrase ( keyphraseId, keyphraseName ) # paper ( paperId, title, venueId, year, numCiting, numCitedBy, journalId ) # cite ( citingPaperId, citedPaperId ) # paperDataset ( paperId, datasetId ) # paperKeyphrase ( paperId, keyphraseId ) # writes ( paperId, authorId ) # # paper.venueId can be joined with venue.venueId # paper.journalId can be joined with journal.journalId # cite.citingPaperId can be joined with paper.paperId # cite.citedPaperId can be joined with paper.paperId # paperKeyphrase.keyphraseId can be joined with keyphrase.keyphraseId # paperKeyphrase.paperId can be joined with paper.paperId # writes.authorId can be joined with author.authorId # writes.paperId can be joined with paper.paperId # ### Question: # # When was benjamin mako hill 's first paper written ? # ### SQL: # # SELECT DISTINCT COUNT ( t3.paperid ) , t3.year FROM writes AS t2 JOIN author AS t1 ON t2.authorid = t1.authorid JOIN paper AS t3 ON t2.paperid = t3.paperid WHERE t1.authorname = "benjamin mako hill" GROUP BY t3.year ORDER BY t3.year; # ### End.
scholar
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # venue ( venueId, venueName ) # author ( authorId, authorName ) # dataset ( datasetId, datasetName ) # journal ( journalId, journalName ) # keyphrase ( keyphraseId, keyphraseName ) # paper ( paperId, title, venueId, year, numCiting, numCitedBy, journalId ) # cite ( citingPaperId, citedPaperId ) # paperDataset ( paperId, datasetId ) # paperKeyphrase ( paperId, keyphraseId ) # writes ( paperId, authorId ) # # paper.venueId can be joined with venue.venueId # paper.journalId can be joined with journal.journalId # cite.citingPaperId can be joined with paper.paperId # cite.citedPaperId can be joined with paper.paperId # paperKeyphrase.keyphraseId can be joined with keyphrase.keyphraseId # paperKeyphrase.paperId can be joined with paper.paperId # writes.authorId can be joined with author.authorId # writes.paperId can be joined with paper.paperId # ### Question: # # When did ameet soni publish ? # ### SQL: # # SELECT DISTINCT COUNT ( t3.paperid ) , t3.year FROM writes AS t2 JOIN author AS t1 ON t2.authorid = t1.authorid JOIN paper AS t3 ON t2.paperid = t3.paperid WHERE t1.authorname = "ameet soni" GROUP BY t3.year ORDER BY t3.year; # ### End.
scholar
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # venue ( venueId, venueName ) # author ( authorId, authorName ) # dataset ( datasetId, datasetName ) # journal ( journalId, journalName ) # keyphrase ( keyphraseId, keyphraseName ) # paper ( paperId, title, venueId, year, numCiting, numCitedBy, journalId ) # cite ( citingPaperId, citedPaperId ) # paperDataset ( paperId, datasetId ) # paperKeyphrase ( paperId, keyphraseId ) # writes ( paperId, authorId ) # # paper.venueId can be joined with venue.venueId # paper.journalId can be joined with journal.journalId # cite.citingPaperId can be joined with paper.paperId # cite.citedPaperId can be joined with paper.paperId # paperKeyphrase.keyphraseId can be joined with keyphrase.keyphraseId # paperKeyphrase.paperId can be joined with paper.paperId # writes.authorId can be joined with author.authorId # writes.paperId can be joined with paper.paperId # ### Question: # # Who cites Daniel A Reed the most # ### SQL: # # SELECT DISTINCT COUNT ( t4.citingpaperid ) , t3.authorid FROM writes AS t2 JOIN author AS t1 ON t2.authorid = t1.authorid JOIN cite AS t4 ON t2.paperid = t4.citedpaperid JOIN writes AS t3 ON t3.paperid = t4.citingpaperid WHERE t1.authorname = "Daniel A Reed" GROUP BY t3.authorid ORDER BY COUNT ( t4.citingpaperid ) DESC; # ### End.
scholar
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # venue ( venueId, venueName ) # author ( authorId, authorName ) # dataset ( datasetId, datasetName ) # journal ( journalId, journalName ) # keyphrase ( keyphraseId, keyphraseName ) # paper ( paperId, title, venueId, year, numCiting, numCitedBy, journalId ) # cite ( citingPaperId, citedPaperId ) # paperDataset ( paperId, datasetId ) # paperKeyphrase ( paperId, keyphraseId ) # writes ( paperId, authorId ) # # paper.venueId can be joined with venue.venueId # paper.journalId can be joined with journal.journalId # cite.citingPaperId can be joined with paper.paperId # cite.citedPaperId can be joined with paper.paperId # paperKeyphrase.keyphraseId can be joined with keyphrase.keyphraseId # paperKeyphrase.paperId can be joined with paper.paperId # writes.authorId can be joined with author.authorId # writes.paperId can be joined with paper.paperId # ### Question: # # Who cites Daniel A Reed most ? # ### SQL: # # SELECT DISTINCT COUNT ( t4.citingpaperid ) , t3.authorid FROM writes AS t2 JOIN author AS t1 ON t2.authorid = t1.authorid JOIN cite AS t4 ON t2.paperid = t4.citedpaperid JOIN writes AS t3 ON t3.paperid = t4.citingpaperid WHERE t1.authorname = "Daniel A Reed" GROUP BY t3.authorid ORDER BY COUNT ( t4.citingpaperid ) DESC; # ### End.
scholar
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # venue ( venueId, venueName ) # author ( authorId, authorName ) # dataset ( datasetId, datasetName ) # journal ( journalId, journalName ) # keyphrase ( keyphraseId, keyphraseName ) # paper ( paperId, title, venueId, year, numCiting, numCitedBy, journalId ) # cite ( citingPaperId, citedPaperId ) # paperDataset ( paperId, datasetId ) # paperKeyphrase ( paperId, keyphraseId ) # writes ( paperId, authorId ) # # paper.venueId can be joined with venue.venueId # paper.journalId can be joined with journal.journalId # cite.citingPaperId can be joined with paper.paperId # cite.citedPaperId can be joined with paper.paperId # paperKeyphrase.keyphraseId can be joined with keyphrase.keyphraseId # paperKeyphrase.paperId can be joined with paper.paperId # writes.authorId can be joined with author.authorId # writes.paperId can be joined with paper.paperId # ### Question: # # how many papers are in sigir ? # ### SQL: # # SELECT DISTINCT COUNT ( t1.paperid ) FROM venue AS t2 JOIN paper AS t1 ON t2.venueid = t1.venueid WHERE t2.venuename = "sigir"; # ### End.
scholar
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # venue ( venueId, venueName ) # author ( authorId, authorName ) # dataset ( datasetId, datasetName ) # journal ( journalId, journalName ) # keyphrase ( keyphraseId, keyphraseName ) # paper ( paperId, title, venueId, year, numCiting, numCitedBy, journalId ) # cite ( citingPaperId, citedPaperId ) # paperDataset ( paperId, datasetId ) # paperKeyphrase ( paperId, keyphraseId ) # writes ( paperId, authorId ) # # paper.venueId can be joined with venue.venueId # paper.journalId can be joined with journal.journalId # cite.citingPaperId can be joined with paper.paperId # cite.citedPaperId can be joined with paper.paperId # paperKeyphrase.keyphraseId can be joined with keyphrase.keyphraseId # paperKeyphrase.paperId can be joined with paper.paperId # writes.authorId can be joined with author.authorId # writes.paperId can be joined with paper.paperId # ### Question: # # how many papers does sigir have ? # ### SQL: # # SELECT DISTINCT COUNT ( t1.paperid ) FROM venue AS t2 JOIN paper AS t1 ON t2.venueid = t1.venueid WHERE t2.venuename = "sigir"; # ### End.