input
stringlengths 3.65k
3.82k
| output
sequencelengths 1
1
| id
stringlengths 40
40
|
---|---|---|
Definition: In this task you will break down a question into the basic steps required to answer it.
A question decomposition is a numbered list of operations that must be performed to answer the original question. Imagine explaining your question to a friendly droid by listing each action it should take in order for the question to be answered. Each step in our decomposition should refer to either an entity (known or unknown), a propery of an entity or a query operation (count, group, union, etc.)
Here are the list of step templates and their description:
Select: A select step is used to return a set of objects. There are no references to previous steps in a select step. template: Return [attributes]
Filter: A filter step is used to return results from a previous step to which a certain condition applies. template: Return [#step] [condition]
Project: A project step should return certain attributes of the results of a previous step. template: Return [attributes] of [#step]
Aggregate: An aggregate step returns an aggregator function applied on a step's result. template: Return the [aggregator] of [#step].
Group: A group step is an aggregator applied on attributes. template: Return the [aggregator] of [#step] for each [attribute]
Superlative: A superlative step is used to return the result with a highest/lowest attribute among other results. template: Return [#step1] [where] [#step2] [is] [highest / lowest]
Comparative: A comparative step is used when we need to compare an attribute with a number to filter results. template: Return [#step1] [where] [#step2] [comparator] [number]
Union: A union step is used to return results of two steps together. template: Return [#step1] [or / ,] [#step2]
Intersection: An intersection step returns the result that two steps have in common. template: Return [attribute] of both [#step1] and [#step2]
Discard: A discard step returns result of a step and excludes result of another step from it. template: Return [#step1] besides [#step2]
Sort: A sort returns result of another step in a specific order. template: Return [#step1] [ordered / sorted by] [#step2]
Is true: An is true step checks a condition on another result and returns a true or false. template: Return [is / if] [condition]
Arithmetic: An arithmatic step operates an arithmatic operation on one or more steps. template: Return the [arithmetic op.] of [#step1] [and] [#step2].
Positive Example 1 -
Input: question: What are the distinct creation years of the departments managed by a secretary born in state 'Alabama'?
Output: #1 return secretaries
#2 return #1 born in state 'Alabama
#3 return departments managed by #2
#4 return distinct creation years of #3
Positive Example 2 -
Input: question: i'd like to see flights from baltimore to atlanta that arrive before noon and i'd like to see flights from denver to atlanta that arrive before noon
Output: #1 return flights
#2 return #1 from baltimore
#3 return #2 to atlanta
#4 return #3 that arrive before noon
#5 return #1 from denver
#6 return #5 to atlanta
#7 return #6 that arrive before noon
#8 return #4 , #7
Negative Example 1 -
Input: question: show the name of all bridges that was designed by american archtect, and sort the result by the bridge feet length.
Output: #1 return american archtects
#2 return bridges
#3 return sorted by feet length
Negative Example 2 -
Input: question: What is the average price for a lesson taught by Janessa Sawayn?
Output: #1 return price for lessons taught by Janessa Sawayn
#2 return the average of #1
Now complete the following example -
Input: question: If the wild dog looks straight toward the camera.
Output:
| [
"#1 return the wild dog \n#2 return if #1 looks straight toward the camera"
] | task176-03a9f60484b843f0b25271cf00cd8a7d |
Definition: In this task you will break down a question into the basic steps required to answer it.
A question decomposition is a numbered list of operations that must be performed to answer the original question. Imagine explaining your question to a friendly droid by listing each action it should take in order for the question to be answered. Each step in our decomposition should refer to either an entity (known or unknown), a propery of an entity or a query operation (count, group, union, etc.)
Here are the list of step templates and their description:
Select: A select step is used to return a set of objects. There are no references to previous steps in a select step. template: Return [attributes]
Filter: A filter step is used to return results from a previous step to which a certain condition applies. template: Return [#step] [condition]
Project: A project step should return certain attributes of the results of a previous step. template: Return [attributes] of [#step]
Aggregate: An aggregate step returns an aggregator function applied on a step's result. template: Return the [aggregator] of [#step].
Group: A group step is an aggregator applied on attributes. template: Return the [aggregator] of [#step] for each [attribute]
Superlative: A superlative step is used to return the result with a highest/lowest attribute among other results. template: Return [#step1] [where] [#step2] [is] [highest / lowest]
Comparative: A comparative step is used when we need to compare an attribute with a number to filter results. template: Return [#step1] [where] [#step2] [comparator] [number]
Union: A union step is used to return results of two steps together. template: Return [#step1] [or / ,] [#step2]
Intersection: An intersection step returns the result that two steps have in common. template: Return [attribute] of both [#step1] and [#step2]
Discard: A discard step returns result of a step and excludes result of another step from it. template: Return [#step1] besides [#step2]
Sort: A sort returns result of another step in a specific order. template: Return [#step1] [ordered / sorted by] [#step2]
Is true: An is true step checks a condition on another result and returns a true or false. template: Return [is / if] [condition]
Arithmetic: An arithmatic step operates an arithmatic operation on one or more steps. template: Return the [arithmetic op.] of [#step1] [and] [#step2].
Positive Example 1 -
Input: question: What are the distinct creation years of the departments managed by a secretary born in state 'Alabama'?
Output: #1 return secretaries
#2 return #1 born in state 'Alabama
#3 return departments managed by #2
#4 return distinct creation years of #3
Positive Example 2 -
Input: question: i'd like to see flights from baltimore to atlanta that arrive before noon and i'd like to see flights from denver to atlanta that arrive before noon
Output: #1 return flights
#2 return #1 from baltimore
#3 return #2 to atlanta
#4 return #3 that arrive before noon
#5 return #1 from denver
#6 return #5 to atlanta
#7 return #6 that arrive before noon
#8 return #4 , #7
Negative Example 1 -
Input: question: show the name of all bridges that was designed by american archtect, and sort the result by the bridge feet length.
Output: #1 return american archtects
#2 return bridges
#3 return sorted by feet length
Negative Example 2 -
Input: question: What is the average price for a lesson taught by Janessa Sawayn?
Output: #1 return price for lessons taught by Janessa Sawayn
#2 return the average of #1
Now complete the following example -
Input: question: If in one of the image there are 3 chimpanzees on a branch.
Output:
| [
"#1 return images \n#2 return chimpanzees in #1 \n#3 return branches in #1 \n#4 return #2 on #3 \n#5 return number of #4 for each #1 \n#6 return #1 where #5 is equal to 3 \n#7 return number of #6 \n#8 return if #7 is equal to one"
] | task176-c5dfb3f8f025402d825bc2328a1d7538 |
Definition: In this task you will break down a question into the basic steps required to answer it.
A question decomposition is a numbered list of operations that must be performed to answer the original question. Imagine explaining your question to a friendly droid by listing each action it should take in order for the question to be answered. Each step in our decomposition should refer to either an entity (known or unknown), a propery of an entity or a query operation (count, group, union, etc.)
Here are the list of step templates and their description:
Select: A select step is used to return a set of objects. There are no references to previous steps in a select step. template: Return [attributes]
Filter: A filter step is used to return results from a previous step to which a certain condition applies. template: Return [#step] [condition]
Project: A project step should return certain attributes of the results of a previous step. template: Return [attributes] of [#step]
Aggregate: An aggregate step returns an aggregator function applied on a step's result. template: Return the [aggregator] of [#step].
Group: A group step is an aggregator applied on attributes. template: Return the [aggregator] of [#step] for each [attribute]
Superlative: A superlative step is used to return the result with a highest/lowest attribute among other results. template: Return [#step1] [where] [#step2] [is] [highest / lowest]
Comparative: A comparative step is used when we need to compare an attribute with a number to filter results. template: Return [#step1] [where] [#step2] [comparator] [number]
Union: A union step is used to return results of two steps together. template: Return [#step1] [or / ,] [#step2]
Intersection: An intersection step returns the result that two steps have in common. template: Return [attribute] of both [#step1] and [#step2]
Discard: A discard step returns result of a step and excludes result of another step from it. template: Return [#step1] besides [#step2]
Sort: A sort returns result of another step in a specific order. template: Return [#step1] [ordered / sorted by] [#step2]
Is true: An is true step checks a condition on another result and returns a true or false. template: Return [is / if] [condition]
Arithmetic: An arithmatic step operates an arithmatic operation on one or more steps. template: Return the [arithmetic op.] of [#step1] [and] [#step2].
Positive Example 1 -
Input: question: What are the distinct creation years of the departments managed by a secretary born in state 'Alabama'?
Output: #1 return secretaries
#2 return #1 born in state 'Alabama
#3 return departments managed by #2
#4 return distinct creation years of #3
Positive Example 2 -
Input: question: i'd like to see flights from baltimore to atlanta that arrive before noon and i'd like to see flights from denver to atlanta that arrive before noon
Output: #1 return flights
#2 return #1 from baltimore
#3 return #2 to atlanta
#4 return #3 that arrive before noon
#5 return #1 from denver
#6 return #5 to atlanta
#7 return #6 that arrive before noon
#8 return #4 , #7
Negative Example 1 -
Input: question: show the name of all bridges that was designed by american archtect, and sort the result by the bridge feet length.
Output: #1 return american archtects
#2 return bridges
#3 return sorted by feet length
Negative Example 2 -
Input: question: What is the average price for a lesson taught by Janessa Sawayn?
Output: #1 return price for lessons taught by Janessa Sawayn
#2 return the average of #1
Now complete the following example -
Input: question: Are all the balls made of rubber?
Output:
| [
"#1 return balls \n#2 return #1 that are made of rubber \n#3 return number of #1 \n#4 return number of #2 \n#5 return if #3 is equal to #4"
] | task176-177979e50f2a4a6aafcead551c4402ce |
Definition: In this task you will break down a question into the basic steps required to answer it.
A question decomposition is a numbered list of operations that must be performed to answer the original question. Imagine explaining your question to a friendly droid by listing each action it should take in order for the question to be answered. Each step in our decomposition should refer to either an entity (known or unknown), a propery of an entity or a query operation (count, group, union, etc.)
Here are the list of step templates and their description:
Select: A select step is used to return a set of objects. There are no references to previous steps in a select step. template: Return [attributes]
Filter: A filter step is used to return results from a previous step to which a certain condition applies. template: Return [#step] [condition]
Project: A project step should return certain attributes of the results of a previous step. template: Return [attributes] of [#step]
Aggregate: An aggregate step returns an aggregator function applied on a step's result. template: Return the [aggregator] of [#step].
Group: A group step is an aggregator applied on attributes. template: Return the [aggregator] of [#step] for each [attribute]
Superlative: A superlative step is used to return the result with a highest/lowest attribute among other results. template: Return [#step1] [where] [#step2] [is] [highest / lowest]
Comparative: A comparative step is used when we need to compare an attribute with a number to filter results. template: Return [#step1] [where] [#step2] [comparator] [number]
Union: A union step is used to return results of two steps together. template: Return [#step1] [or / ,] [#step2]
Intersection: An intersection step returns the result that two steps have in common. template: Return [attribute] of both [#step1] and [#step2]
Discard: A discard step returns result of a step and excludes result of another step from it. template: Return [#step1] besides [#step2]
Sort: A sort returns result of another step in a specific order. template: Return [#step1] [ordered / sorted by] [#step2]
Is true: An is true step checks a condition on another result and returns a true or false. template: Return [is / if] [condition]
Arithmetic: An arithmatic step operates an arithmatic operation on one or more steps. template: Return the [arithmetic op.] of [#step1] [and] [#step2].
Positive Example 1 -
Input: question: What are the distinct creation years of the departments managed by a secretary born in state 'Alabama'?
Output: #1 return secretaries
#2 return #1 born in state 'Alabama
#3 return departments managed by #2
#4 return distinct creation years of #3
Positive Example 2 -
Input: question: i'd like to see flights from baltimore to atlanta that arrive before noon and i'd like to see flights from denver to atlanta that arrive before noon
Output: #1 return flights
#2 return #1 from baltimore
#3 return #2 to atlanta
#4 return #3 that arrive before noon
#5 return #1 from denver
#6 return #5 to atlanta
#7 return #6 that arrive before noon
#8 return #4 , #7
Negative Example 1 -
Input: question: show the name of all bridges that was designed by american archtect, and sort the result by the bridge feet length.
Output: #1 return american archtects
#2 return bridges
#3 return sorted by feet length
Negative Example 2 -
Input: question: What is the average price for a lesson taught by Janessa Sawayn?
Output: #1 return price for lessons taught by Janessa Sawayn
#2 return the average of #1
Now complete the following example -
Input: question: Were there more people between 20 and 40 or between 40 and 60?
Output:
| [
"#1 return people \n#2 return #1 between 20 and 40 \n#3 return #1 between 40 and 60 \n#4 return number of #2 \n#5 return number of #3 \n#6 return which is highest of #4 , #5"
] | task176-c60cce80853544b7937496d2c497eadc |
Definition: In this task you will break down a question into the basic steps required to answer it.
A question decomposition is a numbered list of operations that must be performed to answer the original question. Imagine explaining your question to a friendly droid by listing each action it should take in order for the question to be answered. Each step in our decomposition should refer to either an entity (known or unknown), a propery of an entity or a query operation (count, group, union, etc.)
Here are the list of step templates and their description:
Select: A select step is used to return a set of objects. There are no references to previous steps in a select step. template: Return [attributes]
Filter: A filter step is used to return results from a previous step to which a certain condition applies. template: Return [#step] [condition]
Project: A project step should return certain attributes of the results of a previous step. template: Return [attributes] of [#step]
Aggregate: An aggregate step returns an aggregator function applied on a step's result. template: Return the [aggregator] of [#step].
Group: A group step is an aggregator applied on attributes. template: Return the [aggregator] of [#step] for each [attribute]
Superlative: A superlative step is used to return the result with a highest/lowest attribute among other results. template: Return [#step1] [where] [#step2] [is] [highest / lowest]
Comparative: A comparative step is used when we need to compare an attribute with a number to filter results. template: Return [#step1] [where] [#step2] [comparator] [number]
Union: A union step is used to return results of two steps together. template: Return [#step1] [or / ,] [#step2]
Intersection: An intersection step returns the result that two steps have in common. template: Return [attribute] of both [#step1] and [#step2]
Discard: A discard step returns result of a step and excludes result of another step from it. template: Return [#step1] besides [#step2]
Sort: A sort returns result of another step in a specific order. template: Return [#step1] [ordered / sorted by] [#step2]
Is true: An is true step checks a condition on another result and returns a true or false. template: Return [is / if] [condition]
Arithmetic: An arithmatic step operates an arithmatic operation on one or more steps. template: Return the [arithmetic op.] of [#step1] [and] [#step2].
Positive Example 1 -
Input: question: What are the distinct creation years of the departments managed by a secretary born in state 'Alabama'?
Output: #1 return secretaries
#2 return #1 born in state 'Alabama
#3 return departments managed by #2
#4 return distinct creation years of #3
Positive Example 2 -
Input: question: i'd like to see flights from baltimore to atlanta that arrive before noon and i'd like to see flights from denver to atlanta that arrive before noon
Output: #1 return flights
#2 return #1 from baltimore
#3 return #2 to atlanta
#4 return #3 that arrive before noon
#5 return #1 from denver
#6 return #5 to atlanta
#7 return #6 that arrive before noon
#8 return #4 , #7
Negative Example 1 -
Input: question: show the name of all bridges that was designed by american archtect, and sort the result by the bridge feet length.
Output: #1 return american archtects
#2 return bridges
#3 return sorted by feet length
Negative Example 2 -
Input: question: What is the average price for a lesson taught by Janessa Sawayn?
Output: #1 return price for lessons taught by Janessa Sawayn
#2 return the average of #1
Now complete the following example -
Input: question: Do the green objects share the same shapes as the cyan objects?
Output:
| [
"#1 return green objects \n#2 return cyan objects \n#3 return shapes of #1 \n#4 return shapes of #2 \n#5 return are #3 the same as #4"
] | task176-f33bef2395d9462b98f70942556a20e6 |
Definition: In this task you will break down a question into the basic steps required to answer it.
A question decomposition is a numbered list of operations that must be performed to answer the original question. Imagine explaining your question to a friendly droid by listing each action it should take in order for the question to be answered. Each step in our decomposition should refer to either an entity (known or unknown), a propery of an entity or a query operation (count, group, union, etc.)
Here are the list of step templates and their description:
Select: A select step is used to return a set of objects. There are no references to previous steps in a select step. template: Return [attributes]
Filter: A filter step is used to return results from a previous step to which a certain condition applies. template: Return [#step] [condition]
Project: A project step should return certain attributes of the results of a previous step. template: Return [attributes] of [#step]
Aggregate: An aggregate step returns an aggregator function applied on a step's result. template: Return the [aggregator] of [#step].
Group: A group step is an aggregator applied on attributes. template: Return the [aggregator] of [#step] for each [attribute]
Superlative: A superlative step is used to return the result with a highest/lowest attribute among other results. template: Return [#step1] [where] [#step2] [is] [highest / lowest]
Comparative: A comparative step is used when we need to compare an attribute with a number to filter results. template: Return [#step1] [where] [#step2] [comparator] [number]
Union: A union step is used to return results of two steps together. template: Return [#step1] [or / ,] [#step2]
Intersection: An intersection step returns the result that two steps have in common. template: Return [attribute] of both [#step1] and [#step2]
Discard: A discard step returns result of a step and excludes result of another step from it. template: Return [#step1] besides [#step2]
Sort: A sort returns result of another step in a specific order. template: Return [#step1] [ordered / sorted by] [#step2]
Is true: An is true step checks a condition on another result and returns a true or false. template: Return [is / if] [condition]
Arithmetic: An arithmatic step operates an arithmatic operation on one or more steps. template: Return the [arithmetic op.] of [#step1] [and] [#step2].
Positive Example 1 -
Input: question: What are the distinct creation years of the departments managed by a secretary born in state 'Alabama'?
Output: #1 return secretaries
#2 return #1 born in state 'Alabama
#3 return departments managed by #2
#4 return distinct creation years of #3
Positive Example 2 -
Input: question: i'd like to see flights from baltimore to atlanta that arrive before noon and i'd like to see flights from denver to atlanta that arrive before noon
Output: #1 return flights
#2 return #1 from baltimore
#3 return #2 to atlanta
#4 return #3 that arrive before noon
#5 return #1 from denver
#6 return #5 to atlanta
#7 return #6 that arrive before noon
#8 return #4 , #7
Negative Example 1 -
Input: question: show the name of all bridges that was designed by american archtect, and sort the result by the bridge feet length.
Output: #1 return american archtects
#2 return bridges
#3 return sorted by feet length
Negative Example 2 -
Input: question: What is the average price for a lesson taught by Janessa Sawayn?
Output: #1 return price for lessons taught by Janessa Sawayn
#2 return the average of #1
Now complete the following example -
Input: question: is there a limousine service available from the pittsburgh airport
Output:
| [
"#1 return the pittsburgh airport \n#2 return if #1 has a limousine service available"
] | task176-f9a2d15f189e4878a556071f3d3df3b3 |
Definition: In this task you will break down a question into the basic steps required to answer it.
A question decomposition is a numbered list of operations that must be performed to answer the original question. Imagine explaining your question to a friendly droid by listing each action it should take in order for the question to be answered. Each step in our decomposition should refer to either an entity (known or unknown), a propery of an entity or a query operation (count, group, union, etc.)
Here are the list of step templates and their description:
Select: A select step is used to return a set of objects. There are no references to previous steps in a select step. template: Return [attributes]
Filter: A filter step is used to return results from a previous step to which a certain condition applies. template: Return [#step] [condition]
Project: A project step should return certain attributes of the results of a previous step. template: Return [attributes] of [#step]
Aggregate: An aggregate step returns an aggregator function applied on a step's result. template: Return the [aggregator] of [#step].
Group: A group step is an aggregator applied on attributes. template: Return the [aggregator] of [#step] for each [attribute]
Superlative: A superlative step is used to return the result with a highest/lowest attribute among other results. template: Return [#step1] [where] [#step2] [is] [highest / lowest]
Comparative: A comparative step is used when we need to compare an attribute with a number to filter results. template: Return [#step1] [where] [#step2] [comparator] [number]
Union: A union step is used to return results of two steps together. template: Return [#step1] [or / ,] [#step2]
Intersection: An intersection step returns the result that two steps have in common. template: Return [attribute] of both [#step1] and [#step2]
Discard: A discard step returns result of a step and excludes result of another step from it. template: Return [#step1] besides [#step2]
Sort: A sort returns result of another step in a specific order. template: Return [#step1] [ordered / sorted by] [#step2]
Is true: An is true step checks a condition on another result and returns a true or false. template: Return [is / if] [condition]
Arithmetic: An arithmatic step operates an arithmatic operation on one or more steps. template: Return the [arithmetic op.] of [#step1] [and] [#step2].
Positive Example 1 -
Input: question: What are the distinct creation years of the departments managed by a secretary born in state 'Alabama'?
Output: #1 return secretaries
#2 return #1 born in state 'Alabama
#3 return departments managed by #2
#4 return distinct creation years of #3
Positive Example 2 -
Input: question: i'd like to see flights from baltimore to atlanta that arrive before noon and i'd like to see flights from denver to atlanta that arrive before noon
Output: #1 return flights
#2 return #1 from baltimore
#3 return #2 to atlanta
#4 return #3 that arrive before noon
#5 return #1 from denver
#6 return #5 to atlanta
#7 return #6 that arrive before noon
#8 return #4 , #7
Negative Example 1 -
Input: question: show the name of all bridges that was designed by american archtect, and sort the result by the bridge feet length.
Output: #1 return american archtects
#2 return bridges
#3 return sorted by feet length
Negative Example 2 -
Input: question: What is the average price for a lesson taught by Janessa Sawayn?
Output: #1 return price for lessons taught by Janessa Sawayn
#2 return the average of #1
Now complete the following example -
Input: question: Find the oldest log id and its corresponding problem id.
Output:
| [
"#1 return log id \n#2 return oldest of #1 \n#3 return problem id of #2 \n#4 return #2 , #3"
] | task176-3748c18272df429f9931f990fdb964d7 |
Definition: In this task you will break down a question into the basic steps required to answer it.
A question decomposition is a numbered list of operations that must be performed to answer the original question. Imagine explaining your question to a friendly droid by listing each action it should take in order for the question to be answered. Each step in our decomposition should refer to either an entity (known or unknown), a propery of an entity or a query operation (count, group, union, etc.)
Here are the list of step templates and their description:
Select: A select step is used to return a set of objects. There are no references to previous steps in a select step. template: Return [attributes]
Filter: A filter step is used to return results from a previous step to which a certain condition applies. template: Return [#step] [condition]
Project: A project step should return certain attributes of the results of a previous step. template: Return [attributes] of [#step]
Aggregate: An aggregate step returns an aggregator function applied on a step's result. template: Return the [aggregator] of [#step].
Group: A group step is an aggregator applied on attributes. template: Return the [aggregator] of [#step] for each [attribute]
Superlative: A superlative step is used to return the result with a highest/lowest attribute among other results. template: Return [#step1] [where] [#step2] [is] [highest / lowest]
Comparative: A comparative step is used when we need to compare an attribute with a number to filter results. template: Return [#step1] [where] [#step2] [comparator] [number]
Union: A union step is used to return results of two steps together. template: Return [#step1] [or / ,] [#step2]
Intersection: An intersection step returns the result that two steps have in common. template: Return [attribute] of both [#step1] and [#step2]
Discard: A discard step returns result of a step and excludes result of another step from it. template: Return [#step1] besides [#step2]
Sort: A sort returns result of another step in a specific order. template: Return [#step1] [ordered / sorted by] [#step2]
Is true: An is true step checks a condition on another result and returns a true or false. template: Return [is / if] [condition]
Arithmetic: An arithmatic step operates an arithmatic operation on one or more steps. template: Return the [arithmetic op.] of [#step1] [and] [#step2].
Positive Example 1 -
Input: question: What are the distinct creation years of the departments managed by a secretary born in state 'Alabama'?
Output: #1 return secretaries
#2 return #1 born in state 'Alabama
#3 return departments managed by #2
#4 return distinct creation years of #3
Positive Example 2 -
Input: question: i'd like to see flights from baltimore to atlanta that arrive before noon and i'd like to see flights from denver to atlanta that arrive before noon
Output: #1 return flights
#2 return #1 from baltimore
#3 return #2 to atlanta
#4 return #3 that arrive before noon
#5 return #1 from denver
#6 return #5 to atlanta
#7 return #6 that arrive before noon
#8 return #4 , #7
Negative Example 1 -
Input: question: show the name of all bridges that was designed by american archtect, and sort the result by the bridge feet length.
Output: #1 return american archtects
#2 return bridges
#3 return sorted by feet length
Negative Example 2 -
Input: question: What is the average price for a lesson taught by Janessa Sawayn?
Output: #1 return price for lessons taught by Janessa Sawayn
#2 return the average of #1
Now complete the following example -
Input: question: Is the shiny ball next to the square?
Output:
| [
"#1 return shiny ball \n#2 return square \n#3 return Is #1 next to #2"
] | task176-1e6efcb73e1b4ccb871555ed6faabb34 |
Definition: In this task you will break down a question into the basic steps required to answer it.
A question decomposition is a numbered list of operations that must be performed to answer the original question. Imagine explaining your question to a friendly droid by listing each action it should take in order for the question to be answered. Each step in our decomposition should refer to either an entity (known or unknown), a propery of an entity or a query operation (count, group, union, etc.)
Here are the list of step templates and their description:
Select: A select step is used to return a set of objects. There are no references to previous steps in a select step. template: Return [attributes]
Filter: A filter step is used to return results from a previous step to which a certain condition applies. template: Return [#step] [condition]
Project: A project step should return certain attributes of the results of a previous step. template: Return [attributes] of [#step]
Aggregate: An aggregate step returns an aggregator function applied on a step's result. template: Return the [aggregator] of [#step].
Group: A group step is an aggregator applied on attributes. template: Return the [aggregator] of [#step] for each [attribute]
Superlative: A superlative step is used to return the result with a highest/lowest attribute among other results. template: Return [#step1] [where] [#step2] [is] [highest / lowest]
Comparative: A comparative step is used when we need to compare an attribute with a number to filter results. template: Return [#step1] [where] [#step2] [comparator] [number]
Union: A union step is used to return results of two steps together. template: Return [#step1] [or / ,] [#step2]
Intersection: An intersection step returns the result that two steps have in common. template: Return [attribute] of both [#step1] and [#step2]
Discard: A discard step returns result of a step and excludes result of another step from it. template: Return [#step1] besides [#step2]
Sort: A sort returns result of another step in a specific order. template: Return [#step1] [ordered / sorted by] [#step2]
Is true: An is true step checks a condition on another result and returns a true or false. template: Return [is / if] [condition]
Arithmetic: An arithmatic step operates an arithmatic operation on one or more steps. template: Return the [arithmetic op.] of [#step1] [and] [#step2].
Positive Example 1 -
Input: question: What are the distinct creation years of the departments managed by a secretary born in state 'Alabama'?
Output: #1 return secretaries
#2 return #1 born in state 'Alabama
#3 return departments managed by #2
#4 return distinct creation years of #3
Positive Example 2 -
Input: question: i'd like to see flights from baltimore to atlanta that arrive before noon and i'd like to see flights from denver to atlanta that arrive before noon
Output: #1 return flights
#2 return #1 from baltimore
#3 return #2 to atlanta
#4 return #3 that arrive before noon
#5 return #1 from denver
#6 return #5 to atlanta
#7 return #6 that arrive before noon
#8 return #4 , #7
Negative Example 1 -
Input: question: show the name of all bridges that was designed by american archtect, and sort the result by the bridge feet length.
Output: #1 return american archtects
#2 return bridges
#3 return sorted by feet length
Negative Example 2 -
Input: question: What is the average price for a lesson taught by Janessa Sawayn?
Output: #1 return price for lessons taught by Janessa Sawayn
#2 return the average of #1
Now complete the following example -
Input: question: who plays tara in chrissa?
Output:
| [
"#1 return chrissa \n#2 return tara of #1 \n#3 return who plays #2"
] | task176-e2b655a3043e4ef385db665420e1df03 |
Definition: In this task you will break down a question into the basic steps required to answer it.
A question decomposition is a numbered list of operations that must be performed to answer the original question. Imagine explaining your question to a friendly droid by listing each action it should take in order for the question to be answered. Each step in our decomposition should refer to either an entity (known or unknown), a propery of an entity or a query operation (count, group, union, etc.)
Here are the list of step templates and their description:
Select: A select step is used to return a set of objects. There are no references to previous steps in a select step. template: Return [attributes]
Filter: A filter step is used to return results from a previous step to which a certain condition applies. template: Return [#step] [condition]
Project: A project step should return certain attributes of the results of a previous step. template: Return [attributes] of [#step]
Aggregate: An aggregate step returns an aggregator function applied on a step's result. template: Return the [aggregator] of [#step].
Group: A group step is an aggregator applied on attributes. template: Return the [aggregator] of [#step] for each [attribute]
Superlative: A superlative step is used to return the result with a highest/lowest attribute among other results. template: Return [#step1] [where] [#step2] [is] [highest / lowest]
Comparative: A comparative step is used when we need to compare an attribute with a number to filter results. template: Return [#step1] [where] [#step2] [comparator] [number]
Union: A union step is used to return results of two steps together. template: Return [#step1] [or / ,] [#step2]
Intersection: An intersection step returns the result that two steps have in common. template: Return [attribute] of both [#step1] and [#step2]
Discard: A discard step returns result of a step and excludes result of another step from it. template: Return [#step1] besides [#step2]
Sort: A sort returns result of another step in a specific order. template: Return [#step1] [ordered / sorted by] [#step2]
Is true: An is true step checks a condition on another result and returns a true or false. template: Return [is / if] [condition]
Arithmetic: An arithmatic step operates an arithmatic operation on one or more steps. template: Return the [arithmetic op.] of [#step1] [and] [#step2].
Positive Example 1 -
Input: question: What are the distinct creation years of the departments managed by a secretary born in state 'Alabama'?
Output: #1 return secretaries
#2 return #1 born in state 'Alabama
#3 return departments managed by #2
#4 return distinct creation years of #3
Positive Example 2 -
Input: question: i'd like to see flights from baltimore to atlanta that arrive before noon and i'd like to see flights from denver to atlanta that arrive before noon
Output: #1 return flights
#2 return #1 from baltimore
#3 return #2 to atlanta
#4 return #3 that arrive before noon
#5 return #1 from denver
#6 return #5 to atlanta
#7 return #6 that arrive before noon
#8 return #4 , #7
Negative Example 1 -
Input: question: show the name of all bridges that was designed by american archtect, and sort the result by the bridge feet length.
Output: #1 return american archtects
#2 return bridges
#3 return sorted by feet length
Negative Example 2 -
Input: question: What is the average price for a lesson taught by Janessa Sawayn?
Output: #1 return price for lessons taught by Janessa Sawayn
#2 return the average of #1
Now complete the following example -
Input: question: who discovered radon first?
Output:
| [
"#1 return radon \n#2 return who discovered #1 \n#3 return first of #2"
] | task176-9a5949d19d474b42a77073891793740f |
Definition: In this task you will break down a question into the basic steps required to answer it.
A question decomposition is a numbered list of operations that must be performed to answer the original question. Imagine explaining your question to a friendly droid by listing each action it should take in order for the question to be answered. Each step in our decomposition should refer to either an entity (known or unknown), a propery of an entity or a query operation (count, group, union, etc.)
Here are the list of step templates and their description:
Select: A select step is used to return a set of objects. There are no references to previous steps in a select step. template: Return [attributes]
Filter: A filter step is used to return results from a previous step to which a certain condition applies. template: Return [#step] [condition]
Project: A project step should return certain attributes of the results of a previous step. template: Return [attributes] of [#step]
Aggregate: An aggregate step returns an aggregator function applied on a step's result. template: Return the [aggregator] of [#step].
Group: A group step is an aggregator applied on attributes. template: Return the [aggregator] of [#step] for each [attribute]
Superlative: A superlative step is used to return the result with a highest/lowest attribute among other results. template: Return [#step1] [where] [#step2] [is] [highest / lowest]
Comparative: A comparative step is used when we need to compare an attribute with a number to filter results. template: Return [#step1] [where] [#step2] [comparator] [number]
Union: A union step is used to return results of two steps together. template: Return [#step1] [or / ,] [#step2]
Intersection: An intersection step returns the result that two steps have in common. template: Return [attribute] of both [#step1] and [#step2]
Discard: A discard step returns result of a step and excludes result of another step from it. template: Return [#step1] besides [#step2]
Sort: A sort returns result of another step in a specific order. template: Return [#step1] [ordered / sorted by] [#step2]
Is true: An is true step checks a condition on another result and returns a true or false. template: Return [is / if] [condition]
Arithmetic: An arithmatic step operates an arithmatic operation on one or more steps. template: Return the [arithmetic op.] of [#step1] [and] [#step2].
Positive Example 1 -
Input: question: What are the distinct creation years of the departments managed by a secretary born in state 'Alabama'?
Output: #1 return secretaries
#2 return #1 born in state 'Alabama
#3 return departments managed by #2
#4 return distinct creation years of #3
Positive Example 2 -
Input: question: i'd like to see flights from baltimore to atlanta that arrive before noon and i'd like to see flights from denver to atlanta that arrive before noon
Output: #1 return flights
#2 return #1 from baltimore
#3 return #2 to atlanta
#4 return #3 that arrive before noon
#5 return #1 from denver
#6 return #5 to atlanta
#7 return #6 that arrive before noon
#8 return #4 , #7
Negative Example 1 -
Input: question: show the name of all bridges that was designed by american archtect, and sort the result by the bridge feet length.
Output: #1 return american archtects
#2 return bridges
#3 return sorted by feet length
Negative Example 2 -
Input: question: What is the average price for a lesson taught by Janessa Sawayn?
Output: #1 return price for lessons taught by Janessa Sawayn
#2 return the average of #1
Now complete the following example -
Input: question: What shape is the furthest in the back?
Output:
| [
"#1 return shape \n#2 return #1 that is furthest in the back"
] | task176-00d1a1254dc949fbbb8554112fdb781c |
Definition: In this task you will break down a question into the basic steps required to answer it.
A question decomposition is a numbered list of operations that must be performed to answer the original question. Imagine explaining your question to a friendly droid by listing each action it should take in order for the question to be answered. Each step in our decomposition should refer to either an entity (known or unknown), a propery of an entity or a query operation (count, group, union, etc.)
Here are the list of step templates and their description:
Select: A select step is used to return a set of objects. There are no references to previous steps in a select step. template: Return [attributes]
Filter: A filter step is used to return results from a previous step to which a certain condition applies. template: Return [#step] [condition]
Project: A project step should return certain attributes of the results of a previous step. template: Return [attributes] of [#step]
Aggregate: An aggregate step returns an aggregator function applied on a step's result. template: Return the [aggregator] of [#step].
Group: A group step is an aggregator applied on attributes. template: Return the [aggregator] of [#step] for each [attribute]
Superlative: A superlative step is used to return the result with a highest/lowest attribute among other results. template: Return [#step1] [where] [#step2] [is] [highest / lowest]
Comparative: A comparative step is used when we need to compare an attribute with a number to filter results. template: Return [#step1] [where] [#step2] [comparator] [number]
Union: A union step is used to return results of two steps together. template: Return [#step1] [or / ,] [#step2]
Intersection: An intersection step returns the result that two steps have in common. template: Return [attribute] of both [#step1] and [#step2]
Discard: A discard step returns result of a step and excludes result of another step from it. template: Return [#step1] besides [#step2]
Sort: A sort returns result of another step in a specific order. template: Return [#step1] [ordered / sorted by] [#step2]
Is true: An is true step checks a condition on another result and returns a true or false. template: Return [is / if] [condition]
Arithmetic: An arithmatic step operates an arithmatic operation on one or more steps. template: Return the [arithmetic op.] of [#step1] [and] [#step2].
Positive Example 1 -
Input: question: What are the distinct creation years of the departments managed by a secretary born in state 'Alabama'?
Output: #1 return secretaries
#2 return #1 born in state 'Alabama
#3 return departments managed by #2
#4 return distinct creation years of #3
Positive Example 2 -
Input: question: i'd like to see flights from baltimore to atlanta that arrive before noon and i'd like to see flights from denver to atlanta that arrive before noon
Output: #1 return flights
#2 return #1 from baltimore
#3 return #2 to atlanta
#4 return #3 that arrive before noon
#5 return #1 from denver
#6 return #5 to atlanta
#7 return #6 that arrive before noon
#8 return #4 , #7
Negative Example 1 -
Input: question: show the name of all bridges that was designed by american archtect, and sort the result by the bridge feet length.
Output: #1 return american archtects
#2 return bridges
#3 return sorted by feet length
Negative Example 2 -
Input: question: What is the average price for a lesson taught by Janessa Sawayn?
Output: #1 return price for lessons taught by Janessa Sawayn
#2 return the average of #1
Now complete the following example -
Input: question: How many total yards were both of Matt Forte's touchdowns?
Output:
| [
"#1 return Matt Forte \n#2 return touchdowns of #1 \n#3 return yards of #2 \n#4 return sum of #3"
] | task176-ae5293f1aa44444a96d529dc48490e95 |
Definition: In this task you will break down a question into the basic steps required to answer it.
A question decomposition is a numbered list of operations that must be performed to answer the original question. Imagine explaining your question to a friendly droid by listing each action it should take in order for the question to be answered. Each step in our decomposition should refer to either an entity (known or unknown), a propery of an entity or a query operation (count, group, union, etc.)
Here are the list of step templates and their description:
Select: A select step is used to return a set of objects. There are no references to previous steps in a select step. template: Return [attributes]
Filter: A filter step is used to return results from a previous step to which a certain condition applies. template: Return [#step] [condition]
Project: A project step should return certain attributes of the results of a previous step. template: Return [attributes] of [#step]
Aggregate: An aggregate step returns an aggregator function applied on a step's result. template: Return the [aggregator] of [#step].
Group: A group step is an aggregator applied on attributes. template: Return the [aggregator] of [#step] for each [attribute]
Superlative: A superlative step is used to return the result with a highest/lowest attribute among other results. template: Return [#step1] [where] [#step2] [is] [highest / lowest]
Comparative: A comparative step is used when we need to compare an attribute with a number to filter results. template: Return [#step1] [where] [#step2] [comparator] [number]
Union: A union step is used to return results of two steps together. template: Return [#step1] [or / ,] [#step2]
Intersection: An intersection step returns the result that two steps have in common. template: Return [attribute] of both [#step1] and [#step2]
Discard: A discard step returns result of a step and excludes result of another step from it. template: Return [#step1] besides [#step2]
Sort: A sort returns result of another step in a specific order. template: Return [#step1] [ordered / sorted by] [#step2]
Is true: An is true step checks a condition on another result and returns a true or false. template: Return [is / if] [condition]
Arithmetic: An arithmatic step operates an arithmatic operation on one or more steps. template: Return the [arithmetic op.] of [#step1] [and] [#step2].
Positive Example 1 -
Input: question: What are the distinct creation years of the departments managed by a secretary born in state 'Alabama'?
Output: #1 return secretaries
#2 return #1 born in state 'Alabama
#3 return departments managed by #2
#4 return distinct creation years of #3
Positive Example 2 -
Input: question: i'd like to see flights from baltimore to atlanta that arrive before noon and i'd like to see flights from denver to atlanta that arrive before noon
Output: #1 return flights
#2 return #1 from baltimore
#3 return #2 to atlanta
#4 return #3 that arrive before noon
#5 return #1 from denver
#6 return #5 to atlanta
#7 return #6 that arrive before noon
#8 return #4 , #7
Negative Example 1 -
Input: question: show the name of all bridges that was designed by american archtect, and sort the result by the bridge feet length.
Output: #1 return american archtects
#2 return bridges
#3 return sorted by feet length
Negative Example 2 -
Input: question: What is the average price for a lesson taught by Janessa Sawayn?
Output: #1 return price for lessons taught by Janessa Sawayn
#2 return the average of #1
Now complete the following example -
Input: question: If a few clouds are visible in the picture on the left.
Output:
| [
"#1 return the picture on the left \n#2 return clouds in #1 \n#3 return #2 that are visible \n#4 return number of #3 \n#5 return if #4 is at least two"
] | task176-5ab3ef14cff441eaa1fd3db522410703 |
Definition: In this task you will break down a question into the basic steps required to answer it.
A question decomposition is a numbered list of operations that must be performed to answer the original question. Imagine explaining your question to a friendly droid by listing each action it should take in order for the question to be answered. Each step in our decomposition should refer to either an entity (known or unknown), a propery of an entity or a query operation (count, group, union, etc.)
Here are the list of step templates and their description:
Select: A select step is used to return a set of objects. There are no references to previous steps in a select step. template: Return [attributes]
Filter: A filter step is used to return results from a previous step to which a certain condition applies. template: Return [#step] [condition]
Project: A project step should return certain attributes of the results of a previous step. template: Return [attributes] of [#step]
Aggregate: An aggregate step returns an aggregator function applied on a step's result. template: Return the [aggregator] of [#step].
Group: A group step is an aggregator applied on attributes. template: Return the [aggregator] of [#step] for each [attribute]
Superlative: A superlative step is used to return the result with a highest/lowest attribute among other results. template: Return [#step1] [where] [#step2] [is] [highest / lowest]
Comparative: A comparative step is used when we need to compare an attribute with a number to filter results. template: Return [#step1] [where] [#step2] [comparator] [number]
Union: A union step is used to return results of two steps together. template: Return [#step1] [or / ,] [#step2]
Intersection: An intersection step returns the result that two steps have in common. template: Return [attribute] of both [#step1] and [#step2]
Discard: A discard step returns result of a step and excludes result of another step from it. template: Return [#step1] besides [#step2]
Sort: A sort returns result of another step in a specific order. template: Return [#step1] [ordered / sorted by] [#step2]
Is true: An is true step checks a condition on another result and returns a true or false. template: Return [is / if] [condition]
Arithmetic: An arithmatic step operates an arithmatic operation on one or more steps. template: Return the [arithmetic op.] of [#step1] [and] [#step2].
Positive Example 1 -
Input: question: What are the distinct creation years of the departments managed by a secretary born in state 'Alabama'?
Output: #1 return secretaries
#2 return #1 born in state 'Alabama
#3 return departments managed by #2
#4 return distinct creation years of #3
Positive Example 2 -
Input: question: i'd like to see flights from baltimore to atlanta that arrive before noon and i'd like to see flights from denver to atlanta that arrive before noon
Output: #1 return flights
#2 return #1 from baltimore
#3 return #2 to atlanta
#4 return #3 that arrive before noon
#5 return #1 from denver
#6 return #5 to atlanta
#7 return #6 that arrive before noon
#8 return #4 , #7
Negative Example 1 -
Input: question: show the name of all bridges that was designed by american archtect, and sort the result by the bridge feet length.
Output: #1 return american archtects
#2 return bridges
#3 return sorted by feet length
Negative Example 2 -
Input: question: What is the average price for a lesson taught by Janessa Sawayn?
Output: #1 return price for lessons taught by Janessa Sawayn
#2 return the average of #1
Now complete the following example -
Input: question: Which founder of Google was influenced by A.R. Rahman?
Output:
| [
"#1 return Google \n#2 return founder of #1 \n#3 return #2 who was influenced by A.R Rahman"
] | task176-76ce16ed89bd4eb3871d2d0a37c09772 |
Definition: In this task you will break down a question into the basic steps required to answer it.
A question decomposition is a numbered list of operations that must be performed to answer the original question. Imagine explaining your question to a friendly droid by listing each action it should take in order for the question to be answered. Each step in our decomposition should refer to either an entity (known or unknown), a propery of an entity or a query operation (count, group, union, etc.)
Here are the list of step templates and their description:
Select: A select step is used to return a set of objects. There are no references to previous steps in a select step. template: Return [attributes]
Filter: A filter step is used to return results from a previous step to which a certain condition applies. template: Return [#step] [condition]
Project: A project step should return certain attributes of the results of a previous step. template: Return [attributes] of [#step]
Aggregate: An aggregate step returns an aggregator function applied on a step's result. template: Return the [aggregator] of [#step].
Group: A group step is an aggregator applied on attributes. template: Return the [aggregator] of [#step] for each [attribute]
Superlative: A superlative step is used to return the result with a highest/lowest attribute among other results. template: Return [#step1] [where] [#step2] [is] [highest / lowest]
Comparative: A comparative step is used when we need to compare an attribute with a number to filter results. template: Return [#step1] [where] [#step2] [comparator] [number]
Union: A union step is used to return results of two steps together. template: Return [#step1] [or / ,] [#step2]
Intersection: An intersection step returns the result that two steps have in common. template: Return [attribute] of both [#step1] and [#step2]
Discard: A discard step returns result of a step and excludes result of another step from it. template: Return [#step1] besides [#step2]
Sort: A sort returns result of another step in a specific order. template: Return [#step1] [ordered / sorted by] [#step2]
Is true: An is true step checks a condition on another result and returns a true or false. template: Return [is / if] [condition]
Arithmetic: An arithmatic step operates an arithmatic operation on one or more steps. template: Return the [arithmetic op.] of [#step1] [and] [#step2].
Positive Example 1 -
Input: question: What are the distinct creation years of the departments managed by a secretary born in state 'Alabama'?
Output: #1 return secretaries
#2 return #1 born in state 'Alabama
#3 return departments managed by #2
#4 return distinct creation years of #3
Positive Example 2 -
Input: question: i'd like to see flights from baltimore to atlanta that arrive before noon and i'd like to see flights from denver to atlanta that arrive before noon
Output: #1 return flights
#2 return #1 from baltimore
#3 return #2 to atlanta
#4 return #3 that arrive before noon
#5 return #1 from denver
#6 return #5 to atlanta
#7 return #6 that arrive before noon
#8 return #4 , #7
Negative Example 1 -
Input: question: show the name of all bridges that was designed by american archtect, and sort the result by the bridge feet length.
Output: #1 return american archtects
#2 return bridges
#3 return sorted by feet length
Negative Example 2 -
Input: question: What is the average price for a lesson taught by Janessa Sawayn?
Output: #1 return price for lessons taught by Janessa Sawayn
#2 return the average of #1
Now complete the following example -
Input: question: If three monkeys are in a row on a rock in one image.
Output:
| [
"#1 return monkeys \n#2 return #1 that are in a row \n#3 return rock \n#4 return #2 that are on #3 \n#5 return images \n#6 return number of #4 for each #5 \n#7 return #5 where #6 is equal to three \n#8 return number of #7 \n#9 return if #8 is equal to one"
] | task176-0884ab75ea8042d4a5304c2788306388 |
Definition: In this task you will break down a question into the basic steps required to answer it.
A question decomposition is a numbered list of operations that must be performed to answer the original question. Imagine explaining your question to a friendly droid by listing each action it should take in order for the question to be answered. Each step in our decomposition should refer to either an entity (known or unknown), a propery of an entity or a query operation (count, group, union, etc.)
Here are the list of step templates and their description:
Select: A select step is used to return a set of objects. There are no references to previous steps in a select step. template: Return [attributes]
Filter: A filter step is used to return results from a previous step to which a certain condition applies. template: Return [#step] [condition]
Project: A project step should return certain attributes of the results of a previous step. template: Return [attributes] of [#step]
Aggregate: An aggregate step returns an aggregator function applied on a step's result. template: Return the [aggregator] of [#step].
Group: A group step is an aggregator applied on attributes. template: Return the [aggregator] of [#step] for each [attribute]
Superlative: A superlative step is used to return the result with a highest/lowest attribute among other results. template: Return [#step1] [where] [#step2] [is] [highest / lowest]
Comparative: A comparative step is used when we need to compare an attribute with a number to filter results. template: Return [#step1] [where] [#step2] [comparator] [number]
Union: A union step is used to return results of two steps together. template: Return [#step1] [or / ,] [#step2]
Intersection: An intersection step returns the result that two steps have in common. template: Return [attribute] of both [#step1] and [#step2]
Discard: A discard step returns result of a step and excludes result of another step from it. template: Return [#step1] besides [#step2]
Sort: A sort returns result of another step in a specific order. template: Return [#step1] [ordered / sorted by] [#step2]
Is true: An is true step checks a condition on another result and returns a true or false. template: Return [is / if] [condition]
Arithmetic: An arithmatic step operates an arithmatic operation on one or more steps. template: Return the [arithmetic op.] of [#step1] [and] [#step2].
Positive Example 1 -
Input: question: What are the distinct creation years of the departments managed by a secretary born in state 'Alabama'?
Output: #1 return secretaries
#2 return #1 born in state 'Alabama
#3 return departments managed by #2
#4 return distinct creation years of #3
Positive Example 2 -
Input: question: i'd like to see flights from baltimore to atlanta that arrive before noon and i'd like to see flights from denver to atlanta that arrive before noon
Output: #1 return flights
#2 return #1 from baltimore
#3 return #2 to atlanta
#4 return #3 that arrive before noon
#5 return #1 from denver
#6 return #5 to atlanta
#7 return #6 that arrive before noon
#8 return #4 , #7
Negative Example 1 -
Input: question: show the name of all bridges that was designed by american archtect, and sort the result by the bridge feet length.
Output: #1 return american archtects
#2 return bridges
#3 return sorted by feet length
Negative Example 2 -
Input: question: What is the average price for a lesson taught by Janessa Sawayn?
Output: #1 return price for lessons taught by Janessa Sawayn
#2 return the average of #1
Now complete the following example -
Input: question: Which building has the largest number of company offices? Give me the building name.
Output:
| [
"#1 return buildings \n#2 return company offices in #1 \n#3 return number of #2 for each #1 \n#4 return #1 where #3 is highest \n#5 return name of #4"
] | task176-79f414b2fa884c2d87dd3e41a2d05bfe |
Definition: In this task you will break down a question into the basic steps required to answer it.
A question decomposition is a numbered list of operations that must be performed to answer the original question. Imagine explaining your question to a friendly droid by listing each action it should take in order for the question to be answered. Each step in our decomposition should refer to either an entity (known or unknown), a propery of an entity or a query operation (count, group, union, etc.)
Here are the list of step templates and their description:
Select: A select step is used to return a set of objects. There are no references to previous steps in a select step. template: Return [attributes]
Filter: A filter step is used to return results from a previous step to which a certain condition applies. template: Return [#step] [condition]
Project: A project step should return certain attributes of the results of a previous step. template: Return [attributes] of [#step]
Aggregate: An aggregate step returns an aggregator function applied on a step's result. template: Return the [aggregator] of [#step].
Group: A group step is an aggregator applied on attributes. template: Return the [aggregator] of [#step] for each [attribute]
Superlative: A superlative step is used to return the result with a highest/lowest attribute among other results. template: Return [#step1] [where] [#step2] [is] [highest / lowest]
Comparative: A comparative step is used when we need to compare an attribute with a number to filter results. template: Return [#step1] [where] [#step2] [comparator] [number]
Union: A union step is used to return results of two steps together. template: Return [#step1] [or / ,] [#step2]
Intersection: An intersection step returns the result that two steps have in common. template: Return [attribute] of both [#step1] and [#step2]
Discard: A discard step returns result of a step and excludes result of another step from it. template: Return [#step1] besides [#step2]
Sort: A sort returns result of another step in a specific order. template: Return [#step1] [ordered / sorted by] [#step2]
Is true: An is true step checks a condition on another result and returns a true or false. template: Return [is / if] [condition]
Arithmetic: An arithmatic step operates an arithmatic operation on one or more steps. template: Return the [arithmetic op.] of [#step1] [and] [#step2].
Positive Example 1 -
Input: question: What are the distinct creation years of the departments managed by a secretary born in state 'Alabama'?
Output: #1 return secretaries
#2 return #1 born in state 'Alabama
#3 return departments managed by #2
#4 return distinct creation years of #3
Positive Example 2 -
Input: question: i'd like to see flights from baltimore to atlanta that arrive before noon and i'd like to see flights from denver to atlanta that arrive before noon
Output: #1 return flights
#2 return #1 from baltimore
#3 return #2 to atlanta
#4 return #3 that arrive before noon
#5 return #1 from denver
#6 return #5 to atlanta
#7 return #6 that arrive before noon
#8 return #4 , #7
Negative Example 1 -
Input: question: show the name of all bridges that was designed by american archtect, and sort the result by the bridge feet length.
Output: #1 return american archtects
#2 return bridges
#3 return sorted by feet length
Negative Example 2 -
Input: question: What is the average price for a lesson taught by Janessa Sawayn?
Output: #1 return price for lessons taught by Janessa Sawayn
#2 return the average of #1
Now complete the following example -
Input: question: If there is a stuffed animal in the left image.
Output:
| [
"#1 return animal \n#2 return #1 that is stuffed \n#3 return if #2 is in left image"
] | task176-4a07330fb55b4f3188d7969e1af94a48 |
Definition: In this task you will break down a question into the basic steps required to answer it.
A question decomposition is a numbered list of operations that must be performed to answer the original question. Imagine explaining your question to a friendly droid by listing each action it should take in order for the question to be answered. Each step in our decomposition should refer to either an entity (known or unknown), a propery of an entity or a query operation (count, group, union, etc.)
Here are the list of step templates and their description:
Select: A select step is used to return a set of objects. There are no references to previous steps in a select step. template: Return [attributes]
Filter: A filter step is used to return results from a previous step to which a certain condition applies. template: Return [#step] [condition]
Project: A project step should return certain attributes of the results of a previous step. template: Return [attributes] of [#step]
Aggregate: An aggregate step returns an aggregator function applied on a step's result. template: Return the [aggregator] of [#step].
Group: A group step is an aggregator applied on attributes. template: Return the [aggregator] of [#step] for each [attribute]
Superlative: A superlative step is used to return the result with a highest/lowest attribute among other results. template: Return [#step1] [where] [#step2] [is] [highest / lowest]
Comparative: A comparative step is used when we need to compare an attribute with a number to filter results. template: Return [#step1] [where] [#step2] [comparator] [number]
Union: A union step is used to return results of two steps together. template: Return [#step1] [or / ,] [#step2]
Intersection: An intersection step returns the result that two steps have in common. template: Return [attribute] of both [#step1] and [#step2]
Discard: A discard step returns result of a step and excludes result of another step from it. template: Return [#step1] besides [#step2]
Sort: A sort returns result of another step in a specific order. template: Return [#step1] [ordered / sorted by] [#step2]
Is true: An is true step checks a condition on another result and returns a true or false. template: Return [is / if] [condition]
Arithmetic: An arithmatic step operates an arithmatic operation on one or more steps. template: Return the [arithmetic op.] of [#step1] [and] [#step2].
Positive Example 1 -
Input: question: What are the distinct creation years of the departments managed by a secretary born in state 'Alabama'?
Output: #1 return secretaries
#2 return #1 born in state 'Alabama
#3 return departments managed by #2
#4 return distinct creation years of #3
Positive Example 2 -
Input: question: i'd like to see flights from baltimore to atlanta that arrive before noon and i'd like to see flights from denver to atlanta that arrive before noon
Output: #1 return flights
#2 return #1 from baltimore
#3 return #2 to atlanta
#4 return #3 that arrive before noon
#5 return #1 from denver
#6 return #5 to atlanta
#7 return #6 that arrive before noon
#8 return #4 , #7
Negative Example 1 -
Input: question: show the name of all bridges that was designed by american archtect, and sort the result by the bridge feet length.
Output: #1 return american archtects
#2 return bridges
#3 return sorted by feet length
Negative Example 2 -
Input: question: What is the average price for a lesson taught by Janessa Sawayn?
Output: #1 return price for lessons taught by Janessa Sawayn
#2 return the average of #1
Now complete the following example -
Input: question: How many small objects are there that are metallic?
Output:
| [
"#1 return small objects \n#2 return #1 that are metallic \n#3 return number of #2"
] | task176-8a310f49d2f04917ad370e84f07ff285 |
Definition: In this task you will break down a question into the basic steps required to answer it.
A question decomposition is a numbered list of operations that must be performed to answer the original question. Imagine explaining your question to a friendly droid by listing each action it should take in order for the question to be answered. Each step in our decomposition should refer to either an entity (known or unknown), a propery of an entity or a query operation (count, group, union, etc.)
Here are the list of step templates and their description:
Select: A select step is used to return a set of objects. There are no references to previous steps in a select step. template: Return [attributes]
Filter: A filter step is used to return results from a previous step to which a certain condition applies. template: Return [#step] [condition]
Project: A project step should return certain attributes of the results of a previous step. template: Return [attributes] of [#step]
Aggregate: An aggregate step returns an aggregator function applied on a step's result. template: Return the [aggregator] of [#step].
Group: A group step is an aggregator applied on attributes. template: Return the [aggregator] of [#step] for each [attribute]
Superlative: A superlative step is used to return the result with a highest/lowest attribute among other results. template: Return [#step1] [where] [#step2] [is] [highest / lowest]
Comparative: A comparative step is used when we need to compare an attribute with a number to filter results. template: Return [#step1] [where] [#step2] [comparator] [number]
Union: A union step is used to return results of two steps together. template: Return [#step1] [or / ,] [#step2]
Intersection: An intersection step returns the result that two steps have in common. template: Return [attribute] of both [#step1] and [#step2]
Discard: A discard step returns result of a step and excludes result of another step from it. template: Return [#step1] besides [#step2]
Sort: A sort returns result of another step in a specific order. template: Return [#step1] [ordered / sorted by] [#step2]
Is true: An is true step checks a condition on another result and returns a true or false. template: Return [is / if] [condition]
Arithmetic: An arithmatic step operates an arithmatic operation on one or more steps. template: Return the [arithmetic op.] of [#step1] [and] [#step2].
Positive Example 1 -
Input: question: What are the distinct creation years of the departments managed by a secretary born in state 'Alabama'?
Output: #1 return secretaries
#2 return #1 born in state 'Alabama
#3 return departments managed by #2
#4 return distinct creation years of #3
Positive Example 2 -
Input: question: i'd like to see flights from baltimore to atlanta that arrive before noon and i'd like to see flights from denver to atlanta that arrive before noon
Output: #1 return flights
#2 return #1 from baltimore
#3 return #2 to atlanta
#4 return #3 that arrive before noon
#5 return #1 from denver
#6 return #5 to atlanta
#7 return #6 that arrive before noon
#8 return #4 , #7
Negative Example 1 -
Input: question: show the name of all bridges that was designed by american archtect, and sort the result by the bridge feet length.
Output: #1 return american archtects
#2 return bridges
#3 return sorted by feet length
Negative Example 2 -
Input: question: What is the average price for a lesson taught by Janessa Sawayn?
Output: #1 return price for lessons taught by Janessa Sawayn
#2 return the average of #1
Now complete the following example -
Input: question: Find the names of all instructors who have taught some course and the course_id.
Output:
| [
"#1 return instructors \n#2 return #1 who have taught some course \n#3 return names of #2 \n#4 return courses of #2 \n#5 return course_id of #4 \n#6 return #3 , #5"
] | task176-6f4c30e776b440bcb31f45c379cfdf5e |
Definition: In this task you will break down a question into the basic steps required to answer it.
A question decomposition is a numbered list of operations that must be performed to answer the original question. Imagine explaining your question to a friendly droid by listing each action it should take in order for the question to be answered. Each step in our decomposition should refer to either an entity (known or unknown), a propery of an entity or a query operation (count, group, union, etc.)
Here are the list of step templates and their description:
Select: A select step is used to return a set of objects. There are no references to previous steps in a select step. template: Return [attributes]
Filter: A filter step is used to return results from a previous step to which a certain condition applies. template: Return [#step] [condition]
Project: A project step should return certain attributes of the results of a previous step. template: Return [attributes] of [#step]
Aggregate: An aggregate step returns an aggregator function applied on a step's result. template: Return the [aggregator] of [#step].
Group: A group step is an aggregator applied on attributes. template: Return the [aggregator] of [#step] for each [attribute]
Superlative: A superlative step is used to return the result with a highest/lowest attribute among other results. template: Return [#step1] [where] [#step2] [is] [highest / lowest]
Comparative: A comparative step is used when we need to compare an attribute with a number to filter results. template: Return [#step1] [where] [#step2] [comparator] [number]
Union: A union step is used to return results of two steps together. template: Return [#step1] [or / ,] [#step2]
Intersection: An intersection step returns the result that two steps have in common. template: Return [attribute] of both [#step1] and [#step2]
Discard: A discard step returns result of a step and excludes result of another step from it. template: Return [#step1] besides [#step2]
Sort: A sort returns result of another step in a specific order. template: Return [#step1] [ordered / sorted by] [#step2]
Is true: An is true step checks a condition on another result and returns a true or false. template: Return [is / if] [condition]
Arithmetic: An arithmatic step operates an arithmatic operation on one or more steps. template: Return the [arithmetic op.] of [#step1] [and] [#step2].
Positive Example 1 -
Input: question: What are the distinct creation years of the departments managed by a secretary born in state 'Alabama'?
Output: #1 return secretaries
#2 return #1 born in state 'Alabama
#3 return departments managed by #2
#4 return distinct creation years of #3
Positive Example 2 -
Input: question: i'd like to see flights from baltimore to atlanta that arrive before noon and i'd like to see flights from denver to atlanta that arrive before noon
Output: #1 return flights
#2 return #1 from baltimore
#3 return #2 to atlanta
#4 return #3 that arrive before noon
#5 return #1 from denver
#6 return #5 to atlanta
#7 return #6 that arrive before noon
#8 return #4 , #7
Negative Example 1 -
Input: question: show the name of all bridges that was designed by american archtect, and sort the result by the bridge feet length.
Output: #1 return american archtects
#2 return bridges
#3 return sorted by feet length
Negative Example 2 -
Input: question: What is the average price for a lesson taught by Janessa Sawayn?
Output: #1 return price for lessons taught by Janessa Sawayn
#2 return the average of #1
Now complete the following example -
Input: question: What are the names, ages, and jobs of all people who are friends with Alice for the longest amount of time?
Output:
| [
"#1 return Alice \n#2 return people who are friends with #1 \n#3 return amount of time that #2 was friends with #1 \n#4 return #2 where #3 is highest \n#5 return names of #4 \n#6 return ages of #4 \n#7 return jobs of #4 \n#8 return #5 , #6 , #7"
] | task176-659179172e2745feb4baf07b689440d7 |
Definition: In this task you will break down a question into the basic steps required to answer it.
A question decomposition is a numbered list of operations that must be performed to answer the original question. Imagine explaining your question to a friendly droid by listing each action it should take in order for the question to be answered. Each step in our decomposition should refer to either an entity (known or unknown), a propery of an entity or a query operation (count, group, union, etc.)
Here are the list of step templates and their description:
Select: A select step is used to return a set of objects. There are no references to previous steps in a select step. template: Return [attributes]
Filter: A filter step is used to return results from a previous step to which a certain condition applies. template: Return [#step] [condition]
Project: A project step should return certain attributes of the results of a previous step. template: Return [attributes] of [#step]
Aggregate: An aggregate step returns an aggregator function applied on a step's result. template: Return the [aggregator] of [#step].
Group: A group step is an aggregator applied on attributes. template: Return the [aggregator] of [#step] for each [attribute]
Superlative: A superlative step is used to return the result with a highest/lowest attribute among other results. template: Return [#step1] [where] [#step2] [is] [highest / lowest]
Comparative: A comparative step is used when we need to compare an attribute with a number to filter results. template: Return [#step1] [where] [#step2] [comparator] [number]
Union: A union step is used to return results of two steps together. template: Return [#step1] [or / ,] [#step2]
Intersection: An intersection step returns the result that two steps have in common. template: Return [attribute] of both [#step1] and [#step2]
Discard: A discard step returns result of a step and excludes result of another step from it. template: Return [#step1] besides [#step2]
Sort: A sort returns result of another step in a specific order. template: Return [#step1] [ordered / sorted by] [#step2]
Is true: An is true step checks a condition on another result and returns a true or false. template: Return [is / if] [condition]
Arithmetic: An arithmatic step operates an arithmatic operation on one or more steps. template: Return the [arithmetic op.] of [#step1] [and] [#step2].
Positive Example 1 -
Input: question: What are the distinct creation years of the departments managed by a secretary born in state 'Alabama'?
Output: #1 return secretaries
#2 return #1 born in state 'Alabama
#3 return departments managed by #2
#4 return distinct creation years of #3
Positive Example 2 -
Input: question: i'd like to see flights from baltimore to atlanta that arrive before noon and i'd like to see flights from denver to atlanta that arrive before noon
Output: #1 return flights
#2 return #1 from baltimore
#3 return #2 to atlanta
#4 return #3 that arrive before noon
#5 return #1 from denver
#6 return #5 to atlanta
#7 return #6 that arrive before noon
#8 return #4 , #7
Negative Example 1 -
Input: question: show the name of all bridges that was designed by american archtect, and sort the result by the bridge feet length.
Output: #1 return american archtects
#2 return bridges
#3 return sorted by feet length
Negative Example 2 -
Input: question: What is the average price for a lesson taught by Janessa Sawayn?
Output: #1 return price for lessons taught by Janessa Sawayn
#2 return the average of #1
Now complete the following example -
Input: question: what is the island of the south coast of australia known as?
Output:
| [
"#1 return australia \n#2 return the south coast of #1 \n#3 return island of #2 \n#4 return what is #3 known as"
] | task176-76f933277166424faf3b3af7f85952fd |
Definition: In this task you will break down a question into the basic steps required to answer it.
A question decomposition is a numbered list of operations that must be performed to answer the original question. Imagine explaining your question to a friendly droid by listing each action it should take in order for the question to be answered. Each step in our decomposition should refer to either an entity (known or unknown), a propery of an entity or a query operation (count, group, union, etc.)
Here are the list of step templates and their description:
Select: A select step is used to return a set of objects. There are no references to previous steps in a select step. template: Return [attributes]
Filter: A filter step is used to return results from a previous step to which a certain condition applies. template: Return [#step] [condition]
Project: A project step should return certain attributes of the results of a previous step. template: Return [attributes] of [#step]
Aggregate: An aggregate step returns an aggregator function applied on a step's result. template: Return the [aggregator] of [#step].
Group: A group step is an aggregator applied on attributes. template: Return the [aggregator] of [#step] for each [attribute]
Superlative: A superlative step is used to return the result with a highest/lowest attribute among other results. template: Return [#step1] [where] [#step2] [is] [highest / lowest]
Comparative: A comparative step is used when we need to compare an attribute with a number to filter results. template: Return [#step1] [where] [#step2] [comparator] [number]
Union: A union step is used to return results of two steps together. template: Return [#step1] [or / ,] [#step2]
Intersection: An intersection step returns the result that two steps have in common. template: Return [attribute] of both [#step1] and [#step2]
Discard: A discard step returns result of a step and excludes result of another step from it. template: Return [#step1] besides [#step2]
Sort: A sort returns result of another step in a specific order. template: Return [#step1] [ordered / sorted by] [#step2]
Is true: An is true step checks a condition on another result and returns a true or false. template: Return [is / if] [condition]
Arithmetic: An arithmatic step operates an arithmatic operation on one or more steps. template: Return the [arithmetic op.] of [#step1] [and] [#step2].
Positive Example 1 -
Input: question: What are the distinct creation years of the departments managed by a secretary born in state 'Alabama'?
Output: #1 return secretaries
#2 return #1 born in state 'Alabama
#3 return departments managed by #2
#4 return distinct creation years of #3
Positive Example 2 -
Input: question: i'd like to see flights from baltimore to atlanta that arrive before noon and i'd like to see flights from denver to atlanta that arrive before noon
Output: #1 return flights
#2 return #1 from baltimore
#3 return #2 to atlanta
#4 return #3 that arrive before noon
#5 return #1 from denver
#6 return #5 to atlanta
#7 return #6 that arrive before noon
#8 return #4 , #7
Negative Example 1 -
Input: question: show the name of all bridges that was designed by american archtect, and sort the result by the bridge feet length.
Output: #1 return american archtects
#2 return bridges
#3 return sorted by feet length
Negative Example 2 -
Input: question: What is the average price for a lesson taught by Janessa Sawayn?
Output: #1 return price for lessons taught by Janessa Sawayn
#2 return the average of #1
Now complete the following example -
Input: question: What structure started in 1882 is there to see in Barcelona?
Output:
| [
"#1 return Barcelona \n#2 return structures of #1 \n#3 return #2 that started in 1882"
] | task176-73b9258000314912b4c73acc28262905 |
Definition: In this task you will break down a question into the basic steps required to answer it.
A question decomposition is a numbered list of operations that must be performed to answer the original question. Imagine explaining your question to a friendly droid by listing each action it should take in order for the question to be answered. Each step in our decomposition should refer to either an entity (known or unknown), a propery of an entity or a query operation (count, group, union, etc.)
Here are the list of step templates and their description:
Select: A select step is used to return a set of objects. There are no references to previous steps in a select step. template: Return [attributes]
Filter: A filter step is used to return results from a previous step to which a certain condition applies. template: Return [#step] [condition]
Project: A project step should return certain attributes of the results of a previous step. template: Return [attributes] of [#step]
Aggregate: An aggregate step returns an aggregator function applied on a step's result. template: Return the [aggregator] of [#step].
Group: A group step is an aggregator applied on attributes. template: Return the [aggregator] of [#step] for each [attribute]
Superlative: A superlative step is used to return the result with a highest/lowest attribute among other results. template: Return [#step1] [where] [#step2] [is] [highest / lowest]
Comparative: A comparative step is used when we need to compare an attribute with a number to filter results. template: Return [#step1] [where] [#step2] [comparator] [number]
Union: A union step is used to return results of two steps together. template: Return [#step1] [or / ,] [#step2]
Intersection: An intersection step returns the result that two steps have in common. template: Return [attribute] of both [#step1] and [#step2]
Discard: A discard step returns result of a step and excludes result of another step from it. template: Return [#step1] besides [#step2]
Sort: A sort returns result of another step in a specific order. template: Return [#step1] [ordered / sorted by] [#step2]
Is true: An is true step checks a condition on another result and returns a true or false. template: Return [is / if] [condition]
Arithmetic: An arithmatic step operates an arithmatic operation on one or more steps. template: Return the [arithmetic op.] of [#step1] [and] [#step2].
Positive Example 1 -
Input: question: What are the distinct creation years of the departments managed by a secretary born in state 'Alabama'?
Output: #1 return secretaries
#2 return #1 born in state 'Alabama
#3 return departments managed by #2
#4 return distinct creation years of #3
Positive Example 2 -
Input: question: i'd like to see flights from baltimore to atlanta that arrive before noon and i'd like to see flights from denver to atlanta that arrive before noon
Output: #1 return flights
#2 return #1 from baltimore
#3 return #2 to atlanta
#4 return #3 that arrive before noon
#5 return #1 from denver
#6 return #5 to atlanta
#7 return #6 that arrive before noon
#8 return #4 , #7
Negative Example 1 -
Input: question: show the name of all bridges that was designed by american archtect, and sort the result by the bridge feet length.
Output: #1 return american archtects
#2 return bridges
#3 return sorted by feet length
Negative Example 2 -
Input: question: What is the average price for a lesson taught by Janessa Sawayn?
Output: #1 return price for lessons taught by Janessa Sawayn
#2 return the average of #1
Now complete the following example -
Input: question: If in at least one image there is a man with a black hat and brown vest playing three saxophones at once.
Output:
| [
"#1 return man \n#2 return hat of #1 \n#3 return #1 where #2 is black \n#4 return vest of #3 \n#5 return #3 where #4 is brown \n#6 return saxophones that #5 is playing at once \n#7 return images \n#8 return number of #6 for each #7 \n#9 return #7 where #8 is equal to three \n#10 return number of #9 \n#11 return if #10 is at least one"
] | task176-9dfea9787ec84822a5606c0c98f4eba2 |
Definition: In this task you will break down a question into the basic steps required to answer it.
A question decomposition is a numbered list of operations that must be performed to answer the original question. Imagine explaining your question to a friendly droid by listing each action it should take in order for the question to be answered. Each step in our decomposition should refer to either an entity (known or unknown), a propery of an entity or a query operation (count, group, union, etc.)
Here are the list of step templates and their description:
Select: A select step is used to return a set of objects. There are no references to previous steps in a select step. template: Return [attributes]
Filter: A filter step is used to return results from a previous step to which a certain condition applies. template: Return [#step] [condition]
Project: A project step should return certain attributes of the results of a previous step. template: Return [attributes] of [#step]
Aggregate: An aggregate step returns an aggregator function applied on a step's result. template: Return the [aggregator] of [#step].
Group: A group step is an aggregator applied on attributes. template: Return the [aggregator] of [#step] for each [attribute]
Superlative: A superlative step is used to return the result with a highest/lowest attribute among other results. template: Return [#step1] [where] [#step2] [is] [highest / lowest]
Comparative: A comparative step is used when we need to compare an attribute with a number to filter results. template: Return [#step1] [where] [#step2] [comparator] [number]
Union: A union step is used to return results of two steps together. template: Return [#step1] [or / ,] [#step2]
Intersection: An intersection step returns the result that two steps have in common. template: Return [attribute] of both [#step1] and [#step2]
Discard: A discard step returns result of a step and excludes result of another step from it. template: Return [#step1] besides [#step2]
Sort: A sort returns result of another step in a specific order. template: Return [#step1] [ordered / sorted by] [#step2]
Is true: An is true step checks a condition on another result and returns a true or false. template: Return [is / if] [condition]
Arithmetic: An arithmatic step operates an arithmatic operation on one or more steps. template: Return the [arithmetic op.] of [#step1] [and] [#step2].
Positive Example 1 -
Input: question: What are the distinct creation years of the departments managed by a secretary born in state 'Alabama'?
Output: #1 return secretaries
#2 return #1 born in state 'Alabama
#3 return departments managed by #2
#4 return distinct creation years of #3
Positive Example 2 -
Input: question: i'd like to see flights from baltimore to atlanta that arrive before noon and i'd like to see flights from denver to atlanta that arrive before noon
Output: #1 return flights
#2 return #1 from baltimore
#3 return #2 to atlanta
#4 return #3 that arrive before noon
#5 return #1 from denver
#6 return #5 to atlanta
#7 return #6 that arrive before noon
#8 return #4 , #7
Negative Example 1 -
Input: question: show the name of all bridges that was designed by american archtect, and sort the result by the bridge feet length.
Output: #1 return american archtects
#2 return bridges
#3 return sorted by feet length
Negative Example 2 -
Input: question: What is the average price for a lesson taught by Janessa Sawayn?
Output: #1 return price for lessons taught by Janessa Sawayn
#2 return the average of #1
Now complete the following example -
Input: question: If a single bottle in the image on the right is positioned upside down.
Output:
| [
"#1 return right image \n#2 return bottle in #1 \n#3 return number of #2 \n#4 return If #3 is equal to one \n#5 return If #3 is positioned upside down \n#6 return If both #4 and #5 are true"
] | task176-bd27083e49fb4c509511b81a838afb91 |
Definition: In this task you will break down a question into the basic steps required to answer it.
A question decomposition is a numbered list of operations that must be performed to answer the original question. Imagine explaining your question to a friendly droid by listing each action it should take in order for the question to be answered. Each step in our decomposition should refer to either an entity (known or unknown), a propery of an entity or a query operation (count, group, union, etc.)
Here are the list of step templates and their description:
Select: A select step is used to return a set of objects. There are no references to previous steps in a select step. template: Return [attributes]
Filter: A filter step is used to return results from a previous step to which a certain condition applies. template: Return [#step] [condition]
Project: A project step should return certain attributes of the results of a previous step. template: Return [attributes] of [#step]
Aggregate: An aggregate step returns an aggregator function applied on a step's result. template: Return the [aggregator] of [#step].
Group: A group step is an aggregator applied on attributes. template: Return the [aggregator] of [#step] for each [attribute]
Superlative: A superlative step is used to return the result with a highest/lowest attribute among other results. template: Return [#step1] [where] [#step2] [is] [highest / lowest]
Comparative: A comparative step is used when we need to compare an attribute with a number to filter results. template: Return [#step1] [where] [#step2] [comparator] [number]
Union: A union step is used to return results of two steps together. template: Return [#step1] [or / ,] [#step2]
Intersection: An intersection step returns the result that two steps have in common. template: Return [attribute] of both [#step1] and [#step2]
Discard: A discard step returns result of a step and excludes result of another step from it. template: Return [#step1] besides [#step2]
Sort: A sort returns result of another step in a specific order. template: Return [#step1] [ordered / sorted by] [#step2]
Is true: An is true step checks a condition on another result and returns a true or false. template: Return [is / if] [condition]
Arithmetic: An arithmatic step operates an arithmatic operation on one or more steps. template: Return the [arithmetic op.] of [#step1] [and] [#step2].
Positive Example 1 -
Input: question: What are the distinct creation years of the departments managed by a secretary born in state 'Alabama'?
Output: #1 return secretaries
#2 return #1 born in state 'Alabama
#3 return departments managed by #2
#4 return distinct creation years of #3
Positive Example 2 -
Input: question: i'd like to see flights from baltimore to atlanta that arrive before noon and i'd like to see flights from denver to atlanta that arrive before noon
Output: #1 return flights
#2 return #1 from baltimore
#3 return #2 to atlanta
#4 return #3 that arrive before noon
#5 return #1 from denver
#6 return #5 to atlanta
#7 return #6 that arrive before noon
#8 return #4 , #7
Negative Example 1 -
Input: question: show the name of all bridges that was designed by american archtect, and sort the result by the bridge feet length.
Output: #1 return american archtects
#2 return bridges
#3 return sorted by feet length
Negative Example 2 -
Input: question: What is the average price for a lesson taught by Janessa Sawayn?
Output: #1 return price for lessons taught by Janessa Sawayn
#2 return the average of #1
Now complete the following example -
Input: question: How many objects with no sharp angles?
Output:
| [
"#1 return objects \n#2 return #1 with sharp angles \n#3 return #1 besides #2 \n#4 return number of #3"
] | task176-88576defdaa34c62b63002dede46f77f |
Definition: In this task you will break down a question into the basic steps required to answer it.
A question decomposition is a numbered list of operations that must be performed to answer the original question. Imagine explaining your question to a friendly droid by listing each action it should take in order for the question to be answered. Each step in our decomposition should refer to either an entity (known or unknown), a propery of an entity or a query operation (count, group, union, etc.)
Here are the list of step templates and their description:
Select: A select step is used to return a set of objects. There are no references to previous steps in a select step. template: Return [attributes]
Filter: A filter step is used to return results from a previous step to which a certain condition applies. template: Return [#step] [condition]
Project: A project step should return certain attributes of the results of a previous step. template: Return [attributes] of [#step]
Aggregate: An aggregate step returns an aggregator function applied on a step's result. template: Return the [aggregator] of [#step].
Group: A group step is an aggregator applied on attributes. template: Return the [aggregator] of [#step] for each [attribute]
Superlative: A superlative step is used to return the result with a highest/lowest attribute among other results. template: Return [#step1] [where] [#step2] [is] [highest / lowest]
Comparative: A comparative step is used when we need to compare an attribute with a number to filter results. template: Return [#step1] [where] [#step2] [comparator] [number]
Union: A union step is used to return results of two steps together. template: Return [#step1] [or / ,] [#step2]
Intersection: An intersection step returns the result that two steps have in common. template: Return [attribute] of both [#step1] and [#step2]
Discard: A discard step returns result of a step and excludes result of another step from it. template: Return [#step1] besides [#step2]
Sort: A sort returns result of another step in a specific order. template: Return [#step1] [ordered / sorted by] [#step2]
Is true: An is true step checks a condition on another result and returns a true or false. template: Return [is / if] [condition]
Arithmetic: An arithmatic step operates an arithmatic operation on one or more steps. template: Return the [arithmetic op.] of [#step1] [and] [#step2].
Positive Example 1 -
Input: question: What are the distinct creation years of the departments managed by a secretary born in state 'Alabama'?
Output: #1 return secretaries
#2 return #1 born in state 'Alabama
#3 return departments managed by #2
#4 return distinct creation years of #3
Positive Example 2 -
Input: question: i'd like to see flights from baltimore to atlanta that arrive before noon and i'd like to see flights from denver to atlanta that arrive before noon
Output: #1 return flights
#2 return #1 from baltimore
#3 return #2 to atlanta
#4 return #3 that arrive before noon
#5 return #1 from denver
#6 return #5 to atlanta
#7 return #6 that arrive before noon
#8 return #4 , #7
Negative Example 1 -
Input: question: show the name of all bridges that was designed by american archtect, and sort the result by the bridge feet length.
Output: #1 return american archtects
#2 return bridges
#3 return sorted by feet length
Negative Example 2 -
Input: question: What is the average price for a lesson taught by Janessa Sawayn?
Output: #1 return price for lessons taught by Janessa Sawayn
#2 return the average of #1
Now complete the following example -
Input: question: Which had the highest percentage of teachers in the obligatory, schools or private?
Output:
| [
"#1 return schools \n#2 return private \n#3 return teachers in the obligatory of #1 \n#4 return teachers in the obligatory of #2 \n#5 return percentage of #3 \n#6 return percentage of #4 \n#7 return which is the highest of #5 , #6"
] | task176-a19549f7a9784019b03a40e1e7c5f985 |
Definition: In this task you will break down a question into the basic steps required to answer it.
A question decomposition is a numbered list of operations that must be performed to answer the original question. Imagine explaining your question to a friendly droid by listing each action it should take in order for the question to be answered. Each step in our decomposition should refer to either an entity (known or unknown), a propery of an entity or a query operation (count, group, union, etc.)
Here are the list of step templates and their description:
Select: A select step is used to return a set of objects. There are no references to previous steps in a select step. template: Return [attributes]
Filter: A filter step is used to return results from a previous step to which a certain condition applies. template: Return [#step] [condition]
Project: A project step should return certain attributes of the results of a previous step. template: Return [attributes] of [#step]
Aggregate: An aggregate step returns an aggregator function applied on a step's result. template: Return the [aggregator] of [#step].
Group: A group step is an aggregator applied on attributes. template: Return the [aggregator] of [#step] for each [attribute]
Superlative: A superlative step is used to return the result with a highest/lowest attribute among other results. template: Return [#step1] [where] [#step2] [is] [highest / lowest]
Comparative: A comparative step is used when we need to compare an attribute with a number to filter results. template: Return [#step1] [where] [#step2] [comparator] [number]
Union: A union step is used to return results of two steps together. template: Return [#step1] [or / ,] [#step2]
Intersection: An intersection step returns the result that two steps have in common. template: Return [attribute] of both [#step1] and [#step2]
Discard: A discard step returns result of a step and excludes result of another step from it. template: Return [#step1] besides [#step2]
Sort: A sort returns result of another step in a specific order. template: Return [#step1] [ordered / sorted by] [#step2]
Is true: An is true step checks a condition on another result and returns a true or false. template: Return [is / if] [condition]
Arithmetic: An arithmatic step operates an arithmatic operation on one or more steps. template: Return the [arithmetic op.] of [#step1] [and] [#step2].
Positive Example 1 -
Input: question: What are the distinct creation years of the departments managed by a secretary born in state 'Alabama'?
Output: #1 return secretaries
#2 return #1 born in state 'Alabama
#3 return departments managed by #2
#4 return distinct creation years of #3
Positive Example 2 -
Input: question: i'd like to see flights from baltimore to atlanta that arrive before noon and i'd like to see flights from denver to atlanta that arrive before noon
Output: #1 return flights
#2 return #1 from baltimore
#3 return #2 to atlanta
#4 return #3 that arrive before noon
#5 return #1 from denver
#6 return #5 to atlanta
#7 return #6 that arrive before noon
#8 return #4 , #7
Negative Example 1 -
Input: question: show the name of all bridges that was designed by american archtect, and sort the result by the bridge feet length.
Output: #1 return american archtects
#2 return bridges
#3 return sorted by feet length
Negative Example 2 -
Input: question: What is the average price for a lesson taught by Janessa Sawayn?
Output: #1 return price for lessons taught by Janessa Sawayn
#2 return the average of #1
Now complete the following example -
Input: question: What are the first names, office locations, and departments of all instructors, and also what are the descriptions of the courses they teach?
Output:
| [
"#1 return instructors \n#2 return first names of #1 \n#3 return offices of #1 \n#4 return locations of #3 \n#5 return departments of #1 \n#6 return courses of #1 \n#7 return descriptions of #6 \n#8 return #2 , #4 , #5 , #7"
] | task176-8a610e39efc34cceb0279b457e897587 |
Definition: In this task you will break down a question into the basic steps required to answer it.
A question decomposition is a numbered list of operations that must be performed to answer the original question. Imagine explaining your question to a friendly droid by listing each action it should take in order for the question to be answered. Each step in our decomposition should refer to either an entity (known or unknown), a propery of an entity or a query operation (count, group, union, etc.)
Here are the list of step templates and their description:
Select: A select step is used to return a set of objects. There are no references to previous steps in a select step. template: Return [attributes]
Filter: A filter step is used to return results from a previous step to which a certain condition applies. template: Return [#step] [condition]
Project: A project step should return certain attributes of the results of a previous step. template: Return [attributes] of [#step]
Aggregate: An aggregate step returns an aggregator function applied on a step's result. template: Return the [aggregator] of [#step].
Group: A group step is an aggregator applied on attributes. template: Return the [aggregator] of [#step] for each [attribute]
Superlative: A superlative step is used to return the result with a highest/lowest attribute among other results. template: Return [#step1] [where] [#step2] [is] [highest / lowest]
Comparative: A comparative step is used when we need to compare an attribute with a number to filter results. template: Return [#step1] [where] [#step2] [comparator] [number]
Union: A union step is used to return results of two steps together. template: Return [#step1] [or / ,] [#step2]
Intersection: An intersection step returns the result that two steps have in common. template: Return [attribute] of both [#step1] and [#step2]
Discard: A discard step returns result of a step and excludes result of another step from it. template: Return [#step1] besides [#step2]
Sort: A sort returns result of another step in a specific order. template: Return [#step1] [ordered / sorted by] [#step2]
Is true: An is true step checks a condition on another result and returns a true or false. template: Return [is / if] [condition]
Arithmetic: An arithmatic step operates an arithmatic operation on one or more steps. template: Return the [arithmetic op.] of [#step1] [and] [#step2].
Positive Example 1 -
Input: question: What are the distinct creation years of the departments managed by a secretary born in state 'Alabama'?
Output: #1 return secretaries
#2 return #1 born in state 'Alabama
#3 return departments managed by #2
#4 return distinct creation years of #3
Positive Example 2 -
Input: question: i'd like to see flights from baltimore to atlanta that arrive before noon and i'd like to see flights from denver to atlanta that arrive before noon
Output: #1 return flights
#2 return #1 from baltimore
#3 return #2 to atlanta
#4 return #3 that arrive before noon
#5 return #1 from denver
#6 return #5 to atlanta
#7 return #6 that arrive before noon
#8 return #4 , #7
Negative Example 1 -
Input: question: show the name of all bridges that was designed by american archtect, and sort the result by the bridge feet length.
Output: #1 return american archtects
#2 return bridges
#3 return sorted by feet length
Negative Example 2 -
Input: question: What is the average price for a lesson taught by Janessa Sawayn?
Output: #1 return price for lessons taught by Janessa Sawayn
#2 return the average of #1
Now complete the following example -
Input: question: How many points were the Patriots leading by at the half?
Output:
| [
"#1 return points \n#2 return #1 at the half \n#3 return #2 of Patriots \n#4 return #2 besides #3 \n#5 return difference of #3 and #4"
] | task176-6603282a9ed34020b8d32ed8e95c07ba |
Definition: In this task you will break down a question into the basic steps required to answer it.
A question decomposition is a numbered list of operations that must be performed to answer the original question. Imagine explaining your question to a friendly droid by listing each action it should take in order for the question to be answered. Each step in our decomposition should refer to either an entity (known or unknown), a propery of an entity or a query operation (count, group, union, etc.)
Here are the list of step templates and their description:
Select: A select step is used to return a set of objects. There are no references to previous steps in a select step. template: Return [attributes]
Filter: A filter step is used to return results from a previous step to which a certain condition applies. template: Return [#step] [condition]
Project: A project step should return certain attributes of the results of a previous step. template: Return [attributes] of [#step]
Aggregate: An aggregate step returns an aggregator function applied on a step's result. template: Return the [aggregator] of [#step].
Group: A group step is an aggregator applied on attributes. template: Return the [aggregator] of [#step] for each [attribute]
Superlative: A superlative step is used to return the result with a highest/lowest attribute among other results. template: Return [#step1] [where] [#step2] [is] [highest / lowest]
Comparative: A comparative step is used when we need to compare an attribute with a number to filter results. template: Return [#step1] [where] [#step2] [comparator] [number]
Union: A union step is used to return results of two steps together. template: Return [#step1] [or / ,] [#step2]
Intersection: An intersection step returns the result that two steps have in common. template: Return [attribute] of both [#step1] and [#step2]
Discard: A discard step returns result of a step and excludes result of another step from it. template: Return [#step1] besides [#step2]
Sort: A sort returns result of another step in a specific order. template: Return [#step1] [ordered / sorted by] [#step2]
Is true: An is true step checks a condition on another result and returns a true or false. template: Return [is / if] [condition]
Arithmetic: An arithmatic step operates an arithmatic operation on one or more steps. template: Return the [arithmetic op.] of [#step1] [and] [#step2].
Positive Example 1 -
Input: question: What are the distinct creation years of the departments managed by a secretary born in state 'Alabama'?
Output: #1 return secretaries
#2 return #1 born in state 'Alabama
#3 return departments managed by #2
#4 return distinct creation years of #3
Positive Example 2 -
Input: question: i'd like to see flights from baltimore to atlanta that arrive before noon and i'd like to see flights from denver to atlanta that arrive before noon
Output: #1 return flights
#2 return #1 from baltimore
#3 return #2 to atlanta
#4 return #3 that arrive before noon
#5 return #1 from denver
#6 return #5 to atlanta
#7 return #6 that arrive before noon
#8 return #4 , #7
Negative Example 1 -
Input: question: show the name of all bridges that was designed by american archtect, and sort the result by the bridge feet length.
Output: #1 return american archtects
#2 return bridges
#3 return sorted by feet length
Negative Example 2 -
Input: question: What is the average price for a lesson taught by Janessa Sawayn?
Output: #1 return price for lessons taught by Janessa Sawayn
#2 return the average of #1
Now complete the following example -
Input: question: what region is syria is?
Output:
| [
"#1 return syria \n#2 return region of #1"
] | task176-73c3f9e0d6ce4d2989c3e9acf55eb11e |
Definition: In this task you will break down a question into the basic steps required to answer it.
A question decomposition is a numbered list of operations that must be performed to answer the original question. Imagine explaining your question to a friendly droid by listing each action it should take in order for the question to be answered. Each step in our decomposition should refer to either an entity (known or unknown), a propery of an entity or a query operation (count, group, union, etc.)
Here are the list of step templates and their description:
Select: A select step is used to return a set of objects. There are no references to previous steps in a select step. template: Return [attributes]
Filter: A filter step is used to return results from a previous step to which a certain condition applies. template: Return [#step] [condition]
Project: A project step should return certain attributes of the results of a previous step. template: Return [attributes] of [#step]
Aggregate: An aggregate step returns an aggregator function applied on a step's result. template: Return the [aggregator] of [#step].
Group: A group step is an aggregator applied on attributes. template: Return the [aggregator] of [#step] for each [attribute]
Superlative: A superlative step is used to return the result with a highest/lowest attribute among other results. template: Return [#step1] [where] [#step2] [is] [highest / lowest]
Comparative: A comparative step is used when we need to compare an attribute with a number to filter results. template: Return [#step1] [where] [#step2] [comparator] [number]
Union: A union step is used to return results of two steps together. template: Return [#step1] [or / ,] [#step2]
Intersection: An intersection step returns the result that two steps have in common. template: Return [attribute] of both [#step1] and [#step2]
Discard: A discard step returns result of a step and excludes result of another step from it. template: Return [#step1] besides [#step2]
Sort: A sort returns result of another step in a specific order. template: Return [#step1] [ordered / sorted by] [#step2]
Is true: An is true step checks a condition on another result and returns a true or false. template: Return [is / if] [condition]
Arithmetic: An arithmatic step operates an arithmatic operation on one or more steps. template: Return the [arithmetic op.] of [#step1] [and] [#step2].
Positive Example 1 -
Input: question: What are the distinct creation years of the departments managed by a secretary born in state 'Alabama'?
Output: #1 return secretaries
#2 return #1 born in state 'Alabama
#3 return departments managed by #2
#4 return distinct creation years of #3
Positive Example 2 -
Input: question: i'd like to see flights from baltimore to atlanta that arrive before noon and i'd like to see flights from denver to atlanta that arrive before noon
Output: #1 return flights
#2 return #1 from baltimore
#3 return #2 to atlanta
#4 return #3 that arrive before noon
#5 return #1 from denver
#6 return #5 to atlanta
#7 return #6 that arrive before noon
#8 return #4 , #7
Negative Example 1 -
Input: question: show the name of all bridges that was designed by american archtect, and sort the result by the bridge feet length.
Output: #1 return american archtects
#2 return bridges
#3 return sorted by feet length
Negative Example 2 -
Input: question: What is the average price for a lesson taught by Janessa Sawayn?
Output: #1 return price for lessons taught by Janessa Sawayn
#2 return the average of #1
Now complete the following example -
Input: question: What are the teams that have both wrestlers eliminated by Orton and wrestlers eliminated by Benjamin?
Output:
| [
"#1 return teams \n#2 return wrestlers of #1 \n#3 return #2 eliminated by Orton \n#4 return #2 eliminated by Benjamin \n#5 return #1 of both #3 and #4"
] | task176-4d713251473c4531bd5874a5558a50f2 |
Definition: In this task you will break down a question into the basic steps required to answer it.
A question decomposition is a numbered list of operations that must be performed to answer the original question. Imagine explaining your question to a friendly droid by listing each action it should take in order for the question to be answered. Each step in our decomposition should refer to either an entity (known or unknown), a propery of an entity or a query operation (count, group, union, etc.)
Here are the list of step templates and their description:
Select: A select step is used to return a set of objects. There are no references to previous steps in a select step. template: Return [attributes]
Filter: A filter step is used to return results from a previous step to which a certain condition applies. template: Return [#step] [condition]
Project: A project step should return certain attributes of the results of a previous step. template: Return [attributes] of [#step]
Aggregate: An aggregate step returns an aggregator function applied on a step's result. template: Return the [aggregator] of [#step].
Group: A group step is an aggregator applied on attributes. template: Return the [aggregator] of [#step] for each [attribute]
Superlative: A superlative step is used to return the result with a highest/lowest attribute among other results. template: Return [#step1] [where] [#step2] [is] [highest / lowest]
Comparative: A comparative step is used when we need to compare an attribute with a number to filter results. template: Return [#step1] [where] [#step2] [comparator] [number]
Union: A union step is used to return results of two steps together. template: Return [#step1] [or / ,] [#step2]
Intersection: An intersection step returns the result that two steps have in common. template: Return [attribute] of both [#step1] and [#step2]
Discard: A discard step returns result of a step and excludes result of another step from it. template: Return [#step1] besides [#step2]
Sort: A sort returns result of another step in a specific order. template: Return [#step1] [ordered / sorted by] [#step2]
Is true: An is true step checks a condition on another result and returns a true or false. template: Return [is / if] [condition]
Arithmetic: An arithmatic step operates an arithmatic operation on one or more steps. template: Return the [arithmetic op.] of [#step1] [and] [#step2].
Positive Example 1 -
Input: question: What are the distinct creation years of the departments managed by a secretary born in state 'Alabama'?
Output: #1 return secretaries
#2 return #1 born in state 'Alabama
#3 return departments managed by #2
#4 return distinct creation years of #3
Positive Example 2 -
Input: question: i'd like to see flights from baltimore to atlanta that arrive before noon and i'd like to see flights from denver to atlanta that arrive before noon
Output: #1 return flights
#2 return #1 from baltimore
#3 return #2 to atlanta
#4 return #3 that arrive before noon
#5 return #1 from denver
#6 return #5 to atlanta
#7 return #6 that arrive before noon
#8 return #4 , #7
Negative Example 1 -
Input: question: show the name of all bridges that was designed by american archtect, and sort the result by the bridge feet length.
Output: #1 return american archtects
#2 return bridges
#3 return sorted by feet length
Negative Example 2 -
Input: question: What is the average price for a lesson taught by Janessa Sawayn?
Output: #1 return price for lessons taught by Janessa Sawayn
#2 return the average of #1
Now complete the following example -
Input: question: who are the kids of george w bush?
Output:
| [
"#1 return george w bush \n#2 return kids of #1"
] | task176-869ff158d0f247e1b1efb3748b3d70cf |
Definition: In this task you will break down a question into the basic steps required to answer it.
A question decomposition is a numbered list of operations that must be performed to answer the original question. Imagine explaining your question to a friendly droid by listing each action it should take in order for the question to be answered. Each step in our decomposition should refer to either an entity (known or unknown), a propery of an entity or a query operation (count, group, union, etc.)
Here are the list of step templates and their description:
Select: A select step is used to return a set of objects. There are no references to previous steps in a select step. template: Return [attributes]
Filter: A filter step is used to return results from a previous step to which a certain condition applies. template: Return [#step] [condition]
Project: A project step should return certain attributes of the results of a previous step. template: Return [attributes] of [#step]
Aggregate: An aggregate step returns an aggregator function applied on a step's result. template: Return the [aggregator] of [#step].
Group: A group step is an aggregator applied on attributes. template: Return the [aggregator] of [#step] for each [attribute]
Superlative: A superlative step is used to return the result with a highest/lowest attribute among other results. template: Return [#step1] [where] [#step2] [is] [highest / lowest]
Comparative: A comparative step is used when we need to compare an attribute with a number to filter results. template: Return [#step1] [where] [#step2] [comparator] [number]
Union: A union step is used to return results of two steps together. template: Return [#step1] [or / ,] [#step2]
Intersection: An intersection step returns the result that two steps have in common. template: Return [attribute] of both [#step1] and [#step2]
Discard: A discard step returns result of a step and excludes result of another step from it. template: Return [#step1] besides [#step2]
Sort: A sort returns result of another step in a specific order. template: Return [#step1] [ordered / sorted by] [#step2]
Is true: An is true step checks a condition on another result and returns a true or false. template: Return [is / if] [condition]
Arithmetic: An arithmatic step operates an arithmatic operation on one or more steps. template: Return the [arithmetic op.] of [#step1] [and] [#step2].
Positive Example 1 -
Input: question: What are the distinct creation years of the departments managed by a secretary born in state 'Alabama'?
Output: #1 return secretaries
#2 return #1 born in state 'Alabama
#3 return departments managed by #2
#4 return distinct creation years of #3
Positive Example 2 -
Input: question: i'd like to see flights from baltimore to atlanta that arrive before noon and i'd like to see flights from denver to atlanta that arrive before noon
Output: #1 return flights
#2 return #1 from baltimore
#3 return #2 to atlanta
#4 return #3 that arrive before noon
#5 return #1 from denver
#6 return #5 to atlanta
#7 return #6 that arrive before noon
#8 return #4 , #7
Negative Example 1 -
Input: question: show the name of all bridges that was designed by american archtect, and sort the result by the bridge feet length.
Output: #1 return american archtects
#2 return bridges
#3 return sorted by feet length
Negative Example 2 -
Input: question: What is the average price for a lesson taught by Janessa Sawayn?
Output: #1 return price for lessons taught by Janessa Sawayn
#2 return the average of #1
Now complete the following example -
Input: question: show me flights from denver to boston on tuesday
Output:
| [
"#1 return flights \n#2 return #1 from denver \n#3 return #2 to boston \n#4 return #3 on tuesday"
] | task176-b42a63435bce473b94659ae7b640e136 |
Definition: In this task you will break down a question into the basic steps required to answer it.
A question decomposition is a numbered list of operations that must be performed to answer the original question. Imagine explaining your question to a friendly droid by listing each action it should take in order for the question to be answered. Each step in our decomposition should refer to either an entity (known or unknown), a propery of an entity or a query operation (count, group, union, etc.)
Here are the list of step templates and their description:
Select: A select step is used to return a set of objects. There are no references to previous steps in a select step. template: Return [attributes]
Filter: A filter step is used to return results from a previous step to which a certain condition applies. template: Return [#step] [condition]
Project: A project step should return certain attributes of the results of a previous step. template: Return [attributes] of [#step]
Aggregate: An aggregate step returns an aggregator function applied on a step's result. template: Return the [aggregator] of [#step].
Group: A group step is an aggregator applied on attributes. template: Return the [aggregator] of [#step] for each [attribute]
Superlative: A superlative step is used to return the result with a highest/lowest attribute among other results. template: Return [#step1] [where] [#step2] [is] [highest / lowest]
Comparative: A comparative step is used when we need to compare an attribute with a number to filter results. template: Return [#step1] [where] [#step2] [comparator] [number]
Union: A union step is used to return results of two steps together. template: Return [#step1] [or / ,] [#step2]
Intersection: An intersection step returns the result that two steps have in common. template: Return [attribute] of both [#step1] and [#step2]
Discard: A discard step returns result of a step and excludes result of another step from it. template: Return [#step1] besides [#step2]
Sort: A sort returns result of another step in a specific order. template: Return [#step1] [ordered / sorted by] [#step2]
Is true: An is true step checks a condition on another result and returns a true or false. template: Return [is / if] [condition]
Arithmetic: An arithmatic step operates an arithmatic operation on one or more steps. template: Return the [arithmetic op.] of [#step1] [and] [#step2].
Positive Example 1 -
Input: question: What are the distinct creation years of the departments managed by a secretary born in state 'Alabama'?
Output: #1 return secretaries
#2 return #1 born in state 'Alabama
#3 return departments managed by #2
#4 return distinct creation years of #3
Positive Example 2 -
Input: question: i'd like to see flights from baltimore to atlanta that arrive before noon and i'd like to see flights from denver to atlanta that arrive before noon
Output: #1 return flights
#2 return #1 from baltimore
#3 return #2 to atlanta
#4 return #3 that arrive before noon
#5 return #1 from denver
#6 return #5 to atlanta
#7 return #6 that arrive before noon
#8 return #4 , #7
Negative Example 1 -
Input: question: show the name of all bridges that was designed by american archtect, and sort the result by the bridge feet length.
Output: #1 return american archtects
#2 return bridges
#3 return sorted by feet length
Negative Example 2 -
Input: question: What is the average price for a lesson taught by Janessa Sawayn?
Output: #1 return price for lessons taught by Janessa Sawayn
#2 return the average of #1
Now complete the following example -
Input: question: What are the names of cities that are in the county with the most police officers?
Output:
| [
"#1 return counties \n#2 return police officers of #1 \n#3 return number of #2 for each #1 \n#4 return #1 where #3 is the highest \n#5 return the cities in #4 \n#6 return the names of #5"
] | task176-b9c86244c72f4d7199f45e92317ee9d4 |
Definition: In this task you will break down a question into the basic steps required to answer it.
A question decomposition is a numbered list of operations that must be performed to answer the original question. Imagine explaining your question to a friendly droid by listing each action it should take in order for the question to be answered. Each step in our decomposition should refer to either an entity (known or unknown), a propery of an entity or a query operation (count, group, union, etc.)
Here are the list of step templates and their description:
Select: A select step is used to return a set of objects. There are no references to previous steps in a select step. template: Return [attributes]
Filter: A filter step is used to return results from a previous step to which a certain condition applies. template: Return [#step] [condition]
Project: A project step should return certain attributes of the results of a previous step. template: Return [attributes] of [#step]
Aggregate: An aggregate step returns an aggregator function applied on a step's result. template: Return the [aggregator] of [#step].
Group: A group step is an aggregator applied on attributes. template: Return the [aggregator] of [#step] for each [attribute]
Superlative: A superlative step is used to return the result with a highest/lowest attribute among other results. template: Return [#step1] [where] [#step2] [is] [highest / lowest]
Comparative: A comparative step is used when we need to compare an attribute with a number to filter results. template: Return [#step1] [where] [#step2] [comparator] [number]
Union: A union step is used to return results of two steps together. template: Return [#step1] [or / ,] [#step2]
Intersection: An intersection step returns the result that two steps have in common. template: Return [attribute] of both [#step1] and [#step2]
Discard: A discard step returns result of a step and excludes result of another step from it. template: Return [#step1] besides [#step2]
Sort: A sort returns result of another step in a specific order. template: Return [#step1] [ordered / sorted by] [#step2]
Is true: An is true step checks a condition on another result and returns a true or false. template: Return [is / if] [condition]
Arithmetic: An arithmatic step operates an arithmatic operation on one or more steps. template: Return the [arithmetic op.] of [#step1] [and] [#step2].
Positive Example 1 -
Input: question: What are the distinct creation years of the departments managed by a secretary born in state 'Alabama'?
Output: #1 return secretaries
#2 return #1 born in state 'Alabama
#3 return departments managed by #2
#4 return distinct creation years of #3
Positive Example 2 -
Input: question: i'd like to see flights from baltimore to atlanta that arrive before noon and i'd like to see flights from denver to atlanta that arrive before noon
Output: #1 return flights
#2 return #1 from baltimore
#3 return #2 to atlanta
#4 return #3 that arrive before noon
#5 return #1 from denver
#6 return #5 to atlanta
#7 return #6 that arrive before noon
#8 return #4 , #7
Negative Example 1 -
Input: question: show the name of all bridges that was designed by american archtect, and sort the result by the bridge feet length.
Output: #1 return american archtects
#2 return bridges
#3 return sorted by feet length
Negative Example 2 -
Input: question: What is the average price for a lesson taught by Janessa Sawayn?
Output: #1 return price for lessons taught by Janessa Sawayn
#2 return the average of #1
Now complete the following example -
Input: question: If the train in the image on the left is moving towards the left.
Output:
| [
"#1 return left image \n#2 return train of #1 \n#3 return if #2 is moving towards the left"
] | task176-e249ee25d7284adaaca5a029aedabedc |
Definition: In this task you will break down a question into the basic steps required to answer it.
A question decomposition is a numbered list of operations that must be performed to answer the original question. Imagine explaining your question to a friendly droid by listing each action it should take in order for the question to be answered. Each step in our decomposition should refer to either an entity (known or unknown), a propery of an entity or a query operation (count, group, union, etc.)
Here are the list of step templates and their description:
Select: A select step is used to return a set of objects. There are no references to previous steps in a select step. template: Return [attributes]
Filter: A filter step is used to return results from a previous step to which a certain condition applies. template: Return [#step] [condition]
Project: A project step should return certain attributes of the results of a previous step. template: Return [attributes] of [#step]
Aggregate: An aggregate step returns an aggregator function applied on a step's result. template: Return the [aggregator] of [#step].
Group: A group step is an aggregator applied on attributes. template: Return the [aggregator] of [#step] for each [attribute]
Superlative: A superlative step is used to return the result with a highest/lowest attribute among other results. template: Return [#step1] [where] [#step2] [is] [highest / lowest]
Comparative: A comparative step is used when we need to compare an attribute with a number to filter results. template: Return [#step1] [where] [#step2] [comparator] [number]
Union: A union step is used to return results of two steps together. template: Return [#step1] [or / ,] [#step2]
Intersection: An intersection step returns the result that two steps have in common. template: Return [attribute] of both [#step1] and [#step2]
Discard: A discard step returns result of a step and excludes result of another step from it. template: Return [#step1] besides [#step2]
Sort: A sort returns result of another step in a specific order. template: Return [#step1] [ordered / sorted by] [#step2]
Is true: An is true step checks a condition on another result and returns a true or false. template: Return [is / if] [condition]
Arithmetic: An arithmatic step operates an arithmatic operation on one or more steps. template: Return the [arithmetic op.] of [#step1] [and] [#step2].
Positive Example 1 -
Input: question: What are the distinct creation years of the departments managed by a secretary born in state 'Alabama'?
Output: #1 return secretaries
#2 return #1 born in state 'Alabama
#3 return departments managed by #2
#4 return distinct creation years of #3
Positive Example 2 -
Input: question: i'd like to see flights from baltimore to atlanta that arrive before noon and i'd like to see flights from denver to atlanta that arrive before noon
Output: #1 return flights
#2 return #1 from baltimore
#3 return #2 to atlanta
#4 return #3 that arrive before noon
#5 return #1 from denver
#6 return #5 to atlanta
#7 return #6 that arrive before noon
#8 return #4 , #7
Negative Example 1 -
Input: question: show the name of all bridges that was designed by american archtect, and sort the result by the bridge feet length.
Output: #1 return american archtects
#2 return bridges
#3 return sorted by feet length
Negative Example 2 -
Input: question: What is the average price for a lesson taught by Janessa Sawayn?
Output: #1 return price for lessons taught by Janessa Sawayn
#2 return the average of #1
Now complete the following example -
Input: question: What is the largest and smallest customer codes?
Output:
| [
"#1 return customer codes \n#2 return #1 that is largest \n#3 return #1 that is smallest \n#4 return #2 , #3"
] | task176-b782dfa540314cf484cf2f71d426a83a |
Definition: In this task you will break down a question into the basic steps required to answer it.
A question decomposition is a numbered list of operations that must be performed to answer the original question. Imagine explaining your question to a friendly droid by listing each action it should take in order for the question to be answered. Each step in our decomposition should refer to either an entity (known or unknown), a propery of an entity or a query operation (count, group, union, etc.)
Here are the list of step templates and their description:
Select: A select step is used to return a set of objects. There are no references to previous steps in a select step. template: Return [attributes]
Filter: A filter step is used to return results from a previous step to which a certain condition applies. template: Return [#step] [condition]
Project: A project step should return certain attributes of the results of a previous step. template: Return [attributes] of [#step]
Aggregate: An aggregate step returns an aggregator function applied on a step's result. template: Return the [aggregator] of [#step].
Group: A group step is an aggregator applied on attributes. template: Return the [aggregator] of [#step] for each [attribute]
Superlative: A superlative step is used to return the result with a highest/lowest attribute among other results. template: Return [#step1] [where] [#step2] [is] [highest / lowest]
Comparative: A comparative step is used when we need to compare an attribute with a number to filter results. template: Return [#step1] [where] [#step2] [comparator] [number]
Union: A union step is used to return results of two steps together. template: Return [#step1] [or / ,] [#step2]
Intersection: An intersection step returns the result that two steps have in common. template: Return [attribute] of both [#step1] and [#step2]
Discard: A discard step returns result of a step and excludes result of another step from it. template: Return [#step1] besides [#step2]
Sort: A sort returns result of another step in a specific order. template: Return [#step1] [ordered / sorted by] [#step2]
Is true: An is true step checks a condition on another result and returns a true or false. template: Return [is / if] [condition]
Arithmetic: An arithmatic step operates an arithmatic operation on one or more steps. template: Return the [arithmetic op.] of [#step1] [and] [#step2].
Positive Example 1 -
Input: question: What are the distinct creation years of the departments managed by a secretary born in state 'Alabama'?
Output: #1 return secretaries
#2 return #1 born in state 'Alabama
#3 return departments managed by #2
#4 return distinct creation years of #3
Positive Example 2 -
Input: question: i'd like to see flights from baltimore to atlanta that arrive before noon and i'd like to see flights from denver to atlanta that arrive before noon
Output: #1 return flights
#2 return #1 from baltimore
#3 return #2 to atlanta
#4 return #3 that arrive before noon
#5 return #1 from denver
#6 return #5 to atlanta
#7 return #6 that arrive before noon
#8 return #4 , #7
Negative Example 1 -
Input: question: show the name of all bridges that was designed by american archtect, and sort the result by the bridge feet length.
Output: #1 return american archtects
#2 return bridges
#3 return sorted by feet length
Negative Example 2 -
Input: question: What is the average price for a lesson taught by Janessa Sawayn?
Output: #1 return price for lessons taught by Janessa Sawayn
#2 return the average of #1
Now complete the following example -
Input: question: what is the length of the shannon river in ireland?
Output:
| [
"#1 return ireland \n#2 return shannon river of #1 \n#3 return length of #2"
] | task176-7d650b96589840688d8b713ca8c4f402 |
Definition: In this task you will break down a question into the basic steps required to answer it.
A question decomposition is a numbered list of operations that must be performed to answer the original question. Imagine explaining your question to a friendly droid by listing each action it should take in order for the question to be answered. Each step in our decomposition should refer to either an entity (known or unknown), a propery of an entity or a query operation (count, group, union, etc.)
Here are the list of step templates and their description:
Select: A select step is used to return a set of objects. There are no references to previous steps in a select step. template: Return [attributes]
Filter: A filter step is used to return results from a previous step to which a certain condition applies. template: Return [#step] [condition]
Project: A project step should return certain attributes of the results of a previous step. template: Return [attributes] of [#step]
Aggregate: An aggregate step returns an aggregator function applied on a step's result. template: Return the [aggregator] of [#step].
Group: A group step is an aggregator applied on attributes. template: Return the [aggregator] of [#step] for each [attribute]
Superlative: A superlative step is used to return the result with a highest/lowest attribute among other results. template: Return [#step1] [where] [#step2] [is] [highest / lowest]
Comparative: A comparative step is used when we need to compare an attribute with a number to filter results. template: Return [#step1] [where] [#step2] [comparator] [number]
Union: A union step is used to return results of two steps together. template: Return [#step1] [or / ,] [#step2]
Intersection: An intersection step returns the result that two steps have in common. template: Return [attribute] of both [#step1] and [#step2]
Discard: A discard step returns result of a step and excludes result of another step from it. template: Return [#step1] besides [#step2]
Sort: A sort returns result of another step in a specific order. template: Return [#step1] [ordered / sorted by] [#step2]
Is true: An is true step checks a condition on another result and returns a true or false. template: Return [is / if] [condition]
Arithmetic: An arithmatic step operates an arithmatic operation on one or more steps. template: Return the [arithmetic op.] of [#step1] [and] [#step2].
Positive Example 1 -
Input: question: What are the distinct creation years of the departments managed by a secretary born in state 'Alabama'?
Output: #1 return secretaries
#2 return #1 born in state 'Alabama
#3 return departments managed by #2
#4 return distinct creation years of #3
Positive Example 2 -
Input: question: i'd like to see flights from baltimore to atlanta that arrive before noon and i'd like to see flights from denver to atlanta that arrive before noon
Output: #1 return flights
#2 return #1 from baltimore
#3 return #2 to atlanta
#4 return #3 that arrive before noon
#5 return #1 from denver
#6 return #5 to atlanta
#7 return #6 that arrive before noon
#8 return #4 , #7
Negative Example 1 -
Input: question: show the name of all bridges that was designed by american archtect, and sort the result by the bridge feet length.
Output: #1 return american archtects
#2 return bridges
#3 return sorted by feet length
Negative Example 2 -
Input: question: What is the average price for a lesson taught by Janessa Sawayn?
Output: #1 return price for lessons taught by Janessa Sawayn
#2 return the average of #1
Now complete the following example -
Input: question: Find the distinct names of all songs that have a higher resolution than some songs in English.
Output:
| [
"#1 return songs \n#2 return #1 in English \n#3 return resolutions of #2 \n#4 return the lowest #3 \n#5 return resolutions of #1 \n#6 return #1 where #5 is higher than #4 \n#7 return the distinct names of #6"
] | task176-723d40e345b64781bd6e135226602e98 |
Definition: In this task you will break down a question into the basic steps required to answer it.
A question decomposition is a numbered list of operations that must be performed to answer the original question. Imagine explaining your question to a friendly droid by listing each action it should take in order for the question to be answered. Each step in our decomposition should refer to either an entity (known or unknown), a propery of an entity or a query operation (count, group, union, etc.)
Here are the list of step templates and their description:
Select: A select step is used to return a set of objects. There are no references to previous steps in a select step. template: Return [attributes]
Filter: A filter step is used to return results from a previous step to which a certain condition applies. template: Return [#step] [condition]
Project: A project step should return certain attributes of the results of a previous step. template: Return [attributes] of [#step]
Aggregate: An aggregate step returns an aggregator function applied on a step's result. template: Return the [aggregator] of [#step].
Group: A group step is an aggregator applied on attributes. template: Return the [aggregator] of [#step] for each [attribute]
Superlative: A superlative step is used to return the result with a highest/lowest attribute among other results. template: Return [#step1] [where] [#step2] [is] [highest / lowest]
Comparative: A comparative step is used when we need to compare an attribute with a number to filter results. template: Return [#step1] [where] [#step2] [comparator] [number]
Union: A union step is used to return results of two steps together. template: Return [#step1] [or / ,] [#step2]
Intersection: An intersection step returns the result that two steps have in common. template: Return [attribute] of both [#step1] and [#step2]
Discard: A discard step returns result of a step and excludes result of another step from it. template: Return [#step1] besides [#step2]
Sort: A sort returns result of another step in a specific order. template: Return [#step1] [ordered / sorted by] [#step2]
Is true: An is true step checks a condition on another result and returns a true or false. template: Return [is / if] [condition]
Arithmetic: An arithmatic step operates an arithmatic operation on one or more steps. template: Return the [arithmetic op.] of [#step1] [and] [#step2].
Positive Example 1 -
Input: question: What are the distinct creation years of the departments managed by a secretary born in state 'Alabama'?
Output: #1 return secretaries
#2 return #1 born in state 'Alabama
#3 return departments managed by #2
#4 return distinct creation years of #3
Positive Example 2 -
Input: question: i'd like to see flights from baltimore to atlanta that arrive before noon and i'd like to see flights from denver to atlanta that arrive before noon
Output: #1 return flights
#2 return #1 from baltimore
#3 return #2 to atlanta
#4 return #3 that arrive before noon
#5 return #1 from denver
#6 return #5 to atlanta
#7 return #6 that arrive before noon
#8 return #4 , #7
Negative Example 1 -
Input: question: show the name of all bridges that was designed by american archtect, and sort the result by the bridge feet length.
Output: #1 return american archtects
#2 return bridges
#3 return sorted by feet length
Negative Example 2 -
Input: question: What is the average price for a lesson taught by Janessa Sawayn?
Output: #1 return price for lessons taught by Janessa Sawayn
#2 return the average of #1
Now complete the following example -
Input: question: What is the color of the object farthest off by itself?
Output:
| [
"#1 return object \n#2 return #1 farthest off by itself \n#3 return color of #2"
] | task176-1175713269af49ae8ba738658e527a63 |
Definition: In this task you will break down a question into the basic steps required to answer it.
A question decomposition is a numbered list of operations that must be performed to answer the original question. Imagine explaining your question to a friendly droid by listing each action it should take in order for the question to be answered. Each step in our decomposition should refer to either an entity (known or unknown), a propery of an entity or a query operation (count, group, union, etc.)
Here are the list of step templates and their description:
Select: A select step is used to return a set of objects. There are no references to previous steps in a select step. template: Return [attributes]
Filter: A filter step is used to return results from a previous step to which a certain condition applies. template: Return [#step] [condition]
Project: A project step should return certain attributes of the results of a previous step. template: Return [attributes] of [#step]
Aggregate: An aggregate step returns an aggregator function applied on a step's result. template: Return the [aggregator] of [#step].
Group: A group step is an aggregator applied on attributes. template: Return the [aggregator] of [#step] for each [attribute]
Superlative: A superlative step is used to return the result with a highest/lowest attribute among other results. template: Return [#step1] [where] [#step2] [is] [highest / lowest]
Comparative: A comparative step is used when we need to compare an attribute with a number to filter results. template: Return [#step1] [where] [#step2] [comparator] [number]
Union: A union step is used to return results of two steps together. template: Return [#step1] [or / ,] [#step2]
Intersection: An intersection step returns the result that two steps have in common. template: Return [attribute] of both [#step1] and [#step2]
Discard: A discard step returns result of a step and excludes result of another step from it. template: Return [#step1] besides [#step2]
Sort: A sort returns result of another step in a specific order. template: Return [#step1] [ordered / sorted by] [#step2]
Is true: An is true step checks a condition on another result and returns a true or false. template: Return [is / if] [condition]
Arithmetic: An arithmatic step operates an arithmatic operation on one or more steps. template: Return the [arithmetic op.] of [#step1] [and] [#step2].
Positive Example 1 -
Input: question: What are the distinct creation years of the departments managed by a secretary born in state 'Alabama'?
Output: #1 return secretaries
#2 return #1 born in state 'Alabama
#3 return departments managed by #2
#4 return distinct creation years of #3
Positive Example 2 -
Input: question: i'd like to see flights from baltimore to atlanta that arrive before noon and i'd like to see flights from denver to atlanta that arrive before noon
Output: #1 return flights
#2 return #1 from baltimore
#3 return #2 to atlanta
#4 return #3 that arrive before noon
#5 return #1 from denver
#6 return #5 to atlanta
#7 return #6 that arrive before noon
#8 return #4 , #7
Negative Example 1 -
Input: question: show the name of all bridges that was designed by american archtect, and sort the result by the bridge feet length.
Output: #1 return american archtects
#2 return bridges
#3 return sorted by feet length
Negative Example 2 -
Input: question: What is the average price for a lesson taught by Janessa Sawayn?
Output: #1 return price for lessons taught by Janessa Sawayn
#2 return the average of #1
Now complete the following example -
Input: question: From which university did the person portrayed in The Carter graduate?
Output:
| [
"#1 return the Carter \n#2 return the person portrayed in #1 \n#3 return university of #2"
] | task176-d00b7a412d3a4c0a9cdbdd49f61291cb |
Definition: In this task you will break down a question into the basic steps required to answer it.
A question decomposition is a numbered list of operations that must be performed to answer the original question. Imagine explaining your question to a friendly droid by listing each action it should take in order for the question to be answered. Each step in our decomposition should refer to either an entity (known or unknown), a propery of an entity or a query operation (count, group, union, etc.)
Here are the list of step templates and their description:
Select: A select step is used to return a set of objects. There are no references to previous steps in a select step. template: Return [attributes]
Filter: A filter step is used to return results from a previous step to which a certain condition applies. template: Return [#step] [condition]
Project: A project step should return certain attributes of the results of a previous step. template: Return [attributes] of [#step]
Aggregate: An aggregate step returns an aggregator function applied on a step's result. template: Return the [aggregator] of [#step].
Group: A group step is an aggregator applied on attributes. template: Return the [aggregator] of [#step] for each [attribute]
Superlative: A superlative step is used to return the result with a highest/lowest attribute among other results. template: Return [#step1] [where] [#step2] [is] [highest / lowest]
Comparative: A comparative step is used when we need to compare an attribute with a number to filter results. template: Return [#step1] [where] [#step2] [comparator] [number]
Union: A union step is used to return results of two steps together. template: Return [#step1] [or / ,] [#step2]
Intersection: An intersection step returns the result that two steps have in common. template: Return [attribute] of both [#step1] and [#step2]
Discard: A discard step returns result of a step and excludes result of another step from it. template: Return [#step1] besides [#step2]
Sort: A sort returns result of another step in a specific order. template: Return [#step1] [ordered / sorted by] [#step2]
Is true: An is true step checks a condition on another result and returns a true or false. template: Return [is / if] [condition]
Arithmetic: An arithmatic step operates an arithmatic operation on one or more steps. template: Return the [arithmetic op.] of [#step1] [and] [#step2].
Positive Example 1 -
Input: question: What are the distinct creation years of the departments managed by a secretary born in state 'Alabama'?
Output: #1 return secretaries
#2 return #1 born in state 'Alabama
#3 return departments managed by #2
#4 return distinct creation years of #3
Positive Example 2 -
Input: question: i'd like to see flights from baltimore to atlanta that arrive before noon and i'd like to see flights from denver to atlanta that arrive before noon
Output: #1 return flights
#2 return #1 from baltimore
#3 return #2 to atlanta
#4 return #3 that arrive before noon
#5 return #1 from denver
#6 return #5 to atlanta
#7 return #6 that arrive before noon
#8 return #4 , #7
Negative Example 1 -
Input: question: show the name of all bridges that was designed by american archtect, and sort the result by the bridge feet length.
Output: #1 return american archtects
#2 return bridges
#3 return sorted by feet length
Negative Example 2 -
Input: question: What is the average price for a lesson taught by Janessa Sawayn?
Output: #1 return price for lessons taught by Janessa Sawayn
#2 return the average of #1
Now complete the following example -
Input: question: What color are the two large cubes?
Output:
| [
"#1 return large cubes \n#2 return color of #1"
] | task176-ec49abbf04ac4b5092b50b9246acf4ba |
Definition: In this task you will break down a question into the basic steps required to answer it.
A question decomposition is a numbered list of operations that must be performed to answer the original question. Imagine explaining your question to a friendly droid by listing each action it should take in order for the question to be answered. Each step in our decomposition should refer to either an entity (known or unknown), a propery of an entity or a query operation (count, group, union, etc.)
Here are the list of step templates and their description:
Select: A select step is used to return a set of objects. There are no references to previous steps in a select step. template: Return [attributes]
Filter: A filter step is used to return results from a previous step to which a certain condition applies. template: Return [#step] [condition]
Project: A project step should return certain attributes of the results of a previous step. template: Return [attributes] of [#step]
Aggregate: An aggregate step returns an aggregator function applied on a step's result. template: Return the [aggregator] of [#step].
Group: A group step is an aggregator applied on attributes. template: Return the [aggregator] of [#step] for each [attribute]
Superlative: A superlative step is used to return the result with a highest/lowest attribute among other results. template: Return [#step1] [where] [#step2] [is] [highest / lowest]
Comparative: A comparative step is used when we need to compare an attribute with a number to filter results. template: Return [#step1] [where] [#step2] [comparator] [number]
Union: A union step is used to return results of two steps together. template: Return [#step1] [or / ,] [#step2]
Intersection: An intersection step returns the result that two steps have in common. template: Return [attribute] of both [#step1] and [#step2]
Discard: A discard step returns result of a step and excludes result of another step from it. template: Return [#step1] besides [#step2]
Sort: A sort returns result of another step in a specific order. template: Return [#step1] [ordered / sorted by] [#step2]
Is true: An is true step checks a condition on another result and returns a true or false. template: Return [is / if] [condition]
Arithmetic: An arithmatic step operates an arithmatic operation on one or more steps. template: Return the [arithmetic op.] of [#step1] [and] [#step2].
Positive Example 1 -
Input: question: What are the distinct creation years of the departments managed by a secretary born in state 'Alabama'?
Output: #1 return secretaries
#2 return #1 born in state 'Alabama
#3 return departments managed by #2
#4 return distinct creation years of #3
Positive Example 2 -
Input: question: i'd like to see flights from baltimore to atlanta that arrive before noon and i'd like to see flights from denver to atlanta that arrive before noon
Output: #1 return flights
#2 return #1 from baltimore
#3 return #2 to atlanta
#4 return #3 that arrive before noon
#5 return #1 from denver
#6 return #5 to atlanta
#7 return #6 that arrive before noon
#8 return #4 , #7
Negative Example 1 -
Input: question: show the name of all bridges that was designed by american archtect, and sort the result by the bridge feet length.
Output: #1 return american archtects
#2 return bridges
#3 return sorted by feet length
Negative Example 2 -
Input: question: What is the average price for a lesson taught by Janessa Sawayn?
Output: #1 return price for lessons taught by Janessa Sawayn
#2 return the average of #1
Now complete the following example -
Input: question: How many different shapes are in the image?
Output:
| [
"#1 return objects \n#2 return different shapes of #1 \n#3 return number of #2"
] | task176-8dbf57a7ebb54cfba4ccc721de64df34 |
Definition: In this task you will break down a question into the basic steps required to answer it.
A question decomposition is a numbered list of operations that must be performed to answer the original question. Imagine explaining your question to a friendly droid by listing each action it should take in order for the question to be answered. Each step in our decomposition should refer to either an entity (known or unknown), a propery of an entity or a query operation (count, group, union, etc.)
Here are the list of step templates and their description:
Select: A select step is used to return a set of objects. There are no references to previous steps in a select step. template: Return [attributes]
Filter: A filter step is used to return results from a previous step to which a certain condition applies. template: Return [#step] [condition]
Project: A project step should return certain attributes of the results of a previous step. template: Return [attributes] of [#step]
Aggregate: An aggregate step returns an aggregator function applied on a step's result. template: Return the [aggregator] of [#step].
Group: A group step is an aggregator applied on attributes. template: Return the [aggregator] of [#step] for each [attribute]
Superlative: A superlative step is used to return the result with a highest/lowest attribute among other results. template: Return [#step1] [where] [#step2] [is] [highest / lowest]
Comparative: A comparative step is used when we need to compare an attribute with a number to filter results. template: Return [#step1] [where] [#step2] [comparator] [number]
Union: A union step is used to return results of two steps together. template: Return [#step1] [or / ,] [#step2]
Intersection: An intersection step returns the result that two steps have in common. template: Return [attribute] of both [#step1] and [#step2]
Discard: A discard step returns result of a step and excludes result of another step from it. template: Return [#step1] besides [#step2]
Sort: A sort returns result of another step in a specific order. template: Return [#step1] [ordered / sorted by] [#step2]
Is true: An is true step checks a condition on another result and returns a true or false. template: Return [is / if] [condition]
Arithmetic: An arithmatic step operates an arithmatic operation on one or more steps. template: Return the [arithmetic op.] of [#step1] [and] [#step2].
Positive Example 1 -
Input: question: What are the distinct creation years of the departments managed by a secretary born in state 'Alabama'?
Output: #1 return secretaries
#2 return #1 born in state 'Alabama
#3 return departments managed by #2
#4 return distinct creation years of #3
Positive Example 2 -
Input: question: i'd like to see flights from baltimore to atlanta that arrive before noon and i'd like to see flights from denver to atlanta that arrive before noon
Output: #1 return flights
#2 return #1 from baltimore
#3 return #2 to atlanta
#4 return #3 that arrive before noon
#5 return #1 from denver
#6 return #5 to atlanta
#7 return #6 that arrive before noon
#8 return #4 , #7
Negative Example 1 -
Input: question: show the name of all bridges that was designed by american archtect, and sort the result by the bridge feet length.
Output: #1 return american archtects
#2 return bridges
#3 return sorted by feet length
Negative Example 2 -
Input: question: What is the average price for a lesson taught by Janessa Sawayn?
Output: #1 return price for lessons taught by Janessa Sawayn
#2 return the average of #1
Now complete the following example -
Input: question: What is the name of the ship that is commanded by the youngest captain?
Output:
| [
"#1 return ships \n#2 return captains of #1 \n#3 return #1 where #2 is youngest \n#4 return name of #3"
] | task176-97581d95213146e1a682c14103f070b1 |
Definition: In this task you will break down a question into the basic steps required to answer it.
A question decomposition is a numbered list of operations that must be performed to answer the original question. Imagine explaining your question to a friendly droid by listing each action it should take in order for the question to be answered. Each step in our decomposition should refer to either an entity (known or unknown), a propery of an entity or a query operation (count, group, union, etc.)
Here are the list of step templates and their description:
Select: A select step is used to return a set of objects. There are no references to previous steps in a select step. template: Return [attributes]
Filter: A filter step is used to return results from a previous step to which a certain condition applies. template: Return [#step] [condition]
Project: A project step should return certain attributes of the results of a previous step. template: Return [attributes] of [#step]
Aggregate: An aggregate step returns an aggregator function applied on a step's result. template: Return the [aggregator] of [#step].
Group: A group step is an aggregator applied on attributes. template: Return the [aggregator] of [#step] for each [attribute]
Superlative: A superlative step is used to return the result with a highest/lowest attribute among other results. template: Return [#step1] [where] [#step2] [is] [highest / lowest]
Comparative: A comparative step is used when we need to compare an attribute with a number to filter results. template: Return [#step1] [where] [#step2] [comparator] [number]
Union: A union step is used to return results of two steps together. template: Return [#step1] [or / ,] [#step2]
Intersection: An intersection step returns the result that two steps have in common. template: Return [attribute] of both [#step1] and [#step2]
Discard: A discard step returns result of a step and excludes result of another step from it. template: Return [#step1] besides [#step2]
Sort: A sort returns result of another step in a specific order. template: Return [#step1] [ordered / sorted by] [#step2]
Is true: An is true step checks a condition on another result and returns a true or false. template: Return [is / if] [condition]
Arithmetic: An arithmatic step operates an arithmatic operation on one or more steps. template: Return the [arithmetic op.] of [#step1] [and] [#step2].
Positive Example 1 -
Input: question: What are the distinct creation years of the departments managed by a secretary born in state 'Alabama'?
Output: #1 return secretaries
#2 return #1 born in state 'Alabama
#3 return departments managed by #2
#4 return distinct creation years of #3
Positive Example 2 -
Input: question: i'd like to see flights from baltimore to atlanta that arrive before noon and i'd like to see flights from denver to atlanta that arrive before noon
Output: #1 return flights
#2 return #1 from baltimore
#3 return #2 to atlanta
#4 return #3 that arrive before noon
#5 return #1 from denver
#6 return #5 to atlanta
#7 return #6 that arrive before noon
#8 return #4 , #7
Negative Example 1 -
Input: question: show the name of all bridges that was designed by american archtect, and sort the result by the bridge feet length.
Output: #1 return american archtects
#2 return bridges
#3 return sorted by feet length
Negative Example 2 -
Input: question: What is the average price for a lesson taught by Janessa Sawayn?
Output: #1 return price for lessons taught by Janessa Sawayn
#2 return the average of #1
Now complete the following example -
Input: question: How many fewer H-1B visas were issued in 2010 than in 2011?
Output:
| [
"#1 return H-1B visas \n#2 return #1 issued in 2010 \n#3 return #1 issued in 2011 \n#4 return number of #2 \n#5 return number of #3 \n#6 return difference of #5 and #4"
] | task176-f71a2d7f92424047b6590ebbe94325aa |
Definition: In this task you will break down a question into the basic steps required to answer it.
A question decomposition is a numbered list of operations that must be performed to answer the original question. Imagine explaining your question to a friendly droid by listing each action it should take in order for the question to be answered. Each step in our decomposition should refer to either an entity (known or unknown), a propery of an entity or a query operation (count, group, union, etc.)
Here are the list of step templates and their description:
Select: A select step is used to return a set of objects. There are no references to previous steps in a select step. template: Return [attributes]
Filter: A filter step is used to return results from a previous step to which a certain condition applies. template: Return [#step] [condition]
Project: A project step should return certain attributes of the results of a previous step. template: Return [attributes] of [#step]
Aggregate: An aggregate step returns an aggregator function applied on a step's result. template: Return the [aggregator] of [#step].
Group: A group step is an aggregator applied on attributes. template: Return the [aggregator] of [#step] for each [attribute]
Superlative: A superlative step is used to return the result with a highest/lowest attribute among other results. template: Return [#step1] [where] [#step2] [is] [highest / lowest]
Comparative: A comparative step is used when we need to compare an attribute with a number to filter results. template: Return [#step1] [where] [#step2] [comparator] [number]
Union: A union step is used to return results of two steps together. template: Return [#step1] [or / ,] [#step2]
Intersection: An intersection step returns the result that two steps have in common. template: Return [attribute] of both [#step1] and [#step2]
Discard: A discard step returns result of a step and excludes result of another step from it. template: Return [#step1] besides [#step2]
Sort: A sort returns result of another step in a specific order. template: Return [#step1] [ordered / sorted by] [#step2]
Is true: An is true step checks a condition on another result and returns a true or false. template: Return [is / if] [condition]
Arithmetic: An arithmatic step operates an arithmatic operation on one or more steps. template: Return the [arithmetic op.] of [#step1] [and] [#step2].
Positive Example 1 -
Input: question: What are the distinct creation years of the departments managed by a secretary born in state 'Alabama'?
Output: #1 return secretaries
#2 return #1 born in state 'Alabama
#3 return departments managed by #2
#4 return distinct creation years of #3
Positive Example 2 -
Input: question: i'd like to see flights from baltimore to atlanta that arrive before noon and i'd like to see flights from denver to atlanta that arrive before noon
Output: #1 return flights
#2 return #1 from baltimore
#3 return #2 to atlanta
#4 return #3 that arrive before noon
#5 return #1 from denver
#6 return #5 to atlanta
#7 return #6 that arrive before noon
#8 return #4 , #7
Negative Example 1 -
Input: question: show the name of all bridges that was designed by american archtect, and sort the result by the bridge feet length.
Output: #1 return american archtects
#2 return bridges
#3 return sorted by feet length
Negative Example 2 -
Input: question: What is the average price for a lesson taught by Janessa Sawayn?
Output: #1 return price for lessons taught by Janessa Sawayn
#2 return the average of #1
Now complete the following example -
Input: question: What is the color of the cube that is not small?
Output:
| [
"#1 return cubes \n#2 return #1 that are small \n#3 return #1 besides #2 \n#4 return the color of #3"
] | task176-1aacd1152ca7471aa248877513dfb6ee |
Definition: In this task you will break down a question into the basic steps required to answer it.
A question decomposition is a numbered list of operations that must be performed to answer the original question. Imagine explaining your question to a friendly droid by listing each action it should take in order for the question to be answered. Each step in our decomposition should refer to either an entity (known or unknown), a propery of an entity or a query operation (count, group, union, etc.)
Here are the list of step templates and their description:
Select: A select step is used to return a set of objects. There are no references to previous steps in a select step. template: Return [attributes]
Filter: A filter step is used to return results from a previous step to which a certain condition applies. template: Return [#step] [condition]
Project: A project step should return certain attributes of the results of a previous step. template: Return [attributes] of [#step]
Aggregate: An aggregate step returns an aggregator function applied on a step's result. template: Return the [aggregator] of [#step].
Group: A group step is an aggregator applied on attributes. template: Return the [aggregator] of [#step] for each [attribute]
Superlative: A superlative step is used to return the result with a highest/lowest attribute among other results. template: Return [#step1] [where] [#step2] [is] [highest / lowest]
Comparative: A comparative step is used when we need to compare an attribute with a number to filter results. template: Return [#step1] [where] [#step2] [comparator] [number]
Union: A union step is used to return results of two steps together. template: Return [#step1] [or / ,] [#step2]
Intersection: An intersection step returns the result that two steps have in common. template: Return [attribute] of both [#step1] and [#step2]
Discard: A discard step returns result of a step and excludes result of another step from it. template: Return [#step1] besides [#step2]
Sort: A sort returns result of another step in a specific order. template: Return [#step1] [ordered / sorted by] [#step2]
Is true: An is true step checks a condition on another result and returns a true or false. template: Return [is / if] [condition]
Arithmetic: An arithmatic step operates an arithmatic operation on one or more steps. template: Return the [arithmetic op.] of [#step1] [and] [#step2].
Positive Example 1 -
Input: question: What are the distinct creation years of the departments managed by a secretary born in state 'Alabama'?
Output: #1 return secretaries
#2 return #1 born in state 'Alabama
#3 return departments managed by #2
#4 return distinct creation years of #3
Positive Example 2 -
Input: question: i'd like to see flights from baltimore to atlanta that arrive before noon and i'd like to see flights from denver to atlanta that arrive before noon
Output: #1 return flights
#2 return #1 from baltimore
#3 return #2 to atlanta
#4 return #3 that arrive before noon
#5 return #1 from denver
#6 return #5 to atlanta
#7 return #6 that arrive before noon
#8 return #4 , #7
Negative Example 1 -
Input: question: show the name of all bridges that was designed by american archtect, and sort the result by the bridge feet length.
Output: #1 return american archtects
#2 return bridges
#3 return sorted by feet length
Negative Example 2 -
Input: question: What is the average price for a lesson taught by Janessa Sawayn?
Output: #1 return price for lessons taught by Janessa Sawayn
#2 return the average of #1
Now complete the following example -
Input: question: If is one of the image there is a water buffalo standing in the water.
Output:
| [
"#1 return water buffalo \n#2 return water \n#3 return #1 standing in #2 \n#4 return if #3 is in one of the images"
] | task176-c64d8bcd730b4b2989bb6d7a197583ef |
Definition: In this task you will break down a question into the basic steps required to answer it.
A question decomposition is a numbered list of operations that must be performed to answer the original question. Imagine explaining your question to a friendly droid by listing each action it should take in order for the question to be answered. Each step in our decomposition should refer to either an entity (known or unknown), a propery of an entity or a query operation (count, group, union, etc.)
Here are the list of step templates and their description:
Select: A select step is used to return a set of objects. There are no references to previous steps in a select step. template: Return [attributes]
Filter: A filter step is used to return results from a previous step to which a certain condition applies. template: Return [#step] [condition]
Project: A project step should return certain attributes of the results of a previous step. template: Return [attributes] of [#step]
Aggregate: An aggregate step returns an aggregator function applied on a step's result. template: Return the [aggregator] of [#step].
Group: A group step is an aggregator applied on attributes. template: Return the [aggregator] of [#step] for each [attribute]
Superlative: A superlative step is used to return the result with a highest/lowest attribute among other results. template: Return [#step1] [where] [#step2] [is] [highest / lowest]
Comparative: A comparative step is used when we need to compare an attribute with a number to filter results. template: Return [#step1] [where] [#step2] [comparator] [number]
Union: A union step is used to return results of two steps together. template: Return [#step1] [or / ,] [#step2]
Intersection: An intersection step returns the result that two steps have in common. template: Return [attribute] of both [#step1] and [#step2]
Discard: A discard step returns result of a step and excludes result of another step from it. template: Return [#step1] besides [#step2]
Sort: A sort returns result of another step in a specific order. template: Return [#step1] [ordered / sorted by] [#step2]
Is true: An is true step checks a condition on another result and returns a true or false. template: Return [is / if] [condition]
Arithmetic: An arithmatic step operates an arithmatic operation on one or more steps. template: Return the [arithmetic op.] of [#step1] [and] [#step2].
Positive Example 1 -
Input: question: What are the distinct creation years of the departments managed by a secretary born in state 'Alabama'?
Output: #1 return secretaries
#2 return #1 born in state 'Alabama
#3 return departments managed by #2
#4 return distinct creation years of #3
Positive Example 2 -
Input: question: i'd like to see flights from baltimore to atlanta that arrive before noon and i'd like to see flights from denver to atlanta that arrive before noon
Output: #1 return flights
#2 return #1 from baltimore
#3 return #2 to atlanta
#4 return #3 that arrive before noon
#5 return #1 from denver
#6 return #5 to atlanta
#7 return #6 that arrive before noon
#8 return #4 , #7
Negative Example 1 -
Input: question: show the name of all bridges that was designed by american archtect, and sort the result by the bridge feet length.
Output: #1 return american archtects
#2 return bridges
#3 return sorted by feet length
Negative Example 2 -
Input: question: What is the average price for a lesson taught by Janessa Sawayn?
Output: #1 return price for lessons taught by Janessa Sawayn
#2 return the average of #1
Now complete the following example -
Input: question: i would like to book a flight for august twenty seventh with us air from baltimore to oakland what flights do you have available
Output:
| [
"#1 return flights \n#2 return #1 on us air \n#3 return #2 from baltimore \n#4 return #3 to oakland \n#5 return #4 on august twenty seventh"
] | task176-f4da8a00b5f04acbae30523659029a97 |
Definition: In this task you will break down a question into the basic steps required to answer it.
A question decomposition is a numbered list of operations that must be performed to answer the original question. Imagine explaining your question to a friendly droid by listing each action it should take in order for the question to be answered. Each step in our decomposition should refer to either an entity (known or unknown), a propery of an entity or a query operation (count, group, union, etc.)
Here are the list of step templates and their description:
Select: A select step is used to return a set of objects. There are no references to previous steps in a select step. template: Return [attributes]
Filter: A filter step is used to return results from a previous step to which a certain condition applies. template: Return [#step] [condition]
Project: A project step should return certain attributes of the results of a previous step. template: Return [attributes] of [#step]
Aggregate: An aggregate step returns an aggregator function applied on a step's result. template: Return the [aggregator] of [#step].
Group: A group step is an aggregator applied on attributes. template: Return the [aggregator] of [#step] for each [attribute]
Superlative: A superlative step is used to return the result with a highest/lowest attribute among other results. template: Return [#step1] [where] [#step2] [is] [highest / lowest]
Comparative: A comparative step is used when we need to compare an attribute with a number to filter results. template: Return [#step1] [where] [#step2] [comparator] [number]
Union: A union step is used to return results of two steps together. template: Return [#step1] [or / ,] [#step2]
Intersection: An intersection step returns the result that two steps have in common. template: Return [attribute] of both [#step1] and [#step2]
Discard: A discard step returns result of a step and excludes result of another step from it. template: Return [#step1] besides [#step2]
Sort: A sort returns result of another step in a specific order. template: Return [#step1] [ordered / sorted by] [#step2]
Is true: An is true step checks a condition on another result and returns a true or false. template: Return [is / if] [condition]
Arithmetic: An arithmatic step operates an arithmatic operation on one or more steps. template: Return the [arithmetic op.] of [#step1] [and] [#step2].
Positive Example 1 -
Input: question: What are the distinct creation years of the departments managed by a secretary born in state 'Alabama'?
Output: #1 return secretaries
#2 return #1 born in state 'Alabama
#3 return departments managed by #2
#4 return distinct creation years of #3
Positive Example 2 -
Input: question: i'd like to see flights from baltimore to atlanta that arrive before noon and i'd like to see flights from denver to atlanta that arrive before noon
Output: #1 return flights
#2 return #1 from baltimore
#3 return #2 to atlanta
#4 return #3 that arrive before noon
#5 return #1 from denver
#6 return #5 to atlanta
#7 return #6 that arrive before noon
#8 return #4 , #7
Negative Example 1 -
Input: question: show the name of all bridges that was designed by american archtect, and sort the result by the bridge feet length.
Output: #1 return american archtects
#2 return bridges
#3 return sorted by feet length
Negative Example 2 -
Input: question: What is the average price for a lesson taught by Janessa Sawayn?
Output: #1 return price for lessons taught by Janessa Sawayn
#2 return the average of #1
Now complete the following example -
Input: question: what is the small country in south france?
Output:
| [
"#1 return south france \n#2 return countries in #1 \n#3 return #2 that is small"
] | task176-04b36d3876aa4f17ab96c7b2078c09a5 |
Definition: In this task you will break down a question into the basic steps required to answer it.
A question decomposition is a numbered list of operations that must be performed to answer the original question. Imagine explaining your question to a friendly droid by listing each action it should take in order for the question to be answered. Each step in our decomposition should refer to either an entity (known or unknown), a propery of an entity or a query operation (count, group, union, etc.)
Here are the list of step templates and their description:
Select: A select step is used to return a set of objects. There are no references to previous steps in a select step. template: Return [attributes]
Filter: A filter step is used to return results from a previous step to which a certain condition applies. template: Return [#step] [condition]
Project: A project step should return certain attributes of the results of a previous step. template: Return [attributes] of [#step]
Aggregate: An aggregate step returns an aggregator function applied on a step's result. template: Return the [aggregator] of [#step].
Group: A group step is an aggregator applied on attributes. template: Return the [aggregator] of [#step] for each [attribute]
Superlative: A superlative step is used to return the result with a highest/lowest attribute among other results. template: Return [#step1] [where] [#step2] [is] [highest / lowest]
Comparative: A comparative step is used when we need to compare an attribute with a number to filter results. template: Return [#step1] [where] [#step2] [comparator] [number]
Union: A union step is used to return results of two steps together. template: Return [#step1] [or / ,] [#step2]
Intersection: An intersection step returns the result that two steps have in common. template: Return [attribute] of both [#step1] and [#step2]
Discard: A discard step returns result of a step and excludes result of another step from it. template: Return [#step1] besides [#step2]
Sort: A sort returns result of another step in a specific order. template: Return [#step1] [ordered / sorted by] [#step2]
Is true: An is true step checks a condition on another result and returns a true or false. template: Return [is / if] [condition]
Arithmetic: An arithmatic step operates an arithmatic operation on one or more steps. template: Return the [arithmetic op.] of [#step1] [and] [#step2].
Positive Example 1 -
Input: question: What are the distinct creation years of the departments managed by a secretary born in state 'Alabama'?
Output: #1 return secretaries
#2 return #1 born in state 'Alabama
#3 return departments managed by #2
#4 return distinct creation years of #3
Positive Example 2 -
Input: question: i'd like to see flights from baltimore to atlanta that arrive before noon and i'd like to see flights from denver to atlanta that arrive before noon
Output: #1 return flights
#2 return #1 from baltimore
#3 return #2 to atlanta
#4 return #3 that arrive before noon
#5 return #1 from denver
#6 return #5 to atlanta
#7 return #6 that arrive before noon
#8 return #4 , #7
Negative Example 1 -
Input: question: show the name of all bridges that was designed by american archtect, and sort the result by the bridge feet length.
Output: #1 return american archtects
#2 return bridges
#3 return sorted by feet length
Negative Example 2 -
Input: question: What is the average price for a lesson taught by Janessa Sawayn?
Output: #1 return price for lessons taught by Janessa Sawayn
#2 return the average of #1
Now complete the following example -
Input: question: Find the titles of the papers the author "Stephanie Weirich" wrote.
Output:
| [
"#1 return the author Stephanie Weirich \n#2 return the papers that #1 wrote \n#3 return the titles of #2"
] | task176-40e452b2de0e4cdbbaa9feb1e85ab847 |
Definition: In this task you will break down a question into the basic steps required to answer it.
A question decomposition is a numbered list of operations that must be performed to answer the original question. Imagine explaining your question to a friendly droid by listing each action it should take in order for the question to be answered. Each step in our decomposition should refer to either an entity (known or unknown), a propery of an entity or a query operation (count, group, union, etc.)
Here are the list of step templates and their description:
Select: A select step is used to return a set of objects. There are no references to previous steps in a select step. template: Return [attributes]
Filter: A filter step is used to return results from a previous step to which a certain condition applies. template: Return [#step] [condition]
Project: A project step should return certain attributes of the results of a previous step. template: Return [attributes] of [#step]
Aggregate: An aggregate step returns an aggregator function applied on a step's result. template: Return the [aggregator] of [#step].
Group: A group step is an aggregator applied on attributes. template: Return the [aggregator] of [#step] for each [attribute]
Superlative: A superlative step is used to return the result with a highest/lowest attribute among other results. template: Return [#step1] [where] [#step2] [is] [highest / lowest]
Comparative: A comparative step is used when we need to compare an attribute with a number to filter results. template: Return [#step1] [where] [#step2] [comparator] [number]
Union: A union step is used to return results of two steps together. template: Return [#step1] [or / ,] [#step2]
Intersection: An intersection step returns the result that two steps have in common. template: Return [attribute] of both [#step1] and [#step2]
Discard: A discard step returns result of a step and excludes result of another step from it. template: Return [#step1] besides [#step2]
Sort: A sort returns result of another step in a specific order. template: Return [#step1] [ordered / sorted by] [#step2]
Is true: An is true step checks a condition on another result and returns a true or false. template: Return [is / if] [condition]
Arithmetic: An arithmatic step operates an arithmatic operation on one or more steps. template: Return the [arithmetic op.] of [#step1] [and] [#step2].
Positive Example 1 -
Input: question: What are the distinct creation years of the departments managed by a secretary born in state 'Alabama'?
Output: #1 return secretaries
#2 return #1 born in state 'Alabama
#3 return departments managed by #2
#4 return distinct creation years of #3
Positive Example 2 -
Input: question: i'd like to see flights from baltimore to atlanta that arrive before noon and i'd like to see flights from denver to atlanta that arrive before noon
Output: #1 return flights
#2 return #1 from baltimore
#3 return #2 to atlanta
#4 return #3 that arrive before noon
#5 return #1 from denver
#6 return #5 to atlanta
#7 return #6 that arrive before noon
#8 return #4 , #7
Negative Example 1 -
Input: question: show the name of all bridges that was designed by american archtect, and sort the result by the bridge feet length.
Output: #1 return american archtects
#2 return bridges
#3 return sorted by feet length
Negative Example 2 -
Input: question: What is the average price for a lesson taught by Janessa Sawayn?
Output: #1 return price for lessons taught by Janessa Sawayn
#2 return the average of #1
Now complete the following example -
Input: question: If the bodies of the dogs in the paired images are turned in the same direction.
Output:
| [
"#1 return images \n#2 return dogs in #1 \n#3 return bodies of #2 \n#4 return direction turned in of #3 \n#5 return if #4 are the same"
] | task176-9e329897c19e4817acd754f0f7462b2b |
Definition: In this task you will break down a question into the basic steps required to answer it.
A question decomposition is a numbered list of operations that must be performed to answer the original question. Imagine explaining your question to a friendly droid by listing each action it should take in order for the question to be answered. Each step in our decomposition should refer to either an entity (known or unknown), a propery of an entity or a query operation (count, group, union, etc.)
Here are the list of step templates and their description:
Select: A select step is used to return a set of objects. There are no references to previous steps in a select step. template: Return [attributes]
Filter: A filter step is used to return results from a previous step to which a certain condition applies. template: Return [#step] [condition]
Project: A project step should return certain attributes of the results of a previous step. template: Return [attributes] of [#step]
Aggregate: An aggregate step returns an aggregator function applied on a step's result. template: Return the [aggregator] of [#step].
Group: A group step is an aggregator applied on attributes. template: Return the [aggregator] of [#step] for each [attribute]
Superlative: A superlative step is used to return the result with a highest/lowest attribute among other results. template: Return [#step1] [where] [#step2] [is] [highest / lowest]
Comparative: A comparative step is used when we need to compare an attribute with a number to filter results. template: Return [#step1] [where] [#step2] [comparator] [number]
Union: A union step is used to return results of two steps together. template: Return [#step1] [or / ,] [#step2]
Intersection: An intersection step returns the result that two steps have in common. template: Return [attribute] of both [#step1] and [#step2]
Discard: A discard step returns result of a step and excludes result of another step from it. template: Return [#step1] besides [#step2]
Sort: A sort returns result of another step in a specific order. template: Return [#step1] [ordered / sorted by] [#step2]
Is true: An is true step checks a condition on another result and returns a true or false. template: Return [is / if] [condition]
Arithmetic: An arithmatic step operates an arithmatic operation on one or more steps. template: Return the [arithmetic op.] of [#step1] [and] [#step2].
Positive Example 1 -
Input: question: What are the distinct creation years of the departments managed by a secretary born in state 'Alabama'?
Output: #1 return secretaries
#2 return #1 born in state 'Alabama
#3 return departments managed by #2
#4 return distinct creation years of #3
Positive Example 2 -
Input: question: i'd like to see flights from baltimore to atlanta that arrive before noon and i'd like to see flights from denver to atlanta that arrive before noon
Output: #1 return flights
#2 return #1 from baltimore
#3 return #2 to atlanta
#4 return #3 that arrive before noon
#5 return #1 from denver
#6 return #5 to atlanta
#7 return #6 that arrive before noon
#8 return #4 , #7
Negative Example 1 -
Input: question: show the name of all bridges that was designed by american archtect, and sort the result by the bridge feet length.
Output: #1 return american archtects
#2 return bridges
#3 return sorted by feet length
Negative Example 2 -
Input: question: What is the average price for a lesson taught by Janessa Sawayn?
Output: #1 return price for lessons taught by Janessa Sawayn
#2 return the average of #1
Now complete the following example -
Input: question: what is the cheapest way to travel round trip from milwaukee to san francisco
Output:
| [
"#1 return flights \n#2 return #1 from milwaukee \n#3 return #2 to san francisco \n#4 return #3 that are round trip \n#5 return price of #4 \n#6 return #4 where #5 is lowest"
] | task176-4b105f1719fa4540b683cdeda7a3d14c |
Definition: In this task you will break down a question into the basic steps required to answer it.
A question decomposition is a numbered list of operations that must be performed to answer the original question. Imagine explaining your question to a friendly droid by listing each action it should take in order for the question to be answered. Each step in our decomposition should refer to either an entity (known or unknown), a propery of an entity or a query operation (count, group, union, etc.)
Here are the list of step templates and their description:
Select: A select step is used to return a set of objects. There are no references to previous steps in a select step. template: Return [attributes]
Filter: A filter step is used to return results from a previous step to which a certain condition applies. template: Return [#step] [condition]
Project: A project step should return certain attributes of the results of a previous step. template: Return [attributes] of [#step]
Aggregate: An aggregate step returns an aggregator function applied on a step's result. template: Return the [aggregator] of [#step].
Group: A group step is an aggregator applied on attributes. template: Return the [aggregator] of [#step] for each [attribute]
Superlative: A superlative step is used to return the result with a highest/lowest attribute among other results. template: Return [#step1] [where] [#step2] [is] [highest / lowest]
Comparative: A comparative step is used when we need to compare an attribute with a number to filter results. template: Return [#step1] [where] [#step2] [comparator] [number]
Union: A union step is used to return results of two steps together. template: Return [#step1] [or / ,] [#step2]
Intersection: An intersection step returns the result that two steps have in common. template: Return [attribute] of both [#step1] and [#step2]
Discard: A discard step returns result of a step and excludes result of another step from it. template: Return [#step1] besides [#step2]
Sort: A sort returns result of another step in a specific order. template: Return [#step1] [ordered / sorted by] [#step2]
Is true: An is true step checks a condition on another result and returns a true or false. template: Return [is / if] [condition]
Arithmetic: An arithmatic step operates an arithmatic operation on one or more steps. template: Return the [arithmetic op.] of [#step1] [and] [#step2].
Positive Example 1 -
Input: question: What are the distinct creation years of the departments managed by a secretary born in state 'Alabama'?
Output: #1 return secretaries
#2 return #1 born in state 'Alabama
#3 return departments managed by #2
#4 return distinct creation years of #3
Positive Example 2 -
Input: question: i'd like to see flights from baltimore to atlanta that arrive before noon and i'd like to see flights from denver to atlanta that arrive before noon
Output: #1 return flights
#2 return #1 from baltimore
#3 return #2 to atlanta
#4 return #3 that arrive before noon
#5 return #1 from denver
#6 return #5 to atlanta
#7 return #6 that arrive before noon
#8 return #4 , #7
Negative Example 1 -
Input: question: show the name of all bridges that was designed by american archtect, and sort the result by the bridge feet length.
Output: #1 return american archtects
#2 return bridges
#3 return sorted by feet length
Negative Example 2 -
Input: question: What is the average price for a lesson taught by Janessa Sawayn?
Output: #1 return price for lessons taught by Janessa Sawayn
#2 return the average of #1
Now complete the following example -
Input: question: Find the first name of students who have cat or dog pet.
Output:
| [
"#1 return students \n#2 return pets of #1 \n#3 return #1 where #2 is dog \n#4 return #1 where #2 is cat \n#5 return #3 or #4 \n#6 return first names of #5"
] | task176-5c85dc3e94e843eca7740cdc59c640ff |
Definition: In this task you will break down a question into the basic steps required to answer it.
A question decomposition is a numbered list of operations that must be performed to answer the original question. Imagine explaining your question to a friendly droid by listing each action it should take in order for the question to be answered. Each step in our decomposition should refer to either an entity (known or unknown), a propery of an entity or a query operation (count, group, union, etc.)
Here are the list of step templates and their description:
Select: A select step is used to return a set of objects. There are no references to previous steps in a select step. template: Return [attributes]
Filter: A filter step is used to return results from a previous step to which a certain condition applies. template: Return [#step] [condition]
Project: A project step should return certain attributes of the results of a previous step. template: Return [attributes] of [#step]
Aggregate: An aggregate step returns an aggregator function applied on a step's result. template: Return the [aggregator] of [#step].
Group: A group step is an aggregator applied on attributes. template: Return the [aggregator] of [#step] for each [attribute]
Superlative: A superlative step is used to return the result with a highest/lowest attribute among other results. template: Return [#step1] [where] [#step2] [is] [highest / lowest]
Comparative: A comparative step is used when we need to compare an attribute with a number to filter results. template: Return [#step1] [where] [#step2] [comparator] [number]
Union: A union step is used to return results of two steps together. template: Return [#step1] [or / ,] [#step2]
Intersection: An intersection step returns the result that two steps have in common. template: Return [attribute] of both [#step1] and [#step2]
Discard: A discard step returns result of a step and excludes result of another step from it. template: Return [#step1] besides [#step2]
Sort: A sort returns result of another step in a specific order. template: Return [#step1] [ordered / sorted by] [#step2]
Is true: An is true step checks a condition on another result and returns a true or false. template: Return [is / if] [condition]
Arithmetic: An arithmatic step operates an arithmatic operation on one or more steps. template: Return the [arithmetic op.] of [#step1] [and] [#step2].
Positive Example 1 -
Input: question: What are the distinct creation years of the departments managed by a secretary born in state 'Alabama'?
Output: #1 return secretaries
#2 return #1 born in state 'Alabama
#3 return departments managed by #2
#4 return distinct creation years of #3
Positive Example 2 -
Input: question: i'd like to see flights from baltimore to atlanta that arrive before noon and i'd like to see flights from denver to atlanta that arrive before noon
Output: #1 return flights
#2 return #1 from baltimore
#3 return #2 to atlanta
#4 return #3 that arrive before noon
#5 return #1 from denver
#6 return #5 to atlanta
#7 return #6 that arrive before noon
#8 return #4 , #7
Negative Example 1 -
Input: question: show the name of all bridges that was designed by american archtect, and sort the result by the bridge feet length.
Output: #1 return american archtects
#2 return bridges
#3 return sorted by feet length
Negative Example 2 -
Input: question: What is the average price for a lesson taught by Janessa Sawayn?
Output: #1 return price for lessons taught by Janessa Sawayn
#2 return the average of #1
Now complete the following example -
Input: question: Who are the senators of the state with the Supreme Court of New Jersey?
Output:
| [
"#1 return the Supreme Court of New Jersey \n#2 return state of #1 \n#3 return senators of #2"
] | task176-7ba5880e025f4854a91a20895a13834a |
Definition: In this task you will break down a question into the basic steps required to answer it.
A question decomposition is a numbered list of operations that must be performed to answer the original question. Imagine explaining your question to a friendly droid by listing each action it should take in order for the question to be answered. Each step in our decomposition should refer to either an entity (known or unknown), a propery of an entity or a query operation (count, group, union, etc.)
Here are the list of step templates and their description:
Select: A select step is used to return a set of objects. There are no references to previous steps in a select step. template: Return [attributes]
Filter: A filter step is used to return results from a previous step to which a certain condition applies. template: Return [#step] [condition]
Project: A project step should return certain attributes of the results of a previous step. template: Return [attributes] of [#step]
Aggregate: An aggregate step returns an aggregator function applied on a step's result. template: Return the [aggregator] of [#step].
Group: A group step is an aggregator applied on attributes. template: Return the [aggregator] of [#step] for each [attribute]
Superlative: A superlative step is used to return the result with a highest/lowest attribute among other results. template: Return [#step1] [where] [#step2] [is] [highest / lowest]
Comparative: A comparative step is used when we need to compare an attribute with a number to filter results. template: Return [#step1] [where] [#step2] [comparator] [number]
Union: A union step is used to return results of two steps together. template: Return [#step1] [or / ,] [#step2]
Intersection: An intersection step returns the result that two steps have in common. template: Return [attribute] of both [#step1] and [#step2]
Discard: A discard step returns result of a step and excludes result of another step from it. template: Return [#step1] besides [#step2]
Sort: A sort returns result of another step in a specific order. template: Return [#step1] [ordered / sorted by] [#step2]
Is true: An is true step checks a condition on another result and returns a true or false. template: Return [is / if] [condition]
Arithmetic: An arithmatic step operates an arithmatic operation on one or more steps. template: Return the [arithmetic op.] of [#step1] [and] [#step2].
Positive Example 1 -
Input: question: What are the distinct creation years of the departments managed by a secretary born in state 'Alabama'?
Output: #1 return secretaries
#2 return #1 born in state 'Alabama
#3 return departments managed by #2
#4 return distinct creation years of #3
Positive Example 2 -
Input: question: i'd like to see flights from baltimore to atlanta that arrive before noon and i'd like to see flights from denver to atlanta that arrive before noon
Output: #1 return flights
#2 return #1 from baltimore
#3 return #2 to atlanta
#4 return #3 that arrive before noon
#5 return #1 from denver
#6 return #5 to atlanta
#7 return #6 that arrive before noon
#8 return #4 , #7
Negative Example 1 -
Input: question: show the name of all bridges that was designed by american archtect, and sort the result by the bridge feet length.
Output: #1 return american archtects
#2 return bridges
#3 return sorted by feet length
Negative Example 2 -
Input: question: What is the average price for a lesson taught by Janessa Sawayn?
Output: #1 return price for lessons taught by Janessa Sawayn
#2 return the average of #1
Now complete the following example -
Input: question: What color are all the objects in the front?
Output:
| [
"#1 return objects \n#2 return #1 that are in the front \n#3 return colors of #2"
] | task176-0c0af4dfff9b42b3b37284f95eb37c85 |
Definition: In this task you will break down a question into the basic steps required to answer it.
A question decomposition is a numbered list of operations that must be performed to answer the original question. Imagine explaining your question to a friendly droid by listing each action it should take in order for the question to be answered. Each step in our decomposition should refer to either an entity (known or unknown), a propery of an entity or a query operation (count, group, union, etc.)
Here are the list of step templates and their description:
Select: A select step is used to return a set of objects. There are no references to previous steps in a select step. template: Return [attributes]
Filter: A filter step is used to return results from a previous step to which a certain condition applies. template: Return [#step] [condition]
Project: A project step should return certain attributes of the results of a previous step. template: Return [attributes] of [#step]
Aggregate: An aggregate step returns an aggregator function applied on a step's result. template: Return the [aggregator] of [#step].
Group: A group step is an aggregator applied on attributes. template: Return the [aggregator] of [#step] for each [attribute]
Superlative: A superlative step is used to return the result with a highest/lowest attribute among other results. template: Return [#step1] [where] [#step2] [is] [highest / lowest]
Comparative: A comparative step is used when we need to compare an attribute with a number to filter results. template: Return [#step1] [where] [#step2] [comparator] [number]
Union: A union step is used to return results of two steps together. template: Return [#step1] [or / ,] [#step2]
Intersection: An intersection step returns the result that two steps have in common. template: Return [attribute] of both [#step1] and [#step2]
Discard: A discard step returns result of a step and excludes result of another step from it. template: Return [#step1] besides [#step2]
Sort: A sort returns result of another step in a specific order. template: Return [#step1] [ordered / sorted by] [#step2]
Is true: An is true step checks a condition on another result and returns a true or false. template: Return [is / if] [condition]
Arithmetic: An arithmatic step operates an arithmatic operation on one or more steps. template: Return the [arithmetic op.] of [#step1] [and] [#step2].
Positive Example 1 -
Input: question: What are the distinct creation years of the departments managed by a secretary born in state 'Alabama'?
Output: #1 return secretaries
#2 return #1 born in state 'Alabama
#3 return departments managed by #2
#4 return distinct creation years of #3
Positive Example 2 -
Input: question: i'd like to see flights from baltimore to atlanta that arrive before noon and i'd like to see flights from denver to atlanta that arrive before noon
Output: #1 return flights
#2 return #1 from baltimore
#3 return #2 to atlanta
#4 return #3 that arrive before noon
#5 return #1 from denver
#6 return #5 to atlanta
#7 return #6 that arrive before noon
#8 return #4 , #7
Negative Example 1 -
Input: question: show the name of all bridges that was designed by american archtect, and sort the result by the bridge feet length.
Output: #1 return american archtects
#2 return bridges
#3 return sorted by feet length
Negative Example 2 -
Input: question: What is the average price for a lesson taught by Janessa Sawayn?
Output: #1 return price for lessons taught by Janessa Sawayn
#2 return the average of #1
Now complete the following example -
Input: question: What item is between the two spheres?
Output:
| [
"#1 return item \n#2 return spheres \n#3 return #1 between two #2"
] | task176-4d574a4308714fcf9f261728b3ff635a |
Definition: In this task you will break down a question into the basic steps required to answer it.
A question decomposition is a numbered list of operations that must be performed to answer the original question. Imagine explaining your question to a friendly droid by listing each action it should take in order for the question to be answered. Each step in our decomposition should refer to either an entity (known or unknown), a propery of an entity or a query operation (count, group, union, etc.)
Here are the list of step templates and their description:
Select: A select step is used to return a set of objects. There are no references to previous steps in a select step. template: Return [attributes]
Filter: A filter step is used to return results from a previous step to which a certain condition applies. template: Return [#step] [condition]
Project: A project step should return certain attributes of the results of a previous step. template: Return [attributes] of [#step]
Aggregate: An aggregate step returns an aggregator function applied on a step's result. template: Return the [aggregator] of [#step].
Group: A group step is an aggregator applied on attributes. template: Return the [aggregator] of [#step] for each [attribute]
Superlative: A superlative step is used to return the result with a highest/lowest attribute among other results. template: Return [#step1] [where] [#step2] [is] [highest / lowest]
Comparative: A comparative step is used when we need to compare an attribute with a number to filter results. template: Return [#step1] [where] [#step2] [comparator] [number]
Union: A union step is used to return results of two steps together. template: Return [#step1] [or / ,] [#step2]
Intersection: An intersection step returns the result that two steps have in common. template: Return [attribute] of both [#step1] and [#step2]
Discard: A discard step returns result of a step and excludes result of another step from it. template: Return [#step1] besides [#step2]
Sort: A sort returns result of another step in a specific order. template: Return [#step1] [ordered / sorted by] [#step2]
Is true: An is true step checks a condition on another result and returns a true or false. template: Return [is / if] [condition]
Arithmetic: An arithmatic step operates an arithmatic operation on one or more steps. template: Return the [arithmetic op.] of [#step1] [and] [#step2].
Positive Example 1 -
Input: question: What are the distinct creation years of the departments managed by a secretary born in state 'Alabama'?
Output: #1 return secretaries
#2 return #1 born in state 'Alabama
#3 return departments managed by #2
#4 return distinct creation years of #3
Positive Example 2 -
Input: question: i'd like to see flights from baltimore to atlanta that arrive before noon and i'd like to see flights from denver to atlanta that arrive before noon
Output: #1 return flights
#2 return #1 from baltimore
#3 return #2 to atlanta
#4 return #3 that arrive before noon
#5 return #1 from denver
#6 return #5 to atlanta
#7 return #6 that arrive before noon
#8 return #4 , #7
Negative Example 1 -
Input: question: show the name of all bridges that was designed by american archtect, and sort the result by the bridge feet length.
Output: #1 return american archtects
#2 return bridges
#3 return sorted by feet length
Negative Example 2 -
Input: question: What is the average price for a lesson taught by Janessa Sawayn?
Output: #1 return price for lessons taught by Janessa Sawayn
#2 return the average of #1
Now complete the following example -
Input: question: how many ships are there?
Output:
| [
"#1 return ships \n#2 return number of #1"
] | task176-e49ec7643d6a4e5b98bbb5ab3d6f8458 |
Definition: In this task you will break down a question into the basic steps required to answer it.
A question decomposition is a numbered list of operations that must be performed to answer the original question. Imagine explaining your question to a friendly droid by listing each action it should take in order for the question to be answered. Each step in our decomposition should refer to either an entity (known or unknown), a propery of an entity or a query operation (count, group, union, etc.)
Here are the list of step templates and their description:
Select: A select step is used to return a set of objects. There are no references to previous steps in a select step. template: Return [attributes]
Filter: A filter step is used to return results from a previous step to which a certain condition applies. template: Return [#step] [condition]
Project: A project step should return certain attributes of the results of a previous step. template: Return [attributes] of [#step]
Aggregate: An aggregate step returns an aggregator function applied on a step's result. template: Return the [aggregator] of [#step].
Group: A group step is an aggregator applied on attributes. template: Return the [aggregator] of [#step] for each [attribute]
Superlative: A superlative step is used to return the result with a highest/lowest attribute among other results. template: Return [#step1] [where] [#step2] [is] [highest / lowest]
Comparative: A comparative step is used when we need to compare an attribute with a number to filter results. template: Return [#step1] [where] [#step2] [comparator] [number]
Union: A union step is used to return results of two steps together. template: Return [#step1] [or / ,] [#step2]
Intersection: An intersection step returns the result that two steps have in common. template: Return [attribute] of both [#step1] and [#step2]
Discard: A discard step returns result of a step and excludes result of another step from it. template: Return [#step1] besides [#step2]
Sort: A sort returns result of another step in a specific order. template: Return [#step1] [ordered / sorted by] [#step2]
Is true: An is true step checks a condition on another result and returns a true or false. template: Return [is / if] [condition]
Arithmetic: An arithmatic step operates an arithmatic operation on one or more steps. template: Return the [arithmetic op.] of [#step1] [and] [#step2].
Positive Example 1 -
Input: question: What are the distinct creation years of the departments managed by a secretary born in state 'Alabama'?
Output: #1 return secretaries
#2 return #1 born in state 'Alabama
#3 return departments managed by #2
#4 return distinct creation years of #3
Positive Example 2 -
Input: question: i'd like to see flights from baltimore to atlanta that arrive before noon and i'd like to see flights from denver to atlanta that arrive before noon
Output: #1 return flights
#2 return #1 from baltimore
#3 return #2 to atlanta
#4 return #3 that arrive before noon
#5 return #1 from denver
#6 return #5 to atlanta
#7 return #6 that arrive before noon
#8 return #4 , #7
Negative Example 1 -
Input: question: show the name of all bridges that was designed by american archtect, and sort the result by the bridge feet length.
Output: #1 return american archtects
#2 return bridges
#3 return sorted by feet length
Negative Example 2 -
Input: question: What is the average price for a lesson taught by Janessa Sawayn?
Output: #1 return price for lessons taught by Janessa Sawayn
#2 return the average of #1
Now complete the following example -
Input: question: Find the name of the courses that do not have any prerequisite?
Output:
| [
"#1 return courses \n#2 return #1 with prerequisites \n#3 return #1 not in #2 \n#4 return name of #3"
] | task176-cf85b53dfebd4554bce93f836d49cb2c |
Definition: In this task you will break down a question into the basic steps required to answer it.
A question decomposition is a numbered list of operations that must be performed to answer the original question. Imagine explaining your question to a friendly droid by listing each action it should take in order for the question to be answered. Each step in our decomposition should refer to either an entity (known or unknown), a propery of an entity or a query operation (count, group, union, etc.)
Here are the list of step templates and their description:
Select: A select step is used to return a set of objects. There are no references to previous steps in a select step. template: Return [attributes]
Filter: A filter step is used to return results from a previous step to which a certain condition applies. template: Return [#step] [condition]
Project: A project step should return certain attributes of the results of a previous step. template: Return [attributes] of [#step]
Aggregate: An aggregate step returns an aggregator function applied on a step's result. template: Return the [aggregator] of [#step].
Group: A group step is an aggregator applied on attributes. template: Return the [aggregator] of [#step] for each [attribute]
Superlative: A superlative step is used to return the result with a highest/lowest attribute among other results. template: Return [#step1] [where] [#step2] [is] [highest / lowest]
Comparative: A comparative step is used when we need to compare an attribute with a number to filter results. template: Return [#step1] [where] [#step2] [comparator] [number]
Union: A union step is used to return results of two steps together. template: Return [#step1] [or / ,] [#step2]
Intersection: An intersection step returns the result that two steps have in common. template: Return [attribute] of both [#step1] and [#step2]
Discard: A discard step returns result of a step and excludes result of another step from it. template: Return [#step1] besides [#step2]
Sort: A sort returns result of another step in a specific order. template: Return [#step1] [ordered / sorted by] [#step2]
Is true: An is true step checks a condition on another result and returns a true or false. template: Return [is / if] [condition]
Arithmetic: An arithmatic step operates an arithmatic operation on one or more steps. template: Return the [arithmetic op.] of [#step1] [and] [#step2].
Positive Example 1 -
Input: question: What are the distinct creation years of the departments managed by a secretary born in state 'Alabama'?
Output: #1 return secretaries
#2 return #1 born in state 'Alabama
#3 return departments managed by #2
#4 return distinct creation years of #3
Positive Example 2 -
Input: question: i'd like to see flights from baltimore to atlanta that arrive before noon and i'd like to see flights from denver to atlanta that arrive before noon
Output: #1 return flights
#2 return #1 from baltimore
#3 return #2 to atlanta
#4 return #3 that arrive before noon
#5 return #1 from denver
#6 return #5 to atlanta
#7 return #6 that arrive before noon
#8 return #4 , #7
Negative Example 1 -
Input: question: show the name of all bridges that was designed by american archtect, and sort the result by the bridge feet length.
Output: #1 return american archtects
#2 return bridges
#3 return sorted by feet length
Negative Example 2 -
Input: question: What is the average price for a lesson taught by Janessa Sawayn?
Output: #1 return price for lessons taught by Janessa Sawayn
#2 return the average of #1
Now complete the following example -
Input: question: What is the average weight and year for each year?
Output:
| [
"#1 return years \n#2 return weights of #1 \n#3 return average of #2 for each #1 \n#4 return #1 , #3"
] | task176-685feb5ee6d342fe831d39e73ad7f478 |
Definition: In this task you will break down a question into the basic steps required to answer it.
A question decomposition is a numbered list of operations that must be performed to answer the original question. Imagine explaining your question to a friendly droid by listing each action it should take in order for the question to be answered. Each step in our decomposition should refer to either an entity (known or unknown), a propery of an entity or a query operation (count, group, union, etc.)
Here are the list of step templates and their description:
Select: A select step is used to return a set of objects. There are no references to previous steps in a select step. template: Return [attributes]
Filter: A filter step is used to return results from a previous step to which a certain condition applies. template: Return [#step] [condition]
Project: A project step should return certain attributes of the results of a previous step. template: Return [attributes] of [#step]
Aggregate: An aggregate step returns an aggregator function applied on a step's result. template: Return the [aggregator] of [#step].
Group: A group step is an aggregator applied on attributes. template: Return the [aggregator] of [#step] for each [attribute]
Superlative: A superlative step is used to return the result with a highest/lowest attribute among other results. template: Return [#step1] [where] [#step2] [is] [highest / lowest]
Comparative: A comparative step is used when we need to compare an attribute with a number to filter results. template: Return [#step1] [where] [#step2] [comparator] [number]
Union: A union step is used to return results of two steps together. template: Return [#step1] [or / ,] [#step2]
Intersection: An intersection step returns the result that two steps have in common. template: Return [attribute] of both [#step1] and [#step2]
Discard: A discard step returns result of a step and excludes result of another step from it. template: Return [#step1] besides [#step2]
Sort: A sort returns result of another step in a specific order. template: Return [#step1] [ordered / sorted by] [#step2]
Is true: An is true step checks a condition on another result and returns a true or false. template: Return [is / if] [condition]
Arithmetic: An arithmatic step operates an arithmatic operation on one or more steps. template: Return the [arithmetic op.] of [#step1] [and] [#step2].
Positive Example 1 -
Input: question: What are the distinct creation years of the departments managed by a secretary born in state 'Alabama'?
Output: #1 return secretaries
#2 return #1 born in state 'Alabama
#3 return departments managed by #2
#4 return distinct creation years of #3
Positive Example 2 -
Input: question: i'd like to see flights from baltimore to atlanta that arrive before noon and i'd like to see flights from denver to atlanta that arrive before noon
Output: #1 return flights
#2 return #1 from baltimore
#3 return #2 to atlanta
#4 return #3 that arrive before noon
#5 return #1 from denver
#6 return #5 to atlanta
#7 return #6 that arrive before noon
#8 return #4 , #7
Negative Example 1 -
Input: question: show the name of all bridges that was designed by american archtect, and sort the result by the bridge feet length.
Output: #1 return american archtects
#2 return bridges
#3 return sorted by feet length
Negative Example 2 -
Input: question: What is the average price for a lesson taught by Janessa Sawayn?
Output: #1 return price for lessons taught by Janessa Sawayn
#2 return the average of #1
Now complete the following example -
Input: question: what country is bordered by poland and germany on the north side?
Output:
| [
"#1 return country \n#2 return the north side of #1 \n#3 return poland \n#4 return germany \n#5 return #1 where #2 is bordered by #3 \n#6 return #1 where #2 is bordered by #4 \n#7 return #1 in both #5 and #6"
] | task176-eb1e836b86aa4e7fbe904b52d0a3e1f7 |
Definition: In this task you will break down a question into the basic steps required to answer it.
A question decomposition is a numbered list of operations that must be performed to answer the original question. Imagine explaining your question to a friendly droid by listing each action it should take in order for the question to be answered. Each step in our decomposition should refer to either an entity (known or unknown), a propery of an entity or a query operation (count, group, union, etc.)
Here are the list of step templates and their description:
Select: A select step is used to return a set of objects. There are no references to previous steps in a select step. template: Return [attributes]
Filter: A filter step is used to return results from a previous step to which a certain condition applies. template: Return [#step] [condition]
Project: A project step should return certain attributes of the results of a previous step. template: Return [attributes] of [#step]
Aggregate: An aggregate step returns an aggregator function applied on a step's result. template: Return the [aggregator] of [#step].
Group: A group step is an aggregator applied on attributes. template: Return the [aggregator] of [#step] for each [attribute]
Superlative: A superlative step is used to return the result with a highest/lowest attribute among other results. template: Return [#step1] [where] [#step2] [is] [highest / lowest]
Comparative: A comparative step is used when we need to compare an attribute with a number to filter results. template: Return [#step1] [where] [#step2] [comparator] [number]
Union: A union step is used to return results of two steps together. template: Return [#step1] [or / ,] [#step2]
Intersection: An intersection step returns the result that two steps have in common. template: Return [attribute] of both [#step1] and [#step2]
Discard: A discard step returns result of a step and excludes result of another step from it. template: Return [#step1] besides [#step2]
Sort: A sort returns result of another step in a specific order. template: Return [#step1] [ordered / sorted by] [#step2]
Is true: An is true step checks a condition on another result and returns a true or false. template: Return [is / if] [condition]
Arithmetic: An arithmatic step operates an arithmatic operation on one or more steps. template: Return the [arithmetic op.] of [#step1] [and] [#step2].
Positive Example 1 -
Input: question: What are the distinct creation years of the departments managed by a secretary born in state 'Alabama'?
Output: #1 return secretaries
#2 return #1 born in state 'Alabama
#3 return departments managed by #2
#4 return distinct creation years of #3
Positive Example 2 -
Input: question: i'd like to see flights from baltimore to atlanta that arrive before noon and i'd like to see flights from denver to atlanta that arrive before noon
Output: #1 return flights
#2 return #1 from baltimore
#3 return #2 to atlanta
#4 return #3 that arrive before noon
#5 return #1 from denver
#6 return #5 to atlanta
#7 return #6 that arrive before noon
#8 return #4 , #7
Negative Example 1 -
Input: question: show the name of all bridges that was designed by american archtect, and sort the result by the bridge feet length.
Output: #1 return american archtects
#2 return bridges
#3 return sorted by feet length
Negative Example 2 -
Input: question: What is the average price for a lesson taught by Janessa Sawayn?
Output: #1 return price for lessons taught by Janessa Sawayn
#2 return the average of #1
Now complete the following example -
Input: question: Which type of government, does the location, where the film, "The Alchemist of Happiness" occurs, have currently?
Output:
| [
"#1 return the film \n#2 return #1 that is The Alchemist of Happiness \n#3 return location of #2 \n#4 return type of government of #3 currently"
] | task176-c3f37a540f6d44e8bbd0a226d3450565 |
Definition: In this task you will break down a question into the basic steps required to answer it.
A question decomposition is a numbered list of operations that must be performed to answer the original question. Imagine explaining your question to a friendly droid by listing each action it should take in order for the question to be answered. Each step in our decomposition should refer to either an entity (known or unknown), a propery of an entity or a query operation (count, group, union, etc.)
Here are the list of step templates and their description:
Select: A select step is used to return a set of objects. There are no references to previous steps in a select step. template: Return [attributes]
Filter: A filter step is used to return results from a previous step to which a certain condition applies. template: Return [#step] [condition]
Project: A project step should return certain attributes of the results of a previous step. template: Return [attributes] of [#step]
Aggregate: An aggregate step returns an aggregator function applied on a step's result. template: Return the [aggregator] of [#step].
Group: A group step is an aggregator applied on attributes. template: Return the [aggregator] of [#step] for each [attribute]
Superlative: A superlative step is used to return the result with a highest/lowest attribute among other results. template: Return [#step1] [where] [#step2] [is] [highest / lowest]
Comparative: A comparative step is used when we need to compare an attribute with a number to filter results. template: Return [#step1] [where] [#step2] [comparator] [number]
Union: A union step is used to return results of two steps together. template: Return [#step1] [or / ,] [#step2]
Intersection: An intersection step returns the result that two steps have in common. template: Return [attribute] of both [#step1] and [#step2]
Discard: A discard step returns result of a step and excludes result of another step from it. template: Return [#step1] besides [#step2]
Sort: A sort returns result of another step in a specific order. template: Return [#step1] [ordered / sorted by] [#step2]
Is true: An is true step checks a condition on another result and returns a true or false. template: Return [is / if] [condition]
Arithmetic: An arithmatic step operates an arithmatic operation on one or more steps. template: Return the [arithmetic op.] of [#step1] [and] [#step2].
Positive Example 1 -
Input: question: What are the distinct creation years of the departments managed by a secretary born in state 'Alabama'?
Output: #1 return secretaries
#2 return #1 born in state 'Alabama
#3 return departments managed by #2
#4 return distinct creation years of #3
Positive Example 2 -
Input: question: i'd like to see flights from baltimore to atlanta that arrive before noon and i'd like to see flights from denver to atlanta that arrive before noon
Output: #1 return flights
#2 return #1 from baltimore
#3 return #2 to atlanta
#4 return #3 that arrive before noon
#5 return #1 from denver
#6 return #5 to atlanta
#7 return #6 that arrive before noon
#8 return #4 , #7
Negative Example 1 -
Input: question: show the name of all bridges that was designed by american archtect, and sort the result by the bridge feet length.
Output: #1 return american archtects
#2 return bridges
#3 return sorted by feet length
Negative Example 2 -
Input: question: What is the average price for a lesson taught by Janessa Sawayn?
Output: #1 return price for lessons taught by Janessa Sawayn
#2 return the average of #1
Now complete the following example -
Input: question: how old is jordan jansen?
Output:
| [
"#1 return jordan jansen \n#2 return how old is #1"
] | task176-c7224dab423d4c7ca3fa1b88183504f3 |
Definition: In this task you will break down a question into the basic steps required to answer it.
A question decomposition is a numbered list of operations that must be performed to answer the original question. Imagine explaining your question to a friendly droid by listing each action it should take in order for the question to be answered. Each step in our decomposition should refer to either an entity (known or unknown), a propery of an entity or a query operation (count, group, union, etc.)
Here are the list of step templates and their description:
Select: A select step is used to return a set of objects. There are no references to previous steps in a select step. template: Return [attributes]
Filter: A filter step is used to return results from a previous step to which a certain condition applies. template: Return [#step] [condition]
Project: A project step should return certain attributes of the results of a previous step. template: Return [attributes] of [#step]
Aggregate: An aggregate step returns an aggregator function applied on a step's result. template: Return the [aggregator] of [#step].
Group: A group step is an aggregator applied on attributes. template: Return the [aggregator] of [#step] for each [attribute]
Superlative: A superlative step is used to return the result with a highest/lowest attribute among other results. template: Return [#step1] [where] [#step2] [is] [highest / lowest]
Comparative: A comparative step is used when we need to compare an attribute with a number to filter results. template: Return [#step1] [where] [#step2] [comparator] [number]
Union: A union step is used to return results of two steps together. template: Return [#step1] [or / ,] [#step2]
Intersection: An intersection step returns the result that two steps have in common. template: Return [attribute] of both [#step1] and [#step2]
Discard: A discard step returns result of a step and excludes result of another step from it. template: Return [#step1] besides [#step2]
Sort: A sort returns result of another step in a specific order. template: Return [#step1] [ordered / sorted by] [#step2]
Is true: An is true step checks a condition on another result and returns a true or false. template: Return [is / if] [condition]
Arithmetic: An arithmatic step operates an arithmatic operation on one or more steps. template: Return the [arithmetic op.] of [#step1] [and] [#step2].
Positive Example 1 -
Input: question: What are the distinct creation years of the departments managed by a secretary born in state 'Alabama'?
Output: #1 return secretaries
#2 return #1 born in state 'Alabama
#3 return departments managed by #2
#4 return distinct creation years of #3
Positive Example 2 -
Input: question: i'd like to see flights from baltimore to atlanta that arrive before noon and i'd like to see flights from denver to atlanta that arrive before noon
Output: #1 return flights
#2 return #1 from baltimore
#3 return #2 to atlanta
#4 return #3 that arrive before noon
#5 return #1 from denver
#6 return #5 to atlanta
#7 return #6 that arrive before noon
#8 return #4 , #7
Negative Example 1 -
Input: question: show the name of all bridges that was designed by american archtect, and sort the result by the bridge feet length.
Output: #1 return american archtects
#2 return bridges
#3 return sorted by feet length
Negative Example 2 -
Input: question: What is the average price for a lesson taught by Janessa Sawayn?
Output: #1 return price for lessons taught by Janessa Sawayn
#2 return the average of #1
Now complete the following example -
Input: question: Are there any brown objects?
Output:
| [
"#1 return objects \n#2 return #1 that are brown \n#3 return number of #2 \n#4 return if #3 is at least one"
] | task176-7e3b103b57bd4483bb499deaee23ecb8 |
Definition: In this task you will break down a question into the basic steps required to answer it.
A question decomposition is a numbered list of operations that must be performed to answer the original question. Imagine explaining your question to a friendly droid by listing each action it should take in order for the question to be answered. Each step in our decomposition should refer to either an entity (known or unknown), a propery of an entity or a query operation (count, group, union, etc.)
Here are the list of step templates and their description:
Select: A select step is used to return a set of objects. There are no references to previous steps in a select step. template: Return [attributes]
Filter: A filter step is used to return results from a previous step to which a certain condition applies. template: Return [#step] [condition]
Project: A project step should return certain attributes of the results of a previous step. template: Return [attributes] of [#step]
Aggregate: An aggregate step returns an aggregator function applied on a step's result. template: Return the [aggregator] of [#step].
Group: A group step is an aggregator applied on attributes. template: Return the [aggregator] of [#step] for each [attribute]
Superlative: A superlative step is used to return the result with a highest/lowest attribute among other results. template: Return [#step1] [where] [#step2] [is] [highest / lowest]
Comparative: A comparative step is used when we need to compare an attribute with a number to filter results. template: Return [#step1] [where] [#step2] [comparator] [number]
Union: A union step is used to return results of two steps together. template: Return [#step1] [or / ,] [#step2]
Intersection: An intersection step returns the result that two steps have in common. template: Return [attribute] of both [#step1] and [#step2]
Discard: A discard step returns result of a step and excludes result of another step from it. template: Return [#step1] besides [#step2]
Sort: A sort returns result of another step in a specific order. template: Return [#step1] [ordered / sorted by] [#step2]
Is true: An is true step checks a condition on another result and returns a true or false. template: Return [is / if] [condition]
Arithmetic: An arithmatic step operates an arithmatic operation on one or more steps. template: Return the [arithmetic op.] of [#step1] [and] [#step2].
Positive Example 1 -
Input: question: What are the distinct creation years of the departments managed by a secretary born in state 'Alabama'?
Output: #1 return secretaries
#2 return #1 born in state 'Alabama
#3 return departments managed by #2
#4 return distinct creation years of #3
Positive Example 2 -
Input: question: i'd like to see flights from baltimore to atlanta that arrive before noon and i'd like to see flights from denver to atlanta that arrive before noon
Output: #1 return flights
#2 return #1 from baltimore
#3 return #2 to atlanta
#4 return #3 that arrive before noon
#5 return #1 from denver
#6 return #5 to atlanta
#7 return #6 that arrive before noon
#8 return #4 , #7
Negative Example 1 -
Input: question: show the name of all bridges that was designed by american archtect, and sort the result by the bridge feet length.
Output: #1 return american archtects
#2 return bridges
#3 return sorted by feet length
Negative Example 2 -
Input: question: What is the average price for a lesson taught by Janessa Sawayn?
Output: #1 return price for lessons taught by Janessa Sawayn
#2 return the average of #1
Now complete the following example -
Input: question: show me what fare codes symbols stand for
Output:
| [
"#1 return fare codes \n#2 return symbols of #1 \n#3 return what #2 stand for"
] | task176-e9adcffb4cf74a418c97982a8efd6c6e |
Definition: In this task you will break down a question into the basic steps required to answer it.
A question decomposition is a numbered list of operations that must be performed to answer the original question. Imagine explaining your question to a friendly droid by listing each action it should take in order for the question to be answered. Each step in our decomposition should refer to either an entity (known or unknown), a propery of an entity or a query operation (count, group, union, etc.)
Here are the list of step templates and their description:
Select: A select step is used to return a set of objects. There are no references to previous steps in a select step. template: Return [attributes]
Filter: A filter step is used to return results from a previous step to which a certain condition applies. template: Return [#step] [condition]
Project: A project step should return certain attributes of the results of a previous step. template: Return [attributes] of [#step]
Aggregate: An aggregate step returns an aggregator function applied on a step's result. template: Return the [aggregator] of [#step].
Group: A group step is an aggregator applied on attributes. template: Return the [aggregator] of [#step] for each [attribute]
Superlative: A superlative step is used to return the result with a highest/lowest attribute among other results. template: Return [#step1] [where] [#step2] [is] [highest / lowest]
Comparative: A comparative step is used when we need to compare an attribute with a number to filter results. template: Return [#step1] [where] [#step2] [comparator] [number]
Union: A union step is used to return results of two steps together. template: Return [#step1] [or / ,] [#step2]
Intersection: An intersection step returns the result that two steps have in common. template: Return [attribute] of both [#step1] and [#step2]
Discard: A discard step returns result of a step and excludes result of another step from it. template: Return [#step1] besides [#step2]
Sort: A sort returns result of another step in a specific order. template: Return [#step1] [ordered / sorted by] [#step2]
Is true: An is true step checks a condition on another result and returns a true or false. template: Return [is / if] [condition]
Arithmetic: An arithmatic step operates an arithmatic operation on one or more steps. template: Return the [arithmetic op.] of [#step1] [and] [#step2].
Positive Example 1 -
Input: question: What are the distinct creation years of the departments managed by a secretary born in state 'Alabama'?
Output: #1 return secretaries
#2 return #1 born in state 'Alabama
#3 return departments managed by #2
#4 return distinct creation years of #3
Positive Example 2 -
Input: question: i'd like to see flights from baltimore to atlanta that arrive before noon and i'd like to see flights from denver to atlanta that arrive before noon
Output: #1 return flights
#2 return #1 from baltimore
#3 return #2 to atlanta
#4 return #3 that arrive before noon
#5 return #1 from denver
#6 return #5 to atlanta
#7 return #6 that arrive before noon
#8 return #4 , #7
Negative Example 1 -
Input: question: show the name of all bridges that was designed by american archtect, and sort the result by the bridge feet length.
Output: #1 return american archtects
#2 return bridges
#3 return sorted by feet length
Negative Example 2 -
Input: question: What is the average price for a lesson taught by Janessa Sawayn?
Output: #1 return price for lessons taught by Janessa Sawayn
#2 return the average of #1
Now complete the following example -
Input: question: If an image shows a young gorilla close to an adult gorilla.
Output:
| [
"#1 return gorilla \n#2 return #1 that is young \n#3 return #1 that is adult \n#4 return #2 that is close to #3 \n#5 return if #4 is in an image"
] | task176-2529a95fd25b4070b0407de887b2a911 |
Definition: In this task you will break down a question into the basic steps required to answer it.
A question decomposition is a numbered list of operations that must be performed to answer the original question. Imagine explaining your question to a friendly droid by listing each action it should take in order for the question to be answered. Each step in our decomposition should refer to either an entity (known or unknown), a propery of an entity or a query operation (count, group, union, etc.)
Here are the list of step templates and their description:
Select: A select step is used to return a set of objects. There are no references to previous steps in a select step. template: Return [attributes]
Filter: A filter step is used to return results from a previous step to which a certain condition applies. template: Return [#step] [condition]
Project: A project step should return certain attributes of the results of a previous step. template: Return [attributes] of [#step]
Aggregate: An aggregate step returns an aggregator function applied on a step's result. template: Return the [aggregator] of [#step].
Group: A group step is an aggregator applied on attributes. template: Return the [aggregator] of [#step] for each [attribute]
Superlative: A superlative step is used to return the result with a highest/lowest attribute among other results. template: Return [#step1] [where] [#step2] [is] [highest / lowest]
Comparative: A comparative step is used when we need to compare an attribute with a number to filter results. template: Return [#step1] [where] [#step2] [comparator] [number]
Union: A union step is used to return results of two steps together. template: Return [#step1] [or / ,] [#step2]
Intersection: An intersection step returns the result that two steps have in common. template: Return [attribute] of both [#step1] and [#step2]
Discard: A discard step returns result of a step and excludes result of another step from it. template: Return [#step1] besides [#step2]
Sort: A sort returns result of another step in a specific order. template: Return [#step1] [ordered / sorted by] [#step2]
Is true: An is true step checks a condition on another result and returns a true or false. template: Return [is / if] [condition]
Arithmetic: An arithmatic step operates an arithmatic operation on one or more steps. template: Return the [arithmetic op.] of [#step1] [and] [#step2].
Positive Example 1 -
Input: question: What are the distinct creation years of the departments managed by a secretary born in state 'Alabama'?
Output: #1 return secretaries
#2 return #1 born in state 'Alabama
#3 return departments managed by #2
#4 return distinct creation years of #3
Positive Example 2 -
Input: question: i'd like to see flights from baltimore to atlanta that arrive before noon and i'd like to see flights from denver to atlanta that arrive before noon
Output: #1 return flights
#2 return #1 from baltimore
#3 return #2 to atlanta
#4 return #3 that arrive before noon
#5 return #1 from denver
#6 return #5 to atlanta
#7 return #6 that arrive before noon
#8 return #4 , #7
Negative Example 1 -
Input: question: show the name of all bridges that was designed by american archtect, and sort the result by the bridge feet length.
Output: #1 return american archtects
#2 return bridges
#3 return sorted by feet length
Negative Example 2 -
Input: question: What is the average price for a lesson taught by Janessa Sawayn?
Output: #1 return price for lessons taught by Janessa Sawayn
#2 return the average of #1
Now complete the following example -
Input: question: How many purple balls are visible?
Output:
| [
"#1 return balls \n#2 return purple #1 \n#3 return #2 that are visible \n#4 return number of #3"
] | task176-5d0ddbdb91e34094aafb43d7642dabc0 |
Definition: In this task you will break down a question into the basic steps required to answer it.
A question decomposition is a numbered list of operations that must be performed to answer the original question. Imagine explaining your question to a friendly droid by listing each action it should take in order for the question to be answered. Each step in our decomposition should refer to either an entity (known or unknown), a propery of an entity or a query operation (count, group, union, etc.)
Here are the list of step templates and their description:
Select: A select step is used to return a set of objects. There are no references to previous steps in a select step. template: Return [attributes]
Filter: A filter step is used to return results from a previous step to which a certain condition applies. template: Return [#step] [condition]
Project: A project step should return certain attributes of the results of a previous step. template: Return [attributes] of [#step]
Aggregate: An aggregate step returns an aggregator function applied on a step's result. template: Return the [aggregator] of [#step].
Group: A group step is an aggregator applied on attributes. template: Return the [aggregator] of [#step] for each [attribute]
Superlative: A superlative step is used to return the result with a highest/lowest attribute among other results. template: Return [#step1] [where] [#step2] [is] [highest / lowest]
Comparative: A comparative step is used when we need to compare an attribute with a number to filter results. template: Return [#step1] [where] [#step2] [comparator] [number]
Union: A union step is used to return results of two steps together. template: Return [#step1] [or / ,] [#step2]
Intersection: An intersection step returns the result that two steps have in common. template: Return [attribute] of both [#step1] and [#step2]
Discard: A discard step returns result of a step and excludes result of another step from it. template: Return [#step1] besides [#step2]
Sort: A sort returns result of another step in a specific order. template: Return [#step1] [ordered / sorted by] [#step2]
Is true: An is true step checks a condition on another result and returns a true or false. template: Return [is / if] [condition]
Arithmetic: An arithmatic step operates an arithmatic operation on one or more steps. template: Return the [arithmetic op.] of [#step1] [and] [#step2].
Positive Example 1 -
Input: question: What are the distinct creation years of the departments managed by a secretary born in state 'Alabama'?
Output: #1 return secretaries
#2 return #1 born in state 'Alabama
#3 return departments managed by #2
#4 return distinct creation years of #3
Positive Example 2 -
Input: question: i'd like to see flights from baltimore to atlanta that arrive before noon and i'd like to see flights from denver to atlanta that arrive before noon
Output: #1 return flights
#2 return #1 from baltimore
#3 return #2 to atlanta
#4 return #3 that arrive before noon
#5 return #1 from denver
#6 return #5 to atlanta
#7 return #6 that arrive before noon
#8 return #4 , #7
Negative Example 1 -
Input: question: show the name of all bridges that was designed by american archtect, and sort the result by the bridge feet length.
Output: #1 return american archtects
#2 return bridges
#3 return sorted by feet length
Negative Example 2 -
Input: question: What is the average price for a lesson taught by Janessa Sawayn?
Output: #1 return price for lessons taught by Janessa Sawayn
#2 return the average of #1
Now complete the following example -
Input: question: what is scotland's biggest city?
Output:
| [
"#1 return scotland \n#2 return cities of #1 \n#3 return size of #2 \n#4 return #2 where #3 is highest"
] | task176-51d484fb5712453eb3ba1c1a263f68e1 |
Definition: In this task you will break down a question into the basic steps required to answer it.
A question decomposition is a numbered list of operations that must be performed to answer the original question. Imagine explaining your question to a friendly droid by listing each action it should take in order for the question to be answered. Each step in our decomposition should refer to either an entity (known or unknown), a propery of an entity or a query operation (count, group, union, etc.)
Here are the list of step templates and their description:
Select: A select step is used to return a set of objects. There are no references to previous steps in a select step. template: Return [attributes]
Filter: A filter step is used to return results from a previous step to which a certain condition applies. template: Return [#step] [condition]
Project: A project step should return certain attributes of the results of a previous step. template: Return [attributes] of [#step]
Aggregate: An aggregate step returns an aggregator function applied on a step's result. template: Return the [aggregator] of [#step].
Group: A group step is an aggregator applied on attributes. template: Return the [aggregator] of [#step] for each [attribute]
Superlative: A superlative step is used to return the result with a highest/lowest attribute among other results. template: Return [#step1] [where] [#step2] [is] [highest / lowest]
Comparative: A comparative step is used when we need to compare an attribute with a number to filter results. template: Return [#step1] [where] [#step2] [comparator] [number]
Union: A union step is used to return results of two steps together. template: Return [#step1] [or / ,] [#step2]
Intersection: An intersection step returns the result that two steps have in common. template: Return [attribute] of both [#step1] and [#step2]
Discard: A discard step returns result of a step and excludes result of another step from it. template: Return [#step1] besides [#step2]
Sort: A sort returns result of another step in a specific order. template: Return [#step1] [ordered / sorted by] [#step2]
Is true: An is true step checks a condition on another result and returns a true or false. template: Return [is / if] [condition]
Arithmetic: An arithmatic step operates an arithmatic operation on one or more steps. template: Return the [arithmetic op.] of [#step1] [and] [#step2].
Positive Example 1 -
Input: question: What are the distinct creation years of the departments managed by a secretary born in state 'Alabama'?
Output: #1 return secretaries
#2 return #1 born in state 'Alabama
#3 return departments managed by #2
#4 return distinct creation years of #3
Positive Example 2 -
Input: question: i'd like to see flights from baltimore to atlanta that arrive before noon and i'd like to see flights from denver to atlanta that arrive before noon
Output: #1 return flights
#2 return #1 from baltimore
#3 return #2 to atlanta
#4 return #3 that arrive before noon
#5 return #1 from denver
#6 return #5 to atlanta
#7 return #6 that arrive before noon
#8 return #4 , #7
Negative Example 1 -
Input: question: show the name of all bridges that was designed by american archtect, and sort the result by the bridge feet length.
Output: #1 return american archtects
#2 return bridges
#3 return sorted by feet length
Negative Example 2 -
Input: question: What is the average price for a lesson taught by Janessa Sawayn?
Output: #1 return price for lessons taught by Janessa Sawayn
#2 return the average of #1
Now complete the following example -
Input: question: How many rubber objects are behind metal objects?
Output:
| [
"#1 return rubber objects \n#2 return metal objects \n#3 return #1 that are behind #2 \n#4 return number of #3"
] | task176-77895a8556ca49448455b91b8b321b24 |
Definition: In this task you will break down a question into the basic steps required to answer it.
A question decomposition is a numbered list of operations that must be performed to answer the original question. Imagine explaining your question to a friendly droid by listing each action it should take in order for the question to be answered. Each step in our decomposition should refer to either an entity (known or unknown), a propery of an entity or a query operation (count, group, union, etc.)
Here are the list of step templates and their description:
Select: A select step is used to return a set of objects. There are no references to previous steps in a select step. template: Return [attributes]
Filter: A filter step is used to return results from a previous step to which a certain condition applies. template: Return [#step] [condition]
Project: A project step should return certain attributes of the results of a previous step. template: Return [attributes] of [#step]
Aggregate: An aggregate step returns an aggregator function applied on a step's result. template: Return the [aggregator] of [#step].
Group: A group step is an aggregator applied on attributes. template: Return the [aggregator] of [#step] for each [attribute]
Superlative: A superlative step is used to return the result with a highest/lowest attribute among other results. template: Return [#step1] [where] [#step2] [is] [highest / lowest]
Comparative: A comparative step is used when we need to compare an attribute with a number to filter results. template: Return [#step1] [where] [#step2] [comparator] [number]
Union: A union step is used to return results of two steps together. template: Return [#step1] [or / ,] [#step2]
Intersection: An intersection step returns the result that two steps have in common. template: Return [attribute] of both [#step1] and [#step2]
Discard: A discard step returns result of a step and excludes result of another step from it. template: Return [#step1] besides [#step2]
Sort: A sort returns result of another step in a specific order. template: Return [#step1] [ordered / sorted by] [#step2]
Is true: An is true step checks a condition on another result and returns a true or false. template: Return [is / if] [condition]
Arithmetic: An arithmatic step operates an arithmatic operation on one or more steps. template: Return the [arithmetic op.] of [#step1] [and] [#step2].
Positive Example 1 -
Input: question: What are the distinct creation years of the departments managed by a secretary born in state 'Alabama'?
Output: #1 return secretaries
#2 return #1 born in state 'Alabama
#3 return departments managed by #2
#4 return distinct creation years of #3
Positive Example 2 -
Input: question: i'd like to see flights from baltimore to atlanta that arrive before noon and i'd like to see flights from denver to atlanta that arrive before noon
Output: #1 return flights
#2 return #1 from baltimore
#3 return #2 to atlanta
#4 return #3 that arrive before noon
#5 return #1 from denver
#6 return #5 to atlanta
#7 return #6 that arrive before noon
#8 return #4 , #7
Negative Example 1 -
Input: question: show the name of all bridges that was designed by american archtect, and sort the result by the bridge feet length.
Output: #1 return american archtects
#2 return bridges
#3 return sorted by feet length
Negative Example 2 -
Input: question: What is the average price for a lesson taught by Janessa Sawayn?
Output: #1 return price for lessons taught by Janessa Sawayn
#2 return the average of #1
Now complete the following example -
Input: question: If there are more animals in the image on the right than in the image on the left.
Output:
| [
"#1 return right image \n#2 return left image \n#3 return animals of #1 \n#4 return animals of #2 \n#5 return the number of #3 \n#6 return the number of #4 \n#7 return if #5 is higher than #6"
] | task176-add7699bdd084945a1bfe8fd51cf5106 |
Definition: In this task you will break down a question into the basic steps required to answer it.
A question decomposition is a numbered list of operations that must be performed to answer the original question. Imagine explaining your question to a friendly droid by listing each action it should take in order for the question to be answered. Each step in our decomposition should refer to either an entity (known or unknown), a propery of an entity or a query operation (count, group, union, etc.)
Here are the list of step templates and their description:
Select: A select step is used to return a set of objects. There are no references to previous steps in a select step. template: Return [attributes]
Filter: A filter step is used to return results from a previous step to which a certain condition applies. template: Return [#step] [condition]
Project: A project step should return certain attributes of the results of a previous step. template: Return [attributes] of [#step]
Aggregate: An aggregate step returns an aggregator function applied on a step's result. template: Return the [aggregator] of [#step].
Group: A group step is an aggregator applied on attributes. template: Return the [aggregator] of [#step] for each [attribute]
Superlative: A superlative step is used to return the result with a highest/lowest attribute among other results. template: Return [#step1] [where] [#step2] [is] [highest / lowest]
Comparative: A comparative step is used when we need to compare an attribute with a number to filter results. template: Return [#step1] [where] [#step2] [comparator] [number]
Union: A union step is used to return results of two steps together. template: Return [#step1] [or / ,] [#step2]
Intersection: An intersection step returns the result that two steps have in common. template: Return [attribute] of both [#step1] and [#step2]
Discard: A discard step returns result of a step and excludes result of another step from it. template: Return [#step1] besides [#step2]
Sort: A sort returns result of another step in a specific order. template: Return [#step1] [ordered / sorted by] [#step2]
Is true: An is true step checks a condition on another result and returns a true or false. template: Return [is / if] [condition]
Arithmetic: An arithmatic step operates an arithmatic operation on one or more steps. template: Return the [arithmetic op.] of [#step1] [and] [#step2].
Positive Example 1 -
Input: question: What are the distinct creation years of the departments managed by a secretary born in state 'Alabama'?
Output: #1 return secretaries
#2 return #1 born in state 'Alabama
#3 return departments managed by #2
#4 return distinct creation years of #3
Positive Example 2 -
Input: question: i'd like to see flights from baltimore to atlanta that arrive before noon and i'd like to see flights from denver to atlanta that arrive before noon
Output: #1 return flights
#2 return #1 from baltimore
#3 return #2 to atlanta
#4 return #3 that arrive before noon
#5 return #1 from denver
#6 return #5 to atlanta
#7 return #6 that arrive before noon
#8 return #4 , #7
Negative Example 1 -
Input: question: show the name of all bridges that was designed by american archtect, and sort the result by the bridge feet length.
Output: #1 return american archtects
#2 return bridges
#3 return sorted by feet length
Negative Example 2 -
Input: question: What is the average price for a lesson taught by Janessa Sawayn?
Output: #1 return price for lessons taught by Janessa Sawayn
#2 return the average of #1
Now complete the following example -
Input: question: Can I find a sphere/ball up front?
Output:
| [
"#1 return sphere/balls \n#2 return if any #1 are up front"
] | task176-9942e7c477cd4ecca944c7b93ee84266 |
Definition: In this task you will break down a question into the basic steps required to answer it.
A question decomposition is a numbered list of operations that must be performed to answer the original question. Imagine explaining your question to a friendly droid by listing each action it should take in order for the question to be answered. Each step in our decomposition should refer to either an entity (known or unknown), a propery of an entity or a query operation (count, group, union, etc.)
Here are the list of step templates and their description:
Select: A select step is used to return a set of objects. There are no references to previous steps in a select step. template: Return [attributes]
Filter: A filter step is used to return results from a previous step to which a certain condition applies. template: Return [#step] [condition]
Project: A project step should return certain attributes of the results of a previous step. template: Return [attributes] of [#step]
Aggregate: An aggregate step returns an aggregator function applied on a step's result. template: Return the [aggregator] of [#step].
Group: A group step is an aggregator applied on attributes. template: Return the [aggregator] of [#step] for each [attribute]
Superlative: A superlative step is used to return the result with a highest/lowest attribute among other results. template: Return [#step1] [where] [#step2] [is] [highest / lowest]
Comparative: A comparative step is used when we need to compare an attribute with a number to filter results. template: Return [#step1] [where] [#step2] [comparator] [number]
Union: A union step is used to return results of two steps together. template: Return [#step1] [or / ,] [#step2]
Intersection: An intersection step returns the result that two steps have in common. template: Return [attribute] of both [#step1] and [#step2]
Discard: A discard step returns result of a step and excludes result of another step from it. template: Return [#step1] besides [#step2]
Sort: A sort returns result of another step in a specific order. template: Return [#step1] [ordered / sorted by] [#step2]
Is true: An is true step checks a condition on another result and returns a true or false. template: Return [is / if] [condition]
Arithmetic: An arithmatic step operates an arithmatic operation on one or more steps. template: Return the [arithmetic op.] of [#step1] [and] [#step2].
Positive Example 1 -
Input: question: What are the distinct creation years of the departments managed by a secretary born in state 'Alabama'?
Output: #1 return secretaries
#2 return #1 born in state 'Alabama
#3 return departments managed by #2
#4 return distinct creation years of #3
Positive Example 2 -
Input: question: i'd like to see flights from baltimore to atlanta that arrive before noon and i'd like to see flights from denver to atlanta that arrive before noon
Output: #1 return flights
#2 return #1 from baltimore
#3 return #2 to atlanta
#4 return #3 that arrive before noon
#5 return #1 from denver
#6 return #5 to atlanta
#7 return #6 that arrive before noon
#8 return #4 , #7
Negative Example 1 -
Input: question: show the name of all bridges that was designed by american archtect, and sort the result by the bridge feet length.
Output: #1 return american archtects
#2 return bridges
#3 return sorted by feet length
Negative Example 2 -
Input: question: What is the average price for a lesson taught by Janessa Sawayn?
Output: #1 return price for lessons taught by Janessa Sawayn
#2 return the average of #1
Now complete the following example -
Input: question: What happened second: the Battle of Sisak or the Ottoman army captured Győr and Komarom?
Output:
| [
"#1 return the Battle of Sisak \n#2 return the Ottoman army captured Győr and Komarom \n#3 return when was #1 \n#4 return when was #2 \n#5 return which is the highest of #3 , #4"
] | task176-c9520921df3744ac87248c8fb3072a75 |
Definition: In this task you will break down a question into the basic steps required to answer it.
A question decomposition is a numbered list of operations that must be performed to answer the original question. Imagine explaining your question to a friendly droid by listing each action it should take in order for the question to be answered. Each step in our decomposition should refer to either an entity (known or unknown), a propery of an entity or a query operation (count, group, union, etc.)
Here are the list of step templates and their description:
Select: A select step is used to return a set of objects. There are no references to previous steps in a select step. template: Return [attributes]
Filter: A filter step is used to return results from a previous step to which a certain condition applies. template: Return [#step] [condition]
Project: A project step should return certain attributes of the results of a previous step. template: Return [attributes] of [#step]
Aggregate: An aggregate step returns an aggregator function applied on a step's result. template: Return the [aggregator] of [#step].
Group: A group step is an aggregator applied on attributes. template: Return the [aggregator] of [#step] for each [attribute]
Superlative: A superlative step is used to return the result with a highest/lowest attribute among other results. template: Return [#step1] [where] [#step2] [is] [highest / lowest]
Comparative: A comparative step is used when we need to compare an attribute with a number to filter results. template: Return [#step1] [where] [#step2] [comparator] [number]
Union: A union step is used to return results of two steps together. template: Return [#step1] [or / ,] [#step2]
Intersection: An intersection step returns the result that two steps have in common. template: Return [attribute] of both [#step1] and [#step2]
Discard: A discard step returns result of a step and excludes result of another step from it. template: Return [#step1] besides [#step2]
Sort: A sort returns result of another step in a specific order. template: Return [#step1] [ordered / sorted by] [#step2]
Is true: An is true step checks a condition on another result and returns a true or false. template: Return [is / if] [condition]
Arithmetic: An arithmatic step operates an arithmatic operation on one or more steps. template: Return the [arithmetic op.] of [#step1] [and] [#step2].
Positive Example 1 -
Input: question: What are the distinct creation years of the departments managed by a secretary born in state 'Alabama'?
Output: #1 return secretaries
#2 return #1 born in state 'Alabama
#3 return departments managed by #2
#4 return distinct creation years of #3
Positive Example 2 -
Input: question: i'd like to see flights from baltimore to atlanta that arrive before noon and i'd like to see flights from denver to atlanta that arrive before noon
Output: #1 return flights
#2 return #1 from baltimore
#3 return #2 to atlanta
#4 return #3 that arrive before noon
#5 return #1 from denver
#6 return #5 to atlanta
#7 return #6 that arrive before noon
#8 return #4 , #7
Negative Example 1 -
Input: question: show the name of all bridges that was designed by american archtect, and sort the result by the bridge feet length.
Output: #1 return american archtects
#2 return bridges
#3 return sorted by feet length
Negative Example 2 -
Input: question: What is the average price for a lesson taught by Janessa Sawayn?
Output: #1 return price for lessons taught by Janessa Sawayn
#2 return the average of #1
Now complete the following example -
Input: question: barbados is owned by which country?
Output:
| [
"#1 return barbados \n#2 return countries \n#3 return #2 that #1 is owned by"
] | task176-41b84980311a4755a9fc701b4645345b |
Definition: In this task you will break down a question into the basic steps required to answer it.
A question decomposition is a numbered list of operations that must be performed to answer the original question. Imagine explaining your question to a friendly droid by listing each action it should take in order for the question to be answered. Each step in our decomposition should refer to either an entity (known or unknown), a propery of an entity or a query operation (count, group, union, etc.)
Here are the list of step templates and their description:
Select: A select step is used to return a set of objects. There are no references to previous steps in a select step. template: Return [attributes]
Filter: A filter step is used to return results from a previous step to which a certain condition applies. template: Return [#step] [condition]
Project: A project step should return certain attributes of the results of a previous step. template: Return [attributes] of [#step]
Aggregate: An aggregate step returns an aggregator function applied on a step's result. template: Return the [aggregator] of [#step].
Group: A group step is an aggregator applied on attributes. template: Return the [aggregator] of [#step] for each [attribute]
Superlative: A superlative step is used to return the result with a highest/lowest attribute among other results. template: Return [#step1] [where] [#step2] [is] [highest / lowest]
Comparative: A comparative step is used when we need to compare an attribute with a number to filter results. template: Return [#step1] [where] [#step2] [comparator] [number]
Union: A union step is used to return results of two steps together. template: Return [#step1] [or / ,] [#step2]
Intersection: An intersection step returns the result that two steps have in common. template: Return [attribute] of both [#step1] and [#step2]
Discard: A discard step returns result of a step and excludes result of another step from it. template: Return [#step1] besides [#step2]
Sort: A sort returns result of another step in a specific order. template: Return [#step1] [ordered / sorted by] [#step2]
Is true: An is true step checks a condition on another result and returns a true or false. template: Return [is / if] [condition]
Arithmetic: An arithmatic step operates an arithmatic operation on one or more steps. template: Return the [arithmetic op.] of [#step1] [and] [#step2].
Positive Example 1 -
Input: question: What are the distinct creation years of the departments managed by a secretary born in state 'Alabama'?
Output: #1 return secretaries
#2 return #1 born in state 'Alabama
#3 return departments managed by #2
#4 return distinct creation years of #3
Positive Example 2 -
Input: question: i'd like to see flights from baltimore to atlanta that arrive before noon and i'd like to see flights from denver to atlanta that arrive before noon
Output: #1 return flights
#2 return #1 from baltimore
#3 return #2 to atlanta
#4 return #3 that arrive before noon
#5 return #1 from denver
#6 return #5 to atlanta
#7 return #6 that arrive before noon
#8 return #4 , #7
Negative Example 1 -
Input: question: show the name of all bridges that was designed by american archtect, and sort the result by the bridge feet length.
Output: #1 return american archtects
#2 return bridges
#3 return sorted by feet length
Negative Example 2 -
Input: question: What is the average price for a lesson taught by Janessa Sawayn?
Output: #1 return price for lessons taught by Janessa Sawayn
#2 return the average of #1
Now complete the following example -
Input: question: who is the president of south africa?
Output:
| [
"#1 return south africa \n#2 return the president of #1"
] | task176-1d84b053660e4880af493342841a507d |
Definition: In this task you will break down a question into the basic steps required to answer it.
A question decomposition is a numbered list of operations that must be performed to answer the original question. Imagine explaining your question to a friendly droid by listing each action it should take in order for the question to be answered. Each step in our decomposition should refer to either an entity (known or unknown), a propery of an entity or a query operation (count, group, union, etc.)
Here are the list of step templates and their description:
Select: A select step is used to return a set of objects. There are no references to previous steps in a select step. template: Return [attributes]
Filter: A filter step is used to return results from a previous step to which a certain condition applies. template: Return [#step] [condition]
Project: A project step should return certain attributes of the results of a previous step. template: Return [attributes] of [#step]
Aggregate: An aggregate step returns an aggregator function applied on a step's result. template: Return the [aggregator] of [#step].
Group: A group step is an aggregator applied on attributes. template: Return the [aggregator] of [#step] for each [attribute]
Superlative: A superlative step is used to return the result with a highest/lowest attribute among other results. template: Return [#step1] [where] [#step2] [is] [highest / lowest]
Comparative: A comparative step is used when we need to compare an attribute with a number to filter results. template: Return [#step1] [where] [#step2] [comparator] [number]
Union: A union step is used to return results of two steps together. template: Return [#step1] [or / ,] [#step2]
Intersection: An intersection step returns the result that two steps have in common. template: Return [attribute] of both [#step1] and [#step2]
Discard: A discard step returns result of a step and excludes result of another step from it. template: Return [#step1] besides [#step2]
Sort: A sort returns result of another step in a specific order. template: Return [#step1] [ordered / sorted by] [#step2]
Is true: An is true step checks a condition on another result and returns a true or false. template: Return [is / if] [condition]
Arithmetic: An arithmatic step operates an arithmatic operation on one or more steps. template: Return the [arithmetic op.] of [#step1] [and] [#step2].
Positive Example 1 -
Input: question: What are the distinct creation years of the departments managed by a secretary born in state 'Alabama'?
Output: #1 return secretaries
#2 return #1 born in state 'Alabama
#3 return departments managed by #2
#4 return distinct creation years of #3
Positive Example 2 -
Input: question: i'd like to see flights from baltimore to atlanta that arrive before noon and i'd like to see flights from denver to atlanta that arrive before noon
Output: #1 return flights
#2 return #1 from baltimore
#3 return #2 to atlanta
#4 return #3 that arrive before noon
#5 return #1 from denver
#6 return #5 to atlanta
#7 return #6 that arrive before noon
#8 return #4 , #7
Negative Example 1 -
Input: question: show the name of all bridges that was designed by american archtect, and sort the result by the bridge feet length.
Output: #1 return american archtects
#2 return bridges
#3 return sorted by feet length
Negative Example 2 -
Input: question: What is the average price for a lesson taught by Janessa Sawayn?
Output: #1 return price for lessons taught by Janessa Sawayn
#2 return the average of #1
Now complete the following example -
Input: question: what is fare code qo mean
Output:
| [
"#1 return fare codes \n#2 return #1 which is qo \n#3 return what is #2 mean"
] | task176-03f45691074c4d91b80c6dc84aafdf97 |
Definition: In this task you will break down a question into the basic steps required to answer it.
A question decomposition is a numbered list of operations that must be performed to answer the original question. Imagine explaining your question to a friendly droid by listing each action it should take in order for the question to be answered. Each step in our decomposition should refer to either an entity (known or unknown), a propery of an entity or a query operation (count, group, union, etc.)
Here are the list of step templates and their description:
Select: A select step is used to return a set of objects. There are no references to previous steps in a select step. template: Return [attributes]
Filter: A filter step is used to return results from a previous step to which a certain condition applies. template: Return [#step] [condition]
Project: A project step should return certain attributes of the results of a previous step. template: Return [attributes] of [#step]
Aggregate: An aggregate step returns an aggregator function applied on a step's result. template: Return the [aggregator] of [#step].
Group: A group step is an aggregator applied on attributes. template: Return the [aggregator] of [#step] for each [attribute]
Superlative: A superlative step is used to return the result with a highest/lowest attribute among other results. template: Return [#step1] [where] [#step2] [is] [highest / lowest]
Comparative: A comparative step is used when we need to compare an attribute with a number to filter results. template: Return [#step1] [where] [#step2] [comparator] [number]
Union: A union step is used to return results of two steps together. template: Return [#step1] [or / ,] [#step2]
Intersection: An intersection step returns the result that two steps have in common. template: Return [attribute] of both [#step1] and [#step2]
Discard: A discard step returns result of a step and excludes result of another step from it. template: Return [#step1] besides [#step2]
Sort: A sort returns result of another step in a specific order. template: Return [#step1] [ordered / sorted by] [#step2]
Is true: An is true step checks a condition on another result and returns a true or false. template: Return [is / if] [condition]
Arithmetic: An arithmatic step operates an arithmatic operation on one or more steps. template: Return the [arithmetic op.] of [#step1] [and] [#step2].
Positive Example 1 -
Input: question: What are the distinct creation years of the departments managed by a secretary born in state 'Alabama'?
Output: #1 return secretaries
#2 return #1 born in state 'Alabama
#3 return departments managed by #2
#4 return distinct creation years of #3
Positive Example 2 -
Input: question: i'd like to see flights from baltimore to atlanta that arrive before noon and i'd like to see flights from denver to atlanta that arrive before noon
Output: #1 return flights
#2 return #1 from baltimore
#3 return #2 to atlanta
#4 return #3 that arrive before noon
#5 return #1 from denver
#6 return #5 to atlanta
#7 return #6 that arrive before noon
#8 return #4 , #7
Negative Example 1 -
Input: question: show the name of all bridges that was designed by american archtect, and sort the result by the bridge feet length.
Output: #1 return american archtects
#2 return bridges
#3 return sorted by feet length
Negative Example 2 -
Input: question: What is the average price for a lesson taught by Janessa Sawayn?
Output: #1 return price for lessons taught by Janessa Sawayn
#2 return the average of #1
Now complete the following example -
Input: question: i'd like to arrange for two friends to fly into los angeles next saturday evening one of the people is coming from kansas city and the other is coming from las vegas
Output:
| [
"#1 return flights \n#2 return #1 from kansas city \n#3 return #2 to los angeles \n#4 return #1 from las vegas \n#5 return #4 to los angeles \n#6 return #3 , #4 \n#7 return #6 next saturday evening"
] | task176-4e5171c36be6404b98242a9d2076b995 |
Definition: In this task you will break down a question into the basic steps required to answer it.
A question decomposition is a numbered list of operations that must be performed to answer the original question. Imagine explaining your question to a friendly droid by listing each action it should take in order for the question to be answered. Each step in our decomposition should refer to either an entity (known or unknown), a propery of an entity or a query operation (count, group, union, etc.)
Here are the list of step templates and their description:
Select: A select step is used to return a set of objects. There are no references to previous steps in a select step. template: Return [attributes]
Filter: A filter step is used to return results from a previous step to which a certain condition applies. template: Return [#step] [condition]
Project: A project step should return certain attributes of the results of a previous step. template: Return [attributes] of [#step]
Aggregate: An aggregate step returns an aggregator function applied on a step's result. template: Return the [aggregator] of [#step].
Group: A group step is an aggregator applied on attributes. template: Return the [aggregator] of [#step] for each [attribute]
Superlative: A superlative step is used to return the result with a highest/lowest attribute among other results. template: Return [#step1] [where] [#step2] [is] [highest / lowest]
Comparative: A comparative step is used when we need to compare an attribute with a number to filter results. template: Return [#step1] [where] [#step2] [comparator] [number]
Union: A union step is used to return results of two steps together. template: Return [#step1] [or / ,] [#step2]
Intersection: An intersection step returns the result that two steps have in common. template: Return [attribute] of both [#step1] and [#step2]
Discard: A discard step returns result of a step and excludes result of another step from it. template: Return [#step1] besides [#step2]
Sort: A sort returns result of another step in a specific order. template: Return [#step1] [ordered / sorted by] [#step2]
Is true: An is true step checks a condition on another result and returns a true or false. template: Return [is / if] [condition]
Arithmetic: An arithmatic step operates an arithmatic operation on one or more steps. template: Return the [arithmetic op.] of [#step1] [and] [#step2].
Positive Example 1 -
Input: question: What are the distinct creation years of the departments managed by a secretary born in state 'Alabama'?
Output: #1 return secretaries
#2 return #1 born in state 'Alabama
#3 return departments managed by #2
#4 return distinct creation years of #3
Positive Example 2 -
Input: question: i'd like to see flights from baltimore to atlanta that arrive before noon and i'd like to see flights from denver to atlanta that arrive before noon
Output: #1 return flights
#2 return #1 from baltimore
#3 return #2 to atlanta
#4 return #3 that arrive before noon
#5 return #1 from denver
#6 return #5 to atlanta
#7 return #6 that arrive before noon
#8 return #4 , #7
Negative Example 1 -
Input: question: show the name of all bridges that was designed by american archtect, and sort the result by the bridge feet length.
Output: #1 return american archtects
#2 return bridges
#3 return sorted by feet length
Negative Example 2 -
Input: question: What is the average price for a lesson taught by Janessa Sawayn?
Output: #1 return price for lessons taught by Janessa Sawayn
#2 return the average of #1
Now complete the following example -
Input: question: What number of objects are shiny and cyan?
Output:
| [
"#1 return shiny objects \n#2 return #1 that are cyan \n#3 return number of #2"
] | task176-5f5d4b37d0244248aef85bfaeb04b950 |
Definition: In this task you will break down a question into the basic steps required to answer it.
A question decomposition is a numbered list of operations that must be performed to answer the original question. Imagine explaining your question to a friendly droid by listing each action it should take in order for the question to be answered. Each step in our decomposition should refer to either an entity (known or unknown), a propery of an entity or a query operation (count, group, union, etc.)
Here are the list of step templates and their description:
Select: A select step is used to return a set of objects. There are no references to previous steps in a select step. template: Return [attributes]
Filter: A filter step is used to return results from a previous step to which a certain condition applies. template: Return [#step] [condition]
Project: A project step should return certain attributes of the results of a previous step. template: Return [attributes] of [#step]
Aggregate: An aggregate step returns an aggregator function applied on a step's result. template: Return the [aggregator] of [#step].
Group: A group step is an aggregator applied on attributes. template: Return the [aggregator] of [#step] for each [attribute]
Superlative: A superlative step is used to return the result with a highest/lowest attribute among other results. template: Return [#step1] [where] [#step2] [is] [highest / lowest]
Comparative: A comparative step is used when we need to compare an attribute with a number to filter results. template: Return [#step1] [where] [#step2] [comparator] [number]
Union: A union step is used to return results of two steps together. template: Return [#step1] [or / ,] [#step2]
Intersection: An intersection step returns the result that two steps have in common. template: Return [attribute] of both [#step1] and [#step2]
Discard: A discard step returns result of a step and excludes result of another step from it. template: Return [#step1] besides [#step2]
Sort: A sort returns result of another step in a specific order. template: Return [#step1] [ordered / sorted by] [#step2]
Is true: An is true step checks a condition on another result and returns a true or false. template: Return [is / if] [condition]
Arithmetic: An arithmatic step operates an arithmatic operation on one or more steps. template: Return the [arithmetic op.] of [#step1] [and] [#step2].
Positive Example 1 -
Input: question: What are the distinct creation years of the departments managed by a secretary born in state 'Alabama'?
Output: #1 return secretaries
#2 return #1 born in state 'Alabama
#3 return departments managed by #2
#4 return distinct creation years of #3
Positive Example 2 -
Input: question: i'd like to see flights from baltimore to atlanta that arrive before noon and i'd like to see flights from denver to atlanta that arrive before noon
Output: #1 return flights
#2 return #1 from baltimore
#3 return #2 to atlanta
#4 return #3 that arrive before noon
#5 return #1 from denver
#6 return #5 to atlanta
#7 return #6 that arrive before noon
#8 return #4 , #7
Negative Example 1 -
Input: question: show the name of all bridges that was designed by american archtect, and sort the result by the bridge feet length.
Output: #1 return american archtects
#2 return bridges
#3 return sorted by feet length
Negative Example 2 -
Input: question: What is the average price for a lesson taught by Janessa Sawayn?
Output: #1 return price for lessons taught by Janessa Sawayn
#2 return the average of #1
Now complete the following example -
Input: question: Which happened last Archbishop Conrad crowned Prince Leo or remaining crusaders concluded another armistice?
Output:
| [
"#1 return Archbishop Conrad crowned Prince Leo \n#2 return remaining crusaders concluded another armistice \n#3 return when was #1 \n#4 return when was #2 \n#5 return which is highest of #3 , #4"
] | task176-7835b9a33f544dce9a2b205a2761c79f |
Definition: In this task you will break down a question into the basic steps required to answer it.
A question decomposition is a numbered list of operations that must be performed to answer the original question. Imagine explaining your question to a friendly droid by listing each action it should take in order for the question to be answered. Each step in our decomposition should refer to either an entity (known or unknown), a propery of an entity or a query operation (count, group, union, etc.)
Here are the list of step templates and their description:
Select: A select step is used to return a set of objects. There are no references to previous steps in a select step. template: Return [attributes]
Filter: A filter step is used to return results from a previous step to which a certain condition applies. template: Return [#step] [condition]
Project: A project step should return certain attributes of the results of a previous step. template: Return [attributes] of [#step]
Aggregate: An aggregate step returns an aggregator function applied on a step's result. template: Return the [aggregator] of [#step].
Group: A group step is an aggregator applied on attributes. template: Return the [aggregator] of [#step] for each [attribute]
Superlative: A superlative step is used to return the result with a highest/lowest attribute among other results. template: Return [#step1] [where] [#step2] [is] [highest / lowest]
Comparative: A comparative step is used when we need to compare an attribute with a number to filter results. template: Return [#step1] [where] [#step2] [comparator] [number]
Union: A union step is used to return results of two steps together. template: Return [#step1] [or / ,] [#step2]
Intersection: An intersection step returns the result that two steps have in common. template: Return [attribute] of both [#step1] and [#step2]
Discard: A discard step returns result of a step and excludes result of another step from it. template: Return [#step1] besides [#step2]
Sort: A sort returns result of another step in a specific order. template: Return [#step1] [ordered / sorted by] [#step2]
Is true: An is true step checks a condition on another result and returns a true or false. template: Return [is / if] [condition]
Arithmetic: An arithmatic step operates an arithmatic operation on one or more steps. template: Return the [arithmetic op.] of [#step1] [and] [#step2].
Positive Example 1 -
Input: question: What are the distinct creation years of the departments managed by a secretary born in state 'Alabama'?
Output: #1 return secretaries
#2 return #1 born in state 'Alabama
#3 return departments managed by #2
#4 return distinct creation years of #3
Positive Example 2 -
Input: question: i'd like to see flights from baltimore to atlanta that arrive before noon and i'd like to see flights from denver to atlanta that arrive before noon
Output: #1 return flights
#2 return #1 from baltimore
#3 return #2 to atlanta
#4 return #3 that arrive before noon
#5 return #1 from denver
#6 return #5 to atlanta
#7 return #6 that arrive before noon
#8 return #4 , #7
Negative Example 1 -
Input: question: show the name of all bridges that was designed by american archtect, and sort the result by the bridge feet length.
Output: #1 return american archtects
#2 return bridges
#3 return sorted by feet length
Negative Example 2 -
Input: question: What is the average price for a lesson taught by Janessa Sawayn?
Output: #1 return price for lessons taught by Janessa Sawayn
#2 return the average of #1
Now complete the following example -
Input: question: What is the minimum snatch score?
Output:
| [
"#1 return snatch scores \n#2 return minimum of #1"
] | task176-6089b8ddb76c44bdb87cdc58f548b658 |
Definition: In this task you will break down a question into the basic steps required to answer it.
A question decomposition is a numbered list of operations that must be performed to answer the original question. Imagine explaining your question to a friendly droid by listing each action it should take in order for the question to be answered. Each step in our decomposition should refer to either an entity (known or unknown), a propery of an entity or a query operation (count, group, union, etc.)
Here are the list of step templates and their description:
Select: A select step is used to return a set of objects. There are no references to previous steps in a select step. template: Return [attributes]
Filter: A filter step is used to return results from a previous step to which a certain condition applies. template: Return [#step] [condition]
Project: A project step should return certain attributes of the results of a previous step. template: Return [attributes] of [#step]
Aggregate: An aggregate step returns an aggregator function applied on a step's result. template: Return the [aggregator] of [#step].
Group: A group step is an aggregator applied on attributes. template: Return the [aggregator] of [#step] for each [attribute]
Superlative: A superlative step is used to return the result with a highest/lowest attribute among other results. template: Return [#step1] [where] [#step2] [is] [highest / lowest]
Comparative: A comparative step is used when we need to compare an attribute with a number to filter results. template: Return [#step1] [where] [#step2] [comparator] [number]
Union: A union step is used to return results of two steps together. template: Return [#step1] [or / ,] [#step2]
Intersection: An intersection step returns the result that two steps have in common. template: Return [attribute] of both [#step1] and [#step2]
Discard: A discard step returns result of a step and excludes result of another step from it. template: Return [#step1] besides [#step2]
Sort: A sort returns result of another step in a specific order. template: Return [#step1] [ordered / sorted by] [#step2]
Is true: An is true step checks a condition on another result and returns a true or false. template: Return [is / if] [condition]
Arithmetic: An arithmatic step operates an arithmatic operation on one or more steps. template: Return the [arithmetic op.] of [#step1] [and] [#step2].
Positive Example 1 -
Input: question: What are the distinct creation years of the departments managed by a secretary born in state 'Alabama'?
Output: #1 return secretaries
#2 return #1 born in state 'Alabama
#3 return departments managed by #2
#4 return distinct creation years of #3
Positive Example 2 -
Input: question: i'd like to see flights from baltimore to atlanta that arrive before noon and i'd like to see flights from denver to atlanta that arrive before noon
Output: #1 return flights
#2 return #1 from baltimore
#3 return #2 to atlanta
#4 return #3 that arrive before noon
#5 return #1 from denver
#6 return #5 to atlanta
#7 return #6 that arrive before noon
#8 return #4 , #7
Negative Example 1 -
Input: question: show the name of all bridges that was designed by american archtect, and sort the result by the bridge feet length.
Output: #1 return american archtects
#2 return bridges
#3 return sorted by feet length
Negative Example 2 -
Input: question: What is the average price for a lesson taught by Janessa Sawayn?
Output: #1 return price for lessons taught by Janessa Sawayn
#2 return the average of #1
Now complete the following example -
Input: question: Show the transaction types and the total amount of transactions.
Output:
| [
"#1 return transactions \n#2 return types of #1 \n#3 return amounts of #1 \n#4 return sum of #3 \n#5 return #2 , #4"
] | task176-1c18a3255a23446e96c932d700fbf25c |
Definition: In this task you will break down a question into the basic steps required to answer it.
A question decomposition is a numbered list of operations that must be performed to answer the original question. Imagine explaining your question to a friendly droid by listing each action it should take in order for the question to be answered. Each step in our decomposition should refer to either an entity (known or unknown), a propery of an entity or a query operation (count, group, union, etc.)
Here are the list of step templates and their description:
Select: A select step is used to return a set of objects. There are no references to previous steps in a select step. template: Return [attributes]
Filter: A filter step is used to return results from a previous step to which a certain condition applies. template: Return [#step] [condition]
Project: A project step should return certain attributes of the results of a previous step. template: Return [attributes] of [#step]
Aggregate: An aggregate step returns an aggregator function applied on a step's result. template: Return the [aggregator] of [#step].
Group: A group step is an aggregator applied on attributes. template: Return the [aggregator] of [#step] for each [attribute]
Superlative: A superlative step is used to return the result with a highest/lowest attribute among other results. template: Return [#step1] [where] [#step2] [is] [highest / lowest]
Comparative: A comparative step is used when we need to compare an attribute with a number to filter results. template: Return [#step1] [where] [#step2] [comparator] [number]
Union: A union step is used to return results of two steps together. template: Return [#step1] [or / ,] [#step2]
Intersection: An intersection step returns the result that two steps have in common. template: Return [attribute] of both [#step1] and [#step2]
Discard: A discard step returns result of a step and excludes result of another step from it. template: Return [#step1] besides [#step2]
Sort: A sort returns result of another step in a specific order. template: Return [#step1] [ordered / sorted by] [#step2]
Is true: An is true step checks a condition on another result and returns a true or false. template: Return [is / if] [condition]
Arithmetic: An arithmatic step operates an arithmatic operation on one or more steps. template: Return the [arithmetic op.] of [#step1] [and] [#step2].
Positive Example 1 -
Input: question: What are the distinct creation years of the departments managed by a secretary born in state 'Alabama'?
Output: #1 return secretaries
#2 return #1 born in state 'Alabama
#3 return departments managed by #2
#4 return distinct creation years of #3
Positive Example 2 -
Input: question: i'd like to see flights from baltimore to atlanta that arrive before noon and i'd like to see flights from denver to atlanta that arrive before noon
Output: #1 return flights
#2 return #1 from baltimore
#3 return #2 to atlanta
#4 return #3 that arrive before noon
#5 return #1 from denver
#6 return #5 to atlanta
#7 return #6 that arrive before noon
#8 return #4 , #7
Negative Example 1 -
Input: question: show the name of all bridges that was designed by american archtect, and sort the result by the bridge feet length.
Output: #1 return american archtects
#2 return bridges
#3 return sorted by feet length
Negative Example 2 -
Input: question: What is the average price for a lesson taught by Janessa Sawayn?
Output: #1 return price for lessons taught by Janessa Sawayn
#2 return the average of #1
Now complete the following example -
Input: question: How many in percent from the census had a male householder with a wife present?
Output:
| [
"#1 return those that had a male householder with a wife present \n#2 return percent from the census of #1"
] | task176-75985ac822cb46bd839846ffc3327889 |
Definition: In this task you will break down a question into the basic steps required to answer it.
A question decomposition is a numbered list of operations that must be performed to answer the original question. Imagine explaining your question to a friendly droid by listing each action it should take in order for the question to be answered. Each step in our decomposition should refer to either an entity (known or unknown), a propery of an entity or a query operation (count, group, union, etc.)
Here are the list of step templates and their description:
Select: A select step is used to return a set of objects. There are no references to previous steps in a select step. template: Return [attributes]
Filter: A filter step is used to return results from a previous step to which a certain condition applies. template: Return [#step] [condition]
Project: A project step should return certain attributes of the results of a previous step. template: Return [attributes] of [#step]
Aggregate: An aggregate step returns an aggregator function applied on a step's result. template: Return the [aggregator] of [#step].
Group: A group step is an aggregator applied on attributes. template: Return the [aggregator] of [#step] for each [attribute]
Superlative: A superlative step is used to return the result with a highest/lowest attribute among other results. template: Return [#step1] [where] [#step2] [is] [highest / lowest]
Comparative: A comparative step is used when we need to compare an attribute with a number to filter results. template: Return [#step1] [where] [#step2] [comparator] [number]
Union: A union step is used to return results of two steps together. template: Return [#step1] [or / ,] [#step2]
Intersection: An intersection step returns the result that two steps have in common. template: Return [attribute] of both [#step1] and [#step2]
Discard: A discard step returns result of a step and excludes result of another step from it. template: Return [#step1] besides [#step2]
Sort: A sort returns result of another step in a specific order. template: Return [#step1] [ordered / sorted by] [#step2]
Is true: An is true step checks a condition on another result and returns a true or false. template: Return [is / if] [condition]
Arithmetic: An arithmatic step operates an arithmatic operation on one or more steps. template: Return the [arithmetic op.] of [#step1] [and] [#step2].
Positive Example 1 -
Input: question: What are the distinct creation years of the departments managed by a secretary born in state 'Alabama'?
Output: #1 return secretaries
#2 return #1 born in state 'Alabama
#3 return departments managed by #2
#4 return distinct creation years of #3
Positive Example 2 -
Input: question: i'd like to see flights from baltimore to atlanta that arrive before noon and i'd like to see flights from denver to atlanta that arrive before noon
Output: #1 return flights
#2 return #1 from baltimore
#3 return #2 to atlanta
#4 return #3 that arrive before noon
#5 return #1 from denver
#6 return #5 to atlanta
#7 return #6 that arrive before noon
#8 return #4 , #7
Negative Example 1 -
Input: question: show the name of all bridges that was designed by american archtect, and sort the result by the bridge feet length.
Output: #1 return american archtects
#2 return bridges
#3 return sorted by feet length
Negative Example 2 -
Input: question: What is the average price for a lesson taught by Janessa Sawayn?
Output: #1 return price for lessons taught by Janessa Sawayn
#2 return the average of #1
Now complete the following example -
Input: question: What is the nickname of staff with first name as Janessa and last name as Sawayn?
Output:
| [
"#1 return staff \n#2 return first names of #1 \n#3 return #1 where #2 is Janessa \n#4 return last names of #1 \n#5 return #1 where #4 is Sawayn \n#6 return nickname of both #3 and #5"
] | task176-f8673f6e2a314f26b8636b8a344fd1ee |
Definition: In this task you will break down a question into the basic steps required to answer it.
A question decomposition is a numbered list of operations that must be performed to answer the original question. Imagine explaining your question to a friendly droid by listing each action it should take in order for the question to be answered. Each step in our decomposition should refer to either an entity (known or unknown), a propery of an entity or a query operation (count, group, union, etc.)
Here are the list of step templates and their description:
Select: A select step is used to return a set of objects. There are no references to previous steps in a select step. template: Return [attributes]
Filter: A filter step is used to return results from a previous step to which a certain condition applies. template: Return [#step] [condition]
Project: A project step should return certain attributes of the results of a previous step. template: Return [attributes] of [#step]
Aggregate: An aggregate step returns an aggregator function applied on a step's result. template: Return the [aggregator] of [#step].
Group: A group step is an aggregator applied on attributes. template: Return the [aggregator] of [#step] for each [attribute]
Superlative: A superlative step is used to return the result with a highest/lowest attribute among other results. template: Return [#step1] [where] [#step2] [is] [highest / lowest]
Comparative: A comparative step is used when we need to compare an attribute with a number to filter results. template: Return [#step1] [where] [#step2] [comparator] [number]
Union: A union step is used to return results of two steps together. template: Return [#step1] [or / ,] [#step2]
Intersection: An intersection step returns the result that two steps have in common. template: Return [attribute] of both [#step1] and [#step2]
Discard: A discard step returns result of a step and excludes result of another step from it. template: Return [#step1] besides [#step2]
Sort: A sort returns result of another step in a specific order. template: Return [#step1] [ordered / sorted by] [#step2]
Is true: An is true step checks a condition on another result and returns a true or false. template: Return [is / if] [condition]
Arithmetic: An arithmatic step operates an arithmatic operation on one or more steps. template: Return the [arithmetic op.] of [#step1] [and] [#step2].
Positive Example 1 -
Input: question: What are the distinct creation years of the departments managed by a secretary born in state 'Alabama'?
Output: #1 return secretaries
#2 return #1 born in state 'Alabama
#3 return departments managed by #2
#4 return distinct creation years of #3
Positive Example 2 -
Input: question: i'd like to see flights from baltimore to atlanta that arrive before noon and i'd like to see flights from denver to atlanta that arrive before noon
Output: #1 return flights
#2 return #1 from baltimore
#3 return #2 to atlanta
#4 return #3 that arrive before noon
#5 return #1 from denver
#6 return #5 to atlanta
#7 return #6 that arrive before noon
#8 return #4 , #7
Negative Example 1 -
Input: question: show the name of all bridges that was designed by american archtect, and sort the result by the bridge feet length.
Output: #1 return american archtects
#2 return bridges
#3 return sorted by feet length
Negative Example 2 -
Input: question: What is the average price for a lesson taught by Janessa Sawayn?
Output: #1 return price for lessons taught by Janessa Sawayn
#2 return the average of #1
Now complete the following example -
Input: question: What event happened first, Pegues being promoted to CBS News Justice, or him reporting on Hurricane Rita?
Output:
| [
"#1 return Pegues being promoted to CBS News Justice \n#2 return Pegues reporting on Hurricane Rita \n#3 return when was #1 \n#4 return when was #2 \n#5 return which is lowest of #3 , #4"
] | task176-91238886550a488ea790bd4f6afbb9e5 |
Definition: In this task you will break down a question into the basic steps required to answer it.
A question decomposition is a numbered list of operations that must be performed to answer the original question. Imagine explaining your question to a friendly droid by listing each action it should take in order for the question to be answered. Each step in our decomposition should refer to either an entity (known or unknown), a propery of an entity or a query operation (count, group, union, etc.)
Here are the list of step templates and their description:
Select: A select step is used to return a set of objects. There are no references to previous steps in a select step. template: Return [attributes]
Filter: A filter step is used to return results from a previous step to which a certain condition applies. template: Return [#step] [condition]
Project: A project step should return certain attributes of the results of a previous step. template: Return [attributes] of [#step]
Aggregate: An aggregate step returns an aggregator function applied on a step's result. template: Return the [aggregator] of [#step].
Group: A group step is an aggregator applied on attributes. template: Return the [aggregator] of [#step] for each [attribute]
Superlative: A superlative step is used to return the result with a highest/lowest attribute among other results. template: Return [#step1] [where] [#step2] [is] [highest / lowest]
Comparative: A comparative step is used when we need to compare an attribute with a number to filter results. template: Return [#step1] [where] [#step2] [comparator] [number]
Union: A union step is used to return results of two steps together. template: Return [#step1] [or / ,] [#step2]
Intersection: An intersection step returns the result that two steps have in common. template: Return [attribute] of both [#step1] and [#step2]
Discard: A discard step returns result of a step and excludes result of another step from it. template: Return [#step1] besides [#step2]
Sort: A sort returns result of another step in a specific order. template: Return [#step1] [ordered / sorted by] [#step2]
Is true: An is true step checks a condition on another result and returns a true or false. template: Return [is / if] [condition]
Arithmetic: An arithmatic step operates an arithmatic operation on one or more steps. template: Return the [arithmetic op.] of [#step1] [and] [#step2].
Positive Example 1 -
Input: question: What are the distinct creation years of the departments managed by a secretary born in state 'Alabama'?
Output: #1 return secretaries
#2 return #1 born in state 'Alabama
#3 return departments managed by #2
#4 return distinct creation years of #3
Positive Example 2 -
Input: question: i'd like to see flights from baltimore to atlanta that arrive before noon and i'd like to see flights from denver to atlanta that arrive before noon
Output: #1 return flights
#2 return #1 from baltimore
#3 return #2 to atlanta
#4 return #3 that arrive before noon
#5 return #1 from denver
#6 return #5 to atlanta
#7 return #6 that arrive before noon
#8 return #4 , #7
Negative Example 1 -
Input: question: show the name of all bridges that was designed by american archtect, and sort the result by the bridge feet length.
Output: #1 return american archtects
#2 return bridges
#3 return sorted by feet length
Negative Example 2 -
Input: question: What is the average price for a lesson taught by Janessa Sawayn?
Output: #1 return price for lessons taught by Janessa Sawayn
#2 return the average of #1
Now complete the following example -
Input: question: If one of the animals is standing in left profile.
Output:
| [
"#1 return animals \n#2 return #1 that are standing in left profile \n#3 return number of #2 \n#4 return if #3 is equal to one"
] | task176-cc63926c9e9a44db91f008f668dcd257 |
Definition: In this task you will break down a question into the basic steps required to answer it.
A question decomposition is a numbered list of operations that must be performed to answer the original question. Imagine explaining your question to a friendly droid by listing each action it should take in order for the question to be answered. Each step in our decomposition should refer to either an entity (known or unknown), a propery of an entity or a query operation (count, group, union, etc.)
Here are the list of step templates and their description:
Select: A select step is used to return a set of objects. There are no references to previous steps in a select step. template: Return [attributes]
Filter: A filter step is used to return results from a previous step to which a certain condition applies. template: Return [#step] [condition]
Project: A project step should return certain attributes of the results of a previous step. template: Return [attributes] of [#step]
Aggregate: An aggregate step returns an aggregator function applied on a step's result. template: Return the [aggregator] of [#step].
Group: A group step is an aggregator applied on attributes. template: Return the [aggregator] of [#step] for each [attribute]
Superlative: A superlative step is used to return the result with a highest/lowest attribute among other results. template: Return [#step1] [where] [#step2] [is] [highest / lowest]
Comparative: A comparative step is used when we need to compare an attribute with a number to filter results. template: Return [#step1] [where] [#step2] [comparator] [number]
Union: A union step is used to return results of two steps together. template: Return [#step1] [or / ,] [#step2]
Intersection: An intersection step returns the result that two steps have in common. template: Return [attribute] of both [#step1] and [#step2]
Discard: A discard step returns result of a step and excludes result of another step from it. template: Return [#step1] besides [#step2]
Sort: A sort returns result of another step in a specific order. template: Return [#step1] [ordered / sorted by] [#step2]
Is true: An is true step checks a condition on another result and returns a true or false. template: Return [is / if] [condition]
Arithmetic: An arithmatic step operates an arithmatic operation on one or more steps. template: Return the [arithmetic op.] of [#step1] [and] [#step2].
Positive Example 1 -
Input: question: What are the distinct creation years of the departments managed by a secretary born in state 'Alabama'?
Output: #1 return secretaries
#2 return #1 born in state 'Alabama
#3 return departments managed by #2
#4 return distinct creation years of #3
Positive Example 2 -
Input: question: i'd like to see flights from baltimore to atlanta that arrive before noon and i'd like to see flights from denver to atlanta that arrive before noon
Output: #1 return flights
#2 return #1 from baltimore
#3 return #2 to atlanta
#4 return #3 that arrive before noon
#5 return #1 from denver
#6 return #5 to atlanta
#7 return #6 that arrive before noon
#8 return #4 , #7
Negative Example 1 -
Input: question: show the name of all bridges that was designed by american archtect, and sort the result by the bridge feet length.
Output: #1 return american archtects
#2 return bridges
#3 return sorted by feet length
Negative Example 2 -
Input: question: What is the average price for a lesson taught by Janessa Sawayn?
Output: #1 return price for lessons taught by Janessa Sawayn
#2 return the average of #1
Now complete the following example -
Input: question: what are the classes of service on delta airlines
Output:
| [
"#1 return airlines \n#2 return #1 equal to delta airlines \n#3 return the classes of service on #2"
] | task176-edaa1174328f480d9b131a5b9c2bfbe8 |
Definition: In this task you will break down a question into the basic steps required to answer it.
A question decomposition is a numbered list of operations that must be performed to answer the original question. Imagine explaining your question to a friendly droid by listing each action it should take in order for the question to be answered. Each step in our decomposition should refer to either an entity (known or unknown), a propery of an entity or a query operation (count, group, union, etc.)
Here are the list of step templates and their description:
Select: A select step is used to return a set of objects. There are no references to previous steps in a select step. template: Return [attributes]
Filter: A filter step is used to return results from a previous step to which a certain condition applies. template: Return [#step] [condition]
Project: A project step should return certain attributes of the results of a previous step. template: Return [attributes] of [#step]
Aggregate: An aggregate step returns an aggregator function applied on a step's result. template: Return the [aggregator] of [#step].
Group: A group step is an aggregator applied on attributes. template: Return the [aggregator] of [#step] for each [attribute]
Superlative: A superlative step is used to return the result with a highest/lowest attribute among other results. template: Return [#step1] [where] [#step2] [is] [highest / lowest]
Comparative: A comparative step is used when we need to compare an attribute with a number to filter results. template: Return [#step1] [where] [#step2] [comparator] [number]
Union: A union step is used to return results of two steps together. template: Return [#step1] [or / ,] [#step2]
Intersection: An intersection step returns the result that two steps have in common. template: Return [attribute] of both [#step1] and [#step2]
Discard: A discard step returns result of a step and excludes result of another step from it. template: Return [#step1] besides [#step2]
Sort: A sort returns result of another step in a specific order. template: Return [#step1] [ordered / sorted by] [#step2]
Is true: An is true step checks a condition on another result and returns a true or false. template: Return [is / if] [condition]
Arithmetic: An arithmatic step operates an arithmatic operation on one or more steps. template: Return the [arithmetic op.] of [#step1] [and] [#step2].
Positive Example 1 -
Input: question: What are the distinct creation years of the departments managed by a secretary born in state 'Alabama'?
Output: #1 return secretaries
#2 return #1 born in state 'Alabama
#3 return departments managed by #2
#4 return distinct creation years of #3
Positive Example 2 -
Input: question: i'd like to see flights from baltimore to atlanta that arrive before noon and i'd like to see flights from denver to atlanta that arrive before noon
Output: #1 return flights
#2 return #1 from baltimore
#3 return #2 to atlanta
#4 return #3 that arrive before noon
#5 return #1 from denver
#6 return #5 to atlanta
#7 return #6 that arrive before noon
#8 return #4 , #7
Negative Example 1 -
Input: question: show the name of all bridges that was designed by american archtect, and sort the result by the bridge feet length.
Output: #1 return american archtects
#2 return bridges
#3 return sorted by feet length
Negative Example 2 -
Input: question: What is the average price for a lesson taught by Janessa Sawayn?
Output: #1 return price for lessons taught by Janessa Sawayn
#2 return the average of #1
Now complete the following example -
Input: question: What are all the forms of of transportation commuters use in Las Vegas?
Output:
| [
"#1 return forms of transportation \n#2 return #1 that commuters use in Las Vegas"
] | task176-eaa13e5b1d7c49bbb8b8d4d6b7be164e |
Definition: In this task you will break down a question into the basic steps required to answer it.
A question decomposition is a numbered list of operations that must be performed to answer the original question. Imagine explaining your question to a friendly droid by listing each action it should take in order for the question to be answered. Each step in our decomposition should refer to either an entity (known or unknown), a propery of an entity or a query operation (count, group, union, etc.)
Here are the list of step templates and their description:
Select: A select step is used to return a set of objects. There are no references to previous steps in a select step. template: Return [attributes]
Filter: A filter step is used to return results from a previous step to which a certain condition applies. template: Return [#step] [condition]
Project: A project step should return certain attributes of the results of a previous step. template: Return [attributes] of [#step]
Aggregate: An aggregate step returns an aggregator function applied on a step's result. template: Return the [aggregator] of [#step].
Group: A group step is an aggregator applied on attributes. template: Return the [aggregator] of [#step] for each [attribute]
Superlative: A superlative step is used to return the result with a highest/lowest attribute among other results. template: Return [#step1] [where] [#step2] [is] [highest / lowest]
Comparative: A comparative step is used when we need to compare an attribute with a number to filter results. template: Return [#step1] [where] [#step2] [comparator] [number]
Union: A union step is used to return results of two steps together. template: Return [#step1] [or / ,] [#step2]
Intersection: An intersection step returns the result that two steps have in common. template: Return [attribute] of both [#step1] and [#step2]
Discard: A discard step returns result of a step and excludes result of another step from it. template: Return [#step1] besides [#step2]
Sort: A sort returns result of another step in a specific order. template: Return [#step1] [ordered / sorted by] [#step2]
Is true: An is true step checks a condition on another result and returns a true or false. template: Return [is / if] [condition]
Arithmetic: An arithmatic step operates an arithmatic operation on one or more steps. template: Return the [arithmetic op.] of [#step1] [and] [#step2].
Positive Example 1 -
Input: question: What are the distinct creation years of the departments managed by a secretary born in state 'Alabama'?
Output: #1 return secretaries
#2 return #1 born in state 'Alabama
#3 return departments managed by #2
#4 return distinct creation years of #3
Positive Example 2 -
Input: question: i'd like to see flights from baltimore to atlanta that arrive before noon and i'd like to see flights from denver to atlanta that arrive before noon
Output: #1 return flights
#2 return #1 from baltimore
#3 return #2 to atlanta
#4 return #3 that arrive before noon
#5 return #1 from denver
#6 return #5 to atlanta
#7 return #6 that arrive before noon
#8 return #4 , #7
Negative Example 1 -
Input: question: show the name of all bridges that was designed by american archtect, and sort the result by the bridge feet length.
Output: #1 return american archtects
#2 return bridges
#3 return sorted by feet length
Negative Example 2 -
Input: question: What is the average price for a lesson taught by Janessa Sawayn?
Output: #1 return price for lessons taught by Janessa Sawayn
#2 return the average of #1
Now complete the following example -
Input: question: Which was the only team to score in the second half?
Output:
| [
"#1 return the second half \n#2 return scores of #1 \n#3 return team of #2"
] | task176-ad9063cea5994b289d48daa1b1d1f199 |
Definition: In this task you will break down a question into the basic steps required to answer it.
A question decomposition is a numbered list of operations that must be performed to answer the original question. Imagine explaining your question to a friendly droid by listing each action it should take in order for the question to be answered. Each step in our decomposition should refer to either an entity (known or unknown), a propery of an entity or a query operation (count, group, union, etc.)
Here are the list of step templates and their description:
Select: A select step is used to return a set of objects. There are no references to previous steps in a select step. template: Return [attributes]
Filter: A filter step is used to return results from a previous step to which a certain condition applies. template: Return [#step] [condition]
Project: A project step should return certain attributes of the results of a previous step. template: Return [attributes] of [#step]
Aggregate: An aggregate step returns an aggregator function applied on a step's result. template: Return the [aggregator] of [#step].
Group: A group step is an aggregator applied on attributes. template: Return the [aggregator] of [#step] for each [attribute]
Superlative: A superlative step is used to return the result with a highest/lowest attribute among other results. template: Return [#step1] [where] [#step2] [is] [highest / lowest]
Comparative: A comparative step is used when we need to compare an attribute with a number to filter results. template: Return [#step1] [where] [#step2] [comparator] [number]
Union: A union step is used to return results of two steps together. template: Return [#step1] [or / ,] [#step2]
Intersection: An intersection step returns the result that two steps have in common. template: Return [attribute] of both [#step1] and [#step2]
Discard: A discard step returns result of a step and excludes result of another step from it. template: Return [#step1] besides [#step2]
Sort: A sort returns result of another step in a specific order. template: Return [#step1] [ordered / sorted by] [#step2]
Is true: An is true step checks a condition on another result and returns a true or false. template: Return [is / if] [condition]
Arithmetic: An arithmatic step operates an arithmatic operation on one or more steps. template: Return the [arithmetic op.] of [#step1] [and] [#step2].
Positive Example 1 -
Input: question: What are the distinct creation years of the departments managed by a secretary born in state 'Alabama'?
Output: #1 return secretaries
#2 return #1 born in state 'Alabama
#3 return departments managed by #2
#4 return distinct creation years of #3
Positive Example 2 -
Input: question: i'd like to see flights from baltimore to atlanta that arrive before noon and i'd like to see flights from denver to atlanta that arrive before noon
Output: #1 return flights
#2 return #1 from baltimore
#3 return #2 to atlanta
#4 return #3 that arrive before noon
#5 return #1 from denver
#6 return #5 to atlanta
#7 return #6 that arrive before noon
#8 return #4 , #7
Negative Example 1 -
Input: question: show the name of all bridges that was designed by american archtect, and sort the result by the bridge feet length.
Output: #1 return american archtects
#2 return bridges
#3 return sorted by feet length
Negative Example 2 -
Input: question: What is the average price for a lesson taught by Janessa Sawayn?
Output: #1 return price for lessons taught by Janessa Sawayn
#2 return the average of #1
Now complete the following example -
Input: question: What shape metal object has two of the same color?
Output:
| [
"#1 return objects \n#2 return #1 that are metal \n#3 return colors of #2 \n#4 return number of #2 for each #3 \n#5 return #3 where #4 is two \n#6 return #2 where #3 is #5 \n#7 return the shapes of #6"
] | task176-c2c21f68e3b746a19a499697072b6b4b |
Definition: In this task you will break down a question into the basic steps required to answer it.
A question decomposition is a numbered list of operations that must be performed to answer the original question. Imagine explaining your question to a friendly droid by listing each action it should take in order for the question to be answered. Each step in our decomposition should refer to either an entity (known or unknown), a propery of an entity or a query operation (count, group, union, etc.)
Here are the list of step templates and their description:
Select: A select step is used to return a set of objects. There are no references to previous steps in a select step. template: Return [attributes]
Filter: A filter step is used to return results from a previous step to which a certain condition applies. template: Return [#step] [condition]
Project: A project step should return certain attributes of the results of a previous step. template: Return [attributes] of [#step]
Aggregate: An aggregate step returns an aggregator function applied on a step's result. template: Return the [aggregator] of [#step].
Group: A group step is an aggregator applied on attributes. template: Return the [aggregator] of [#step] for each [attribute]
Superlative: A superlative step is used to return the result with a highest/lowest attribute among other results. template: Return [#step1] [where] [#step2] [is] [highest / lowest]
Comparative: A comparative step is used when we need to compare an attribute with a number to filter results. template: Return [#step1] [where] [#step2] [comparator] [number]
Union: A union step is used to return results of two steps together. template: Return [#step1] [or / ,] [#step2]
Intersection: An intersection step returns the result that two steps have in common. template: Return [attribute] of both [#step1] and [#step2]
Discard: A discard step returns result of a step and excludes result of another step from it. template: Return [#step1] besides [#step2]
Sort: A sort returns result of another step in a specific order. template: Return [#step1] [ordered / sorted by] [#step2]
Is true: An is true step checks a condition on another result and returns a true or false. template: Return [is / if] [condition]
Arithmetic: An arithmatic step operates an arithmatic operation on one or more steps. template: Return the [arithmetic op.] of [#step1] [and] [#step2].
Positive Example 1 -
Input: question: What are the distinct creation years of the departments managed by a secretary born in state 'Alabama'?
Output: #1 return secretaries
#2 return #1 born in state 'Alabama
#3 return departments managed by #2
#4 return distinct creation years of #3
Positive Example 2 -
Input: question: i'd like to see flights from baltimore to atlanta that arrive before noon and i'd like to see flights from denver to atlanta that arrive before noon
Output: #1 return flights
#2 return #1 from baltimore
#3 return #2 to atlanta
#4 return #3 that arrive before noon
#5 return #1 from denver
#6 return #5 to atlanta
#7 return #6 that arrive before noon
#8 return #4 , #7
Negative Example 1 -
Input: question: show the name of all bridges that was designed by american archtect, and sort the result by the bridge feet length.
Output: #1 return american archtects
#2 return bridges
#3 return sorted by feet length
Negative Example 2 -
Input: question: What is the average price for a lesson taught by Janessa Sawayn?
Output: #1 return price for lessons taught by Janessa Sawayn
#2 return the average of #1
Now complete the following example -
Input: question: If every single bovine appears to be part of a race.
Output:
| [
"#1 return bovines \n#2 return #1 that appear to be part of a race \n#3 return number of #1 \n#4 return number of #2 \n#5 return if #4 is equal to #3"
] | task176-4f466b6d8dfb4578810a6c2d344536ba |
Definition: In this task you will break down a question into the basic steps required to answer it.
A question decomposition is a numbered list of operations that must be performed to answer the original question. Imagine explaining your question to a friendly droid by listing each action it should take in order for the question to be answered. Each step in our decomposition should refer to either an entity (known or unknown), a propery of an entity or a query operation (count, group, union, etc.)
Here are the list of step templates and their description:
Select: A select step is used to return a set of objects. There are no references to previous steps in a select step. template: Return [attributes]
Filter: A filter step is used to return results from a previous step to which a certain condition applies. template: Return [#step] [condition]
Project: A project step should return certain attributes of the results of a previous step. template: Return [attributes] of [#step]
Aggregate: An aggregate step returns an aggregator function applied on a step's result. template: Return the [aggregator] of [#step].
Group: A group step is an aggregator applied on attributes. template: Return the [aggregator] of [#step] for each [attribute]
Superlative: A superlative step is used to return the result with a highest/lowest attribute among other results. template: Return [#step1] [where] [#step2] [is] [highest / lowest]
Comparative: A comparative step is used when we need to compare an attribute with a number to filter results. template: Return [#step1] [where] [#step2] [comparator] [number]
Union: A union step is used to return results of two steps together. template: Return [#step1] [or / ,] [#step2]
Intersection: An intersection step returns the result that two steps have in common. template: Return [attribute] of both [#step1] and [#step2]
Discard: A discard step returns result of a step and excludes result of another step from it. template: Return [#step1] besides [#step2]
Sort: A sort returns result of another step in a specific order. template: Return [#step1] [ordered / sorted by] [#step2]
Is true: An is true step checks a condition on another result and returns a true or false. template: Return [is / if] [condition]
Arithmetic: An arithmatic step operates an arithmatic operation on one or more steps. template: Return the [arithmetic op.] of [#step1] [and] [#step2].
Positive Example 1 -
Input: question: What are the distinct creation years of the departments managed by a secretary born in state 'Alabama'?
Output: #1 return secretaries
#2 return #1 born in state 'Alabama
#3 return departments managed by #2
#4 return distinct creation years of #3
Positive Example 2 -
Input: question: i'd like to see flights from baltimore to atlanta that arrive before noon and i'd like to see flights from denver to atlanta that arrive before noon
Output: #1 return flights
#2 return #1 from baltimore
#3 return #2 to atlanta
#4 return #3 that arrive before noon
#5 return #1 from denver
#6 return #5 to atlanta
#7 return #6 that arrive before noon
#8 return #4 , #7
Negative Example 1 -
Input: question: show the name of all bridges that was designed by american archtect, and sort the result by the bridge feet length.
Output: #1 return american archtects
#2 return bridges
#3 return sorted by feet length
Negative Example 2 -
Input: question: What is the average price for a lesson taught by Janessa Sawayn?
Output: #1 return price for lessons taught by Janessa Sawayn
#2 return the average of #1
Now complete the following example -
Input: question: i need a flight to seattle leaving from baltimore making a stop in minneapolis
Output:
| [
"#1 return flights \n#2 return #1 to seattle from baltimore \n#3 return #2 making a stop in minneapolis"
] | task176-8f769c28bc67473c9cd27af37f64bb08 |
Definition: In this task you will break down a question into the basic steps required to answer it.
A question decomposition is a numbered list of operations that must be performed to answer the original question. Imagine explaining your question to a friendly droid by listing each action it should take in order for the question to be answered. Each step in our decomposition should refer to either an entity (known or unknown), a propery of an entity or a query operation (count, group, union, etc.)
Here are the list of step templates and their description:
Select: A select step is used to return a set of objects. There are no references to previous steps in a select step. template: Return [attributes]
Filter: A filter step is used to return results from a previous step to which a certain condition applies. template: Return [#step] [condition]
Project: A project step should return certain attributes of the results of a previous step. template: Return [attributes] of [#step]
Aggregate: An aggregate step returns an aggregator function applied on a step's result. template: Return the [aggregator] of [#step].
Group: A group step is an aggregator applied on attributes. template: Return the [aggregator] of [#step] for each [attribute]
Superlative: A superlative step is used to return the result with a highest/lowest attribute among other results. template: Return [#step1] [where] [#step2] [is] [highest / lowest]
Comparative: A comparative step is used when we need to compare an attribute with a number to filter results. template: Return [#step1] [where] [#step2] [comparator] [number]
Union: A union step is used to return results of two steps together. template: Return [#step1] [or / ,] [#step2]
Intersection: An intersection step returns the result that two steps have in common. template: Return [attribute] of both [#step1] and [#step2]
Discard: A discard step returns result of a step and excludes result of another step from it. template: Return [#step1] besides [#step2]
Sort: A sort returns result of another step in a specific order. template: Return [#step1] [ordered / sorted by] [#step2]
Is true: An is true step checks a condition on another result and returns a true or false. template: Return [is / if] [condition]
Arithmetic: An arithmatic step operates an arithmatic operation on one or more steps. template: Return the [arithmetic op.] of [#step1] [and] [#step2].
Positive Example 1 -
Input: question: What are the distinct creation years of the departments managed by a secretary born in state 'Alabama'?
Output: #1 return secretaries
#2 return #1 born in state 'Alabama
#3 return departments managed by #2
#4 return distinct creation years of #3
Positive Example 2 -
Input: question: i'd like to see flights from baltimore to atlanta that arrive before noon and i'd like to see flights from denver to atlanta that arrive before noon
Output: #1 return flights
#2 return #1 from baltimore
#3 return #2 to atlanta
#4 return #3 that arrive before noon
#5 return #1 from denver
#6 return #5 to atlanta
#7 return #6 that arrive before noon
#8 return #4 , #7
Negative Example 1 -
Input: question: show the name of all bridges that was designed by american archtect, and sort the result by the bridge feet length.
Output: #1 return american archtects
#2 return bridges
#3 return sorted by feet length
Negative Example 2 -
Input: question: What is the average price for a lesson taught by Janessa Sawayn?
Output: #1 return price for lessons taught by Janessa Sawayn
#2 return the average of #1
Now complete the following example -
Input: question: what is the earliest flight between logan and bwi
Output:
| [
"#1 return flights \n#2 return #1 from logan \n#3 return #2 to bwi \n#4 return the earliest of #3"
] | task176-20d78bff44b04ffaa9e799471aa69a3b |
Definition: In this task you will break down a question into the basic steps required to answer it.
A question decomposition is a numbered list of operations that must be performed to answer the original question. Imagine explaining your question to a friendly droid by listing each action it should take in order for the question to be answered. Each step in our decomposition should refer to either an entity (known or unknown), a propery of an entity or a query operation (count, group, union, etc.)
Here are the list of step templates and their description:
Select: A select step is used to return a set of objects. There are no references to previous steps in a select step. template: Return [attributes]
Filter: A filter step is used to return results from a previous step to which a certain condition applies. template: Return [#step] [condition]
Project: A project step should return certain attributes of the results of a previous step. template: Return [attributes] of [#step]
Aggregate: An aggregate step returns an aggregator function applied on a step's result. template: Return the [aggregator] of [#step].
Group: A group step is an aggregator applied on attributes. template: Return the [aggregator] of [#step] for each [attribute]
Superlative: A superlative step is used to return the result with a highest/lowest attribute among other results. template: Return [#step1] [where] [#step2] [is] [highest / lowest]
Comparative: A comparative step is used when we need to compare an attribute with a number to filter results. template: Return [#step1] [where] [#step2] [comparator] [number]
Union: A union step is used to return results of two steps together. template: Return [#step1] [or / ,] [#step2]
Intersection: An intersection step returns the result that two steps have in common. template: Return [attribute] of both [#step1] and [#step2]
Discard: A discard step returns result of a step and excludes result of another step from it. template: Return [#step1] besides [#step2]
Sort: A sort returns result of another step in a specific order. template: Return [#step1] [ordered / sorted by] [#step2]
Is true: An is true step checks a condition on another result and returns a true or false. template: Return [is / if] [condition]
Arithmetic: An arithmatic step operates an arithmatic operation on one or more steps. template: Return the [arithmetic op.] of [#step1] [and] [#step2].
Positive Example 1 -
Input: question: What are the distinct creation years of the departments managed by a secretary born in state 'Alabama'?
Output: #1 return secretaries
#2 return #1 born in state 'Alabama
#3 return departments managed by #2
#4 return distinct creation years of #3
Positive Example 2 -
Input: question: i'd like to see flights from baltimore to atlanta that arrive before noon and i'd like to see flights from denver to atlanta that arrive before noon
Output: #1 return flights
#2 return #1 from baltimore
#3 return #2 to atlanta
#4 return #3 that arrive before noon
#5 return #1 from denver
#6 return #5 to atlanta
#7 return #6 that arrive before noon
#8 return #4 , #7
Negative Example 1 -
Input: question: show the name of all bridges that was designed by american archtect, and sort the result by the bridge feet length.
Output: #1 return american archtects
#2 return bridges
#3 return sorted by feet length
Negative Example 2 -
Input: question: What is the average price for a lesson taught by Janessa Sawayn?
Output: #1 return price for lessons taught by Janessa Sawayn
#2 return the average of #1
Now complete the following example -
Input: question: If both beavers on the left side are standing up on their hind legs.
Output:
| [
"#1 return beavers \n#2 return #1 on the left side \n#3 return hind legs of #2 \n#4 return #2 standing up on #3 \n#5 return number of #4 \n#6 return if #5 is equal to two"
] | task176-bef4cc20c46c490db57a735f6a1f3dd1 |
Definition: In this task you will break down a question into the basic steps required to answer it.
A question decomposition is a numbered list of operations that must be performed to answer the original question. Imagine explaining your question to a friendly droid by listing each action it should take in order for the question to be answered. Each step in our decomposition should refer to either an entity (known or unknown), a propery of an entity or a query operation (count, group, union, etc.)
Here are the list of step templates and their description:
Select: A select step is used to return a set of objects. There are no references to previous steps in a select step. template: Return [attributes]
Filter: A filter step is used to return results from a previous step to which a certain condition applies. template: Return [#step] [condition]
Project: A project step should return certain attributes of the results of a previous step. template: Return [attributes] of [#step]
Aggregate: An aggregate step returns an aggregator function applied on a step's result. template: Return the [aggregator] of [#step].
Group: A group step is an aggregator applied on attributes. template: Return the [aggregator] of [#step] for each [attribute]
Superlative: A superlative step is used to return the result with a highest/lowest attribute among other results. template: Return [#step1] [where] [#step2] [is] [highest / lowest]
Comparative: A comparative step is used when we need to compare an attribute with a number to filter results. template: Return [#step1] [where] [#step2] [comparator] [number]
Union: A union step is used to return results of two steps together. template: Return [#step1] [or / ,] [#step2]
Intersection: An intersection step returns the result that two steps have in common. template: Return [attribute] of both [#step1] and [#step2]
Discard: A discard step returns result of a step and excludes result of another step from it. template: Return [#step1] besides [#step2]
Sort: A sort returns result of another step in a specific order. template: Return [#step1] [ordered / sorted by] [#step2]
Is true: An is true step checks a condition on another result and returns a true or false. template: Return [is / if] [condition]
Arithmetic: An arithmatic step operates an arithmatic operation on one or more steps. template: Return the [arithmetic op.] of [#step1] [and] [#step2].
Positive Example 1 -
Input: question: What are the distinct creation years of the departments managed by a secretary born in state 'Alabama'?
Output: #1 return secretaries
#2 return #1 born in state 'Alabama
#3 return departments managed by #2
#4 return distinct creation years of #3
Positive Example 2 -
Input: question: i'd like to see flights from baltimore to atlanta that arrive before noon and i'd like to see flights from denver to atlanta that arrive before noon
Output: #1 return flights
#2 return #1 from baltimore
#3 return #2 to atlanta
#4 return #3 that arrive before noon
#5 return #1 from denver
#6 return #5 to atlanta
#7 return #6 that arrive before noon
#8 return #4 , #7
Negative Example 1 -
Input: question: show the name of all bridges that was designed by american archtect, and sort the result by the bridge feet length.
Output: #1 return american archtects
#2 return bridges
#3 return sorted by feet length
Negative Example 2 -
Input: question: What is the average price for a lesson taught by Janessa Sawayn?
Output: #1 return price for lessons taught by Janessa Sawayn
#2 return the average of #1
Now complete the following example -
Input: question: what is the number of shapes that are not cubes?
Output:
| [
"#1 return cubes \n#2 return shapes besides #1 \n#3 return number of #2"
] | task176-671b1bfd40c9449fb997b406a181f42c |
Definition: In this task you will break down a question into the basic steps required to answer it.
A question decomposition is a numbered list of operations that must be performed to answer the original question. Imagine explaining your question to a friendly droid by listing each action it should take in order for the question to be answered. Each step in our decomposition should refer to either an entity (known or unknown), a propery of an entity or a query operation (count, group, union, etc.)
Here are the list of step templates and their description:
Select: A select step is used to return a set of objects. There are no references to previous steps in a select step. template: Return [attributes]
Filter: A filter step is used to return results from a previous step to which a certain condition applies. template: Return [#step] [condition]
Project: A project step should return certain attributes of the results of a previous step. template: Return [attributes] of [#step]
Aggregate: An aggregate step returns an aggregator function applied on a step's result. template: Return the [aggregator] of [#step].
Group: A group step is an aggregator applied on attributes. template: Return the [aggregator] of [#step] for each [attribute]
Superlative: A superlative step is used to return the result with a highest/lowest attribute among other results. template: Return [#step1] [where] [#step2] [is] [highest / lowest]
Comparative: A comparative step is used when we need to compare an attribute with a number to filter results. template: Return [#step1] [where] [#step2] [comparator] [number]
Union: A union step is used to return results of two steps together. template: Return [#step1] [or / ,] [#step2]
Intersection: An intersection step returns the result that two steps have in common. template: Return [attribute] of both [#step1] and [#step2]
Discard: A discard step returns result of a step and excludes result of another step from it. template: Return [#step1] besides [#step2]
Sort: A sort returns result of another step in a specific order. template: Return [#step1] [ordered / sorted by] [#step2]
Is true: An is true step checks a condition on another result and returns a true or false. template: Return [is / if] [condition]
Arithmetic: An arithmatic step operates an arithmatic operation on one or more steps. template: Return the [arithmetic op.] of [#step1] [and] [#step2].
Positive Example 1 -
Input: question: What are the distinct creation years of the departments managed by a secretary born in state 'Alabama'?
Output: #1 return secretaries
#2 return #1 born in state 'Alabama
#3 return departments managed by #2
#4 return distinct creation years of #3
Positive Example 2 -
Input: question: i'd like to see flights from baltimore to atlanta that arrive before noon and i'd like to see flights from denver to atlanta that arrive before noon
Output: #1 return flights
#2 return #1 from baltimore
#3 return #2 to atlanta
#4 return #3 that arrive before noon
#5 return #1 from denver
#6 return #5 to atlanta
#7 return #6 that arrive before noon
#8 return #4 , #7
Negative Example 1 -
Input: question: show the name of all bridges that was designed by american archtect, and sort the result by the bridge feet length.
Output: #1 return american archtects
#2 return bridges
#3 return sorted by feet length
Negative Example 2 -
Input: question: What is the average price for a lesson taught by Janessa Sawayn?
Output: #1 return price for lessons taught by Janessa Sawayn
#2 return the average of #1
Now complete the following example -
Input: question: What is the color of the only rubber object?
Output:
| [
"#1 return rubber object \n#2 return color of #1"
] | task176-24a97dc00e404ea089c228bb8b2aac43 |
Definition: In this task you will break down a question into the basic steps required to answer it.
A question decomposition is a numbered list of operations that must be performed to answer the original question. Imagine explaining your question to a friendly droid by listing each action it should take in order for the question to be answered. Each step in our decomposition should refer to either an entity (known or unknown), a propery of an entity or a query operation (count, group, union, etc.)
Here are the list of step templates and their description:
Select: A select step is used to return a set of objects. There are no references to previous steps in a select step. template: Return [attributes]
Filter: A filter step is used to return results from a previous step to which a certain condition applies. template: Return [#step] [condition]
Project: A project step should return certain attributes of the results of a previous step. template: Return [attributes] of [#step]
Aggregate: An aggregate step returns an aggregator function applied on a step's result. template: Return the [aggregator] of [#step].
Group: A group step is an aggregator applied on attributes. template: Return the [aggregator] of [#step] for each [attribute]
Superlative: A superlative step is used to return the result with a highest/lowest attribute among other results. template: Return [#step1] [where] [#step2] [is] [highest / lowest]
Comparative: A comparative step is used when we need to compare an attribute with a number to filter results. template: Return [#step1] [where] [#step2] [comparator] [number]
Union: A union step is used to return results of two steps together. template: Return [#step1] [or / ,] [#step2]
Intersection: An intersection step returns the result that two steps have in common. template: Return [attribute] of both [#step1] and [#step2]
Discard: A discard step returns result of a step and excludes result of another step from it. template: Return [#step1] besides [#step2]
Sort: A sort returns result of another step in a specific order. template: Return [#step1] [ordered / sorted by] [#step2]
Is true: An is true step checks a condition on another result and returns a true or false. template: Return [is / if] [condition]
Arithmetic: An arithmatic step operates an arithmatic operation on one or more steps. template: Return the [arithmetic op.] of [#step1] [and] [#step2].
Positive Example 1 -
Input: question: What are the distinct creation years of the departments managed by a secretary born in state 'Alabama'?
Output: #1 return secretaries
#2 return #1 born in state 'Alabama
#3 return departments managed by #2
#4 return distinct creation years of #3
Positive Example 2 -
Input: question: i'd like to see flights from baltimore to atlanta that arrive before noon and i'd like to see flights from denver to atlanta that arrive before noon
Output: #1 return flights
#2 return #1 from baltimore
#3 return #2 to atlanta
#4 return #3 that arrive before noon
#5 return #1 from denver
#6 return #5 to atlanta
#7 return #6 that arrive before noon
#8 return #4 , #7
Negative Example 1 -
Input: question: show the name of all bridges that was designed by american archtect, and sort the result by the bridge feet length.
Output: #1 return american archtects
#2 return bridges
#3 return sorted by feet length
Negative Example 2 -
Input: question: What is the average price for a lesson taught by Janessa Sawayn?
Output: #1 return price for lessons taught by Janessa Sawayn
#2 return the average of #1
Now complete the following example -
Input: question: What color is the object closest to the front?
Output:
| [
"#1 return objects \n#2 return #1 that is closest to the front \n#3 return color of #2"
] | task176-e47a930ed5004bc5a65d0cda7a593c8a |
Definition: In this task you will break down a question into the basic steps required to answer it.
A question decomposition is a numbered list of operations that must be performed to answer the original question. Imagine explaining your question to a friendly droid by listing each action it should take in order for the question to be answered. Each step in our decomposition should refer to either an entity (known or unknown), a propery of an entity or a query operation (count, group, union, etc.)
Here are the list of step templates and their description:
Select: A select step is used to return a set of objects. There are no references to previous steps in a select step. template: Return [attributes]
Filter: A filter step is used to return results from a previous step to which a certain condition applies. template: Return [#step] [condition]
Project: A project step should return certain attributes of the results of a previous step. template: Return [attributes] of [#step]
Aggregate: An aggregate step returns an aggregator function applied on a step's result. template: Return the [aggregator] of [#step].
Group: A group step is an aggregator applied on attributes. template: Return the [aggregator] of [#step] for each [attribute]
Superlative: A superlative step is used to return the result with a highest/lowest attribute among other results. template: Return [#step1] [where] [#step2] [is] [highest / lowest]
Comparative: A comparative step is used when we need to compare an attribute with a number to filter results. template: Return [#step1] [where] [#step2] [comparator] [number]
Union: A union step is used to return results of two steps together. template: Return [#step1] [or / ,] [#step2]
Intersection: An intersection step returns the result that two steps have in common. template: Return [attribute] of both [#step1] and [#step2]
Discard: A discard step returns result of a step and excludes result of another step from it. template: Return [#step1] besides [#step2]
Sort: A sort returns result of another step in a specific order. template: Return [#step1] [ordered / sorted by] [#step2]
Is true: An is true step checks a condition on another result and returns a true or false. template: Return [is / if] [condition]
Arithmetic: An arithmatic step operates an arithmatic operation on one or more steps. template: Return the [arithmetic op.] of [#step1] [and] [#step2].
Positive Example 1 -
Input: question: What are the distinct creation years of the departments managed by a secretary born in state 'Alabama'?
Output: #1 return secretaries
#2 return #1 born in state 'Alabama
#3 return departments managed by #2
#4 return distinct creation years of #3
Positive Example 2 -
Input: question: i'd like to see flights from baltimore to atlanta that arrive before noon and i'd like to see flights from denver to atlanta that arrive before noon
Output: #1 return flights
#2 return #1 from baltimore
#3 return #2 to atlanta
#4 return #3 that arrive before noon
#5 return #1 from denver
#6 return #5 to atlanta
#7 return #6 that arrive before noon
#8 return #4 , #7
Negative Example 1 -
Input: question: show the name of all bridges that was designed by american archtect, and sort the result by the bridge feet length.
Output: #1 return american archtects
#2 return bridges
#3 return sorted by feet length
Negative Example 2 -
Input: question: What is the average price for a lesson taught by Janessa Sawayn?
Output: #1 return price for lessons taught by Janessa Sawayn
#2 return the average of #1
Now complete the following example -
Input: question: How many years after the rebellion in Berbice was it defeated?
Output:
| [
"#1 return the rebellion in Berbice \n#2 return it was defeated \n#3 return when was #1 \n#4 return when was #2 \n#5 return difference of #4 and #1 in years"
] | task176-16e3d660264b45adb369770144e04d00 |
Definition: In this task you will break down a question into the basic steps required to answer it.
A question decomposition is a numbered list of operations that must be performed to answer the original question. Imagine explaining your question to a friendly droid by listing each action it should take in order for the question to be answered. Each step in our decomposition should refer to either an entity (known or unknown), a propery of an entity or a query operation (count, group, union, etc.)
Here are the list of step templates and their description:
Select: A select step is used to return a set of objects. There are no references to previous steps in a select step. template: Return [attributes]
Filter: A filter step is used to return results from a previous step to which a certain condition applies. template: Return [#step] [condition]
Project: A project step should return certain attributes of the results of a previous step. template: Return [attributes] of [#step]
Aggregate: An aggregate step returns an aggregator function applied on a step's result. template: Return the [aggregator] of [#step].
Group: A group step is an aggregator applied on attributes. template: Return the [aggregator] of [#step] for each [attribute]
Superlative: A superlative step is used to return the result with a highest/lowest attribute among other results. template: Return [#step1] [where] [#step2] [is] [highest / lowest]
Comparative: A comparative step is used when we need to compare an attribute with a number to filter results. template: Return [#step1] [where] [#step2] [comparator] [number]
Union: A union step is used to return results of two steps together. template: Return [#step1] [or / ,] [#step2]
Intersection: An intersection step returns the result that two steps have in common. template: Return [attribute] of both [#step1] and [#step2]
Discard: A discard step returns result of a step and excludes result of another step from it. template: Return [#step1] besides [#step2]
Sort: A sort returns result of another step in a specific order. template: Return [#step1] [ordered / sorted by] [#step2]
Is true: An is true step checks a condition on another result and returns a true or false. template: Return [is / if] [condition]
Arithmetic: An arithmatic step operates an arithmatic operation on one or more steps. template: Return the [arithmetic op.] of [#step1] [and] [#step2].
Positive Example 1 -
Input: question: What are the distinct creation years of the departments managed by a secretary born in state 'Alabama'?
Output: #1 return secretaries
#2 return #1 born in state 'Alabama
#3 return departments managed by #2
#4 return distinct creation years of #3
Positive Example 2 -
Input: question: i'd like to see flights from baltimore to atlanta that arrive before noon and i'd like to see flights from denver to atlanta that arrive before noon
Output: #1 return flights
#2 return #1 from baltimore
#3 return #2 to atlanta
#4 return #3 that arrive before noon
#5 return #1 from denver
#6 return #5 to atlanta
#7 return #6 that arrive before noon
#8 return #4 , #7
Negative Example 1 -
Input: question: show the name of all bridges that was designed by american archtect, and sort the result by the bridge feet length.
Output: #1 return american archtects
#2 return bridges
#3 return sorted by feet length
Negative Example 2 -
Input: question: What is the average price for a lesson taught by Janessa Sawayn?
Output: #1 return price for lessons taught by Janessa Sawayn
#2 return the average of #1
Now complete the following example -
Input: question: What color is the cylinder in the far back?
Output:
| [
"#1 return cylinders \n#2 return #1 in the far back \n#3 return the color of #2"
] | task176-077383294abe4336ac475c8bdc5c9ffa |
Definition: In this task you will break down a question into the basic steps required to answer it.
A question decomposition is a numbered list of operations that must be performed to answer the original question. Imagine explaining your question to a friendly droid by listing each action it should take in order for the question to be answered. Each step in our decomposition should refer to either an entity (known or unknown), a propery of an entity or a query operation (count, group, union, etc.)
Here are the list of step templates and their description:
Select: A select step is used to return a set of objects. There are no references to previous steps in a select step. template: Return [attributes]
Filter: A filter step is used to return results from a previous step to which a certain condition applies. template: Return [#step] [condition]
Project: A project step should return certain attributes of the results of a previous step. template: Return [attributes] of [#step]
Aggregate: An aggregate step returns an aggregator function applied on a step's result. template: Return the [aggregator] of [#step].
Group: A group step is an aggregator applied on attributes. template: Return the [aggregator] of [#step] for each [attribute]
Superlative: A superlative step is used to return the result with a highest/lowest attribute among other results. template: Return [#step1] [where] [#step2] [is] [highest / lowest]
Comparative: A comparative step is used when we need to compare an attribute with a number to filter results. template: Return [#step1] [where] [#step2] [comparator] [number]
Union: A union step is used to return results of two steps together. template: Return [#step1] [or / ,] [#step2]
Intersection: An intersection step returns the result that two steps have in common. template: Return [attribute] of both [#step1] and [#step2]
Discard: A discard step returns result of a step and excludes result of another step from it. template: Return [#step1] besides [#step2]
Sort: A sort returns result of another step in a specific order. template: Return [#step1] [ordered / sorted by] [#step2]
Is true: An is true step checks a condition on another result and returns a true or false. template: Return [is / if] [condition]
Arithmetic: An arithmatic step operates an arithmatic operation on one or more steps. template: Return the [arithmetic op.] of [#step1] [and] [#step2].
Positive Example 1 -
Input: question: What are the distinct creation years of the departments managed by a secretary born in state 'Alabama'?
Output: #1 return secretaries
#2 return #1 born in state 'Alabama
#3 return departments managed by #2
#4 return distinct creation years of #3
Positive Example 2 -
Input: question: i'd like to see flights from baltimore to atlanta that arrive before noon and i'd like to see flights from denver to atlanta that arrive before noon
Output: #1 return flights
#2 return #1 from baltimore
#3 return #2 to atlanta
#4 return #3 that arrive before noon
#5 return #1 from denver
#6 return #5 to atlanta
#7 return #6 that arrive before noon
#8 return #4 , #7
Negative Example 1 -
Input: question: show the name of all bridges that was designed by american archtect, and sort the result by the bridge feet length.
Output: #1 return american archtects
#2 return bridges
#3 return sorted by feet length
Negative Example 2 -
Input: question: What is the average price for a lesson taught by Janessa Sawayn?
Output: #1 return price for lessons taught by Janessa Sawayn
#2 return the average of #1
Now complete the following example -
Input: question: What is the color of the object near the purple cube?
Output:
| [
"#1 return the purple cube \n#2 return objects \n#3 return #2 that are near #1 \n#4 return the color of #3"
] | task176-183e23b076184d689b0bf1a0d8b42e46 |
Definition: In this task you will break down a question into the basic steps required to answer it.
A question decomposition is a numbered list of operations that must be performed to answer the original question. Imagine explaining your question to a friendly droid by listing each action it should take in order for the question to be answered. Each step in our decomposition should refer to either an entity (known or unknown), a propery of an entity or a query operation (count, group, union, etc.)
Here are the list of step templates and their description:
Select: A select step is used to return a set of objects. There are no references to previous steps in a select step. template: Return [attributes]
Filter: A filter step is used to return results from a previous step to which a certain condition applies. template: Return [#step] [condition]
Project: A project step should return certain attributes of the results of a previous step. template: Return [attributes] of [#step]
Aggregate: An aggregate step returns an aggregator function applied on a step's result. template: Return the [aggregator] of [#step].
Group: A group step is an aggregator applied on attributes. template: Return the [aggregator] of [#step] for each [attribute]
Superlative: A superlative step is used to return the result with a highest/lowest attribute among other results. template: Return [#step1] [where] [#step2] [is] [highest / lowest]
Comparative: A comparative step is used when we need to compare an attribute with a number to filter results. template: Return [#step1] [where] [#step2] [comparator] [number]
Union: A union step is used to return results of two steps together. template: Return [#step1] [or / ,] [#step2]
Intersection: An intersection step returns the result that two steps have in common. template: Return [attribute] of both [#step1] and [#step2]
Discard: A discard step returns result of a step and excludes result of another step from it. template: Return [#step1] besides [#step2]
Sort: A sort returns result of another step in a specific order. template: Return [#step1] [ordered / sorted by] [#step2]
Is true: An is true step checks a condition on another result and returns a true or false. template: Return [is / if] [condition]
Arithmetic: An arithmatic step operates an arithmatic operation on one or more steps. template: Return the [arithmetic op.] of [#step1] [and] [#step2].
Positive Example 1 -
Input: question: What are the distinct creation years of the departments managed by a secretary born in state 'Alabama'?
Output: #1 return secretaries
#2 return #1 born in state 'Alabama
#3 return departments managed by #2
#4 return distinct creation years of #3
Positive Example 2 -
Input: question: i'd like to see flights from baltimore to atlanta that arrive before noon and i'd like to see flights from denver to atlanta that arrive before noon
Output: #1 return flights
#2 return #1 from baltimore
#3 return #2 to atlanta
#4 return #3 that arrive before noon
#5 return #1 from denver
#6 return #5 to atlanta
#7 return #6 that arrive before noon
#8 return #4 , #7
Negative Example 1 -
Input: question: show the name of all bridges that was designed by american archtect, and sort the result by the bridge feet length.
Output: #1 return american archtects
#2 return bridges
#3 return sorted by feet length
Negative Example 2 -
Input: question: What is the average price for a lesson taught by Janessa Sawayn?
Output: #1 return price for lessons taught by Janessa Sawayn
#2 return the average of #1
Now complete the following example -
Input: question: What is the color that is found on only one object here?
Output:
| [
"#1 return colors \n#2 return objects of #1 \n#3 return number of #2 for each #1 \n#4 return #1 where #3 is one"
] | task176-87c28751dd7d478cab0dbdb3090edcd0 |
Definition: In this task you will break down a question into the basic steps required to answer it.
A question decomposition is a numbered list of operations that must be performed to answer the original question. Imagine explaining your question to a friendly droid by listing each action it should take in order for the question to be answered. Each step in our decomposition should refer to either an entity (known or unknown), a propery of an entity or a query operation (count, group, union, etc.)
Here are the list of step templates and their description:
Select: A select step is used to return a set of objects. There are no references to previous steps in a select step. template: Return [attributes]
Filter: A filter step is used to return results from a previous step to which a certain condition applies. template: Return [#step] [condition]
Project: A project step should return certain attributes of the results of a previous step. template: Return [attributes] of [#step]
Aggregate: An aggregate step returns an aggregator function applied on a step's result. template: Return the [aggregator] of [#step].
Group: A group step is an aggregator applied on attributes. template: Return the [aggregator] of [#step] for each [attribute]
Superlative: A superlative step is used to return the result with a highest/lowest attribute among other results. template: Return [#step1] [where] [#step2] [is] [highest / lowest]
Comparative: A comparative step is used when we need to compare an attribute with a number to filter results. template: Return [#step1] [where] [#step2] [comparator] [number]
Union: A union step is used to return results of two steps together. template: Return [#step1] [or / ,] [#step2]
Intersection: An intersection step returns the result that two steps have in common. template: Return [attribute] of both [#step1] and [#step2]
Discard: A discard step returns result of a step and excludes result of another step from it. template: Return [#step1] besides [#step2]
Sort: A sort returns result of another step in a specific order. template: Return [#step1] [ordered / sorted by] [#step2]
Is true: An is true step checks a condition on another result and returns a true or false. template: Return [is / if] [condition]
Arithmetic: An arithmatic step operates an arithmatic operation on one or more steps. template: Return the [arithmetic op.] of [#step1] [and] [#step2].
Positive Example 1 -
Input: question: What are the distinct creation years of the departments managed by a secretary born in state 'Alabama'?
Output: #1 return secretaries
#2 return #1 born in state 'Alabama
#3 return departments managed by #2
#4 return distinct creation years of #3
Positive Example 2 -
Input: question: i'd like to see flights from baltimore to atlanta that arrive before noon and i'd like to see flights from denver to atlanta that arrive before noon
Output: #1 return flights
#2 return #1 from baltimore
#3 return #2 to atlanta
#4 return #3 that arrive before noon
#5 return #1 from denver
#6 return #5 to atlanta
#7 return #6 that arrive before noon
#8 return #4 , #7
Negative Example 1 -
Input: question: show the name of all bridges that was designed by american archtect, and sort the result by the bridge feet length.
Output: #1 return american archtects
#2 return bridges
#3 return sorted by feet length
Negative Example 2 -
Input: question: What is the average price for a lesson taught by Janessa Sawayn?
Output: #1 return price for lessons taught by Janessa Sawayn
#2 return the average of #1
Now complete the following example -
Input: question: what color is the only non matte object in this picture?
Output:
| [
"#1 return objects \n#2 return #1 that is not matte \n#3 return color of #2"
] | task176-ed32bbf7e1bd462ab2a1628ede9f2c65 |
Definition: In this task you will break down a question into the basic steps required to answer it.
A question decomposition is a numbered list of operations that must be performed to answer the original question. Imagine explaining your question to a friendly droid by listing each action it should take in order for the question to be answered. Each step in our decomposition should refer to either an entity (known or unknown), a propery of an entity or a query operation (count, group, union, etc.)
Here are the list of step templates and their description:
Select: A select step is used to return a set of objects. There are no references to previous steps in a select step. template: Return [attributes]
Filter: A filter step is used to return results from a previous step to which a certain condition applies. template: Return [#step] [condition]
Project: A project step should return certain attributes of the results of a previous step. template: Return [attributes] of [#step]
Aggregate: An aggregate step returns an aggregator function applied on a step's result. template: Return the [aggregator] of [#step].
Group: A group step is an aggregator applied on attributes. template: Return the [aggregator] of [#step] for each [attribute]
Superlative: A superlative step is used to return the result with a highest/lowest attribute among other results. template: Return [#step1] [where] [#step2] [is] [highest / lowest]
Comparative: A comparative step is used when we need to compare an attribute with a number to filter results. template: Return [#step1] [where] [#step2] [comparator] [number]
Union: A union step is used to return results of two steps together. template: Return [#step1] [or / ,] [#step2]
Intersection: An intersection step returns the result that two steps have in common. template: Return [attribute] of both [#step1] and [#step2]
Discard: A discard step returns result of a step and excludes result of another step from it. template: Return [#step1] besides [#step2]
Sort: A sort returns result of another step in a specific order. template: Return [#step1] [ordered / sorted by] [#step2]
Is true: An is true step checks a condition on another result and returns a true or false. template: Return [is / if] [condition]
Arithmetic: An arithmatic step operates an arithmatic operation on one or more steps. template: Return the [arithmetic op.] of [#step1] [and] [#step2].
Positive Example 1 -
Input: question: What are the distinct creation years of the departments managed by a secretary born in state 'Alabama'?
Output: #1 return secretaries
#2 return #1 born in state 'Alabama
#3 return departments managed by #2
#4 return distinct creation years of #3
Positive Example 2 -
Input: question: i'd like to see flights from baltimore to atlanta that arrive before noon and i'd like to see flights from denver to atlanta that arrive before noon
Output: #1 return flights
#2 return #1 from baltimore
#3 return #2 to atlanta
#4 return #3 that arrive before noon
#5 return #1 from denver
#6 return #5 to atlanta
#7 return #6 that arrive before noon
#8 return #4 , #7
Negative Example 1 -
Input: question: show the name of all bridges that was designed by american archtect, and sort the result by the bridge feet length.
Output: #1 return american archtects
#2 return bridges
#3 return sorted by feet length
Negative Example 2 -
Input: question: What is the average price for a lesson taught by Janessa Sawayn?
Output: #1 return price for lessons taught by Janessa Sawayn
#2 return the average of #1
Now complete the following example -
Input: question: Is the large yellow object the same shape as the other two objects?
Output:
| [
"#1 return objects \n#2 return the large yellow object \n#3 return #1 besides #2 \n#4 return shape of #2 \n#5 return shapes of #3 \n#6 return if #4 is the same as #5"
] | task176-4f9772b9214948398b3fa65b09c0eeba |
Definition: In this task you will break down a question into the basic steps required to answer it.
A question decomposition is a numbered list of operations that must be performed to answer the original question. Imagine explaining your question to a friendly droid by listing each action it should take in order for the question to be answered. Each step in our decomposition should refer to either an entity (known or unknown), a propery of an entity or a query operation (count, group, union, etc.)
Here are the list of step templates and their description:
Select: A select step is used to return a set of objects. There are no references to previous steps in a select step. template: Return [attributes]
Filter: A filter step is used to return results from a previous step to which a certain condition applies. template: Return [#step] [condition]
Project: A project step should return certain attributes of the results of a previous step. template: Return [attributes] of [#step]
Aggregate: An aggregate step returns an aggregator function applied on a step's result. template: Return the [aggregator] of [#step].
Group: A group step is an aggregator applied on attributes. template: Return the [aggregator] of [#step] for each [attribute]
Superlative: A superlative step is used to return the result with a highest/lowest attribute among other results. template: Return [#step1] [where] [#step2] [is] [highest / lowest]
Comparative: A comparative step is used when we need to compare an attribute with a number to filter results. template: Return [#step1] [where] [#step2] [comparator] [number]
Union: A union step is used to return results of two steps together. template: Return [#step1] [or / ,] [#step2]
Intersection: An intersection step returns the result that two steps have in common. template: Return [attribute] of both [#step1] and [#step2]
Discard: A discard step returns result of a step and excludes result of another step from it. template: Return [#step1] besides [#step2]
Sort: A sort returns result of another step in a specific order. template: Return [#step1] [ordered / sorted by] [#step2]
Is true: An is true step checks a condition on another result and returns a true or false. template: Return [is / if] [condition]
Arithmetic: An arithmatic step operates an arithmatic operation on one or more steps. template: Return the [arithmetic op.] of [#step1] [and] [#step2].
Positive Example 1 -
Input: question: What are the distinct creation years of the departments managed by a secretary born in state 'Alabama'?
Output: #1 return secretaries
#2 return #1 born in state 'Alabama
#3 return departments managed by #2
#4 return distinct creation years of #3
Positive Example 2 -
Input: question: i'd like to see flights from baltimore to atlanta that arrive before noon and i'd like to see flights from denver to atlanta that arrive before noon
Output: #1 return flights
#2 return #1 from baltimore
#3 return #2 to atlanta
#4 return #3 that arrive before noon
#5 return #1 from denver
#6 return #5 to atlanta
#7 return #6 that arrive before noon
#8 return #4 , #7
Negative Example 1 -
Input: question: show the name of all bridges that was designed by american archtect, and sort the result by the bridge feet length.
Output: #1 return american archtects
#2 return bridges
#3 return sorted by feet length
Negative Example 2 -
Input: question: What is the average price for a lesson taught by Janessa Sawayn?
Output: #1 return price for lessons taught by Janessa Sawayn
#2 return the average of #1
Now complete the following example -
Input: question: How many objects are cylinder shaped?
Output:
| [
"#1 return objects \n#2 return #1 that are cylinder shaped \n#3 return number of #2"
] | task176-628e57ee326f491a90ffc986154131c4 |
Definition: In this task you will break down a question into the basic steps required to answer it.
A question decomposition is a numbered list of operations that must be performed to answer the original question. Imagine explaining your question to a friendly droid by listing each action it should take in order for the question to be answered. Each step in our decomposition should refer to either an entity (known or unknown), a propery of an entity or a query operation (count, group, union, etc.)
Here are the list of step templates and their description:
Select: A select step is used to return a set of objects. There are no references to previous steps in a select step. template: Return [attributes]
Filter: A filter step is used to return results from a previous step to which a certain condition applies. template: Return [#step] [condition]
Project: A project step should return certain attributes of the results of a previous step. template: Return [attributes] of [#step]
Aggregate: An aggregate step returns an aggregator function applied on a step's result. template: Return the [aggregator] of [#step].
Group: A group step is an aggregator applied on attributes. template: Return the [aggregator] of [#step] for each [attribute]
Superlative: A superlative step is used to return the result with a highest/lowest attribute among other results. template: Return [#step1] [where] [#step2] [is] [highest / lowest]
Comparative: A comparative step is used when we need to compare an attribute with a number to filter results. template: Return [#step1] [where] [#step2] [comparator] [number]
Union: A union step is used to return results of two steps together. template: Return [#step1] [or / ,] [#step2]
Intersection: An intersection step returns the result that two steps have in common. template: Return [attribute] of both [#step1] and [#step2]
Discard: A discard step returns result of a step and excludes result of another step from it. template: Return [#step1] besides [#step2]
Sort: A sort returns result of another step in a specific order. template: Return [#step1] [ordered / sorted by] [#step2]
Is true: An is true step checks a condition on another result and returns a true or false. template: Return [is / if] [condition]
Arithmetic: An arithmatic step operates an arithmatic operation on one or more steps. template: Return the [arithmetic op.] of [#step1] [and] [#step2].
Positive Example 1 -
Input: question: What are the distinct creation years of the departments managed by a secretary born in state 'Alabama'?
Output: #1 return secretaries
#2 return #1 born in state 'Alabama
#3 return departments managed by #2
#4 return distinct creation years of #3
Positive Example 2 -
Input: question: i'd like to see flights from baltimore to atlanta that arrive before noon and i'd like to see flights from denver to atlanta that arrive before noon
Output: #1 return flights
#2 return #1 from baltimore
#3 return #2 to atlanta
#4 return #3 that arrive before noon
#5 return #1 from denver
#6 return #5 to atlanta
#7 return #6 that arrive before noon
#8 return #4 , #7
Negative Example 1 -
Input: question: show the name of all bridges that was designed by american archtect, and sort the result by the bridge feet length.
Output: #1 return american archtects
#2 return bridges
#3 return sorted by feet length
Negative Example 2 -
Input: question: What is the average price for a lesson taught by Janessa Sawayn?
Output: #1 return price for lessons taught by Janessa Sawayn
#2 return the average of #1
Now complete the following example -
Input: question: who was the first couple born on earth?
Output:
| [
"#1 return earth \n#2 return couples born on #1 \n#3 return first of #2"
] | task176-5fd9c55ca89b4839a55c079130aee0da |