wmh-bird-sql-traces / data /test.jsonl
Silen's picture
update bird-sql data/
91d3697 verified
Raw
History Blame Contribute Delete
5.87 kB
{"task_id": "bird-test-0", "prompt": "What is the total number of superheroes without full name?\n\nHint: superheroes without full name refers to full_name IS NULL", "data": {"db_name": "superhero", "question_id": 747}}
{"task_id": "bird-test-1", "prompt": "What is Abomination's superpower?\n\nHint: Abomination refers to superhero_name = 'Abomination'; superpower refers to power_name;", "data": {"db_name": "superhero", "question_id": 792}}
{"task_id": "bird-test-2", "prompt": "How many powers does Amazo hero have?\n\nHint: Amazo hero refers to superhero_name = 'Amazo';", "data": {"db_name": "superhero", "question_id": 779}}
{"task_id": "bird-test-3", "prompt": "What is Copycat's race?\n\nHint: Copycat is the superhero_name;", "data": {"db_name": "superhero", "question_id": 737}}
{"task_id": "bird-test-4", "prompt": "Which hero was the fastest?\n\nHint: which hero refers to superhero_name; fastest refers to MAX(attribute_value) WHERE attribute_name = 'Speed';", "data": {"db_name": "superhero", "question_id": 794}}
{"task_id": "bird-test-5", "prompt": "Which non-carcinogenic molecules consisted more than 5 atoms?\n\nHint: label = '-' means molecules are non-carcinogenic; molecules consisted more than 5 atoms refers to COUNT(molecule_id) > 5", "data": {"db_name": "toxicology", "question_id": 327}}
{"task_id": "bird-test-6", "prompt": "What are the elements of the toxicology and label of molecule TR060?\n\nHint: TR060 is the molecule id;", "data": {"db_name": "toxicology", "question_id": 230}}
{"task_id": "bird-test-7", "prompt": "What proportion of single bonds are carcinogenic? Please provide your answer as a percentage with five decimal places.\n\nHint: single bond refers to bond_type = '-'; label = '+' mean molecules are carcinogenic; proportion = DIVIDE(SUM(label = '+') * 100, COUNT(bond_id)) where bond_type = '-'", "data": {"db_name": "toxicology", "question_id": 255}}
{"task_id": "bird-test-8", "prompt": "What is the most common bond type?\n\nHint: most common bond type refers MAX(COUNT(bond_type))", "data": {"db_name": "toxicology", "question_id": 195}}
{"task_id": "bird-test-9", "prompt": "List all the elements of the toxicology of the molecule \"TR004\".\n\nHint: TR004 is the molecule id;", "data": {"db_name": "toxicology", "question_id": 240}}
{"task_id": "bird-test-10", "prompt": "List the name of students that have attended more than 7 events.\n\nHint: name of students means the full name; full name refers to first_name, last_name; attended more than 7 events refers to COUNT(link_to_event) > 7", "data": {"db_name": "student_club", "question_id": 1381}}
{"task_id": "bird-test-11", "prompt": "State what kind of expenses that Sacha Harrison incurred?\n\nHint: kind of expenses refers to expense_description; Sacha Harrison is the full name; full name refers to first_name, last_name;", "data": {"db_name": "student_club", "question_id": 1411}}
{"task_id": "bird-test-12", "prompt": "What is the total amount of money spent for food?\n\nHint: total amount of money spent refers to SUM(spent); spent for food refers to category = 'Food'", "data": {"db_name": "student_club", "question_id": 1380}}
{"task_id": "bird-test-13", "prompt": "How many times was the budget in Advertisement for \"Yearly Kickoff\" meeting more than \"October Meeting\"?\n\nHint: budget in Advertisement refer to category = 'Advertisement' in the budget table; DIVIDE(SUM(amount when event_name = 'Yearly Kickoff'), SUM(amount when event_name = 'October Meeting'))", "data": {"db_name": "student_club", "question_id": 1359}}
{"task_id": "bird-test-14", "prompt": "Calculate the difference of the total amount spent in all events by the Student_Club in year 2019 and 2020.\n\nHint: The first 4 strings of the event_date values in the event table can represent year; The difference of the total amount spent = SUBTRACT(spent where YEAR(event_date) = 2019, spent where YEAR(event_date) = 2020)", "data": {"db_name": "student_club", "question_id": 1340}}
{"task_id": "bird-test-15", "prompt": "Rank schools by their average score in Writing where the score is greater than 499, showing their charter numbers.\n\nHint: Valid charter number means the number is not null", "data": {"db_name": "california_schools", "question_id": 17}}
{"task_id": "bird-test-16", "prompt": "Of the schools that offers a magnet program serving a grade span of Kindergarten to 8th grade, how many offers Multiple Provision Types? List the number of cities that offers a Kindergarten to 8th grade span and indicate how many schools are there serving such grade span for each city.\n\nHint: Kindergarten to 8th grade refers to K-8; 'Offers a magnet program' means Magnet = 1; Multiple Provision Types refers to `NSLP Provision Status` = 'Multiple Provision Types'", "data": {"db_name": "california_schools", "question_id": 83}}
{"task_id": "bird-test-17", "prompt": "What is the eligible free rate of the 10th and 11th schools with the highest enrolment for students in grades 1 through 12?\n\nHint: K-12 refers to students in grades 1 through 12; Eligible free rate for K-12 = `Free Meal Count (K-12)` / `Enrollment (K-12)`", "data": {"db_name": "california_schools", "question_id": 31}}
{"task_id": "bird-test-18", "prompt": "Between San Diego and Santa Barbara, which county offers the most number of schools that does not offer physical building? Indicate the amount.\n\nHint: 'Does not offer physical building' means Virtual = F in the database.", "data": {"db_name": "california_schools", "question_id": 79}}
{"task_id": "bird-test-19", "prompt": "What is the Percent (%) Eligible Free (K-12) in the school administered by an administrator whose first name is Alusine. List the district code of the school.\n\nHint: Percent (%) Eligible Free (K-12) = `Free Meal Count (K-12)` / `Enrollment (K-12)` * 100%", "data": {"db_name": "california_schools", "question_id": 85}}