images
images listlengths
1
7
problem
stringlengths
36
238
answer
dict
<image><image><image>What are the names of the enzymes used in the medicine Amisulpride that acts as inhibitors?
{ "data": [ [ "ALA synthase" ] ] }
<image><image>What is the id and name of the enzyme that can interact with the most medicines as an activator?
{ "data": [ [ "4", "Uroporphyrinogen III synthase" ] ] }
<image><image>What are the medicine and trade names that can interact as an inhibitor and activitor with enzymes?
{ "data": [ [ "Asenapine", "Saphris" ], [ "Iloperidone", "Fanapt" ] ] }
<image><image>For every medicine id, what are the names of the medicines that can interact with more than one enzyme?
{ "data": [ [ "2", "Aripiprazole" ], [ "3", "Asenapine" ], [ "8", "Iloperidone" ], [ "20", "Ziprasidone" ] ] }
<image><image>What are the different names, locations, and products of the enzymes that are capable inhibitor interactions?
{ "data": [ [ "ALA synthase", "Mitochondrion", "δ-Aminolevulinic acid" ], [ "ALA dehydratase", "Cytosol", "Porphobilinogen" ], [ "PBG deaminase", "Cytosol", "Hydroxymethyl bilane" ] ] }
<image><image>List the medicine name and trade name which can both interact as 'inhibitor' and 'activitor' with enzymes.
{ "data": [ [ "Asenapine", "Saphris" ], [ "Iloperidone", "Fanapt" ] ] }
<image><image>What are the ids and trade names of the medicine that can interact with at least 3 enzymes?
{ "data": [ [ "2", "Abilify" ], [ "3", "Saphris" ] ] }
<image><image><image>What is the type of interaction for the enzyme named 'ALA synthase' and the medicine named 'Aripiprazole'?
{ "data": [ [ "inhibitor" ] ] }
<image><image><image>Show the medicine names and trade names that cannot interact with the enzyme with product 'Heme'.
{ "data": [ [ "Amisulpride", "Solian" ], [ "Aripiprazole", "Abilify" ], [ "Asenapine", "Saphris" ], [ "Blonanserin", "Lonasen" ], [ "Carpipramine", "Prazinil" ], [ "Clocapramine", "Clofekton" ], [ "Clozapine", "Clozaril" ], [ "Iloperidone", "Fanapt" ], [ "Lurasidone", "Latuda" ], [ "Melperone", "Buronil" ], [ "Mosapramine", "Cremin" ], [ "Olanzapine", "Zyprexa" ], [ "Paliperidone", "Invega" ], [ "Perospirone", "Lullan" ], [ "Quetiapine", "Seroquel" ], [ "Remoxipride", "Roxiam" ], [ "Risperidone", "Risperdal" ], [ "Sertindole", "Serdolect" ], [ "Sulpiride", "Sulpirid" ], [ "Zotepine", "Nipolept" ] ] }
<image><image>What are the distinct name, location and products of the enzymes which has any 'inhibitor' interaction?
{ "data": [ [ "ALA synthase", "Mitochondrion", "δ-Aminolevulinic acid" ], [ "ALA dehydratase", "Cytosol", "Porphobilinogen" ], [ "PBG deaminase", "Cytosol", "Hydroxymethyl bilane" ] ] }
<image><image><image>What is the interaction type of the enzyme named 'ALA synthase' and the medicine named 'Aripiprazole'?
{ "data": [ [ "inhibitor" ] ] }
<image><image>Return the name of the team and the acc during the regular season for the school that was founded the earliest.
{ "data": [ [ "North Carolina", "14–2" ] ] }
<image><image>Return the primary conference of the school with the lowest acc percentage score.
{ "data": [ [ "America East Conference ( D-I )" ] ] }
<image><image>What is the team name and acc regular season score of the school that was founded for the longest time?
{ "data": [ [ "North Carolina", "14–2" ] ] }
<image><image>What is the primary conference of the school that has the lowest acc percent score in the competition?
{ "data": [ [ "America East Conference ( D-I )" ] ] }
<image><image>List the hardware model name and company name for all the phones that were launched in year 2002 or have RAM size greater than 32.
{ "data": [ [ "XPERIA T, XPERIA J", "Sony Mobile Communications" ], [ "LG-P760", "LG Electronics" ], [ "Lumia 920, Lumia 820, Lumia 620", "Nokia Corporation" ], [ "Z520e", "HTC Corporation" ], [ "GT-I9100", "Samsung Electronics Co Ltd" ], [ "Nokia 700", "Nokia Corporation" ], [ "U8815 Asura", "Huawei Technologies Co.Ltd." ] ] }
<image><image><image>What are the medicine and trade names that cannot interact with the enzyme with the product 'Heme'?
{ "data": [ [ "Amisulpride", "Solian" ], [ "Aripiprazole", "Abilify" ], [ "Asenapine", "Saphris" ], [ "Blonanserin", "Lonasen" ], [ "Carpipramine", "Prazinil" ], [ "Clocapramine", "Clofekton" ], [ "Clozapine", "Clozaril" ], [ "Iloperidone", "Fanapt" ], [ "Lurasidone", "Latuda" ], [ "Melperone", "Buronil" ], [ "Mosapramine", "Cremin" ], [ "Olanzapine", "Zyprexa" ], [ "Paliperidone", "Invega" ], [ "Perospirone", "Lullan" ], [ "Quetiapine", "Seroquel" ], [ "Remoxipride", "Roxiam" ], [ "Risperidone", "Risperdal" ], [ "Sertindole", "Serdolect" ], [ "Sulpiride", "Sulpirid" ], [ "Zotepine", "Nipolept" ] ] }
<image><image>Find the team names of the universities whose enrollments are smaller than the average enrollment size.
{ "data": [ [ "North Carolina" ], [ "Duke" ], [ "Virginia Tech" ] ] }
<image><image>What are the all games score and location of the school called Clemson?
{ "data": [ [ "24–10", "New Brunswick, NJ" ] ] }
<image><image>Find the Char cells, Pixels and Hardware colours for the screen of the phone whose hardware model name is "LG-P760".
{ "data": [ [ "80 × 25", "640 × 200", "2.0" ] ] }
<image><image>Find the location and all games score of the school that has Clemson as its team name.
{ "data": [ [ "24–10", "New Brunswick, NJ" ] ] }
<image><image>What is maximum and minimum RAM size of phone produced by company named "Nokia Corporation"?
{ "data": [ [ "32.0", "32.0" ] ] }
<image><image>What are the names of teams from universities that have a below average enrollment?
{ "data": [ [ "North Carolina" ], [ "Duke" ], [ "Virginia Tech" ] ] }
<image><image>What is the average ROM size of phones produced by the company named "Nokia Corporation"?
{ "data": [ [ "32.0" ] ] }
<image><image>List the name of the phone model launched in year 2002 and with the highest RAM size.
{ "data": [ [ "XPERIA T, XPERIA J" ] ] }
<image><image>List the hardware model name and company name for the phone whose screen mode type is "Graphics."
{ "data": [ [ "XPERIA T, XPERIA J", "Sony Mobile Communications" ], [ "Lumia 920, Lumia 820, Lumia 620", "Nokia Corporation" ], [ "GT-I9300", "Samsung Electronics Co Ltd" ], [ "GT-I9100", "Samsung Electronics Co Ltd" ], [ "Nokia 700", "Nokia Corporation" ] ] }
<image><image>List the hardware model name for the phons that were produced by "Nokia Corporation" but whose screen mode type is not Text.
{ "data": [ [ "Lumia 920, Lumia 820, Lumia 620" ], [ "Nokia 700" ] ] }
<image><image>List the hardware model name for the phones that were produced by "Nokia Corporation" or whose screen mode type is "Graphics."
{ "data": [ [ "GT-I9100" ], [ "GT-I9300" ], [ "Lumia 920, Lumia 820, Lumia 620" ], [ "Nokia 700" ], [ "XPERIA T, XPERIA J" ] ] }
<image><image>List the phone hardware model and company name for the phones whose screen usage in kb is between 10 and 15.
{ "data": [ [ "GT-I9300", "Samsung Electronics Co Ltd" ], [ "Lumia 920, Lumia 820, Lumia 620", "Nokia Corporation" ] ] }
<image><image><image>List the hardware model name for the phones that have screen mode type "Text" or RAM size greater than 32.
{ "data": [ [ "LG-P760" ], [ "Z520e" ], [ "GT-I9100" ], [ "U8815 Asura" ] ] }
<image><image>Show the season, the player, and the name of the country that player belongs to.
{ "data": [ [ "1996.0", "Steve Ralston Category:Articles with hCards", "United States" ], [ "1997.0", "Mike Duhaney Category:Articles with hCards", "United States" ], [ "1998.0", "Ben Olsen Category:Articles with hCards", "Ireland" ], [ "1999.0", "Jay Heaps Category:Articles with hCards", "Isle of Man" ], [ "2000.0", "Carlos Bocanegra Category:Articles with hCards", "Isle of Man" ], [ "2001.0", "Rodrigo Faria Category:Articles with hCards", "Ireland" ], [ "2002.0", "Kyle Martino Category:Articles with hCards", "United States" ], [ "2003.0", "Damani Ralph Category:Articles with hCards", "Indonesia" ], [ "2004.0", "Clint Dempsey Category:Articles with hCards", "United States" ], [ "2005.0", "Michael Parkhurst Category:Articles with hCards", "United States" ], [ "2006.0", "Jonathan Bornstein Category:Articles with hCards", "United States" ], [ "2007.0", "Maurice Edu Category:Articles with hCards", "Ireland" ], [ "2008.0", "Sean Franklin Category:Articles with hCards", "United States" ], [ "2009.0", "Omar Gonzalez Category:Articles with hCards", "United States" ], [ "2010.0", "Andy Najar Category:Articles with hCards", "Ireland" ], [ "2011.0", "C. J. Sapong Category:Articles with hCards", "United States" ] ] }
<image><image><image>What are the wifi and screen mode type of the hardware model named "LG-P760"?
{ "data": [ [ "802.11b", "Text" ] ] }
<image><image>For each player, what are their name, season, and country that they belong to?
{ "data": [ [ "1996.0", "Steve Ralston Category:Articles with hCards", "United States" ], [ "1997.0", "Mike Duhaney Category:Articles with hCards", "United States" ], [ "1998.0", "Ben Olsen Category:Articles with hCards", "Ireland" ], [ "1999.0", "Jay Heaps Category:Articles with hCards", "Isle of Man" ], [ "2000.0", "Carlos Bocanegra Category:Articles with hCards", "Isle of Man" ], [ "2001.0", "Rodrigo Faria Category:Articles with hCards", "Ireland" ], [ "2002.0", "Kyle Martino Category:Articles with hCards", "United States" ], [ "2003.0", "Damani Ralph Category:Articles with hCards", "Indonesia" ], [ "2004.0", "Clint Dempsey Category:Articles with hCards", "United States" ], [ "2005.0", "Michael Parkhurst Category:Articles with hCards", "United States" ], [ "2006.0", "Jonathan Bornstein Category:Articles with hCards", "United States" ], [ "2007.0", "Maurice Edu Category:Articles with hCards", "Ireland" ], [ "2008.0", "Sean Franklin Category:Articles with hCards", "United States" ], [ "2009.0", "Omar Gonzalez Category:Articles with hCards", "United States" ], [ "2010.0", "Andy Najar Category:Articles with hCards", "Ireland" ], [ "2011.0", "C. J. Sapong Category:Articles with hCards", "United States" ] ] }
<image><image>Return the official native languages of countries who have players from Maryland or Duke colleges.
{ "data": [ [ "English Manx" ], [ "Irish English" ], [ "English" ] ] }
<image><image>Find the pixels of the screen modes that are used by both phones with full accreditation types and phones with Provisional accreditation types.
{ "data": [ [ "160 × 256" ], [ "320 × 256" ], [ "640 × 200" ] ] }
<image><image>Give the different positions of players who play for the country with the capital Dublin.
{ "data": [ [ "Midfielder" ], [ "Forward" ] ] }
<image><image>Which players are from Indonesia?
{ "data": [ [ "Damani Ralph Category:Articles with hCards" ] ] }
<image><image>Who are the players from Indonesia?
{ "data": [ [ "Damani Ralph Category:Articles with hCards" ] ] }
<image><image>Show the season, the player, and the name of the team that players belong to.
{ "data": [ [ "1996.0", "Steve Ralston Category:Articles with hCards", "Columbus Crew" ], [ "1997.0", "Mike Duhaney Category:Articles with hCards", "Evalyn Feil" ], [ "1998.0", "Ben Olsen Category:Articles with hCards", "Anais VonRueden" ], [ "1999.0", "Jay Heaps Category:Articles with hCards", "Miami Fusion" ], [ "2000.0", "Carlos Bocanegra Category:Articles with hCards", "Enrique Osinski" ], [ "2001.0", "Rodrigo Faria Category:Articles with hCards", "Enrique Osinski" ], [ "2002.0", "Kyle Martino Category:Articles with hCards", "Anais VonRueden" ], [ "2003.0", "Damani Ralph Category:Articles with hCards", "Evalyn Feil" ], [ "2004.0", "Clint Dempsey Category:Articles with hCards", "Anais VonRueden" ], [ "2005.0", "Michael Parkhurst Category:Articles with hCards", "Miami Fusion" ], [ "2006.0", "Jonathan Bornstein Category:Articles with hCards", "D.C. United" ], [ "2007.0", "Maurice Edu Category:Articles with hCards", "Ryley Goldner" ], [ "2008.0", "Sean Franklin Category:Articles with hCards", "Enrique Osinski" ], [ "2009.0", "Omar Gonzalez Category:Articles with hCards", "Enrique Osinski" ], [ "2010.0", "Andy Najar Category:Articles with hCards", "Enrique Osinski" ], [ "2011.0", "C. J. Sapong Category:Articles with hCards", "Anais VonRueden" ] ] }
<image><image>What are the distinct positions of the players from a country whose capital is Dublin?
{ "data": [ [ "Midfielder" ], [ "Forward" ] ] }
<image><image>Count the number of different official languages corresponding to countries that players who play Defender are from.
{ "data": [ [ "2" ] ] }
<image><image>Who are the different players, what season do they play in, and what is the name of the team they are on?
{ "data": [ [ "1996.0", "Steve Ralston Category:Articles with hCards", "Columbus Crew" ], [ "1997.0", "Mike Duhaney Category:Articles with hCards", "Evalyn Feil" ], [ "1998.0", "Ben Olsen Category:Articles with hCards", "Anais VonRueden" ], [ "1999.0", "Jay Heaps Category:Articles with hCards", "Miami Fusion" ], [ "2000.0", "Carlos Bocanegra Category:Articles with hCards", "Enrique Osinski" ], [ "2001.0", "Rodrigo Faria Category:Articles with hCards", "Enrique Osinski" ], [ "2002.0", "Kyle Martino Category:Articles with hCards", "Anais VonRueden" ], [ "2003.0", "Damani Ralph Category:Articles with hCards", "Evalyn Feil" ], [ "2004.0", "Clint Dempsey Category:Articles with hCards", "Anais VonRueden" ], [ "2005.0", "Michael Parkhurst Category:Articles with hCards", "Miami Fusion" ], [ "2006.0", "Jonathan Bornstein Category:Articles with hCards", "D.C. United" ], [ "2007.0", "Maurice Edu Category:Articles with hCards", "Ryley Goldner" ], [ "2008.0", "Sean Franklin Category:Articles with hCards", "Enrique Osinski" ], [ "2009.0", "Omar Gonzalez Category:Articles with hCards", "Enrique Osinski" ], [ "2010.0", "Andy Najar Category:Articles with hCards", "Enrique Osinski" ], [ "2011.0", "C. J. Sapong Category:Articles with hCards", "Anais VonRueden" ] ] }
<image><image>What are the players who played for Columbus Crew, and how many years did each play for?
{ "data": [ [ "Cho Soong-Jae (630)", "1 (2011)" ], [ "Chung Hong (717)", "1 (2011)" ], [ "Im Kyu-tae (492)", "8 (2003–2005, 2007–2011)" ], [ "Jeong Suk-Young (793)", "2 (2010–2011)" ], [ "Seol Jae-Min (none)", "2 (2010-2011)" ], [ "An Jae-Sung", "3 (2005, 2007–2008)" ] ] }
<image><image>What are the official languages of the countries of players from Maryland or Duke college?
{ "data": [ [ "English Manx" ], [ "Irish English" ], [ "English" ] ] }
<image><image>How many distinct official languages are there among countries of players whose positions are defenders.
{ "data": [ [ "2" ] ] }
<image><image>Return the positions of players on the team Ryley Goldner.
{ "data": [ [ "Midfielder" ] ] }
<image><image>How many distinct colleges are associated with players from the team with name "Columbus Crew".
{ "data": [ [ "1" ] ] }
<image><image>Show the players and years played for players from team "Columbus Crew".
{ "data": [ [ "Cho Soong-Jae (630)", "1 (2011)" ], [ "Chung Hong (717)", "1 (2011)" ], [ "Im Kyu-tae (492)", "8 (2003–2005, 2007–2011)" ], [ "Jeong Suk-Young (793)", "2 (2010–2011)" ], [ "Seol Jae-Min (none)", "2 (2010-2011)" ], [ "An Jae-Sung", "3 (2005, 2007–2008)" ] ] }
<image><image>What are the names of climbers and the corresponding names of mountains that they climb?
{ "data": [ [ "Klaus Enders", "Kibo (Uhuru Pk)" ], [ "Siegfried Schauzu", "Kibo (Uhuru Pk)" ], [ "Hans Luthringhauser", "Mount Kenya (Batian)" ], [ "Jean Claude Castella", "Mount Kenya (Batian)" ], [ "Horst Owesle", "Mount Kenya (Batian)" ], [ "Georg Auerbacher", "Mawenzi (Hans Meyer Pk)" ], [ "Arseneus Butscher", "Mount Kenya (Lenana)" ], [ "Charlie Freedman", "Mount Kenya (Lenana)" ], [ "L Currie", "Duwoni / Mt Speke (Vittorio Emanuele Pk)" ], [ "Mick Horsepole", "Duwoni / Mt Speke (Vittorio Emanuele Pk)" ] ] }
<image><image>Show the names of climbers and the heights of mountains they climb.
{ "data": [ [ "Klaus Enders", "5895.0" ], [ "Siegfried Schauzu", "5895.0" ], [ "Hans Luthringhauser", "5199.0" ], [ "Jean Claude Castella", "5199.0" ], [ "Horst Owesle", "5199.0" ], [ "Georg Auerbacher", "5148.0" ], [ "Arseneus Butscher", "4985.0" ], [ "Charlie Freedman", "4985.0" ], [ "L Currie", "4890.0" ], [ "Mick Horsepole", "4890.0" ] ] }
<image><image>Show the positions of the players from the team with name "Ryley Goldner".
{ "data": [ [ "Midfielder" ] ] }
<image><image>Count the number of different colleges that players who play for Columbus Crew are from.
{ "data": [ [ "1" ] ] }
<image><image>How many players are from each country?
{ "data": [ [ "Indonesia", "1" ], [ "Ireland", "4" ], [ "Isle of Man", "2" ], [ "United States", "9" ] ] }
<image><image>Show the country names and the corresponding number of players.
{ "data": [ [ "Indonesia", "1" ], [ "Ireland", "4" ], [ "Isle of Man", "2" ], [ "United States", "9" ] ] }
<image><image>What are the names of countries that have both players with position forward and players with position defender?
{ "data": [ [ "United States" ] ] }
<image><image>Show the height of the mountain climbed by the climber with the maximum points.
{ "data": [ [ "5895.0" ] ] }
<image><image>What is the height of the mountain climbined by the climbing who had the most points?
{ "data": [ [ "5895.0" ] ] }
<image><image>Return the names of countries that have players that play the Forward position, as well as players who play the Defender position.
{ "data": [ [ "United States" ] ] }
<image><image>Show names of climbers and the names of mountains they climb.
{ "data": [ [ "Klaus Enders", "Kibo (Uhuru Pk)" ], [ "Siegfried Schauzu", "Kibo (Uhuru Pk)" ], [ "Hans Luthringhauser", "Mount Kenya (Batian)" ], [ "Jean Claude Castella", "Mount Kenya (Batian)" ], [ "Horst Owesle", "Mount Kenya (Batian)" ], [ "Georg Auerbacher", "Mawenzi (Hans Meyer Pk)" ], [ "Arseneus Butscher", "Mount Kenya (Lenana)" ], [ "Charlie Freedman", "Mount Kenya (Lenana)" ], [ "L Currie", "Duwoni / Mt Speke (Vittorio Emanuele Pk)" ], [ "Mick Horsepole", "Duwoni / Mt Speke (Vittorio Emanuele Pk)" ] ] }
<image><image>What are the names of body builders?
{ "data": [ [ "Jack Campbell" ], [ "Ty Conklin" ], [ "Al Montoya" ], [ "Cam Fowler" ], [ "Jake Gardiner" ] ] }
<image><image>What are the names of climbers and the corresponding heights of the mountains that they climb?
{ "data": [ [ "Klaus Enders", "5895.0" ], [ "Siegfried Schauzu", "5895.0" ], [ "Hans Luthringhauser", "5199.0" ], [ "Jean Claude Castella", "5199.0" ], [ "Horst Owesle", "5199.0" ], [ "Georg Auerbacher", "5148.0" ], [ "Arseneus Butscher", "4985.0" ], [ "Charlie Freedman", "4985.0" ], [ "L Currie", "4890.0" ], [ "Mick Horsepole", "4890.0" ] ] }
<image><image>Show the times used by climbers to climb mountains in Country Uganda.
{ "data": [ [ "1:25.40.6" ], [ "1:27.28.8" ] ] }
<image><image>What are the times used by climbers who climbed mountains in the country of Uganda?
{ "data": [ [ "1:25.40.6" ], [ "1:27.28.8" ] ] }
<image><image>What are the different names of mountains ascended by climbers from the country of West Germany?
{ "data": [ [ "Kibo (Uhuru Pk)" ], [ "Mount Kenya (Batian)" ], [ "Mawenzi (Hans Meyer Pk)" ], [ "Mount Kenya (Lenana)" ] ] }
<image><image>Show the distinct names of mountains climbed by climbers from country "West Germany".
{ "data": [ [ "Kibo (Uhuru Pk)" ], [ "Mount Kenya (Batian)" ], [ "Mawenzi (Hans Meyer Pk)" ], [ "Mount Kenya (Lenana)" ] ] }
<image><image>What are the heights of body builders with total score smaller than 315?
{ "data": [ [ "196.0" ], [ "205.0" ] ] }
<image><image>What are the names of body builders whose total score is higher than 300?
{ "data": [ [ "Jack Campbell" ], [ "Ty Conklin" ], [ "Al Montoya" ], [ "Cam Fowler" ] ] }
<image><image>What is the name of the body builder with the greatest body weight?
{ "data": [ [ "Al Montoya" ] ] }
<image><image>What are the birth date and birth place of the body builder with the highest total points?
{ "data": [ [ "January 1, 1992", "Port Huron, Michigan" ] ] }
<image><image>What is the average total score of body builders with height bigger than 200?
{ "data": [ [ "292.5" ] ] }
<image><image>What are the total scores of the body builders whose birthday contains the string "January" ?
{ "data": [ [ "317.5" ] ] }
<image><image>What are the names of representatives in descending order of votes?
{ "data": [ [ "Jimmy Quillen" ], [ "James M. Quigley" ], [ "James L. Quinn" ], [ "John Quayle" ], [ "Dan Quayle" ] ] }
<image><image>What are the names of body builders in descending order of total scores?
{ "data": [ [ "Jack Campbell" ], [ "Ty Conklin" ], [ "Al Montoya" ], [ "Cam Fowler" ], [ "Jake Gardiner" ] ] }
<image><image>What are the names of representatives and the dates of elections they participated in.
{ "data": [ [ "Dan Quayle", "July 1942" ], [ "John Quayle", "October 1942" ], [ "James M. Quigley", "1946" ], [ "Jimmy Quillen", "1949" ], [ "James L. Quinn", "1953" ] ] }
<image><image>List the names and origins of people who are not body builders.
{ "data": [ [ "Mark Fayne", "Nashua, New Hampshire" ] ] }
<image><image>List the weight of the body builders who have snatch score higher than 140 or have the height greater than 200.
{ "data": [ [ "80.0" ], [ "92.0" ] ] }
<image><image>What is the party of the representative that has the smallest number of votes.
{ "data": [ [ "Republican" ] ] }
<image><image>What are the lifespans of representatives in descending order of vote percent?
{ "data": [ [ "1918–" ], [ "1916–2003" ], [ "1868–1930" ], [ "1947–" ], [ "1875–1960" ] ] }
<image><image>What are the names of representatives with more than 10000 votes in election?
{ "data": [ [ "John Quayle" ], [ "James M. Quigley" ], [ "Jimmy Quillen" ], [ "James L. Quinn" ] ] }
<image><image>What are the booking start and end dates of the apartments with type code "Duplex"?
{ "data": [ [ "2016-09-26 17:13:49", "2016-09-26 17:13:49" ], [ "2016-04-01 06:28:08", "2016-04-01 06:28:08" ], [ "2016-08-04 10:33:00", "2016-08-04 10:33:00" ], [ "2016-07-25 02:57:04", "2016-07-25 02:57:04" ], [ "2017-03-04 02:23:49", "2017-03-04 02:23:49" ], [ "2016-06-07 05:05:18", "2016-06-07 05:05:18" ], [ "2016-09-28 05:00:50", "2016-09-28 05:00:50" ] ] }
<image><image>Show the apartment numbers, start dates, and end dates of all the apartment bookings.
{ "data": [ [ "Apt. 859", "2016-09-26 17:13:49", "2016-09-26 17:13:49" ], [ "Suite 634", "2016-04-01 06:28:08", "2016-04-01 06:28:08" ], [ "Suite 693", "2017-03-13 16:20:14", "2017-03-13 16:20:14" ], [ "Suite 749", "2016-08-04 10:33:00", "2016-08-04 10:33:00" ], [ "Apt. 940", "2017-02-11 14:34:14", "2017-02-11 14:34:14" ], [ "Suite 088", "2016-05-24 20:09:38", "2016-05-24 20:09:38" ], [ "Apt. 859", "2016-07-25 02:57:04", "2016-07-25 02:57:04" ], [ "Suite 693", "2016-11-26 05:04:31", "2016-11-26 05:04:31" ], [ "Apt. 187", "2017-05-13 18:17:20", "2017-05-13 18:17:20" ], [ "Apt. 477", "2017-03-04 02:23:49", "2017-03-04 02:23:49" ], [ "Suite 749", "2016-06-07 05:05:18", "2016-06-07 05:05:18" ], [ "Apt. 794", "2016-04-17 12:53:59", "2016-04-17 12:53:59" ], [ "Apt. 859", "2016-09-28 05:00:50", "2016-09-28 05:00:50" ], [ "Apt. 585", "2017-04-07 04:53:27", "2017-04-07 04:53:27" ], [ "Suite 693", "2017-07-03 14:15:56", "2017-07-03 14:15:56" ] ] }
<image><image>What is the average number of votes of representatives from party "Republican"?
{ "data": [ [ "11750.0" ] ] }
<image><image>What is the booking status code of the apartment with apartment number "Suite 634"?
{ "data": [ [ "Provisional" ] ] }
<image><image>Return the booking start date and end date for the apartments that have type code "Duplex".
{ "data": [ [ "2016-09-26 17:13:49", "2016-09-26 17:13:49" ], [ "2016-04-01 06:28:08", "2016-04-01 06:28:08" ], [ "2016-08-04 10:33:00", "2016-08-04 10:33:00" ], [ "2016-07-25 02:57:04", "2016-07-25 02:57:04" ], [ "2017-03-04 02:23:49", "2017-03-04 02:23:49" ], [ "2016-06-07 05:05:18", "2016-06-07 05:05:18" ], [ "2016-09-28 05:00:50", "2016-09-28 05:00:50" ] ] }
<image><image>What are the booking start and end dates of the apartments with more than 2 bedrooms?
{ "data": [ [ "2016-09-26 17:13:49", "2016-09-26 17:13:49" ], [ "2016-04-01 06:28:08", "2016-04-01 06:28:08" ], [ "2017-03-13 16:20:14", "2017-03-13 16:20:14" ], [ "2016-08-04 10:33:00", "2016-08-04 10:33:00" ], [ "2017-02-11 14:34:14", "2017-02-11 14:34:14" ], [ "2016-05-24 20:09:38", "2016-05-24 20:09:38" ], [ "2016-07-25 02:57:04", "2016-07-25 02:57:04" ], [ "2016-11-26 05:04:31", "2016-11-26 05:04:31" ], [ "2017-05-13 18:17:20", "2017-05-13 18:17:20" ], [ "2017-03-04 02:23:49", "2017-03-04 02:23:49" ], [ "2016-06-07 05:05:18", "2016-06-07 05:05:18" ], [ "2016-04-17 12:53:59", "2016-04-17 12:53:59" ], [ "2016-09-28 05:00:50", "2016-09-28 05:00:50" ], [ "2017-04-07 04:53:27", "2017-04-07 04:53:27" ], [ "2017-07-03 14:15:56", "2017-07-03 14:15:56" ] ] }
<image><image>Show the distinct apartment numbers of the apartments that have bookings with status code "Confirmed".
{ "data": [ [ "Suite 749" ], [ "Apt. 940" ], [ "Apt. 859" ], [ "Suite 693" ], [ "Apt. 585" ] ] }
<image><image>What are the apartment number, start date, and end date of each apartment booking?
{ "data": [ [ "Apt. 859", "2016-09-26 17:13:49", "2016-09-26 17:13:49" ], [ "Suite 634", "2016-04-01 06:28:08", "2016-04-01 06:28:08" ], [ "Suite 693", "2017-03-13 16:20:14", "2017-03-13 16:20:14" ], [ "Suite 749", "2016-08-04 10:33:00", "2016-08-04 10:33:00" ], [ "Apt. 940", "2017-02-11 14:34:14", "2017-02-11 14:34:14" ], [ "Suite 088", "2016-05-24 20:09:38", "2016-05-24 20:09:38" ], [ "Apt. 859", "2016-07-25 02:57:04", "2016-07-25 02:57:04" ], [ "Suite 693", "2016-11-26 05:04:31", "2016-11-26 05:04:31" ], [ "Apt. 187", "2017-05-13 18:17:20", "2017-05-13 18:17:20" ], [ "Apt. 477", "2017-03-04 02:23:49", "2017-03-04 02:23:49" ], [ "Suite 749", "2016-06-07 05:05:18", "2016-06-07 05:05:18" ], [ "Apt. 794", "2016-04-17 12:53:59", "2016-04-17 12:53:59" ], [ "Apt. 859", "2016-09-28 05:00:50", "2016-09-28 05:00:50" ], [ "Apt. 585", "2017-04-07 04:53:27", "2017-04-07 04:53:27" ], [ "Suite 693", "2017-07-03 14:15:56", "2017-07-03 14:15:56" ] ] }
<image><image>Find the booking start date and end date for the apartments that have more than two bedrooms.
{ "data": [ [ "2016-09-26 17:13:49", "2016-09-26 17:13:49" ], [ "2016-04-01 06:28:08", "2016-04-01 06:28:08" ], [ "2017-03-13 16:20:14", "2017-03-13 16:20:14" ], [ "2016-08-04 10:33:00", "2016-08-04 10:33:00" ], [ "2017-02-11 14:34:14", "2017-02-11 14:34:14" ], [ "2016-05-24 20:09:38", "2016-05-24 20:09:38" ], [ "2016-07-25 02:57:04", "2016-07-25 02:57:04" ], [ "2016-11-26 05:04:31", "2016-11-26 05:04:31" ], [ "2017-05-13 18:17:20", "2017-05-13 18:17:20" ], [ "2017-03-04 02:23:49", "2017-03-04 02:23:49" ], [ "2016-06-07 05:05:18", "2016-06-07 05:05:18" ], [ "2016-04-17 12:53:59", "2016-04-17 12:53:59" ], [ "2016-09-28 05:00:50", "2016-09-28 05:00:50" ], [ "2017-04-07 04:53:27", "2017-04-07 04:53:27" ], [ "2017-07-03 14:15:56", "2017-07-03 14:15:56" ] ] }
<image><image>What are the start date and end date of the apartment bookings made by female guests (gender code "Female")?
{ "data": [ [ "2016-04-01 06:28:08", "2016-04-01 06:28:08" ], [ "2017-03-13 16:20:14", "2017-03-13 16:20:14" ], [ "2016-08-04 10:33:00", "2016-08-04 10:33:00" ], [ "2016-05-24 20:09:38", "2016-05-24 20:09:38" ], [ "2016-11-26 05:04:31", "2016-11-26 05:04:31" ], [ "2017-05-13 18:17:20", "2017-05-13 18:17:20" ], [ "2016-06-07 05:05:18", "2016-06-07 05:05:18" ], [ "2016-09-28 05:00:50", "2016-09-28 05:00:50" ], [ "2017-07-03 14:15:56", "2017-07-03 14:15:56" ] ] }
<image><image>Show the guest first names, start dates, and end dates of all the apartment bookings.
{ "data": [ [ "Rebeca", "2016-09-26 17:13:49", "2016-09-26 17:13:49" ], [ "Tamia", "2016-04-01 06:28:08", "2016-04-01 06:28:08" ], [ "Lou", "2017-03-13 16:20:14", "2017-03-13 16:20:14" ], [ "Else", "2016-08-04 10:33:00", "2016-08-04 10:33:00" ], [ "Louvenia", "2017-02-11 14:34:14", "2017-02-11 14:34:14" ], [ "Juvenal", "2016-05-24 20:09:38", "2016-05-24 20:09:38" ], [ "Keith", "2016-07-25 02:57:04", "2016-07-25 02:57:04" ], [ "Mozell", "2016-11-26 05:04:31", "2016-11-26 05:04:31" ], [ "Keon", "2017-05-13 18:17:20", "2017-05-13 18:17:20" ], [ "Rebeca", "2017-03-04 02:23:49", "2017-03-04 02:23:49" ], [ "Lou", "2016-06-07 05:05:18", "2016-06-07 05:05:18" ], [ "Rebeca", "2016-04-17 12:53:59", "2016-04-17 12:53:59" ], [ "Gabe", "2016-09-28 05:00:50", "2016-09-28 05:00:50" ], [ "Rebeca", "2017-04-07 04:53:27", "2017-04-07 04:53:27" ], [ "Keon", "2017-07-03 14:15:56", "2017-07-03 14:15:56" ] ] }
<image><image>What are the guest first name, start date, and end date of each apartment booking?
{ "data": [ [ "Rebeca", "2016-09-26 17:13:49", "2016-09-26 17:13:49" ], [ "Tamia", "2016-04-01 06:28:08", "2016-04-01 06:28:08" ], [ "Lou", "2017-03-13 16:20:14", "2017-03-13 16:20:14" ], [ "Else", "2016-08-04 10:33:00", "2016-08-04 10:33:00" ], [ "Louvenia", "2017-02-11 14:34:14", "2017-02-11 14:34:14" ], [ "Juvenal", "2016-05-24 20:09:38", "2016-05-24 20:09:38" ], [ "Keith", "2016-07-25 02:57:04", "2016-07-25 02:57:04" ], [ "Mozell", "2016-11-26 05:04:31", "2016-11-26 05:04:31" ], [ "Keon", "2017-05-13 18:17:20", "2017-05-13 18:17:20" ], [ "Rebeca", "2017-03-04 02:23:49", "2017-03-04 02:23:49" ], [ "Lou", "2016-06-07 05:05:18", "2016-06-07 05:05:18" ], [ "Rebeca", "2016-04-17 12:53:59", "2016-04-17 12:53:59" ], [ "Gabe", "2016-09-28 05:00:50", "2016-09-28 05:00:50" ], [ "Rebeca", "2017-04-07 04:53:27", "2017-04-07 04:53:27" ], [ "Keon", "2017-07-03 14:15:56", "2017-07-03 14:15:56" ] ] }
<image><image>Tell me the booking status code for the apartment with number "Suite 634".
{ "data": [ [ "Provisional" ] ] }
<image><image>Show the average room count of the apartments that have booking status code "Provisional".
{ "data": [ [ "6.5" ] ] }
<image><image>Show the start dates and end dates of all the apartment bookings made by guests with gender code "Female".
{ "data": [ [ "2016-04-01 06:28:08", "2016-04-01 06:28:08" ], [ "2017-03-13 16:20:14", "2017-03-13 16:20:14" ], [ "2016-08-04 10:33:00", "2016-08-04 10:33:00" ], [ "2016-05-24 20:09:38", "2016-05-24 20:09:38" ], [ "2016-11-26 05:04:31", "2016-11-26 05:04:31" ], [ "2017-05-13 18:17:20", "2017-05-13 18:17:20" ], [ "2016-06-07 05:05:18", "2016-06-07 05:05:18" ], [ "2016-09-28 05:00:50", "2016-09-28 05:00:50" ], [ "2017-07-03 14:15:56", "2017-07-03 14:15:56" ] ] }
<image><image>Which apartments have bookings with status code "Confirmed"? Return their apartment numbers.
{ "data": [ [ "Suite 749" ], [ "Apt. 940" ], [ "Apt. 859" ], [ "Suite 693" ], [ "Apt. 585" ] ] }
<image><image>What is the average room count of the apartments whose booking status code is "Provisional"?
{ "data": [ [ "6.5" ] ] }
<image><image>Show the facility codes of apartments with more than 4 bedrooms.
{ "data": [ [ "Gym" ], [ "Cable TV" ], [ "Gym" ] ] }
<image><image>Show the first names and last names of all the guests that have apartment bookings with status code "Confirmed".
{ "data": [ [ "Else", "Roberts" ], [ "Louvenia", "Crona" ], [ "Keith", "Hoeger" ], [ "Mozell", "Toy" ], [ "Gabe", "Bode" ], [ "Rebeca", "Runolfsdottir" ], [ "Keon", "Treutel" ] ] }
<image><image>Which guests have apartment bookings with status code "Confirmed"? Return their first names and last names.
{ "data": [ [ "Else", "Roberts" ], [ "Louvenia", "Crona" ], [ "Keith", "Hoeger" ], [ "Mozell", "Toy" ], [ "Gabe", "Bode" ], [ "Rebeca", "Runolfsdottir" ], [ "Keon", "Treutel" ] ] }
<image><image>Find the total number of rooms in the apartments that have facility code "Gym".
{ "data": [ [ "15" ] ] }