set
dict
{ "query": "How many 20 years old athletes were there in the 1984 Summer Olympic Games?", "pos": [ "20 years old athletes refer to person_id where age = 20; 1984 Summer Olympic Games refer to games_name = '1984 Summer';" ], "neg": [ "region refers to region_name; the majority of the athletes from refer to MAX(COUNT(region_name));", "people who are below 30 refer to person_id where age < 30; the summer season refers to season = 'Summer';", "DIVIDE(COUNT(age = 28), COUNT(id)) as percentage where games_name = '2014 Winter';", "DIVIDE(COUNT(season = 'Winter' and age > 24), COUNT(person_id)) as percentage;", "hockey's sport refers to sport_name = 'hockey';", "name refers to full_name; the youngest refers to MIN(age);", "DIVIDE(COUNT(id where region_name = 'Finland'), COUNT(id)) as percentage where games_name = '1994 Winter';", "Rio de Janeiro refers to city_name = 'Rio de Janeiro';", "region refers to region_name; the highest medal number refers to MAX(COUNT(medal_id <> 4));", "Where competitor is from refers to region_name;" ] }
{ "query": "Which region has the highest medal number?", "pos": [ "region refers to region_name; the highest medal number refers to MAX(COUNT(medal_id <> 4));" ], "neg": [ "name of his/her region refers to region_name;", "At what age join the Olympics refers to MIN(age);", "name of city refers to city_name", "DIVIDE(COUNT(id where region_name = 'Finland'), COUNT(id)) as percentage where games_name = '1994 Winter';", "female competitors refer to person_id where gender = 'F'; from Iran refers to region_name = 'Iran';", "people who are below 30 refer to person_id where age < 30; the summer season refers to season = 'Summer';", "SUBTRACT(COUNT(weight > 70), COUNT(weight < 70)) where age < 24;", "males refer to gender = 'M'; Belgium refers to region_name = 'Belgium';", "swimming refers to sport_name = 'Swimming';", "AVG(weight) where region_name = 'Tonga' and gender = 'M';" ] }
{ "query": "Tell the number of swimming related events.", "pos": [ "swimming refers to sport_name = 'Swimming';" ], "neg": [ "the youngest competitor refers to full_name where MIN(age); in 2014 Winter refers to games_name = '2014 Winter';", "cities beginning with the letter M refer to city_name LIKE 'M%';", "years refer to games_year; only have summer games refer to games_year where COUNT(games_name) = 1 and season = 'Summer';", "fall into overweight BMI category refers to DIVIDE(weight), MULTIPLY(height, height) < 30; Canoeing refers to a sport name; the 2008 Summer games refer to games_name = '2008 Summer';", "the gold medal refers to medal_name = 'Gold';", "DIVIDE(COUNT(event_id where medal_name = 'Gold'), COUNT(event_id)) as percentage where full_name = 'Michael Fred Phelps, II';", "DIVIDE(COUNT(person_id where gender = 'F), COUNT(person_id)) as percentage where event_name = 'Equestrianism Mixed Three-Day Event, Individual';", "athletes from China refer to person_id where region_name = 'China'; the 2016 Summer Olympics refer to games_name = '2016 Summer';", "DIVIDE(COUNT(season = 'Winter' and age > 24), COUNT(person_id)) as percentage;", "Barcelona refers to city_name = 'Barcelona'; the most competitors refer to MAX(COUNT(games_name)); name of game refers to games_name;" ] }
{ "query": "Give the id of the event \"Shooting Mixed Skeet\".", "pos": [ "\"Shooting Mixed Skeet\" refers to event_name = 'Shooting Mixed Skeet';" ], "neg": [ "people who are below 30 refer to person_id where age < 30; the summer season refers to season = 'Summer';", "name refers to full_name; the oldest refers to MAX(age);", "London refers to city_name = 'London'; how many times refer to COUNT(games_id);", "name of the cities refers to city_name", "Belgian men refer to gender = 'M' where region_name = 'Belgium';", "the Sapporo Olympics refer to games_id where city_name = 'Sapporo';", "won the gold medal refers to medal_name = 'Gold'; event \"Rowing Women's Coxed Eights\" refers to event_name = 'Rowing Women''s Coxed Eights';", "24 years old competitors refer to id where age = 24; Men's Basketball refers to event_name = 'Basketball Men''s Basketball';", "male competitors refers to id where gender = 'M'; in 1948 Summer refers to games_name = '1948 Summer';", "In which year refers to games_year; London refers to city_name = 'London'; earliest Olympic game refers to MIN(games_year);" ] }
{ "query": "How many times was Larysa Semenivna Latynina (Diriy-) declared as champion in Gymnastics Women's Individual All-Around?", "pos": [ "Gymnastics Women's Individual All-Around refers to event_name = 'Gymnastics Women''s Individual All-Around'; declared as champion refers to medal_name = 'Gold' or medal_id = 1;" ], "neg": [ "name of the cities refers to city_name", "Where it was held refers to city_name; the first Olympic game refers to id where MIN(games_year);", "London refers to city_name = 'London'; how many times refer to COUNT(games_id);", "Who refers to full_name; participated in the most Olympic Games refers to MAX(COUNT(games_id));", "AVG(age) where games_name = '1988 Winter';", "the highest number of participants refers to MAX(COUNT(person_id)); the lowest number of participants refers to MIN(COUNT(person_id)); Which summer Olympic refers to games_name where season = 'Summer';", "males refer to gender = 'M'; Belgium refers to region_name = 'Belgium';", "region refers to region_name; the highest medal number refers to MAX(COUNT(medal_id <> 4));", "athletes refer to person_id; region 151 refers to region_id = 151; won a medal refers to medal_id <> 4;", "the gold medal refers to medal_name = 'Gold';" ] }
{ "query": "Calculate the percentage of bronze medals won by men's basketball players.", "pos": [ "DIVIDE(COUNT(competitor_id where medal_name = 'Bronze'), COUNT(competitor_id)) as percentage where event_name = 'Basketball Men''s Basketball';" ], "neg": [ "Where it was held refers to city_name; the first Olympic game refers to id where MIN(games_year);", "name of his/her region refers to region_name;", "SUBTRACT(COUNT(weight > 70), COUNT(weight < 70)) where age < 24;", "DIVIDE(COUNT(age = 28), COUNT(id)) as percentage where games_name = '2014 Winter';", "the tallest refers to MAX(height);", "London refers to city_name = 'London';", "DIVIDE(COUNT(id where region_name = 'Finland'), COUNT(id)) as percentage where games_name = '1994 Winter';", "From 1900 to 1992 refers to games_year BETWEEN 1900 AND 1992; London refers to city_name = 'London'; games refer to games_name;", "AVG(age) where games_name = '1988 Winter';", "age is the most numerous refers to age where MAX(COUNT(person_id));" ] }
{ "query": "State the name of the city that held game id 3.", "pos": [ "name of city refers to city_name" ], "neg": [ "name refers to full_name; the oldest refers to MAX(age);", "region refers to region_name; the highest medal number refers to MAX(COUNT(medal_id <> 4));", "DIVIDE(COUNT(season = 'Winter' and age > 24), COUNT(person_id)) as percentage;", "competitors refer to person_id; from Finland refers to region_name = 'Finland';", "from Guatemala refers to region_name = 'Guatemala';", "how old was he refers to age; 1994 Winter refers to games_name = '1994 Winter';", "the highest number of participants refers to MAX(COUNT(person_id)); the lowest number of participants refers to MIN(COUNT(person_id)); Which summer Olympic refers to games_name where season = 'Summer';", "Men's 200 Metres Freestyle events refer to event_name = 'Swimming Men''s 200 metres Freestyle'; events compete in refers to event_id;", "20 years old athletes refer to person_id where age = 20; 1984 Summer Olympic Games refer to games_name = '1984 Summer';", "male competitors refers to id where gender = 'M'; in 1948 Summer refers to games_name = '1948 Summer';" ] }
{ "query": "What is the percentage of the people who are under 35 and participated in the summer season?", "pos": [ "DIVIDE(COUNT(age < 35) / COUNT(person_id)) as percentage where season = 'Summer';" ], "neg": [ "name of medal refers to medal_name;", "region refers to region_name; the highest medal number refers to MAX(COUNT(medal_id <> 4));", "\"Cross Country Skiing Men's 10/15 kilometres Pursuit\" refers to event_name = 'Cross Country Skiing Men''s 10/15 kilometres Pursuit';", "Summer games refer to games_id where season = 'Summer'; Paris refers to city_name = 'Paris';", "in which city refers to city_name; the oldest refers to MAX(age);", "the tallest refers to MAX(height);", "Roma refers to city_name = 'Roma'; When host refers to games_year;", "males refer to gender = 'M'; Belgium refers to region_name = 'Belgium';", "the Sapporo Olympics refer to games_id where city_name = 'Sapporo';", "Belgian men refer to gender = 'M' where region_name = 'Belgium';" ] }
{ "query": "Please list the names of all the Olympic competitors from Finland.", "pos": [ "names of competitors refer to full_name; from Finland refers to region_name = 'Finland';" ], "neg": [ "DIVIDE(COUNT(age = 28), COUNT(id)) as percentage where games_name = '2014 Winter';", "competitors refer to person_id; from Finland refers to region_name = 'Finland';", "name refers to full_name; Greece refers to region_name = 'Greece';", "city refers to city_name; in 1992 refers to games_year = 1992;", "2012 Summer refers to games_name = '2012 Summer';", "DIVIDE(COUNT(age < 35) / COUNT(person_id)) as percentage where season = 'Summer';", "year refers to games_year;", "hockey's sport refers to sport_name = 'hockey';", "DIVIDE(SUM(age), COUNT(person_id)) where games_name = '1992 Summer';", "the youngest competitor refers to full_name where MIN(age); in 2014 Winter refers to games_name = '2014 Winter';" ] }
{ "query": "How many people have won the gold medal of the event \"Rowing Women's Coxed Eights\"?", "pos": [ "won the gold medal refers to medal_name = 'Gold'; event \"Rowing Women's Coxed Eights\" refers to event_name = 'Rowing Women''s Coxed Eights';" ], "neg": [ "the youngest competitor refers to full_name where MIN(age); in 2014 Winter refers to games_name = '2014 Winter';", "London refers to city_name = 'London';", "DIVIDE(SUM(age), COUNT(person_id)) where games_name = '1992 Summer';", "the heaviest athlete refers to full_name where MAX(weight); from Russia refers to region_name = 'Russia';", "hockey's sport refers to sport_name = 'hockey';", "In which year refers to games_year; London refers to city_name = 'London'; earliest Olympic game refers to MIN(games_year);", "people who are below 30 refer to person_id where age < 30; the summer season refers to season = 'Summer';", "the Sapporo Olympics refer to games_id where city_name = 'Sapporo';", "Who refers to full_name; the heaviest refers to MAX(weight);", "gold medals refer to medal_name = 'Gold';" ] }
{ "query": "List out the id of event that achieve the gold medal.", "pos": [ "the gold medal refers to medal_name = 'Gold';" ], "neg": [ "AVG(age) where games_name = '1988 Winter';", "competitor who weighted 73 kg and 180 cm tall refers to person_id where height = 180 and weight = 73;", "London refers to city_name = 'London'; how many times refer to COUNT(games_id);", "name of games refers to games_name;", "From 1900 to 1992 refers to games_year BETWEEN 1900 AND 1992; London refers to city_name = 'London'; games refer to games_name;", "athletes from China refer to person_id where region_name = 'China'; the 2016 Summer Olympics refer to games_name = '2016 Summer';", "the tallest refers to MAX(height);", "games refer to games_id;", "20 years old athletes refer to person_id where age = 20; 1984 Summer Olympic Games refer to games_name = '1984 Summer';", "name refers to full_name; the oldest refers to MAX(age);" ] }
{ "query": "Who is the heaviest athlete?", "pos": [ "Who refers to full_name; the heaviest refers to MAX(weight);" ], "neg": [ "Who refers to full_name; participated in the most Olympic Games refers to MAX(COUNT(games_id));", "swimming refers to sport_name = 'Swimming';", "London refers to city_name = 'London';", "cities beginning with the letter M refer to city_name LIKE 'M%';", "DIVIDE(COUNT(person_id where gender = 'F), COUNT(person_id)) as percentage where event_name = 'Equestrianism Mixed Three-Day Event, Individual';", "NOC code refers to noc; the heaviest refers to MAX(weight);", "athletes from China refer to person_id where region_name = 'China'; the 2016 Summer Olympics refer to games_name = '2016 Summer';", "At what age join the Olympics refers to MIN(age);", "AVG(age) where games_name = '1988 Winter';", "name of medal refers to medal_name;" ] }
{ "query": "What are the names of the cities where Carl Lewis Borack competed?", "pos": [ "name of the cities refers to city_name" ], "neg": [ "DIVIDE(SUM(height), COUNT(id)) where region_name = 'Finland' and gender = 'M';", "where it was held refers to city_name; the 1920 Summer refers to games_name = '1920 Summer';", "region refers to region_name; the majority of the athletes from refer to MAX(COUNT(region_name));", "the youngest competitor refers to full_name where MIN(age); in 2014 Winter refers to games_name = '2014 Winter';", "name of his/her region refers to region_name;", "host city refers to city_name; the 1968 Winter Olympic Games refer to games_name = '1968 Winter';", "Where it was held refers to city_name; the first Olympic game refers to id where MIN(games_year);", "region refers to region_name; the highest medal number refers to MAX(COUNT(medal_id <> 4));", "won the gold medal refers to medal_name = 'Gold'; event \"Rowing Women's Coxed Eights\" refers to event_name = 'Rowing Women''s Coxed Eights';", "how old was he refers to age; 1994 Winter refers to games_name = '1994 Winter';" ] }
{ "query": "Which city was the host of 1936 Winter Olympic Games?", "pos": [ "Which city refers to city_name; 1936 Winter Olympic refers to games_name = '1936 Winter';" ], "neg": [ "competitors from Finland refer to id where region_name = 'Finland'; female refers to gender = 'F';", "the highest number of participants refers to MAX(COUNT(person_id)); the lowest number of participants refers to MIN(COUNT(person_id)); Which summer Olympic refers to games_name where season = 'Summer';", "name of the cities refers to city_name", "from Guatemala refers to region_name = 'Guatemala';", "region refers to region_name; the majority of the athletes from refer to MAX(COUNT(region_name));", "region refers to region_name; the highest medal number refers to MAX(COUNT(medal_id <> 4));", "swimming refers to sport_name = 'Swimming';", "DIVIDE(COUNT(competitor_id where medal_name = 'Bronze'), COUNT(competitor_id)) as percentage where event_name = 'Basketball Men''s Basketball';", "NOC code refers to noc; the heaviest refers to MAX(weight);", "DIVIDE(SUM(age), COUNT(person_id)) where games_name = '1992 Summer';" ] }
{ "query": "How many people who are below 30 and participated in the summer season?", "pos": [ "people who are below 30 refer to person_id where age < 30; the summer season refers to season = 'Summer';" ], "neg": [ "Who refers to full_name; the heaviest refers to MAX(weight);", "Los Angeles refers to city_name = 'Lost Angeles'; the Olympic game refers to games_name; the most number of competitors refers to MAX(COUNT(games_name));", "DIVIDE(weight), MULTIPLY(height, height) where id = 147420;", "gold medals given to the winners refer to competitor_id where medal_name = 'Gold'; Ice Hockey Men's Ice Hockey refers to event_name = 'Ice Hockey Men''s Ice Hockey';", "DIVIDE(COUNT(age = 28), COUNT(id)) as percentage where games_name = '2014 Winter';", "NOC code refers to noc; the heaviest refers to MAX(weight);", "cities beginning with the letter M refer to city_name LIKE 'M%';", "Which city refers to city_name; 1936 Winter Olympic refers to games_name = '1936 Winter';", "Who refers to full_name; participated in the most Olympic Games refers to MAX(COUNT(games_id));", "DIVIDE(COUNT(id where region_name = 'Finland'), COUNT(id)) as percentage where games_name = '1994 Winter';" ] }
{ "query": "Tell the host city of the 1968 Winter Olympic Games.", "pos": [ "host city refers to city_name; the 1968 Winter Olympic Games refer to games_name = '1968 Winter';" ], "neg": [ "people who are below 30 refer to person_id where age < 30; the summer season refers to season = 'Summer';", "years refer to games_year; only have summer games refer to games_year where COUNT(games_name) = 1 and season = 'Summer';", "age is the most numerous refers to age where MAX(COUNT(person_id));", "sport refers to sport_name; event \"Shooting Women's Trap\" refers to event_name = 'Shooting Women''s Trap';", "name of the sport with the most events refers to sport_name where MAX(COUNT(id));", "DIVIDE(COUNT(person_id where gender = 'F), COUNT(person_id)) as percentage where event_name = 'Equestrianism Mixed Three-Day Event, Individual';", "At what age join the Olympics refers to MIN(age);", "hockey's sport refers to sport_name = 'hockey';", "city refers to city_name; 1992 Summer Olympic refers to games_name = '1992 Summer';", "over the age of 59 refers to age > 59; the 2016 Summer Olympics refer to games_name = '2016 Summer';" ] }
{ "query": "From 1900 to 1992, how many games did London host?", "pos": [ "From 1900 to 1992 refers to games_year BETWEEN 1900 AND 1992; London refers to city_name = 'London'; games refer to games_name;" ], "neg": [ "athletes from China refer to person_id where region_name = 'China'; the 2016 Summer Olympics refer to games_name = '2016 Summer';", "athletes refer to person_id; 2014 Winter Olympics refer to games_name = '2014 Winter';", "DIVIDE(COUNT(id where height > 175), COUNT(id)) as percentage where region_name = 'Vanuatu';", "age is the most numerous refers to age where MAX(COUNT(person_id));", "names of competitors refer to full_name; from Finland refers to region_name = 'Finland';", "DIVIDE(COUNT(age < 35) / COUNT(person_id)) as percentage where season = 'Summer';", "the gold medal refers to medal_name = 'Gold';", "24 years old competitors refer to id where age = 24; Men's Basketball refers to event_name = 'Basketball Men''s Basketball';", "name refers to full_name; Greece refers to region_name = 'Greece';", "fall into overweight BMI category refers to DIVIDE(weight), MULTIPLY(height, height) < 30; Canoeing refers to a sport name; the 2008 Summer games refer to games_name = '2008 Summer';" ] }
{ "query": "How many gold medals does Henk Jan Zwolle have?", "pos": [ "gold medals refer to medal_name = 'Gold';" ], "neg": [ "20 years old athletes refer to person_id where age = 20; 1984 Summer Olympic Games refer to games_name = '1984 Summer';", "years refer to games_year; only have summer games refer to games_year where COUNT(games_name) = 1 and season = 'Summer';", "events refer to event_name; football refers to sport_name = 'Football';", "Where competitor is from refers to region_name;", "Roma refers to city_name = 'Roma'; When host refers to games_year;", "London refers to city_name = 'London';", "hockey's sport refers to sport_name = 'hockey';", "At what age join the Olympics refers to MIN(age);", "London refers to city_name = 'London'; how many times refer to COUNT(games_id);", "name of the sport with the most events refers to sport_name where MAX(COUNT(id));" ] }
{ "query": "Calculate the percentage of women who have participated in Equestrianism Mixed Three-Day Event, Individual.", "pos": [ "DIVIDE(COUNT(person_id where gender = 'F), COUNT(person_id)) as percentage where event_name = 'Equestrianism Mixed Three-Day Event, Individual';" ], "neg": [ "over the age of 59 refers to age > 59; the 2016 Summer Olympics refer to games_name = '2016 Summer';", "name refers to full_name; the oldest refers to MAX(age);", "name of city refers to city_name", "From 1900 to 1992 refers to games_year BETWEEN 1900 AND 1992; London refers to city_name = 'London'; games refer to games_name;", "how old was he refers to age; 1994 Winter refers to games_name = '1994 Winter';", "competitors from Finland refer to id where region_name = 'Finland'; female refers to gender = 'F';", "DIVIDE(SUM(age), COUNT(person_id)) where games_name = '1992 Summer';", "DIVIDE(COUNT(id where region_name = 'Finland'), COUNT(id)) as percentage where games_name = '1994 Winter';", "London refers to city_name = 'London'; how many times refer to COUNT(games_id);", "DIVIDE(weight), MULTIPLY(height, height) where id = 147420;" ] }
{ "query": "How many male competitors were there who participated in 1948 Summer?", "pos": [ "male competitors refers to id where gender = 'M'; in 1948 Summer refers to games_name = '1948 Summer';" ], "neg": [ "DIVIDE(COUNT(id where region_name = 'Finland'), COUNT(id)) as percentage where games_name = '1994 Winter';", "Belgian men refer to gender = 'M' where region_name = 'Belgium';", "name of his/her region refers to region_name;", "name refers to full_name; the youngest refers to MIN(age);", "competitors refer to person_id; from Finland refers to region_name = 'Finland';", "Barcelona refers to city_name = 'Barcelona'; the most competitors refer to MAX(COUNT(games_name)); name of game refers to games_name;", "name of medal refers to medal_name;", "the highest number of participants refers to MAX(COUNT(person_id)); the lowest number of participants refers to MIN(COUNT(person_id)); Which summer Olympic refers to games_name where season = 'Summer';", "London refers to city_name = 'London'; how many times refer to COUNT(games_id);", "the largest number of women participation refers to MAX(COUNT(gender = 'F')); In which Olympic Games refer to games_year;" ] }
{ "query": "When did Roma host the Olympic Games?", "pos": [ "Roma refers to city_name = 'Roma'; When host refers to games_year;" ], "neg": [ "Rio de Janeiro refers to city_name = 'Rio de Janeiro';", "the gold medal refers to medal_name = 'Gold';", "cities beginning with the letter M refer to city_name LIKE 'M%';", "DIVIDE(weight), MULTIPLY(height, height) where id = 147420;", "Gymnastics Women's Individual All-Around refers to event_name = 'Gymnastics Women''s Individual All-Around'; declared as champion refers to medal_name = 'Gold' or medal_id = 1;", "DIVIDE(COUNT(age = 28), COUNT(id)) as percentage where games_name = '2014 Winter';", "hockey's sport refers to sport_name = 'hockey';", "Where competitor is from refers to region_name;", "female competitors refer to person_id where gender = 'F'; from Iran refers to region_name = 'Iran';", "how old was he refers to age; 1994 Winter refers to games_name = '1994 Winter';" ] }
{ "query": "How many Summer games are there that were held in Paris?", "pos": [ "Summer games refer to games_id where season = 'Summer'; Paris refers to city_name = 'Paris';" ], "neg": [ "years refer to games_year; only have summer games refer to games_year where COUNT(games_name) = 1 and season = 'Summer';", "Rio de Janeiro refers to city_name = 'Rio de Janeiro';", "the highest number of participants refers to MAX(COUNT(person_id)); the lowest number of participants refers to MIN(COUNT(person_id)); Which summer Olympic refers to games_name where season = 'Summer';", "where it was held refers to city_name; the 1920 Summer refers to games_name = '1920 Summer';", "male competitors refers to id where gender = 'M'; in 1948 Summer refers to games_name = '1948 Summer';", "region refers to region_name; the majority of the athletes from refer to MAX(COUNT(region_name));", "AVG(age) where games_name = '1988 Winter';", "city refers to city_name; in 1992 refers to games_year = 1992;", "Where it was held refers to city_name; the first Olympic game refers to id where MIN(games_year);", "DIVIDE(SUM(age), COUNT(person_id)) where games_name = '1992 Summer';" ] }
{ "query": "Compute the average height of competitors whose age ranges from 22 to 28.", "pos": [ "AVG(height) where age BETWEEN 22 AND 28;" ], "neg": [ "Barcelona refers to city_name = 'Barcelona'; the most competitors refer to MAX(COUNT(games_name)); name of game refers to games_name;", "people who are below 30 refer to person_id where age < 30; the summer season refers to season = 'Summer';", "20 years old athletes refer to person_id where age = 20; 1984 Summer Olympic Games refer to games_name = '1984 Summer';", "how old was he refers to age; 1994 Winter refers to games_name = '1994 Winter';", "hockey's sport refers to sport_name = 'hockey';", "name of the cities refers to city_name", "Summer games refer to id where season = 'Summer'; in Stockholm refers to city_name = 'Stockholm';", "In which year refers to games_year; London refers to city_name = 'London'; earliest Olympic game refers to MIN(games_year);", "female competitors refer to person_id where gender = 'F'; from Iran refers to region_name = 'Iran';", "won the gold medal refers to medal_name = 'Gold'; event \"Rowing Women's Coxed Eights\" refers to event_name = 'Rowing Women''s Coxed Eights';" ] }
{ "query": "Which region does the NOC code \"COL\" stand for?", "pos": [ "region refers to region_name; NOC code \"COL\" refers to noc = 'COL';" ], "neg": [ "Modern Pentathlon refers to sport_name = 'Modern Pentathlon';", "where it was held refers to city_name; the 1920 Summer refers to games_name = '1920 Summer';", "Roma refers to city_name = 'Roma'; When host refers to games_year;", "in which city refers to city_name; the oldest refers to MAX(age);", "Summer games refer to id where season = 'Summer'; in Stockholm refers to city_name = 'Stockholm';", "2012 Summer refers to games_name = '2012 Summer';", "events refer to event_name; football refers to sport_name = 'Football';", "DIVIDE(COUNT(person_id where gender = 'F), COUNT(person_id)) as percentage where event_name = 'Equestrianism Mixed Three-Day Event, Individual';", "kinds of events refer to event_name; sport of cycling refers to sport_name = 'Cycling';", "name of the sport with the most events refers to sport_name where MAX(COUNT(id));" ] }
{ "query": "List out the name of the game that the people participated in games id 13.", "pos": [ "name of games refers to games_name;" ], "neg": [ "24 years old competitors refer to id where age = 24; Men's Basketball refers to event_name = 'Basketball Men''s Basketball';", "Rio de Janeiro refers to city_name = 'Rio de Janeiro';", "name refers to full_name; the oldest refers to MAX(age);", "name of sport refers to sport_name", "names of competitors refer to full_name; from Finland refers to region_name = 'Finland';", "Gymnastics Women's Individual All-Around refers to event_name = 'Gymnastics Women''s Individual All-Around'; declared as champion refers to medal_name = 'Gold' or medal_id = 1;", "DIVIDE(COUNT(person_id where gender = 'F), COUNT(person_id)) as percentage where event_name = 'Equestrianism Mixed Three-Day Event, Individual';", "competitors refer to person_id; from Finland refers to region_name = 'Finland';", "female competitors refer to person_id where gender = 'F'; from Iran refers to region_name = 'Iran';", "cities beginning with the letter M refer to city_name LIKE 'M%';" ] }
{ "query": "Please list the birth date of the player who has won the most MVPs.", "pos": [ "won the most MVP refers to Max(Count(award = 'Most Valuable Player'))" ], "neg": [ "team with 90% games won refers to Divide (won, games) > 0.9", "2001 refers to year = 2001; rebounds leader refers to max(rebounds); birthday refers to birthDate", "full attendance refers to GP = 82; in 1995 refers to year = 1995; the most turnovers refers to max(turnovers); full name refers to first_name, last_name", "NBA refers to lgID = 'NBA'; didn't play in the playoffs refers to PostGP = 0; 2000 refers to year = 2000; the most winning rate refers to max(divide(won, add(won, lost)))", "player refers to playerID; the most game presentations refers to max(GP); in 2020 refers to year = 2020; NBA season refers to lgID = 'NBA'", "more than 2 different teams refers to count(tmID) > 2", "player name refers to playerID; the youngest refers to max(birthDate); won \"Rookie of the Year\" refers to award = 'Rookie of the Year'", "more than 50 games won refers to won > 50", "high school in Chicago refers to hsCity = 'Chicago'; belong to the west conference refers to divID = 'WE'", "average BMI refers to AVG (Multiply(Divide(weight, Multiply(height, height)), 703))" ] }
{ "query": "What is the birth date of the player with the most assists during the 1985 All-Star season?", "pos": [ "most assist refers to Max(assists); in 1985 All Star season refers to season_id = 1985" ], "neg": [ "NBA refers to lgID = 'NBA'; didn't play in the playoffs refers to PostGP = 0; 2000 refers to year = 2000; the most winning rate refers to max(divide(won, add(won, lost)))", "from 1962 to 2011 refers to year between 1960 and 2011; received both NBA and ABA award refers to coachID where award LIKE 'NBA%' and 'ABA%'", "from 1937 to 1940 refers to year between 1937 and 1940; player with highest point refers to Max(points)", "the 'NBA coach of the year' award refers to award = 'NBA coach of the year'; from 1971 - 1975 refers to year between 1971 and 1975; 'POR' team refers to tmID = 'POR'", "team refers to tmID; quarterfinal refers to round = 'QF'; score 3,513 defensive points refers to d_pts > = 3513", "\"Rookie of the Year\" is the award; average weight = Divide (Sum(weight), Count(playerID))", "born in Winter Haven refers to birthCity = 'Winter Haven'; during the 1980s in All-Stars refers to season_id = 1980; played in 12 minutes  per season refers to minutes = 12", "more than one player refers to count(playerID) > 1; grabbed more than 600 rebounds refers to rebounds > 600; in 2011 refers to 2011; full name refers to teams.name", "1973 season refers to season_id = 1973; black refers to race = 'B'", "the latest passing refers to max(season_id); play all the positions refers to pos like '%C%' or pos like '%F%' or pos like '%G%'" ] }
{ "query": "Among the Most improved Players awarded from 1985-1990, how many player whose country is USA?", "pos": [ "the Most improved Player refers to award = 'Most Improved Player'; from 1985-1990 refers to year between 1985 and 1990; country is USA refers to birthCountry = 'USA'" ], "neg": [ "more than 50 games won refers to won > 50", "Eastern conference refers to conference = 'East'; no more than 5 minutes refers to minutes < 5", "name of team refers to teams.name; between 1980 and 2000 refers to year between 1980 and 2000; ranked first five or more times refers to count(rank = 1) > = 5; lost a league two or more times refers to lost > 2", "didn't play in playoffs refers to PostGP = 0; in the year 1997 refers to year = 1997; the most total rebounds refers to max(o_tmRebound)", "team name refers to teams.name; won the title 'NBA Coach of the Year' refers to award = 'NBA Coach of the Year'; in 2010 refers to year = 2010", "1970 to 1980 refers to year between 1970 and 1980; longest serving coach Max(Count(coachID)); team(s) he served refers to tmID", "\"Denver Nuggets\" is the name of team; since 1980 refers to year > 1980; tallest player = Max(height)", "NBA refers to lgID = 'NBA'; 'LAL' team refers to tmID = 'LAL'; performed steals movement refers to steals > 0; percent = divide(count(playerID where steals > 0), count(playerID)) where lgID = 'NBA' and tmID = 'LAL' * 100%", "in 2000 refers to year = 2000; played the least minutes refers to min(minutes); without missing a single game refers to GP = 82; full name of the team refers to teams.name", "from 1960 to 1970 refers to season_id between 1960 and 1970; still alive refers to deathDate = '0000-00-00'" ] }
{ "query": "What is the percentage of offense rebounds from the total rebounds of the players in year 2000.", "pos": [ "in year 2000 refers to year = 2000; percentage = divide(sum(o_rebounds), sum(rebounds)) * 100%" ], "neg": [ "full name refers to teams.name", "\"Rookie of the Year\" is the award; average weight = Divide (Sum(weight), Count(playerID))", "the 'NBA coach of the year' award refers to award = 'NBA coach of the year'; from 1971 - 1975 refers to year between 1971 and 1975; 'POR' team refers to tmID = 'POR'", "completed in the Western conference refers to conference = 'West'; in season 2006 refers to season_id = 2006; total of two blocks refers to blocks = 2; nickname refers to nameNick", "drafted in the 1st round refers to draftRound = 1; 6th position refers to draftSelection = 6; in 1976 refers to year = 1976; team refers to tmID", "in 1969 refers to year = 1969; awarded \"NBA Coach of the Year\" refers to award = 'NBA Coach of the Year'; percentage = divide(count(coachID where year = 1969 and award = 'NBA Coach of the Year'), count(coachID)) * 100%", "in 1998 refers to year = 1998; 1st round refers to draftRound = 1; 12th pick refers to draftSelection = 12; home win refers to homeWon", "the Most improved Player refers to award = 'Most Improved Player'; from 1985-1990 refers to year between 1985 and 1990; country is USA refers to birthCountry = 'USA'", "won the most MVP refers to Max(Count(award = 'Most Valuable Player'))", "team refers to tmID; MVP refers to award like '%MVP'; 1997 refers to year = 1997; NBA refers to lgID = 'NBA'" ] }
{ "query": "Please list the last names and first names of all-star players who are higher than 75 inch.", "pos": [ "higher than 75 inch refers to height > 75" ], "neg": [ "BMI = Multiply(Divide(weight, Multiply(height, height)), 703)", "\"All-Defensive First Team\" is the award; ' NY' is the birthState; 1980 to 2000 refers to year between 1980 and 2000; percentage = Divide (Count(playerID where birthState = 'NY'), Count(playerID)) * 100", "coach refers to coachID; Oklahoma City Thunder refers to name = 'Oklahoma City Thunder'", "Eastern conference refers to conference = 'East'; no more than 5 minutes refers to minutes < 5", "more than 2 different teams refers to count(tmID) > 2", "team refers to tmID; MVP refers to award like '%MVP'; 1997 refers to year = 1997; NBA refers to lgID = 'NBA'", "\"ABA Coach of the Year\" is the award; highest number of won games refers to Max(Count(won))", "\"NBA Coach of the Year\" is the award; in 1977 refers to year = 1977; in 1976 refers to year = 1976; division refers to divisionID", "player name refers to playerID; the youngest refers to max(birthDate); won \"Rookie of the Year\" refers to award = 'Rookie of the Year'", "NBA refers to lgID = 'NBA'; didn't play in the playoffs refers to PostGP = 0; 2000 refers to year = 2000; the most winning rate refers to max(divide(won, add(won, lost)))" ] }
{ "query": "Please list the name of the coach who has served more than 2 NBA teams.", "pos": [ "\"NBA\" is the lgID; server more than 2 teams refers to Count(tmID) = 2" ], "neg": [ "completed in the Western conference refers to conference = 'West'; in season 2006 refers to season_id = 2006; total of two blocks refers to blocks = 2; nickname refers to nameNick", "in year 2000 refers to year = 2000; percentage = divide(sum(o_rebounds), sum(rebounds)) * 100%", "\"Rookie of the Year\" is the award; average weight = Divide (Sum(weight), Count(playerID))", "in 2000 refers to year = 2000; played the least minutes refers to min(minutes); without missing a single game refers to GP = 82; full name of the team refers to teams.name", "between 1951 and 1953 refers to season_id; field goal refers to fg_made", "full attendance refers to GP = 82; in 1995 refers to year = 1995; the most turnovers refers to max(turnovers); full name refers to first_name, last_name", "2001 refers to year = 2001; rebounds leader refers to max(rebounds); birthday refers to birthDate", "most assist refers to Max(assists); in 1985 All Star season refers to season_id = 1985", "in 1969 refers to year = 1969; awarded \"NBA Coach of the Year\" refers to award = 'NBA Coach of the Year'; percentage = divide(count(coachID where year = 1969 and award = 'NBA Coach of the Year'), count(coachID)) * 100%", "\"ABA Coach of the Year\" is the award; highest number of won games refers to Max(Count(won))" ] }
{ "query": "Among the NBA All-star players in 1996 season , which have more than 70% free throw rate? Please give their player id.", "pos": [ "NBA refers to lgID = 'NBA'; in 1996 season refers to season_id = 1996; more than 70% free throw rate refers to ft_made > = 0 AND ft_attempted > 0 AND divide(ft_made, ft_attempted) > 0.7" ], "neg": [ "in 1990 refers to season_id = 1990; 50% or less of oRebounds than dRebounds refers to o_rebounds < = multiply(d_rebounds, 0.5)", "team name refers to teams.name; drafted from 'Seattle' refers to draftFrom = 'Seattle'; between year 1965 to 1970 refers to draftYear between 1965 and 1970", "in year 2000 refers to year = 2000; percentage = divide(sum(o_rebounds), sum(rebounds)) * 100%", "the scoring champion refers to max(won); 2001 refers to year = 2001; NBA refers to lgID = 'NBA'", "from 1960 to 1970 refers to season_id between 1960 and 1970; still alive refers to deathDate = '0000-00-00'", "team refers to tmID; quarterfinal refers to round = 'QF'; score 3,513 defensive points refers to d_pts > = 3513", "beat the Huston refers to tmIDLoser = 'HSM';  in final round of post season refers to round = 'DSF'", "in 2000 refers to year = 2000; played the least minutes refers to min(minutes); without missing a single game refers to GP = 82; full name of the team refers to teams.name", "in 1937 refers to year = 1937; player got at least 500 points refers to Sum(points) > = 500", "\"Chicago Bull\" is the name of team; during the year 1981 refers to year = 1981; 'NBA Coach of the Year' is the award; in the 1970s refers to year between 1970 to 1979" ] }
{ "query": "Which team that didn't play in playoffs had the most total rebounds in the year 1997?", "pos": [ "didn't play in playoffs refers to PostGP = 0; in the year 1997 refers to year = 1997; the most total rebounds refers to max(o_tmRebound)" ], "neg": [ "greater than 75% lost refers to Divide(lost, games) > 0.75; team refers to tmID", "weigh 40% less than the heaviest player refers to weight = Multiply(Max (weight), 0.6); league refers to lgID", "in year '1988' refers to year = 1988; the most 'won' than 'lost' refers to max(subtract(won, lost))", "more than one player refers to count(playerID) > 1; grabbed more than 600 rebounds refers to rebounds > 600; in 2011 refers to 2011; full name refers to teams.name", "champion refers to round = 'F'; team name refers to teams.name; from year 1950 to 1960 refers to year between 1950 and 1960", "Eastern conference refers to conference = 'East'; no more than 5 minutes refers to minutes < 5", "team refers to tmID; quarterfinal refers to round = 'QF'; score 3,513 defensive points refers to d_pts > = 3513", "the same starting player refers to GP = GS; full name of the team refers to teams.name", "the most rebounds refers to max(rebounds)", "higher than 75 inch refers to height > 75" ] }
{ "query": "State the name of teams ranked first five or more times and lost a league two or more times between 1980 and 2000?", "pos": [ "name of team refers to teams.name; between 1980 and 2000 refers to year between 1980 and 2000; ranked first five or more times refers to count(rank = 1) > = 5; lost a league two or more times refers to lost > 2" ], "neg": [ "the scoring champion refers to max(won); 2001 refers to year = 2001; NBA refers to lgID = 'NBA'", "\"UCLA\" is the college; team with most players refers to tmID where Max(Count(playerID))", "average height refers to avg(height)", "the most turnovers refers to max(turnovers); missed the playoffs refers to PostGP = 0; in year 1988 refers to year = 1988", "from 1937 to 1940 refers to year between 1937 and 1940; player with highest point refers to Max(points)", "between 1951 and 1953 refers to season_id; field goal refers to fg_made", "home won than home lost more than 80% refers to Divide(Subtract(homeWon, homeLost), games) > 0.8; offense point refers to o_fgm", "the Most improved Player refers to award = 'Most Improved Player'; from 1985-1990 refers to year between 1985 and 1990; country is USA refers to birthCountry = 'USA'", "year 1990-1995 refers to year between 1990 and 1995; 'adelmri01' is the coachID; offense point refers to o_fgm", "team name refers to teams.name; won the title 'NBA Coach of the Year' refers to award = 'NBA Coach of the Year'; in 2010 refers to year = 2010" ] }
{ "query": "What division did the team coached by the winner of the 1977 NBA Coach of the Year award play in in 1976?", "pos": [ "\"NBA Coach of the Year\" is the award; in 1977 refers to year = 1977; in 1976 refers to year = 1976; division refers to divisionID" ], "neg": [ "home won than home lost more than 80% refers to Divide(Subtract(homeWon, homeLost), games) > 0.8; offense point refers to o_fgm", "team refers to tmID; the highest point per minute refers to max(divide(points, minutes)); NBA refers to lgID = 'NBA'; from 1991 to 2000 refers to year BETWEEN 1991 AND 2000", "coach refers to coachID; Oklahoma City Thunder refers to name = 'Oklahoma City Thunder'", "full name refers to firstName, middleName, lastName; age = subtract(2003, year(birthDate)); won the \"Finals MVP\" refers to award = 'Finals MVP'; in 2003 refers to year = 2003", "final round of post season refers to round = 'CSF'; won against LAL refers to tmIDLoser = 'LAL'; in the NBA league refers to lgID = 'NBA'; won more than 60 games refers to won > 60", "the most turnovers refers to max(turnovers); missed the playoffs refers to PostGP = 0; in year 1988 refers to year = 1988", "completed in the Western conference refers to conference = 'West'; in season 2006 refers to season_id = 2006; total of two blocks refers to blocks = 2; nickname refers to nameNick", "from 1962 to 2011 refers to year between 1960 and 2011; received both NBA and ABA award refers to coachID where award LIKE 'NBA%' and 'ABA%'", "greater than 75% lost refers to Divide(lost, games) > 0.75; team refers to tmID", "didn't play in playoffs refers to PostGP = 0; in the year 1997 refers to year = 1997; the most total rebounds refers to max(o_tmRebound)" ] }
{ "query": "List the full name of players who are drafted from round 1 in 1973 but not born in USA.", "pos": [ "full name refers to firstName, middleName, lastName; in 1973 refers to year = 1973; not born in USA refers to birthCountry <> 'USA'" ], "neg": [ "born after 1950 refers to birthDate > = '1950-01-01'; offence rebound rate more than 30% refers to Divide (oRebounds, rebounds) > 0.3", "player refers to playerID; the most game presentations refers to max(GP); in 2020 refers to year = 2020; NBA season refers to lgID = 'NBA'", "\"Chicago Bull\" is the name of team; during the year 1981 refers to year = 1981; 'NBA Coach of the Year' is the award; in the 1970s refers to year between 1970 to 1979", "full name refers to firstName, middleName, lastName; age = subtract(2003, year(birthDate)); won the \"Finals MVP\" refers to award = 'Finals MVP'; in 2003 refers to year = 2003", "the same starting player refers to GP = GS; full name of the team refers to teams.name", "didn't play in playoffs refers to PostGP = 0; in the year 1997 refers to year = 1997; the most total rebounds refers to max(o_tmRebound)", "higher than 75 inch refers to height > 75", "born in Winter Haven refers to birthCity = 'Winter Haven'; during the 1980s in All-Stars refers to season_id = 1980; played in 12 minutes  per season refers to minutes = 12", "No.1 draft pick refers to draftRound = 1; in the 2003 season refers to draftyear = 2003; increase = subtract(divide(sum(won), add(sum(won), sum(lost))) where draftyear = 2004, divide(sum(won), add(sum(won), sum(lost))) where draftyear = 2003)", "NBA refers to lgID = 'NBA'; in 1996 season refers to season_id = 1996; more than 70% free throw rate refers to ft_made > = 0 AND ft_attempted > 0 AND divide(ft_made, ft_attempted) > 0.7" ] }
{ "query": "What is the percentage of players who attended Auburn University and won an \"All-Defensive Second Team\" award?", "pos": [ "Auburn University refers to college = 'Auburn'; won an \"All-Defensive Second Team\" award refers to award = 'All-Defensive Second Team'; percentage = divide(count(playerID where award = 'All-Defensive Second Team'), count(playerID)) where college = 'Auburn' * 100%" ], "neg": [ "served more than 2 NBA teams refers to count (tmID) > = 2; least number of game lost in post season refers to Min(post_losses)", "played more than 3800 points refers to Sum(points) > = 3800", "full name refers to firstName, middleName, lastName; age = subtract(2003, year(birthDate)); won the \"Finals MVP\" refers to award = 'Finals MVP'; in 2003 refers to year = 2003", "in 2010 refers to year = 2010; attended high school in Chicago refers to college = 'Chicago'", "\"NBL\" is the lgID; 'Spencer' is the birthCity", "1970 to 1980 refers to year between 1970 and 1980; longest serving coach Max(Count(coachID)); team(s) he served refers to tmID", "NBA refers to lgID = 'NBA'; in 1996 season refers to season_id = 1996; more than 70% free throw rate refers to ft_made > = 0 AND ft_attempted > 0 AND divide(ft_made, ft_attempted) > 0.7", "team with winning rate less than 50% refers to Divide (won, Sum(won, lost)) < 0.5", "average height refers to avg(height)", "full name refers to teams.name" ] }
{ "query": "Among the coaches who have served more than 2 NBA teams, during which coach's period of coaching, a team has the least numbers of games lost in the post-season games?", "pos": [ "served more than 2 NBA teams refers to count (tmID) > = 2; least number of game lost in post season refers to Min(post_losses)" ], "neg": [ "in 1998 refers to year = 1998; 1st round refers to draftRound = 1; 12th pick refers to draftSelection = 12; home win refers to homeWon", "Auburn University refers to college = 'Auburn'; won an \"All-Defensive Second Team\" award refers to award = 'All-Defensive Second Team'; percentage = divide(count(playerID where award = 'All-Defensive Second Team'), count(playerID)) where college = 'Auburn' * 100%", "team name refers to teams.name; won the title 'NBA Coach of the Year' refers to award = 'NBA Coach of the Year'; in 2010 refers to year = 2010", "1970 to 1980 refers to year between 1970 and 1980; longest serving coach Max(Count(coachID)); team(s) he served refers to tmID", "the latest passing refers to max(season_id); play all the positions refers to pos like '%C%' or pos like '%F%' or pos like '%G%'", "\"All-Defensive First Team\" is the award; ' NY' is the birthState; 1980 to 2000 refers to year between 1980 and 2000; percentage = Divide (Count(playerID where birthState = 'NY'), Count(playerID)) * 100", "didn't play in playoffs refers to PostGP = 0; in the year 1997 refers to year = 1997; the most total rebounds refers to max(o_tmRebound)", "year 1990-1995 refers to year between 1990 and 1995; 'adelmri01' is the coachID; offense point refers to o_fgm", "from 1960 to 1970 refers to season_id between 1960 and 1970; still alive refers to deathDate = '0000-00-00'", "born in Winter Haven refers to birthCity = 'Winter Haven'; during the 1980s in All-Stars refers to season_id = 1980; played in 12 minutes  per season refers to minutes = 12" ] }
{ "query": "What is the name of the team with the highest home lost rate?", "pos": [ "highest home lost rate = Max(Divide(homelost, Sum(homeWon, homeLost)))" ], "neg": [ "team name refers to teams.name; won the title 'NBA Coach of the Year' refers to award = 'NBA Coach of the Year'; in 2010 refers to year = 2010", "the scoring champion refers to max(won); 2001 refers to year = 2001; NBA refers to lgID = 'NBA'", "more than 2 different teams refers to count(tmID) > 2", "full name of the team refers to teams.name; in 2001 refers to year = 2001; didn't make the playoffs refers to PostGP = 0; won the most games refers to max(won)", "in 1969 refers to year = 1969; awarded \"NBA Coach of the Year\" refers to award = 'NBA Coach of the Year'; percentage = divide(count(coachID where year = 1969 and award = 'NBA Coach of the Year'), count(coachID)) * 100%", "in 1997 refers to year = 1997; the most rebounds refers to max(rebounds); team id refers to tmID", "\"BLB\" is the tmID", "1970 to 1980 refers to year between 1970 and 1980; longest serving coach Max(Count(coachID)); team(s) he served refers to tmID", "Auburn University refers to college = 'Auburn'; won an \"All-Defensive Second Team\" award refers to award = 'All-Defensive Second Team'; percentage = divide(count(playerID where award = 'All-Defensive Second Team'), count(playerID)) where college = 'Auburn' * 100%", "the Most improved Player refers to award = 'Most Improved Player'; from 1985-1990 refers to year between 1985 and 1990; country is USA refers to birthCountry = 'USA'" ] }
{ "query": "List the team name and the total wins of the team in year 2005 which has greater winning from the previous year.", "pos": [ "2005 refers to year = 2005 ; previous year refers to year = 2004; team with greater winning than previous year refers to Won where year = 2005 > Won where year = 2004; team name refers to tmID" ], "neg": [ "NBA refers to lgID = 'NBA'; didn't play in the playoffs refers to PostGP = 0; 2000 refers to year = 2000; the most winning rate refers to max(divide(won, add(won, lost)))", "\"Rookie of the Year\" is the award; average weight = Divide (Sum(weight), Count(playerID))", "team with 90% games won refers to Divide (won, games) > 0.9", "2001 refers to year = 2001; rebounds leader refers to max(rebounds); birthday refers to birthDate", "weigh 40% less than the heaviest player refers to weight = Multiply(Max (weight), 0.6); league refers to lgID", "team name refers to teams.name; won the title 'NBA Coach of the Year' refers to award = 'NBA Coach of the Year'; in 2010 refers to year = 2010", "percentage of winning at the home = Divide(homeWon, won) * 100", "team refers to tmID; MVP refers to award like '%MVP'; 1997 refers to year = 1997; NBA refers to lgID = 'NBA'", "final round of post season refers to round = 'CSF'; won against LAL refers to tmIDLoser = 'LAL'; in the NBA league refers to lgID = 'NBA'; won more than 60 games refers to won > 60", "name of the university refers to highSchool; NBA refers to lgID = 'NBA'; Finals MVP refers to award = 'Finals MVP'; in 1990 refers to year = 1990" ] }
{ "query": "What is the nickname of the NBA player whose team competed in the Western Conference in the season 2006 and who had a total of two blocks?", "pos": [ "completed in the Western conference refers to conference = 'West'; in season 2006 refers to season_id = 2006; total of two blocks refers to blocks = 2; nickname refers to nameNick" ], "neg": [ "player name refers to playerID; the youngest refers to max(birthDate); won \"Rookie of the Year\" refers to award = 'Rookie of the Year'", "\"ABA\" is the lgID; from 1972 to 1973 refers to year = 1972 and year = 1973; team with the fastest growth in winning rate = Max(Subtract(Divide(won where year = 1973, Sum(won, lost)),Divide(won where year = 1972, Sum(won, lost))))", "in 1998 refers to year = 1998; 1st round refers to draftRound = 1; 12th pick refers to draftSelection = 12; home win refers to homeWon", "champion refers to round = 'F'; team name refers to teams.name; from year 1950 to 1960 refers to year between 1950 and 1960", "1973 season refers to season_id = 1973; black refers to race = 'B'", "\"ABA Coach of the Year\" is the award; highest number of won games refers to Max(Count(won))", "Auburn University refers to college = 'Auburn'; won an \"All-Defensive Second Team\" award refers to award = 'All-Defensive Second Team'; percentage = divide(count(playerID where award = 'All-Defensive Second Team'), count(playerID)) where college = 'Auburn' * 100%", "\"NBA\" is the lgID; server more than 2 teams refers to Count(tmID) = 2", "\"Chicago Bull\" is the name of team; during the year 1981 refers to year = 1981; 'NBA Coach of the Year' is the award; in the 1970s refers to year between 1970 to 1979", "served more than 2 NBA teams refers to count (tmID) > = 2; least number of game lost in post season refers to Min(post_losses)" ] }
{ "query": "From 1960 to 1970, what is the total point of all-star players who are still alive?", "pos": [ "from 1960 to 1970 refers to season_id between 1960 and 1970; still alive refers to deathDate = '0000-00-00'" ], "neg": [ "in 1998 refers to year = 1998; 1st round refers to draftRound = 1; 12th pick refers to draftSelection = 12; home win refers to homeWon", "from 1937 to 1940 refers to year between 1937 and 1940; player with highest point refers to Max(points)", "\"BLB\" is the tmID", "Auburn University refers to college = 'Auburn'; won an \"All-Defensive Second Team\" award refers to award = 'All-Defensive Second Team'; percentage = divide(count(playerID where award = 'All-Defensive Second Team'), count(playerID)) where college = 'Auburn' * 100%", "full name of the team refers to teams.name; in 2001 refers to year = 2001; didn't make the playoffs refers to PostGP = 0; won the most games refers to max(won)", "the same starting player refers to GP = GS; full name of the team refers to teams.name", "team name refers to teams.name; drafted from 'Seattle' refers to draftFrom = 'Seattle'; between year 1965 to 1970 refers to draftYear between 1965 and 1970", "player refers to playerID; the most game presentations refers to max(GP); in 2020 refers to year = 2020; NBA season refers to lgID = 'NBA'", "beat the Huston refers to tmIDLoser = 'HSM';  in final round of post season refers to round = 'DSF'", "from 1962 to 2011 refers to year between 1960 and 2011; received both NBA and ABA award refers to coachID where award LIKE 'NBA%' and 'ABA%'" ] }
{ "query": "What is the percentage of coaches in 1969 who were awarded \"NBA Coach of the Year\"?", "pos": [ "in 1969 refers to year = 1969; awarded \"NBA Coach of the Year\" refers to award = 'NBA Coach of the Year'; percentage = divide(count(coachID where year = 1969 and award = 'NBA Coach of the Year'), count(coachID)) * 100%" ], "neg": [ "Eastern conference refers to conference = 'East'; no more than 5 minutes refers to minutes < 5", "year 1990-1995 refers to year between 1990 and 1995; 'adelmri01' is the coachID; offense point refers to o_fgm", "in 2000 refers to year = 2000; played the least minutes refers to min(minutes); without missing a single game refers to GP = 82; full name of the team refers to teams.name", "\"UCLA\" is the college; team with most players refers to tmID where Max(Count(playerID))", "team name refers to teams.name; won the title 'NBA Coach of the Year' refers to award = 'NBA Coach of the Year'; in 2010 refers to year = 2010", "the same starting player refers to GP = GS; full name of the team refers to teams.name", "\"ABA Coach of the Year\" is the award; highest number of won games refers to Max(Count(won))", "from 1937 to 1940 refers to year between 1937 and 1940; player with highest point refers to Max(points)", "No.1 draft pick refers to draftRound = 1; in the 2003 season refers to draftyear = 2003; increase = subtract(divide(sum(won), add(sum(won), sum(lost))) where draftyear = 2004, divide(sum(won), add(sum(won), sum(lost))) where draftyear = 2003)", "between 1951 and 1953 refers to season_id; field goal refers to fg_made" ] }
{ "query": "For all the full attendence players in 1995, which player had most turnovers? Give the full name of the player.", "pos": [ "full attendance refers to GP = 82; in 1995 refers to year = 1995; the most turnovers refers to max(turnovers); full name refers to first_name, last_name" ], "neg": [ "\"Denver Nuggets\" is the name of team; since 1980 refers to year > 1980; tallest player = Max(height)", "served more than 2 NBA teams refers to count (tmID) > = 2; least number of game lost in post season refers to Min(post_losses)", "NBA refers to lgID = 'NBA'; in 1996 season refers to season_id = 1996; more than 70% free throw rate refers to ft_made > = 0 AND ft_attempted > 0 AND divide(ft_made, ft_attempted) > 0.7", "the most turnovers refers to max(turnovers); missed the playoffs refers to PostGP = 0; in year 1988 refers to year = 1988", "full name refers to firstName, middleName, lastName; in 1973 refers to year = 1973; not born in USA refers to birthCountry <> 'USA'", "Most Valuable Player award refers to award = 'Most Valuable Player'; from 1969 to 1975 refers to year between 1969 and 1975", "\"NBA Coach of the Year\" is the award; in 1977 refers to year = 1977; in 1976 refers to year = 1976; division refers to divisionID", "team with winning rate less than 50% refers to Divide (won, Sum(won, lost)) < 0.5", "team name refers to teams.name; won the title 'NBA Coach of the Year' refers to award = 'NBA Coach of the Year'; in 2010 refers to year = 2010", "player refers to playerID; the most game presentations refers to max(GP); in 2020 refers to year = 2020; NBA season refers to lgID = 'NBA'" ] }
{ "query": "How many awards were given out in 2010 to players who attended high school in Chicago?", "pos": [ "in 2010 refers to year = 2010; attended high school in Chicago refers to college = 'Chicago'" ], "neg": [ "the latest passing refers to max(season_id); play all the positions refers to pos like '%C%' or pos like '%F%' or pos like '%G%'", "full name refers to firstName, middleName, lastName; in 1973 refers to year = 1973; not born in USA refers to birthCountry <> 'USA'", "team refers to tmID; quarterfinal refers to round = 'QF'; score 3,513 defensive points refers to d_pts > = 3513", "in 2000 refers to year = 2000; played the least minutes refers to min(minutes); without missing a single game refers to GP = 82; full name of the team refers to teams.name", "didn't play in playoffs refers to PostGP = 0; in the year 1997 refers to year = 1997; the most total rebounds refers to max(o_tmRebound)", "\"ABA Coach of the Year\" is the award; highest number of won games refers to Max(Count(won))", "NBA refers to lgID = 'NBA'; 'LAL' team refers to tmID = 'LAL'; performed steals movement refers to steals > 0; percent = divide(count(playerID where steals > 0), count(playerID)) where lgID = 'NBA' and tmID = 'LAL' * 100%", "most assist refers to Max(assists); in 1985 All Star season refers to season_id = 1985", "college refers to highSchool; won the most award refers to max(count(award)); in 1970 refers to year = 1970", "more than 2 different teams refers to count(tmID) > 2" ] }
{ "query": "Which winning team in the 1947 playoff quarterfinals managed to score 3,513 defensive points that same year?", "pos": [ "team refers to tmID; quarterfinal refers to round = 'QF'; score 3,513 defensive points refers to d_pts > = 3513" ], "neg": [ "highest home lost rate = Max(Divide(homelost, Sum(homeWon, homeLost)))", "\"UCLA\" is the college; team with most players refers to tmID where Max(Count(playerID))", "shortest player refers to Min(height); black players refers to race = 'B'", "\"Rookie of the Year\" is the award; average weight = Divide (Sum(weight), Count(playerID))", "didn't play in playoffs refers to PostGP = 0; in the year 1997 refers to year = 1997; the most total rebounds refers to max(o_tmRebound)", "won the most MVP refers to Max(Count(award = 'Most Valuable Player'))", "2005 refers to year = 2005 ; previous year refers to year = 2004; team with greater winning than previous year refers to Won where year = 2005 > Won where year = 2004; team name refers to tmID", "the Most improved Player refers to award = 'Most Improved Player'; from 1985-1990 refers to year between 1985 and 1990; country is USA refers to birthCountry = 'USA'", "home won than home lost more than 80% refers to Divide(Subtract(homeWon, homeLost), games) > 0.8; offense point refers to o_fgm", "coach refers to coachID; Oklahoma City Thunder refers to name = 'Oklahoma City Thunder'" ] }
{ "query": "For the player who was drafted in the 1st round, 6th position in 1976, which team did he play in that year?", "pos": [ "drafted in the 1st round refers to draftRound = 1; 6th position refers to draftSelection = 6; in 1976 refers to year = 1976; team refers to tmID" ], "neg": [ "completed in the Western conference refers to conference = 'West'; in season 2006 refers to season_id = 2006; total of two blocks refers to blocks = 2; nickname refers to nameNick", "\"Chicago Bull\" is the name of team; during the year 1981 refers to year = 1981; 'NBA Coach of the Year' is the award; in the 1970s refers to year between 1970 to 1979", "full attendance refers to GP = 82; in 1995 refers to year = 1995; the most turnovers refers to max(turnovers); full name refers to first_name, last_name", "in 1973 refers to year = 1973; player with highest field goal made refers to Max(Divide(fgMade, fgAttempted))", "in year 2000 refers to year = 2000; percentage = divide(sum(o_rebounds), sum(rebounds)) * 100%", "\"AFS\" is the tmID; tallest height refers to Max(height)", "average BMI refers to AVG (Multiply(Divide(weight, Multiply(height, height)), 703))", "2001 refers to year = 2001; rebounds leader refers to max(rebounds); birthday refers to birthDate", "full name refers to firstName, middleName, lastName; age = subtract(2003, year(birthDate)); won the \"Finals MVP\" refers to award = 'Finals MVP'; in 2003 refers to year = 2003", "name of team refers to teams.name; between 1980 and 2000 refers to year between 1980 and 2000; ranked first five or more times refers to count(rank = 1) > = 5; lost a league two or more times refers to lost > 2" ] }
{ "query": "What is the name of the university that was drafted from the player who won the NBA Finals MVP in 1990?", "pos": [ "name of the university refers to highSchool; NBA refers to lgID = 'NBA'; Finals MVP refers to award = 'Finals MVP'; in 1990 refers to year = 1990" ], "neg": [ "team name refers to teams.name; drafted from 'Seattle' refers to draftFrom = 'Seattle'; between year 1965 to 1970 refers to draftYear between 1965 and 1970", "\"All-Defensive First Team\" is the award; ' NY' is the birthState; 1980 to 2000 refers to year between 1980 and 2000; percentage = Divide (Count(playerID where birthState = 'NY'), Count(playerID)) * 100", "drafted in the 1st round refers to draftRound = 1; 6th position refers to draftSelection = 6; in 1976 refers to year = 1976; team refers to tmID", "\"AFS\" is the tmID; tallest height refers to Max(height)", "team refers to tmID; MVP refers to award like '%MVP'; 1997 refers to year = 1997; NBA refers to lgID = 'NBA'", "team refers to tmID; quarterfinal refers to round = 'QF'; score 3,513 defensive points refers to d_pts > = 3513", "the 'NBA coach of the year' award refers to award = 'NBA coach of the year'; from 1971 - 1975 refers to year between 1971 and 1975; 'POR' team refers to tmID = 'POR'", "\"ABA\" is the lgID; from 1972 to 1973 refers to year = 1972 and year = 1973; team with the fastest growth in winning rate = Max(Subtract(Divide(won where year = 1973, Sum(won, lost)),Divide(won where year = 1972, Sum(won, lost))))", "served more than 2 NBA teams refers to count (tmID) > = 2; least number of game lost in post season refers to Min(post_losses)", "NBA refers to lgID = 'NBA'; in 1996 season refers to season_id = 1996; more than 70% free throw rate refers to ft_made > = 0 AND ft_attempted > 0 AND divide(ft_made, ft_attempted) > 0.7" ] }
{ "query": "Player from which team has the highest point per minute in NBA from 1991 to 2000?", "pos": [ "team refers to tmID; the highest point per minute refers to max(divide(points, minutes)); NBA refers to lgID = 'NBA'; from 1991 to 2000 refers to year BETWEEN 1991 AND 2000" ], "neg": [ "\"Chicago Bull\" is the name of team; during the year 1981 refers to year = 1981; 'NBA Coach of the Year' is the award; in the 1970s refers to year between 1970 to 1979", "player name refers to playerID; the youngest refers to max(birthDate); won \"Rookie of the Year\" refers to award = 'Rookie of the Year'", "in 2000 refers to year = 2000; played the least minutes refers to min(minutes); without missing a single game refers to GP = 82; full name of the team refers to teams.name", "in 1997 refers to year = 1997; the most rebounds refers to max(rebounds); team id refers to tmID", "full name refers to firstName, middleName, lastName; in the year 1997 refers to year = 1997; the most steals refers to max(steals)", "BMI = Multiply(Divide(weight, Multiply(height, height)), 703)", "\"AFS\" is the tmID; tallest height refers to Max(height)", "coach refers to coachID; Oklahoma City Thunder refers to name = 'Oklahoma City Thunder'", "team name refers to teams.name; won the title 'NBA Coach of the Year' refers to award = 'NBA Coach of the Year'; in 2010 refers to year = 2010", "Wake Forest college refers to highSchool = 'Wake Forest college'; did the most offensive rebounds than defensive rebounds refers to max(subtract(sum(oRebounds), sum(dRebounds))); full name refers to first_name, middle_name, last_name" ] }
{ "query": "In 1937, how many teams whose players got at least 500 points?", "pos": [ "in 1937 refers to year = 1937; player got at least 500 points refers to Sum(points) > = 500" ], "neg": [ "champion refers to round = 'F'; team name refers to teams.name; from year 1950 to 1960 refers to year between 1950 and 1960", "from 1960 to 1970 refers to season_id between 1960 and 1970; still alive refers to deathDate = '0000-00-00'", "college refers to highSchool; won the most award refers to max(count(award)); in 1970 refers to year = 1970", "served more than 2 NBA teams refers to count (tmID) > = 2; least number of game lost in post season refers to Min(post_losses)", "full name refers to firstName, middleName, lastName; in 1973 refers to year = 1973; not born in USA refers to birthCountry <> 'USA'", "Eastern conference refers to conference = 'East'; no more than 5 minutes refers to minutes < 5", "the 'NBA coach of the year' award refers to award = 'NBA coach of the year'; from 1971 - 1975 refers to year between 1971 and 1975; 'POR' team refers to tmID = 'POR'", "the scoring champion refers to max(won); 2001 refers to year = 2001; NBA refers to lgID = 'NBA'", "team refers to tmID; MVP refers to award like '%MVP'; 1997 refers to year = 1997; NBA refers to lgID = 'NBA'", "\"BLB\" is the tmID" ] }
{ "query": "Which winning team in the final round of the postseason series games against the LAL won more than 60 games in the NBA league during the year 1996?", "pos": [ "final round of post season refers to round = 'CSF'; won against LAL refers to tmIDLoser = 'LAL'; in the NBA league refers to lgID = 'NBA'; won more than 60 games refers to won > 60" ], "neg": [ "more than 2 different teams refers to count(tmID) > 2", "\"Chicago Bull\" is the name of team; during the year 1981 refers to year = 1981; 'NBA Coach of the Year' is the award; in the 1970s refers to year between 1970 to 1979", "team refers to tmID; the highest point per minute refers to max(divide(points, minutes)); NBA refers to lgID = 'NBA'; from 1991 to 2000 refers to year BETWEEN 1991 AND 2000", "full name refers to teams.name", "\"NBA\" is the lgID; server more than 2 teams refers to Count(tmID) = 2", "born after 1950 refers to birthDate > = '1950-01-01'; offence rebound rate more than 30% refers to Divide (oRebounds, rebounds) > 0.3", "No.1 draft pick refers to draftRound = 1; in the 2003 season refers to draftyear = 2003; increase = subtract(divide(sum(won), add(sum(won), sum(lost))) where draftyear = 2004, divide(sum(won), add(sum(won), sum(lost))) where draftyear = 2003)", "higher than 75 inch refers to height > 75", "in 1990 refers to season_id = 1990; 50% or less of oRebounds than dRebounds refers to o_rebounds < = multiply(d_rebounds, 0.5)", "full name refers to firstName, middleName, lastName; in 1973 refers to year = 1973; not born in USA refers to birthCountry <> 'USA'" ] }
{ "query": "Who is the tallest player in Denver Nuggets since 1980?", "pos": [ "\"Denver Nuggets\" is the name of team; since 1980 refers to year > 1980; tallest player = Max(height)" ], "neg": [ "1973 season refers to season_id = 1973; black refers to race = 'B'", "2005 refers to year = 2005 ; previous year refers to year = 2004; team with greater winning than previous year refers to Won where year = 2005 > Won where year = 2004; team name refers to tmID", "champion refers to round = 'F'; team name refers to teams.name; from year 1950 to 1960 refers to year between 1950 and 1960", "\"UCLA\" is the college; team with most players refers to tmID where Max(Count(playerID))", "completed in the Western conference refers to conference = 'West'; in season 2006 refers to season_id = 2006; total of two blocks refers to blocks = 2; nickname refers to nameNick", "from 1962 to 2011 refers to year between 1960 and 2011; received both NBA and ABA award refers to coachID where award LIKE 'NBA%' and 'ABA%'", "the scoring champion refers to max(won); 2001 refers to year = 2001; NBA refers to lgID = 'NBA'", "Eastern conference refers to conference = 'East'; no more than 5 minutes refers to minutes < 5", "\"BLB\" is the tmID", "\"Chicago Bull\" is the name of team; during the year 1981 refers to year = 1981; 'NBA Coach of the Year' is the award; in the 1970s refers to year between 1970 to 1979" ] }
{ "query": "From 1962 to 2011, how many coaches received both NBA and ABA awards?", "pos": [ "from 1962 to 2011 refers to year between 1960 and 2011; received both NBA and ABA award refers to coachID where award LIKE 'NBA%' and 'ABA%'" ], "neg": [ "average BMI refers to AVG (Multiply(Divide(weight, Multiply(height, height)), 703))", "the most rebounds refers to max(rebounds)", "more than one player refers to count(playerID) > 1; grabbed more than 600 rebounds refers to rebounds > 600; in 2011 refers to 2011; full name refers to teams.name", "in year '1988' refers to year = 1988; the most 'won' than 'lost' refers to max(subtract(won, lost))", "in 1969 refers to year = 1969; awarded \"NBA Coach of the Year\" refers to award = 'NBA Coach of the Year'; percentage = divide(count(coachID where year = 1969 and award = 'NBA Coach of the Year'), count(coachID)) * 100%", "most assist refers to Max(assists); in 1985 All Star season refers to season_id = 1985", "the scoring champion refers to max(won); 2001 refers to year = 2001; NBA refers to lgID = 'NBA'", "full name refers to teams.name", "born after 1950 refers to birthDate > = '1950-01-01'; offence rebound rate more than 30% refers to Divide (oRebounds, rebounds) > 0.3", "shortest player refers to Min(height); black players refers to race = 'B'" ] }
{ "query": "What is the minimum weight of all-star players coming from UCLA college?", "pos": [ "minimum weight refers to Min(weight)" ], "neg": [ "Wake Forest college refers to highSchool = 'Wake Forest college'; did the most offensive rebounds than defensive rebounds refers to max(subtract(sum(oRebounds), sum(dRebounds))); full name refers to first_name, middle_name, last_name", "team name refers to teams.name; won the title 'NBA Coach of the Year' refers to award = 'NBA Coach of the Year'; in 2010 refers to year = 2010", "full name refers to firstName, middleName, lastName; in 1973 refers to year = 1973; not born in USA refers to birthCountry <> 'USA'", "won the most MVP refers to Max(Count(award = 'Most Valuable Player'))", "the most rebounds refers to max(rebounds)", "Eastern conference refers to conference = 'East'; no more than 5 minutes refers to minutes < 5", "more than 2 different teams refers to count(tmID) > 2", "\"Rookie of the Year\" is the award; average weight = Divide (Sum(weight), Count(playerID))", "Auburn University refers to college = 'Auburn'; won an \"All-Defensive Second Team\" award refers to award = 'All-Defensive Second Team'; percentage = divide(count(playerID where award = 'All-Defensive Second Team'), count(playerID)) where college = 'Auburn' * 100%", "greater than 75% lost refers to Divide(lost, games) > 0.75; team refers to tmID" ] }
{ "query": "For team who has more home won than home lost more than 80%, list the team name and the offense points.", "pos": [ "home won than home lost more than 80% refers to Divide(Subtract(homeWon, homeLost), games) > 0.8; offense point refers to o_fgm" ], "neg": [ "most assist refers to Max(assists); in 1985 All Star season refers to season_id = 1985", "\"Denver Nuggets\" is the name of team; since 1980 refers to year > 1980; tallest player = Max(height)", "full attendance refers to GP = 82; in 1995 refers to year = 1995; the most turnovers refers to max(turnovers); full name refers to first_name, last_name", "Most Valuable Player award refers to award = 'Most Valuable Player'; from 1969 to 1975 refers to year between 1969 and 1975", "2005 refers to year = 2005 ; previous year refers to year = 2004; team with greater winning than previous year refers to Won where year = 2005 > Won where year = 2004; team name refers to tmID", "in 1969 refers to year = 1969; awarded \"NBA Coach of the Year\" refers to award = 'NBA Coach of the Year'; percentage = divide(count(coachID where year = 1969 and award = 'NBA Coach of the Year'), count(coachID)) * 100%", "born in Winter Haven refers to birthCity = 'Winter Haven'; during the 1980s in All-Stars refers to season_id = 1980; played in 12 minutes  per season refers to minutes = 12", "team name refers to teams.name; drafted from 'Seattle' refers to draftFrom = 'Seattle'; between year 1965 to 1970 refers to draftYear between 1965 and 1970", "high school in Chicago refers to hsCity = 'Chicago'; belong to the west conference refers to divID = 'WE'", "player name refers to playerID; the youngest refers to max(birthDate); won \"Rookie of the Year\" refers to award = 'Rookie of the Year'" ] }
{ "query": "List the champion (team name) and year from year 1950 to 1960.", "pos": [ "champion refers to round = 'F'; team name refers to teams.name; from year 1950 to 1960 refers to year between 1950 and 1960" ], "neg": [ "from 1937 to 1940 refers to year between 1937 and 1940; player with highest point refers to Max(points)", "team name refers to teams.name; won the title 'NBA Coach of the Year' refers to award = 'NBA Coach of the Year'; in 2010 refers to year = 2010", "\"UCLA\" is the college; team with most players refers to tmID where Max(Count(playerID))", "the Most improved Player refers to award = 'Most Improved Player'; from 1985-1990 refers to year between 1985 and 1990; country is USA refers to birthCountry = 'USA'", "name of team refers to teams.name; between 1980 and 2000 refers to year between 1980 and 2000; ranked first five or more times refers to count(rank = 1) > = 5; lost a league two or more times refers to lost > 2", "highest home lost rate = Max(Divide(homelost, Sum(homeWon, homeLost)))", "more than one player refers to count(playerID) > 1; grabbed more than 600 rebounds refers to rebounds > 600; in 2011 refers to 2011; full name refers to teams.name", "\"All-Defensive First Team\" is the award; ' NY' is the birthState; 1980 to 2000 refers to year between 1980 and 2000; percentage = Divide (Count(playerID where birthState = 'NY'), Count(playerID)) * 100", "team refers to tmID; MVP refers to award like '%MVP'; 1997 refers to year = 1997; NBA refers to lgID = 'NBA'", "drafted in the 1st round refers to draftRound = 1; 6th position refers to draftSelection = 6; in 1976 refers to year = 1976; team refers to tmID" ] }
{ "query": "Which team did the MVP of 1997 NBA season play in?", "pos": [ "team refers to tmID; MVP refers to award like '%MVP'; 1997 refers to year = 1997; NBA refers to lgID = 'NBA'" ], "neg": [ "weigh 40% less than the heaviest player refers to weight = Multiply(Max (weight), 0.6); league refers to lgID", "2001 refers to year = 2001; rebounds leader refers to max(rebounds); birthday refers to birthDate", "average height refers to avg(height)", "college refers to highSchool; won the most award refers to max(count(award)); in 1970 refers to year = 1970", "more than 50 games won refers to won > 50", "NBA refers to lgID = 'NBA'; 'LAL' team refers to tmID = 'LAL'; performed steals movement refers to steals > 0; percent = divide(count(playerID where steals > 0), count(playerID)) where lgID = 'NBA' and tmID = 'LAL' * 100%", "home won than home lost more than 80% refers to Divide(Subtract(homeWon, homeLost), games) > 0.8; offense point refers to o_fgm", "in 2000 refers to year = 2000; played the least minutes refers to min(minutes); without missing a single game refers to GP = 82; full name of the team refers to teams.name", "the same starting player refers to GP = GS; full name of the team refers to teams.name", "\"AFS\" is the tmID; tallest height refers to Max(height)" ] }
{ "query": "How much did the win rate increase for the team after getting the No.1 NBA draft pick in the 2003 season than previous season?", "pos": [ "No.1 draft pick refers to draftRound = 1; in the 2003 season refers to draftyear = 2003; increase = subtract(divide(sum(won), add(sum(won), sum(lost))) where draftyear = 2004, divide(sum(won), add(sum(won), sum(lost))) where draftyear = 2003)" ], "neg": [ "more than 2 different teams refers to count(tmID) > 2", "\"ABA\" is the lgID; from 1972 to 1973 refers to year = 1972 and year = 1973; team with the fastest growth in winning rate = Max(Subtract(Divide(won where year = 1973, Sum(won, lost)),Divide(won where year = 1972, Sum(won, lost))))", "\"NBA Coach of the Year\" is the award; in 1977 refers to year = 1977; in 1976 refers to year = 1976; division refers to divisionID", "average BMI refers to AVG (Multiply(Divide(weight, Multiply(height, height)), 703))", "high school in Chicago refers to hsCity = 'Chicago'; belong to the west conference refers to divID = 'WE'", "weigh 40% less than the heaviest player refers to weight = Multiply(Max (weight), 0.6); league refers to lgID", "the same starting player refers to GP = GS; full name of the team refers to teams.name", "the most rebounds refers to max(rebounds)", "between 1951 and 1953 refers to season_id; field goal refers to fg_made", "born after 1950 refers to birthDate > = '1950-01-01'; offence rebound rate more than 30% refers to Divide (oRebounds, rebounds) > 0.3" ] }
{ "query": "What's the full name of the team that won the most games in 2001 but didn't make the playoffs?", "pos": [ "full name of the team refers to teams.name; in 2001 refers to year = 2001; didn't make the playoffs refers to PostGP = 0; won the most games refers to max(won)" ], "neg": [ "\"ABA Coach of the Year\" is the award; highest number of won games refers to Max(Count(won))", "team refers to tmID; MVP refers to award like '%MVP'; 1997 refers to year = 1997; NBA refers to lgID = 'NBA'", "NBA refers to lgID = 'NBA'; in 1996 season refers to season_id = 1996; more than 70% free throw rate refers to ft_made > = 0 AND ft_attempted > 0 AND divide(ft_made, ft_attempted) > 0.7", "played more than 3800 points refers to Sum(points) > = 3800", "BMI = Multiply(Divide(weight, Multiply(height, height)), 703)", "born after 1950 refers to birthDate > = '1950-01-01'; offence rebound rate more than 30% refers to Divide (oRebounds, rebounds) > 0.3", "from 1962 to 2011 refers to year between 1960 and 2011; received both NBA and ABA award refers to coachID where award LIKE 'NBA%' and 'ABA%'", "in 1997 refers to year = 1997; the most rebounds refers to max(rebounds); team id refers to tmID", "the latest passing refers to max(season_id); play all the positions refers to pos like '%C%' or pos like '%F%' or pos like '%G%'", "minimum weight refers to Min(weight)" ] }
{ "query": "What is the average height of an East conference All-star player?", "pos": [ "average height refers to avg(height)" ], "neg": [ "won the most MVP refers to Max(Count(award = 'Most Valuable Player'))", "\"ABA Coach of the Year\" is the award; highest number of won games refers to Max(Count(won))", "in 2000 refers to year = 2000; played the least minutes refers to min(minutes); without missing a single game refers to GP = 82; full name of the team refers to teams.name", "the same starting player refers to GP = GS; full name of the team refers to teams.name", "the latest passing refers to max(season_id); play all the positions refers to pos like '%C%' or pos like '%F%' or pos like '%G%'", "drafted in the 1st round refers to draftRound = 1; 6th position refers to draftSelection = 6; in 1976 refers to year = 1976; team refers to tmID", "from 1937 to 1940 refers to year between 1937 and 1940; player with highest point refers to Max(points)", "served more than 2 NBA teams refers to count (tmID) > = 2; least number of game lost in post season refers to Min(post_losses)", "\"ABA\" is the lgID; from 1972 to 1973 refers to year = 1972 and year = 1973; team with the fastest growth in winning rate = Max(Subtract(Divide(won where year = 1973, Sum(won, lost)),Divide(won where year = 1972, Sum(won, lost))))", "1970 to 1980 refers to year between 1970 and 1980; longest serving coach Max(Count(coachID)); team(s) he served refers to tmID" ] }
{ "query": "Which player had the most game presentatons in 2011 NBA season.", "pos": [ "player refers to playerID; the most game presentations refers to max(GP); in 2020 refers to year = 2020; NBA season refers to lgID = 'NBA'" ], "neg": [ "in 1997 refers to year = 1997; the most rebounds refers to max(rebounds); team id refers to tmID", "Wake Forest college refers to highSchool = 'Wake Forest college'; did the most offensive rebounds than defensive rebounds refers to max(subtract(sum(oRebounds), sum(dRebounds))); full name refers to first_name, middle_name, last_name", "in 1973 refers to year = 1973; player with highest field goal made refers to Max(Divide(fgMade, fgAttempted))", "born in Winter Haven refers to birthCity = 'Winter Haven'; during the 1980s in All-Stars refers to season_id = 1980; played in 12 minutes  per season refers to minutes = 12", "in 1998 refers to year = 1998; 1st round refers to draftRound = 1; 12th pick refers to draftSelection = 12; home win refers to homeWon", "the Most improved Player refers to award = 'Most Improved Player'; from 1985-1990 refers to year between 1985 and 1990; country is USA refers to birthCountry = 'USA'", "won the most MVP refers to Max(Count(award = 'Most Valuable Player'))", "more than one player refers to count(playerID) > 1; grabbed more than 600 rebounds refers to rebounds > 600; in 2011 refers to 2011; full name refers to teams.name", "the 'NBA coach of the year' award refers to award = 'NBA coach of the year'; from 1971 - 1975 refers to year between 1971 and 1975; 'POR' team refers to tmID = 'POR'", "NBA refers to lgID = 'NBA'; in 1996 season refers to season_id = 1996; more than 70% free throw rate refers to ft_made > = 0 AND ft_attempted > 0 AND divide(ft_made, ft_attempted) > 0.7" ] }
{ "query": "Among the coaches who won the 'NBA coach of the year' award from 1971 - 1975, how many of them were in 'POR' team?", "pos": [ "the 'NBA coach of the year' award refers to award = 'NBA coach of the year'; from 1971 - 1975 refers to year between 1971 and 1975; 'POR' team refers to tmID = 'POR'" ], "neg": [ "Most Valuable Player award refers to award = 'Most Valuable Player'; from 1969 to 1975 refers to year between 1969 and 1975", "full name refers to firstName, middleName, lastName; in the year 1997 refers to year = 1997; the most steals refers to max(steals)", "from 1937 to 1940 refers to year between 1937 and 1940; player with highest point refers to Max(points)", "between 1951 and 1953 refers to season_id; field goal refers to fg_made", "team name refers to teams.name; drafted from 'Seattle' refers to draftFrom = 'Seattle'; between year 1965 to 1970 refers to draftYear between 1965 and 1970", "2005 refers to year = 2005 ; previous year refers to year = 2004; team with greater winning than previous year refers to Won where year = 2005 > Won where year = 2004; team name refers to tmID", "in 1969 refers to year = 1969; awarded \"NBA Coach of the Year\" refers to award = 'NBA Coach of the Year'; percentage = divide(count(coachID where year = 1969 and award = 'NBA Coach of the Year'), count(coachID)) * 100%", "team refers to tmID; quarterfinal refers to round = 'QF'; score 3,513 defensive points refers to d_pts > = 3513", "didn't play in playoffs refers to PostGP = 0; in the year 1997 refers to year = 1997; the most total rebounds refers to max(o_tmRebound)", "drafted in the 1st round refers to draftRound = 1; 6th position refers to draftSelection = 6; in 1976 refers to year = 1976; team refers to tmID" ] }
{ "query": "In year 2000, who are the coaches with more than 50 games won. List the coachID, team name and number of game won at home game.", "pos": [ "more than 50 games won refers to won > 50" ], "neg": [ "coach refers to coachID; Oklahoma City Thunder refers to name = 'Oklahoma City Thunder'", "in 2000 refers to year = 2000; played the least minutes refers to min(minutes); without missing a single game refers to GP = 82; full name of the team refers to teams.name", "percentage of winning at the home = Divide(homeWon, won) * 100", "shortest player refers to Min(height); black players refers to race = 'B'", "year 1990-1995 refers to year between 1990 and 1995; 'adelmri01' is the coachID; offense point refers to o_fgm", "team refers to tmID; MVP refers to award like '%MVP'; 1997 refers to year = 1997; NBA refers to lgID = 'NBA'", "born after 1950 refers to birthDate > = '1950-01-01'; offence rebound rate more than 30% refers to Divide (oRebounds, rebounds) > 0.3", "No.1 draft pick refers to draftRound = 1; in the 2003 season refers to draftyear = 2003; increase = subtract(divide(sum(won), add(sum(won), sum(lost))) where draftyear = 2004, divide(sum(won), add(sum(won), sum(lost))) where draftyear = 2003)", "BMI = Multiply(Divide(weight, Multiply(height, height)), 703)", "the year 1990 and 2007 refers to year BETWEEN 1990 AND 2007; exceed 75% of defensive rebounds refers to Divide (dRebounds, rebounds) * 100 > 75" ] }
{ "query": "In 2000, which team did the player who played the least minutes without missing a single game play in? Give the full name of the team.", "pos": [ "in 2000 refers to year = 2000; played the least minutes refers to min(minutes); without missing a single game refers to GP = 82; full name of the team refers to teams.name" ], "neg": [ "full name refers to firstName, middleName, lastName; age = subtract(2003, year(birthDate)); won the \"Finals MVP\" refers to award = 'Finals MVP'; in 2003 refers to year = 2003", "\"AFS\" is the tmID; tallest height refers to Max(height)", "between 1975 and 1980 refers to year between 1975 and 1980; player abdulka01 refers to playerID = 'abdulka01'; play for LAL refers to tmID = 'LAL'", "team refers to tmID; MVP refers to award like '%MVP'; 1997 refers to year = 1997; NBA refers to lgID = 'NBA'", "1970 to 1980 refers to year between 1970 and 1980; longest serving coach Max(Count(coachID)); team(s) he served refers to tmID", "the 'NBA coach of the year' award refers to award = 'NBA coach of the year'; from 1971 - 1975 refers to year between 1971 and 1975; 'POR' team refers to tmID = 'POR'", "\"Denver Nuggets\" is the name of team; since 1980 refers to year > 1980; tallest player = Max(height)", "high school in Chicago refers to hsCity = 'Chicago'; belong to the west conference refers to divID = 'WE'", "from 1962 to 2011 refers to year between 1960 and 2011; received both NBA and ABA award refers to coachID where award LIKE 'NBA%' and 'ABA%'", "served more than 2 NBA teams refers to count (tmID) > = 2; least number of game lost in post season refers to Min(post_losses)" ] }
{ "query": "Among the players from the NBL league, how many of them were born in Spencer?", "pos": [ "\"NBL\" is the lgID; 'Spencer' is the birthCity" ], "neg": [ "won the most MVP refers to Max(Count(award = 'Most Valuable Player'))", "the scoring champion refers to max(won); 2001 refers to year = 2001; NBA refers to lgID = 'NBA'", "full name refers to firstName, middleName, lastName; age = subtract(2003, year(birthDate)); won the \"Finals MVP\" refers to award = 'Finals MVP'; in 2003 refers to year = 2003", "the same starting player refers to GP = GS; full name of the team refers to teams.name", "shortest player refers to Min(height); black players refers to race = 'B'", "home won than home lost more than 80% refers to Divide(Subtract(homeWon, homeLost), games) > 0.8; offense point refers to o_fgm", "the year 1990 and 2007 refers to year BETWEEN 1990 AND 2007; exceed 75% of defensive rebounds refers to Divide (dRebounds, rebounds) * 100 > 75", "player name refers to playerID; the youngest refers to max(birthDate); won \"Rookie of the Year\" refers to award = 'Rookie of the Year'", "\"AFS\" is the tmID; tallest height refers to Max(height)", "higher than 75 inch refers to height > 75" ] }
{ "query": "List the first name, last name and team name of players who are drafted from 'Seattle' between year 1965 to 1970.", "pos": [ "team name refers to teams.name; drafted from 'Seattle' refers to draftFrom = 'Seattle'; between year 1965 to 1970 refers to draftYear between 1965 and 1970" ], "neg": [ "\"Rookie of the Year\" is the award; average weight = Divide (Sum(weight), Count(playerID))", "drafted in the 1st round refers to draftRound = 1; 6th position refers to draftSelection = 6; in 1976 refers to year = 1976; team refers to tmID", "NBA refers to lgID = 'NBA'; didn't play in the playoffs refers to PostGP = 0; 2000 refers to year = 2000; the most winning rate refers to max(divide(won, add(won, lost)))", "full name refers to firstName, middleName, lastName; in 1973 refers to year = 1973; not born in USA refers to birthCountry <> 'USA'", "highest home lost rate = Max(Divide(homelost, Sum(homeWon, homeLost)))", "more than 2 different teams refers to count(tmID) > 2", "the year 1990 and 2007 refers to year BETWEEN 1990 AND 2007; exceed 75% of defensive rebounds refers to Divide (dRebounds, rebounds) * 100 > 75", "full attendance refers to GP = 82; in 1995 refers to year = 1995; the most turnovers refers to max(turnovers); full name refers to first_name, last_name", "team with winning rate less than 50% refers to Divide (won, Sum(won, lost)) < 0.5", "player name refers to playerID; the youngest refers to max(birthDate); won \"Rookie of the Year\" refers to award = 'Rookie of the Year'" ] }
{ "query": "Which player, born in Winter Haven, played 12 minutes per season during the 1980s in the All-Stars?", "pos": [ "born in Winter Haven refers to birthCity = 'Winter Haven'; during the 1980s in All-Stars refers to season_id = 1980; played in 12 minutes  per season refers to minutes = 12" ], "neg": [ "most assist refers to Max(assists); in 1985 All Star season refers to season_id = 1985", "team with winning rate less than 50% refers to Divide (won, Sum(won, lost)) < 0.5", "in 1990 refers to season_id = 1990; 50% or less of oRebounds than dRebounds refers to o_rebounds < = multiply(d_rebounds, 0.5)", "drafted in the 1st round refers to draftRound = 1; 6th position refers to draftSelection = 6; in 1976 refers to year = 1976; team refers to tmID", "Eastern conference refers to conference = 'East'; no more than 5 minutes refers to minutes < 5", "BMI = Multiply(Divide(weight, Multiply(height, height)), 703)", "NBA refers to lgID = 'NBA'; didn't play in the playoffs refers to PostGP = 0; 2000 refers to year = 2000; the most winning rate refers to max(divide(won, add(won, lost)))", "team refers to tmID; the highest point per minute refers to max(divide(points, minutes)); NBA refers to lgID = 'NBA'; from 1991 to 2000 refers to year BETWEEN 1991 AND 2000", "champion refers to round = 'F'; team name refers to teams.name; from year 1950 to 1960 refers to year between 1950 and 1960", "the scoring champion refers to max(won); 2001 refers to year = 2001; NBA refers to lgID = 'NBA'" ] }
{ "query": "Where was the high school of the player who had the most rebounds in the NBA allstar history?", "pos": [ "the most rebounds refers to max(rebounds)" ], "neg": [ "average height refers to avg(height)", "\"AFS\" is the tmID; tallest height refers to Max(height)", "more than one player refers to count(playerID) > 1; grabbed more than 600 rebounds refers to rebounds > 600; in 2011 refers to 2011; full name refers to teams.name", "beat the Huston refers to tmIDLoser = 'HSM';  in final round of post season refers to round = 'DSF'", "team with winning rate less than 50% refers to Divide (won, Sum(won, lost)) < 0.5", "from 1937 to 1940 refers to year between 1937 and 1940; player with highest point refers to Max(points)", "the Most improved Player refers to award = 'Most Improved Player'; from 1985-1990 refers to year between 1985 and 1990; country is USA refers to birthCountry = 'USA'", "completed in the Western conference refers to conference = 'West'; in season 2006 refers to season_id = 2006; total of two blocks refers to blocks = 2; nickname refers to nameNick", "coach refers to coachID; Oklahoma City Thunder refers to name = 'Oklahoma City Thunder'", "\"NBA Coach of the Year\" is the award; in 1977 refers to year = 1977; in 1976 refers to year = 1976; division refers to divisionID" ] }
{ "query": "Among the winning game from the team, what is the percentage of the winning was home game.", "pos": [ "percentage of winning at the home = Divide(homeWon, won) * 100" ], "neg": [ "Wake Forest college refers to highSchool = 'Wake Forest college'; did the most offensive rebounds than defensive rebounds refers to max(subtract(sum(oRebounds), sum(dRebounds))); full name refers to first_name, middle_name, last_name", "full name refers to firstName, middleName, lastName; in the year 1997 refers to year = 1997; the most steals refers to max(steals)", "team with winning rate less than 50% refers to Divide (won, Sum(won, lost)) < 0.5", "Auburn University refers to college = 'Auburn'; won an \"All-Defensive Second Team\" award refers to award = 'All-Defensive Second Team'; percentage = divide(count(playerID where award = 'All-Defensive Second Team'), count(playerID)) where college = 'Auburn' * 100%", "more than 2 different teams refers to count(tmID) > 2", "team refers to tmID; MVP refers to award like '%MVP'; 1997 refers to year = 1997; NBA refers to lgID = 'NBA'", "\"AFS\" is the tmID; tallest height refers to Max(height)", "average height refers to avg(height)", "2001 refers to year = 2001; rebounds leader refers to max(rebounds); birthday refers to birthDate", "\"ABA\" is the lgID; from 1972 to 1973 refers to year = 1972 and year = 1973; team with the fastest growth in winning rate = Max(Subtract(Divide(won where year = 1973, Sum(won, lost)),Divide(won where year = 1972, Sum(won, lost))))" ] }
{ "query": "Among the teams that were ranked 3 from 1937 to 1940, what is the team name whose players had the highest point?", "pos": [ "from 1937 to 1940 refers to year between 1937 and 1940; player with highest point refers to Max(points)" ], "neg": [ "name of team refers to teams.name; between 1980 and 2000 refers to year between 1980 and 2000; ranked first five or more times refers to count(rank = 1) > = 5; lost a league two or more times refers to lost > 2", "the 'NBA coach of the year' award refers to award = 'NBA coach of the year'; from 1971 - 1975 refers to year between 1971 and 1975; 'POR' team refers to tmID = 'POR'", "Auburn University refers to college = 'Auburn'; won an \"All-Defensive Second Team\" award refers to award = 'All-Defensive Second Team'; percentage = divide(count(playerID where award = 'All-Defensive Second Team'), count(playerID)) where college = 'Auburn' * 100%", "in 2010 refers to year = 2010; attended high school in Chicago refers to college = 'Chicago'", "weigh 40% less than the heaviest player refers to weight = Multiply(Max (weight), 0.6); league refers to lgID", "the latest passing refers to max(season_id); play all the positions refers to pos like '%C%' or pos like '%F%' or pos like '%G%'", "team refers to tmID; MVP refers to award like '%MVP'; 1997 refers to year = 1997; NBA refers to lgID = 'NBA'", "player name refers to playerID; the youngest refers to max(birthDate); won \"Rookie of the Year\" refers to award = 'Rookie of the Year'", "final round of post season refers to round = 'CSF'; won against LAL refers to tmIDLoser = 'LAL'; in the NBA league refers to lgID = 'NBA'; won more than 60 games refers to won > 60", "in 1969 refers to year = 1969; awarded \"NBA Coach of the Year\" refers to award = 'NBA Coach of the Year'; percentage = divide(count(coachID where year = 1969 and award = 'NBA Coach of the Year'), count(coachID)) * 100%" ] }
{ "query": "Between the years 1990 and 2007, of the total rebounds achieved by each player, how many managed to exceed 75% of defensive rebounds?", "pos": [ "the year 1990 and 2007 refers to year BETWEEN 1990 AND 2007; exceed 75% of defensive rebounds refers to Divide (dRebounds, rebounds) * 100 > 75" ], "neg": [ "average BMI refers to AVG (Multiply(Divide(weight, Multiply(height, height)), 703))", "beat the Huston refers to tmIDLoser = 'HSM';  in final round of post season refers to round = 'DSF'", "weigh 40% less than the heaviest player refers to weight = Multiply(Max (weight), 0.6); league refers to lgID", "2001 refers to year = 2001; rebounds leader refers to max(rebounds); birthday refers to birthDate", "in 2010 refers to year = 2010; attended high school in Chicago refers to college = 'Chicago'", "team refers to tmID; the highest point per minute refers to max(divide(points, minutes)); NBA refers to lgID = 'NBA'; from 1991 to 2000 refers to year BETWEEN 1991 AND 2000", "Eastern conference refers to conference = 'East'; no more than 5 minutes refers to minutes < 5", "played more than 3800 points refers to Sum(points) > = 3800", "name of the university refers to highSchool; NBA refers to lgID = 'NBA'; Finals MVP refers to award = 'Finals MVP'; in 1990 refers to year = 1990", "\"NBL\" is the lgID; 'Spencer' is the birthCity" ] }
{ "query": "How many times between 1975 and 1980 did the player abdulka01 play for LAL?", "pos": [ "between 1975 and 1980 refers to year between 1975 and 1980; player abdulka01 refers to playerID = 'abdulka01'; play for LAL refers to tmID = 'LAL'" ], "neg": [ "in 2010 refers to year = 2010; attended high school in Chicago refers to college = 'Chicago'", "2001 refers to year = 2001; rebounds leader refers to max(rebounds); birthday refers to birthDate", "1970 to 1980 refers to year between 1970 and 1980; longest serving coach Max(Count(coachID)); team(s) he served refers to tmID", "born in Winter Haven refers to birthCity = 'Winter Haven'; during the 1980s in All-Stars refers to season_id = 1980; played in 12 minutes  per season refers to minutes = 12", "full name of the team refers to teams.name; in 2001 refers to year = 2001; didn't make the playoffs refers to PostGP = 0; won the most games refers to max(won)", "in 1997 refers to year = 1997; the most rebounds refers to max(rebounds); team id refers to tmID", "average BMI refers to AVG (Multiply(Divide(weight, Multiply(height, height)), 703))", "team with winning rate less than 50% refers to Divide (won, Sum(won, lost)) < 0.5", "in 1998 refers to year = 1998; 1st round refers to draftRound = 1; 12th pick refers to draftSelection = 12; home win refers to homeWon", "full name refers to firstName, middleName, lastName; in the year 1997 refers to year = 1997; the most steals refers to max(steals)" ] }
{ "query": "What are the basketball players' BMI ranges?", "pos": [ "BMI = Multiply(Divide(weight, Multiply(height, height)), 703)" ], "neg": [ "team with 90% games won refers to Divide (won, games) > 0.9", "in year 2000 refers to year = 2000; percentage = divide(sum(o_rebounds), sum(rebounds)) * 100%", "full name of the team refers to teams.name; in 2001 refers to year = 2001; didn't make the playoffs refers to PostGP = 0; won the most games refers to max(won)", "\"ABA\" is the lgID; from 1972 to 1973 refers to year = 1972 and year = 1973; team with the fastest growth in winning rate = Max(Subtract(Divide(won where year = 1973, Sum(won, lost)),Divide(won where year = 1972, Sum(won, lost))))", "home won than home lost more than 80% refers to Divide(Subtract(homeWon, homeLost), games) > 0.8; offense point refers to o_fgm", "between 1975 and 1980 refers to year between 1975 and 1980; player abdulka01 refers to playerID = 'abdulka01'; play for LAL refers to tmID = 'LAL'", "NBA refers to lgID = 'NBA'; in 1996 season refers to season_id = 1996; more than 70% free throw rate refers to ft_made > = 0 AND ft_attempted > 0 AND divide(ft_made, ft_attempted) > 0.7", "in 1998 refers to year = 1998; 1st round refers to draftRound = 1; 12th pick refers to draftSelection = 12; home win refers to homeWon", "full name refers to firstName, middleName, lastName; in the year 1997 refers to year = 1997; the most steals refers to max(steals)", "year 1990-1995 refers to year between 1990 and 1995; 'adelmri01' is the coachID; offense point refers to o_fgm" ] }
{ "query": "How many percent of points were scored by NBA players who belonged to 'LAL' team and had performed steals movement.", "pos": [ "NBA refers to lgID = 'NBA'; 'LAL' team refers to tmID = 'LAL'; performed steals movement refers to steals > 0; percent = divide(count(playerID where steals > 0), count(playerID)) where lgID = 'NBA' and tmID = 'LAL' * 100%" ], "neg": [ "drafted in the 1st round refers to draftRound = 1; 6th position refers to draftSelection = 6; in 1976 refers to year = 1976; team refers to tmID", "shortest player refers to Min(height); black players refers to race = 'B'", "\"UCLA\" is the college; team with most players refers to tmID where Max(Count(playerID))", "Eastern conference refers to conference = 'East'; no more than 5 minutes refers to minutes < 5", "\"NBL\" is the lgID; 'Spencer' is the birthCity", "\"NBA Coach of the Year\" is the award; in 1977 refers to year = 1977; in 1976 refers to year = 1976; division refers to divisionID", "player name refers to playerID; the youngest refers to max(birthDate); won \"Rookie of the Year\" refers to award = 'Rookie of the Year'", "more than 2 different teams refers to count(tmID) > 2", "Most Valuable Player award refers to award = 'Most Valuable Player'; from 1969 to 1975 refers to year between 1969 and 1975", "team name refers to teams.name; drafted from 'Seattle' refers to draftFrom = 'Seattle'; between year 1965 to 1970 refers to draftYear between 1965 and 1970" ] }
{ "query": "What is the average weight of the players who have won the award of Rookie of the year?", "pos": [ "\"Rookie of the Year\" is the award; average weight = Divide (Sum(weight), Count(playerID))" ], "neg": [ "\"ABA Coach of the Year\" is the award; highest number of won games refers to Max(Count(won))", "\"All-Defensive First Team\" is the award; ' NY' is the birthState; 1980 to 2000 refers to year between 1980 and 2000; percentage = Divide (Count(playerID where birthState = 'NY'), Count(playerID)) * 100", "BMI = Multiply(Divide(weight, Multiply(height, height)), 703)", "in 1997 refers to year = 1997; the most rebounds refers to max(rebounds); team id refers to tmID", "played more than 3800 points refers to Sum(points) > = 3800", "team with winning rate less than 50% refers to Divide (won, Sum(won, lost)) < 0.5", "more than 2 different teams refers to count(tmID) > 2", "2005 refers to year = 2005 ; previous year refers to year = 2004; team with greater winning than previous year refers to Won where year = 2005 > Won where year = 2004; team name refers to tmID", "full name refers to firstName, middleName, lastName; age = subtract(2003, year(birthDate)); won the \"Finals MVP\" refers to award = 'Finals MVP'; in 2003 refers to year = 2003", "between 1951 and 1953 refers to season_id; field goal refers to fg_made" ] }
{ "query": "What is the full name of the team that selected Mike Lynn?", "pos": [ "full name refers to teams.name" ], "neg": [ "\"ABA Coach of the Year\" is the award; highest number of won games refers to Max(Count(won))", "average height refers to avg(height)", "Eastern conference refers to conference = 'East'; no more than 5 minutes refers to minutes < 5", "weigh 40% less than the heaviest player refers to weight = Multiply(Max (weight), 0.6); league refers to lgID", "the most rebounds refers to max(rebounds)", "drafted in the 1st round refers to draftRound = 1; 6th position refers to draftSelection = 6; in 1976 refers to year = 1976; team refers to tmID", "in 1997 refers to year = 1997; the most rebounds refers to max(rebounds); team id refers to tmID", "No.1 draft pick refers to draftRound = 1; in the 2003 season refers to draftyear = 2003; increase = subtract(divide(sum(won), add(sum(won), sum(lost))) where draftyear = 2004, divide(sum(won), add(sum(won), sum(lost))) where draftyear = 2003)", "\"Rookie of the Year\" is the award; average weight = Divide (Sum(weight), Count(playerID))", "Most Valuable Player award refers to award = 'Most Valuable Player'; from 1969 to 1975 refers to year between 1969 and 1975" ] }
{ "query": "How many games did team of the scoring champion win in 2001 NBA season?", "pos": [ "the scoring champion refers to max(won); 2001 refers to year = 2001; NBA refers to lgID = 'NBA'" ], "neg": [ "team name refers to teams.name; won the title 'NBA Coach of the Year' refers to award = 'NBA Coach of the Year'; in 2010 refers to year = 2010", "Most Valuable Player award refers to award = 'Most Valuable Player'; from 1969 to 1975 refers to year between 1969 and 1975", "name of team refers to teams.name; between 1980 and 2000 refers to year between 1980 and 2000; ranked first five or more times refers to count(rank = 1) > = 5; lost a league two or more times refers to lost > 2", "1970 to 1980 refers to year between 1970 and 1980; longest serving coach Max(Count(coachID)); team(s) he served refers to tmID", "BMI = Multiply(Divide(weight, Multiply(height, height)), 703)", "the same starting player refers to GP = GS; full name of the team refers to teams.name", "in 1937 refers to year = 1937; player got at least 500 points refers to Sum(points) > = 500", "full name refers to firstName, middleName, lastName; in 1973 refers to year = 1973; not born in USA refers to birthCountry <> 'USA'", "\"NBA Coach of the Year\" is the award; in 1977 refers to year = 1977; in 1976 refers to year = 1976; division refers to divisionID", "player name refers to playerID; the youngest refers to max(birthDate); won \"Rookie of the Year\" refers to award = 'Rookie of the Year'" ] }
{ "query": "Among players who were born after 1950, who had offence rebounds rates more than 30%? Please list their last names and first names.", "pos": [ "born after 1950 refers to birthDate > = '1950-01-01'; offence rebound rate more than 30% refers to Divide (oRebounds, rebounds) > 0.3" ], "neg": [ "2005 refers to year = 2005 ; previous year refers to year = 2004; team with greater winning than previous year refers to Won where year = 2005 > Won where year = 2004; team name refers to tmID", "in 2000 refers to year = 2000; played the least minutes refers to min(minutes); without missing a single game refers to GP = 82; full name of the team refers to teams.name", "1973 season refers to season_id = 1973; black refers to race = 'B'", "more than one player refers to count(playerID) > 1; grabbed more than 600 rebounds refers to rebounds > 600; in 2011 refers to 2011; full name refers to teams.name", "the 'NBA coach of the year' award refers to award = 'NBA coach of the year'; from 1971 - 1975 refers to year between 1971 and 1975; 'POR' team refers to tmID = 'POR'", "1970 to 1980 refers to year between 1970 and 1980; longest serving coach Max(Count(coachID)); team(s) he served refers to tmID", "Auburn University refers to college = 'Auburn'; won an \"All-Defensive Second Team\" award refers to award = 'All-Defensive Second Team'; percentage = divide(count(playerID where award = 'All-Defensive Second Team'), count(playerID)) where college = 'Auburn' * 100%", "drafted in the 1st round refers to draftRound = 1; 6th position refers to draftSelection = 6; in 1976 refers to year = 1976; team refers to tmID", "college refers to highSchool; won the most award refers to max(count(award)); in 1970 refers to year = 1970", "the latest passing refers to max(season_id); play all the positions refers to pos like '%C%' or pos like '%F%' or pos like '%G%'" ] }
{ "query": "List the full name and age of the player when he won the \"Finals MVP\" in 2003.", "pos": [ "full name refers to firstName, middleName, lastName; age = subtract(2003, year(birthDate)); won the \"Finals MVP\" refers to award = 'Finals MVP'; in 2003 refers to year = 2003" ], "neg": [ "\"All-Defensive First Team\" is the award; ' NY' is the birthState; 1980 to 2000 refers to year between 1980 and 2000; percentage = Divide (Count(playerID where birthState = 'NY'), Count(playerID)) * 100", "in 1997 refers to year = 1997; the most rebounds refers to max(rebounds); team id refers to tmID", "\"Chicago Bull\" is the name of team; during the year 1981 refers to year = 1981; 'NBA Coach of the Year' is the award; in the 1970s refers to year between 1970 to 1979", "full attendance refers to GP = 82; in 1995 refers to year = 1995; the most turnovers refers to max(turnovers); full name refers to first_name, last_name", "the year 1990 and 2007 refers to year BETWEEN 1990 AND 2007; exceed 75% of defensive rebounds refers to Divide (dRebounds, rebounds) * 100 > 75", "name of team refers to teams.name; between 1980 and 2000 refers to year between 1980 and 2000; ranked first five or more times refers to count(rank = 1) > = 5; lost a league two or more times refers to lost > 2", "year 1990-1995 refers to year between 1990 and 1995; 'adelmri01' is the coachID; offense point refers to o_fgm", "\"NBA Coach of the Year\" is the award; in 1977 refers to year = 1977; in 1976 refers to year = 1976; division refers to divisionID", "college refers to highSchool; won the most award refers to max(count(award)); in 1970 refers to year = 1970", "team refers to tmID; MVP refers to award like '%MVP'; 1997 refers to year = 1997; NBA refers to lgID = 'NBA'" ] }
{ "query": "Which team(s) had 90% games won. List the coach ID for the team and year played.", "pos": [ "team with 90% games won refers to Divide (won, games) > 0.9" ], "neg": [ "more than one player refers to count(playerID) > 1; grabbed more than 600 rebounds refers to rebounds > 600; in 2011 refers to 2011; full name refers to teams.name", "the most turnovers refers to max(turnovers); missed the playoffs refers to PostGP = 0; in year 1988 refers to year = 1988", "name of team refers to teams.name; between 1980 and 2000 refers to year between 1980 and 2000; ranked first five or more times refers to count(rank = 1) > = 5; lost a league two or more times refers to lost > 2", "full name refers to teams.name", "more than 2 different teams refers to count(tmID) > 2", "the most rebounds refers to max(rebounds)", "team refers to tmID; the highest point per minute refers to max(divide(points, minutes)); NBA refers to lgID = 'NBA'; from 1991 to 2000 refers to year BETWEEN 1991 AND 2000", "born after 1950 refers to birthDate > = '1950-01-01'; offence rebound rate more than 30% refers to Divide (oRebounds, rebounds) > 0.3", "2001 refers to year = 2001; rebounds leader refers to max(rebounds); birthday refers to birthDate", "percentage of winning at the home = Divide(homeWon, won) * 100" ] }
{ "query": "How many teams have played more than 3800 points and have player with \"Most Valuable Player\" award?", "pos": [ "played more than 3800 points refers to Sum(points) > = 3800" ], "neg": [ "completed in the Western conference refers to conference = 'West'; in season 2006 refers to season_id = 2006; total of two blocks refers to blocks = 2; nickname refers to nameNick", "most assist refers to Max(assists); in 1985 All Star season refers to season_id = 1985", "born after 1950 refers to birthDate > = '1950-01-01'; offence rebound rate more than 30% refers to Divide (oRebounds, rebounds) > 0.3", "full name refers to firstName, middleName, lastName; in the year 1997 refers to year = 1997; the most steals refers to max(steals)", "in 1997 refers to year = 1997; the most rebounds refers to max(rebounds); team id refers to tmID", "team refers to tmID; MVP refers to award like '%MVP'; 1997 refers to year = 1997; NBA refers to lgID = 'NBA'", "team refers to tmID; quarterfinal refers to round = 'QF'; score 3,513 defensive points refers to d_pts > = 3513", "player refers to playerID; the most game presentations refers to max(GP); in 2020 refers to year = 2020; NBA season refers to lgID = 'NBA'", "player name refers to playerID; the youngest refers to max(birthDate); won \"Rookie of the Year\" refers to award = 'Rookie of the Year'", "the same starting player refers to GP = GS; full name of the team refers to teams.name" ] }
{ "query": "What is the full name of the team that has the most players from UCLA?", "pos": [ "\"UCLA\" is the college; team with most players refers to tmID where Max(Count(playerID))" ], "neg": [ "in 1997 refers to year = 1997; the most rebounds refers to max(rebounds); team id refers to tmID", "in 2010 refers to year = 2010; attended high school in Chicago refers to college = 'Chicago'", "born in Winter Haven refers to birthCity = 'Winter Haven'; during the 1980s in All-Stars refers to season_id = 1980; played in 12 minutes  per season refers to minutes = 12", "team name refers to teams.name; won the title 'NBA Coach of the Year' refers to award = 'NBA Coach of the Year'; in 2010 refers to year = 2010", "average BMI refers to AVG (Multiply(Divide(weight, Multiply(height, height)), 703))", "the Most improved Player refers to award = 'Most Improved Player'; from 1985-1990 refers to year between 1985 and 1990; country is USA refers to birthCountry = 'USA'", "NBA refers to lgID = 'NBA'; in 1996 season refers to season_id = 1996; more than 70% free throw rate refers to ft_made > = 0 AND ft_attempted > 0 AND divide(ft_made, ft_attempted) > 0.7", "full attendance refers to GP = 82; in 1995 refers to year = 1995; the most turnovers refers to max(turnovers); full name refers to first_name, last_name", "\"ABA\" is the lgID; from 1972 to 1973 refers to year = 1972 and year = 1973; team with the fastest growth in winning rate = Max(Subtract(Divide(won where year = 1973, Sum(won, lost)),Divide(won where year = 1972, Sum(won, lost))))", "shortest player refers to Min(height); black players refers to race = 'B'" ] }
{ "query": "Please list the top three shortest black players.", "pos": [ "shortest player refers to Min(height); black players refers to race = 'B'" ], "neg": [ "\"BLB\" is the tmID", "born after 1950 refers to birthDate > = '1950-01-01'; offence rebound rate more than 30% refers to Divide (oRebounds, rebounds) > 0.3", "\"Denver Nuggets\" is the name of team; since 1980 refers to year > 1980; tallest player = Max(height)", "in 1998 refers to year = 1998; 1st round refers to draftRound = 1; 12th pick refers to draftSelection = 12; home win refers to homeWon", "the same starting player refers to GP = GS; full name of the team refers to teams.name", "born in Winter Haven refers to birthCity = 'Winter Haven'; during the 1980s in All-Stars refers to season_id = 1980; played in 12 minutes  per season refers to minutes = 12", "player name refers to playerID; the youngest refers to max(birthDate); won \"Rookie of the Year\" refers to award = 'Rookie of the Year'", "in year 2000 refers to year = 2000; percentage = divide(sum(o_rebounds), sum(rebounds)) * 100%", "player refers to playerID; the most game presentations refers to max(GP); in 2020 refers to year = 2020; NBA season refers to lgID = 'NBA'", "weigh 40% less than the heaviest player refers to weight = Multiply(Max (weight), 0.6); league refers to lgID" ] }
{ "query": "Which player from Wake Forest college did the most offensive rebounds than defensive rebounds in the all-star? Please mention the full name of the player including the middle name if have any.", "pos": [ "Wake Forest college refers to highSchool = 'Wake Forest college'; did the most offensive rebounds than defensive rebounds refers to max(subtract(sum(oRebounds), sum(dRebounds))); full name refers to first_name, middle_name, last_name" ], "neg": [ "didn't play in playoffs refers to PostGP = 0; in the year 1997 refers to year = 1997; the most total rebounds refers to max(o_tmRebound)", "NBA refers to lgID = 'NBA'; didn't play in the playoffs refers to PostGP = 0; 2000 refers to year = 2000; the most winning rate refers to max(divide(won, add(won, lost)))", "weigh 40% less than the heaviest player refers to weight = Multiply(Max (weight), 0.6); league refers to lgID", "\"AFS\" is the tmID; tallest height refers to Max(height)", "more than 2 different teams refers to count(tmID) > 2", "highest home lost rate = Max(Divide(homelost, Sum(homeWon, homeLost)))", "1973 season refers to season_id = 1973; black refers to race = 'B'", "the Most improved Player refers to award = 'Most Improved Player'; from 1985-1990 refers to year between 1985 and 1990; country is USA refers to birthCountry = 'USA'", "NBA refers to lgID = 'NBA'; in 1996 season refers to season_id = 1996; more than 70% free throw rate refers to ft_made > = 0 AND ft_attempted > 0 AND divide(ft_made, ft_attempted) > 0.7", "full name refers to firstName, middleName, lastName; in 1973 refers to year = 1973; not born in USA refers to birthCountry <> 'USA'" ] }
{ "query": "What is the percentage of player who won \"All-Defensive First Team\" from 1980 - 2000 is from 'NY'.", "pos": [ "\"All-Defensive First Team\" is the award; ' NY' is the birthState; 1980 to 2000 refers to year between 1980 and 2000; percentage = Divide (Count(playerID where birthState = 'NY'), Count(playerID)) * 100" ], "neg": [ "name of the university refers to highSchool; NBA refers to lgID = 'NBA'; Finals MVP refers to award = 'Finals MVP'; in 1990 refers to year = 1990", "\"Chicago Bull\" is the name of team; during the year 1981 refers to year = 1981; 'NBA Coach of the Year' is the award; in the 1970s refers to year between 1970 to 1979", "played more than 3800 points refers to Sum(points) > = 3800", "coach refers to coachID; Oklahoma City Thunder refers to name = 'Oklahoma City Thunder'", "name of team refers to teams.name; between 1980 and 2000 refers to year between 1980 and 2000; ranked first five or more times refers to count(rank = 1) > = 5; lost a league two or more times refers to lost > 2", "team name refers to teams.name; won the title 'NBA Coach of the Year' refers to award = 'NBA Coach of the Year'; in 2010 refers to year = 2010", "\"NBA\" is the lgID; server more than 2 teams refers to Count(tmID) = 2", "team name refers to teams.name; drafted from 'Seattle' refers to draftFrom = 'Seattle'; between year 1965 to 1970 refers to draftYear between 1965 and 1970", "in 1997 refers to year = 1997; the most rebounds refers to max(rebounds); team id refers to tmID", "NBA refers to lgID = 'NBA'; didn't play in the playoffs refers to PostGP = 0; 2000 refers to year = 2000; the most winning rate refers to max(divide(won, add(won, lost)))" ] }
{ "query": "Among the coaches who won the 'ABA Coach of the Year' award, which is the coach with the highest number of won games?", "pos": [ "\"ABA Coach of the Year\" is the award; highest number of won games refers to Max(Count(won))" ], "neg": [ "highest home lost rate = Max(Divide(homelost, Sum(homeWon, homeLost)))", "\"Denver Nuggets\" is the name of team; since 1980 refers to year > 1980; tallest player = Max(height)", "Eastern conference refers to conference = 'East'; no more than 5 minutes refers to minutes < 5", "from 1960 to 1970 refers to season_id between 1960 and 1970; still alive refers to deathDate = '0000-00-00'", "more than one player refers to count(playerID) > 1; grabbed more than 600 rebounds refers to rebounds > 600; in 2011 refers to 2011; full name refers to teams.name", "\"Chicago Bull\" is the name of team; during the year 1981 refers to year = 1981; 'NBA Coach of the Year' is the award; in the 1970s refers to year between 1970 to 1979", "the latest passing refers to max(season_id); play all the positions refers to pos like '%C%' or pos like '%F%' or pos like '%G%'", "more than 50 games won refers to won > 50", "full name refers to firstName, middleName, lastName; in 1973 refers to year = 1973; not born in USA refers to birthCountry <> 'USA'", "in year '1988' refers to year = 1988; the most 'won' than 'lost' refers to max(subtract(won, lost))" ] }
{ "query": "List out all the coach ID who have served more than 2 different teams.", "pos": [ "more than 2 different teams refers to count(tmID) > 2" ], "neg": [ "the latest passing refers to max(season_id); play all the positions refers to pos like '%C%' or pos like '%F%' or pos like '%G%'", "most assist refers to Max(assists); in 1985 All Star season refers to season_id = 1985", "the most rebounds refers to max(rebounds)", "from 1962 to 2011 refers to year between 1960 and 2011; received both NBA and ABA award refers to coachID where award LIKE 'NBA%' and 'ABA%'", "team refers to tmID; MVP refers to award like '%MVP'; 1997 refers to year = 1997; NBA refers to lgID = 'NBA'", "full name refers to firstName, middleName, lastName; in the year 1997 refers to year = 1997; the most steals refers to max(steals)", "\"Chicago Bull\" is the name of team; during the year 1981 refers to year = 1981; 'NBA Coach of the Year' is the award; in the 1970s refers to year between 1970 to 1979", "Auburn University refers to college = 'Auburn'; won an \"All-Defensive Second Team\" award refers to award = 'All-Defensive Second Team'; percentage = divide(count(playerID where award = 'All-Defensive Second Team'), count(playerID)) where college = 'Auburn' * 100%", "won the most MVP refers to Max(Count(award = 'Most Valuable Player'))", "Eastern conference refers to conference = 'East'; no more than 5 minutes refers to minutes < 5" ] }
{ "query": "How many players, in games played in 1990, achieved 50% or less of oRebounds than dRebounds.", "pos": [ "in 1990 refers to season_id = 1990; 50% or less of oRebounds than dRebounds refers to o_rebounds < = multiply(d_rebounds, 0.5)" ], "neg": [ "\"NBA Coach of the Year\" is the award; in 1977 refers to year = 1977; in 1976 refers to year = 1976; division refers to divisionID", "high school in Chicago refers to hsCity = 'Chicago'; belong to the west conference refers to divID = 'WE'", "full name refers to teams.name", "weigh 40% less than the heaviest player refers to weight = Multiply(Max (weight), 0.6); league refers to lgID", "player name refers to playerID; the youngest refers to max(birthDate); won \"Rookie of the Year\" refers to award = 'Rookie of the Year'", "\"Rookie of the Year\" is the award; average weight = Divide (Sum(weight), Count(playerID))", "beat the Huston refers to tmIDLoser = 'HSM';  in final round of post season refers to round = 'DSF'", "full name of the team refers to teams.name; in 2001 refers to year = 2001; didn't make the playoffs refers to PostGP = 0; won the most games refers to max(won)", "\"NBL\" is the lgID; 'Spencer' is the birthCity", "full name refers to firstName, middleName, lastName; in 1973 refers to year = 1973; not born in USA refers to birthCountry <> 'USA'" ] }
{ "query": "Give the player id of the man who had the most turnovers whose team missed the playoffs in year 1988.", "pos": [ "the most turnovers refers to max(turnovers); missed the playoffs refers to PostGP = 0; in year 1988 refers to year = 1988" ], "neg": [ "team name refers to teams.name; drafted from 'Seattle' refers to draftFrom = 'Seattle'; between year 1965 to 1970 refers to draftYear between 1965 and 1970", "full name refers to firstName, middleName, lastName; age = subtract(2003, year(birthDate)); won the \"Finals MVP\" refers to award = 'Finals MVP'; in 2003 refers to year = 2003", "the same starting player refers to GP = GS; full name of the team refers to teams.name", "from 1962 to 2011 refers to year between 1960 and 2011; received both NBA and ABA award refers to coachID where award LIKE 'NBA%' and 'ABA%'", "player name refers to playerID; the youngest refers to max(birthDate); won \"Rookie of the Year\" refers to award = 'Rookie of the Year'", "highest home lost rate = Max(Divide(homelost, Sum(homeWon, homeLost)))", "1970 to 1980 refers to year between 1970 and 1980; longest serving coach Max(Count(coachID)); team(s) he served refers to tmID", "won the most MVP refers to Max(Count(award = 'Most Valuable Player'))", "2001 refers to year = 2001; rebounds leader refers to max(rebounds); birthday refers to birthDate", "1973 season refers to season_id = 1973; black refers to race = 'B'" ] }
{ "query": "Who is the longest serving coach from year 1970 to 1980. List the coach ID and the team(s) he served.", "pos": [ "1970 to 1980 refers to year between 1970 and 1980; longest serving coach Max(Count(coachID)); team(s) he served refers to tmID" ], "neg": [ "between 1975 and 1980 refers to year between 1975 and 1980; player abdulka01 refers to playerID = 'abdulka01'; play for LAL refers to tmID = 'LAL'", "Most Valuable Player award refers to award = 'Most Valuable Player'; from 1969 to 1975 refers to year between 1969 and 1975", "year 1990-1995 refers to year between 1990 and 1995; 'adelmri01' is the coachID; offense point refers to o_fgm", "\"AFS\" is the tmID; tallest height refers to Max(height)", "BMI = Multiply(Divide(weight, Multiply(height, height)), 703)", "full attendance refers to GP = 82; in 1995 refers to year = 1995; the most turnovers refers to max(turnovers); full name refers to first_name, last_name", "team refers to tmID; the highest point per minute refers to max(divide(points, minutes)); NBA refers to lgID = 'NBA'; from 1991 to 2000 refers to year BETWEEN 1991 AND 2000", "the most turnovers refers to max(turnovers); missed the playoffs refers to PostGP = 0; in year 1988 refers to year = 1988", "\"BLB\" is the tmID", "minimum weight refers to Min(weight)" ] }
{ "query": "Which NBA team that didn't play in playoffs had the most winning rate in the 2000 NBA regular season?", "pos": [ "NBA refers to lgID = 'NBA'; didn't play in the playoffs refers to PostGP = 0; 2000 refers to year = 2000; the most winning rate refers to max(divide(won, add(won, lost)))" ], "neg": [ "Wake Forest college refers to highSchool = 'Wake Forest college'; did the most offensive rebounds than defensive rebounds refers to max(subtract(sum(oRebounds), sum(dRebounds))); full name refers to first_name, middle_name, last_name", "\"NBA\" is the lgID; server more than 2 teams refers to Count(tmID) = 2", "didn't play in playoffs refers to PostGP = 0; in the year 1997 refers to year = 1997; the most total rebounds refers to max(o_tmRebound)", "Eastern conference refers to conference = 'East'; no more than 5 minutes refers to minutes < 5", "average height refers to avg(height)", "full name refers to firstName, middleName, lastName; age = subtract(2003, year(birthDate)); won the \"Finals MVP\" refers to award = 'Finals MVP'; in 2003 refers to year = 2003", "from 1960 to 1970 refers to season_id between 1960 and 1970; still alive refers to deathDate = '0000-00-00'", "weigh 40% less than the heaviest player refers to weight = Multiply(Max (weight), 0.6); league refers to lgID", "\"All-Defensive First Team\" is the award; ' NY' is the birthState; 1980 to 2000 refers to year between 1980 and 2000; percentage = Divide (Count(playerID where birthState = 'NY'), Count(playerID)) * 100", "the most rebounds refers to max(rebounds)" ] }
{ "query": "Among the players who went to high school in Chicago, how many of them belongs to the west conference?", "pos": [ "high school in Chicago refers to hsCity = 'Chicago'; belong to the west conference refers to divID = 'WE'" ], "neg": [ "from 1962 to 2011 refers to year between 1960 and 2011; received both NBA and ABA award refers to coachID where award LIKE 'NBA%' and 'ABA%'", "full name refers to firstName, middleName, lastName; age = subtract(2003, year(birthDate)); won the \"Finals MVP\" refers to award = 'Finals MVP'; in 2003 refers to year = 2003", "higher than 75 inch refers to height > 75", "home won than home lost more than 80% refers to Divide(Subtract(homeWon, homeLost), games) > 0.8; offense point refers to o_fgm", "average BMI refers to AVG (Multiply(Divide(weight, Multiply(height, height)), 703))", "in 1969 refers to year = 1969; awarded \"NBA Coach of the Year\" refers to award = 'NBA Coach of the Year'; percentage = divide(count(coachID where year = 1969 and award = 'NBA Coach of the Year'), count(coachID)) * 100%", "percentage of winning at the home = Divide(homeWon, won) * 100", "completed in the Western conference refers to conference = 'West'; in season 2006 refers to season_id = 2006; total of two blocks refers to blocks = 2; nickname refers to nameNick", "in 2010 refers to year = 2010; attended high school in Chicago refers to college = 'Chicago'", "\"UCLA\" is the college; team with most players refers to tmID where Max(Count(playerID))" ] }
{ "query": "Which team had more than one player who grabbed more than 600 rebounds in 2011? Give the full name of the team.", "pos": [ "more than one player refers to count(playerID) > 1; grabbed more than 600 rebounds refers to rebounds > 600; in 2011 refers to 2011; full name refers to teams.name" ], "neg": [ "in year '1988' refers to year = 1988; the most 'won' than 'lost' refers to max(subtract(won, lost))", "higher than 75 inch refers to height > 75", "in 1973 refers to year = 1973; player with highest field goal made refers to Max(Divide(fgMade, fgAttempted))", "\"AFS\" is the tmID; tallest height refers to Max(height)", "played more than 3800 points refers to Sum(points) > = 3800", "\"NBA Coach of the Year\" is the award; in 1977 refers to year = 1977; in 1976 refers to year = 1976; division refers to divisionID", "the most turnovers refers to max(turnovers); missed the playoffs refers to PostGP = 0; in year 1988 refers to year = 1988", "2005 refers to year = 2005 ; previous year refers to year = 2004; team with greater winning than previous year refers to Won where year = 2005 > Won where year = 2004; team name refers to tmID", "from 1962 to 2011 refers to year between 1960 and 2011; received both NBA and ABA award refers to coachID where award LIKE 'NBA%' and 'ABA%'", "between 1975 and 1980 refers to year between 1975 and 1980; player abdulka01 refers to playerID = 'abdulka01'; play for LAL refers to tmID = 'LAL'" ] }
{ "query": "Of all the All-star players who played in the Eastern Conference for no more than 5 minutes, how many went to Illinois College?", "pos": [ "Eastern conference refers to conference = 'East'; no more than 5 minutes refers to minutes < 5" ], "neg": [ "\"AFS\" is the tmID; tallest height refers to Max(height)", "won the most MVP refers to Max(Count(award = 'Most Valuable Player'))", "team with 90% games won refers to Divide (won, games) > 0.9", "the scoring champion refers to max(won); 2001 refers to year = 2001; NBA refers to lgID = 'NBA'", "\"BLB\" is the tmID", "team name refers to teams.name; drafted from 'Seattle' refers to draftFrom = 'Seattle'; between year 1965 to 1970 refers to draftYear between 1965 and 1970", "full name refers to teams.name", "in 1973 refers to year = 1973; player with highest field goal made refers to Max(Divide(fgMade, fgAttempted))", "played more than 3800 points refers to Sum(points) > = 3800", "\"Denver Nuggets\" is the name of team; since 1980 refers to year > 1980; tallest player = Max(height)" ] }
{ "query": "For the latest passing player who could play all the positions in the court, how many points did he have in his career?", "pos": [ "the latest passing refers to max(season_id); play all the positions refers to pos like '%C%' or pos like '%F%' or pos like '%G%'" ], "neg": [ "Most Valuable Player award refers to award = 'Most Valuable Player'; from 1969 to 1975 refers to year between 1969 and 1975", "Eastern conference refers to conference = 'East'; no more than 5 minutes refers to minutes < 5", "between 1951 and 1953 refers to season_id; field goal refers to fg_made", "the most rebounds refers to max(rebounds)", "full attendance refers to GP = 82; in 1995 refers to year = 1995; the most turnovers refers to max(turnovers); full name refers to first_name, last_name", "the same starting player refers to GP = GS; full name of the team refers to teams.name", "most assist refers to Max(assists); in 1985 All Star season refers to season_id = 1985", "the most turnovers refers to max(turnovers); missed the playoffs refers to PostGP = 0; in year 1988 refers to year = 1988", "NBA refers to lgID = 'NBA'; didn't play in the playoffs refers to PostGP = 0; 2000 refers to year = 2000; the most winning rate refers to max(divide(won, add(won, lost)))", "Wake Forest college refers to highSchool = 'Wake Forest college'; did the most offensive rebounds than defensive rebounds refers to max(subtract(sum(oRebounds), sum(dRebounds))); full name refers to first_name, middle_name, last_name" ] }
{ "query": "Which teams have winning rate less than 50%?", "pos": [ "team with winning rate less than 50% refers to Divide (won, Sum(won, lost)) < 0.5" ], "neg": [ "highest home lost rate = Max(Divide(homelost, Sum(homeWon, homeLost)))", "\"BLB\" is the tmID", "champion refers to round = 'F'; team name refers to teams.name; from year 1950 to 1960 refers to year between 1950 and 1960", "full attendance refers to GP = 82; in 1995 refers to year = 1995; the most turnovers refers to max(turnovers); full name refers to first_name, last_name", "born after 1950 refers to birthDate > = '1950-01-01'; offence rebound rate more than 30% refers to Divide (oRebounds, rebounds) > 0.3", "more than 50 games won refers to won > 50", "full name refers to firstName, middleName, lastName; age = subtract(2003, year(birthDate)); won the \"Finals MVP\" refers to award = 'Finals MVP'; in 2003 refers to year = 2003", "minimum weight refers to Min(weight)", "won the most MVP refers to Max(Count(award = 'Most Valuable Player'))", "team name refers to teams.name; won the title 'NBA Coach of the Year' refers to award = 'NBA Coach of the Year'; in 2010 refers to year = 2010" ] }
{ "query": "For the 2001 rebounds leader in the league, when was his birthday?", "pos": [ "2001 refers to year = 2001; rebounds leader refers to max(rebounds); birthday refers to birthDate" ], "neg": [ "the most turnovers refers to max(turnovers); missed the playoffs refers to PostGP = 0; in year 1988 refers to year = 1988", "percentage of winning at the home = Divide(homeWon, won) * 100", "team with winning rate less than 50% refers to Divide (won, Sum(won, lost)) < 0.5", "full name refers to firstName, middleName, lastName; in the year 1997 refers to year = 1997; the most steals refers to max(steals)", "the latest passing refers to max(season_id); play all the positions refers to pos like '%C%' or pos like '%F%' or pos like '%G%'", "home won than home lost more than 80% refers to Divide(Subtract(homeWon, homeLost), games) > 0.8; offense point refers to o_fgm", "college refers to highSchool; won the most award refers to max(count(award)); in 1970 refers to year = 1970", "didn't play in playoffs refers to PostGP = 0; in the year 1997 refers to year = 1997; the most total rebounds refers to max(o_tmRebound)", "\"Chicago Bull\" is the name of team; during the year 1981 refers to year = 1981; 'NBA Coach of the Year' is the award; in the 1970s refers to year between 1970 to 1979", "average height refers to avg(height)" ] }
{ "query": "Which are the teams coached by 'adelmri01' from year 1990-1995. List the team name, year and offense point.", "pos": [ "year 1990-1995 refers to year between 1990 and 1995; 'adelmri01' is the coachID; offense point refers to o_fgm" ], "neg": [ "2005 refers to year = 2005 ; previous year refers to year = 2004; team with greater winning than previous year refers to Won where year = 2005 > Won where year = 2004; team name refers to tmID", "\"ABA\" is the lgID; from 1972 to 1973 refers to year = 1972 and year = 1973; team with the fastest growth in winning rate = Max(Subtract(Divide(won where year = 1973, Sum(won, lost)),Divide(won where year = 1972, Sum(won, lost))))", "in 2000 refers to year = 2000; played the least minutes refers to min(minutes); without missing a single game refers to GP = 82; full name of the team refers to teams.name", "served more than 2 NBA teams refers to count (tmID) > = 2; least number of game lost in post season refers to Min(post_losses)", "more than 50 games won refers to won > 50", "1973 season refers to season_id = 1973; black refers to race = 'B'", "\"All-Defensive First Team\" is the award; ' NY' is the birthState; 1980 to 2000 refers to year between 1980 and 2000; percentage = Divide (Count(playerID where birthState = 'NY'), Count(playerID)) * 100", "average BMI refers to AVG (Multiply(Divide(weight, Multiply(height, height)), 703))", "Auburn University refers to college = 'Auburn'; won an \"All-Defensive Second Team\" award refers to award = 'All-Defensive Second Team'; percentage = divide(count(playerID where award = 'All-Defensive Second Team'), count(playerID)) where college = 'Auburn' * 100%", "\"Chicago Bull\" is the name of team; during the year 1981 refers to year = 1981; 'NBA Coach of the Year' is the award; in the 1970s refers to year between 1970 to 1979" ] }
{ "query": "In the year 1998, how many home wins did the team which had the 1st round, 12th pick have that year?", "pos": [ "in 1998 refers to year = 1998; 1st round refers to draftRound = 1; 12th pick refers to draftSelection = 12; home win refers to homeWon" ], "neg": [ "NBA refers to lgID = 'NBA'; didn't play in the playoffs refers to PostGP = 0; 2000 refers to year = 2000; the most winning rate refers to max(divide(won, add(won, lost)))", "the same starting player refers to GP = GS; full name of the team refers to teams.name", "\"NBA Coach of the Year\" is the award; in 1977 refers to year = 1977; in 1976 refers to year = 1976; division refers to divisionID", "team name refers to teams.name; won the title 'NBA Coach of the Year' refers to award = 'NBA Coach of the Year'; in 2010 refers to year = 2010", "won the most MVP refers to Max(Count(award = 'Most Valuable Player'))", "player name refers to playerID; the youngest refers to max(birthDate); won \"Rookie of the Year\" refers to award = 'Rookie of the Year'", "team refers to tmID; the highest point per minute refers to max(divide(points, minutes)); NBA refers to lgID = 'NBA'; from 1991 to 2000 refers to year BETWEEN 1991 AND 2000", "team with 90% games won refers to Divide (won, games) > 0.9", "in 2000 refers to year = 2000; played the least minutes refers to min(minutes); without missing a single game refers to GP = 82; full name of the team refers to teams.name", "more than 2 different teams refers to count(tmID) > 2" ] }
{ "query": "Please list the top five players with the most steals in the year 1997. Please give their full name.", "pos": [ "full name refers to firstName, middleName, lastName; in the year 1997 refers to year = 1997; the most steals refers to max(steals)" ], "neg": [ "name of team refers to teams.name; between 1980 and 2000 refers to year between 1980 and 2000; ranked first five or more times refers to count(rank = 1) > = 5; lost a league two or more times refers to lost > 2", "shortest player refers to Min(height); black players refers to race = 'B'", "more than one player refers to count(playerID) > 1; grabbed more than 600 rebounds refers to rebounds > 600; in 2011 refers to 2011; full name refers to teams.name", "2005 refers to year = 2005 ; previous year refers to year = 2004; team with greater winning than previous year refers to Won where year = 2005 > Won where year = 2004; team name refers to tmID", "the latest passing refers to max(season_id); play all the positions refers to pos like '%C%' or pos like '%F%' or pos like '%G%'", "most assist refers to Max(assists); in 1985 All Star season refers to season_id = 1985", "higher than 75 inch refers to height > 75", "champion refers to round = 'F'; team name refers to teams.name; from year 1950 to 1960 refers to year between 1950 and 1960", "in 1937 refers to year = 1937; player got at least 500 points refers to Sum(points) > = 500", "in 1998 refers to year = 1998; 1st round refers to draftRound = 1; 12th pick refers to draftSelection = 12; home win refers to homeWon" ] }