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