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】
    What is the homepage URL for the journal that published the most papers? published the most papers refer to MAX(JournalId); homepage URL refers to HomePage

    【Evidence】
    published the most papers refer to MAX(JournalId); homepage URL refers 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 T2.HomePage FROM Paper AS T1 INNER JOIN Journal AS T2 ON T1.JournalId = T2.Id GROUP BY T1.JournalId ORDER BY COUNT(T1.JournalId) 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】
    What is the proportion of the papers that have the keyword "cancer"? Please provide a list of authors and their affiliations. Proportion refer to DIVIDE(COUNT(Keyword = ’cancer’), COUNT(PaperID))

    【Evidence】
    Proportion refer to DIVIDE(COUNT(Keyword = ’cancer’), COUNT(PaperID))

    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 = 'cancer' THEN 1 ELSE 0 END) AS REAL) / COUNT(T1.Id), T2.Name, T2.Affiliation FROM Paper AS T1 INNER JOIN PaperAuthor AS T2 ON T1.Id = T2.PaperId
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】
    What is the name of author with the ID of 1722?

    【Evidence】
    

    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 Id = 1722
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 are preprint or not published? preprint or not published refer to Year = 0;

    【Evidence】
    preprint or not published refer to Year = 0;

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

SQL: SELECT COUNT(Id) FROM Paper WHERE Year = 0 OR (ConferenceId = 0 AND JournalId = 0)
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 the name of the author that affiliated with University of Illinois Chicago? 'University of Illinois Chicago' is an affiliation

    【Evidence】
    'University of Illinois Chicago' 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 = 'University of Illinois Chicago'
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 published in 2005. Calculate the difference between the number of paper published in 2005 and the number of paper published in the previous year. published in 2005 refer to Year = 2005; Difference refer to SUBTRACT(SUM(Year = 2005). SUM(Year = 2004))

    【Evidence】
    published in 2005 refer to Year = 2005; Difference refer to SUBTRACT(SUM(Year = 2005). SUM(Year = 2004))

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

SQL: SELECT SUM(CASE WHEN Year = 2005 THEN 1 ELSE 0 END) , SUM(CASE WHEN year = 2005 THEN 1 ELSE 0 END) - SUM(CASE WHEN year = 2004 THEN 1 ELSE 0 END) AS diff FROM Paper
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 title of papers published in the Ibm Journal of Research and Development. Ibm Journal of Research and Development refer to FullName

'Ibm Journal of Research and Development' is the full name of paper

    【Evidence】
    Ibm Journal of Research and Development refer to FullName

'Ibm Journal of Research and Development' is the full name of paper

    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 Journal AS T1 INNER JOIN Paper AS T2 ON T1.Id = T2.JournalId WHERE T1.FullName = 'Ibm Journal of Research and Development'
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 name and affiliation of author for the 'Education, democracy and growth' paper? Education, democracy and growth' refer to title of paper

    【Evidence】
    Education, democracy and growth' refer to title of paper


    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, T2.Affiliation FROM Paper AS T1 INNER JOIN PaperAuthor AS T2 ON T1.Id = T2.PaperId WHERE T1.Title = 'Education, democracy and growth'
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 author published papers in the 'IEEE Computer' journal? IEEE Computer refer to FullName; How many author published papers refer to COUNT(PaperAuthor.Name) where FullName = ’IEEE Computer’

    【Evidence】
    IEEE Computer refer to FullName; How many author published papers refer to COUNT(PaperAuthor.Name) where FullName = ’IEEE Computer’

    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.Name) FROM Paper AS T1 INNER JOIN PaperAuthor AS T2 ON T1.Id = T2.PaperId INNER JOIN Journal AS T3 ON T1.JournalId = T3.Id WHERE T3.FullName = 'IEEE Computer'
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】
    Where was the 'A context-based navigation paradigm for accessing Web data' paper published? State the name of the conference. A context-based navigation paradigm for accessing Web data' is the title of paper; name of conference refer to FullName

    【Evidence】
    A context-based navigation paradigm for accessing Web data' is the title of paper; name of conference refer to FullName


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

SQL: SELECT T2.FullName FROM Paper AS T1 INNER JOIN Conference AS T2 ON T1.ConferenceId = T2.Id WHERE T1.Title = 'A context-based navigation paradigm for accessing Web data'
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 published in International Workshop on Inductive Logic Programming from 2001 to 2009? From 2001 to 2009 refer to Year 2001 BETWEEN 2009; 'International Workshop on Inductive Logic Programming' refer to Conference.FullName

    【Evidence】
    From 2001 to 2009 refer to Year 2001 BETWEEN 2009; 'International Workshop on Inductive Logic Programming' refer to Conference.FullName


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

SQL: SELECT COUNT(T1.Id) FROM Paper AS T1 INNER JOIN Conference AS T2 ON T1.ConferenceId = T2.Id WHERE T2.FullName = 'International Workshop on Inductive Logic Programming' AND T1.Year BETWEEN 2001 AND 2009
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】
    Calculate the average of authors for each paper from the year of 1990 to 2000. Average refer to DIVIDE(COUNT(AuthorID where Year = 1990 BETWEEN 2000), COUNT(Title where Year = 1990 BETWEEN 2000))

    【Evidence】
    Average refer to DIVIDE(COUNT(AuthorID where Year = 1990 BETWEEN 2000), COUNT(Title where Year = 1990 BETWEEN 2000))

    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(DISTINCT T2.AuthorId) AS REAL) / COUNT(DISTINCT T1.Title) FROM Paper AS T1 INNER JOIN PaperAuthor AS T2 ON T1.Id = T2.PaperId WHERE T1.Year BETWEEN 1990 AND 2000
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 year and a full name of the journal in which the publication named 'Area Effects in Cepaea' was published. 'Area Effects in Cepaea' is the title of paper

    【Evidence】
    'Area Effects in Cepaea' is the title of paper

    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, T2.FullName FROM Paper AS T1 INNER JOIN Journal AS T2 ON T1.JournalId = T2.Id WHERE T1.Title = 'Area Effects in Cepaea'