id string | db_id string | question string | qpl sequence | qd sequence | conversations list | operator string | index int64 | assistant_answer string |
|---|---|---|---|---|---|---|---|---|
5d3ffd892ca09f6dffd55923294e8e0c5257cdff0216417e84943542451374b9_2 | department_management | How many heads of the departments are older than 56 ? | [
"#1 = Scan Table [ head ] Predicate [ age > 56.0 ] Output [ 1 AS One ]",
"#2 = Aggregate [ #1 ] Output [ countstar AS Count_Star ]"
] | [
"List 1 for each head of the departments that older than 56.",
"How many heads of the departments are older than 56 ?"
] | [
{
"content": "You are a question decomposition expert. You are given a database schema and a complex database input question in natural language, and your task is to break down the complex database input question into simpler sub-questions in a recursive way, like a tree. In each step you will be given a questi... | Aggregate | 1 | {"index":1,"question":"How many heads of the departments are older than 56 ?","operator":"Aggregate","sub_questions":[{"index":2,"question":"List 1 for each head of the departments that older than 56.","operator":null,"sub_questions":[]}]} |
5d3ffd892ca09f6dffd55923294e8e0c5257cdff0216417e84943542451374b9_4 | department_management | How many heads of the departments are older than 56 ? | [
"#1 = Scan Table [ head ] Predicate [ age > 56.0 ] Output [ 1 AS One ]",
"#2 = Aggregate [ #1 ] Output [ countstar AS Count_Star ]"
] | [
"List 1 for each head of the departments that older than 56.",
"How many heads of the departments are older than 56 ?"
] | [
{
"content": "You are a question decomposition expert. You are given a database schema and a complex database input question in natural language, and your task is to break down the complex database input question into simpler sub-questions in a recursive way, like a tree. In each step you will be given a questi... | Scan | 2 | {"index":2,"question":"List 1 for each head of the departments that older than 56.","operator":"Scan","sub_questions":[]} |
40759deacb76f6ccac4d7f87c0662f90e2fa90da89b041172fb95e18d35b44ca_2 | department_management | List the name, born state and age of the heads of departments ordered by age. | [
"#1 = Scan Table [ head ] Output [ name , born_state , age ]",
"#2 = Sort [ #1 ] OrderBy [ age ASC ] Output [ name , born_state , age ]"
] | [
"List the name, born state and age of the heads of departments.",
"List the name, born state and age of the heads of departments ordered by age."
] | [
{
"content": "You are a question decomposition expert. You are given a database schema and a complex database input question in natural language, and your task is to break down the complex database input question into simpler sub-questions in a recursive way, like a tree. In each step you will be given a questi... | Sort | 1 | {"index":1,"question":"List the name, born state and age of the heads of departments ordered by age.","operator":"Sort","sub_questions":[{"index":2,"question":"List the name, born state and age of the heads of departments.","operator":null,"sub_questions":[]}]} |
40759deacb76f6ccac4d7f87c0662f90e2fa90da89b041172fb95e18d35b44ca_4 | department_management | List the name, born state and age of the heads of departments ordered by age. | [
"#1 = Scan Table [ head ] Output [ name , born_state , age ]",
"#2 = Sort [ #1 ] OrderBy [ age ASC ] Output [ name , born_state , age ]"
] | [
"List the name, born state and age of the heads of departments.",
"List the name, born state and age of the heads of departments ordered by age."
] | [
{
"content": "You are a question decomposition expert. You are given a database schema and a complex database input question in natural language, and your task is to break down the complex database input question into simpler sub-questions in a recursive way, like a tree. In each step you will be given a questi... | Scan | 2 | {"index":2,"question":"List the name, born state and age of the heads of departments.","operator":"Scan","sub_questions":[]} |
aa79da355ec7c1a64f7e402cf1e797ab030ee709acad0ddf456d9e11bc5debf7_2 | department_management | List the creation year, name and budget of each department. | [
"#1 = Scan Table [ department ] Output [ Creation , Name , Budget_in_Billions ]"
] | [
"List the creation year, name and budget of each department."
] | [
{
"content": "You are a question decomposition expert. You are given a database schema and a complex database input question in natural language, and your task is to break down the complex database input question into simpler sub-questions in a recursive way, like a tree. In each step you will be given a questi... | Scan | 1 | {"index":1,"question":"List the creation year, name and budget of each department.","operator":"Scan","sub_questions":[]} |
e40de77e53eb4bcf9d81bf07d121c135264dbd62cdca7e88f5cebda7b73fafa4_2 | department_management | What are the maximum and minimum budget of the departments? | [
"#1 = Scan Table [ department ] Output [ Budget_in_Billions ]",
"#2 = Aggregate [ #1 ] Output [ MIN(Budget_in_Billions) AS Min_Budget_in_Billions , MAX(Budget_in_Billions) AS Max_Budget_in_Billions ]"
] | [
"What are the budgets of the departments?",
"What are the maximum and minimum budget of the departments?"
] | [
{
"content": "You are a question decomposition expert. You are given a database schema and a complex database input question in natural language, and your task is to break down the complex database input question into simpler sub-questions in a recursive way, like a tree. In each step you will be given a questi... | Aggregate | 1 | {"index":1,"question":"What are the maximum and minimum budget of the departments?","operator":"Aggregate","sub_questions":[{"index":2,"question":"What are the budgets of the departments?","operator":null,"sub_questions":[]}]} |
e40de77e53eb4bcf9d81bf07d121c135264dbd62cdca7e88f5cebda7b73fafa4_4 | department_management | What are the maximum and minimum budget of the departments? | [
"#1 = Scan Table [ department ] Output [ Budget_in_Billions ]",
"#2 = Aggregate [ #1 ] Output [ MIN(Budget_in_Billions) AS Min_Budget_in_Billions , MAX(Budget_in_Billions) AS Max_Budget_in_Billions ]"
] | [
"What are the budgets of the departments?",
"What are the maximum and minimum budget of the departments?"
] | [
{
"content": "You are a question decomposition expert. You are given a database schema and a complex database input question in natural language, and your task is to break down the complex database input question into simpler sub-questions in a recursive way, like a tree. In each step you will be given a questi... | Scan | 2 | {"index":2,"question":"What are the budgets of the departments?","operator":"Scan","sub_questions":[]} |
47f00f939411fff3d9dd81cdab4b7937fb837492b042f78ebf58dcb092a6f3a8_2 | department_management | What is the average number of employees of the departments whose rank is between 10 and 15? | [
"#1 = Scan Table [ department ] Predicate [ Ranking >= 10 AND Ranking <= 15 ] Output [ Ranking , Num_Employees ]",
"#2 = Aggregate [ #1 ] Output [ AVG(Num_Employees) AS Avg_Num_Employees ]"
] | [
"What are the number of employees of the departments whose rank is between 10 and 15?",
"What is the average number of employees of the departments whose rank is between 10 and 15?"
] | [
{
"content": "You are a question decomposition expert. You are given a database schema and a complex database input question in natural language, and your task is to break down the complex database input question into simpler sub-questions in a recursive way, like a tree. In each step you will be given a questi... | Aggregate | 1 | {"index":1,"question":"What is the average number of employees of the departments whose rank is between 10 and 15?","operator":"Aggregate","sub_questions":[{"index":2,"question":"What are the number of employees of the departments whose rank is between 10 and 15?","operator":null,"sub_questions":[]}]} |
47f00f939411fff3d9dd81cdab4b7937fb837492b042f78ebf58dcb092a6f3a8_4 | department_management | What is the average number of employees of the departments whose rank is between 10 and 15? | [
"#1 = Scan Table [ department ] Predicate [ Ranking >= 10 AND Ranking <= 15 ] Output [ Ranking , Num_Employees ]",
"#2 = Aggregate [ #1 ] Output [ AVG(Num_Employees) AS Avg_Num_Employees ]"
] | [
"What are the number of employees of the departments whose rank is between 10 and 15?",
"What is the average number of employees of the departments whose rank is between 10 and 15?"
] | [
{
"content": "You are a question decomposition expert. You are given a database schema and a complex database input question in natural language, and your task is to break down the complex database input question into simpler sub-questions in a recursive way, like a tree. In each step you will be given a questi... | Scan | 2 | {"index":2,"question":"What are the number of employees of the departments whose rank is between 10 and 15?","operator":"Scan","sub_questions":[]} |
39ae01b638dcdce3997751511c9c44e3ad8c5f2e705f8ab9598bfd75006f30ef_2 | department_management | What are the names of the heads who are born outside the California state? | [
"#1 = Scan Table [ head ] Predicate [ born_state <> 'California' ] Output [ name , born_state ]"
] | [
"What are the names of the heads who are born outside the California state?"
] | [
{
"content": "You are a question decomposition expert. You are given a database schema and a complex database input question in natural language, and your task is to break down the complex database input question into simpler sub-questions in a recursive way, like a tree. In each step you will be given a questi... | Scan | 1 | {"index":1,"question":"What are the names of the heads who are born outside the California state?","operator":"Scan","sub_questions":[]} |
3f36f679138a1b0cbb597bd04bf833870f757d27d1f867576d45d426577fcfe5_2 | department_management | What are the distinct creation years of the departments managed by a secretary born in state 'Alabama'? | [
"#1 = Scan Table [ head ] Predicate [ born_state = 'Alabama' ] Output [ head_ID , born_state ]",
"#2 = Scan Table [ management ] Output [ head_ID , department_ID ]",
"#3 = Join [ #1 , #2 ] Predicate [ #1.head_ID = #2.head_ID ] Output [ #2.department_ID ]",
"#4 = Scan Table [ department ] Output [ Creation , D... | [
"What are the ids of secretaries that born in state 'Alabama'?",
"What are the secretary ids and department ids of all management.",
"What are the ids of the departments managed by a secretary born in state 'Alabama'?",
"What are the ids and creation years of all department?",
"What are the distinct creatio... | [
{
"content": "You are a question decomposition expert. You are given a database schema and a complex database input question in natural language, and your task is to break down the complex database input question into simpler sub-questions in a recursive way, like a tree. In each step you will be given a questi... | Join | 1 | {"index":1,"question":"What are the distinct creation years of the departments managed by a secretary born in state 'Alabama'?","operator":"Join","sub_questions":[{"index":2,"question":"What are the ids of the departments managed by a secretary born in state 'Alabama'?","operator":null,"sub_questions":[]},{"index":3,"question":"What are the ids and creation years of all department?","operator":null,"sub_questions":[]}]} |
3f36f679138a1b0cbb597bd04bf833870f757d27d1f867576d45d426577fcfe5_4 | department_management | What are the distinct creation years of the departments managed by a secretary born in state 'Alabama'? | [
"#1 = Scan Table [ head ] Predicate [ born_state = 'Alabama' ] Output [ head_ID , born_state ]",
"#2 = Scan Table [ management ] Output [ head_ID , department_ID ]",
"#3 = Join [ #1 , #2 ] Predicate [ #1.head_ID = #2.head_ID ] Output [ #2.department_ID ]",
"#4 = Scan Table [ department ] Output [ Creation , D... | [
"What are the ids of secretaries that born in state 'Alabama'?",
"What are the secretary ids and department ids of all management.",
"What are the ids of the departments managed by a secretary born in state 'Alabama'?",
"What are the ids and creation years of all department?",
"What are the distinct creatio... | [
{
"content": "You are a question decomposition expert. You are given a database schema and a complex database input question in natural language, and your task is to break down the complex database input question into simpler sub-questions in a recursive way, like a tree. In each step you will be given a questi... | Join | 2 | {"index":2,"question":"What are the ids of the departments managed by a secretary born in state 'Alabama'?","operator":"Join","sub_questions":[{"index":4,"question":"What are the ids of secretaries that born in state 'Alabama'?","operator":null,"sub_questions":[]},{"index":5,"question":"What are the secretary ids and department ids of all management.","operator":null,"sub_questions":[]}]} |
3f36f679138a1b0cbb597bd04bf833870f757d27d1f867576d45d426577fcfe5_6 | department_management | What are the distinct creation years of the departments managed by a secretary born in state 'Alabama'? | [
"#1 = Scan Table [ head ] Predicate [ born_state = 'Alabama' ] Output [ head_ID , born_state ]",
"#2 = Scan Table [ management ] Output [ head_ID , department_ID ]",
"#3 = Join [ #1 , #2 ] Predicate [ #1.head_ID = #2.head_ID ] Output [ #2.department_ID ]",
"#4 = Scan Table [ department ] Output [ Creation , D... | [
"What are the ids of secretaries that born in state 'Alabama'?",
"What are the secretary ids and department ids of all management.",
"What are the ids of the departments managed by a secretary born in state 'Alabama'?",
"What are the ids and creation years of all department?",
"What are the distinct creatio... | [
{
"content": "You are a question decomposition expert. You are given a database schema and a complex database input question in natural language, and your task is to break down the complex database input question into simpler sub-questions in a recursive way, like a tree. In each step you will be given a questi... | Scan | 3 | {"index":3,"question":"What are the ids and creation years of all department?","operator":"Scan","sub_questions":[]} |
3f36f679138a1b0cbb597bd04bf833870f757d27d1f867576d45d426577fcfe5_8 | department_management | What are the distinct creation years of the departments managed by a secretary born in state 'Alabama'? | [
"#1 = Scan Table [ head ] Predicate [ born_state = 'Alabama' ] Output [ head_ID , born_state ]",
"#2 = Scan Table [ management ] Output [ head_ID , department_ID ]",
"#3 = Join [ #1 , #2 ] Predicate [ #1.head_ID = #2.head_ID ] Output [ #2.department_ID ]",
"#4 = Scan Table [ department ] Output [ Creation , D... | [
"What are the ids of secretaries that born in state 'Alabama'?",
"What are the secretary ids and department ids of all management.",
"What are the ids of the departments managed by a secretary born in state 'Alabama'?",
"What are the ids and creation years of all department?",
"What are the distinct creatio... | [
{
"content": "You are a question decomposition expert. You are given a database schema and a complex database input question in natural language, and your task is to break down the complex database input question into simpler sub-questions in a recursive way, like a tree. In each step you will be given a questi... | Scan | 4 | {"index":4,"question":"What are the ids of secretaries that born in state 'Alabama'?","operator":"Scan","sub_questions":[]} |
3f36f679138a1b0cbb597bd04bf833870f757d27d1f867576d45d426577fcfe5_10 | department_management | What are the distinct creation years of the departments managed by a secretary born in state 'Alabama'? | [
"#1 = Scan Table [ head ] Predicate [ born_state = 'Alabama' ] Output [ head_ID , born_state ]",
"#2 = Scan Table [ management ] Output [ head_ID , department_ID ]",
"#3 = Join [ #1 , #2 ] Predicate [ #1.head_ID = #2.head_ID ] Output [ #2.department_ID ]",
"#4 = Scan Table [ department ] Output [ Creation , D... | [
"What are the ids of secretaries that born in state 'Alabama'?",
"What are the secretary ids and department ids of all management.",
"What are the ids of the departments managed by a secretary born in state 'Alabama'?",
"What are the ids and creation years of all department?",
"What are the distinct creatio... | [
{
"content": "You are a question decomposition expert. You are given a database schema and a complex database input question in natural language, and your task is to break down the complex database input question into simpler sub-questions in a recursive way, like a tree. In each step you will be given a questi... | Scan | 5 | {"index":5,"question":"What are the secretary ids and department ids of all management.","operator":"Scan","sub_questions":[]} |
00651f398215c361491c8d06175867c38b39a535517c378d98e8f7f5a0e6191f_2 | department_management | What are the names of the states where at least 3 heads were born? | [
"#1 = Scan Table [ head ] Output [ born_state ]",
"#2 = Aggregate [ #1 ] GroupBy [ born_state ] Output [ countstar AS Count_Star , born_state ]",
"#3 = Filter [ #2 ] Predicate [ Count_Star >= 3 ] Output [ born_state ]"
] | [
"What are the born states of all heads?",
"What are the different born states and the number of heads born there?",
"What are the names of the states where at least 3 heads were born?"
] | [
{
"content": "You are a question decomposition expert. You are given a database schema and a complex database input question in natural language, and your task is to break down the complex database input question into simpler sub-questions in a recursive way, like a tree. In each step you will be given a questi... | Filter | 1 | {"index":1,"question":"What are the names of the states where at least 3 heads were born?","operator":"Filter","sub_questions":[{"index":2,"question":"What are the different born states and the number of heads born there?","operator":null,"sub_questions":[]}]} |
00651f398215c361491c8d06175867c38b39a535517c378d98e8f7f5a0e6191f_4 | department_management | What are the names of the states where at least 3 heads were born? | [
"#1 = Scan Table [ head ] Output [ born_state ]",
"#2 = Aggregate [ #1 ] GroupBy [ born_state ] Output [ countstar AS Count_Star , born_state ]",
"#3 = Filter [ #2 ] Predicate [ Count_Star >= 3 ] Output [ born_state ]"
] | [
"What are the born states of all heads?",
"What are the different born states and the number of heads born there?",
"What are the names of the states where at least 3 heads were born?"
] | [
{
"content": "You are a question decomposition expert. You are given a database schema and a complex database input question in natural language, and your task is to break down the complex database input question into simpler sub-questions in a recursive way, like a tree. In each step you will be given a questi... | Aggregate | 2 | {"index":2,"question":"What are the different born states and the number of heads born there?","operator":"Aggregate","sub_questions":[{"index":3,"question":"What are the born states of all heads?","operator":null,"sub_questions":[]}]} |
00651f398215c361491c8d06175867c38b39a535517c378d98e8f7f5a0e6191f_6 | department_management | What are the names of the states where at least 3 heads were born? | [
"#1 = Scan Table [ head ] Output [ born_state ]",
"#2 = Aggregate [ #1 ] GroupBy [ born_state ] Output [ countstar AS Count_Star , born_state ]",
"#3 = Filter [ #2 ] Predicate [ Count_Star >= 3 ] Output [ born_state ]"
] | [
"What are the born states of all heads?",
"What are the different born states and the number of heads born there?",
"What are the names of the states where at least 3 heads were born?"
] | [
{
"content": "You are a question decomposition expert. You are given a database schema and a complex database input question in natural language, and your task is to break down the complex database input question into simpler sub-questions in a recursive way, like a tree. In each step you will be given a questi... | Scan | 3 | {"index":3,"question":"What are the born states of all heads?","operator":"Scan","sub_questions":[]} |
586865d060d7830514507ad9c19a330a0fe3f7dd3a21dc88d9c82b2c0b3f3626_2 | department_management | In which year were most departments established? | [
"#1 = Scan Table [ department ] Output [ Creation ]",
"#2 = Aggregate [ #1 ] GroupBy [ Creation ] Output [ Creation , countstar AS Count_Star ]",
"#3 = TopSort [ #2 ] Rows [ 1 ] OrderBy [ Count_Star DESC ] Output [ Creation , Count_Star ]"
] | [
"What is the establishment year of all departments?",
"What are the number of departments established for each establishment year?",
"In which year were most departments established?"
] | [
{
"content": "You are a question decomposition expert. You are given a database schema and a complex database input question in natural language, and your task is to break down the complex database input question into simpler sub-questions in a recursive way, like a tree. In each step you will be given a questi... | TopSort | 1 | {"index":1,"question":"In which year were most departments established?","operator":"TopSort","sub_questions":[{"index":2,"question":"What are the number of departments established for each establishment year?","operator":null,"sub_questions":[]}]} |
586865d060d7830514507ad9c19a330a0fe3f7dd3a21dc88d9c82b2c0b3f3626_4 | department_management | In which year were most departments established? | [
"#1 = Scan Table [ department ] Output [ Creation ]",
"#2 = Aggregate [ #1 ] GroupBy [ Creation ] Output [ Creation , countstar AS Count_Star ]",
"#3 = TopSort [ #2 ] Rows [ 1 ] OrderBy [ Count_Star DESC ] Output [ Creation , Count_Star ]"
] | [
"What is the establishment year of all departments?",
"What are the number of departments established for each establishment year?",
"In which year were most departments established?"
] | [
{
"content": "You are a question decomposition expert. You are given a database schema and a complex database input question in natural language, and your task is to break down the complex database input question into simpler sub-questions in a recursive way, like a tree. In each step you will be given a questi... | Aggregate | 2 | {"index":2,"question":"What are the number of departments established for each establishment year?","operator":"Aggregate","sub_questions":[{"index":3,"question":"What is the establishment year of all departments?","operator":null,"sub_questions":[]}]} |
586865d060d7830514507ad9c19a330a0fe3f7dd3a21dc88d9c82b2c0b3f3626_6 | department_management | In which year were most departments established? | [
"#1 = Scan Table [ department ] Output [ Creation ]",
"#2 = Aggregate [ #1 ] GroupBy [ Creation ] Output [ Creation , countstar AS Count_Star ]",
"#3 = TopSort [ #2 ] Rows [ 1 ] OrderBy [ Count_Star DESC ] Output [ Creation , Count_Star ]"
] | [
"What is the establishment year of all departments?",
"What are the number of departments established for each establishment year?",
"In which year were most departments established?"
] | [
{
"content": "You are a question decomposition expert. You are given a database schema and a complex database input question in natural language, and your task is to break down the complex database input question into simpler sub-questions in a recursive way, like a tree. In each step you will be given a questi... | Scan | 3 | {"index":3,"question":"What is the establishment year of all departments?","operator":"Scan","sub_questions":[]} |
a755587236ae98ce64932aae821a229a2fa5c22085e4ae14a98c9e2ed37913e1_2 | department_management | Show the name and number of employees for the departments managed by heads whose temporary acting value is 'Yes'? | [
"#1 = Scan Table [ management ] Predicate [ temporary_acting = 'Yes' ] Output [ temporary_acting , department_ID ]",
"#2 = Scan Table [ department ] Output [ Name , Department_ID , Num_Employees ]",
"#3 = Join [ #1 , #2 ] Predicate [ #1.department_ID = #2.Department_ID ] Output [ #2.Name , #2.Num_Employees ]"
] | [
"Show the id for the departments managed by heads whose temporary acting value is 'Yes'.",
"Show the id, name and number of employees of all departments.",
"Show the name and number of employees for the departments managed by heads whose temporary acting value is 'Yes'?"
] | [
{
"content": "You are a question decomposition expert. You are given a database schema and a complex database input question in natural language, and your task is to break down the complex database input question into simpler sub-questions in a recursive way, like a tree. In each step you will be given a questi... | Join | 1 | {"index":1,"question":"Show the name and number of employees for the departments managed by heads whose temporary acting value is 'Yes'?","operator":"Join","sub_questions":[{"index":2,"question":"Show the id for the departments managed by heads whose temporary acting value is 'Yes'.","operator":null,"sub_questions":[]},{"index":3,"question":"Show the id, name and number of employees of all departments.","operator":null,"sub_questions":[]}]} |
a755587236ae98ce64932aae821a229a2fa5c22085e4ae14a98c9e2ed37913e1_4 | department_management | Show the name and number of employees for the departments managed by heads whose temporary acting value is 'Yes'? | [
"#1 = Scan Table [ management ] Predicate [ temporary_acting = 'Yes' ] Output [ temporary_acting , department_ID ]",
"#2 = Scan Table [ department ] Output [ Name , Department_ID , Num_Employees ]",
"#3 = Join [ #1 , #2 ] Predicate [ #1.department_ID = #2.Department_ID ] Output [ #2.Name , #2.Num_Employees ]"
] | [
"Show the id for the departments managed by heads whose temporary acting value is 'Yes'.",
"Show the id, name and number of employees of all departments.",
"Show the name and number of employees for the departments managed by heads whose temporary acting value is 'Yes'?"
] | [
{
"content": "You are a question decomposition expert. You are given a database schema and a complex database input question in natural language, and your task is to break down the complex database input question into simpler sub-questions in a recursive way, like a tree. In each step you will be given a questi... | Scan | 2 | {"index":2,"question":"Show the id for the departments managed by heads whose temporary acting value is 'Yes'.","operator":"Scan","sub_questions":[]} |
a755587236ae98ce64932aae821a229a2fa5c22085e4ae14a98c9e2ed37913e1_6 | department_management | Show the name and number of employees for the departments managed by heads whose temporary acting value is 'Yes'? | [
"#1 = Scan Table [ management ] Predicate [ temporary_acting = 'Yes' ] Output [ temporary_acting , department_ID ]",
"#2 = Scan Table [ department ] Output [ Name , Department_ID , Num_Employees ]",
"#3 = Join [ #1 , #2 ] Predicate [ #1.department_ID = #2.Department_ID ] Output [ #2.Name , #2.Num_Employees ]"
] | [
"Show the id for the departments managed by heads whose temporary acting value is 'Yes'.",
"Show the id, name and number of employees of all departments.",
"Show the name and number of employees for the departments managed by heads whose temporary acting value is 'Yes'?"
] | [
{
"content": "You are a question decomposition expert. You are given a database schema and a complex database input question in natural language, and your task is to break down the complex database input question into simpler sub-questions in a recursive way, like a tree. In each step you will be given a questi... | Scan | 3 | {"index":3,"question":"Show the id, name and number of employees of all departments.","operator":"Scan","sub_questions":[]} |
91d8d2fd0df0fc77fca751084707e55ef77ded3b9fddf66b2c3a0152bf83fd22_2 | department_management | How many acting statuses are there? | [
"#1 = Scan Table [ management ] Distinct [ true ] Output [ temporary_acting ]",
"#2 = Aggregate [ #1 ] Output [ countstar AS Count_Star ]"
] | [
"List the different acting statuses.",
"How many acting statuses are there?"
] | [
{
"content": "You are a question decomposition expert. You are given a database schema and a complex database input question in natural language, and your task is to break down the complex database input question into simpler sub-questions in a recursive way, like a tree. In each step you will be given a questi... | Aggregate | 1 | {"index":1,"question":"How many acting statuses are there?","operator":"Aggregate","sub_questions":[{"index":2,"question":"List the different acting statuses.","operator":null,"sub_questions":[]}]} |
91d8d2fd0df0fc77fca751084707e55ef77ded3b9fddf66b2c3a0152bf83fd22_4 | department_management | How many acting statuses are there? | [
"#1 = Scan Table [ management ] Distinct [ true ] Output [ temporary_acting ]",
"#2 = Aggregate [ #1 ] Output [ countstar AS Count_Star ]"
] | [
"List the different acting statuses.",
"How many acting statuses are there?"
] | [
{
"content": "You are a question decomposition expert. You are given a database schema and a complex database input question in natural language, and your task is to break down the complex database input question into simpler sub-questions in a recursive way, like a tree. In each step you will be given a questi... | Scan | 2 | {"index":2,"question":"List the different acting statuses.","operator":"Scan","sub_questions":[]} |
11721bd0ca619c9b885db09fa053a789068bbc906d3565209a493f47b01c04b0_2 | department_management | How many departments are led by heads who are not mentioned? | [
"#1 = Scan Table [ department ] Output [ Department_ID ]",
"#2 = Scan Table [ management ] Output [ department_ID ]",
"#3 = Aggregate [ #2 ] GroupBy [ department_ID ] Output [ department_ID ]",
"#4 = Except [ #1 , #3 ] Predicate [ #3.department_ID = #1.Department_ID ] Output [ 1 AS One ]",
"#5 = Aggregate [... | [
"Find the ids of all departments.",
"Find the department ids that are led by heads who are mentioned.",
"Find the different department ids that are led by heads who are mentioned.",
"List 1 for each department led by heads who are not mentioned.",
"How many departments are led by heads who are not mentioned... | [
{
"content": "You are a question decomposition expert. You are given a database schema and a complex database input question in natural language, and your task is to break down the complex database input question into simpler sub-questions in a recursive way, like a tree. In each step you will be given a questi... | Aggregate | 1 | {"index":1,"question":"How many departments are led by heads who are not mentioned?","operator":"Aggregate","sub_questions":[{"index":2,"question":"List 1 for each department led by heads who are not mentioned.","operator":null,"sub_questions":[]}]} |
11721bd0ca619c9b885db09fa053a789068bbc906d3565209a493f47b01c04b0_4 | department_management | How many departments are led by heads who are not mentioned? | [
"#1 = Scan Table [ department ] Output [ Department_ID ]",
"#2 = Scan Table [ management ] Output [ department_ID ]",
"#3 = Aggregate [ #2 ] GroupBy [ department_ID ] Output [ department_ID ]",
"#4 = Except [ #1 , #3 ] Predicate [ #3.department_ID = #1.Department_ID ] Output [ 1 AS One ]",
"#5 = Aggregate [... | [
"Find the ids of all departments.",
"Find the department ids that are led by heads who are mentioned.",
"Find the different department ids that are led by heads who are mentioned.",
"List 1 for each department led by heads who are not mentioned.",
"How many departments are led by heads who are not mentioned... | [
{
"content": "You are a question decomposition expert. You are given a database schema and a complex database input question in natural language, and your task is to break down the complex database input question into simpler sub-questions in a recursive way, like a tree. In each step you will be given a questi... | Except | 2 | {"index":2,"question":"List 1 for each department led by heads who are not mentioned.","operator":"Except","sub_questions":[{"index":3,"question":"Find the ids of all departments.","operator":null,"sub_questions":[]},{"index":4,"question":"Find the different department ids that are led by heads who are mentioned.","operator":null,"sub_questions":[]}]} |
11721bd0ca619c9b885db09fa053a789068bbc906d3565209a493f47b01c04b0_6 | department_management | How many departments are led by heads who are not mentioned? | [
"#1 = Scan Table [ department ] Output [ Department_ID ]",
"#2 = Scan Table [ management ] Output [ department_ID ]",
"#3 = Aggregate [ #2 ] GroupBy [ department_ID ] Output [ department_ID ]",
"#4 = Except [ #1 , #3 ] Predicate [ #3.department_ID = #1.Department_ID ] Output [ 1 AS One ]",
"#5 = Aggregate [... | [
"Find the ids of all departments.",
"Find the department ids that are led by heads who are mentioned.",
"Find the different department ids that are led by heads who are mentioned.",
"List 1 for each department led by heads who are not mentioned.",
"How many departments are led by heads who are not mentioned... | [
{
"content": "You are a question decomposition expert. You are given a database schema and a complex database input question in natural language, and your task is to break down the complex database input question into simpler sub-questions in a recursive way, like a tree. In each step you will be given a questi... | Scan | 3 | {"index":3,"question":"Find the ids of all departments.","operator":"Scan","sub_questions":[]} |
11721bd0ca619c9b885db09fa053a789068bbc906d3565209a493f47b01c04b0_8 | department_management | How many departments are led by heads who are not mentioned? | [
"#1 = Scan Table [ department ] Output [ Department_ID ]",
"#2 = Scan Table [ management ] Output [ department_ID ]",
"#3 = Aggregate [ #2 ] GroupBy [ department_ID ] Output [ department_ID ]",
"#4 = Except [ #1 , #3 ] Predicate [ #3.department_ID = #1.Department_ID ] Output [ 1 AS One ]",
"#5 = Aggregate [... | [
"Find the ids of all departments.",
"Find the department ids that are led by heads who are mentioned.",
"Find the different department ids that are led by heads who are mentioned.",
"List 1 for each department led by heads who are not mentioned.",
"How many departments are led by heads who are not mentioned... | [
{
"content": "You are a question decomposition expert. You are given a database schema and a complex database input question in natural language, and your task is to break down the complex database input question into simpler sub-questions in a recursive way, like a tree. In each step you will be given a questi... | Aggregate | 4 | {"index":4,"question":"Find the different department ids that are led by heads who are mentioned.","operator":"Aggregate","sub_questions":[{"index":5,"question":"Find the department ids that are led by heads who are mentioned.","operator":null,"sub_questions":[]}]} |
End of preview. Expand
in Data Studio
README.md exists but content is empty.
- Downloads last month
- 4