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 short name and full name of conference uses the homepage "http://www.informatik.uni-trier.de/~ley/db/conf/ices/index.html"?

    【Evidence】
    

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

SQL: SELECT ShortName, FullName FROM Conference WHERE HomePage = 'http://www.informatik.uni-trier.de/~ley/db/conf/ices/index.html'
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 down the author ID of authors with a name of "Peter". "Peter" is the name of author

    【Evidence】
    "Peter" 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 AuthorId FROM PaperAuthor WHERE Name = 'Peter'
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 title of papers with a conference ID from 160 to 170, include their conference short name. conference ID from 160 to 170 refers to ConferenceId BETWEEN 160 AND 170

    【Evidence】
    conference ID from 160 to 170 refers to ConferenceId BETWEEN 160 AND 170

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

SQL: SELECT DISTINCT T1.Title, T2.ShortName FROM Paper AS T1 INNER JOIN Conference AS T2 ON T1.ConferenceId = T2.Id WHERE T1.ConferenceId BETWEEN 160 AND 170
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 title and journal homepage of the latest published paper? latest published paper refers to Max(Year)

    【Evidence】
    latest published paper 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 T1.Title, T2.HomePage FROM Paper AS T1 INNER JOIN Journal AS T2 ON T1.JournalId = T2.Id ORDER BY T1.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】
    In year 1999, list the titles and conference's short name of paper authored by someone named "Philip". in year 1999 refers to Year = 1999;  someone named "Philip" refers to Name LIKE 'Philip%'

    【Evidence】
    in year 1999 refers to Year = 1999;  someone named "Philip" refers to Name LIKE 'Philip%'

    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, T3.ShortName FROM Paper AS T1 INNER JOIN PaperAuthor AS T2 ON T1.Id = T2.PaperId INNER JOIN Conference AS T3 ON T1.ConferenceId = T3.Id WHERE T1.Year = 1999 AND T2.Name LIKE 'Philip%'
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 total number and conference's homepage of papers held in a conference with an ID of 187 during 1990 to 2000? Id of 187 refers to ConferenceId = 187; during 1990 to 2000 refers to Year BETWEEN 1990 and 2000; total number of conference refers to Count(ConferenceId = 187)

    【Evidence】
    Id of 187 refers to ConferenceId = 187; during 1990 to 2000 refers to Year BETWEEN 1990 and 2000; total number of conference refers to Count(ConferenceId = 187)

    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), T1.HomePage FROM Conference AS T1 INNER JOIN Paper AS T2 ON T1.Id = T2.ConferenceId WHERE T2.Year BETWEEN 1990 AND 2000 AND T2.ConferenceId = 187
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 title of the paper published in 2003 by an author with affiliation with Department of Network Science, Graduate School of Information Systems, The University of Electro-Communications? published in 2003 refers to Year = 2003; 'Department of Network Science, Graduate School of Information Systems, The University of Electro-Communications' is the Affiliation organization

    【Evidence】
    published in 2003 refers to Year = 2003; 'Department of Network Science, Graduate School of Information Systems, The University of Electro-Communications' is the Affiliation organization

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

SQL: SELECT DISTINCT T2.Title FROM PaperAuthor AS T1 INNER JOIN Paper AS T2 ON T1.PaperId = T2.Id WHERE T1.Affiliation = 'Department of Network Science, Graduate School of Information Systems, The University of Electro-Communications' AND T2.Year = 2003
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 authors and journal short name of the papers with "chemiluminescence" in its title and has a journal ID from 245 to 250. with "chemiluminescence" in its title refers to Title LIKE 'chemiluminescence%'; journal ID from 245 to 250 refers to JournalId BETWEEN 245 AND 250

    【Evidence】
    with "chemiluminescence" in its title refers to Title LIKE 'chemiluminescence%'; journal ID from 245 to 250 refers to JournalId BETWEEN 245 AND 250

    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, T3.ShortName 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 T1.JournalId BETWEEN 245 AND 250 AND T1.Title LIKE '%chemiluminescence%'
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 the papers with conference ID of 0, list down the authors of papers with a journal ID less than 100. Conference ID of 0 refers to ConferenceId = 0; journal ID of less than 100 refers to JournalId < 100

    【Evidence】
    Conference ID of 0 refers to ConferenceId = 0; journal ID of less than 100 refers to JournalId < 100

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

SQL: SELECT DISTINCT T2.Name FROM Paper AS T1 INNER JOIN PaperAuthor AS T2 ON T1.Id = T2.PaperId WHERE T1.ConferenceId = 0 AND T1.JournalId < 100
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 title and author ID of paper with conference ID less than 100 in year 2006? conference ID less than 100 refers to ConferenceId < 100; in year 2006 refers to Year = 2006

    【Evidence】
    conference ID less than 100 refers to ConferenceId < 100; in year 2006 refers to Year = 2006

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

SQL: SELECT DISTINCT T1.Title, T2.AuthorId FROM Paper AS T1 INNER JOIN PaperAuthor AS T2 ON T1.Id = T2.PaperId WHERE T1.Year = 2006 AND T1.ConferenceId < 100
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 are the paper IDs of papers presented in conferences has a homepage starts with "http://www.informatik.uni-trier.de/~ley/db/conf/"? homepage starts with "http://www.informatik.uni-trier.de/~ley/db/conf/" refers to HomePage LIKE 'http://www.informatik.uni-trier.de/~ley/db/conf/%'

    【Evidence】
    homepage starts with "http://www.informatik.uni-trier.de/~ley/db/conf/" refers to HomePage LIKE 'http://www.informatik.uni-trier.de/~ley/db/conf/%'

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

SQL: SELECT T1.Id FROM Paper AS T1 INNER JOIN Conference AS T2 ON T1.ConferenceId = T2.Id WHERE T2.HomePage LIKE 'http://www.informatik.uni-trier.de/~ley/db/conf/%'
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 are the journal homepages and author ID of the papers published in 2000 to 2005 with a word "social" in its title? in 2000 to 2005 refers to Year BETWEEN 2000 AND 2005; a word "social" in its title refers to Title = '%SOCIAL%'

    【Evidence】
    in 2000 to 2005 refers to Year BETWEEN 2000 AND 2005; a word "social" in its title refers to Title = '%SOCIAL%'

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

SQL: SELECT T3.HomePage, T2.AuthorId 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 T1.Year BETWEEN 2000 AND 2005 AND T1.Title LIKE '%SOCIAL%'
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 author ID and their affiliations of authors of the papers with a journal ID of 0 and published in 2009. published in 2009 refers to Year = 2009; journal ID of 0 refers to JournalId = 0

    【Evidence】
    published in 2009 refers to Year = 2009; journal ID of 0 refers to JournalId = 0

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

SQL: SELECT DISTINCT T2.AuthorId, T2.Affiliation FROM Paper AS T1 INNER JOIN PaperAuthor AS T2 ON T1.Id = T2.PaperId WHERE T1.JournalId = 0 AND T1.Year = 2009 AND T2.Affiliation IS NOT NULL