set
dict |
---|
{
"query": "Have the teacher \"42d43fa6f37314365d08692e08680973\" acquired P.h.D or doctor degree?",
"pos": [
"teacher \"42d43fa6f37314365d08692e08680973\" refers to teacher_acctid = '42d43fa6f37314365d08692e08680973';"
],
"neg": [
"donation at 11:38:43 on 2008/7/29 refers to donation_timestamp = '2008/7/29 11:38:43'; teacher's account ID refers to teacher_acctid;",
"first ever project refers to min(date_posted); names of the resources refers to item_name",
"not from a teacher refers to is_teacher_acct = 'f'; donor account id refers to donor_acctid; percentage of donation = divide(donation_optional_support, donation_total)*100%",
"how many students refers to students_reached; Fit Firsties! project refers to title = 'Fit Firsties!'",
"cities refer to school_city; Los Angeles Unified School District refer to school_district = 'Los Angeles Unified School District'; supplies refer to project_resource_type; Quill.com refer to vendor_name",
"Awesome Audiobooks Make Avid Readers' is the title; percentage = Divie(donation_optional_support, donation_total)*100;",
"total amount of all the donations refers to sum(donation_total); highest donation refers to max(donation_total)",
"teacher \"822b7b8768c17456fdce78b65abcc18e\" refers to teacher_acctid = '822b7b8768c17456fdce78b65abcc18e'; donated refers to donation_total;",
"portion using account credits redemption refers to payment_included_acct_credit = 't'; year-round school refers to school_year_round = 't';",
"Future Einsteins of America refer to title"
]
} |
{
"query": "From the total amount of donation to projects, what is the percentage of the amount is for school projects located in the rural area?",
"pos": [
"located in the rural area refers to school_metro = 'rural'; percentage = divide(sum(donation_to_project), sum(donation_to_project where school_metro = 'rural'))*100%"
],
"neg": [
"school in Brooklyn refers to school_city = 'Brooklyn'; public magnet refers to school_magnet = 't';",
"Coordinates of the school refer to school_latitude, school_longitude); Look, Look, We Need a Nook! Refer to title;",
"paid via credit card refer to payment method = creditcard; Memphis City School District refer to school_district",
"project 'Lights, Camera, Action!' refers to title = 'Lights, Camera, Action!'",
"Bringing Drama to Life' is the title; Percentage = Divide(Count(payment_method = 'creditcard'), Count(projectid))*100;",
"which state refers to school_state; highest cost of optional support refers to max(donation_optional_support); average cost of optional support = avg(donation_optional_support)",
"paypal refer to payment method; Lets Share Ideas refer to title; city refer to school_city; total amount donated refer to SUM(donation_total of paypal where payment_method = ’paypal’)",
"Lakeshore Learning Materials is vendor_name; highest cost of labor fulfillment refers to Max(fulfillment_labor_materials);",
"project name refers to title; describe refers to short_description; New York teachers refers to teacher_ny_teaching_fellow = 't'",
"main subject area refers to primary_focus_area = 'Literacy & Language'; highest unit price refers to Max(item_unit_price);"
]
} |
{
"query": "Please list the resource names of project that teacher \"822b7b8768c17456fdce78b65abcc18e\" created.",
"pos": [
"teacher \"822b7b8768c17456fdce78b65abcc18e\" refers to teacher_acctid = '822b7b8768c17456fdce78b65abcc18e';"
],
"neg": [
"an honoree refers to for_honoree = 't'; more than $100 refers to dollar_amount = '100_and_up'",
"vendor refer to vendor_name; Classroom Keepers Management Center refer to item_name",
"iMath is the title; city refers to school_city;",
"donations collected refers to sum(donation_to_project); project 'Whistle While We Work!' refers to title = 'Whistle While We Work!'",
"from teachers refers to is_teacher_acct = 't'; the state of Colorado refers to donor_state = 'CO-Colorado'",
"located in the rural area refers to school_metro = 'rural'; percentage = divide(sum(donation_to_project), sum(donation_to_project where school_metro = 'rural'))*100%",
"Awesome Audiobooks Make Avid Readers' is the title; percentage = Divie(donation_optional_support, donation_total)*100;",
"ordered between 5 to 10 items refers to item_quantity between 5 and 10; are from Quill.com refers to vendor_name = 'Quill.com'",
"resource type refer to project_resource_type; most commonly bought refer to COUNT(project_resource_type where school_district = ’Los Angeles Unif Sch Dist’); Los Angeles Unified School District refer to school_district = ’Los Angeles Unif Sch Dist’",
"in Brooklyn refers to school_city = 'Brooklyn'; highest request of resources refers to max(count(T1.item_name))"
]
} |
{
"query": "For project titled 'Toot Your Flute!', what is the main subject of the project materials intended for? Name the other projects with the similar focus.",
"pos": [
"main subject refers to primary_focus_subject"
],
"neg": [
"Sax Arts & Crafts refer to vendor_name; resource type available refer to project_resource_type\n",
"teacher \"822b7b8768c17456fdce78b65abcc18e\" refers to teacher_acctid = '822b7b8768c17456fdce78b65abcc18e';",
"magnet school refers to school_magnet = 't'; donated resources as books refers to project_resource_type = 'Books'; percentage = Divide(Count(projectid) where project_resource_type = 'Books', Count(projectid))*100",
"Suffolk County refers to School_county = 'Suffolk'; Ph.D. teachers refers to Teacher_prefix = 'Dr.'",
"in Chicago refers to school_city = 'Chicago'; teachers refers to is_teacher_acct = 't'",
"highest total price including optional support refers to max(total_price_including_optional_support)",
"total amount of all the donations refers to sum(donation_total); highest donation refers to max(donation_total)",
"Future Einsteins of America refer to title",
"Coordinates of the school refer to school_latitude, school_longitude); Look, Look, We Need a Nook! Refer to title;",
"paid via credit card refer to payment method = creditcard; Memphis City School District refer to school_district"
]
} |
{
"query": "How many schools in urban area requested for books resources?",
"pos": [
"urban area refers to school_metro = 'urban'; books resources refers to project_resource_type = 'Books'"
],
"neg": [
"literacy subject as primary focus refers to primary_focus_subject = 'Literacy'",
"320 students will be impacted refers to students_reached = 320; name the project refers to title; project cost refers tp total_price_excluding_optional_support",
"Future Einsteins of America refer to title",
"school in Brooklyn refers to school_city = 'Brooklyn'; public magnet refers to school_magnet = 't';",
"donation at 14:44:29 on 2012/9/6 refers to donation_timestamp = '2012/9/6 14:44:29';",
"teacher \"42d43fa6f37314365d08692e08680973\"refers to teacher_acctid = '42d43fa6f37314365d08692e08680973';",
"which state refers to school_state; highest cost of optional support refers to max(donation_optional_support); average cost of optional support = avg(donation_optional_support)",
"teacher \"822b7b8768c17456fdce78b65abcc18e\" refers to teacher_acctid = '822b7b8768c17456fdce78b65abcc18e';",
"received donations of less than 10 dollars refers to dollar_amount = 'under_10'; city refers to school_city\n\n",
"from teachers refers to is_teacher_acct = 't'; the state of Colorado refers to donor_state = 'CO-Colorado'"
]
} |
{
"query": "Write the messages of those who donated to the Newark School District in the coordinates of 40.735332, -74.196014.",
"pos": [
"message refer to donation_message; Newark School District refer to school_district; 40.735332, -74.196014 refer to (school latitude, school_longitude)"
],
"neg": [
"which state refers to school_state; highest cost of optional support refers to max(donation_optional_support); average cost of optional support = avg(donation_optional_support)",
"portion using account credits redemption refers to payment_included_acct_credit = 't'; year-round school refers to school_year_round = 't';",
"Lakeshore Learning Materials is vendor_name; teacher with a doctor degree refers to teacher_prefix = 'Dr.';",
"school \"d4af834b1d3fc8061e1ee1b3f1a77b85\" refers to schoolid = 'd4af834b1d3fc8061e1ee1b3f1a77b85'; donor is a teacher refers to is_teacher_acct = 't';",
"main subject refers to primary_focus_subject",
"main subject area refers to primary_focus_area = 'Literacy & Language'; total donation amount refers to Sum(dollar_amount);",
"in Los Angeles refers to donor_city = 'Los Angeles'; school in another city refers to school_city ! = 'Los Angeles'",
"I Can't See It...Can You Help Me???' is the title;",
"teacher \"42d43fa6f37314365d08692e08680973\" refers to teacher_acctid = '42d43fa6f37314365d08692e08680973';",
"A Rug For Reaching Readers'is the title;"
]
} |
{
"query": "How many donors who donated to the city of Pocatello are not teachers?",
"pos": [
"city of Pocatello refers to donor_city = 'Pocatello'; not teachers refers to is_teacher_acct = 'f'"
],
"neg": [
"Engaging Young Readers with a Leveled Classroom Library' is the title; total donation amount = Add(donation_to_project, donation_optional_support)",
"literacy subject as primary focus refers to primary_focus_subject = 'Literacy'",
"ABC School Supply is vendor_name; public magnet school refers to school_magnet = 't';",
"project name refers to title; describe refers to short_description; New York teachers refers to teacher_ny_teaching_fellow = 't'",
"lakeshore Learning Materials is vendor_name; biggest amount refers to Max(item_quantity);",
"first ever project refers to min(date_posted); names of the resources refers to item_name",
"A Rug For Reaching Readers'is the title;",
"eachers with Doctor Degree refers to teacher_prefix = 'Dr.'; more than 300 students involved refers to students_reached > 300",
"320 students will be impacted refers to students_reached = 320; name the project refers to title; project cost refers tp total_price_excluding_optional_support",
"Literature & Writing' is primary_focus_subject; use 'Mr' as their teacher prefix refers to teacher_prefix = 'Mr';"
]
} |
{
"query": "For each donation not from a teacher, state the donor account id and calculate the percentage of donation given for optional support.",
"pos": [
"not from a teacher refers to is_teacher_acct = 'f'; donor account id refers to donor_acctid; percentage of donation = divide(donation_optional_support, donation_total)*100%"
],
"neg": [
"A Rug For Reaching Readers'is the title;",
"received donations of less than 10 dollars refers to dollar_amount = 'under_10'; city refers to school_city\n\n",
"highest optional tip refers to subtract(total_price_including_optional_support, total_price_excluding_optional_support); names of the resources refers to item_name",
"donation \"b39547f29dfc25fb13c6e9e8d940dc43\" refers to donationid = 'b39547f29dfc25fb13c6e9e8d940dc43'; type of resource refers to project_resource_type;",
"technology items refers to project_resource_type = 'Technology'; from Best Buy for Business refers to vendor_name = 'Best Buy for Business'; percentage refers to DIVIDE(count(case when vendor_name = 'Best Buy for Business'),count(projectid))",
"main subject area refers to primary_focus_area = 'Literacy & Language'; total donation amount refers to Sum(dollar_amount);",
"zip code \"7079\" refers to donor_zip = '7079'",
"project \"Bloody Times\" refers to title = 'Bloody Times'",
"ordered between 5 to 10 items refers to item_quantity between 5 and 10; are from Quill.com refers to vendor_name = 'Quill.com'",
"school \"d4af834b1d3fc8061e1ee1b3f1a77b85\" refers to schoolid = 'd4af834b1d3fc8061e1ee1b3f1a77b85'; donor is a teacher refers to is_teacher_acct = 't';"
]
} |
{
"query": "Is teacher \"42d43fa6f37314365d08692e08680973\" a New York teacher?",
"pos": [
"teacher \"42d43fa6f37314365d08692e08680973\"refers to teacher_acctid = '42d43fa6f37314365d08692e08680973';"
],
"neg": [
"school \"d4af834b1d3fc8061e1ee1b3f1a77b85\" refers to schoolid = 'd4af834b1d3fc8061e1ee1b3f1a77b85'; donor is a teacher refers to is_teacher_acct = 't';",
"project 'Lights, Camera, Action!' refers to title = 'Lights, Camera, Action!'",
"zip code \"22205\" refers to donor_zip = '22205'; students impacted refers to students_reached",
"in Chicago refers to school_city = 'Chicago'; teachers refers to is_teacher_acct = 't'",
"book-type projects refers to project_resource_type = 'Books'",
"school “301c9bf0a45d159d162b65a93fddd74e\" refers to schoolid = '301c9bf0a45d159d162b65a93fddd74e';",
"I Can't See It...Can You Help Me???' is the title;",
"made in March 2013 refers to substr(donation_timestamp,1,7) = '2013-03'; percentage refers to DIVIDE(SUM(payment_method made in March 2013), SUM(payment_method))*100",
"Family History Project refer to title, need statement refer to need_statement",
"zip code \"7079\" refers to donor_zip = '7079'"
]
} |
{
"query": "Is the donor of the project 'Calculate, Financial Security For Tomorrow Starts Today! ' a teacher?",
"pos": [
"Calculate, Financial Security For Tomorrow Starts Today! ' is title; donor is a teacher refers to is_teacher_acct = 't'"
],
"neg": [
"Awesome Audiobooks Make Avid Readers' is the title; percentage = Divie(donation_optional_support, donation_total)*100;",
"in Chicago refers to school_city = 'Chicago'; ID of the donor refers to donor_acctid",
"I Can't See It...Can You Help Me???' is the title;",
"AKJ Books items refers to vendor_name = 'AKJ Books'; average unit price refers to DIVIDE(sum(item_unit_price),count(resourceid))",
"project \"Bloody Times\" refers to title = 'Bloody Times'",
"project name refers to title; costs the most refers to max(total_price_excluding_optional_support); amount collected from donation refers to sum(donation_to_project); percentage amount refers to divide(subtract(total_price_excluding_optional_support, sum(donation_to_project)), sum(donation_to_project))*100%",
"Engaging Young Readers with a Leveled Classroom Library' is the title; total donation amount = Add(donation_to_project, donation_optional_support)",
"school in Brooklyn refers to school_city = 'Brooklyn'; total donated amount refers to donation_total;",
"in Chicago refers to school_city = 'Chicago'; teachers refers to is_teacher_acct = 't'",
"Needed Resource Materials For My Students refer to title"
]
} |
{
"query": "How many donations from teachers were done in the state of Colorado?",
"pos": [
"from teachers refers to is_teacher_acct = 't'; the state of Colorado refers to donor_state = 'CO-Colorado'"
],
"neg": [
"an honoree refers to for_honoree = 't'; more than $100 refers to dollar_amount = '100_and_up'",
"lakeshore Learning Materials is vendor_name; biggest amount refers to Max(item_quantity);",
"paypal refer to payment method; Lets Share Ideas refer to title; city refer to school_city; total amount donated refer to SUM(donation_total of paypal where payment_method = ’paypal’)",
"donation at 14:44:29 on 2012/9/6 refers to donation_timestamp = '2012/9/6 14:44:29';",
"eachers with Doctor Degree refers to teacher_prefix = 'Dr.'; more than 300 students involved refers to students_reached > 300",
"main subject area refers to primary_focus_area = 'Literacy & Language'; highest unit price refers to Max(item_unit_price);",
"literacy subject as primary focus refers to primary_focus_subject = 'Literacy'",
"cities refer to school_city; Los Angeles Unified School District refer to school_district = 'Los Angeles Unified School District'; supplies refer to project_resource_type; Quill.com refer to vendor_name",
"technology items refers to project_resource_type = 'Technology'; from Best Buy for Business refers to vendor_name = 'Best Buy for Business'; percentage refers to DIVIDE(count(case when vendor_name = 'Best Buy for Business'),count(projectid))",
"school in Brooklyn refers to school_city = 'Brooklyn'; public magnet refers to school_magnet = 't';"
]
} |
{
"query": "In the schools donated by the project of the resources provided by ABC School Supply, how many schools are public magnet schools?",
"pos": [
"ABC School Supply is vendor_name; public magnet school refers to school_magnet = 't';"
],
"neg": [
"iMath is the title; city refers to school_city;",
"from \"Sax Arts & Crafts\" refers to vendor_name = 'Sax Arts & Crafts'; zip code of the schools refers school_zip",
"primary focus area is Literature refers to primary_focus_area = 'Literature'",
"in Brooklyn refers to school_city = 'Brooklyn'; highest request of resources refers to max(count(T1.item_name))",
"highest optional tip refers to subtract(total_price_including_optional_support, total_price_excluding_optional_support); names of the resources refers to item_name",
"the highest poverty level refers to poverty_level = 'highest poverty'",
"in Chicago refers to school_city = 'Chicago'; ID of the donor refers to donor_acctid",
"average amount of donations = divide(sum(donation_to_project), count(donor_acctid)); project \"Recording Rockin' Readers\" refers to title = 'Recording Rockin' Readers'",
"donations collected refers to sum(donation_to_project); project 'Whistle While We Work!' refers to title = 'Whistle While We Work!'",
"portion using account credits redemption refers to payment_included_acct_credit = 't'; year-round school refers to school_year_round = 't';"
]
} |
{
"query": "What is the total donation amount for the project 'Engaging Young Readers with a Leveled Classroom Library'?",
"pos": [
"Engaging Young Readers with a Leveled Classroom Library' is the title; total donation amount = Add(donation_to_project, donation_optional_support)"
],
"neg": [
"zip code \"7079\" refers to donor_zip = '7079'",
"received donations of less than 10 dollars refers to dollar_amount = 'under_10'; city refers to school_city\n\n",
"Bringing Drama to Life' is the title; Percentage = Divide(Count(payment_method = 'creditcard'), Count(projectid))*100;",
"technology items refers to project_resource_type = 'Technology'; from Best Buy for Business refers to vendor_name = 'Best Buy for Business'; percentage refers to DIVIDE(count(case when vendor_name = 'Best Buy for Business'),count(projectid))",
"highest optional tip refers to subtract(total_price_including_optional_support, total_price_excluding_optional_support); names of the resources refers to item_name",
"Lakeshore Learning Materials is vendor_name; highest cost of labor fulfillment refers to Max(fulfillment_labor_materials);",
"average amount of donations = divide(sum(donation_to_project), count(donor_acctid)); project \"Recording Rockin' Readers\" refers to title = 'Recording Rockin' Readers'",
"resources that were requested refers to item_name; project \"d6ef27c07c30c81f0c16c32b6acfa2ff\" refers to projectid = 'd6ef27c07c30c81f0c16c32b6acfa2ff'; quantities refers to item_quantity; teacher_prefix = 'Dr. ' refers to teacher acquired P.h.D or doctor degree",
"donation at 14:44:29 on 2012/9/6 refers to donation_timestamp = '2012/9/6 14:44:29';",
"Rock Hill City School refers to school_city = 'Rock Hill'; teacher donors refers to is_teacher_acct = 't'"
]
} |
{
"query": "What are the coordinates of the school where project 'Look, Look, We Need a Nook!' Was donated to and what resource type is it?",
"pos": [
"Coordinates of the school refer to school_latitude, school_longitude); Look, Look, We Need a Nook! Refer to title;"
],
"neg": [
"date refer to date_posted; Lets Share Ideas refer to title",
"eachers with Doctor Degree refers to teacher_prefix = 'Dr.'; more than 300 students involved refers to students_reached > 300",
"Awesome Audiobooks Make Avid Readers' is the title; percentage = Divie(donation_optional_support, donation_total)*100;",
"in Chicago refers to school_city = 'Chicago'; ID of the donor refers to donor_acctid",
"teacher \"42d43fa6f37314365d08692e08680973\"refers to teacher_acctid = '42d43fa6f37314365d08692e08680973';",
"received donations of less than 10 dollars refers to dollar_amount = 'under_10'; city refers to school_city\n\n",
"teach 3-5 grades refers to grade_level = 'Grades 3-5'; 'Boston Public School District' is school_district;",
"largest donor by amount refers to max(donation_total); total amount of the donation refers to donation_total",
"ABC Read project been launched refers to title = 'ABC Read'; percentage refers to DIVIDE(count(case when title = 'ABC Read' then school_county else null end),count(school_county))*100",
"project 'Lights, Camera, Action!' refers to title = 'Lights, Camera, Action!'"
]
} |
{
"query": "Name the vendors that sell the item Classroom Keepers Management Center.",
"pos": [
"vendor refer to vendor_name; Classroom Keepers Management Center refer to item_name"
],
"neg": [
"teacher \"42d43fa6f37314365d08692e08680973\"refers to teacher_acctid = '42d43fa6f37314365d08692e08680973';",
"resources that were requested refers to item_name; project \"d6ef27c07c30c81f0c16c32b6acfa2ff\" refers to projectid = 'd6ef27c07c30c81f0c16c32b6acfa2ff'; quantities refers to item_quantity; teacher_prefix = 'Dr. ' refers to teacher acquired P.h.D or doctor degree",
"A Rug For Reaching Readers'is the title;",
"largest donor by amount refers to max(donation_total); total amount of the donation refers to donation_total",
"in Brooklyn refers to school_city = 'Brooklyn'; highest request of resources refers to max(count(T1.item_name))",
"Engaging Young Readers with a Leveled Classroom Library' is the title; total donation amount = Add(donation_to_project, donation_optional_support)",
"320 students will be impacted refers to students_reached = 320; name the project refers to title; project cost refers tp total_price_excluding_optional_support",
"message refer to donation_message; Newark School District refer to school_district; 40.735332, -74.196014 refer to (school latitude, school_longitude)",
"in Los Angeles refers to donor_city = 'Los Angeles'; school in another city refers to school_city ! = 'Los Angeles'",
"Suffolk County refers to School_county = 'Suffolk'; Ph.D. teachers refers to Teacher_prefix = 'Dr.'"
]
} |
{
"query": "What were the resources that were requested by the teacher for project \"d6ef27c07c30c81f0c16c32b6acfa2ff\"? Indicate the quantities as well and whether or not the teacher acquired P.h.D or doctor degree.",
"pos": [
"resources that were requested refers to item_name; project \"d6ef27c07c30c81f0c16c32b6acfa2ff\" refers to projectid = 'd6ef27c07c30c81f0c16c32b6acfa2ff'; quantities refers to item_quantity; teacher_prefix = 'Dr. ' refers to teacher acquired P.h.D or doctor degree"
],
"neg": [
"Lakeshore Learning Materials is vendor_name; highest cost of labor fulfillment refers to Max(fulfillment_labor_materials);",
"the most expensive funds refers to max(multiply(item_unit_price, item_quantity))",
"ABC Read project been launched refers to title = 'ABC Read'; percentage refers to DIVIDE(count(case when title = 'ABC Read' then school_county else null end),count(school_county))*100",
"AKJ Books items refers to vendor_name = 'AKJ Books'; average unit price refers to DIVIDE(sum(item_unit_price),count(resourceid))",
"project 'Lights, Camera, Action!' refers to title = 'Lights, Camera, Action!'",
"not from a teacher refers to is_teacher_acct = 'f'; donor account id refers to donor_acctid; percentage of donation = divide(donation_optional_support, donation_total)*100%",
"Sax Arts & Crafts refer to vendor_name; resource type available refer to project_resource_type\n",
"eachers with Doctor Degree refers to teacher_prefix = 'Dr.'; more than 300 students involved refers to students_reached > 300",
"the highest poverty level refers to poverty_level = 'highest poverty'",
"donors are teachers refers to is_teacher_acct = 't'; affect more than 30 students refers to students_reached>30; Percentage = Divide(Count(students_reached>30), Count(students_reached))*100"
]
} |
{
"query": "List the poverty level of all the schools that received donations with the zip code \"7079\".",
"pos": [
"zip code \"7079\" refers to donor_zip = '7079'"
],
"neg": [
"latitude 42003718 refers to school_latitude = 42003718; longitude -87668289 refers to school_longitude = -87668289",
"book-type projects refers to project_resource_type = 'Books'",
"largest donor by amount refers to max(donation_total); total amount of the donation refers to donation_total",
"literacy subject as primary focus refers to primary_focus_subject = 'Literacy'",
"made in March 2013 refers to substr(donation_timestamp,1,7) = '2013-03'; percentage refers to DIVIDE(SUM(payment_method made in March 2013), SUM(payment_method))*100",
"320 students will be impacted refers to students_reached = 320; name the project refers to title; project cost refers tp total_price_excluding_optional_support",
"Sax Arts & Crafts refer to vendor_name; resource type available refer to project_resource_type\n",
"total amount refers to sum(donation_total); 2011 refers to donation_timestamp LIKE'2011%'; honoree refers to for_honoree = 't'; via campaign page refers to via_giving_page = 't'",
"main subject refers to primary_focus_subject",
"resource type refer to project_resource_type; most commonly bought refer to COUNT(project_resource_type where school_district = ’Los Angeles Unif Sch Dist’); Los Angeles Unified School District refer to school_district = ’Los Angeles Unif Sch Dist’"
]
} |
{
"query": "How many Rock Hill City School projects have teacher donors?",
"pos": [
"Rock Hill City School refers to school_city = 'Rock Hill'; teacher donors refers to is_teacher_acct = 't'"
],
"neg": [
"project \"Photojournalists Want to Exhibit Their Best Works\" refers to title = 'Photojournalists Want to Exhibit Their Best Works'; when project go live refers to datePosted",
"literacy subject as primary focus refers to primary_focus_subject = 'Literacy'",
"Bringing Drama to Life' is the title; Percentage = Divide(Count(payment_method = 'creditcard'), Count(projectid))*100;",
"highest total price including optional support refers to max(total_price_including_optional_support)",
"first ever project refers to min(date_posted); names of the resources refers to item_name",
"average amount of donations = divide(sum(donation_to_project), count(donor_acctid)); project \"Recording Rockin' Readers\" refers to title = 'Recording Rockin' Readers'",
"ordered between 5 to 10 items refers to item_quantity between 5 and 10; are from Quill.com refers to vendor_name = 'Quill.com'",
"Literature & Writing' is primary_focus_subject; use 'Mr' as their teacher prefix refers to teacher_prefix = 'Mr';",
"eachers with Doctor Degree refers to teacher_prefix = 'Dr.'; more than 300 students involved refers to students_reached > 300",
"received donations of less than 10 dollars refers to dollar_amount = 'under_10'; city refers to school_city\n\n"
]
} |
{
"query": "How many donations of more than $100 were made for an honoree?",
"pos": [
"an honoree refers to for_honoree = 't'; more than $100 refers to dollar_amount = '100_and_up'"
],
"neg": [
"not from a teacher refers to is_teacher_acct = 'f'; donor account id refers to donor_acctid; percentage of donation = divide(donation_optional_support, donation_total)*100%",
"Lakeshore Learning Materials is vendor_name; highest cost of labor fulfillment refers to Max(fulfillment_labor_materials);",
"teach 3-5 grades refers to grade_level = 'Grades 3-5'; 'Boston Public School District' is school_district;",
"donors are teachers refers to is_teacher_acct = 't'; affect more than 30 students refers to students_reached>30; Percentage = Divide(Count(students_reached>30), Count(students_reached))*100",
"school \"d4af834b1d3fc8061e1ee1b3f1a77b85\" refers to schoolid = 'd4af834b1d3fc8061e1ee1b3f1a77b85'; donor is a teacher refers to is_teacher_acct = 't';",
"book-type projects refers to project_resource_type = 'Books'",
"Future Einsteins of America refer to title",
"primary focus area is Literature refers to primary_focus_area = 'Literature'",
"Highest cost of the optional tip refers to Max(total_price_including_optional_support - total_price_excluding_optional_support);",
"ABC School Supply is vendor_name; public magnet school refers to school_magnet = 't';"
]
} |
{
"query": "Among the donations with a portion using account credits redemption, how many of them are for projects created by teachers working in a public year-round school?",
"pos": [
"portion using account credits redemption refers to payment_included_acct_credit = 't'; year-round school refers to school_year_round = 't';"
],
"neg": [
"A Rug For Reaching Readers'is the title;",
"Needed Resource Materials For My Students refer to title",
"paypal refer to payment method; Lets Share Ideas refer to title; city refer to school_city; total amount donated refer to SUM(donation_total of paypal where payment_method = ’paypal’)",
"the highest poverty level refers to poverty_level = 'highest poverty'",
"vendor refer to vendor_name; Classroom Keepers Management Center refer to item_name",
"project 'Lights, Camera, Action!' refers to title = 'Lights, Camera, Action!'",
"highest total price including optional support refers to max(total_price_including_optional_support)",
"lakeshore Learning Materials is vendor_name; biggest amount refers to Max(item_quantity);",
"project name refers to title; describe refers to short_description; New York teachers refers to teacher_ny_teaching_fellow = 't'",
"average amount of donations = divide(sum(donation_to_project), count(donor_acctid)); project \"Recording Rockin' Readers\" refers to title = 'Recording Rockin' Readers'"
]
} |
{
"query": "Which projects created by teachers with Doctor Degree where the project have more than 300 students involved. List down the title of the project.",
"pos": [
"eachers with Doctor Degree refers to teacher_prefix = 'Dr.'; more than 300 students involved refers to students_reached > 300"
],
"neg": [
"teacher \"42d43fa6f37314365d08692e08680973\"refers to teacher_acctid = '42d43fa6f37314365d08692e08680973';",
"in Los Angeles refers to donor_city = 'Los Angeles'; school in another city refers to school_city ! = 'Los Angeles'",
"received donations of less than 10 dollars refers to dollar_amount = 'under_10'; city refers to school_city\n\n",
"Creating Memories and Inspiring Dreams is title;",
"zip code \"22205\" refers to donor_zip = '22205'; students impacted refers to students_reached",
"message refer to donation_message; Newark School District refer to school_district; 40.735332, -74.196014 refer to (school latitude, school_longitude)",
"Family History Project refer to title, need statement refer to need_statement",
"Suffolk County refers to School_county = 'Suffolk'; Ph.D. teachers refers to Teacher_prefix = 'Dr.'",
"teacher \"822b7b8768c17456fdce78b65abcc18e\" refers to teacher_acctid = '822b7b8768c17456fdce78b65abcc18e'; donated refers to donation_total;",
"project \"Photojournalists Want to Exhibit Their Best Works\" refers to title = 'Photojournalists Want to Exhibit Their Best Works'; when project go live refers to datePosted"
]
} |
{
"query": "Which project in Brooklyn that have the highest request of resources? State the the project ID including all of the name of item requested.",
"pos": [
"in Brooklyn refers to school_city = 'Brooklyn'; highest request of resources refers to max(count(T1.item_name))"
],
"neg": [
"eachers with Doctor Degree refers to teacher_prefix = 'Dr.'; more than 300 students involved refers to students_reached > 300",
"located in the rural area refers to school_metro = 'rural'; percentage = divide(sum(donation_to_project), sum(donation_to_project where school_metro = 'rural'))*100%",
"Lakeshore Learning Materials is vendor_name; highest cost of labor fulfillment refers to Max(fulfillment_labor_materials);",
"Lakeshore Learning Materials is vendor_name; teacher with a doctor degree refers to teacher_prefix = 'Dr.';",
"Needed Resource Materials For My Students refer to title",
"ordered between 5 to 10 items refers to item_quantity between 5 and 10; are from Quill.com refers to vendor_name = 'Quill.com'",
"average amount of donations = divide(sum(donation_to_project), count(donor_acctid)); project \"Recording Rockin' Readers\" refers to title = 'Recording Rockin' Readers'",
"highest total price including optional support refers to max(total_price_including_optional_support)",
"Sax Arts & Crafts refer to vendor_name; resource type available refer to project_resource_type\n",
"Future Einsteins of America refer to title"
]
} |
{
"query": "How many donors in Los Angeles donated to school in another city?",
"pos": [
"in Los Angeles refers to donor_city = 'Los Angeles'; school in another city refers to school_city ! = 'Los Angeles'"
],
"neg": [
"teacher \"42d43fa6f37314365d08692e08680973\" refers to teacher_acctid = '42d43fa6f37314365d08692e08680973';",
"Family History Project refer to title, need statement refer to need_statement",
"Rock Hill City School refers to school_city = 'Rock Hill'; teacher donors refers to is_teacher_acct = 't'",
"first ever project refers to min(date_posted); names of the resources refers to item_name",
"the highest poverty level refers to poverty_level = 'highest poverty'",
"donation at 14:44:29 on 2012/9/6 refers to donation_timestamp = '2012/9/6 14:44:29';",
"zip code \"7079\" refers to donor_zip = '7079'",
"Mathematics as a primary subject refers to primary_focus_subject = 'Mathematics'; most expensive refers to max(item_unit_price)",
"ABC School Supply is vendor_name; public magnet school refers to school_magnet = 't';",
"magnet school refers to school_magnet = 't'; donated resources as books refers to project_resource_type = 'Books'; percentage = Divide(Count(projectid) where project_resource_type = 'Books', Count(projectid))*100"
]
} |
{
"query": "What are the vendors of the book-type projects? List them with the project ID.",
"pos": [
"book-type projects refers to project_resource_type = 'Books'"
],
"neg": [
"an honoree refers to for_honoree = 't'; more than $100 refers to dollar_amount = '100_and_up'",
"project \"Photojournalists Want to Exhibit Their Best Works\" refers to title = 'Photojournalists Want to Exhibit Their Best Works'; when project go live refers to datePosted",
"zip code \"7079\" refers to donor_zip = '7079'",
"donations collected refers to sum(donation_to_project); project 'Whistle While We Work!' refers to title = 'Whistle While We Work!'",
"project name refers to title; describe refers to short_description; New York teachers refers to teacher_ny_teaching_fellow = 't'",
"total amount of all the donations refers to sum(donation_total); highest donation refers to max(donation_total)",
"donation at 11:38:43 on 2008/7/29 refers to donation_timestamp = '2008/7/29 11:38:43'; teacher's account ID refers to teacher_acctid;",
"Mathematics as a primary subject refers to primary_focus_subject = 'Mathematics'; most expensive refers to max(item_unit_price)",
"Twin Falls is school_country; 'Math & Science' is primary_focus_area;",
"in Chicago refers to school_city = 'Chicago'; ID of the donor refers to donor_acctid"
]
} |
{
"query": "What is the percentage of payment methods of donations made in March 2013?",
"pos": [
"made in March 2013 refers to substr(donation_timestamp,1,7) = '2013-03'; percentage refers to DIVIDE(SUM(payment_method made in March 2013), SUM(payment_method))*100"
],
"neg": [
"paid via credit card refer to payment method = creditcard; Memphis City School District refer to school_district",
"iMath is the title; city refers to school_city;",
"ABC School Supply is vendor_name; public magnet school refers to school_magnet = 't';",
"book-type projects refers to project_resource_type = 'Books'",
"project name refers to title; costs the most refers to max(total_price_excluding_optional_support); amount collected from donation refers to sum(donation_to_project); percentage amount refers to divide(subtract(total_price_excluding_optional_support, sum(donation_to_project)), sum(donation_to_project))*100%",
"main subject area refers to primary_focus_area = 'Literacy & Language'; total donation amount refers to Sum(dollar_amount);",
"message refer to donation_message; Newark School District refer to school_district; 40.735332, -74.196014 refer to (school latitude, school_longitude)",
"Twin Falls is school_country; 'Math & Science' is primary_focus_area;",
"for grades 9-12 refers to grade_level = 'Grades 9-12'",
"in Chicago refers to school_city = 'Chicago'; ID of the donor refers to donor_acctid"
]
} |
{
"query": "State the name of vendor that supplies book resources to all school with literacy subject as their primary focus.",
"pos": [
"literacy subject as primary focus refers to primary_focus_subject = 'Literacy'"
],
"neg": [
"Twin Falls is school_country; 'Math & Science' is primary_focus_area;",
"eachers with Doctor Degree refers to teacher_prefix = 'Dr.'; more than 300 students involved refers to students_reached > 300",
"zip code \"22205\" refers to donor_zip = '22205'; students impacted refers to students_reached",
"total amount refers to sum(donation_total); 2011 refers to donation_timestamp LIKE'2011%'; honoree refers to for_honoree = 't'; via campaign page refers to via_giving_page = 't'",
"paypal refer to payment method; Lets Share Ideas refer to title; city refer to school_city; total amount donated refer to SUM(donation_total of paypal where payment_method = ’paypal’)",
"Suffolk County refers to School_county = 'Suffolk'; Ph.D. teachers refers to Teacher_prefix = 'Dr.'",
"Creating Memories and Inspiring Dreams is title;",
"Calculate, Financial Security For Tomorrow Starts Today! ' is title; donor is a teacher refers to is_teacher_acct = 't'",
"zip code \"7079\" refers to donor_zip = '7079'",
"Bringing Drama to Life' is the title; Percentage = Divide(Count(payment_method = 'creditcard'), Count(projectid))*100;"
]
} |
{
"query": "What is the name of the vendor that the project \"Bloody Times\" uses for their resources?",
"pos": [
"project \"Bloody Times\" refers to title = 'Bloody Times'"
],
"neg": [
"primary focus area is Literature refers to primary_focus_area = 'Literature'",
"Calculate, Financial Security For Tomorrow Starts Today! ' is title; donor is a teacher refers to is_teacher_acct = 't'",
"ABC School Supply is vendor_name; public magnet school refers to school_magnet = 't';",
"teacher \"42d43fa6f37314365d08692e08680973\"refers to teacher_acctid = '42d43fa6f37314365d08692e08680973';",
"located in the rural area refers to school_metro = 'rural'; percentage = divide(sum(donation_to_project), sum(donation_to_project where school_metro = 'rural'))*100%",
"message refer to donation_message; Newark School District refer to school_district; 40.735332, -74.196014 refer to (school latitude, school_longitude)",
"technology items refers to project_resource_type = 'Technology'; from Best Buy for Business refers to vendor_name = 'Best Buy for Business'; percentage refers to DIVIDE(count(case when vendor_name = 'Best Buy for Business'),count(projectid))",
"Coordinates of the school refer to school_latitude, school_longitude); Look, Look, We Need a Nook! Refer to title;",
"Engaging Young Readers with a Leveled Classroom Library' is the title; total donation amount = Add(donation_to_project, donation_optional_support)",
"Rock Hill City School refers to school_city = 'Rock Hill'; teacher donors refers to is_teacher_acct = 't'"
]
} |
{
"query": "Name the project that costs the most. How much has been collected from donation and what is the percentage amount still lacking?",
"pos": [
"project name refers to title; costs the most refers to max(total_price_excluding_optional_support); amount collected from donation refers to sum(donation_to_project); percentage amount refers to divide(subtract(total_price_excluding_optional_support, sum(donation_to_project)), sum(donation_to_project))*100%"
],
"neg": [
"total amount of all the donations refers to sum(donation_total); highest donation refers to max(donation_total)",
"school in Brooklyn refers to school_city = 'Brooklyn'; public magnet refers to school_magnet = 't';",
"Sax Arts & Crafts refer to vendor_name; resource type available refer to project_resource_type\n",
"donation \"b39547f29dfc25fb13c6e9e8d940dc43\" refers to donationid = 'b39547f29dfc25fb13c6e9e8d940dc43'; type of resource refers to project_resource_type;",
"an honoree refers to for_honoree = 't'; more than $100 refers to dollar_amount = '100_and_up'",
"total amount refers to sum(donation_total); 2011 refers to donation_timestamp LIKE'2011%'; honoree refers to for_honoree = 't'; via campaign page refers to via_giving_page = 't'",
"school “301c9bf0a45d159d162b65a93fddd74e\" refers to schoolid = '301c9bf0a45d159d162b65a93fddd74e';",
"Rock Hill City School refers to school_city = 'Rock Hill'; teacher donors refers to is_teacher_acct = 't'",
"highest optional tip refers to subtract(total_price_including_optional_support, total_price_excluding_optional_support); names of the resources refers to item_name",
"book-type projects refers to project_resource_type = 'Books'"
]
} |
{
"query": "How many donations were paid via credit card to Memphis City School District?",
"pos": [
"paid via credit card refer to payment method = creditcard; Memphis City School District refer to school_district"
],
"neg": [
"city of Pocatello refers to donor_city = 'Pocatello'; not teachers refers to is_teacher_acct = 'f'",
"school in Brooklyn refers to school_city = 'Brooklyn'; public magnet refers to school_magnet = 't';",
"zip code \"22205\" refers to donor_zip = '22205'; students impacted refers to students_reached",
"technology items refers to project_resource_type = 'Technology'; from Best Buy for Business refers to vendor_name = 'Best Buy for Business'; percentage refers to DIVIDE(count(case when vendor_name = 'Best Buy for Business'),count(projectid))",
"primary focus area is Literature refers to primary_focus_area = 'Literature'",
"Needed Resource Materials For My Students refer to title",
"Bringing Drama to Life' is the title; Percentage = Divide(Count(payment_method = 'creditcard'), Count(projectid))*100;",
"highest optional tip refers to subtract(total_price_including_optional_support, total_price_excluding_optional_support); names of the resources refers to item_name",
"lakeshore Learning Materials is vendor_name; biggest amount refers to Max(item_quantity);",
"A Rug For Reaching Readers'is the title;"
]
} |
{
"query": "What is the average amount of donations by people who donated in the project \"Recording Rockin' Readers\"",
"pos": [
"average amount of donations = divide(sum(donation_to_project), count(donor_acctid)); project \"Recording Rockin' Readers\" refers to title = 'Recording Rockin' Readers'"
],
"neg": [
"message refer to donation_message; Newark School District refer to school_district; 40.735332, -74.196014 refer to (school latitude, school_longitude)",
"date refer to date_posted; Lets Share Ideas refer to title",
"ABC Read project been launched refers to title = 'ABC Read'; percentage refers to DIVIDE(count(case when title = 'ABC Read' then school_county else null end),count(school_county))*100",
"donations collected refers to sum(donation_to_project); project 'Whistle While We Work!' refers to title = 'Whistle While We Work!'",
"cities refer to school_city; Los Angeles Unified School District refer to school_district = 'Los Angeles Unified School District'; supplies refer to project_resource_type; Quill.com refer to vendor_name",
"main subject area refers to primary_focus_area = 'Literacy & Language'; total donation amount refers to Sum(dollar_amount);",
"in Brooklyn refers to school_city = 'Brooklyn'; highest request of resources refers to max(count(T1.item_name))",
"teacher \"822b7b8768c17456fdce78b65abcc18e\" refers to teacher_acctid = '822b7b8768c17456fdce78b65abcc18e';",
"paypal refer to payment method; Lets Share Ideas refer to title; city refer to school_city; total amount donated refer to SUM(donation_total of paypal where payment_method = ’paypal’)",
"teacher \"822b7b8768c17456fdce78b65abcc18e\" refers to teacher_acctid = '822b7b8768c17456fdce78b65abcc18e'; donated refers to donation_total;"
]
} |
{
"query": "List the title of all projects located in Chicago along with the ID of the donor.",
"pos": [
"in Chicago refers to school_city = 'Chicago'; ID of the donor refers to donor_acctid"
],
"neg": [
"Mathematics as a primary subject refers to primary_focus_subject = 'Mathematics'; most expensive refers to max(item_unit_price)",
"teacher \"822b7b8768c17456fdce78b65abcc18e\" refers to teacher_acctid = '822b7b8768c17456fdce78b65abcc18e';",
"in Brooklyn refers to school_city = 'Brooklyn'; highest request of resources refers to max(count(T1.item_name))",
"resource type refer to project_resource_type; most commonly bought refer to COUNT(project_resource_type where school_district = ’Los Angeles Unif Sch Dist’); Los Angeles Unified School District refer to school_district = ’Los Angeles Unif Sch Dist’",
"ABC School Supply is vendor_name; public magnet school refers to school_magnet = 't';",
"made in March 2013 refers to substr(donation_timestamp,1,7) = '2013-03'; percentage refers to DIVIDE(SUM(payment_method made in March 2013), SUM(payment_method))*100",
"project 'Lights, Camera, Action!' refers to title = 'Lights, Camera, Action!'",
"teach 3-5 grades refers to grade_level = 'Grades 3-5'; 'Boston Public School District' is school_district;",
"cities refer to school_city; Los Angeles Unified School District refer to school_district = 'Los Angeles Unified School District'; supplies refer to project_resource_type; Quill.com refer to vendor_name",
"Family History Project refer to title, need statement refer to need_statement"
]
} |
{
"query": "What date did the project with he 'Lets Share Ideas essay' went live?",
"pos": [
"date refer to date_posted; Lets Share Ideas refer to title"
],
"neg": [
"Twin Falls is school_country; 'Math & Science' is primary_focus_area;",
"Sax Arts & Crafts refer to vendor_name; resource type available refer to project_resource_type\n",
"zip code \"7079\" refers to donor_zip = '7079'",
"first ever project refers to min(date_posted); names of the resources refers to item_name",
"school “301c9bf0a45d159d162b65a93fddd74e\" refers to schoolid = '301c9bf0a45d159d162b65a93fddd74e';",
"Lakeshore Learning Materials is vendor_name; teacher with a doctor degree refers to teacher_prefix = 'Dr.';",
"located in the rural area refers to school_metro = 'rural'; percentage = divide(sum(donation_to_project), sum(donation_to_project where school_metro = 'rural'))*100%",
"suburban metros refer to metro = 'suburban'; Livingston Parish School District refer to school_district",
"not from a teacher refers to is_teacher_acct = 'f'; donor account id refers to donor_acctid; percentage of donation = divide(donation_optional_support, donation_total)*100%",
"urban area refers to school_metro = 'urban'; books resources refers to project_resource_type = 'Books'"
]
} |
{
"query": "Calculate the sum of all the total amount donated to the essay project titled 'Lets Share Ideas' which were paid through paypal and indicate the city and poverty level.",
"pos": [
"paypal refer to payment method; Lets Share Ideas refer to title; city refer to school_city; total amount donated refer to SUM(donation_total of paypal where payment_method = ’paypal’)"
],
"neg": [
"Suffolk County refers to School_county = 'Suffolk'; Ph.D. teachers refers to Teacher_prefix = 'Dr.'",
"teach 3-5 grades refers to grade_level = 'Grades 3-5'; 'Boston Public School District' is school_district;",
"technology items refers to project_resource_type = 'Technology'; from Best Buy for Business refers to vendor_name = 'Best Buy for Business'; percentage refers to DIVIDE(count(case when vendor_name = 'Best Buy for Business'),count(projectid))",
"Future Einsteins of America refer to title",
"donation at 11:38:43 on 2008/7/29 refers to donation_timestamp = '2008/7/29 11:38:43'; teacher's account ID refers to teacher_acctid;",
"received donations of less than 10 dollars refers to dollar_amount = 'under_10'; city refers to school_city\n\n",
"AKJ Books items refers to vendor_name = 'AKJ Books'; average unit price refers to DIVIDE(sum(item_unit_price),count(resourceid))",
"literacy subject as primary focus refers to primary_focus_subject = 'Literacy'",
"the most expensive funds refers to max(multiply(item_unit_price, item_quantity))",
"school “301c9bf0a45d159d162b65a93fddd74e\" refers to schoolid = '301c9bf0a45d159d162b65a93fddd74e';"
]
} |
{
"query": "Which resource type is commonly bought by the Los Angeles Unified School District?",
"pos": [
"resource type refer to project_resource_type; most commonly bought refer to COUNT(project_resource_type where school_district = ’Los Angeles Unif Sch Dist’); Los Angeles Unified School District refer to school_district = ’Los Angeles Unif Sch Dist’"
],
"neg": [
"iMath is the title; city refers to school_city;",
"main subject area refers to primary_focus_area = 'Literacy & Language'; total donation amount refers to Sum(dollar_amount);",
"located in the rural area refers to school_metro = 'rural'; percentage = divide(sum(donation_to_project), sum(donation_to_project where school_metro = 'rural'))*100%",
"Coordinates of the school refer to school_latitude, school_longitude); Look, Look, We Need a Nook! Refer to title;",
"main subject area refers to primary_focus_area = 'Literacy & Language'; highest unit price refers to Max(item_unit_price);",
"largest donor by amount refers to max(donation_total); total amount of the donation refers to donation_total",
"vendor refer to vendor_name; Classroom Keepers Management Center refer to item_name",
"A Rug For Reaching Readers'is the title;",
"Bringing Drama to Life' is the title; Percentage = Divide(Count(payment_method = 'creditcard'), Count(projectid))*100;",
"for grades 9-12 refers to grade_level = 'Grades 9-12'"
]
} |
{
"query": "Which city does the school that project \"iMath\" donated to in?",
"pos": [
"iMath is the title; city refers to school_city;"
],
"neg": [
"main subject area refers to primary_focus_area = 'Literacy & Language'; total donation amount refers to Sum(dollar_amount);",
"cities refer to school_city; Los Angeles Unified School District refer to school_district = 'Los Angeles Unified School District'; supplies refer to project_resource_type; Quill.com refer to vendor_name",
"ABC School Supply is vendor_name; public magnet school refers to school_magnet = 't';",
"project name refers to title; costs the most refers to max(total_price_excluding_optional_support); amount collected from donation refers to sum(donation_to_project); percentage amount refers to divide(subtract(total_price_excluding_optional_support, sum(donation_to_project)), sum(donation_to_project))*100%",
"portion using account credits redemption refers to payment_included_acct_credit = 't'; year-round school refers to school_year_round = 't';",
"resource type refer to project_resource_type; most commonly bought refer to COUNT(project_resource_type where school_district = ’Los Angeles Unif Sch Dist’); Los Angeles Unified School District refer to school_district = ’Los Angeles Unif Sch Dist’",
"Twin Falls is school_country; 'Math & Science' is primary_focus_area;",
"the most expensive funds refers to max(multiply(item_unit_price, item_quantity))",
"Engaging Young Readers with a Leveled Classroom Library' is the title; total donation amount = Add(donation_to_project, donation_optional_support)",
"technology items refers to project_resource_type = 'Technology'; from Best Buy for Business refers to vendor_name = 'Best Buy for Business'; percentage refers to DIVIDE(count(case when vendor_name = 'Best Buy for Business'),count(projectid))"
]
} |
{
"query": "What is the title of project that have the most expensive funds?",
"pos": [
"the most expensive funds refers to max(multiply(item_unit_price, item_quantity))"
],
"neg": [
"A Rug For Reaching Readers'is the title;",
"in Brooklyn refers to school_city = 'Brooklyn'; highest request of resources refers to max(count(T1.item_name))",
"Awesome Audiobooks Make Avid Readers' is the title; percentage = Divie(donation_optional_support, donation_total)*100;",
"highest total price including optional support refers to max(total_price_including_optional_support)",
"Literature & Writing' is primary_focus_subject; use 'Mr' as their teacher prefix refers to teacher_prefix = 'Mr';",
"school \"d4af834b1d3fc8061e1ee1b3f1a77b85\" refers to schoolid = 'd4af834b1d3fc8061e1ee1b3f1a77b85'; donor is a teacher refers to is_teacher_acct = 't';",
"how many students refers to students_reached; Fit Firsties! project refers to title = 'Fit Firsties!'",
"paid via credit card refer to payment method = creditcard; Memphis City School District refer to school_district",
"from teachers refers to is_teacher_acct = 't'; the state of Colorado refers to donor_state = 'CO-Colorado'",
"primary focus area is Literature refers to primary_focus_area = 'Literature'"
]
} |
{
"query": "Name the vendors who provide resources for project 'Lights, Camera, Action!'. List all the item names and unit price for each.",
"pos": [
"project 'Lights, Camera, Action!' refers to title = 'Lights, Camera, Action!'"
],
"neg": [
"A Rug For Reaching Readers'is the title;",
"vendor refer to vendor_name; Classroom Keepers Management Center refer to item_name",
"for grades 9-12 refers to grade_level = 'Grades 9-12'",
"Mathematics as a primary subject refers to primary_focus_subject = 'Mathematics'; most expensive refers to max(item_unit_price)",
"resources that were requested refers to item_name; project \"d6ef27c07c30c81f0c16c32b6acfa2ff\" refers to projectid = 'd6ef27c07c30c81f0c16c32b6acfa2ff'; quantities refers to item_quantity; teacher_prefix = 'Dr. ' refers to teacher acquired P.h.D or doctor degree",
"Needed Resource Materials For My Students refer to title",
"lakeshore Learning Materials is vendor_name; biggest amount refers to Max(item_quantity);",
"ABC Read project been launched refers to title = 'ABC Read'; percentage refers to DIVIDE(count(case when title = 'ABC Read' then school_county else null end),count(school_county))*100",
"latitude 42003718 refers to school_latitude = 42003718; longitude -87668289 refers to school_longitude = -87668289",
"average amount of donations = divide(sum(donation_to_project), count(donor_acctid)); project \"Recording Rockin' Readers\" refers to title = 'Recording Rockin' Readers'"
]
} |
{
"query": "Calculate the total amount of donations made in 2011 for an honoree with payment via campaign page.",
"pos": [
"total amount refers to sum(donation_total); 2011 refers to donation_timestamp LIKE'2011%'; honoree refers to for_honoree = 't'; via campaign page refers to via_giving_page = 't'"
],
"neg": [
"project name refers to title; describe refers to short_description; New York teachers refers to teacher_ny_teaching_fellow = 't'",
"made in March 2013 refers to substr(donation_timestamp,1,7) = '2013-03'; percentage refers to DIVIDE(SUM(payment_method made in March 2013), SUM(payment_method))*100",
"suburban metros refer to metro = 'suburban'; Livingston Parish School District refer to school_district",
"I Can't See It...Can You Help Me???' is the title;",
"literacy subject as primary focus refers to primary_focus_subject = 'Literacy'",
"Coordinates of the school refer to school_latitude, school_longitude); Look, Look, We Need a Nook! Refer to title;",
"teacher \"822b7b8768c17456fdce78b65abcc18e\" refers to teacher_acctid = '822b7b8768c17456fdce78b65abcc18e'; donated refers to donation_total;",
"primary focus area is Literature refers to primary_focus_area = 'Literature'",
"AKJ Books items refers to vendor_name = 'AKJ Books'; average unit price refers to DIVIDE(sum(item_unit_price),count(resourceid))",
"the most expensive funds refers to max(multiply(item_unit_price, item_quantity))"
]
} |
{
"query": "In what percentage of counties has the ABC Read project been launched?",
"pos": [
"ABC Read project been launched refers to title = 'ABC Read'; percentage refers to DIVIDE(count(case when title = 'ABC Read' then school_county else null end),count(school_county))*100"
],
"neg": [
"total amount refers to sum(donation_total); 2011 refers to donation_timestamp LIKE'2011%'; honoree refers to for_honoree = 't'; via campaign page refers to via_giving_page = 't'",
"highest optional tip refers to subtract(total_price_including_optional_support, total_price_excluding_optional_support); names of the resources refers to item_name",
"not from a teacher refers to is_teacher_acct = 'f'; donor account id refers to donor_acctid; percentage of donation = divide(donation_optional_support, donation_total)*100%",
"latitude 42003718 refers to school_latitude = 42003718; longitude -87668289 refers to school_longitude = -87668289",
"for grades 9-12 refers to grade_level = 'Grades 9-12'",
"ABC School Supply is vendor_name; public magnet school refers to school_magnet = 't';",
"lakeshore Learning Materials is vendor_name; biggest amount refers to Max(item_quantity);",
"largest donor by amount refers to max(donation_total); total amount of the donation refers to donation_total",
"donation at 14:44:29 on 2012/9/6 refers to donation_timestamp = '2012/9/6 14:44:29';",
"from teachers refers to is_teacher_acct = 't'; the state of Colorado refers to donor_state = 'CO-Colorado'"
]
} |
{
"query": "What is the id of the project that has the highest optional tip? Indicate the names of the resources that were requested.",
"pos": [
"highest optional tip refers to subtract(total_price_including_optional_support, total_price_excluding_optional_support); names of the resources refers to item_name"
],
"neg": [
"average amount of donations = divide(sum(donation_to_project), count(donor_acctid)); project \"Recording Rockin' Readers\" refers to title = 'Recording Rockin' Readers'",
"Lakeshore Learning Materials is vendor_name; highest cost of labor fulfillment refers to Max(fulfillment_labor_materials);",
"in Chicago refers to school_city = 'Chicago'; teachers refers to is_teacher_acct = 't'",
"project name refers to title; describe refers to short_description; New York teachers refers to teacher_ny_teaching_fellow = 't'",
"Engaging Young Readers with a Leveled Classroom Library' is the title; total donation amount = Add(donation_to_project, donation_optional_support)",
"for grades 9-12 refers to grade_level = 'Grades 9-12'",
"donation at 14:44:29 on 2012/9/6 refers to donation_timestamp = '2012/9/6 14:44:29';",
"vendor refer to vendor_name; Classroom Keepers Management Center refer to item_name",
"zip code \"7079\" refers to donor_zip = '7079'",
"main subject refers to primary_focus_subject"
]
} |
{
"query": "What is the project in which 320 students will be impacted if the project is funded? Name the project and state the project cost.",
"pos": [
"320 students will be impacted refers to students_reached = 320; name the project refers to title; project cost refers tp total_price_excluding_optional_support"
],
"neg": [
"teacher \"822b7b8768c17456fdce78b65abcc18e\" refers to teacher_acctid = '822b7b8768c17456fdce78b65abcc18e';",
"received donations of less than 10 dollars refers to dollar_amount = 'under_10'; city refers to school_city\n\n",
"Calculate, Financial Security For Tomorrow Starts Today! ' is title; donor is a teacher refers to is_teacher_acct = 't'",
"A Rug For Reaching Readers'is the title;",
"magnet school refers to school_magnet = 't'; donated resources as books refers to project_resource_type = 'Books'; percentage = Divide(Count(projectid) where project_resource_type = 'Books', Count(projectid))*100",
"Twin Falls is school_country; 'Math & Science' is primary_focus_area;",
"highest total price including optional support refers to max(total_price_including_optional_support)",
"donation at 11:38:43 on 2008/7/29 refers to donation_timestamp = '2008/7/29 11:38:43'; teacher's account ID refers to teacher_acctid;",
"Sax Arts & Crafts refer to vendor_name; resource type available refer to project_resource_type\n",
"donors are teachers refers to is_teacher_acct = 't'; affect more than 30 students refers to students_reached>30; Percentage = Divide(Count(students_reached>30), Count(students_reached))*100"
]
} |
{
"query": "What is the latitude and longitude of the school where the teacher who wrote \"Smile for the Camera!!!\" teaches?",
"pos": [
"wrote \"Smile for the Camera!!!\" refers to title = 'Smile for the Camera!!!'; latitude refers to school_latitude; longitude refers to school_longitude"
],
"neg": [
"Sax Arts & Crafts refer to vendor_name; resource type available refer to project_resource_type\n",
"message refer to donation_message; Newark School District refer to school_district; 40.735332, -74.196014 refer to (school latitude, school_longitude)",
"magnet school refers to school_magnet = 't'; donated resources as books refers to project_resource_type = 'Books'; percentage = Divide(Count(projectid) where project_resource_type = 'Books', Count(projectid))*100",
"donors are teachers refers to is_teacher_acct = 't'; affect more than 30 students refers to students_reached>30; Percentage = Divide(Count(students_reached>30), Count(students_reached))*100",
"vendor refer to vendor_name; Classroom Keepers Management Center refer to item_name",
"total amount refers to sum(donation_total); 2011 refers to donation_timestamp LIKE'2011%'; honoree refers to for_honoree = 't'; via campaign page refers to via_giving_page = 't'",
"ABC Read project been launched refers to title = 'ABC Read'; percentage refers to DIVIDE(count(case when title = 'ABC Read' then school_county else null end),count(school_county))*100",
"in Chicago refers to school_city = 'Chicago'; teachers refers to is_teacher_acct = 't'",
"project \"Photojournalists Want to Exhibit Their Best Works\" refers to title = 'Photojournalists Want to Exhibit Their Best Works'; when project go live refers to datePosted",
"Lakeshore Learning Materials is vendor_name; teacher with a doctor degree refers to teacher_prefix = 'Dr.';"
]
} |
{
"query": "How many schools in the West New York School District have the highest poverty level?",
"pos": [
"the highest poverty level refers to poverty_level = 'highest poverty'"
],
"neg": [
"lakeshore Learning Materials is vendor_name; biggest amount refers to Max(item_quantity);",
"book-type projects refers to project_resource_type = 'Books'",
"magnet school refers to school_magnet = 't'; donated resources as books refers to project_resource_type = 'Books'; percentage = Divide(Count(projectid) where project_resource_type = 'Books', Count(projectid))*100",
"donors are teachers refers to is_teacher_acct = 't'; affect more than 30 students refers to students_reached>30; Percentage = Divide(Count(students_reached>30), Count(students_reached))*100",
"Sax Arts & Crafts refer to vendor_name; resource type available refer to project_resource_type\n",
"Highest cost of the optional tip refers to Max(total_price_including_optional_support - total_price_excluding_optional_support);",
"teacher \"822b7b8768c17456fdce78b65abcc18e\" refers to teacher_acctid = '822b7b8768c17456fdce78b65abcc18e';",
"in Los Angeles refers to donor_city = 'Los Angeles'; school in another city refers to school_city ! = 'Los Angeles'",
"Creating Memories and Inspiring Dreams is title;",
"main subject area refers to primary_focus_area = 'Literacy & Language'; total donation amount refers to Sum(dollar_amount);"
]
} |
{
"query": "Is the donor who donated to school \"d4af834b1d3fc8061e1ee1b3f1a77b85\" a teacher?",
"pos": [
"school \"d4af834b1d3fc8061e1ee1b3f1a77b85\" refers to schoolid = 'd4af834b1d3fc8061e1ee1b3f1a77b85'; donor is a teacher refers to is_teacher_acct = 't';"
],
"neg": [
"AKJ Books items refers to vendor_name = 'AKJ Books'; average unit price refers to DIVIDE(sum(item_unit_price),count(resourceid))",
"highest optional tip refers to subtract(total_price_including_optional_support, total_price_excluding_optional_support); names of the resources refers to item_name",
"A Rug For Reaching Readers'is the title;",
"in Brooklyn refers to school_city = 'Brooklyn'; highest request of resources refers to max(count(T1.item_name))",
"located in the rural area refers to school_metro = 'rural'; percentage = divide(sum(donation_to_project), sum(donation_to_project where school_metro = 'rural'))*100%",
"Needed Resource Materials For My Students refer to title",
"not from a teacher refers to is_teacher_acct = 'f'; donor account id refers to donor_acctid; percentage of donation = divide(donation_optional_support, donation_total)*100%",
"suburban metros refer to metro = 'suburban'; Livingston Parish School District refer to school_district",
"total amount of all the donations refers to sum(donation_total); highest donation refers to max(donation_total)",
"ABC Read project been launched refers to title = 'ABC Read'; percentage refers to DIVIDE(count(case when title = 'ABC Read' then school_county else null end),count(school_county))*100"
]
} |
{
"query": "From which state do the 5 biggest donor, who gave the highest cost of optional support, come from? List their donor_acctid and calculate for their average cost of optional support for every donations they make and identtify the project's type of resource to which they gave the hightest optional support.",
"pos": [
"which state refers to school_state; highest cost of optional support refers to max(donation_optional_support); average cost of optional support = avg(donation_optional_support)"
],
"neg": [
"primary focus area is Literature refers to primary_focus_area = 'Literature'",
"urban area refers to school_metro = 'urban'; books resources refers to project_resource_type = 'Books'",
"teach 3-5 grades refers to grade_level = 'Grades 3-5'; 'Boston Public School District' is school_district;",
"highest total price including optional support refers to max(total_price_including_optional_support)",
"Coordinates of the school refer to school_latitude, school_longitude); Look, Look, We Need a Nook! Refer to title;",
"wrote \"Smile for the Camera!!!\" refers to title = 'Smile for the Camera!!!'; latitude refers to school_latitude; longitude refers to school_longitude",
"date refer to date_posted; Lets Share Ideas refer to title",
"an honoree refers to for_honoree = 't'; more than $100 refers to dollar_amount = '100_and_up'",
"latitude 42003718 refers to school_latitude = 42003718; longitude -87668289 refers to school_longitude = -87668289",
"book-type projects refers to project_resource_type = 'Books'"
]
} |
{
"query": "What is the teacher prefix for the teacher who wrote the project 'Creating Memories and Inspiring Dreams'?",
"pos": [
"Creating Memories and Inspiring Dreams is title;"
],
"neg": [
"message refer to donation_message; Newark School District refer to school_district; 40.735332, -74.196014 refer to (school latitude, school_longitude)",
"city of Pocatello refers to donor_city = 'Pocatello'; not teachers refers to is_teacher_acct = 'f'",
"wrote \"Smile for the Camera!!!\" refers to title = 'Smile for the Camera!!!'; latitude refers to school_latitude; longitude refers to school_longitude",
"portion using account credits redemption refers to payment_included_acct_credit = 't'; year-round school refers to school_year_round = 't';",
"an honoree refers to for_honoree = 't'; more than $100 refers to dollar_amount = '100_and_up'",
"school in Brooklyn refers to school_city = 'Brooklyn'; public magnet refers to school_magnet = 't';",
"Sax Arts & Crafts refer to vendor_name; resource type available refer to project_resource_type\n",
"in Brooklyn refers to school_city = 'Brooklyn'; highest request of resources refers to max(count(T1.item_name))",
"for grades 9-12 refers to grade_level = 'Grades 9-12'",
"total amount of all the donations refers to sum(donation_total); highest donation refers to max(donation_total)"
]
} |
{
"query": "How many projects have their resources provided by the vendor Lakeshore Learning Materials and are created by a teacher with a doctor degree?",
"pos": [
"Lakeshore Learning Materials is vendor_name; teacher with a doctor degree refers to teacher_prefix = 'Dr.';"
],
"neg": [
"city of Pocatello refers to donor_city = 'Pocatello'; not teachers refers to is_teacher_acct = 'f'",
"the most expensive funds refers to max(multiply(item_unit_price, item_quantity))",
"made in March 2013 refers to substr(donation_timestamp,1,7) = '2013-03'; percentage refers to DIVIDE(SUM(payment_method made in March 2013), SUM(payment_method))*100",
"school in Brooklyn refers to school_city = 'Brooklyn'; public magnet refers to school_magnet = 't';",
"donation at 11:38:43 on 2008/7/29 refers to donation_timestamp = '2008/7/29 11:38:43'; teacher's account ID refers to teacher_acctid;",
"project 'Lights, Camera, Action!' refers to title = 'Lights, Camera, Action!'",
"ordered between 5 to 10 items refers to item_quantity between 5 and 10; are from Quill.com refers to vendor_name = 'Quill.com'",
"total amount of all the donations refers to sum(donation_total); highest donation refers to max(donation_total)",
"teacher \"822b7b8768c17456fdce78b65abcc18e\" refers to teacher_acctid = '822b7b8768c17456fdce78b65abcc18e'; donated refers to donation_total;",
"main subject area refers to primary_focus_area = 'Literacy & Language'; highest unit price refers to Max(item_unit_price);"
]
} |
{
"query": "Of the projects whose resources are provided by the vendor Lakeshore Learning Materials, the school of which project has the highest cost of labor fulfillment? Please give its school ID.",
"pos": [
"Lakeshore Learning Materials is vendor_name; highest cost of labor fulfillment refers to Max(fulfillment_labor_materials);"
],
"neg": [
"message refer to donation_message; Newark School District refer to school_district; 40.735332, -74.196014 refer to (school latitude, school_longitude)",
"which state refers to school_state; highest cost of optional support refers to max(donation_optional_support); average cost of optional support = avg(donation_optional_support)",
"in Chicago refers to school_city = 'Chicago'; teachers refers to is_teacher_acct = 't'",
"highest optional tip refers to subtract(total_price_including_optional_support, total_price_excluding_optional_support); names of the resources refers to item_name",
"cities refer to school_city; Los Angeles Unified School District refer to school_district = 'Los Angeles Unified School District'; supplies refer to project_resource_type; Quill.com refer to vendor_name",
"Needed Resource Materials For My Students refer to title",
"Awesome Audiobooks Make Avid Readers' is the title; percentage = Divie(donation_optional_support, donation_total)*100;",
"resources that were requested refers to item_name; project \"d6ef27c07c30c81f0c16c32b6acfa2ff\" refers to projectid = 'd6ef27c07c30c81f0c16c32b6acfa2ff'; quantities refers to item_quantity; teacher_prefix = 'Dr. ' refers to teacher acquired P.h.D or doctor degree",
"eachers with Doctor Degree refers to teacher_prefix = 'Dr.'; more than 300 students involved refers to students_reached > 300",
"Suffolk County refers to School_county = 'Suffolk'; Ph.D. teachers refers to Teacher_prefix = 'Dr.'"
]
} |
{
"query": "What is the total donated amount for projects created by a teacher working in a school in Brooklyn?",
"pos": [
"school in Brooklyn refers to school_city = 'Brooklyn'; total donated amount refers to donation_total;"
],
"neg": [
"magnet school refers to school_magnet = 't'; donated resources as books refers to project_resource_type = 'Books'; percentage = Divide(Count(projectid) where project_resource_type = 'Books', Count(projectid))*100",
"ABC School Supply is vendor_name; public magnet school refers to school_magnet = 't';",
"zip code \"22205\" refers to donor_zip = '22205'; students impacted refers to students_reached",
"latitude 42003718 refers to school_latitude = 42003718; longitude -87668289 refers to school_longitude = -87668289",
"Twin Falls is school_country; 'Math & Science' is primary_focus_area;",
"largest donor by amount refers to max(donation_total); total amount of the donation refers to donation_total",
"in Chicago refers to school_city = 'Chicago'; ID of the donor refers to donor_acctid",
"ordered between 5 to 10 items refers to item_quantity between 5 and 10; are from Quill.com refers to vendor_name = 'Quill.com'",
"the most expensive funds refers to max(multiply(item_unit_price, item_quantity))",
"first ever project refers to min(date_posted); names of the resources refers to item_name"
]
} |
{
"query": "What is the name of the vendors serving material for projects for grades 9-12?",
"pos": [
"for grades 9-12 refers to grade_level = 'Grades 9-12'"
],
"neg": [
"teacher \"822b7b8768c17456fdce78b65abcc18e\" refers to teacher_acctid = '822b7b8768c17456fdce78b65abcc18e';",
"wrote \"Smile for the Camera!!!\" refers to title = 'Smile for the Camera!!!'; latitude refers to school_latitude; longitude refers to school_longitude",
"which state refers to school_state; highest cost of optional support refers to max(donation_optional_support); average cost of optional support = avg(donation_optional_support)",
"the highest poverty level refers to poverty_level = 'highest poverty'",
"teach 3-5 grades refers to grade_level = 'Grades 3-5'; 'Boston Public School District' is school_district;",
"literacy subject as primary focus refers to primary_focus_subject = 'Literacy'",
"Future Einsteins of America refer to title",
"A Rug For Reaching Readers'is the title;",
"school \"d4af834b1d3fc8061e1ee1b3f1a77b85\" refers to schoolid = 'd4af834b1d3fc8061e1ee1b3f1a77b85'; donor is a teacher refers to is_teacher_acct = 't';",
"in Chicago refers to school_city = 'Chicago'; ID of the donor refers to donor_acctid"
]
} |
{
"query": "How many teachers have made some type of donation for projects in Chicago?",
"pos": [
"in Chicago refers to school_city = 'Chicago'; teachers refers to is_teacher_acct = 't'"
],
"neg": [
"eachers with Doctor Degree refers to teacher_prefix = 'Dr.'; more than 300 students involved refers to students_reached > 300",
"iMath is the title; city refers to school_city;",
"main subject area refers to primary_focus_area = 'Literacy & Language'; total donation amount refers to Sum(dollar_amount);",
"Mathematics as a primary subject refers to primary_focus_subject = 'Mathematics'; most expensive refers to max(item_unit_price)",
"which state refers to school_state; highest cost of optional support refers to max(donation_optional_support); average cost of optional support = avg(donation_optional_support)",
"literacy subject as primary focus refers to primary_focus_subject = 'Literacy'",
"suburban metros refer to metro = 'suburban'; Livingston Parish School District refer to school_district",
"Rock Hill City School refers to school_city = 'Rock Hill'; teacher donors refers to is_teacher_acct = 't'",
"total amount refers to sum(donation_total); 2011 refers to donation_timestamp LIKE'2011%'; honoree refers to for_honoree = 't'; via campaign page refers to via_giving_page = 't'",
"Literature & Writing' is primary_focus_subject; use 'Mr' as their teacher prefix refers to teacher_prefix = 'Mr';"
]
} |
{
"query": "What is the teacher's account ID for the project that got the donation at 11:38:43 on 2008/7/29 ?",
"pos": [
"donation at 11:38:43 on 2008/7/29 refers to donation_timestamp = '2008/7/29 11:38:43'; teacher's account ID refers to teacher_acctid;"
],
"neg": [
"ordered between 5 to 10 items refers to item_quantity between 5 and 10; are from Quill.com refers to vendor_name = 'Quill.com'",
"project name refers to title; describe refers to short_description; New York teachers refers to teacher_ny_teaching_fellow = 't'",
"lakeshore Learning Materials is vendor_name; biggest amount refers to Max(item_quantity);",
"teacher \"42d43fa6f37314365d08692e08680973\"refers to teacher_acctid = '42d43fa6f37314365d08692e08680973';",
"the most expensive funds refers to max(multiply(item_unit_price, item_quantity))",
"which state refers to school_state; highest cost of optional support refers to max(donation_optional_support); average cost of optional support = avg(donation_optional_support)",
"primary focus area is Literature refers to primary_focus_area = 'Literature'",
"paypal refer to payment method; Lets Share Ideas refer to title; city refer to school_city; total amount donated refer to SUM(donation_total of paypal where payment_method = ’paypal’)",
"an honoree refers to for_honoree = 't'; more than $100 refers to dollar_amount = '100_and_up'",
"project \"Bloody Times\" refers to title = 'Bloody Times'"
]
} |
{
"query": "How many teachers in Twin Falls have Math & Science as their primary focus area?",
"pos": [
"Twin Falls is school_country; 'Math & Science' is primary_focus_area;"
],
"neg": [
"zip code \"7079\" refers to donor_zip = '7079'",
"Creating Memories and Inspiring Dreams is title;",
"average amount of donations = divide(sum(donation_to_project), count(donor_acctid)); project \"Recording Rockin' Readers\" refers to title = 'Recording Rockin' Readers'",
"latitude 42003718 refers to school_latitude = 42003718; longitude -87668289 refers to school_longitude = -87668289",
"in Chicago refers to school_city = 'Chicago'; ID of the donor refers to donor_acctid",
"made in March 2013 refers to substr(donation_timestamp,1,7) = '2013-03'; percentage refers to DIVIDE(SUM(payment_method made in March 2013), SUM(payment_method))*100",
"iMath is the title; city refers to school_city;",
"Bringing Drama to Life' is the title; Percentage = Divide(Count(payment_method = 'creditcard'), Count(projectid))*100;",
"largest donor by amount refers to max(donation_total); total amount of the donation refers to donation_total",
"for grades 9-12 refers to grade_level = 'Grades 9-12'"
]
} |
{
"query": "List the resource types available at Sax Arts & Crafts.",
"pos": [
"Sax Arts & Crafts refer to vendor_name; resource type available refer to project_resource_type\n"
],
"neg": [
"ABC School Supply is vendor_name; public magnet school refers to school_magnet = 't';",
"urban area refers to school_metro = 'urban'; books resources refers to project_resource_type = 'Books'",
"not from a teacher refers to is_teacher_acct = 'f'; donor account id refers to donor_acctid; percentage of donation = divide(donation_optional_support, donation_total)*100%",
"teacher \"822b7b8768c17456fdce78b65abcc18e\" refers to teacher_acctid = '822b7b8768c17456fdce78b65abcc18e'; donated refers to donation_total;",
"made in March 2013 refers to substr(donation_timestamp,1,7) = '2013-03'; percentage refers to DIVIDE(SUM(payment_method made in March 2013), SUM(payment_method))*100",
"eachers with Doctor Degree refers to teacher_prefix = 'Dr.'; more than 300 students involved refers to students_reached > 300",
"wrote \"Smile for the Camera!!!\" refers to title = 'Smile for the Camera!!!'; latitude refers to school_latitude; longitude refers to school_longitude",
"first ever project refers to min(date_posted); names of the resources refers to item_name",
"total amount refers to sum(donation_total); 2011 refers to donation_timestamp LIKE'2011%'; honoree refers to for_honoree = 't'; via campaign page refers to via_giving_page = 't'",
"teacher \"42d43fa6f37314365d08692e08680973\"refers to teacher_acctid = '42d43fa6f37314365d08692e08680973';"
]
} |
{
"query": "Which school district was Future Einsteins Of America project located at?",
"pos": [
"Future Einsteins of America refer to title"
],
"neg": [
"cities refer to school_city; Los Angeles Unified School District refer to school_district = 'Los Angeles Unified School District'; supplies refer to project_resource_type; Quill.com refer to vendor_name",
"Engaging Young Readers with a Leveled Classroom Library' is the title; total donation amount = Add(donation_to_project, donation_optional_support)",
"donation at 11:38:43 on 2008/7/29 refers to donation_timestamp = '2008/7/29 11:38:43'; teacher's account ID refers to teacher_acctid;",
"zip code \"7079\" refers to donor_zip = '7079'",
"the highest poverty level refers to poverty_level = 'highest poverty'",
"Calculate, Financial Security For Tomorrow Starts Today! ' is title; donor is a teacher refers to is_teacher_acct = 't'",
"total amount refers to sum(donation_total); 2011 refers to donation_timestamp LIKE'2011%'; honoree refers to for_honoree = 't'; via campaign page refers to via_giving_page = 't'",
"ABC Read project been launched refers to title = 'ABC Read'; percentage refers to DIVIDE(count(case when title = 'ABC Read' then school_county else null end),count(school_county))*100",
"message refer to donation_message; Newark School District refer to school_district; 40.735332, -74.196014 refer to (school latitude, school_longitude)",
"wrote \"Smile for the Camera!!!\" refers to title = 'Smile for the Camera!!!'; latitude refers to school_latitude; longitude refers to school_longitude"
]
} |
{
"query": "Please provide the type of resource that donation \"b39547f29dfc25fb13c6e9e8d940dc43\" contain.",
"pos": [
"donation \"b39547f29dfc25fb13c6e9e8d940dc43\" refers to donationid = 'b39547f29dfc25fb13c6e9e8d940dc43'; type of resource refers to project_resource_type;"
],
"neg": [
"how many students refers to students_reached; Fit Firsties! project refers to title = 'Fit Firsties!'",
"made in March 2013 refers to substr(donation_timestamp,1,7) = '2013-03'; percentage refers to DIVIDE(SUM(payment_method made in March 2013), SUM(payment_method))*100",
"received donations of less than 10 dollars refers to dollar_amount = 'under_10'; city refers to school_city\n\n",
"main subject refers to primary_focus_subject",
"AKJ Books items refers to vendor_name = 'AKJ Books'; average unit price refers to DIVIDE(sum(item_unit_price),count(resourceid))",
"teach 3-5 grades refers to grade_level = 'Grades 3-5'; 'Boston Public School District' is school_district;",
"primary focus area is Literature refers to primary_focus_area = 'Literature'",
"project 'Lights, Camera, Action!' refers to title = 'Lights, Camera, Action!'",
"in Brooklyn refers to school_city = 'Brooklyn'; highest request of resources refers to max(count(T1.item_name))",
"an honoree refers to for_honoree = 't'; more than $100 refers to dollar_amount = '100_and_up'"
]
} |
{
"query": "How many teachers that have Literature & Writing as their primary focus subject use 'Mr' as their teacher prefix?",
"pos": [
"Literature & Writing' is primary_focus_subject; use 'Mr' as their teacher prefix refers to teacher_prefix = 'Mr';"
],
"neg": [
"320 students will be impacted refers to students_reached = 320; name the project refers to title; project cost refers tp total_price_excluding_optional_support",
"magnet school refers to school_magnet = 't'; donated resources as books refers to project_resource_type = 'Books'; percentage = Divide(Count(projectid) where project_resource_type = 'Books', Count(projectid))*100",
"Lakeshore Learning Materials is vendor_name; teacher with a doctor degree refers to teacher_prefix = 'Dr.';",
"the highest poverty level refers to poverty_level = 'highest poverty'",
"project name refers to title; describe refers to short_description; New York teachers refers to teacher_ny_teaching_fellow = 't'",
"how many students refers to students_reached; Fit Firsties! project refers to title = 'Fit Firsties!'",
"eachers with Doctor Degree refers to teacher_prefix = 'Dr.'; more than 300 students involved refers to students_reached > 300",
"total amount of all the donations refers to sum(donation_total); highest donation refers to max(donation_total)",
"project \"Bloody Times\" refers to title = 'Bloody Times'",
"Bringing Drama to Life' is the title; Percentage = Divide(Count(payment_method = 'creditcard'), Count(projectid))*100;"
]
} |
{
"query": "Among public magnet schools,what percentage of schools that receive the donated resources as books?",
"pos": [
"magnet school refers to school_magnet = 't'; donated resources as books refers to project_resource_type = 'Books'; percentage = Divide(Count(projectid) where project_resource_type = 'Books', Count(projectid))*100"
],
"neg": [
"Family History Project refer to title, need statement refer to need_statement",
"teacher \"822b7b8768c17456fdce78b65abcc18e\" refers to teacher_acctid = '822b7b8768c17456fdce78b65abcc18e'; donated refers to donation_total;",
"lakeshore Learning Materials is vendor_name; biggest amount refers to Max(item_quantity);",
"date refer to date_posted; Lets Share Ideas refer to title",
"made in March 2013 refers to substr(donation_timestamp,1,7) = '2013-03'; percentage refers to DIVIDE(SUM(payment_method made in March 2013), SUM(payment_method))*100",
"which state refers to school_state; highest cost of optional support refers to max(donation_optional_support); average cost of optional support = avg(donation_optional_support)",
"main subject refers to primary_focus_subject",
"donation at 14:44:29 on 2012/9/6 refers to donation_timestamp = '2012/9/6 14:44:29';",
"school in Brooklyn refers to school_city = 'Brooklyn'; total donated amount refers to donation_total;",
"Literature & Writing' is primary_focus_subject; use 'Mr' as their teacher prefix refers to teacher_prefix = 'Mr';"
]
} |
{
"query": "What is the name of the vendors that serve resources to schools whose primary focus area is Literature?",
"pos": [
"primary focus area is Literature refers to primary_focus_area = 'Literature'"
],
"neg": [
"in Brooklyn refers to school_city = 'Brooklyn'; highest request of resources refers to max(count(T1.item_name))",
"from teachers refers to is_teacher_acct = 't'; the state of Colorado refers to donor_state = 'CO-Colorado'",
"Calculate, Financial Security For Tomorrow Starts Today! ' is title; donor is a teacher refers to is_teacher_acct = 't'",
"portion using account credits redemption refers to payment_included_acct_credit = 't'; year-round school refers to school_year_round = 't';",
"literacy subject as primary focus refers to primary_focus_subject = 'Literacy'",
"Awesome Audiobooks Make Avid Readers' is the title; percentage = Divie(donation_optional_support, donation_total)*100;",
"project name refers to title; costs the most refers to max(total_price_excluding_optional_support); amount collected from donation refers to sum(donation_to_project); percentage amount refers to divide(subtract(total_price_excluding_optional_support, sum(donation_to_project)), sum(donation_to_project))*100%",
"technology items refers to project_resource_type = 'Technology'; from Best Buy for Business refers to vendor_name = 'Best Buy for Business'; percentage refers to DIVIDE(count(case when vendor_name = 'Best Buy for Business'),count(projectid))",
"Sax Arts & Crafts refer to vendor_name; resource type available refer to project_resource_type\n",
"located in the rural area refers to school_metro = 'rural'; percentage = divide(sum(donation_to_project), sum(donation_to_project where school_metro = 'rural'))*100%"
]
} |
{
"query": "How many suburban metros are there in Livingston Parish School District?",
"pos": [
"suburban metros refer to metro = 'suburban'; Livingston Parish School District refer to school_district"
],
"neg": [
"donors are teachers refers to is_teacher_acct = 't'; affect more than 30 students refers to students_reached>30; Percentage = Divide(Count(students_reached>30), Count(students_reached))*100",
"in Brooklyn refers to school_city = 'Brooklyn'; highest request of resources refers to max(count(T1.item_name))",
"average amount of donations = divide(sum(donation_to_project), count(donor_acctid)); project \"Recording Rockin' Readers\" refers to title = 'Recording Rockin' Readers'",
"donation at 11:38:43 on 2008/7/29 refers to donation_timestamp = '2008/7/29 11:38:43'; teacher's account ID refers to teacher_acctid;",
"project name refers to title; costs the most refers to max(total_price_excluding_optional_support); amount collected from donation refers to sum(donation_to_project); percentage amount refers to divide(subtract(total_price_excluding_optional_support, sum(donation_to_project)), sum(donation_to_project))*100%",
"Calculate, Financial Security For Tomorrow Starts Today! ' is title; donor is a teacher refers to is_teacher_acct = 't'",
"school \"d4af834b1d3fc8061e1ee1b3f1a77b85\" refers to schoolid = 'd4af834b1d3fc8061e1ee1b3f1a77b85'; donor is a teacher refers to is_teacher_acct = 't';",
"which state refers to school_state; highest cost of optional support refers to max(donation_optional_support); average cost of optional support = avg(donation_optional_support)",
"for grades 9-12 refers to grade_level = 'Grades 9-12'",
"located in the rural area refers to school_metro = 'rural'; percentage = divide(sum(donation_to_project), sum(donation_to_project where school_metro = 'rural'))*100%"
]
} |
{
"query": "Which cities in the Los Angeles Unified School District has bought supplies from Quill.com?",
"pos": [
"cities refer to school_city; Los Angeles Unified School District refer to school_district = 'Los Angeles Unified School District'; supplies refer to project_resource_type; Quill.com refer to vendor_name"
],
"neg": [
"average amount of donations = divide(sum(donation_to_project), count(donor_acctid)); project \"Recording Rockin' Readers\" refers to title = 'Recording Rockin' Readers'",
"teacher \"822b7b8768c17456fdce78b65abcc18e\" refers to teacher_acctid = '822b7b8768c17456fdce78b65abcc18e';",
"urban area refers to school_metro = 'urban'; books resources refers to project_resource_type = 'Books'",
"in Chicago refers to school_city = 'Chicago'; ID of the donor refers to donor_acctid",
"I Can't See It...Can You Help Me???' is the title;",
"school in Brooklyn refers to school_city = 'Brooklyn'; public magnet refers to school_magnet = 't';",
"city of Pocatello refers to donor_city = 'Pocatello'; not teachers refers to is_teacher_acct = 'f'",
"teacher \"822b7b8768c17456fdce78b65abcc18e\" refers to teacher_acctid = '822b7b8768c17456fdce78b65abcc18e'; donated refers to donation_total;",
"AKJ Books items refers to vendor_name = 'AKJ Books'; average unit price refers to DIVIDE(sum(item_unit_price),count(resourceid))",
"Coordinates of the school refer to school_latitude, school_longitude); Look, Look, We Need a Nook! Refer to title;"
]
} |
{
"query": "Please list the donation messages of the donations for the projects created by a teacher working in a public magnet school in Brooklyn.",
"pos": [
"school in Brooklyn refers to school_city = 'Brooklyn'; public magnet refers to school_magnet = 't';"
],
"neg": [
"largest donor by amount refers to max(donation_total); total amount of the donation refers to donation_total",
"lakeshore Learning Materials is vendor_name; biggest amount refers to Max(item_quantity);",
"I Can't See It...Can You Help Me???' is the title;",
"portion using account credits redemption refers to payment_included_acct_credit = 't'; year-round school refers to school_year_round = 't';",
"received donations of less than 10 dollars refers to dollar_amount = 'under_10'; city refers to school_city\n\n",
"located in the rural area refers to school_metro = 'rural'; percentage = divide(sum(donation_to_project), sum(donation_to_project where school_metro = 'rural'))*100%",
"project name refers to title; describe refers to short_description; New York teachers refers to teacher_ny_teaching_fellow = 't'",
"Family History Project refer to title, need statement refer to need_statement",
"from teachers refers to is_teacher_acct = 't'; the state of Colorado refers to donor_state = 'CO-Colorado'",
"teach 3-5 grades refers to grade_level = 'Grades 3-5'; 'Boston Public School District' is school_district;"
]
} |
{
"query": "What is the short description of the project that gives donation to school “301c9bf0a45d159d162b65a93fddd74e”?",
"pos": [
"school “301c9bf0a45d159d162b65a93fddd74e\" refers to schoolid = '301c9bf0a45d159d162b65a93fddd74e';"
],
"neg": [
"total amount refers to sum(donation_total); 2011 refers to donation_timestamp LIKE'2011%'; honoree refers to for_honoree = 't'; via campaign page refers to via_giving_page = 't'",
"total amount of all the donations refers to sum(donation_total); highest donation refers to max(donation_total)",
"the highest poverty level refers to poverty_level = 'highest poverty'",
"Lakeshore Learning Materials is vendor_name; highest cost of labor fulfillment refers to Max(fulfillment_labor_materials);",
"eachers with Doctor Degree refers to teacher_prefix = 'Dr.'; more than 300 students involved refers to students_reached > 300",
"located in the rural area refers to school_metro = 'rural'; percentage = divide(sum(donation_to_project), sum(donation_to_project where school_metro = 'rural'))*100%",
"in Brooklyn refers to school_city = 'Brooklyn'; highest request of resources refers to max(count(T1.item_name))",
"Coordinates of the school refer to school_latitude, school_longitude); Look, Look, We Need a Nook! Refer to title;",
"not from a teacher refers to is_teacher_acct = 'f'; donor account id refers to donor_acctid; percentage of donation = divide(donation_optional_support, donation_total)*100%",
"Highest cost of the optional tip refers to Max(total_price_including_optional_support - total_price_excluding_optional_support);"
]
} |
{
"query": "Who is the vendor of the resources needed by the project that had the highest cost of optional tip?",
"pos": [
"Highest cost of the optional tip refers to Max(total_price_including_optional_support - total_price_excluding_optional_support);"
],
"neg": [
"literacy subject as primary focus refers to primary_focus_subject = 'Literacy'",
"Literature & Writing' is primary_focus_subject; use 'Mr' as their teacher prefix refers to teacher_prefix = 'Mr';",
"teacher \"822b7b8768c17456fdce78b65abcc18e\" refers to teacher_acctid = '822b7b8768c17456fdce78b65abcc18e';",
"zip code \"22205\" refers to donor_zip = '22205'; students impacted refers to students_reached",
"project name refers to title; costs the most refers to max(total_price_excluding_optional_support); amount collected from donation refers to sum(donation_to_project); percentage amount refers to divide(subtract(total_price_excluding_optional_support, sum(donation_to_project)), sum(donation_to_project))*100%",
"project name refers to title; describe refers to short_description; New York teachers refers to teacher_ny_teaching_fellow = 't'",
"total amount refers to sum(donation_total); 2011 refers to donation_timestamp LIKE'2011%'; honoree refers to for_honoree = 't'; via campaign page refers to via_giving_page = 't'",
"Rock Hill City School refers to school_city = 'Rock Hill'; teacher donors refers to is_teacher_acct = 't'",
"suburban metros refer to metro = 'suburban'; Livingston Parish School District refer to school_district",
"city of Pocatello refers to donor_city = 'Pocatello'; not teachers refers to is_teacher_acct = 'f'"
]
} |
{
"query": "When was the first ever project went live on the site and what were the names of the resources being requested? If there are multiple projects that have the same date, indicate each of them and their items.",
"pos": [
"first ever project refers to min(date_posted); names of the resources refers to item_name"
],
"neg": [
"Suffolk County refers to School_county = 'Suffolk'; Ph.D. teachers refers to Teacher_prefix = 'Dr.'",
"from \"Sax Arts & Crafts\" refers to vendor_name = 'Sax Arts & Crafts'; zip code of the schools refers school_zip",
"Mathematics as a primary subject refers to primary_focus_subject = 'Mathematics'; most expensive refers to max(item_unit_price)",
"technology items refers to project_resource_type = 'Technology'; from Best Buy for Business refers to vendor_name = 'Best Buy for Business'; percentage refers to DIVIDE(count(case when vendor_name = 'Best Buy for Business'),count(projectid))",
"A Rug For Reaching Readers'is the title;",
"teacher \"42d43fa6f37314365d08692e08680973\" refers to teacher_acctid = '42d43fa6f37314365d08692e08680973';",
"Sax Arts & Crafts refer to vendor_name; resource type available refer to project_resource_type\n",
"resources that were requested refers to item_name; project \"d6ef27c07c30c81f0c16c32b6acfa2ff\" refers to projectid = 'd6ef27c07c30c81f0c16c32b6acfa2ff'; quantities refers to item_quantity; teacher_prefix = 'Dr. ' refers to teacher acquired P.h.D or doctor degree",
"school in Brooklyn refers to school_city = 'Brooklyn'; total donated amount refers to donation_total;",
"Needed Resource Materials For My Students refer to title"
]
} |
{
"query": "What is the project title of the school located at latitude 42003718 and longitude -87668289?",
"pos": [
"latitude 42003718 refers to school_latitude = 42003718; longitude -87668289 refers to school_longitude = -87668289"
],
"neg": [
"Suffolk County refers to School_county = 'Suffolk'; Ph.D. teachers refers to Teacher_prefix = 'Dr.'",
"message refer to donation_message; Newark School District refer to school_district; 40.735332, -74.196014 refer to (school latitude, school_longitude)",
"in Chicago refers to school_city = 'Chicago'; ID of the donor refers to donor_acctid",
"teacher \"822b7b8768c17456fdce78b65abcc18e\" refers to teacher_acctid = '822b7b8768c17456fdce78b65abcc18e'; donated refers to donation_total;",
"highest optional tip refers to subtract(total_price_including_optional_support, total_price_excluding_optional_support); names of the resources refers to item_name",
"main subject area refers to primary_focus_area = 'Literacy & Language'; total donation amount refers to Sum(dollar_amount);",
"cities refer to school_city; Los Angeles Unified School District refer to school_district = 'Los Angeles Unified School District'; supplies refer to project_resource_type; Quill.com refer to vendor_name",
"from teachers refers to is_teacher_acct = 't'; the state of Colorado refers to donor_state = 'CO-Colorado'",
"made in March 2013 refers to substr(donation_timestamp,1,7) = '2013-03'; percentage refers to DIVIDE(SUM(payment_method made in March 2013), SUM(payment_method))*100",
"donation \"b39547f29dfc25fb13c6e9e8d940dc43\" refers to donationid = 'b39547f29dfc25fb13c6e9e8d940dc43'; type of resource refers to project_resource_type;"
]
} |
{
"query": "Which team won the match in the EC division on January 20, 2008 at home?",
"pos": [
"won at home refers to FTR = 'H'; January 20, 2008 refers to Date = '2008-01-20'; EC division refers to Div = 'EC';"
],
"neg": [
"the lowest number of draft matches refers to MIN(COUNT(FTR = 'D'));",
"Bursaspor vs Denizlispor are names of teams where HomeTeam = 'Bursaspor' and AwayTeam = 'Denizlispor'; Date = '2009-04-26'; final score refers to FTHG, FTAG;",
"consecutive games mean happen one after the other without interruption and refer to Date; tied refers to FTR = 'D';",
"England is the name of country;",
"Pro Vercelli and Pescara are names of teams; HomeTeam = 'Pro Vercelli'; AwayTeam = 'Pescara'; 5-2 is a score where FTHG = '5' and FTAG = '2'; Scottish League One is a name of division; games refer to Div;",
"Bundesliga is the name of division; the most victories as the home team refers to MAX(COUNT(FTR = 'H'));",
"Premier League is name of division; season = 2021; Club Brugge is name of team; Club Brugge wins implies HomeTeam = 'Club Brugge' and FTR = 'H' and AwayTeam = 'Club Brugge' and FTR = 'A'; DIVIDE(SUM(COUNT(FTR = 'H' where HomeTeam = 'Club Brugge', name = 'Premier League', season = 2021), COUNT(FTR = 'A'where AwayTeam = 'Club Brugge', name = 'Premier League', season = 2021)), COUNT(Div where name = 'Premier League', season = 2021));",
"Italian means belong to country = 'Italy\";",
"Bundesliga and the Premier League are names of division; home victories refer to FTR = 'H', where H stands for home victory; SUBTRACT(COUNT(FTR = 'H' where season = 2021, name = 'Bundesliga'), COUNT(FTR = 'H' where season = 2021, name = 'Premier League'));",
"Bundesliga is the name of division; final-time home-team goals refers to FTHG;"
]
} |
{
"query": "How many Scottish League One games took place on the day that \"Pro Vercelli\" and \"Pescara\"had a 5-2 game?",
"pos": [
"Pro Vercelli and Pescara are names of teams; HomeTeam = 'Pro Vercelli'; AwayTeam = 'Pescara'; 5-2 is a score where FTHG = '5' and FTAG = '2'; Scottish League One is a name of division; games refer to Div;"
],
"neg": [
"Caen refers to HomeTeam; which one refers to AwayTeam; the highest winning percentage = MAX(DIVIDE(COUNT(FTR = 'A' where HomeTeam = 'Caen', season = '2010')), COUNT(Div where HomeTeam = 'Caen', season = '2010')) as percentage;",
"Division refers to Div; DIVIDE(COUNT(Div = 'F1', Date = '2005/07/30'), COUNT(Div, Date = '2005/07/30')) as percentage;",
"Scottish Premiership is a name of division; from 2006 to 2008 means seasons between 2006 and 2008;",
"Bundesliga is the name of division; tie refers to FTR = 'D', where D stands for draft;",
"tied games refer FTR = 'D'; DIVIDE(COUNT(Div where FTR = 'D', HomeTeam = 'Sassuolo' or AwayTeam = 'Sassuolo'), COUNT(Div where HomeTeam = 'Sassuolo' or AwayTeam = 'Sassuolo')) as percentage;",
"2010 refers to season = 2010; SUBTRACT(DIVIDE(COUNT(Div where FTR = 'H', season = 2010), COUNT(Div where season = 2010)), COUNT(Div where FTR = 'A', season = 2010), COUNT(Div where season = 2010)) as percentage;",
"Bundesliga is the name of division; the most victories as the home team refers to MAX(COUNT(FTR = 'H'));",
"Bradford team refers to HomeTeam = 'Bradford' or AwayTeam = 'Bradford';",
"National League is the name of division; Date = '2018-08-07'; draw refers to FTR = 'D'; games refer to Div;",
"the most draft matches refer to MAX(COUNT(Div)) where FTR = 'D';"
]
} |
{
"query": "How many teams that played in the 2012 season belong to any of the English divisions and what percentage play in each of the divisions?",
"pos": [
"matches = Div"
],
"neg": [
"Bundesliga and the Premier League are names of division; home victories refer to FTR = 'H', where H stands for home victory; SUBTRACT(COUNT(FTR = 'H' where season = 2021, name = 'Bundesliga'), COUNT(FTR = 'H' where season = 2021, name = 'Premier League'));",
"Bundesliga is the name of division; final-time home-team goals refers to FTHG;",
"won at home refers to FTR = 'H'; January 20, 2008 refers to Date = '2008-01-20'; EC division refers to Div = 'EC';",
"the lowest number of draft matches refers to MIN(COUNT(FTR = 'D'));",
"2011 refers to season; a score of 1-8 refers to FTHG = '1' and FTAG = '8';",
"England is the name of country;",
"Bundesliga is the name of division; tie refers to FTR = 'D', where D stands for draft;",
"tied games refer FTR = 'D'; DIVIDE(COUNT(Div where FTR = 'D', HomeTeam = 'Sassuolo' or AwayTeam = 'Sassuolo'), COUNT(Div where HomeTeam = 'Sassuolo' or AwayTeam = 'Sassuolo')) as percentage;",
"Caen refers to HomeTeam; which one refers to AwayTeam; the highest winning percentage = MAX(DIVIDE(COUNT(FTR = 'A' where HomeTeam = 'Caen', season = '2010')), COUNT(Div where HomeTeam = 'Caen', season = '2010')) as percentage;",
"Eredivisie is the name of division; 2008 refers to season; teams refer to HomeTeam;"
]
} |
{
"query": "List the number of games that ended up with 5-0 in Greece.",
"pos": [
"5-0 is a score where FTHG = '5' and FTAG = '0'; Greece is a name of country; games refer to Div;"
],
"neg": [
"Caen refers to HomeTeam; which one refers to AwayTeam; the highest winning percentage = MAX(DIVIDE(COUNT(FTR = 'A' where HomeTeam = 'Caen', season = '2010')), COUNT(Div where HomeTeam = 'Caen', season = '2010')) as percentage;",
"Netherlands is the name of country;",
"the lowest number of draft matches refers to MIN(COUNT(FTR = 'D'));",
"Bradford team refers to HomeTeam = 'Bradford' or AwayTeam = 'Bradford';",
"won at home refers to FTR = 'H'; January 20, 2008 refers to Date = '2008-01-20'; EC division refers to Div = 'EC';",
"score more than 10 goals refers to SUM(FTHG, FTAG)>10, which are short names for Final-time Home-team Goals and Final-time Away-team Goals; the first means the earliest and refers to MIN(Date);",
"Eredivisie is the name of division; 2008 refers to season; teams refer to HomeTeam;",
"Bundesliga is the name of division; the most victories as the home team refers to MAX(COUNT(FTR = 'H'));",
"Bundesliga is the name of division; the most final-time home-team goals refers to MAX(FTHG);",
"2011 refers to season; a score of 1-8 refers to FTHG = '1' and FTAG = '8';"
]
} |
{
"query": "How many matches of the Bundesliga division ended with an away victory in the 2021 season?",
"pos": [
"Bundesliga is the name of division; away victory refers to FTR = 'A', where 'A' stands for away victory;"
],
"neg": [
"Netherlands is the name of country;",
"England is the name of country;",
"the lowest number of draft matches refers to MIN(COUNT(FTR = 'D'));",
"the most draft matches refer to MAX(COUNT(Div)) where FTR = 'D';",
"more than 5 total field goals refers to SUM(FTHG, FTAG)>5, which are short names for Final-time Home-team Goals and Final-time Away-team Goals; 2020/2/22 is a date;",
"home win refers to FTR = 'H', where H stands for home victory; season = '2021'; Bundesliga is a name of division; DIVIDE(COUNT(Div where FTR = 'H, season = '2021' and name = 'Bundesliga'), COUNT(Div where season = '2021' and name = 'Bundesliga')) as percentage;",
"Bundesliga is the name of division; home victory refers to refer to FTR = 'H', where H stands for home victory;",
"Premier League is the name of division;",
"Italian means belong to country = 'Italy\";",
"2010 refers to season = 2010; SUBTRACT(DIVIDE(COUNT(Div where FTR = 'H', season = 2010), COUNT(Div where season = 2010)), COUNT(Div where FTR = 'A', season = 2010), COUNT(Div where season = 2010)) as percentage;"
]
} |
{
"query": "What's the name of the football division in the Netherlands?",
"pos": [
"Netherlands is the name of country;"
],
"neg": [
"Bundesliga is the name of division; away victory refers to FTR = 'A', where 'A' stands for away victory;",
"5-0 is a score where FTHG = '5' and FTAG = '0'; Greece is a name of country; games refer to Div;",
"National League is the name of division; Date = '2018-08-07'; draw refers to FTR = 'D'; games refer to Div;",
"Scottish Premiership is a name of division; from 2006 to 2008 means seasons between 2006 and 2008;",
"more than 5 total field goals refers to SUM(FTHG, FTAG)>5, which are short names for Final-time Home-team Goals and Final-time Away-team Goals; 2020/2/22 is a date;",
"Bundesliga and the Premier League are names of division; home victories refer to FTR = 'H', where H stands for home victory; SUBTRACT(COUNT(FTR = 'H' where season = 2021, name = 'Bundesliga'), COUNT(FTR = 'H' where season = 2021, name = 'Premier League'));",
"tied games refer FTR = 'D'; DIVIDE(COUNT(Div where FTR = 'D', HomeTeam = 'Sassuolo' or AwayTeam = 'Sassuolo'), COUNT(Div where HomeTeam = 'Sassuolo' or AwayTeam = 'Sassuolo')) as percentage;",
"Premier League is name of division; season = 2021; Club Brugge is name of team; Club Brugge wins implies HomeTeam = 'Club Brugge' and FTR = 'H' and AwayTeam = 'Club Brugge' and FTR = 'A'; DIVIDE(SUM(COUNT(FTR = 'H' where HomeTeam = 'Club Brugge', name = 'Premier League', season = 2021), COUNT(FTR = 'A'where AwayTeam = 'Club Brugge', name = 'Premier League', season = 2021)), COUNT(Div where name = 'Premier League', season = 2021));",
"Bradford team refers to HomeTeam = 'Bradford' or AwayTeam = 'Bradford';",
"2010 refers to season = 2010; SUBTRACT(DIVIDE(COUNT(Div where FTR = 'H', season = 2010), COUNT(Div where season = 2010)), COUNT(Div where FTR = 'A', season = 2010), COUNT(Div where season = 2010)) as percentage;"
]
} |
{
"query": "What's the winning rate of Club Brugge in the 2021 Premier League?",
"pos": [
"Premier League is name of division; season = 2021; Club Brugge is name of team; Club Brugge wins implies HomeTeam = 'Club Brugge' and FTR = 'H' and AwayTeam = 'Club Brugge' and FTR = 'A'; DIVIDE(SUM(COUNT(FTR = 'H' where HomeTeam = 'Club Brugge', name = 'Premier League', season = 2021), COUNT(FTR = 'A'where AwayTeam = 'Club Brugge', name = 'Premier League', season = 2021)), COUNT(Div where name = 'Premier League', season = 2021));"
],
"neg": [
"Division refers to Div; DIVIDE(COUNT(Div = 'F1', Date = '2005/07/30'), COUNT(Div, Date = '2005/07/30')) as percentage;",
"England is the name of country;",
"Bundesliga is the name of division; final-time home-team goals refers to FTHG;",
"Bundesliga is the name of division; away victory refers to FTR = 'A', where 'A' stands for away victory;",
"the most draft matches refer to MAX(COUNT(Div)) where FTR = 'D';",
"Pro Vercelli and Pescara are names of teams; HomeTeam = 'Pro Vercelli'; AwayTeam = 'Pescara'; 5-2 is a score where FTHG = '5' and FTAG = '2'; Scottish League One is a name of division; games refer to Div;",
"Bundesliga is the name of division; home victory refers to refer to FTR = 'H', where H stands for home victory;",
"National League is the name of division; Date = '2018-08-07'; draw refers to FTR = 'D'; games refer to Div;",
"Bundesliga and the Premier League are names of division; home victories refer to FTR = 'H', where H stands for home victory; SUBTRACT(COUNT(FTR = 'H' where season = 2021, name = 'Bundesliga'), COUNT(FTR = 'H' where season = 2021, name = 'Premier League'));",
"Bundesliga is the name of division; the most victories as the home team refers to MAX(COUNT(FTR = 'H'));"
]
} |
{
"query": "What percentage of all tied games did the Sassuolo team play in?",
"pos": [
"tied games refer FTR = 'D'; DIVIDE(COUNT(Div where FTR = 'D', HomeTeam = 'Sassuolo' or AwayTeam = 'Sassuolo'), COUNT(Div where HomeTeam = 'Sassuolo' or AwayTeam = 'Sassuolo')) as percentage;"
],
"neg": [
"Scottish Premiership is a name of division; from 2006 to 2008 means seasons between 2006 and 2008;",
"Bundesliga is the name of division; the most final-time home-team goals refers to MAX(FTHG);",
"5-0 is a score where FTHG = '5' and FTAG = '0'; Greece is a name of country; games refer to Div;",
"Pro Vercelli and Pescara are names of teams; HomeTeam = 'Pro Vercelli'; AwayTeam = 'Pescara'; 5-2 is a score where FTHG = '5' and FTAG = '2'; Scottish League One is a name of division; games refer to Div;",
"Premier League is the name of division;",
"Netherlands is the name of country;",
"Bundesliga and the Premier League are names of division; home victories refer to FTR = 'H', where H stands for home victory; SUBTRACT(COUNT(FTR = 'H' where season = 2021, name = 'Bundesliga'), COUNT(FTR = 'H' where season = 2021, name = 'Premier League'));",
"2010 refers to season = 2010; SUBTRACT(DIVIDE(COUNT(Div where FTR = 'H', season = 2010), COUNT(Div where season = 2010)), COUNT(Div where FTR = 'A', season = 2010), COUNT(Div where season = 2010)) as percentage;",
"Caen refers to HomeTeam; which one refers to AwayTeam; the highest winning percentage = MAX(DIVIDE(COUNT(FTR = 'A' where HomeTeam = 'Caen', season = '2010')), COUNT(Div where HomeTeam = 'Caen', season = '2010')) as percentage;",
"2011 refers to season; a score of 1-8 refers to FTHG = '1' and FTAG = '8';"
]
} |
{
"query": "What was the difference in home team and away team win percentages across all divisions in 2010?",
"pos": [
"2010 refers to season = 2010; SUBTRACT(DIVIDE(COUNT(Div where FTR = 'H', season = 2010), COUNT(Div where season = 2010)), COUNT(Div where FTR = 'A', season = 2010), COUNT(Div where season = 2010)) as percentage;"
],
"neg": [
"Bundesliga and the Premier League are names of division; home victories refer to FTR = 'H', where H stands for home victory; SUBTRACT(COUNT(FTR = 'H' where season = 2021, name = 'Bundesliga'), COUNT(FTR = 'H' where season = 2021, name = 'Premier League'));",
"won at home refers to FTR = 'H'; January 20, 2008 refers to Date = '2008-01-20'; EC division refers to Div = 'EC';",
"Netherlands is the name of country;",
"2011 refers to season; a score of 1-8 refers to FTHG = '1' and FTAG = '8';",
"Bradford team refers to HomeTeam = 'Bradford' or AwayTeam = 'Bradford';",
"Bundesliga is the name of division; tie refers to FTR = 'D', where D stands for draft;",
"Bundesliga is the name of division; home victory refers to refer to FTR = 'H', where H stands for home victory;",
"Bundesliga is the name of division; final-time home-team goals refers to FTHG;",
"Bundesliga is the name of division; away victory refers to FTR = 'A', where 'A' stands for away victory;",
"Scottish Premiership is a name of division; from 2006 to 2008 means seasons between 2006 and 2008;"
]
} |
{
"query": "What was the final score for the game Bursaspor vs Denizlispor on 2009/4/26?",
"pos": [
"Bursaspor vs Denizlispor are names of teams where HomeTeam = 'Bursaspor' and AwayTeam = 'Denizlispor'; Date = '2009-04-26'; final score refers to FTHG, FTAG;"
],
"neg": [
"Premier League is name of division; season = 2021; Club Brugge is name of team; Club Brugge wins implies HomeTeam = 'Club Brugge' and FTR = 'H' and AwayTeam = 'Club Brugge' and FTR = 'A'; DIVIDE(SUM(COUNT(FTR = 'H' where HomeTeam = 'Club Brugge', name = 'Premier League', season = 2021), COUNT(FTR = 'A'where AwayTeam = 'Club Brugge', name = 'Premier League', season = 2021)), COUNT(Div where name = 'Premier League', season = 2021));",
"Division refers to Div; DIVIDE(COUNT(Div = 'F1', Date = '2005/07/30'), COUNT(Div, Date = '2005/07/30')) as percentage;",
"the most draft matches refer to MAX(COUNT(Div)) where FTR = 'D';",
"2010 refers to season = 2010; SUBTRACT(DIVIDE(COUNT(Div where FTR = 'H', season = 2010), COUNT(Div where season = 2010)), COUNT(Div where FTR = 'A', season = 2010), COUNT(Div where season = 2010)) as percentage;",
"Italian means belong to country = 'Italy\";",
"Netherlands is the name of country;",
"Caen refers to HomeTeam; which one refers to AwayTeam; the highest winning percentage = MAX(DIVIDE(COUNT(FTR = 'A' where HomeTeam = 'Caen', season = '2010')), COUNT(Div where HomeTeam = 'Caen', season = '2010')) as percentage;",
"Premier League is the name of division;",
"Bradford team refers to HomeTeam = 'Bradford' or AwayTeam = 'Bradford';",
"tied games refer FTR = 'D'; DIVIDE(COUNT(Div where FTR = 'D', HomeTeam = 'Sassuolo' or AwayTeam = 'Sassuolo'), COUNT(Div where HomeTeam = 'Sassuolo' or AwayTeam = 'Sassuolo')) as percentage;"
]
} |
{
"query": "Which away team in the division of Bundesliga has the highest final time goals?",
"pos": [
"Bundesliga is a name of division; the highest final time goals refers to MAX(FTAG);"
],
"neg": [
"Division refers to Div; DIVIDE(COUNT(Div = 'F1', Date = '2005/07/30'), COUNT(Div, Date = '2005/07/30')) as percentage;",
"Bundesliga is the name of division; tie refers to FTR = 'D', where D stands for draft;",
"Premier League is name of division; season = 2021; Club Brugge is name of team; Club Brugge wins implies HomeTeam = 'Club Brugge' and FTR = 'H' and AwayTeam = 'Club Brugge' and FTR = 'A'; DIVIDE(SUM(COUNT(FTR = 'H' where HomeTeam = 'Club Brugge', name = 'Premier League', season = 2021), COUNT(FTR = 'A'where AwayTeam = 'Club Brugge', name = 'Premier League', season = 2021)), COUNT(Div where name = 'Premier League', season = 2021));",
"Bundesliga is the name of division; the most final-time home-team goals refers to MAX(FTHG);",
"Eredivisie is the name of division; 2008 refers to season; teams refer to HomeTeam;",
"Premier League is the name of division;",
"the lowest number of draft matches refers to MIN(COUNT(FTR = 'D'));",
"home win refers to FTR = 'H', where H stands for home victory; season = '2021'; Bundesliga is a name of division; DIVIDE(COUNT(Div where FTR = 'H, season = '2021' and name = 'Bundesliga'), COUNT(Div where season = '2021' and name = 'Bundesliga')) as percentage;",
"Bundesliga is the name of division; home victory refers to refer to FTR = 'H', where H stands for home victory;",
"Netherlands is the name of country;"
]
} |
{
"query": "How many matches were played in the Scottish Premiership division from 2006 to 2008?",
"pos": [
"Scottish Premiership is a name of division; from 2006 to 2008 means seasons between 2006 and 2008;"
],
"neg": [
"the lowest number of draft matches refers to MIN(COUNT(FTR = 'D'));",
"consecutive games mean happen one after the other without interruption and refer to Date; tied refers to FTR = 'D';",
"Italian means belong to country = 'Italy\";",
"won at home refers to FTR = 'H'; January 20, 2008 refers to Date = '2008-01-20'; EC division refers to Div = 'EC';",
"Bundesliga is the name of division; the most final-time home-team goals refers to MAX(FTHG);",
"tied games refer FTR = 'D'; DIVIDE(COUNT(Div where FTR = 'D', HomeTeam = 'Sassuolo' or AwayTeam = 'Sassuolo'), COUNT(Div where HomeTeam = 'Sassuolo' or AwayTeam = 'Sassuolo')) as percentage;",
"Pro Vercelli and Pescara are names of teams; HomeTeam = 'Pro Vercelli'; AwayTeam = 'Pescara'; 5-2 is a score where FTHG = '5' and FTAG = '2'; Scottish League One is a name of division; games refer to Div;",
"home win refers to FTR = 'H', where H stands for home victory; season = '2021'; Bundesliga is a name of division; DIVIDE(COUNT(Div where FTR = 'H, season = '2021' and name = 'Bundesliga'), COUNT(Div where season = '2021' and name = 'Bundesliga')) as percentage;",
"2010 refers to season = 2010; SUBTRACT(DIVIDE(COUNT(Div where FTR = 'H', season = 2010), COUNT(Div where season = 2010)), COUNT(Div where FTR = 'A', season = 2010), COUNT(Div where season = 2010)) as percentage;",
"Bundesliga is the name of division; Date = '2020/10/2';"
]
} |
{
"query": "Please list the home teams in the matches of the Bundesliga division that ended with a home victory in the 2021 season.",
"pos": [
"Bundesliga is the name of division; home victory refers to refer to FTR = 'H', where H stands for home victory;"
],
"neg": [
"matches = Div",
"National League is the name of division; Date = '2018-08-07'; draw refers to FTR = 'D'; games refer to Div;",
"Bundesliga is the name of division; away victory refers to FTR = 'A', where 'A' stands for away victory;",
"Premier League is the name of division;",
"score more than 10 goals refers to SUM(FTHG, FTAG)>10, which are short names for Final-time Home-team Goals and Final-time Away-team Goals; the first means the earliest and refers to MIN(Date);",
"Bundesliga is the name of division; the most victories as the home team refers to MAX(COUNT(FTR = 'H'));",
"Bradford team refers to HomeTeam = 'Bradford' or AwayTeam = 'Bradford';",
"Bundesliga and the Premier League are names of division; home victories refer to FTR = 'H', where H stands for home victory; SUBTRACT(COUNT(FTR = 'H' where season = 2021, name = 'Bundesliga'), COUNT(FTR = 'H' where season = 2021, name = 'Premier League'));",
"2011 refers to season; a score of 1-8 refers to FTHG = '1' and FTAG = '8';",
"Caen refers to HomeTeam; which one refers to AwayTeam; the highest winning percentage = MAX(DIVIDE(COUNT(FTR = 'A' where HomeTeam = 'Caen', season = '2010')), COUNT(Div where HomeTeam = 'Caen', season = '2010')) as percentage;"
]
} |
{
"query": "When did the first match that score more than 10 goals happen?",
"pos": [
"score more than 10 goals refers to SUM(FTHG, FTAG)>10, which are short names for Final-time Home-team Goals and Final-time Away-team Goals; the first means the earliest and refers to MIN(Date);"
],
"neg": [
"the most draft matches refer to MAX(COUNT(Div)) where FTR = 'D';",
"Bundesliga is the name of division; the most final-time home-team goals refers to MAX(FTHG);",
"Eredivisie is the name of division; 2008 refers to season; teams refer to HomeTeam;",
"Bundesliga and the Premier League are names of division; home victories refer to FTR = 'H', where H stands for home victory; SUBTRACT(COUNT(FTR = 'H' where season = 2021, name = 'Bundesliga'), COUNT(FTR = 'H' where season = 2021, name = 'Premier League'));",
"matches = Div",
"Premier League is name of division; season = 2021; Club Brugge is name of team; Club Brugge wins implies HomeTeam = 'Club Brugge' and FTR = 'H' and AwayTeam = 'Club Brugge' and FTR = 'A'; DIVIDE(SUM(COUNT(FTR = 'H' where HomeTeam = 'Club Brugge', name = 'Premier League', season = 2021), COUNT(FTR = 'A'where AwayTeam = 'Club Brugge', name = 'Premier League', season = 2021)), COUNT(Div where name = 'Premier League', season = 2021));",
"Bundesliga is a name of division; the highest final time goals refers to MAX(FTAG);",
"Premier League is the name of division;",
"2010 refers to season = 2010; SUBTRACT(DIVIDE(COUNT(Div where FTR = 'H', season = 2010), COUNT(Div where season = 2010)), COUNT(Div where FTR = 'A', season = 2010), COUNT(Div where season = 2010)) as percentage;",
"home win refers to FTR = 'H', where H stands for home victory; season = '2021'; Bundesliga is a name of division; DIVIDE(COUNT(Div where FTR = 'H, season = '2021' and name = 'Bundesliga'), COUNT(Div where season = '2021' and name = 'Bundesliga')) as percentage;"
]
} |
{
"query": "Which division had the most draft matches in the 2008 season?",
"pos": [
"the most draft matches refer to MAX(COUNT(Div)) where FTR = 'D';"
],
"neg": [
"the lowest number of draft matches refers to MIN(COUNT(FTR = 'D'));",
"Eredivisie is the name of division; 2008 refers to season; teams refer to HomeTeam;",
"Premier League is name of division; season = 2021; Club Brugge is name of team; Club Brugge wins implies HomeTeam = 'Club Brugge' and FTR = 'H' and AwayTeam = 'Club Brugge' and FTR = 'A'; DIVIDE(SUM(COUNT(FTR = 'H' where HomeTeam = 'Club Brugge', name = 'Premier League', season = 2021), COUNT(FTR = 'A'where AwayTeam = 'Club Brugge', name = 'Premier League', season = 2021)), COUNT(Div where name = 'Premier League', season = 2021));",
"Bundesliga is the name of division; Date = '2020/10/2';",
"home win refers to FTR = 'H', where H stands for home victory; season = '2021'; Bundesliga is a name of division; DIVIDE(COUNT(Div where FTR = 'H, season = '2021' and name = 'Bundesliga'), COUNT(Div where season = '2021' and name = 'Bundesliga')) as percentage;",
"Italian means belong to country = 'Italy\";",
"Bundesliga and the Premier League are names of division; home victories refer to FTR = 'H', where H stands for home victory; SUBTRACT(COUNT(FTR = 'H' where season = 2021, name = 'Bundesliga'), COUNT(FTR = 'H' where season = 2021, name = 'Premier League'));",
"Caen refers to HomeTeam; which one refers to AwayTeam; the highest winning percentage = MAX(DIVIDE(COUNT(FTR = 'A' where HomeTeam = 'Caen', season = '2010')), COUNT(Div where HomeTeam = 'Caen', season = '2010')) as percentage;",
"Scottish Premiership is a name of division; from 2006 to 2008 means seasons between 2006 and 2008;",
"Premier League is the name of division;"
]
} |
{
"query": "How many home victories does the Bundesliga division have in more or less than the Premier League division in the 2021 season?",
"pos": [
"Bundesliga and the Premier League are names of division; home victories refer to FTR = 'H', where H stands for home victory; SUBTRACT(COUNT(FTR = 'H' where season = 2021, name = 'Bundesliga'), COUNT(FTR = 'H' where season = 2021, name = 'Premier League'));"
],
"neg": [
"Bundesliga is the name of division; home victory refers to refer to FTR = 'H', where H stands for home victory;",
"the most draft matches refer to MAX(COUNT(Div)) where FTR = 'D';",
"2010 refers to season = 2010; SUBTRACT(DIVIDE(COUNT(Div where FTR = 'H', season = 2010), COUNT(Div where season = 2010)), COUNT(Div where FTR = 'A', season = 2010), COUNT(Div where season = 2010)) as percentage;",
"the lowest number of draft matches refers to MIN(COUNT(FTR = 'D'));",
"Caen refers to HomeTeam; which one refers to AwayTeam; the highest winning percentage = MAX(DIVIDE(COUNT(FTR = 'A' where HomeTeam = 'Caen', season = '2010')), COUNT(Div where HomeTeam = 'Caen', season = '2010')) as percentage;",
"5-0 is a score where FTHG = '5' and FTAG = '0'; Greece is a name of country; games refer to Div;",
"Eredivisie is the name of division; 2008 refers to season; teams refer to HomeTeam;",
"National League is the name of division; Date = '2018-08-07'; draw refers to FTR = 'D'; games refer to Div;",
"consecutive games mean happen one after the other without interruption and refer to Date; tied refers to FTR = 'D';",
"score more than 10 goals refers to SUM(FTHG, FTAG)>10, which are short names for Final-time Home-team Goals and Final-time Away-team Goals; the first means the earliest and refers to MIN(Date);"
]
} |
{
"query": "How many matches were held during the 2021 season's Premier League?",
"pos": [
"Premier League is the name of division;"
],
"neg": [
"2010 refers to season = 2010; SUBTRACT(DIVIDE(COUNT(Div where FTR = 'H', season = 2010), COUNT(Div where season = 2010)), COUNT(Div where FTR = 'A', season = 2010), COUNT(Div where season = 2010)) as percentage;",
"Eredivisie is the name of division; 2008 refers to season; teams refer to HomeTeam;",
"Scottish Premiership is a name of division; from 2006 to 2008 means seasons between 2006 and 2008;",
"home win refers to FTR = 'H', where H stands for home victory; season = '2021'; Bundesliga is a name of division; DIVIDE(COUNT(Div where FTR = 'H, season = '2021' and name = 'Bundesliga'), COUNT(Div where season = '2021' and name = 'Bundesliga')) as percentage;",
"more than 5 total field goals refers to SUM(FTHG, FTAG)>5, which are short names for Final-time Home-team Goals and Final-time Away-team Goals; 2020/2/22 is a date;",
"Bundesliga is the name of division; tie refers to FTR = 'D', where D stands for draft;",
"Bundesliga is the name of division; home victory refers to refer to FTR = 'H', where H stands for home victory;",
"Italian means belong to country = 'Italy\";",
"National League is the name of division; Date = '2018-08-07'; draw refers to FTR = 'D'; games refer to Div;",
"5-0 is a score where FTHG = '5' and FTAG = '0'; Greece is a name of country; games refer to Div;"
]
} |
{
"query": "What is the most consecutive games tied by Ebbsfleet as an away team in the 2008 season?",
"pos": [
"consecutive games mean happen one after the other without interruption and refer to Date; tied refers to FTR = 'D';"
],
"neg": [
"Premier League is the name of division;",
"2011 refers to season; a score of 1-8 refers to FTHG = '1' and FTAG = '8';",
"Bundesliga is the name of division; tie refers to FTR = 'D', where D stands for draft;",
"Division refers to Div; DIVIDE(COUNT(Div = 'F1', Date = '2005/07/30'), COUNT(Div, Date = '2005/07/30')) as percentage;",
"Bundesliga is the name of division; the most victories as the home team refers to MAX(COUNT(FTR = 'H'));",
"Eredivisie is the name of division; 2008 refers to season; teams refer to HomeTeam;",
"Netherlands is the name of country;",
"more than 5 total field goals refers to SUM(FTHG, FTAG)>5, which are short names for Final-time Home-team Goals and Final-time Away-team Goals; 2020/2/22 is a date;",
"won at home refers to FTR = 'H'; January 20, 2008 refers to Date = '2008-01-20'; EC division refers to Div = 'EC';",
"Bundesliga is the name of division; away victory refers to FTR = 'A', where 'A' stands for away victory;"
]
} |
{
"query": "Which team had the most final-time home-team goals in the 2021 season's matches of the Bundesliga division?",
"pos": [
"Bundesliga is the name of division; the most final-time home-team goals refers to MAX(FTHG);"
],
"neg": [
"Netherlands is the name of country;",
"Division refers to Div; DIVIDE(COUNT(Div = 'F1', Date = '2005/07/30'), COUNT(Div, Date = '2005/07/30')) as percentage;",
"England is the name of country;",
"won at home refers to FTR = 'H'; January 20, 2008 refers to Date = '2008-01-20'; EC division refers to Div = 'EC';",
"home win refers to FTR = 'H', where H stands for home victory; season = '2021'; Bundesliga is a name of division; DIVIDE(COUNT(Div where FTR = 'H, season = '2021' and name = 'Bundesliga'), COUNT(Div where season = '2021' and name = 'Bundesliga')) as percentage;",
"more than 5 total field goals refers to SUM(FTHG, FTAG)>5, which are short names for Final-time Home-team Goals and Final-time Away-team Goals; 2020/2/22 is a date;",
"Pro Vercelli and Pescara are names of teams; HomeTeam = 'Pro Vercelli'; AwayTeam = 'Pescara'; 5-2 is a score where FTHG = '5' and FTAG = '2'; Scottish League One is a name of division; games refer to Div;",
"tied games refer FTR = 'D'; DIVIDE(COUNT(Div where FTR = 'D', HomeTeam = 'Sassuolo' or AwayTeam = 'Sassuolo'), COUNT(Div where HomeTeam = 'Sassuolo' or AwayTeam = 'Sassuolo')) as percentage;",
"Bundesliga is the name of division; final-time home-team goals refers to FTHG;",
"Bundesliga is a name of division; the highest final time goals refers to MAX(FTAG);"
]
} |
{
"query": "What is the name of the division that has had the lowest number of draft matches in the 2019 season?",
"pos": [
"the lowest number of draft matches refers to MIN(COUNT(FTR = 'D'));"
],
"neg": [
"home win refers to FTR = 'H', where H stands for home victory; season = '2021'; Bundesliga is a name of division; DIVIDE(COUNT(Div where FTR = 'H, season = '2021' and name = 'Bundesliga'), COUNT(Div where season = '2021' and name = 'Bundesliga')) as percentage;",
"Bundesliga is the name of division; tie refers to FTR = 'D', where D stands for draft;",
"Premier League is the name of division;",
"Eredivisie is the name of division; 2008 refers to season; teams refer to HomeTeam;",
"2011 refers to season; a score of 1-8 refers to FTHG = '1' and FTAG = '8';",
"Italian means belong to country = 'Italy\";",
"Pro Vercelli and Pescara are names of teams; HomeTeam = 'Pro Vercelli'; AwayTeam = 'Pescara'; 5-2 is a score where FTHG = '5' and FTAG = '2'; Scottish League One is a name of division; games refer to Div;",
"Bundesliga is the name of division; the most final-time home-team goals refers to MAX(FTHG);",
"Caen refers to HomeTeam; which one refers to AwayTeam; the highest winning percentage = MAX(DIVIDE(COUNT(FTR = 'A' where HomeTeam = 'Caen', season = '2010')), COUNT(Div where HomeTeam = 'Caen', season = '2010')) as percentage;",
"score more than 10 goals refers to SUM(FTHG, FTAG)>10, which are short names for Final-time Home-team Goals and Final-time Away-team Goals; the first means the earliest and refers to MIN(Date);"
]
} |
{
"query": "Which division had the most games with more than 5 total field goals on 2020/2/22? Give the full name of the division?",
"pos": [
"more than 5 total field goals refers to SUM(FTHG, FTAG)>5, which are short names for Final-time Home-team Goals and Final-time Away-team Goals; 2020/2/22 is a date;"
],
"neg": [
"Bundesliga is the name of division; tie refers to FTR = 'D', where D stands for draft;",
"2011 refers to season; a score of 1-8 refers to FTHG = '1' and FTAG = '8';",
"Bundesliga is the name of division; away victory refers to FTR = 'A', where 'A' stands for away victory;",
"2010 refers to season = 2010; SUBTRACT(DIVIDE(COUNT(Div where FTR = 'H', season = 2010), COUNT(Div where season = 2010)), COUNT(Div where FTR = 'A', season = 2010), COUNT(Div where season = 2010)) as percentage;",
"Premier League is name of division; season = 2021; Club Brugge is name of team; Club Brugge wins implies HomeTeam = 'Club Brugge' and FTR = 'H' and AwayTeam = 'Club Brugge' and FTR = 'A'; DIVIDE(SUM(COUNT(FTR = 'H' where HomeTeam = 'Club Brugge', name = 'Premier League', season = 2021), COUNT(FTR = 'A'where AwayTeam = 'Club Brugge', name = 'Premier League', season = 2021)), COUNT(Div where name = 'Premier League', season = 2021));",
"National League is the name of division; Date = '2018-08-07'; draw refers to FTR = 'D'; games refer to Div;",
"5-0 is a score where FTHG = '5' and FTAG = '0'; Greece is a name of country; games refer to Div;",
"score more than 10 goals refers to SUM(FTHG, FTAG)>10, which are short names for Final-time Home-team Goals and Final-time Away-team Goals; the first means the earliest and refers to MIN(Date);",
"won at home refers to FTR = 'H'; January 20, 2008 refers to Date = '2008-01-20'; EC division refers to Div = 'EC';",
"Premier League is the name of division;"
]
} |
{
"query": "Which team has the most victories as the home team in matches of the Bundesliga division?",
"pos": [
"Bundesliga is the name of division; the most victories as the home team refers to MAX(COUNT(FTR = 'H'));"
],
"neg": [
"Pro Vercelli and Pescara are names of teams; HomeTeam = 'Pro Vercelli'; AwayTeam = 'Pescara'; 5-2 is a score where FTHG = '5' and FTAG = '2'; Scottish League One is a name of division; games refer to Div;",
"won at home refers to FTR = 'H'; January 20, 2008 refers to Date = '2008-01-20'; EC division refers to Div = 'EC';",
"tied games refer FTR = 'D'; DIVIDE(COUNT(Div where FTR = 'D', HomeTeam = 'Sassuolo' or AwayTeam = 'Sassuolo'), COUNT(Div where HomeTeam = 'Sassuolo' or AwayTeam = 'Sassuolo')) as percentage;",
"more than 5 total field goals refers to SUM(FTHG, FTAG)>5, which are short names for Final-time Home-team Goals and Final-time Away-team Goals; 2020/2/22 is a date;",
"consecutive games mean happen one after the other without interruption and refer to Date; tied refers to FTR = 'D';",
"the lowest number of draft matches refers to MIN(COUNT(FTR = 'D'));",
"Bradford team refers to HomeTeam = 'Bradford' or AwayTeam = 'Bradford';",
"Division refers to Div; DIVIDE(COUNT(Div = 'F1', Date = '2005/07/30'), COUNT(Div, Date = '2005/07/30')) as percentage;",
"Eredivisie is the name of division; 2008 refers to season; teams refer to HomeTeam;",
"2010 refers to season = 2010; SUBTRACT(DIVIDE(COUNT(Div where FTR = 'H', season = 2010), COUNT(Div where season = 2010)), COUNT(Div where FTR = 'A', season = 2010), COUNT(Div where season = 2010)) as percentage;"
]
} |
{
"query": "For a game had a score of 1-8 in the year of 2011, what division was that game in? Give the full name of the division.",
"pos": [
"2011 refers to season; a score of 1-8 refers to FTHG = '1' and FTAG = '8';"
],
"neg": [
"the lowest number of draft matches refers to MIN(COUNT(FTR = 'D'));",
"2010 refers to season = 2010; SUBTRACT(DIVIDE(COUNT(Div where FTR = 'H', season = 2010), COUNT(Div where season = 2010)), COUNT(Div where FTR = 'A', season = 2010), COUNT(Div where season = 2010)) as percentage;",
"Eredivisie is the name of division; 2008 refers to season; teams refer to HomeTeam;",
"National League is the name of division; Date = '2018-08-07'; draw refers to FTR = 'D'; games refer to Div;",
"Bundesliga is the name of division; tie refers to FTR = 'D', where D stands for draft;",
"consecutive games mean happen one after the other without interruption and refer to Date; tied refers to FTR = 'D';",
"Pro Vercelli and Pescara are names of teams; HomeTeam = 'Pro Vercelli'; AwayTeam = 'Pescara'; 5-2 is a score where FTHG = '5' and FTAG = '2'; Scottish League One is a name of division; games refer to Div;",
"Bundesliga is the name of division; final-time home-team goals refers to FTHG;",
"tied games refer FTR = 'D'; DIVIDE(COUNT(Div where FTR = 'D', HomeTeam = 'Sassuolo' or AwayTeam = 'Sassuolo'), COUNT(Div where HomeTeam = 'Sassuolo' or AwayTeam = 'Sassuolo')) as percentage;",
"score more than 10 goals refers to SUM(FTHG, FTAG)>10, which are short names for Final-time Home-team Goals and Final-time Away-team Goals; the first means the earliest and refers to MIN(Date);"
]
} |
{
"query": "How many draw games happened on 2018/8/7 for National League?",
"pos": [
"National League is the name of division; Date = '2018-08-07'; draw refers to FTR = 'D'; games refer to Div;"
],
"neg": [
"2010 refers to season = 2010; SUBTRACT(DIVIDE(COUNT(Div where FTR = 'H', season = 2010), COUNT(Div where season = 2010)), COUNT(Div where FTR = 'A', season = 2010), COUNT(Div where season = 2010)) as percentage;",
"score more than 10 goals refers to SUM(FTHG, FTAG)>10, which are short names for Final-time Home-team Goals and Final-time Away-team Goals; the first means the earliest and refers to MIN(Date);",
"Bradford team refers to HomeTeam = 'Bradford' or AwayTeam = 'Bradford';",
"Netherlands is the name of country;",
"Bundesliga is the name of division; the most final-time home-team goals refers to MAX(FTHG);",
"Bundesliga is the name of division; tie refers to FTR = 'D', where D stands for draft;",
"Bundesliga is the name of division; final-time home-team goals refers to FTHG;",
"Caen refers to HomeTeam; which one refers to AwayTeam; the highest winning percentage = MAX(DIVIDE(COUNT(FTR = 'A' where HomeTeam = 'Caen', season = '2010')), COUNT(Div where HomeTeam = 'Caen', season = '2010')) as percentage;",
"Bundesliga is the name of division; home victory refers to refer to FTR = 'H', where H stands for home victory;",
"Bundesliga is a name of division; the highest final time goals refers to MAX(FTAG);"
]
} |
{
"query": "Please provide the names of any three away teams that competed in the Italian divisions.",
"pos": [
"Italian means belong to country = 'Italy\";"
],
"neg": [
"Bursaspor vs Denizlispor are names of teams where HomeTeam = 'Bursaspor' and AwayTeam = 'Denizlispor'; Date = '2009-04-26'; final score refers to FTHG, FTAG;",
"Netherlands is the name of country;",
"matches = Div",
"National League is the name of division; Date = '2018-08-07'; draw refers to FTR = 'D'; games refer to Div;",
"Eredivisie is the name of division; 2008 refers to season; teams refer to HomeTeam;",
"Bundesliga is the name of division; Date = '2020/10/2';",
"Bundesliga is the name of division; final-time home-team goals refers to FTHG;",
"5-0 is a score where FTHG = '5' and FTAG = '0'; Greece is a name of country; games refer to Div;",
"2010 refers to season = 2010; SUBTRACT(DIVIDE(COUNT(Div where FTR = 'H', season = 2010), COUNT(Div where season = 2010)), COUNT(Div where FTR = 'A', season = 2010), COUNT(Div where season = 2010)) as percentage;",
"won at home refers to FTR = 'H'; January 20, 2008 refers to Date = '2008-01-20'; EC division refers to Div = 'EC';"
]
} |
{
"query": "Of the matches in all seasons of the Bundesliga division, how many of them ended with a tie?",
"pos": [
"Bundesliga is the name of division; tie refers to FTR = 'D', where D stands for draft;"
],
"neg": [
"the lowest number of draft matches refers to MIN(COUNT(FTR = 'D'));",
"Scottish Premiership is a name of division; from 2006 to 2008 means seasons between 2006 and 2008;",
"Bundesliga and the Premier League are names of division; home victories refer to FTR = 'H', where H stands for home victory; SUBTRACT(COUNT(FTR = 'H' where season = 2021, name = 'Bundesliga'), COUNT(FTR = 'H' where season = 2021, name = 'Premier League'));",
"5-0 is a score where FTHG = '5' and FTAG = '0'; Greece is a name of country; games refer to Div;",
"tied games refer FTR = 'D'; DIVIDE(COUNT(Div where FTR = 'D', HomeTeam = 'Sassuolo' or AwayTeam = 'Sassuolo'), COUNT(Div where HomeTeam = 'Sassuolo' or AwayTeam = 'Sassuolo')) as percentage;",
"score more than 10 goals refers to SUM(FTHG, FTAG)>10, which are short names for Final-time Home-team Goals and Final-time Away-team Goals; the first means the earliest and refers to MIN(Date);",
"Premier League is name of division; season = 2021; Club Brugge is name of team; Club Brugge wins implies HomeTeam = 'Club Brugge' and FTR = 'H' and AwayTeam = 'Club Brugge' and FTR = 'A'; DIVIDE(SUM(COUNT(FTR = 'H' where HomeTeam = 'Club Brugge', name = 'Premier League', season = 2021), COUNT(FTR = 'A'where AwayTeam = 'Club Brugge', name = 'Premier League', season = 2021)), COUNT(Div where name = 'Premier League', season = 2021));",
"Bundesliga is the name of division; the most final-time home-team goals refers to MAX(FTHG);",
"England is the name of country;",
"Eredivisie is the name of division; 2008 refers to season; teams refer to HomeTeam;"
]
} |
{
"query": "What's the home win ratio of the Bundesliga division in 2021?",
"pos": [
"home win refers to FTR = 'H', where H stands for home victory; season = '2021'; Bundesliga is a name of division; DIVIDE(COUNT(Div where FTR = 'H, season = '2021' and name = 'Bundesliga'), COUNT(Div where season = '2021' and name = 'Bundesliga')) as percentage;"
],
"neg": [
"won at home refers to FTR = 'H'; January 20, 2008 refers to Date = '2008-01-20'; EC division refers to Div = 'EC';",
"tied games refer FTR = 'D'; DIVIDE(COUNT(Div where FTR = 'D', HomeTeam = 'Sassuolo' or AwayTeam = 'Sassuolo'), COUNT(Div where HomeTeam = 'Sassuolo' or AwayTeam = 'Sassuolo')) as percentage;",
"National League is the name of division; Date = '2018-08-07'; draw refers to FTR = 'D'; games refer to Div;",
"matches = Div",
"Bradford team refers to HomeTeam = 'Bradford' or AwayTeam = 'Bradford';",
"Bundesliga is the name of division; final-time home-team goals refers to FTHG;",
"the most draft matches refer to MAX(COUNT(Div)) where FTR = 'D';",
"Caen refers to HomeTeam; which one refers to AwayTeam; the highest winning percentage = MAX(DIVIDE(COUNT(FTR = 'A' where HomeTeam = 'Caen', season = '2010')), COUNT(Div where HomeTeam = 'Caen', season = '2010')) as percentage;",
"Bundesliga and the Premier League are names of division; home victories refer to FTR = 'H', where H stands for home victory; SUBTRACT(COUNT(FTR = 'H' where season = 2021, name = 'Bundesliga'), COUNT(FTR = 'H' where season = 2021, name = 'Premier League'));",
"Eredivisie is the name of division; 2008 refers to season; teams refer to HomeTeam;"
]
} |
{
"query": "Of all the teams that played as a team away against Caen in the 2010 season, which one has the highest winning percentage?",
"pos": [
"Caen refers to HomeTeam; which one refers to AwayTeam; the highest winning percentage = MAX(DIVIDE(COUNT(FTR = 'A' where HomeTeam = 'Caen', season = '2010')), COUNT(Div where HomeTeam = 'Caen', season = '2010')) as percentage;"
],
"neg": [
"Bundesliga is the name of division; the most final-time home-team goals refers to MAX(FTHG);",
"Netherlands is the name of country;",
"the most draft matches refer to MAX(COUNT(Div)) where FTR = 'D';",
"Eredivisie is the name of division; 2008 refers to season; teams refer to HomeTeam;",
"Bundesliga is the name of division; final-time home-team goals refers to FTHG;",
"more than 5 total field goals refers to SUM(FTHG, FTAG)>5, which are short names for Final-time Home-team Goals and Final-time Away-team Goals; 2020/2/22 is a date;",
"Bundesliga is a name of division; the highest final time goals refers to MAX(FTAG);",
"home win refers to FTR = 'H', where H stands for home victory; season = '2021'; Bundesliga is a name of division; DIVIDE(COUNT(Div where FTR = 'H, season = '2021' and name = 'Bundesliga'), COUNT(Div where season = '2021' and name = 'Bundesliga')) as percentage;",
"2010 refers to season = 2010; SUBTRACT(DIVIDE(COUNT(Div where FTR = 'H', season = 2010), COUNT(Div where season = 2010)), COUNT(Div where FTR = 'A', season = 2010), COUNT(Div where season = 2010)) as percentage;",
"Bundesliga is the name of division; the most victories as the home team refers to MAX(COUNT(FTR = 'H'));"
]
} |
{
"query": "Which country did Bradford Team belongs to?",
"pos": [
"Bradford team refers to HomeTeam = 'Bradford' or AwayTeam = 'Bradford';"
],
"neg": [
"home win refers to FTR = 'H', where H stands for home victory; season = '2021'; Bundesliga is a name of division; DIVIDE(COUNT(Div where FTR = 'H, season = '2021' and name = 'Bundesliga'), COUNT(Div where season = '2021' and name = 'Bundesliga')) as percentage;",
"Pro Vercelli and Pescara are names of teams; HomeTeam = 'Pro Vercelli'; AwayTeam = 'Pescara'; 5-2 is a score where FTHG = '5' and FTAG = '2'; Scottish League One is a name of division; games refer to Div;",
"Division refers to Div; DIVIDE(COUNT(Div = 'F1', Date = '2005/07/30'), COUNT(Div, Date = '2005/07/30')) as percentage;",
"Bundesliga is the name of division; final-time home-team goals refers to FTHG;",
"more than 5 total field goals refers to SUM(FTHG, FTAG)>5, which are short names for Final-time Home-team Goals and Final-time Away-team Goals; 2020/2/22 is a date;",
"Bundesliga is the name of division; home victory refers to refer to FTR = 'H', where H stands for home victory;",
"won at home refers to FTR = 'H'; January 20, 2008 refers to Date = '2008-01-20'; EC division refers to Div = 'EC';",
"the lowest number of draft matches refers to MIN(COUNT(FTR = 'D'));",
"Premier League is name of division; season = 2021; Club Brugge is name of team; Club Brugge wins implies HomeTeam = 'Club Brugge' and FTR = 'H' and AwayTeam = 'Club Brugge' and FTR = 'A'; DIVIDE(SUM(COUNT(FTR = 'H' where HomeTeam = 'Club Brugge', name = 'Premier League', season = 2021), COUNT(FTR = 'A'where AwayTeam = 'Club Brugge', name = 'Premier League', season = 2021)), COUNT(Div where name = 'Premier League', season = 2021));",
"Premier League is the name of division;"
]
} |
{
"query": "How many football divisions does England have?",
"pos": [
"England is the name of country;"
],
"neg": [
"Bundesliga is the name of division; Date = '2020/10/2';",
"won at home refers to FTR = 'H'; January 20, 2008 refers to Date = '2008-01-20'; EC division refers to Div = 'EC';",
"Division refers to Div; DIVIDE(COUNT(Div = 'F1', Date = '2005/07/30'), COUNT(Div, Date = '2005/07/30')) as percentage;",
"Bundesliga is the name of division; away victory refers to FTR = 'A', where 'A' stands for away victory;",
"Bundesliga is the name of division; the most victories as the home team refers to MAX(COUNT(FTR = 'H'));",
"more than 5 total field goals refers to SUM(FTHG, FTAG)>5, which are short names for Final-time Home-team Goals and Final-time Away-team Goals; 2020/2/22 is a date;",
"home win refers to FTR = 'H', where H stands for home victory; season = '2021'; Bundesliga is a name of division; DIVIDE(COUNT(Div where FTR = 'H, season = '2021' and name = 'Bundesliga'), COUNT(Div where season = '2021' and name = 'Bundesliga')) as percentage;",
"Pro Vercelli and Pescara are names of teams; HomeTeam = 'Pro Vercelli'; AwayTeam = 'Pescara'; 5-2 is a score where FTHG = '5' and FTAG = '2'; Scottish League One is a name of division; games refer to Div;",
"score more than 10 goals refers to SUM(FTHG, FTAG)>10, which are short names for Final-time Home-team Goals and Final-time Away-team Goals; the first means the earliest and refers to MIN(Date);",
"Caen refers to HomeTeam; which one refers to AwayTeam; the highest winning percentage = MAX(DIVIDE(COUNT(FTR = 'A' where HomeTeam = 'Caen', season = '2010')), COUNT(Div where HomeTeam = 'Caen', season = '2010')) as percentage;"
]
} |
{
"query": "How many final-time home-team goals were there in total in all the matches of the Bundesliga division in the 2021 season?",
"pos": [
"Bundesliga is the name of division; final-time home-team goals refers to FTHG;"
],
"neg": [
"Pro Vercelli and Pescara are names of teams; HomeTeam = 'Pro Vercelli'; AwayTeam = 'Pescara'; 5-2 is a score where FTHG = '5' and FTAG = '2'; Scottish League One is a name of division; games refer to Div;",
"Scottish Premiership is a name of division; from 2006 to 2008 means seasons between 2006 and 2008;",
"Bundesliga and the Premier League are names of division; home victories refer to FTR = 'H', where H stands for home victory; SUBTRACT(COUNT(FTR = 'H' where season = 2021, name = 'Bundesliga'), COUNT(FTR = 'H' where season = 2021, name = 'Premier League'));",
"Eredivisie is the name of division; 2008 refers to season; teams refer to HomeTeam;",
"Bundesliga is the name of division; away victory refers to FTR = 'A', where 'A' stands for away victory;",
"Division refers to Div; DIVIDE(COUNT(Div = 'F1', Date = '2005/07/30'), COUNT(Div, Date = '2005/07/30')) as percentage;",
"England is the name of country;",
"Bursaspor vs Denizlispor are names of teams where HomeTeam = 'Bursaspor' and AwayTeam = 'Denizlispor'; Date = '2009-04-26'; final score refers to FTHG, FTAG;",
"tied games refer FTR = 'D'; DIVIDE(COUNT(Div where FTR = 'D', HomeTeam = 'Sassuolo' or AwayTeam = 'Sassuolo'), COUNT(Div where HomeTeam = 'Sassuolo' or AwayTeam = 'Sassuolo')) as percentage;",
"consecutive games mean happen one after the other without interruption and refer to Date; tied refers to FTR = 'D';"
]
} |
{
"query": "How many Eredivisie teams have played in 2008?",
"pos": [
"Eredivisie is the name of division; 2008 refers to season; teams refer to HomeTeam;"
],
"neg": [
"Bundesliga is the name of division; final-time home-team goals refers to FTHG;",
"Bundesliga is the name of division; the most final-time home-team goals refers to MAX(FTHG);",
"Pro Vercelli and Pescara are names of teams; HomeTeam = 'Pro Vercelli'; AwayTeam = 'Pescara'; 5-2 is a score where FTHG = '5' and FTAG = '2'; Scottish League One is a name of division; games refer to Div;",
"score more than 10 goals refers to SUM(FTHG, FTAG)>10, which are short names for Final-time Home-team Goals and Final-time Away-team Goals; the first means the earliest and refers to MIN(Date);",
"matches = Div",
"Bundesliga and the Premier League are names of division; home victories refer to FTR = 'H', where H stands for home victory; SUBTRACT(COUNT(FTR = 'H' where season = 2021, name = 'Bundesliga'), COUNT(FTR = 'H' where season = 2021, name = 'Premier League'));",
"2011 refers to season; a score of 1-8 refers to FTHG = '1' and FTAG = '8';",
"Bundesliga is the name of division; tie refers to FTR = 'D', where D stands for draft;",
"home win refers to FTR = 'H', where H stands for home victory; season = '2021'; Bundesliga is a name of division; DIVIDE(COUNT(Div where FTR = 'H, season = '2021' and name = 'Bundesliga'), COUNT(Div where season = '2021' and name = 'Bundesliga')) as percentage;",
"National League is the name of division; Date = '2018-08-07'; draw refers to FTR = 'D'; games refer to Div;"
]
} |
{
"query": "What percentage of matches played on 2005/07/30 belong to the F1 division?",
"pos": [
"Division refers to Div; DIVIDE(COUNT(Div = 'F1', Date = '2005/07/30'), COUNT(Div, Date = '2005/07/30')) as percentage;"
],
"neg": [
"Premier League is name of division; season = 2021; Club Brugge is name of team; Club Brugge wins implies HomeTeam = 'Club Brugge' and FTR = 'H' and AwayTeam = 'Club Brugge' and FTR = 'A'; DIVIDE(SUM(COUNT(FTR = 'H' where HomeTeam = 'Club Brugge', name = 'Premier League', season = 2021), COUNT(FTR = 'A'where AwayTeam = 'Club Brugge', name = 'Premier League', season = 2021)), COUNT(Div where name = 'Premier League', season = 2021));",
"2011 refers to season; a score of 1-8 refers to FTHG = '1' and FTAG = '8';",
"Bundesliga and the Premier League are names of division; home victories refer to FTR = 'H', where H stands for home victory; SUBTRACT(COUNT(FTR = 'H' where season = 2021, name = 'Bundesliga'), COUNT(FTR = 'H' where season = 2021, name = 'Premier League'));",
"Bundesliga is a name of division; the highest final time goals refers to MAX(FTAG);",
"home win refers to FTR = 'H', where H stands for home victory; season = '2021'; Bundesliga is a name of division; DIVIDE(COUNT(Div where FTR = 'H, season = '2021' and name = 'Bundesliga'), COUNT(Div where season = '2021' and name = 'Bundesliga')) as percentage;",
"Scottish Premiership is a name of division; from 2006 to 2008 means seasons between 2006 and 2008;",
"National League is the name of division; Date = '2018-08-07'; draw refers to FTR = 'D'; games refer to Div;",
"2010 refers to season = 2010; SUBTRACT(DIVIDE(COUNT(Div where FTR = 'H', season = 2010), COUNT(Div where season = 2010)), COUNT(Div where FTR = 'A', season = 2010), COUNT(Div where season = 2010)) as percentage;",
"Netherlands is the name of country;",
"Bursaspor vs Denizlispor are names of teams where HomeTeam = 'Bursaspor' and AwayTeam = 'Denizlispor'; Date = '2009-04-26'; final score refers to FTHG, FTAG;"
]
} |
{
"query": "Which team was the home team in the match of the Bundesliga division on 2020/10/2?",
"pos": [
"Bundesliga is the name of division; Date = '2020/10/2';"
],
"neg": [
"National League is the name of division; Date = '2018-08-07'; draw refers to FTR = 'D'; games refer to Div;",
"Premier League is the name of division;",
"Netherlands is the name of country;",
"Division refers to Div; DIVIDE(COUNT(Div = 'F1', Date = '2005/07/30'), COUNT(Div, Date = '2005/07/30')) as percentage;",
"Pro Vercelli and Pescara are names of teams; HomeTeam = 'Pro Vercelli'; AwayTeam = 'Pescara'; 5-2 is a score where FTHG = '5' and FTAG = '2'; Scottish League One is a name of division; games refer to Div;",
"won at home refers to FTR = 'H'; January 20, 2008 refers to Date = '2008-01-20'; EC division refers to Div = 'EC';",
"5-0 is a score where FTHG = '5' and FTAG = '0'; Greece is a name of country; games refer to Div;",
"Italian means belong to country = 'Italy\";",
"Premier League is name of division; season = 2021; Club Brugge is name of team; Club Brugge wins implies HomeTeam = 'Club Brugge' and FTR = 'H' and AwayTeam = 'Club Brugge' and FTR = 'A'; DIVIDE(SUM(COUNT(FTR = 'H' where HomeTeam = 'Club Brugge', name = 'Premier League', season = 2021), COUNT(FTR = 'A'where AwayTeam = 'Club Brugge', name = 'Premier League', season = 2021)), COUNT(Div where name = 'Premier League', season = 2021));",
"Bradford team refers to HomeTeam = 'Bradford' or AwayTeam = 'Bradford';"
]
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.