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: What is the shape of the metallic item behind a rubber cube and sphere in the back?
Output:
| [
"#1 return metallic item \n#2 return rubber cube \n#3 return sphere in the back \n#4 return #1 behind #2 and #3 \n#5 return shape of #4"
] | task176-7f8c395e06ec4dff9540f7c440a9c583 |
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 player had the shortest touchdown-scoring play of the game?
Output:
| [
"#1 return touchdown-scoring plays of the game \n#2 return the shortest of #1 \n#3 return player of #2"
] | task176-862a57e199ab4ecea23d56c2aefe5de2 |
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 wolf in the right image is facing towards the left.
Output:
| [
"#1 return right image \n#2 return wolf in #1 \n#3 return if #2 is facing towards the left"
] | task176-b87a687f5e6347feb34df7fcef2610fe |
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 more people speak Hungarian as a first language than a second language?
Output:
| [
"#1 return people \n#2 return #1 that speak Hungarian as a first language \n#3 return #1 that speak Hungarian as a second language \n#4 return number of #2 \n#5 return number of #3 \n#6 return the difference of #4 and #5"
] | task176-2c9f9de82f854371abfb2d8443e12682 |
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: For each product type, return the maximum and minimum price.
Output:
| [
"#1 return product types \n#2 return prices of #1 \n#3 return maximum of #2 for each #1 \n#4 return minimum of #2 for each #1 \n#5 return #3 , #4"
] | task176-228898c91e054d1ba6291da190232244 |
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 newly never opened locks in packaging
Output:
| [
"#1 return locks \n#2 return packaging \n#3 return #1 in #2 \n#4 return if #3 are newly never opened"
] | task176-c002407897ad4ba4b275f0c641dbc1a6 |
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 dull small cube?
Output:
| [
"#1 return cubes \n#2 return #1 that is dull \n#3 return #2 that is small \n#4 return color of #3"
] | task176-f8a85fbe47164cf9bdc0ed44bbaf1a8a |
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 lone woman centered in one image.
Output:
| [
"#1 return woman \n#2 return images \n#3 return #1 that are centered in #2 \n#4 return number of #3 for each #2 \n#5 return #2 where #4 is equal to one \n#6 return number of #5 \n#7 return if #6 is equal to one"
] | task176-defb864a2bd943d28d3659c18c45217a |
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 player made the first field goal of the game?
Output:
| [
"#1 return field goals of the game \n#2 return the first of #1 \n#3 return player of #2"
] | task176-3588feef0fbd492f82ff2c43b79cbcad |
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 actor played Batman in 2012 and also played in the movie "The Boxcar Children?"?
Output:
| [
"#1 return the movie The Boxcar Children \n#2 return actors of #1 \n#3 return #2 that played Batman \n#4 return #3 in 2012"
] | task176-8ae7cea6422842c0b0ae5f2dc93b49ba |
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 yards shorter was Vanderjagt's first field goal compared with his second?
Output:
| [
"#1 return Vanderjagt \n#2 return field goals of #1 \n#3 return first of #2 \n#4 return second of #2 \n#5 return yards of #3 \n#6 return yards of #4 \n#7 return difference of #5 and #6"
] | task176-ac64d638653246798f28b55f2bb8b742 |
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 nationality of the journalist with the largest number of years working?
Output:
| [
"#1 return journalists \n#2 return years working of #1 \n#3 return number of #2 \n#4 return #1 where #3 is highest \n#5 return nationality of #4"
] | task176-3309d2214da14c59bc2f15c9d6324f9d |
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 object is on the farthest right?
Output:
| [
"#1 return object \n#2 return #1 that is on the farthest right"
] | task176-abe917ac77074ebca86208619754847b |
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 touchdowns had Moss had before the 43-yard touchdown in the first quarter?
Output:
| [
"#1 return Moss \n#2 return touchdowns of #1 \n#3 return #2 before the 43-yard touchdown in the first quarter \n#4 return number of #3"
] | task176-6a7fae3ce4a14df09f2f4681505d6863 |
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 all the catalog publishers whose name contains "Murray"
Output:
| [
"#1 return catalog publishers \n#2 return names of #1 \n#3 return #2 which contain Murray"
] | task176-8df4471a88874be2b1b84fe34ea6ce6a |
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: when did michael jackson first start a band?
Output:
| [
"#1 return michael jackson \n#2 return bands of #1 \n#3 return when did #2 start \n#4 return first of #3"
] | task176-ecacf39a72584c66948009d9a1e51b9b |
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 more volunteers were there in 2015 compared to employees?
Output:
| [
"#1 return volunteers \n#2 return employees \n#3 return #1 in 2015 \n#4 return #2 in 2015 \n#5 return the number of #3 \n#6 return the number of #4 \n#7 return the difference of #5 , #6"
] | task176-66fa8cf1f05747d6bfec6d2d691af3de |
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 image shows one opened pot of pink rouge sitting on a wood-look surface.
Output:
| [
"#1 return images \n#2 return pots of pink rouge in #1 \n#3 return #2 that are opened \n#4 return surface in #1 \n#5 return #4 that is wood-look \n#6 return #3 sitting on #5 \n#7 return number of #6 for each #1 \n#8 return #1 where #7 is equal to one \n#9 return number of #8 \n#10 return if #9 is equal to one"
] | task176-87c88601809f47ce97a36916853cccd8 |
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 the brown cubes the same size?
Output:
| [
"#1 return brown cubes \n#2 return sizes of #1 \n#3 return are #2 the same"
] | task176-3eee706a9e7e4776996fe4839d9f24ae |
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 the blue things and the brown things the same material?
Output:
| [
"#1 return blue things \n#2 return brown things \n#3 return material of #1 \n#4 return material of #2 \n#5 return is #3 the same as #4"
] | task176-879da3ded1564577b7e0fdb366518578 |
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 only two dogs in total.
Output:
| [
"#1 return dogs \n#2 return number of #1 \n#3 return if #2 is equal to two"
] | task176-b03c07118f424f3ab511ea9cec238859 |
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 were michaels jackson first top ten hits?
Output:
| [
"#1 return michael jackson \n#2 return top ten hits of #1 \n#3 return the first of #2"
] | task176-87afc2c085d044d280f5783ee9d3a1a4 |
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 image there are at least two cranes.
Output:
| [
"#1 return cranes \n#2 return images \n#3 return the number of #1 for each #2 \n#4 return #2 where #3 is at least two \n#5 return the number of #4 \n#6 return if #5 is equal to one"
] | task176-ba91b29942ea4d588b711fc8e9ba989f |
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 country won the last rugby cup?
Output:
| [
"#1 return rugby cups \n#2 return the last of #1 \n#3 return country that won #2"
] | task176-c767d1ac4e9e4b0c86b8be2b4bcd06d8 |
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: return me the authors who have cooperated with " H. V. Jagadish " .
Output:
| [
"#1 return authors \n#2 return #1 who have cooperated with H. V. Jagadish"
] | task176-adc18024d1bd44a29b4b4c5ba4a3820b |
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 more percentage was the graduation class was employed by by nine months after graduation than secured positions in one nations largest firms?
Output:
| [
"#1 return the graduation class \n#2 return #1 that was employed by nine months after graduation \n#3 return #1 that secured positions in one of the nations largest firms \n#4 return percentage of #2 \n#5 return percentage of #3 \n#6 return the difference of #4 and #5"
] | task176-156a431371974cf4add4202f50f4059f |
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: where is the tallest and widest building in the world?
Output:
| [
"#1 return world \n#2 return buildings of #1 \n#3 return #2 that is the tallest \n#4 return #2 that is the widest \n#5 return #2 in both #3 and #4"
] | task176-701f1180ec4c49559474ad5aa0e960a3 |
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 full names of customers with the account name 900?
Output:
| [
"#1 return customers \n#2 return accounts of #1 \n#3 return names of #2 \n#4 return #1 where #3 is 900 \n#5 return full names of #4"
] | task176-63daca5837d849daa32bddf8505368d8 |
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 at least one white protective pad.
Output:
| [
"#1 return protective pads \n#2 return #1 that are white \n#3 return number of #2 \n#4 return if #3 is at least one"
] | task176-4e0bdeb98f8845489fc08ebc36140723 |
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: For how many months was the Kiev Offensive successful?
Output:
| [
"#1 return the Kiev Offensive was successful \n#2 return months of #1 \n#3 return number of #2"
] | task176-bd8af93acd644db1a41fcc45d4f8d2e6 |
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 at least one round window in the door in one of the images.
Output:
| [
"#1 return the door \n#2 return windows \n#3 return #2 in #1 \n#4 return #3 that are round \n#5 return images of #4 \n#6 return number of #4 for each #5 \n#7 return #5 where #6 is at least one \n#8 return number of #7 \n#9 return if #8 is equal to one"
] | task176-8fdb4c6e4e214cd898c5e3a9acabc6a2 |
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 major cities are in texas
Output:
| [
"#1 return major cities \n#2 return #1 in texas \n#3 return number of #2"
] | task176-c45e4382cc4c439fbd41e55347106cae |
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: Out of the first two touchdowns scored, which player caught the shorter touchdown pass?
Output:
| [
"#1 return touchdowns scored \n#2 return the first two of #1 \n#3 return how short are #2 \n#4 return #2 where #3 is the lowest \n#5 return player of #4"
] | task176-39446253a6244b66bb71755713f298ba |
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 the players who played for both manchester united and barcelona?
Output:
| [
"#1 return manchester united \n#2 return barcelona \n#3 return players of #1 \n#4 return players of #2 \n#5 return players in both #3 and #4"
] | task176-be5b8c866951481eb76ad62e984b9987 |
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 first class fares from dallas to baltimore
Output:
| [
"#1 return flights \n#2 return #1 from dallas \n#3 return #2 to baltimore \n#4 return #3 on first class \n#5 return fares of #4"
] | task176-5d0de457c1294dce977b513b117e9fdc |
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 sea borders sweden germany and russia?
Output:
| [
"#1 return seas \n#2 return #1 that borders sweden \n#3 return #1 that borders germany \n#4 return #1 that borders russia \n#5 return #1 in both #2 and #3 \n#6 return #1 in both #4 and #5"
] | task176-725ff37cd04c4229affdead8eae55467 |
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 title and director of each film?
Output:
| [
"#1 return films \n#2 return titles of #1 \n#3 return directors of #1 \n#4 return #2 , #3"
] | task176-d5f02ddd129f46ccbb2418c4771aace0 |
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 of the cubes have a metallic finish?
Output:
| [
"#1 return cubes \n#2 return #1 that have a metallic finish \n#3 return number of #2"
] | task176-4bbf721e97bf445fa1dbb8df5cee0042 |
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 objects are in the picture
Output:
| [
"#1 return objects \n#2 return number of #1"
] | task176-eef065a3f7d54e8b849d2e9dba66ae4e |
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 did the Kerma culture's latest phase last?
Output:
| [
"#1 return Kerma culture \n#2 return latest phase of #1 \n#3 return years of #2 \n#4 return number of #3"
] | task176-13eadf25d0794009bf8cd3563ddf8eba |
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 orange tree is flowering.
Output:
| [
"#1 return tree \n#2 return #1 that is orange \n#3 return if #2 is flowering"
] | task176-a390ce7758bd4e508487b456ef8e870c |
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 total amount claimed in the most recently created document.
Output:
| [
"#1 return documents \n#2 return when #1 was created \n#3 return #1 where #2 is the most recently \n#4 return total amount claimed in #3"
] | task176-b01802ef5c4e4e71bb8e436313a474e6 |
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 were between the Truce of Jam Zapolski and the Truce of Plussa?
Output:
| [
"#1 return the Truce of Jam Zapolski \n#2 return the Truce of Plussa \n#3 return year of #1 \n#4 return year of #2 \n#5 return difference of #3 and #4"
] | task176-f21f5f09ce4e47cab6b8a65d2c19e808 |
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 most of the metallic objects?
Output:
| [
"#1 return colors \n#2 return metallic objects of #1 \n#3 return number of #2 for each #1 \n#4 return #1 where #2 is highest"
] | task176-b58751d75739482b9b157431f1cff840 |
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 average and minimum price (in Euro) of all products?
Output:
| [
"#1 return products \n#2 return prices of #1 in Euro \n#3 return average of #2 \n#4 return minimum of #2 \n#5 return #3 , #4"
] | task176-2685adc71c3346ec9e857e9f86e0c8b4 |
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 exactly five animals in the image on the right.
Output:
| [
"#1 return the image on the right \n#2 return animals in #1 \n#3 return number of #2 \n#4 return if #3 is equal to five"
] | task176-23ee5bbed25a402197c7cc4454c6d2e4 |
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 late flight wednesday from oakland to salt lake city
Output:
| [
"#1 return flights \n#2 return late #1 \n#3 return #2 from oakland \n#4 return #3 to salt lake city \n#5 return #4 on wednesday"
] | task176-7d6695a697b14f58a3f16b9552a7f42d |
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 years after 1996 did the Yankees win the World Series?
Output:
| [
"#1 return World Series \n#2 return #1 that the Yankees win \n#3 return years of #2 \n#4 return #3 that are after 1996"
] | task176-bf4afe89d9164ca0a31e43f872cee530 |
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 most common type code across products.
Output:
| [
"#1 return type codes \n#2 return products of #1 \n#3 return number of #2 for each #1 \n#4 return #1 where #3 is highest"
] | task176-c77a20759a5643fe9c2017ce4da35cbb |
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 an airport limousine at the atlanta airport
Output:
| [
"#1 return airport limousines \n#2 return #1 at the atlanta airport"
] | task176-4025a51524a843e98d18cea459320226 |
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 city_code of the city that the most students live in?
Output:
| [
"#1 return cities \n#2 return students that live in #1 \n#3 return number of #2 for each #1 \n#4 return #1 where #3 is highest \n#5 return city_code of #4"
] | task176-ead50d40cb0f455eaeb10f97d3fd530d |
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 was singer buddy holly's hometown?
Output:
| [
"#1 return singer \n#2 return #1 that is buddy holly \n#3 return hometown of #2"
] | task176-c9d4868b68ab4897ab39de8dab266c30 |
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 object is in the center of the other two?
Output:
| [
"#1 return object \n#2 return #1 in center \n#3 return #2 of other two"
] | task176-be82fb5661d44407b6f0220a8eb726d4 |
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 shops that do not hire any employee.
Output:
| [
"#1 return shops \n#2 return #1 that hire employees \n#3 return #1 besides #2 \n#4 return names of #3"
] | task176-f5dfcd3535af412ebe0214709bdacbaa |
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 dog is standing on grass.
Output:
| [
"#1 return dog \n#2 return grass \n#3 return #1 that is standing on #2 \n#4 return number of #3 \n#5 return if #4 is equal to one"
] | task176-241d072e6b5d4bfa8cf2b2afdf4d5356 |
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: list all flights from burbank to denver
Output:
| [
"#1 return flights \n#2 return #1 from burbank \n#3 return #2 to denver"
] | task176-4039339d87e5415481320b7eae50fd97 |
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 six blocks?
Output:
| [
"#1 return blocks \n#2 return number of #1 \n#3 return is #2 equal to six"
] | task176-d9969f8accc9496784d2afc8565737eb |
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 TD passes were thrown?
Output:
| [
"#1 return TD passes \n#2 return number of #1"
] | task176-996ebccab5814836a14cd8d43925ce4d |
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 two science beakers.
Output:
| [
"#1 return science beakers \n#2 return number of #1 \n#3 return if #2 is equal to two"
] | task176-87872ca4b0094ad4b6e7e8fb33afa72b |
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 president truman's successor?
Output:
| [
"#1 return president truman \n#2 return successor of #1"
] | task176-e309bcc8112d42d9bc3c4311e4c97768 |
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 field goals did Josh Brown successfully kick?
Output:
| [
"#1 return Josh Brown \n#2 return field goals of #1 \n#3 return number of #2"
] | task176-0294c2f3eeff45339dd6adcd1c3fac42 |
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 person who was once a student owned Google in 2012?
Output:
| [
"#1 return Google \n#2 return who owned #1 \n#3 return #2 in 2012 \n#4 return #3 that was once a student"
] | task176-705e228f068640b48a15f11f244d914a |
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 rubber ball
Output:
| [
"#1 return rubber ball \n#2 return color of #1"
] | task176-d867aaab39d3444a8cf73adff87a19ac |
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 silver things?
Output:
| [
"#1 return silver things \n#2 return are there any #1"
] | task176-fd338d16827a41b2b513734844768750 |
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 number of purple objects less than the number of green objects?
Output:
| [
"#1 return objects \n#2 return #1 that are purple \n#3 return #1 that are green \n#4 return number of #2 \n#5 return number of #3 \n#6 return if #4 is less than #5"
] | task176-4b5d46ac4a8d4c308899faf6e42808a5 |
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 participated in the Third Joint Debate at Jonesboro and influenced Walt Whitman's poetry?
Output:
| [
"#1 return Walt Whitman \n#2 return poetry of #1 \n#3 return who influenced #2 \n#4 return #3 that participated in the Third Joint Debate at Jonesboro"
] | task176-23c1765f845d42dda045711da6614054 |
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 exactly six bottles.
Output:
| [
"#1 return bottles \n#2 return number of #1 \n#3 return if #2 is equal to six"
] | task176-f5d250b0b0b6430882c59a0ee7c904e9 |
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 shape closest to the blue sphere
Output:
| [
"#1 return shapes \n#2 return blue sphere \n#3 return #1 that is closest to #2 \n#4 return color of #3"
] | task176-2b39079b81144f04ac08ba55c2292b95 |
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 average amount of transactions for different investors.
Output:
| [
"#1 return investors \n#2 return transactions of #1 \n#3 return amount of #2 \n#4 return average of #3 for each #1"
] | task176-17ceb5aabd4e45df883cacc098549d88 |
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 did the Falcons score in the first half?
Output:
| [
"#1 return the Falcons \n#2 return points of #1 \n#3 return #2 in the first half \n#4 return sum of #3"
] | task176-c2b848c5fa21430db3ebcff596fc3f59 |
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 school did Robert Frost attend that was also founded in 12-13-1769?
Output:
| [
"#1 return Robert Frost \n#2 return school of #1 \n#3 return #2 that was founded in 12-13-1769"
] | task176-e91478db23cb47a8a9abdb0ca76d0015 |
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 people sitting in chairs in the left image.
Output:
| [
"#1 return left image \n#2 return people of #1 \n#3 return chairs \n#4 return if #2 are sitting in #3"
] | task176-31d0f8aeadde421092ef8160b9581137 |
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 basin in the image on the left is set into a counter.
Output:
| [
"#1 return left image \n#2 return basin in #1 \n#3 return counter in #1 \n#4 return if #2 is set into #3"
] | task176-90f491ad7d774f63b4ffd8ff7a0506f3 |
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 ball shiny yellow?
Output:
| [
"#1 return large shiny yellow ball \n#2 return Is there any #1"
] | task176-ffcbd850a0e04f5e9d10d728da778e85 |
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 cubes are matte but not the same size as the nearest sphere?
Output:
| [
"#1 return cubes \n#2 return #1 that are matte \n#3 return sphere \n#4 return #3 that is nearest to #2 \n#5 return sizes of #2 \n#6 return size of #4 \n#7 return #2 where #5 is not the same as #6 \n#8 return number of #7"
] | task176-7f69ca21589644ab94999dbf0866fe54 |
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 small cube behind the large green cube?
Output:
| [
"#1 return cube \n#2 return #1 that is large \n#3 return #2 that is green \n#4 return #1 that is behind of #3 \n#5 return #4 that is small \n#6 return color of #5"
] | task176-4118b6b221f447f3a34ee0fe758324a1 |
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: In which year the Pomeranian Marshal and Wedego Bugenhagen gained the control of Grimmen?
Output:
| [
"#1 return the Pomeranian Marshal and Wedego Bugenhagen gained the control of Grimmen \n#2 return year of #1"
] | task176-c6769c2f5e2642d09f425457acc98548 |
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 wines that are more expensive then all wines made in the year 2006?
Output:
| [
"#1 return wines \n#2 return #1 made in the year 2006 \n#3 return price of #2 \n#4 return the highest #3 \n#5 return price of #1 \n#6 return #1 where #5 is higher than #4 \n#7 return the names of #6"
] | task176-972f32265b43448f901b3c47e66f04a7 |
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: population of erie county new york?
Output:
| [
"#1 return new york \n#2 return county of #1 \n#3 return #2 that is erie county \n#4 return population of #3"
] | task176-c553187d34f54ed8b7c2309f8ad320c9 |
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, the deportation of Arcadians, or King George III issuing the Royal Proclamation?
Output:
| [
"#1 return the deportation of Arcadians \n#2 return King George III issuing the Royal Proclamation \n#3 return when was #1 \n#4 return when was #2 \n#5 return which is the lowest of #3 , #4"
] | task176-1623323e6429476d966803415b8e2dfb |
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: Out of all the balls, what color is the medium sized ball?
Output:
| [
"#1 return balls \n#2 return #1 that is medium sized \n#3 return color of #2"
] | task176-b0497a08e9624b6bac7c809d14249585 |
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 spheres are in the image
Output:
| [
"#1 return spheres in the image \n#2 return number of #1"
] | task176-a50a046be1644461baea26d3e10c0b9c |
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 small cylinder mostly hidden by the cyan cube?
Output:
| [
"#1 return small cylinder \n#2 return cyan cube \n#3 return #1 mostly hidden by #2 \n#4 return color of #3"
] | task176-e6f4f6882cf44b96aea7059cdbca25b0 |
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 stingray facing right in the right image.
Output:
| [
"#1 return right image \n#2 return stingray in #1 \n#3 return #2 that is facing right \n#4 return number of #3 \n#5 return if #4 is at least one"
] | task176-b639a8a1a78f4cdcbbecda754b2752c8 |
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 images there is a bird in a tree with red flowers.
Output:
| [
"#1 return bird \n#2 return tree \n#3 return flowers \n#4 return #3 that are red \n#5 return #2 with #4 \n#6 return #1 in #5 \n#7 return if #6 is in one of the images"
] | task176-7bb5443529764504bb5715980b5f2e4b |
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 all fares between philadelphia and san francisco that are less than 200 dollars one way
Output:
| [
"#1 return flights \n#2 return #1 between philadelphia \n#3 return #2 and san francisco \n#4 return fares of #3 \n#5 return #4 that are lower than 200 dollars \n#6 return #5 that are one way"
] | task176-bf9c381095704769b8cee081aaadd843 |
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 more blue objects than tiny shiny things?
Output:
| [
"#1 return objects \n#2 return #1 that are blue \n#3 return things \n#4 return #3 that are tiny \n#5 return #4 that are shiny \n#6 return number of #2 \n#7 return number of #5 \n#8 return if #6 is more than #7"
] | task176-90c8c45f5a87415282ecddcf326fdae4 |
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 shape of the Cyan item in front of a large sphere?
Output:
| [
"#1 return Cyan item \n#2 return large sphere \n#3 return #1 in front of #2 \n#4 return shape of #3"
] | task176-71903842c8f24687a99e67ace95e7312 |
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 touchdown passes did David Garrard throw?
Output:
| [
"#1 return David Garrard \n#2 return touchdown passes of #1 \n#3 return number of #2"
] | task176-31146849a1fe483d8feac2271b8d1376 |
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 days did it take for the regiment to get from Saipan and Tinian to the Kerama Islands?
Output:
| [
"#1 return the regiment did get from Saipan and Tinian to the Kerama Islands \n#2 return days of #1 \n#3 return number of #2"
] | task176-a1f277165821469081f81822fbc711d7 |
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: Give the names of mountains in alphabetical order.
Output:
| [
"#1 return mountains \n#2 return names of #1 \n#3 return #2 sorted by alphabetical order"
] | task176-65aa106cd7b54b60b016943300ecb229 |
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 two animals in the image on the left.
Output:
| [
"#1 return the left image \n#2 return animals in #1 \n#3 return number of #2 \n#4 return if #3 is equal to two"
] | task176-e0e6924fab01433f861a5a6cb0f4a892 |
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 all sailboats have at least four sails.
Output:
| [
"#1 return sailboats \n#2 return sails of #1 \n#3 return number of #2 for each #1 \n#4 return #1 where #3 is at least four \n#5 return number of #1 \n#6 return number of #4 \n#7 return if #6 is equal to #5"
] | task176-f229e5671e98495491852a6f0d93d331 |
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 exactly three towels in the right image.
Output:
| [
"#1 return right image \n#2 return towels in #1 \n#3 return number of #2 \n#4 return if #3 is equal to three"
] | task176-bee51efd7d2443af85211f91b5b0dc40 |
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 yards longer was Ochocinco's second half touchdown compared to his first half touchdown?
Output:
| [
"#1 return Ochocinco \n#2 return touchdowns of #1 \n#3 return #2 in the second half \n#4 return #2 in the first half \n#5 return yards of #3 \n#6 return yards of #4 \n#7 return the difference of #5 and #6"
] | task176-6199f31e6b154837a5105404b219be9f |
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: Where did the British have their Spheres of influence, Malay Peninsula or East Indies??
Output:
| [
"#1 return the British \n#2 return the Spheres of influence of #1 \n#3 return where was #2 \n#4 return if #3 was the Malay Peninsula \n#5 return if #3 was the East Indies \n#6 return which is true of #4 , #5"
] | task176-7afaef5d2e514e6f9d07e00a6a894824 |
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 drain in the bottom of the basin is visible in the image on the right.
Output:
| [
"#1 return right image \n#2 return basin in #1 \n#3 return bottom of #2 \n#4 return drain in #3 \n#5 return if #4 is visible"
] | task176-747eaac36f474bf6b9588aae7b6e2b91 |
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 exactly two acorns in the left image.
Output:
| [
"#1 return the left image \n#2 return acorns in #1 \n#3 return number of #2 \n#4 return if #3 is equal to two"
] | task176-e58e0848fbbd48a79d4d6d6a851f149d |
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 dog in one of the images is sitting and looking toward the camera.
Output:
| [
"#1 return dog \n#2 return #1 that is sitting \n#3 return #2 that is looking toward the camera \n#4 return if #3 is in one of the images"
] | task176-718ad5cea096434a9eb733efcbf4b1b1 |
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 image the truck towing a second blade and salt bin has a yellow cab and gray body.
Output:
| [
"#1 return truck \n#2 return second blade \n#3 return salt bin \n#4 return #1 towing #2 \n#5 return #1 towing #3 \n#6 return #1 in both #4 and #5 \n#7 return cab of #6 \n#8 return #6 where #7 is yellow \n#9 return body of #8 \n#10 return #8 where #9 is gray \n#11 return if #10 is in one image"
] | task176-6056c13aa5cb4a53823c256ab460ee6a |