set
dict
{ "query": "Who was the captain-keeper of Rising Pune Supergiants?", "pos": [ "captain-keeper refers to Role_Desc = 'CaptainKeeper'; Rising Pune Supergiants refers to Role_Desc = 'CaptainKeeper'" ], "neg": [ "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))", "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", "Sunrisers Hyderabad refers to Team_Name = 'Sunrisers Hyderabad'; win their first match refers to Match_Winner and min(Match_Date)", "got out refers to Player_Out; the first inning refers to Innings_No = 1; match ID \"548335\" refers to Match_Id = 548335", "average winning margin refers to avg(win_margin); held in Newlands refers to venue_name = 'Newlands'", "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)", "name of the player refers to Player_Name; born on July 7 1981 refers to DOB = '1981-07-07'", "id of the player who won the Orange Cap refers to Orange_Cap; for 2 consecutive seasons refers to count(Season_Year) > 1", "eldest player refers to MIN(DOB); where he/she come from refers to Country_Name" ] }
{ "query": "How many players got out by being stumped in the second innings of all matches?", "pos": [ "got out by being stumped refers to Out_Name = 'stumped'; the second innings refers to Innings_No = 2" ], "neg": [ "born in 1977 refers to DOB LIKE '1977%'; name refers to Player_Name; birthdate refers to DOB; England refers to Country_Name = 'England'", "number of runs refers to Runs_Scored; 2nd inning refers to Innings_No = 2", "captain-keeper refers to Role_Desc = 'CaptainKeeper'; Rising Pune Supergiants refers to Role_Desc = 'CaptainKeeper'", "born in the 90s refers to DOB > = '1990-01-01' AND DOB < = '1999-12-31'", "role refers to Role_Desc; K Goel refers to Player_Name = 'K Goel'; match ID 335992 refers to Match_Id = 335992", "Indian refers to Country_Name = 'India'", "id of the player who won the Orange Cap refers to Orange_Cap; for 2 consecutive seasons refers to count(Season_Year) > 1", "When refers to Match_Date; youngest player refers to max(DOB); first match refers to min(Match_Date)", "were played in March 2010 refers to Match_Date = '2010-03%'", "seasons from 2011 to 2015 refers to 2011 < Season_Year < 2015" ] }
{ "query": "What is the name of the player with the highest number of outstanding player awards in a particular match?", "pos": [ "name of the player refers to Player_Name; the highest number of outstanding player awards refers to max(count(Man_of_the_Match))" ], "neg": [ "who refers to Team_Name", "name of the venue refers to Venue_Name; most number of matches refers to max(count(Venue_Id))", "are Superover refers to win_type = 'wickets';", "had players out by hit wickets refers to Out_Name = 'hit wicket'", "born before 10/16/1975 refers to DOB < 1975-10-16; bowling skill of less than 3 refers to Bowling_skill < 3", "names of teams refers to Team_Name; second team refers to Team_2; Pune Warriors refers to Team_Name = 'Pune Warriors'", "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", "eldest player refers to MIN(DOB); where he/she come from refers to Country_Name", "captain and keeper refers to Role_Desc = 'CaptainKeeper'; percentage = divide(count(Player_Id) when Role_Desc = 'CaptainKeeper', count(Player_Id)) as percentage", "date of the matches refers to Match_Date; held in Kingsmead refers to Venue_Name = 'Kingsmead'" ] }
{ "query": "Give the match's venue and winning team for the match ID 392194.", "pos": [ "venue refers to Venue_Name; winning team refers to match_winner" ], "neg": [ "year 2012 refers to Season_Year = 2012; name of player refers to Player_Name.; country of this player refers to Country_Name", "name of the team refers to Team_Name; won the first ever match refers to Match_Winner where max(Match_Date)", "SC Ganguly refers to Player_Name = 'SC Ganguly'", "CH Gayle refers to Player_Name = 'CH Gayle'", "average winning margin refers to avg(win_margin); held in Newlands refers to venue_name = 'Newlands'", "in 2008 refers to Match_Date like '2008%'", "had players out by hit wickets refers to Out_Name = 'hit wicket'", "team's name refers to Team_Name; first team refers to Team_Id = Team_1; the highest winning margin refers to max(Win_Margin)", "were played in March 2010 refers to Match_Date = '2010-03%'", "full name refers to Player_Name; in 2013 refers to Season_Year = 2013" ] }
{ "query": "In what percentage of games played at the Dr DY Patil Sports Academy venue did the winning team win by a margin of less than 10?", "pos": [ "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" ], "neg": [ "id of the player who won the Orange Cap refers to Orange_Cap; for 2 consecutive seasons refers to count(Season_Year) > 1", "born in 1977 refers to DOB LIKE '1977%'; name refers to Player_Name; birthdate refers to DOB; England refers to Country_Name = 'England'", "play by the left hand refers to Batting_hand =   'Left-hand bat'", "in 2008 refers to Match_Date like '2008%'", "\nvenue refers to Venue_Name", "SC Ganguly refers to Player_Name = 'SC Ganguly'; role refers to Role_Desc", "eldest player refers to MIN(DOB); where he/she come from 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", "first teams refers to Team_1; chose to bat after winning the toss refers to Toss_Winner and Toss_Decide = 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 old is Ishan Kishan in 2022?", "pos": [ "old refers to SUBTRACT(2022, SUBSTR(DOB, 1, 4)); Ishan Kishan refers to Player_Name = 'Ishan Kishan';" ], "neg": [ "won by runs refers to win_type = 1; percentage refers to DIVIDE(COUNT(win_type = 1), COUNT(Win_Type)) * 100", "on 18th April 2015 refers to DATE(Match_Date) = '2015-04-18'", "city refers to City_Name; no-result matches refers to Win_type = 'NoResult'; least number refers to min(count(Win_type = 'NoResult'))", "Sunrisers Hyderabad refers to Team_Name = 'Sunrisers Hyderabad'; time of toss winner refers to count(Toss_Winner)", "city refers to City_Name; M Chinnaswamy Stadium refers to Venue_Name = 'M Chinnaswamy Stadium'", "in 2008 refers to Match_Date like '2008%'", "player's ID refers to Player_Id", "date of birth refers to DOB; 2014 refers to Season_Year = 2014; Orange Cap winner refers to Orange_Cap IS NOT NULL", "name of the venue, city and country refers to Venue_Name and City_Name and Country_Name; last match refers to max(Match_Date)", "lowest winning margin refers to MIN(win_margin); team name refers to team_name; second team refers to team_2" ] }
{ "query": "Who was the man of the series in 2013? Give the full name.", "pos": [ "full name refers to Player_Name; in 2013 refers to Season_Year = 2013" ], "neg": [ "the oldest refers to min(DOB); date of birth refers to DOB", "which country refers to Country_Id; most umpires refers to max(count(Umpire_Id))", "city refers to City_Name; no-result matches refers to Win_type = 'NoResult'; least number refers to min(count(Win_type = 'NoResult'))", "Who refers to Player_Name; youngest player to have won the Purple Cap refers to min(subtract(Season_Year, DOB))", "SuperSport Park refers to Venue_Name = 'SuperSport Park'; Centurion refers to City_Name = 'Centurion'", "who refers to Team_Name", "captain and keeper refers to Role_Desc = 'CaptainKeeper'; percentage = divide(count(Player_Id) when Role_Desc = 'CaptainKeeper', count(Player_Id)) as percentage", "played as a keeper refers to Role_Desc = 'Keeper'; name of player refers to Player_Name;", "resulted in a tie refers to Win_Type = 'Tie'; in 2015 refers to SUBSTR(Match_Date, 1, 4) = 2015", "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": "List down the name of venues in season 2.", "pos": [ "name of venues refers to Venue_Name; season 2 refers to Season_Id = 2" ], "neg": [ "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'", "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))", "Sunrisers Hyderabad team refers to Team_Name = 'Sunrisers Hyderabad'; in 2013 refers to Match_Date like '2013%';", "name refers to Player_Name; youngest player refers to max(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", "Sunrisers Hyderabad refers to Team_Name = 'Sunrisers Hyderabad'; win their first match refers to Match_Winner and min(Match_Date)", "Who refers to Player_Name; youngest player to have won the Purple Cap refers to min(subtract(Season_Year, 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;", "SC Ganguly refers to Player_Name = 'SC Ganguly'; team captain refers to Role_Desc = 'Captain'", "SC Ganguly refers to Player_Name = 'SC Ganguly'; role refers to Role_Desc" ] }
{ "query": "For how many times has player no.41 won the \"man of the match\" award?", "pos": [ "player no.41 won the \"man of the match\" refers to Man_of_the_Match = 41" ], "neg": [ "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)", "held in St. George's Park refers to Venue_Name = 'St George''s Park'; highest winning margin points refers to MAX(Win_Margin)", "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'", "venue refers to Venue_Name; winning team refers to match_winner", "are Superover refers to win_type = 'wickets';", "country refers to Country_Name; the majority of the players  refers to max(count(Country_Name))", "date of the match refers to Match_Date; highest wager refers to max(Win_Margin)", "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)))", "not won by runs refers to Win_Type ! = 'runs'", "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'))" ] }
{ "query": "Among the matches of Delhi Daredevils in 2014, how many won matches are there?", "pos": [ "Delhi Daredevils refers to team_name = 'Delhi Daredevils'; in 2014 refers to Match_Date contains '2014';" ], "neg": [ "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", "have left arm fast in bowling skill refers to Bowling_skill = 'Left-arm fast';", "Zimbabwean refers to Country_Name = 'Zimbabwea'; players refers to Player_Name", "name of the team refers to Team_Name; won the first ever match refers to Match_Winner where max(Match_Date)", "name of venues refers to Venue_Name; season 2 refers to Season_Id = 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)", "the country the umpire comes from refers to Country_Name; BR Doctrove refers to Umpire_Name = 'BR Doctrove'", "from South Africa refers to Country_Name = 'South Africa'; born in 1984 refers to DOB like '1984%';", "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'))", "Sunrisers Hyderabad refers to Team_Name = 'Sunrisers Hyderabad'; win their first match refers to Match_Winner and min(Match_Date)" ] }
{ "query": "What is the total number of won matches of the team named \"Pune Warriors\"?", "pos": [ "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)" ], "neg": [ "Pune Warriors refers to Team_Name = 'Pune Warriors'", "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;", "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'", "name of venues refers to Venue_Name; season 2 refers to Season_Id = 2", "in 2008 refers to Match_Date like '2008%'", "captain and keeper refers to Role_Desc = 'CaptainKeeper'; percentage = divide(count(Player_Id) when Role_Desc = 'CaptainKeeper', count(Player_Id)) as percentage", "name of the player refers to Player_Name; born on July 7 1981 refers to DOB = '1981-07-07'", "\nvenue refers to Venue_Name", "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%'", "names of the venues refers to Venue_Name; Abu Dhabi refers to City_Name = 'Abu Dhabi'" ] }
{ "query": "For the game on 2008/5/12, who was the man of the match?", "pos": [ "on 2008/5/12 refers to Match_Date = '2008-05-12'; name refers to Player_Name;" ], "neg": [ "in May 2008 refers to SUBSTR(Match_Date, 1, 4) = '2008' AND SUBSTR(Match_Date, 7, 1) = '5'", "Legbreak skill refers to Bowling_skill = 'Legbreak' ; percentage = divide(sum(Player_Id) when Bowling_skill = 'Legbreak', count(Player_Id)) as percentage", "Delhi Daredevils refers to team_name = 'Delhi Daredevils'; in 2014 refers to Match_Date contains '2014';", "Zimbabwean refers to Country_Name = 'Zimbabwea'; players refers to Player_Name", "on 18th April 2015 refers to DATE(Match_Date) = '2015-04-18'", "name of the player refers to Player_Name; man of the series more than one time refers to count(Man_of_the_Series) > 1", "city refers to City_Name; no-result matches refers to Win_type = 'NoResult'; least number refers to min(count(Win_type = 'NoResult'))", "season year 2008 refers to Season_Year = 2008", "in 2008 refers to Match_Date like '2008%'", "\nvenue refers to Venue_Name" ] }
{ "query": "How many players have left arm fast in bowling skill?", "pos": [ "have left arm fast in bowling skill refers to Bowling_skill = 'Left-arm fast';" ], "neg": [ "scored less than 3 refers to Runs_Scored < 3; name of player refers to Player_name;", "name of the venue refers to Venue_Name; most number of matches refers to max(count(Venue_Id))", "number of runs refers to Runs_Scored; 2nd inning refers to Innings_No = 2", "'slow left-arm chinaman' bowling style refers to Bowling_skill = 'Slow left-arm chinaman'; most players  refers to max(count(Country_Id))", "won by runs refers to win_type = 1; percentage refers to DIVIDE(COUNT(win_type = 1), COUNT(Win_Type)) * 100", "old refers to SUBTRACT(2022, SUBSTR(DOB, 1, 4)); Ishan Kishan refers to Player_Name = 'Ishan Kishan';", "noballs refers to Extra_Name = 'noballs' ; average number = divide(sum(Extra_Runs), count(Extra_Runs))", "role refers to Role_Desc; K Goel refers to Player_Name = 'K Goel'; match ID 335992 refers to Match_Id = 335992", "SB Joshi refers to Player_Name = 'SB Joshi'; where the player come from refers to Country_Name", "captain-keeper refers to Role_Desc = 'CaptainKeeper'; Rising Pune Supergiants refers to Role_Desc = 'CaptainKeeper'" ] }
{ "query": "What are the names of players that have run scored less than 3?", "pos": [ "scored less than 3 refers to Runs_Scored < 3; name of player refers to Player_name;" ], "neg": [ "SC Ganguly refers to Player_Name = 'SC Ganguly'; role refers to Role_Desc", "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'))", "seasons from 2011 to 2015 refers to 2011 < Season_Year < 2015", "bowling skill used by most players refers to max(count(Bowling_Skill))", "are Indians refers to Country_Name = 'India'", "first teams refers to Team_1; chose to bat after winning the toss refers to Toss_Winner and Toss_Decide = 2", "R Dravid refers to Player_Name = 'R Dravid'; year born refers to DOB; role refers to Role_Desc", "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", "SB Joshi refers to Player_Name = 'SB Joshi'; where the player come from refers to Country_Name", "from South Africa refers to Country_Name = 'South Africa'; born in 1984 refers to DOB like '1984%';" ] }
{ "query": "Among the players born in 1977, what is the percentage of the players with a role as a captain?", "pos": [ "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%'" ], "neg": [ "country refers to Country_Name; the oldest refers to min(DOB)", "type of match won refers to Win_Type", "R Dravid refers to Player_Name = 'R Dravid'; year born refers to DOB; role refers to Role_Desc", "scored less than 3 refers to Runs_Scored < 3; name of player refers to Player_name;", "name of the venue refers to Venue_Name; most number of matches refers to max(count(Venue_Id))", "Mohammad Hafeez refers to Player_Name = 'Mohammad Hafeez';", "\nvenue refers to Venue_Name", "old refers to SUBTRACT(2022, SUBSTR(DOB, 1, 4)); Ishan Kishan refers to Player_Name = 'Ishan Kishan';", "Sunrisers Hyderabad team refers to Team_Name = 'Sunrisers Hyderabad'; in 2013 refers to Match_Date like '2013%';", "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": "When and for what role did the youngest player appear in his first match?", "pos": [ "When refers to Match_Date; youngest player refers to max(DOB); first match refers to min(Match_Date)" ], "neg": [ "date of the match refers to Match_Date; highest wager refers to max(Win_Margin)", "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'", "held in St. George's Park refers to Venue_Name = 'St George''s Park'; highest winning margin points refers to MAX(Win_Margin)", "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 refers to Team_Name = 'Sunrisers Hyderabad'; time of toss winner refers to count(Toss_Winner)", "Sunrisers Hyderabad team refers to Team_Name = 'Sunrisers Hyderabad'; in 2013 refers to Match_Date like '2013%';", "Sunrisers Hyderabad refers to Team_Name = 'Sunrisers Hyderabad'; win their first match refers to Match_Winner and min(Match_Date)", "city named \"Rajkot\" refers to city_name = 'Rajkot';", "name of the player refers to Player_Name; the highest number of outstanding player awards refers to max(count(Man_of_the_Match))", "country refers to Country_Name; the oldest refers to min(DOB)" ] }
{ "query": "What are the names of players who participated in season year 2008?", "pos": [ "season year 2008 refers to Season_Year = 2008" ], "neg": [ "date of the match refers to Match_Date; highest wager refers to max(Win_Margin)", "Australia refers to Country_Name = 'Australia'", "Team 10 refers to Team_1 = 10 OR Team_2 = 10; in 2012 refers to SUBSTR(Match_Date, 1, 4) = '2012'", "resulted in a tie refers to Win_Type = 'Tie'; in 2015 refers to SUBSTR(Match_Date, 1, 4) = 2015", "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", "R Dravid refers to Player_Name = 'R Dravid'; year born refers to DOB; role refers to Role_Desc", "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 teams refers to Team_Name; second team refers to Team_2; Pune Warriors refers to Team_Name = 'Pune Warriors'", "right hand as batting hand refers to Batting_Hand = 'Right-hand bat'; born after 1985 refers to SUBSTR(DOB, 1, 4) > 1985" ] }
{ "query": "How many matches did the Sunrisers Hyderabad team win in 2013?", "pos": [ "Sunrisers Hyderabad team refers to Team_Name = 'Sunrisers Hyderabad'; in 2013 refers to Match_Date like '2013%';" ], "neg": [ "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", "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))", "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'", "lowest winning margin refers to MIN(win_margin); team name refers to team_name; second team refers to team_2", "city refers to City_Name; M Chinnaswamy Stadium refers to Venue_Name = 'M Chinnaswamy Stadium'", "country refers to Country_Name; the majority of the players  refers to max(count(Country_Name))", "name refers to Player_Name; youngest player refers to max(DOB)", "in team 1 refers to Team_Id = 1; name of player refers to Player_Name;", "Sunrisers Hyderabad refers to Team_Name = 'Sunrisers Hyderabad'; win their first match refers to Match_Winner and min(Match_Date)" ] }
{ "query": "List down the name of teams that won the toss of the coin from matches with ID from 336010 to 336020.", "pos": [ "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" ], "neg": [ "wins the toss refers to Toss_Winner; whether they decided to bat or field refers to Toss_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)", "are Indians refers to Country_Name = 'India'", "Mohammad Hafeez refers to Player_Name = 'Mohammad Hafeez';", "names of teams refers to Team_Name; second team refers to Team_2; Pune Warriors refers to Team_Name = 'Pune Warriors'", "born in the 80s refers to DOB like '198%'; have bowling skill of 2 refers to Bowling_skill = 2;", "eldest player refers to MIN(DOB); where he/she come from refers to Country_Name", "type of match won refers to Win_Type", "Team 10 refers to Team_1 = 10 OR Team_2 = 10; in 2012 refers to SUBSTR(Match_Date, 1, 4) = '2012'", "name of the venue refers to Venue_Name; most number of matches refers to max(count(Venue_Id))" ] }
{ "query": "Give the player id of the player who was at the non-striker end for the most number of balls in the match 501219.", "pos": [ "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" ], "neg": [ "got out refers to Player_Out; the first inning refers to Innings_No = 1; match ID \"548335\" refers to Match_Id = 548335", "born in the 90s refers to DOB > = '1990-01-01' AND DOB < = '1999-12-31'", "born before 10/16/1975 refers to DOB < 1975-10-16; bowling skill of less than 3 refers to Bowling_skill < 3", "wins the toss refers to Toss_Winner; whether they decided to bat or field refers to Toss_Name", "year 2012 refers to Season_Year = 2012; name of player refers to Player_Name.; country of this player refers to Country_Name", "old refers to SUBTRACT(2022, SUBSTR(DOB, 1, 4)); Ishan Kishan refers to Player_Name = 'Ishan Kishan';", "seasons from 2011 to 2015 refers to 2011 < Season_Year < 2015", "players' name refers to Player_name; born in 1971 refers to DOB LIKE '1971%'", "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", "When refers to Match_Date; youngest player refers to max(DOB); first match refers to min(Match_Date)" ] }
{ "query": "Name the player who is born on July 7, 1981.", "pos": [ "name of the player refers to Player_Name; born on July 7 1981 refers to DOB = '1981-07-07'" ], "neg": [ "bowling skill used by most players refers to max(count(Bowling_Skill))", "SB Joshi refers to Player_Name = 'SB Joshi'; where the player come from refers to Country_Name", "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", "Yuvraj Singh refers to Player_Name = 'Yuvraj Singh'; receive the Man of the Match award refers to Player_Id = Man_of_the_Match", "bowling skill greater than 2 refers to Bowling_skill > 2", "played as a keeper refers to Role_Desc = 'Keeper'; name of player refers to Player_Name;", "won by runs refers to win_type = 1; percentage refers to DIVIDE(COUNT(win_type = 1), COUNT(Win_Type)) * 100", "losing team's name refers to Team_Id NOT in \"match_winner\" column", "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", "are Superover refers to win_type = 'wickets';" ] }
{ "query": "Write down the name of players whose bowling skill is Legbreak.", "pos": [ "name of players refers to Player_Name" ], "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;", "Indian refers to Country_Name = 'India'", "played as a keeper refers to Role_Desc = 'Keeper'; name of player refers to Player_Name;", "name of the team refers to Team_Name; won the first ever match refers to Match_Winner where max(Match_Date)", "had players out by hit wickets refers to Out_Name = 'hit wicket'", "in 2009 refers to Match_Date like '2009%'; win margins of less than 10 refers to Win_Margin < 10;", "Sunrisers Hyderabad refers to Team_Name = 'Sunrisers Hyderabad'; time of toss winner refers to count(Toss_Winner)", "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", "are Superover refers to win_type = 'wickets';", "role refers to Role_Desc; K Goel refers to Player_Name = 'K Goel'; match ID 335992 refers to Match_Id = 335992" ] }
{ "query": "Give me the match ID and date of the matches that were held in Kingsmead for three consecutive days.", "pos": [ "date of the matches refers to Match_Date; held in Kingsmead refers to Venue_Name = 'Kingsmead'" ], "neg": [ "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", "born in 1977 refers to DOB LIKE '1977%'; name refers to Player_Name; birthdate refers to DOB; England refers to Country_Name = 'England'", "were played in March 2010 refers to Match_Date = '2010-03%'", "won by runs refers to win_type = 1; percentage refers to DIVIDE(COUNT(win_type = 1), COUNT(Win_Type)) * 100", "noballs refers to Extra_Name = 'noballs' ; average number = divide(sum(Extra_Runs), count(Extra_Runs))", "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')", "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)))", "name of the team refers to Team_Name; won the first ever match refers to Match_Winner where max(Match_Date)", "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": "List all Zimbabwean players.", "pos": [ "Zimbabwean refers to Country_Name = 'Zimbabwea'; players refers to Player_Name" ], "neg": [ "the venue named \"Newlands\" refers to Venue_Name = 'Newlands'", "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", "got out refers to Player_Out; the first inning refers to Innings_No = 1; match ID \"548335\" refers to Match_Id = 548335", "role refers to Role_Desc; K Goel refers to Player_Name = 'K Goel'; match ID 335992 refers to Match_Id = 335992", "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%", "Pune Warriors refers to Team_Name = 'Pune Warriors'", "lowest winning margin refers to MIN(win_margin); team name refers to team_name; second team refers to team_2", "country refers to Country_Name; the majority of the players  refers to max(count(Country_Name))", "players' name refers to Player_name; born in 1971 refers to DOB LIKE '1971%'", "losing team's name refers to Team_Id NOT in \"match_winner\" column" ] }
{ "query": "Give the name of the youngest player.", "pos": [ "name of player refers to Player_Name; the youngest refers to max(DOB)" ], "neg": [ "held in St. George's Park refers to Venue_Name = 'St George''s Park'; highest winning margin points refers to MAX(Win_Margin)", "Pune Warriors refers to Team_Name = 'Pune Warriors'", "are Indians refers to Country_Name = 'India'", "date of the matches refers to Match_Date; held in Kingsmead refers to Venue_Name = 'Kingsmead'", "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)))", "year refers to DOB; majority of the players refers to max(count(Player_Id))", "id of the player who won the Orange Cap refers to Orange_Cap; for 2 consecutive seasons refers to count(Season_Year) > 1", "name of the player refers to Player_Name; man of the series more than one time refers to count(Man_of_the_Series) > 1", "city named \"Rajkot\" refers to city_name = 'Rajkot';", "player no.41 won the \"man of the match\" refers to Man_of_the_Match = 41" ] }
{ "query": "From which country does the most umpires are from? How many of them are from the mentioned country?\n", "pos": [ "which country refers to Country_Id; most umpires refers to max(count(Umpire_Id))" ], "neg": [ "country refers to Country_Name; the majority of the players  refers to max(count(Country_Name))", "SuperSport Park refers to Venue_Name = 'SuperSport Park'; Centurion refers to City_Name = 'Centurion'", "resulted in a tie refers to Win_Type = 'Tie'; in 2015 refers to SUBSTR(Match_Date, 1, 4) = 2015", "CH Gayle refers to Player_Name = 'CH Gayle'", "player no.41 won the \"man of the match\" refers to Man_of_the_Match = 41", "the venue named \"Newlands\" refers to Venue_Name = 'Newlands'", "born before 10/16/1975 refers to DOB < 1975-10-16; bowling skill of less than 3 refers to Bowling_skill < 3", "bowling skill greater than 2 refers to Bowling_skill > 2", "bowling skill used by most players refers to max(count(Bowling_Skill))", "name of venues refers to Venue_Name; season 2 refers to Season_Id = 2" ] }
{ "query": "Among the matches of Delhi Daredevils in 2009, what is the percentage of their matches won by wickets?", "pos": [ "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))" ], "neg": [ "date of birth refers to DOB; 2014 refers to Season_Year = 2014; Orange Cap winner refers to Orange_Cap IS NOT NULL", "which country refers to Country_Id; most umpires refers to max(count(Umpire_Id))", "wins the toss refers to Toss_Winner; whether they decided to bat or field refers to Toss_Name", "city refers to City_Name; no-result matches refers to Win_type = 'NoResult'; least number refers to min(count(Win_type = 'NoResult'))", "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)))", "born before 10/16/1975 refers to DOB < 1975-10-16; bowling skill of less than 3 refers to Bowling_skill < 3", "seasons from 2011 to 2015 refers to 2011 < Season_Year < 2015", "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')", "'slow left-arm chinaman' bowling style refers to Bowling_skill = 'Slow left-arm chinaman'; most players  refers to max(count(Country_Id))", "English umpires refers to Country_Name = 'England'" ] }
{ "query": "List the cities located in U.A.E.", "pos": [ "city refers to City_Name; U.A.E refers to Country_Name = 'U.A.E'" ], "neg": [ "seasons from 2011 to 2015 refers to 2011 < Season_Year < 2015", "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')", "won by wickets refers to Win_type = 'wickets';", "role refers to Role_Desc; K Goel refers to Player_Name = 'K Goel'; match ID 335992 refers to Match_Id = 335992", "from South Africa refers to Country_Name = 'South Africa'; born in 1984 refers to DOB like '1984%';", "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)", "name of the team refers to Team_Name; won the first ever match refers to Match_Winner where max(Match_Date)", "which country refers to Country_Id; most umpires refers to max(count(Umpire_Id))", "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", "eldest player refers to MIN(DOB); where he/she come from refers to Country_Name" ] }
{ "query": "Compute the run rate at the end of 16 overs of the match ID 335999. Please include the name of the \"Man of_the Match\".", "pos": [ "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" ], "neg": [ "city refers to City_Name; U.A.E refers to Country_Name = 'U.A.E'", "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", "venue refers to Venue_Name; winning team refers to match_winner", "born in the 90s refers to DOB > = '1990-01-01' AND DOB < = '1999-12-31'", "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", "English umpires refers to Country_Name = 'England'", "on 2008/5/12 refers to Match_Date = '2008-05-12'; name refers to Player_Name;", "not won by runs refers to Win_Type ! = 'runs'", "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)" ] }
{ "query": "List the first team's name in the match with the highest winning margin.", "pos": [ "team's name refers to Team_Name; first team refers to Team_Id = Team_1; the highest winning margin refers to max(Win_Margin)" ], "neg": [ "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", "Australia refers to Country_Name = 'Australia'", "country refers to Country_Name; the majority of the players  refers to max(count(Country_Name))", "resulted in a tie refers to Win_Type = 'Tie'; in 2015 refers to SUBSTR(Match_Date, 1, 4) = 2015", "year 2012 refers to Season_Year = 2012; name of player refers to Player_Name.; country of this player refers to Country_Name", "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'", "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", "name of player refers to Player_Name; the youngest refers to max(DOB)", "right hand as batting hand refers to Batting_Hand = 'Right-hand bat'; born after 1985 refers to SUBSTR(DOB, 1, 4) > 1985", "which country refers to Country_Id; most umpires refers to max(count(Umpire_Id))" ] }
{ "query": "Between match nos. 335989 and 337000, how many times did a batsman score more than 3 runs during over no. 1, ball no. 1, and inning no. 1 of the matches?", "pos": [ "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" ], "neg": [ "name refers to Player_Name; youngest player refers to max(DOB)", "old refers to SUBTRACT(2022, SUBSTR(DOB, 1, 4)); Ishan Kishan refers to Player_Name = 'Ishan Kishan';", "in team 1 refers to Team_Id = 1; name of player refers to Player_Name;", "born before 10/16/1975 refers to DOB < 1975-10-16; bowling skill of less than 3 refers to Bowling_skill < 3", "Royal Challengers Bangalore refers to team_name = 'Royal Challengers Bangalore'; highest winning margin refers to MAX(win_margin)", "held in June 2014 refers to SUBSTR(Match_Date, 7, 1) = 6 and SUBSTR(Match_Date, 1, 4) = 2014", "the country the umpire comes from refers to Country_Name; BR Doctrove refers to Umpire_Name = 'BR Doctrove'", "role refers to Role_Desc; K Goel refers to Player_Name = 'K Goel'; match ID 335992 refers to Match_Id = 335992", "year refers to DOB; majority of the players refers to max(count(Player_Id))", "noballs refers to Extra_Name = 'noballs' ; average number = divide(sum(Extra_Runs), count(Extra_Runs))" ] }
{ "query": "How many Orange Cap awards were won by CH Gayle?", "pos": [ "CH Gayle refers to Player_Name = 'CH Gayle'" ], "neg": [ "have left arm fast in bowling skill refers to Bowling_skill = 'Left-arm fast';", "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')", "SC Ganguly refers to Player_Name = 'SC Ganguly'", "Yuvraj Singh refers to Player_Name = 'Yuvraj Singh'; receive the Man of the Match award refers to Player_Id = Man_of_the_Match", "R Dravid refers to Player_Name = 'R Dravid'; year born refers to DOB; role refers to Role_Desc", "Zimbabwean refers to Country_Name = 'Zimbabwea'; players refers to Player_Name", "the oldest refers to min(DOB); date of birth refers to DOB", "city named \"Rajkot\" refers to city_name = 'Rajkot';", "name of the player refers to Player_Name; born on July 7 1981 refers to DOB = '1981-07-07'", "Team 10 refers to Team_1 = 10 OR Team_2 = 10; in 2012 refers to SUBSTR(Match_Date, 1, 4) = '2012'" ] }
{ "query": "Among the players who use the right hand as their batting hand, how many of them were born after 1985?", "pos": [ "right hand as batting hand refers to Batting_Hand = 'Right-hand bat'; born after 1985 refers to SUBSTR(DOB, 1, 4) > 1985" ], "neg": [ "got out refers to Player_Out; the first inning refers to Innings_No = 1; match ID \"548335\" refers to Match_Id = 548335", "born before 10/16/1975 refers to DOB < 1975-10-16; bowling skill of less than 3 refers to Bowling_skill < 3", "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'))", "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", "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')", "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", "year refers to DOB; majority of the players refers to max(count(Player_Id))", "which country refers to Country_Id; most umpires refers to max(count(Umpire_Id))", "were played in March 2010 refers to Match_Date = '2010-03%'", "season year 2008 refers to Season_Year = 2008" ] }
{ "query": "How many first teams chose to bat after winning the toss?", "pos": [ "first teams refers to Team_1; chose to bat after winning the toss refers to Toss_Winner and Toss_Decide = 2" ], "neg": [ "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'", "SuperSport Park refers to Venue_Name = 'SuperSport Park'; Centurion refers to City_Name = 'Centurion'", "who refers to Team_Name", "play by the left hand refers to Batting_hand =   'Left-hand bat'", "SB Joshi refers to Player_Name = 'SB Joshi'; where the player come from refers to Country_Name", "not won by runs refers to Win_Type ! = 'runs'", "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 refers to Player_Name; youngest player refers to max(DOB)", "Yuvraj Singh refers to Player_Name = 'Yuvraj Singh'; receive the Man of the Match award refers to Player_Id = Man_of_the_Match", "role refers to Role_Desc; K Goel refers to Player_Name = 'K Goel'; match ID 335992 refers to Match_Id = 335992" ] }
{ "query": "What are the average extra runs given in the second innings of every match?", "pos": [ "second innings refers to Innings_No = 2; average extra runs = divide(sum(Extra_Runs), count(Innings_No)) when Innings_No = 2" ], "neg": [ "Delhi Daredevils refers to team_name = 'Delhi Daredevils'; in 2014 refers to Match_Date contains '2014';", "bowling skill used by most players refers to max(count(Bowling_Skill))", "the oldest refers to min(DOB); date of birth refers to DOB", "U.A.E refers to Country_Name = 'U.A.E'", "country refers to Country_Name; the oldest refers to min(DOB)", "id of the player who won the Orange Cap refers to Orange_Cap; for 2 consecutive seasons refers to count(Season_Year) > 1", "SC Ganguly refers to Player_Name = 'SC Ganguly'; role refers to Role_Desc", "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))", "got out refers to Player_Out; the first inning refers to Innings_No = 1; match ID \"548335\" refers to Match_Id = 548335" ] }
{ "query": "List the names of players who played as a keeper.", "pos": [ "played as a keeper refers to Role_Desc = 'Keeper'; name of player refers to Player_Name;" ], "neg": [ "in May 2008 refers to SUBSTR(Match_Date, 1, 4) = '2008' AND SUBSTR(Match_Date, 7, 1) = '5'", "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'", "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))", "name of the venue refers to Venue_Name; most number of matches refers to max(count(Venue_Id))", "East London refers to City_Name = 'East London'", "city named \"Rajkot\" refers to city_name = 'Rajkot';", "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)))", "Mohammad Hafeez refers to Player_Name = 'Mohammad Hafeez';", "Team 10 refers to Team_1 = 10 OR Team_2 = 10; in 2012 refers to SUBSTR(Match_Date, 1, 4) = '2012'", "right hand as batting hand refers to Batting_Hand = 'Right-hand bat'; born after 1985 refers to SUBSTR(DOB, 1, 4) > 1985" ] }
{ "query": "How many players are Indians?", "pos": [ "are Indians refers to Country_Name = 'India'" ], "neg": [ "which country refers to Country_Id; most umpires refers to max(count(Umpire_Id))", "MK Pandey refers to Player_Name = 'MK Pandey'", "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'))", "seasons from 2011 to 2015 refers to 2011 < Season_Year < 2015", "role refers to Role_Desc; K Goel refers to Player_Name = 'K Goel'; match ID 335992 refers to Match_Id = 335992", "played as a keeper refers to Role_Desc = 'Keeper'; name of player refers to Player_Name;", "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'", "won by runs refers to win_type = 1; percentage refers to DIVIDE(COUNT(win_type = 1), COUNT(Win_Type)) * 100", "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", "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%" ] }
{ "query": "Calculate the run rate at the end of 17 overs of the match ID 335987 on 4/18/2008.", "pos": [ "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')" ], "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%'", "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", "played as a keeper refers to Role_Desc = 'Keeper'; name of player refers to Player_Name;", "first teams refers to Team_1; chose to bat after winning the toss refers to Toss_Winner and Toss_Decide = 2", "the country the umpire comes from refers to Country_Name; BR Doctrove refers to Umpire_Name = 'BR Doctrove'", "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", "in 2009 refers to Match_Date like '2009%'; win margins of less than 10 refers to Win_Margin < 10;", "captain-keeper refers to Role_Desc = 'CaptainKeeper'; Rising Pune Supergiants refers to Role_Desc = 'CaptainKeeper'", "have left arm fast in bowling skill refers to Bowling_skill = 'Left-arm fast';" ] }
{ "query": "What is the percentage of matches that are won by runs?", "pos": [ "won by runs refers to win_type = 1; percentage refers to DIVIDE(COUNT(win_type = 1), COUNT(Win_Type)) * 100" ], "neg": [ "name of the player refers to Player_Name; the highest number of outstanding player awards refers to max(count(Man_of_the_Match))", "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", "who refers to Team_Name", "born in the 80s refers to DOB like '198%'; have bowling skill of 2 refers to Bowling_skill = 2;", "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))", "captain-keeper refers to Role_Desc = 'CaptainKeeper'; Rising Pune Supergiants refers to Role_Desc = 'CaptainKeeper'", "SC Ganguly refers to Player_Name = 'SC Ganguly'", "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%", "id of the player who won the Orange Cap refers to Orange_Cap; for 2 consecutive seasons refers to count(Season_Year) > 1", "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'))" ] }
{ "query": "Which is the country of the city named \"Rajkot\"?", "pos": [ "city named \"Rajkot\" refers to city_name = 'Rajkot';" ], "neg": [ "lowest winning margin refers to MIN(win_margin); team name refers to team_name; second team refers to team_2", "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", "name of the player refers to Player_Name; born on July 7 1981 refers to DOB = '1981-07-07'", "When refers to Match_Date; youngest player refers to max(DOB); first match refers to min(Match_Date)", "country refers to Country_Name; the majority of the players  refers to max(count(Country_Name))", "Delhi Daredevils refers to team_name = 'Delhi Daredevils'; in 2014 refers to Match_Date contains '2014';", "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", "name refers to Player_Name; youngest player refers to max(DOB)", "role refers to Role_Desc; K Goel refers to Player_Name = 'K Goel'; match ID 335992 refers to Match_Id = 335992" ] }
{ "query": "What are the names of players who had been man of the match more than 5 times in season year 2008?", "pos": [ "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;" ], "neg": [ "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)", "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'", "fewest number of matches refers to min(count(Match_Id))", "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", "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'", "Who refers to Player_Name; youngest player to have won the Purple Cap refers to min(subtract(Season_Year, DOB))", "SC Ganguly refers to Player_Name = 'SC Ganguly'; role refers to Role_Desc", "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%", "names of the venues refers to Venue_Name; Abu Dhabi refers to City_Name = 'Abu Dhabi'" ] }
{ "query": "List down names of teams that have played as second team against Pune Warriors.", "pos": [ "names of teams refers to Team_Name; second team refers to Team_2; Pune Warriors refers to Team_Name = 'Pune Warriors'" ], "neg": [ "date of birth refers to DOB; 2014 refers to Season_Year = 2014; Orange Cap winner refers to Orange_Cap IS NOT NULL", "on 2008/5/12 refers to Match_Date = '2008-05-12'; name 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", "name of the venue, city and country refers to Venue_Name and City_Name and Country_Name; last match refers to max(Match_Date)", "city refers to City_Name; M Chinnaswamy Stadium refers to Venue_Name = 'M Chinnaswamy Stadium'", "\nvenue refers to Venue_Name", "not won by runs refers to Win_Type ! = 'runs'", "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;", "won by runs refers to win_type = 1; percentage refers to DIVIDE(COUNT(win_type = 1), COUNT(Win_Type)) * 100", "MK Pandey refers to Player_Name = 'MK Pandey'" ] }
{ "query": "In the match ID 419135, who won by runs?", "pos": [ "who refers to Team_Name" ], "neg": [ "on 2008/5/12 refers to Match_Date = '2008-05-12'; name refers to Player_Name;", "Yuvraj Singh refers to Player_Name = 'Yuvraj Singh'; receive the Man of the Match award refers to Player_Id = Man_of_the_Match", "played as a keeper refers to Role_Desc = 'Keeper'; name of player refers to Player_Name;", "name of the team refers to Team_Name; won the first ever match refers to Match_Winner where max(Match_Date)", "SB Joshi refers to Player_Name = 'SB Joshi'; where the player come from refers to Country_Name", "names of teams refers to Team_Name; second team refers to Team_2; Pune Warriors refers to Team_Name = 'Pune Warriors'", "When refers to Match_Date; youngest player refers to max(DOB); first match refers to min(Match_Date)", "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)", "Delhi Daredevils refers to team_name = 'Delhi Daredevils'; in 2014 refers to Match_Date contains '2014';", "bowling skill greater than 2 refers to Bowling_skill > 2" ] }
{ "query": "Give the date of birth of the 2014 Orange Cap winner.", "pos": [ "date of birth refers to DOB; 2014 refers to Season_Year = 2014; Orange Cap winner refers to Orange_Cap IS NOT NULL" ], "neg": [ "full name refers to Player_Name; in 2013 refers to Season_Year = 2013", "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", "got out refers to Player_Out; the first inning refers to Innings_No = 1; match ID \"548335\" refers to Match_Id = 548335", "Sunrisers Hyderabad team refers to Team_Name = 'Sunrisers Hyderabad'; in 2013 refers to Match_Date like '2013%';", "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", "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", "Team 10 refers to Team_1 = 10 OR Team_2 = 10; in 2012 refers to SUBSTR(Match_Date, 1, 4) = '2012'", "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", "name of the player refers to Player_Name; born on July 7 1981 refers to DOB = '1981-07-07'", "scored less than 3 refers to Runs_Scored < 3; name of player refers to Player_name;" ] }
{ "query": "List the players' names who were born in 1971.", "pos": [ "players' name refers to Player_name; born in 1971 refers to DOB LIKE '1971%'" ], "neg": [ "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))", "name of players refers to Player_Name", "not won by runs refers to Win_Type ! = 'runs'", "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", "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", "date of the match refers to Match_Date; highest wager refers to max(Win_Margin)", "held in St. George's Park refers to Venue_Name = 'St George''s Park'; highest winning margin points refers to MAX(Win_Margin)", "name refers to Player_Name; youngest player refers to max(DOB)", "city refers to City_Name; U.A.E refers to Country_Name = 'U.A.E'", "SC Ganguly refers to Player_Name = 'SC Ganguly'; in season year 2008 refers to Season_Year = 2008" ] }
{ "query": "In how many games in which the batting team was the Delhi Daredevils were no runs scored?", "pos": [ "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" ], "neg": [ "player no.41 won the \"man of the match\" refers to Man_of_the_Match = 41", "city named \"Rajkot\" refers to city_name = 'Rajkot';", "SC Ganguly refers to Player_Name = 'SC Ganguly'; team captain refers to Role_Desc = 'Captain'", "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%", "name of the player refers to Player_Name; man of the series more than one time refers to count(Man_of_the_Series) > 1", "Pune Warriors refers to Team_Name = 'Pune Warriors'", "in 2008 refers to Match_Date like '2008%'", "name of venues refers to Venue_Name; season 2 refers to Season_Id = 2", "MK Pandey refers to Player_Name = 'MK Pandey'", "have left arm fast in bowling skill refers to Bowling_skill = 'Left-arm fast';" ] }
{ "query": "How many times has Sunrisers Hyderabad been the toss winner of a game?", "pos": [ "Sunrisers Hyderabad refers to Team_Name = 'Sunrisers Hyderabad'; time of toss winner refers to count(Toss_Winner)" ], "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", "SuperSport Park refers to Venue_Name = 'SuperSport Park'; Centurion refers to City_Name = 'Centurion'", "got out refers to Player_Out; the first inning refers to Innings_No = 1; match ID \"548335\" refers to Match_Id = 548335", "bowling skill greater than 2 refers to Bowling_skill > 2", "players' name refers to Player_name; born in 1971 refers to DOB LIKE '1971%'", "old refers to SUBTRACT(2022, SUBSTR(DOB, 1, 4)); Ishan Kishan refers to Player_Name = 'Ishan Kishan';", "first teams refers to Team_1; chose to bat after winning the toss refers to Toss_Winner and Toss_Decide = 2", "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%'", "role refers to Role_Desc; K Goel refers to Player_Name = 'K Goel'; match ID 335992 refers to Match_Id = 335992", "born before 10/16/1975 refers to DOB < 1975-10-16; bowling skill of less than 3 refers to Bowling_skill < 3" ] }
{ "query": "List the ball IDs, scores, and innings numbers in the over ID 20 of match ID \"335988\".", "pos": [ "innings numbers refers to Innings_No" ], "neg": [ "in 2009 refers to Match_Date like '2009%'; win margins of less than 10 refers to Win_Margin < 10;", "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'", "SC Ganguly refers to Player_Name = 'SC Ganguly'; role refers to Role_Desc", "losing team's name refers to Team_Id NOT in \"match_winner\" column", "date of birth refers to DOB; 2014 refers to Season_Year = 2014; Orange Cap winner refers to Orange_Cap IS NOT NULL", "held in St. George's Park refers to Venue_Name = 'St George''s Park'; highest winning margin points refers to MAX(Win_Margin)", "were played in March 2010 refers to Match_Date = '2010-03%'", "country refers to Country_Name; the majority of the players  refers to max(count(Country_Name))", "Sunrisers Hyderabad refers to Team_Name = 'Sunrisers Hyderabad'; time of toss winner refers to count(Toss_Winner)" ] }
{ "query": "What year was R Dravid born and the role he played?", "pos": [ "R Dravid refers to Player_Name = 'R Dravid'; year born refers to DOB; role refers to Role_Desc" ], "neg": [ "play by the left hand refers to Batting_hand =   'Left-hand bat'", "scored less than 3 refers to Runs_Scored < 3; name of player refers to Player_name;", "country refers to Country_Name; the oldest refers to min(DOB)", "noballs refers to Extra_Name = 'noballs' ; average number = divide(sum(Extra_Runs), count(Extra_Runs))", "old refers to SUBTRACT(2022, SUBSTR(DOB, 1, 4)); Ishan Kishan refers to Player_Name = 'Ishan Kishan';", "SC Ganguly refers to Player_Name = 'SC Ganguly'; in season year 2008 refers to Season_Year = 2008", "from South Africa refers to Country_Name = 'South Africa'; born in 1984 refers to DOB like '1984%';", "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; won the first ever match refers to Match_Winner where max(Match_Date)", "CH Gayle refers to Player_Name = 'CH Gayle'" ] }
{ "query": "Of the matches that were won by runs by team 1, what percentage have team 1 won the toss and decided to field?", "pos": [ "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" ], "neg": [ "Team 10 refers to Team_1 = 10 OR Team_2 = 10; in 2012 refers to SUBSTR(Match_Date, 1, 4) = '2012'", "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;", "city refers to City_Name; U.A.E refers to Country_Name = 'U.A.E'", "East London refers to City_Name = 'East London'", "Delhi Daredevils refers to team_name = 'Delhi Daredevils'; in 2014 refers to Match_Date contains '2014';", "match date refers to Match_Date; Chennai Super Kings refers to Team_Name = 'Chennai Super Kings'; first match refers to min(Match_Date)", "second innings refers to Innings_No = 2; average extra runs = divide(sum(Extra_Runs), count(Innings_No)) when 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')", "name refers to Player_Name; youngest player refers to max(DOB)", "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 matches were there in May, 2008?", "pos": [ "in May 2008 refers to SUBSTR(Match_Date, 1, 4) = '2008' AND SUBSTR(Match_Date, 7, 1) = '5'" ], "neg": [ "won by wickets refers to Win_type = 'wickets';", "old refers to SUBTRACT(2022, SUBSTR(DOB, 1, 4)); Ishan Kishan refers to Player_Name = 'Ishan Kishan';", "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)", "Pune Warriors refers to Team_Name = 'Pune Warriors'", "role refers to Role_Desc; K Goel refers to Player_Name = 'K Goel'; match ID 335992 refers to Match_Id = 335992", "scored less than 3 refers to Runs_Scored < 3; name of player refers to Player_name;", "name refers to Player_Name; captain keeper refers to Role_Desc = 'CaptainKeeper'; match no.419117 refers to Match_Id = '419117'", "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", "Australia refers to Country_Name = 'Australia'", "played as a keeper refers to Role_Desc = 'Keeper'; name of player refers to Player_Name;" ] }
{ "query": "How many players are from Australia?", "pos": [ "Australia refers to Country_Name = 'Australia'" ], "neg": [ "fewest number of matches refers to min(count(Match_Id))", "Team 10 refers to Team_1 = 10 OR Team_2 = 10; in 2012 refers to SUBSTR(Match_Date, 1, 4) = '2012'", "SC Ganguly refers to Player_Name = 'SC Ganguly'; team captain refers to Role_Desc = 'Captain'", "not won by runs refers to Win_Type ! = 'runs'", "born in the 90s refers to DOB > = '1990-01-01' AND DOB < = '1999-12-31'", "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", "date of the matches refers to Match_Date; held in Kingsmead refers to Venue_Name = 'Kingsmead'", "name of player refers to Player_Name; the youngest refers to max(DOB)", "born in 1977 refers to DOB LIKE '1977%'; name refers to Player_Name; birthdate refers to DOB; England refers to Country_Name = 'England'", "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))" ] }
{ "query": "Provide the losing team's name in the match ID 336039.", "pos": [ "losing team's name refers to Team_Id NOT in \"match_winner\" column" ], "neg": [ "the country the umpire comes from refers to Country_Name; BR Doctrove refers to Umpire_Name = 'BR Doctrove'", "city refers to City_Name; no-result matches refers to Win_type = 'NoResult'; least number refers to min(count(Win_type = 'NoResult'))", "country refers to Country_Name; the oldest refers to min(DOB)", "\nvenue refers to Venue_Name", "Royal Challengers Bangalore refers to team_name = 'Royal Challengers Bangalore'; highest winning margin refers to MAX(win_margin)", "are Indians refers to Country_Name = 'India'", "won by wickets refers to Win_type = 'wickets';", "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 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)))", "type of match won refers to Win_Type" ] }
{ "query": "What is the difference in the average number of players out by lbw and runout in the matches?", "pos": [ "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)" ], "neg": [ "CH Gayle refers to Player_Name = 'CH Gayle'", "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", "resulted in a tie refers to Win_Type = 'Tie'; in 2015 refers to SUBSTR(Match_Date, 1, 4) = 2015", "'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;", "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;", "season year 2008 refers to Season_Year = 2008", "from South Africa refers to Country_Name = 'South Africa'; born in 1984 refers to DOB like '1984%';", "were played in March 2010 refers to Match_Date = '2010-03%'", "SC Ganguly refers to Player_Name = 'SC Ganguly'; role refers to Role_Desc" ] }
{ "query": "Which season has the fewest number of matches?", "pos": [ "fewest number of matches refers to min(count(Match_Id))" ], "neg": [ "the oldest refers to min(DOB); date of birth refers to DOB", "Legbreak skill refers to Bowling_skill = 'Legbreak' ; percentage = divide(sum(Player_Id) when Bowling_skill = 'Legbreak', count(Player_Id)) as percentage", "Australia refers to Country_Name = 'Australia'", "SC Ganguly refers to Player_Name = 'SC Ganguly'; team captain refers to Role_Desc = 'Captain'", "season year 2008 refers to Season_Year = 2008", "which country refers to Country_Id; most umpires refers to max(count(Umpire_Id))", "have left arm fast in bowling skill refers to Bowling_skill = 'Left-arm fast';", "Sunrisers Hyderabad team refers to Team_Name = 'Sunrisers Hyderabad'; in 2013 refers to Match_Date like '2013%';", "city refers to City_Name; no-result matches refers to Win_type = 'NoResult'; least number refers to min(count(Win_type = 'NoResult'))", "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": "Among the matches held in St. George's Park, give the match ID of the match with the highest winning margin points.", "pos": [ "held in St. George's Park refers to Venue_Name = 'St George''s Park'; highest winning margin points refers to MAX(Win_Margin)" ], "neg": [ "were played in March 2010 refers to Match_Date = '2010-03%'", "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'))", "Pune Warriors refers to Team_Name = 'Pune Warriors'", "seasons from 2011 to 2015 refers to 2011 < Season_Year < 2015", "team's name refers to Team_Name; first team refers to Team_Id = Team_1; the highest winning margin refers to max(Win_Margin)", "captain-keeper refers to Role_Desc = 'CaptainKeeper'; Rising Pune Supergiants refers to Role_Desc = 'CaptainKeeper'", "born before 10/16/1975 refers to DOB < 1975-10-16; bowling skill of less than 3 refers to Bowling_skill < 3", "winning margin of 6 points refers to Win_Margin = 6; held on April 26, 2009 refers to Match_Date = '2009-04-26'", "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;", "city refers to City_Name; M Chinnaswamy Stadium refers to Venue_Name = 'M Chinnaswamy Stadium'" ] }
{ "query": "Among all the tweets posted on Mondays, how many of them are reshared?", "pos": [ "\"Monday\" is the Weekday; reshare refers to IsReshare = 'TRUE'" ], "neg": [ "\"tw-682712873332805633\" is the TweetID; day of the week refers to Weekday", "\"Michigan\" is the State; 'Thursday' is the Weekday; number of tweets refers to Count(TweetID)", "retweet more than 30 times refers to RetweetCount > 30", "reshared tweet refers to IsReshare = 'TRUE'; 'Texas' is the State", "over 1000 likes refers to Likes > 1000; 'Male' is the Gender of user", "\"Rawang\" is the City; \"Selangor\" is the State; \"Malaysia\" is the Country", "tweet with the most likes refers to Max(Likes)", "male user refers to Gender = 'Male'; 'Argentina' is the Country; most number of likes refers to Max(Likes)", "country with the most positive sentiment tweet refers to Country where Max(Count(Sentiment > 0))", "\"tw-682714583044243456\" is the TweetID" ] }
{ "query": "Among all the users that have posted a tweet with over 1000 likes, how many of them are male?", "pos": [ "over 1000 likes refers to Likes > 1000; 'Male' is the Gender of user" ], "neg": [ "neutral sentiment refers to Sentiment = 0", "male user refers to Gender = 'Male'; 'Monday' is the Weekday; average number of likes = Divide (Sum(Likes), Count(TweetID))", "\"Monday\" is the Weekday; reshare refers to IsReshare = 'TRUE'", "\"Bangkok\" and \"Chiang Mai\" are both City; average number of like = Divide (Sum(Likes), Count(TweetID))", "\"Buenos Aires\" is the City; male user refers to Gender = 'Male'", "\"Argentina\" is the Country", "\"Argentina\" is the Country; post the most tweets refers to Max(Count(TweetID))", "female users refers to Gender = 'Female'; reshare refers to IsReshare = 'TRUE'", "seen by more than 1000 unique users refers to Reach > 1000", "male user refers to Gender = 'Male'; average tweet in a week per user refers to Divide ( Divide(Count(TweetID), Count (UserID)), Divide(31, 7))" ] }
{ "query": "List down all of the texts posted on Twitter on Thursday.", "pos": [ "\"Thursday\" is the Weekday" ], "neg": [ "\"Rawang\" is the City; \"Selangor\" is the State; \"Malaysia\" is the Country", "positive sentiment refers to Sentiment > 0; male user refers to Gender = 'Male'; percentage = Divide (Count(TweetID where Gender = 'Male'), Count (TweetID)) * 100", "tweet with the most likes refers to Max(Likes)", "retweet more than 30 times refers to RetweetCount > 30", "\"Australia\" is the Country", "\"en\" is the language and refers to Lang = 'en'; most tweet in 'en' refers to Max(Count(text where Lang = 'en'))", "positive sentiment refers to Sentiment > 0; posted on Thursday refers to Weekday = 'Thursday'", "english is the language and refers to Lang = 'en'", "\"Monday\" is the Weekday; reshare refers to IsReshare = 'TRUE'", "\"Happy New Year to all those AWS instances of ours!\" is the text; seen unique users refers to Reach" ] }
{ "query": "How many tweets in French were posted from Australia?", "pos": [ "\"French\" is the language and refers to Lang = 'fr'; 'Australia' is the Country" ], "neg": [ "tweet with most number of retweet post refers to Max(RetweetCount)", "\"Happy New Year to all those AWS instances of ours!\" is the text; seen unique users refers to Reach", "tw-685681052912873473' is the TweetID", "\"Canada\" is the Country; city with most number of tweets refers to City where Max(Count(TweetID))", "\"Australia\" is the Country", "\"Michigan\" is the State; 'Thursday' is the Weekday; number of tweets refers to Count(TweetID)", "female users refers to Gender = 'Female'; reshare refers to IsReshare = 'TRUE'", "male user refers to Gender = 'Male'; 'Argentina' is the Country; most number of likes refers to Max(Likes)", "\"French\" is the language and refers to Lang = 'fr'; male user refers to Gender = 'Male'", "\"Brazil\" is the Country; language refers to Lang" ] }
{ "query": "Among all the tweets sent by male users in Argentina, what is the text of the one with the most number of likes?", "pos": [ "male user refers to Gender = 'Male'; 'Argentina' is the Country; most number of likes refers to Max(Likes)" ], "neg": [ "tweet with positive sentiment refers to Sentiment > 0; male user refers to Gender = 'Male'; 'Australia' is the Country", "seen by the most number of unique users refers to Max(Reach)", "\"Rawang\" is the City; \"Selangor\" is the State; \"Malaysia\" is the Country", "\"French\" is the language and refers to Lang = 'fr'; male user refers to Gender = 'Male'", "positive sentiment refers to Sentiment > 0; male user refers to Gender = 'Male'; percentage = Divide (Count(TweetID where Gender = 'Male'), Count (TweetID)) * 100", "tweet got 535 retweets refers to RetweetCount = 535", "\"Argentina\" is the Country; post the most tweets refers to Max(Count(TweetID))", "positive sentiment refers to Sentiment > 0; posted on Thursday refers to Weekday = 'Thursday'", "positive sentiment tweet refers to Sentiment > 0; neutral sentiment refers to Sentiment = 0; male user refers to Gender = 'Male'; difference = Subtract (Count (TweetID where Sentiment > 0), Count (TweetID where Sentiment = 0))", "tweet with the most likes refers to Max(Likes)" ] }
{ "query": "Please list the texts of all the tweets in French posted by male users.", "pos": [ "\"French\" is the language and refers to Lang = 'fr'; male user refers to Gender = 'Male'" ], "neg": [ "\"Australia\" is the Country", "\"Canada\" is the Country; city with most number of tweets refers to City where Max(Count(TweetID))", "female users refers to Gender = 'Female'; reshare refers to IsReshare = 'TRUE'", "tw-685681052912873473' is the TweetID", "\"Michigan\" is the State; 'Thursday' is the Weekday; number of tweets refers to Count(TweetID)", "tweet with most number of retweet post refers to Max(RetweetCount)", "\"en\" is the language and refers to Lang = 'en'; most tweet in 'en' refers to Max(Count(text where Lang = 'en'))", "seen by the most number of unique users refers to Max(Reach)", "male user refers to Gender = 'Male'; 'Argentina' is the Country; most number of likes refers to Max(Likes)", "\"California\" is the State; positive tweet refers to Sentiment > 0; percentage = Divide (Count(TweetID where Sentiment > 0), Count (TweetID)) * 100" ] }
{ "query": "Please list all the cities from where tweets with neutral sentiments were posted.", "pos": [ "neutral sentiment refers to Sentiment = 0" ], "neg": [ "\"Buenos Aires\" is the City; male user refers to Gender = 'Male'", "\"Michigan\" is the State; 'Thursday' is the Weekday; number of tweets refers to Count(TweetID)", "male user refers to Gender = 'Male'; 'Argentina' is the Country; most number of likes refers to Max(Likes)", "male user refers to Gender = 'Male'; 'Monday' is the Weekday; average number of likes = Divide (Sum(Likes), Count(TweetID))", "\"French\" is the language and refers to Lang = 'fr'; 'Australia' is the Country", "unknown gender user refers to Gender = 'Unknown'", "tweet with positive sentiment refers to Sentiment > 0; male user refers to Gender = 'Male'; 'Australia' is the Country", "\"Argentina\" and \"Australia\" are both Country; positive tweets refers to Sentiment > 0; Country posted more number of tweets refers to Country where Max(Count(TweetID))", "\"Australia\" is the Country", "\"Canada\" is the Country; city with most number of tweets refers to City where Max(Count(TweetID))" ] }
{ "query": "Which state was the tweet `tw-685681052912873473` from? Give the state code.", "pos": [ "tw-685681052912873473' is the TweetID" ], "neg": [ "tweet got 535 retweets refers to RetweetCount = 535", "country with the most positive sentiment tweet refers to Country where Max(Count(Sentiment > 0))", "female users refers to Gender = 'Female'; reshare refers to IsReshare = 'TRUE'", "\"Rawang\" is the City; \"Selangor\" is the State; \"Malaysia\" is the Country", "male user refers to Gender = 'Male'; 'Argentina' is the Country; most number of likes refers to Max(Likes)", "reshared tweet refers to IsReshare = 'TRUE'; 'Texas' is the State", "tweet with most number of retweet post refers to Max(RetweetCount)", "\"French\" is the language and refers to Lang = 'fr'; male user refers to Gender = 'Male'", "\"Michigan\" is the State; 'Thursday' is the Weekday; number of tweets refers to Count(TweetID)", "\"en\" is the language and refers to Lang = 'en'" ] }
{ "query": "What is the gender of the user whose tweet got 535 retweets?", "pos": [ "tweet got 535 retweets refers to RetweetCount = 535" ], "neg": [ "\"Rawang\" is the City; \"Selangor\" is the State; \"Malaysia\" is the Country", "\"French\" is the language and refers to Lang = 'fr'; male user refers to Gender = 'Male'", "\"Australia\" is the Country", "\"Brazil\" is the Country; language refers to Lang", "tw-685681052912873473' is the TweetID", "english is the language and refers to Lang = 'en'", "\"Argentina\" is the Country; average number of tweets in a city = Divide (Count(TweetID where Country = 'Argentina'), Count (City))", "\"French\" is the language and refers to Lang = 'fr'; 'Australia' is the Country", "tweet with most number of retweet post refers to Max(RetweetCount)", "positive sentiment refers to Sentiment > 0; posted on Thursday refers to Weekday = 'Thursday'" ] }
{ "query": "How many tweets are seen by more than 1000 unique users?", "pos": [ "seen by more than 1000 unique users refers to Reach > 1000" ], "neg": [ "male user refers to Gender = 'Male'; 'Monday' is the Weekday; average number of likes = Divide (Sum(Likes), Count(TweetID))", "\"Bangkok\" and \"Chiang Mai\" are both City; average number of like = Divide (Sum(Likes), Count(TweetID))", "tw-685681052912873473' is the TweetID", "over 1000 likes refers to Likes > 1000; 'Male' is the Gender of user", "\"Rawang\" is the City; \"Selangor\" is the State; \"Malaysia\" is the Country", "\"Thursday\" is the Weekday", "\"Argentina\" and \"Australia\" are both Country; positive tweets refers to Sentiment > 0; Country posted more number of tweets refers to Country where Max(Count(TweetID))", "\"French\" is the language and refers to Lang = 'fr'; male user refers to Gender = 'Male'", "reshared tweet refers to IsReshare = 'TRUE'; 'Texas' is the State", "got the most like refers to Max(Likes)" ] }
{ "query": "Users in which country has posted more numbers of positive tweets, Argentina or Australia?", "pos": [ "\"Argentina\" and \"Australia\" are both Country; positive tweets refers to Sentiment > 0; Country posted more number of tweets refers to Country where Max(Count(TweetID))" ], "neg": [ "male user refers to Gender = 'Male'; average tweet in a week per user refers to Divide ( Divide(Count(TweetID), Count (UserID)), Divide(31, 7))", "\"Argentina\" is the Country; average number of tweets in a city = Divide (Count(TweetID where Country = 'Argentina'), Count (City))", "\"Argentina\" is the Country; post the most tweets refers to Max(Count(TweetID))", "\"Argentina\" is the Country", "reshared tweet refers to IsReshare = 'TRUE'; 'Texas' is the State", "\"en\" is the language and refers to Lang = 'en'", "\"Monday\" is the Weekday; reshare refers to IsReshare = 'TRUE'", "\"French\" is the language and refers to Lang = 'fr'; male user refers to Gender = 'Male'", "retweet more than 30 times refers to RetweetCount > 30", "\"tw-682712873332805633\" is the TweetID; day of the week refers to Weekday" ] }
{ "query": "What is the percentage of the tweets from California are positive?", "pos": [ "\"California\" is the State; positive tweet refers to Sentiment > 0; percentage = Divide (Count(TweetID where Sentiment > 0), Count (TweetID)) * 100" ], "neg": [ "\"French\" is the language and refers to Lang = 'fr'; male user refers to Gender = 'Male'", "\"Australia\" is the Country", "reshared refers to Isreshare = 'TRUE'; 'Buenos Aires' is the City", "got the most like refers to Max(Likes)", "reshared tweet refers to IsReshare = 'TRUE'; 'Texas' is the State", "tweet with most number of retweet post refers to Max(RetweetCount)", "retweet more than 30 times refers to RetweetCount > 30", "\"tw-715909161071091712\" is the TweetID", "seen by more than 1000 unique users refers to Reach > 1000", "tw-685681052912873473' is the TweetID" ] }
{ "query": "Users in which city of Argentina post the most tweets?", "pos": [ "\"Argentina\" is the Country; post the most tweets refers to Max(Count(TweetID))" ], "neg": [ "tweet with most number of retweet post refers to Max(RetweetCount)", "tweet with positive sentiment refers to Sentiment > 0; male user refers to Gender = 'Male'; 'Australia' is the Country", "\"Michigan\" is the State; 'Thursday' is the Weekday; number of tweets refers to Count(TweetID)", "\"Bangkok\" and \"Chiang Mai\" are both City; average number of like = Divide (Sum(Likes), Count(TweetID))", "female users refers to Gender = 'Female'; reshare refers to IsReshare = 'TRUE'", "\"tw-682714583044243456\" is the TweetID", "\"Canada\" is the Country; city with most number of tweets refers to City where Max(Count(TweetID))", "positive sentiment tweet refers to Sentiment > 0; neutral sentiment refers to Sentiment = 0; male user refers to Gender = 'Male'; difference = Subtract (Count (TweetID where Sentiment > 0), Count (TweetID where Sentiment = 0))", "male user refers to Gender = 'Male'; 'Monday' is the Weekday; average number of likes = Divide (Sum(Likes), Count(TweetID))", "\"en\" is the language and refers to Lang = 'en'; most tweet in 'en' refers to Max(Count(text where Lang = 'en'))" ] }
{ "query": "Count the total number of tweet IDs in `en`.", "pos": [ "\"en\" is the language and refers to Lang = 'en'" ], "neg": [ "male user refers to Gender = 'Male'; average tweet in a week per user refers to Divide ( Divide(Count(TweetID), Count (UserID)), Divide(31, 7))", "\"Bangkok\" and \"Chiang Mai\" are both City; average number of like = Divide (Sum(Likes), Count(TweetID))", "\"Sante Fe\" is the State; \"Argentina\" is the Country; posted on 31st refers to Day = 31", "seen by more than 1000 unique users refers to Reach > 1000", "\"en\" is the language and refers to Lang = 'en'; most tweet in 'en' refers to Max(Count(text where Lang = 'en'))", "positive sentiment tweet refers to Sentiment > 0; neutral sentiment refers to Sentiment = 0; male user refers to Gender = 'Male'; difference = Subtract (Count (TweetID where Sentiment > 0), Count (TweetID where Sentiment = 0))", "male user refers to Gender = 'Male'; 'Argentina' is the Country; most number of likes refers to Max(Likes)", "\"Monday\" is the Weekday; reshare refers to IsReshare = 'TRUE'", "tweet got 535 retweets refers to RetweetCount = 535", "\"Canada\" is the Country; city with most number of tweets refers to City where Max(Count(TweetID))" ] }
{ "query": "List down the text of tweets posted by unknown gender users.", "pos": [ "unknown gender user refers to Gender = 'Unknown'" ], "neg": [ "neutral sentiment refers to Sentiment = 0", "\"Thursday\" is the Weekday", "retweet more than 30 times refers to RetweetCount > 30", "\"en\" is the language and refers to Lang = 'en'; most tweet in 'en' refers to Max(Count(text where Lang = 'en'))", "\"Argentina\" and \"Australia\" are both Country; positive tweets refers to Sentiment > 0; Country posted more number of tweets refers to Country where Max(Count(TweetID))", "tweet with the most likes refers to Max(Likes)", "tweet with positive sentiment refers to Sentiment > 0; male user refers to Gender = 'Male'; 'Australia' is the Country", "positive sentiment refers to Sentiment > 0; male user refers to Gender = 'Male'; percentage = Divide (Count(TweetID where Gender = 'Male'), Count (TweetID)) * 100", "\"Happy New Year to all those AWS instances of ours!\" is the text; seen unique users refers to Reach", "tw-685681052912873473' is the TweetID" ] }
{ "query": "How many reshared tweets are there in Texas?", "pos": [ "reshared tweet refers to IsReshare = 'TRUE'; 'Texas' is the State" ], "neg": [ "seen by the most number of unique users refers to Max(Reach)", "\"en\" is the language and refers to Lang = 'en'; most tweet in 'en' refers to Max(Count(text where Lang = 'en'))", "seen by more than 1000 unique users refers to Reach > 1000", "tweet with the most likes refers to Max(Likes)", "tw-685681052912873473' is the TweetID", "\"Thursday\" is the Weekday", "over 1000 likes refers to Likes > 1000; 'Male' is the Gender of user", "neutral sentiment refers to Sentiment = 0", "female users refers to Gender = 'Female'; reshare refers to IsReshare = 'TRUE'", "male user refers to Gender = 'Male'; 'Argentina' is the Country; most number of likes refers to Max(Likes)" ] }
{ "query": "What is the gender of the user who has posted the tweet that is seen by the most number of unique users?", "pos": [ "seen by the most number of unique users refers to Max(Reach)" ], "neg": [ "reshared refers to Isreshare = 'TRUE'; 'Buenos Aires' is the City", "tw-685681052912873473' is the TweetID", "male user refers to Gender = 'Male'; 'Monday' is the Weekday; average number of likes = Divide (Sum(Likes), Count(TweetID))", "\"Michigan\" is the State; 'Thursday' is the Weekday; number of tweets refers to Count(TweetID)", "retweet more than 30 times refers to RetweetCount > 30", "\"Brazil\" is the Country; language refers to Lang", "\"Argentina\" and \"Australia\" are both Country; positive tweets refers to Sentiment > 0; Country posted more number of tweets refers to Country where Max(Count(TweetID))", "\"Thursday\" is the Weekday", "over 1000 likes refers to Likes > 1000; 'Male' is the Gender of user", "seen by more than 1000 unique users refers to Reach > 1000" ] }
{ "query": "What is the text of the tweet that got the most `likes`?", "pos": [ "got the most like refers to Max(Likes)" ], "neg": [ "\"Bangkok\" and \"Chiang Mai\" are both City; average number of like = Divide (Sum(Likes), Count(TweetID))", "neutral sentiment refers to Sentiment = 0", "\"Thursday\" is the Weekday", "\"Argentina\" is the Country", "unknown gender user refers to Gender = 'Unknown'", "male user refers to Gender = 'Male'; average tweet in a week per user refers to Divide ( Divide(Count(TweetID), Count (UserID)), Divide(31, 7))", "\"en\" is the language and refers to Lang = 'en'; most tweet in 'en' refers to Max(Count(text where Lang = 'en'))", "\"Rawang\" is the City; \"Selangor\" is the State; \"Malaysia\" is the Country", "\"Argentina\" is the Country; post the most tweets refers to Max(Count(TweetID))", "tweet with most number of retweet post refers to Max(RetweetCount)" ] }
{ "query": "Please list the top 3 cities with the most number of tweets posted in Canada.", "pos": [ "\"Canada\" is the Country; city with most number of tweets refers to City where Max(Count(TweetID))" ], "neg": [ "\"California\" is the State; positive tweet refers to Sentiment > 0; percentage = Divide (Count(TweetID where Sentiment > 0), Count (TweetID)) * 100", "reshared tweet refers to IsReshare = 'TRUE'; 'Texas' is the State", "\"Happy New Year to all those AWS instances of ours!\" is the text; seen unique users refers to Reach", "unknown gender user refers to Gender = 'Unknown'", "positive sentiment refers to Sentiment > 0; male user refers to Gender = 'Male'; percentage = Divide (Count(TweetID where Gender = 'Male'), Count (TweetID)) * 100", "tweet with positive sentiment refers to Sentiment > 0; male user refers to Gender = 'Male'; 'Australia' is the Country", "got the most like refers to Max(Likes)", "\"Thursday\" is the Weekday", "\"tw-715909161071091712\" is the TweetID", "\"French\" is the language and refers to Lang = 'fr'; male user refers to Gender = 'Male'" ] }
{ "query": "What gender of users posted the most tweets in `en`?", "pos": [ "\"en\" is the language and refers to Lang = 'en'; most tweet in 'en' refers to Max(Count(text where Lang = 'en'))" ], "neg": [ "\"Michigan\" is the State; 'Thursday' is the Weekday; number of tweets refers to Count(TweetID)", "country with the most positive sentiment tweet refers to Country where Max(Count(Sentiment > 0))", "positive sentiment tweet refers to Sentiment > 0; neutral sentiment refers to Sentiment = 0; male user refers to Gender = 'Male'; difference = Subtract (Count (TweetID where Sentiment > 0), Count (TweetID where Sentiment = 0))", "positive sentiment refers to Sentiment > 0; male user refers to Gender = 'Male'; percentage = Divide (Count(TweetID where Gender = 'Male'), Count (TweetID)) * 100", "seen by more than 1000 unique users refers to Reach > 1000", "female users refers to Gender = 'Female'; reshare refers to IsReshare = 'TRUE'", "\"Bangkok\" and \"Chiang Mai\" are both City; average number of like = Divide (Sum(Likes), Count(TweetID))", "reshared tweet refers to IsReshare = 'TRUE'; 'Texas' is the State", "\"tw-682712873332805633\" is the TweetID; day of the week refers to Weekday", "male user refers to Gender = 'Male'; 'Argentina' is the Country; most number of likes refers to Max(Likes)" ] }
{ "query": "Calculate the average number of male users who posted tweets in a week.", "pos": [ "male user refers to Gender = 'Male'; average tweet in a week per user refers to Divide ( Divide(Count(TweetID), Count (UserID)), Divide(31, 7))" ], "neg": [ "seen by more than 1000 unique users refers to Reach > 1000", "\"Argentina\" is the Country; average number of tweets in a city = Divide (Count(TweetID where Country = 'Argentina'), Count (City))", "positive sentiment refers to Sentiment > 0; male user refers to Gender = 'Male'; percentage = Divide (Count(TweetID where Gender = 'Male'), Count (TweetID)) * 100", "reshared refers to Isreshare = 'TRUE'; 'Buenos Aires' is the City", "got the most like refers to Max(Likes)", "\"Rawang\" is the City; \"Selangor\" is the State; \"Malaysia\" is the Country", "\"Argentina\" is the Country", "country with the most positive sentiment tweet refers to Country where Max(Count(Sentiment > 0))", "\"tw-682712873332805633\" is the TweetID; day of the week refers to Weekday", "\"Monday\" is the Weekday; reshare refers to IsReshare = 'TRUE'" ] }
{ "query": "How many tweets are in English?", "pos": [ "english is the language and refers to Lang = 'en'" ], "neg": [ "seen by the most number of unique users refers to Max(Reach)", "positive sentiment tweet refers to Sentiment > 0; neutral sentiment refers to Sentiment = 0; male user refers to Gender = 'Male'; difference = Subtract (Count (TweetID where Sentiment > 0), Count (TweetID where Sentiment = 0))", "\"tw-682712873332805633\" is the TweetID; day of the week refers to Weekday", "\"en\" is the language and refers to Lang = 'en'", "neutral sentiment refers to Sentiment = 0", "positive sentiment refers to Sentiment > 0; male user refers to Gender = 'Male'; percentage = Divide (Count(TweetID where Gender = 'Male'), Count (TweetID)) * 100", "\"Bangkok\" and \"Chiang Mai\" are both City; average number of like = Divide (Sum(Likes), Count(TweetID))", "\"Rawang\" is the City; \"Selangor\" is the State; \"Malaysia\" is the Country", "seen by more than 1000 unique users refers to Reach > 1000", "\"Monday\" is the Weekday; reshare refers to IsReshare = 'TRUE'" ] }
{ "query": "What gender of users retweet more than 30 times?", "pos": [ "retweet more than 30 times refers to RetweetCount > 30" ], "neg": [ "seen by the most number of unique users refers to Max(Reach)", "positive sentiment refers to Sentiment > 0; male user refers to Gender = 'Male'; percentage = Divide (Count(TweetID where Gender = 'Male'), Count (TweetID)) * 100", "female users refers to Gender = 'Female'; reshare refers to IsReshare = 'TRUE'", "\"Bangkok\" and \"Chiang Mai\" are both City; average number of like = Divide (Sum(Likes), Count(TweetID))", "tweet with most number of retweet post refers to Max(RetweetCount)", "country with the most positive sentiment tweet refers to Country where Max(Count(Sentiment > 0))", "\"Argentina\" is the Country; post the most tweets refers to Max(Count(TweetID))", "\"Argentina\" is the Country; average number of tweets in a city = Divide (Count(TweetID where Country = 'Argentina'), Count (City))", "\"tw-682712873332805633\" is the TweetID; day of the week refers to Weekday", "got the most like refers to Max(Likes)" ] }
{ "query": "List down all the tweet text posted from Australia.", "pos": [ "\"Australia\" is the Country" ], "neg": [ "\"tw-682712873332805633\" is the TweetID; day of the week refers to Weekday", "got the most like refers to Max(Likes)", "positive sentiment refers to Sentiment > 0; posted on Thursday refers to Weekday = 'Thursday'", "\"Monday\" is the Weekday; reshare refers to IsReshare = 'TRUE'", "country with the most positive sentiment tweet refers to Country where Max(Count(Sentiment > 0))", "\"California\" is the State; positive tweet refers to Sentiment > 0; percentage = Divide (Count(TweetID where Sentiment > 0), Count (TweetID)) * 100", "tweet with most number of retweet post refers to Max(RetweetCount)", "\"Buenos Aires\" is the City; male user refers to Gender = 'Male'", "tweet with positive sentiment refers to Sentiment > 0; male user refers to Gender = 'Male'; 'Australia' is the Country", "male user refers to Gender = 'Male'; 'Argentina' is the Country; most number of likes refers to Max(Likes)" ] }
{ "query": "Tweets posted from which city has a higher number of average likes, Bangkok or Chiang Mai?", "pos": [ "\"Bangkok\" and \"Chiang Mai\" are both City; average number of like = Divide (Sum(Likes), Count(TweetID))" ], "neg": [ "\"en\" is the language and refers to Lang = 'en'", "neutral sentiment refers to Sentiment = 0", "unknown gender user refers to Gender = 'Unknown'", "\"tw-682714583044243456\" is the TweetID", "\"Happy New Year to all those AWS instances of ours!\" is the text; seen unique users refers to Reach", "male user refers to Gender = 'Male'; average tweet in a week per user refers to Divide ( Divide(Count(TweetID), Count (UserID)), Divide(31, 7))", "retweet more than 30 times refers to RetweetCount > 30", "\"Argentina\" is the Country; average number of tweets in a city = Divide (Count(TweetID where Country = 'Argentina'), Count (City))", "tweet got 535 retweets refers to RetweetCount = 535", "got the most like refers to Max(Likes)" ] }
{ "query": "State the country where the most positive sentiment tweets were posted.", "pos": [ "country with the most positive sentiment tweet refers to Country where Max(Count(Sentiment > 0))" ], "neg": [ "\"Rawang\" is the City; \"Selangor\" is the State; \"Malaysia\" is the Country", "tweet got 535 retweets refers to RetweetCount = 535", "reshared tweet refers to IsReshare = 'TRUE'; 'Texas' is the State", "tweet with most number of retweet post refers to Max(RetweetCount)", "positive sentiment refers to Sentiment > 0; posted on Thursday refers to Weekday = 'Thursday'", "\"Bangkok\" and \"Chiang Mai\" are both City; average number of like = Divide (Sum(Likes), Count(TweetID))", "retweet more than 30 times refers to RetweetCount > 30", "\"Australia\" is the Country", "\"Thursday\" is the Weekday", "\"French\" is the language and refers to Lang = 'fr'; 'Australia' is the Country" ] }
{ "query": "What is the average number of likes for a tweet posted by a male user on Mondays?", "pos": [ "male user refers to Gender = 'Male'; 'Monday' is the Weekday; average number of likes = Divide (Sum(Likes), Count(TweetID))" ], "neg": [ "\"en\" is the language and refers to Lang = 'en'", "got the most like refers to Max(Likes)", "positive sentiment refers to Sentiment > 0; male user refers to Gender = 'Male'; percentage = Divide (Count(TweetID where Gender = 'Male'), Count (TweetID)) * 100", "\"Buenos Aires\" is the City; male user refers to Gender = 'Male'", "tweet with most number of retweet post refers to Max(RetweetCount)", "unknown gender user refers to Gender = 'Unknown'", "positive sentiment tweet refers to Sentiment > 0; neutral sentiment refers to Sentiment = 0; male user refers to Gender = 'Male'; difference = Subtract (Count (TweetID where Sentiment > 0), Count (TweetID where Sentiment = 0))", "\"Bangkok\" and \"Chiang Mai\" are both City; average number of like = Divide (Sum(Likes), Count(TweetID))", "seen by the most number of unique users refers to Max(Reach)", "\"tw-682714583044243456\" is the TweetID" ] }
{ "query": "How many unique users have seen tweet with text `Happy New Year to all those AWS instances of ours!`?", "pos": [ "\"Happy New Year to all those AWS instances of ours!\" is the text; seen unique users refers to Reach" ], "neg": [ "tw-685681052912873473' is the TweetID", "\"Michigan\" is the State; 'Thursday' is the Weekday; number of tweets refers to Count(TweetID)", "seen by more than 1000 unique users refers to Reach > 1000", "retweet more than 30 times refers to RetweetCount > 30", "\"French\" is the language and refers to Lang = 'fr'; 'Australia' is the Country", "male user refers to Gender = 'Male'; average tweet in a week per user refers to Divide ( Divide(Count(TweetID), Count (UserID)), Divide(31, 7))", "unknown gender user refers to Gender = 'Unknown'", "\"Argentina\" is the Country; average number of tweets in a city = Divide (Count(TweetID where Country = 'Argentina'), Count (City))", "\"Canada\" is the Country; city with most number of tweets refers to City where Max(Count(TweetID))", "male user refers to Gender = 'Male'; 'Monday' is the Weekday; average number of likes = Divide (Sum(Likes), Count(TweetID))" ] }
{ "query": "Among all the tweets with a positive sentiment, what is the percentage of those posted by a male user?", "pos": [ "positive sentiment refers to Sentiment > 0; male user refers to Gender = 'Male'; percentage = Divide (Count(TweetID where Gender = 'Male'), Count (TweetID)) * 100" ], "neg": [ "tweet with the most likes refers to Max(Likes)", "neutral sentiment refers to Sentiment = 0", "\"en\" is the language and refers to Lang = 'en'", "\"Rawang\" is the City; \"Selangor\" is the State; \"Malaysia\" is the Country", "english is the language and refers to Lang = 'en'", "\"Australia\" is the Country", "seen by more than 1000 unique users refers to Reach > 1000", "got the most like refers to Max(Likes)", "reshared tweet refers to IsReshare = 'TRUE'; 'Texas' is the State", "\"Argentina\" is the Country" ] }
{ "query": "Tweets that were posted from Brazil are in what languague?", "pos": [ "\"Brazil\" is the Country; language refers to Lang" ], "neg": [ "tweet with most number of retweet post refers to Max(RetweetCount)", "\"Rawang\" is the City; \"Selangor\" is the State; \"Malaysia\" is the Country", "\"Buenos Aires\" is the City; male user refers to Gender = 'Male'", "\"en\" is the language and refers to Lang = 'en'", "\"Argentina\" is the Country; average number of tweets in a city = Divide (Count(TweetID where Country = 'Argentina'), Count (City))", "seen by the most number of unique users refers to Max(Reach)", "\"tw-682712873332805633\" is the TweetID; day of the week refers to Weekday", "tweet with the most likes refers to Max(Likes)", "\"tw-682714583044243456\" is the TweetID", "got the most like refers to Max(Likes)" ] }
{ "query": "Please list all the cities in Argentina.", "pos": [ "\"Argentina\" is the Country" ], "neg": [ "\"French\" is the language and refers to Lang = 'fr'; male user refers to Gender = 'Male'", "english is the language and refers to Lang = 'en'", "female users refers to Gender = 'Female'; reshare refers to IsReshare = 'TRUE'", "\"en\" is the language and refers to Lang = 'en'", "\"Argentina\" is the Country; average number of tweets in a city = Divide (Count(TweetID where Country = 'Argentina'), Count (City))", "positive sentiment refers to Sentiment > 0; posted on Thursday refers to Weekday = 'Thursday'", "positive sentiment tweet refers to Sentiment > 0; neutral sentiment refers to Sentiment = 0; male user refers to Gender = 'Male'; difference = Subtract (Count (TweetID where Sentiment > 0), Count (TweetID where Sentiment = 0))", "male user refers to Gender = 'Male'; 'Argentina' is the Country; most number of likes refers to Max(Likes)", "\"Monday\" is the Weekday; reshare refers to IsReshare = 'TRUE'", "neutral sentiment refers to Sentiment = 0" ] }
{ "query": "What is the gender of the user who posted a tweet with ID tw-682714583044243456?", "pos": [ "\"tw-682714583044243456\" is the TweetID" ], "neg": [ "unknown gender user refers to Gender = 'Unknown'", "seen by the most number of unique users refers to Max(Reach)", "\"Argentina\" is the Country", "\"Rawang\" is the City; \"Selangor\" is the State; \"Malaysia\" is the Country", "neutral sentiment refers to Sentiment = 0", "tweet with positive sentiment refers to Sentiment > 0; male user refers to Gender = 'Male'; 'Australia' is the Country", "male user refers to Gender = 'Male'; average tweet in a week per user refers to Divide ( Divide(Count(TweetID), Count (UserID)), Divide(31, 7))", "\"California\" is the State; positive tweet refers to Sentiment > 0; percentage = Divide (Count(TweetID where Sentiment > 0), Count (TweetID)) * 100", "male user refers to Gender = 'Male'; 'Monday' is the Weekday; average number of likes = Divide (Sum(Likes), Count(TweetID))", "male user refers to Gender = 'Male'; 'Argentina' is the Country; most number of likes refers to Max(Likes)" ] }
{ "query": "From which country is the tweet with the most likes posted?", "pos": [ "tweet with the most likes refers to Max(Likes)" ], "neg": [ "positive sentiment tweet refers to Sentiment > 0; neutral sentiment refers to Sentiment = 0; male user refers to Gender = 'Male'; difference = Subtract (Count (TweetID where Sentiment > 0), Count (TweetID where Sentiment = 0))", "tw-685681052912873473' is the TweetID", "country with the most positive sentiment tweet refers to Country where Max(Count(Sentiment > 0))", "\"California\" is the State; positive tweet refers to Sentiment > 0; percentage = Divide (Count(TweetID where Sentiment > 0), Count (TweetID)) * 100", "tweet with most number of retweet post refers to Max(RetweetCount)", "got the most like refers to Max(Likes)", "\"Argentina\" is the Country", "\"Brazil\" is the Country; language refers to Lang", "\"Argentina\" is the Country; average number of tweets in a city = Divide (Count(TweetID where Country = 'Argentina'), Count (City))", "seen by more than 1000 unique users refers to Reach > 1000" ] }
{ "query": "What is the gender of the user who tweeted `tw-715909161071091712`?", "pos": [ "\"tw-715909161071091712\" is the TweetID" ], "neg": [ "\"Thursday\" is the Weekday", "\"Australia\" is the Country", "english is the language and refers to Lang = 'en'", "positive sentiment refers to Sentiment > 0; male user refers to Gender = 'Male'; percentage = Divide (Count(TweetID where Gender = 'Male'), Count (TweetID)) * 100", "male user refers to Gender = 'Male'; 'Argentina' is the Country; most number of likes refers to Max(Likes)", "\"tw-682714583044243456\" is the TweetID", "\"Argentina\" is the Country; average number of tweets in a city = Divide (Count(TweetID where Country = 'Argentina'), Count (City))", "male user refers to Gender = 'Male'; average tweet in a week per user refers to Divide ( Divide(Count(TweetID), Count (UserID)), Divide(31, 7))", "\"California\" is the State; positive tweet refers to Sentiment > 0; percentage = Divide (Count(TweetID where Sentiment > 0), Count (TweetID)) * 100", "\"Argentina\" and \"Australia\" are both Country; positive tweets refers to Sentiment > 0; Country posted more number of tweets refers to Country where Max(Count(TweetID))" ] }
{ "query": "From which city was the tweet with the most number of retweets posted?", "pos": [ "tweet with most number of retweet post refers to Max(RetweetCount)" ], "neg": [ "\"Michigan\" is the State; 'Thursday' is the Weekday; number of tweets refers to Count(TweetID)", "got the most like refers to Max(Likes)", "\"Canada\" is the Country; city with most number of tweets refers to City where Max(Count(TweetID))", "\"Argentina\" and \"Australia\" are both Country; positive tweets refers to Sentiment > 0; Country posted more number of tweets refers to Country where Max(Count(TweetID))", "positive sentiment refers to Sentiment > 0; posted on Thursday refers to Weekday = 'Thursday'", "retweet more than 30 times refers to RetweetCount > 30", "\"Thursday\" is the Weekday", "\"French\" is the language and refers to Lang = 'fr'; male user refers to Gender = 'Male'", "\"Sante Fe\" is the State; \"Argentina\" is the Country; posted on 31st refers to Day = 31", "tweet with positive sentiment refers to Sentiment > 0; male user refers to Gender = 'Male'; 'Australia' is the Country" ] }
{ "query": "How many female users reshared their tweets?", "pos": [ "female users refers to Gender = 'Female'; reshare refers to IsReshare = 'TRUE'" ], "neg": [ "\"Happy New Year to all those AWS instances of ours!\" is the text; seen unique users refers to Reach", "tw-685681052912873473' is the TweetID", "reshared tweet refers to IsReshare = 'TRUE'; 'Texas' is the State", "\"en\" is the language and refers to Lang = 'en'; most tweet in 'en' refers to Max(Count(text where Lang = 'en'))", "male user refers to Gender = 'Male'; 'Argentina' is the Country; most number of likes refers to Max(Likes)", "\"French\" is the language and refers to Lang = 'fr'; male user refers to Gender = 'Male'", "\"California\" is the State; positive tweet refers to Sentiment > 0; percentage = Divide (Count(TweetID where Sentiment > 0), Count (TweetID)) * 100", "country with the most positive sentiment tweet refers to Country where Max(Count(Sentiment > 0))", "retweet more than 30 times refers to RetweetCount > 30", "tweet with positive sentiment refers to Sentiment > 0; male user refers to Gender = 'Male'; 'Australia' is the Country" ] }
{ "query": "Among all the tweets that are reshared, how many of them are posted by a user in Buenos Aires?", "pos": [ "reshared refers to Isreshare = 'TRUE'; 'Buenos Aires' is the City" ], "neg": [ "got the most like refers to Max(Likes)", "positive sentiment tweet refers to Sentiment > 0; neutral sentiment refers to Sentiment = 0; male user refers to Gender = 'Male'; difference = Subtract (Count (TweetID where Sentiment > 0), Count (TweetID where Sentiment = 0))", "positive sentiment refers to Sentiment > 0; male user refers to Gender = 'Male'; percentage = Divide (Count(TweetID where Gender = 'Male'), Count (TweetID)) * 100", "\"Buenos Aires\" is the City; male user refers to Gender = 'Male'", "unknown gender user refers to Gender = 'Unknown'", "\"Canada\" is the Country; city with most number of tweets refers to City where Max(Count(TweetID))", "tweet got 535 retweets refers to RetweetCount = 535", "\"French\" is the language and refers to Lang = 'fr'; 'Australia' is the Country", "\"Argentina\" is the Country; post the most tweets refers to Max(Count(TweetID))", "tw-685681052912873473' is the TweetID" ] }
{ "query": "What is the day of the week that tweet with ID tw-682712873332805633 was posted?", "pos": [ "\"tw-682712873332805633\" is the TweetID; day of the week refers to Weekday" ], "neg": [ "positive sentiment refers to Sentiment > 0; posted on Thursday refers to Weekday = 'Thursday'", "\"tw-715909161071091712\" is the TweetID", "\"Rawang\" is the City; \"Selangor\" is the State; \"Malaysia\" is the Country", "\"French\" is the language and refers to Lang = 'fr'; male user refers to Gender = 'Male'", "unknown gender user refers to Gender = 'Unknown'", "\"Canada\" is the Country; city with most number of tweets refers to City where Max(Count(TweetID))", "\"Argentina\" is the Country", "\"Happy New Year to all those AWS instances of ours!\" is the text; seen unique users refers to Reach", "male user refers to Gender = 'Male'; average tweet in a week per user refers to Divide ( Divide(Count(TweetID), Count (UserID)), Divide(31, 7))", "tweet got 535 retweets refers to RetweetCount = 535" ] }
{ "query": "Write down the tweet text posted from Rawang, Selangor, Malaysia.", "pos": [ "\"Rawang\" is the City; \"Selangor\" is the State; \"Malaysia\" is the Country" ], "neg": [ "\"Michigan\" is the State; 'Thursday' is the Weekday; number of tweets refers to Count(TweetID)", "\"Bangkok\" and \"Chiang Mai\" are both City; average number of like = Divide (Sum(Likes), Count(TweetID))", "\"Argentina\" is the Country; post the most tweets refers to Max(Count(TweetID))", "\"Argentina\" is the Country; average number of tweets in a city = Divide (Count(TweetID where Country = 'Argentina'), Count (City))", "positive sentiment refers to Sentiment > 0; posted on Thursday refers to Weekday = 'Thursday'", "tw-685681052912873473' is the TweetID", "\"Canada\" is the Country; city with most number of tweets refers to City where Max(Count(TweetID))", "\"Australia\" is the Country", "reshared refers to Isreshare = 'TRUE'; 'Buenos Aires' is the City", "english is the language and refers to Lang = 'en'" ] }
{ "query": "How many more tweets with a positive sentiment than the tweets with a neutral sentiment were posted by male users?", "pos": [ "positive sentiment tweet refers to Sentiment > 0; neutral sentiment refers to Sentiment = 0; male user refers to Gender = 'Male'; difference = Subtract (Count (TweetID where Sentiment > 0), Count (TweetID where Sentiment = 0))" ], "neg": [ "seen by more than 1000 unique users refers to Reach > 1000", "\"Happy New Year to all those AWS instances of ours!\" is the text; seen unique users refers to Reach", "male user refers to Gender = 'Male'; 'Monday' is the Weekday; average number of likes = Divide (Sum(Likes), Count(TweetID))", "\"Argentina\" and \"Australia\" are both Country; positive tweets refers to Sentiment > 0; Country posted more number of tweets refers to Country where Max(Count(TweetID))", "\"Argentina\" is the Country", "\"French\" is the language and refers to Lang = 'fr'; male user refers to Gender = 'Male'", "retweet more than 30 times refers to RetweetCount > 30", "\"Brazil\" is the Country; language refers to Lang", "\"en\" is the language and refers to Lang = 'en'", "got the most like refers to Max(Likes)" ] }
{ "query": "Among all the tweets that have a positive sentiment, how many of them are posted on Thursday?", "pos": [ "positive sentiment refers to Sentiment > 0; posted on Thursday refers to Weekday = 'Thursday'" ], "neg": [ "retweet more than 30 times refers to RetweetCount > 30", "\"Argentina\" and \"Australia\" are both Country; positive tweets refers to Sentiment > 0; Country posted more number of tweets refers to Country where Max(Count(TweetID))", "\"Rawang\" is the City; \"Selangor\" is the State; \"Malaysia\" is the Country", "tweet with positive sentiment refers to Sentiment > 0; male user refers to Gender = 'Male'; 'Australia' is the Country", "\"en\" is the language and refers to Lang = 'en'", "neutral sentiment refers to Sentiment = 0", "\"Monday\" is the Weekday; reshare refers to IsReshare = 'TRUE'", "\"Argentina\" is the Country", "seen by more than 1000 unique users refers to Reach > 1000", "\"French\" is the language and refers to Lang = 'fr'; 'Australia' is the Country" ] }
{ "query": "Among all the tweets with a positive sentiment, how many of them were posted by male users in Australia?", "pos": [ "tweet with positive sentiment refers to Sentiment > 0; male user refers to Gender = 'Male'; 'Australia' is the Country" ], "neg": [ "\"Argentina\" is the Country; post the most tweets refers to Max(Count(TweetID))", "female users refers to Gender = 'Female'; reshare refers to IsReshare = 'TRUE'", "\"tw-682712873332805633\" is the TweetID; day of the week refers to Weekday", "\"Argentina\" is the Country", "positive sentiment refers to Sentiment > 0; posted on Thursday refers to Weekday = 'Thursday'", "reshared tweet refers to IsReshare = 'TRUE'; 'Texas' is the State", "tweet with the most likes refers to Max(Likes)", "got the most like refers to Max(Likes)", "\"Monday\" is the Weekday; reshare refers to IsReshare = 'TRUE'", "tw-685681052912873473' is the TweetID" ] }
{ "query": "Among the tweets posted from Santa Fe state in Argentina, how many of them were posted on 31st?", "pos": [ "\"Sante Fe\" is the State; \"Argentina\" is the Country; posted on 31st refers to Day = 31" ], "neg": [ "english is the language and refers to Lang = 'en'", "positive sentiment refers to Sentiment > 0; male user refers to Gender = 'Male'; percentage = Divide (Count(TweetID where Gender = 'Male'), Count (TweetID)) * 100", "male user refers to Gender = 'Male'; average tweet in a week per user refers to Divide ( Divide(Count(TweetID), Count (UserID)), Divide(31, 7))", "\"Happy New Year to all those AWS instances of ours!\" is the text; seen unique users refers to Reach", "\"Michigan\" is the State; 'Thursday' is the Weekday; number of tweets refers to Count(TweetID)", "got the most like refers to Max(Likes)", "male user refers to Gender = 'Male'; 'Argentina' is the Country; most number of likes refers to Max(Likes)", "over 1000 likes refers to Likes > 1000; 'Male' is the Gender of user", "\"Argentina\" and \"Australia\" are both Country; positive tweets refers to Sentiment > 0; Country posted more number of tweets refers to Country where Max(Count(TweetID))", "reshared tweet refers to IsReshare = 'TRUE'; 'Texas' is the State" ] }
{ "query": "Please list the texts of all the tweets posted by male users from Buenos Aires.", "pos": [ "\"Buenos Aires\" is the City; male user refers to Gender = 'Male'" ], "neg": [ "got the most like refers to Max(Likes)", "\"en\" is the language and refers to Lang = 'en'", "\"Argentina\" is the Country; post the most tweets refers to Max(Count(TweetID))", "english is the language and refers to Lang = 'en'", "\"Argentina\" is the Country; average number of tweets in a city = Divide (Count(TweetID where Country = 'Argentina'), Count (City))", "\"Rawang\" is the City; \"Selangor\" is the State; \"Malaysia\" is the Country", "tweet with most number of retweet post refers to Max(RetweetCount)", "reshared tweet refers to IsReshare = 'TRUE'; 'Texas' is the State", "\"Michigan\" is the State; 'Thursday' is the Weekday; number of tweets refers to Count(TweetID)", "\"Monday\" is the Weekday; reshare refers to IsReshare = 'TRUE'" ] }