| {"task_id": "bird-train-0", "prompt": "Which superheroes have a durability attribute value of less than 50?\n\nHint: durability of less than 50 refers to attribute_name = 'Durability' AND attribute_value < 50", "data": {"db_name": "superhero", "question_id": 738}} | |
| {"task_id": "bird-train-1", "prompt": "Please list all the superpowers of 3-D Man.\n\nHint: 3-D Man refers to superhero_name = '3-D Man'; superpowers refers to power_name", "data": {"db_name": "superhero", "question_id": 717}} | |
| {"task_id": "bird-train-2", "prompt": "List down at least five superpowers of male superheroes.\n\nHint: male refers to gender = 'Male'; superpowers refers to power_name;", "data": {"db_name": "superhero", "question_id": 751}} | |
| {"task_id": "bird-train-3", "prompt": "What is the percentage of superheroes who act in their own self-interest or make decisions based on their own moral code? Indicate how many of the said superheroes were published by Marvel Comics.\n\nHint: published by Marvel Comics refers to publisher_name = 'Marvel Comics'; superheroes who act in their own self-interest or make decisions based on their own moral code refers to alignment = 'Bad'; calculation = MULTIPLY(DIVIDE(SUM(alignment = 'Bad); count(id)), 100)", "data": {"db_name": "superhero", "question_id": 743}} | |
| {"task_id": "bird-train-4", "prompt": "Identify the gender of the superhero who has the ability of Phoenix Force.\n\nHint: ability of Phoenix Force refers to power_name = 'Phoenix Force';", "data": {"db_name": "superhero", "question_id": 825}} | |
| {"task_id": "bird-train-5", "prompt": "Give the publisher ID of Star Trek.\n\nHint: Star Trek is the publisher_name;", "data": {"db_name": "superhero", "question_id": 745}} | |
| {"task_id": "bird-train-6", "prompt": "How many gold-eyed superheroes did Marvel Comics publish?\n\nHint: gold-eyed refers to colour = 'Gold' where eye_colour_id = colour.id; superheroes that Marvel Comics published refers to publisher_name = 'Marvel Comics'", "data": {"db_name": "superhero", "question_id": 733}} | |
| {"task_id": "bird-train-7", "prompt": "Calculate the average height for all superhero.\n\nHint: average = DIVIDE(SUM(height_cm), COUNT(all heros));", "data": {"db_name": "superhero", "question_id": 791}} | |
| {"task_id": "bird-train-8", "prompt": "Calculate the percentage of superheroes with blue eyes.\n\nHint: percentage = MULTIPLY(DIVIDE(SUM(superhero_name WHERE color = 'Blue'), COUNT(superhero_name)), 100.0); blue eyes refers to color = 'Blue' and color.id = eye_colour_id = 7;", "data": {"db_name": "superhero", "question_id": 800}} | |
| {"task_id": "bird-train-9", "prompt": "List the heroes' names whose eyes and hair colours are both black.\n\nHint: heroes' names refers to superhero_name; eyes and hair colours are both black refers to eye_colour_id AND hair_colour_id WHERE colour.colour = 'Black';", "data": {"db_name": "superhero", "question_id": 782}} | |
| {"task_id": "bird-train-10", "prompt": "Find the ratio between male superheroes and female superheroes.\n\nHint: ratio = DIVIDE(SUM(gender_id = 1) / SUM(gender_id = 2)); male superheroes refers to gender = 'Female'; female superheroes refers to gender = 'Male';", "data": {"db_name": "superhero", "question_id": 801}} | |
| {"task_id": "bird-train-11", "prompt": "What are the superpowers of heroes with ID 1?\n\nHint: superpowers refers to power_name; heroes with ID 1 refers to hero_id = 1;", "data": {"db_name": "superhero", "question_id": 764}} | |
| {"task_id": "bird-train-12", "prompt": "Which superhero has the same eyes, hair and skin colour? Indicate the publisher of the superhero.\n\nHint: which superhero refers to superhero_name; the same eyes, hair and skin colour refers to hair_colour_id = skin_colour_id AND hair_colour_id = eye_colour_id; publisher refers to publisher_name;", "data": {"db_name": "superhero", "question_id": 773}} | |
| {"task_id": "bird-train-13", "prompt": "Tally the toxicology element of the 4th atom of each molecule that was carcinogenic.\n\nHint: label = '+' means molecules are carcinogenic; 4th atom of each molecule refers to substr(atom_id, 7, 1) = '4';", "data": {"db_name": "toxicology", "question_id": 281}} | |
| {"task_id": "bird-train-14", "prompt": "Calculate the total atoms with triple-bond molecules containing the element phosphorus or bromine.\n\nHint: triple bond refers to bond_type = '#'; phosphorus refers to element = 'p'; bromine refers to element = 'br'", "data": {"db_name": "toxicology", "question_id": 260}} | |
| {"task_id": "bird-train-15", "prompt": "Among all the atoms from 21 to 25, list all the molecules that are carcinogenic.\n\nHint: atoms from 21 to 25 refers to SUBSTR(atom_id, 7, 2) between '21' and '25'; label = '+' mean molecules are carcinogenic", "data": {"db_name": "toxicology", "question_id": 242}} | |
| {"task_id": "bird-train-16", "prompt": "What are the bond type and the atoms of the bond ID of TR001_6_9?\n\nHint: atoms refer to atom_id or atom_id2", "data": {"db_name": "toxicology", "question_id": 236}} | |
| {"task_id": "bird-train-17", "prompt": "What elements are in a double type bond?\n\nHint: double type bond refers to bond_type = '=';", "data": {"db_name": "toxicology", "question_id": 207}} | |
| {"task_id": "bird-train-18", "prompt": "Which element is the least numerous in non-carcinogenic molecules?\n\nHint: label = '-' means molecules are non-carcinogenic; least numerous refers to MIN(COUNT(element));", "data": {"db_name": "toxicology", "question_id": 212}} | |
| {"task_id": "bird-train-19", "prompt": "What is the percentage of carcinogenic molecules in triple type bonds?\n\nHint: label = '+' mean molecules are carcinogenic; triple bond refers to bond_type = '#'; percentage = DIVIDE(SUM(bond_type = '#') * 100, COUNT(bond_id)) as percent where label = '+'", "data": {"db_name": "toxicology", "question_id": 219}} | |
| {"task_id": "bird-train-20", "prompt": "Calculate the average number of oxygen atoms in single-bonded molecules.\n\nHint: single-bonded molecules refers to bond_type = '-' ; average number of oxygen atom = AVG(element = 'o')", "data": {"db_name": "toxicology", "question_id": 197}} | |
| {"task_id": "bird-train-21", "prompt": "Please list top three molecules that have single bonds between two atoms and are not carcinogenic in alphabetical order.\n\nHint: label = '-' means molecules are not carcinogenic; single type bond refers to bond_type = '-'; list top three molecules refers to return molecule_id and order by molecule_id;", "data": {"db_name": "toxicology", "question_id": 232}} | |
| {"task_id": "bird-train-22", "prompt": "What is the ratio of Hydrogen elements in molecule ID TR006? List the ratio with its label.\n\nHint: hydrogen refers to element = 'h'; ratio = DIVIDE(SUM(element = 'h'), count(element)) where molecule_id = 'TR006' ; label = '+' mean molecules are carcinogenic; label = '-' means molecules are non-carcinogenic", "data": {"db_name": "toxicology", "question_id": 282}} | |
| {"task_id": "bird-train-23", "prompt": "List all the elements of atoms that can not bond with any other atoms.\n\nHint: atoms cannot bond with other atoms means atom_id NOT in connected table;", "data": {"db_name": "toxicology", "question_id": 247}} | |
| {"task_id": "bird-train-24", "prompt": "How many atoms with iodine and with sulfur type elements are there in single bond molecules?\n\nHint: with iodine element refer to element = 'i'; with sulfur element refers to element = 's'; single type bond refers to bond_type = '-'; Should consider the distinct atoms when counting;", "data": {"db_name": "toxicology", "question_id": 215}} | |
| {"task_id": "bird-train-25", "prompt": "What is the percentage of molecules that are carcinogenic? Please provide your answer as a percentage with three decimal places.\n\nHint: label = '+' mean molecules are carcinogenic; percentage = DIVIDE(SUM(label = '+'), COUNT(molecule_id)) as percent", "data": {"db_name": "toxicology", "question_id": 227}} | |
| {"task_id": "bird-train-26", "prompt": "Which event has the lowest cost?\n\nHint: event refers to event_name; lowest cost means MIN(cost)", "data": {"db_name": "student_club", "question_id": 1389}} | |
| {"task_id": "bird-train-27", "prompt": "For all the club members from \"Business\" major, how many of them wear medium size t-shirt?\n\nHint: 'Business' is a major name; wear medium size t-shirt refers to t_shirt_size = 'Medium'", "data": {"db_name": "student_club", "question_id": 1352}} | |
| {"task_id": "bird-train-28", "prompt": "Tell the phone number of \"Carlo Jacobs\".\n\nHint: Carlo Jacobs is the full name; full name refers to first_name, last_name;", "data": {"db_name": "student_club", "question_id": 1346}} | |
| {"task_id": "bird-train-29", "prompt": "Among the events attended by more than 10 members of the Student_Club, how many of them are meetings?\n\nHint: meetings events refers to type = 'Meeting'; attended by more than 10 members refers to COUNT(event_id) > 10", "data": {"db_name": "student_club", "question_id": 1322}} | |
| {"task_id": "bird-train-30", "prompt": "How many cities are there in Orange County, Virginia?\n\nHint: Orange County is the county name, Virginia is the state name", "data": {"db_name": "student_club", "question_id": 1362}} | |
| {"task_id": "bird-train-31", "prompt": "Calculate the total average cost that Elijah Allen spent in the events on September and October.\n\nHint: Elijah Allen is the full name; full name refers to first_name, last_name; The 5th and 6th string of the expense_date in the expense table can refer to month; events in September and October refers to month(expense_date) = 9 OR month(expense_date) = 10", "data": {"db_name": "student_club", "question_id": 1339}} | |
| {"task_id": "bird-train-32", "prompt": "List the last name of members with a major in environmental engineering and include its department and college name.\n\nHint: 'Environmental Engineering' is the major_name;", "data": {"db_name": "student_club", "question_id": 1426}} | |
| {"task_id": "bird-train-33", "prompt": "Write the full name of the member who spent money for water, veggie tray and supplies and include the cost of it.\n\nHint: full name refers to first_name, last name; spent money for refers expense description; expense_description = 'Water, Veggie tray, supplies'", "data": {"db_name": "student_club", "question_id": 1460}} | |
| {"task_id": "bird-train-34", "prompt": "Give the full name and contact number of members who had to spend more than average on each expense.\n\nHint: full name refers to first_name, last_name; contact number refers to phone; had spent more than average on each expense refers to cost > AVG(cost)", "data": {"db_name": "student_club", "question_id": 1457}} | |
| {"task_id": "bird-train-35", "prompt": "What is the highest amount of budget spend for an event?\n\nHint: highest amount of budget spend refers to MAX(spent)", "data": {"db_name": "student_club", "question_id": 1378}} | |
| {"task_id": "bird-train-36", "prompt": "Indicate the name of the closed event whose cost has exceeded the budget the most.\n\nHint: closed events refers to event_name where status = 'Closed'; exceed the budget the most refers to MIN(remaining) where remaining < 0", "data": {"db_name": "student_club", "question_id": 1403}} | |
| {"task_id": "bird-train-37", "prompt": "Write the full names of students who received funds on the date of 9/9/2019 and include the amount received.\n\nHint: full name refers to first_name, last_name, amount of funds received refers to amount, received funds on date refers to date_received", "data": {"db_name": "student_club", "question_id": 1464}} | |
| {"task_id": "bird-train-38", "prompt": "Was each expense in October Meeting on October 8, 2019 approved?\n\nHint: event_name = 'October Meeting' where event_date = '2019-10-08'; approved = True means expenses was approved; approved = False means expenses was not approved", "data": {"db_name": "student_club", "question_id": 1338}} | |
| {"task_id": "bird-train-39", "prompt": "Which state special schools have the highest number of enrollees from grades 1 through 12?\n\nHint: State Special Schools refers to DOC = 31; Grades 1 through 12 means K-12", "data": {"db_name": "california_schools", "question_id": 46}} | |
| {"task_id": "bird-train-40", "prompt": "Please list the codes of the schools with a total enrollment of over 500.\n\nHint: Total enrollment can be represented by `Enrollment (K-12)` + `Enrollment (Ages 5-17)`", "data": {"db_name": "california_schools", "question_id": 11}} | |
| {"task_id": "bird-train-41", "prompt": "Consider the average difference between K-12 enrollment and 15-17 enrollment of schools that are locally funded, list the names and DOC type of schools which has a difference above this average.\n\nHint: Difference between K-12 enrollment and 15-17 enrollment can be computed by `Enrollment (K-12)` - `Enrollment (Ages 5-17)`", "data": {"db_name": "california_schools", "question_id": 28}} | |
| {"task_id": "bird-train-42", "prompt": "List the names of virtual schools that are among the top 5 in their respective counties based on average reading scores.\n\nHint: Exclusively virtual refers to Virtual = 'F'; respective counties means PARTITION BY County", "data": {"db_name": "california_schools", "question_id": 41}} | |
| {"task_id": "bird-train-43", "prompt": "What is the average score in writing for the schools that were opened after 1991 or closed before 2000? List the school names along with the score. Also, list the communication number of the schools if there is any.\n\nHint: Communication number refers to phone number.", "data": {"db_name": "california_schools", "question_id": 27}} | |
| {"task_id": "bird-train-44", "prompt": "Name schools in Riverside which the average of average math score for SAT is grater than 400, what is the funding type of these schools?\n\nHint: Average of average math = sum(average math scores) / count(schools).", "data": {"db_name": "california_schools", "question_id": 25}} | |
| {"task_id": "bird-train-45", "prompt": "What are the valid e-mail addresses of the administrator of the school located in the San Bernardino county, City of San Bernardino City Unified that opened between 1/1/2009 to 12/31/2010 whose school types are public Intermediate/Middle Schools and Unified Schools?\n\nHint: Intermediate/Middle Schools refers to SOC = 62; Unified School refers to DOC = 54; years between 2009 and 2010 can refer to 'between 1/1/2009 to 12/31/2010'", "data": {"db_name": "california_schools", "question_id": 87}} | |
| {"task_id": "bird-train-46", "prompt": "What is the average writing score of each of the schools managed by Ricci Ulrich? List the schools and the corresponding average writing scores.\n\nHint: Usually, administrators manage the school stuff.", "data": {"db_name": "california_schools", "question_id": 45}} | |
| {"task_id": "bird-train-47", "prompt": "What is the average number of test takers from Fresno schools that opened between 1/1/1980 and 12/31/1980?\n\nHint: between 1/1/1980 and 12/31/1980 means the year = 1980", "data": {"db_name": "california_schools", "question_id": 39}} | |
| {"task_id": "bird-train-48", "prompt": "What is the ratio of merged Unified School District schools in Orange County to merged Elementary School District schools?\n\nHint: Elementary School District refers to DOC = 52; Unified School District refers to DOC = 54.", "data": {"db_name": "california_schools", "question_id": 48}} | |
| {"task_id": "bird-train-49", "prompt": "What is the grade span offered in the school with the highest longitude?\n\nHint: the highest longitude refers to the school with the maximum absolute longitude value.", "data": {"db_name": "california_schools", "question_id": 82}} | |
| {"task_id": "bird-train-50", "prompt": "What is the telephone number for the school with the lowest average score in reading in Fresno Unified?\n\nHint: Fresno Unified is a name of district;", "data": {"db_name": "california_schools", "question_id": 40}} | |
| {"task_id": "bird-train-51", "prompt": "How many schools with an average score in Math greater than 400 in the SAT test are exclusively virtual?\n\nHint: Exclusively virtual refers to Virtual = 'F'", "data": {"db_name": "california_schools", "question_id": 5}} | |
| {"task_id": "bird-train-52", "prompt": "In superheroes with height between 150 to 180, what is the percentage of heroes published by Marvel Comics?\n\nHint: height between 150 to 180 refers to height_cm BETWEEN 150 AND 180; heroes published by Marvel Comics refers to publisher_name = 'Marvel Comics'; calculation = MULTIPLY(DIVIDE(SUM(publisher.id = 13)), COUNT(publisher.id), 100)", "data": {"db_name": "superhero", "question_id": 760}} | |
| {"task_id": "bird-train-53", "prompt": "What are the names of the superheroes with the power of death touch?\n\nHint: name of superheroes refers to refers to superhero_name; the power of death touch refers to power_name = 'Death Touch'", "data": {"db_name": "superhero", "question_id": 739}} | |
| {"task_id": "bird-train-54", "prompt": "Provide the hair colour of the human superhero who is 185 cm tall.\n\nHint: 185 cm tall refers to height_cm = 185; human superhero refers to race = 'human'; hair colour refers to colour where hair_colour_id = colour.id;", "data": {"db_name": "superhero", "question_id": 758}} | |
| {"task_id": "bird-train-55", "prompt": "What is the publisher for Hawkman, Karate Kid and Speedy?\n\nHint: publisher refers to publisher_name; Hawkman refers to superhero_name = 'Hawkman'; Karate Kid refers to superhero_name = 'Karate Kid'; Speedy refers to superhero_name = 'Speedy';", "data": {"db_name": "superhero", "question_id": 798}} | |
| {"task_id": "bird-train-56", "prompt": "How much of the hydrogen in molecule TR206 is accounted for? Please provide your answer as a percentage with four decimal places.\n\nHint: hydrogen refers to element = 'h'; TR206 is the molecule id; percentage = DIVIDE(SUM(element = 'h'), COUNT(atom_id)) as percent where molecule_id = 'TR206'", "data": {"db_name": "toxicology", "question_id": 228}} | |
| {"task_id": "bird-train-57", "prompt": "Is the molecule with the most double bonds carcinogenic?\n\nHint: double bond refers to bond_type = ' = '; label = '+' mean molecules are carcinogenic", "data": {"db_name": "toxicology", "question_id": 244}} | |
| {"task_id": "bird-train-58", "prompt": "What are the elements of the atoms of TR144_8_19?\n\nHint: TR144_8_19 is the bond id;", "data": {"db_name": "toxicology", "question_id": 249}} | |
| {"task_id": "bird-train-59", "prompt": "On average how many carcinogenic molecules are single bonded?\n\nHint: carcinogenic molecules refers to label = '+'; single-bonded refers to bond_type = '-'; average = DIVIDE(SUM(bond_type = '-'), COUNT(atom_id))", "data": {"db_name": "toxicology", "question_id": 198}} | |
| {"task_id": "bird-train-60", "prompt": "Among the students from the Student_Club who attended the event \"Women's Soccer\", how many of them want a T-shirt that's in medium size?\n\nHint: Women's Soccer is an event name; T-shirt that is in medium size refers to t_shirt_size = 'Medium'", "data": {"db_name": "student_club", "question_id": 1317}} | |
| {"task_id": "bird-train-61", "prompt": "State the date Connor Hilton paid his/her dues.\n\nHint: Connor Hilton is the full name; full name refers to first_name, last_name; date the dues was paid refers to date_received where source = 'Dues';", "data": {"db_name": "student_club", "question_id": 1357}} | |
| {"task_id": "bird-train-62", "prompt": "Indicate the cost of posters for 'September Speaker' event.\n\nHint: 'Posters' is the expense description; 'September Speaker' is an event name", "data": {"db_name": "student_club", "question_id": 1401}} | |
| {"task_id": "bird-train-63", "prompt": "Did Maya Mclean attend the 'Women's Soccer' event?\n\nHint: Maya Mclean is the full name; full name refers to first_name, last_name; 'Women's Soccer' is an event_name", "data": {"db_name": "student_club", "question_id": 1399}} | |
| {"task_id": "bird-train-64", "prompt": "What is the monthly average number of schools that opened in Alameda County under the jurisdiction of the Elementary School District in 1980?\n\nHint: Elementary School District refers to DOC = 52; Monthly average number of schools that opened in 1980 = count(schools that opened in 1980) / 12", "data": {"db_name": "california_schools", "question_id": 47}} | |
| {"task_id": "bird-train-65", "prompt": "Which schools served a grade span of Kindergarten to 9th grade in the county of Los Angeles and what is its Percent (%) Eligible FRPM (Ages 5-17)?\n\nHint: Percent (%) Eligible FRPM (Ages 5-17) can be acquired by `FRPM Count (Ages 5-17)` / `Enrollment (Ages 5-17)` * 100", "data": {"db_name": "california_schools", "question_id": 77}} | |
| {"task_id": "bird-train-66", "prompt": "How many students from the ages of 5 to 17 are enrolled at the State Special School school in Fremont for the 2014-2015 academic year?\n\nHint: State Special School means EdOpsCode = 'SSS'", "data": {"db_name": "california_schools", "question_id": 72}} | |
| {"task_id": "bird-train-67", "prompt": "Give the names of the schools with the percent eligible for free meals in K-12 is more than 0.1 and test takers whose test score is greater than or equal to 1500?\n\nHint: Percent eligible for free meals = Free Meal Count (K-12) / Total (Enrollment (K-12)", "data": {"db_name": "california_schools", "question_id": 24}} | |
| {"task_id": "bird-train-68", "prompt": "Among all European Grand Prix races, what is the percentage of the races were hosted in Germany?\n\nHint: European Grand Prix races refers to races.name = 'European Grand Prix';percentage = divide(COUNT(races where country = Germany and name = 'Europearn Grand Prix'),COUNT(races where name = 'Europearn Grand Prix'))*100", "data": {"db_name": "formula_1", "question_id": 909}} | |
| {"task_id": "bird-train-69", "prompt": "Which constructor scored most points from Monaco Grand Prix between 1980 and 2010? List the score, name and nationality of this team.\n\nHint: Monaco Grand Priz refers to the race; race in year between 1980 and 2010", "data": {"db_name": "formula_1", "question_id": 994}} | |
| {"task_id": "bird-train-70", "prompt": "How many Japanese constructors have 0 points in 2 races?\n\nHint: 2 races refers to COUNT(raceID) = 2; Japanese refers to constructors.nationality = 'Japanese';", "data": {"db_name": "formula_1", "question_id": 951}} | |
| {"task_id": "bird-train-71", "prompt": "What's the reference name of Marina Bay Street Circuit?\n\nHint: reference name refers to circuitRef; Marina Bay Street Circuit refers to circuits.name = 'Marina Bay Street Circuit'", "data": {"db_name": "formula_1", "question_id": 912}} | |
| {"task_id": "bird-train-72", "prompt": "For the constructor which got the highest point in the race No. 9 , what is its introduction website?\n\nHint: race number refers to raceId; constructor which got the highest point refers to MAX(constructorResults.points); introduction website of the constructor refers to url;", "data": {"db_name": "formula_1", "question_id": 869}} | |
| {"task_id": "bird-train-73", "prompt": "What's the finish time for the driver who ranked second in 2008's AustChineseralian Grand Prix?\n\nHint: finish time refers to time; Chinese Grand Prix refers to races.name = 'Chinese Grand Prix';", "data": {"db_name": "formula_1", "question_id": 937}} | |
| {"task_id": "bird-train-74", "prompt": "List down top 3 German drivers who has the shortest average pit stop duration and were born between 1980-1985.\n\nHint: Full name of the driver refers to drivers.forename and drivers.surname; born between 1980-1985 refers to 1980<= year(dob) <=1985; Average pitstop duration refers to Divide(SUM(duration),COUNT(duration)); shortest average refers to Min(avg(duration));", "data": {"db_name": "formula_1", "question_id": 988}} | |
| {"task_id": "bird-train-75", "prompt": "Please calculate the race completion percentage of Japanese drivers from 2007 to 2009.\n\nHint: from 2007 to 2009 refers to year between 2007 and 2009; race completion refers to time is not null; percentage = Divide(COUNT(DriverID where time is not null and year between 2007 and 2009),Count (DriverID where year between 2007 and 2009))*100;", "data": {"db_name": "formula_1", "question_id": 954}} | |
| {"task_id": "bird-train-76", "prompt": "What is the best lap time recorded? List the driver and race with such recorded lap time.\n\nHint: the best lap time refers to min(milliseconds); List the driver refers to drivers.forename and drivers.surname; List the race refers to races.name", "data": {"db_name": "formula_1", "question_id": 894}} | |
| {"task_id": "bird-train-77", "prompt": "List the names of all races that occurred in the earliest recorded year and month.\n\nHint: earliest recorded year and month refers to year = year(min(date)) and month = month(min(date));", "data": {"db_name": "formula_1", "question_id": 884}} | |
| {"task_id": "bird-train-78", "prompt": "How many accidents did the driver who had the highest number accidents in the Canadian Grand Prix have?\n\nHint: number of accidents refers to the number where statusid = 3; Canadian Grand Prix refers to the race of name", "data": {"db_name": "formula_1", "question_id": 1003}} | |
| {"task_id": "bird-train-79", "prompt": "Which driver ranked the first in the Canadian Grand Prix in 2007? Please give his reference name.\n\nHint: reference name refers to driverRef; Canadian Grand Prix refers to races.name = 'Canadian Grand Prix';", "data": {"db_name": "formula_1", "question_id": 928}} | |
| {"task_id": "bird-train-80", "prompt": "For the drivers who took part in the race in 1983/7/16, what's their race completion rate?\n\nHint: DIVIDE(COUNT(driverid when time has value ), (COUNT(driverid )) as percentage; in 1983/7/16 refers to when date = '1983-07-16'", "data": {"db_name": "formula_1", "question_id": 881}} | |
| {"task_id": "bird-train-81", "prompt": "State the driver with the most points scored. Find his full name with that points.\n\nHint: the most points scored refers to max(points); Full name of the driver refers to drivers.forename and drivers.surname;", "data": {"db_name": "formula_1", "question_id": 892}} | |
| {"task_id": "bird-train-82", "prompt": "Which top 20 driver created the shortest lap time ever record in a Formula_1 race? Please give them full names.\n\nHint: shortest lap time refers to MIN(time); the time format for the shortest lap time is 'MM:SS.mmm' or 'M:SS.mmm'; full name of the driver refers to forename, surname", "data": {"db_name": "formula_1", "question_id": 1011}} | |
| {"task_id": "bird-train-83", "prompt": "What is the average of fastest lap speed in the 2009 Spanish Grand Prix race?\n\nHint: Spanish Grand Prix is the name of race refers to name = 'Spanish Grand Prix'; average fastest lap speed refers to avg(fastestLapSpeed);", "data": {"db_name": "formula_1", "question_id": 960}} | |
| {"task_id": "bird-train-84", "prompt": "What was the fastest lap speed among all drivers in the 2009 Spanish Grand Prix?\n\nHint: the fastest lap speed among all refers to max(fastestLapSpeed); Spanish Grand Prix refers to races.name = 'Spanish Grand Prix';", "data": {"db_name": "formula_1", "question_id": 931}} | |
| {"task_id": "bird-train-85", "prompt": "What's Bruno Senna's Q1 result in the qualifying race No. 354?\n\nHint: race number refers to raceId; Bruno Senna refers to the full name of the driver; Full name of the driver refers to drivers.forename and drivers.surname;", "data": {"db_name": "formula_1", "question_id": 859}} | |
| {"task_id": "bird-train-86", "prompt": "What is the constructor reference name of the champion in the 2009 Singapore Grand Prix? Please give its website.\n\nHint: the time of the champion shows in the format of \"minutes: seconds.millionsecond\" in which Max(time); constructor reference name refers to constructorRef; website refers to url", "data": {"db_name": "formula_1", "question_id": 990}} | |
| {"task_id": "bird-train-87", "prompt": "For all the drivers who finished the game in race No. 592, who is the oldest?\n\nHint: drivers who finished the race refers to time is not empty (i.e. time IS NOT NULL); race number refers to raceId; date of birth refers to drivers.dob; The larger the birthday value, the younger the person is, and vice versa;", "data": {"db_name": "formula_1", "question_id": 865}} | |
| {"task_id": "bird-train-88", "prompt": "Which drivers who were born in 1971 and has the fastest lap time on the race? Give id and code of these drivers.\n\nHint: born in 1971 refers to year(dob) = 1971; has the fastest lap time refers to fastestLapTime has values", "data": {"db_name": "formula_1", "question_id": 972}} | |
| {"task_id": "bird-train-89", "prompt": "Which country is the oldest driver from?\n\nHint: date of birth refers to drivers.dob; The larger the birthday value, the younger the person is, and vice versa;", "data": {"db_name": "formula_1", "question_id": 915}} | |
| {"task_id": "bird-train-90", "prompt": "What proportion of cards do not have a text box with a normal layout?\n\nHint: do not have a text box refers to isTextless = 1; proportion refers to DIVIDE(COUNT(Textless = 1 and layout = 'normal'),COUNT(Textless))*100", "data": {"db_name": "card_games", "question_id": 424}} | |
| {"task_id": "bird-train-91", "prompt": "List all the card id and artist with unknown power which are legal for commander play format.\n\nHint: unknown power refers to power = '*' or POWER IS NULL; commander play format refers to format = 'commander'; legal for commander play format refers to format = 'commander' where status = 'Legal'", "data": {"db_name": "card_games", "question_id": 346}} | |
| {"task_id": "bird-train-92", "prompt": "What is the percentage of incredibly powerful cards in the set Coldsnap?\n\nHint: card set Coldsnap refers to name = 'Coldsnap'; foil is incredibly powerful refers to cardKingdomFoilId is not null AND cardKingdomId is not null; the percentage of incredibly powerful cards in the set refers to DIVIDE(SUM(incredibly powerful), SUM(name = 'Coldsnap'))*100", "data": {"db_name": "card_games", "question_id": 487}} | |
| {"task_id": "bird-train-93", "prompt": "What is the percentage of the cards with a converted mana cost of 7 in the set Coldsnap?\n\nHint: converted mana cost of 7 refers to convertedManaCost = 7; card set Coldsnap refers to name = 'Coldsnap'; percentage = DIVIDE(SUM(convertedManaCost = 7), SUM(convertedManaCost))*100", "data": {"db_name": "card_games", "question_id": 486}} | |
| {"task_id": "bird-train-94", "prompt": "Which of the play format has the highest number of banned status? Indicate the play format and the names of all the card meet the condition.\n\nHint: play format refers to format; banned status refers to status = 'Banned'; the highest number of banned status refers to MAX(COUNT(status = 'Banned'))", "data": {"db_name": "card_games", "question_id": 518}} | |
| {"task_id": "bird-train-95", "prompt": "Did the set of cards with \"Angel of Mercy\" appear on Magic: The Gathering Online?\n\nHint: card set \"Angel of Mercy\" refers to name = 'Angel of Mercy'; appear on Magic: The Gathering Online refers to mtgoCode is NOT NULL and vice versa", "data": {"db_name": "card_games", "question_id": 469}} | |
| {"task_id": "bird-train-96", "prompt": "Among the Artifact cards, which are black color and comes with foreign languague translation?\n\nHint: Artifact card refers to originalType = 'Artifact'; black color refers to colors = 'B'; foreign language refers to language in foreign_data", "data": {"db_name": "card_games", "question_id": 391}} | |
| {"task_id": "bird-train-97", "prompt": "Among the sets in the block \"Ice Age\", how many of them have an Italian translation?\n\nHint: sets in the block \"Ice Age\" refers to block = 'Ice Age'; Italian translation refers to language = 'Italian' and translation is not null", "data": {"db_name": "card_games", "question_id": 472}} | |
| {"task_id": "bird-train-98", "prompt": "Find all cards illustrated by Stephen Daniel and describe the text of the ruling of these cards. State if these cards have missing or degraded properties and values.\n\nHint: cards have missing or degraded properties and value refers to hasContentWarning = 1; 'Stephen Daniele' is artist; Find all cards refers to return card id", "data": {"db_name": "card_games", "question_id": 347}} | |
| {"task_id": "bird-train-99", "prompt": "How many cards with original type of \"Summon - Angel\" have subtype other than \"Angel\"?\n\nHint: subtype other than Angel refers to subtypes is not 'Angel';", "data": {"db_name": "card_games", "question_id": 377}} | |
| {"task_id": "bird-train-100", "prompt": "Which are the cards that have incredibly powerful foils.\n\nHint: incredibly poweful foils refers to cardKingdomFoilId is not null AND cardKingdomId is not null", "data": {"db_name": "card_games", "question_id": 340}} | |
| {"task_id": "bird-train-101", "prompt": "Is the set of cards with Adarkar Valkyrie only available outside the United States?\n\nHint: card set Adarkar Valkyrie refers to name = 'Adarkar Valkyrie'; isForeignOnly = 1 means only available outside the United States;", "data": {"db_name": "card_games", "question_id": 473}} | |
| {"task_id": "bird-train-102", "prompt": "What is the border color of card \"Ancestor's Chosen\"?\n\nHint: name of card = 'Ancestor''s Chosen' ;", "data": {"db_name": "card_games", "question_id": 358}} | |
| {"task_id": "bird-train-103", "prompt": "What is the percentage of Story Spotlight cards that do not have a text box? List them by their ID.\n\nHint: Story Spotlight cards that do not have a text box refers to isStorylight = 1 and isTextless = 0; Percentage = DIVIDE(SUM(count(id) where isStorylight = 1 AND isTextless = 0 ), SUM(count(id))) * 100", "data": {"db_name": "card_games", "question_id": 402}} | |
| {"task_id": "bird-train-104", "prompt": "What is the language of the card with the multiverse number 149934?\n\nHint: multiverse number 149934 refers to multiverseid = 149934;", "data": {"db_name": "card_games", "question_id": 422}} | |
| {"task_id": "bird-train-105", "prompt": "What is the rule of playing card \"Benalish Knight\"?\n\nHint: Benalish Knight' is the name of card; rule of playing card refers to format;", "data": {"db_name": "card_games", "question_id": 366}} | |
| {"task_id": "bird-train-106", "prompt": "What languages are available in the set known as Archenemy on the magic card market and having the code ARC?\n\nHint: known as Archenemy refers to mcmName = 'Archenemy'; having the code ARC refers to setCode = 'ARC'", "data": {"db_name": "card_games", "question_id": 427}} | |
| {"task_id": "bird-train-107", "prompt": "Among the cards with converted mana cost higher than 5 in the set Coldsnap, how many of them have unknown power?\n\nHint: card set Coldsnap refers to name = 'Coldsnap'; converted mana cost higher than 5 refers to convertedManaCost > 5; unknown power refers to power = '*' or T1.power is null", "data": {"db_name": "card_games", "question_id": 479}} | |
| {"task_id": "bird-train-108", "prompt": "Lists all types of cards in German.\n\nHint: German refer to language; all types refer to the subtypes, supertypes; subtypes is not null AND supertypes is not null", "data": {"db_name": "card_games", "question_id": 407}} | |
| {"task_id": "bird-train-109", "prompt": "For artifact type of cards that do not have multiple faces on the same card, state its legalities status for vintage play format.\n\nHint: Artifact type of cards refers to types = 'Artifact'; card does not have multiple faces on the same card refers to side is NULL'; vintage play format refers to format = 'vintage';", "data": {"db_name": "card_games", "question_id": 345}} | |
| {"task_id": "bird-train-110", "prompt": "Calculate the percentage of the cards availabe in Chinese Simplified.\n\nHint: Chinese Simplified' is the language; percentage = Divide(Sum(id where language = 'Chinese Simplified'), Count(id)) *100", "data": {"db_name": "card_games", "question_id": 352}} | |
| {"task_id": "bird-train-111", "prompt": "List all the mythic rarity print cards banned in gladiator format.\n\nHint: mythic rarity printing refers to rarity = 'mythic'; card banned refers to status = 'Banned'; in gladiator format refers to format = 'gladiator';", "data": {"db_name": "card_games", "question_id": 344}} | |
| {"task_id": "bird-train-112", "prompt": "List the football players with a birthyear of 1970 and a birthmonth of October.\n\nHint: players with a birthyear of 1970 and a birthmonth of October refers to substr(birthday,1,7) AS 'year-month',WHERE year = '1970' AND month = '10';", "data": {"db_name": "european_football_2", "question_id": 1044}} | |
| {"task_id": "bird-train-113", "prompt": "Please name one player whose overall strength is the greatest.\n\nHint: overall strength is the greatest refers to MAX(overall_rating)", "data": {"db_name": "european_football_2", "question_id": 1147}} | |
| {"task_id": "bird-train-114", "prompt": "What are the short name of team who played safe while creating chance of passing?\n\nHint: played safe while creating chance of passing refers to chanceCreationPassingClass = 'Safe'; short name of team refers to team_short_name", "data": {"db_name": "european_football_2", "question_id": 1130}} | |
| {"task_id": "bird-train-115", "prompt": "What are the speed in which attacks are put together of the top 4 teams with the highest build Up Play Speed?\n\nHint: speed in which attacks are put together refers to buildUpPlaySpeed;highest build up play speed refers to MAX(buildUpPlaySpeed)", "data": {"db_name": "european_football_2", "question_id": 1029}} | |
| {"task_id": "bird-train-116", "prompt": "Please state the finishing rate and curve score of the player who has the heaviest weight.\n\nHint: finishing rate refer to finishing; curve score refer to curve; heaviest weight refers to MAX(weight)", "data": {"db_name": "european_football_2", "question_id": 1144}} | |
| {"task_id": "bird-train-117", "prompt": "State the name of the most strongest player.\n\nHint: strongest players refers to player has MAX(overall_rating)", "data": {"db_name": "european_football_2", "question_id": 1122}} | |
| {"task_id": "bird-train-118", "prompt": "List the long name of teams with above-average build-up play passing in 2012.\n\nHint: long name of teams refers to team_long_name; build-up play passing refers to buildUpPlayPassing; above-average build-up play passing = buildUpPlayPassing > DIVIDE(SUM(buildUpPlayPassing), COUNT(team_long_name) WHERE buildUpPlayPassing IS NOT NULL); in 2012 refers to strftime('%Y', date) = '2012';", "data": {"db_name": "european_football_2", "question_id": 1036}} | |
| {"task_id": "bird-train-119", "prompt": "What percentage is Landon Donovan's overall rating higher than Jordan Bowery on 2013/7/12?\n\nHint: Landon Donovan's refers to player_name = 'Landon Donovan'; Jordan Bowery refers to player_name = 'Jordan Bowery'; percentage refers to DIVIDE(SUBTRACT(player_name = 'Landon Donovan' overall_rating; player_name = 'Jordan Bowery' overall_rating), player_name = 'Landon Donovan' overall_rating)*100", "data": {"db_name": "european_football_2", "question_id": 1115}} | |
| {"task_id": "bird-train-120", "prompt": "Which player is the tallest?\n\nHint: tallest player refers to MAX(height);", "data": {"db_name": "european_football_2", "question_id": 1079}} | |
| {"task_id": "bird-train-121", "prompt": "What is the difference between players 6 and 23's jumping scores?\n\nHint: difference between players 6 and 23's jumping scores refers to SUBTRACT(jumping AND id = 6,jumping AND id = 23)", "data": {"db_name": "european_football_2", "question_id": 1134}} | |
| {"task_id": "bird-train-122", "prompt": "When was the first time did Kevin Constant have his highest crossing score? Give the date.\n\nHint: Kevin Constant refers to player_name = 'Kevin Constant'; highest crossing score refers to MAX(crossing)", "data": {"db_name": "european_football_2", "question_id": 1107}} | |
| {"task_id": "bird-train-123", "prompt": "Calculate the average home team goal in the 2010/2011 season in the country of Poland.\n\nHint: average home team goal = AVG(home_team_goal)= SUM(home_team_goal) / COUNT(DISTINCT Match.id) WHERE name = 'Poland' and season = '2010/2011';", "data": {"db_name": "european_football_2", "question_id": 1057}} | |
| {"task_id": "bird-train-124", "prompt": "Who has the highest average finishing rate between the highest and shortest football player?\n\nHint: finishing rate refers to finishing; highest average finishing rate = MAX(AVG(finishing)); highest football player refers to MAX(height); shortest football player refers to MIN(height);", "data": {"db_name": "european_football_2", "question_id": 1058}} | |
| {"task_id": "bird-train-125", "prompt": "Give the name of the league had the most matches in the 2008/2009 season?\n\nHint: league that had the most matches in the 2008/2009 season refers to MAX(league_name WHERE season = '2008/2009');", "data": {"db_name": "european_football_2", "question_id": 1092}} | |
| {"task_id": "bird-train-126", "prompt": "Tell the build Up play passing class for \"FC Lorient\" on 2010/2/22.\n\nHint: \"FC Lorient\" refers to team_long_name = 'FC Lorient'; on 2010/2/22 refers to date LIKE '2010-02-22%';", "data": {"db_name": "european_football_2", "question_id": 1110}} | |
| {"task_id": "bird-train-127", "prompt": "Who are the players that tend to be attacking when their mates were doing attack moves? List down their name.\n\nHint: tend to be attacking when their mates were doing attack moves refers to attacking_work_rate = 'high';", "data": {"db_name": "european_football_2", "question_id": 1124}} | |
| {"task_id": "bird-train-128", "prompt": "Calculate the average overall rating of Pietro Marino.\n\nHint: Pietro Marino refers to player_name = 'Pietro Marino'; average overall rating AVG(T1.overall_rating)", "data": {"db_name": "european_football_2", "question_id": 1096}} | |
| {"task_id": "bird-train-129", "prompt": "Which player is older, Aaron Lennon or Abdelaziz Barrada?\n\nHint: The larger the birthday value, the younger the person is, and vice versa;", "data": {"db_name": "european_football_2", "question_id": 1078}} | |
| {"task_id": "bird-train-130", "prompt": "Give the team_fifa_api_id of teams with more than 50 but less than 60 build-up play speed.\n\nHint: teams with more than 50 but less than 60 build-up play speed refers to buildUpPlaySpeed >50 AND buildUpPlaySpeed <60;", "data": {"db_name": "european_football_2", "question_id": 1035}} | |
| {"task_id": "bird-train-131", "prompt": "What is the overall rating of the football player Gabriel Tamas in year 2011?\n\nHint: in year 2011 refers to strftime('%Y', date) = '2011';", "data": {"db_name": "european_football_2", "question_id": 1048}} | |
| {"task_id": "bird-train-132", "prompt": "For the players who had a 77 points overall rating on 2016/6/23, who was the oldest? Give the name of the player.\n\nHint: 77 points overall rating refers to overall_rating = 77; on 2016/6/23 refers to date LIKE '2016-06-23%'; The larger the birthday value, the younger the person is, and vice versa;", "data": {"db_name": "european_football_2", "question_id": 1102}} | |
| {"task_id": "bird-train-133", "prompt": "From 2010 to 2015, what was the average overall rating of players who are higher than 170?\n\nHint: from 2010 to 2015 refers to strftime('%Y', date) >= '2010' AND <= '2015'; average overall rating = SUM(t2.overall_rating)/ COUNT(t2.id); higher than 170 refers to Player.height > 170;", "data": {"db_name": "european_football_2", "question_id": 1068}} | |
| {"task_id": "bird-train-134", "prompt": "List all patients who were followed up at the outpatient clinic who underwent a laboratory test in October 1991 and had a total blood bilirubin level within the normal range.\n\nHint: followed up at the outpatient clinic refers to Admission = '-'; laboratory test in April 1981 refers to Date like '1991-10%'; blood bilirubin level within the normal range refers to T-BIL < 2.0;", "data": {"db_name": "thrombosis_prediction", "question_id": 1192}} | |
| {"task_id": "bird-train-135", "prompt": "For the patient who was born on 1959/2/18, what is the decrease rate for his/her total cholesterol from November to December in 1981?\n\nHint: born on 1959/2/18 refers to Birthday = '1959-02-18'; calculation = DIVISION(SUBTRACT(SUM(Birthday = '1959-02-18' and Date like '1981-11-%' THEN `T-CHO`), SUM(Birthday = '1959-02-18' and Date like '1981-12-%' THEN `T-CHO`)), SUM(Birthday = '1959-02-18' and Date like '1981-12-%' THEN `T-CHO`))", "data": {"db_name": "thrombosis_prediction", "question_id": 1185}} | |
| {"task_id": "bird-train-136", "prompt": "How many patients have a normal level of anti-ribonuclear protein and have been admitted to the hospital?\n\nHint: normal level of anti-ribonuclear protein refers to RNP = '-', '+-'; And'-' means 'negative'; '+-' refers to '0'; admitted to the hospital refers to Admission = '+'; Should consider DISTINCT in the final result;", "data": {"db_name": "thrombosis_prediction", "question_id": 1265}} | |
| {"task_id": "bird-train-137", "prompt": "Was the patient with the number 57266's uric acid within a normal range?\n\nHint: uric acid within a normal range refers to UA > 8.0 and SEX = 'M'OR UA > 6.5 and SEX = 'F'", "data": {"db_name": "thrombosis_prediction", "question_id": 1205}} | |
| {"task_id": "bird-train-138", "prompt": "Among the male patients who have a normal level of white blood cells, how many of them have an abnormal fibrinogen level?\n\nHint: male patients refers to Sex = 'M'; normal level of white blood cells refers to WBC > 3.5 and WBC <9.0; abnormal fibrinogen level refers to FG < = 150 or FG > = 450; Don't compute repetitive ones.", "data": {"db_name": "thrombosis_prediction", "question_id": 1247}} | |
| {"task_id": "bird-train-139", "prompt": "For patient born between 1936-1956, how many male patients have creatinine phosphokinase beyond the normal range?\n\nHint: born between 1936-1956 refers to year(Birthday) BETWEEN '1936' AND '1956'; male patients refers to sex = 'M'; creatinine phosphokinase beyond the normal range refers to CPK > = 250; Should consider DISTINCT in the final result;", "data": {"db_name": "thrombosis_prediction", "question_id": 1231}} | |
| {"task_id": "bird-train-140", "prompt": "The oldest SJS patient's medical laboratory work was completed on what date, and what age was the patient when they initially arrived at the hospital?\n\nHint: The larger the birthday value, the younger the person is, and vice versa; 'SJS' refers to diagnosis; (SUBTRACT(year(`First Date`)), year(Birthday)); age of the patients when they initially arrived at the hospital refers to year(Birthday)", "data": {"db_name": "thrombosis_prediction", "question_id": 1168}} | |
| {"task_id": "bird-train-141", "prompt": "What are the patient's diagnosis for those who has lower red blood blood cell? State their ID and age.\n\nHint: patient's diagnosis refers to Diagnosis; lower red blood cell refers to RBC < 3.5; age = SUBTRACT(year(current_timestamp), year(Birthday));", "data": {"db_name": "thrombosis_prediction", "question_id": 1235}} | |
| {"task_id": "bird-train-142", "prompt": "List the patient ID, sex and birthday of patient with LDH beyond normal range.\n\nHint: LDH beyond normal range refers to LDH > '500';", "data": {"db_name": "thrombosis_prediction", "question_id": 1155}} | |
| {"task_id": "bird-train-143", "prompt": "What percentage of patients who were born in 1980 and were diagnosed with RA are women?\n\nHint: born in 1980 refers to YEAR(BIRTHDAY) = '1980'; 'RA' refers to Diagnosis='RA' ; women refers to SEX = 'F'; calculation = DIVIDE(SUM(SEX = 'F'), COUNT(SEX)) * 100", "data": {"db_name": "thrombosis_prediction", "question_id": 1201}} | |
| {"task_id": "bird-train-144", "prompt": "How many underage patients were examined during the course of the three-year period from 1990 to 1993?\n\nHint: underage patients refers to year(Birthday) < 18; three-year period from 1990 to 1993 refers to year(`Examination Date`) between '1990' and '1993'", "data": {"db_name": "thrombosis_prediction", "question_id": 1171}} | |
| {"task_id": "bird-train-145", "prompt": "How old was the patient who had the highest hemoglobin count at the time of the examination, and what is the doctor's diagnosis?\n\nHint: How old the patient refers to SUBTRACT(year(`Examination Date`), year(Birthday)); the highest hemoglobin count refers to MAX(HGB)", "data": {"db_name": "thrombosis_prediction", "question_id": 1175}} | |
| {"task_id": "bird-train-146", "prompt": "Provide IDs for male patients with ALT glutamic pylvic transaminase (GPT) that have history of ALT glutamic pylvic transaminase (GPT) exceed the normal range.\n\nHint: male refers to SEX = 'M'; ALT glutamic pylvic transaminase (GPT) exceed the normal range refers to GPT > = 60", "data": {"db_name": "thrombosis_prediction", "question_id": 1208}} | |
| {"task_id": "bird-train-147", "prompt": "For all patients who are older than 55 years old, what is the percentage of female who has abnormal prothrombin time (PT)?\n\nHint: older than 55 years old = SUBTRACT(year(current_timestamp), year(Birthday)) > 55; abnormal prothrombin time (PT) refers to PT > = 14; percentage = DIVIDE(SUM(PT > = 14 AND SEX = 'F'), SUM(PT > = 14)) * 100; female refers to sex = 'F';", "data": {"db_name": "thrombosis_prediction", "question_id": 1243}} | |
| {"task_id": "bird-train-148", "prompt": "State the ID and age of patient with positive degree of coagulation.\n\nHint: age refers to SUBTRACT(year(current_timestamp), year(Birthday)); positive degree of coagulation refers to RVVT = '+';", "data": {"db_name": "thrombosis_prediction", "question_id": 1156}} | |
| {"task_id": "bird-train-149", "prompt": "What is the average blood albumin level for female patients with a PLT greater than 400 who have been diagnosed with SLE?\n\nHint: average blood albumin level refers to AVG(ALB); female refers to SEX = 'F'; PLT greater than 400 refers to PLT > 400; diagnosed with SLE refers to Diagnosis= 'SLE'", "data": {"db_name": "thrombosis_prediction", "question_id": 1195}} | |
| {"task_id": "bird-train-150", "prompt": "What is the ratio of outpatient to inpatient followed up treatment among all the 'SLE' diagnosed patient?\n\nHint: 'SLE' diagnosed patient means Diagnosis = 'SLE'; inpatient refers to Admission = '+'; outpatient refers to Admission = '-'; calculation = DIVIDE(COUNT(ID) where Diagnosis = 'SLE' and Admission = '+', COUNT(ID) where Diagnosis = 'SLE' and Admission = '-')", "data": {"db_name": "thrombosis_prediction", "question_id": 1152}} | |
| {"task_id": "bird-train-151", "prompt": "Among the patients with a normal Ig G level, how many of them have symptoms?\n\nHint: normal Ig G level refers to IGG > 900 and IGG < 2000; have symptoms refers to Symptoms IS NOT NULL;", "data": {"db_name": "thrombosis_prediction", "question_id": 1252}} | |
| {"task_id": "bird-train-152", "prompt": "What is the average age of the male patient with high cholesterol?\n\nHint: average age = DIVIDE(SUM(SUBTRACT(YEAR(NOW()), YEAR(birthday))), COUNT(ID)); male patient refers to sex = 'M'; high cholesterol refers to `T-CHO` > = 250;", "data": {"db_name": "thrombosis_prediction", "question_id": 1227}} | |
| {"task_id": "bird-train-153", "prompt": "For the patient who was diagnosed with SLE on 1994/2/19, what was his/her anti-Cardiolipin antibody concentration status on 1993/11/12?\n\nHint: diagnosed with SLE refers to Diagnosis = 'SLE'; 1994/2/19 refers to Description = '1994-02-19'; anti-Cardiolipin refers to aCL IgM; 1993/11/12 refers to Examination Date = '1993/11/12'", "data": {"db_name": "thrombosis_prediction", "question_id": 1179}} | |
| {"task_id": "bird-train-154", "prompt": "How many patients who were examined between 1987/7/6 and 1996/1/31 had a GPT level greater than 30 and an ALB level less than 4? List them by their ID.\n\nHint: examined between 1987/7/6 and 1996/1/31 refers to Date BETWEEN '1987-07-06' AND '1996-01-31'; GPT level greater than 30 refers to GPT > 30; ALB level less than 4 ALB < 4", "data": {"db_name": "thrombosis_prediction", "question_id": 1187}} | |
| {"task_id": "bird-train-155", "prompt": "How many patients with a abnormal C-reactive protein don't have their data recorded?\n\nHint: abnormal C-reactive protein refers to CRP ='+'; don't have data recorded refers to Description IS NULL;", "data": {"db_name": "thrombosis_prediction", "question_id": 1256}} | |
| {"task_id": "bird-train-156", "prompt": "Calculate the difference in view count from post posted by Mornington and view count from posts posted by Amos.\n\nHint: calculation = SUBTRACT(SUM(ViewCount where DisplayName = 'Mornington'), SUM(ViewCount where DisplayName = 'Amos'));", "data": {"db_name": "codebase_community", "question_id": 640}} | |
| {"task_id": "bird-train-157", "prompt": "When did 'chl' cast its first vote in a post?\n\nHint: DisplayName = 'chl'; cast its first vote refers to MIN(CreationDate);", "data": {"db_name": "codebase_community", "question_id": 669}} | |
| {"task_id": "bird-train-158", "prompt": "Name the user that commented 'thank you user93!'\n\nHint: \"thank you user93\" is the Text of comment; user refers to DisplayName", "data": {"db_name": "codebase_community", "question_id": 576}} | |
| {"task_id": "bird-train-159", "prompt": "Among posts by Harvey Motulsky and Noah Snyder, which one has higher popularity?\n\nHint: Has higher popularity means the post has higher view count ; calculation = MAX(SUM(ViewCount)) where DisplayName = 'Harvey Motulsky' OR DisplayName = 'Noah Snyder';", "data": {"db_name": "codebase_community", "question_id": 634}} | |
| {"task_id": "bird-train-160", "prompt": "Which user added a bounty amount of 50 to the post title mentioning variance?\n\nHint: bounty amount of 50 refers to BountyAmount = 50; user refers to DisplayName; title mentioning variance refers to Title include 'variance'", "data": {"db_name": "codebase_community", "question_id": 586}} | |
| {"task_id": "bird-train-161", "prompt": "Which post by Harvey Motulsky has the most views? Please give the id and title of this post.\n\nHint: DisplayName = 'Harvey Motulsky'; the most views refer to MAX(ViewCount);", "data": {"db_name": "codebase_community", "question_id": 678}} | |
| {"task_id": "bird-train-162", "prompt": "How many users last accessed the website after 2014/9/1?\n\nHint: last accessed after 2014/9/1 refers to LastAccessDate > '2014-09-01'", "data": {"db_name": "codebase_community", "question_id": 533}} | |
| {"task_id": "bird-train-163", "prompt": "Which user has a higher reputation, Harlan or Jarrod Dixon?\n\nHint: \"Harlan\" and \"Jarrod Dixon\" are both DisplayName; highest reputation refers to Max(Reputation)", "data": {"db_name": "codebase_community", "question_id": 531}} | |
| {"task_id": "bird-train-164", "prompt": "User No.3025 gave a comment at 20:29:39 on 2014/4/23 to a post, how many favorite counts did that post get?\n\nHint: user no. 3025 refers to UserId = '3025'; comment at 20:29:39 on 2014/4/23 refers to CreationDate = '2014/4/23 20:29:39.0'", "data": {"db_name": "codebase_community", "question_id": 563}} | |
| {"task_id": "bird-train-165", "prompt": "Please list the display names of all the users whose accounts were created in the year 2011.\n\nHint: account created in the year 2011 refers to year(CreationDate) = 2011", "data": {"db_name": "codebase_community", "question_id": 532}} | |
| {"task_id": "bird-train-166", "prompt": "User No.23853 gave a comment to a post at 9:08:18 on 2013/7/12, was that post well-finished?\n\nHint: user no. 23853 refers to UserId = '23853'; at 9:08:18 on 2013/7/12 refers to CreationDate = '2013-07-12 09:08:18.0'; not well-finished refers to ClosedDate IS NULL and vice versa", "data": {"db_name": "codebase_community", "question_id": 565}} | |
| {"task_id": "bird-train-167", "prompt": "What is the excerpt post ID and wiki post ID of the tag named sample?\n\nHint: tag named sample refers to TagName = 'sample';", "data": {"db_name": "codebase_community", "question_id": 704}} | |
| {"task_id": "bird-train-168", "prompt": "Which user have only one post history per post and having at least 1000 views?\n\nHint: having at least 1000 view refers to Views > = 1000; user refers to UserId", "data": {"db_name": "codebase_community", "question_id": 595}} | |
| {"task_id": "bird-train-169", "prompt": "Among the posts owned by an elder user, how many of them have a score of over 19?\n\nHint: elder users refers to Age > 65; Score of over 19 refers to Score > = 20", "data": {"db_name": "codebase_community", "question_id": 547}} | |
| {"task_id": "bird-train-170", "prompt": "Which user made a post titled 'Understanding what Dassault iSight is doing?' and how much is the reputation of the user?\n\nHint: \"Understanding what Dassault iSight is doing?\" is the Title of post; user refers to DisplayName;", "data": {"db_name": "codebase_community", "question_id": 578}} | |
| {"task_id": "bird-train-171", "prompt": "Calculate the average view count of each post tagged as 'humor' and list the title and the comment of each post.\n\nHint: tagged as 'humor' refers to tag = '<humor>'; comment of the post refers to Text; average view count = AVG(ViewCount)", "data": {"db_name": "codebase_community", "question_id": 587}} | |
| {"task_id": "bird-train-172", "prompt": "Write the contents of comments with a score of 17.\n\nHint: score of 17 refers to Score = 17; contents of comments refers to Text", "data": {"db_name": "codebase_community", "question_id": 573}} | |
| {"task_id": "bird-train-173", "prompt": "Among the comments with scores between 5 to 10, what is the percentage of the users with 0 up votes?\n\nHint: percentage = DIVIDE(COUNT(UserId where UpVotes = 0 and Score BETWEEN 5 and 10))*100, (COUNT(UserId where Score BETWEEN 5 and 10));", "data": {"db_name": "codebase_community", "question_id": 716}} | |
| {"task_id": "bird-train-174", "prompt": "Identify the total views on the post 'Computer Game Datasets'. Name the user who posted it last time.\n\nHint: total views refer to ViewCount; Name the user refers to DisplayName; post 'Computer Game Datasets' refers to Text = 'Computer Game Datasets';", "data": {"db_name": "codebase_community", "question_id": 685}} | |
| {"task_id": "bird-train-175", "prompt": "Provide the text of the latest 10 comments to the post with the title 'Analysing wind data with R' and the display name of the user who left it.\n\nHint: the latest comment refers to MAX(CreationDate);", "data": {"db_name": "codebase_community", "question_id": 694}} | |
| {"task_id": "bird-train-176", "prompt": "What is the display name of the user who last edited the post \"Examples for teaching: Correlation does not mean causation\"?\n\nHint: \"Examples for teaching: Correlation does not mean causation\" is the Title of post; user who last edited refers to LastEditorUserId", "data": {"db_name": "codebase_community", "question_id": 544}} | |
| {"task_id": "bird-train-177", "prompt": "Which is the most valuable post in 2010? Please give its id and the owner's display name.\n\nHint: the most valuable post in 2010 refers to MAX(FavoriteCount) where year(CreationDate) = 2010;", "data": {"db_name": "codebase_community", "question_id": 682}} | |
| {"task_id": "bird-train-178", "prompt": "In the branch where the second-highest number of crimes were committed in 1995 occurred, how many male clients are there?\n\nHint: Male refers to gender = 'M'; A15 stands for no. of commited crimes 1995", "data": {"db_name": "financial", "question_id": 138}} | |
| {"task_id": "bird-train-179", "prompt": "List all the withdrawals in cash transactions that the client with the id 3356 makes.\n\nHint: operation = 'VYBER' refers to withdrawal in cash", "data": {"db_name": "financial", "question_id": 159}} | |
| {"task_id": "bird-train-180", "prompt": "What is the percentage of loan amount that has been fully paid with no issue.\n\nHint: Loan paid with no issue means contract finished, no problems; status = 'A' means contract finished, no problems; Percentage of accounts by condition = [(total(amount) & condition) / (total amount)] * 100%", "data": {"db_name": "financial", "question_id": 117}} | |
| {"task_id": "bird-train-181", "prompt": "For loan amount less than USD100,000, what is the percentage of accounts that is still running with no issue.\n\nHint: Status = 'C' stands for running contract, ok so far; Percentage of accounts by condition = [(total(amount) & condition) / (total amount)] * 100.", "data": {"db_name": "financial", "question_id": 118}} | |
| {"task_id": "bird-train-182", "prompt": "How many accounts who choose issuance after transaction are staying in East Bohemia region?\n\nHint: A3 contains the data of region; 'POPLATEK PO OBRATU' represents for 'issuance after transaction'.", "data": {"db_name": "financial", "question_id": 89}} | |
| {"task_id": "bird-train-183", "prompt": "Name the account numbers of female clients who are oldest and have lowest average salary?\n\nHint: Female refers to 'F' in the gender; A11 contains information about average salary", "data": {"db_name": "financial", "question_id": 189}} | |
| {"task_id": "bird-train-184", "prompt": "How many accounts have running contracts in Branch location 1?\n\nHint: Status = 'C' stands for running contract, OK so far; Status = 'D' stands for running contract, client in debt", "data": {"db_name": "financial", "question_id": 137}} | |
| {"task_id": "bird-train-185", "prompt": "What percentage of clients who opened their accounts in the district with an average salary of over 10000 are women?\n\nHint: Female refers to gender = 'F'; Woman and female are closed; Average salary can be found in A11", "data": {"db_name": "financial", "question_id": 168}} | |
| {"task_id": "bird-train-186", "prompt": "What percentage of male clients request for weekly statements to be issued?\n\nHint: Percentage of male clients = [count(male clients who requested weekly statements / count(clients who requested weekly statements)] * 100%; Male means gender = 'M'; 'POPLATEK TYDNE' stands for weekly issuance", "data": {"db_name": "financial", "question_id": 186}} | |
| {"task_id": "bird-train-187", "prompt": "What is the average number of crimes committed in 1995 in regions where the number exceeds 4000 and the region has accounts that are opened starting from the year 1997?\n\nHint: A3 refers to region names; A15 stands for the average number of crimes commited in 1995.", "data": {"db_name": "financial", "question_id": 152}} | |
| {"task_id": "bird-train-188", "prompt": "List the top nine districts, by descending order, from the highest to the lowest, the number of female account holders.\n\nHint: A2 refers to districts; Female refers to gender = 'F'", "data": {"db_name": "financial", "question_id": 128}} | |
| {"task_id": "bird-train-189", "prompt": "Between 1/1/1995 and 12/31/1997, how many loans in the amount of at least 250,000 per account that chose monthly statement issuance were approved?\n\nHint: Frequency = 'POPLATEK MESICNE' stands for monthly issurance", "data": {"db_name": "financial", "question_id": 136}} | |
| {"task_id": "bird-train-190", "prompt": "For accounts in 1993 with statement issued after transaction, list the account ID, district name and district region.\n\nHint: Records about district names could be found in A2; A3 contains the information about regions. 'POPLATEK PO OBRATU' stands for issuance after transaction", "data": {"db_name": "financial", "question_id": 119}} | |
| {"task_id": "bird-train-191", "prompt": "Among the accounts who have loan validity more than 12 months, list out the accounts that have the highest approved amount and have account opening date in 1993.\n\nHint: Loan validity more than 12 months refers to duration > 12", "data": {"db_name": "financial", "question_id": 99}} | |
| {"task_id": "bird-train-192", "prompt": "For loans contracts which are still running where client are in debt, list the district of the and the state the percentage unemployment rate increment from year 1995 to 1996.\n\nHint: Unemployment increment rate in percentage = [(unemployment rate 2016 - unemployment rate 2015) / unemployment rate 2015] * 100; unemployment rate 2015 appears in the A12; unemployment rate 2016 appears in the A13; Loan contracts which are still running where client are in debt can be presented as status = 'D'", "data": {"db_name": "financial", "question_id": 125}} | |
| {"task_id": "bird-train-193", "prompt": "List out the account numbers of clients who are youngest and have highest average salary?\n\nHint: If the person A's birthdate < B's birthdate, it means that person B is younger than person A; A11 refers to average salary", "data": {"db_name": "financial", "question_id": 95}} | |
| {"task_id": "bird-train-194", "prompt": "What is the average amount of loan which are still on running contract with statement issuance after each transaction?\n\nHint: status = 'C' stands for running contract, OK so far; status = 'D' stands for running contract, client in debt. 'POPLATEK PO OBRATU' stands for issuance after transaction", "data": {"db_name": "financial", "question_id": 192}} | |
| {"task_id": "bird-train-195", "prompt": "Among the accounts who have approved loan date in 1997, list out the accounts that have the lowest approved amount and choose weekly issuance statement.\n\nHint: 'POPLATEK TYDNE' stands for weekly issuance", "data": {"db_name": "financial", "question_id": 98}} | |
| {"task_id": "bird-train-196", "prompt": "List out the no. of districts that have female average salary is more than 6000 but less than 10000?\n\nHint: A11 refers to average salary; Female mapps to gender = 'F'", "data": {"db_name": "financial", "question_id": 92}} | |
| {"task_id": "bird-train-197", "prompt": "Please list the account types that are not eligible for loans, and the average income of residents in the district where the account is located exceeds $8000 but is no more than $9000.\n\nHint: A11 represents the average salary; Salary and income share the similar meanings; when the account type = 'OWNER', it's eligible for loans", "data": {"db_name": "financial", "question_id": 149}} | |
| {"task_id": "bird-train-198", "prompt": "For the female client who was born in 1976/1/29, which district did she opened her account?\n\nHint: Female refers to gender = 'F'; A2 refers to district names", "data": {"db_name": "financial", "question_id": 112}} | |
| {"task_id": "bird-train-199", "prompt": "How often does account number 3 request an account statement to be released? What was the aim of debiting 3539 in total?\n\nHint: k_symbol refers to the purpose of payments", "data": {"db_name": "financial", "question_id": 173}} | |
| {"task_id": "bird-train-200", "prompt": "In February 2012, what percentage of customers consumed more than 528.3?\n\nHint: February 2012 refers to '201202' in yearmonth.date; The first 4 strings of the Date values in the yearmonth table can represent year; The 5th and 6th string of the date can refer to month.", "data": {"db_name": "debit_card_specializing", "question_id": 1493}} | |
| {"task_id": "bird-train-201", "prompt": "How many percent of LAM customer consumed more than 46.73?\n\nHint: Percentage of LAM customer consumed more than 46.73 = (Total no. of LAM customers who consumed more than 46.73 / Total no. of LAM customers) * 100.", "data": {"db_name": "debit_card_specializing", "question_id": 1490}} | |
| {"task_id": "bird-train-202", "prompt": "Among the customers who paid in euro, how many of them have a monthly consumption of over 1000?\n\nHint: Pays in euro = Currency = 'EUR'.", "data": {"db_name": "debit_card_specializing", "question_id": 1505}} | |
| {"task_id": "bird-train-203", "prompt": "What is the percentage of the customers who used EUR in 2012/8/25?\n\nHint: '2012/8/25' can be represented by '2012-08-25'", "data": {"db_name": "debit_card_specializing", "question_id": 1525}} | |
| {"task_id": "bird-train-204", "prompt": "In 2012, who had the least consumption in LAM?\n\nHint: Year 2012 can be presented as Between 201201 And 201212; The first 4 strings of the Date values in the yearmonth table can represent year.", "data": {"db_name": "debit_card_specializing", "question_id": 1472}} | |
| {"task_id": "bird-train-205", "prompt": "For all the people who paid more than 29.00 per unit of product id No.5. Give their consumption status in the August of 2012.\n\nHint: August of 2012 refers to the Date value = '201208' ; Price per unit of product = Price / Amount;", "data": {"db_name": "debit_card_specializing", "question_id": 1533}} | |
| {"task_id": "bird-train-206", "prompt": "Is it true that more SMEs pay in Czech koruna than in euros? If so, how many more?\n\nHint: Amount of more SMEs = Total of SMEs pay using Currency CZK - Total of SMEs pay using Currency EUR", "data": {"db_name": "debit_card_specializing", "question_id": 1486}} | |
| {"task_id": "bird-train-207", "prompt": "Please list the countries of the gas stations with transactions taken place in June, 2013.\n\nHint: June 2013 refers to '201306'; The first 4 strings of the Date values in the yearmonth table can represent year; The 5th and 6th string of the date can refer to month;", "data": {"db_name": "debit_card_specializing", "question_id": 1501}} | |
| {"task_id": "bird-train-208", "prompt": "Please list the disparate time of the transactions taken place in the gas stations from chain no. 11.", "data": {"db_name": "debit_card_specializing", "question_id": 1507}} | |
| {"task_id": "bird-train-209", "prompt": "How many more \"discount\" gas stations does the Czech Republic have compared to Slovakia?\n\nHint: Czech Republic can be represented as the Country value in gasstations table is 'CZE'; Slovakia can be represented as the Country value in the gasstations table is 'SVK'; Computation of more \"discount\" gas stations= Total no. of discount gas stations in Czech Republic - Total no. of discount gas stations in Slovakia", "data": {"db_name": "debit_card_specializing", "question_id": 1484}} | |
| {"task_id": "bird-train-210", "prompt": "Which year recorded the most consumption of gas paid in CZK?\n\nHint: The first 4 strings of the Date values in the yearmonth table can represent year.", "data": {"db_name": "debit_card_specializing", "question_id": 1479}} | |
| {"task_id": "bird-train-211", "prompt": "What is the difference in the annual average consumption of the customers with the least amount of consumption paid in CZK for 2013 between SME and LAM, LAM and KAM, and KAM and SME?\n\nHint: annual average consumption of customer with the lowest consumption in each segment = total consumption per year / the number of customer with lowest consumption in each segment; Difference in annual average = SME's annual average - LAM's annual average; Difference in annual average = LAM's annual average - KAM's annual average; Year 2013 can be presented as Between 201301 And 201312; The first 4 strings of the Date values in the yearmonth table can represent year.", "data": {"db_name": "debit_card_specializing", "question_id": 1481}} | |
| {"task_id": "bird-train-212", "prompt": "Please list the product descriptions of the transactions taken place in the gas stations in the Czech Republic.\n\nHint: Czech Republic can be represented as the Country value in the gasstations table is 'CZE';", "data": {"db_name": "debit_card_specializing", "question_id": 1506}} | |
| {"task_id": "bird-train-213", "prompt": "What was the gas consumption peak month for SME customers in 2013?\n\nHint: Year 2013 can be presented as Between 201301 And 201312; The first 4 strings of the Date values in the yearmonth table can represent year; The 5th and 6th string of the date can refer to month.", "data": {"db_name": "debit_card_specializing", "question_id": 1480}} | |
| {"task_id": "bird-train-214", "prompt": "For the customer who paid 634.8 in 2012/8/25, what was the consumption decrease rate from Year 2012 to 2013?\n\nHint: '2012/8/24' can be represented by '2012-08-24'; Consumption decrease rate = (consumption_2012 - consumption_2013) / consumption_2012", "data": {"db_name": "debit_card_specializing", "question_id": 1526}} | |
| {"task_id": "bird-train-215", "prompt": "Please list the product description of the products consumed in September, 2013.\n\nHint: September 2013 refers to 201309; The first 4 strings of the Date values in the yearmonth table can represent year; The 5th and 6th string of the date can refer to month.", "data": {"db_name": "debit_card_specializing", "question_id": 1500}} | |
| {"task_id": "bird-train-216", "prompt": "What was the difference in gas consumption between CZK-paying customers and EUR-paying customers in 2012?\n\nHint: Year 2012 can be presented as Between 201201 And 201212; The first 4 strings of the Date values in the yearmonth table can represent year; Difference in Consumption = CZK customers consumption in 2012 - EUR customers consumption in 2012", "data": {"db_name": "debit_card_specializing", "question_id": 1476}} | |
| {"task_id": "bird-train-217", "prompt": "For all the transactions happened during 8:00-9:00 in 2012/8/26, how many happened in CZE?\n\nHint: Czech Republic can be represented as the Country value in the gasstations table is 'CZE'; '2012/8/26' can be represented by '2012-08-26'; during 8:00-9:00 can be represented as Time BETWEEN '08:00:00' AND '09:00:00'", "data": {"db_name": "debit_card_specializing", "question_id": 1521}} | |
| {"task_id": "bird-train-218", "prompt": "What segment did the customer have at 2012/8/23 21:20:00?\n\nHint: '2012/8/23' can be represented by '2012-08-23'", "data": {"db_name": "debit_card_specializing", "question_id": 1515}} | |
| {"task_id": "bird-train-219", "prompt": "Which of the three segments\u2014SME, LAM and KAM\u2014has the biggest and lowest percentage increases in consumption paid in EUR between 2012 and 2013?\n\nHint: Increase or Decrease = consumption for 2013 - consumption for 2012; Percentage of Increase = (Increase or Decrease / consumption for 2013) * 100%; The first 4 strings of the Date values in the yearmonth table can represent year", "data": {"db_name": "debit_card_specializing", "question_id": 1482}} | |
| {"task_id": "bird-train-220", "prompt": "Among the transactions made in the gas stations in the Czech Republic, how many of them are taken place after 2012/1/1?\n\nHint: Czech Republic can be represented as the Country value in the gasstations table is 'CZE'", "data": {"db_name": "debit_card_specializing", "question_id": 1509}} | |
| {"task_id": "bird-train-221", "prompt": "What's the nationality of the customer who spent 548.4 in 2012/8/24?\n\nHint: '2012/8/24' can be represented by '2012-08-24'", "data": {"db_name": "debit_card_specializing", "question_id": 1524}} | |