QIAN-ME/bird_schema_data huggingface dataset:
You are now a sqlite data analyst, and you are given a database schema as follows:

    【Schema】
    【DB_ID】 authors
【Schema】
# Table: Conference
[
(Id:INTEGER, Primary Key, Examples: [1, 2, 4]),
(ShortName:TEXT, Examples: [IADIS, IADT, ICOMP]),
(FullName:TEXT),
(HomePage:TEXT)
]
# Table: PaperAuthor
[
(PaperId:INTEGER, Examples: [4, 5, 6]),
(AuthorId:INTEGER, Examples: [1456512, 1102257, 1806301]),
(Name:TEXT, Examples: [ADAM G. JONES, Kazuo Iwama, Asgeir Finnseth]),
(Affiliation:TEXT)
]
# Table: Paper
[
(Id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(Title:TEXT),
(Year:INTEGER, Examples: [2009, 2007, 1963]),
(ConferenceId:INTEGER, Examples: [167, 0, 158]),
(JournalId:INTEGER, Examples: [0, 7234, 16867]),
(Keyword:TEXT)
]
# Table: Journal
[
(Id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(ShortName:TEXT, Examples: [ICOM, AEPIA, IBMRD]),
(FullName:TEXT),
(HomePage:TEXT)
]
# Table: Author
[
(Id:INTEGER, Primary Key, Examples: [9, 14, 15]),
(Name:TEXT, Examples: [Ernest Jordan, K. MORIBE, D. Jakominich]),
(Affiliation:TEXT)
]
【Foreign keys】
PaperAuthor.PaperId=Paper.Id
PaperAuthor.AuthorId=Author.Id
Paper.ConferenceId=Conference.Id
Paper.JournalId=Journal.Id

    【Question】
    Who is the author of the publication named 'Real-Time Automata'? 'Real-Time Automata' is the title of paper; publication refers to title;

    【Evidence】
    'Real-Time Automata' is the title of paper; publication refers to title;

    Please read and understand the database schema carefully, and generate an executable SQL based on the user's question and evidence. 

SQL: SELECT T2.Name FROM Paper AS T1 INNER JOIN PaperAuthor AS T2 ON T1.Id = T2.PaperId WHERE T1.Title = 'Real-Time Automata'
You are now a sqlite data analyst, and you are given a database schema as follows:

    【Schema】
    【DB_ID】 authors
【Schema】
# Table: Conference
[
(Id:INTEGER, Primary Key, Examples: [1, 2, 4]),
(ShortName:TEXT, Examples: [IADIS, IADT, ICOMP]),
(FullName:TEXT),
(HomePage:TEXT)
]
# Table: PaperAuthor
[
(PaperId:INTEGER, Examples: [4, 5, 6]),
(AuthorId:INTEGER, Examples: [1456512, 1102257, 1806301]),
(Name:TEXT, Examples: [ADAM G. JONES, Kazuo Iwama, Asgeir Finnseth]),
(Affiliation:TEXT)
]
# Table: Paper
[
(Id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(Title:TEXT),
(Year:INTEGER, Examples: [2009, 2007, 1963]),
(ConferenceId:INTEGER, Examples: [167, 0, 158]),
(JournalId:INTEGER, Examples: [0, 7234, 16867]),
(Keyword:TEXT)
]
# Table: Journal
[
(Id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(ShortName:TEXT, Examples: [ICOM, AEPIA, IBMRD]),
(FullName:TEXT),
(HomePage:TEXT)
]
# Table: Author
[
(Id:INTEGER, Primary Key, Examples: [9, 14, 15]),
(Name:TEXT, Examples: [Ernest Jordan, K. MORIBE, D. Jakominich]),
(Affiliation:TEXT)
]
【Foreign keys】
PaperAuthor.PaperId=Paper.Id
PaperAuthor.AuthorId=Author.Id
Paper.ConferenceId=Conference.Id
Paper.JournalId=Journal.Id

    【Question】
    Provide the name of the author who is affiliated with the organization named 'ABB Electrical Machines'. 'ABB Electrical Machines' is an affiliation

    【Evidence】
    'ABB Electrical Machines' is an affiliation

    Please read and understand the database schema carefully, and generate an executable SQL based on the user's question and evidence. 

SQL: SELECT Name FROM Author WHERE Affiliation = 'ABB Electrical Machines'
You are now a sqlite data analyst, and you are given a database schema as follows:

    【Schema】
    【DB_ID】 authors
【Schema】
# Table: Conference
[
(Id:INTEGER, Primary Key, Examples: [1, 2, 4]),
(ShortName:TEXT, Examples: [IADIS, IADT, ICOMP]),
(FullName:TEXT),
(HomePage:TEXT)
]
# Table: PaperAuthor
[
(PaperId:INTEGER, Examples: [4, 5, 6]),
(AuthorId:INTEGER, Examples: [1456512, 1102257, 1806301]),
(Name:TEXT, Examples: [ADAM G. JONES, Kazuo Iwama, Asgeir Finnseth]),
(Affiliation:TEXT)
]
# Table: Paper
[
(Id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(Title:TEXT),
(Year:INTEGER, Examples: [2009, 2007, 1963]),
(ConferenceId:INTEGER, Examples: [167, 0, 158]),
(JournalId:INTEGER, Examples: [0, 7234, 16867]),
(Keyword:TEXT)
]
# Table: Journal
[
(Id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(ShortName:TEXT, Examples: [ICOM, AEPIA, IBMRD]),
(FullName:TEXT),
(HomePage:TEXT)
]
# Table: Author
[
(Id:INTEGER, Primary Key, Examples: [9, 14, 15]),
(Name:TEXT, Examples: [Ernest Jordan, K. MORIBE, D. Jakominich]),
(Affiliation:TEXT)
]
【Foreign keys】
PaperAuthor.PaperId=Paper.Id
PaperAuthor.AuthorId=Author.Id
Paper.ConferenceId=Conference.Id
Paper.JournalId=Journal.Id

    【Question】
    Provide the number of publications published in the journal named 'Academic Medicine' between 2005 and 2010. 'Academic Medicine' is the FullName of journal; between 2005 and 2010 refer to Year 2005 BETWEEN 2010

    【Evidence】
    'Academic Medicine' is the FullName of journal; between 2005 and 2010 refer to Year 2005 BETWEEN 2010

    Please read and understand the database schema carefully, and generate an executable SQL based on the user's question and evidence. 

SQL: SELECT COUNT(T2.JournalId) FROM Journal AS T1 INNER JOIN Paper AS T2 ON T1.Id = T2.JournalId WHERE T1.FullName = 'Academic Medicine' AND T2.Year BETWEEN 2005 AND 2010
You are now a sqlite data analyst, and you are given a database schema as follows:

    【Schema】
    【DB_ID】 authors
【Schema】
# Table: Conference
[
(Id:INTEGER, Primary Key, Examples: [1, 2, 4]),
(ShortName:TEXT, Examples: [IADIS, IADT, ICOMP]),
(FullName:TEXT),
(HomePage:TEXT)
]
# Table: PaperAuthor
[
(PaperId:INTEGER, Examples: [4, 5, 6]),
(AuthorId:INTEGER, Examples: [1456512, 1102257, 1806301]),
(Name:TEXT, Examples: [ADAM G. JONES, Kazuo Iwama, Asgeir Finnseth]),
(Affiliation:TEXT)
]
# Table: Paper
[
(Id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(Title:TEXT),
(Year:INTEGER, Examples: [2009, 2007, 1963]),
(ConferenceId:INTEGER, Examples: [167, 0, 158]),
(JournalId:INTEGER, Examples: [0, 7234, 16867]),
(Keyword:TEXT)
]
# Table: Journal
[
(Id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(ShortName:TEXT, Examples: [ICOM, AEPIA, IBMRD]),
(FullName:TEXT),
(HomePage:TEXT)
]
# Table: Author
[
(Id:INTEGER, Primary Key, Examples: [9, 14, 15]),
(Name:TEXT, Examples: [Ernest Jordan, K. MORIBE, D. Jakominich]),
(Affiliation:TEXT)
]
【Foreign keys】
PaperAuthor.PaperId=Paper.Id
PaperAuthor.AuthorId=Author.Id
Paper.ConferenceId=Conference.Id
Paper.JournalId=Journal.Id

    【Question】
    Provide the title of the latest publication published by it's author 'Zuliang Du'. 'Zuliang Du' is the name of paper author; latest publication refers to MAX(Year)

    【Evidence】
    'Zuliang Du' is the name of paper author; latest publication refers to MAX(Year)

    Please read and understand the database schema carefully, and generate an executable SQL based on the user's question and evidence. 

SQL: SELECT T2.Title FROM PaperAuthor AS T1 INNER JOIN Paper AS T2 ON T1.PaperId = T2.Id WHERE T1.Name = 'Zuliang Du' ORDER BY T2.Year DESC LIMIT 1
You are now a sqlite data analyst, and you are given a database schema as follows:

    【Schema】
    【DB_ID】 authors
【Schema】
# Table: Conference
[
(Id:INTEGER, Primary Key, Examples: [1, 2, 4]),
(ShortName:TEXT, Examples: [IADIS, IADT, ICOMP]),
(FullName:TEXT),
(HomePage:TEXT)
]
# Table: PaperAuthor
[
(PaperId:INTEGER, Examples: [4, 5, 6]),
(AuthorId:INTEGER, Examples: [1456512, 1102257, 1806301]),
(Name:TEXT, Examples: [ADAM G. JONES, Kazuo Iwama, Asgeir Finnseth]),
(Affiliation:TEXT)
]
# Table: Paper
[
(Id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(Title:TEXT),
(Year:INTEGER, Examples: [2009, 2007, 1963]),
(ConferenceId:INTEGER, Examples: [167, 0, 158]),
(JournalId:INTEGER, Examples: [0, 7234, 16867]),
(Keyword:TEXT)
]
# Table: Journal
[
(Id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(ShortName:TEXT, Examples: [ICOM, AEPIA, IBMRD]),
(FullName:TEXT),
(HomePage:TEXT)
]
# Table: Author
[
(Id:INTEGER, Primary Key, Examples: [9, 14, 15]),
(Name:TEXT, Examples: [Ernest Jordan, K. MORIBE, D. Jakominich]),
(Affiliation:TEXT)
]
【Foreign keys】
PaperAuthor.PaperId=Paper.Id
PaperAuthor.AuthorId=Author.Id
Paper.ConferenceId=Conference.Id
Paper.JournalId=Journal.Id

    【Question】
    How many publications were published in relation to the conference 'Adaptive Multimedia Retrieval' in 2007? 'Adaptive Multimedia Retrieval is the FullName of paper; in 2007 refer to Year = 2007

    【Evidence】
    'Adaptive Multimedia Retrieval is the FullName of paper; in 2007 refer to Year = 2007

    Please read and understand the database schema carefully, and generate an executable SQL based on the user's question and evidence. 

SQL: SELECT COUNT(T2.ConferenceId) FROM Conference AS T1 INNER JOIN Paper AS T2 ON T1.Id = T2.ConferenceId WHERE T1.FullName = 'Adaptive Multimedia Retrieval' AND T2.Year = 2007
You are now a sqlite data analyst, and you are given a database schema as follows:

    【Schema】
    【DB_ID】 authors
【Schema】
# Table: Conference
[
(Id:INTEGER, Primary Key, Examples: [1, 2, 4]),
(ShortName:TEXT, Examples: [IADIS, IADT, ICOMP]),
(FullName:TEXT),
(HomePage:TEXT)
]
# Table: PaperAuthor
[
(PaperId:INTEGER, Examples: [4, 5, 6]),
(AuthorId:INTEGER, Examples: [1456512, 1102257, 1806301]),
(Name:TEXT, Examples: [ADAM G. JONES, Kazuo Iwama, Asgeir Finnseth]),
(Affiliation:TEXT)
]
# Table: Paper
[
(Id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(Title:TEXT),
(Year:INTEGER, Examples: [2009, 2007, 1963]),
(ConferenceId:INTEGER, Examples: [167, 0, 158]),
(JournalId:INTEGER, Examples: [0, 7234, 16867]),
(Keyword:TEXT)
]
# Table: Journal
[
(Id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(ShortName:TEXT, Examples: [ICOM, AEPIA, IBMRD]),
(FullName:TEXT),
(HomePage:TEXT)
]
# Table: Author
[
(Id:INTEGER, Primary Key, Examples: [9, 14, 15]),
(Name:TEXT, Examples: [Ernest Jordan, K. MORIBE, D. Jakominich]),
(Affiliation:TEXT)
]
【Foreign keys】
PaperAuthor.PaperId=Paper.Id
PaperAuthor.AuthorId=Author.Id
Paper.ConferenceId=Conference.Id
Paper.JournalId=Journal.Id

    【Question】
    Provide the average number of papers that are published in the journal named 'Information Sciences' annually. 'Information Sciences' is the FullName of journal; average = DIVIDE(COUNT(JournalId = 48), COUNT(Years))

    【Evidence】
    'Information Sciences' is the FullName of journal; average = DIVIDE(COUNT(JournalId = 48), COUNT(Years))

    Please read and understand the database schema carefully, and generate an executable SQL based on the user's question and evidence. 

SQL: SELECT CAST(COUNT(T2.JournalId) AS REAL) / COUNT(DISTINCT T2.Year) FROM Journal AS T1 INNER JOIN Paper AS T2 ON T1.Id = T2.JournalId WHERE T1.FullName = 'Information Sciences'
You are now a sqlite data analyst, and you are given a database schema as follows:

    【Schema】
    【DB_ID】 authors
【Schema】
# Table: Conference
[
(Id:INTEGER, Primary Key, Examples: [1, 2, 4]),
(ShortName:TEXT, Examples: [IADIS, IADT, ICOMP]),
(FullName:TEXT),
(HomePage:TEXT)
]
# Table: PaperAuthor
[
(PaperId:INTEGER, Examples: [4, 5, 6]),
(AuthorId:INTEGER, Examples: [1456512, 1102257, 1806301]),
(Name:TEXT, Examples: [ADAM G. JONES, Kazuo Iwama, Asgeir Finnseth]),
(Affiliation:TEXT)
]
# Table: Paper
[
(Id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(Title:TEXT),
(Year:INTEGER, Examples: [2009, 2007, 1963]),
(ConferenceId:INTEGER, Examples: [167, 0, 158]),
(JournalId:INTEGER, Examples: [0, 7234, 16867]),
(Keyword:TEXT)
]
# Table: Journal
[
(Id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(ShortName:TEXT, Examples: [ICOM, AEPIA, IBMRD]),
(FullName:TEXT),
(HomePage:TEXT)
]
# Table: Author
[
(Id:INTEGER, Primary Key, Examples: [9, 14, 15]),
(Name:TEXT, Examples: [Ernest Jordan, K. MORIBE, D. Jakominich]),
(Affiliation:TEXT)
]
【Foreign keys】
PaperAuthor.PaperId=Paper.Id
PaperAuthor.AuthorId=Author.Id
Paper.ConferenceId=Conference.Id
Paper.JournalId=Journal.Id

    【Question】
    How many publications were published by author named 'Howard F. Lipson'? 'Howard F. Lipson' is the name of author

    【Evidence】
    'Howard F. Lipson' is the name of author

    Please read and understand the database schema carefully, and generate an executable SQL based on the user's question and evidence. 

SQL: SELECT COUNT(PaperId) FROM PaperAuthor WHERE Name = 'Howard F. Lipson'
You are now a sqlite data analyst, and you are given a database schema as follows:

    【Schema】
    【DB_ID】 authors
【Schema】
# Table: Conference
[
(Id:INTEGER, Primary Key, Examples: [1, 2, 4]),
(ShortName:TEXT, Examples: [IADIS, IADT, ICOMP]),
(FullName:TEXT),
(HomePage:TEXT)
]
# Table: PaperAuthor
[
(PaperId:INTEGER, Examples: [4, 5, 6]),
(AuthorId:INTEGER, Examples: [1456512, 1102257, 1806301]),
(Name:TEXT, Examples: [ADAM G. JONES, Kazuo Iwama, Asgeir Finnseth]),
(Affiliation:TEXT)
]
# Table: Paper
[
(Id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(Title:TEXT),
(Year:INTEGER, Examples: [2009, 2007, 1963]),
(ConferenceId:INTEGER, Examples: [167, 0, 158]),
(JournalId:INTEGER, Examples: [0, 7234, 16867]),
(Keyword:TEXT)
]
# Table: Journal
[
(Id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(ShortName:TEXT, Examples: [ICOM, AEPIA, IBMRD]),
(FullName:TEXT),
(HomePage:TEXT)
]
# Table: Author
[
(Id:INTEGER, Primary Key, Examples: [9, 14, 15]),
(Name:TEXT, Examples: [Ernest Jordan, K. MORIBE, D. Jakominich]),
(Affiliation:TEXT)
]
【Foreign keys】
PaperAuthor.PaperId=Paper.Id
PaperAuthor.AuthorId=Author.Id
Paper.ConferenceId=Conference.Id
Paper.JournalId=Journal.Id

    【Question】
    Among all publications containing keywords 'Turbulent Fluids', what percentage of them was published in the journal named 'Physics of Fluids'? 'Physics of Fluids' is the FullName of journal; percentage = DIVIDE(SUM(Keyword = 'Turbulent Fluids'), SUM(FullName = 'Physics of Fluids')) as percentage

    【Evidence】
    'Physics of Fluids' is the FullName of journal; percentage = DIVIDE(SUM(Keyword = 'Turbulent Fluids'), SUM(FullName = 'Physics of Fluids')) as percentage

    Please read and understand the database schema carefully, and generate an executable SQL based on the user's question and evidence. 

SQL: SELECT CAST(SUM(CASE WHEN T1.Keyword = 'Turbulent Fluids' THEN 1 ELSE 0 END) AS REAL) / SUM(CASE WHEN T2.FullName = 'Physics of Fluids' THEN 1 ELSE 0 END) FROM Paper AS T1 INNER JOIN Journal AS T2 ON T1.JournalId = T2.Id
You are now a sqlite data analyst, and you are given a database schema as follows:

    【Schema】
    【DB_ID】 authors
【Schema】
# Table: Conference
[
(Id:INTEGER, Primary Key, Examples: [1, 2, 4]),
(ShortName:TEXT, Examples: [IADIS, IADT, ICOMP]),
(FullName:TEXT),
(HomePage:TEXT)
]
# Table: PaperAuthor
[
(PaperId:INTEGER, Examples: [4, 5, 6]),
(AuthorId:INTEGER, Examples: [1456512, 1102257, 1806301]),
(Name:TEXT, Examples: [ADAM G. JONES, Kazuo Iwama, Asgeir Finnseth]),
(Affiliation:TEXT)
]
# Table: Paper
[
(Id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(Title:TEXT),
(Year:INTEGER, Examples: [2009, 2007, 1963]),
(ConferenceId:INTEGER, Examples: [167, 0, 158]),
(JournalId:INTEGER, Examples: [0, 7234, 16867]),
(Keyword:TEXT)
]
# Table: Journal
[
(Id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(ShortName:TEXT, Examples: [ICOM, AEPIA, IBMRD]),
(FullName:TEXT),
(HomePage:TEXT)
]
# Table: Author
[
(Id:INTEGER, Primary Key, Examples: [9, 14, 15]),
(Name:TEXT, Examples: [Ernest Jordan, K. MORIBE, D. Jakominich]),
(Affiliation:TEXT)
]
【Foreign keys】
PaperAuthor.PaperId=Paper.Id
PaperAuthor.AuthorId=Author.Id
Paper.ConferenceId=Conference.Id
Paper.JournalId=Journal.Id

    【Question】
    Indicate the number of authors affiliated with the organization named 'Arizona State University'. 'Arizona State University' is an affiliation

    【Evidence】
    'Arizona State University' is an affiliation

    Please read and understand the database schema carefully, and generate an executable SQL based on the user's question and evidence. 

SQL: SELECT COUNT(Name) FROM Author WHERE Affiliation = 'Arizona State University'
You are now a sqlite data analyst, and you are given a database schema as follows:

    【Schema】
    【DB_ID】 authors
【Schema】
# Table: Conference
[
(Id:INTEGER, Primary Key, Examples: [1, 2, 4]),
(ShortName:TEXT, Examples: [IADIS, IADT, ICOMP]),
(FullName:TEXT),
(HomePage:TEXT)
]
# Table: PaperAuthor
[
(PaperId:INTEGER, Examples: [4, 5, 6]),
(AuthorId:INTEGER, Examples: [1456512, 1102257, 1806301]),
(Name:TEXT, Examples: [ADAM G. JONES, Kazuo Iwama, Asgeir Finnseth]),
(Affiliation:TEXT)
]
# Table: Paper
[
(Id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(Title:TEXT),
(Year:INTEGER, Examples: [2009, 2007, 1963]),
(ConferenceId:INTEGER, Examples: [167, 0, 158]),
(JournalId:INTEGER, Examples: [0, 7234, 16867]),
(Keyword:TEXT)
]
# Table: Journal
[
(Id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(ShortName:TEXT, Examples: [ICOM, AEPIA, IBMRD]),
(FullName:TEXT),
(HomePage:TEXT)
]
# Table: Author
[
(Id:INTEGER, Primary Key, Examples: [9, 14, 15]),
(Name:TEXT, Examples: [Ernest Jordan, K. MORIBE, D. Jakominich]),
(Affiliation:TEXT)
]
【Foreign keys】
PaperAuthor.PaperId=Paper.Id
PaperAuthor.AuthorId=Author.Id
Paper.ConferenceId=Conference.Id
Paper.JournalId=Journal.Id

    【Question】
    List out the full name and URL link of ICCI? 'ICCI' is the ShortName of conference; URL refer to HomePage

    【Evidence】
    'ICCI' is the ShortName of conference; URL refer to HomePage

    Please read and understand the database schema carefully, and generate an executable SQL based on the user's question and evidence. 

SQL: SELECT FullName, HomePage FROM Conference WHERE ShortName = 'ICCI'
You are now a sqlite data analyst, and you are given a database schema as follows:

    【Schema】
    【DB_ID】 authors
【Schema】
# Table: Conference
[
(Id:INTEGER, Primary Key, Examples: [1, 2, 4]),
(ShortName:TEXT, Examples: [IADIS, IADT, ICOMP]),
(FullName:TEXT),
(HomePage:TEXT)
]
# Table: PaperAuthor
[
(PaperId:INTEGER, Examples: [4, 5, 6]),
(AuthorId:INTEGER, Examples: [1456512, 1102257, 1806301]),
(Name:TEXT, Examples: [ADAM G. JONES, Kazuo Iwama, Asgeir Finnseth]),
(Affiliation:TEXT)
]
# Table: Paper
[
(Id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(Title:TEXT),
(Year:INTEGER, Examples: [2009, 2007, 1963]),
(ConferenceId:INTEGER, Examples: [167, 0, 158]),
(JournalId:INTEGER, Examples: [0, 7234, 16867]),
(Keyword:TEXT)
]
# Table: Journal
[
(Id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(ShortName:TEXT, Examples: [ICOM, AEPIA, IBMRD]),
(FullName:TEXT),
(HomePage:TEXT)
]
# Table: Author
[
(Id:INTEGER, Primary Key, Examples: [9, 14, 15]),
(Name:TEXT, Examples: [Ernest Jordan, K. MORIBE, D. Jakominich]),
(Affiliation:TEXT)
]
【Foreign keys】
PaperAuthor.PaperId=Paper.Id
PaperAuthor.AuthorId=Author.Id
Paper.ConferenceId=Conference.Id
Paper.JournalId=Journal.Id

    【Question】
    Mention the titile of paper writen by Joe Lograsso. 'Joe Lograsso' is name of paper author

    【Evidence】
    'Joe Lograsso' is name of paper author

    Please read and understand the database schema carefully, and generate an executable SQL based on the user's question and evidence. 

SQL: SELECT T1.Title FROM Paper AS T1 INNER JOIN PaperAuthor AS T2 ON T1.Id = T2.PaperId WHERE T2.Name = 'Joe Lograsso'
You are now a sqlite data analyst, and you are given a database schema as follows:

    【Schema】
    【DB_ID】 authors
【Schema】
# Table: Conference
[
(Id:INTEGER, Primary Key, Examples: [1, 2, 4]),
(ShortName:TEXT, Examples: [IADIS, IADT, ICOMP]),
(FullName:TEXT),
(HomePage:TEXT)
]
# Table: PaperAuthor
[
(PaperId:INTEGER, Examples: [4, 5, 6]),
(AuthorId:INTEGER, Examples: [1456512, 1102257, 1806301]),
(Name:TEXT, Examples: [ADAM G. JONES, Kazuo Iwama, Asgeir Finnseth]),
(Affiliation:TEXT)
]
# Table: Paper
[
(Id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(Title:TEXT),
(Year:INTEGER, Examples: [2009, 2007, 1963]),
(ConferenceId:INTEGER, Examples: [167, 0, 158]),
(JournalId:INTEGER, Examples: [0, 7234, 16867]),
(Keyword:TEXT)
]
# Table: Journal
[
(Id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(ShortName:TEXT, Examples: [ICOM, AEPIA, IBMRD]),
(FullName:TEXT),
(HomePage:TEXT)
]
# Table: Author
[
(Id:INTEGER, Primary Key, Examples: [9, 14, 15]),
(Name:TEXT, Examples: [Ernest Jordan, K. MORIBE, D. Jakominich]),
(Affiliation:TEXT)
]
【Foreign keys】
PaperAuthor.PaperId=Paper.Id
PaperAuthor.AuthorId=Author.Id
Paper.ConferenceId=Conference.Id
Paper.JournalId=Journal.Id

    【Question】
    How many papers were written by authors who cooperated with University of Hong Kong? University of Hong Kong' is an affiliation

    【Evidence】
    University of Hong Kong' is an affiliation

    Please read and understand the database schema carefully, and generate an executable SQL based on the user's question and evidence. 

SQL: SELECT COUNT(T2.PaperId) FROM Author AS T1 INNER JOIN PaperAuthor AS T2 ON T1.Id = T2.AuthorId WHERE T1.Affiliation = 'University of Hong Kong'
You are now a sqlite data analyst, and you are given a database schema as follows:

    【Schema】
    【DB_ID】 authors
【Schema】
# Table: Conference
[
(Id:INTEGER, Primary Key, Examples: [1, 2, 4]),
(ShortName:TEXT, Examples: [IADIS, IADT, ICOMP]),
(FullName:TEXT),
(HomePage:TEXT)
]
# Table: PaperAuthor
[
(PaperId:INTEGER, Examples: [4, 5, 6]),
(AuthorId:INTEGER, Examples: [1456512, 1102257, 1806301]),
(Name:TEXT, Examples: [ADAM G. JONES, Kazuo Iwama, Asgeir Finnseth]),
(Affiliation:TEXT)
]
# Table: Paper
[
(Id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(Title:TEXT),
(Year:INTEGER, Examples: [2009, 2007, 1963]),
(ConferenceId:INTEGER, Examples: [167, 0, 158]),
(JournalId:INTEGER, Examples: [0, 7234, 16867]),
(Keyword:TEXT)
]
# Table: Journal
[
(Id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(ShortName:TEXT, Examples: [ICOM, AEPIA, IBMRD]),
(FullName:TEXT),
(HomePage:TEXT)
]
# Table: Author
[
(Id:INTEGER, Primary Key, Examples: [9, 14, 15]),
(Name:TEXT, Examples: [Ernest Jordan, K. MORIBE, D. Jakominich]),
(Affiliation:TEXT)
]
【Foreign keys】
PaperAuthor.PaperId=Paper.Id
PaperAuthor.AuthorId=Author.Id
Paper.ConferenceId=Conference.Id
Paper.JournalId=Journal.Id

    【Question】
    State the year and title of papers written by Barrasa. 'Barassa' is name of paper author

    【Evidence】
    'Barassa' is name of paper author

    Please read and understand the database schema carefully, and generate an executable SQL based on the user's question and evidence. 

SQL: SELECT T1.Year, T1.Title FROM Paper AS T1 INNER JOIN PaperAuthor AS T2 ON T1.Id = T2.PaperId WHERE T2.Name = 'Barrasa'
You are now a sqlite data analyst, and you are given a database schema as follows:

    【Schema】
    【DB_ID】 authors
【Schema】
# Table: Conference
[
(Id:INTEGER, Primary Key, Examples: [1, 2, 4]),
(ShortName:TEXT, Examples: [IADIS, IADT, ICOMP]),
(FullName:TEXT),
(HomePage:TEXT)
]
# Table: PaperAuthor
[
(PaperId:INTEGER, Examples: [4, 5, 6]),
(AuthorId:INTEGER, Examples: [1456512, 1102257, 1806301]),
(Name:TEXT, Examples: [ADAM G. JONES, Kazuo Iwama, Asgeir Finnseth]),
(Affiliation:TEXT)
]
# Table: Paper
[
(Id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(Title:TEXT),
(Year:INTEGER, Examples: [2009, 2007, 1963]),
(ConferenceId:INTEGER, Examples: [167, 0, 158]),
(JournalId:INTEGER, Examples: [0, 7234, 16867]),
(Keyword:TEXT)
]
# Table: Journal
[
(Id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(ShortName:TEXT, Examples: [ICOM, AEPIA, IBMRD]),
(FullName:TEXT),
(HomePage:TEXT)
]
# Table: Author
[
(Id:INTEGER, Primary Key, Examples: [9, 14, 15]),
(Name:TEXT, Examples: [Ernest Jordan, K. MORIBE, D. Jakominich]),
(Affiliation:TEXT)
]
【Foreign keys】
PaperAuthor.PaperId=Paper.Id
PaperAuthor.AuthorId=Author.Id
Paper.ConferenceId=Conference.Id
Paper.JournalId=Journal.Id

    【Question】
    Sate the author name and published year for paper id 2? published year refers to year

    【Evidence】
    published year refers to year

    Please read and understand the database schema carefully, and generate an executable SQL based on the user's question and evidence. 

SQL: SELECT T1.Name, T3.Year FROM Author AS T1 INNER JOIN PaperAuthor AS T2 ON T1.Id = T2.AuthorId INNER JOIN Paper AS T3 ON T2.PaperId = T3.Id WHERE T2.PaperId = 2