question_id
stringlengths 11
60
| question_text
stringlengths 7
294
| decomposition
stringlengths 13
606
| operators
stringlengths 10
260
| split
stringclasses 1
value |
---|---|---|---|---|
SPIDER_train_6467 | What are the account details with the largest value or with value having char '5' in it? | return accounts ;return values of #1 ;return #1 where #2 is the largest ;return #1 where #2 has the char '5 in it ;return #3 , #4 ;return details of #5 | ['select', 'project', 'comparative', 'comparative', 'union', 'project'] | train |
SPIDER_train_6468 | Return the account details with the greatest value, as well as those that include the character 5. | return account details ;return values of #1 ;return #1 where #2 is highest ;return characters of #1 ;return #1 where #4 include 5 ;return #3 , #5 | ['select', 'project', 'superlative', 'project', 'comparative', 'union'] | train |
SPIDER_train_6469 | Find the total number of scientists. | return scientists ;return number of #1 | ['select', 'aggregate'] | train |
SPIDER_train_647 | Find number of tracks in each genre? | return genres ;return number of tracks for each #1 | ['select', 'group'] | train |
SPIDER_train_6470 | How many scientists are there? | return scientists ;return number of #1 | ['select', 'aggregate'] | train |
SPIDER_train_6471 | Find the total hours of all projects. | return projects ;return hours of #1 ;return sum of #2 | ['select', 'project', 'aggregate'] | train |
SPIDER_train_6472 | What is the total number of hours for all projects? | return projects ;return hours of #1 ;return sum of #2 | ['select', 'project', 'aggregate'] | train |
SPIDER_train_6473 | How many different scientists are assigned to any project? | return projects ;return scientists assigned to #1 ;return different #2 ;return number of #3 | ['select', 'project', 'project', 'aggregate'] | train |
SPIDER_train_6474 | Count the number of different scientists assigned to any project. | return scientists ;return projects of #1 ;return number of #2 for each #1 ;return #1 where #3 is higher than zero ;return number of #4 | ['select', 'project', 'group', 'comparative', 'aggregate'] | train |
SPIDER_train_6475 | Find the number of distinct projects. | return projects ;return distinct #1 ;return number of #2 | ['select', 'project', 'aggregate'] | train |
SPIDER_train_6476 | How many different projects are there? | return projects ;return different #1 ;return number of #2 | ['select', 'project', 'aggregate'] | train |
SPIDER_train_6477 | Find the average hours of all projects. | return projects ;return hours of #1 ;return average of #2 | ['select', 'project', 'aggregate'] | train |
SPIDER_train_6478 | What is the average hours across all projects? | return projects ;return hours of #1 ;return average of #2 | ['select', 'project', 'aggregate'] | train |
SPIDER_train_6479 | Find the name of project that continues for the longest time. | return projects ;return time of #1 ;return #1 where #2 is longest ;return the name of #3 | ['select', 'project', 'superlative', 'project'] | train |
SPIDER_train_648 | How many tracks are in each genre? | return genres ;return tracks in #1 ;return number of #2 for each #1 | ['select', 'project', 'group'] | train |
SPIDER_train_6480 | What is the name of the project with the most hours? | return projects ;return hours of #1 ;return #1 where #2 is highest ;return name of #3 | ['select', 'project', 'superlative', 'project'] | train |
SPIDER_train_6481 | List the name of all projects that are operated longer than the average working hours of all projects. | return projects ;return working hours that #1 are operated ;return number of #2 for each #1 ;return the average of #3 ;return #1 where #3 is higher than #4 ;return the names of #5 | ['select', 'project', 'group', 'aggregate', 'comparative', 'project'] | train |
SPIDER_train_6482 | What are the names of projects that have taken longer than the average number of hours for all projects? | return projects ;return hours of #1 ;return number of #2 for each #1 ;return average of #3 ;return #1 where #2 is higher than #4 ;return names of #5 | ['select', 'project', 'group', 'aggregate', 'comparative', 'project'] | train |
SPIDER_train_6483 | Find the name and hours of project that has the most number of scientists. | return projects ;return number of scientists for each #1 ;return #1 where #2 is highest ;return name of #3 ;return hours of #3 ;return #4 , #5 | ['select', 'group', 'superlative', 'project', 'project', 'union'] | train |
SPIDER_train_6484 | What is the name and hours for the project which has the most scientists assigned to it? | return project ;return scientists assigned to #1 ;return number of #2 for each #1 ;return #1 where #3 is highest ;return name of #4 ;return hours for #4 ;return #5 , #6 | ['select', 'project', 'group', 'superlative', 'project', 'project', 'union'] | train |
SPIDER_train_6485 | Find the name of the project for which a scientist whose name contains ‘Smith’ is assigned to. | return scientists ;return #1 whose name contains Smith is assigned to ;return project for #2 ;return name of #3 | ['select', 'filter', 'project', 'project'] | train |
SPIDER_train_6486 | What is the name of the project that has a scientist assigned to it whose name contains 'Smith'? | return projects ;return scientists assigned to #1 ;return the names of #2 ;return #2 where #3 contains 'Smith ;return number of #4 for each #1 ;return #1 where #5 is one ;return the name of #6 | ['select', 'project', 'project', 'comparative', 'group', 'comparative', 'project'] | train |
SPIDER_train_6487 | Find the total hours of the projects that scientists named Michael Rogers or Carol Smith are assigned to. | return scientists ;return projects of #1 ;return #2 where #1 is Michael Rogers ;return #2 where #1 is Carol Smith ;return #3 or #4 ;return hours of #5 ;return sum of #6 | ['select', 'project', 'comparative', 'comparative', 'union', 'project', 'aggregate'] | train |
SPIDER_train_6488 | What is the sum of hours for projects that scientists with the name Michael Rogers or Carol Smith are assigned to? | return scientists ;return names of #1 ;return #1 where #2 is Michael Rogers ;return #1 where #2 is Carol Smith ;return #3 or #4 ;return projects of #5 ;return hours of #6 ;return sum of #7 | ['select', 'project', 'comparative', 'comparative', 'union', 'project', 'project', 'aggregate'] | train |
SPIDER_train_6489 | Find the name of projects that require between 100 and 300 hours of work. | return projects ;return hours of work #1 require ;return #1 where #2 is between 100 and 300 ;return names of #3 | ['select', 'project', 'comparative', 'project'] | train |
SPIDER_train_649 | How many editors are there? | return editors ;return number of #1 | ['select', 'aggregate'] | train |
SPIDER_train_6490 | What are the names of projects that require between 100 and 300 hours? | return projects ;return hours of #1 ;return #1 where #2 is at least 100 ;return #3 where #2 is at most 300 ;return the names of #4 | ['select', 'project', 'comparative', 'comparative', 'project'] | train |
SPIDER_train_6491 | Find the name of the scientist who worked on both a project named 'Matter of Time' and a project named 'A Puzzling Parallax'. | return scientists ;return #1 who worked on project named 'Matter of Time ;return #1 who worked on project named 'A Puzzling Parallax ;return name of #1 in both #2 and #3 | ['select', 'filter', 'filter', 'intersection'] | train |
SPIDER_train_6492 | What are the names of any scientists who worked on projects named 'Matter of Time' and 'A Puzzling Pattern'? | return scientists ;return projects #1 worked on ;return #1 where #2 are named 'Matter of Time ;return #1 where #2 are named 'A Puzzling Pattern ;return #1 of both #3 and #4 ;return names of #5 | ['select', 'project', 'comparative', 'comparative', 'intersection', 'project'] | train |
SPIDER_train_6493 | List the names of all scientists sorted in alphabetical order. | return scientists ;return names of #1 ;return #2 sorted by alphabetical order | ['select', 'project', 'sort'] | train |
SPIDER_train_6494 | What are the names of all the scientists in alphabetical order? | return scientists ;return names of #1 ;return #2 sorted by alphabetical order | ['select', 'project', 'sort'] | train |
SPIDER_train_6495 | Find the number of scientists involved for each project name. | return projects ;return scientists involved in #1 ;return the number of #2 for each #1 | ['select', 'project', 'group'] | train |
SPIDER_train_6496 | What are the naems of all the projects, and how many scientists were assigned to each of them? | return projects ;return naems of #1 ;return scientists assigned to #1 ;return number of #3 for each #1 ;return #2 , #4 | ['select', 'project', 'project', 'group', 'union'] | train |
SPIDER_train_6497 | Find the number of scientists involved for the projects that require more than 300 hours. | return projects ;return hours #1 require ;return #1 where #2 is higher than 300 ;return scientists involved in #3 ;return number of #4 | ['select', 'project', 'comparative', 'project', 'aggregate'] | train |
SPIDER_train_6498 | What are the names of projects that require more than 300 hours, and how many scientists are assigned to each? | return projects ;return hours #1 require ;return #1 where #2 is higher than 300 ;return names of #3 ;return scientists assigned to #3 ;return number of #5 for each #3 ;return #4 , #6 | ['select', 'project', 'comparative', 'project', 'project', 'group', 'union'] | train |
SPIDER_train_6499 | Find the number of projects which each scientist is working on and scientist's name. | return scientists ;return projects #1 are working on ;return number of #2 for each #1 ;return the names of #1 ;return #4 , #3 | ['select', 'project', 'group', 'project', 'union'] | train |
SPIDER_train_65 | What are the ids of all students who have attended at least one course? | return students ;return courses attended of #1 ;return number of #2 for each #1 ;return #1 where #3 is at least one ;return ids of #4 | ['select', 'project', 'group', 'comparative', 'project'] | train |
SPIDER_train_650 | List the names of editors in ascending order of age. | return editors ;return names of #1 ;return ages of #1 ;return #2 sorted by #3 in ascending order | ['select', 'project', 'project', 'sort'] | train |
SPIDER_train_6500 | What are the names of the scientists, and how many projects are each of them working on? | return scientists ;return names of #1 ;return projects #1 are working on ;return number of #3 for each #1 ;return #2 , #4 | ['select', 'project', 'project', 'group', 'union'] | train |
SPIDER_train_6501 | Find the SSN and name of scientists who are assigned to the project with the longest hours. | return projects ;return hours of #1 ;return #1 where #2 is longest ;return scientists assigned to #3 ;return SSN of #4 ;return name of #4 ;return #5 , #6 | ['select', 'project', 'superlative', 'project', 'project', 'project', 'union'] | train |
SPIDER_train_6502 | What are the SSN and names of scientists working on the project with the most hours? | return projects ;return hours of #1 ;return number of #2 for each #1 ;return #1 where #3 is highest ;return scientists of #4 ;return SSN of #5 ;return names of #5 ;return #6 , #7 | ['select', 'project', 'group', 'superlative', 'project', 'project', 'project', 'union'] | train |
SPIDER_train_6503 | Find the name of scientists who are assigned to some project. | return scientists ;return #1 assigned to some project ;return names of #2 | ['select', 'filter', 'project'] | train |
SPIDER_train_6504 | What are the names of scientists who are assigned to any project? | return scientists ;return #1 who are assigned to any project ;return names of #2 | ['select', 'filter', 'project'] | train |
SPIDER_train_6505 | Select the project names which are not assigned yet. | return projects ;return names of #1 ;return #2 that are not assigned yet | ['select', 'project', 'filter'] | train |
SPIDER_train_6506 | What are the names of projects that have not been assigned? | return projects ;return #1 that have not been assigned ;return names of #2 | ['select', 'filter', 'project'] | train |
SPIDER_train_6507 | Find the name of scientists who are not assigned to any project. | return scientists ;return #1 assigned to projects ;return #1 besides #2 ;return names of #3 | ['select', 'filter', 'discard', 'project'] | train |
SPIDER_train_6508 | What are the names of scientists who have not been assigned a project? | return scientists ;return projects assigned to #1 ;return number of #2 for each #1 ;return #1 where #3 is at least one ;return #1 besides #4 ;return the names of #5 | ['select', 'project', 'group', 'comparative', 'discard', 'project'] | train |
SPIDER_train_6509 | Find the number of scientists who are not assigned to any project. | return scientists ;return #1 assigned to projects ;return #1 besides #2 ;return number of #3 | ['select', 'filter', 'discard', 'aggregate'] | train |
SPIDER_train_651 | What are the names and ages of editors? | return editors ;return names of #1 ;return ages of #1 ;return #2 , #3 | ['select', 'project', 'project', 'union'] | train |
SPIDER_train_6510 | How many scientists do not have any projects assigned to them? | return scientists ;return #1 that do not have projects assigned ;return the number of #2 | ['select', 'filter', 'aggregate'] | train |
SPIDER_train_6511 | Find the names of scientists who are not working on the project with the highest hours. | return projects ;return hours of #1 ;return number of #2 for each #1 ;return #1 where #3 is not the highest ;return scientists working on #4 ;return names of #5 | ['select', 'project', 'group', 'comparative', 'project', 'project'] | train |
SPIDER_train_6512 | What are the names of scientists who are not working on the project with the most hours? | return projects ;return hours of #1 ;return number of #2 for each #1 ;return #1 where #3 is highest ;return scientists of #4 ;return scientists besides #5 | ['select', 'project', 'group', 'superlative', 'project', 'discard'] | train |
SPIDER_train_6513 | List all the scientists' names, their projects' names, and the hours worked by that scientist on each project, in alphabetical order of project name, and then scientist name. | return scientists ;return names of #1 ;return projects of #1 ;return names of #3 ;return hours that #1 worked for each #3 ;return #2 , #4 , #5 ;return #6 sorted by #4 , #2 | ['select', 'project', 'project', 'project', 'group', 'union', 'sort'] | train |
SPIDER_train_6514 | What are the names of each scientist, the names of the projects that they work on, and the hours for each of those projects, listed in alphabetical order by project name, then scientist name. | return scientists ;return name of #1 ;return projects of #1 ;return name of #3 ;return hours of #3 ;return #2 , #4 , #5 ;return #6 sorted by #4 , #2 | ['select', 'project', 'project', 'project', 'project', 'union', 'sort'] | train |
SPIDER_train_6515 | Find name of the project that needs the least amount of time to finish and the name of scientists who worked on it. | return projects ;return #1 that needs the least amount of time to finish ;return name of scientists who worked on #2 ;return #2 , #3 | ['select', 'filter', 'project', 'union'] | train |
SPIDER_train_6516 | What is the name of the project that requires the fewest number of hours, and the names of the scientists assigned to it? | return project ;return hours #1 requires ;return number of #2 for each #1 ;return #1 where #3 is fewest ;return name of #4 ;return scientists assigned to #4 ;return names of #6 ;return #5 , #7 | ['select', 'project', 'group', 'comparative', 'project', 'project', 'project', 'union'] | train |
SPIDER_train_6517 | What is the name of the highest rated wine? | return wines ;return #1 that is highest rated ;return name of #2 | ['select', 'filter', 'project'] | train |
SPIDER_train_6518 | Give the name of the wine with the highest score. | return wines ;return scores of #1 ;return #1 where #2 is highest ;return name of #3 | ['select', 'project', 'superlative', 'project'] | train |
SPIDER_train_6519 | Which winery is the wine that has the highest score from? | return wines ;return scores of #1 ;return #1 where #2 is the highest ;return the winery that #3 is from | ['select', 'project', 'comparative', 'project'] | train |
SPIDER_train_652 | List the names of editors who are older than 25. | return editors ;return #1 who are older than 25 ;return names of #2 | ['select', 'filter', 'project'] | train |
SPIDER_train_6520 | What is the winery at which the wine with the highest score was made? | return wineries ;return wines of #1 ;return scores of #2 ;return #1 where #3 is highest | ['select', 'project', 'project', 'superlative'] | train |
SPIDER_train_6521 | Find the names of all wines produced in 2008. | return wines ;return #1 produced in 2008 ;return names of #2 | ['select', 'filter', 'project'] | train |
SPIDER_train_6522 | What are the names of all wines produced in 2008? | return wines ;return #1 produced in 2008 ;return names of #2 | ['select', 'filter', 'project'] | train |
SPIDER_train_6523 | List the grapes and appelations of all wines. | return wines ;return grapes of #1 ;return appelations of #1 ;return #2 , #3 | ['select', 'project', 'project', 'union'] | train |
SPIDER_train_6524 | What are the grapes and appelations of each wine? | return wines ;return appelations of #1 ;return grapes of #1 ;return #3 , #2 | ['select', 'project', 'project', 'union'] | train |
SPIDER_train_6525 | List the names and scores of all wines. | return wines ;return names of #1 ;return scores of #1 ;return #2 , #3 | ['select', 'project', 'project', 'union'] | train |
SPIDER_train_6526 | What are the names and scores of all wines? | return wines ;return names of #1 ;return scores of #1 ;return #2 , #3 | ['select', 'project', 'project', 'union'] | train |
SPIDER_train_6527 | List the area and county of all appelations. | return appelations ;return area of #1 ;return county of #1 ;return #2 or #3 | ['select', 'project', 'project', 'union'] | train |
SPIDER_train_6528 | What are the areas and counties for all appelations? | return appelations ;return areas of #1 ;return counties of #1 ;return #2 , #3 | ['select', 'project', 'project', 'union'] | train |
SPIDER_train_6529 | What are the prices of wines produced before the year of 2010? | return wines ;return #1 produced before the year 2010 ;return the prices of #2 | ['select', 'filter', 'project'] | train |
SPIDER_train_653 | Show the names of editors of age either 24 or 25. | return editors ;return ages of #1 ;return #1 where #2 is 24 ;return #1 where #2 is 25 ;return #3 or #4 ;return names of #5 | ['select', 'project', 'comparative', 'comparative', 'union', 'project'] | train |
SPIDER_train_6530 | Return the prices of wines produced before 2010. | return wines ;return #1 produced before 2010 ;return prices of #2 | ['select', 'filter', 'project'] | train |
SPIDER_train_6531 | List the names of all distinct wines that have scores higher than 90. | return wines ;return scores of #1 ;return #1 where #2 is higher than 90 ;return distinct #3 ;return names of #4 | ['select', 'project', 'comparative', 'project', 'project'] | train |
SPIDER_train_6532 | What are the names of wines with scores higher than 90? | return wines ;return #1 with scores higher than 90 ;return names of #2 | ['select', 'filter', 'project'] | train |
SPIDER_train_6533 | List the names of all distinct wines that are made of red color grape. | return wines ;return grapes of #1 ;return colors of #2 ;return #1 where #3 is red ;return distinct #4 ;return names of #5 | ['select', 'project', 'project', 'comparative', 'project', 'project'] | train |
SPIDER_train_6534 | What are the names of wines made from red grapes? | return wines ;return #1 made from red grapes ;return names of #2 | ['select', 'filter', 'project'] | train |
SPIDER_train_6535 | Find the names of all distinct wines that have appellations in North Coast area. | return wines ;return #1 that have appellations in North Coast area ;return distinct names of #2 | ['select', 'filter', 'project'] | train |
SPIDER_train_6536 | What are the distinct names of wines that have appellations in the North Coast area? | return wines ;return appellations of #1 ;return #1 where #2 is North Coast area ;return distinct names of #3 | ['select', 'project', 'comparative', 'project'] | train |
SPIDER_train_6537 | How many wines are produced at Robert Biale winery? | return wines ;return wineries of #1 ;return #1 where #2 is Robert Biale winery ;return number of #3 | ['select', 'project', 'comparative', 'aggregate'] | train |
SPIDER_train_6538 | Count the number of wines produced at Robert Biale winery. | return wines ;return #1 produced at Robert Biale winery ;return the number of #2 | ['select', 'filter', 'aggregate'] | train |
SPIDER_train_6539 | How many appelations are in Napa Country? | return appelations ;return #1 in Napa Country ;return number of #2 | ['select', 'filter', 'aggregate'] | train |
SPIDER_train_654 | What is the name of the youngest editor? | return editors ;return youngest #1 ;return name of #2 | ['select', 'project', 'project'] | train |
SPIDER_train_6540 | Count the number of appelations in Napa County. | return appelations ;return #1 in Napa County ;return number of #2 | ['select', 'filter', 'aggregate'] | train |
SPIDER_train_6541 | Give me the average prices of wines that are produced by appelations in Sonoma County. | return wines ;return appelations of #1 ;return #1 where #2 is Sonoma County ;return prices of #3 ;return average of #4 | ['select', 'project', 'comparative', 'project', 'aggregate'] | train |
SPIDER_train_6542 | What is the average price of wines produced in appelations in Sonoma County? | return wines ;return #1 produced in appelations in Sonoma County ;return the price of #2 ;return the average of #3 | ['select', 'filter', 'project', 'aggregate'] | train |
SPIDER_train_6543 | What are the names and scores of wines that are made of white color grapes? | return wines ;return grapes that #1 are made of ;return the color of #2 ;return #1 where #3 is white ;return names of #4 ;return scores of #4 ;return #5 , #6 | ['select', 'project', 'project', 'comparative', 'project', 'project', 'union'] | train |
SPIDER_train_6544 | Give the names and scores of wines made from white grapes. | return wines ;return #1 made with white grapes ;return names of #2 ;return scores of #2 ;return #3 , #4 | ['select', 'filter', 'project', 'project', 'union'] | train |
SPIDER_train_6545 | Find the maximum price of wins from the appelations in Central Coast area and produced before the year of 2005. | return wins ;return #1 from appelations in Central Coast area ;return #2 that are produced before 2005 ;return prices of #3 ;return #3 where #4 is highest | ['select', 'filter', 'filter', 'project', 'superlative'] | train |
SPIDER_train_6546 | What is the maximum price of wines from the appelation in the Central Coast area, which was produced before 2005? | return appelations ;return #1 in the Central Coast area ;return wines from #2 ;return #3 that was produced before 2005 ;return the prices of #4 ;return the maximum of #5 | ['select', 'filter', 'project', 'filter', 'project', 'aggregate'] | train |
SPIDER_train_6547 | Find the the grape whose white color grapes are used to produce wines with scores higher than 90. | return grapes ;return colors of #1 ;return #1 where #2 is white ;return wines #3 produce ;return scores of #4 ;return #3 where #5 is higher than 90 | ['select', 'project', 'comparative', 'project', 'project', 'comparative'] | train |
SPIDER_train_6548 | Find the white grape used to produce wines with scores above 90. | return grapes ;return wines of #1 ;return #2 where #1 is white ;return scores of #3 ;return #1 where #4 is higher than 90 | ['select', 'project', 'comparative', 'project', 'comparative'] | train |
SPIDER_train_6549 | What are the wines that have prices higher than 50 and made of Red color grapes? | return wines ;return prices of #1 ;return #1 where #2 is higher than 50 ;return grapes of #1 ;return colors of #4 ;return #1 where #5 is Red ;return #1 of both #3 and #6 | ['select', 'project', 'comparative', 'project', 'project', 'comparative', 'intersection'] | train |
SPIDER_train_655 | What are the different ages of editors? Show each age along with the number of editors of that age. | return editors ;return different ages of #1 ;return number of #1 for each #2 ;return #2 , #3 | ['select', 'project', 'group', 'union'] | train |
SPIDER_train_6550 | What are the names of wines made from red grapes and with prices above 50? | return wines ;return #1 that are made from red grapes ;return the prices of #2 ;return #2 where #3 is higher than 50 ;return the names of #4 | ['select', 'filter', 'project', 'comparative', 'project'] | train |
SPIDER_train_6551 | What are the wines that have prices lower than 50 and have appelations in Monterey county? | return Monterey county ;return appelations of #1 ;return wines of #2 ;return prices of #3 ;return #3 where #4 is lower than 50 | ['select', 'project', 'project', 'project', 'comparative'] | train |
SPIDER_train_6552 | Give the neames of wines with prices below 50 and with appelations in Monterey county. | return wines ;return #1 with prices below 50 ;return #2 with appelations in Monterey county ;return neames of #3 | ['select', 'filter', 'filter', 'project'] | train |
SPIDER_train_6553 | What are the numbers of wines for different grapes? | return different grapes ;return wines of #1 ;return number of #2 for each #1 | ['select', 'project', 'group'] | train |
SPIDER_train_6554 | How many wines are there for each grape? | return grapes ;return wines of #1 ;return number of #2 for each #1 | ['select', 'project', 'group'] | train |
SPIDER_train_6555 | What are the average prices of wines for different years? | return years ;return wines of #1 ;return prices of #2 ;return average of #3 for each #1 | ['select', 'project', 'project', 'group'] | train |
SPIDER_train_6556 | What is the average prices of wines for each each? | return wines ;return prices of #1 ;return average of #2 for each #1 | ['select', 'project', 'group'] | train |