set
dict
{ "query": "Among the artists from 1980 to 1982. Which artist was tagged as \"disco\"?", "pos": [ "from 1980 to 1982 refers to groupYear between 1980 and 1982; tag = 'disco';" ], "neg": [ "releaseType = 'single'; between 1979 and 1981 refers to groupYear between 1979 and 1981; tag = 'soul';", "kurtis blow is an artist; from 2000 to 2010 refers to groupYear between 2000 and 2010;", "releaseType = 'single'; downloaded at least 20 refers to totalSnatched ≥ 20; id from 10 to 20 refer to id between 10 and 20; groups refer to groupName;", "tag = 'pop';", "albums refer to releaseType = 'album'; releaseType = 'single'; between 2010 and 2015 refers to groupYear between 2010 and 2015;", "releaseType = 'single';", "releaseType = 'single'; between 1980 to 1982 refers to groupYear between 1980 and 1982;", "the most singles refer to MAX(COUNT(releaseType = 'single'));", "id from 10 to 30 refers to id between 10 and 30; groupYear = 1980;", "the most downloaded single refers to MAX(totalSnatched where releaseType = 'single');" ] }
{ "query": "Indicates groups with id from 10 to 20 with singles downloaded at least 20.", "pos": [ "releaseType = 'single'; downloaded at least 20 refers to totalSnatched ≥ 20; id from 10 to 20 refer to id between 10 and 20; groups refer to groupName;" ], "neg": [ "the most singles refer to MAX(COUNT(releaseType = 'single'));", "2Pac is an artist; album refers to releaseType; groupYear = 1991; SUBTRACT(groupYear = 1991, groupYear where releaseType = 'album' LIMIT 1 OFFSET 1);", "from 1980 to 1982 refers to groupYear between 1980 and 1982; tag = 'disco';", "millie jackson is an artist; album title refers to groupName where releaseType = 'album'; groupYear = 1980;", "From 1979 to 1982 refers to groupYear between 1979 and 1982; United States refer to tag; albums refer to releaseType; DIVIDE(COUNT(releaseType = 'album' where tag = 'united.states' and groupYear between 1979 and 1982), COUNT(releaseType = 'album' where groupYear between 1979 and 1982)) as percentage;", "release title of single refers to groupName where releaseType = 'single'; the oldest means coming before all others in time and refers to MIN(groupYear);", "release titles of the \"ep's\" refer to groupName where releaseType = 'ep';", "the most downloaded refers to MAX(totalSnatched); tag = 'jazz'; from 1982 or later refers to groupYear ≥ 1982;", "albums refer to releaseType = 'album'; releaseType = 'single'; between 2010 and 2015 refers to groupYear between 2010 and 2015;", "id from 10 to 30 refers to id between 10 and 30; groupYear = 1980;" ] }
{ "query": "In 1980, how many singles were released by sugar daddy?", "pos": [ "sugar daddy is an artist; releaseType = 'single'; groupYear = 1980;" ], "neg": [ "releaseType = 'single'; groupYear = 1979;", "release \"sugarhill gang\" refers to groupName = 'sugarhill gang';", "From 1979 to 1982 refers to groupYear between 1979 and 1982; United States refer to tag; albums refer to releaseType; DIVIDE(COUNT(releaseType = 'album' where tag = 'united.states' and groupYear between 1979 and 1982), COUNT(releaseType = 'album' where groupYear between 1979 and 1982)) as percentage;", "releaseType = 'single'; between 1979 and 1981 refers to groupYear between 1979 and 1981; tag = 'soul';", "kurtis blow is an artist; from 2000 to 2010 refers to groupYear between 2000 and 2010;", "release titles of the \"ep's\" refer to groupName where releaseType = 'ep';", "2Pac is an artist; album refers to releaseType; groupYear = 1991; SUBTRACT(groupYear = 1991, groupYear where releaseType = 'album' LIMIT 1 OFFSET 1);", "groupYear = 2000; album refers to releaseType;", "millie jackson is an artist; album title refers to groupName where releaseType = 'album'; groupYear = 1980;", "the most downloaded single refers to MAX(totalSnatched where releaseType = 'single');" ] }
{ "query": "Among id from 10 to 50. Which artist tagged as \"new.york\" has the most downloads?", "pos": [ "Among id from 10 to 50 refers to id between 10 and 50; tag = 'new.york'; the most downloads refer to MAX(totalSnatched);" ], "neg": [ "release title refers to groupName; Ron Hunt is an artist; groupYear = 1979; releaseType = 'single'; downloaded 239 times refer to totalSnatched = 239;", "release title of single refers to groupName where releaseType = 'single'; the oldest means coming before all others in time and refers to MIN(groupYear);", "2Pac is an artist; album refers to releaseType; groupYear = 1991; SUBTRACT(groupYear = 1991, groupYear where releaseType = 'album' LIMIT 1 OFFSET 1);", "releases refer to groupName; downloaded for more than 20000 times refers to totalSnatched > 20000;", "From 1979 to 1982 refers to groupYear between 1979 and 1982; United States refer to tag; albums refer to releaseType; DIVIDE(COUNT(releaseType = 'album' where tag = 'united.states' and groupYear between 1979 and 1982), COUNT(releaseType = 'album' where groupYear between 1979 and 1982)) as percentage;", "From 1980 to 2000 refers to groupYear between 1980 and 2000; tag = 'disco'; the most releases refer to MAX(COUNT(id));", "blowfly is an artist; groupYear = 1980; album refers to releaseType; downloaded refers to totalSnatched;", "the most downloaded refers to MAX(totalSnatched); tag = 'jazz'; from 1982 or later refers to groupYear ≥ 1982;", "albums refer to releaseType = 'album'; releaseType = 'single'; between 2010 and 2015 refers to groupYear between 2010 and 2015;", "releaseType = 'single';" ] }
{ "query": "From 1980 to 2000, which artist had the most disco releases?", "pos": [ "From 1980 to 2000 refers to groupYear between 1980 and 2000; tag = 'disco'; the most releases refer to MAX(COUNT(id));" ], "neg": [ "the most downloaded refers to MAX(totalSnatched); tag = 'jazz'; from 1982 or later refers to groupYear ≥ 1982;", "the most downloaded single refers to MAX(totalSnatched where releaseType = 'single');", "releaseType = 'single';", "releaseType = 'single'; between 1980 to 1982 refers to groupYear between 1980 and 1982;", "blowfly is an artist; groupYear = 1980; album refers to releaseType; downloaded refers to totalSnatched;", "id from 10 to 30 refers to id between 10 and 30; groupYear = 1980;", "Among id from 10 to 50 refers to id between 10 and 50; tag = 'new.york'; the most downloads refer to MAX(totalSnatched);", "album refers to releaseType; the highest amount of downloads refers to MAX(totalSnatched);", "release \"sugarhill gang\" refers to groupName = 'sugarhill gang';", "release title refers to groupName; Ron Hunt is an artist; groupYear = 1979; releaseType = 'single'; downloaded 239 times refer to totalSnatched = 239;" ] }
{ "query": "Among the artists with the id from 10 to 30. Which artist released the product with the tag \"funk\" in 1980?", "pos": [ "id from 10 to 30 refers to id between 10 and 30; groupYear = 1980;" ], "neg": [ "releaseType = 'single'; between 1980 to 1982 refers to groupYear between 1980 and 1982;", "release \"sugarhill gang\" refers to groupName = 'sugarhill gang';", "From 1980 to 2000 refers to groupYear between 1980 and 2000; tag = 'disco'; the most releases refer to MAX(COUNT(id));", "groupYear = 2000; album refers to releaseType;", "tag = 'pop';", "releases refer to groupName; downloaded for more than 20000 times refers to totalSnatched > 20000;", "2Pac is an artist; album refers to releaseType; groupYear = 1991; SUBTRACT(groupYear = 1991, groupYear where releaseType = 'album' LIMIT 1 OFFSET 1);", "kurtis blow is an artist; from 2000 to 2010 refers to groupYear between 2000 and 2010;", "From 1979 to 1982 refers to groupYear between 1979 and 1982; United States refer to tag; albums refer to releaseType; DIVIDE(COUNT(releaseType = 'album' where tag = 'united.states' and groupYear between 1979 and 1982), COUNT(releaseType = 'album' where groupYear between 1979 and 1982)) as percentage;", "release title refers to groupName; Ron Hunt is an artist; groupYear = 1979; releaseType = 'single'; downloaded 239 times refer to totalSnatched = 239;" ] }
{ "query": "How many singles were released between 1979 and 1981 labeled as \"soul\"?", "pos": [ "releaseType = 'single'; between 1979 and 1981 refers to groupYear between 1979 and 1981; tag = 'soul';" ], "neg": [ "the most singles refer to MAX(COUNT(releaseType = 'single'));", "the most downloaded single refers to MAX(totalSnatched where releaseType = 'single');", "release title of single refers to groupName where releaseType = 'single'; the oldest means coming before all others in time and refers to MIN(groupYear);", "sugar daddy is an artist; releaseType = 'single'; groupYear = 1980;", "releaseType = 'single'; groupYear = 1979;", "albums refer to releaseType = 'album'; releaseType = 'single'; between 2010 and 2015 refers to groupYear between 2010 and 2015;", "From 1979 to 1982 refers to groupYear between 1979 and 1982; United States refer to tag; albums refer to releaseType; DIVIDE(COUNT(releaseType = 'album' where tag = 'united.states' and groupYear between 1979 and 1982), COUNT(releaseType = 'album' where groupYear between 1979 and 1982)) as percentage;", "release \"sugarhill gang\" refers to groupName = 'sugarhill gang';", "millie jackson is an artist; album title refers to groupName where releaseType = 'album'; groupYear = 1980;", "blowfly is an artist; groupYear = 1980; album refers to releaseType; downloaded refers to totalSnatched;" ] }
{ "query": "From 1979 to 1982, what was the percentage of united.states albums out of total albums were released?", "pos": [ "From 1979 to 1982 refers to groupYear between 1979 and 1982; United States refer to tag; albums refer to releaseType; DIVIDE(COUNT(releaseType = 'album' where tag = 'united.states' and groupYear between 1979 and 1982), COUNT(releaseType = 'album' where groupYear between 1979 and 1982)) as percentage;" ], "neg": [ "release title refers to groupName; Ron Hunt is an artist; groupYear = 1979; releaseType = 'single'; downloaded 239 times refer to totalSnatched = 239;", "releaseType = 'single';", "sugar daddy is an artist; releaseType = 'single'; groupYear = 1980;", "blowfly is an artist; groupYear = 1980; album refers to releaseType; downloaded refers to totalSnatched;", "kurtis blow is an artist; from 2000 to 2010 refers to groupYear between 2000 and 2010;", "releases refer to groupName; downloaded for more than 20000 times refers to totalSnatched > 20000;", "the most downloaded refers to MAX(totalSnatched); tag = 'jazz'; from 1982 or later refers to groupYear ≥ 1982;", "album refers to releaseType; the highest amount of downloads refers to MAX(totalSnatched);", "release titles of the \"ep's\" refer to groupName where releaseType = 'ep';", "releaseType = 'single'; between 1980 to 1982 refers to groupYear between 1980 and 1982;" ] }
{ "query": "Which artists have released singles with the tag 1970s?", "pos": [ "releaseType = 'single';" ], "neg": [ "releaseType = 'single'; groupYear = 1979;", "From 1979 to 1982 refers to groupYear between 1979 and 1982; United States refer to tag; albums refer to releaseType; DIVIDE(COUNT(releaseType = 'album' where tag = 'united.states' and groupYear between 1979 and 1982), COUNT(releaseType = 'album' where groupYear between 1979 and 1982)) as percentage;", "albums refer to releaseType = 'album'; releaseType = 'single'; between 2010 and 2015 refers to groupYear between 2010 and 2015;", "releaseType = 'single'; between 1980 to 1982 refers to groupYear between 1980 and 1982;", "millie jackson is an artist; album title refers to groupName where releaseType = 'album'; groupYear = 1980;", "tag = 'pop';", "blowfly is an artist; groupYear = 1980; album refers to releaseType; downloaded refers to totalSnatched;", "releaseType = 'single'; between 1979 and 1981 refers to groupYear between 1979 and 1981; tag = 'soul';", "release title refers to groupName; Ron Hunt is an artist; groupYear = 1979; releaseType = 'single'; downloaded 239 times refer to totalSnatched = 239;", "album refers to releaseType; the highest amount of downloads refers to MAX(totalSnatched);" ] }
{ "query": "What is the tag and the artist of the most downloaded single?", "pos": [ "the most downloaded single refers to MAX(totalSnatched where releaseType = 'single');" ], "neg": [ "the most downloaded refers to MAX(totalSnatched); tag = 'jazz'; from 1982 or later refers to groupYear ≥ 1982;", "releaseType = 'single'; between 1979 and 1981 refers to groupYear between 1979 and 1981; tag = 'soul';", "release title of single refers to groupName where releaseType = 'single'; the oldest means coming before all others in time and refers to MIN(groupYear);", "blowfly is an artist; groupYear = 1980; album refers to releaseType; downloaded refers to totalSnatched;", "albums refer to releaseType = 'album'; releaseType = 'single'; between 2010 and 2015 refers to groupYear between 2010 and 2015;", "tag = 'pop';", "2Pac is an artist; album refers to releaseType; groupYear = 1991; SUBTRACT(groupYear = 1991, groupYear where releaseType = 'album' LIMIT 1 OFFSET 1);", "releaseType = 'single';", "album refers to releaseType; the highest amount of downloads refers to MAX(totalSnatched);", "groupYear = 2000; album refers to releaseType;" ] }
{ "query": "What are the tags of the release \"sugarhill gang\"?", "pos": [ "release \"sugarhill gang\" refers to groupName = 'sugarhill gang';" ], "neg": [ "millie jackson is an artist; album title refers to groupName where releaseType = 'album'; groupYear = 1980;", "Among id from 10 to 50 refers to id between 10 and 50; tag = 'new.york'; the most downloads refer to MAX(totalSnatched);", "the most singles refer to MAX(COUNT(releaseType = 'single'));", "releaseType = 'single'; between 1979 and 1981 refers to groupYear between 1979 and 1981; tag = 'soul';", "from 1980 to 1982 refers to groupYear between 1980 and 1982; tag = 'disco';", "From 1979 to 1982 refers to groupYear between 1979 and 1982; United States refer to tag; albums refer to releaseType; DIVIDE(COUNT(releaseType = 'album' where tag = 'united.states' and groupYear between 1979 and 1982), COUNT(releaseType = 'album' where groupYear between 1979 and 1982)) as percentage;", "From 1980 to 2000 refers to groupYear between 1980 and 2000; tag = 'disco'; the most releases refer to MAX(COUNT(id));", "albums refer to releaseType = 'album'; releaseType = 'single'; between 2010 and 2015 refers to groupYear between 2010 and 2015;", "tag = 'pop';", "kurtis blow is an artist; from 2000 to 2010 refers to groupYear between 2000 and 2010;" ] }
{ "query": "How many albums and Single-Tables were released by the artist named '50 cent' between 2010 and 2015?", "pos": [ "albums refer to releaseType = 'album'; releaseType = 'single'; between 2010 and 2015 refers to groupYear between 2010 and 2015;" ], "neg": [ "id from 10 to 30 refers to id between 10 and 30; groupYear = 1980;", "album refers to releaseType; the highest amount of downloads refers to MAX(totalSnatched);", "sugar daddy is an artist; releaseType = 'single'; groupYear = 1980;", "millie jackson is an artist; album title refers to groupName where releaseType = 'album'; groupYear = 1980;", "the most singles refer to MAX(COUNT(releaseType = 'single'));", "releaseType = 'single'; between 1979 and 1981 refers to groupYear between 1979 and 1981; tag = 'soul';", "from 1980 to 1982 refers to groupYear between 1980 and 1982; tag = 'disco';", "releaseType = 'single'; between 1980 to 1982 refers to groupYear between 1980 and 1982;", "From 1980 to 2000 refers to groupYear between 1980 and 2000; tag = 'disco'; the most releases refer to MAX(COUNT(id));", "groupYear = 2000; album refers to releaseType;" ] }
{ "query": "What is the tag of the album with the highest amount of downloads?", "pos": [ "album refers to releaseType; the highest amount of downloads refers to MAX(totalSnatched);" ], "neg": [ "release title of single refers to groupName where releaseType = 'single'; the oldest means coming before all others in time and refers to MIN(groupYear);", "sugar daddy is an artist; releaseType = 'single'; groupYear = 1980;", "kurtis blow is an artist; from 2000 to 2010 refers to groupYear between 2000 and 2010;", "millie jackson is an artist; album title refers to groupName where releaseType = 'album'; groupYear = 1980;", "id from 10 to 30 refers to id between 10 and 30; groupYear = 1980;", "release \"sugarhill gang\" refers to groupName = 'sugarhill gang';", "releases refer to groupName; downloaded for more than 20000 times refers to totalSnatched > 20000;", "tag = 'pop';", "albums refer to releaseType = 'album'; releaseType = 'single'; between 2010 and 2015 refers to groupYear between 2010 and 2015;", "groupYear = 2000; album refers to releaseType;" ] }
{ "query": "How many times was the album released by blowfly in 1980 downloaded?", "pos": [ "blowfly is an artist; groupYear = 1980; album refers to releaseType; downloaded refers to totalSnatched;" ], "neg": [ "2Pac is an artist; album refers to releaseType; groupYear = 1991; SUBTRACT(groupYear = 1991, groupYear where releaseType = 'album' LIMIT 1 OFFSET 1);", "tag = 'pop';", "release title refers to groupName; Ron Hunt is an artist; groupYear = 1979; releaseType = 'single'; downloaded 239 times refer to totalSnatched = 239;", "releaseType = 'single'; downloaded at least 20 refers to totalSnatched ≥ 20; id from 10 to 20 refer to id between 10 and 20; groups refer to groupName;", "releases refer to groupName; downloaded for more than 20000 times refers to totalSnatched > 20000;", "release titles of the \"ep's\" refer to groupName where releaseType = 'ep';", "album refers to releaseType; the highest amount of downloads refers to MAX(totalSnatched);", "albums refer to releaseType = 'album'; releaseType = 'single'; between 2010 and 2015 refers to groupYear between 2010 and 2015;", "From 1980 to 2000 refers to groupYear between 1980 and 2000; tag = 'disco'; the most releases refer to MAX(COUNT(id));", "releaseType = 'single';" ] }
{ "query": "Please list the releases that have been downloaded for more than 20000 times.", "pos": [ "releases refer to groupName; downloaded for more than 20000 times refers to totalSnatched > 20000;" ], "neg": [ "album refers to releaseType; the highest amount of downloads refers to MAX(totalSnatched);", "release \"sugarhill gang\" refers to groupName = 'sugarhill gang';", "groupYear = 2000; album refers to releaseType;", "releaseType = 'single'; between 1979 and 1981 refers to groupYear between 1979 and 1981; tag = 'soul';", "from 1980 to 1982 refers to groupYear between 1980 and 1982; tag = 'disco';", "From 1980 to 2000 refers to groupYear between 1980 and 2000; tag = 'disco'; the most releases refer to MAX(COUNT(id));", "blowfly is an artist; groupYear = 1980; album refers to releaseType; downloaded refers to totalSnatched;", "From 1979 to 1982 refers to groupYear between 1979 and 1982; United States refer to tag; albums refer to releaseType; DIVIDE(COUNT(releaseType = 'album' where tag = 'united.states' and groupYear between 1979 and 1982), COUNT(releaseType = 'album' where groupYear between 1979 and 1982)) as percentage;", "id from 10 to 30 refers to id between 10 and 30; groupYear = 1980;", "tag = 'pop';" ] }
{ "query": "Which album title and tag that millie jackson released in 1980?", "pos": [ "millie jackson is an artist; album title refers to groupName where releaseType = 'album'; groupYear = 1980;" ], "neg": [ "id from 10 to 30 refers to id between 10 and 30; groupYear = 1980;", "releaseType = 'single'; downloaded at least 20 refers to totalSnatched ≥ 20; id from 10 to 20 refer to id between 10 and 20; groups refer to groupName;", "release title of single refers to groupName where releaseType = 'single'; the oldest means coming before all others in time and refers to MIN(groupYear);", "releaseType = 'single'; between 1979 and 1981 refers to groupYear between 1979 and 1981; tag = 'soul';", "album refers to releaseType; the highest amount of downloads refers to MAX(totalSnatched);", "blowfly is an artist; groupYear = 1980; album refers to releaseType; downloaded refers to totalSnatched;", "From 1979 to 1982 refers to groupYear between 1979 and 1982; United States refer to tag; albums refer to releaseType; DIVIDE(COUNT(releaseType = 'album' where tag = 'united.states' and groupYear between 1979 and 1982), COUNT(releaseType = 'album' where groupYear between 1979 and 1982)) as percentage;", "release \"sugarhill gang\" refers to groupName = 'sugarhill gang';", "the most downloaded single refers to MAX(totalSnatched where releaseType = 'single');", "sugar daddy is an artist; releaseType = 'single'; groupYear = 1980;" ] }
{ "query": "Please list all tags of kurtis blow from 2000 to 2010.", "pos": [ "kurtis blow is an artist; from 2000 to 2010 refers to groupYear between 2000 and 2010;" ], "neg": [ "sugar daddy is an artist; releaseType = 'single'; groupYear = 1980;", "the most downloaded refers to MAX(totalSnatched); tag = 'jazz'; from 1982 or later refers to groupYear ≥ 1982;", "releaseType = 'single'; downloaded at least 20 refers to totalSnatched ≥ 20; id from 10 to 20 refer to id between 10 and 20; groups refer to groupName;", "release title of single refers to groupName where releaseType = 'single'; the oldest means coming before all others in time and refers to MIN(groupYear);", "2Pac is an artist; album refers to releaseType; groupYear = 1991; SUBTRACT(groupYear = 1991, groupYear where releaseType = 'album' LIMIT 1 OFFSET 1);", "release \"sugarhill gang\" refers to groupName = 'sugarhill gang';", "the most downloaded single refers to MAX(totalSnatched where releaseType = 'single');", "album refers to releaseType; the highest amount of downloads refers to MAX(totalSnatched);", "From 1979 to 1982 refers to groupYear between 1979 and 1982; United States refer to tag; albums refer to releaseType; DIVIDE(COUNT(releaseType = 'album' where tag = 'united.states' and groupYear between 1979 and 1982), COUNT(releaseType = 'album' where groupYear between 1979 and 1982)) as percentage;", "releaseType = 'single';" ] }
{ "query": "Among the releases that were released in 2000, how many of them were released as an album and tagged \"pop\"?", "pos": [ "groupYear = 2000; album refers to releaseType;" ], "neg": [ "tag = 'pop';", "releaseType = 'single';", "albums refer to releaseType = 'album'; releaseType = 'single'; between 2010 and 2015 refers to groupYear between 2010 and 2015;", "releaseType = 'single'; between 1979 and 1981 refers to groupYear between 1979 and 1981; tag = 'soul';", "releaseType = 'single'; groupYear = 1979;", "From 1979 to 1982 refers to groupYear between 1979 and 1982; United States refer to tag; albums refer to releaseType; DIVIDE(COUNT(releaseType = 'album' where tag = 'united.states' and groupYear between 1979 and 1982), COUNT(releaseType = 'album' where groupYear between 1979 and 1982)) as percentage;", "sugar daddy is an artist; releaseType = 'single'; groupYear = 1980;", "From 1980 to 2000 refers to groupYear between 1980 and 2000; tag = 'disco'; the most releases refer to MAX(COUNT(id));", "id from 10 to 30 refers to id between 10 and 30; groupYear = 1980;", "blowfly is an artist; groupYear = 1980; album refers to releaseType; downloaded refers to totalSnatched;" ] }
{ "query": "What is the release title of the single that was released by Ron Hunt in 1979 that was downloaded 239 times?", "pos": [ "release title refers to groupName; Ron Hunt is an artist; groupYear = 1979; releaseType = 'single'; downloaded 239 times refer to totalSnatched = 239;" ], "neg": [ "blowfly is an artist; groupYear = 1980; album refers to releaseType; downloaded refers to totalSnatched;", "album refers to releaseType; the highest amount of downloads refers to MAX(totalSnatched);", "release titles of the \"ep's\" refer to groupName where releaseType = 'ep';", "releaseType = 'single';", "millie jackson is an artist; album title refers to groupName where releaseType = 'album'; groupYear = 1980;", "id from 10 to 30 refers to id between 10 and 30; groupYear = 1980;", "sugar daddy is an artist; releaseType = 'single'; groupYear = 1980;", "release title of single refers to groupName where releaseType = 'single'; the oldest means coming before all others in time and refers to MIN(groupYear);", "tag = 'pop';", "the most downloaded single refers to MAX(totalSnatched where releaseType = 'single');" ] }
{ "query": "How many singles were released in 1979?", "pos": [ "releaseType = 'single'; groupYear = 1979;" ], "neg": [ "the most singles refer to MAX(COUNT(releaseType = 'single'));", "groupYear = 2000; album refers to releaseType;", "id from 10 to 30 refers to id between 10 and 30; groupYear = 1980;", "release title refers to groupName; Ron Hunt is an artist; groupYear = 1979; releaseType = 'single'; downloaded 239 times refer to totalSnatched = 239;", "albums refer to releaseType = 'album'; releaseType = 'single'; between 2010 and 2015 refers to groupYear between 2010 and 2015;", "millie jackson is an artist; album title refers to groupName where releaseType = 'album'; groupYear = 1980;", "releases refer to groupName; downloaded for more than 20000 times refers to totalSnatched > 20000;", "blowfly is an artist; groupYear = 1980; album refers to releaseType; downloaded refers to totalSnatched;", "release titles of the \"ep's\" refer to groupName where releaseType = 'ep';", "tag = 'pop';" ] }
{ "query": "What is the release title of the single under the \"funk\" tag that was released the oldest?", "pos": [ "release title of single refers to groupName where releaseType = 'single'; the oldest means coming before all others in time and refers to MIN(groupYear);" ], "neg": [ "album refers to releaseType; the highest amount of downloads refers to MAX(totalSnatched);", "albums refer to releaseType = 'album'; releaseType = 'single'; between 2010 and 2015 refers to groupYear between 2010 and 2015;", "releaseType = 'single'; downloaded at least 20 refers to totalSnatched ≥ 20; id from 10 to 20 refer to id between 10 and 20; groups refer to groupName;", "the most downloaded single refers to MAX(totalSnatched where releaseType = 'single');", "release \"sugarhill gang\" refers to groupName = 'sugarhill gang';", "the most downloaded refers to MAX(totalSnatched); tag = 'jazz'; from 1982 or later refers to groupYear ≥ 1982;", "sugar daddy is an artist; releaseType = 'single'; groupYear = 1980;", "millie jackson is an artist; album title refers to groupName where releaseType = 'album'; groupYear = 1980;", "release title refers to groupName; Ron Hunt is an artist; groupYear = 1979; releaseType = 'single'; downloaded 239 times refer to totalSnatched = 239;", "the most singles refer to MAX(COUNT(releaseType = 'single'));" ] }
{ "query": "How many releases by the artist michael jackson are tagged \"pop\"?", "pos": [ "tag = 'pop';" ], "neg": [ "albums refer to releaseType = 'album'; releaseType = 'single'; between 2010 and 2015 refers to groupYear between 2010 and 2015;", "releaseType = 'single'; between 1979 and 1981 refers to groupYear between 1979 and 1981; tag = 'soul';", "kurtis blow is an artist; from 2000 to 2010 refers to groupYear between 2000 and 2010;", "groupYear = 2000; album refers to releaseType;", "the most singles refer to MAX(COUNT(releaseType = 'single'));", "releases refer to groupName; downloaded for more than 20000 times refers to totalSnatched > 20000;", "sugar daddy is an artist; releaseType = 'single'; groupYear = 1980;", "release titles of the \"ep's\" refer to groupName where releaseType = 'ep';", "release title refers to groupName; Ron Hunt is an artist; groupYear = 1979; releaseType = 'single'; downloaded 239 times refer to totalSnatched = 239;", "from 1980 to 1982 refers to groupYear between 1980 and 1982; tag = 'disco';" ] }
{ "query": "Which artist has released the most singles with the tag \"soul\"?", "pos": [ "the most singles refer to MAX(COUNT(releaseType = 'single'));" ], "neg": [ "release \"sugarhill gang\" refers to groupName = 'sugarhill gang';", "blowfly is an artist; groupYear = 1980; album refers to releaseType; downloaded refers to totalSnatched;", "tag = 'pop';", "release titles of the \"ep's\" refer to groupName where releaseType = 'ep';", "the most downloaded single refers to MAX(totalSnatched where releaseType = 'single');", "2Pac is an artist; album refers to releaseType; groupYear = 1991; SUBTRACT(groupYear = 1991, groupYear where releaseType = 'album' LIMIT 1 OFFSET 1);", "Among id from 10 to 50 refers to id between 10 and 50; tag = 'new.york'; the most downloads refer to MAX(totalSnatched);", "millie jackson is an artist; album title refers to groupName where releaseType = 'album'; groupYear = 1980;", "releaseType = 'single'; between 1979 and 1981 refers to groupYear between 1979 and 1981; tag = 'soul';", "id from 10 to 30 refers to id between 10 and 30; groupYear = 1980;" ] }
{ "query": "Which artist released singles between 1980 to 1982?", "pos": [ "releaseType = 'single'; between 1980 to 1982 refers to groupYear between 1980 and 1982;" ], "neg": [ "releaseType = 'single'; groupYear = 1979;", "from 1980 to 1982 refers to groupYear between 1980 and 1982; tag = 'disco';", "releaseType = 'single'; downloaded at least 20 refers to totalSnatched ≥ 20; id from 10 to 20 refer to id between 10 and 20; groups refer to groupName;", "releases refer to groupName; downloaded for more than 20000 times refers to totalSnatched > 20000;", "id from 10 to 30 refers to id between 10 and 30; groupYear = 1980;", "release titles of the \"ep's\" refer to groupName where releaseType = 'ep';", "millie jackson is an artist; album title refers to groupName where releaseType = 'album'; groupYear = 1980;", "Among id from 10 to 50 refers to id between 10 and 50; tag = 'new.york'; the most downloads refer to MAX(totalSnatched);", "the most downloaded single refers to MAX(totalSnatched where releaseType = 'single');", "From 1980 to 2000 refers to groupYear between 1980 and 2000; tag = 'disco'; the most releases refer to MAX(COUNT(id));" ] }
{ "query": "An American rapper '2Pac' released his first solo album in 1991, how many years have passed until his next album was released?", "pos": [ "2Pac is an artist; album refers to releaseType; groupYear = 1991; SUBTRACT(groupYear = 1991, groupYear where releaseType = 'album' LIMIT 1 OFFSET 1);" ], "neg": [ "sugar daddy is an artist; releaseType = 'single'; groupYear = 1980;", "From 1980 to 2000 refers to groupYear between 1980 and 2000; tag = 'disco'; the most releases refer to MAX(COUNT(id));", "releaseType = 'single'; downloaded at least 20 refers to totalSnatched ≥ 20; id from 10 to 20 refer to id between 10 and 20; groups refer to groupName;", "the most singles refer to MAX(COUNT(releaseType = 'single'));", "release title refers to groupName; Ron Hunt is an artist; groupYear = 1979; releaseType = 'single'; downloaded 239 times refer to totalSnatched = 239;", "release \"sugarhill gang\" refers to groupName = 'sugarhill gang';", "releaseType = 'single'; between 1980 to 1982 refers to groupYear between 1980 and 1982;", "albums refer to releaseType = 'album'; releaseType = 'single'; between 2010 and 2015 refers to groupYear between 2010 and 2015;", "kurtis blow is an artist; from 2000 to 2010 refers to groupYear between 2000 and 2010;", "millie jackson is an artist; album title refers to groupName where releaseType = 'album'; groupYear = 1980;" ] }
{ "query": "List the group name has the most downloaded that have released jazz genres from 1982 or later.", "pos": [ "the most downloaded refers to MAX(totalSnatched); tag = 'jazz'; from 1982 or later refers to groupYear ≥ 1982;" ], "neg": [ "from 1980 to 1982 refers to groupYear between 1980 and 1982; tag = 'disco';", "blowfly is an artist; groupYear = 1980; album refers to releaseType; downloaded refers to totalSnatched;", "releaseType = 'single'; groupYear = 1979;", "release \"sugarhill gang\" refers to groupName = 'sugarhill gang';", "releaseType = 'single';", "tag = 'pop';", "releaseType = 'single'; between 1979 and 1981 refers to groupYear between 1979 and 1981; tag = 'soul';", "release titles of the \"ep's\" refer to groupName where releaseType = 'ep';", "the most downloaded single refers to MAX(totalSnatched where releaseType = 'single');", "groupYear = 2000; album refers to releaseType;" ] }
{ "query": "Name all the release titles of the \"ep's\" under the alternative tag.", "pos": [ "release titles of the \"ep's\" refer to groupName where releaseType = 'ep';" ], "neg": [ "sugar daddy is an artist; releaseType = 'single'; groupYear = 1980;", "groupYear = 2000; album refers to releaseType;", "millie jackson is an artist; album title refers to groupName where releaseType = 'album'; groupYear = 1980;", "id from 10 to 30 refers to id between 10 and 30; groupYear = 1980;", "releaseType = 'single'; downloaded at least 20 refers to totalSnatched ≥ 20; id from 10 to 20 refer to id between 10 and 20; groups refer to groupName;", "albums refer to releaseType = 'album'; releaseType = 'single'; between 2010 and 2015 refers to groupYear between 2010 and 2015;", "release title refers to groupName; Ron Hunt is an artist; groupYear = 1979; releaseType = 'single'; downloaded 239 times refer to totalSnatched = 239;", "kurtis blow is an artist; from 2000 to 2010 refers to groupYear between 2000 and 2010;", "From 1980 to 2000 refers to groupYear between 1980 and 2000; tag = 'disco'; the most releases refer to MAX(COUNT(id));", "the most singles refer to MAX(COUNT(releaseType = 'single'));" ] }
{ "query": "When John Aalberg took part in the 1994 Winter Olympic Game, how old was he?", "pos": [ "how old was he refers to age; 1994 Winter refers to games_name = '1994 Winter';" ], "neg": [ "London refers to city_name = 'London';", "swimming refers to sport_name = 'Swimming';", "Summer games refer to id where season = 'Summer'; in Stockholm refers to city_name = 'Stockholm';", "cities beginning with the letter M refer to city_name LIKE 'M%';", "Roma refers to city_name = 'Roma'; When host refers to games_year;", "the youngest competitor refers to full_name where MIN(age); in 2014 Winter refers to games_name = '2014 Winter';", "over the age of 59 refers to age > 59; the 2016 Summer Olympics refer to games_name = '2016 Summer';", "name of the cities refers to city_name", "AVG(weight) where region_name = 'Tonga' and gender = 'M';", "events refer to event_name; football refers to sport_name = 'Football';" ] }
{ "query": "What is the name of the Olympic game with the most competitors held in Barcelona?", "pos": [ "Barcelona refers to city_name = 'Barcelona'; the most competitors refer to MAX(COUNT(games_name)); name of game refers to games_name;" ], "neg": [ "competitors from Finland refer to id where region_name = 'Finland'; female refers to gender = 'F';", "Who refers to full_name; participated in the most Olympic Games refers to MAX(COUNT(games_id));", "name refers to full_name; the oldest refers to MAX(age);", "over the age of 59 refers to age > 59; the 2016 Summer Olympics refer to games_name = '2016 Summer';", "sport refers to sport_name; event \"Shooting Women's Trap\" refers to event_name = 'Shooting Women''s Trap';", "Where competitor is from refers to region_name;", "region refers to region_name; NOC code \"COL\" refers to noc = 'COL';", "DIVIDE(COUNT(competitor_id where medal_name = 'Bronze'), COUNT(competitor_id)) as percentage where event_name = 'Basketball Men''s Basketball';", "24 years old competitors refer to id where age = 24; Men's Basketball refers to event_name = 'Basketball Men''s Basketball';", "DIVIDE(COUNT(id where region_name = 'Finland'), COUNT(id)) as percentage where games_name = '1994 Winter';" ] }
{ "query": "In which cities beginning with the letter M have the Olympic Games been held?", "pos": [ "cities beginning with the letter M refer to city_name LIKE 'M%';" ], "neg": [ "competitor who weighted 73 kg and 180 cm tall refers to person_id where height = 180 and weight = 73;", "DIVIDE(COUNT(age = 28), COUNT(id)) as percentage where games_name = '2014 Winter';", "Roma refers to city_name = 'Roma'; When host refers to games_year;", "DIVIDE(COUNT(person_id where gender = 'F), COUNT(person_id)) as percentage where event_name = 'Equestrianism Mixed Three-Day Event, Individual';", "where it was held refers to city_name; the 1920 Summer refers to games_name = '1920 Summer';", "Which city refers to city_name; 1936 Winter Olympic refers to games_name = '1936 Winter';", "males refer to gender = 'M'; Belgium refers to region_name = 'Belgium';", "events refer to event_name; football refers to sport_name = 'Football';", "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';" ] }
{ "query": "How many Olympic competitors are from Finland?", "pos": [ "competitors refer to person_id; from Finland refers to region_name = 'Finland';" ], "neg": [ "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';", "SUBTRACT(COUNT(weight > 70), COUNT(weight < 70)) where age < 24;", "DIVIDE(COUNT(competitor_id where medal_name = 'Bronze'), COUNT(competitor_id)) as percentage where event_name = 'Basketball Men''s Basketball';", "At what age join the Olympics refers to MIN(age);", "games refer to games_id;", "name of the cities refers to city_name", "kinds of events refer to event_name; sport of cycling refers to sport_name = 'Cycling';", "name of games refers to games_name;", "London refers to city_name = 'London'; how many times refer to COUNT(games_id);", "DIVIDE(COUNT(id where region_name = 'Finland'), COUNT(id)) as percentage where games_name = '1994 Winter';" ] }
{ "query": "Who is the youngest competitor that participated in 2014 Winter?", "pos": [ "the youngest competitor refers to full_name where MIN(age); in 2014 Winter refers to games_name = '2014 Winter';" ], "neg": [ "Barcelona refers to city_name = 'Barcelona'; the most competitors refer to MAX(COUNT(games_name)); name of game refers to games_name;", "competitors refer to person_id; from Finland refers to region_name = 'Finland';", "male competitors refers to id where gender = 'M'; in 1948 Summer refers to games_name = '1948 Summer';", "kinds of events refer to event_name; sport of cycling refers to sport_name = 'Cycling';", "Who refers to full_name; participated in the most Olympic Games refers to MAX(COUNT(games_id));", "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(competitor_id where medal_name = 'Bronze'), COUNT(competitor_id)) as percentage where event_name = 'Basketball Men''s Basketball';", "20 years old athletes refer to person_id where age = 20; 1984 Summer Olympic Games refer to games_name = '1984 Summer';", "2012 Summer refers to games_name = '2012 Summer';", "males refer to gender = 'M'; Belgium refers to region_name = 'Belgium';" ] }
{ "query": "Among the competitors with age ranges 24 and below, calculate the difference between the number of competitors who weighed greater than 70 kg and competitors who weighted less than 70 kg.", "pos": [ "SUBTRACT(COUNT(weight > 70), COUNT(weight < 70)) where age < 24;" ], "neg": [ "DIVIDE(COUNT(age < 35) / COUNT(person_id)) as percentage where season = 'Summer';", "the Sapporo Olympics refer to games_id where city_name = 'Sapporo';", "games refer to games_id;", "DIVIDE(SUM(height), COUNT(id)) where region_name = 'Finland' and gender = 'M';", "In which year refers to games_year; London refers to city_name = 'London'; earliest Olympic game refers to MIN(games_year);", "DIVIDE(COUNT(event_id where medal_name = 'Gold'), COUNT(event_id)) as percentage where full_name = 'Michael Fred Phelps, II';", "AVG(height) where sport_name = 'Basketball' and event_name = 'Basketball Men''s';", "\"Shooting Mixed Skeet\" refers to event_name = 'Shooting Mixed Skeet';", "gold medals refer to medal_name = 'Gold';", "names of competitors refer to full_name; from Finland refers to region_name = 'Finland';" ] }
{ "query": "How many kinds of events belong to the sport of cycling?", "pos": [ "kinds of events refer to event_name; sport of cycling refers to sport_name = 'Cycling';" ], "neg": [ "age is the most numerous refers to age where MAX(COUNT(person_id));", "athletes from China refer to person_id where region_name = 'China'; the 2016 Summer Olympics refer to games_name = '2016 Summer';", "Who refers to full_name; participated in the most Olympic Games refers to MAX(COUNT(games_id));", "Where it was held refers to city_name; the first Olympic game refers to id where MIN(games_year);", "where it was held refers to city_name; the 1920 Summer refers to games_name = '1920 Summer';", "the largest number of women participation refers to MAX(COUNT(gender = 'F')); In which Olympic Games refer to games_year;", "city refers to city_name; in 1992 refers to games_year = 1992;", "name refers to full_name; the oldest refers to MAX(age);", "gold medals refer to medal_name = 'Gold';", "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": "What is the average height of the male Olympic competitors from Finland?", "pos": [ "DIVIDE(SUM(height), COUNT(id)) where region_name = 'Finland' and gender = 'M';" ], "neg": [ "gold medals refer to medal_name = 'Gold';", "DIVIDE(COUNT(person_id where gender = 'F), COUNT(person_id)) as percentage where event_name = 'Equestrianism Mixed Three-Day Event, Individual';", "From 1900 to 1992 refers to games_year BETWEEN 1900 AND 1992; London refers to city_name = 'London'; games refer to games_name;", "males refer to gender = 'M'; Belgium refers to region_name = 'Belgium';", "competitors refer to person_id; from Finland refers to region_name = 'Finland';", "London refers to city_name = 'London'; how many times refer to COUNT(games_id);", "over the age of 59 refers to age > 59; the 2016 Summer Olympics refer to games_name = '2016 Summer';", "AVG(weight) where region_name = 'Tonga' and gender = 'M';", "Summer games refer to games_id where season = 'Summer'; Paris refers to city_name = 'Paris';", "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": "What is the name of medal that competitor id 9 obtained?", "pos": [ "name of medal refers to medal_name;" ], "neg": [ "from Guatemala refers to region_name = 'Guatemala';", "athletes refer to person_id; 2014 Winter Olympics refer to games_name = '2014 Winter';", "AVG(weight) where region_name = 'Tonga' and gender = 'M';", "DIVIDE(COUNT(person_id where gender = 'F), COUNT(person_id)) as percentage where event_name = 'Equestrianism Mixed Three-Day Event, Individual';", "Where it was held refers to city_name; the first Olympic game refers to id where MIN(games_year);", "cities beginning with the letter M refer to city_name LIKE 'M%';", "won the gold medal refers to medal_name = 'Gold'; event \"Rowing Women's Coxed Eights\" refers to event_name = 'Rowing Women''s Coxed Eights';", "At what age join the Olympics refers to MIN(age);", "years refer to games_year; only have summer games refer to games_year where COUNT(games_name) = 1 and season = 'Summer';", "host city refers to city_name; the 1968 Winter Olympic Games refer to games_name = '1968 Winter';" ] }
{ "query": "Provide hockey's sport id.", "pos": [ "hockey's sport refers to sport_name = 'hockey';" ], "neg": [ "At what age join the Olympics refers to MIN(age);", "In which year refers to games_year; London refers to city_name = 'London'; earliest Olympic game refers to MIN(games_year);", "athletes from China refer to person_id where region_name = 'China'; the 2016 Summer Olympics refer to games_name = '2016 Summer';", "AVG(height) where sport_name = 'Basketball' and event_name = 'Basketball Men''s';", "names of competitors refer to full_name; from Finland refers to region_name = 'Finland';", "region refers to region_name; the majority of the athletes from refer to MAX(COUNT(region_name));", "Where competitor is from refers to region_name;", "the Sapporo Olympics refer to games_id where city_name = 'Sapporo';", "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;", "name refers to full_name; the oldest refers to MAX(age);" ] }
{ "query": "How many athletes playing in Canoeing fall into overweight BMI category in the 2008 Summer games?", "pos": [ "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';" ], "neg": [ "gold medals refer to medal_name = 'Gold';", "AVG(height) where sport_name = 'Basketball' and event_name = 'Basketball Men''s';", "name of medal refers to medal_name;", "DIVIDE(weight), MULTIPLY(height, height) where id = 147420;", "region refers to region_name; the highest medal number refers to MAX(COUNT(medal_id <> 4));", "DIVIDE(SUM(age), COUNT(person_id)) where games_name = '1992 Summer';", "\"Cross Country Skiing Men's 10/15 kilometres Pursuit\" refers to event_name = 'Cross Country Skiing Men''s 10/15 kilometres Pursuit';", "region refers to region_name; the majority of the athletes from refer to MAX(COUNT(region_name));", "the heaviest athlete refers to full_name where MAX(weight); from Russia refers to region_name = 'Russia';", "London refers to city_name = 'London'; how many times refer to COUNT(games_id);" ] }
{ "query": "Where is competitor Estelle Nze Minko from?", "pos": [ "Where competitor is from refers to region_name;" ], "neg": [ "DIVIDE(COUNT(id where region_name = 'Finland'), COUNT(id)) as percentage where games_name = '1994 Winter';", "city refers to city_name; 1992 Summer Olympic refers to games_name = '1992 Summer';", "Rio de Janeiro refers to city_name = 'Rio de Janeiro';", "DIVIDE(COUNT(id where height > 175), COUNT(id)) as percentage where region_name = 'Vanuatu';", "years refer to games_year; only have summer games refer to games_year where COUNT(games_name) = 1 and season = 'Summer';", "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));", "NOC code refers to noc; the heaviest refers to MAX(weight);", "host city refers to city_name; the 1968 Winter Olympic Games refer to games_name = '1968 Winter';", "the gold medal refers to medal_name = 'Gold';", "hockey's sport refers to sport_name = 'hockey';" ] }
{ "query": "What is the id of Rio de Janeiro?", "pos": [ "Rio de Janeiro refers to city_name = 'Rio de Janeiro';" ], "neg": [ "name refers to full_name; Greece refers to region_name = 'Greece';", "name of city refers to city_name", "games refer to games_id;", "name of his/her region refers to region_name;", "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';", "city refers to city_name; 1992 Summer Olympic refers to games_name = '1992 Summer';", "Barcelona refers to city_name = 'Barcelona'; the most competitors refer to MAX(COUNT(games_name)); name of game refers to games_name;", "year refers to games_year;", "males refer to gender = 'M'; Belgium refers to region_name = 'Belgium';", "male competitors refers to id where gender = 'M'; in 1948 Summer refers to games_name = '1948 Summer';" ] }
{ "query": "How many athletes from region 151 have won a medal?", "pos": [ "athletes refer to person_id; region 151 refers to region_id = 151; won a medal refers to medal_id <> 4;" ], "neg": [ "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 city refers to city_name", "name of the cities refers to city_name", "competitors from Finland refer to id where region_name = 'Finland'; female refers to gender = 'F';", "Modern Pentathlon refers to sport_name = 'Modern Pentathlon';", "from Guatemala refers to region_name = 'Guatemala';", "host city refers to city_name; the 1968 Winter Olympic Games refer to games_name = '1968 Winter';", "DIVIDE(SUM(height), COUNT(id)) where region_name = 'Finland' and gender = 'M';", "events refer to event_name; football refers to sport_name = 'Football';", "20 years old athletes refer to person_id where age = 20; 1984 Summer Olympic Games refer to games_name = '1984 Summer';" ] }
{ "query": "How many males from Belgium have participated in an Olympic Games?", "pos": [ "males refer to gender = 'M'; Belgium refers to region_name = 'Belgium';" ], "neg": [ "Summer games refer to games_id where season = 'Summer'; Paris refers to city_name = 'Paris';", "Rio de Janeiro refers to city_name = 'Rio de Janeiro';", "gold medals refer to medal_name = 'Gold';", "from Guatemala refers to region_name = 'Guatemala';", "competitors refer to person_id; from Finland refers to region_name = 'Finland';", "24 years old competitors refer to id where age = 24; Men's Basketball refers to event_name = 'Basketball Men''s Basketball';", "people who are below 30 refer to person_id where age < 30; the summer season refers to season = 'Summer';", "DIVIDE(COUNT(competitor_id where medal_name = 'Bronze'), COUNT(competitor_id)) as percentage where event_name = 'Basketball Men''s Basketball';", "name refers to full_name; the youngest refers to MIN(age);", "Summer games refer to id where season = 'Summer'; in Stockholm refers to city_name = 'Stockholm';" ] }
{ "query": "How many athlete from China participate in the 2016 Summer Olympics?", "pos": [ "athletes from China refer to person_id where region_name = 'China'; the 2016 Summer Olympics refer to games_name = '2016 Summer';" ], "neg": [ "games refer to games_id;", "males refer to gender = 'M'; Belgium refers to region_name = 'Belgium';", "AVG(height) where age BETWEEN 22 AND 28;", "SUBTRACT(COUNT(weight > 70), COUNT(weight < 70)) where age < 24;", "the 1984 Summer Olympic Games refer to games_name = '1984 Summer'; athletes more than 50 years old refer to person_id where age > 50;", "the Sapporo Olympics refer to games_id where city_name = 'Sapporo';", "20 years old athletes refer to person_id where age = 20; 1984 Summer Olympic Games refer to games_name = '1984 Summer';", "region refers to region_name; the highest medal number refers to MAX(COUNT(medal_id <> 4));", "the youngest competitor refers to full_name where MIN(age); in 2014 Winter refers to games_name = '2014 Winter';", "name of games refers to games_name;" ] }
{ "query": "Who is the heaviest athlete from Russia?", "pos": [ "the heaviest athlete refers to full_name where MAX(weight); from Russia refers to region_name = 'Russia';" ], "neg": [ "AVG(weight) where region_name = 'Tonga' and gender = 'M';", "Where it was held refers to city_name; the first Olympic game refers to id where MIN(games_year);", "athletes refer to person_id; region 151 refers to region_id = 151; won a medal refers to medal_id <> 4;", "cities refer to city_name; 1976 winter and summer games refer to games_name IN ('1976 Winter', '1976 Summer');", "DIVIDE(COUNT(age = 28), COUNT(id)) as percentage where games_name = '2014 Winter';", "name of sport refers to sport_name", "males refer to gender = 'M'; Belgium refers to region_name = 'Belgium';", "Rio de Janeiro refers to city_name = 'Rio de Janeiro';", "where it was held refers to city_name; the 1920 Summer refers to games_name = '1920 Summer';", "the youngest competitor refers to full_name where MIN(age); in 2014 Winter refers to games_name = '2014 Winter';" ] }
{ "query": "Which city were the Olympic games held in 1992?", "pos": [ "city refers to city_name; in 1992 refers to games_year = 1992;" ], "neg": [ "cities refer to city_name; 1976 winter and summer games refer to games_name IN ('1976 Winter', '1976 Summer');", "DIVIDE(COUNT(season = 'Winter' and age > 24), COUNT(person_id)) as percentage;", "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';", "sport refers to sport_name; event \"Shooting Women's Trap\" refers to event_name = 'Shooting Women''s Trap';", "hockey's sport refers to sport_name = 'hockey';", "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));", "24 years old competitors refer to id where age = 24; Men's Basketball refers to event_name = 'Basketball Men''s Basketball';", "in which city refers to city_name; the oldest refers to MAX(age);", "males refer to gender = 'M'; Belgium refers to region_name = 'Belgium';" ] }
{ "query": "How many Belgian men have competed in an Olympic Games?", "pos": [ "Belgian men refer to gender = 'M' where region_name = 'Belgium';" ], "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; Greece refers to region_name = 'Greece';", "where it was held refers to city_name; the 1920 Summer refers to games_name = '1920 Summer';", "NOC code refers to noc; the heaviest refers to MAX(weight);", "the tallest refers to MAX(height);", "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';", "Which city refers to city_name; 1936 Winter Olympic refers to games_name = '1936 Winter';", "the largest number of women participation refers to MAX(COUNT(gender = 'F')); In which Olympic Games refer to games_year;", "London refers to city_name = 'London'; how many times refer to COUNT(games_id);", "Who refers to full_name; the heaviest refers to MAX(weight);" ] }
{ "query": "What is the percentage of people whose age greater than 24 and participate in winter season?", "pos": [ "DIVIDE(COUNT(season = 'Winter' and age > 24), COUNT(person_id)) as percentage;" ], "neg": [ "kinds of events refer to event_name; sport of cycling refers to sport_name = 'Cycling';", "males refer to gender = 'M'; Belgium refers to region_name = 'Belgium';", "where it was held refers to city_name; the 1920 Summer refers to games_name = '1920 Summer';", "people who are below 30 refer to person_id where age < 30; the summer season refers to season = 'Summer';", "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;", "region refers to region_name; the highest medal number refers to MAX(COUNT(medal_id <> 4));", "the tallest refers to MAX(height);", "24 years old competitors refer to id where age = 24; Men's Basketball refers to event_name = 'Basketball Men''s Basketball';", "Men's 200 Metres Freestyle events refer to event_name = 'Swimming Men''s 200 metres Freestyle'; events compete in refers to event_id;" ] }
{ "query": "How many athletes in the database are from Guatemala?", "pos": [ "from Guatemala refers to region_name = 'Guatemala';" ], "neg": [ "names of competitors refer to full_name; from Finland refers to region_name = 'Finland';", "London refers to city_name = 'London';", "\"Shooting Mixed Skeet\" refers to event_name = 'Shooting Mixed Skeet';", "age is the most numerous refers to age where MAX(COUNT(person_id));", "Summer games refer to id where season = 'Summer'; in Stockholm refers to city_name = 'Stockholm';", "2012 Summer refers to games_name = '2012 Summer';", "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';", "Summer games refer to games_id where season = 'Summer'; Paris refers to city_name = 'Paris';", "Who refers to full_name; the heaviest refers to MAX(weight);", "the Sapporo Olympics refer to games_id where city_name = 'Sapporo';" ] }
{ "query": "At what age did Michael Fred Phelps, II join the Olympics?", "pos": [ "At what age join the Olympics refers to MIN(age);" ], "neg": [ "male competitors refers to id where gender = 'M'; in 1948 Summer refers to games_name = '1948 Summer';", "city refers to city_name; 1992 Summer Olympic refers to games_name = '1992 Summer';", "host city refers to city_name; the 1968 Winter Olympic Games refer to games_name = '1968 Winter';", "Which city refers to city_name; 1936 Winter Olympic refers to games_name = '1936 Winter';", "sport refers to sport_name; event \"Shooting Women's Trap\" refers to event_name = 'Shooting Women''s Trap';", "AVG(height) where age BETWEEN 22 AND 28;", "competitor who weighted 73 kg and 180 cm tall refers to person_id where height = 180 and weight = 73;", "DIVIDE(COUNT(competitor_id where medal_name = 'Bronze'), COUNT(competitor_id)) as percentage where event_name = 'Basketball Men''s Basketball';", "DIVIDE(COUNT(age < 35) / COUNT(person_id)) as percentage where season = 'Summer';", "Where competitor is from refers to region_name;" ] }
{ "query": "Among the Olympic games held in Los Angeles, what is the name of the Olympic game that has the most number of competitors?", "pos": [ "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));" ], "neg": [ "NOC code refers to noc; the heaviest refers to MAX(weight);", "Who refers to full_name; the heaviest refers to MAX(weight);", "the 1984 Summer Olympic Games refer to games_name = '1984 Summer'; athletes more than 50 years old refer to person_id where age > 50;", "hockey's sport refers to sport_name = 'hockey';", "At what age join the Olympics refers to MIN(age);", "names of competitors refer to full_name; from Finland refers to region_name = 'Finland';", "name of games refers to games_name;", "\"Shooting Mixed Skeet\" refers to event_name = 'Shooting Mixed Skeet';", "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;", "London refers to city_name = 'London'; how many times refer to COUNT(games_id);" ] }
{ "query": "What is the season of the game where a competitor who weighted 73 kg and 180 cm tall, participated?", "pos": [ "competitor who weighted 73 kg and 180 cm tall refers to person_id where height = 180 and weight = 73;" ], "neg": [ "Summer games refer to games_id where season = 'Summer'; Paris refers to city_name = 'Paris';", "region refers to region_name; the majority of the athletes from refer to MAX(COUNT(region_name));", "cities refer to city_name; 1976 winter and summer games refer to games_name IN ('1976 Winter', '1976 Summer');", "events refer to event_name; football refers to sport_name = 'Football';", "London refers to city_name = 'London';", "DIVIDE(COUNT(age < 35) / COUNT(person_id)) as percentage where season = 'Summer';", "in which city refers to city_name; the oldest refers to MAX(age);", "NOC code refers to noc; the heaviest refers to MAX(weight);", "kinds of events refer to event_name; sport of cycling refers to sport_name = 'Cycling';", "competitors from Finland refer to id where region_name = 'Finland'; female refers to gender = 'F';" ] }
{ "query": "In which city was the game held where the oldest competitor participated?", "pos": [ "in which city refers to city_name; the oldest refers to MAX(age);" ], "neg": [ "London refers to city_name = 'London';", "name of games refers to games_name;", "\"Cross Country Skiing Men's 10/15 kilometres Pursuit\" refers to event_name = 'Cross Country Skiing Men''s 10/15 kilometres Pursuit';", "hockey's sport refers to sport_name = 'hockey';", "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';", "games refer to games_id;", "female competitors refer to person_id where gender = 'F'; from Iran refers to region_name = 'Iran';", "20 years old athletes refer to person_id where age = 20; 1984 Summer Olympic Games refer to games_name = '1984 Summer';", "AVG(height) where sport_name = 'Basketball' and event_name = 'Basketball Men''s';", "sport refers to sport_name; event \"Shooting Women's Trap\" refers to event_name = 'Shooting Women''s Trap';" ] }
{ "query": "Which sport does the event \"Shooting Women's Trap\" belong to?", "pos": [ "sport refers to sport_name; event \"Shooting Women's Trap\" refers to event_name = 'Shooting Women''s Trap';" ], "neg": [ "24 years old competitors refer to id where age = 24; Men's Basketball refers to event_name = 'Basketball Men''s Basketball';", "city refers to city_name; 1992 Summer Olympic refers to games_name = '1992 Summer';", "DIVIDE(COUNT(age = 28), COUNT(id)) as percentage where games_name = '2014 Winter';", "region refers to region_name; NOC code \"COL\" refers to noc = 'COL';", "\"Shooting Mixed Skeet\" refers to event_name = 'Shooting Mixed Skeet';", "SUBTRACT(COUNT(weight > 70), COUNT(weight < 70)) where age < 24;", "Which city refers to city_name; 1936 Winter Olympic refers to games_name = '1936 Winter';", "males refer to gender = 'M'; Belgium refers to region_name = 'Belgium';", "competitor who weighted 73 kg and 180 cm tall refers to person_id where height = 180 and weight = 73;", "name of city refers to city_name" ] }
{ "query": "State the name of sport id 19.", "pos": [ "name of sport refers to sport_name" ], "neg": [ "region refers to region_name; NOC code \"COL\" refers to noc = 'COL';", "DIVIDE(COUNT(age = 28), COUNT(id)) as percentage where games_name = '2014 Winter';", "the gold medal refers to medal_name = 'Gold';", "DIVIDE(weight), MULTIPLY(height, height) where id = 147420;", "the tallest refers to MAX(height);", "people who are below 30 refer to person_id where age < 30; the summer season refers to season = 'Summer';", "names of competitors refer to full_name; from Finland refers to region_name = 'Finland';", "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);", "the largest number of women participation refers to MAX(COUNT(gender = 'F')); In which Olympic Games refer to games_year;" ] }
{ "query": "In which cities were the 1976 winter and summer games held?", "pos": [ "cities refer to city_name; 1976 winter and summer games refer to games_name IN ('1976 Winter', '1976 Summer');" ], "neg": [ "city refers to city_name; in 1992 refers to games_year = 1992;", "London refers to city_name = 'London'; how many times refer to COUNT(games_id);", "from Australia refer region_name = 'Australia';", "DIVIDE(SUM(age), COUNT(person_id)) where games_name = '1992 Summer';", "city refers to city_name; 1992 Summer Olympic refers to games_name = '1992 Summer';", "24 years old competitors refer to id where age = 24; Men's Basketball refers to event_name = 'Basketball Men''s Basketball';", "won the gold medal refers to medal_name = 'Gold'; event \"Rowing Women's Coxed Eights\" refers to event_name = 'Rowing Women''s Coxed Eights';", "Summer games refer to games_id where season = 'Summer'; Paris refers to city_name = 'Paris';", "the heaviest athlete refers to full_name where MAX(weight); from Russia refers to region_name = 'Russia';", "region refers to region_name; the majority of the athletes from refer to MAX(COUNT(region_name));" ] }
{ "query": "How many gold medals were given to the winners in the Ice Hockey Men's Ice Hockey event?", "pos": [ "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';" ], "neg": [ "London refers to city_name = 'London';", "Summer games refer to id where season = 'Summer'; in Stockholm refers to city_name = 'Stockholm';", "city refers to city_name; in 1992 refers to games_year = 1992;", "Where competitor is from refers to region_name;", "Modern Pentathlon refers to sport_name = 'Modern Pentathlon';", "Barcelona refers to city_name = 'Barcelona'; the most competitors refer to MAX(COUNT(games_name)); name of game refers to games_name;", "region refers to region_name; the highest medal number refers to MAX(COUNT(medal_id <> 4));", "swimming refers to sport_name = 'Swimming';", "DIVIDE(SUM(age), COUNT(person_id)) where games_name = '1992 Summer';", "name of games refers to games_name;" ] }
{ "query": "How many different football events are there?", "pos": [ "events refer to event_name; football refers to sport_name = 'Football';" ], "neg": [ "name of games refers to games_name;", "city refers to city_name; in 1992 refers to games_year = 1992;", "males refer to gender = 'M'; Belgium refers to region_name = 'Belgium';", "DIVIDE(COUNT(event_id where medal_name = 'Gold'), COUNT(event_id)) as percentage where full_name = 'Michael Fred Phelps, II';", "Which city refers to city_name; 1936 Winter Olympic refers to games_name = '1936 Winter';", "swimming refers to sport_name = 'Swimming';", "competitors from Finland refer to id where region_name = 'Finland'; female refers to gender = 'F';", "Men's 200 Metres Freestyle events refer to event_name = 'Swimming Men''s 200 metres Freestyle'; events compete in refers to event_id;", "DIVIDE(COUNT(id where height > 175), COUNT(id)) as percentage where region_name = 'Vanuatu';", "the heaviest athlete refers to full_name where MAX(weight); from Russia refers to region_name = 'Russia';" ] }
{ "query": "Calculate the average weight of male athletes from Tonga.", "pos": [ "AVG(weight) where region_name = 'Tonga' and gender = 'M';" ], "neg": [ "DIVIDE(COUNT(id where height > 175), COUNT(id)) as percentage where region_name = 'Vanuatu';", "name refers to full_name; Greece refers to region_name = 'Greece';", "Rio de Janeiro refers to city_name = 'Rio de Janeiro';", "in which city refers to city_name; the oldest refers to MAX(age);", "name of medal refers to medal_name;", "name of the sport with the most events refers to sport_name where MAX(COUNT(id));", "DIVIDE(SUM(height), COUNT(id)) where region_name = 'Finland' and gender = 'M';", "AVG(height) where sport_name = 'Basketball' and event_name = 'Basketball Men''s';", "Summer games refer to id where season = 'Summer'; in Stockholm refers to city_name = 'Stockholm';", "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 games has Prithipal Singh participated in?", "pos": [ "games refer to games_id;" ], "neg": [ "AVG(weight) where region_name = 'Tonga' and gender = 'M';", "DIVIDE(COUNT(person_id where gender = 'F), COUNT(person_id)) as percentage where event_name = 'Equestrianism Mixed Three-Day Event, Individual';", "host city refers to city_name; the 1968 Winter Olympic Games refer to games_name = '1968 Winter';", "male competitors refers to id where gender = 'M'; in 1948 Summer refers to games_name = '1948 Summer';", "athletes refer to person_id; 2014 Winter Olympics refer to games_name = '2014 Winter';", "year refers to games_year;", "Barcelona refers to city_name = 'Barcelona'; the most competitors refer to MAX(COUNT(games_name)); name of game refers to games_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';", "from Australia refer region_name = 'Australia';", "In which year refers to games_year; London refers to city_name = 'London'; earliest Olympic game refers to MIN(games_year);" ] }
{ "query": "How many persons participated in the Sapporo Olympics?", "pos": [ "the Sapporo Olympics refer to games_id where city_name = 'Sapporo';" ], "neg": [ "competitors from Finland refer to id where region_name = 'Finland'; female refers to gender = 'F';", "from Guatemala refers to region_name = 'Guatemala';", "NOC code refers to noc; the heaviest refers to MAX(weight);", "Who refers to full_name; participated in the most Olympic Games refers to MAX(COUNT(games_id));", "Men's 200 Metres Freestyle events refer to event_name = 'Swimming Men''s 200 metres Freestyle'; events compete in refers to event_id;", "cities refer to city_name; 1976 winter and summer games refer to games_name IN ('1976 Winter', '1976 Summer');", "the tallest refers to MAX(height);", "the gold medal refers to medal_name = 'Gold';", "Belgian men refer to gender = 'M' where region_name = 'Belgium';", "region refers to region_name; the majority of the athletes from refer to MAX(COUNT(region_name));" ] }
{ "query": "Provide the age of the tallest competitor.", "pos": [ "the tallest refers to MAX(height);" ], "neg": [ "name of games refers to games_name;", "gold medals refer to medal_name = 'Gold';", "Which city refers to city_name; 1936 Winter Olympic refers to games_name = '1936 Winter';", "the youngest competitor refers to full_name where MIN(age); in 2014 Winter refers to games_name = '2014 Winter';", "year refers to games_year;", "years refer to games_year; only have summer games refer to games_year where COUNT(games_name) = 1 and season = 'Summer';", "males refer to gender = 'M'; Belgium refers to region_name = 'Belgium';", "\"Shooting Mixed Skeet\" refers to event_name = 'Shooting Mixed Skeet';", "athletes refer to person_id; region 151 refers to region_id = 151; won a medal refers to medal_id <> 4;", "Summer games refer to games_id where season = 'Summer'; Paris refers to city_name = 'Paris';" ] }
{ "query": "Which summer Olympic have the highest and lowest number of participants?", "pos": [ "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';" ], "neg": [ "age is the most numerous refers to age where MAX(COUNT(person_id));", "DIVIDE(COUNT(event_id where medal_name = 'Gold'), COUNT(event_id)) as percentage where full_name = 'Michael Fred Phelps, II';", "From 1900 to 1992 refers to games_year BETWEEN 1900 AND 1992; London refers to city_name = 'London'; games refer to games_name;", "Who refers to full_name; the heaviest refers to MAX(weight);", "London refers to city_name = 'London'; how many times refer to COUNT(games_id);", "city refers to city_name; in 1992 refers to games_year = 1992;", "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));", "from Guatemala refers to region_name = 'Guatemala';", "name of city refers to city_name", "DIVIDE(COUNT(age = 28), COUNT(id)) as percentage where games_name = '2014 Winter';" ] }
{ "query": "What is the sport name of \"Cross Country Skiing Men's 10/15 kilometres Pursuit\" event?", "pos": [ "\"Cross Country Skiing Men's 10/15 kilometres Pursuit\" refers to event_name = 'Cross Country Skiing Men''s 10/15 kilometres Pursuit';" ], "neg": [ "people who are below 30 refer to person_id where age < 30; the summer season refers to season = 'Summer';", "2012 Summer refers to games_name = '2012 Summer';", "From 1900 to 1992 refers to games_year BETWEEN 1900 AND 1992; London refers to city_name = 'London'; games refer to games_name;", "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;", "the gold medal refers to medal_name = 'Gold';", "DIVIDE(weight), MULTIPLY(height, height) where id = 147420;", "Belgian men refer to gender = 'M' where region_name = 'Belgium';", "AVG(height) where sport_name = 'Basketball' and event_name = 'Basketball Men''s';", "male competitors refers to id where gender = 'M'; in 1948 Summer refers to games_name = '1948 Summer';", "males refer to gender = 'M'; Belgium refers to region_name = 'Belgium';" ] }
{ "query": "What is the name of the youngest competitor?", "pos": [ "name refers to full_name; the youngest refers to MIN(age);" ], "neg": [ "DIVIDE(COUNT(competitor_id where medal_name = 'Bronze'), COUNT(competitor_id)) as percentage where event_name = 'Basketball Men''s Basketball';", "London refers to city_name = 'London';", "games refer to games_id;", "kinds of events refer to event_name; sport of cycling refers to sport_name = 'Cycling';", "name of his/her region refers to region_name;", "Barcelona refers to city_name = 'Barcelona'; the most competitors refer to MAX(COUNT(games_name)); name of game refers to games_name;", "In which year refers to games_year; London refers to city_name = 'London'; earliest Olympic game refers to MIN(games_year);", "DIVIDE(COUNT(id where height > 175), COUNT(id)) as percentage where region_name = 'Vanuatu';", "DIVIDE(COUNT(age < 35) / COUNT(person_id)) as percentage where season = 'Summer';", "DIVIDE(COUNT(person_id where gender = 'F), COUNT(person_id)) as percentage where event_name = 'Equestrianism Mixed Three-Day Event, Individual';" ] }
{ "query": "How many 24 years old competitors competed in Men's Basketball?", "pos": [ "24 years old competitors refer to id where age = 24; Men's Basketball refers to event_name = 'Basketball Men''s Basketball';" ], "neg": [ "DIVIDE(SUM(age), COUNT(person_id)) where games_name = '1992 Summer';", "where it was held refers to city_name; the 1920 Summer refers to games_name = '1920 Summer';", "name refers to full_name; the oldest refers to MAX(age);", "events refer to event_name; football refers to sport_name = 'Football';", "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';", "games refer to games_id;", "host city refers to city_name; the 1968 Winter Olympic Games refer to games_name = '1968 Winter';", "AVG(weight) where region_name = 'Tonga' and gender = 'M';", "\"Shooting Mixed Skeet\" refers to event_name = 'Shooting Mixed Skeet';", "DIVIDE(COUNT(competitor_id where medal_name = 'Bronze'), COUNT(competitor_id)) as percentage where event_name = 'Basketball Men''s Basketball';" ] }
{ "query": "Calculate the bmi of the competitor id 147420.", "pos": [ "DIVIDE(weight), MULTIPLY(height, height) where id = 147420;" ], "neg": [ "events refer to event_name; football refers to sport_name = 'Football';", "DIVIDE(COUNT(id where height > 175), COUNT(id)) as percentage where region_name = 'Vanuatu';", "competitor who weighted 73 kg and 180 cm tall refers to person_id where height = 180 and weight = 73;", "DIVIDE(COUNT(event_id where medal_name = 'Gold'), COUNT(event_id)) as percentage where full_name = 'Michael Fred Phelps, II';", "NOC code refers to noc; the heaviest refers to MAX(weight);", "won the gold medal refers to medal_name = 'Gold'; event \"Rowing Women's Coxed Eights\" refers to event_name = 'Rowing Women''s Coxed Eights';", "hockey's sport refers to sport_name = 'hockey';", "name of city refers to city_name", "DIVIDE(SUM(age), COUNT(person_id)) where games_name = '1992 Summer';", "Roma refers to city_name = 'Roma'; When host refers to games_year;" ] }
{ "query": "How many athletes are from Australia?", "pos": [ "from Australia refer region_name = 'Australia';" ], "neg": [ "AVG(weight) where region_name = 'Tonga' and gender = 'M';", "Belgian men refer to gender = 'M' where region_name = 'Belgium';", "DIVIDE(COUNT(id where region_name = 'Finland'), COUNT(id)) as percentage where games_name = '1994 Winter';", "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));", "won the gold medal refers to medal_name = 'Gold'; event \"Rowing Women's Coxed Eights\" refers to event_name = 'Rowing Women''s Coxed Eights';", "\"Shooting Mixed Skeet\" refers to event_name = 'Shooting Mixed Skeet';", "Summer games refer to games_id where season = 'Summer'; Paris refers to city_name = 'Paris';", "In which year refers to games_year; London refers to city_name = 'London'; earliest Olympic game refers to MIN(games_year);", "how old was he refers to age; 1994 Winter refers to 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;" ] }
{ "query": "How many athletes participated in the 2014 Winter Olympics?", "pos": [ "athletes refer to person_id; 2014 Winter Olympics refer to games_name = '2014 Winter';" ], "neg": [ "gold medals refer to medal_name = 'Gold';", "host city refers to city_name; the 1968 Winter Olympic Games refer to games_name = '1968 Winter';", "DIVIDE(COUNT(id where height > 175), COUNT(id)) as percentage where region_name = 'Vanuatu';", "competitors refer to person_id; from Finland refers to region_name = 'Finland';", "names of competitors refer to full_name; from Finland refers to region_name = 'Finland';", "AVG(age) where games_name = '1988 Winter';", "the largest number of women participation refers to MAX(COUNT(gender = 'F')); In which Olympic Games refer to games_year;", "Which city refers to city_name; 1936 Winter Olympic refers to games_name = '1936 Winter';", "in which city refers to city_name; the oldest refers to MAX(age);", "over the age of 59 refers to age > 59; the 2016 Summer Olympics refer to games_name = '2016 Summer';" ] }
{ "query": "Show the name of the sport with the most events.", "pos": [ "name of the sport with the most events refers to sport_name where MAX(COUNT(id));" ], "neg": [ "where it was held refers to city_name; the 1920 Summer refers to games_name = '1920 Summer';", "DIVIDE(SUM(height), COUNT(id)) where region_name = 'Finland' and gender = 'M';", "2012 Summer refers to games_name = '2012 Summer';", "cities refer to city_name; 1976 winter and summer games refer to games_name IN ('1976 Winter', '1976 Summer');", "kinds of events refer to event_name; sport of cycling refers to sport_name = 'Cycling';", "Belgian men refer to gender = 'M' where region_name = 'Belgium';", "city refers to city_name; 1992 Summer Olympic refers to games_name = '1992 Summer';", "From 1900 to 1992 refers to games_year BETWEEN 1900 AND 1992; London refers to city_name = 'London'; games refer to games_name;", "Barcelona refers to city_name = 'Barcelona'; the most competitors refer to MAX(COUNT(games_name)); name of game refers to games_name;", "the gold medal refers to medal_name = 'Gold';" ] }
{ "query": "In the 2014 Winter game, what is the percentage of competitors who age 28 years old?", "pos": [ "DIVIDE(COUNT(age = 28), COUNT(id)) as percentage where games_name = '2014 Winter';" ], "neg": [ "DIVIDE(COUNT(id where height > 175), COUNT(id)) as percentage where region_name = 'Vanuatu';", "Barcelona refers to city_name = 'Barcelona'; the most competitors refer to MAX(COUNT(games_name)); name of game refers to games_name;", "\"Cross Country Skiing Men's 10/15 kilometres Pursuit\" refers to event_name = 'Cross Country Skiing Men''s 10/15 kilometres Pursuit';", "athletes from China refer to person_id where region_name = 'China'; the 2016 Summer Olympics refer to games_name = '2016 Summer';", "NOC code refers to noc; the heaviest refers to MAX(weight);", "from Guatemala refers to region_name = 'Guatemala';", "name of the sport with the most events refers to sport_name where MAX(COUNT(id));", "name of games refers to games_name;", "DIVIDE(COUNT(id where region_name = 'Finland'), COUNT(id)) as percentage where games_name = '1994 Winter';", "24 years old competitors refer to id where age = 24; Men's Basketball refers to event_name = 'Basketball Men''s Basketball';" ] }
{ "query": "Where was the first Olympic game held?", "pos": [ "Where it was held refers to city_name; the first Olympic game refers to id where MIN(games_year);" ], "neg": [ "AVG(weight) where region_name = 'Tonga' and gender = 'M';", "DIVIDE(COUNT(id where region_name = 'Finland'), COUNT(id)) as percentage where games_name = '1994 Winter';", "Men's 200 Metres Freestyle events refer to event_name = 'Swimming Men''s 200 metres Freestyle'; events compete in refers to event_id;", "from Guatemala refers to region_name = 'Guatemala';", "Rio de Janeiro refers to city_name = 'Rio de Janeiro';", "cities refer to city_name; 1976 winter and summer games refer to games_name IN ('1976 Winter', '1976 Summer');", "DIVIDE(COUNT(season = 'Winter' and age > 24), COUNT(person_id)) as percentage;", "where it was held refers to city_name; the 1920 Summer refers to games_name = '1920 Summer';", "female competitors refer to person_id where gender = 'F'; from Iran refers to region_name = 'Iran';", "gold medals refer to medal_name = 'Gold';" ] }
{ "query": "Who has participated in the most Olympic Games in the database?", "pos": [ "Who refers to full_name; participated in the most Olympic Games refers to MAX(COUNT(games_id));" ], "neg": [ "Belgian men refer to gender = 'M' where region_name = 'Belgium';", "cities beginning with the letter M refer to city_name LIKE 'M%';", "NOC code refers to noc; the heaviest refers to MAX(weight);", "DIVIDE(COUNT(id where region_name = 'Finland'), COUNT(id)) as percentage where games_name = '1994 Winter';", "Barcelona refers to city_name = 'Barcelona'; the most competitors refer to MAX(COUNT(games_name)); name of game refers to games_name;", "won the gold medal refers to medal_name = 'Gold'; event \"Rowing Women's Coxed Eights\" refers to event_name = 'Rowing Women''s Coxed Eights';", "2012 Summer refers to games_name = '2012 Summer';", "years refer to games_year; only have summer games refer to games_year where COUNT(games_name) = 1 and season = 'Summer';", "swimming refers to sport_name = 'Swimming';", "competitor who weighted 73 kg and 180 cm tall refers to person_id where height = 180 and weight = 73;" ] }
{ "query": "How many different events are there of Modern Pentathlon?", "pos": [ "Modern Pentathlon refers to sport_name = 'Modern Pentathlon';" ], "neg": [ "From 1900 to 1992 refers to games_year BETWEEN 1900 AND 1992; London refers to city_name = 'London'; games refer to games_name;", "gold medals refer to medal_name = 'Gold';", "DIVIDE(COUNT(event_id where medal_name = 'Gold'), COUNT(event_id)) as percentage where full_name = 'Michael Fred Phelps, II';", "London refers to city_name = 'London'; how many times refer to COUNT(games_id);", "name refers to full_name; the oldest refers to MAX(age);", "games refer to games_id;", "hockey's sport refers to sport_name = 'hockey';", "name of the sport with the most events refers to sport_name where MAX(COUNT(id));", "kinds of events refer to event_name; sport of cycling refers to sport_name = 'Cycling';", "the youngest competitor refers to full_name where MIN(age); in 2014 Winter refers to games_name = '2014 Winter';" ] }
{ "query": "How many Men's 200 Metres Freestyle events did Ian James Thorpe compete in?", "pos": [ "Men's 200 Metres Freestyle events refer to event_name = 'Swimming Men''s 200 metres Freestyle'; events compete in refers to event_id;" ], "neg": [ "DIVIDE(COUNT(person_id where gender = 'F), COUNT(person_id)) as percentage where event_name = 'Equestrianism Mixed Three-Day Event, Individual';", "Roma refers to city_name = 'Roma'; When host refers to games_year;", "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(SUM(age), COUNT(person_id)) where games_name = '1992 Summer';", "name of the cities refers to city_name", "Summer games refer to games_id where season = 'Summer'; Paris refers to city_name = 'Paris';", "name of the sport with the most events refers to sport_name where MAX(COUNT(id));", "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';", "year refers to games_year;", "24 years old competitors refer to id where age = 24; Men's Basketball refers to event_name = 'Basketball Men''s Basketball';" ] }
{ "query": "Give the NOC code and region name of the heaviest competitor.", "pos": [ "NOC code refers to noc; the heaviest refers to MAX(weight);" ], "neg": [ "region refers to region_name; NOC code \"COL\" refers to noc = 'COL';", "athletes refer to person_id; 2014 Winter Olympics refer to games_name = '2014 Winter';", "years refer to games_year; only have summer games refer to games_year where COUNT(games_name) = 1 and season = 'Summer';", "male competitors refers to id where gender = 'M'; in 1948 Summer refers to games_name = '1948 Summer';", "city refers to city_name; in 1992 refers to games_year = 1992;", "name refers to full_name; Greece refers to region_name = 'Greece';", "the gold medal refers to medal_name = 'Gold';", "the tallest refers to MAX(height);", "Which city refers to city_name; 1936 Winter Olympic refers to games_name = '1936 Winter';", "region refers to region_name; the majority of the athletes from refer to MAX(COUNT(region_name));" ] }
{ "query": "At which age did A Lamusi participate in 2012 Summer?", "pos": [ "2012 Summer refers to games_name = '2012 Summer';" ], "neg": [ "DIVIDE(SUM(height), COUNT(id)) where region_name = 'Finland' and gender = 'M';", "Modern Pentathlon refers to sport_name = 'Modern Pentathlon';", "female competitors refer to person_id where gender = 'F'; from Iran refers to region_name = 'Iran';", "gold medals refer to medal_name = 'Gold';", "name of his/her region refers to region_name;", "\"Cross Country Skiing Men's 10/15 kilometres Pursuit\" refers to event_name = 'Cross Country Skiing Men''s 10/15 kilometres Pursuit';", "name of city refers to city_name", "DIVIDE(COUNT(competitor_id where medal_name = 'Bronze'), COUNT(competitor_id)) as percentage where event_name = 'Basketball Men''s Basketball';", "competitors refer to person_id; from Finland refers to region_name = 'Finland';", "DIVIDE(COUNT(person_id where gender = 'F), COUNT(person_id)) as percentage where event_name = 'Equestrianism Mixed Three-Day Event, Individual';" ] }
{ "query": "What are the id of the games held in London?", "pos": [ "London refers to city_name = 'London';" ], "neg": [ "Which city refers to city_name; 1936 Winter Olympic refers to games_name = '1936 Winter';", "from Guatemala refers to region_name = 'Guatemala';", "AVG(age) where games_name = '1988 Winter';", "2012 Summer refers to games_name = '2012 Summer';", "gold medals refer to medal_name = 'Gold';", "the youngest competitor refers to full_name where MIN(age); in 2014 Winter refers to games_name = '2014 Winter';", "the tallest refers to MAX(height);", "athletes refer to person_id; 2014 Winter Olympics refer to games_name = '2014 Winter';", "the Sapporo Olympics refer to games_id where city_name = 'Sapporo';", "name of sport refers to sport_name" ] }
{ "query": "For Peter Kohnke, show the name of his/her region.", "pos": [ "name of his/her region refers to region_name;" ], "neg": [ "Roma refers to city_name = 'Roma'; When host refers to games_year;", "London refers to city_name = 'London'; how many times refer to COUNT(games_id);", "AVG(height) where sport_name = 'Basketball' and event_name = 'Basketball Men''s';", "NOC code refers to noc; the heaviest refers to MAX(weight);", "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;", "\"Shooting Mixed Skeet\" refers to event_name = 'Shooting Mixed Skeet';", "the youngest competitor refers to full_name where MIN(age); in 2014 Winter refers to games_name = '2014 Winter';", "hockey's sport refers to sport_name = 'hockey';", "Men's 200 Metres Freestyle events refer to event_name = 'Swimming Men''s 200 metres Freestyle'; events compete in refers to event_id;", "games refer to games_id;" ] }
{ "query": "In what year and season did Sohail Abbas compete?", "pos": [ "year refers to games_year;" ], "neg": [ "SUBTRACT(COUNT(weight > 70), COUNT(weight < 70)) where age < 24;", "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 youngest refers to MIN(age);", "region refers to region_name; the highest medal number refers to MAX(COUNT(medal_id <> 4));", "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));", "2012 Summer refers to games_name = '2012 Summer';", "\"Shooting Mixed Skeet\" refers to event_name = 'Shooting Mixed Skeet';", "AVG(weight) where region_name = 'Tonga' and gender = 'M';", "Which city refers to city_name; 1936 Winter Olympic refers to games_name = '1936 Winter';" ] }
{ "query": "For how many times has London held the Olympic games?", "pos": [ "London refers to city_name = 'London'; how many times refer to COUNT(games_id);" ], "neg": [ "Rio de Janeiro refers to city_name = 'Rio de Janeiro';", "Modern Pentathlon refers to sport_name = 'Modern Pentathlon';", "name refers to full_name; the oldest refers to MAX(age);", "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';", "sport refers to sport_name; event \"Shooting Women's Trap\" refers to event_name = 'Shooting Women''s Trap';", "AVG(height) where sport_name = 'Basketball' and event_name = 'Basketball Men''s';", "the Sapporo Olympics refer to games_id where city_name = 'Sapporo';", "swimming refers to sport_name = 'Swimming';", "names of competitors refer to full_name; from Finland refers to region_name = 'Finland';" ] }
{ "query": "How many Summer games were held in Stockholm?", "pos": [ "Summer games refer to id where season = 'Summer'; in Stockholm refers to city_name = 'Stockholm';" ], "neg": [ "DIVIDE(SUM(age), COUNT(person_id)) where games_name = '1992 Summer';", "the Sapporo Olympics refer to games_id where city_name = 'Sapporo';", "London refers to city_name = 'London';", "name of city refers to city_name", "events refer to event_name; football refers to sport_name = 'Football';", "name refers to full_name; Greece refers to region_name = 'Greece';", "female competitors refer to person_id where gender = 'F'; from Iran refers to region_name = 'Iran';", "Roma refers to city_name = 'Roma'; When host refers to games_year;", "SUBTRACT(COUNT(weight > 70), COUNT(weight < 70)) where age < 24;", "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;" ] }
{ "query": "What is the percentage of athletes from Vanuatu who are taller than 175?", "pos": [ "DIVIDE(COUNT(id where height > 175), COUNT(id)) as percentage where region_name = 'Vanuatu';" ], "neg": [ "Roma refers to city_name = 'Roma'; When host refers to games_year;", "DIVIDE(COUNT(id where region_name = 'Finland'), COUNT(id)) as percentage where games_name = '1994 Winter';", "region refers to region_name; NOC code \"COL\" refers to noc = 'COL';", "cities beginning with the letter M refer to city_name LIKE 'M%';", "athletes refer to person_id; region 151 refers to region_id = 151; won a medal refers to medal_id <> 4;", "where it was held refers to city_name; the 1920 Summer refers to games_name = '1920 Summer';", "AVG(height) where age BETWEEN 22 AND 28;", "AVG(weight) where region_name = 'Tonga' and gender = 'M';", "male competitors refers to id where gender = 'M'; in 1948 Summer refers to games_name = '1948 Summer';", "SUBTRACT(COUNT(weight > 70), COUNT(weight < 70)) where age < 24;" ] }
{ "query": "In which year did London hold its earliest Olympic game?", "pos": [ "In which year refers to games_year; London refers to city_name = 'London'; earliest Olympic game refers to MIN(games_year);" ], "neg": [ "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';", "female competitors refer to person_id where gender = 'F'; from Iran refers to region_name = 'Iran';", "name refers to full_name; the youngest refers to MIN(age);", "competitors refer to person_id; from Finland refers to region_name = 'Finland';", "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';", "name of the cities refers to city_name", "DIVIDE(COUNT(id where height > 175), COUNT(id)) as percentage where region_name = 'Vanuatu';", "London refers to city_name = 'London';", "Which city refers to city_name; 1936 Winter Olympic refers to games_name = '1936 Winter';", "name refers to full_name; the oldest refers to MAX(age);" ] }
{ "query": "Among all the Olympic competitors from Finland, how many of them are female?", "pos": [ "competitors from Finland refer to id where region_name = 'Finland'; female refers to gender = 'F';" ], "neg": [ "the 1984 Summer Olympic Games refer to games_name = '1984 Summer'; athletes more than 50 years old refer to person_id where age > 50;", "male competitors refers to id where gender = 'M'; in 1948 Summer refers to games_name = '1948 Summer';", "DIVIDE(SUM(age), COUNT(person_id)) where games_name = '1992 Summer';", "AVG(height) where age BETWEEN 22 AND 28;", "DIVIDE(COUNT(id where height > 175), COUNT(id)) as percentage where region_name = 'Vanuatu';", "Rio de Janeiro refers to city_name = 'Rio de Janeiro';", "DIVIDE(SUM(height), COUNT(id)) where region_name = 'Finland' and gender = 'M';", "Who refers to full_name; the heaviest refers to MAX(weight);", "DIVIDE(COUNT(age = 28), COUNT(id)) as percentage where games_name = '2014 Winter';", "the Sapporo Olympics refer to games_id where city_name = 'Sapporo';" ] }
{ "query": "List out years that only have summer games.", "pos": [ "years refer to games_year; only have summer games refer to games_year where COUNT(games_name) = 1 and season = 'Summer';" ], "neg": [ "Belgian men refer to gender = 'M' where region_name = 'Belgium';", "DIVIDE(COUNT(competitor_id where medal_name = 'Bronze'), COUNT(competitor_id)) as percentage where event_name = 'Basketball Men''s Basketball';", "name of his/her region refers to region_name;", "name refers to full_name; the oldest refers to MAX(age);", "athletes refer to person_id; 2014 Winter Olympics refer to games_name = '2014 Winter';", "name of the cities refers to city_name", "region refers to region_name; the majority of the athletes from refer to MAX(COUNT(region_name));", "kinds of events refer to event_name; sport of cycling refers to sport_name = 'Cycling';", "20 years old athletes refer to person_id where age = 20; 1984 Summer Olympic Games refer to games_name = '1984 Summer';", "female competitors refer to person_id where gender = 'F'; from Iran refers to region_name = 'Iran';" ] }
{ "query": "In which Olympic Games have the largest number of women participation?", "pos": [ "the largest number of women participation refers to MAX(COUNT(gender = 'F')); In which Olympic Games refer to games_year;" ], "neg": [ "from Guatemala refers to region_name = 'Guatemala';", "gold medals refer to medal_name = 'Gold';", "competitors refer to person_id; from Finland refers to region_name = 'Finland';", "events refer to event_name; football refers to sport_name = 'Football';", "DIVIDE(COUNT(age < 35) / COUNT(person_id)) as percentage where season = 'Summer';", "where it was held refers to city_name; the 1920 Summer refers to games_name = '1920 Summer';", "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;", "name of medal refers to medal_name;", "the heaviest athlete refers to full_name where MAX(weight); from Russia refers to region_name = 'Russia';", "DIVIDE(COUNT(id where height > 175), COUNT(id)) as percentage where region_name = 'Vanuatu';" ] }
{ "query": "Which region is the majority of the athletes from?", "pos": [ "region refers to region_name; the majority of the athletes from refer to MAX(COUNT(region_name));" ], "neg": [ "name of the cities refers to city_name", "Belgian men refer to gender = 'M' where region_name = 'Belgium';", "DIVIDE(SUM(age), COUNT(person_id)) where games_name = '1992 Summer';", "From 1900 to 1992 refers to games_year BETWEEN 1900 AND 1992; London refers to city_name = 'London'; games refer to games_name;", "region refers to region_name; the highest medal number refers to MAX(COUNT(medal_id <> 4));", "Summer games refer to id where season = 'Summer'; in Stockholm refers to city_name = 'Stockholm';", "DIVIDE(weight), MULTIPLY(height, height) where id = 147420;", "Barcelona refers to city_name = 'Barcelona'; the most competitors refer to MAX(COUNT(games_name)); name of game refers to games_name;", "name of sport refers to sport_name", "Where it was held refers to city_name; the first Olympic game refers to id where MIN(games_year);" ] }
{ "query": "What is the average age of competitors who participated in 1988 Winter?", "pos": [ "AVG(age) where games_name = '1988 Winter';" ], "neg": [ "DIVIDE(SUM(height), COUNT(id)) where region_name = 'Finland' and gender = 'M';", "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));", "athletes refer to person_id; 2014 Winter Olympics refer to games_name = '2014 Winter';", "from Australia refer region_name = 'Australia';", "name of sport refers to sport_name", "2012 Summer refers to games_name = '2012 Summer';", "the youngest competitor refers to full_name where MIN(age); in 2014 Winter refers to games_name = '2014 Winter';", "region refers to region_name; NOC code \"COL\" refers to noc = 'COL';", "From 1900 to 1992 refers to games_year BETWEEN 1900 AND 1992; London refers to city_name = 'London'; games refer to games_name;", "competitors from Finland refer to id where region_name = 'Finland'; female refers to gender = 'F';" ] }
{ "query": "Among the competitors of the 1994 Winter Olympic Game, what is the percentage of those from Finland?", "pos": [ "DIVIDE(COUNT(id where region_name = 'Finland'), COUNT(id)) as percentage where games_name = '1994 Winter';" ], "neg": [ "names of competitors refer to full_name; from Finland refers to region_name = 'Finland';", "name of medal refers to medal_name;", "Barcelona refers to city_name = 'Barcelona'; the most competitors refer to MAX(COUNT(games_name)); name of game refers to games_name;", "In which year refers to games_year; London refers to city_name = 'London'; earliest Olympic game refers to MIN(games_year);", "Which city refers to city_name; 1936 Winter Olympic refers to games_name = '1936 Winter';", "DIVIDE(COUNT(age < 35) / COUNT(person_id)) as percentage where season = 'Summer';", "region refers to region_name; the highest medal number refers to MAX(COUNT(medal_id <> 4));", "the heaviest athlete refers to full_name where MAX(weight); from Russia refers to region_name = 'Russia';", "from Guatemala refers to region_name = 'Guatemala';", "Summer games refer to id where season = 'Summer'; in Stockholm refers to city_name = 'Stockholm';" ] }
{ "query": "Which city was the 1992 Summer Olympic held?", "pos": [ "city refers to city_name; 1992 Summer Olympic refers to games_name = '1992 Summer';" ], "neg": [ "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';", "DIVIDE(COUNT(id where height > 175), COUNT(id)) as percentage where region_name = 'Vanuatu';", "games refer to games_id;", "athletes refer to person_id; 2014 Winter Olympics refer to games_name = '2014 Winter';", "DIVIDE(weight), MULTIPLY(height, height) where id = 147420;", "Rio de Janeiro refers to city_name = 'Rio de Janeiro';", "London refers to city_name = 'London'; how many times refer to COUNT(games_id);", "males refer to gender = 'M'; Belgium refers to region_name = 'Belgium';", "kinds of events refer to event_name; sport of cycling refers to sport_name = 'Cycling';", "Where competitor is from refers to region_name;" ] }
{ "query": "Provide the name of competitors from Greece.", "pos": [ "name refers to full_name; Greece refers to region_name = 'Greece';" ], "neg": [ "In which year refers to games_year; London refers to city_name = 'London'; earliest Olympic game refers to MIN(games_year);", "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';", "name of medal refers to medal_name;", "24 years old competitors refer to id where age = 24; Men's Basketball refers to event_name = 'Basketball Men''s Basketball';", "gold medals refer to medal_name = 'Gold';", "\"Shooting Mixed Skeet\" refers to event_name = 'Shooting Mixed Skeet';", "Where competitor is from refers to region_name;", "competitors from Finland refer to id where region_name = 'Finland'; female refers to gender = 'F';", "London refers to city_name = 'London'; how many times refer to COUNT(games_id);", "name of the cities refers to city_name" ] }
{ "query": "How many Olympic events did Michael Phelps II join in total? Find the percentage of the events where he won a gold medal.", "pos": [ "DIVIDE(COUNT(event_id where medal_name = 'Gold'), COUNT(event_id)) as percentage where full_name = 'Michael Fred Phelps, II';" ], "neg": [ "DIVIDE(COUNT(competitor_id where medal_name = 'Bronze'), COUNT(competitor_id)) as percentage where event_name = 'Basketball Men''s Basketball';", "name of his/her region refers to region_name;", "hockey's sport refers to sport_name = 'hockey';", "year refers to games_year;", "In which year refers to games_year; London refers to city_name = 'London'; earliest Olympic game refers to MIN(games_year);", "\"Cross Country Skiing Men's 10/15 kilometres Pursuit\" refers to event_name = 'Cross Country Skiing Men''s 10/15 kilometres Pursuit';", "AVG(age) where games_name = '1988 Winter';", "city refers to city_name; 1992 Summer Olympic refers to games_name = '1992 Summer';", "name of the sport with the most events refers to sport_name where MAX(COUNT(id));", "the largest number of women participation refers to MAX(COUNT(gender = 'F')); In which Olympic Games refer to games_year;" ] }
{ "query": "Where was the 1920 Summer held?", "pos": [ "where it was held refers to city_name; the 1920 Summer refers to games_name = '1920 Summer';" ], "neg": [ "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));", "NOC code refers to noc; the heaviest refers to MAX(weight);", "cities refer to city_name; 1976 winter and summer games refer to games_name IN ('1976 Winter', '1976 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';", "the youngest competitor refers to full_name where MIN(age); in 2014 Winter refers to games_name = '2014 Winter';", "name of the cities refers to city_name", "Who refers to full_name; participated in the most Olympic Games refers to MAX(COUNT(games_id));", "24 years old competitors refer to id where age = 24; Men's Basketball refers to event_name = 'Basketball Men''s Basketball';", "names of competitors refer to full_name; from Finland refers to region_name = 'Finland';" ] }
{ "query": "What is the name of the oldest competitor?", "pos": [ "name refers to full_name; the oldest refers to MAX(age);" ], "neg": [ "From 1900 to 1992 refers to games_year BETWEEN 1900 AND 1992; London refers to city_name = 'London'; games refer to games_name;", "Men's 200 Metres Freestyle events refer to event_name = 'Swimming Men''s 200 metres Freestyle'; events compete in refers to event_id;", "DIVIDE(COUNT(person_id where gender = 'F), COUNT(person_id)) as percentage where event_name = 'Equestrianism Mixed Three-Day Event, Individual';", "sport refers to sport_name; event \"Shooting Women's Trap\" refers to event_name = 'Shooting Women''s Trap';", "names of competitors refer to full_name; from Finland refers to region_name = 'Finland';", "swimming refers to sport_name = 'Swimming';", "name of the sport with the most events refers to sport_name where MAX(COUNT(id));", "London refers to city_name = 'London';", "the largest number of women participation refers to MAX(COUNT(gender = 'F')); In which Olympic Games refer to games_year;", "\"Cross Country Skiing Men's 10/15 kilometres Pursuit\" refers to event_name = 'Cross Country Skiing Men''s 10/15 kilometres Pursuit';" ] }
{ "query": "Calculate the average age of the persons who participated in the 1992 Summer Games.", "pos": [ "DIVIDE(SUM(age), COUNT(person_id)) where games_name = '1992 Summer';" ], "neg": [ "Who refers to full_name; the heaviest refers to MAX(weight);", "in which city refers to city_name; the oldest refers to MAX(age);", "Where competitor is from refers to region_name;", "competitors from Finland refer to id where region_name = 'Finland'; female refers to gender = 'F';", "AVG(weight) where region_name = 'Tonga' and gender = 'M';", "the gold medal refers to medal_name = 'Gold';", "name refers to full_name; the youngest refers to MIN(age);", "Modern Pentathlon refers to sport_name = 'Modern Pentathlon';", "region refers to region_name; the majority of the athletes from refer to MAX(COUNT(region_name));", "DIVIDE(COUNT(event_id where medal_name = 'Gold'), COUNT(event_id)) as percentage where full_name = 'Michael Fred Phelps, II';" ] }
{ "query": "What age of the competitors is the most numerous?", "pos": [ "age is the most numerous refers to age where MAX(COUNT(person_id));" ], "neg": [ "won the gold medal refers to medal_name = 'Gold'; event \"Rowing Women's Coxed Eights\" refers to event_name = 'Rowing Women''s Coxed Eights';", "hockey's sport refers to sport_name = 'hockey';", "DIVIDE(COUNT(person_id where gender = 'F), COUNT(person_id)) as percentage where event_name = 'Equestrianism Mixed Three-Day Event, Individual';", "name refers to full_name; the oldest refers to MAX(age);", "gold medals refer to medal_name = 'Gold';", "AVG(height) where sport_name = 'Basketball' and event_name = 'Basketball Men''s';", "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';", "sport refers to sport_name; event \"Shooting Women's Trap\" refers to event_name = 'Shooting Women''s Trap';", "Which city refers to city_name; 1936 Winter Olympic refers to games_name = '1936 Winter';", "city refers to city_name; in 1992 refers to games_year = 1992;" ] }
{ "query": "How many female competitors were from Iran?", "pos": [ "female competitors refer to person_id where gender = 'F'; from Iran refers to region_name = 'Iran';" ], "neg": [ "name of games refers to games_name;", "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';", "\"Shooting Mixed Skeet\" refers to event_name = 'Shooting Mixed Skeet';", "name of city refers to city_name", "athletes refer to person_id; 2014 Winter Olympics refer to games_name = '2014 Winter';", "Which city refers to city_name; 1936 Winter Olympic refers to games_name = '1936 Winter';", "AVG(weight) where region_name = 'Tonga' and gender = 'M';", "where it was held refers to city_name; the 1920 Summer refers to games_name = '1920 Summer';", "AVG(height) where age BETWEEN 22 AND 28;", "Barcelona refers to city_name = 'Barcelona'; the most competitors refer to MAX(COUNT(games_name)); name of game refers to games_name;" ] }
{ "query": "State the number of athletes in the 1984 Summer Olympic Games who were more than 50 years old.", "pos": [ "the 1984 Summer Olympic Games refer to games_name = '1984 Summer'; athletes more than 50 years old refer to person_id where age > 50;" ], "neg": [ "males refer to gender = 'M'; Belgium refers to region_name = 'Belgium';", "the tallest refers to MAX(height);", "24 years old competitors refer to id where age = 24; Men's Basketball refers to event_name = 'Basketball Men''s Basketball';", "competitors refer to person_id; from Finland refers to region_name = 'Finland';", "year refers to games_year;", "DIVIDE(COUNT(person_id where gender = 'F), COUNT(person_id)) as percentage where event_name = 'Equestrianism Mixed Three-Day Event, Individual';", "\"Cross Country Skiing Men's 10/15 kilometres Pursuit\" refers to event_name = 'Cross Country Skiing Men''s 10/15 kilometres Pursuit';", "name refers to full_name; Greece refers to region_name = 'Greece';", "Who refers to full_name; participated in the most Olympic Games refers to MAX(COUNT(games_id));", "city refers to city_name; 1992 Summer Olympic refers to games_name = '1992 Summer';" ] }
{ "query": "What is the average height of male athletes playing basketball sport?", "pos": [ "AVG(height) where sport_name = 'Basketball' and event_name = 'Basketball Men''s';" ], "neg": [ "hockey's sport refers to sport_name = 'hockey';", "Roma refers to city_name = 'Roma'; When host refers to games_year;", "London refers to city_name = 'London'; how many times refer to COUNT(games_id);", "won the gold medal refers to medal_name = 'Gold'; event \"Rowing Women's Coxed Eights\" refers to event_name = 'Rowing Women''s Coxed Eights';", "2012 Summer refers to games_name = '2012 Summer';", "the tallest refers to MAX(height);", "region refers to region_name; the highest medal number refers to MAX(COUNT(medal_id <> 4));", "games refer to games_id;", "name refers to full_name; the oldest refers to MAX(age);", "DIVIDE(COUNT(event_id where medal_name = 'Gold'), COUNT(event_id)) as percentage where full_name = 'Michael Fred Phelps, II';" ] }
{ "query": "How many athletes over the age of 59 competed in the 2016 Summer Olympics?", "pos": [ "over the age of 59 refers to age > 59; the 2016 Summer Olympics refer to games_name = '2016 Summer';" ], "neg": [ "swimming refers to sport_name = 'Swimming';", "AVG(age) where games_name = '1988 Winter';", "Summer games refer to id where season = 'Summer'; in Stockholm refers to city_name = 'Stockholm';", "Roma refers to city_name = 'Roma'; When host refers to games_year;", "gold medals refer to medal_name = 'Gold';", "in which city refers to city_name; the oldest refers to MAX(age);", "won the gold medal refers to medal_name = 'Gold'; event \"Rowing Women's Coxed Eights\" refers to event_name = 'Rowing Women''s Coxed Eights';", "name of the sport with the most events refers to sport_name where MAX(COUNT(id));", "the tallest refers to MAX(height);", "athletes refer to person_id; 2014 Winter Olympics refer to games_name = '2014 Winter';" ] }