set
dict
{ "query": "What is the awarded category that the awarded character Lenny won?", "pos": [ "\n\nawarded category refers to award_category" ], "neg": [ "episodes from 10 to 20 refers to episode BETWEEN 10 and 20; more than 200 votes refers to COUNT(votes) > 200", "nominated for Primetime Emmy Award but did not win refers to award_category = 'Primetime Emmy' and result = 'Nominee';  from 2009 to 2010 refers to year > = '2009' and  year < = '2010'", "highest number of vote of the star score refers to max(votes)", "2 stars refers to stars = 2; 9 votes refers to votes = 9", "episode S20-E1, S20-E2 & S20-E3 refers to episode_id = 'S20-E1' and episode_id = 'S20-E2' and episode_id = 'S20-E3'", "highest votes refers to max(votes); to Carlton Batten refers to person = 'Carlton Batten'", "\"riot\" and \"cake\" are both keyword", "born in the USA refers to birth_country = 'USA'", "voiced refers to role; role = 'Helen Lovejoy\"", "aired in 2008 refers to air_date LIKE '2008%'; 5 stars and below refers to stars < 5" ] }
{ "query": "How many episodes have the star score greater than 8?", "pos": [ "star score greater than 8 refers to stars > 8" ], "neg": [ "won the award refers to result = 'Winner'; in 2009 refers to year = 2009", "produced by Jason Bikowski refers to person = 'Jason Bikowski'", "winners refers to result = 'Winner'; higher than 1.75 meters refers to height_meters > 1.75; percentage = divide(sum(result = 'Winner' and height_meters > 1.75), count(result = 'Winner' )) * 100%\n", "average high = Divide(Sum(height_meters), Count(name))", "in 2009 refers to year = 2009; name of awarded character refers to character\n\n", "2 stars refers to stars = 2; 9 votes refers to votes = 9", "from Animation Department refers to category = 'Animation Department'; AVG(height_meters) where category = 'Animation Department'", "won refers to result = 'Winner'; first award refers to Min(year)", "episode \"Lisa the Drama Queen\" refers to title = 'Lisa the Drama Queen';", "highest vote refers to Max(votes); lowest vote refers to Min(votes); difference = Subtract(Max(votes), Min(votes))" ] }
{ "query": "What character did Dan Castellaneta play that won him an award for Outstanding Voice-Over Performance in 2009 in the Primetime Emmy Awards?", "pos": [ "\"Dan Castellaneta\" is the person; won refers to result = 'Winner'; 'Outstanding Voice-Over Performance' is the award; 'Primetime Emmy Awards' is the organization; in 2009 refers to year = 2009" ], "neg": [ "award winner refers to result = 'Winner'; 'USA' is the birth_country", "\"Dan Castellaneta\" is the person;  2009 is year;  won refers result = 'Winner'", "\"How the Test Was Won\" is the title of episode; not included in the credit refers to credited = ' '; name of person refers to person", "nominated episodes refers to result = 'Nominee'; percentage of votes = DIVIDE(SUM(result = 'Nominee), SUM(Votes)) as percentage", "largest number of votes refers to MAX(votes)", "average high = Divide(Sum(height_meters), Count(name))", "stars greater than the 70% of average stars refers to stars > multiply(avg(stars), 0.7)", "more than 100 votes refers to votes > 100", "is credited refers to credited = 'true';", "star score of 10 refers to stars = 10" ] }
{ "query": "Please indicate which writer has an episode star score greater than 5 in 2009.", "pos": [ "writer refers to role = 'writer'; star score greater than 5 refers to stars > 5; in 2009 refers to year = 2009" ], "neg": [ "in 2009 refers to year = 2009", "percentage = DIVIDE(SUM(stars = 5), COUNT(stars)) as percentage", "won refers to result = 'Winner'; 'Best Voice-Over Performance' is the award; ' Online Film & Television Association' is the organization; in 2009 refers to year = 2009", "episode 'Take My Life, Please' refers to title =   'Take My Life, Please'", "aired on 11/30/2008 refers to air_date = '11/30/2008'; win refers to result = 'Winner'", "\"How the Test Was Won\" is the title of episode; not included in the credit refers to credited = ' '; name of person refers to person", "received the most nomination refers to MAX(COUNT(episode_id))", "episodes from 10 to 20 refers to episode BETWEEN 10 and 20; more than 200 votes refers to COUNT(votes) > 200", "height refers to height_meters; not in credit list refers to credited = ''; category of casting refers to category = 'Casting Department'", "people from USA refers to birth_country = 'USA'; average height = AVG(height_meters)" ] }
{ "query": "How many episodes have more than 1000 votes?", "pos": [ "more than 1000 votes refers to votes > 1000" ], "neg": [ "\"Matt Groening\" is the person; 'In the Name of the Grandfather' is the title of episode; episode number refers to episode; series number refers to number_in_series", "won the award refers to result = 'Winner'; in 2009 refers to year = 2009", "between October and November 2008 refers to air_date BETWEEN '2008-10-01' and '2008-11-30'", "name refers to person; the role Smithers refers to character = 'Smithers'", "\"Los Angeles\" is the birth_place; 1.8 m and above in height refers to height_meters > = 1.8", "are not included in the credit list refers to credited = ''", "prospective recipients refers to result = 'Nominee'", "\"Dan Castellaneta\" is the person; won refers to result = 'Winner'; 'Outstanding Voice-Over Performance' is the award; 'Primetime Emmy Awards' is the organization; in 2009 refers to year = 2009", "in 2009 refers to year = 2009; name of awarded character refers to character\n\n", "voiced refers to role; role = 'Helen Lovejoy\"" ] }
{ "query": "Among the episodes aired in 2008 with votes ranges from 920 to 950, list their percent.", "pos": [ "aired in 2008 refers to air_date LIKE '2008%'; votes ranges from 920 to 950 refers to votes BETWEEN 920 AND 950" ], "neg": [ "have air date in 2008 refers to air_date LIKE '2008%'", "highest votes refers to max(votes); nominated refers to result = 'Nominee'", "co-executive producer refers to role = 'co-executive producer'; nominee of \"Outstanding Animated Program (For Programming Less Than One Hour)\" award refers to award = 'Outstanding Animated Program (For Programming Less Than One Hour)' and result = 'Nominee'", "\"How the Test Was Won\" is the title of episode; not included in the credit refers to credited = ' '; name of person refers to person", "in 2010 refers to year = 2010; nominations refers to result = 'Nominee'", "won refers to result = 'Winner'; in Primetime Emmy Awards refers to organization = 'Primetime Emmy Awards'; 2009 refers to year = 2009", "star score of 10 refers to stars = 10", "episode 426 refers to number_in_series = 426", "5th episode refers to episode = 5", "\"Billy Kimball\" is the person; award name refers to award; credited category refers to category; credited status refers to credited; credited = 'true' means the person is included in the credit list and vice versa" ] }
{ "query": "Write down the summary of episode whereby it has crew members that are not included in the credit list.", "pos": [ "are not included in the credit list refers to credited = ''" ], "neg": [ "have air date in 2008 refers to air_date LIKE '2008%'", "award winner refers to result = 'Winner'; 'USA' is the birth_country", "most recent refers to MAX(year); received refers to result = 'Winner'; name of award refers to award; category refers to award_category", "\"Dan Castellaneta\" is the person;  2009 is year;  won refers result = 'Winner'", "in 2010 refers to year = 2010; nominations refers to result = 'Nominee'", "held by Jupiter Award refers to organization = 'Jupiter Award'; won the award refers to result = 'Winner'", "from Animation Department refers to category = 'Animation Department'; AVG(height_meters) where category = 'Animation Department'", "additional timers refers to role = 'additional timer'; born in USA refers to birth_country = 'USA'", "rating below 7 refers to rating < 7", "more than 100 votes refers to votes > 100" ] }
{ "query": "Which episode id did award Outstanding Animated Program (For Programming Less Than One Hour) with an episode star score of 10?", "pos": [ "star score of 10 refers to stars = 10" ], "neg": [ "born in New York city refers to birth_region = 'New York'; born after year 1970 refers to ('%Y', birthdate) > 1970", "more than 100 votes refers to votes > 100", "co-executive producer refers to role = 'co-executive producer'; higher than 1.60 meters refers to height_meters > 1.60", "aired in 2008 refers to air_date like '2008%'; highest number of votes refers to MAX(votes); maximum star rating refers to stars = 10", "episode 'Take My Life, Please' refers to title =   'Take My Life, Please'", "in 2009 refers to year = 2009; name of awarded character refers to character\n\n", "won refers to result = 'Winner'; first award refers to Min(year)", "episode \"Lisa the Drama Queen\" refers to title = 'Lisa the Drama Queen';", "\"Billy Kimball\" is the person; award name refers to award; credited category refers to category; credited status refers to credited; credited = 'true' means the person is included in the credit list and vice versa", "percentage = DIVIDE(SUM(stars = 5), COUNT(stars)) as percentage" ] }
{ "query": "What is the percentage of star score 5 that was collected by title \"Sex, Pies and Idiot Scrapes\"?", "pos": [ "percentage = DIVIDE(SUM(stars = 5), COUNT(stars)) as percentage" ], "neg": [ "nominated refers to result = 'Nominee'; Annie Awards refers to organization = 'Annie Awards'; percent greater than 6 refers to percent > 6", "aired in 2008 refers to air_date like '2008%'; highest number of votes refers to MAX(votes); maximum star rating refers to stars = 10", "average awards winning rate refers to DIVIDE(SUM(result = 'winner'), COUNT(award));", "writer refers to role = 'Writer'; most 10 star votes refers to max(votes) where stars = 10", "\"Dan Castellaneta\" is the person;  2009 is year;  won refers result = 'Winner'", "\"New York\" is the birth_place; 'USA' is the birth_region", "award winner refers to result = 'Winner'; 'USA' is the birth_country", "\"Los Angeles\" is the birth_place; 1.8 m and above in height refers to height_meters > = 1.8", "voice over for and was awarded refers to award like '%Voice-Over%';", "website address refers to episode_image" ] }
{ "query": "How old was the awardee when he/she won the first-ever award for Outstanding Voice-Over Performance in Primetime Emmy Awards?", "pos": [ "\"Outstanding Voice-Over Performance\" is the award; 'Primetime Emmy Awards' is the organization; awardee refers to result = 'Winner'; first ever award refers to Min(year); age at the time of awarded refers to Subtract(year, SUBSTR(birthdate, 0, 5))" ], "neg": [ "star score of 10 refers to stars = 10", "information about the music department refers to category = 'Music Department'", "in 2010 refers to year = 2010; winning rate refers to DIVIDE(COUNT(result = 'winner'), COUNT(*));", "born before 1970 refers to birthdate < '1970-01-01'", "prospective recipients refers to result = 'Nominee'", "director refers to role = 'director'", "born in New York city refers to birth_region = 'New York'; born after year 1970 refers to ('%Y', birthdate) > 1970", "produced by Jason Bikowski refers to person = 'Jason Bikowski'", "highest vote refers to Max(votes); lowest vote refers to Min(votes); difference = Subtract(Max(votes), Min(votes))", "more than 100 votes refers to votes > 100" ] }
{ "query": "How many crew members who were born in the USA were nominated for the Outstanding Animated Program (For Programming Less Than One Hour) award in 2009?", "pos": [ "born in USA refers to birth_country = 'USA'; were nominated refers to result = 'Nominee'; 'Outstanding Animated Program (For Programming Less Than One Hour)' is the award; in 2009 refers to year = 2009" ], "neg": [ "In 2010 refers to year = 2010", "in 2009 refers to year = 2009", "\"Billy Kimball\" is the person; award name refers to award; credited category refers to category; credited status refers to credited; credited = 'true' means the person is included in the credit list and vice versa", "5 stars votes refers to stars = 5 ; 'No Loan Again, Naturally' and 'Coming to Homerica' are both the title of episode;  ratio = Divide (votes where title = 'No Loan Again, Naturally', votes where title = 'Coming to Homerica')", "aired in 2008 refers to air_date like '2008%'; highest number of votes refers to MAX(votes); maximum star rating refers to stars = 10", "won refers to result = 'Winner'; in 2017 refers to year = 2017", "percentage = DIVIDE(SUM(stars = 5), COUNT(stars)) as percentage", "writer refers to role = 'writer'; star score greater than 5 refers to stars > 5; in 2009 refers to year = 2009", "stars score of 10 at 30% and above refers to stars = 10 and percent > 29", "nominated episodes refers to result = 'Nominee'; percentage of votes = DIVIDE(SUM(result = 'Nominee), SUM(Votes)) as percentage" ] }
{ "query": "List the name of persons who were not included in the credit for the 'How the Test Was Won' episode.", "pos": [ "\"How the Test Was Won\" is the title of episode; not included in the credit refers to credited = ' '; name of person refers to person" ], "neg": [ "star score greater than 8 refers to stars > 8", "\n\nawarded category refers to award_category", "taller than 1.70m refers to height_meters > 1.70; born in Canada refers to birth_country = 'Canada'", "people from USA refers to birth_country = 'USA'; average height = AVG(height_meters)", "co-executive producer refers to role = 'co-executive producer'; nominee of \"Outstanding Animated Program (For Programming Less Than One Hour)\" award refers to award = 'Outstanding Animated Program (For Programming Less Than One Hour)' and result = 'Nominee'", "award winner refers to result = 'Winner'; 'USA' is the birth_country", "are not included in the credit list refers to credited = ''", "won refers to result = 'Winner'; 'Best Voice-Over Performance' is the award; ' Online Film & Television Association' is the organization; in 2009 refers to year = 2009", "winners refers to result = 'Winner'; higher than 1.75 meters refers to height_meters > 1.75; percentage = divide(sum(result = 'Winner' and height_meters > 1.75), count(result = 'Winner' )) * 100%\n", "\"Dell Hake\" is the person; not included in the credit list refers to credited = ''" ] }
{ "query": "How many episodes was Dell Hake not included in the credit list?", "pos": [ "\"Dell Hake\" is the person; not included in the credit list refers to credited = ''" ], "neg": [ "in 2009 refers to year = 2009; name of awarded character refers to character\n\n", "best rating scale refers to stars = 10", "most recent refers to MAX(year); received refers to result = 'Winner'; name of award refers to award; category refers to award_category", "\"Marc Wilmore\" is the name of person", "\"riot\" and \"cake\" are both keyword", "episode 426 refers to number_in_series = 426", "born in New York city refers to birth_region = 'New York'; born after year 1970 refers to ('%Y', birthdate) > 1970", "2 stars refers to stars = 2; 9 votes refers to votes = 9", "won refers to result = 'Winner'; in Primetime Emmy Awards refers to organization = 'Primetime Emmy Awards'; 2009 refers to year = 2009", "episode \"Lisa the Drama Queen\" refers to title = 'Lisa the Drama Queen';" ] }
{ "query": "What is the title of the episode that received the lowest rating?", "pos": [ "lowest rating refers to Min(rating)" ], "neg": [ "\"New York\" is the birth_place; 'USA' is the birth_region", "more than 100 votes refers to votes > 100", "held by Jupiter Award refers to organization = 'Jupiter Award'; won the award refers to result = 'Winner'", "stars greater than the 70% of average stars refers to stars > multiply(avg(stars), 0.7)", "in 2009 refers to year = 2009", "\"Los Angeles\" is the birth_place; 1.8 m and above in height refers to height_meters > = 1.8", "nominated refers to result = 'Nominee'; highest number of nominated award refers to Max(Count(person))", "people from USA refers to birth_country = 'USA'; average height = AVG(height_meters)", "highest votes refers to max(votes); nominated refers to result = 'Nominee'", "\"Favorite Animated Comedy\" is the award; 'People's Choice Award' is the award_category; received award refers to result = 'Winner'; first ever award refers to Min(year)" ] }
{ "query": "How many of the crew members who are taller than 1.70m were born in Canada?", "pos": [ "taller than 1.70m refers to height_meters > 1.70; born in Canada refers to birth_country = 'Canada'" ], "neg": [ "won refers to result = 'Winner'; in 2017 refers to year = 2017", "from Animation Department refers to category = 'Animation Department'; AVG(height_meters) where category = 'Animation Department'", "largest number of votes refers to MAX(votes)", "stars score of 10 at 30% and above refers to stars = 10 and percent > 29", "voiced refers to role; role = 'Helen Lovejoy\"", "highest votes refers to max(votes); nominated refers to result = 'Nominee'", "won refers to result = 'Winner'; in Primetime Emmy Awards refers to organization = 'Primetime Emmy Awards'; 2009 refers to year = 2009", "\"Matt Groening\" is the person; 'In the Name of the Grandfather' is the title of episode; episode number refers to episode; series number refers to number_in_series", "nominated episodes refers to result = 'Nominee'; percentage of votes = DIVIDE(SUM(result = 'Nominee), SUM(Votes)) as percentage", "won refers to result = 'Winner'; 'Best Voice-Over Performance' is the award; ' Online Film & Television Association' is the organization; in 2009 refers to year = 2009" ] }
{ "query": "List down the rating of episodes that were produced by Jason Bikowski.", "pos": [ "produced by Jason Bikowski refers to person = 'Jason Bikowski'" ], "neg": [ "additional timers refers to role = 'additional timer'; born in USA refers to birth_country = 'USA'", "worst rated episode refers to MIN(rating)", "won refers to result = 'Winner'; first award refers to Min(year)", "award won refers to result = 'Winner'", "credited cast refers to category = 'Cast' and  credited = 'true'; episode \"In the Name of the Grandfather\" refers to title = 'In the Name of the Grandfather'", "\"The Tiny Canadian\" refers to nickname = 'The Tiny Canadian'; play as in the show refers to role\n", "\"Primetime Emmy' is the award_category;  rating over 7 refers to rating > 7; nominated refers to result = 'Nominee'; percentage = Divide(Count(episode_id(award_category = 'Primetime Emmy')), Count (episode_id)) * 100", "\"Favorite Animated Comedy\" is the award; 'People's Choice Award' is the award_category; received award refers to result = 'Winner'; first ever award refers to Min(year)", "in 2009 refers to year = 2009", "2 stars refers to stars = 2; 9 votes refers to votes = 9" ] }
{ "query": "Among the episodes which have star score less than 8, how many episodes were aired in 2009?", "pos": [ "star score less than 8 refers to stars < 8; aired in 2009 refers to air_date LIKE '2009%'" ], "neg": [ "more than 1000 votes refers to votes > 1000", "won refers to result = 'Winner'; first award refers to Min(year)", "5 stars refers to stars = 5; nominated refers to result = 'Nominee'; Prism Award refers to award_category = 'Prism Award'; on April 19 2009 refers to air_date = '2009-04-19'", "oldest refers to Min(birthdate)", "won refers to result = 'Winner'; in 2017 refers to year = 2017", "average high = Divide(Sum(height_meters), Count(name))", "star score of 10 refers to stars = 10", "born in USA refers to birth_country = 'USA'; were nominated refers to result = 'Nominee'; 'Outstanding Animated Program (For Programming Less Than One Hour)' is the award; in 2009 refers to year = 2009", "aired in 2008 refers to air_date like '2008%'; highest number of votes refers to MAX(votes); maximum star rating refers to stars = 10", "additional timers refers to role = 'additional timer'; born in USA refers to birth_country = 'USA'" ] }
{ "query": "In 2010, which episode did Joel H. Cohen win an award for?", "pos": [ "In 2010 refers to year = 2010" ], "neg": [ "from Animation Department refers to category = 'Animation Department'; AVG(height_meters) where category = 'Animation Department'", "star score less than 8 refers to stars < 8; aired in 2009 refers to air_date LIKE '2009%'", "highest votes refers to max(votes); nominated refers to result = 'Nominee'", "\"The Tiny Canadian\" refers to nickname = 'The Tiny Canadian'; play as in the show refers to role\n", "\"Marc Wilmore\" is the name of person", "born in the USA refers to birth_country = 'USA'", "people from USA refers to birth_country = 'USA'; average height = AVG(height_meters)", "won refers to result = 'Winner'; in Primetime Emmy Awards refers to organization = 'Primetime Emmy Awards'; 2009 refers to year = 2009", "won refers to result = 'Winner'; 'Best Voice-Over Performance' is the award; ' Online Film & Television Association' is the organization; in 2009 refers to year = 2009", "between October and November 2008 refers to air_date BETWEEN '2008-10-01' and '2008-11-30'" ] }
{ "query": "How many crew have their own nickname? List their full name along with the nickname.", "pos": [ "crew refers to Person; full name refers to name; have nickname refers to nickname IS NOT NULL" ], "neg": [ "star score of 10 refers to stars = 10", "worst rated episode refers to MIN(rating)", "people from USA refers to birth_country = 'USA'; average height = AVG(height_meters)", "winners refers to result = 'Winner'; in OFTA Television Award and WGA Award (TV) refers to award = 'OFTA Television Award' and award = 'WGA Award (TV)'", "taller than 1.70m refers to height_meters > 1.70; born in Canada refers to birth_country = 'Canada'", "aired in 2008 refers to air_date LIKE '2008%'; votes ranges from 920 to 950 refers to votes BETWEEN 920 AND 950", "between October and November 2008 refers to air_date BETWEEN '2008-10-01' and '2008-11-30'", "average high = Divide(Sum(height_meters), Count(name))", "WGA Award (TV) award refers to award_category = 'WGA Award (TV)'; born in the USA refers to birth_country = 'USA'; from 2009 to 2010 refers to birthdate BETWEEN '2019-01-01' and '2019-12-31'", "\"Dell Hake\" is the person; not included in the credit list refers to credited = ''" ] }
{ "query": "What are the keywords for episode 426 of the series?", "pos": [ "episode 426 refers to number_in_series = 426" ], "neg": [ "highest votes refers to max(votes); nominated refers to result = 'Nominee'", "credited cast refers to category = 'Cast' and  credited = 'true'; episode \"In the Name of the Grandfather\" refers to title = 'In the Name of the Grandfather'", "episode 'Take My Life, Please' refers to title =   'Take My Life, Please'", "in November 2008 refers to air_date LIKE '2008-11%'", "more than 100 votes refers to votes > 100", "aired between October to November refers to strftime('%m', air_date) between '10' and '11';", "WGA Award (TV) award refers to award_category = 'WGA Award (TV)'; born in the USA refers to birth_country = 'USA'; from 2009 to 2010 refers to birthdate BETWEEN '2019-01-01' and '2019-12-31'", "in 2010 refers to year = 2010; nominations refers to result = 'Nominee'", "highest number of vote of the star score refers to max(votes)", "5 stars refers to stars = 5; nominated refers to result = 'Nominee'; Prism Award refers to award_category = 'Prism Award'; on April 19 2009 refers to air_date = '2009-04-19'" ] }
{ "query": "How many 1 star ratings are there in the worst rated episode of the season?", "pos": [ "worst rated episode refers to MIN(rating)" ], "neg": [ "aired in 2008 refers to air_date LIKE '2008%'; 5 stars and below refers to stars < 5", "\"The Tiny Canadian\" refers to nickname = 'The Tiny Canadian'; play as in the show refers to role\n", "director refers to role = 'director'", "star score greater than 8 refers to stars > 8", "between October and November 2008 refers to air_date BETWEEN '2008-10-01' and '2008-11-30'", "stars score of 10 at 30% and above refers to stars = 10 and percent > 29", "in Season 20 Episode 11 refers to episode_id = 'S20-E11'; 'Doofus' is the nickname of person; include in credit list refers to credited = 'true'", "star score greater than 5 refers to stars > 5; have air date in 2008 refers to air_date LIKE '2008%'", "born in USA refers to birth_country = 'USA'; were nominated refers to result = 'Nominee'; 'Outstanding Animated Program (For Programming Less Than One Hour)' is the award; in 2009 refers to year = 2009", "star score of 10 refers to stars = 10" ] }
{ "query": "Which country has the tallest person in the crew?", "pos": [ "country refers to birth_country; tallest person refers to max(height_meters)" ], "neg": [ "between October and November 2008 refers to air_date BETWEEN '2008-10-01' and '2008-11-30'", "nominees refers to result = 'Nominee'; born in USA refers to birth_country = 'USA'; percentage = divide(sum(result = 'Nominee' and birth_country = 'USA'), count(Person.name)) * 100%", "episodes from 10 to 20 refers to episode BETWEEN 10 and 20; more than 200 votes refers to COUNT(votes) > 200", "winner refers to result = 'Winner'; Best International TV Series in 2017 refers to award = 'Best International TV Series' and year = '2017'\n\n", "received the most nomination refers to MAX(COUNT(episode_id))", "aired on 11/30/2008 refers to air_date = '11/30/2008'; win refers to result = 'Winner'", "episode \"Lisa the Drama Queen\" refers to title = 'Lisa the Drama Queen';", "information about the music department refers to category = 'Music Department'", "average high = Divide(Sum(height_meters), Count(name))", "people from USA refers to birth_country = 'USA'; average height = AVG(height_meters)" ] }
{ "query": "Among the episodes which have star score greater than 5, how many episodes have air date in 2008?", "pos": [ "star score greater than 5 refers to stars > 5; have air date in 2008 refers to air_date LIKE '2008%'" ], "neg": [ "\"Primetime Emmy' is the award_category;  rating over 7 refers to rating > 7; nominated refers to result = 'Nominee'; percentage = Divide(Count(episode_id(award_category = 'Primetime Emmy')), Count (episode_id)) * 100", "\"Dan Castellaneta\" is the person;  2009 is year;  won refers result = 'Winner'", "co-executive producer refers to role = 'co-executive producer'; higher than 1.60 meters refers to height_meters > 1.60", "writer refers to role = 'writer'; star score greater than 5 refers to stars > 5; in 2009 refers to year = 2009", "in Season 20 Episode 11 refers to episode_id = 'S20-E11'; 'Doofus' is the nickname of person; include in credit list refers to credited = 'true'", "percentage = DIVIDE(SUM(stars = 5), COUNT(stars)) as percentage", "\n\nawarded category refers to award_category", "\"Pamela Hayden\" is the person; voice the character 'Ruthie' refers to role = 'Ruthie'", "produced by Jason Bikowski refers to person = 'Jason Bikowski'", "\"riot\" and \"cake\" are both keyword" ] }
{ "query": "What are the keywords of the episodes which have the air date in 2008?", "pos": [ "have air date in 2008 refers to air_date LIKE '2008%'" ], "neg": [ "director refers to role = 'director'", "highest vote refers to Max(votes); lowest vote refers to Min(votes); difference = Subtract(Max(votes), Min(votes))", "episodes from 10 to 20 refers to episode BETWEEN 10 and 20; more than 200 votes refers to COUNT(votes) > 200", "from Animation Department refers to category = 'Animation Department'; AVG(height_meters) where category = 'Animation Department'", "won the award refers to result = 'Winner'; in 2009 refers to year = 2009", "star score less than 8 refers to stars < 8; aired in 2009 refers to air_date LIKE '2009%'", "country refers to birth_country; tallest person refers to max(height_meters)", "won refers to result = 'Winner'; first award refers to Min(year)", "stars greater than the 70% of average stars refers to stars > multiply(avg(stars), 0.7)", "average high = Divide(Sum(height_meters), Count(name))" ] }
{ "query": "What is the episode ID that received 2 stars and 9 votes?", "pos": [ "2 stars refers to stars = 2; 9 votes refers to votes = 9" ], "neg": [ "\"riot\" and \"cake\" are both keyword", "produced by Jason Bikowski refers to person = 'Jason Bikowski'", "aired on 3/22/2009 refers to air_date = '2009-03-22'", "between the episode 5 and 10 of season 20 refers to episode_id IN('S20-E5', 'S20-E6', 'S20-E7', 'S20-E8', 'S20-E9', 'S20-E10'); credited refers to credited = 'true'; for casting refers to role = 'casting'", "episode 426 refers to number_in_series = 426", "winner refers to result = 'Winner'; Best International TV Series in 2017 refers to award = 'Best International TV Series' and year = '2017'\n\n", "nominated episodes refers to result = 'Nominee'; percentage of votes = DIVIDE(SUM(result = 'Nominee), SUM(Votes)) as percentage", "website address refers to episode_image", "additional timers refers to role = 'additional timer'; born in USA refers to birth_country = 'USA'", "taller than 1.70m refers to height_meters > 1.70; born in Canada refers to birth_country = 'Canada'" ] }
{ "query": "Calculate the total rating of winners in OFTA Television Award and WGA Award (TV).", "pos": [ "winners refers to result = 'Winner'; in OFTA Television Award and WGA Award (TV) refers to award = 'OFTA Television Award' and award = 'WGA Award (TV)'" ], "neg": [ "winners refers to result = 'Winner'; higher than 1.75 meters refers to height_meters > 1.75; percentage = divide(sum(result = 'Winner' and height_meters > 1.75), count(result = 'Winner' )) * 100%\n", "highest vote refers to Max(votes); lowest vote refers to Min(votes); difference = Subtract(Max(votes), Min(votes))", "in 2009 refers to year = 2009", "people from USA refers to birth_country = 'USA'; average height = AVG(height_meters)", "aired between October to November refers to strftime('%m', air_date) between '10' and '11';", "aired in 2008 refers to air_date like '2008%'; highest number of votes refers to MAX(votes); maximum star rating refers to stars = 10", "taller than 1.70m refers to height_meters > 1.70; born in Canada refers to birth_country = 'Canada'", "episodes that have received more 7-star votes than the season average refers to votes > DIVIDE(SUM(votes), COUNT(stars = 7))", "being nominated refers to result = 'Nominee'; percentage = divide(count(result = 'Nominee'), count(result)) * 100%", "in 2010 refers to year = 2010; winning rate refers to DIVIDE(COUNT(result = 'winner'), COUNT(*));" ] }
{ "query": "In Season 20 Episode 11, how many times was Doofus included in the credit list?", "pos": [ "in Season 20 Episode 11 refers to episode_id = 'S20-E11'; 'Doofus' is the nickname of person; include in credit list refers to credited = 'true'" ], "neg": [ "voice over for and was awarded refers to award like '%Voice-Over%';", "best rating scale refers to stars = 10", "star score greater than 5 refers to stars > 5; have air date in 2008 refers to air_date LIKE '2008%'", "scores 5 to 10 refers to TOTAL(percent) where 1 < = stars < 5", "largest number of votes refers to MAX(votes)", "co-executive producer refers to role = 'co-executive producer'; nominee of \"Outstanding Animated Program (For Programming Less Than One Hour)\" award refers to award = 'Outstanding Animated Program (For Programming Less Than One Hour)' and result = 'Nominee'", "additional timers refers to role = 'additional timer'; born in USA refers to birth_country = 'USA'", "produced by Jason Bikowski refers to person = 'Jason Bikowski'", "\"Dan Castellaneta\" is the person; won refers to result = 'Winner'; 'Outstanding Voice-Over Performance' is the award; 'Primetime Emmy Awards' is the organization; in 2009 refers to year = 2009", "in 2010 refers to year = 2010; nominations refers to result = 'Nominee'" ] }
{ "query": "Please list the names of all the awards won by the crew member whose nickname is Doofus.", "pos": [ "award won refers to result = 'Winner'" ], "neg": [ "nominated episodes refers to result = 'Nominee'; percentage of votes = DIVIDE(SUM(result = 'Nominee), SUM(Votes)) as percentage", "being nominated refers to result = 'Nominee'; percentage = divide(count(result = 'Nominee'), count(result)) * 100%", "website address refers to episode_image", "stars score of 10 at 30% and above refers to stars = 10 and percent > 29", "5th episode refers to episode = 5", "lowest rating refers to Min(rating)", "more than 200 votes refer to votes > 200; composer refers to role = 'composer'; Outstanding Music Composition for a Series (Original Dramatic Score) refers to award = 'Outstanding Music Composition for a Series (Original Dramatic Score)'", "voiced refers to role; role = 'Helen Lovejoy\"", "\n\nawarded category refers to award_category", "\"Matt Groening\" is the person; 'In the Name of the Grandfather' is the title of episode; episode number refers to episode; series number refers to number_in_series" ] }
{ "query": "What was the character that Dan Castellaneta did the voice over for and was awarded?", "pos": [ "voice over for and was awarded refers to award like '%Voice-Over%';" ], "neg": [ "episode S20-E1, S20-E2 & S20-E3 refers to episode_id = 'S20-E1' and episode_id = 'S20-E2' and episode_id = 'S20-E3'", "from countries other than the USA refers to birth_country ! = 'USA'", "produced by Jason Bikowski refers to person = 'Jason Bikowski'", "won refers to result = 'Winner'; 'Best Voice-Over Performance' is the award; ' Online Film & Television Association' is the organization; in 2009 refers to year = 2009", "more than 100 votes refers to votes > 100", "average high = Divide(Sum(height_meters), Count(name))", "\"Pamela Hayden\" is the person; voice the character 'Ruthie' refers to role = 'Ruthie'", "\"How the Test Was Won\" is the title of episode; not included in the credit refers to credited = ' '; name of person refers to person", "credited cast refers to category = 'Cast' and  credited = 'true'; episode \"In the Name of the Grandfather\" refers to title = 'In the Name of the Grandfather'", "\"Primetime Emmy' is the award_category;  rating over 7 refers to rating > 7; nominated refers to result = 'Nominee'; percentage = Divide(Count(episode_id(award_category = 'Primetime Emmy')), Count (episode_id)) * 100" ] }
{ "query": "In episode nominated in Annie Awards, how many of the episodes have a percent greater than 6?", "pos": [ "nominated refers to result = 'Nominee'; Annie Awards refers to organization = 'Annie Awards'; percent greater than 6 refers to percent > 6" ], "neg": [ "have air date in 2008 refers to air_date LIKE '2008%'", "\"Favorite Animated Comedy\" is the award; 'People's Choice Award' is the award_category; received award refers to result = 'Winner'; first ever award refers to Min(year)", "co-executive producer refers to role = 'co-executive producer'; higher than 1.60 meters refers to height_meters > 1.60", "produced by Jason Bikowski refers to person = 'Jason Bikowski'", "taller than 1.70m refers to height_meters > 1.70; born in Canada refers to birth_country = 'Canada'", "aired on 3/22/2009 refers to air_date = '2009-03-22'", "voiced refers to role; role = 'Helen Lovejoy\"", "stars greater than the 70% of average stars refers to stars > multiply(avg(stars), 0.7)", "\"Los Angeles\" is the birth_place; 1.8 m and above in height refers to height_meters > = 1.8", "in 2009 refers to year = 2009" ] }
{ "query": "How many votes of 5-star did the episode \"Lisa the Drama Queen\" receive?", "pos": [ "episode \"Lisa the Drama Queen\" refers to title = 'Lisa the Drama Queen';" ], "neg": [ "average awards winning rate refers to DIVIDE(SUM(result = 'winner'), COUNT(award));", "in 2009 refers to year = 2009", "won the award refers to result = 'Winner'; in 2009 refers to year = 2009", "co-executive producer refers to role = 'co-executive producer'; higher than 1.60 meters refers to height_meters > 1.60", "from countries other than the USA refers to birth_country ! = 'USA'", "voiced refers to role; role = 'Helen Lovejoy\"", "average high = Divide(Sum(height_meters), Count(name))", "star score of 10 refers to stars = 10", "produced by Jason Bikowski refers to person = 'Jason Bikowski'", "In 2010 refers to year = 2010" ] }
{ "query": "List down the title of episode S20-E1, S20-E2 & S20-E3.", "pos": [ "episode S20-E1, S20-E2 & S20-E3 refers to episode_id = 'S20-E1' and episode_id = 'S20-E2' and episode_id = 'S20-E3'" ], "neg": [ "\"Marc Wilmore\" is the name of person", "\"Favorite Animated Comedy\" is the award; 'People's Choice Award' is the award_category; received award refers to result = 'Winner'; first ever award refers to Min(year)", "taller than 1.70m refers to height_meters > 1.70; born in Canada refers to birth_country = 'Canada'", "aired on 3/22/2009 refers to air_date = '2009-03-22'", "winner refers to result = 'Winner'; Best International TV Series in 2017 refers to award = 'Best International TV Series' and year = '2017'\n\n", "aired in 2008 refers to air_date like '2008%'; highest number of votes refers to MAX(votes); maximum star rating refers to stars = 10", "born in USA refers to birth_country = 'USA'; were nominated refers to result = 'Nominee'; 'Outstanding Animated Program (For Programming Less Than One Hour)' is the award; in 2009 refers to year = 2009", "credited cast refers to category = 'Cast' and  credited = 'true'; episode \"In the Name of the Grandfather\" refers to title = 'In the Name of the Grandfather'", "writer refers to role = 'Writer'; most 10 star votes refers to max(votes) where stars = 10", "held by Jupiter Award refers to organization = 'Jupiter Award'; won the award refers to result = 'Winner'" ] }
{ "query": "Which title is the winner of Best International TV Series in 2017?", "pos": [ "winner refers to result = 'Winner'; Best International TV Series in 2017 refers to award = 'Best International TV Series' and year = '2017'\n\n" ], "neg": [ "award won refers to result = 'Winner'", "episodes from 10 to 20 refers to episode BETWEEN 10 and 20; more than 200 votes refers to COUNT(votes) > 200", "more than 100 votes refers to votes > 100", "name refers to person; the role Smithers refers to character = 'Smithers'", "\"Dan Castellaneta\" is the person; won refers to result = 'Winner'; 'Outstanding Voice-Over Performance' is the award; 'Primetime Emmy Awards' is the organization; in 2009 refers to year = 2009", "born in New York city refers to birth_region = 'New York'; born after year 1970 refers to ('%Y', birthdate) > 1970", "won refers to result = 'Winner'; in Primetime Emmy Awards refers to organization = 'Primetime Emmy Awards'; 2009 refers to year = 2009", "nominated episodes refers to result = 'Nominee'; percentage of votes = DIVIDE(SUM(result = 'Nominee), SUM(Votes)) as percentage", "won the award refers to result = 'Winner'; in 2009 refers to year = 2009", "voice over for and was awarded refers to award like '%Voice-Over%';" ] }
{ "query": "What is the total number of episode with a rating below 7?", "pos": [ "rating below 7 refers to rating < 7" ], "neg": [ "produced by Jason Bikowski refers to person = 'Jason Bikowski'", "stars score of 10 at 30% and above refers to stars = 10 and percent > 29", "prospective recipients refers to result = 'Nominee'", "being nominated refers to result = 'Nominee'; percentage = divide(count(result = 'Nominee'), count(result)) * 100%", "\"Dan Castellaneta\" is the person;  2009 is year;  won refers result = 'Winner'", "between the episode 5 and 10 of season 20 refers to episode_id IN('S20-E5', 'S20-E6', 'S20-E7', 'S20-E8', 'S20-E9', 'S20-E10'); credited refers to credited = 'true'; for casting refers to role = 'casting'", "award won refers to result = 'Winner'", "are not included in the credit list refers to credited = ''", "more than 100 votes refers to votes > 100", "star score of 10 refers to stars = 10" ] }
{ "query": "List the name of all awards along with the award category, nominated by Marc Wilmore.", "pos": [ "\"Marc Wilmore\" is the name of person" ], "neg": [ "people from USA refers to birth_country = 'USA'; average height = AVG(height_meters)", "nominated episodes refers to result = 'Nominee'; percentage of votes = DIVIDE(SUM(result = 'Nominee), SUM(Votes)) as percentage", "website address refers to episode_image", "highest vote refers to Max(votes); lowest vote refers to Min(votes); difference = Subtract(Max(votes), Min(votes))", "\"Pamela Hayden\" is the person; voice the character 'Ruthie' refers to role = 'Ruthie'", "\"Primetime Emmy' is the award_category;  rating over 7 refers to rating > 7; nominated refers to result = 'Nominee'; percentage = Divide(Count(episode_id(award_category = 'Primetime Emmy')), Count (episode_id)) * 100", "writer refers to role = 'writer'; star score greater than 5 refers to stars > 5; in 2009 refers to year = 2009", "\"How the Test Was Won\" is the title of episode; not included in the credit refers to credited = ' '; name of person refers to person", "highest votes refers to max(votes); to Carlton Batten refers to person = 'Carlton Batten'", "aired in 2008 refers to air_date LIKE '2008%'; votes ranges from 920 to 950 refers to votes BETWEEN 920 AND 950" ] }
{ "query": "In between the episode 5 and10 of season 2, how many of them are credited for casting?", "pos": [ "between the episode 5 and 10 of season 20 refers to episode_id IN('S20-E5', 'S20-E6', 'S20-E7', 'S20-E8', 'S20-E9', 'S20-E10'); credited refers to credited = 'true'; for casting refers to role = 'casting'" ], "neg": [ "aired in 2008 refers to air_date like '2008%'; highest number of votes refers to MAX(votes); maximum star rating refers to stars = 10", "director refers to role = 'director'", "percentage = DIVIDE(SUM(stars = 5), COUNT(stars)) as percentage", "\"Pamela Hayden\" is the person; voice the character 'Ruthie' refers to role = 'Ruthie'", "aired on 11/30/2008 refers to air_date = '11/30/2008'; win refers to result = 'Winner'", "aired in 2008 refers to air_date LIKE '2008%'; 5 stars and below refers to stars < 5", "writer refers to role = 'Writer'; most 10 star votes refers to max(votes) where stars = 10", "in 2010 refers to year = 2010; winning rate refers to DIVIDE(COUNT(result = 'winner'), COUNT(*));", "\"Los Angeles\" is the birth_place; 1.8 m and above in height refers to height_meters > = 1.8", "star score greater than 5 refers to stars > 5; have air date in 2008 refers to air_date LIKE '2008%'" ] }
{ "query": "What is the percentage of Primetime Emmy nominated episodes with a rating over 7 to all the episodes that have a rating over 7?", "pos": [ "\"Primetime Emmy' is the award_category;  rating over 7 refers to rating > 7; nominated refers to result = 'Nominee'; percentage = Divide(Count(episode_id(award_category = 'Primetime Emmy')), Count (episode_id)) * 100" ], "neg": [ "aired between October to November refers to strftime('%m', air_date) between '10' and '11';", "star score less than 8 refers to stars < 8; aired in 2009 refers to air_date LIKE '2009%'", "lowest rating refers to Min(rating)", "won refers to result = 'Winner'; first award refers to Min(year)", "\"Dan Castellaneta\" is the person; won refers to result = 'Winner'; 'Outstanding Voice-Over Performance' is the award; 'Primetime Emmy Awards' is the organization; in 2009 refers to year = 2009", "stars score of 10 at 30% and above refers to stars = 10 and percent > 29", "people from USA refers to birth_country = 'USA'; average height = AVG(height_meters)", "Outstanding Voice-Over Performance refers to award = 'Outstanding Voice-Over Performance'; who won refers to result = 'Winner'; Emmy refers to organization = 'Primetime Emmy Awards'; playing Homer simpson 20 refers to character = 'Homer simpson 20'", "\"How the Test Was Won\" is the title of episode; not included in the credit refers to credited = ' '; name of person refers to person", "most recent refers to MAX(year); received refers to result = 'Winner'; name of award refers to award; category refers to award_category" ] }
{ "query": "What is the title of episode that has a keyword of 'riot' and 'cake'?", "pos": [ "\"riot\" and \"cake\" are both keyword" ], "neg": [ "average high = Divide(Sum(height_meters), Count(name))", "in 2009 refers to year = 2009", "information about the music department refers to category = 'Music Department'", "WGA Award (TV) award refers to award_category = 'WGA Award (TV)'; born in the USA refers to birth_country = 'USA'; from 2009 to 2010 refers to birthdate BETWEEN '2019-01-01' and '2019-12-31'", "country refers to birth_country; tallest person refers to max(height_meters)", "\"Take My Life,Please\" is the title of episode", "additional timers refers to role = 'additional timer'; born in USA refers to birth_country = 'USA'", "\"New York\" is the birth_place; 'USA' is the birth_region", "stars score of 10 at 30% and above refers to stars = 10 and percent > 29", "nominated for Primetime Emmy Award but did not win refers to award_category = 'Primetime Emmy' and result = 'Nominee';  from 2009 to 2010 refers to year > = '2009' and  year < = '2010'" ] }
{ "query": "What percentage of votes are from the nominated episodes?", "pos": [ "nominated episodes refers to result = 'Nominee'; percentage of votes = DIVIDE(SUM(result = 'Nominee), SUM(Votes)) as percentage" ], "neg": [ "held by Jupiter Award refers to organization = 'Jupiter Award'; won the award refers to result = 'Winner'", "writer refers to role = 'Writer'; most 10 star votes refers to max(votes) where stars = 10", "winners refers to result = 'Winner'; in OFTA Television Award and WGA Award (TV) refers to award = 'OFTA Television Award' and award = 'WGA Award (TV)'", "in 2010 refers to year = 2010; nominations refers to result = 'Nominee'", "website address refers to episode_image", "born in the USA refers to birth_country = 'USA'", "co-executive producer refers to role = 'co-executive producer'; nominee of \"Outstanding Animated Program (For Programming Less Than One Hour)\" award refers to award = 'Outstanding Animated Program (For Programming Less Than One Hour)' and result = 'Nominee'", "\"Primetime Emmy' is the award_category;  rating over 7 refers to rating > 7; nominated refers to result = 'Nominee'; percentage = Divide(Count(episode_id(award_category = 'Primetime Emmy')), Count (episode_id)) * 100", "highest vote refers to Max(votes); lowest vote refers to Min(votes); difference = Subtract(Max(votes), Min(votes))", "\"Outstanding Voice-Over Performance\" is the award; 'Primetime Emmy Awards' is the organization; awardee refers to result = 'Winner'; first ever award refers to Min(year); age at the time of awarded refers to Subtract(year, SUBSTR(birthdate, 0, 5))" ] }
{ "query": "State the number of votes for episode with rating of 7 and above.", "pos": [ "rating of 7 and above refers to rating > 7.0" ], "neg": [ "\"Dan Castellaneta\" is the person;  2009 is year;  won refers result = 'Winner'", "Outstanding Voice-Over Performance refers to award = 'Outstanding Voice-Over Performance'; who won refers to result = 'Winner'; Emmy refers to organization = 'Primetime Emmy Awards'; playing Homer simpson 20 refers to character = 'Homer simpson 20'", "director refers to role = 'director'", "\"Dell Hake\" is the person; not included in the credit list refers to credited = ''", "prospective recipients refers to result = 'Nominee'", "co-executive producer refers to role = 'co-executive producer'; nominee of \"Outstanding Animated Program (For Programming Less Than One Hour)\" award refers to award = 'Outstanding Animated Program (For Programming Less Than One Hour)' and result = 'Nominee'", "nominated refers to result = 'Nominee'; highest number of nominated award refers to Max(Count(person))", "\"The Tiny Canadian\" refers to nickname = 'The Tiny Canadian'; play as in the show refers to role\n", "average awards winning rate refers to DIVIDE(SUM(result = 'winner'), COUNT(award));", "height refers to height_meters; not in credit list refers to credited = ''; category of casting refers to category = 'Casting Department'" ] }
{ "query": "How many crews were born in the USA?", "pos": [ "born in the USA refers to birth_country = 'USA'" ], "neg": [ "\"Primetime Emmy' is the award_category;  rating over 7 refers to rating > 7; nominated refers to result = 'Nominee'; percentage = Divide(Count(episode_id(award_category = 'Primetime Emmy')), Count (episode_id)) * 100", "co-executive producer refers to role = 'co-executive producer'; nominee of \"Outstanding Animated Program (For Programming Less Than One Hour)\" award refers to award = 'Outstanding Animated Program (For Programming Less Than One Hour)' and result = 'Nominee'", "scores 5 to 10 refers to TOTAL(percent) where 1 < = stars < 5", "average high = Divide(Sum(height_meters), Count(name))", "winner refers to result = 'Winner'; Best International TV Series in 2017 refers to award = 'Best International TV Series' and year = '2017'\n\n", "aired in 2008 refers to air_date LIKE '2008%'; votes ranges from 920 to 950 refers to votes BETWEEN 920 AND 950", "information about the music department refers to category = 'Music Department'", "born in New York city refers to birth_region = 'New York'; born after year 1970 refers to ('%Y', birthdate) > 1970", "has nickname refers to nickname is NOT NULL", "height refers to height_meters; not in credit list refers to credited = ''; category of casting refers to category = 'Casting Department'" ] }
{ "query": "What are the keywords of the episode \"Take My Life, Please\"?", "pos": [ "episode \"Take My Life, Please\" refers to title = 'Take My Life, Please'" ], "neg": [ "\"Favorite Animated Comedy\" is the award; 'People's Choice Award' is the award_category; received award refers to result = 'Winner'; first ever award refers to Min(year)", "writer refers to role = 'Writer'; most 10 star votes refers to max(votes) where stars = 10", "rating below 7 refers to rating < 7", "highest number of vote of the star score refers to max(votes)", "percentage = DIVIDE(SUM(stars = 5), COUNT(stars)) as percentage", "winner refers to result = 'Winner'; Best International TV Series in 2017 refers to award = 'Best International TV Series' and year = '2017'\n\n", "highest vote refers to Max(votes); lowest vote refers to Min(votes); difference = Subtract(Max(votes), Min(votes))", "scores 5 to 10 refers to TOTAL(percent) where 1 < = stars < 5", "aired on 3/22/2009 refers to air_date = '2009-03-22'", "5 stars refers to stars = 5; nominated refers to result = 'Nominee'; Prism Award refers to award_category = 'Prism Award'; on April 19 2009 refers to air_date = '2009-04-19'" ] }
{ "query": "Which episode has the largest number of votes?", "pos": [ "largest number of votes refers to MAX(votes)" ], "neg": [ "stars greater than the 70% of average stars refers to stars > multiply(avg(stars), 0.7)", "star score greater than 8 refers to stars > 8", "most recent refers to MAX(year); received refers to result = 'Winner'; name of award refers to award; category refers to award_category", "won refers to result = 'Winner'; in Primetime Emmy Awards refers to organization = 'Primetime Emmy Awards'; 2009 refers to year = 2009", "website address refers to episode_image", "nominated episodes refers to result = 'Nominee'; percentage of votes = DIVIDE(SUM(result = 'Nominee), SUM(Votes)) as percentage", "winner refers to result = 'Winner'; Best International TV Series in 2017 refers to award = 'Best International TV Series' and year = '2017'\n\n", "winners refers to result = 'Winner'; in OFTA Television Award and WGA Award (TV) refers to award = 'OFTA Television Award' and award = 'WGA Award (TV)'", "WGA Award (TV) award refers to award_category = 'WGA Award (TV)'; born in the USA refers to birth_country = 'USA'; from 2009 to 2010 refers to birthdate BETWEEN '2019-01-01' and '2019-12-31'", "\"Billy Kimball\" is the person; award name refers to award; credited category refers to category; credited status refers to credited; credited = 'true' means the person is included in the credit list and vice versa" ] }
{ "query": "What is the credited cast for the episode \"In the Name of the Grandfather\"?", "pos": [ "credited cast refers to category = 'Cast' and  credited = 'true'; episode \"In the Name of the Grandfather\" refers to title = 'In the Name of the Grandfather'" ], "neg": [ "star score greater than 8 refers to stars > 8", "episodes from 10 to 20 refers to episode BETWEEN 10 and 20; more than 200 votes refers to COUNT(votes) > 200", "highest votes refers to max(votes); to Carlton Batten refers to person = 'Carlton Batten'", "\"How the Test Was Won\" is the title of episode; not included in the credit refers to credited = ' '; name of person refers to person", "aired in 2008 refers to air_date LIKE '2008%'; 5 stars and below refers to stars < 5", "additional timers refers to role = 'additional timer'; born in USA refers to birth_country = 'USA'", "most recent refers to MAX(year); received refers to result = 'Winner'; name of award refers to award; category refers to award_category", "being nominated refers to result = 'Nominee'; percentage = divide(count(result = 'Nominee'), count(result)) * 100%", "winners refers to result = 'Winner'; in OFTA Television Award and WGA Award (TV) refers to award = 'OFTA Television Award' and award = 'WGA Award (TV)'", "average awards winning rate refers to DIVIDE(SUM(result = 'winner'), COUNT(award));" ] }
{ "query": "Who did \"The Tiny Canadian\" play as in the show?", "pos": [ "\"The Tiny Canadian\" refers to nickname = 'The Tiny Canadian'; play as in the show refers to role\n" ], "neg": [ "in 2009 refers to year = 2009", "aired between October to November refers to strftime('%m', air_date) between '10' and '11';", "aired on 11/30/2008 refers to air_date = '11/30/2008'; win refers to result = 'Winner'", "episode 426 refers to number_in_series = 426", "in 2010 refers to year = 2010; nominations refers to result = 'Nominee'", "\"Marc Wilmore\" is the name of person", "in 2009 refers to year = 2009; name of awarded character refers to character\n\n", "from Animation Department refers to category = 'Animation Department'; AVG(height_meters) where category = 'Animation Department'", "\"Favorite Animated Comedy\" is the award; 'People's Choice Award' is the award_category; received award refers to result = 'Winner'; first ever award refers to Min(year)", "taller than 1.70m refers to height_meters > 1.70; born in Canada refers to birth_country = 'Canada'" ] }
{ "query": "Describe the birth country, height and person name who were not included in credit list with category of casting.", "pos": [ "height refers to height_meters; not in credit list refers to credited = ''; category of casting refers to category = 'Casting Department'" ], "neg": [ "being nominated refers to result = 'Nominee'; percentage = divide(count(result = 'Nominee'), count(result)) * 100%", "episode 426 refers to number_in_series = 426", "episode \"Take My Life, Please\" refers to title = 'Take My Life, Please'", "winners refers to result = 'Winner'; higher than 1.75 meters refers to height_meters > 1.75; percentage = divide(sum(result = 'Winner' and height_meters > 1.75), count(result = 'Winner' )) * 100%\n", "born in New York city refers to birth_region = 'New York'; born after year 1970 refers to ('%Y', birthdate) > 1970", "In 2010 refers to year = 2010", "award won refers to result = 'Winner'", "information about the music department refers to category = 'Music Department'", "WGA Award (TV) award refers to award_category = 'WGA Award (TV)'; born in the USA refers to birth_country = 'USA'; from 2009 to 2010 refers to birthdate BETWEEN '2019-01-01' and '2019-12-31'", "country refers to birth_country; tallest person refers to max(height_meters)" ] }
{ "query": "How many additional timers were born in USA?", "pos": [ "additional timers refers to role = 'additional timer'; born in USA refers to birth_country = 'USA'" ], "neg": [ "episodes from 10 to 20 refers to episode BETWEEN 10 and 20; more than 200 votes refers to COUNT(votes) > 200", "born before 1970 refers to birthdate < '1970-01-01'", "nominated refers to result = 'Nominee'; Annie Awards refers to organization = 'Annie Awards'; percent greater than 6 refers to percent > 6", "country refers to birth_country; tallest person refers to max(height_meters)", "5th episode refers to episode = 5", "is credited refers to credited = 'true';", "lowest rating refers to Min(rating)", "voice over for and was awarded refers to award like '%Voice-Over%';", "crew refers to Person; full name refers to name; have nickname refers to nickname IS NOT NULL", "\n\nawarded category refers to award_category" ] }
{ "query": "Based on the credits, state how many roles were played in the 5th episode of simpson 20.", "pos": [ "5th episode refers to episode = 5" ], "neg": [ "In 2010 refers to year = 2010", "rating below 7 refers to rating < 7", "being nominated refers to result = 'Nominee'; percentage = divide(count(result = 'Nominee'), count(result)) * 100%", "crew refers to Person; full name refers to name; have nickname refers to nickname IS NOT NULL", "director refers to role = 'director'", "co-executive producer refers to role = 'co-executive producer'; higher than 1.60 meters refers to height_meters > 1.60", "episodes that have received more 7-star votes than the season average refers to votes > DIVIDE(SUM(votes), COUNT(stars = 7))", "Primetime Emmy Award refers to award_category = 'Primetime Emmy'", "won refers to result = 'Winner'; 'Best Voice-Over Performance' is the award; ' Online Film & Television Association' is the organization; in 2009 refers to year = 2009", "award won refers to result = 'Winner'" ] }
{ "query": "What is the voting numbers and percentage of the best rating scale of the episode which had keyword of \"arab stereotype\"?", "pos": [ "best rating scale refers to stars = 10" ], "neg": [ "writer refers to role = 'writer'; star score greater than 5 refers to stars > 5; in 2009 refers to year = 2009", "writer refers to role = 'Writer'; most 10 star votes refers to max(votes) where stars = 10", "highest votes refers to max(votes); nominated refers to result = 'Nominee'", "website address refers to episode_image", "episode \"Lisa the Drama Queen\" refers to title = 'Lisa the Drama Queen';", "has nickname refers to nickname is NOT NULL", "voice over for and was awarded refers to award like '%Voice-Over%';", "won refers to result = 'Winner'; in Primetime Emmy Awards refers to organization = 'Primetime Emmy Awards'; 2009 refers to year = 2009", "rating of 7 and above refers to rating > 7.0", "episode 426 refers to number_in_series = 426" ] }
{ "query": "Indicate the name and category of the most recent award received by the show.", "pos": [ "most recent refers to MAX(year); received refers to result = 'Winner'; name of award refers to award; category refers to award_category" ], "neg": [ "episode 'Take My Life, Please' refers to title =   'Take My Life, Please'", "prospective recipients refers to result = 'Nominee'", "\n\nawarded category refers to award_category", "produced by Jason Bikowski refers to person = 'Jason Bikowski'", "won refers to result = 'Winner'; in Primetime Emmy Awards refers to organization = 'Primetime Emmy Awards'; 2009 refers to year = 2009", "writer refers to role = 'Writer'; most 10 star votes refers to max(votes) where stars = 10", "information about the music department refers to category = 'Music Department'", "born in USA refers to birth_country = 'USA'; were nominated refers to result = 'Nominee'; 'Outstanding Animated Program (For Programming Less Than One Hour)' is the award; in 2009 refers to year = 2009", "highest number of vote of the star score refers to max(votes)", "highest votes refers to max(votes); to Carlton Batten refers to person = 'Carlton Batten'" ] }
{ "query": "Please list the name of crew that were born before 1970.", "pos": [ "born before 1970 refers to birthdate < '1970-01-01'" ], "neg": [ "episodes that have received more 7-star votes than the season average refers to votes > DIVIDE(SUM(votes), COUNT(stars = 7))", "5th episode refers to episode = 5", "WGA Award (TV) award refers to award_category = 'WGA Award (TV)'; born in the USA refers to birth_country = 'USA'; from 2009 to 2010 refers to birthdate BETWEEN '2019-01-01' and '2019-12-31'", "people from USA refers to birth_country = 'USA'; average height = AVG(height_meters)", "Primetime Emmy Award refers to award_category = 'Primetime Emmy'", "highest vote refers to Max(votes); lowest vote refers to Min(votes); difference = Subtract(Max(votes), Min(votes))", "won refers to result = 'Winner'; 'Best Voice-Over Performance' is the award; ' Online Film & Television Association' is the organization; in 2009 refers to year = 2009", "have air date in 2008 refers to air_date LIKE '2008%'", "rating below 7 refers to rating < 7", "writer refers to role = 'writer'; star score greater than 5 refers to stars > 5; in 2009 refers to year = 2009" ] }
{ "query": "Please list all of the episodes that aired in 2008 that have the highest number of votes for the maximum star rating.", "pos": [ "aired in 2008 refers to air_date like '2008%'; highest number of votes refers to MAX(votes); maximum star rating refers to stars = 10" ], "neg": [ "height refers to height_meters; not in credit list refers to credited = ''; category of casting refers to category = 'Casting Department'", "taller than 1.70m refers to height_meters > 1.70; born in Canada refers to birth_country = 'Canada'", "information about the music department refers to category = 'Music Department'", "worst rated episode refers to MIN(rating)", "aired on 11/30/2008 refers to air_date = '11/30/2008'; win refers to result = 'Winner'", "Outstanding Voice-Over Performance refers to award = 'Outstanding Voice-Over Performance'; who won refers to result = 'Winner'; Emmy refers to organization = 'Primetime Emmy Awards'; playing Homer simpson 20 refers to character = 'Homer simpson 20'", "episodes that have received more 7-star votes than the season average refers to votes > DIVIDE(SUM(votes), COUNT(stars = 7))", "aired in 2008 refers to air_date LIKE '2008%'; votes ranges from 920 to 950 refers to votes BETWEEN 920 AND 950", "average high = Divide(Sum(height_meters), Count(name))", "largest number of votes refers to MAX(votes)" ] }
{ "query": "What was the first award won by the cast or crew member of the show? Give the name of the person who won the said award.", "pos": [ "won refers to result = 'Winner'; first award refers to Min(year)" ], "neg": [ "held by Jupiter Award refers to organization = 'Jupiter Award'; won the award refers to result = 'Winner'", "nominees refers to result = 'Nominee'; born in USA refers to birth_country = 'USA'; percentage = divide(sum(result = 'Nominee' and birth_country = 'USA'), count(Person.name)) * 100%", "crew refers to Person; full name refers to name; have nickname refers to nickname IS NOT NULL", "taller than 1.70m refers to height_meters > 1.70; born in Canada refers to birth_country = 'Canada'", "star score greater than 8 refers to stars > 8", "from countries other than the USA refers to birth_country ! = 'USA'", "\"Matt Groening\" is the person; 'In the Name of the Grandfather' is the title of episode; episode number refers to episode; series number refers to number_in_series", "born before 1970 refers to birthdate < '1970-01-01'", "more than 100 votes refers to votes > 100", "people from USA refers to birth_country = 'USA'; average height = AVG(height_meters)" ] }
{ "query": "Calculate the percentage of the nominees who were born in USA.", "pos": [ "nominees refers to result = 'Nominee'; born in USA refers to birth_country = 'USA'; percentage = divide(sum(result = 'Nominee' and birth_country = 'USA'), count(Person.name)) * 100%" ], "neg": [ "largest number of votes refers to MAX(votes)", "information about the music department refers to category = 'Music Department'", "aired on 3/22/2009 refers to air_date = '2009-03-22'", "\"Pamela Hayden\" is the person; voice the character 'Ruthie' refers to role = 'Ruthie'", "director refers to role = 'director'", "episode 426 refers to number_in_series = 426", "\"Favorite Animated Comedy\" is the award; 'People's Choice Award' is the award_category; received award refers to result = 'Winner'; first ever award refers to Min(year)", "star score greater than 8 refers to stars > 8", "oldest refers to Min(birthdate)", "\"Dell Hake\" is the person; not included in the credit list refers to credited = ''" ] }
{ "query": "Out of the rating of 6.8 scored by title \"No Loan Again, Naturally\", how many percent of it consists of scores 5 to 10?", "pos": [ "scores 5 to 10 refers to TOTAL(percent) where 1 < = stars < 5" ], "neg": [ "Outstanding Voice-Over Performance refers to award = 'Outstanding Voice-Over Performance'; who won refers to result = 'Winner'; Emmy refers to organization = 'Primetime Emmy Awards'; playing Homer simpson 20 refers to character = 'Homer simpson 20'", "held by Jupiter Award refers to organization = 'Jupiter Award'; won the award refers to result = 'Winner'", "in 2010 refers to year = 2010; nominations refers to result = 'Nominee'", "won the award refers to result = 'Winner'; in 2009 refers to year = 2009", "star score of 10 refers to stars = 10", "oldest refers to Min(birthdate)", "star score greater than 8 refers to stars > 8", "produced by Jason Bikowski refers to person = 'Jason Bikowski'", "people from USA refers to birth_country = 'USA'; average height = AVG(height_meters)", "aired on 3/22/2009 refers to air_date = '2009-03-22'" ] }
{ "query": "List down the episode ID of episodes aired in 2008 with 5 stars and below.", "pos": [ "aired in 2008 refers to air_date LIKE '2008%'; 5 stars and below refers to stars < 5" ], "neg": [ "Primetime Emmy Award refers to award_category = 'Primetime Emmy'", "name refers to person; the role Smithers refers to character = 'Smithers'", "information about the music department refers to category = 'Music Department'", "born in New York city refers to birth_region = 'New York'; born after year 1970 refers to ('%Y', birthdate) > 1970", "additional timers refers to role = 'additional timer'; born in USA refers to birth_country = 'USA'", "taller than 1.70m refers to height_meters > 1.70; born in Canada refers to birth_country = 'Canada'", "largest number of votes refers to MAX(votes)", "\"Billy Kimball\" is the person; award name refers to award; credited category refers to category; credited status refers to credited; credited = 'true' means the person is included in the credit list and vice versa", "aired on 11/30/2008 refers to air_date = '11/30/2008'; win refers to result = 'Winner'", "born before 1970 refers to birthdate < '1970-01-01'" ] }
{ "query": "Find the winning rate of award in 2010. Describe the winner name, award name, episode title and role of the winner in that episode.", "pos": [ "in 2010 refers to year = 2010; winning rate refers to DIVIDE(COUNT(result = 'winner'), COUNT(*));" ], "neg": [ "aired in 2008 refers to air_date LIKE '2008%'; 5 stars and below refers to stars < 5", "\"riot\" and \"cake\" are both keyword", "rating of 7 and above refers to rating > 7.0", "award won refers to result = 'Winner'", "nominated refers to result = 'Nominee'; Annie Awards refers to organization = 'Annie Awards'; percent greater than 6 refers to percent > 6", "aired in 2008 refers to air_date like '2008%'; highest number of votes refers to MAX(votes); maximum star rating refers to stars = 10", "winners refers to result = 'Winner'; in OFTA Television Award and WGA Award (TV) refers to award = 'OFTA Television Award' and award = 'WGA Award (TV)'", "\"Dell Hake\" is the person; not included in the credit list refers to credited = ''", "\"New York\" is the birth_place; 'USA' is the birth_region", "born in New York city refers to birth_region = 'New York'; born after year 1970 refers to ('%Y', birthdate) > 1970" ] }
{ "query": "Name all the person who involved in the making of simpson 20s episode that aired between October to November.", "pos": [ "aired between October to November refers to strftime('%m', air_date) between '10' and '11';" ], "neg": [ "in 2009 refers to year = 2009", "won refers to result = 'Winner'; 'Best Voice-Over Performance' is the award; ' Online Film & Television Association' is the organization; in 2009 refers to year = 2009", "in Season 20 Episode 11 refers to episode_id = 'S20-E11'; 'Doofus' is the nickname of person; include in credit list refers to credited = 'true'", "between the episode 5 and 10 of season 20 refers to episode_id IN('S20-E5', 'S20-E6', 'S20-E7', 'S20-E8', 'S20-E9', 'S20-E10'); credited refers to credited = 'true'; for casting refers to role = 'casting'", "award winner refers to result = 'Winner'; 'USA' is the birth_country", "more than 200 votes refer to votes > 200; composer refers to role = 'composer'; Outstanding Music Composition for a Series (Original Dramatic Score) refers to award = 'Outstanding Music Composition for a Series (Original Dramatic Score)'", "star score less than 8 refers to stars < 8; aired in 2009 refers to air_date LIKE '2009%'", "episodes that have received more 7-star votes than the season average refers to votes > DIVIDE(SUM(votes), COUNT(stars = 7))", "5 stars votes refers to stars = 5 ; 'No Loan Again, Naturally' and 'Coming to Homerica' are both the title of episode;  ratio = Divide (votes where title = 'No Loan Again, Naturally', votes where title = 'Coming to Homerica')", "average awards winning rate refers to DIVIDE(SUM(result = 'winner'), COUNT(award));" ] }
{ "query": "What is the birth name of the person who voiced 'Helen Lovejoy?'", "pos": [ "voiced refers to role; role = 'Helen Lovejoy\"" ], "neg": [ "aired in 2008 refers to air_date LIKE '2008%'; 5 stars and below refers to stars < 5", "Primetime Emmy Award refers to award_category = 'Primetime Emmy'", "\"Dell Hake\" is the person; not included in the credit list refers to credited = ''", "episode \"Lisa the Drama Queen\" refers to title = 'Lisa the Drama Queen';", "highest votes refers to max(votes); nominated refers to result = 'Nominee'", "\"Los Angeles\" is the birth_place; 1.8 m and above in height refers to height_meters > = 1.8", "has nickname refers to nickname is NOT NULL", "voice over for and was awarded refers to award like '%Voice-Over%';", "oldest refers to Min(birthdate)", "\"Dan Castellaneta\" is the person;  2009 is year;  won refers result = 'Winner'" ] }
{ "query": "In year 2009, what is the percentage of the episode titled by \"Gone Maggie Gone\" being nominated?", "pos": [ "being nominated refers to result = 'Nominee'; percentage = divide(count(result = 'Nominee'), count(result)) * 100%" ], "neg": [ "2 stars refers to stars = 2; 9 votes refers to votes = 9", "credited cast refers to category = 'Cast' and  credited = 'true'; episode \"In the Name of the Grandfather\" refers to title = 'In the Name of the Grandfather'", "winner refers to result = 'Winner'; Best International TV Series in 2017 refers to award = 'Best International TV Series' and year = '2017'\n\n", "from countries other than the USA refers to birth_country ! = 'USA'", "episode 426 refers to number_in_series = 426", "received the most nomination refers to MAX(COUNT(episode_id))", "voiced refers to role; role = 'Helen Lovejoy\"", "episode \"Take My Life, Please\" refers to title = 'Take My Life, Please'", "additional timers refers to role = 'additional timer'; born in USA refers to birth_country = 'USA'", "\"Dan Castellaneta\" is the person; won refers to result = 'Winner'; 'Outstanding Voice-Over Performance' is the award; 'Primetime Emmy Awards' is the organization; in 2009 refers to year = 2009" ] }
{ "query": "Who is the writer for the episode with the most 10 star votes?", "pos": [ "writer refers to role = 'Writer'; most 10 star votes refers to max(votes) where stars = 10" ], "neg": [ "\"Outstanding Voice-Over Performance\" is the award; 'Primetime Emmy Awards' is the organization; awardee refers to result = 'Winner'; first ever award refers to Min(year); age at the time of awarded refers to Subtract(year, SUBSTR(birthdate, 0, 5))", "in November 2008 refers to air_date LIKE '2008-11%'", "won refers to result = 'Winner'; first award refers to Min(year)", "\"Dan Castellaneta\" is the person;  2009 is year;  won refers result = 'Winner'", "from Animation Department refers to category = 'Animation Department'; AVG(height_meters) where category = 'Animation Department'", "more than 100 votes refers to votes > 100", "\"The Tiny Canadian\" refers to nickname = 'The Tiny Canadian'; play as in the show refers to role\n", "average awards winning rate refers to DIVIDE(SUM(result = 'winner'), COUNT(award));", "WGA Award (TV) award refers to award_category = 'WGA Award (TV)'; born in the USA refers to birth_country = 'USA'; from 2009 to 2010 refers to birthdate BETWEEN '2019-01-01' and '2019-12-31'", "\n\nawarded category refers to award_category" ] }
{ "query": "List the stars of episodes aired in November 2008.", "pos": [ "in November 2008 refers to air_date LIKE '2008-11%'" ], "neg": [ "information about the music department refers to category = 'Music Department'", "oldest refers to Min(birthdate)", "in 2009 refers to year = 2009; name of awarded character refers to character\n\n", "more than 200 votes refer to votes > 200; composer refers to role = 'composer'; Outstanding Music Composition for a Series (Original Dramatic Score) refers to award = 'Outstanding Music Composition for a Series (Original Dramatic Score)'", "voiced refers to role; role = 'Helen Lovejoy\"", "rating below 7 refers to rating < 7", "episode S20-E1, S20-E2 & S20-E3 refers to episode_id = 'S20-E1' and episode_id = 'S20-E2' and episode_id = 'S20-E3'", "\"Matt Groening\" is the person; 'In the Name of the Grandfather' is the title of episode; episode number refers to episode; series number refers to number_in_series", "aired in 2008 refers to air_date like '2008%'; highest number of votes refers to MAX(votes); maximum star rating refers to stars = 10", "nominated refers to result = 'Nominee'; Annie Awards refers to organization = 'Annie Awards'; percent greater than 6 refers to percent > 6" ] }
{ "query": "What are the roles of the cast and crew from countries other than the USA?", "pos": [ "from countries other than the USA refers to birth_country ! = 'USA'" ], "neg": [ "has nickname refers to nickname is NOT NULL", "writer refers to role = 'Writer'; most 10 star votes refers to max(votes) where stars = 10", "in November 2008 refers to air_date LIKE '2008-11%'", "credited cast refers to category = 'Cast' and  credited = 'true'; episode \"In the Name of the Grandfather\" refers to title = 'In the Name of the Grandfather'", "star score greater than 5 refers to stars > 5; have air date in 2008 refers to air_date LIKE '2008%'", "nominated episodes refers to result = 'Nominee'; percentage of votes = DIVIDE(SUM(result = 'Nominee), SUM(Votes)) as percentage", "\"Dan Castellaneta\" is the person;  2009 is year;  won refers result = 'Winner'", "stars score of 10 at 30% and above refers to stars = 10 and percent > 29", "born in USA refers to birth_country = 'USA'; were nominated refers to result = 'Nominee'; 'Outstanding Animated Program (For Programming Less Than One Hour)' is the award; in 2009 refers to year = 2009", "is credited refers to credited = 'true';" ] }
{ "query": "How many persons were born in New York, USA?", "pos": [ "\"New York\" is the birth_place; 'USA' is the birth_region" ], "neg": [ "aired in 2008 refers to air_date LIKE '2008%'; 5 stars and below refers to stars < 5", "aired on 3/22/2009 refers to air_date = '2009-03-22'", "height refers to height_meters; not in credit list refers to credited = ''; category of casting refers to category = 'Casting Department'", "5th episode refers to episode = 5", "2 stars refers to stars = 2; 9 votes refers to votes = 9", "from countries other than the USA refers to birth_country ! = 'USA'", "is credited refers to credited = 'true';", "episodes from 10 to 20 refers to episode BETWEEN 10 and 20; more than 200 votes refers to COUNT(votes) > 200", "worst rated episode refers to MIN(rating)", "won the award refers to result = 'Winner'; in 2009 refers to year = 2009" ] }
{ "query": "What award did the episode that aired on 11/30/2008 win?", "pos": [ "aired on 11/30/2008 refers to air_date = '11/30/2008'; win refers to result = 'Winner'" ], "neg": [ "aired in 2008 refers to air_date LIKE '2008%'; votes ranges from 920 to 950 refers to votes BETWEEN 920 AND 950", "average high = Divide(Sum(height_meters), Count(name))", "nominated refers to result = 'Nominee'; Annie Awards refers to organization = 'Annie Awards'; percent greater than 6 refers to percent > 6", "are not included in the credit list refers to credited = ''", "5 stars votes refers to stars = 5 ; 'No Loan Again, Naturally' and 'Coming to Homerica' are both the title of episode;  ratio = Divide (votes where title = 'No Loan Again, Naturally', votes where title = 'Coming to Homerica')", "in November 2008 refers to air_date LIKE '2008-11%'", "website address refers to episode_image", "won the award refers to result = 'Winner'; in 2009 refers to year = 2009", "worst rated episode refers to MIN(rating)", "episodes from 10 to 20 refers to episode BETWEEN 10 and 20; more than 200 votes refers to COUNT(votes) > 200" ] }
{ "query": "State the birth place of co-executive producer for nominee of \"Outstanding Animated Program (For Programming Less Than One Hour)\" award.", "pos": [ "co-executive producer refers to role = 'co-executive producer'; nominee of \"Outstanding Animated Program (For Programming Less Than One Hour)\" award refers to award = 'Outstanding Animated Program (For Programming Less Than One Hour)' and result = 'Nominee'" ], "neg": [ "\"riot\" and \"cake\" are both keyword", "stars greater than the 70% of average stars refers to stars > multiply(avg(stars), 0.7)", "prospective recipients refers to result = 'Nominee'", "stars score of 10 at 30% and above refers to stars = 10 and percent > 29", "information about the music department refers to category = 'Music Department'", "more than 1000 votes refers to votes > 1000", "5 stars refers to stars = 5; nominated refers to result = 'Nominee'; Prism Award refers to award_category = 'Prism Award'; on April 19 2009 refers to air_date = '2009-04-19'", "2 stars refers to stars = 2; 9 votes refers to votes = 9", "country refers to birth_country; tallest person refers to max(height_meters)", "star score less than 8 refers to stars < 8; aired in 2009 refers to air_date LIKE '2009%'" ] }
{ "query": "What are the episodes Oscar Cervantes is credited with?", "pos": [ "is credited refers to credited = 'true';" ], "neg": [ "director refers to role = 'director'", "episode 426 refers to number_in_series = 426", "average awards winning rate refers to DIVIDE(SUM(result = 'winner'), COUNT(award));", "nominated refers to result = 'Nominee'; Annie Awards refers to organization = 'Annie Awards'; percent greater than 6 refers to percent > 6", "star score greater than 5 refers to stars > 5; have air date in 2008 refers to air_date LIKE '2008%'", "won the award refers to result = 'Winner'; in 2009 refers to year = 2009", "Primetime Emmy Award refers to award_category = 'Primetime Emmy'", "in 2009 refers to year = 2009", "born in USA refers to birth_country = 'USA'; were nominated refers to result = 'Nominee'; 'Outstanding Animated Program (For Programming Less Than One Hour)' is the award; in 2009 refers to year = 2009", "\"Matt Groening\" is the person; 'In the Name of the Grandfather' is the title of episode; episode number refers to episode; series number refers to number_in_series" ] }
{ "query": "How many episodes were aired between October and November 2008?", "pos": [ "between October and November 2008 refers to air_date BETWEEN '2008-10-01' and '2008-11-30'" ], "neg": [ "scores 5 to 10 refers to TOTAL(percent) where 1 < = stars < 5", "in 2010 refers to year = 2010; nominations refers to result = 'Nominee'", "episode S20-E1, S20-E2 & S20-E3 refers to episode_id = 'S20-E1' and episode_id = 'S20-E2' and episode_id = 'S20-E3'", "\"Marc Wilmore\" is the name of person", "born in the USA refers to birth_country = 'USA'", "people from USA refers to birth_country = 'USA'; average height = AVG(height_meters)", "born in New York city refers to birth_region = 'New York'; born after year 1970 refers to ('%Y', birthdate) > 1970", "highest votes refers to max(votes); nominated refers to result = 'Nominee'", "is credited refers to credited = 'true';", "5 stars refers to stars = 5; nominated refers to result = 'Nominee'; Prism Award refers to award_category = 'Prism Award'; on April 19 2009 refers to air_date = '2009-04-19'" ] }
{ "query": "What is the average heights of crew members from Animation Department?", "pos": [ "from Animation Department refers to category = 'Animation Department'; AVG(height_meters) where category = 'Animation Department'" ], "neg": [ "born in the USA refers to birth_country = 'USA'", "born in New York city refers to birth_region = 'New York'; born after year 1970 refers to ('%Y', birthdate) > 1970", "2 stars refers to stars = 2; 9 votes refers to votes = 9", "won the award refers to result = 'Winner'; in 2009 refers to year = 2009", "oldest refers to Min(birthdate)", "won refers to result = 'Winner'; in 2017 refers to year = 2017", "average awards winning rate refers to DIVIDE(SUM(result = 'winner'), COUNT(award));", "\"Los Angeles\" is the birth_place; 1.8 m and above in height refers to height_meters > = 1.8", "\"Favorite Animated Comedy\" is the award; 'People's Choice Award' is the award_category; received award refers to result = 'Winner'; first ever award refers to Min(year)", "are not included in the credit list refers to credited = ''" ] }
{ "query": "List the title of the episode with stars greater than the 70% of average stars of all episodes.", "pos": [ "stars greater than the 70% of average stars refers to stars > multiply(avg(stars), 0.7)" ], "neg": [ "most recent refers to MAX(year); received refers to result = 'Winner'; name of award refers to award; category refers to award_category", "prospective recipients refers to result = 'Nominee'", "co-executive producer refers to role = 'co-executive producer'; higher than 1.60 meters refers to height_meters > 1.60", "in 2010 refers to year = 2010; winning rate refers to DIVIDE(COUNT(result = 'winner'), COUNT(*));", "award winner refers to result = 'Winner'; 'USA' is the birth_country", "have air date in 2008 refers to air_date LIKE '2008%'", "award won refers to result = 'Winner'", "held by Jupiter Award refers to organization = 'Jupiter Award'; won the award refers to result = 'Winner'", "\"How the Test Was Won\" is the title of episode; not included in the credit refers to credited = ' '; name of person refers to person", "aired on 11/30/2008 refers to air_date = '11/30/2008'; win refers to result = 'Winner'" ] }
{ "query": "What is The simpson 20s: Season 20 average awards winning rate?", "pos": [ "average awards winning rate refers to DIVIDE(SUM(result = 'winner'), COUNT(award));" ], "neg": [ "oldest refers to Min(birthdate)", "has nickname refers to nickname is NOT NULL", "winners refers to result = 'Winner'; higher than 1.75 meters refers to height_meters > 1.75; percentage = divide(sum(result = 'Winner' and height_meters > 1.75), count(result = 'Winner' )) * 100%\n", "won refers to result = 'Winner'; first award refers to Min(year)", "WGA Award (TV) award refers to award_category = 'WGA Award (TV)'; born in the USA refers to birth_country = 'USA'; from 2009 to 2010 refers to birthdate BETWEEN '2019-01-01' and '2019-12-31'", "5 stars refers to stars = 5; nominated refers to result = 'Nominee'; Prism Award refers to award_category = 'Prism Award'; on April 19 2009 refers to air_date = '2009-04-19'", "average high = Divide(Sum(height_meters), Count(name))", "aired on 11/30/2008 refers to air_date = '11/30/2008'; win refers to result = 'Winner'", "height refers to height_meters; not in credit list refers to credited = ''; category of casting refers to category = 'Casting Department'", "more than 200 votes refer to votes > 200; composer refers to role = 'composer'; Outstanding Music Composition for a Series (Original Dramatic Score) refers to award = 'Outstanding Music Composition for a Series (Original Dramatic Score)'" ] }
{ "query": "List out the names of the awarded character in the awards held in 2009.", "pos": [ "in 2009 refers to year = 2009; name of awarded character refers to character\n\n" ], "neg": [ "2 stars refers to stars = 2; 9 votes refers to votes = 9", "is credited refers to credited = 'true';", "being nominated refers to result = 'Nominee'; percentage = divide(count(result = 'Nominee'), count(result)) * 100%", "largest number of votes refers to MAX(votes)", "co-executive producer refers to role = 'co-executive producer'; nominee of \"Outstanding Animated Program (For Programming Less Than One Hour)\" award refers to award = 'Outstanding Animated Program (For Programming Less Than One Hour)' and result = 'Nominee'", "episodes that have received more 7-star votes than the season average refers to votes > DIVIDE(SUM(votes), COUNT(stars = 7))", "percentage = DIVIDE(SUM(stars = 5), COUNT(stars)) as percentage", "\"Primetime Emmy' is the award_category;  rating over 7 refers to rating > 7; nominated refers to result = 'Nominee'; percentage = Divide(Count(episode_id(award_category = 'Primetime Emmy')), Count (episode_id)) * 100", "from countries other than the USA refers to birth_country ! = 'USA'", "\"Los Angeles\" is the birth_place; 1.8 m and above in height refers to height_meters > = 1.8" ] }
{ "query": "What is the keyword for episodes with stars score of 10 at 30% and above?", "pos": [ "stars score of 10 at 30% and above refers to stars = 10 and percent > 29" ], "neg": [ "winner refers to result = 'Winner'; Best International TV Series in 2017 refers to award = 'Best International TV Series' and year = '2017'\n\n", "held by Jupiter Award refers to organization = 'Jupiter Award'; won the award refers to result = 'Winner'", "people from USA refers to birth_country = 'USA'; average height = AVG(height_meters)", "episode 426 refers to number_in_series = 426", "star score greater than 8 refers to stars > 8", "are not included in the credit list refers to credited = ''", "\"Billy Kimball\" is the person; award name refers to award; credited category refers to category; credited status refers to credited; credited = 'true' means the person is included in the credit list and vice versa", "\n\nawarded category refers to award_category", "won refers to result = 'Winner'; first award refers to Min(year)", "in 2009 refers to year = 2009; name of awarded character refers to character\n\n" ] }
{ "query": "Find the average height for each person.", "pos": [ "average high = Divide(Sum(height_meters), Count(name))" ], "neg": [ "produced by Jason Bikowski refers to person = 'Jason Bikowski'", "episodes from 10 to 20 refers to episode BETWEEN 10 and 20; more than 200 votes refers to COUNT(votes) > 200", "credited cast refers to category = 'Cast' and  credited = 'true'; episode \"In the Name of the Grandfather\" refers to title = 'In the Name of the Grandfather'", "aired in 2008 refers to air_date like '2008%'; highest number of votes refers to MAX(votes); maximum star rating refers to stars = 10", "nominated episodes refers to result = 'Nominee'; percentage of votes = DIVIDE(SUM(result = 'Nominee), SUM(Votes)) as percentage", "born in USA refers to birth_country = 'USA'; were nominated refers to result = 'Nominee'; 'Outstanding Animated Program (For Programming Less Than One Hour)' is the award; in 2009 refers to year = 2009", "name refers to person; the role Smithers refers to character = 'Smithers'", "worst rated episode refers to MIN(rating)", "award winner refers to result = 'Winner'; 'USA' is the birth_country", "in Season 20 Episode 11 refers to episode_id = 'S20-E11'; 'Doofus' is the nickname of person; include in credit list refers to credited = 'true'" ] }
{ "query": "List out the birth name of crews who are co-executive producer and higher than 1.60 meters.", "pos": [ "co-executive producer refers to role = 'co-executive producer'; higher than 1.60 meters refers to height_meters > 1.60" ], "neg": [ "in 2010 refers to year = 2010; winning rate refers to DIVIDE(COUNT(result = 'winner'), COUNT(*));", "episode S20-E1, S20-E2 & S20-E3 refers to episode_id = 'S20-E1' and episode_id = 'S20-E2' and episode_id = 'S20-E3'", "received the most nomination refers to MAX(COUNT(episode_id))", "is credited refers to credited = 'true';", "\"New York\" is the birth_place; 'USA' is the birth_region", "highest number of vote of the star score refers to max(votes)", "voice over for and was awarded refers to award like '%Voice-Over%';", "lowest rating refers to Min(rating)", "writer refers to role = 'writer'; star score greater than 5 refers to stars > 5; in 2009 refers to year = 2009", "credited cast refers to category = 'Cast' and  credited = 'true'; episode \"In the Name of the Grandfather\" refers to title = 'In the Name of the Grandfather'" ] }
{ "query": "For the episode who won the award held by Jupiter Award, describe award name, aired date and rating of that episode.", "pos": [ "held by Jupiter Award refers to organization = 'Jupiter Award'; won the award refers to result = 'Winner'" ], "neg": [ "\"riot\" and \"cake\" are both keyword", "\"Outstanding Voice-Over Performance\" is the award; 'Primetime Emmy Awards' is the organization; awardee refers to result = 'Winner'; first ever award refers to Min(year); age at the time of awarded refers to Subtract(year, SUBSTR(birthdate, 0, 5))", "episode S20-E1, S20-E2 & S20-E3 refers to episode_id = 'S20-E1' and episode_id = 'S20-E2' and episode_id = 'S20-E3'", "people from USA refers to birth_country = 'USA'; average height = AVG(height_meters)", "\"New York\" is the birth_place; 'USA' is the birth_region", "5 stars refers to stars = 5; nominated refers to result = 'Nominee'; Prism Award refers to award_category = 'Prism Award'; on April 19 2009 refers to air_date = '2009-04-19'", "between October and November 2008 refers to air_date BETWEEN '2008-10-01' and '2008-11-30'", "voiced refers to role; role = 'Helen Lovejoy\"", "co-executive producer refers to role = 'co-executive producer'; nominee of \"Outstanding Animated Program (For Programming Less Than One Hour)\" award refers to award = 'Outstanding Animated Program (For Programming Less Than One Hour)' and result = 'Nominee'", "nominated episodes refers to result = 'Nominee'; percentage of votes = DIVIDE(SUM(result = 'Nominee), SUM(Votes)) as percentage" ] }
{ "query": "Name the performer who won Emmy Award for Outstanding Voice-Over Performance by playing Homer simpson 20.", "pos": [ "Outstanding Voice-Over Performance refers to award = 'Outstanding Voice-Over Performance'; who won refers to result = 'Winner'; Emmy refers to organization = 'Primetime Emmy Awards'; playing Homer simpson 20 refers to character = 'Homer simpson 20'" ], "neg": [ "highest votes refers to max(votes); to Carlton Batten refers to person = 'Carlton Batten'", "worst rated episode refers to MIN(rating)", "additional timers refers to role = 'additional timer'; born in USA refers to birth_country = 'USA'", "\"riot\" and \"cake\" are both keyword", "WGA Award (TV) award refers to award_category = 'WGA Award (TV)'; born in the USA refers to birth_country = 'USA'; from 2009 to 2010 refers to birthdate BETWEEN '2019-01-01' and '2019-12-31'", "award winner refers to result = 'Winner'; 'USA' is the birth_country", "aired in 2008 refers to air_date LIKE '2008%'; 5 stars and below refers to stars < 5", "\"Matt Groening\" is the person; 'In the Name of the Grandfather' is the title of episode; episode number refers to episode; series number refers to number_in_series", "crew refers to Person; full name refers to name; have nickname refers to nickname IS NOT NULL", "aired between October to November refers to strftime('%m', air_date) between '10' and '11';" ] }
{ "query": "What is the ratio between the 5 stars votes for 'No Loan Again, Naturally' episode and 'Coming to Homerica' episode?", "pos": [ "5 stars votes refers to stars = 5 ; 'No Loan Again, Naturally' and 'Coming to Homerica' are both the title of episode;  ratio = Divide (votes where title = 'No Loan Again, Naturally', votes where title = 'Coming to Homerica')" ], "neg": [ "\"New York\" is the birth_place; 'USA' is the birth_region", "\"Matt Groening\" is the person; 'In the Name of the Grandfather' is the title of episode; episode number refers to episode; series number refers to number_in_series", "stars score of 10 at 30% and above refers to stars = 10 and percent > 29", "most recent refers to MAX(year); received refers to result = 'Winner'; name of award refers to award; category refers to award_category", "won the award refers to result = 'Winner'; in 2009 refers to year = 2009", "co-executive producer refers to role = 'co-executive producer'; nominee of \"Outstanding Animated Program (For Programming Less Than One Hour)\" award refers to award = 'Outstanding Animated Program (For Programming Less Than One Hour)' and result = 'Nominee'", "held by Jupiter Award refers to organization = 'Jupiter Award'; won the award refers to result = 'Winner'", "\"Billy Kimball\" is the person; award name refers to award; credited category refers to category; credited status refers to credited; credited = 'true' means the person is included in the credit list and vice versa", "in 2010 refers to year = 2010; winning rate refers to DIVIDE(COUNT(result = 'winner'), COUNT(*));", "episode 426 refers to number_in_series = 426" ] }
{ "query": "Calculate the percentage of the winners who are higher than 1.75 meters.", "pos": [ "winners refers to result = 'Winner'; higher than 1.75 meters refers to height_meters > 1.75; percentage = divide(sum(result = 'Winner' and height_meters > 1.75), count(result = 'Winner' )) * 100%\n" ], "neg": [ "rating of 7 and above refers to rating > 7.0", "more than 200 votes refer to votes > 200; composer refers to role = 'composer'; Outstanding Music Composition for a Series (Original Dramatic Score) refers to award = 'Outstanding Music Composition for a Series (Original Dramatic Score)'", "\"Dan Castellaneta\" is the person; won refers to result = 'Winner'; 'Outstanding Voice-Over Performance' is the award; 'Primetime Emmy Awards' is the organization; in 2009 refers to year = 2009", "height refers to height_meters; not in credit list refers to credited = ''; category of casting refers to category = 'Casting Department'", "5 stars refers to stars = 5; nominated refers to result = 'Nominee'; Prism Award refers to award_category = 'Prism Award'; on April 19 2009 refers to air_date = '2009-04-19'", "won refers to result = 'Winner'; in 2017 refers to year = 2017", "won the award refers to result = 'Winner'; in 2009 refers to year = 2009", "episode S20-E1, S20-E2 & S20-E3 refers to episode_id = 'S20-E1' and episode_id = 'S20-E2' and episode_id = 'S20-E3'", "co-executive producer refers to role = 'co-executive producer'; nominee of \"Outstanding Animated Program (For Programming Less Than One Hour)\" award refers to award = 'Outstanding Animated Program (For Programming Less Than One Hour)' and result = 'Nominee'", "more than 100 votes refers to votes > 100" ] }
{ "query": "How many nominations have Billy Kimball received in 2010 for The simpson 20s: Season 20?", "pos": [ "in 2010 refers to year = 2010; nominations refers to result = 'Nominee'" ], "neg": [ "episode \"Take My Life, Please\" refers to title = 'Take My Life, Please'", "height refers to height_meters; not in credit list refers to credited = ''; category of casting refers to category = 'Casting Department'", "name refers to person; the role Smithers refers to character = 'Smithers'", "\"Marc Wilmore\" is the name of person", "\"Pamela Hayden\" is the person; voice the character 'Ruthie' refers to role = 'Ruthie'", "won the award refers to result = 'Winner'; in 2009 refers to year = 2009", "episodes that have received more 7-star votes than the season average refers to votes > DIVIDE(SUM(votes), COUNT(stars = 7))", "episode \"Lisa the Drama Queen\" refers to title = 'Lisa the Drama Queen';", "Primetime Emmy Award refers to award_category = 'Primetime Emmy'", "are not included in the credit list refers to credited = ''" ] }
{ "query": "What is the name of actor who took the role Smithers?", "pos": [ "name refers to person; the role Smithers refers to character = 'Smithers'" ], "neg": [ "\"Favorite Animated Comedy\" is the award; 'People's Choice Award' is the award_category; received award refers to result = 'Winner'; first ever award refers to Min(year)", "winner refers to result = 'Winner'; Best International TV Series in 2017 refers to award = 'Best International TV Series' and year = '2017'\n\n", "in 2009 refers to year = 2009", "nominated refers to result = 'Nominee'; highest number of nominated award refers to Max(Count(person))", "rating below 7 refers to rating < 7", "episode \"Take My Life, Please\" refers to title = 'Take My Life, Please'", "more than 1000 votes refers to votes > 1000", "star score less than 8 refers to stars < 8; aired in 2009 refers to air_date LIKE '2009%'", "highest votes refers to max(votes); nominated refers to result = 'Nominee'", "in 2009 refers to year = 2009; name of awarded character refers to character\n\n" ] }
{ "query": "How many award winners are from the USA?", "pos": [ "award winner refers to result = 'Winner'; 'USA' is the birth_country" ], "neg": [ "In 2010 refers to year = 2010", "stars greater than the 70% of average stars refers to stars > multiply(avg(stars), 0.7)", "more than 100 votes refers to votes > 100", "rating of 7 and above refers to rating > 7.0", "5 stars refers to stars = 5; nominated refers to result = 'Nominee'; Prism Award refers to award_category = 'Prism Award'; on April 19 2009 refers to air_date = '2009-04-19'", "star score of 10 refers to stars = 10", "\"Los Angeles\" is the birth_place; 1.8 m and above in height refers to height_meters > = 1.8", "from countries other than the USA refers to birth_country ! = 'USA'", "episodes that have received more 7-star votes than the season average refers to votes > DIVIDE(SUM(votes), COUNT(stars = 7))", "are not included in the credit list refers to credited = ''" ] }
{ "query": "What is the title of episode that won the Best International TV Series Award in 2017?", "pos": [ "won refers to result = 'Winner'; in 2017 refers to year = 2017" ], "neg": [ "stars score of 10 at 30% and above refers to stars = 10 and percent > 29", "highest votes refers to max(votes); to Carlton Batten refers to person = 'Carlton Batten'", "\"Los Angeles\" is the birth_place; 1.8 m and above in height refers to height_meters > = 1.8", "won the award refers to result = 'Winner'; in 2009 refers to year = 2009", "between the episode 5 and 10 of season 20 refers to episode_id IN('S20-E5', 'S20-E6', 'S20-E7', 'S20-E8', 'S20-E9', 'S20-E10'); credited refers to credited = 'true'; for casting refers to role = 'casting'", "aired in 2008 refers to air_date like '2008%'; highest number of votes refers to MAX(votes); maximum star rating refers to stars = 10", "stars greater than the 70% of average stars refers to stars > multiply(avg(stars), 0.7)", "\"riot\" and \"cake\" are both keyword", "director refers to role = 'director'", "winners refers to result = 'Winner'; in OFTA Television Award and WGA Award (TV) refers to award = 'OFTA Television Award' and award = 'WGA Award (TV)'" ] }
{ "query": "Give the title of the episode won in Primetime Emmy Awards 2009.", "pos": [ "won refers to result = 'Winner'; in Primetime Emmy Awards refers to organization = 'Primetime Emmy Awards'; 2009 refers to year = 2009" ], "neg": [ "\"How the Test Was Won\" is the title of episode; not included in the credit refers to credited = ' '; name of person refers to person", "crew refers to Person; full name refers to name; have nickname refers to nickname IS NOT NULL", "in 2009 refers to year = 2009; name of awarded character refers to character\n\n", "episode \"Lisa the Drama Queen\" refers to title = 'Lisa the Drama Queen';", "Outstanding Voice-Over Performance refers to award = 'Outstanding Voice-Over Performance'; who won refers to result = 'Winner'; Emmy refers to organization = 'Primetime Emmy Awards'; playing Homer simpson 20 refers to character = 'Homer simpson 20'", "writer refers to role = 'Writer'; most 10 star votes refers to max(votes) where stars = 10", "more than 1000 votes refers to votes > 1000", "born in USA refers to birth_country = 'USA'; were nominated refers to result = 'Nominee'; 'Outstanding Animated Program (For Programming Less Than One Hour)' is the award; in 2009 refers to year = 2009", "aired in 2008 refers to air_date like '2008%'; highest number of votes refers to MAX(votes); maximum star rating refers to stars = 10", "star score greater than 8 refers to stars > 8" ] }
{ "query": "What are the titles of the episodes that have received more 7-star votes than the season average?", "pos": [ "episodes that have received more 7-star votes than the season average refers to votes > DIVIDE(SUM(votes), COUNT(stars = 7))" ], "neg": [ "aired on 3/22/2009 refers to air_date = '2009-03-22'", "nominees refers to result = 'Nominee'; born in USA refers to birth_country = 'USA'; percentage = divide(sum(result = 'Nominee' and birth_country = 'USA'), count(Person.name)) * 100%", "\"Pamela Hayden\" is the person; voice the character 'Ruthie' refers to role = 'Ruthie'", "in 2009 refers to year = 2009", "website address refers to episode_image", "held by Jupiter Award refers to organization = 'Jupiter Award'; won the award refers to result = 'Winner'", "\"Billy Kimball\" is the person; award name refers to award; credited category refers to category; credited status refers to credited; credited = 'true' means the person is included in the credit list and vice versa", "nominated refers to result = 'Nominee'; highest number of nominated award refers to Max(Count(person))", "5th episode refers to episode = 5", "won refers to result = 'Winner'; 'Best Voice-Over Performance' is the award; ' Online Film & Television Association' is the organization; in 2009 refers to year = 2009" ] }
{ "query": "List the award name and persons who won the award in 2009.", "pos": [ "won the award refers to result = 'Winner'; in 2009 refers to year = 2009" ], "neg": [ "star score of 10 refers to stars = 10", "from countries other than the USA refers to birth_country ! = 'USA'", "born in New York city refers to birth_region = 'New York'; born after year 1970 refers to ('%Y', birthdate) > 1970", "from Animation Department refers to category = 'Animation Department'; AVG(height_meters) where category = 'Animation Department'", "website address refers to episode_image", "in 2009 refers to year = 2009; name of awarded character refers to character\n\n", "aired in 2008 refers to air_date LIKE '2008%'; 5 stars and below refers to stars < 5", "in Season 20 Episode 11 refers to episode_id = 'S20-E11'; 'Doofus' is the nickname of person; include in credit list refers to credited = 'true'", "\"riot\" and \"cake\" are both keyword", "in 2010 refers to year = 2010; nominations refers to result = 'Nominee'" ] }
{ "query": "Among the casts who were born in Los Angeles, describe the name and birth date of who have 1.8 m and above in height.", "pos": [ "\"Los Angeles\" is the birth_place; 1.8 m and above in height refers to height_meters > = 1.8" ], "neg": [ "voice over for and was awarded refers to award like '%Voice-Over%';", "in 2009 refers to year = 2009", "episode \"Lisa the Drama Queen\" refers to title = 'Lisa the Drama Queen';", "episode S20-E1, S20-E2 & S20-E3 refers to episode_id = 'S20-E1' and episode_id = 'S20-E2' and episode_id = 'S20-E3'", "\"New York\" is the birth_place; 'USA' is the birth_region", "between the episode 5 and 10 of season 20 refers to episode_id IN('S20-E5', 'S20-E6', 'S20-E7', 'S20-E8', 'S20-E9', 'S20-E10'); credited refers to credited = 'true'; for casting refers to role = 'casting'", "information about the music department refers to category = 'Music Department'", "won refers to result = 'Winner'; first award refers to Min(year)", "\"Dell Hake\" is the person; not included in the credit list refers to credited = ''", "won refers to result = 'Winner'; in 2017 refers to year = 2017" ] }
{ "query": "List down person's name who has nickname.", "pos": [ "has nickname refers to nickname is NOT NULL" ], "neg": [ "crew refers to Person; full name refers to name; have nickname refers to nickname IS NOT NULL", "voice over for and was awarded refers to award like '%Voice-Over%';", "episodes that have received more 7-star votes than the season average refers to votes > DIVIDE(SUM(votes), COUNT(stars = 7))", "highest votes refers to max(votes); to Carlton Batten refers to person = 'Carlton Batten'", "highest vote refers to Max(votes); lowest vote refers to Min(votes); difference = Subtract(Max(votes), Min(votes))", "being nominated refers to result = 'Nominee'; percentage = divide(count(result = 'Nominee'), count(result)) * 100%", "are not included in the credit list refers to credited = ''", "between the episode 5 and 10 of season 20 refers to episode_id IN('S20-E5', 'S20-E6', 'S20-E7', 'S20-E8', 'S20-E9', 'S20-E10'); credited refers to credited = 'true'; for casting refers to role = 'casting'", "largest number of votes refers to MAX(votes)", "In 2010 refers to year = 2010" ] }
{ "query": "List down the award name, result, credit category and credited status of the \"Billy Kimball\".", "pos": [ "\"Billy Kimball\" is the person; award name refers to award; credited category refers to category; credited status refers to credited; credited = 'true' means the person is included in the credit list and vice versa" ], "neg": [ "award winner refers to result = 'Winner'; 'USA' is the birth_country", "between the episode 5 and 10 of season 20 refers to episode_id IN('S20-E5', 'S20-E6', 'S20-E7', 'S20-E8', 'S20-E9', 'S20-E10'); credited refers to credited = 'true'; for casting refers to role = 'casting'", "average high = Divide(Sum(height_meters), Count(name))", "\"Dan Castellaneta\" is the person;  2009 is year;  won refers result = 'Winner'", "aired in 2008 refers to air_date LIKE '2008%'; 5 stars and below refers to stars < 5", "co-executive producer refers to role = 'co-executive producer'; higher than 1.60 meters refers to height_meters > 1.60", "WGA Award (TV) award refers to award_category = 'WGA Award (TV)'; born in the USA refers to birth_country = 'USA'; from 2009 to 2010 refers to birthdate BETWEEN '2019-01-01' and '2019-12-31'", "winners refers to result = 'Winner'; higher than 1.75 meters refers to height_meters > 1.75; percentage = divide(sum(result = 'Winner' and height_meters > 1.75), count(result = 'Winner' )) * 100%\n", "average awards winning rate refers to DIVIDE(SUM(result = 'winner'), COUNT(award));", "star score greater than 5 refers to stars > 5; have air date in 2008 refers to air_date LIKE '2008%'" ] }
{ "query": "Among the episode with highest votes, what is the category credited to Carlton Batten?", "pos": [ "highest votes refers to max(votes); to Carlton Batten refers to person = 'Carlton Batten'" ], "neg": [ "born before 1970 refers to birthdate < '1970-01-01'", "nominated for Primetime Emmy Award but did not win refers to award_category = 'Primetime Emmy' and result = 'Nominee';  from 2009 to 2010 refers to year > = '2009' and  year < = '2010'", "co-executive producer refers to role = 'co-executive producer'; higher than 1.60 meters refers to height_meters > 1.60", "episode 'Take My Life, Please' refers to title =   'Take My Life, Please'", "episodes that have received more 7-star votes than the season average refers to votes > DIVIDE(SUM(votes), COUNT(stars = 7))", "stars score of 10 at 30% and above refers to stars = 10 and percent > 29", "5th episode refers to episode = 5", "In 2010 refers to year = 2010", "most recent refers to MAX(year); received refers to result = 'Winner'; name of award refers to award; category refers to award_category", "born in the USA refers to birth_country = 'USA'" ] }
{ "query": "Write the title and all the keywords of the episode that was aired on 3/22/2009.", "pos": [ "aired on 3/22/2009 refers to air_date = '2009-03-22'" ], "neg": [ "aired between October to November refers to strftime('%m', air_date) between '10' and '11';", "born before 1970 refers to birthdate < '1970-01-01'", "\"Take My Life,Please\" is the title of episode", "is credited refers to credited = 'true';", "aired in 2008 refers to air_date LIKE '2008%'; votes ranges from 920 to 950 refers to votes BETWEEN 920 AND 950", "5 stars refers to stars = 5; nominated refers to result = 'Nominee'; Prism Award refers to award_category = 'Prism Award'; on April 19 2009 refers to air_date = '2009-04-19'", "highest number of vote of the star score refers to max(votes)", "being nominated refers to result = 'Nominee'; percentage = divide(count(result = 'Nominee'), count(result)) * 100%", "WGA Award (TV) award refers to award_category = 'WGA Award (TV)'; born in the USA refers to birth_country = 'USA'; from 2009 to 2010 refers to birthdate BETWEEN '2019-01-01' and '2019-12-31'", "\"Marc Wilmore\" is the name of person" ] }
{ "query": "Please indicate the keywords of the episode that won the Primetime Emmy Award category.", "pos": [ "Primetime Emmy Award refers to award_category = 'Primetime Emmy'" ], "neg": [ "more than 200 votes refer to votes > 200; composer refers to role = 'composer'; Outstanding Music Composition for a Series (Original Dramatic Score) refers to award = 'Outstanding Music Composition for a Series (Original Dramatic Score)'", "nominated refers to result = 'Nominee'; Annie Awards refers to organization = 'Annie Awards'; percent greater than 6 refers to percent > 6", "\"How the Test Was Won\" is the title of episode; not included in the credit refers to credited = ' '; name of person refers to person", "episode 'Take My Life, Please' refers to title =   'Take My Life, Please'", "being nominated refers to result = 'Nominee'; percentage = divide(count(result = 'Nominee'), count(result)) * 100%", "writer refers to role = 'writer'; star score greater than 5 refers to stars > 5; in 2009 refers to year = 2009", "\"Take My Life,Please\" is the title of episode", "crew refers to Person; full name refers to name; have nickname refers to nickname IS NOT NULL", "episode \"Lisa the Drama Queen\" refers to title = 'Lisa the Drama Queen';", "\"Outstanding Voice-Over Performance\" is the award; 'Primetime Emmy Awards' is the organization; awardee refers to result = 'Winner'; first ever award refers to Min(year); age at the time of awarded refers to Subtract(year, SUBSTR(birthdate, 0, 5))" ] }
{ "query": "List all keywords associated with the episode 'Take My Life, Please'.", "pos": [ "episode 'Take My Life, Please' refers to title =   'Take My Life, Please'" ], "neg": [ "rating of 7 and above refers to rating > 7.0", "5 stars refers to stars = 5; nominated refers to result = 'Nominee'; Prism Award refers to award_category = 'Prism Award'; on April 19 2009 refers to air_date = '2009-04-19'", "won refers to result = 'Winner'; first award refers to Min(year)", "highest votes refers to max(votes); to Carlton Batten refers to person = 'Carlton Batten'", "Primetime Emmy Award refers to award_category = 'Primetime Emmy'", "star score of 10 refers to stars = 10", "being nominated refers to result = 'Nominee'; percentage = divide(count(result = 'Nominee'), count(result)) * 100%", "co-executive producer refers to role = 'co-executive producer'; nominee of \"Outstanding Animated Program (For Programming Less Than One Hour)\" award refers to award = 'Outstanding Animated Program (For Programming Less Than One Hour)' and result = 'Nominee'", "\n\nawarded category refers to award_category", "won the award refers to result = 'Winner'; in 2009 refers to year = 2009" ] }
{ "query": "Which episode has the highest number of vote of the star score?", "pos": [ "highest number of vote of the star score refers to max(votes)" ], "neg": [ "highest votes refers to max(votes); to Carlton Batten refers to person = 'Carlton Batten'", "episode \"Lisa the Drama Queen\" refers to title = 'Lisa the Drama Queen';", "voice over for and was awarded refers to award like '%Voice-Over%';", "\"New York\" is the birth_place; 'USA' is the birth_region", "5th episode refers to episode = 5", "percentage = DIVIDE(SUM(stars = 5), COUNT(stars)) as percentage", "nominated refers to result = 'Nominee'; highest number of nominated award refers to Max(Count(person))", "held by Jupiter Award refers to organization = 'Jupiter Award'; won the award refers to result = 'Winner'", "born in USA refers to birth_country = 'USA'; were nominated refers to result = 'Nominee'; 'Outstanding Animated Program (For Programming Less Than One Hour)' is the award; in 2009 refers to year = 2009", "in Season 20 Episode 11 refers to episode_id = 'S20-E11'; 'Doofus' is the nickname of person; include in credit list refers to credited = 'true'" ] }
{ "query": "List all the keyword for 'Take My Life, Please' episode.", "pos": [ "\"Take My Life,Please\" is the title of episode" ], "neg": [ "taller than 1.70m refers to height_meters > 1.70; born in Canada refers to birth_country = 'Canada'", "born in USA refers to birth_country = 'USA'; were nominated refers to result = 'Nominee'; 'Outstanding Animated Program (For Programming Less Than One Hour)' is the award; in 2009 refers to year = 2009", "most recent refers to MAX(year); received refers to result = 'Winner'; name of award refers to award; category refers to award_category", "Primetime Emmy Award refers to award_category = 'Primetime Emmy'", "nominated refers to result = 'Nominee'; Annie Awards refers to organization = 'Annie Awards'; percent greater than 6 refers to percent > 6", "episodes that have received more 7-star votes than the season average refers to votes > DIVIDE(SUM(votes), COUNT(stars = 7))", "nominated refers to result = 'Nominee'; highest number of nominated award refers to Max(Count(person))", "aired on 11/30/2008 refers to air_date = '11/30/2008'; win refers to result = 'Winner'", "received the most nomination refers to MAX(COUNT(episode_id))", "voiced refers to role; role = 'Helen Lovejoy\"" ] }
{ "query": "In episode with the highest votes, list the category of awards it is nominated for.", "pos": [ "highest votes refers to max(votes); nominated refers to result = 'Nominee'" ], "neg": [ "aired in 2008 refers to air_date LIKE '2008%'; 5 stars and below refers to stars < 5", "won refers to result = 'Winner'; first award refers to Min(year)", "\"Los Angeles\" is the birth_place; 1.8 m and above in height refers to height_meters > = 1.8", "episode S20-E1, S20-E2 & S20-E3 refers to episode_id = 'S20-E1' and episode_id = 'S20-E2' and episode_id = 'S20-E3'", "\"Take My Life,Please\" is the title of episode", "episode 'Take My Life, Please' refers to title =   'Take My Life, Please'", "\"Outstanding Voice-Over Performance\" is the award; 'Primetime Emmy Awards' is the organization; awardee refers to result = 'Winner'; first ever award refers to Min(year); age at the time of awarded refers to Subtract(year, SUBSTR(birthdate, 0, 5))", "\"Billy Kimball\" is the person; award name refers to award; credited category refers to category; credited status refers to credited; credited = 'true' means the person is included in the credit list and vice versa", "between October and November 2008 refers to air_date BETWEEN '2008-10-01' and '2008-11-30'", "\"Marc Wilmore\" is the name of person" ] }
{ "query": "List down all the roles of Matt Groening on the episode titled 'In the Name of the Grandfather' along with the episode number and series number.", "pos": [ "\"Matt Groening\" is the person; 'In the Name of the Grandfather' is the title of episode; episode number refers to episode; series number refers to number_in_series" ], "neg": [ "credited cast refers to category = 'Cast' and  credited = 'true'; episode \"In the Name of the Grandfather\" refers to title = 'In the Name of the Grandfather'", "won refers to result = 'Winner'; in Primetime Emmy Awards refers to organization = 'Primetime Emmy Awards'; 2009 refers to year = 2009", "additional timers refers to role = 'additional timer'; born in USA refers to birth_country = 'USA'", "born in the USA refers to birth_country = 'USA'", "height refers to height_meters; not in credit list refers to credited = ''; category of casting refers to category = 'Casting Department'", "writer refers to role = 'Writer'; most 10 star votes refers to max(votes) where stars = 10", "scores 5 to 10 refers to TOTAL(percent) where 1 < = stars < 5", "highest number of vote of the star score refers to max(votes)", "lowest rating refers to Min(rating)", "voiced refers to role; role = 'Helen Lovejoy\"" ] }
{ "query": "Calculate the difference between the highest votes for episode and the lowest votes for episode.", "pos": [ "highest vote refers to Max(votes); lowest vote refers to Min(votes); difference = Subtract(Max(votes), Min(votes))" ], "neg": [ "lowest rating refers to Min(rating)", "scores 5 to 10 refers to TOTAL(percent) where 1 < = stars < 5", "Outstanding Voice-Over Performance refers to award = 'Outstanding Voice-Over Performance'; who won refers to result = 'Winner'; Emmy refers to organization = 'Primetime Emmy Awards'; playing Homer simpson 20 refers to character = 'Homer simpson 20'", "writer refers to role = 'Writer'; most 10 star votes refers to max(votes) where stars = 10", "\"riot\" and \"cake\" are both keyword", "In 2010 refers to year = 2010", "writer refers to role = 'writer'; star score greater than 5 refers to stars > 5; in 2009 refers to year = 2009", "\"Dan Castellaneta\" is the person;  2009 is year;  won refers result = 'Winner'", "\"Outstanding Voice-Over Performance\" is the award; 'Primetime Emmy Awards' is the organization; awardee refers to result = 'Winner'; first ever award refers to Min(year); age at the time of awarded refers to Subtract(year, SUBSTR(birthdate, 0, 5))", "episode \"Lisa the Drama Queen\" refers to title = 'Lisa the Drama Queen';" ] }
{ "query": "List all of the information about the music department's casts and crews.", "pos": [ "information about the music department refers to category = 'Music Department'" ], "neg": [ "episodes from 10 to 20 refers to episode BETWEEN 10 and 20; more than 200 votes refers to COUNT(votes) > 200", "won refers to result = 'Winner'; in 2017 refers to year = 2017", "percentage = DIVIDE(SUM(stars = 5), COUNT(stars)) as percentage", "nominated for Primetime Emmy Award but did not win refers to award_category = 'Primetime Emmy' and result = 'Nominee';  from 2009 to 2010 refers to year > = '2009' and  year < = '2010'", "held by Jupiter Award refers to organization = 'Jupiter Award'; won the award refers to result = 'Winner'", "\"Matt Groening\" is the person; 'In the Name of the Grandfather' is the title of episode; episode number refers to episode; series number refers to number_in_series", "award winner refers to result = 'Winner'; 'USA' is the birth_country", "are not included in the credit list refers to credited = ''", "nominated episodes refers to result = 'Nominee'; percentage of votes = DIVIDE(SUM(result = 'Nominee), SUM(Votes)) as percentage", "has nickname refers to nickname is NOT NULL" ] }
{ "query": "What year did the Simpsons receive its first ever award for Favorite Animated Comedy in People's Choice Award?", "pos": [ "\"Favorite Animated Comedy\" is the award; 'People's Choice Award' is the award_category; received award refers to result = 'Winner'; first ever award refers to Min(year)" ], "neg": [ "won refers to result = 'Winner'; in 2017 refers to year = 2017", "between the episode 5 and 10 of season 20 refers to episode_id IN('S20-E5', 'S20-E6', 'S20-E7', 'S20-E8', 'S20-E9', 'S20-E10'); credited refers to credited = 'true'; for casting refers to role = 'casting'", "\"Pamela Hayden\" is the person; voice the character 'Ruthie' refers to role = 'Ruthie'", "writer refers to role = 'writer'; star score greater than 5 refers to stars > 5; in 2009 refers to year = 2009", "most recent refers to MAX(year); received refers to result = 'Winner'; name of award refers to award; category refers to award_category", "height refers to height_meters; not in credit list refers to credited = ''; category of casting refers to category = 'Casting Department'", "held by Jupiter Award refers to organization = 'Jupiter Award'; won the award refers to result = 'Winner'", "aired in 2008 refers to air_date LIKE '2008%'; 5 stars and below refers to stars < 5", "in 2009 refers to year = 2009; name of awarded character refers to character\n\n", "\"The Tiny Canadian\" refers to nickname = 'The Tiny Canadian'; play as in the show refers to role\n" ] }