text
stringlengths
146
1.06k
source
dict
### QUESTION Which young classification has general classification of Christian Vande Velde for Team Columbia and Mark Cavendish? ### CONTEXT CREATE TABLE table_name_26 (young_classification VARCHAR, sprint_classification VARCHAR, general_classification VARCHAR, team_classification VARCHAR) ### ANSWER SELECT young_classification FROM table_name_26 WHERE general_classification = "christian vande velde" AND team_classification = "team columbia" AND sprint_classification = "mark cavendish"
{ "answer": "SELECT young_classification FROM table_name_26 WHERE general_classification = \"christian vande velde\" AND team_classification = \"team columbia\" AND sprint_classification = \"mark cavendish\"", "context": "CREATE TABLE table_name_26 (young_classification VARCHAR, sprint_classification VARCHAR, general_classification VARCHAR, team_classification VARCHAR)", "question": "Which young classification has general classification of Christian Vande Velde for Team Columbia and Mark Cavendish?" }
### QUESTION What's the sum of swing to gain with a winning party 2007 of Conservative with a rank smaller than 5? ### CONTEXT CREATE TABLE table_name_70 (swing_to_gain INTEGER, winning_party_2007 VARCHAR, rank VARCHAR) ### ANSWER SELECT SUM(swing_to_gain) FROM table_name_70 WHERE winning_party_2007 = "conservative" AND rank < 5
{ "answer": "SELECT SUM(swing_to_gain) FROM table_name_70 WHERE winning_party_2007 = \"conservative\" AND rank < 5", "context": "CREATE TABLE table_name_70 (swing_to_gain INTEGER, winning_party_2007 VARCHAR, rank VARCHAR)", "question": "What's the sum of swing to gain with a winning party 2007 of Conservative with a rank smaller than 5?" }
### QUESTION What is the name of the driver with a grid less than 14, laps smaller than 53 and a Time/Retired of collision, and a Constructor of ferrari? ### CONTEXT CREATE TABLE table_name_58 (driver VARCHAR, constructor VARCHAR, time_retired VARCHAR, grid VARCHAR, laps VARCHAR) ### ANSWER SELECT driver FROM table_name_58 WHERE grid < 14 AND laps < 53 AND time_retired = "collision" AND constructor = "ferrari"
{ "answer": "SELECT driver FROM table_name_58 WHERE grid < 14 AND laps < 53 AND time_retired = \"collision\" AND constructor = \"ferrari\"", "context": "CREATE TABLE table_name_58 (driver VARCHAR, constructor VARCHAR, time_retired VARCHAR, grid VARCHAR, laps VARCHAR)", "question": "What is the name of the driver with a grid less than 14, laps smaller than 53 and a Time/Retired of collision, and a Constructor of ferrari?" }
### QUESTION When renewable electricity is 5760 (gw×h) what is the minimum amount of renewable elecrrixity without hydrogen power? ### CONTEXT CREATE TABLE table_25244412_1 (renewable_electricity_w_o_hydro__gw INTEGER, renewable_electricity__gw•h_ VARCHAR) ### ANSWER SELECT MIN(renewable_electricity_w_o_hydro__gw) AS •h_ FROM table_25244412_1 WHERE renewable_electricity__gw•h_ = 5760
{ "answer": "SELECT MIN(renewable_electricity_w_o_hydro__gw) AS •h_ FROM table_25244412_1 WHERE renewable_electricity__gw•h_ = 5760", "context": "CREATE TABLE table_25244412_1 (renewable_electricity_w_o_hydro__gw INTEGER, renewable_electricity__gw•h_ VARCHAR)", "question": "When renewable electricity is 5760 (gw×h) what is the minimum amount of renewable elecrrixity without hydrogen power?" }
### QUESTION Who was the opponent when the loss was Wells (4-7)? ### CONTEXT CREATE TABLE table_name_35 (opponent VARCHAR, loss VARCHAR) ### ANSWER SELECT opponent FROM table_name_35 WHERE loss = "wells (4-7)"
{ "answer": "SELECT opponent FROM table_name_35 WHERE loss = \"wells (4-7)\"", "context": "CREATE TABLE table_name_35 (opponent VARCHAR, loss VARCHAR)", "question": "Who was the opponent when the loss was Wells (4-7)?" }
### QUESTION Which Baltimore group has a viron shape of icosahedral, replicates in the cytoplasm, is non-enveloped, and is from the astroviridae family? ### CONTEXT CREATE TABLE table_name_13 (baltimore_group VARCHAR, family VARCHAR, replication_site VARCHAR, virion_shape VARCHAR, envelopment VARCHAR) ### ANSWER SELECT baltimore_group FROM table_name_13 WHERE virion_shape = "icosahedral" AND envelopment = "non-enveloped" AND replication_site = "cytoplasm" AND family = "astroviridae"
{ "answer": "SELECT baltimore_group FROM table_name_13 WHERE virion_shape = \"icosahedral\" AND envelopment = \"non-enveloped\" AND replication_site = \"cytoplasm\" AND family = \"astroviridae\"", "context": "CREATE TABLE table_name_13 (baltimore_group VARCHAR, family VARCHAR, replication_site VARCHAR, virion_shape VARCHAR, envelopment VARCHAR)", "question": "Which Baltimore group has a viron shape of icosahedral, replicates in the cytoplasm, is non-enveloped, and is from the astroviridae family?" }
### QUESTION What is the born-died that has office of 13 September 1229 as the entered? ### CONTEXT CREATE TABLE table_name_8 (born_died VARCHAR, entered_office VARCHAR) ### ANSWER SELECT born_died FROM table_name_8 WHERE entered_office = "13 september 1229"
{ "answer": "SELECT born_died FROM table_name_8 WHERE entered_office = \"13 september 1229\"", "context": "CREATE TABLE table_name_8 (born_died VARCHAR, entered_office VARCHAR)", "question": "What is the born-died that has office of 13 September 1229 as the entered?" }
### QUESTION What is the number of region 4 for the series of the complete seventh series? ### CONTEXT CREATE TABLE table_1337525_1 (region_4 VARCHAR, complete_series VARCHAR) ### ANSWER SELECT COUNT(region_4) FROM table_1337525_1 WHERE complete_series = "The Complete Seventh Series"
{ "answer": "SELECT COUNT(region_4) FROM table_1337525_1 WHERE complete_series = \"The Complete Seventh Series\"", "context": "CREATE TABLE table_1337525_1 (region_4 VARCHAR, complete_series VARCHAR)", "question": "What is the number of region 4 for the series of the complete seventh series?" }
### QUESTION What is Fractievoorzitter, when Lijsttrekker is "No Elections", and when Year is after 2005? ### CONTEXT CREATE TABLE table_name_80 (fractievoorzitter VARCHAR, lijsttrekker VARCHAR, year VARCHAR) ### ANSWER SELECT fractievoorzitter FROM table_name_80 WHERE lijsttrekker = "no elections" AND year > 2005
{ "answer": "SELECT fractievoorzitter FROM table_name_80 WHERE lijsttrekker = \"no elections\" AND year > 2005", "context": "CREATE TABLE table_name_80 (fractievoorzitter VARCHAR, lijsttrekker VARCHAR, year VARCHAR)", "question": "What is Fractievoorzitter, when Lijsttrekker is \"No Elections\", and when Year is after 2005?" }
### QUESTION Give me the product type, name and price for all the products supplied by supplier id 3. ### CONTEXT CREATE TABLE products (product_type_code VARCHAR, product_name VARCHAR, product_price VARCHAR, product_id VARCHAR); CREATE TABLE product_suppliers (product_id VARCHAR, supplier_id VARCHAR) ### ANSWER SELECT T2.product_type_code, T2.product_name, T2.product_price FROM product_suppliers AS T1 JOIN products AS T2 ON T1.product_id = T2.product_id WHERE T1.supplier_id = 3
{ "answer": "SELECT T2.product_type_code, T2.product_name, T2.product_price FROM product_suppliers AS T1 JOIN products AS T2 ON T1.product_id = T2.product_id WHERE T1.supplier_id = 3", "context": "CREATE TABLE products (product_type_code VARCHAR, product_name VARCHAR, product_price VARCHAR, product_id VARCHAR); CREATE TABLE product_suppliers (product_id VARCHAR, supplier_id VARCHAR)", "question": "Give me the product type, name and price for all the products supplied by supplier id 3." }
### QUESTION Who wrote the episode that received 1.83 million U.S. viewers? ### CONTEXT CREATE TABLE table_13477468_3 (written_by VARCHAR, us_viewers__millions_ VARCHAR) ### ANSWER SELECT written_by FROM table_13477468_3 WHERE us_viewers__millions_ = "1.83"
{ "answer": "SELECT written_by FROM table_13477468_3 WHERE us_viewers__millions_ = \"1.83\"", "context": "CREATE TABLE table_13477468_3 (written_by VARCHAR, us_viewers__millions_ VARCHAR)", "question": "Who wrote the episode that received 1.83 million U.S. viewers?" }
### QUESTION How many points did Newport RFC get? ### CONTEXT CREATE TABLE table_name_58 (points VARCHAR, club VARCHAR) ### ANSWER SELECT points FROM table_name_58 WHERE club = "newport rfc"
{ "answer": "SELECT points FROM table_name_58 WHERE club = \"newport rfc\"", "context": "CREATE TABLE table_name_58 (points VARCHAR, club VARCHAR)", "question": "How many points did Newport RFC get?" }
### QUESTION What is the score for the away team of north melbourne? ### CONTEXT CREATE TABLE table_name_79 (away_team VARCHAR) ### ANSWER SELECT away_team AS score FROM table_name_79 WHERE away_team = "north melbourne"
{ "answer": "SELECT away_team AS score FROM table_name_79 WHERE away_team = \"north melbourne\"", "context": "CREATE TABLE table_name_79 (away_team VARCHAR)", "question": "What is the score for the away team of north melbourne?" }
### QUESTION Which teams homeeground is Stemmemyren? ### CONTEXT CREATE TABLE table_2522473_1 (team VARCHAR, home_ground VARCHAR) ### ANSWER SELECT team FROM table_2522473_1 WHERE home_ground = "Stemmemyren"
{ "answer": "SELECT team FROM table_2522473_1 WHERE home_ground = \"Stemmemyren\"", "context": "CREATE TABLE table_2522473_1 (team VARCHAR, home_ground VARCHAR)", "question": "Which teams homeeground is Stemmemyren? " }
### QUESTION Which Played has Draws smaller than 7, and Goals for smaller than 61, and Goals against smaller than 48, and a Position of 5? ### CONTEXT CREATE TABLE table_name_29 (played INTEGER, position VARCHAR, goals_against VARCHAR, draws VARCHAR, goals_for VARCHAR) ### ANSWER SELECT MAX(played) FROM table_name_29 WHERE draws < 7 AND goals_for < 61 AND goals_against < 48 AND position = 5
{ "answer": "SELECT MAX(played) FROM table_name_29 WHERE draws < 7 AND goals_for < 61 AND goals_against < 48 AND position = 5", "context": "CREATE TABLE table_name_29 (played INTEGER, position VARCHAR, goals_against VARCHAR, draws VARCHAR, goals_for VARCHAR)", "question": "Which Played has Draws smaller than 7, and Goals for smaller than 61, and Goals against smaller than 48, and a Position of 5?" }
### QUESTION What are the names of directors who directed movies with 5 star rating? Also return the title of these movies. ### CONTEXT CREATE TABLE Movie (director VARCHAR, title VARCHAR, mID VARCHAR); CREATE TABLE Rating (mID VARCHAR, stars VARCHAR) ### ANSWER SELECT T1.director, T1.title FROM Movie AS T1 JOIN Rating AS T2 ON T1.mID = T2.mID WHERE T2.stars = 5
{ "answer": "SELECT T1.director, T1.title FROM Movie AS T1 JOIN Rating AS T2 ON T1.mID = T2.mID WHERE T2.stars = 5", "context": "CREATE TABLE Movie (director VARCHAR, title VARCHAR, mID VARCHAR); CREATE TABLE Rating (mID VARCHAR, stars VARCHAR)", "question": "What are the names of directors who directed movies with 5 star rating? Also return the title of these movies." }
### QUESTION What is Population density (per km²), when Name is Antigua and Barbuda, and when Capital is St. John's? ### CONTEXT CREATE TABLE table_name_81 (population_density__per_km²_ VARCHAR, name VARCHAR, capital VARCHAR) ### ANSWER SELECT population_density__per_km²_ FROM table_name_81 WHERE name = "antigua and barbuda" AND capital = "st. john's"
{ "answer": "SELECT population_density__per_km²_ FROM table_name_81 WHERE name = \"antigua and barbuda\" AND capital = \"st. john's\"", "context": "CREATE TABLE table_name_81 (population_density__per_km²_ VARCHAR, name VARCHAR, capital VARCHAR)", "question": "What is Population density (per km²), when Name is Antigua and Barbuda, and when Capital is St. John's?" }
### QUESTION Name the date for 2004 afc asian cup qualifier ### CONTEXT CREATE TABLE table_name_23 (date VARCHAR, competition VARCHAR) ### ANSWER SELECT date FROM table_name_23 WHERE competition = "2004 afc asian cup qualifier"
{ "answer": "SELECT date FROM table_name_23 WHERE competition = \"2004 afc asian cup qualifier\"", "context": "CREATE TABLE table_name_23 (date VARCHAR, competition VARCHAR)", "question": "Name the date for 2004 afc asian cup qualifier" }
### QUESTION Which Year has a Venue of atlanta, united states? ### CONTEXT CREATE TABLE table_name_13 (year VARCHAR, venue VARCHAR) ### ANSWER SELECT year FROM table_name_13 WHERE venue = "atlanta, united states"
{ "answer": "SELECT year FROM table_name_13 WHERE venue = \"atlanta, united states\"", "context": "CREATE TABLE table_name_13 (year VARCHAR, venue VARCHAR)", "question": "Which Year has a Venue of atlanta, united states?" }
### QUESTION Which model was made from 2001–2004, with a Torque of n·m (lb·ft) @ 3750, and an Engine code of n42b18 / n46b18? ### CONTEXT CREATE TABLE table_name_72 (model VARCHAR, engine_code VARCHAR, years VARCHAR, torque VARCHAR) ### ANSWER SELECT model FROM table_name_72 WHERE years = "2001–2004" AND torque = "n·m (lb·ft) @ 3750" AND engine_code = "n42b18 / n46b18"
{ "answer": "SELECT model FROM table_name_72 WHERE years = \"2001–2004\" AND torque = \"n·m (lb·ft) @ 3750\" AND engine_code = \"n42b18 / n46b18\"", "context": "CREATE TABLE table_name_72 (model VARCHAR, engine_code VARCHAR, years VARCHAR, torque VARCHAR)", "question": "Which model was made from 2001–2004, with a Torque of n·m (lb·ft) @ 3750, and an Engine code of n42b18 / n46b18?" }
### QUESTION Show the theme for exhibitions with both records of an attendance below 100 and above 500. ### CONTEXT CREATE TABLE exhibition (theme VARCHAR, exhibition_id VARCHAR); CREATE TABLE exhibition_record (exhibition_id VARCHAR, attendance INTEGER) ### ANSWER SELECT T2.theme FROM exhibition_record AS T1 JOIN exhibition AS T2 ON T1.exhibition_id = T2.exhibition_id WHERE T1.attendance < 100 INTERSECT SELECT T2.theme FROM exhibition_record AS T1 JOIN exhibition AS T2 ON T1.exhibition_id = T2.exhibition_id WHERE T1.attendance > 500
{ "answer": "SELECT T2.theme FROM exhibition_record AS T1 JOIN exhibition AS T2 ON T1.exhibition_id = T2.exhibition_id WHERE T1.attendance < 100 INTERSECT SELECT T2.theme FROM exhibition_record AS T1 JOIN exhibition AS T2 ON T1.exhibition_id = T2.exhibition_id WHERE T1.attendance > 500", "context": "CREATE TABLE exhibition (theme VARCHAR, exhibition_id VARCHAR); CREATE TABLE exhibition_record (exhibition_id VARCHAR, attendance INTEGER)", "question": "Show the theme for exhibitions with both records of an attendance below 100 and above 500." }
### QUESTION What is the primary artillery for the 1,051 ships? ### CONTEXT CREATE TABLE table_23614702_2 (main_artillery VARCHAR, tons___lton__ VARCHAR) ### ANSWER SELECT main_artillery FROM table_23614702_2 WHERE tons___lton__ = "1,051"
{ "answer": "SELECT main_artillery FROM table_23614702_2 WHERE tons___lton__ = \"1,051\"", "context": "CREATE TABLE table_23614702_2 (main_artillery VARCHAR, tons___lton__ VARCHAR)", "question": "What is the primary artillery for the 1,051 ships?" }
### QUESTION Who is the Elector with a Cardinalatial title of Priest of S. Sabina and Archbishop of Reims? ### CONTEXT CREATE TABLE table_name_91 (elector VARCHAR, cardinalatial_title VARCHAR) ### ANSWER SELECT elector FROM table_name_91 WHERE cardinalatial_title = "priest of s. sabina and archbishop of reims"
{ "answer": "SELECT elector FROM table_name_91 WHERE cardinalatial_title = \"priest of s. sabina and archbishop of reims\"", "context": "CREATE TABLE table_name_91 (elector VARCHAR, cardinalatial_title VARCHAR)", "question": "Who is the Elector with a Cardinalatial title of Priest of S. Sabina and Archbishop of Reims?" }
### QUESTION What is the total fat with a smoke point of °c () and 37g of polyunsaturated fat? ### CONTEXT CREATE TABLE table_name_33 (total_fat VARCHAR, smoke_point VARCHAR, polyunsaturated_fat VARCHAR) ### ANSWER SELECT total_fat FROM table_name_33 WHERE smoke_point = "°c ()" AND polyunsaturated_fat = "37g"
{ "answer": "SELECT total_fat FROM table_name_33 WHERE smoke_point = \"°c ()\" AND polyunsaturated_fat = \"37g\"", "context": "CREATE TABLE table_name_33 (total_fat VARCHAR, smoke_point VARCHAR, polyunsaturated_fat VARCHAR)", "question": "What is the total fat with a smoke point of °c () and 37g of polyunsaturated fat?" }
### QUESTION What is the Opponent name at memorial stadium • minneapolis, mn on 10/20/1928? ### CONTEXT CREATE TABLE table_name_25 (opponent_number VARCHAR, site VARCHAR, date VARCHAR) ### ANSWER SELECT opponent_number FROM table_name_25 WHERE site = "memorial stadium • minneapolis, mn" AND date = "10/20/1928"
{ "answer": "SELECT opponent_number FROM table_name_25 WHERE site = \"memorial stadium • minneapolis, mn\" AND date = \"10/20/1928\"", "context": "CREATE TABLE table_name_25 (opponent_number VARCHAR, site VARCHAR, date VARCHAR)", "question": "What is the Opponent name at memorial stadium • minneapolis, mn on 10/20/1928?" }
### QUESTION What rank is from Japan, has a lane smaller than 7 and a heat smaller than 3? ### CONTEXT CREATE TABLE table_name_52 (rank INTEGER, heat VARCHAR, nationality VARCHAR, lane VARCHAR) ### ANSWER SELECT SUM(rank) FROM table_name_52 WHERE nationality = "japan" AND lane < 7 AND heat < 3
{ "answer": "SELECT SUM(rank) FROM table_name_52 WHERE nationality = \"japan\" AND lane < 7 AND heat < 3", "context": "CREATE TABLE table_name_52 (rank INTEGER, heat VARCHAR, nationality VARCHAR, lane VARCHAR)", "question": "What rank is from Japan, has a lane smaller than 7 and a heat smaller than 3?" }
### QUESTION What is the team classification with a winner of Beat Zberg, and a points classification of José María Jiménez. ### CONTEXT CREATE TABLE table_name_13 (team_classification VARCHAR, points_classification VARCHAR, winner VARCHAR) ### ANSWER SELECT team_classification FROM table_name_13 WHERE points_classification = "josé maría jiménez" AND winner = "beat zberg"
{ "answer": "SELECT team_classification FROM table_name_13 WHERE points_classification = \"josé maría jiménez\" AND winner = \"beat zberg\"", "context": "CREATE TABLE table_name_13 (team_classification VARCHAR, points_classification VARCHAR, winner VARCHAR)", "question": "What is the team classification with a winner of Beat Zberg, and a points classification of José María Jiménez." }
### QUESTION What is the epa rated combined fuel economy for the all-electric vehicle with dirty electric grid rocky mountains (denver) of 330 g/mi (205 g/km)? ### CONTEXT CREATE TABLE table_23840623_4 (epa_rated_combined_fuel_economy VARCHAR, operating_mode VARCHAR, dirty_electric_grid_rocky_mountains__denver_ VARCHAR) ### ANSWER SELECT epa_rated_combined_fuel_economy FROM table_23840623_4 WHERE operating_mode = "All-electric" AND dirty_electric_grid_rocky_mountains__denver_ = "330 g/mi (205 g/km)"
{ "answer": "SELECT epa_rated_combined_fuel_economy FROM table_23840623_4 WHERE operating_mode = \"All-electric\" AND dirty_electric_grid_rocky_mountains__denver_ = \"330 g/mi (205 g/km)\"", "context": "CREATE TABLE table_23840623_4 (epa_rated_combined_fuel_economy VARCHAR, operating_mode VARCHAR, dirty_electric_grid_rocky_mountains__denver_ VARCHAR)", "question": "What is the epa rated combined fuel economy for the all-electric vehicle with dirty electric grid rocky mountains (denver) of 330 g/mi (205 g/km)?" }
### QUESTION Which Max 1-min wind mph (km/h) that has Dates active on september22– september28? ### CONTEXT CREATE TABLE table_name_26 (max_1_min_wind_mph__km_h_ VARCHAR, dates_active VARCHAR) ### ANSWER SELECT max_1_min_wind_mph__km_h_ FROM table_name_26 WHERE dates_active = "september22– september28"
{ "answer": "SELECT max_1_min_wind_mph__km_h_ FROM table_name_26 WHERE dates_active = \"september22– september28\"", "context": "CREATE TABLE table_name_26 (max_1_min_wind_mph__km_h_ VARCHAR, dates_active VARCHAR)", "question": "Which Max 1-min wind mph (km/h) that has Dates active on september22– september28?" }
### QUESTION When did the Argentine Grand Prix race? ### CONTEXT CREATE TABLE table_name_84 (date VARCHAR, race VARCHAR) ### ANSWER SELECT date FROM table_name_84 WHERE race = "argentine grand prix"
{ "answer": "SELECT date FROM table_name_84 WHERE race = \"argentine grand prix\"", "context": "CREATE TABLE table_name_84 (date VARCHAR, race VARCHAR)", "question": "When did the Argentine Grand Prix race?" }
### QUESTION Who is the runner-up for season 2011–12? ### CONTEXT CREATE TABLE table_25058269_1 (runner_up VARCHAR, season VARCHAR) ### ANSWER SELECT runner_up FROM table_25058269_1 WHERE season = "2011–12"
{ "answer": "SELECT runner_up FROM table_25058269_1 WHERE season = \"2011–12\"", "context": "CREATE TABLE table_25058269_1 (runner_up VARCHAR, season VARCHAR)", "question": "Who is the runner-up for season 2011–12?" }
### QUESTION What was the starting date for the Minister for agriculture, fisheries and forestry that is in order number 25?? ### CONTEXT CREATE TABLE table_name_47 (term_start VARCHAR, title VARCHAR, order VARCHAR) ### ANSWER SELECT term_start FROM table_name_47 WHERE title = "minister for agriculture, fisheries and forestry" AND order = "25"
{ "answer": "SELECT term_start FROM table_name_47 WHERE title = \"minister for agriculture, fisheries and forestry\" AND order = \"25\"", "context": "CREATE TABLE table_name_47 (term_start VARCHAR, title VARCHAR, order VARCHAR)", "question": "What was the starting date for the Minister for agriculture, fisheries and forestry that is in order number 25??" }
### QUESTION How many goals have a Lokomotiv Plovdiv club and goals against larger than 58? ### CONTEXT CREATE TABLE table_name_80 (goals_for VARCHAR, club VARCHAR, goals_against VARCHAR) ### ANSWER SELECT COUNT(goals_for) FROM table_name_80 WHERE club = "lokomotiv plovdiv" AND goals_against > 58
{ "answer": "SELECT COUNT(goals_for) FROM table_name_80 WHERE club = \"lokomotiv plovdiv\" AND goals_against > 58", "context": "CREATE TABLE table_name_80 (goals_for VARCHAR, club VARCHAR, goals_against VARCHAR)", "question": "How many goals have a Lokomotiv Plovdiv club and goals against larger than 58?" }
### QUESTION What English word has the same meaning as the German word "german"? ### CONTEXT CREATE TABLE table_name_3 (english VARCHAR) ### ANSWER SELECT english FROM table_name_3 WHERE "german" = "german"
{ "answer": "SELECT english FROM table_name_3 WHERE \"german\" = \"german\"", "context": "CREATE TABLE table_name_3 (english VARCHAR)", "question": "What English word has the same meaning as the German word \"german\"?" }
### QUESTION What is the total number of products that are in orders with status "Cancelled"? ### CONTEXT CREATE TABLE customer_orders (order_id VARCHAR, order_status VARCHAR); CREATE TABLE order_items (order_quantity INTEGER, order_id VARCHAR) ### ANSWER SELECT SUM(t2.order_quantity) FROM customer_orders AS t1 JOIN order_items AS t2 ON t1.order_id = t2.order_id WHERE t1.order_status = "Cancelled"
{ "answer": "SELECT SUM(t2.order_quantity) FROM customer_orders AS t1 JOIN order_items AS t2 ON t1.order_id = t2.order_id WHERE t1.order_status = \"Cancelled\"", "context": "CREATE TABLE customer_orders (order_id VARCHAR, order_status VARCHAR); CREATE TABLE order_items (order_quantity INTEGER, order_id VARCHAR)", "question": "What is the total number of products that are in orders with status \"Cancelled\"?" }
### QUESTION Who had the high assists when the game was at American Airlines Center 20,223? ### CONTEXT CREATE TABLE table_name_8 (high_assists VARCHAR, location_attendance VARCHAR) ### ANSWER SELECT high_assists FROM table_name_8 WHERE location_attendance = "american airlines center 20,223"
{ "answer": "SELECT high_assists FROM table_name_8 WHERE location_attendance = \"american airlines center 20,223\"", "context": "CREATE TABLE table_name_8 (high_assists VARCHAR, location_attendance VARCHAR)", "question": "Who had the high assists when the game was at American Airlines Center 20,223?" }
### QUESTION What is Caps, when Province / Club is DRFC, and when Position is Center? ### CONTEXT CREATE TABLE table_name_49 (caps VARCHAR, province___club VARCHAR, position VARCHAR) ### ANSWER SELECT caps FROM table_name_49 WHERE province___club = "drfc" AND position = "center"
{ "answer": "SELECT caps FROM table_name_49 WHERE province___club = \"drfc\" AND position = \"center\"", "context": "CREATE TABLE table_name_49 (caps VARCHAR, province___club VARCHAR, position VARCHAR)", "question": "What is Caps, when Province / Club is DRFC, and when Position is Center?" }
### QUESTION in what year were 2 points scored? ### CONTEXT CREATE TABLE table_name_19 (year INTEGER, points VARCHAR) ### ANSWER SELECT MAX(year) FROM table_name_19 WHERE points = "2"
{ "answer": "SELECT MAX(year) FROM table_name_19 WHERE points = \"2\"", "context": "CREATE TABLE table_name_19 (year INTEGER, points VARCHAR)", "question": "in what year were 2 points scored?" }
### QUESTION How much was the prize money for rwe-sporthalle, mülheim ? ### CONTEXT CREATE TABLE table_18828487_1 (prize_fund VARCHAR, venue VARCHAR) ### ANSWER SELECT prize_fund FROM table_18828487_1 WHERE venue = "RWE-Sporthalle, Mülheim"
{ "answer": "SELECT prize_fund FROM table_18828487_1 WHERE venue = \"RWE-Sporthalle, Mülheim\"", "context": "CREATE TABLE table_18828487_1 (prize_fund VARCHAR, venue VARCHAR)", "question": "How much was the prize money for rwe-sporthalle, mülheim ?" }
### QUESTION Name the authority for te akau with roll less than 254 and decile of 8 ### CONTEXT CREATE TABLE table_name_64 (authority VARCHAR, area VARCHAR, roll VARCHAR, decile VARCHAR) ### ANSWER SELECT authority FROM table_name_64 WHERE roll < 254 AND decile = "8" AND area = "te akau"
{ "answer": "SELECT authority FROM table_name_64 WHERE roll < 254 AND decile = \"8\" AND area = \"te akau\"", "context": "CREATE TABLE table_name_64 (authority VARCHAR, area VARCHAR, roll VARCHAR, decile VARCHAR)", "question": "Name the authority for te akau with roll less than 254 and decile of 8" }
### QUESTION On what date did the manager for PSIS Semarang take over for the manager that was sacked? ### CONTEXT CREATE TABLE table_name_54 (date_of_replacement VARCHAR, reason_of_departure VARCHAR, team VARCHAR) ### ANSWER SELECT date_of_replacement FROM table_name_54 WHERE reason_of_departure = "sacked" AND team = "psis semarang"
{ "answer": "SELECT date_of_replacement FROM table_name_54 WHERE reason_of_departure = \"sacked\" AND team = \"psis semarang\"", "context": "CREATE TABLE table_name_54 (date_of_replacement VARCHAR, reason_of_departure VARCHAR, team VARCHAR)", "question": "On what date did the manager for PSIS Semarang take over for the manager that was sacked?" }
### QUESTION What is Date, when Effect is "Shot Down", and when Place is "South of Stanley Airport"? ### CONTEXT CREATE TABLE table_name_82 (date VARCHAR, effect VARCHAR, place VARCHAR) ### ANSWER SELECT date FROM table_name_82 WHERE effect = "shot down" AND place = "south of stanley airport"
{ "answer": "SELECT date FROM table_name_82 WHERE effect = \"shot down\" AND place = \"south of stanley airport\"", "context": "CREATE TABLE table_name_82 (date VARCHAR, effect VARCHAR, place VARCHAR)", "question": "What is Date, when Effect is \"Shot Down\", and when Place is \"South of Stanley Airport\"?" }
### QUESTION Find the location and all games score of the school that has Clemson as its team name. ### CONTEXT CREATE TABLE basketball_match (All_Games VARCHAR, school_id VARCHAR); CREATE TABLE university (location VARCHAR, school_id VARCHAR) ### ANSWER SELECT t2.All_Games, t1.location FROM university AS t1 JOIN basketball_match AS t2 ON t1.school_id = t2.school_id WHERE team_name = 'Clemson'
{ "answer": "SELECT t2.All_Games, t1.location FROM university AS t1 JOIN basketball_match AS t2 ON t1.school_id = t2.school_id WHERE team_name = 'Clemson'", "context": "CREATE TABLE basketball_match (All_Games VARCHAR, school_id VARCHAR); CREATE TABLE university (location VARCHAR, school_id VARCHAR)", "question": "Find the location and all games score of the school that has Clemson as its team name." }
### QUESTION Name the round 16 for did not advance and light flyweight ### CONTEXT CREATE TABLE table_17417383_6 (round_of_16 VARCHAR, quarterfinals VARCHAR, event VARCHAR) ### ANSWER SELECT round_of_16 FROM table_17417383_6 WHERE quarterfinals = "Did not advance" AND event = "Light flyweight"
{ "answer": "SELECT round_of_16 FROM table_17417383_6 WHERE quarterfinals = \"Did not advance\" AND event = \"Light flyweight\"", "context": "CREATE TABLE table_17417383_6 (round_of_16 VARCHAR, quarterfinals VARCHAR, event VARCHAR)", "question": "Name the round 16 for did not advance and light flyweight" }
### QUESTION How many synthesis are there for 5~16.2 pw per cycle (calculated) output power? ### CONTEXT CREATE TABLE table_30057479_1 (synthesis VARCHAR, output_power VARCHAR) ### ANSWER SELECT COUNT(synthesis) FROM table_30057479_1 WHERE output_power = "5~16.2 pW per cycle (calculated)"
{ "answer": "SELECT COUNT(synthesis) FROM table_30057479_1 WHERE output_power = \"5~16.2 pW per cycle (calculated)\"", "context": "CREATE TABLE table_30057479_1 (synthesis VARCHAR, output_power VARCHAR)", "question": "How many synthesis are there for 5~16.2 pw per cycle (calculated) output power?" }
### QUESTION How many dams are there in the Nome (CA) area? ### CONTEXT CREATE TABLE table_17978052_2 (_number_s_dam_and_gnis_query_link INTEGER, borough_or_census_area VARCHAR) ### ANSWER SELECT MIN(_number_s_dam_and_gnis_query_link) FROM table_17978052_2 WHERE borough_or_census_area = "Nome (CA)"
{ "answer": "SELECT MIN(_number_s_dam_and_gnis_query_link) FROM table_17978052_2 WHERE borough_or_census_area = \"Nome (CA)\"", "context": "CREATE TABLE table_17978052_2 (_number_s_dam_and_gnis_query_link INTEGER, borough_or_census_area VARCHAR)", "question": "How many dams are there in the Nome (CA) area?" }
### QUESTION Please list support, consider, and oppose rates for each candidate in ascending order by unsure rate. ### CONTEXT CREATE TABLE candidate (Support_rate VARCHAR, Consider_rate VARCHAR, Oppose_rate VARCHAR, unsure_rate VARCHAR) ### ANSWER SELECT Support_rate, Consider_rate, Oppose_rate FROM candidate ORDER BY unsure_rate
{ "answer": "SELECT Support_rate, Consider_rate, Oppose_rate FROM candidate ORDER BY unsure_rate", "context": "CREATE TABLE candidate (Support_rate VARCHAR, Consider_rate VARCHAR, Oppose_rate VARCHAR, unsure_rate VARCHAR)", "question": "Please list support, consider, and oppose rates for each candidate in ascending order by unsure rate." }
### QUESTION What is the average rank of a swimmer in lane 1? ### CONTEXT CREATE TABLE table_name_79 (rank INTEGER, lane VARCHAR) ### ANSWER SELECT AVG(rank) FROM table_name_79 WHERE lane = 1
{ "answer": "SELECT AVG(rank) FROM table_name_79 WHERE lane = 1", "context": "CREATE TABLE table_name_79 (rank INTEGER, lane VARCHAR)", "question": "What is the average rank of a swimmer in lane 1?" }
### QUESTION what name has an appointed year of 2009 and years until mandatory retirement of 13 years? ### CONTEXT CREATE TABLE table_name_40 (name VARCHAR, year_appointed VARCHAR, years_until_mandatory_retirement VARCHAR) ### ANSWER SELECT name FROM table_name_40 WHERE year_appointed = 2009 AND years_until_mandatory_retirement = "13 years"
{ "answer": "SELECT name FROM table_name_40 WHERE year_appointed = 2009 AND years_until_mandatory_retirement = \"13 years\"", "context": "CREATE TABLE table_name_40 (name VARCHAR, year_appointed VARCHAR, years_until_mandatory_retirement VARCHAR)", "question": "what name has an appointed year of 2009 and years until mandatory retirement of 13 years?" }
### QUESTION Show the names of players and names of their coaches. ### CONTEXT CREATE TABLE player (Player_name VARCHAR, Player_ID VARCHAR); CREATE TABLE coach (coach_name VARCHAR, Coach_ID VARCHAR); CREATE TABLE player_coach (Coach_ID VARCHAR, Player_ID VARCHAR) ### ANSWER SELECT T3.Player_name, T2.coach_name FROM player_coach AS T1 JOIN coach AS T2 ON T1.Coach_ID = T2.Coach_ID JOIN player AS T3 ON T1.Player_ID = T3.Player_ID
{ "answer": "SELECT T3.Player_name, T2.coach_name FROM player_coach AS T1 JOIN coach AS T2 ON T1.Coach_ID = T2.Coach_ID JOIN player AS T3 ON T1.Player_ID = T3.Player_ID", "context": "CREATE TABLE player (Player_name VARCHAR, Player_ID VARCHAR); CREATE TABLE coach (coach_name VARCHAR, Coach_ID VARCHAR); CREATE TABLE player_coach (Coach_ID VARCHAR, Player_ID VARCHAR)", "question": "Show the names of players and names of their coaches." }
### QUESTION What position is the player that is from Canada and on the Boston Bruins ### CONTEXT CREATE TABLE table_name_51 (position VARCHAR, nationality VARCHAR, nhl_team VARCHAR) ### ANSWER SELECT position FROM table_name_51 WHERE nationality = "canada" AND nhl_team = "boston bruins"
{ "answer": "SELECT position FROM table_name_51 WHERE nationality = \"canada\" AND nhl_team = \"boston bruins\"", "context": "CREATE TABLE table_name_51 (position VARCHAR, nationality VARCHAR, nhl_team VARCHAR)", "question": "What position is the player that is from Canada and on the Boston Bruins" }
### QUESTION Who were the authors of the episode first broadcast on August 10, 2012? ### CONTEXT CREATE TABLE table_28081876_6 (written_by VARCHAR, original_air_date VARCHAR) ### ANSWER SELECT written_by FROM table_28081876_6 WHERE original_air_date = "August 10, 2012"
{ "answer": "SELECT written_by FROM table_28081876_6 WHERE original_air_date = \"August 10, 2012\"", "context": "CREATE TABLE table_28081876_6 (written_by VARCHAR, original_air_date VARCHAR)", "question": "Who were the authors of the episode first broadcast on August 10, 2012?" }
### QUESTION What country made the Flieger-Doppelpistole 1919? ### CONTEXT CREATE TABLE table_29474407_11 (country_of_origin VARCHAR, name__designation VARCHAR) ### ANSWER SELECT country_of_origin FROM table_29474407_11 WHERE name__designation = "Flieger-Doppelpistole 1919"
{ "answer": "SELECT country_of_origin FROM table_29474407_11 WHERE name__designation = \"Flieger-Doppelpistole 1919\"", "context": "CREATE TABLE table_29474407_11 (country_of_origin VARCHAR, name__designation VARCHAR)", "question": "What country made the Flieger-Doppelpistole 1919?" }
### QUESTION What is the truck used by Brett Moffitt, from Hattori Racing Enterprises? ### CONTEXT CREATE TABLE table_name_23 (truck_s_ VARCHAR, driver_s_ VARCHAR, team VARCHAR) ### ANSWER SELECT truck_s_ FROM table_name_23 WHERE driver_s_ = "brett moffitt" AND team = "hattori racing enterprises"
{ "answer": "SELECT truck_s_ FROM table_name_23 WHERE driver_s_ = \"brett moffitt\" AND team = \"hattori racing enterprises\"", "context": "CREATE TABLE table_name_23 (truck_s_ VARCHAR, driver_s_ VARCHAR, team VARCHAR)", "question": "What is the truck used by Brett Moffitt, from Hattori Racing Enterprises?" }
### QUESTION What score did Australia get? ### CONTEXT CREATE TABLE table_name_85 (score VARCHAR, country VARCHAR) ### ANSWER SELECT score FROM table_name_85 WHERE country = "australia"
{ "answer": "SELECT score FROM table_name_85 WHERE country = \"australia\"", "context": "CREATE TABLE table_name_85 (score VARCHAR, country VARCHAR)", "question": "What score did Australia get?" }
### QUESTION What was the transfer fee when the moving from was celta de Vigo? ### CONTEXT CREATE TABLE table_name_25 (transfer_fee VARCHAR, moving_from VARCHAR) ### ANSWER SELECT transfer_fee FROM table_name_25 WHERE moving_from = "celta de vigo"
{ "answer": "SELECT transfer_fee FROM table_name_25 WHERE moving_from = \"celta de vigo\"", "context": "CREATE TABLE table_name_25 (transfer_fee VARCHAR, moving_from VARCHAR)", "question": "What was the transfer fee when the moving from was celta de Vigo?" }
### QUESTION What was the pick number for the person from the United States who as drafted to the SF position from North Carolina? ### CONTEXT CREATE TABLE table_name_78 (pick VARCHAR, position VARCHAR, nationality VARCHAR, college_high_school_club VARCHAR) ### ANSWER SELECT pick FROM table_name_78 WHERE nationality = "united states" AND college_high_school_club = "north carolina" AND position = "sf"
{ "answer": "SELECT pick FROM table_name_78 WHERE nationality = \"united states\" AND college_high_school_club = \"north carolina\" AND position = \"sf\"", "context": "CREATE TABLE table_name_78 (pick VARCHAR, position VARCHAR, nationality VARCHAR, college_high_school_club VARCHAR)", "question": "What was the pick number for the person from the United States who as drafted to the SF position from North Carolina?" }
### QUESTION What was the pick # of the player who has a hometown/school of Atlanta, GA? ### CONTEXT CREATE TABLE table_name_62 (pick INTEGER, hometown_school VARCHAR) ### ANSWER SELECT AVG(pick) FROM table_name_62 WHERE hometown_school = "atlanta, ga"
{ "answer": "SELECT AVG(pick) FROM table_name_62 WHERE hometown_school = \"atlanta, ga\"", "context": "CREATE TABLE table_name_62 (pick INTEGER, hometown_school VARCHAR)", "question": "What was the pick # of the player who has a hometown/school of Atlanta, GA?" }
### QUESTION What was the titles of the episodes written by ken lazebnik? ### CONTEXT CREATE TABLE table_11111116_7 (title VARCHAR, written_by VARCHAR) ### ANSWER SELECT title FROM table_11111116_7 WHERE written_by = "Ken LaZebnik"
{ "answer": "SELECT title FROM table_11111116_7 WHERE written_by = \"Ken LaZebnik\"", "context": "CREATE TABLE table_11111116_7 (title VARCHAR, written_by VARCHAR)", "question": "What was the titles of the episodes written by ken lazebnik?" }
### QUESTION What is Sum of Score, when Player is Vijay Singh? ### CONTEXT CREATE TABLE table_name_18 (score INTEGER, player VARCHAR) ### ANSWER SELECT SUM(score) FROM table_name_18 WHERE player = "vijay singh"
{ "answer": "SELECT SUM(score) FROM table_name_18 WHERE player = \"vijay singh\"", "context": "CREATE TABLE table_name_18 (score INTEGER, player VARCHAR)", "question": "What is Sum of Score, when Player is Vijay Singh?" }
### QUESTION Which Constellation has an Apparent magnitude larger that 7.7, and an NGC number of 7777 ### CONTEXT CREATE TABLE table_name_60 (constellation VARCHAR, apparent_magnitude VARCHAR, ngc_number VARCHAR) ### ANSWER SELECT constellation FROM table_name_60 WHERE apparent_magnitude > 7.7 AND ngc_number = 7777
{ "answer": "SELECT constellation FROM table_name_60 WHERE apparent_magnitude > 7.7 AND ngc_number = 7777", "context": "CREATE TABLE table_name_60 (constellation VARCHAR, apparent_magnitude VARCHAR, ngc_number VARCHAR)", "question": "Which Constellation has an Apparent magnitude larger that 7.7, and an NGC number of 7777" }
### QUESTION Which film title used in nomination has vinterkyss as the original title? ### CONTEXT CREATE TABLE table_21655290_1 (film_title_used_in_nomination VARCHAR, original_title VARCHAR) ### ANSWER SELECT film_title_used_in_nomination FROM table_21655290_1 WHERE original_title = "Vinterkyss"
{ "answer": "SELECT film_title_used_in_nomination FROM table_21655290_1 WHERE original_title = \"Vinterkyss\"", "context": "CREATE TABLE table_21655290_1 (film_title_used_in_nomination VARCHAR, original_title VARCHAR)", "question": "Which film title used in nomination has vinterkyss as the original title?" }
### QUESTION Which party had a result of retired democratic hold and a first elected earlier than 1884 with an incumbent of samuel dibble? ### CONTEXT CREATE TABLE table_name_32 (party VARCHAR, incumbent VARCHAR, result VARCHAR, first_elected VARCHAR) ### ANSWER SELECT party FROM table_name_32 WHERE result = "retired democratic hold" AND first_elected < 1884 AND incumbent = "samuel dibble"
{ "answer": "SELECT party FROM table_name_32 WHERE result = \"retired democratic hold\" AND first_elected < 1884 AND incumbent = \"samuel dibble\"", "context": "CREATE TABLE table_name_32 (party VARCHAR, incumbent VARCHAR, result VARCHAR, first_elected VARCHAR)", "question": "Which party had a result of retired democratic hold and a first elected earlier than 1884 with an incumbent of samuel dibble?" }
### QUESTION What was the position of the Slavia team in 1998? ### CONTEXT CREATE TABLE table_name_10 (position_in_1998 VARCHAR, team VARCHAR) ### ANSWER SELECT position_in_1998 FROM table_name_10 WHERE team = "slavia"
{ "answer": "SELECT position_in_1998 FROM table_name_10 WHERE team = \"slavia\"", "context": "CREATE TABLE table_name_10 (position_in_1998 VARCHAR, team VARCHAR)", "question": "What was the position of the Slavia team in 1998?" }
### QUESTION What was the 6-4 score's maximum attendance? ### CONTEXT CREATE TABLE table_27537518_4 (attendance INTEGER, score VARCHAR) ### ANSWER SELECT MAX(attendance) FROM table_27537518_4 WHERE score = "6-4"
{ "answer": "SELECT MAX(attendance) FROM table_27537518_4 WHERE score = \"6-4\"", "context": "CREATE TABLE table_27537518_4 (attendance INTEGER, score VARCHAR)", "question": "What was the 6-4 score's maximum attendance?" }
### QUESTION What is the number of tickets sold and available for the concert at Long Beach Arena? ### CONTEXT CREATE TABLE table_name_18 (tickets_sold___available VARCHAR, venue VARCHAR) ### ANSWER SELECT tickets_sold___available FROM table_name_18 WHERE venue = "long beach arena"
{ "answer": "SELECT tickets_sold___available FROM table_name_18 WHERE venue = \"long beach arena\"", "context": "CREATE TABLE table_name_18 (tickets_sold___available VARCHAR, venue VARCHAR)", "question": "What is the number of tickets sold and available for the concert at Long Beach Arena?" }
### QUESTION What are the remarks for the entry ranked greater than 2 with a skyteam (2012) alliance? ### CONTEXT CREATE TABLE table_name_23 (remarks VARCHAR, rank VARCHAR, alliance VARCHAR) ### ANSWER SELECT remarks FROM table_name_23 WHERE rank > 2 AND alliance = "skyteam (2012)"
{ "answer": "SELECT remarks FROM table_name_23 WHERE rank > 2 AND alliance = \"skyteam (2012)\"", "context": "CREATE TABLE table_name_23 (remarks VARCHAR, rank VARCHAR, alliance VARCHAR)", "question": "What are the remarks for the entry ranked greater than 2 with a skyteam (2012) alliance?" }
### QUESTION What is the range (varies by payload weight) for the unknown player? ### CONTEXT CREATE TABLE table_name_34 (range__varies_with_payload_weight_ VARCHAR, payload VARCHAR) ### ANSWER SELECT range__varies_with_payload_weight_ FROM table_name_34 WHERE payload = "unknown"
{ "answer": "SELECT range__varies_with_payload_weight_ FROM table_name_34 WHERE payload = \"unknown\"", "context": "CREATE TABLE table_name_34 (range__varies_with_payload_weight_ VARCHAR, payload VARCHAR)", "question": "What is the range (varies by payload weight) for the unknown player?" }
### QUESTION Which Position has a College/Junior/Club Team (League) of estevan bruins (wchl), and a Round of 3? ### CONTEXT CREATE TABLE table_name_11 (position VARCHAR, college_junior_club_team__league_ VARCHAR, round VARCHAR) ### ANSWER SELECT position FROM table_name_11 WHERE college_junior_club_team__league_ = "estevan bruins (wchl)" AND round = 3
{ "answer": "SELECT position FROM table_name_11 WHERE college_junior_club_team__league_ = \"estevan bruins (wchl)\" AND round = 3", "context": "CREATE TABLE table_name_11 (position VARCHAR, college_junior_club_team__league_ VARCHAR, round VARCHAR)", "question": "Which Position has a College/Junior/Club Team (League) of estevan bruins (wchl), and a Round of 3?" }
### QUESTION Who was the original artist for week number Top 16 (8 women)? ### CONTEXT CREATE TABLE table_15796072_1 (original_artist VARCHAR, week__number VARCHAR) ### ANSWER SELECT original_artist FROM table_15796072_1 WHERE week__number = "Top 16 (8 Women)"
{ "answer": "SELECT original_artist FROM table_15796072_1 WHERE week__number = \"Top 16 (8 Women)\"", "context": "CREATE TABLE table_15796072_1 (original_artist VARCHAR, week__number VARCHAR)", "question": "Who was the original artist for week number Top 16 (8 women)?" }
### QUESTION Which # 100 has a Season of 1991, and an Against of surrey? ### CONTEXT CREATE TABLE table_name_87 (_number_100 INTEGER, season VARCHAR, against VARCHAR) ### ANSWER SELECT MAX(_number_100) FROM table_name_87 WHERE season = "1991" AND against = "surrey"
{ "answer": "SELECT MAX(_number_100) FROM table_name_87 WHERE season = \"1991\" AND against = \"surrey\"", "context": "CREATE TABLE table_name_87 (_number_100 INTEGER, season VARCHAR, against VARCHAR)", "question": "Which # 100 has a Season of 1991, and an Against of surrey?" }
### QUESTION What is the date of vacancy when the manner of departure is sacked and the team is nejapa? ### CONTEXT CREATE TABLE table_name_45 (date_of_vacancy VARCHAR, manner_of_departure VARCHAR, team VARCHAR) ### ANSWER SELECT date_of_vacancy FROM table_name_45 WHERE manner_of_departure = "sacked" AND team = "nejapa"
{ "answer": "SELECT date_of_vacancy FROM table_name_45 WHERE manner_of_departure = \"sacked\" AND team = \"nejapa\"", "context": "CREATE TABLE table_name_45 (date_of_vacancy VARCHAR, manner_of_departure VARCHAR, team VARCHAR)", "question": "What is the date of vacancy when the manner of departure is sacked and the team is nejapa?" }
### QUESTION Which Venue has an Event of marathon, and a Year larger than 1995, and a Position of 4th? ### CONTEXT CREATE TABLE table_name_94 (venue VARCHAR, position VARCHAR, event VARCHAR, year VARCHAR) ### ANSWER SELECT venue FROM table_name_94 WHERE event = "marathon" AND year > 1995 AND position = "4th"
{ "answer": "SELECT venue FROM table_name_94 WHERE event = \"marathon\" AND year > 1995 AND position = \"4th\"", "context": "CREATE TABLE table_name_94 (venue VARCHAR, position VARCHAR, event VARCHAR, year VARCHAR)", "question": "Which Venue has an Event of marathon, and a Year larger than 1995, and a Position of 4th?" }
### QUESTION Find the name and capacity of the dorm with least number of amenities. ### CONTEXT CREATE TABLE has_amenity (dormid VARCHAR, amenid VARCHAR); CREATE TABLE dorm_amenity (amenid VARCHAR); CREATE TABLE dorm (dorm_name VARCHAR, student_capacity VARCHAR, dormid VARCHAR) ### ANSWER SELECT T1.dorm_name, T1.student_capacity FROM dorm AS T1 JOIN has_amenity AS T2 ON T1.dormid = T2.dormid JOIN dorm_amenity AS T3 ON T2.amenid = T3.amenid GROUP BY T2.dormid ORDER BY COUNT(*) LIMIT 1
{ "answer": "SELECT T1.dorm_name, T1.student_capacity FROM dorm AS T1 JOIN has_amenity AS T2 ON T1.dormid = T2.dormid JOIN dorm_amenity AS T3 ON T2.amenid = T3.amenid GROUP BY T2.dormid ORDER BY COUNT(*) LIMIT 1", "context": "CREATE TABLE has_amenity (dormid VARCHAR, amenid VARCHAR); CREATE TABLE dorm_amenity (amenid VARCHAR); CREATE TABLE dorm (dorm_name VARCHAR, student_capacity VARCHAR, dormid VARCHAR)", "question": "Find the name and capacity of the dorm with least number of amenities." }
### QUESTION What is Week 14 Nov 24, that has Week 11 Nov 3 of USC (6-2)? ### CONTEXT CREATE TABLE table_name_44 (week_14_nov_24 VARCHAR, week_11_nov_3 VARCHAR) ### ANSWER SELECT week_14_nov_24 FROM table_name_44 WHERE week_11_nov_3 = "usc (6-2)"
{ "answer": "SELECT week_14_nov_24 FROM table_name_44 WHERE week_11_nov_3 = \"usc (6-2)\"", "context": "CREATE TABLE table_name_44 (week_14_nov_24 VARCHAR, week_11_nov_3 VARCHAR)", "question": "What is Week 14 Nov 24, that has Week 11 Nov 3 of USC (6-2)?" }
### QUESTION Name the height for demetrius jemison ### CONTEXT CREATE TABLE table_25360865_1 (height VARCHAR, name VARCHAR) ### ANSWER SELECT height FROM table_25360865_1 WHERE name = "Demetrius Jemison"
{ "answer": "SELECT height FROM table_25360865_1 WHERE name = \"Demetrius Jemison\"", "context": "CREATE TABLE table_25360865_1 (height VARCHAR, name VARCHAR)", "question": "Name the height for demetrius jemison" }
### QUESTION Tell me the least Grid with points more than 11 and drivers being sébastien bourdais with laps less than 67 ### CONTEXT CREATE TABLE table_name_96 (grid INTEGER, laps VARCHAR, points VARCHAR, driver VARCHAR) ### ANSWER SELECT MIN(grid) FROM table_name_96 WHERE points > 11 AND driver = "sébastien bourdais" AND laps < 67
{ "answer": "SELECT MIN(grid) FROM table_name_96 WHERE points > 11 AND driver = \"sébastien bourdais\" AND laps < 67", "context": "CREATE TABLE table_name_96 (grid INTEGER, laps VARCHAR, points VARCHAR, driver VARCHAR)", "question": "Tell me the least Grid with points more than 11 and drivers being sébastien bourdais with laps less than 67" }
### QUESTION When was Laurent-Marie-Joseph Imbert / St. Imbert, who was beatified after 1909 and canonised after 1984, martyred? ### CONTEXT CREATE TABLE table_name_65 (martyred INTEGER, canonised VARCHAR, beatified VARCHAR, name VARCHAR) ### ANSWER SELECT MAX(martyred) FROM table_name_65 WHERE beatified > 1909 AND name = "laurent-marie-joseph imbert / st. imbert" AND canonised > 1984
{ "answer": "SELECT MAX(martyred) FROM table_name_65 WHERE beatified > 1909 AND name = \"laurent-marie-joseph imbert / st. imbert\" AND canonised > 1984", "context": "CREATE TABLE table_name_65 (martyred INTEGER, canonised VARCHAR, beatified VARCHAR, name VARCHAR)", "question": "When was Laurent-Marie-Joseph Imbert / St. Imbert, who was beatified after 1909 and canonised after 1984, martyred?" }
### QUESTION What is the score of the game with an 11-32-11 record? ### CONTEXT CREATE TABLE table_name_40 (score VARCHAR, record VARCHAR) ### ANSWER SELECT score FROM table_name_40 WHERE record = "11-32-11"
{ "answer": "SELECT score FROM table_name_40 WHERE record = \"11-32-11\"", "context": "CREATE TABLE table_name_40 (score VARCHAR, record VARCHAR)", "question": "What is the score of the game with an 11-32-11 record?" }
### QUESTION What is the highest position the album Where we belong, which had an issue date higher than 9, had? ### CONTEXT CREATE TABLE table_name_14 (highest_position VARCHAR, issue_date VARCHAR, album_title VARCHAR) ### ANSWER SELECT COUNT(highest_position) FROM table_name_14 WHERE issue_date < 9 AND album_title = "where we belong"
{ "answer": "SELECT COUNT(highest_position) FROM table_name_14 WHERE issue_date < 9 AND album_title = \"where we belong\"", "context": "CREATE TABLE table_name_14 (highest_position VARCHAR, issue_date VARCHAR, album_title VARCHAR)", "question": "What is the highest position the album Where we belong, which had an issue date higher than 9, had?" }
### QUESTION Which of the radio stations has the organization of ente público radio televisión madrid (eprtvm)? ### CONTEXT CREATE TABLE table_23143607_1 (radio_stations VARCHAR, organization VARCHAR) ### ANSWER SELECT radio_stations FROM table_23143607_1 WHERE organization = "Ente Público Radio Televisión Madrid (EPRTVM)"
{ "answer": "SELECT radio_stations FROM table_23143607_1 WHERE organization = \"Ente Público Radio Televisión Madrid (EPRTVM)\"", "context": "CREATE TABLE table_23143607_1 (radio_stations VARCHAR, organization VARCHAR)", "question": "Which of the radio stations has the organization of ente público radio televisión madrid (eprtvm)?" }
### QUESTION What is the total longitude of Nogosek and a GEO ID larger than 3809357060? ### CONTEXT CREATE TABLE table_name_68 (longitude VARCHAR, township VARCHAR, geo_id VARCHAR) ### ANSWER SELECT COUNT(longitude) FROM table_name_68 WHERE township = "nogosek" AND geo_id > 3809357060
{ "answer": "SELECT COUNT(longitude) FROM table_name_68 WHERE township = \"nogosek\" AND geo_id > 3809357060", "context": "CREATE TABLE table_name_68 (longitude VARCHAR, township VARCHAR, geo_id VARCHAR)", "question": "What is the total longitude of Nogosek and a GEO ID larger than 3809357060?" }
### QUESTION What is home team Chelsea's Tie no? ### CONTEXT CREATE TABLE table_name_83 (tie_no VARCHAR, home_team VARCHAR) ### ANSWER SELECT tie_no FROM table_name_83 WHERE home_team = "chelsea"
{ "answer": "SELECT tie_no FROM table_name_83 WHERE home_team = \"chelsea\"", "context": "CREATE TABLE table_name_83 (tie_no VARCHAR, home_team VARCHAR)", "question": "What is home team Chelsea's Tie no?" }
### QUESTION What are the mm dimensions for the Fujitsu fi-6130 a4 Series Scanner? ### CONTEXT CREATE TABLE table_16409745_1 (dimensions__mm_ VARCHAR, product VARCHAR) ### ANSWER SELECT dimensions__mm_ FROM table_16409745_1 WHERE product = "Fujitsu fi-6130 A4 Series Scanner"
{ "answer": "SELECT dimensions__mm_ FROM table_16409745_1 WHERE product = \"Fujitsu fi-6130 A4 Series Scanner\"", "context": "CREATE TABLE table_16409745_1 (dimensions__mm_ VARCHAR, product VARCHAR)", "question": "What are the mm dimensions for the Fujitsu fi-6130 a4 Series Scanner?" }
### QUESTION Which tournament had a score of 7–5, 2–6, 7–6? ### CONTEXT CREATE TABLE table_name_7 (tournament VARCHAR, score VARCHAR) ### ANSWER SELECT tournament FROM table_name_7 WHERE score = "7–5, 2–6, 7–6"
{ "answer": "SELECT tournament FROM table_name_7 WHERE score = \"7–5, 2–6, 7–6\"", "context": "CREATE TABLE table_name_7 (tournament VARCHAR, score VARCHAR)", "question": "Which tournament had a score of 7–5, 2–6, 7–6?" }
### QUESTION What is the 2012 result of a tournament that is 2R in 2007, 1R in 2008 and 1R in 2009? ### CONTEXT CREATE TABLE table_name_29 (Id VARCHAR) ### ANSWER SELECT 2012 FROM table_name_29 WHERE 2009 = "1r" AND 2008 = "1r" AND 2007 = "2r"
{ "answer": "SELECT 2012 FROM table_name_29 WHERE 2009 = \"1r\" AND 2008 = \"1r\" AND 2007 = \"2r\"", "context": "CREATE TABLE table_name_29 (Id VARCHAR)", "question": "What is the 2012 result of a tournament that is 2R in 2007, 1R in 2008 and 1R in 2009?" }
### QUESTION what is the total number of played when the goals for is more than 34 and goals against is more than 63? ### CONTEXT CREATE TABLE table_name_24 (played VARCHAR, goals_for VARCHAR, goals_against VARCHAR) ### ANSWER SELECT COUNT(played) FROM table_name_24 WHERE goals_for > 34 AND goals_against > 63
{ "answer": "SELECT COUNT(played) FROM table_name_24 WHERE goals_for > 34 AND goals_against > 63", "context": "CREATE TABLE table_name_24 (played VARCHAR, goals_for VARCHAR, goals_against VARCHAR)", "question": "what is the total number of played when the goals for is more than 34 and goals against is more than 63?" }
### QUESTION What is the total number of civil liberties 2011 values having 2010 political rights values under 3 and 2011 political rights values under 1? ### CONTEXT CREATE TABLE table_name_70 (civil_liberties_2011 VARCHAR, political_rights_2010 VARCHAR, political_rights_2011 VARCHAR) ### ANSWER SELECT COUNT(civil_liberties_2011) FROM table_name_70 WHERE political_rights_2010 < 3 AND political_rights_2011 < 1
{ "answer": "SELECT COUNT(civil_liberties_2011) FROM table_name_70 WHERE political_rights_2010 < 3 AND political_rights_2011 < 1", "context": "CREATE TABLE table_name_70 (civil_liberties_2011 VARCHAR, political_rights_2010 VARCHAR, political_rights_2011 VARCHAR)", "question": "What is the total number of civil liberties 2011 values having 2010 political rights values under 3 and 2011 political rights values under 1?" }
### QUESTION What are the shortest duration and lowest rating of songs grouped by genre and ordered by genre? ### CONTEXT CREATE TABLE song (genre_is VARCHAR, rating INTEGER, f_id VARCHAR); CREATE TABLE files (duration INTEGER, f_id VARCHAR) ### ANSWER SELECT MIN(T1.duration), MIN(T2.rating), T2.genre_is FROM files AS T1 JOIN song AS T2 ON T1.f_id = T2.f_id GROUP BY T2.genre_is ORDER BY T2.genre_is
{ "answer": "SELECT MIN(T1.duration), MIN(T2.rating), T2.genre_is FROM files AS T1 JOIN song AS T2 ON T1.f_id = T2.f_id GROUP BY T2.genre_is ORDER BY T2.genre_is", "context": "CREATE TABLE song (genre_is VARCHAR, rating INTEGER, f_id VARCHAR); CREATE TABLE files (duration INTEGER, f_id VARCHAR)", "question": "What are the shortest duration and lowest rating of songs grouped by genre and ordered by genre?" }
### QUESTION Name the incumbent for sue myrick (r) 69.0% jeff doctor (d) 31.0% ### CONTEXT CREATE TABLE table_19753079_36 (incumbent VARCHAR, candidates VARCHAR) ### ANSWER SELECT incumbent FROM table_19753079_36 WHERE candidates = "Sue Myrick (R) 69.0% Jeff Doctor (D) 31.0%"
{ "answer": "SELECT incumbent FROM table_19753079_36 WHERE candidates = \"Sue Myrick (R) 69.0% Jeff Doctor (D) 31.0%\"", "context": "CREATE TABLE table_19753079_36 (incumbent VARCHAR, candidates VARCHAR)", "question": "Name the incumbent for sue myrick (r) 69.0% jeff doctor (d) 31.0%" }
### QUESTION What genre is the Banpresto game tittled Ranma ½: netsuretsu kakutouhen? ### CONTEXT CREATE TABLE table_name_34 (genre VARCHAR, developer VARCHAR, japanese_title VARCHAR) ### ANSWER SELECT genre FROM table_name_34 WHERE developer = "banpresto" AND japanese_title = "ranma ½: netsuretsu kakutouhen"
{ "answer": "SELECT genre FROM table_name_34 WHERE developer = \"banpresto\" AND japanese_title = \"ranma ½: netsuretsu kakutouhen\"", "context": "CREATE TABLE table_name_34 (genre VARCHAR, developer VARCHAR, japanese_title VARCHAR)", "question": "What genre is the Banpresto game tittled Ranma ½: netsuretsu kakutouhen?" }
### QUESTION What team has 4 points and a Chassis of march 82/83c? ### CONTEXT CREATE TABLE table_name_71 (team VARCHAR, points VARCHAR, chassis VARCHAR) ### ANSWER SELECT team FROM table_name_71 WHERE points = 4 AND chassis = "march 82/83c"
{ "answer": "SELECT team FROM table_name_71 WHERE points = 4 AND chassis = \"march 82/83c\"", "context": "CREATE TABLE table_name_71 (team VARCHAR, points VARCHAR, chassis VARCHAR)", "question": "What team has 4 points and a Chassis of march 82/83c?" }
### QUESTION Who was the home team when Boston is the road team in game 4? ### CONTEXT CREATE TABLE table_name_89 (home_team VARCHAR, road_team VARCHAR, game VARCHAR) ### ANSWER SELECT home_team FROM table_name_89 WHERE road_team = "boston" AND game = "game 4"
{ "answer": "SELECT home_team FROM table_name_89 WHERE road_team = \"boston\" AND game = \"game 4\"", "context": "CREATE TABLE table_name_89 (home_team VARCHAR, road_team VARCHAR, game VARCHAR)", "question": "Who was the home team when Boston is the road team in game 4?" }
### QUESTION Who is the perpetrator in Uganda who killed 12 in Kampala? ### CONTEXT CREATE TABLE table_name_54 (perpetrator VARCHAR, killed VARCHAR, country VARCHAR, location VARCHAR) ### ANSWER SELECT perpetrator FROM table_name_54 WHERE country = "uganda" AND location = "kampala" AND killed = "12"
{ "answer": "SELECT perpetrator FROM table_name_54 WHERE country = \"uganda\" AND location = \"kampala\" AND killed = \"12\"", "context": "CREATE TABLE table_name_54 (perpetrator VARCHAR, killed VARCHAR, country VARCHAR, location VARCHAR)", "question": "Who is the perpetrator in Uganda who killed 12 in Kampala?" }
### QUESTION What is the highest Game when Morris Peterson (8) had the high assists? ### CONTEXT CREATE TABLE table_name_81 (game INTEGER, high_assists VARCHAR) ### ANSWER SELECT MAX(game) FROM table_name_81 WHERE high_assists = "morris peterson (8)"
{ "answer": "SELECT MAX(game) FROM table_name_81 WHERE high_assists = \"morris peterson (8)\"", "context": "CREATE TABLE table_name_81 (game INTEGER, high_assists VARCHAR)", "question": "What is the highest Game when Morris Peterson (8) had the high assists?" }
### QUESTION What is the total number in 2006, which has an official foundation of municipality of 1918? ### CONTEXT CREATE TABLE table_name_95 (date_of_official_foundation_of_municipality VARCHAR) ### ANSWER SELECT COUNT(2006) FROM table_name_95 WHERE date_of_official_foundation_of_municipality = 1918
{ "answer": "SELECT COUNT(2006) FROM table_name_95 WHERE date_of_official_foundation_of_municipality = 1918", "context": "CREATE TABLE table_name_95 (date_of_official_foundation_of_municipality VARCHAR)", "question": "What is the total number in 2006, which has an official foundation of municipality of 1918?" }
### QUESTION Name the total number of platforms that waddon railway station has ### CONTEXT CREATE TABLE table_name_41 (platforms VARCHAR, stations VARCHAR) ### ANSWER SELECT COUNT(platforms) FROM table_name_41 WHERE stations = "waddon railway station"
{ "answer": "SELECT COUNT(platforms) FROM table_name_41 WHERE stations = \"waddon railway station\"", "context": "CREATE TABLE table_name_41 (platforms VARCHAR, stations VARCHAR)", "question": "Name the total number of platforms that waddon railway station has" }
### QUESTION What are the names of the songs whose rating is below the rating of all songs in English? ### CONTEXT CREATE TABLE song (song_name VARCHAR, rating INTEGER, languages VARCHAR) ### ANSWER SELECT song_name FROM song WHERE rating < (SELECT MIN(rating) FROM song WHERE languages = 'english')
{ "answer": "SELECT song_name FROM song WHERE rating < (SELECT MIN(rating) FROM song WHERE languages = 'english')", "context": "CREATE TABLE song (song_name VARCHAR, rating INTEGER, languages VARCHAR)", "question": "What are the names of the songs whose rating is below the rating of all songs in English?" }
### QUESTION What bridge in Sheridan county was built in 1915? ### CONTEXT CREATE TABLE table_name_30 (name VARCHAR, county VARCHAR, built VARCHAR) ### ANSWER SELECT name FROM table_name_30 WHERE county = "sheridan" AND built = "1915"
{ "answer": "SELECT name FROM table_name_30 WHERE county = \"sheridan\" AND built = \"1915\"", "context": "CREATE TABLE table_name_30 (name VARCHAR, county VARCHAR, built VARCHAR)", "question": "What bridge in Sheridan county was built in 1915?" }
### QUESTION What was the role in 2001? ### CONTEXT CREATE TABLE table_name_91 (role VARCHAR, year VARCHAR) ### ANSWER SELECT role FROM table_name_91 WHERE year = "2001"
{ "answer": "SELECT role FROM table_name_91 WHERE year = \"2001\"", "context": "CREATE TABLE table_name_91 (role VARCHAR, year VARCHAR)", "question": "What was the role in 2001?" }