set
dict
{ "query": "How many people were considered as prospective recipients of the \"Animation\" award?", "pos": [ "prospective recipients refers to result = 'Nominee'" ], "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)", "episodes from 10 to 20 refers to episode BETWEEN 10 and 20; more than 200 votes refers to COUNT(votes) > 200", "name refers to person; the role Smithers refers to character = 'Smithers'", "aired between October to November refers to strftime('%m', air_date) between '10' and '11';", "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')", "more than 1000 votes refers to votes > 1000", "\"Dell Hake\" is the person; not included in the credit list refers to credited = ''", "\"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%'", "aired in 2008 refers to air_date LIKE '2008%'; 5 stars and below refers to stars < 5" ] }
{ "query": "What's the rating of the episode in which Dan Castellaneta won the Outstanding Voice-Over Performance award in 2009?", "pos": [ "\"Dan Castellaneta\" is the person;  2009 is year;  won refers result = 'Winner'" ], "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%", "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 votes refers to max(votes); nominated refers to result = 'Nominee'", "highest vote refers to Max(votes); lowest vote refers to Min(votes); difference = Subtract(Max(votes), Min(votes))", "writer refers to role = 'writer'; star score greater than 5 refers to stars > 5; in 2009 refers to year = 2009", "more than 100 votes refers to votes > 100", "lowest rating refers to Min(rating)", "2 stars refers to stars = 2; 9 votes refers to votes = 9", "episodes that have received more 7-star votes than the season average refers to votes > DIVIDE(SUM(votes), COUNT(stars = 7))" ] }
{ "query": "Write down the website address which stores the episode image of episode 5.", "pos": [ "website address refers to episode_image" ], "neg": [ "more than 100 votes refers to votes > 100", "information about the music department refers to category = 'Music Department'", "received the most nomination refers to MAX(COUNT(episode_id))", "is credited refers to credited = 'true';", "in 2010 refers to year = 2010; winning rate refers to DIVIDE(COUNT(result = 'winner'), COUNT(*));", "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'", "\"riot\" and \"cake\" are both keyword", "\"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)", "rating of 7 and above refers to rating > 7.0", "\"Marc Wilmore\" is the name of person" ] }
{ "query": "What are the characters that were nominated for Primetime Emmy Award from 2009 to 2010 but did not win?", "pos": [ "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'" ], "neg": [ "more than 100 votes refers to votes > 100", "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 greater than 5 refers to stars > 5; have air date in 2008 refers to air_date LIKE '2008%'", "\"How the Test Was Won\" is the title of episode; not included in the credit refers to credited = ' '; name of person refers to person", "scores 5 to 10 refers to TOTAL(percent) where 1 < = stars < 5", "episode 426 refers to number_in_series = 426", "\"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", "\"Marc Wilmore\" is the name of person", "stars score of 10 at 30% and above refers to stars = 10 and percent > 29", "more than 1000 votes refers to votes > 1000" ] }
{ "query": "Which episode ids are rated 5 stars and have more than 100 votes?", "pos": [ "more than 100 votes refers to votes > 100" ], "neg": [ "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'", "from countries other than the USA refers to birth_country ! = 'USA'", "co-executive producer refers to role = 'co-executive producer'; higher than 1.60 meters refers to height_meters > 1.60", "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'", "episodes that have received more 7-star votes than the season average refers to votes > DIVIDE(SUM(votes), COUNT(stars = 7))", "\"How the Test Was Won\" is the title of episode; not included in the credit refers to credited = ' '; name of person refers to person", "winner refers to result = 'Winner'; Best International TV Series in 2017 refers to award = 'Best International TV Series' and year = '2017'\n\n", "in 2010 refers to year = 2010; nominations refers to result = 'Nominee'", "episodes from 10 to 20 refers to episode BETWEEN 10 and 20; more than 200 votes refers to COUNT(votes) > 200" ] }
{ "query": "Which crew member of the simpson 20s is the oldest?", "pos": [ "oldest refers to Min(birthdate)" ], "neg": [ "received the most nomination refers to MAX(COUNT(episode_id))", "\"riot\" and \"cake\" are both keyword", "won refers to result = 'Winner'; in 2017 refers to year = 2017", "have air date in 2008 refers to air_date LIKE '2008%'", "held by Jupiter Award refers to organization = 'Jupiter Award'; won the award refers to result = 'Winner'", "star score of 10 refers to stars = 10", "best rating scale refers to stars = 10", "Primetime Emmy Award refers to award_category = 'Primetime Emmy'", "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'", "percentage = DIVIDE(SUM(stars = 5), COUNT(stars)) as percentage" ] }
{ "query": "List the names of players who play by the left hand.", "pos": [ "play by the left hand refers to Batting_hand =   'Left-hand bat'" ], "neg": [ "first half refers to 1 < Over_Id and Over_Id < 25; average = divide(sum(Over_Id) when 1 < Over_Id and Over_Id < 25, sum(Runs_Scored)) as percentage; first innings refers to Innings_No = 1", "SuperSport Park refers to Venue_Name = 'SuperSport Park'; Centurion refers to City_Name = 'Centurion'", "Delhi Daredevils refers to team_name = 'Delhi Daredevils'; in 2009 refers to Match_Date = '2009%'; won by wickets refers to Win_Type = 'wickets'; percentage refers to DIVIDE(COUNT(Win_Type = 'wickets'), COUNT(Win_Type))", "are Superover refers to win_type = 'wickets';", "venue refers to Venue_Name; Kolkata Knight Riders refers to Team_Name = 'Kolkata Knight Riders'; most of their matches refers to max(count(Venue_Id)); Team 1 refers to Team_Id = Team_1", "player's ID refers to Player_Id", "have left arm fast in bowling skill refers to Bowling_skill = 'Left-arm fast';", "Mohammad Hafeez refers to Player_Name = 'Mohammad Hafeez';", "role refers to of Role_Id; SC Ganguly refers to Player_Name = 'SC Ganguly'; on 2008/4/18 refers to Match_Date = '2008-04-18'", "names of teams refers to Team_Name; second team refers to Team_2; Pune Warriors refers to Team_Name = 'Pune Warriors'" ] }
{ "query": "Among the players from South Africa, provide the players' names who were born in 1984.", "pos": [ "from South Africa refers to Country_Name = 'South Africa'; born in 1984 refers to DOB like '1984%';" ], "neg": [ "bowling skill greater than 2 refers to Bowling_skill > 2", "won by runs refers to Win_Type = 'runs'; won the toss and decided to field refers to Toss_Winner and Toss_Name = 'field'; percentage = divide(count(Team_1) when Match_Winner = Team_1 and Toss_Winner = Team_1, count(Team_1)) as percentage", "right-handed batting refers to Batting_hand = 'Right-hand bat'; percentage = divide(count(Player_Id where Batting_hand = 'Right-hand bat'), count(Player_Id)) * 100%", "innings numbers refers to Innings_No", "Dr DY Patil Sports Academy venue refers to Venue_Name = 'Dr DY Patil Sports Academy'; win by a margin of less than 10 refers to Win_Margin < 10; percentage = divide(count(Venue_Id) when Win_Margin < 10, sum(Venue_Id)) as percentage", "SC Ganguly refers to Player_Name = 'SC Ganguly'; team captain refers to Role_Desc = 'Captain'", "the team named \"Pune Warriors\" refers to Team_Name = 'Pune Warriors'; the total number of won matches = count(Team_Name where Team_Id = Match_Winner)", "right hand as batting hand refers to Batting_Hand = 'Right-hand bat'; born after 1985 refers to SUBSTR(DOB, 1, 4) > 1985", "born before 10/16/1975 refers to DOB < 1975-10-16; bowling skill of less than 3 refers to Bowling_skill < 3", "Sunrisers Hyderabad team refers to Team_Name = 'Sunrisers Hyderabad'; in 2013 refers to Match_Date like '2013%';" ] }
{ "query": "What is the date of the match that has the highest wager on the final result of a game?", "pos": [ "date of the match refers to Match_Date; highest wager refers to max(Win_Margin)" ], "neg": [ "Sunrisers Hyderabad refers to Team_Name = 'Sunrisers Hyderabad'; time of toss winner refers to count(Toss_Winner)", "bat with their right hand refers to Batting_hand = 'Right-hand bat'; average = divide(count(Player_Id) when Batting_hand = 'Right-hand bat', count(Country_Name))", "from Sri Lanka refers to Country_Name = 'Sri Lanka';", "name of players refers to Player_Name", "winning margin of 6 points refers to Win_Margin = 6; held on April 26, 2009 refers to Match_Date = '2009-04-26'", "name of player refers to Player_Name; the youngest refers to max(DOB)", "resulted in a tie refers to Win_Type = 'Tie'; in 2015 refers to SUBSTR(Match_Date, 1, 4) = 2015", "player's ID refers to Player_Id", "out by lbw refers to Out_Id = 4; runout refers to Out_Id = 3; average out by lbw refers to  avg(Player_Out when Out_Id = 4); average out by runout refers to  avg(Player_Out when Out_Id = 3)", "seasons from 2011 to 2015 refers to 2011 < Season_Year < 2015" ] }
{ "query": "How many matches did Mohammad Hafeez play?", "pos": [ "Mohammad Hafeez refers to Player_Name = 'Mohammad Hafeez';" ], "neg": [ "Indian refers to Country_Name = 'India'", "\nvenue refers to Venue_Name", "season refers to Season_Id; the highest number of matches refers to max(count(Season_Id)); M Chinnaswamy Stadium refers to Venue_Name = 'M Chinnaswamy Stadium'", "the country the umpire comes from refers to Country_Name; BR Doctrove refers to Umpire_Name = 'BR Doctrove'", "full name refers to Player_Name; in 2013 refers to Season_Year = 2013", "name of the team refers to Team_Name; the most number of matches refers to max(count(Match_Winner)); season 1 refers to season_Id = 1", "Who refers to Player_Name;", "name of the player refers to Player_Name; born on July 7 1981 refers to DOB = '1981-07-07'", "players' name refers to Player_name; born in 1971 refers to DOB LIKE '1971%'", "player no.41 won the \"man of the match\" refers to Man_of_the_Match = 41" ] }
{ "query": "List the player's ID of the top five players, by descending order, in terms of bowling skill.", "pos": [ "player's ID refers to Player_Id" ], "neg": [ "wins the toss refers to Toss_Winner; whether they decided to bat or field refers to Toss_Name", "When refers to Match_Date; youngest player refers to max(DOB); first match refers to min(Match_Date)", "lowest winning margin refers to MIN(win_margin); team name refers to team_name; second team refers to team_2", "full name refers to Player_Name; in 2013 refers to Season_Year = 2013", "which country refers to Country_Id; most umpires refers to max(count(Umpire_Id))", "Delhi Daredevils refers to team_name = 'Delhi Daredevils'; in 2014 refers to Match_Date contains '2014';", "\nvenue refers to Venue_Name", "country refers to Country_Name; the oldest refers to min(DOB)", "player no.41 won the \"man of the match\" refers to Man_of_the_Match = 41", "seasons from 2011 to 2015 refers to 2011 < Season_Year < 2015" ] }
{ "query": "What is the bowling skill used by most players?", "pos": [ "bowling skill used by most players refers to max(count(Bowling_Skill))" ], "neg": [ "venue refers to Venue_Name; winning team refers to match_winner", "Yuvraj Singh refers to Player_Name = 'Yuvraj Singh'; receive the Man of the Match award refers to Player_Id = Man_of_the_Match", "resulted in a tie refers to Win_Type = 'Tie'; in 2015 refers to SUBSTR(Match_Date, 1, 4) = 2015", "won by runs refers to Win_Type = 'runs'; won the toss and decided to field refers to Toss_Winner and Toss_Name = 'field'; percentage = divide(count(Team_1) when Match_Winner = Team_1 and Toss_Winner = Team_1, count(Team_1)) as percentage", "eldest player refers to MIN(DOB); where he/she come from refers to Country_Name", "city refers to City_Name; M Chinnaswamy Stadium refers to Venue_Name = 'M Chinnaswamy Stadium'", "born in 1977 refers to DOB LIKE '1977%'; name refers to Player_Name; birthdate refers to DOB; England refers to Country_Name = 'England'", "role refers to of Role_Id; SC Ganguly refers to Player_Name = 'SC Ganguly'; on 2008/4/18 refers to Match_Date = '2008-04-18'", "were played in March 2010 refers to Match_Date = '2010-03%'", "name of the team refers to Team_Name; the most number of matches refers to max(count(Match_Winner)); season 1 refers to season_Id = 1" ] }
{ "query": "Which team wins the toss during the match ID 336011, and can you tell me whether they decided to bat or field?", "pos": [ "wins the toss refers to Toss_Winner; whether they decided to bat or field refers to Toss_Name" ], "neg": [ "city refers to City_Name; M Chinnaswamy Stadium refers to Venue_Name = 'M Chinnaswamy Stadium'", "had players out by hit wickets refers to Out_Name = 'hit wicket'", "out by lbw refers to Out_Id = 4; runout refers to Out_Id = 3; average out by lbw refers to  avg(Player_Out when Out_Id = 4); average out by runout refers to  avg(Player_Out when Out_Id = 3)", "born before 10/16/1975 refers to DOB < 1975-10-16; bowling skill of less than 3 refers to Bowling_skill < 3", "Legbreak skill refers to Bowling_skill = 'Legbreak' ; percentage = divide(sum(Player_Id) when Bowling_skill = 'Legbreak', count(Player_Id)) as percentage", "played as a keeper refers to Role_Desc = 'Keeper'; name of player refers to Player_Name;", "Australia refers to Country_Name = 'Australia'", "bowling skill greater than 2 refers to Bowling_skill > 2", "the oldest refers to min(DOB); date of birth refers to DOB", "Australia refers to Country_Name = 'Australia'" ] }
{ "query": "What is the role of SC Ganguly?", "pos": [ "SC Ganguly refers to Player_Name = 'SC Ganguly'; role refers to Role_Desc" ], "neg": [ "are Indians refers to Country_Name = 'India'", "'slow left-arm chinaman' bowling style refers to Bowling_skill = 'Slow left-arm chinaman'; most players  refers to max(count(Country_Id))", "name of teams refers to Team_Name; won the toss refers to Toss_Winner; matches with ID from 336010 to 336020  refers to Match_Id BETWEEN 336010 AND 336020", "\nvenue refers to Venue_Name", "date of birth refers to DOB; 2014 refers to Season_Year = 2014; Orange Cap winner refers to Orange_Cap IS NOT NULL", "M Chinnaswamy Stadium refers to Venue_Name = 'M Chinnaswamy Stadium'; Maharashtra Cricket Association Stadium refers to Venue_Name = 'Maharashtra Cricket Association Stadium'; how many times = divide(count(Match_Id where Venue_Name = 'M Chinnaswamy Stadium'), count(Match_Id where Venue_Name = 'Maharashtra Cricket Association Stadium'))", "born in the 80s refers to DOB like '198%'; have bowling skill of 2 refers to Bowling_skill = 2;", "point of winning margin of 38 refers to win_margin = 38; on April 30, 2009 refers to match_date = '2009-04-30'; team refers to Team_Name;", "eldest player refers to MIN(DOB); where he/she come from refers to Country_Name", "old refers to SUBTRACT(2022, SUBSTR(DOB, 1, 4)); Ishan Kishan refers to Player_Name = 'Ishan Kishan';" ] }
{ "query": "How many percent of the toss-winners decided to bowl first on the pitch from 2010 to 2016?", "pos": [ "decide to bowl first refers to Toss_Name = 'field'; from 2010 to 2016 refers to Match_Date BETWEEN '2010-01-01' AND '2016-12-31'; percent = divide(count(Toss_Id where Toss_Name = 'field'), count(Toss_Id)) * 100% where Match_Date BETWEEN '2010-01-01' AND '2016-12-31'" ], "neg": [ "role refers to Role_Desc; K Goel refers to Player_Name = 'K Goel'; match ID 335992 refers to Match_Id = 335992", "bowling skill used by most players refers to max(count(Bowling_Skill))", "country refers to Country_Name; the oldest refers to min(DOB)", "point of winning margin of 38 refers to win_margin = 38; on April 30, 2009 refers to match_date = '2009-04-30'; team refers to Team_Name;", "Who refers to Player_Name; youngest player to have won the Purple Cap refers to min(subtract(Season_Year, DOB))", "second innings refers to Innings_No = 2; average extra runs = divide(sum(Extra_Runs), count(Innings_No)) when Innings_No = 2", "SC Ganguly refers to Player_Name = 'SC Ganguly'; team captain refers to Role_Desc = 'Captain'", "born in 1977 refers to DOB LIKE '1977%'; name refers to Player_Name; birthdate refers to DOB; England refers to Country_Name = 'England'", "city refers to City_Name; U.A.E refers to Country_Name = 'U.A.E'", "match date refers to Match_Date; Chennai Super Kings refers to Team_Name = 'Chennai Super Kings'; first match refers to min(Match_Date)" ] }
{ "query": "Tally the player IDs of \"Man of the Series\" awardees for the seasons from 2011 to 2015.", "pos": [ "seasons from 2011 to 2015 refers to 2011 < Season_Year < 2015" ], "neg": [ "East London refers to City_Name = 'East London'", "right-handed batting refers to Batting_hand = 'Right-hand bat'; percentage = divide(count(Player_Id where Batting_hand = 'Right-hand bat'), count(Player_Id)) * 100%", "Dr DY Patil Sports Academy venue refers to Venue_Name = 'Dr DY Patil Sports Academy'; win by a margin of less than 10 refers to Win_Margin < 10; percentage = divide(count(Venue_Id) when Win_Margin < 10, sum(Venue_Id)) as percentage", "resulted in a tie refers to Win_Type = 'Tie'; in 2015 refers to SUBSTR(Match_Date, 1, 4) = 2015", "player no.41 won the \"man of the match\" refers to Man_of_the_Match = 41", "country refers to Country_Name; the majority of the players  refers to max(count(Country_Name))", "fewest number of matches refers to min(count(Match_Id))", "from Sri Lanka refers to Country_Name = 'Sri Lanka';", "date of the match refers to Match_Date; highest wager refers to max(Win_Margin)", "SC Ganguly refers to Player_Name = 'SC Ganguly'" ] }
{ "query": "Provide the complete name of the venue, city and country where the last match was held.", "pos": [ "name of the venue, city and country refers to Venue_Name and City_Name and Country_Name; last match refers to max(Match_Date)" ], "neg": [ "from Sri Lanka refers to Country_Name = 'Sri Lanka';", "name of venues refers to Venue_Name; season 2 refers to Season_Id = 2", "season refers to Season_Id; the highest number of matches refers to max(count(Season_Id)); M Chinnaswamy Stadium refers to Venue_Name = 'M Chinnaswamy Stadium'", "got out by being stumped refers to Out_Name = 'stumped'; the second innings refers to Innings_No = 2", "born before 10/16/1975 refers to DOB < 1975-10-16; bowling skill of less than 3 refers to Bowling_skill < 3", "SC Ganguly refers to Player_Name = 'SC Ganguly'", "name of player refers to Player_Name; the youngest refers to max(DOB)", "MA Chidambaram Stadium refers to Venue_Name = 'MA Chidambaram Stadium' ; from 5/9/2009 to 8/8/2011 refers to Match_Date between '2009-05-09' and '2011-08-08'", "which country refers to Country_Id; most umpires refers to max(count(Umpire_Id))", "name of the team refers to Team_Name; won the first ever match refers to Match_Winner where max(Match_Date)" ] }
{ "query": "List the player's name of Mumbai Indians in the match ID 335990.", "pos": [ "Mumbai Indians refers to Team_Name = 'Mumbai Indians'; match ID 335990 refers to Match_Id = 335990" ], "neg": [ "role refers to Role_Desc; K Goel refers to Player_Name = 'K Goel'; match ID 335992 refers to Match_Id = 335992", "have left arm fast in bowling skill refers to Bowling_skill = 'Left-arm fast';", "date of birth refers to DOB; 2014 refers to Season_Year = 2014; Orange Cap winner refers to Orange_Cap IS NOT NULL", "venue refers to Venue_Name; winning team refers to match_winner", "decide to bowl first refers to Toss_Name = 'field'; from 2010 to 2016 refers to Match_Date BETWEEN '2010-01-01' AND '2016-12-31'; percent = divide(count(Toss_Id where Toss_Name = 'field'), count(Toss_Id)) * 100% where Match_Date BETWEEN '2010-01-01' AND '2016-12-31'", "season refers to Season_Id; the highest number of matches refers to max(count(Season_Id)); M Chinnaswamy Stadium refers to Venue_Name = 'M Chinnaswamy Stadium'", "4/18/2008 refers to Match_Date = 4/18/2008; end of 17 overs refers to count(Toss_Name = 'field' ) = 17; run rate = divide(sum(Runs_Scored) when Toss_Name = 'bat', sum(Over_Id) when Toss_Name = 'field')", "innings numbers refers to Innings_No", "When refers to Match_Date; youngest player refers to max(DOB); first match refers to min(Match_Date)", "CH Gayle refers to Player_Name = 'CH Gayle'" ] }
{ "query": "How many players have the bowling skill greater than 2?", "pos": [ "bowling skill greater than 2 refers to Bowling_skill > 2" ], "neg": [ "Who refers to Player_Name; youngest player to have won the Purple Cap refers to min(subtract(Season_Year, DOB))", "which country refers to Country_Id; most umpires refers to max(count(Umpire_Id))", "name of the player refers to Player_Name; the first ever refers to min(match_date); \"man of the match\" award refers to Player_Id in 'Man_of_the_Match'", "name and country of the players refers to Player_Name and Country_Name; catches refers to Out_name = 'caught'; average catches refers to divide(count(Player_ID) when Out_name = 'caught', sum(Player_ID))", "were played in March 2010 refers to Match_Date = '2010-03%'", "English umpires refers to Country_Name = 'England'", "born in the 90s refers to DOB > = '1990-01-01' AND DOB < = '1999-12-31'", "Australia refers to Country_Name = 'Australia'", "had players out by hit wickets refers to Out_Name = 'hit wicket'", "if a player has multiple roles in a match, it means this player is versatile; name refers to Player_Name; most versatile player refers to MAX(COUNT(Role_id)); Delhi Daredevils refers to Team_Name = 'Delhi Daredevils'" ] }
{ "query": "How many players were born in the 90s?", "pos": [ "born in the 90s refers to DOB > = '1990-01-01' AND DOB < = '1999-12-31'" ], "neg": [ "venue refers to Venue_Name; winning team refers to match_winner", "When refers to Match_Date; youngest player refers to max(DOB); first match refers to min(Match_Date)", "name of venues refers to Venue_Name; season 2 refers to Season_Id = 2", "Zimbabwean refers to Country_Name = 'Zimbabwea'; players refers to Player_Name", "match date refers to Match_Date; Chennai Super Kings refers to Team_Name = 'Chennai Super Kings'; first match refers to min(Match_Date)", "the country the umpire comes from refers to Country_Name; BR Doctrove refers to Umpire_Name = 'BR Doctrove'", "seasons from 2011 to 2015 refers to 2011 < Season_Year < 2015", "name of the venue, city and country refers to Venue_Name and City_Name and Country_Name; last match refers to max(Match_Date)", "Sunrisers Hyderabad refers to Team_Name = 'Sunrisers Hyderabad'; win their first match refers to Match_Winner and min(Match_Date)", "bowling skill used by most players refers to max(count(Bowling_Skill))" ] }
{ "query": "What is the venue for the match ID 829768?", "pos": [ "\nvenue refers to Venue_Name" ], "neg": [ "have left arm fast in bowling skill refers to Bowling_skill = 'Left-arm fast';", "the country the umpire comes from refers to Country_Name; BR Doctrove refers to Umpire_Name = 'BR Doctrove'", "born in 1977 refers to DOB LIKE '1977%'; a role as a captain refers to Role_Desc = 'Captain'; percentage = divide(count(Role_Id where Role_Desc = 'Captain'), count(Role_Id)) * 100% where DOB LIKE '1977%'", "held in St. George's Park refers to Venue_Name = 'St George''s Park'; highest winning margin points refers to MAX(Win_Margin)", "had players out by hit wickets refers to Out_Name = 'hit wicket'", "born in the 80s refers to DOB like '198%'; have bowling skill of 2 refers to Bowling_skill = 2;", "right-handed batting refers to Batting_hand = 'Right-hand bat'; percentage = divide(count(Player_Id where Batting_hand = 'Right-hand bat'), count(Player_Id)) * 100%", "type of match won refers to Win_Type", "Mumbai Indians refers to Team_Name = 'Mumbai Indians'; match ID 335990 refers to Match_Id = 335990", "venue refers to Venue_Name; Kolkata Knight Riders refers to Team_Name = 'Kolkata Knight Riders'; most of their matches refers to max(count(Venue_Id)); Team 1 refers to Team_Id = Team_1" ] }
{ "query": "In which country do the majority of the players are from?", "pos": [ "country refers to Country_Name; the majority of the players  refers to max(count(Country_Name))" ], "neg": [ "players' name refers to Player_name; born in 1971 refers to DOB LIKE '1971%'", "have left arm fast in bowling skill refers to Bowling_skill = 'Left-arm fast';", "name of the team refers to Team_Name; won the first ever match refers to Match_Winner where max(Match_Date)", "right hand as batting hand refers to Batting_Hand = 'Right-hand bat'; born after 1985 refers to SUBSTR(DOB, 1, 4) > 1985", "player's ID refers to Player_Id", "are Indians refers to Country_Name = 'India'", "name refers to Player_Name; captain keeper refers to Role_Desc = 'CaptainKeeper'; match no.419117 refers to Match_Id = '419117'", "fewest number of matches refers to min(count(Match_Id))", "country refers to Country_Name; the oldest refers to min(DOB)", "born in 1977 refers to DOB LIKE '1977%'; name refers to Player_Name; birthdate refers to DOB; England refers to Country_Name = 'England'" ] }
{ "query": "Is SuperSport Park located at Centurion?", "pos": [ "SuperSport Park refers to Venue_Name = 'SuperSport Park'; Centurion refers to City_Name = 'Centurion'" ], "neg": [ "number of runs refers to Runs_Scored; 2nd inning refers to Innings_No = 2", "got out refers to Player_Out; the first inning refers to Innings_No = 1; match ID \"548335\" refers to Match_Id = 548335", "not won by runs refers to Win_Type ! = 'runs'", "which country refers to Country_Id; most umpires refers to max(count(Umpire_Id))", "in team 1 refers to Team_Id = 1; name of player refers to Player_Name;", "right hand as batting hand refers to Batting_Hand = 'Right-hand bat'; born after 1985 refers to SUBSTR(DOB, 1, 4) > 1985", "U.A.E refers to Country_Name = 'U.A.E'", "bowling skill greater than 2 refers to Bowling_skill > 2", "Legbreak skill refers to Bowling_skill = 'Legbreak' ; percentage = divide(sum(Player_Id) when Bowling_skill = 'Legbreak', count(Player_Id)) as percentage", "seasons from 2011 to 2015 refers to 2011 < Season_Year < 2015" ] }
{ "query": "Which year do the majority of the players were born?", "pos": [ "year refers to DOB; majority of the players refers to max(count(Player_Id))" ], "neg": [ "batting team was the Delhi Daredevils refers to Team_Name = 'Delhi Daredevils' and Team_1 = Team_Id where Team_Batting = 1 or Team_2 = Team_Id where Team_Batting = 2; no runs scored refers to Runs_Scored = 0", "first half refers to 1 < Over_Id and Over_Id < 25; average = divide(sum(Over_Id) when 1 < Over_Id and Over_Id < 25, sum(Runs_Scored)) as percentage; first innings refers to Innings_No = 1", "born in the 80s refers to DOB like '198%'; have bowling skill of 2 refers to Bowling_skill = 2;", "role refers to Role_Desc; K Goel refers to Player_Name = 'K Goel'; match ID 335992 refers to Match_Id = 335992", "won by runs refers to Win_Type = 'runs'; won the toss and decided to field refers to Toss_Winner and Toss_Name = 'field'; percentage = divide(count(Team_1) when Match_Winner = Team_1 and Toss_Winner = Team_1, count(Team_1)) as percentage", "SC Ganguly refers to Player_Name = 'SC Ganguly'; in season year 2008 refers to Season_Year = 2008", "second innings refers to Innings_No = 2; average extra runs = divide(sum(Extra_Runs), count(Innings_No)) when Innings_No = 2", "out by lbw refers to Out_Id = 4; runout refers to Out_Id = 3; average out by lbw refers to  avg(Player_Out when Out_Id = 4); average out by runout refers to  avg(Player_Out when Out_Id = 3)", "name of the team refers to Team_Name; the most number of matches refers to max(count(Match_Winner)); season 1 refers to season_Id = 1", "in May 2008 refers to SUBSTR(Match_Date, 1, 4) = '2008' AND SUBSTR(Match_Date, 7, 1) = '5'" ] }
{ "query": "Indicate the name of the most versatile players of the Delhi Daredevils.", "pos": [ "if a player has multiple roles in a match, it means this player is versatile; name refers to Player_Name; most versatile player refers to MAX(COUNT(Role_id)); Delhi Daredevils refers to Team_Name = 'Delhi Daredevils'" ], "neg": [ "Sunrisers Hyderabad refers to Team_Name = 'Sunrisers Hyderabad'; time of toss winner refers to count(Toss_Winner)", "got out by being stumped refers to Out_Name = 'stumped'; the second innings refers to Innings_No = 2", "winning margin of 6 points refers to Win_Margin = 6; held on April 26, 2009 refers to Match_Date = '2009-04-26'", "Team 10 refers to Team_1 = 10 OR Team_2 = 10; in 2012 refers to SUBSTR(Match_Date, 1, 4) = '2012'", "on 2008/5/12 refers to Match_Date = '2008-05-12'; name refers to Player_Name;", "Who refers to Player_Name; youngest player to have won the Purple Cap refers to min(subtract(Season_Year, DOB))", "role refers to of Role_Id; SC Ganguly refers to Player_Name = 'SC Ganguly'; on 2008/4/18 refers to Match_Date = '2008-04-18'", "country refers to Country_Name; the oldest refers to min(DOB)", "bat with their right hand refers to Batting_hand = 'Right-hand bat'; average = divide(count(Player_Id) when Batting_hand = 'Right-hand bat', count(Country_Name))", "the venue named \"Newlands\" refers to Venue_Name = 'Newlands'" ] }
{ "query": "For how many times has SC Ganguly played as team captain in a match?", "pos": [ "SC Ganguly refers to Player_Name = 'SC Ganguly'; team captain refers to Role_Desc = 'Captain'" ], "neg": [ "in 2008 refers to Match_Date like '2008%'", "type of match won refers to Win_Type", "SuperSport Park refers to Venue_Name = 'SuperSport Park'; Centurion refers to City_Name = 'Centurion'", "in team 1 refers to Team_Id = 1; name of player refers to Player_Name;", "name of the team refers to Team_Name; the most number of matches refers to max(count(Match_Winner)); season 1 refers to season_Id = 1", "born in the 80s refers to DOB like '198%'; have bowling skill of 2 refers to Bowling_skill = 2;", "Zimbabwean refers to Country_Name = 'Zimbabwea'; players refers to Player_Name", "man of the match more than 5 times refers to COUNT(Man_of_the_Match) > 5; in season year 2008 refers to Season_Year = 2008; name of player refers to Player_Name;", "held in June 2014 refers to SUBSTR(Match_Date, 7, 1) = 6 and SUBSTR(Match_Date, 1, 4) = 2014", "won by runs refers to Win_Type = 'runs'; won the toss and decided to field refers to Toss_Winner and Toss_Name = 'field'; percentage = divide(count(Team_1) when Match_Winner = Team_1 and Toss_Winner = Team_1, count(Team_1)) as percentage" ] }
{ "query": "Name the teams played in a match which resulted in a tie in 2015.", "pos": [ "resulted in a tie refers to Win_Type = 'Tie'; in 2015 refers to SUBSTR(Match_Date, 1, 4) = 2015" ], "neg": [ "player's ID refers to Player_Id", "who refers to Team_Name", "batting team was the Delhi Daredevils refers to Team_Name = 'Delhi Daredevils' and Team_1 = Team_Id where Team_Batting = 1 or Team_2 = Team_Id where Team_Batting = 2; no runs scored refers to Runs_Scored = 0", "name of player refers to Player_Name; the youngest refers to max(DOB)", "Royal Challengers Bangalore refers to team_name = 'Royal Challengers Bangalore'; highest winning margin refers to MAX(win_margin)", "the country the umpire comes from refers to Country_Name; BR Doctrove refers to Umpire_Name = 'BR Doctrove'", "in team 1 refers to Team_Id = 1; name of player refers to Player_Name;", "won by wickets refers to Win_type = 'wickets';", "name of players refers to Player_Name", "city named \"Rajkot\" refers to city_name = 'Rajkot';" ] }
{ "query": "Write down the player names and IDs of the English umpires.", "pos": [ "English umpires refers to Country_Name = 'England'" ], "neg": [ "won by wickets refers to Win_type = 'wickets';", "bowling skill used by most players refers to max(count(Bowling_Skill))", "end of 16 overs refers to count(Toss_Name = 'field' ) = 16; run rate = divide(count(Runs_Scored) when Toss_Name = 'bat', sum(Over_Id)when Toss_Name = 'field'); name refers to Player_Name", "name of player refers to Player_Name; the youngest refers to max(DOB)", "Sunrisers Hyderabad refers to Team_Name = 'Sunrisers Hyderabad'; win their first match refers to Match_Winner and min(Match_Date)", "bowling skill greater than 2 refers to Bowling_skill > 2", "East London refers to City_Name = 'East London'", "name of venues refers to Venue_Name; season 2 refers to Season_Id = 2", "won by runs refers to Win_Type = 'runs'; won the toss and decided to field refers to Toss_Winner and Toss_Name = 'field'; percentage = divide(count(Team_1) when Match_Winner = Team_1 and Toss_Winner = Team_1, count(Team_1)) as percentage", "U.A.E refers to Country_Name = 'U.A.E'" ] }
{ "query": "How many times did Yuvraj Singh receive the Man of the Match award?", "pos": [ "Yuvraj Singh refers to Player_Name = 'Yuvraj Singh'; receive the Man of the Match award refers to Player_Id = Man_of_the_Match" ], "neg": [ "SC Ganguly refers to Player_Name = 'SC Ganguly'; role refers to Role_Desc", "Legbreak skill refers to Bowling_skill = 'Legbreak' ; percentage = divide(sum(Player_Id) when Bowling_skill = 'Legbreak', count(Player_Id)) as percentage", "from Sri Lanka refers to Country_Name = 'Sri Lanka';", "end of 16 overs refers to count(Toss_Name = 'field' ) = 16; run rate = divide(count(Runs_Scored) when Toss_Name = 'bat', sum(Over_Id)when Toss_Name = 'field'); name refers to Player_Name", "player's ID refers to Player_Id", "'slow left-arm chinaman' bowling style refers to Bowling_skill = 'Slow left-arm chinaman'; most players  refers to max(count(Country_Id))", "in May 2008 refers to SUBSTR(Match_Date, 1, 4) = '2008' AND SUBSTR(Match_Date, 7, 1) = '5'", "Pune Warriors refers to Team_Name = 'Pune Warriors'", "Who refers to Player_Name; youngest player to have won the Purple Cap refers to min(subtract(Season_Year, DOB))", "in team 1 refers to Team_Id = 1; name of player refers to Player_Name;" ] }
{ "query": "What is the batting hand of MK Pandey?", "pos": [ "MK Pandey refers to Player_Name = 'MK Pandey'" ], "neg": [ "are Indians refers to Country_Name = 'India'", "SC Ganguly refers to Player_Name = 'SC Ganguly'; in season year 2008 refers to Season_Year = 2008", "team's name refers to Team_Name; first team refers to Team_Id = Team_1; the highest winning margin refers to max(Win_Margin)", "name of the venue, city and country refers to Venue_Name and City_Name and Country_Name; last match refers to max(Match_Date)", "who refers to Team_Name", "the venue named \"Newlands\" refers to Venue_Name = 'Newlands'", "English umpires refers to Country_Name = 'England'", "from South Africa refers to Country_Name = 'South Africa'; born in 1984 refers to DOB like '1984%';", "out by lbw refers to Out_Id = 4; runout refers to Out_Id = 3; average out by lbw refers to  avg(Player_Out when Out_Id = 4); average out by runout refers to  avg(Player_Out when Out_Id = 3)", "role refers to of Role_Id; SC Ganguly refers to Player_Name = 'SC Ganguly'; on 2008/4/18 refers to Match_Date = '2008-04-18'" ] }
{ "query": "State the name of captain keeper of the match no.419117.", "pos": [ "name refers to Player_Name; captain keeper refers to Role_Desc = 'CaptainKeeper'; match no.419117 refers to Match_Id = '419117'" ], "neg": [ "won by wickets refers to Win_type = 'wickets';", "Zimbabwean refers to Country_Name = 'Zimbabwea'; players refers to Player_Name", "born in the 90s refers to DOB > = '1990-01-01' AND DOB < = '1999-12-31'", "Between match no. 335989 and 337000 refers to 335989 < Match_Id < 337000; batsman score more than 3 runs during over no. 1, ball no. 1, and inning no. 1 of the matches refers to Runs_Scored > 3 and  Over_Id = 1 and Ball_Id = 1 and Innings_No = 1", "Sunrisers Hyderabad team refers to Team_Name = 'Sunrisers Hyderabad'; in 2013 refers to Match_Date like '2013%';", "name of the venue, city and country refers to Venue_Name and City_Name and Country_Name; last match refers to max(Match_Date)", "played in 2009 Match_Date like '2009%'; Mumbai Indians\" team refers to Team_Name = 'Mumbai Indians'; percent of the matches did they win refers to DIVIDE(COUNT(Match_Winner = Team_Id), COUNT(Match_Id))", "on 2008/5/12 refers to Match_Date = '2008-05-12'; name refers to Player_Name;", "Sunrisers Hyderabad refers to Team_Name = 'Sunrisers Hyderabad'; win their first match refers to Match_Winner and min(Match_Date)", "player's ID refers to Player_Id" ] }
{ "query": "Provide the players' names in both teams of the match that was held in June 2014.", "pos": [ "held in June 2014 refers to SUBSTR(Match_Date, 7, 1) = 6 and SUBSTR(Match_Date, 1, 4) = 2014" ], "neg": [ "the venue named \"Newlands\" refers to Venue_Name = 'Newlands'", "Who refers to Player_Name; youngest player to have won the Purple Cap refers to min(subtract(Season_Year, DOB))", "players' name refers to Player_name; born in 1971 refers to DOB LIKE '1971%'", "MK Pandey refers to Player_Name = 'MK Pandey'", "are Superover refers to win_type = 'wickets';", "Mohammad Hafeez refers to Player_Name = 'Mohammad Hafeez';", "the oldest refers to min(DOB); date of birth refers to DOB", "born in the 80s refers to DOB like '198%'; have bowling skill of 2 refers to Bowling_skill = 2;", "number of runs refers to Runs_Scored; 2nd inning refers to Innings_No = 2", "were played in March 2010 refers to Match_Date = '2010-03%'" ] }
{ "query": "Which player became the man of the series in the year 2012? Give the name and country of this player.", "pos": [ "year 2012 refers to Season_Year = 2012; name of player refers to Player_Name.; country of this player refers to Country_Name" ], "neg": [ "in 2009 refers to Match_Date like '2009%'; win margins of less than 10 refers to Win_Margin < 10;", "name and country of the players refers to Player_Name and Country_Name; catches refers to Out_name = 'caught'; average catches refers to divide(count(Player_ID) when Out_name = 'caught', sum(Player_ID))", "date of the matches refers to Match_Date; held in Kingsmead refers to Venue_Name = 'Kingsmead'", "SuperSport Park refers to Venue_Name = 'SuperSport Park'; Centurion refers to City_Name = 'Centurion'", "bowling skill greater than 2 refers to Bowling_skill > 2", "won by runs refers to win_type = 1; percentage refers to DIVIDE(COUNT(win_type = 1), COUNT(Win_Type)) * 100", "match date refers to Match_Date; Chennai Super Kings refers to Team_Name = 'Chennai Super Kings'; first match refers to min(Match_Date)", "4/18/2008 refers to Match_Date = 4/18/2008; end of 17 overs refers to count(Toss_Name = 'field' ) = 17; run rate = divide(sum(Runs_Scored) when Toss_Name = 'bat', sum(Over_Id) when Toss_Name = 'field')", "born in the 80s refers to DOB like '198%'; have bowling skill of 2 refers to Bowling_skill = 2;", "Royal Challengers Bangalore refers to team_name = 'Royal Challengers Bangalore'; highest winning margin refers to MAX(win_margin)" ] }
{ "query": "How many times does M Chinnaswamy Stadium host games than Maharashtra Cricket Association Stadium?", "pos": [ "M Chinnaswamy Stadium refers to Venue_Name = 'M Chinnaswamy Stadium'; Maharashtra Cricket Association Stadium refers to Venue_Name = 'Maharashtra Cricket Association Stadium'; how many times = divide(count(Match_Id where Venue_Name = 'M Chinnaswamy Stadium'), count(Match_Id where Venue_Name = 'Maharashtra Cricket Association Stadium'))" ], "neg": [ "Who refers to Player_Name;", "the country the umpire comes from refers to Country_Name; BR Doctrove refers to Umpire_Name = 'BR Doctrove'", "type of match won refers to Win_Type", "venue refers to Venue_Name; winning team refers to match_winner", "left hand batting style players refers to Batting_hand = 'Left-hand bat'; percentage refers to DIVIDE(COUNT(Batting_hand = 'Left-hand bat'), COUNT(Player_Id)) * 100.0", "SC Ganguly refers to Player_Name = 'SC Ganguly'; role refers to Role_Desc", "name of the team refers to Team_Name; the highest number of losses refers to max(add(count(Team_1 where Team_Id = Team_1 and Team_1 <> Match_Winner), count(Team_2 where Team_Id = Team_2 and Team_2 <> Match_Winner)))", "if a player has multiple roles in a match, it means this player is versatile; name refers to Player_Name; most versatile player refers to MAX(COUNT(Role_id)); Delhi Daredevils refers to Team_Name = 'Delhi Daredevils'", "losing team's name refers to Team_Id NOT in \"match_winner\" column", "player no.41 won the \"man of the match\" refers to Man_of_the_Match = 41" ] }
{ "query": "How many matches were held at the venue named \"Newlands\"?", "pos": [ "the venue named \"Newlands\" refers to Venue_Name = 'Newlands'" ], "neg": [ "Dr DY Patil Sports Academy venue refers to Venue_Name = 'Dr DY Patil Sports Academy'; win by a margin of less than 10 refers to Win_Margin < 10; percentage = divide(count(Venue_Id) when Win_Margin < 10, sum(Venue_Id)) as percentage", "players' name refers to Player_name; born in 1971 refers to DOB LIKE '1971%'", "have left arm fast in bowling skill refers to Bowling_skill = 'Left-arm fast';", "are Indians refers to Country_Name = 'India'", "SuperSport Park refers to Venue_Name = 'SuperSport Park'; Centurion refers to City_Name = 'Centurion'", "captain and keeper refers to Role_Desc = 'CaptainKeeper'; percentage = divide(count(Player_Id) when Role_Desc = 'CaptainKeeper', count(Player_Id)) as percentage", "Sunrisers Hyderabad refers to Team_Name = 'Sunrisers Hyderabad'; win their first match refers to Match_Winner and min(Match_Date)", "SC Ganguly refers to Player_Name = 'SC Ganguly'; in season year 2008 refers to Season_Year = 2008", "East London refers to City_Name = 'East London'", "Team 10 refers to Team_1 = 10 OR Team_2 = 10; in 2012 refers to SUBSTR(Match_Date, 1, 4) = '2012'" ] }
{ "query": "How many times did SC Ganguly be the man of the match?", "pos": [ "SC Ganguly refers to Player_Name = 'SC Ganguly'" ], "neg": [ "play by the left hand refers to Batting_hand =   'Left-hand bat'", "second innings refers to Innings_No = 2; average extra runs = divide(sum(Extra_Runs), count(Innings_No)) when Innings_No = 2", "Dr DY Patil Sports Academy venue refers to Venue_Name = 'Dr DY Patil Sports Academy'; win by a margin of less than 10 refers to Win_Margin < 10; percentage = divide(count(Venue_Id) when Win_Margin < 10, sum(Venue_Id)) as percentage", "city refers to City_Name; M Chinnaswamy Stadium refers to Venue_Name = 'M Chinnaswamy Stadium'", "seasons from 2011 to 2015 refers to 2011 < Season_Year < 2015", "player's ID refers to Player_Id", "name of the player refers to Player_Name; the highest number of outstanding player awards refers to max(count(Man_of_the_Match))", "played as a keeper refers to Role_Desc = 'Keeper'; name of player refers to Player_Name;", "fewest number of matches refers to min(count(Match_Id))", "Australia refers to Country_Name = 'Australia'" ] }
{ "query": "Write the name of the player who was the man of the series more than one time.", "pos": [ "name of the player refers to Player_Name; man of the series more than one time refers to count(Man_of_the_Series) > 1" ], "neg": [ "date of the match refers to Match_Date; highest wager refers to max(Win_Margin)", "SC Ganguly refers to Player_Name = 'SC Ganguly'", "id of the player who won the Orange Cap refers to Orange_Cap; for 2 consecutive seasons refers to count(Season_Year) > 1", "Sunrisers Hyderabad refers to Team_Name = 'Sunrisers Hyderabad'; time of toss winner refers to count(Toss_Winner)", "play by the left hand refers to Batting_hand =   'Left-hand bat'", "name of the player refers to Player_Name; born on July 7 1981 refers to DOB = '1981-07-07'", "name of venues refers to Venue_Name; season 2 refers to Season_Id = 2", "date of the matches refers to Match_Date; held in Kingsmead refers to Venue_Name = 'Kingsmead'", "name refers to Player_Name; youngest player refers to max(DOB)", "have left arm fast in bowling skill refers to Bowling_skill = 'Left-arm fast';" ] }
{ "query": "How many players were born before 10/16/1975, and have a bowling skill of less than 3?", "pos": [ "born before 10/16/1975 refers to DOB < 1975-10-16; bowling skill of less than 3 refers to Bowling_skill < 3" ], "neg": [ "born in the 80s refers to DOB like '198%'; have bowling skill of 2 refers to Bowling_skill = 2;", "out by lbw refers to Out_Id = 4; runout refers to Out_Id = 3; average out by lbw refers to  avg(Player_Out when Out_Id = 4); average out by runout refers to  avg(Player_Out when Out_Id = 3)", "players' name refers to Player_name; born in 1971 refers to DOB LIKE '1971%'", "average winning margin refers to avg(win_margin); held in Newlands refers to venue_name = 'Newlands'", "innings numbers refers to Innings_No", "old refers to SUBTRACT(2022, SUBSTR(DOB, 1, 4)); Ishan Kishan refers to Player_Name = 'Ishan Kishan';", "Sunrisers Hyderabad refers to Team_Name = 'Sunrisers Hyderabad'; time of toss winner refers to count(Toss_Winner)", "4/18/2008 refers to Match_Date = 4/18/2008; end of 17 overs refers to count(Toss_Name = 'field' ) = 17; run rate = divide(sum(Runs_Scored) when Toss_Name = 'bat', sum(Over_Id) when Toss_Name = 'field')", "name of the venue, city and country refers to Venue_Name and City_Name and Country_Name; last match refers to max(Match_Date)", "first teams refers to Team_1; chose to bat after winning the toss refers to Toss_Winner and Toss_Decide = 2" ] }
{ "query": "What is the second team's name in the match with the lowest winning margin?", "pos": [ "lowest winning margin refers to MIN(win_margin); team name refers to team_name; second team refers to team_2" ], "neg": [ "Yuvraj Singh refers to Player_Name = 'Yuvraj Singh'; receive the Man of the Match award refers to Player_Id = Man_of_the_Match", "point of winning margin of 38 refers to win_margin = 38; on April 30, 2009 refers to match_date = '2009-04-30'; team refers to Team_Name;", "name and country of the players refers to Player_Name and Country_Name; catches refers to Out_name = 'caught'; average catches refers to divide(count(Player_ID) when Out_name = 'caught', sum(Player_ID))", "SB Joshi refers to Player_Name = 'SB Joshi'; where the player come from refers to Country_Name", "Mohammad Hafeez refers to Player_Name = 'Mohammad Hafeez';", "name of the player refers to Player_Name; the highest number of outstanding player awards refers to max(count(Man_of_the_Match))", "resulted in a tie refers to Win_Type = 'Tie'; in 2015 refers to SUBSTR(Match_Date, 1, 4) = 2015", "\nvenue refers to Venue_Name", "most number of balls refers to max(Ball_Id); match 501219 refers to Match_Id = 501219;\nplayer id also refers to non_striker or ball_id", "old refers to SUBTRACT(2022, SUBSTR(DOB, 1, 4)); Ishan Kishan refers to Player_Name = 'Ishan Kishan';" ] }
{ "query": "Among the players, what percentage are both captain and keeper?", "pos": [ "captain and keeper refers to Role_Desc = 'CaptainKeeper'; percentage = divide(count(Player_Id) when Role_Desc = 'CaptainKeeper', count(Player_Id)) as percentage" ], "neg": [ "name of the team refers to Team_Name; won the first ever match refers to Match_Winner where max(Match_Date)", "played in 2009 Match_Date like '2009%'; Mumbai Indians\" team refers to Team_Name = 'Mumbai Indians'; percent of the matches did they win refers to DIVIDE(COUNT(Match_Winner = Team_Id), COUNT(Match_Id))", "won by runs refers to win_type = 1; percentage refers to DIVIDE(COUNT(win_type = 1), COUNT(Win_Type)) * 100", "SC Ganguly refers to Player_Name = 'SC Ganguly'", "SC Ganguly refers to Player_Name = 'SC Ganguly'; role refers to Role_Desc", "name refers to Player_Name; captain keeper refers to Role_Desc = 'CaptainKeeper'; match no.419117 refers to Match_Id = '419117'", "Between match no. 335989 and 337000 refers to 335989 < Match_Id < 337000; batsman score more than 3 runs during over no. 1, ball no. 1, and inning no. 1 of the matches refers to Runs_Scored > 3 and  Over_Id = 1 and Ball_Id = 1 and Innings_No = 1", "bat with their right hand refers to Batting_hand = 'Right-hand bat'; average = divide(count(Player_Id) when Batting_hand = 'Right-hand bat', count(Country_Name))", "which country refers to Country_Id; most umpires refers to max(count(Umpire_Id))", "Sunrisers Hyderabad refers to Team_Name = 'Sunrisers Hyderabad'; win their first match refers to Match_Winner and min(Match_Date)" ] }
{ "query": "Among the\" Mumbai Indians\" team that played in 2009, how many percent of the matches did they win?", "pos": [ "played in 2009 Match_Date like '2009%'; Mumbai Indians\" team refers to Team_Name = 'Mumbai Indians'; percent of the matches did they win refers to DIVIDE(COUNT(Match_Winner = Team_Id), COUNT(Match_Id))" ], "neg": [ "name of the player refers to Player_Name; the highest number of outstanding player awards refers to max(count(Man_of_the_Match))", "scored less than 3 refers to Runs_Scored < 3; name of player refers to Player_name;", "won by wickets refers to Win_type = 'wickets';", "noballs refers to Extra_Name = 'noballs' ; average number = divide(sum(Extra_Runs), count(Extra_Runs))", "losing team's name refers to Team_Id NOT in \"match_winner\" column", "out by lbw refers to Out_Id = 4; runout refers to Out_Id = 3; average out by lbw refers to  avg(Player_Out when Out_Id = 4); average out by runout refers to  avg(Player_Out when Out_Id = 3)", "names of the venues refers to Venue_Name; Abu Dhabi refers to City_Name = 'Abu Dhabi'", "were played in March 2010 refers to Match_Date = '2010-03%'", "name of the player refers to Player_Name; man of the series more than one time refers to count(Man_of_the_Series) > 1", "batting team was the Delhi Daredevils refers to Team_Name = 'Delhi Daredevils' and Team_1 = Team_Id where Team_Batting = 1 or Team_2 = Team_Id where Team_Batting = 2; no runs scored refers to Runs_Scored = 0" ] }
{ "query": "Among the players who were born in 1977, provide names and birthdates of the players from England.", "pos": [ "born in 1977 refers to DOB LIKE '1977%'; name refers to Player_Name; birthdate refers to DOB; England refers to Country_Name = 'England'" ], "neg": [ "from South Africa refers to Country_Name = 'South Africa'; born in 1984 refers to DOB like '1984%';", "venue refers to Venue_Name; winning team refers to match_winner", "not won by runs refers to Win_Type ! = 'runs'", "Delhi Daredevils refers to team_name = 'Delhi Daredevils'; in 2014 refers to Match_Date contains '2014';", "season refers to Season_Id; the highest number of matches refers to max(count(Season_Id)); M Chinnaswamy Stadium refers to Venue_Name = 'M Chinnaswamy Stadium'", "SC Ganguly refers to Player_Name = 'SC Ganguly'; role refers to Role_Desc", "date of birth refers to DOB; 2014 refers to Season_Year = 2014; Orange Cap winner refers to Orange_Cap IS NOT NULL", "name of players refers to Player_Name", "captain and keeper refers to Role_Desc = 'CaptainKeeper'; percentage = divide(count(Player_Id) when Role_Desc = 'CaptainKeeper', count(Player_Id)) as percentage", "country refers to Country_Name; the oldest refers to min(DOB)" ] }
{ "query": "Where did SB Joshi come from?", "pos": [ "SB Joshi refers to Player_Name = 'SB Joshi'; where the player come from refers to Country_Name" ], "neg": [ "name of the striker refers to Player_Name; match no. 419169 refers to Match_Id = 419169; over no.3 refers to Over_Id = 3; ball no.2 refers to Ball_Id = 2; inning no.2 refers to Innings_No = 2", "born in the 90s refers to DOB > = '1990-01-01' AND DOB < = '1999-12-31'", "date of birth refers to DOB; 2014 refers to Season_Year = 2014; Orange Cap winner refers to Orange_Cap IS NOT NULL", "SC Ganguly refers to Player_Name = 'SC Ganguly'", "date of the match refers to Match_Date; highest wager refers to max(Win_Margin)", "Sunrisers Hyderabad refers to Team_Name = 'Sunrisers Hyderabad'; win their first match refers to Match_Winner and min(Match_Date)", "SC Ganguly refers to Player_Name = 'SC Ganguly'; in season year 2008 refers to Season_Year = 2008", "name of the player refers to Player_Name; the first ever refers to min(match_date); \"man of the match\" award refers to Player_Id in 'Man_of_the_Match'", "SC Ganguly refers to Player_Name = 'SC Ganguly'; role refers to Role_Desc", "names of teams refers to Team_Name; second team refers to Team_2; Pune Warriors refers to Team_Name = 'Pune Warriors'" ] }
{ "query": "What percentage of players have Legbreak skill?", "pos": [ "Legbreak skill refers to Bowling_skill = 'Legbreak' ; percentage = divide(sum(Player_Id) when Bowling_skill = 'Legbreak', count(Player_Id)) as percentage" ], "neg": [ "wins the toss refers to Toss_Winner; whether they decided to bat or field refers to Toss_Name", "name of the venue, city and country refers to Venue_Name and City_Name and Country_Name; last match refers to max(Match_Date)", "SC Ganguly refers to Player_Name = 'SC Ganguly'; team captain refers to Role_Desc = 'Captain'", "not won by runs refers to Win_Type ! = 'runs'", "MK Pandey refers to Player_Name = 'MK Pandey'", "MA Chidambaram Stadium refers to Venue_Name = 'MA Chidambaram Stadium' ; from 5/9/2009 to 8/8/2011 refers to Match_Date between '2009-05-09' and '2011-08-08'", "names of the venues refers to Venue_Name; Abu Dhabi refers to City_Name = 'Abu Dhabi'", "bat with their right hand refers to Batting_hand = 'Right-hand bat'; average = divide(count(Player_Id) when Batting_hand = 'Right-hand bat', count(Country_Name))", "born in the 90s refers to DOB > = '1990-01-01' AND DOB < = '1999-12-31'", "Pune Warriors refers to Team_Name = 'Pune Warriors'" ] }
{ "query": "In which country do most players have the 'slow left-arm chinaman' bowling style?", "pos": [ "'slow left-arm chinaman' bowling style refers to Bowling_skill = 'Slow left-arm chinaman'; most players  refers to max(count(Country_Id))" ], "neg": [ "name of the player refers to Player_Name; man of the series more than one time refers to count(Man_of_the_Series) > 1", "born in 1977 refers to DOB LIKE '1977%'; a role as a captain refers to Role_Desc = 'Captain'; percentage = divide(count(Role_Id where Role_Desc = 'Captain'), count(Role_Id)) * 100% where DOB LIKE '1977%'", "held in St. George's Park refers to Venue_Name = 'St George''s Park'; highest winning margin points refers to MAX(Win_Margin)", "name of players refers to Player_Name", "in team 1 refers to Team_Id = 1; name of player refers to Player_Name;", "seasons from 2011 to 2015 refers to 2011 < Season_Year < 2015", "on 18th April 2015 refers to DATE(Match_Date) = '2015-04-18'", "bat with their right hand refers to Batting_hand = 'Right-hand bat'; average = divide(count(Player_Id) when Batting_hand = 'Right-hand bat', count(Country_Name))", "Sunrisers Hyderabad refers to Team_Name = 'Sunrisers Hyderabad'; win their first match refers to Match_Winner and min(Match_Date)", "played in 2009 Match_Date like '2009%'; Mumbai Indians\" team refers to Team_Name = 'Mumbai Indians'; percent of the matches did they win refers to DIVIDE(COUNT(Match_Winner = Team_Id), COUNT(Match_Id))" ] }
{ "query": "Who is the winning team in a match held on April 26, 2009 with a winning margin of 6 points?", "pos": [ "winning margin of 6 points refers to Win_Margin = 6; held on April 26, 2009 refers to Match_Date = '2009-04-26'" ], "neg": [ "Sunrisers Hyderabad team refers to Team_Name = 'Sunrisers Hyderabad'; in 2013 refers to Match_Date like '2013%';", "bat with their right hand refers to Batting_hand = 'Right-hand bat'; average = divide(count(Player_Id) when Batting_hand = 'Right-hand bat', count(Country_Name))", "venue refers to Venue_Name; winning team refers to match_winner", "role refers to Role_Desc; K Goel refers to Player_Name = 'K Goel'; match ID 335992 refers to Match_Id = 335992", "season year 2008 refers to Season_Year = 2008", "Yuvraj Singh refers to Player_Name = 'Yuvraj Singh'; receive the Man of the Match award refers to Player_Id = Man_of_the_Match", "Australia refers to Country_Name = 'Australia'", "U.A.E refers to Country_Name = 'U.A.E'", "SC Ganguly refers to Player_Name = 'SC Ganguly'; team captain refers to Role_Desc = 'Captain'", "When refers to Match_Date; youngest player refers to max(DOB); first match refers to min(Match_Date)" ] }
{ "query": "Please list the bowling skills of all the players from Australia.", "pos": [ "Australia refers to Country_Name = 'Australia'" ], "neg": [ "name of the player refers to Player_Name; the highest number of outstanding player awards refers to max(count(Man_of_the_Match))", "name of player refers to Player_Name; the youngest refers to max(DOB)", "average winning margin refers to avg(win_margin); held in Newlands refers to venue_name = 'Newlands'", "Royal Challengers Bangalore refers to team_name = 'Royal Challengers Bangalore'; highest winning margin refers to MAX(win_margin)", "CH Gayle refers to Player_Name = 'CH Gayle'", "Who refers to Player_Name;", "name of teams refers to Team_Name; won the toss refers to Toss_Winner; matches with ID from 336010 to 336020  refers to Match_Id BETWEEN 336010 AND 336020", "eldest player refers to MIN(DOB); where he/she come from refers to Country_Name", "U.A.E refers to Country_Name = 'U.A.E'", "Mohammad Hafeez refers to Player_Name = 'Mohammad Hafeez';" ] }
{ "query": "On average, how many players from each country bat with their right hand?", "pos": [ "bat with their right hand refers to Batting_hand = 'Right-hand bat'; average = divide(count(Player_Id) when Batting_hand = 'Right-hand bat', count(Country_Name))" ], "neg": [ "second innings refers to Innings_No = 2; average extra runs = divide(sum(Extra_Runs), count(Innings_No)) when Innings_No = 2", "city refers to City_Name; no-result matches refers to Win_type = 'NoResult'; least number refers to min(count(Win_type = 'NoResult'))", "lowest winning margin refers to MIN(win_margin); team name refers to team_name; second team refers to team_2", "name of players refers to Player_Name", "SC Ganguly refers to Player_Name = 'SC Ganguly'", "SC Ganguly refers to Player_Name = 'SC Ganguly'; team captain refers to Role_Desc = 'Captain'", "name of the player refers to Player_Name; the first ever refers to min(match_date); \"man of the match\" award refers to Player_Id in 'Man_of_the_Match'", "man of the match more than 5 times refers to COUNT(Man_of_the_Match) > 5; in season year 2008 refers to Season_Year = 2008; name of player refers to Player_Name;", "out by lbw refers to Out_Id = 4; runout refers to Out_Id = 3; average out by lbw refers to  avg(Player_Out when Out_Id = 4); average out by runout refers to  avg(Player_Out when Out_Id = 3)", "Sunrisers Hyderabad refers to Team_Name = 'Sunrisers Hyderabad'; time of toss winner refers to count(Toss_Winner)" ] }
{ "query": "How many players got out in the first inning of match ID \"548335\"?", "pos": [ "got out refers to Player_Out; the first inning refers to Innings_No = 1; match ID \"548335\" refers to Match_Id = 548335" ], "neg": [ "wins the toss refers to Toss_Winner; whether they decided to bat or field refers to Toss_Name", "the venue named \"Newlands\" refers to Venue_Name = 'Newlands'", "season refers to Season_Id; the highest number of matches refers to max(count(Season_Id)); M Chinnaswamy Stadium refers to Venue_Name = 'M Chinnaswamy Stadium'", "Mumbai Indians refers to Team_Name = 'Mumbai Indians'; match ID 335990 refers to Match_Id = 335990", "were played in March 2010 refers to Match_Date = '2010-03%'", "decide to bowl first refers to Toss_Name = 'field'; from 2010 to 2016 refers to Match_Date BETWEEN '2010-01-01' AND '2016-12-31'; percent = divide(count(Toss_Id where Toss_Name = 'field'), count(Toss_Id)) * 100% where Match_Date BETWEEN '2010-01-01' AND '2016-12-31'", "id of the player who won the Orange Cap refers to Orange_Cap; for 2 consecutive seasons refers to count(Season_Year) > 1", "country refers to Country_Name; the majority of the players  refers to max(count(Country_Name))", "most number of balls refers to max(Ball_Id); match 501219 refers to Match_Id = 501219;\nplayer id also refers to non_striker or ball_id", "born in 1977 refers to DOB LIKE '1977%'; name refers to Player_Name; birthdate refers to DOB; England refers to Country_Name = 'England'" ] }
{ "query": "What is the role of K Goel in the match ID 335992?", "pos": [ "role refers to Role_Desc; K Goel refers to Player_Name = 'K Goel'; match ID 335992 refers to Match_Id = 335992" ], "neg": [ "team's name refers to Team_Name; first team refers to Team_Id = Team_1; the highest winning margin refers to max(Win_Margin)", "city refers to City_Name; M Chinnaswamy Stadium refers to Venue_Name = 'M Chinnaswamy Stadium'", "name refers to Player_Name; captain keeper refers to Role_Desc = 'CaptainKeeper'; match no.419117 refers to Match_Id = '419117'", "are Indians refers to Country_Name = 'India'", "MK Pandey refers to Player_Name = 'MK Pandey'", "year refers to DOB; majority of the players refers to max(count(Player_Id))", "on 2008/5/12 refers to Match_Date = '2008-05-12'; name refers to Player_Name;", "M Chinnaswamy Stadium refers to Venue_Name = 'M Chinnaswamy Stadium'; Maharashtra Cricket Association Stadium refers to Venue_Name = 'Maharashtra Cricket Association Stadium'; how many times = divide(count(Match_Id where Venue_Name = 'M Chinnaswamy Stadium'), count(Match_Id where Venue_Name = 'Maharashtra Cricket Association Stadium'))", "end of 16 overs refers to count(Toss_Name = 'field' ) = 16; run rate = divide(count(Runs_Scored) when Toss_Name = 'bat', sum(Over_Id)when Toss_Name = 'field'); name refers to Player_Name", "name of the striker refers to Player_Name; match no. 419169 refers to Match_Id = 419169; over no.3 refers to Over_Id = 3; ball no.2 refers to Ball_Id = 2; inning no.2 refers to Innings_No = 2" ] }
{ "query": "What is the average number of extra runs made as noballs?", "pos": [ "noballs refers to Extra_Name = 'noballs' ; average number = divide(sum(Extra_Runs), count(Extra_Runs))" ], "neg": [ "full name refers to Player_Name; in 2013 refers to Season_Year = 2013", "are Indians refers to Country_Name = 'India'", "got out by being stumped refers to Out_Name = 'stumped'; the second innings refers to Innings_No = 2", "from South Africa refers to Country_Name = 'South Africa'; born in 1984 refers to DOB like '1984%';", "won by runs refers to Win_Type = 'runs'; won the toss and decided to field refers to Toss_Winner and Toss_Name = 'field'; percentage = divide(count(Team_1) when Match_Winner = Team_1 and Toss_Winner = Team_1, count(Team_1)) as percentage", "lowest winning margin refers to MIN(win_margin); team name refers to team_name; second team refers to team_2", "Sunrisers Hyderabad refers to Team_Name = 'Sunrisers Hyderabad'; time of toss winner refers to count(Toss_Winner)", "born in the 90s refers to DOB > = '1990-01-01' AND DOB < = '1999-12-31'", "U.A.E refers to Country_Name = 'U.A.E'", "name of the player refers to Player_Name; the first ever refers to min(match_date); \"man of the match\" award refers to Player_Id in 'Man_of_the_Match'" ] }
{ "query": "Where did BR Doctrove come from?", "pos": [ "the country the umpire comes from refers to Country_Name; BR Doctrove refers to Umpire_Name = 'BR Doctrove'" ], "neg": [ "Mumbai Indians refers to Team_Name = 'Mumbai Indians'; match ID 335990 refers to Match_Id = 335990", "were played in March 2010 refers to Match_Date = '2010-03%'", "from South Africa refers to Country_Name = 'South Africa'; born in 1984 refers to DOB like '1984%';", "East London refers to City_Name = 'East London'", "name of the player refers to Player_Name; man of the series more than one time refers to count(Man_of_the_Series) > 1", "have left arm fast in bowling skill refers to Bowling_skill = 'Left-arm fast';", "held in June 2014 refers to SUBSTR(Match_Date, 7, 1) = 6 and SUBSTR(Match_Date, 1, 4) = 2014", "Who refers to Player_Name; youngest player to have won the Purple Cap refers to min(subtract(Season_Year, DOB))", "most number of balls refers to max(Ball_Id); match 501219 refers to Match_Id = 501219;\nplayer id also refers to non_striker or ball_id", "season year 2008 refers to Season_Year = 2008" ] }
{ "query": "When did the Sunrisers Hyderabad win their first match?", "pos": [ "Sunrisers Hyderabad refers to Team_Name = 'Sunrisers Hyderabad'; win their first match refers to Match_Winner and min(Match_Date)" ], "neg": [ "fewest number of matches refers to min(count(Match_Id))", "man of the match more than 5 times refers to COUNT(Man_of_the_Match) > 5; in season year 2008 refers to Season_Year = 2008; name of player refers to Player_Name;", "SuperSport Park refers to Venue_Name = 'SuperSport Park'; Centurion refers to City_Name = 'Centurion'", "bat with their right hand refers to Batting_hand = 'Right-hand bat'; average = divide(count(Player_Id) when Batting_hand = 'Right-hand bat', count(Country_Name))", "Zimbabwean refers to Country_Name = 'Zimbabwea'; players refers to Player_Name", "country refers to Country_Name; the majority of the players  refers to max(count(Country_Name))", "role refers to Role_Desc; K Goel refers to Player_Name = 'K Goel'; match ID 335992 refers to Match_Id = 335992", "MA Chidambaram Stadium refers to Venue_Name = 'MA Chidambaram Stadium' ; from 5/9/2009 to 8/8/2011 refers to Match_Date between '2009-05-09' and '2011-08-08'", "season refers to Season_Id; the highest number of matches refers to max(count(Season_Id)); M Chinnaswamy Stadium refers to Venue_Name = 'M Chinnaswamy Stadium'", "born in 1977 refers to DOB LIKE '1977%'; name refers to Player_Name; birthdate refers to DOB; England refers to Country_Name = 'England'" ] }
{ "query": "How many games were played in March 2010?", "pos": [ "were played in March 2010 refers to Match_Date = '2010-03%'" ], "neg": [ "in 2009 refers to Match_Date like '2009%'; win margins of less than 10 refers to Win_Margin < 10;", "name of the striker refers to Player_Name; match no. 419169 refers to Match_Id = 419169; over no.3 refers to Over_Id = 3; ball no.2 refers to Ball_Id = 2; inning no.2 refers to Innings_No = 2", "names of the venues refers to Venue_Name; Abu Dhabi refers to City_Name = 'Abu Dhabi'", "venue refers to Venue_Name; Kolkata Knight Riders refers to Team_Name = 'Kolkata Knight Riders'; most of their matches refers to max(count(Venue_Id)); Team 1 refers to Team_Id = Team_1", "won by runs refers to win_type = 1; percentage refers to DIVIDE(COUNT(win_type = 1), COUNT(Win_Type)) * 100", "had players out by hit wickets refers to Out_Name = 'hit wicket'", "in May 2008 refers to SUBSTR(Match_Date, 1, 4) = '2008' AND SUBSTR(Match_Date, 7, 1) = '5'", "city refers to City_Name; M Chinnaswamy Stadium refers to Venue_Name = 'M Chinnaswamy Stadium'", "Mumbai Indians refers to Team_Name = 'Mumbai Indians'; match ID 335990 refers to Match_Id = 335990", "not won by runs refers to Win_Type ! = 'runs'" ] }
{ "query": "List the name and country of the players who got more than average catches in ascending order of the number of catches.", "pos": [ "name and country of the players refers to Player_Name and Country_Name; catches refers to Out_name = 'caught'; average catches refers to divide(count(Player_ID) when Out_name = 'caught', sum(Player_ID))" ], "neg": [ "in team 1 refers to Team_Id = 1; name of player refers to Player_Name;", "seasons from 2011 to 2015 refers to 2011 < Season_Year < 2015", "city refers to City_Name; U.A.E refers to Country_Name = 'U.A.E'", "venue refers to Venue_Name; Kolkata Knight Riders refers to Team_Name = 'Kolkata Knight Riders'; most of their matches refers to max(count(Venue_Id)); Team 1 refers to Team_Id = Team_1", "held in St. George's Park refers to Venue_Name = 'St George''s Park'; highest winning margin points refers to MAX(Win_Margin)", "role refers to Role_Desc; K Goel refers to Player_Name = 'K Goel'; match ID 335992 refers to Match_Id = 335992", "the oldest refers to min(DOB); date of birth refers to DOB", "name of the striker refers to Player_Name; match no. 419169 refers to Match_Id = 419169; over no.3 refers to Over_Id = 3; ball no.2 refers to Ball_Id = 2; inning no.2 refers to Innings_No = 2", "man of the match more than 5 times refers to COUNT(Man_of_the_Match) > 5; in season year 2008 refers to Season_Year = 2008; name of player refers to Player_Name;", "held in June 2014 refers to SUBSTR(Match_Date, 7, 1) = 6 and SUBSTR(Match_Date, 1, 4) = 2014" ] }
{ "query": "What is the name of the team that won the most number of matches in season 1?", "pos": [ "name of the team refers to Team_Name; the most number of matches refers to max(count(Match_Winner)); season 1 refers to season_Id = 1" ], "neg": [ "right hand as batting hand refers to Batting_Hand = 'Right-hand bat'; born after 1985 refers to SUBSTR(DOB, 1, 4) > 1985", "bowling skill used by most players refers to max(count(Bowling_Skill))", "Royal Challengers Bangalore refers to team_name = 'Royal Challengers Bangalore'; highest winning margin refers to MAX(win_margin)", "captain-keeper refers to Role_Desc = 'CaptainKeeper'; Rising Pune Supergiants refers to Role_Desc = 'CaptainKeeper'", "Delhi Daredevils refers to team_name = 'Delhi Daredevils'; in 2014 refers to Match_Date contains '2014';", "the team named \"Pune Warriors\" refers to Team_Name = 'Pune Warriors'; the total number of won matches = count(Team_Name where Team_Id = Match_Winner)", "When refers to Match_Date; youngest player refers to max(DOB); first match refers to min(Match_Date)", "born in the 80s refers to DOB like '198%'; have bowling skill of 2 refers to Bowling_skill = 2;", "name of the venue refers to Venue_Name; most number of matches refers to max(count(Venue_Id))", "captain and keeper refers to Role_Desc = 'CaptainKeeper'; percentage = divide(count(Player_Id) when Role_Desc = 'CaptainKeeper', count(Player_Id)) as percentage" ] }
{ "query": "Count the matches that were won by wickets in all season.", "pos": [ "won by wickets refers to Win_type = 'wickets';" ], "neg": [ "played as a keeper refers to Role_Desc = 'Keeper'; name of player refers to Player_Name;", "have left arm fast in bowling skill refers to Bowling_skill = 'Left-arm fast';", "name of player refers to Player_Name; the youngest refers to max(DOB)", "When refers to Match_Date; youngest player refers to max(DOB); first match refers to min(Match_Date)", "first teams refers to Team_1; chose to bat after winning the toss refers to Toss_Winner and Toss_Decide = 2", "SuperSport Park refers to Venue_Name = 'SuperSport Park'; Centurion refers to City_Name = 'Centurion'", "role refers to Role_Desc; K Goel refers to Player_Name = 'K Goel'; match ID 335992 refers to Match_Id = 335992", "season refers to Season_Id; the highest number of matches refers to max(count(Season_Id)); M Chinnaswamy Stadium refers to Venue_Name = 'M Chinnaswamy Stadium'", "old refers to SUBTRACT(2022, SUBSTR(DOB, 1, 4)); Ishan Kishan refers to Player_Name = 'Ishan Kishan';", "country refers to Country_Name; the majority of the players  refers to max(count(Country_Name))" ] }
{ "query": "What is the percentage of all right-handed batting players among all the other players?", "pos": [ "right-handed batting refers to Batting_hand = 'Right-hand bat'; percentage = divide(count(Player_Id where Batting_hand = 'Right-hand bat'), count(Player_Id)) * 100%" ], "neg": [ "name of venues refers to Venue_Name; season 2 refers to Season_Id = 2", "bowling skill greater than 2 refers to Bowling_skill > 2", "in 2009 refers to Match_Date like '2009%'; win margins of less than 10 refers to Win_Margin < 10;", "names of teams refers to Team_Name; second team refers to Team_2; Pune Warriors refers to Team_Name = 'Pune Warriors'", "innings numbers refers to Innings_No", "bowling skill used by most players refers to max(count(Bowling_Skill))", "Sunrisers Hyderabad refers to Team_Name = 'Sunrisers Hyderabad'; time of toss winner refers to count(Toss_Winner)", "play by the left hand refers to Batting_hand =   'Left-hand bat'", "U.A.E refers to Country_Name = 'U.A.E'", "name and country of the players refers to Player_Name and Country_Name; catches refers to Out_name = 'caught'; average catches refers to divide(count(Player_ID) when Out_name = 'caught', sum(Player_ID))" ] }
{ "query": "How many of the players are from Sri Lanka?", "pos": [ "from Sri Lanka refers to Country_Name = 'Sri Lanka';" ], "neg": [ "seasons from 2011 to 2015 refers to 2011 < Season_Year < 2015", "in 2008 refers to Match_Date like '2008%'", "won by runs refers to Win_Type = 'runs'; won the toss and decided to field refers to Toss_Winner and Toss_Name = 'field'; percentage = divide(count(Team_1) when Match_Winner = Team_1 and Toss_Winner = Team_1, count(Team_1)) as percentage", "resulted in a tie refers to Win_Type = 'Tie'; in 2015 refers to SUBSTR(Match_Date, 1, 4) = 2015", "When refers to Match_Date; youngest player refers to max(DOB); first match refers to min(Match_Date)", "are Superover refers to win_type = 'wickets';", "the team named \"Pune Warriors\" refers to Team_Name = 'Pune Warriors'; the total number of won matches = count(Team_Name where Team_Id = Match_Winner)", "team's name refers to Team_Name; first team refers to Team_Id = Team_1; the highest winning margin refers to max(Win_Margin)", "SC Ganguly refers to Player_Name = 'SC Ganguly'; role refers to Role_Desc", "English umpires refers to Country_Name = 'England'" ] }
{ "query": "How many seasons did Pune Warriors participate in?", "pos": [ "Pune Warriors refers to Team_Name = 'Pune Warriors'" ], "neg": [ "from South Africa refers to Country_Name = 'South Africa'; born in 1984 refers to DOB like '1984%';", "played as a keeper refers to Role_Desc = 'Keeper'; name of player refers to Player_Name;", "SC Ganguly refers to Player_Name = 'SC Ganguly'", "Dr DY Patil Sports Academy venue refers to Venue_Name = 'Dr DY Patil Sports Academy'; win by a margin of less than 10 refers to Win_Margin < 10; percentage = divide(count(Venue_Id) when Win_Margin < 10, sum(Venue_Id)) as percentage", "old refers to SUBTRACT(2022, SUBSTR(DOB, 1, 4)); Ishan Kishan refers to Player_Name = 'Ishan Kishan';", "Team 10 refers to Team_1 = 10 OR Team_2 = 10; in 2012 refers to SUBSTR(Match_Date, 1, 4) = '2012'", "city named \"Rajkot\" refers to city_name = 'Rajkot';", "the country the umpire comes from refers to Country_Name; BR Doctrove refers to Umpire_Name = 'BR Doctrove'", "Legbreak skill refers to Bowling_skill = 'Legbreak' ; percentage = divide(sum(Player_Id) when Bowling_skill = 'Legbreak', count(Player_Id)) as percentage", "captain and keeper refers to Role_Desc = 'CaptainKeeper'; percentage = divide(count(Player_Id) when Role_Desc = 'CaptainKeeper', count(Player_Id)) as percentage" ] }
{ "query": "Among the players whose bowling skill is \"Legbreak\", when was the oldest one of them born?", "pos": [ "the oldest refers to min(DOB); date of birth refers to DOB" ], "neg": [ "old refers to SUBTRACT(2022, SUBSTR(DOB, 1, 4)); Ishan Kishan refers to Player_Name = 'Ishan Kishan';", "wins the toss refers to Toss_Winner; whether they decided to bat or field refers to Toss_Name", "in May 2008 refers to SUBSTR(Match_Date, 1, 4) = '2008' AND SUBSTR(Match_Date, 7, 1) = '5'", "right hand as batting hand refers to Batting_Hand = 'Right-hand bat'; born after 1985 refers to SUBSTR(DOB, 1, 4) > 1985", "type of match won refers to Win_Type", "left hand batting style players refers to Batting_hand = 'Left-hand bat'; percentage refers to DIVIDE(COUNT(Batting_hand = 'Left-hand bat'), COUNT(Player_Id)) * 100.0", "Sunrisers Hyderabad refers to Team_Name = 'Sunrisers Hyderabad'; win their first match refers to Match_Winner and min(Match_Date)", "team's name refers to Team_Name; first team refers to Team_Id = Team_1; the highest winning margin refers to max(Win_Margin)", "Who refers to Player_Name;", "SC Ganguly refers to Player_Name = 'SC Ganguly'; team captain refers to Role_Desc = 'Captain'" ] }
{ "query": "Who is the youngest player to have won the Purple Cap?", "pos": [ "Who refers to Player_Name; youngest player to have won the Purple Cap refers to min(subtract(Season_Year, DOB))" ], "neg": [ "name of the player refers to Player_Name; born on July 7 1981 refers to DOB = '1981-07-07'", "born before 10/16/1975 refers to DOB < 1975-10-16; bowling skill of less than 3 refers to Bowling_skill < 3", "name of the player refers to Player_Name; man of the series more than one time refers to count(Man_of_the_Series) > 1", "4/18/2008 refers to Match_Date = 4/18/2008; end of 17 overs refers to count(Toss_Name = 'field' ) = 17; run rate = divide(sum(Runs_Scored) when Toss_Name = 'bat', sum(Over_Id) when Toss_Name = 'field')", "id of the player who won the Orange Cap refers to Orange_Cap; for 2 consecutive seasons refers to count(Season_Year) > 1", "Royal Challengers Bangalore refers to team_name = 'Royal Challengers Bangalore'; highest winning margin refers to MAX(win_margin)", "name refers to Player_Name; captain keeper refers to Role_Desc = 'CaptainKeeper'; match no.419117 refers to Match_Id = '419117'", "second innings refers to Innings_No = 2; average extra runs = divide(sum(Extra_Runs), count(Innings_No)) when Innings_No = 2", "English umpires refers to Country_Name = 'England'", "Sunrisers Hyderabad refers to Team_Name = 'Sunrisers Hyderabad'; win their first match refers to Match_Winner and min(Match_Date)" ] }
{ "query": "Provide the match IDs which were held on 18th April 2015.", "pos": [ "on 18th April 2015 refers to DATE(Match_Date) = '2015-04-18'" ], "neg": [ "U.A.E refers to Country_Name = 'U.A.E'", "season refers to Season_Id; the highest number of matches refers to max(count(Season_Id)); M Chinnaswamy Stadium refers to Venue_Name = 'M Chinnaswamy Stadium'", "old refers to SUBTRACT(2022, SUBSTR(DOB, 1, 4)); Ishan Kishan refers to Player_Name = 'Ishan Kishan';", "name of venues refers to Venue_Name; season 2 refers to Season_Id = 2", "name of the team refers to Team_Name; the highest number of losses refers to max(add(count(Team_1 where Team_Id = Team_1 and Team_1 <> Match_Winner), count(Team_2 where Team_Id = Team_2 and Team_2 <> Match_Winner)))", "4/18/2008 refers to Match_Date = 4/18/2008; end of 17 overs refers to count(Toss_Name = 'field' ) = 17; run rate = divide(sum(Runs_Scored) when Toss_Name = 'bat', sum(Over_Id) when Toss_Name = 'field')", "name of the player refers to Player_Name; the first ever refers to min(match_date); \"man of the match\" award refers to Player_Id in 'Man_of_the_Match'", "city named \"Rajkot\" refers to city_name = 'Rajkot';", "captain and keeper refers to Role_Desc = 'CaptainKeeper'; percentage = divide(count(Player_Id) when Role_Desc = 'CaptainKeeper', count(Player_Id)) as percentage", "in 2009 refers to Match_Date like '2009%'; win margins of less than 10 refers to Win_Margin < 10;" ] }
{ "query": "What type did match ID 336000 win?", "pos": [ "type of match won refers to Win_Type" ], "neg": [ "Mohammad Hafeez refers to Player_Name = 'Mohammad Hafeez';", "East London refers to City_Name = 'East London'", "venue refers to Venue_Name; Kolkata Knight Riders refers to Team_Name = 'Kolkata Knight Riders'; most of their matches refers to max(count(Venue_Id)); Team 1 refers to Team_Id = Team_1", "Sunrisers Hyderabad refers to Team_Name = 'Sunrisers Hyderabad'; time of toss winner refers to count(Toss_Winner)", "name of the team refers to Team_Name; the highest number of losses refers to max(add(count(Team_1 where Team_Id = Team_1 and Team_1 <> Match_Winner), count(Team_2 where Team_Id = Team_2 and Team_2 <> Match_Winner)))", "name of player refers to Player_Name; the youngest refers to max(DOB)", "name of the player refers to Player_Name; the first ever refers to min(match_date); \"man of the match\" award refers to Player_Id in 'Man_of_the_Match'", "player's ID refers to Player_Id", "captain and keeper refers to Role_Desc = 'CaptainKeeper'; percentage = divide(count(Player_Id) when Role_Desc = 'CaptainKeeper', count(Player_Id)) as percentage", "players' name refers to Player_name; born in 1971 refers to DOB LIKE '1971%'" ] }
{ "query": "How many cities are in U.A.E?", "pos": [ "U.A.E refers to Country_Name = 'U.A.E'" ], "neg": [ "innings numbers refers to Innings_No", "Mohammad Hafeez refers to Player_Name = 'Mohammad Hafeez';", "MK Pandey refers to Player_Name = 'MK Pandey'", "name of the player refers to Player_Name; born on July 7 1981 refers to DOB = '1981-07-07'", "left hand batting style players refers to Batting_hand = 'Left-hand bat'; percentage refers to DIVIDE(COUNT(Batting_hand = 'Left-hand bat'), COUNT(Player_Id)) * 100.0", "bowling skill greater than 2 refers to Bowling_skill > 2", "name of the team refers to Team_Name; the most number of matches refers to max(count(Match_Winner)); season 1 refers to season_Id = 1", "held in St. George's Park refers to Venue_Name = 'St George''s Park'; highest winning margin points refers to MAX(Win_Margin)", "the oldest refers to min(DOB); date of birth refers to DOB", "Royal Challengers Bangalore refers to team_name = 'Royal Challengers Bangalore'; highest winning margin refers to MAX(win_margin)" ] }
{ "query": "What is the city of M Chinnaswamy Stadium?", "pos": [ "city refers to City_Name; M Chinnaswamy Stadium refers to Venue_Name = 'M Chinnaswamy Stadium'" ], "neg": [ "held in June 2014 refers to SUBSTR(Match_Date, 7, 1) = 6 and SUBSTR(Match_Date, 1, 4) = 2014", "player's ID refers to Player_Id", "full name refers to Player_Name; in 2013 refers to Season_Year = 2013", "Who refers to Player_Name; youngest player to have won the Purple Cap refers to min(subtract(Season_Year, DOB))", "won by runs refers to Win_Type = 'runs'; won the toss and decided to field refers to Toss_Winner and Toss_Name = 'field'; percentage = divide(count(Team_1) when Match_Winner = Team_1 and Toss_Winner = Team_1, count(Team_1)) as percentage", "role refers to Role_Desc; K Goel refers to Player_Name = 'K Goel'; match ID 335992 refers to Match_Id = 335992", "name of the striker refers to Player_Name; match no. 419169 refers to Match_Id = 419169; over no.3 refers to Over_Id = 3; ball no.2 refers to Ball_Id = 2; inning no.2 refers to Innings_No = 2", "bowling skill used by most players refers to max(count(Bowling_Skill))", "won by wickets refers to Win_type = 'wickets';", "city refers to City_Name; no-result matches refers to Win_type = 'NoResult'; least number refers to min(count(Win_type = 'NoResult'))" ] }
{ "query": "Give the name of the striker in the match no. 419169, over no.3, ball no.2, inning no.2.", "pos": [ "name of the striker refers to Player_Name; match no. 419169 refers to Match_Id = 419169; over no.3 refers to Over_Id = 3; ball no.2 refers to Ball_Id = 2; inning no.2 refers to Innings_No = 2" ], "neg": [ "U.A.E refers to Country_Name = 'U.A.E'", "captain and keeper refers to Role_Desc = 'CaptainKeeper'; percentage = divide(count(Player_Id) when Role_Desc = 'CaptainKeeper', count(Player_Id)) as percentage", "born in the 90s refers to DOB > = '1990-01-01' AND DOB < = '1999-12-31'", "average winning margin refers to avg(win_margin); held in Newlands refers to venue_name = 'Newlands'", "role refers to of Role_Id; SC Ganguly refers to Player_Name = 'SC Ganguly'; on 2008/4/18 refers to Match_Date = '2008-04-18'", "CH Gayle refers to Player_Name = 'CH Gayle'", "noballs refers to Extra_Name = 'noballs' ; average number = divide(sum(Extra_Runs), count(Extra_Runs))", "first half refers to 1 < Over_Id and Over_Id < 25; average = divide(sum(Over_Id) when 1 < Over_Id and Over_Id < 25, sum(Runs_Scored)) as percentage; first innings refers to Innings_No = 1", "bowling skill greater than 2 refers to Bowling_skill > 2", "city named \"Rajkot\" refers to city_name = 'Rajkot';" ] }
{ "query": "What are the names of the venues in Abu Dhabi?", "pos": [ "names of the venues refers to Venue_Name; Abu Dhabi refers to City_Name = 'Abu Dhabi'" ], "neg": [ "eldest player refers to MIN(DOB); where he/she come from refers to Country_Name", "city refers to City_Name; U.A.E refers to Country_Name = 'U.A.E'", "CH Gayle refers to Player_Name = 'CH Gayle'", "names of teams refers to Team_Name; second team refers to Team_2; Pune Warriors refers to Team_Name = 'Pune Warriors'", "name of the team refers to Team_Name; the most number of matches refers to max(count(Match_Winner)); season 1 refers to season_Id = 1", "in 2008 refers to Match_Date like '2008%'", "Who refers to Player_Name;", "were played in March 2010 refers to Match_Date = '2010-03%'", "match date refers to Match_Date; Chennai Super Kings refers to Team_Name = 'Chennai Super Kings'; first match refers to min(Match_Date)", "name of player refers to Player_Name; the youngest refers to max(DOB)" ] }
{ "query": "List the match IDs which had players out by hit wickets.", "pos": [ "had players out by hit wickets refers to Out_Name = 'hit wicket'" ], "neg": [ "bowling skill greater than 2 refers to Bowling_skill > 2", "right-handed batting refers to Batting_hand = 'Right-hand bat'; percentage = divide(count(Player_Id where Batting_hand = 'Right-hand bat'), count(Player_Id)) * 100%", "winning margin of 6 points refers to Win_Margin = 6; held on April 26, 2009 refers to Match_Date = '2009-04-26'", "born in 1977 refers to DOB LIKE '1977%'; a role as a captain refers to Role_Desc = 'Captain'; percentage = divide(count(Role_Id where Role_Desc = 'Captain'), count(Role_Id)) * 100% where DOB LIKE '1977%'", "city named \"Rajkot\" refers to city_name = 'Rajkot';", "CH Gayle refers to Player_Name = 'CH Gayle'", "old refers to SUBTRACT(2022, SUBSTR(DOB, 1, 4)); Ishan Kishan refers to Player_Name = 'Ishan Kishan';", "Pune Warriors refers to Team_Name = 'Pune Warriors'", "who refers to Team_Name", "4/18/2008 refers to Match_Date = 4/18/2008; end of 17 overs refers to count(Toss_Name = 'field' ) = 17; run rate = divide(sum(Runs_Scored) when Toss_Name = 'bat', sum(Over_Id) when Toss_Name = 'field')" ] }
{ "query": "What are the names of players in team 1?", "pos": [ "in team 1 refers to Team_Id = 1; name of player refers to Player_Name;" ], "neg": [ "name of the player refers to Player_Name; the highest number of outstanding player awards refers to max(count(Man_of_the_Match))", "city refers to City_Name; U.A.E refers to Country_Name = 'U.A.E'", "player no.41 won the \"man of the match\" refers to Man_of_the_Match = 41", "on 18th April 2015 refers to DATE(Match_Date) = '2015-04-18'", "the venue named \"Newlands\" refers to Venue_Name = 'Newlands'", "captain and keeper refers to Role_Desc = 'CaptainKeeper'; percentage = divide(count(Player_Id) when Role_Desc = 'CaptainKeeper', count(Player_Id)) as percentage", "Who refers to Player_Name;", "Sunrisers Hyderabad refers to Team_Name = 'Sunrisers Hyderabad'; time of toss winner refers to count(Toss_Winner)", "held in June 2014 refers to SUBSTR(Match_Date, 7, 1) = 6 and SUBSTR(Match_Date, 1, 4) = 2014", "CH Gayle refers to Player_Name = 'CH Gayle'" ] }
{ "query": "Calculate the percentage of left hand batting style players among all players.", "pos": [ "left hand batting style players refers to Batting_hand = 'Left-hand bat'; percentage refers to DIVIDE(COUNT(Batting_hand = 'Left-hand bat'), COUNT(Player_Id)) * 100.0" ], "neg": [ "Legbreak skill refers to Bowling_skill = 'Legbreak' ; percentage = divide(sum(Player_Id) when Bowling_skill = 'Legbreak', count(Player_Id)) as percentage", "SC Ganguly refers to Player_Name = 'SC Ganguly'; in season year 2008 refers to Season_Year = 2008", "name of the team refers to Team_Name; the most number of matches refers to max(count(Match_Winner)); season 1 refers to season_Id = 1", "When refers to Match_Date; youngest player refers to max(DOB); first match refers to min(Match_Date)", "who refers to Team_Name", "first teams refers to Team_1; chose to bat after winning the toss refers to Toss_Winner and Toss_Decide = 2", "average winning margin refers to avg(win_margin); held in Newlands refers to venue_name = 'Newlands'", "Who refers to Player_Name; youngest player to have won the Purple Cap refers to min(subtract(Season_Year, DOB))", "old refers to SUBTRACT(2022, SUBSTR(DOB, 1, 4)); Ishan Kishan refers to Player_Name = 'Ishan Kishan';", "the country the umpire comes from refers to Country_Name; BR Doctrove refers to Umpire_Name = 'BR Doctrove'" ] }
{ "query": "Who is the eldest player and where did he/she come from?", "pos": [ "eldest player refers to MIN(DOB); where he/she come from refers to Country_Name" ], "neg": [ "date of the matches refers to Match_Date; held in Kingsmead refers to Venue_Name = 'Kingsmead'", "name of the player refers to Player_Name; the highest number of outstanding player awards refers to max(count(Man_of_the_Match))", "CH Gayle refers to Player_Name = 'CH Gayle'", "name of the striker refers to Player_Name; match no. 419169 refers to Match_Id = 419169; over no.3 refers to Over_Id = 3; ball no.2 refers to Ball_Id = 2; inning no.2 refers to Innings_No = 2", "in team 1 refers to Team_Id = 1; name of player refers to Player_Name;", "Sunrisers Hyderabad refers to Team_Name = 'Sunrisers Hyderabad'; time of toss winner refers to count(Toss_Winner)", "SC Ganguly refers to Player_Name = 'SC Ganguly'; role refers to Role_Desc", "MK Pandey refers to Player_Name = 'MK Pandey'", "winning margin of 6 points refers to Win_Margin = 6; held on April 26, 2009 refers to Match_Date = '2009-04-26'", "name and country of the players refers to Player_Name and Country_Name; catches refers to Out_name = 'caught'; average catches refers to divide(count(Player_ID) when Out_name = 'caught', sum(Player_ID))" ] }
{ "query": "When did Chennai Super Kings play its first match?", "pos": [ "match date refers to Match_Date; Chennai Super Kings refers to Team_Name = 'Chennai Super Kings'; first match refers to min(Match_Date)" ], "neg": [ "the country the umpire comes from refers to Country_Name; BR Doctrove refers to Umpire_Name = 'BR Doctrove'", "name and country of the players refers to Player_Name and Country_Name; catches refers to Out_name = 'caught'; average catches refers to divide(count(Player_ID) when Out_name = 'caught', sum(Player_ID))", "average winning margin refers to avg(win_margin); held in Newlands refers to venue_name = 'Newlands'", "Who refers to Player_Name;", "won by wickets refers to Win_type = 'wickets';", "held in June 2014 refers to SUBSTR(Match_Date, 7, 1) = 6 and SUBSTR(Match_Date, 1, 4) = 2014", "Royal Challengers Bangalore refers to team_name = 'Royal Challengers Bangalore'; highest winning margin refers to MAX(win_margin)", "born in 1977 refers to DOB LIKE '1977%'; name refers to Player_Name; birthdate refers to DOB; England refers to Country_Name = 'England'", "second innings refers to Innings_No = 2; average extra runs = divide(sum(Extra_Runs), count(Innings_No)) when Innings_No = 2", "date of the matches refers to Match_Date; held in Kingsmead refers to Venue_Name = 'Kingsmead'" ] }
{ "query": "Which country is the oldest player from?", "pos": [ "country refers to Country_Name; the oldest refers to min(DOB)" ], "neg": [ "were played in March 2010 refers to Match_Date = '2010-03%'", "date of the matches refers to Match_Date; held in Kingsmead refers to Venue_Name = 'Kingsmead'", "wins the toss refers to Toss_Winner; whether they decided to bat or field refers to Toss_Name", "name of the team refers to Team_Name; the highest number of losses refers to max(add(count(Team_1 where Team_Id = Team_1 and Team_1 <> Match_Winner), count(Team_2 where Team_Id = Team_2 and Team_2 <> Match_Winner)))", "MK Pandey refers to Player_Name = 'MK Pandey'", "eldest player refers to MIN(DOB); where he/she come from refers to Country_Name", "year refers to DOB; majority of the players refers to max(count(Player_Id))", "name of teams refers to Team_Name; won the toss refers to Toss_Winner; matches with ID from 336010 to 336020  refers to Match_Id BETWEEN 336010 AND 336020", "name of player refers to Player_Name; the youngest refers to max(DOB)", "Royal Challengers Bangalore refers to team_name = 'Royal Challengers Bangalore'; highest winning margin refers to MAX(win_margin)" ] }
{ "query": "What is the name of the team that won the first ever match?", "pos": [ "name of the team refers to Team_Name; won the first ever match refers to Match_Winner where max(Match_Date)" ], "neg": [ "on 2008/5/12 refers to Match_Date = '2008-05-12'; name refers to Player_Name;", "R Dravid refers to Player_Name = 'R Dravid'; year born refers to DOB; role refers to Role_Desc", "seasons from 2011 to 2015 refers to 2011 < Season_Year < 2015", "in 2009 refers to Match_Date like '2009%'; win margins of less than 10 refers to Win_Margin < 10;", "decide to bowl first refers to Toss_Name = 'field'; from 2010 to 2016 refers to Match_Date BETWEEN '2010-01-01' AND '2016-12-31'; percent = divide(count(Toss_Id where Toss_Name = 'field'), count(Toss_Id)) * 100% where Match_Date BETWEEN '2010-01-01' AND '2016-12-31'", "held in St. George's Park refers to Venue_Name = 'St George''s Park'; highest winning margin points refers to MAX(Win_Margin)", "man of the match more than 5 times refers to COUNT(Man_of_the_Match) > 5; in season year 2008 refers to Season_Year = 2008; name of player refers to Player_Name;", "captain and keeper refers to Role_Desc = 'CaptainKeeper'; percentage = divide(count(Player_Id) when Role_Desc = 'CaptainKeeper', count(Player_Id)) as percentage", "4/18/2008 refers to Match_Date = 4/18/2008; end of 17 overs refers to count(Toss_Name = 'field' ) = 17; run rate = divide(sum(Runs_Scored) when Toss_Name = 'bat', sum(Over_Id) when Toss_Name = 'field')", "born in 1977 refers to DOB LIKE '1977%'; name refers to Player_Name; birthdate refers to DOB; England refers to Country_Name = 'England'" ] }
{ "query": "How many times did the matches were held in MA Chidambaram Stadium from 5/9/2009 to 8/8/2011?", "pos": [ "MA Chidambaram Stadium refers to Venue_Name = 'MA Chidambaram Stadium' ; from 5/9/2009 to 8/8/2011 refers to Match_Date between '2009-05-09' and '2011-08-08'" ], "neg": [ "Sunrisers Hyderabad refers to Team_Name = 'Sunrisers Hyderabad'; time of toss winner refers to count(Toss_Winner)", "are Indians refers to Country_Name = 'India'", "date of the matches refers to Match_Date; held in Kingsmead refers to Venue_Name = 'Kingsmead'", "in 2008 refers to Match_Date like '2008%'", "out by lbw refers to Out_Id = 4; runout refers to Out_Id = 3; average out by lbw refers to  avg(Player_Out when Out_Id = 4); average out by runout refers to  avg(Player_Out when Out_Id = 3)", "id of the player who won the Orange Cap refers to Orange_Cap; for 2 consecutive seasons refers to count(Season_Year) > 1", "date of the match refers to Match_Date; highest wager refers to max(Win_Margin)", "\nvenue refers to Venue_Name", "season refers to Season_Id; the highest number of matches refers to max(count(Season_Id)); M Chinnaswamy Stadium refers to Venue_Name = 'M Chinnaswamy Stadium'", "played in 2009 Match_Date like '2009%'; Mumbai Indians\" team refers to Team_Name = 'Mumbai Indians'; percent of the matches did they win refers to DIVIDE(COUNT(Match_Winner = Team_Id), COUNT(Match_Id))" ] }
{ "query": "Which city hosted the least number of no-result matches?", "pos": [ "city refers to City_Name; no-result matches refers to Win_type = 'NoResult'; least number refers to min(count(Win_type = 'NoResult'))" ], "neg": [ "in 2009 refers to Match_Date like '2009%'; win margins of less than 10 refers to Win_Margin < 10;", "born in the 90s refers to DOB > = '1990-01-01' AND DOB < = '1999-12-31'", "losing team's name refers to Team_Id NOT in \"match_winner\" column", "Dr DY Patil Sports Academy venue refers to Venue_Name = 'Dr DY Patil Sports Academy'; win by a margin of less than 10 refers to Win_Margin < 10; percentage = divide(count(Venue_Id) when Win_Margin < 10, sum(Venue_Id)) as percentage", "name of the player refers to Player_Name; man of the series more than one time refers to count(Man_of_the_Series) > 1", "seasons from 2011 to 2015 refers to 2011 < Season_Year < 2015", "the country the umpire comes from refers to Country_Name; BR Doctrove refers to Umpire_Name = 'BR Doctrove'", "date of the match refers to Match_Date; highest wager refers to max(Win_Margin)", "name of the player refers to Player_Name; the highest number of outstanding player awards refers to max(count(Man_of_the_Match))", "Royal Challengers Bangalore refers to team_name = 'Royal Challengers Bangalore'; highest winning margin refers to MAX(win_margin)" ] }
{ "query": "Which season played the highest number of matches at M Chinnaswamy Stadium?", "pos": [ "season refers to Season_Id; the highest number of matches refers to max(count(Season_Id)); M Chinnaswamy Stadium refers to Venue_Name = 'M Chinnaswamy Stadium'" ], "neg": [ "name of venues refers to Venue_Name; season 2 refers to Season_Id = 2", "first half refers to 1 < Over_Id and Over_Id < 25; average = divide(sum(Over_Id) when 1 < Over_Id and Over_Id < 25, sum(Runs_Scored)) as percentage; first innings refers to Innings_No = 1", "Delhi Daredevils refers to team_name = 'Delhi Daredevils'; in 2014 refers to Match_Date contains '2014';", "average winning margin refers to avg(win_margin); held in Newlands refers to venue_name = 'Newlands'", "country refers to Country_Name; the oldest refers to min(DOB)", "the country the umpire comes from refers to Country_Name; BR Doctrove refers to Umpire_Name = 'BR Doctrove'", "'slow left-arm chinaman' bowling style refers to Bowling_skill = 'Slow left-arm chinaman'; most players  refers to max(count(Country_Id))", "name of the striker refers to Player_Name; match no. 419169 refers to Match_Id = 419169; over no.3 refers to Over_Id = 3; ball no.2 refers to Ball_Id = 2; inning no.2 refers to Innings_No = 2", "name of the player refers to Player_Name; the first ever refers to min(match_date); \"man of the match\" award refers to Player_Id in 'Man_of_the_Match'", "East London refers to City_Name = 'East London'" ] }
{ "query": "What is the total number of runs scored by the batsmen during the 2nd inning of the match ID 335988?", "pos": [ "number of runs refers to Runs_Scored; 2nd inning refers to Innings_No = 2" ], "neg": [ "name of player refers to Player_Name; the youngest refers to max(DOB)", "date of the matches refers to Match_Date; held in Kingsmead refers to Venue_Name = 'Kingsmead'", "losing team's name refers to Team_Id NOT in \"match_winner\" column", "Dr DY Patil Sports Academy venue refers to Venue_Name = 'Dr DY Patil Sports Academy'; win by a margin of less than 10 refers to Win_Margin < 10; percentage = divide(count(Venue_Id) when Win_Margin < 10, sum(Venue_Id)) as percentage", "name of the team refers to Team_Name; the most number of matches refers to max(count(Match_Winner)); season 1 refers to season_Id = 1", "in 2008 refers to Match_Date like '2008%'", "born in 1977 refers to DOB LIKE '1977%'; a role as a captain refers to Role_Desc = 'Captain'; percentage = divide(count(Role_Id where Role_Desc = 'Captain'), count(Role_Id)) * 100% where DOB LIKE '1977%'", "M Chinnaswamy Stadium refers to Venue_Name = 'M Chinnaswamy Stadium'; Maharashtra Cricket Association Stadium refers to Venue_Name = 'Maharashtra Cricket Association Stadium'; how many times = divide(count(Match_Id where Venue_Name = 'M Chinnaswamy Stadium'), count(Match_Id where Venue_Name = 'Maharashtra Cricket Association Stadium'))", "When refers to Match_Date; youngest player refers to max(DOB); first match refers to min(Match_Date)", "out by lbw refers to Out_Id = 4; runout refers to Out_Id = 3; average out by lbw refers to  avg(Player_Out when Out_Id = 4); average out by runout refers to  avg(Player_Out when Out_Id = 3)" ] }
{ "query": "Who is the player who won the first ever \"man of the match\" award?", "pos": [ "name of the player refers to Player_Name; the first ever refers to min(match_date); \"man of the match\" award refers to Player_Id in 'Man_of_the_Match'" ], "neg": [ "in May 2008 refers to SUBSTR(Match_Date, 1, 4) = '2008' AND SUBSTR(Match_Date, 7, 1) = '5'", "out by lbw refers to Out_Id = 4; runout refers to Out_Id = 3; average out by lbw refers to  avg(Player_Out when Out_Id = 4); average out by runout refers to  avg(Player_Out when Out_Id = 3)", "city refers to City_Name; no-result matches refers to Win_type = 'NoResult'; least number refers to min(count(Win_type = 'NoResult'))", "year 2012 refers to Season_Year = 2012; name of player refers to Player_Name.; country of this player refers to Country_Name", "player's ID refers to Player_Id", "team's name refers to Team_Name; first team refers to Team_Id = Team_1; the highest winning margin refers to max(Win_Margin)", "type of match won refers to Win_Type", "in 2009 refers to Match_Date like '2009%'; win margins of less than 10 refers to Win_Margin < 10;", "venue refers to Venue_Name; winning team refers to match_winner", "MA Chidambaram Stadium refers to Venue_Name = 'MA Chidambaram Stadium' ; from 5/9/2009 to 8/8/2011 refers to Match_Date between '2009-05-09' and '2011-08-08'" ] }
{ "query": "Which team has the highest number of losses of all time?", "pos": [ "name of the team refers to Team_Name; the highest number of losses refers to max(add(count(Team_1 where Team_Id = Team_1 and Team_1 <> Match_Winner), count(Team_2 where Team_Id = Team_2 and Team_2 <> Match_Winner)))" ], "neg": [ "got out by being stumped refers to Out_Name = 'stumped'; the second innings refers to Innings_No = 2", "U.A.E refers to Country_Name = 'U.A.E'", "have left arm fast in bowling skill refers to Bowling_skill = 'Left-arm fast';", "the team named \"Pune Warriors\" refers to Team_Name = 'Pune Warriors'; the total number of won matches = count(Team_Name where Team_Id = Match_Winner)", "Legbreak skill refers to Bowling_skill = 'Legbreak' ; percentage = divide(sum(Player_Id) when Bowling_skill = 'Legbreak', count(Player_Id)) as percentage", "CH Gayle refers to Player_Name = 'CH Gayle'", "SuperSport Park refers to Venue_Name = 'SuperSport Park'; Centurion refers to City_Name = 'Centurion'", "R Dravid refers to Player_Name = 'R Dravid'; year born refers to DOB; role refers to Role_Desc", "venue refers to Venue_Name; winning team refers to match_winner", "date of the match refers to Match_Date; highest wager refers to max(Win_Margin)" ] }
{ "query": "How many of the matches are Superover?", "pos": [ "are Superover refers to win_type = 'wickets';" ], "neg": [ "name of the venue, city and country refers to Venue_Name and City_Name and Country_Name; last match refers to max(Match_Date)", "Indian refers to Country_Name = 'India'", "year refers to DOB; majority of the players refers to max(count(Player_Id))", "venue refers to Venue_Name; winning team refers to match_winner", "match date refers to Match_Date; Chennai Super Kings refers to Team_Name = 'Chennai Super Kings'; first match refers to min(Match_Date)", "M Chinnaswamy Stadium refers to Venue_Name = 'M Chinnaswamy Stadium'; Maharashtra Cricket Association Stadium refers to Venue_Name = 'Maharashtra Cricket Association Stadium'; how many times = divide(count(Match_Id where Venue_Name = 'M Chinnaswamy Stadium'), count(Match_Id where Venue_Name = 'Maharashtra Cricket Association Stadium'))", "name of venues refers to Venue_Name; season 2 refers to Season_Id = 2", "name of player refers to Player_Name; the youngest refers to max(DOB)", "name of the striker refers to Player_Name; match no. 419169 refers to Match_Id = 419169; over no.3 refers to Over_Id = 3; ball no.2 refers to Ball_Id = 2; inning no.2 refers to Innings_No = 2", "the team named \"Pune Warriors\" refers to Team_Name = 'Pune Warriors'; the total number of won matches = count(Team_Name where Team_Id = Match_Winner)" ] }
{ "query": "How many matches did Team 10 play in 2012?", "pos": [ "Team 10 refers to Team_1 = 10 OR Team_2 = 10; in 2012 refers to SUBSTR(Match_Date, 1, 4) = '2012'" ], "neg": [ "MK Pandey refers to Player_Name = 'MK Pandey'", "captain and keeper refers to Role_Desc = 'CaptainKeeper'; percentage = divide(count(Player_Id) when Role_Desc = 'CaptainKeeper', count(Player_Id)) as percentage", "the venue named \"Newlands\" refers to Venue_Name = 'Newlands'", "SC Ganguly refers to Player_Name = 'SC Ganguly'; role refers to Role_Desc", "East London refers to City_Name = 'East London'", "first half refers to 1 < Over_Id and Over_Id < 25; average = divide(sum(Over_Id) when 1 < Over_Id and Over_Id < 25, sum(Runs_Scored)) as percentage; first innings refers to Innings_No = 1", "end of 16 overs refers to count(Toss_Name = 'field' ) = 16; run rate = divide(count(Runs_Scored) when Toss_Name = 'bat', sum(Over_Id)when Toss_Name = 'field'); name refers to Player_Name", "name of the venue, city and country refers to Venue_Name and City_Name and Country_Name; last match refers to max(Match_Date)", "fewest number of matches refers to min(count(Match_Id))", "player's ID refers to Player_Id" ] }
{ "query": "List the id of the player who won the Orange Cap for 2 consecutive seasons.", "pos": [ "id of the player who won the Orange Cap refers to Orange_Cap; for 2 consecutive seasons refers to count(Season_Year) > 1" ], "neg": [ "played as a keeper refers to Role_Desc = 'Keeper'; name of player refers to Player_Name;", "venue refers to Venue_Name; winning team refers to match_winner", "role refers to of Role_Id; SC Ganguly refers to Player_Name = 'SC Ganguly'; on 2008/4/18 refers to Match_Date = '2008-04-18'", "Indian refers to Country_Name = 'India'", "SC Ganguly refers to Player_Name = 'SC Ganguly'", "bowling skill greater than 2 refers to Bowling_skill > 2", "Sunrisers Hyderabad refers to Team_Name = 'Sunrisers Hyderabad'; win their first match refers to Match_Winner and min(Match_Date)", "resulted in a tie refers to Win_Type = 'Tie'; in 2015 refers to SUBSTR(Match_Date, 1, 4) = 2015", "name of the team refers to Team_Name; the highest number of losses refers to max(add(count(Team_1 where Team_Id = Team_1 and Team_1 <> Match_Winner), count(Team_2 where Team_Id = Team_2 and Team_2 <> Match_Winner)))", "number of runs refers to Runs_Scored; 2nd inning refers to Innings_No = 2" ] }
{ "query": "What is the role of SC Ganguly in the match on 2008/4/18?", "pos": [ "role refers to of Role_Id; SC Ganguly refers to Player_Name = 'SC Ganguly'; on 2008/4/18 refers to Match_Date = '2008-04-18'" ], "neg": [ "'slow left-arm chinaman' bowling style refers to Bowling_skill = 'Slow left-arm chinaman'; most players  refers to max(count(Country_Id))", "in 2009 refers to Match_Date like '2009%'; win margins of less than 10 refers to Win_Margin < 10;", "name of the player refers to Player_Name; born on July 7 1981 refers to DOB = '1981-07-07'", "are Indians refers to Country_Name = 'India'", "on 18th April 2015 refers to DATE(Match_Date) = '2015-04-18'", "When refers to Match_Date; youngest player refers to max(DOB); first match refers to min(Match_Date)", "bowling skill greater than 2 refers to Bowling_skill > 2", "had players out by hit wickets refers to Out_Name = 'hit wicket'", "venue refers to Venue_Name; winning team refers to match_winner", "played in 2009 Match_Date like '2009%'; Mumbai Indians\" team refers to Team_Name = 'Mumbai Indians'; percent of the matches did they win refers to DIVIDE(COUNT(Match_Winner = Team_Id), COUNT(Match_Id))" ] }
{ "query": "Give the name of the venue where the most number of matches are held.", "pos": [ "name of the venue refers to Venue_Name; most number of matches refers to max(count(Venue_Id))" ], "neg": [ "Australia refers to Country_Name = 'Australia'", "season refers to Season_Id; the highest number of matches refers to max(count(Season_Id)); M Chinnaswamy Stadium refers to Venue_Name = 'M Chinnaswamy Stadium'", "name of players refers to Player_Name", "batting team was the Delhi Daredevils refers to Team_Name = 'Delhi Daredevils' and Team_1 = Team_Id where Team_Batting = 1 or Team_2 = Team_Id where Team_Batting = 2; no runs scored refers to Runs_Scored = 0", "full name refers to Player_Name; in 2013 refers to Season_Year = 2013", "played as a keeper refers to Role_Desc = 'Keeper'; name of player refers to Player_Name;", "in 2008 refers to Match_Date like '2008%'", "noballs refers to Extra_Name = 'noballs' ; average number = divide(sum(Extra_Runs), count(Extra_Runs))", "innings numbers refers to Innings_No", "Mohammad Hafeez refers to Player_Name = 'Mohammad Hafeez';" ] }
{ "query": "Who among the players won both \"Man of the Series\" and \"Orange Cap\" in the same season?", "pos": [ "Who refers to Player_Name;" ], "neg": [ "name of the player refers to Player_Name; man of the series more than one time refers to count(Man_of_the_Series) > 1", "who refers to Team_Name", "right hand as batting hand refers to Batting_Hand = 'Right-hand bat'; born after 1985 refers to SUBSTR(DOB, 1, 4) > 1985", "name refers to Player_Name; youngest player refers to max(DOB)", "type of match won refers to Win_Type", "the oldest refers to min(DOB); date of birth refers to DOB", "captain and keeper refers to Role_Desc = 'CaptainKeeper'; percentage = divide(count(Player_Id) when Role_Desc = 'CaptainKeeper', count(Player_Id)) as percentage", "resulted in a tie refers to Win_Type = 'Tie'; in 2015 refers to SUBSTR(Match_Date, 1, 4) = 2015", "Sunrisers Hyderabad refers to Team_Name = 'Sunrisers Hyderabad'; time of toss winner refers to count(Toss_Winner)", "Delhi Daredevils refers to team_name = 'Delhi Daredevils'; in 2014 refers to Match_Date contains '2014';" ] }
{ "query": "How many players were born in the 80s and have bowling skill of 2?", "pos": [ "born in the 80s refers to DOB like '198%'; have bowling skill of 2 refers to Bowling_skill = 2;" ], "neg": [ "second innings refers to Innings_No = 2; average extra runs = divide(sum(Extra_Runs), count(Innings_No)) when Innings_No = 2", "if a player has multiple roles in a match, it means this player is versatile; name refers to Player_Name; most versatile player refers to MAX(COUNT(Role_id)); Delhi Daredevils refers to Team_Name = 'Delhi Daredevils'", "end of 16 overs refers to count(Toss_Name = 'field' ) = 16; run rate = divide(count(Runs_Scored) when Toss_Name = 'bat', sum(Over_Id)when Toss_Name = 'field'); name refers to Player_Name", "year refers to DOB; majority of the players refers to max(count(Player_Id))", "have left arm fast in bowling skill refers to Bowling_skill = 'Left-arm fast';", "played in 2009 Match_Date like '2009%'; Mumbai Indians\" team refers to Team_Name = 'Mumbai Indians'; percent of the matches did they win refers to DIVIDE(COUNT(Match_Winner = Team_Id), COUNT(Match_Id))", "held in St. George's Park refers to Venue_Name = 'St George''s Park'; highest winning margin points refers to MAX(Win_Margin)", "name of the venue, city and country refers to Venue_Name and City_Name and Country_Name; last match refers to max(Match_Date)", "had players out by hit wickets refers to Out_Name = 'hit wicket'", "name refers to Player_Name; captain keeper refers to Role_Desc = 'CaptainKeeper'; match no.419117 refers to Match_Id = '419117'" ] }
{ "query": "Provide the country ID of East London.", "pos": [ "East London refers to City_Name = 'East London'" ], "neg": [ "MA Chidambaram Stadium refers to Venue_Name = 'MA Chidambaram Stadium' ; from 5/9/2009 to 8/8/2011 refers to Match_Date between '2009-05-09' and '2011-08-08'", "born in the 80s refers to DOB like '198%'; have bowling skill of 2 refers to Bowling_skill = 2;", "team's name refers to Team_Name; first team refers to Team_Id = Team_1; the highest winning margin refers to max(Win_Margin)", "average winning margin refers to avg(win_margin); held in Newlands refers to venue_name = 'Newlands'", "resulted in a tie refers to Win_Type = 'Tie'; in 2015 refers to SUBSTR(Match_Date, 1, 4) = 2015", "in 2008 refers to Match_Date like '2008%'", "got out refers to Player_Out; the first inning refers to Innings_No = 1; match ID \"548335\" refers to Match_Id = 548335", "got out by being stumped refers to Out_Name = 'stumped'; the second innings refers to Innings_No = 2", "on 18th April 2015 refers to DATE(Match_Date) = '2015-04-18'", "noballs refers to Extra_Name = 'noballs' ; average number = divide(sum(Extra_Runs), count(Extra_Runs))" ] }
{ "query": "How many victory matches were there in 2008?", "pos": [ "in 2008 refers to Match_Date like '2008%'" ], "neg": [ "average winning margin refers to avg(win_margin); held in Newlands refers to venue_name = 'Newlands'", "When refers to Match_Date; youngest player refers to max(DOB); first match refers to min(Match_Date)", "name of player refers to Player_Name; the youngest refers to max(DOB)", "seasons from 2011 to 2015 refers to 2011 < Season_Year < 2015", "won by runs refers to win_type = 1; percentage refers to DIVIDE(COUNT(win_type = 1), COUNT(Win_Type)) * 100", "role refers to Role_Desc; K Goel refers to Player_Name = 'K Goel'; match ID 335992 refers to Match_Id = 335992", "country refers to Country_Name; the majority of the players  refers to max(count(Country_Name))", "lowest winning margin refers to MIN(win_margin); team name refers to team_name; second team refers to team_2", "number of runs refers to Runs_Scored; 2nd inning refers to Innings_No = 2", "venue refers to Venue_Name; Kolkata Knight Riders refers to Team_Name = 'Kolkata Knight Riders'; most of their matches refers to max(count(Venue_Id)); Team 1 refers to Team_Id = Team_1" ] }
{ "query": "How many Indian cities are there in the database?", "pos": [ "Indian refers to Country_Name = 'India'" ], "neg": [ "in 2008 refers to Match_Date like '2008%'", "country refers to Country_Name; the oldest refers to min(DOB)", "MK Pandey refers to Player_Name = 'MK Pandey'", "captain-keeper refers to Role_Desc = 'CaptainKeeper'; Rising Pune Supergiants refers to Role_Desc = 'CaptainKeeper'", "SuperSport Park refers to Venue_Name = 'SuperSport Park'; Centurion refers to City_Name = 'Centurion'", "year 2012 refers to Season_Year = 2012; name of player refers to Player_Name.; country of this player refers to Country_Name", "date of birth refers to DOB; 2014 refers to Season_Year = 2014; Orange Cap winner refers to Orange_Cap IS NOT NULL", "scored less than 3 refers to Runs_Scored < 3; name of player refers to Player_name;", "Zimbabwean refers to Country_Name = 'Zimbabwea'; players refers to Player_Name", "Team 10 refers to Team_1 = 10 OR Team_2 = 10; in 2012 refers to SUBSTR(Match_Date, 1, 4) = '2012'" ] }
{ "query": "How many matches in 2009 had win margins of less than 10?", "pos": [ "in 2009 refers to Match_Date like '2009%'; win margins of less than 10 refers to Win_Margin < 10;" ], "neg": [ "out by lbw refers to Out_Id = 4; runout refers to Out_Id = 3; average out by lbw refers to  avg(Player_Out when Out_Id = 4); average out by runout refers to  avg(Player_Out when Out_Id = 3)", "born in 1977 refers to DOB LIKE '1977%'; a role as a captain refers to Role_Desc = 'Captain'; percentage = divide(count(Role_Id where Role_Desc = 'Captain'), count(Role_Id)) * 100% where DOB LIKE '1977%'", "date of birth refers to DOB; 2014 refers to Season_Year = 2014; Orange Cap winner refers to Orange_Cap IS NOT NULL", "Dr DY Patil Sports Academy venue refers to Venue_Name = 'Dr DY Patil Sports Academy'; win by a margin of less than 10 refers to Win_Margin < 10; percentage = divide(count(Venue_Id) when Win_Margin < 10, sum(Venue_Id)) as percentage", "Team 10 refers to Team_1 = 10 OR Team_2 = 10; in 2012 refers to SUBSTR(Match_Date, 1, 4) = '2012'", "played in 2009 Match_Date like '2009%'; Mumbai Indians\" team refers to Team_Name = 'Mumbai Indians'; percent of the matches did they win refers to DIVIDE(COUNT(Match_Winner = Team_Id), COUNT(Match_Id))", "old refers to SUBTRACT(2022, SUBSTR(DOB, 1, 4)); Ishan Kishan refers to Player_Name = 'Ishan Kishan';", "left hand batting style players refers to Batting_hand = 'Left-hand bat'; percentage refers to DIVIDE(COUNT(Batting_hand = 'Left-hand bat'), COUNT(Player_Id)) * 100.0", "role refers to of Role_Id; SC Ganguly refers to Player_Name = 'SC Ganguly'; on 2008/4/18 refers to Match_Date = '2008-04-18'", "name of the venue, city and country refers to Venue_Name and City_Name and Country_Name; last match refers to max(Match_Date)" ] }
{ "query": "Among the matches played by Royal Challengers Bangalore, what is the match ID of the match with the highest winning margin?", "pos": [ "Royal Challengers Bangalore refers to team_name = 'Royal Challengers Bangalore'; highest winning margin refers to MAX(win_margin)" ], "neg": [ "born in the 90s refers to DOB > = '1990-01-01' AND DOB < = '1999-12-31'", "full name refers to Player_Name; in 2013 refers to Season_Year = 2013", "end of 16 overs refers to count(Toss_Name = 'field' ) = 16; run rate = divide(count(Runs_Scored) when Toss_Name = 'bat', sum(Over_Id)when Toss_Name = 'field'); name refers to Player_Name", "held in June 2014 refers to SUBSTR(Match_Date, 7, 1) = 6 and SUBSTR(Match_Date, 1, 4) = 2014", "have left arm fast in bowling skill refers to Bowling_skill = 'Left-arm fast';", "Delhi Daredevils refers to team_name = 'Delhi Daredevils'; in 2009 refers to Match_Date = '2009%'; won by wickets refers to Win_Type = 'wickets'; percentage refers to DIVIDE(COUNT(Win_Type = 'wickets'), COUNT(Win_Type))", "had players out by hit wickets refers to Out_Name = 'hit wicket'", "are Superover refers to win_type = 'wickets';", "Australia refers to Country_Name = 'Australia'", "which country refers to Country_Id; most umpires refers to max(count(Umpire_Id))" ] }
{ "query": "How many games were not won by runs?", "pos": [ "not won by runs refers to Win_Type ! = 'runs'" ], "neg": [ "name of the player refers to Player_Name; the highest number of outstanding player awards refers to max(count(Man_of_the_Match))", "born in 1977 refers to DOB LIKE '1977%'; a role as a captain refers to Role_Desc = 'Captain'; percentage = divide(count(Role_Id where Role_Desc = 'Captain'), count(Role_Id)) * 100% where DOB LIKE '1977%'", "bowling skill used by most players refers to max(count(Bowling_Skill))", "SC Ganguly refers to Player_Name = 'SC Ganguly'; team captain refers to Role_Desc = 'Captain'", "role refers to of Role_Id; SC Ganguly refers to Player_Name = 'SC Ganguly'; on 2008/4/18 refers to Match_Date = '2008-04-18'", "role refers to Role_Desc; K Goel refers to Player_Name = 'K Goel'; match ID 335992 refers to Match_Id = 335992", "city refers to City_Name; U.A.E refers to Country_Name = 'U.A.E'", "first teams refers to Team_1; chose to bat after winning the toss refers to Toss_Winner and Toss_Decide = 2", "got out refers to Player_Out; the first inning refers to Innings_No = 1; match ID \"548335\" refers to Match_Id = 548335", "from South Africa refers to Country_Name = 'South Africa'; born in 1984 refers to DOB like '1984%';" ] }
{ "query": "What is the name of the youngest player?", "pos": [ "name refers to Player_Name; youngest player refers to max(DOB)" ], "neg": [ "born in 1977 refers to DOB LIKE '1977%'; a role as a captain refers to Role_Desc = 'Captain'; percentage = divide(count(Role_Id where Role_Desc = 'Captain'), count(Role_Id)) * 100% where DOB LIKE '1977%'", "Sunrisers Hyderabad refers to Team_Name = 'Sunrisers Hyderabad'; time of toss winner refers to count(Toss_Winner)", "names of the venues refers to Venue_Name; Abu Dhabi refers to City_Name = 'Abu Dhabi'", "players' name refers to Player_name; born in 1971 refers to DOB LIKE '1971%'", "type of match won refers to Win_Type", "the team named \"Pune Warriors\" refers to Team_Name = 'Pune Warriors'; the total number of won matches = count(Team_Name where Team_Id = Match_Winner)", "had players out by hit wickets refers to Out_Name = 'hit wicket'", "name of the striker refers to Player_Name; match no. 419169 refers to Match_Id = 419169; over no.3 refers to Over_Id = 3; ball no.2 refers to Ball_Id = 2; inning no.2 refers to Innings_No = 2", "are Superover refers to win_type = 'wickets';", "born in the 80s refers to DOB like '198%'; have bowling skill of 2 refers to Bowling_skill = 2;" ] }
{ "query": "Calculate the average runs scored during the first half of all first innings.", "pos": [ "first half refers to 1 < Over_Id and Over_Id < 25; average = divide(sum(Over_Id) when 1 < Over_Id and Over_Id < 25, sum(Runs_Scored)) as percentage; first innings refers to Innings_No = 1" ], "neg": [ "left hand batting style players refers to Batting_hand = 'Left-hand bat'; percentage refers to DIVIDE(COUNT(Batting_hand = 'Left-hand bat'), COUNT(Player_Id)) * 100.0", "MK Pandey refers to Player_Name = 'MK Pandey'", "year 2012 refers to Season_Year = 2012; name of player refers to Player_Name.; country of this player refers to Country_Name", "bowling skill used by most players refers to max(count(Bowling_Skill))", "name and country of the players refers to Player_Name and Country_Name; catches refers to Out_name = 'caught'; average catches refers to divide(count(Player_ID) when Out_name = 'caught', sum(Player_ID))", "in 2008 refers to Match_Date like '2008%'", "Team 10 refers to Team_1 = 10 OR Team_2 = 10; in 2012 refers to SUBSTR(Match_Date, 1, 4) = '2012'", "got out by being stumped refers to Out_Name = 'stumped'; the second innings refers to Innings_No = 2", "4/18/2008 refers to Match_Date = 4/18/2008; end of 17 overs refers to count(Toss_Name = 'field' ) = 17; run rate = divide(sum(Runs_Scored) when Toss_Name = 'bat', sum(Over_Id) when Toss_Name = 'field')", "have left arm fast in bowling skill refers to Bowling_skill = 'Left-arm fast';" ] }
{ "query": "Which teams did SC Ganguly join in season year 2008?", "pos": [ "SC Ganguly refers to Player_Name = 'SC Ganguly'; in season year 2008 refers to Season_Year = 2008" ], "neg": [ "Australia refers to Country_Name = 'Australia'", "not won by runs refers to Win_Type ! = 'runs'", "name and country of the players refers to Player_Name and Country_Name; catches refers to Out_name = 'caught'; average catches refers to divide(count(Player_ID) when Out_name = 'caught', sum(Player_ID))", "seasons from 2011 to 2015 refers to 2011 < Season_Year < 2015", "man of the match more than 5 times refers to COUNT(Man_of_the_Match) > 5; in season year 2008 refers to Season_Year = 2008; name of player refers to Player_Name;", "have left arm fast in bowling skill refers to Bowling_skill = 'Left-arm fast';", "MA Chidambaram Stadium refers to Venue_Name = 'MA Chidambaram Stadium' ; from 5/9/2009 to 8/8/2011 refers to Match_Date between '2009-05-09' and '2011-08-08'", "name of the team refers to Team_Name; won the first ever match refers to Match_Winner where max(Match_Date)", "born in the 90s refers to DOB > = '1990-01-01' AND DOB < = '1999-12-31'", "SC Ganguly refers to Player_Name = 'SC Ganguly'" ] }
{ "query": "What is the average winning margin of the matches held in Newlands?", "pos": [ "average winning margin refers to avg(win_margin); held in Newlands refers to venue_name = 'Newlands'" ], "neg": [ "point of winning margin of 38 refers to win_margin = 38; on April 30, 2009 refers to match_date = '2009-04-30'; team refers to Team_Name;", "date of the match refers to Match_Date; highest wager refers to max(Win_Margin)", "SC Ganguly refers to Player_Name = 'SC Ganguly'; in season year 2008 refers to Season_Year = 2008", "are Superover refers to win_type = 'wickets';", "born in the 80s refers to DOB like '198%'; have bowling skill of 2 refers to Bowling_skill = 2;", "When refers to Match_Date; youngest player refers to max(DOB); first match refers to min(Match_Date)", "Legbreak skill refers to Bowling_skill = 'Legbreak' ; percentage = divide(sum(Player_Id) when Bowling_skill = 'Legbreak', count(Player_Id)) as percentage", "name of the striker refers to Player_Name; match no. 419169 refers to Match_Id = 419169; over no.3 refers to Over_Id = 3; ball no.2 refers to Ball_Id = 2; inning no.2 refers to Innings_No = 2", "East London refers to City_Name = 'East London'", "players' name refers to Player_name; born in 1971 refers to DOB LIKE '1971%'" ] }
{ "query": "What are the teams that played in a match with the point of winning margin of 38 on April 30, 2009?", "pos": [ "point of winning margin of 38 refers to win_margin = 38; on April 30, 2009 refers to match_date = '2009-04-30'; team refers to Team_Name;" ], "neg": [ "played as a keeper refers to Role_Desc = 'Keeper'; name of player refers to Player_Name;", "When refers to Match_Date; youngest player refers to max(DOB); first match refers to min(Match_Date)", "won by wickets refers to Win_type = 'wickets';", "SC Ganguly refers to Player_Name = 'SC Ganguly'; team captain refers to Role_Desc = 'Captain'", "played in 2009 Match_Date like '2009%'; Mumbai Indians\" team refers to Team_Name = 'Mumbai Indians'; percent of the matches did they win refers to DIVIDE(COUNT(Match_Winner = Team_Id), COUNT(Match_Id))", "held in June 2014 refers to SUBSTR(Match_Date, 7, 1) = 6 and SUBSTR(Match_Date, 1, 4) = 2014", "from South Africa refers to Country_Name = 'South Africa'; born in 1984 refers to DOB like '1984%';", "Dr DY Patil Sports Academy venue refers to Venue_Name = 'Dr DY Patil Sports Academy'; win by a margin of less than 10 refers to Win_Margin < 10; percentage = divide(count(Venue_Id) when Win_Margin < 10, sum(Venue_Id)) as percentage", "Sunrisers Hyderabad team refers to Team_Name = 'Sunrisers Hyderabad'; in 2013 refers to Match_Date like '2013%';", "name of the team refers to Team_Name; the most number of matches refers to max(count(Match_Winner)); season 1 refers to season_Id = 1" ] }
{ "query": "Which venue did Kolkata Knight Riders play most of their matches as a Team 1?", "pos": [ "venue refers to Venue_Name; Kolkata Knight Riders refers to Team_Name = 'Kolkata Knight Riders'; most of their matches refers to max(count(Venue_Id)); Team 1 refers to Team_Id = Team_1" ], "neg": [ "play by the left hand refers to Batting_hand =   'Left-hand bat'", "first half refers to 1 < Over_Id and Over_Id < 25; average = divide(sum(Over_Id) when 1 < Over_Id and Over_Id < 25, sum(Runs_Scored)) as percentage; first innings refers to Innings_No = 1", "name of players refers to Player_Name", "Who refers to Player_Name; youngest player to have won the Purple Cap refers to min(subtract(Season_Year, DOB))", "bowling skill greater than 2 refers to Bowling_skill > 2", "MK Pandey refers to Player_Name = 'MK Pandey'", "bowling skill used by most players refers to max(count(Bowling_Skill))", "captain-keeper refers to Role_Desc = 'CaptainKeeper'; Rising Pune Supergiants refers to Role_Desc = 'CaptainKeeper'", "Delhi Daredevils refers to team_name = 'Delhi Daredevils'; in 2014 refers to Match_Date contains '2014';", "wins the toss refers to Toss_Winner; whether they decided to bat or field refers to Toss_Name" ] }