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: Find the names of all the tracks that contain the word "you".
Output:
| [
"#1 return tracks \n#2 return #1 that contain the word you \n#3 return names of #2"
] | task176-dbeb336c89e74dd2adc9fe0fead5095d |
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 sphere on the far left the same material as the cylinder nearest it?
Output:
| [
"#1 return spheres \n#2 return #1 that are on the far left \n#3 return material of #2 \n#4 return cylinders \n#5 return #4 nearest to #2 \n#6 return material of #5 \n#7 return if #3 is the same as #6"
] | task176-1322d5fe8381462081191d86a146d5fd |
Definition: In this task you will break down a question into the basic steps required to answer it.
A question decomposition is a numbered list of operations that must be performed to answer the original question. Imagine explaining your question to a friendly droid by listing each action it should take in order for the question to be answered. Each step in our decomposition should refer to either an entity (known or unknown), a propery of an entity or a query operation (count, group, union, etc.)
Here are the list of step templates and their description:
Select: A select step is used to return a set of objects. There are no references to previous steps in a select step. template: Return [attributes]
Filter: A filter step is used to return results from a previous step to which a certain condition applies. template: Return [#step] [condition]
Project: A project step should return certain attributes of the results of a previous step. template: Return [attributes] of [#step]
Aggregate: An aggregate step returns an aggregator function applied on a step's result. template: Return the [aggregator] of [#step].
Group: A group step is an aggregator applied on attributes. template: Return the [aggregator] of [#step] for each [attribute]
Superlative: A superlative step is used to return the result with a highest/lowest attribute among other results. template: Return [#step1] [where] [#step2] [is] [highest / lowest]
Comparative: A comparative step is used when we need to compare an attribute with a number to filter results. template: Return [#step1] [where] [#step2] [comparator] [number]
Union: A union step is used to return results of two steps together. template: Return [#step1] [or / ,] [#step2]
Intersection: An intersection step returns the result that two steps have in common. template: Return [attribute] of both [#step1] and [#step2]
Discard: A discard step returns result of a step and excludes result of another step from it. template: Return [#step1] besides [#step2]
Sort: A sort returns result of another step in a specific order. template: Return [#step1] [ordered / sorted by] [#step2]
Is true: An is true step checks a condition on another result and returns a true or false. template: Return [is / if] [condition]
Arithmetic: An arithmatic step operates an arithmatic operation on one or more steps. template: Return the [arithmetic op.] of [#step1] [and] [#step2].
Positive Example 1 -
Input: question: What are the distinct creation years of the departments managed by a secretary born in state 'Alabama'?
Output: #1 return secretaries
#2 return #1 born in state 'Alabama
#3 return departments managed by #2
#4 return distinct creation years of #3
Positive Example 2 -
Input: question: i'd like to see flights from baltimore to atlanta that arrive before noon and i'd like to see flights from denver to atlanta that arrive before noon
Output: #1 return flights
#2 return #1 from baltimore
#3 return #2 to atlanta
#4 return #3 that arrive before noon
#5 return #1 from denver
#6 return #5 to atlanta
#7 return #6 that arrive before noon
#8 return #4 , #7
Negative Example 1 -
Input: question: show the name of all bridges that was designed by american archtect, and sort the result by the bridge feet length.
Output: #1 return american archtects
#2 return bridges
#3 return sorted by feet length
Negative Example 2 -
Input: question: What is the average price for a lesson taught by Janessa Sawayn?
Output: #1 return price for lessons taught by Janessa Sawayn
#2 return the average of #1
Now complete the following example -
Input: question: who is chris brown sibling name?
Output:
| [
"#1 return chris brown \n#2 return sibling of #1"
] | task176-648bf8a7baaf4a418c1b5196355f3769 |
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 at least one image shows a dispenser that is designed to be hung on the wall and fits rectangular napkins.
Output:
| [
"#1 return dispenser \n#2 return the wall \n#3 return #1 designed to be hung on #2 \n#4 return napkins \n#5 return #4 that are rectangular \n#6 return #3 that fits #5 \n#7 return if #6 is in at least one image"
] | task176-944935aed2ea4dc6afb56d6105132d15 |
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: Was more of the population under the age of 18 or between 18 to 24?
Output:
| [
"#1 return the population \n#2 return ages of #1 \n#3 return #1 where #2 is lower than 18 \n#4 return #1 where #2 is higher than 18 \n#5 return #4 where #2 is lower than 24 \n#6 return number of #3 \n#7 return number of #5 \n#8 return which is highest of #6 , #7"
] | task176-c758462b61e04d859fdeac2c9d1f59ab |
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: prime minister in canada?
Output:
| [
"#1 return canada \n#2 return prime minister of #1"
] | task176-4c2b62ea321f49a5a8a21f07edb9e680 |
Definition: In this task you will break down a question into the basic steps required to answer it.
A question decomposition is a numbered list of operations that must be performed to answer the original question. Imagine explaining your question to a friendly droid by listing each action it should take in order for the question to be answered. Each step in our decomposition should refer to either an entity (known or unknown), a propery of an entity or a query operation (count, group, union, etc.)
Here are the list of step templates and their description:
Select: A select step is used to return a set of objects. There are no references to previous steps in a select step. template: Return [attributes]
Filter: A filter step is used to return results from a previous step to which a certain condition applies. template: Return [#step] [condition]
Project: A project step should return certain attributes of the results of a previous step. template: Return [attributes] of [#step]
Aggregate: An aggregate step returns an aggregator function applied on a step's result. template: Return the [aggregator] of [#step].
Group: A group step is an aggregator applied on attributes. template: Return the [aggregator] of [#step] for each [attribute]
Superlative: A superlative step is used to return the result with a highest/lowest attribute among other results. template: Return [#step1] [where] [#step2] [is] [highest / lowest]
Comparative: A comparative step is used when we need to compare an attribute with a number to filter results. template: Return [#step1] [where] [#step2] [comparator] [number]
Union: A union step is used to return results of two steps together. template: Return [#step1] [or / ,] [#step2]
Intersection: An intersection step returns the result that two steps have in common. template: Return [attribute] of both [#step1] and [#step2]
Discard: A discard step returns result of a step and excludes result of another step from it. template: Return [#step1] besides [#step2]
Sort: A sort returns result of another step in a specific order. template: Return [#step1] [ordered / sorted by] [#step2]
Is true: An is true step checks a condition on another result and returns a true or false. template: Return [is / if] [condition]
Arithmetic: An arithmatic step operates an arithmatic operation on one or more steps. template: Return the [arithmetic op.] of [#step1] [and] [#step2].
Positive Example 1 -
Input: question: What are the distinct creation years of the departments managed by a secretary born in state 'Alabama'?
Output: #1 return secretaries
#2 return #1 born in state 'Alabama
#3 return departments managed by #2
#4 return distinct creation years of #3
Positive Example 2 -
Input: question: i'd like to see flights from baltimore to atlanta that arrive before noon and i'd like to see flights from denver to atlanta that arrive before noon
Output: #1 return flights
#2 return #1 from baltimore
#3 return #2 to atlanta
#4 return #3 that arrive before noon
#5 return #1 from denver
#6 return #5 to atlanta
#7 return #6 that arrive before noon
#8 return #4 , #7
Negative Example 1 -
Input: question: show the name of all bridges that was designed by american archtect, and sort the result by the bridge feet length.
Output: #1 return american archtects
#2 return bridges
#3 return sorted by feet length
Negative Example 2 -
Input: question: What is the average price for a lesson taught by Janessa Sawayn?
Output: #1 return price for lessons taught by Janessa Sawayn
#2 return the average of #1
Now complete the following example -
Input: question: If three or more fingers are visible.
Output:
| [
"#1 return fingers \n#2 return #1 that are visible \n#3 return number of #2 \n#4 return if #3 is at least three"
] | task176-dd1c980323b9427087eaa95eadd70046 |
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 eighty percent of the items shown here also matte items?
Output:
| [
"#1 return items shown here \n#2 return #1 that are matte \n#3 return number of #1 \n#4 return number of #2 \n#5 return the division of #4 and #3 \n#6 return #5 in percent \n#7 return if #6 is eighty"
] | task176-fd9e76ccf9734cb1aadfa6d8b3571296 |
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 panda is resting its chin.
Output:
| [
"#1 return panda \n#2 return chin of #1 \n#3 return if #1 is resting #2"
] | task176-11cf3fd0a9c34962bb519866a14cd8f9 |
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 left image shows a person standing behind a left-turned cocker spaniel, holding its chin and tail by a hand.
Output:
| [
"#1 return cocker spaniel \n#2 return #1 that is left-turned \n#3 return chin of #2 \n#4 return tail of #2 \n#5 return person \n#6 return #5 standing behind #2 \n#7 return hand of #6 \n#8 return #6 holding #3 by #7 \n#9 return #6 holding #4 by #7 \n#10 return #6 in both #8 and #9 \n#11 return if #10 is in the left image"
] | task176-5dd8103b3013460091fd42efee025789 |
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 aircraft types that fly between boston and san francisco
Output:
| [
"#1 return aircraft \n#2 return #1 that fly between boston and san francisco \n#3 return types of #2"
] | task176-b64ae9bab7d940948525258fdba03a22 |
Definition: In this task you will break down a question into the basic steps required to answer it.
A question decomposition is a numbered list of operations that must be performed to answer the original question. Imagine explaining your question to a friendly droid by listing each action it should take in order for the question to be answered. Each step in our decomposition should refer to either an entity (known or unknown), a propery of an entity or a query operation (count, group, union, etc.)
Here are the list of step templates and their description:
Select: A select step is used to return a set of objects. There are no references to previous steps in a select step. template: Return [attributes]
Filter: A filter step is used to return results from a previous step to which a certain condition applies. template: Return [#step] [condition]
Project: A project step should return certain attributes of the results of a previous step. template: Return [attributes] of [#step]
Aggregate: An aggregate step returns an aggregator function applied on a step's result. template: Return the [aggregator] of [#step].
Group: A group step is an aggregator applied on attributes. template: Return the [aggregator] of [#step] for each [attribute]
Superlative: A superlative step is used to return the result with a highest/lowest attribute among other results. template: Return [#step1] [where] [#step2] [is] [highest / lowest]
Comparative: A comparative step is used when we need to compare an attribute with a number to filter results. template: Return [#step1] [where] [#step2] [comparator] [number]
Union: A union step is used to return results of two steps together. template: Return [#step1] [or / ,] [#step2]
Intersection: An intersection step returns the result that two steps have in common. template: Return [attribute] of both [#step1] and [#step2]
Discard: A discard step returns result of a step and excludes result of another step from it. template: Return [#step1] besides [#step2]
Sort: A sort returns result of another step in a specific order. template: Return [#step1] [ordered / sorted by] [#step2]
Is true: An is true step checks a condition on another result and returns a true or false. template: Return [is / if] [condition]
Arithmetic: An arithmatic step operates an arithmatic operation on one or more steps. template: Return the [arithmetic op.] of [#step1] [and] [#step2].
Positive Example 1 -
Input: question: What are the distinct creation years of the departments managed by a secretary born in state 'Alabama'?
Output: #1 return secretaries
#2 return #1 born in state 'Alabama
#3 return departments managed by #2
#4 return distinct creation years of #3
Positive Example 2 -
Input: question: i'd like to see flights from baltimore to atlanta that arrive before noon and i'd like to see flights from denver to atlanta that arrive before noon
Output: #1 return flights
#2 return #1 from baltimore
#3 return #2 to atlanta
#4 return #3 that arrive before noon
#5 return #1 from denver
#6 return #5 to atlanta
#7 return #6 that arrive before noon
#8 return #4 , #7
Negative Example 1 -
Input: question: show the name of all bridges that was designed by american archtect, and sort the result by the bridge feet length.
Output: #1 return american archtects
#2 return bridges
#3 return sorted by feet length
Negative Example 2 -
Input: question: What is the average price for a lesson taught by Janessa Sawayn?
Output: #1 return price for lessons taught by Janessa Sawayn
#2 return the average of #1
Now complete the following example -
Input: question: How many different projects are there?
Output:
| [
"#1 return projects \n#2 return different #1 \n#3 return number of #2"
] | task176-a47d1852fcfc4eaf9075530f95387725 |
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 large metallic objects all the same shape?
Output:
| [
"#1 return large objects \n#2 return #1 that are metallic \n#3 return shapes of #2 \n#4 return are #3 all the same"
] | task176-a02bfb0bbf8d4d44a7e6aefcdeb7099a |
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 two puppies are atanding next to each other on the grass looking upward
Output:
| [
"#1 return puppies \n#2 return #1 atanding next to each other \n#3 return the grass \n#4 return #2 on #3 \n#5 return #4 that are looking upward \n#6 return number of #5 \n#7 return if #6 is equal to two"
] | task176-fbded49356584ae398e2786848ec39be |
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 the sails are white.
Output:
| [
"#1 return sails \n#2 return #1 that are white \n#3 return number of #1 \n#4 return number of #2 \n#5 return if #3 is equal to #4"
] | task176-255d17186dc640a99dcd3cb8fbdda585 |
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 names of buildings except for those having an institution founded in 2003.
Output:
| [
"#1 return institutions \n#2 return #1 not founded in 2003 \n#3 return the buildings of #2 \n#4 return the names of #3"
] | task176-0ca6e2f278bf44a69e1ab94673a2a989 |
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 Kris Brown score in the second quarter?
Output:
| [
"#1 return Kris Brown \n#2 return field goals of #1 \n#3 return #2 in the second quarter \n#4 return number of #3"
] | task176-6a0f522607dc4207ace9b551f6521575 |
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 time zone covers the Bahamas as well as Darvils, Virginia?
Output:
| [
"#1 return the Bahamas \n#2 return Darvils , Virginia \n#3 return time zone of both #1 and #2"
] | task176-d1c26874349b43889893ee0571d0dcb7 |
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 airline dl
Output:
| [
"#1 return airline dl \n#2 return what is #1"
] | task176-d7ed253f8407471f9d7870fca50b12f9 |
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 flutes.
Output:
| [
"#1 return flutes \n#2 return number of #1 \n#3 return If #2 is equal to two"
] | task176-ac4e69bb1c414b0bbbdb3faac8bd7bdf |
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 wins do the Dolphins have for the season?
Output:
| [
"#1 return the Dolphins \n#2 return wins of #1 \n#3 return #2 for the season \n#4 return number of #3"
] | task176-710932fbf3114c6abcbf2db306a881dc |
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 the windows are covered.
Output:
| [
"#1 return windows \n#2 return #1 that are covered \n#3 return number of #1 \n#4 return number of #2 \n#5 return if #3 is equal to #4"
] | task176-bc61793017694f85b1d4f2b4e0fce53f |
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 style of music does the artist of "Third Stone from the Sun" play?
Output:
| [
"#1 return Third Stone from the Sun \n#2 return artist of #1 \n#3 return style of music of #2"
] | task176-983bc753fb914b3aac340b55587771c2 |
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 what JJ Abrams movie was Kim Libreri a crew member?
Output:
| [
"#1 return JJ Abrams \n#2 return movies of #1 \n#3 return crew members of #2 \n#4 return #2 where any of #3 is Kim Libreri"
] | task176-85b16fddbe6e42d092c61cf85f9159b3 |
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 language is used in both Guyana and Buffyverse?
Output:
| [
"#1 return Guyana \n#2 return Buffyverse \n#3 return languages of both #1 and #2"
] | task176-f8c94dbf624945febaf539f5b9c9a595 |
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 image on the left depicts just 4 balloons.
Output:
| [
"#1 return the image on the left \n#2 return balloons in #1 \n#3 return number of #2 \n#4 return if #3 is equal to 4"
] | task176-5d115c41651b4f4fb83acaa2eb628c6b |
Definition: In this task you will break down a question into the basic steps required to answer it.
A question decomposition is a numbered list of operations that must be performed to answer the original question. Imagine explaining your question to a friendly droid by listing each action it should take in order for the question to be answered. Each step in our decomposition should refer to either an entity (known or unknown), a propery of an entity or a query operation (count, group, union, etc.)
Here are the list of step templates and their description:
Select: A select step is used to return a set of objects. There are no references to previous steps in a select step. template: Return [attributes]
Filter: A filter step is used to return results from a previous step to which a certain condition applies. template: Return [#step] [condition]
Project: A project step should return certain attributes of the results of a previous step. template: Return [attributes] of [#step]
Aggregate: An aggregate step returns an aggregator function applied on a step's result. template: Return the [aggregator] of [#step].
Group: A group step is an aggregator applied on attributes. template: Return the [aggregator] of [#step] for each [attribute]
Superlative: A superlative step is used to return the result with a highest/lowest attribute among other results. template: Return [#step1] [where] [#step2] [is] [highest / lowest]
Comparative: A comparative step is used when we need to compare an attribute with a number to filter results. template: Return [#step1] [where] [#step2] [comparator] [number]
Union: A union step is used to return results of two steps together. template: Return [#step1] [or / ,] [#step2]
Intersection: An intersection step returns the result that two steps have in common. template: Return [attribute] of both [#step1] and [#step2]
Discard: A discard step returns result of a step and excludes result of another step from it. template: Return [#step1] besides [#step2]
Sort: A sort returns result of another step in a specific order. template: Return [#step1] [ordered / sorted by] [#step2]
Is true: An is true step checks a condition on another result and returns a true or false. template: Return [is / if] [condition]
Arithmetic: An arithmatic step operates an arithmatic operation on one or more steps. template: Return the [arithmetic op.] of [#step1] [and] [#step2].
Positive Example 1 -
Input: question: What are the distinct creation years of the departments managed by a secretary born in state 'Alabama'?
Output: #1 return secretaries
#2 return #1 born in state 'Alabama
#3 return departments managed by #2
#4 return distinct creation years of #3
Positive Example 2 -
Input: question: i'd like to see flights from baltimore to atlanta that arrive before noon and i'd like to see flights from denver to atlanta that arrive before noon
Output: #1 return flights
#2 return #1 from baltimore
#3 return #2 to atlanta
#4 return #3 that arrive before noon
#5 return #1 from denver
#6 return #5 to atlanta
#7 return #6 that arrive before noon
#8 return #4 , #7
Negative Example 1 -
Input: question: show the name of all bridges that was designed by american archtect, and sort the result by the bridge feet length.
Output: #1 return american archtects
#2 return bridges
#3 return sorted by feet length
Negative Example 2 -
Input: question: What is the average price for a lesson taught by Janessa Sawayn?
Output: #1 return price for lessons taught by Janessa Sawayn
#2 return the average of #1
Now complete the following example -
Input: question: If an image shows a single, standing dog, with its body turned rightward and some kind of """"strap"""" around part of its body.
Output:
| [
"#1 return dog \n#2 return #1 that is standing \n#3 return body of #2 \n#4 return #2 where #3 is turned rightward \n#5 return some kind of strap \n#6 return #5 that is around part of #3 \n#7 return #4 that has #6 \n#8 return images \n#9 return number of #7 for each #8 \n#10 return #8 where #9 is equal to one \n#11 return number of #10 \n#12 return if #11 is at least one"
] | task176-117fd9fef7304d6798cc8b0794b7ca48 |
Definition: In this task you will break down a question into the basic steps required to answer it.
A question decomposition is a numbered list of operations that must be performed to answer the original question. Imagine explaining your question to a friendly droid by listing each action it should take in order for the question to be answered. Each step in our decomposition should refer to either an entity (known or unknown), a propery of an entity or a query operation (count, group, union, etc.)
Here are the list of step templates and their description:
Select: A select step is used to return a set of objects. There are no references to previous steps in a select step. template: Return [attributes]
Filter: A filter step is used to return results from a previous step to which a certain condition applies. template: Return [#step] [condition]
Project: A project step should return certain attributes of the results of a previous step. template: Return [attributes] of [#step]
Aggregate: An aggregate step returns an aggregator function applied on a step's result. template: Return the [aggregator] of [#step].
Group: A group step is an aggregator applied on attributes. template: Return the [aggregator] of [#step] for each [attribute]
Superlative: A superlative step is used to return the result with a highest/lowest attribute among other results. template: Return [#step1] [where] [#step2] [is] [highest / lowest]
Comparative: A comparative step is used when we need to compare an attribute with a number to filter results. template: Return [#step1] [where] [#step2] [comparator] [number]
Union: A union step is used to return results of two steps together. template: Return [#step1] [or / ,] [#step2]
Intersection: An intersection step returns the result that two steps have in common. template: Return [attribute] of both [#step1] and [#step2]
Discard: A discard step returns result of a step and excludes result of another step from it. template: Return [#step1] besides [#step2]
Sort: A sort returns result of another step in a specific order. template: Return [#step1] [ordered / sorted by] [#step2]
Is true: An is true step checks a condition on another result and returns a true or false. template: Return [is / if] [condition]
Arithmetic: An arithmatic step operates an arithmatic operation on one or more steps. template: Return the [arithmetic op.] of [#step1] [and] [#step2].
Positive Example 1 -
Input: question: What are the distinct creation years of the departments managed by a secretary born in state 'Alabama'?
Output: #1 return secretaries
#2 return #1 born in state 'Alabama
#3 return departments managed by #2
#4 return distinct creation years of #3
Positive Example 2 -
Input: question: i'd like to see flights from baltimore to atlanta that arrive before noon and i'd like to see flights from denver to atlanta that arrive before noon
Output: #1 return flights
#2 return #1 from baltimore
#3 return #2 to atlanta
#4 return #3 that arrive before noon
#5 return #1 from denver
#6 return #5 to atlanta
#7 return #6 that arrive before noon
#8 return #4 , #7
Negative Example 1 -
Input: question: show the name of all bridges that was designed by american archtect, and sort the result by the bridge feet length.
Output: #1 return american archtects
#2 return bridges
#3 return sorted by feet length
Negative Example 2 -
Input: question: What is the average price for a lesson taught by Janessa Sawayn?
Output: #1 return price for lessons taught by Janessa Sawayn
#2 return the average of #1
Now complete the following example -
Input: question: If there are more than two dispensers.
Output:
| [
"#1 return dispensers \n#2 return number of #1 \n#3 return if #2 is higher than two"
] | task176-1342995cbf8b4ffda5d9a9767224c507 |
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 years was Lodz the site for a terrorist group?
Output:
| [
"#1 return Lodz was the site For a terrorist group \n#2 return years of #1 \n#3 return number of #2"
] | task176-e226395996c445d6a3945e48a332209c |
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 any of the objects behind the blue cube the same as any of the objects to the left of the cube?
Output:
| [
"#1 return objects \n#2 return blue cube \n#3 return #1 behind #2 \n#4 return #1 to the left of #2 \n#5 return are any of #3 the same as #4"
] | task176-e04d37dea4a443ff86d5af6ec6a41206 |
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: norway' highest elevation?
Output:
| [
"#1 return norway \n#2 return elevations of #1 \n#3 return highest of #2"
] | task176-16dbe4d0a9e040d3b2df50b4a21a5257 |
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: Did more households have a car in 2015 or in 2016?
Output:
| [
"#1 return households in 2015 \n#2 return households in 2016 \n#3 return #1 that have a car \n#4 return #2 that have a car \n#5 return number of #3 \n#6 return number of #4 \n#7 return which is more of #5 , #6"
] | task176-b386ce39ba6f48fdb1c4a48f493b1f0b |
Definition: In this task you will break down a question into the basic steps required to answer it.
A question decomposition is a numbered list of operations that must be performed to answer the original question. Imagine explaining your question to a friendly droid by listing each action it should take in order for the question to be answered. Each step in our decomposition should refer to either an entity (known or unknown), a propery of an entity or a query operation (count, group, union, etc.)
Here are the list of step templates and their description:
Select: A select step is used to return a set of objects. There are no references to previous steps in a select step. template: Return [attributes]
Filter: A filter step is used to return results from a previous step to which a certain condition applies. template: Return [#step] [condition]
Project: A project step should return certain attributes of the results of a previous step. template: Return [attributes] of [#step]
Aggregate: An aggregate step returns an aggregator function applied on a step's result. template: Return the [aggregator] of [#step].
Group: A group step is an aggregator applied on attributes. template: Return the [aggregator] of [#step] for each [attribute]
Superlative: A superlative step is used to return the result with a highest/lowest attribute among other results. template: Return [#step1] [where] [#step2] [is] [highest / lowest]
Comparative: A comparative step is used when we need to compare an attribute with a number to filter results. template: Return [#step1] [where] [#step2] [comparator] [number]
Union: A union step is used to return results of two steps together. template: Return [#step1] [or / ,] [#step2]
Intersection: An intersection step returns the result that two steps have in common. template: Return [attribute] of both [#step1] and [#step2]
Discard: A discard step returns result of a step and excludes result of another step from it. template: Return [#step1] besides [#step2]
Sort: A sort returns result of another step in a specific order. template: Return [#step1] [ordered / sorted by] [#step2]
Is true: An is true step checks a condition on another result and returns a true or false. template: Return [is / if] [condition]
Arithmetic: An arithmatic step operates an arithmatic operation on one or more steps. template: Return the [arithmetic op.] of [#step1] [and] [#step2].
Positive Example 1 -
Input: question: What are the distinct creation years of the departments managed by a secretary born in state 'Alabama'?
Output: #1 return secretaries
#2 return #1 born in state 'Alabama
#3 return departments managed by #2
#4 return distinct creation years of #3
Positive Example 2 -
Input: question: i'd like to see flights from baltimore to atlanta that arrive before noon and i'd like to see flights from denver to atlanta that arrive before noon
Output: #1 return flights
#2 return #1 from baltimore
#3 return #2 to atlanta
#4 return #3 that arrive before noon
#5 return #1 from denver
#6 return #5 to atlanta
#7 return #6 that arrive before noon
#8 return #4 , #7
Negative Example 1 -
Input: question: show the name of all bridges that was designed by american archtect, and sort the result by the bridge feet length.
Output: #1 return american archtects
#2 return bridges
#3 return sorted by feet length
Negative Example 2 -
Input: question: What is the average price for a lesson taught by Janessa Sawayn?
Output: #1 return price for lessons taught by Janessa Sawayn
#2 return the average of #1
Now complete the following example -
Input: question: What is the average prices of wines for each each?
Output:
| [
"#1 return wines \n#2 return prices of #1 \n#3 return average of #2 for each #1"
] | task176-752492699b614b8eb8f9199b3c7709d5 |
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 the average, maximum, and minimum budgets in millions for movies made before the year 2000.
Output:
| [
"#1 return movies \n#2 return years made of #1 \n#3 return #1 where #2 is before 2000 \n#4 return budgets in millions of #3 \n#5 return average of #4 \n#6 return maximum of #4 \n#7 return minimum of #4 \n#8 return #5 , #6 , #7"
] | task176-7542fa180ce14bca9c393b7879c984ec |
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 metallic spheres are in the image?
Output:
| [
"#1 return metallic spheres \n#2 return number of #1"
] | task176-f64ec25cb8c34f54b2131c6bf930655b |
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 names of parties that does not have any members.
Output:
| [
"#1 return parties \n#2 return #1 that do not have any members \n#3 return names of #2"
] | task176-eeb0beffdc9f4cd5aa8e90cf43f873e4 |
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 contains twice as many pandas as the other image and features two pandas facing generally toward each other.
Output:
| [
"#1 return one image \n#2 return pandas in #1 \n#3 return #2 that are facing generally toward each other \n#4 return number of #2 \n#5 return number of #3 \n#6 return if #5 is equal to two \n#7 return the other image \n#8 return pandas in #7 \n#9 return number of #8 \n#10 return the division of #4 and #9 \n#11 return if #10 is equal to two \n#12 return if both #11 and #6 are true"
] | task176-a0fb0c06f8ad4b4a8cb311964ed2365a |
Definition: In this task you will break down a question into the basic steps required to answer it.
A question decomposition is a numbered list of operations that must be performed to answer the original question. Imagine explaining your question to a friendly droid by listing each action it should take in order for the question to be answered. Each step in our decomposition should refer to either an entity (known or unknown), a propery of an entity or a query operation (count, group, union, etc.)
Here are the list of step templates and their description:
Select: A select step is used to return a set of objects. There are no references to previous steps in a select step. template: Return [attributes]
Filter: A filter step is used to return results from a previous step to which a certain condition applies. template: Return [#step] [condition]
Project: A project step should return certain attributes of the results of a previous step. template: Return [attributes] of [#step]
Aggregate: An aggregate step returns an aggregator function applied on a step's result. template: Return the [aggregator] of [#step].
Group: A group step is an aggregator applied on attributes. template: Return the [aggregator] of [#step] for each [attribute]
Superlative: A superlative step is used to return the result with a highest/lowest attribute among other results. template: Return [#step1] [where] [#step2] [is] [highest / lowest]
Comparative: A comparative step is used when we need to compare an attribute with a number to filter results. template: Return [#step1] [where] [#step2] [comparator] [number]
Union: A union step is used to return results of two steps together. template: Return [#step1] [or / ,] [#step2]
Intersection: An intersection step returns the result that two steps have in common. template: Return [attribute] of both [#step1] and [#step2]
Discard: A discard step returns result of a step and excludes result of another step from it. template: Return [#step1] besides [#step2]
Sort: A sort returns result of another step in a specific order. template: Return [#step1] [ordered / sorted by] [#step2]
Is true: An is true step checks a condition on another result and returns a true or false. template: Return [is / if] [condition]
Arithmetic: An arithmatic step operates an arithmatic operation on one or more steps. template: Return the [arithmetic op.] of [#step1] [and] [#step2].
Positive Example 1 -
Input: question: What are the distinct creation years of the departments managed by a secretary born in state 'Alabama'?
Output: #1 return secretaries
#2 return #1 born in state 'Alabama
#3 return departments managed by #2
#4 return distinct creation years of #3
Positive Example 2 -
Input: question: i'd like to see flights from baltimore to atlanta that arrive before noon and i'd like to see flights from denver to atlanta that arrive before noon
Output: #1 return flights
#2 return #1 from baltimore
#3 return #2 to atlanta
#4 return #3 that arrive before noon
#5 return #1 from denver
#6 return #5 to atlanta
#7 return #6 that arrive before noon
#8 return #4 , #7
Negative Example 1 -
Input: question: show the name of all bridges that was designed by american archtect, and sort the result by the bridge feet length.
Output: #1 return american archtects
#2 return bridges
#3 return sorted by feet length
Negative Example 2 -
Input: question: What is the average price for a lesson taught by Janessa Sawayn?
Output: #1 return price for lessons taught by Janessa Sawayn
#2 return the average of #1
Now complete the following example -
Input: question: If both images show multiple monkeys in pools of water.
Output:
| [
"#1 return monkeys \n#2 return pools of water \n#3 return #1 in #2 \n#4 return images of #3 \n#5 return number of #3 for each #4 \n#6 return #4 where #5 is higher than two \n#7 return number of #6 \n#8 return if #7 is equal to two"
] | task176-51cfd5910c764f5faebff24946f98535 |
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 team allowed the most points at the half?
Output:
| [
"#1 return teams \n#2 return points allowed of #1 \n#3 return #2 at the half \n#4 return sum of #3 for each #1 \n#5 return #1 where #4 is highest"
] | task176-a084423d869b47fbb3b9ca7f7415e695 |
Definition: In this task you will break down a question into the basic steps required to answer it.
A question decomposition is a numbered list of operations that must be performed to answer the original question. Imagine explaining your question to a friendly droid by listing each action it should take in order for the question to be answered. Each step in our decomposition should refer to either an entity (known or unknown), a propery of an entity or a query operation (count, group, union, etc.)
Here are the list of step templates and their description:
Select: A select step is used to return a set of objects. There are no references to previous steps in a select step. template: Return [attributes]
Filter: A filter step is used to return results from a previous step to which a certain condition applies. template: Return [#step] [condition]
Project: A project step should return certain attributes of the results of a previous step. template: Return [attributes] of [#step]
Aggregate: An aggregate step returns an aggregator function applied on a step's result. template: Return the [aggregator] of [#step].
Group: A group step is an aggregator applied on attributes. template: Return the [aggregator] of [#step] for each [attribute]
Superlative: A superlative step is used to return the result with a highest/lowest attribute among other results. template: Return [#step1] [where] [#step2] [is] [highest / lowest]
Comparative: A comparative step is used when we need to compare an attribute with a number to filter results. template: Return [#step1] [where] [#step2] [comparator] [number]
Union: A union step is used to return results of two steps together. template: Return [#step1] [or / ,] [#step2]
Intersection: An intersection step returns the result that two steps have in common. template: Return [attribute] of both [#step1] and [#step2]
Discard: A discard step returns result of a step and excludes result of another step from it. template: Return [#step1] besides [#step2]
Sort: A sort returns result of another step in a specific order. template: Return [#step1] [ordered / sorted by] [#step2]
Is true: An is true step checks a condition on another result and returns a true or false. template: Return [is / if] [condition]
Arithmetic: An arithmatic step operates an arithmatic operation on one or more steps. template: Return the [arithmetic op.] of [#step1] [and] [#step2].
Positive Example 1 -
Input: question: What are the distinct creation years of the departments managed by a secretary born in state 'Alabama'?
Output: #1 return secretaries
#2 return #1 born in state 'Alabama
#3 return departments managed by #2
#4 return distinct creation years of #3
Positive Example 2 -
Input: question: i'd like to see flights from baltimore to atlanta that arrive before noon and i'd like to see flights from denver to atlanta that arrive before noon
Output: #1 return flights
#2 return #1 from baltimore
#3 return #2 to atlanta
#4 return #3 that arrive before noon
#5 return #1 from denver
#6 return #5 to atlanta
#7 return #6 that arrive before noon
#8 return #4 , #7
Negative Example 1 -
Input: question: show the name of all bridges that was designed by american archtect, and sort the result by the bridge feet length.
Output: #1 return american archtects
#2 return bridges
#3 return sorted by feet length
Negative Example 2 -
Input: question: What is the average price for a lesson taught by Janessa Sawayn?
Output: #1 return price for lessons taught by Janessa Sawayn
#2 return the average of #1
Now complete the following example -
Input: question: what shape is the only obscured object?
Output:
| [
"#1 return objects \n#2 return #1 that is obscured \n#3 return shape of #2"
] | task176-e47cbebd1b414d77971e57d85d171526 |
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 material is the smallestt cube made of?
Output:
| [
"#1 return cubes \n#2 return size of #1 \n#3 return #1 where #2 is smallestt \n#4 return material of #3"
] | task176-649cd3be677549ee94622a90f5b24550 |
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 starting years shared by the technicians from the team "CLE" or "CWS"?
Output:
| [
"#1 return team \n#2 return #1 CLE \n#3 return #1 CWS \n#4 return #2 , #3 \n#5 return technicians from #4 \n#6 return starting years of #5"
] | task176-3838275fa07b4c6b836e5e8838066ef6 |
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 stands in profile on the grass with its tail extended.
Output:
| [
"#1 return dog \n#2 return #1 that stands in profile \n#3 return grass \n#4 return #2 that is on #3 \n#5 return tail of #4 \n#6 return If #5 is extended"
] | task176-6a2252f399bf4383980a0edb15811043 |
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 the flights from montreal to detroit
Output:
| [
"#1 return flights \n#2 return #1 from montreal \n#3 return #2 to detroit"
] | task176-f297ac61e2a2404cab8d8c64cbd0edef |
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 furthest left shape
Output:
| [
"#1 return shapes \n#2 return #1 that is furthest left"
] | task176-f11f525b948544219dbfae7a8834053d |
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 age of student Linda Smith?
Output:
| [
"#1 return student \n#2 return #1 that is Linda Smith \n#3 return age of #2"
] | task176-c96036edfe6d4dd7a19ea41d13cb252e |
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 different names for all songs that have a higher resolution than English songs?
Output:
| [
"#1 return songs \n#2 return #1 that are English \n#3 return resolutions of #1 \n#4 return resolutions of #2 \n#5 return #1 where #3 is higher than #4 \n#6 return different names of #5"
] | task176-c67d971ed9574d13b6d2119b6bf721db |
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 small, gray, matte item the same shape as one of the large shiny items?
Output:
| [
"#1 return items \n#2 return #1 that is matte \n#3 return #2 that is gray \n#4 return #3 that is small \n#5 return shape of #4 \n#6 return #1 that is shiny \n#7 return #6 that is large \n#8 return shape of #7 \n#9 return is #5 the same as any #8"
] | task176-60941a271a0243a7bc8960e612efad86 |
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 total point count of the youngest gymnast?
Output:
| [
"#1 return gymnasts \n#2 return #1 that is youngest \n#3 return points of #2 \n#4 return sum of #3"
] | task176-5dc81a9f12cc456f8089bbe6345091b9 |
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: the gray sphere is to the left of what shape?
Output:
| [
"#1 return gray sphere \n#2 return shapes \n#3 return #2 that #1 is to the left of"
] | task176-6f6c0b618d014c9da67553141fc43081 |
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: flights from cincinnati to dallas departing after 718am
Output:
| [
"#1 return flights \n#2 return #1 from cincinnati \n#3 return #2 to dallas \n#4 return #3 that are departing after 718am"
] | task176-d1e77c8c610b4072afa61c6e26d72d62 |
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 shiny objects the same shape?
Output:
| [
"#1 return objects \n#2 return #1 that are shiny \n#3 return the shapes of #2 \n#4 return if #3 are the same"
] | task176-9aebdb6e64c0465894ec0285ef22fd56 |
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 three blue cylinders made of the same material?
Output:
| [
"#1 return the three blue cylinders \n#2 return the material of #1 \n#3 return is #2 the same"
] | task176-cc2e59678c654189b08260e5e670f5c5 |
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: Approximately how many more people live in Bangkok in 2018 compared to 2010?
Output:
| [
"#1 return Bangkok \n#2 return people that live in #1 \n#3 return #2 in 2018 \n#4 return #2 in 2010 \n#5 return the number of #3 \n#6 return the number of #4 \n#7 return the difference of #5 and #6"
] | task176-c952b24e29c84dd8b768a7f056edcba2 |
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 documents that have both one of the three most common types and one of three most common structures?
Output:
| [
"#1 return documents \n#2 return type of #1 \n#3 return structures of #1 \n#4 return three most common #2 \n#5 return three most common #3 \n#6 return #1 in both #4 and #5 \n#7 return names of #6"
] | task176-66339ae43ecc4233911bd9c97205d0f8 |
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 murders and homicides are their total?
Output:
| [
"#1 return murders \n#2 return homicides \n#3 return number of #1 \n#4 return number of #2 \n#5 return sum of #3 and #4"
] | task176-33997471434342a79a8dbd5820fc6ba5 |
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 right image contains a pencil holder that has a small drawer in the middle that is pulled out.
Output:
| [
"#1 return right image \n#2 return pencil holder in #1 \n#3 return drawer \n#4 return #3 that is small \n#5 return #4 that #2 has in the middle \n#6 return If #5 is pulled out"
] | task176-a9dd04ac7bbe4b46b7a8f6e63513a669 |
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 small green cylinder the same material as the large purple cube?
Output:
| [
"#1 return the large purple cube \n#2 return the small green cylinder \n#3 return the material of #1 \n#4 return the material of #2 \n#5 return if #3 and #4 are the same"
] | task176-8478e571b7a942b4b8b1a8bd3ce79963 |
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: philadelphia to san francisco monday
Output:
| [
"#1 return flights \n#2 return #1 from philadelphia \n#3 return #2 to san francisco \n#4 return #3 on monday"
] | task176-24a02cfa102e4ce59937c1031977a8b5 |
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 flights from oakland to philadelphia on saturday which serve a meal and arrive in philadelphia before noon
Output:
| [
"#1 return flights \n#2 return #1 from oakland \n#3 return #2 to philadelphia \n#4 return #3 on saturday \n#5 return #4 that serve a meal \n#6 return #5 which arrive before noon"
] | task176-d48722f581184ea5821ce8c3f4f0b0ee |
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 several red solo cups are stacked nested neatly inside each other.
Output:
| [
"#1 return solo cups \n#2 return #1 that are red \n#3 return #2 that are stacked nested neatly inside each other \n#4 return number of #3 \n#5 return if #4 is higher than two"
] | task176-75f583a7ad3c4397815ff33296f24fd1 |
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 items are closest to the front?
Output:
| [
"#1 return items \n#2 return #1 that are closest to the front"
] | task176-31efe56635b34a0eb53b39e3732e3169 |
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 right image shows a chihuahua reclining on something white and soft, and the left image shows a chihuahua with a toy in front of it.
Output:
| [
"#1 return the right image \n#2 return chihuahua in #1 \n#3 return something white in #1 \n#4 return #3 that is soft \n#5 return if #2 is reclining on #4 \n#6 return the left image \n#7 return chihuahua in #6 \n#8 return toy in #6 \n#9 return if #8 is in front of #7 \n#10 return if both #5 and #9 are true"
] | task176-46ced17887e1442b95aec1cdb9047110 |
Definition: In this task you will break down a question into the basic steps required to answer it.
A question decomposition is a numbered list of operations that must be performed to answer the original question. Imagine explaining your question to a friendly droid by listing each action it should take in order for the question to be answered. Each step in our decomposition should refer to either an entity (known or unknown), a propery of an entity or a query operation (count, group, union, etc.)
Here are the list of step templates and their description:
Select: A select step is used to return a set of objects. There are no references to previous steps in a select step. template: Return [attributes]
Filter: A filter step is used to return results from a previous step to which a certain condition applies. template: Return [#step] [condition]
Project: A project step should return certain attributes of the results of a previous step. template: Return [attributes] of [#step]
Aggregate: An aggregate step returns an aggregator function applied on a step's result. template: Return the [aggregator] of [#step].
Group: A group step is an aggregator applied on attributes. template: Return the [aggregator] of [#step] for each [attribute]
Superlative: A superlative step is used to return the result with a highest/lowest attribute among other results. template: Return [#step1] [where] [#step2] [is] [highest / lowest]
Comparative: A comparative step is used when we need to compare an attribute with a number to filter results. template: Return [#step1] [where] [#step2] [comparator] [number]
Union: A union step is used to return results of two steps together. template: Return [#step1] [or / ,] [#step2]
Intersection: An intersection step returns the result that two steps have in common. template: Return [attribute] of both [#step1] and [#step2]
Discard: A discard step returns result of a step and excludes result of another step from it. template: Return [#step1] besides [#step2]
Sort: A sort returns result of another step in a specific order. template: Return [#step1] [ordered / sorted by] [#step2]
Is true: An is true step checks a condition on another result and returns a true or false. template: Return [is / if] [condition]
Arithmetic: An arithmatic step operates an arithmatic operation on one or more steps. template: Return the [arithmetic op.] of [#step1] [and] [#step2].
Positive Example 1 -
Input: question: What are the distinct creation years of the departments managed by a secretary born in state 'Alabama'?
Output: #1 return secretaries
#2 return #1 born in state 'Alabama
#3 return departments managed by #2
#4 return distinct creation years of #3
Positive Example 2 -
Input: question: i'd like to see flights from baltimore to atlanta that arrive before noon and i'd like to see flights from denver to atlanta that arrive before noon
Output: #1 return flights
#2 return #1 from baltimore
#3 return #2 to atlanta
#4 return #3 that arrive before noon
#5 return #1 from denver
#6 return #5 to atlanta
#7 return #6 that arrive before noon
#8 return #4 , #7
Negative Example 1 -
Input: question: show the name of all bridges that was designed by american archtect, and sort the result by the bridge feet length.
Output: #1 return american archtects
#2 return bridges
#3 return sorted by feet length
Negative Example 2 -
Input: question: What is the average price for a lesson taught by Janessa Sawayn?
Output: #1 return price for lessons taught by Janessa Sawayn
#2 return the average of #1
Now complete the following example -
Input: question: are all of the shapes spheres
Output:
| [
"#1 return shapes \n#2 return #1 that are spheres \n#3 return number of #1 \n#4 return number of #2 \n#5 return is #3 the same as #4"
] | task176-f387aeea57874e9da36355048d6cdf1d |
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 team scored the most points in the first quarter?
Output:
| [
"#1 return teams \n#2 return points of #1 \n#3 return #2 in the first quarter \n#4 return sum of #3 for each #1 \n#5 return #1 where #4 is highest"
] | task176-11c3e3ce72d146cca07eb45edc7a2bda |
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: There is an object that is obstructed from view, what color is it?
Output:
| [
"#1 return object \n#2 return #1 that is obstructed from view \n#3 return color of #2"
] | task176-a7e193eea36447b38ad5767b608dc2cd |
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 some police involved, where the geese are blocking the street.
Output:
| [
"#1 return police \n#2 return geese \n#3 return street \n#4 return #2 blocking #3 \n#5 return #1 involved where #4 \n#6 return the number of #5 \n#7 return if #6 is at least one"
] | task176-c00324f8881847bf87badf656eda491f |
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 helps out south korea during the korean war?
Output:
| [
"#1 return south korea \n#2 return who helps out #1 \n#3 return #2 during the korean war"
] | task176-f4433b73016b4550b5fd893cb7de9ff6 |
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 customers have used both the service named "Close a policy" and the service named "Upgrade a policy"? Give me the customer names.
Output:
| [
"#1 return services \n#2 return #1 that are named Close a policy \n#3 return #1 that are named Upgrade a policy \n#4 return customers of both #2 and #3 \n#5 return names of #4"
] | task176-dff91e51b0064bfdb52a89fbdab74b46 |
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 maximum age of all the students.
Output:
| [
"#1 return students \n#2 return age of #1 \n#3 return #1 where #2 is highest \n#4 return age of #3"
] | task176-7b409a4bf0ca44cba74d84aca5ee1916 |
Definition: In this task you will break down a question into the basic steps required to answer it.
A question decomposition is a numbered list of operations that must be performed to answer the original question. Imagine explaining your question to a friendly droid by listing each action it should take in order for the question to be answered. Each step in our decomposition should refer to either an entity (known or unknown), a propery of an entity or a query operation (count, group, union, etc.)
Here are the list of step templates and their description:
Select: A select step is used to return a set of objects. There are no references to previous steps in a select step. template: Return [attributes]
Filter: A filter step is used to return results from a previous step to which a certain condition applies. template: Return [#step] [condition]
Project: A project step should return certain attributes of the results of a previous step. template: Return [attributes] of [#step]
Aggregate: An aggregate step returns an aggregator function applied on a step's result. template: Return the [aggregator] of [#step].
Group: A group step is an aggregator applied on attributes. template: Return the [aggregator] of [#step] for each [attribute]
Superlative: A superlative step is used to return the result with a highest/lowest attribute among other results. template: Return [#step1] [where] [#step2] [is] [highest / lowest]
Comparative: A comparative step is used when we need to compare an attribute with a number to filter results. template: Return [#step1] [where] [#step2] [comparator] [number]
Union: A union step is used to return results of two steps together. template: Return [#step1] [or / ,] [#step2]
Intersection: An intersection step returns the result that two steps have in common. template: Return [attribute] of both [#step1] and [#step2]
Discard: A discard step returns result of a step and excludes result of another step from it. template: Return [#step1] besides [#step2]
Sort: A sort returns result of another step in a specific order. template: Return [#step1] [ordered / sorted by] [#step2]
Is true: An is true step checks a condition on another result and returns a true or false. template: Return [is / if] [condition]
Arithmetic: An arithmatic step operates an arithmatic operation on one or more steps. template: Return the [arithmetic op.] of [#step1] [and] [#step2].
Positive Example 1 -
Input: question: What are the distinct creation years of the departments managed by a secretary born in state 'Alabama'?
Output: #1 return secretaries
#2 return #1 born in state 'Alabama
#3 return departments managed by #2
#4 return distinct creation years of #3
Positive Example 2 -
Input: question: i'd like to see flights from baltimore to atlanta that arrive before noon and i'd like to see flights from denver to atlanta that arrive before noon
Output: #1 return flights
#2 return #1 from baltimore
#3 return #2 to atlanta
#4 return #3 that arrive before noon
#5 return #1 from denver
#6 return #5 to atlanta
#7 return #6 that arrive before noon
#8 return #4 , #7
Negative Example 1 -
Input: question: show the name of all bridges that was designed by american archtect, and sort the result by the bridge feet length.
Output: #1 return american archtects
#2 return bridges
#3 return sorted by feet length
Negative Example 2 -
Input: question: What is the average price for a lesson taught by Janessa Sawayn?
Output: #1 return price for lessons taught by Janessa Sawayn
#2 return the average of #1
Now complete the following example -
Input: question: Find the names of schools that have some students playing in goalie and mid positions.
Output:
| [
"#1 return schools \n#2 return students of #1 \n#3 return positions of #2 \n#4 return #1 where #3 is goalie \n#5 return #1 where #3 is mid \n#6 return #1 of both #4 and #5 \n#7 return names of #6"
] | task176-6af075fda97d467797d539bca9bd2a61 |
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 and hours spent practicing of every student who received a yes at tryouts?
Output:
| [
"#1 return students \n#2 return #1 who received yes at tryouts \n#3 return names of #2 \n#4 return hours spent practicing of #2 \n#5 return #3 , #4"
] | task176-1cd918af5f794920af15747fb9a97a08 |
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 baseball franchise has a center fielder on their roster and had Albert Pujols as a player in 2012?
Output:
| [
"#1 return baseball franchise \n#2 return #1 that has a center fielder on their roster \n#3 return player in 2012 of #2 \n#4 return #2 where #3 is Albert Pujols"
] | task176-ea05edf32ce34a8eac8285a7dc46dd23 |
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 flights from tacoma to san jose also on tuesday the eighteenth of may
Output:
| [
"#1 return flights \n#2 return #1 from tacoma \n#3 return #2 to san jose \n#4 return #3 on tuesday the eighteenth of may"
] | task176-dfe0024c0966467cbb89dbdea2f468a4 |
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 right image contains at least three golf balls.
Output:
| [
"#1 return right image \n#2 return golf balls in #1 \n#3 return number of #2 \n#4 return if #3 is at least three"
] | task176-e9ea4e205fc84c9b8381890e57cc791e |
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 square to the far left?
Output:
| [
"#1 return square \n#2 return #1 that is to the far left \n#3 return color of #2"
] | task176-6655658c34d94d0184c8a8d8b84bf07f |
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 no more than two penguins swimming underwater in the right image.
Output:
| [
"#1 return the right image \n#2 return penguins in #1 \n#3 return #2 that are swimming underwater \n#4 return number of #3 \n#5 return if #4 is at most two"
] | task176-af3c4f6e218d4b5e8dc3656364cb90ef |
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 four or more animals very close to each other on the grass in the image to the left.
Output:
| [
"#1 return left image \n#2 return animals in #1 \n#3 return grass in #1 \n#4 return #2 that are on #3 \n#5 return #4 that are very close to each other \n#6 return number of #5 \n#7 return if #6 is at least four"
] | task176-1a4591500b1341a89f31ef186eb628c5 |
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 season did leonardo dicaprio come on growing pains?
Output:
| [
"#1 return growing pains \n#2 return season of #1 \n#3 return #2 that leonardo dicaprio come in on"
] | task176-0800b8a425dd43b8b389104eb8876381 |
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 the image on the right is lying on a couch.
Output:
| [
"#1 return right image \n#2 return dog of #1 \n#3 return couch \n#4 return if #2 is lying on #3"
] | task176-7240d69e82c146b6a4f15e9c92bdabdc |
Definition: In this task you will break down a question into the basic steps required to answer it.
A question decomposition is a numbered list of operations that must be performed to answer the original question. Imagine explaining your question to a friendly droid by listing each action it should take in order for the question to be answered. Each step in our decomposition should refer to either an entity (known or unknown), a propery of an entity or a query operation (count, group, union, etc.)
Here are the list of step templates and their description:
Select: A select step is used to return a set of objects. There are no references to previous steps in a select step. template: Return [attributes]
Filter: A filter step is used to return results from a previous step to which a certain condition applies. template: Return [#step] [condition]
Project: A project step should return certain attributes of the results of a previous step. template: Return [attributes] of [#step]
Aggregate: An aggregate step returns an aggregator function applied on a step's result. template: Return the [aggregator] of [#step].
Group: A group step is an aggregator applied on attributes. template: Return the [aggregator] of [#step] for each [attribute]
Superlative: A superlative step is used to return the result with a highest/lowest attribute among other results. template: Return [#step1] [where] [#step2] [is] [highest / lowest]
Comparative: A comparative step is used when we need to compare an attribute with a number to filter results. template: Return [#step1] [where] [#step2] [comparator] [number]
Union: A union step is used to return results of two steps together. template: Return [#step1] [or / ,] [#step2]
Intersection: An intersection step returns the result that two steps have in common. template: Return [attribute] of both [#step1] and [#step2]
Discard: A discard step returns result of a step and excludes result of another step from it. template: Return [#step1] besides [#step2]
Sort: A sort returns result of another step in a specific order. template: Return [#step1] [ordered / sorted by] [#step2]
Is true: An is true step checks a condition on another result and returns a true or false. template: Return [is / if] [condition]
Arithmetic: An arithmatic step operates an arithmatic operation on one or more steps. template: Return the [arithmetic op.] of [#step1] [and] [#step2].
Positive Example 1 -
Input: question: What are the distinct creation years of the departments managed by a secretary born in state 'Alabama'?
Output: #1 return secretaries
#2 return #1 born in state 'Alabama
#3 return departments managed by #2
#4 return distinct creation years of #3
Positive Example 2 -
Input: question: i'd like to see flights from baltimore to atlanta that arrive before noon and i'd like to see flights from denver to atlanta that arrive before noon
Output: #1 return flights
#2 return #1 from baltimore
#3 return #2 to atlanta
#4 return #3 that arrive before noon
#5 return #1 from denver
#6 return #5 to atlanta
#7 return #6 that arrive before noon
#8 return #4 , #7
Negative Example 1 -
Input: question: show the name of all bridges that was designed by american archtect, and sort the result by the bridge feet length.
Output: #1 return american archtects
#2 return bridges
#3 return sorted by feet length
Negative Example 2 -
Input: question: What is the average price for a lesson taught by Janessa Sawayn?
Output: #1 return price for lessons taught by Janessa Sawayn
#2 return the average of #1
Now complete the following example -
Input: question: Were there fewer speakers of Malayalam in Maharashtra or Kerala?
Output:
| [
"#1 return Malayalam \n#2 return speakers of #1 \n#3 return #2 in Maharashtra \n#4 return #2 in Kerala \n#5 return number of #3 \n#6 return number of #4 \n#7 return which is lowest of #5 , #6"
] | task176-7e79131be9f049e999728539254562b2 |
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 single dumbbell in the left image.
Output:
| [
"#1 return left image \n#2 return dumbbells in #1 \n#3 return number of #2 \n#4 return if #3 is equal to one"
] | task176-6b60929823ec4204b9a47eb94a0ff5f5 |
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 total number of degrees granted after 2000 for each Orange county campus?
Output:
| [
"#1 return campuses \n#2 return #1 in Orange county \n#3 return #2 after 2000 \n#4 return degrees granted of #3 \n#5 return number of #4 for each #3"
] | task176-306bbf6c3997404bb3219091267bef8c |
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: The only large cube is what color?
Output:
| [
"#1 return large cube \n#2 return color of #1"
] | task176-38234dd3289b40b4bb1d199b1f27eaec |
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 in texas with the largest population
Output:
| [
"#1 return cities \n#2 return #1 in texas \n#3 return #2 with the largest population"
] | task176-076f861046c543099324ff26f0c19d1b |
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 ruled first, Edward III or Richard II?
Output:
| [
"#1 return when did Edward III rule \n#2 return when did Richard II rule \n#3 return which is first of #1 , #2"
] | task176-e735e615a7734317ae034fd93e0a86fc |
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 cake with beaches on top and lady finger cookies around the outside
Output:
| [
"#1 return cake \n#2 return beaches \n#3 return If #1 has #2 on top \n#4 return lady finger cookies \n#5 return If #1 has #4 around the outside \n#6 return If both #3 and #5 are true"
] | task176-3f88181b7ddb40a89c4d57bcbd0ac088 |
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 at least five cone shaped lipstick containers in the image on the left.
Output:
| [
"#1 return left image \n#2 return lipstick containers of #1 \n#3 return #2 that are cone shaped \n#4 return the number of #3 \n#5 return if #4 is at least five"
] | task176-5e5c4fcf5f8b4df49dbaa65e7f73768c |
Definition: In this task you will break down a question into the basic steps required to answer it.
A question decomposition is a numbered list of operations that must be performed to answer the original question. Imagine explaining your question to a friendly droid by listing each action it should take in order for the question to be answered. Each step in our decomposition should refer to either an entity (known or unknown), a propery of an entity or a query operation (count, group, union, etc.)
Here are the list of step templates and their description:
Select: A select step is used to return a set of objects. There are no references to previous steps in a select step. template: Return [attributes]
Filter: A filter step is used to return results from a previous step to which a certain condition applies. template: Return [#step] [condition]
Project: A project step should return certain attributes of the results of a previous step. template: Return [attributes] of [#step]
Aggregate: An aggregate step returns an aggregator function applied on a step's result. template: Return the [aggregator] of [#step].
Group: A group step is an aggregator applied on attributes. template: Return the [aggregator] of [#step] for each [attribute]
Superlative: A superlative step is used to return the result with a highest/lowest attribute among other results. template: Return [#step1] [where] [#step2] [is] [highest / lowest]
Comparative: A comparative step is used when we need to compare an attribute with a number to filter results. template: Return [#step1] [where] [#step2] [comparator] [number]
Union: A union step is used to return results of two steps together. template: Return [#step1] [or / ,] [#step2]
Intersection: An intersection step returns the result that two steps have in common. template: Return [attribute] of both [#step1] and [#step2]
Discard: A discard step returns result of a step and excludes result of another step from it. template: Return [#step1] besides [#step2]
Sort: A sort returns result of another step in a specific order. template: Return [#step1] [ordered / sorted by] [#step2]
Is true: An is true step checks a condition on another result and returns a true or false. template: Return [is / if] [condition]
Arithmetic: An arithmatic step operates an arithmatic operation on one or more steps. template: Return the [arithmetic op.] of [#step1] [and] [#step2].
Positive Example 1 -
Input: question: What are the distinct creation years of the departments managed by a secretary born in state 'Alabama'?
Output: #1 return secretaries
#2 return #1 born in state 'Alabama
#3 return departments managed by #2
#4 return distinct creation years of #3
Positive Example 2 -
Input: question: i'd like to see flights from baltimore to atlanta that arrive before noon and i'd like to see flights from denver to atlanta that arrive before noon
Output: #1 return flights
#2 return #1 from baltimore
#3 return #2 to atlanta
#4 return #3 that arrive before noon
#5 return #1 from denver
#6 return #5 to atlanta
#7 return #6 that arrive before noon
#8 return #4 , #7
Negative Example 1 -
Input: question: show the name of all bridges that was designed by american archtect, and sort the result by the bridge feet length.
Output: #1 return american archtects
#2 return bridges
#3 return sorted by feet length
Negative Example 2 -
Input: question: What is the average price for a lesson taught by Janessa Sawayn?
Output: #1 return price for lessons taught by Janessa Sawayn
#2 return the average of #1
Now complete the following example -
Input: question: what are all flights from boston to pittsburgh on wednesdays
Output:
| [
"#1 return flights \n#2 return #1 from boston \n#3 return #2 to pittsburgh \n#4 return #3 on wednesdays"
] | task176-2e402b66bf31476f82b8a58a5046e461 |
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 at most 3 zebras in the image on the left.
Output:
| [
"#1 return the image on the left \n#2 return zebras in #1 \n#3 return number of #2 \n#4 return if #3 is at most 3"
] | task176-af3d53b8639e4afbb34877df347e8c65 |
Definition: In this task you will break down a question into the basic steps required to answer it.
A question decomposition is a numbered list of operations that must be performed to answer the original question. Imagine explaining your question to a friendly droid by listing each action it should take in order for the question to be answered. Each step in our decomposition should refer to either an entity (known or unknown), a propery of an entity or a query operation (count, group, union, etc.)
Here are the list of step templates and their description:
Select: A select step is used to return a set of objects. There are no references to previous steps in a select step. template: Return [attributes]
Filter: A filter step is used to return results from a previous step to which a certain condition applies. template: Return [#step] [condition]
Project: A project step should return certain attributes of the results of a previous step. template: Return [attributes] of [#step]
Aggregate: An aggregate step returns an aggregator function applied on a step's result. template: Return the [aggregator] of [#step].
Group: A group step is an aggregator applied on attributes. template: Return the [aggregator] of [#step] for each [attribute]
Superlative: A superlative step is used to return the result with a highest/lowest attribute among other results. template: Return [#step1] [where] [#step2] [is] [highest / lowest]
Comparative: A comparative step is used when we need to compare an attribute with a number to filter results. template: Return [#step1] [where] [#step2] [comparator] [number]
Union: A union step is used to return results of two steps together. template: Return [#step1] [or / ,] [#step2]
Intersection: An intersection step returns the result that two steps have in common. template: Return [attribute] of both [#step1] and [#step2]
Discard: A discard step returns result of a step and excludes result of another step from it. template: Return [#step1] besides [#step2]
Sort: A sort returns result of another step in a specific order. template: Return [#step1] [ordered / sorted by] [#step2]
Is true: An is true step checks a condition on another result and returns a true or false. template: Return [is / if] [condition]
Arithmetic: An arithmatic step operates an arithmatic operation on one or more steps. template: Return the [arithmetic op.] of [#step1] [and] [#step2].
Positive Example 1 -
Input: question: What are the distinct creation years of the departments managed by a secretary born in state 'Alabama'?
Output: #1 return secretaries
#2 return #1 born in state 'Alabama
#3 return departments managed by #2
#4 return distinct creation years of #3
Positive Example 2 -
Input: question: i'd like to see flights from baltimore to atlanta that arrive before noon and i'd like to see flights from denver to atlanta that arrive before noon
Output: #1 return flights
#2 return #1 from baltimore
#3 return #2 to atlanta
#4 return #3 that arrive before noon
#5 return #1 from denver
#6 return #5 to atlanta
#7 return #6 that arrive before noon
#8 return #4 , #7
Negative Example 1 -
Input: question: show the name of all bridges that was designed by american archtect, and sort the result by the bridge feet length.
Output: #1 return american archtects
#2 return bridges
#3 return sorted by feet length
Negative Example 2 -
Input: question: What is the average price for a lesson taught by Janessa Sawayn?
Output: #1 return price for lessons taught by Janessa Sawayn
#2 return the average of #1
Now complete the following example -
Input: question: How many points were the Bills trailing by at halftime?
Output:
| [
"#1 return the Bills \n#2 return points trailing by of #1 \n#3 return #2 at halftime"
] | task176-faae10db35db4286be38ba990e23095e |
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 small red cylinder closer to the brown or gray object?
Output:
| [
"#1 return cylinders \n#2 return #1 that is red \n#3 return #2 that is small \n#4 return objects \n#5 return #4 that is brown \n#6 return #4 that is gray \n#7 return which is closer to #3 of #5 , #6"
] | task176-1f79bfc0a3b34c679df98d1a51fcd0ed |
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 chihuahua puppy appears to be within someone's hand.
Output:
| [
"#1 return chihuahua \n#2 return #1 that is a puppy \n#3 return a hand \n#4 return if #2 is within #3"
] | task176-231ce4dca7d640dd92323a4bc682808b |
Definition: In this task you will break down a question into the basic steps required to answer it.
A question decomposition is a numbered list of operations that must be performed to answer the original question. Imagine explaining your question to a friendly droid by listing each action it should take in order for the question to be answered. Each step in our decomposition should refer to either an entity (known or unknown), a propery of an entity or a query operation (count, group, union, etc.)
Here are the list of step templates and their description:
Select: A select step is used to return a set of objects. There are no references to previous steps in a select step. template: Return [attributes]
Filter: A filter step is used to return results from a previous step to which a certain condition applies. template: Return [#step] [condition]
Project: A project step should return certain attributes of the results of a previous step. template: Return [attributes] of [#step]
Aggregate: An aggregate step returns an aggregator function applied on a step's result. template: Return the [aggregator] of [#step].
Group: A group step is an aggregator applied on attributes. template: Return the [aggregator] of [#step] for each [attribute]
Superlative: A superlative step is used to return the result with a highest/lowest attribute among other results. template: Return [#step1] [where] [#step2] [is] [highest / lowest]
Comparative: A comparative step is used when we need to compare an attribute with a number to filter results. template: Return [#step1] [where] [#step2] [comparator] [number]
Union: A union step is used to return results of two steps together. template: Return [#step1] [or / ,] [#step2]
Intersection: An intersection step returns the result that two steps have in common. template: Return [attribute] of both [#step1] and [#step2]
Discard: A discard step returns result of a step and excludes result of another step from it. template: Return [#step1] besides [#step2]
Sort: A sort returns result of another step in a specific order. template: Return [#step1] [ordered / sorted by] [#step2]
Is true: An is true step checks a condition on another result and returns a true or false. template: Return [is / if] [condition]
Arithmetic: An arithmatic step operates an arithmatic operation on one or more steps. template: Return the [arithmetic op.] of [#step1] [and] [#step2].
Positive Example 1 -
Input: question: What are the distinct creation years of the departments managed by a secretary born in state 'Alabama'?
Output: #1 return secretaries
#2 return #1 born in state 'Alabama
#3 return departments managed by #2
#4 return distinct creation years of #3
Positive Example 2 -
Input: question: i'd like to see flights from baltimore to atlanta that arrive before noon and i'd like to see flights from denver to atlanta that arrive before noon
Output: #1 return flights
#2 return #1 from baltimore
#3 return #2 to atlanta
#4 return #3 that arrive before noon
#5 return #1 from denver
#6 return #5 to atlanta
#7 return #6 that arrive before noon
#8 return #4 , #7
Negative Example 1 -
Input: question: show the name of all bridges that was designed by american archtect, and sort the result by the bridge feet length.
Output: #1 return american archtects
#2 return bridges
#3 return sorted by feet length
Negative Example 2 -
Input: question: What is the average price for a lesson taught by Janessa Sawayn?
Output: #1 return price for lessons taught by Janessa Sawayn
#2 return the average of #1
Now complete the following example -
Input: question: i'd like to leave from boston on tuesday and i'd like to leave sometime in the morning
Output:
| [
"#1 return flights \n#2 return #1 from boston \n#3 return #2 on tuesday \n#4 return #3 in the morning"
] | task176-071f474fef9c44a5b7ddd9a385c04619 |
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 antelope together in the right image.
Output:
| [
"#1 return right image \n#2 return antelope in #1 \n#3 return #2 that are together \n#4 return number of #3 \n#5 return If #4 is equal to two"
] | task176-ae5e4a26eed34fe7bd539db073a46b66 |
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 largest metallic ball?
Output:
| [
"#1 return balls \n#2 return #1 that are metallic \n#3 return the largest #2 \n#4 return the color of #3"
] | task176-8de24fc6ed334c52bebd6972ec13cf73 |
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 left image contains one dog laying on wooden flooring.
Output:
| [
"#1 return left image \n#2 return dog in #1 \n#3 return flooring in #1 \n#4 return #3 that is wooden \n#5 return #2 that is laying on #4 \n#6 return number of #5 \n#7 return if #6 is equal to one"
] | task176-b4cae312721d4bcfbadcebc6544662cd |
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 came later, the closing ceremony of the Southeast Asian Games, or a series of festivities at the Singapore Sports Hub?
Output:
| [
"#1 return the closing ceremony of the Southeast Asian Games \n#2 return a series of festivities at the Singapore Sports Hub \n#3 return when was #1 \n#4 return when was #2 \n#5 return which is highest of #3 , #4"
] | task176-17cbc5e834b54ed6b52450d28c503858 |
Definition: In this task you will break down a question into the basic steps required to answer it.
A question decomposition is a numbered list of operations that must be performed to answer the original question. Imagine explaining your question to a friendly droid by listing each action it should take in order for the question to be answered. Each step in our decomposition should refer to either an entity (known or unknown), a propery of an entity or a query operation (count, group, union, etc.)
Here are the list of step templates and their description:
Select: A select step is used to return a set of objects. There are no references to previous steps in a select step. template: Return [attributes]
Filter: A filter step is used to return results from a previous step to which a certain condition applies. template: Return [#step] [condition]
Project: A project step should return certain attributes of the results of a previous step. template: Return [attributes] of [#step]
Aggregate: An aggregate step returns an aggregator function applied on a step's result. template: Return the [aggregator] of [#step].
Group: A group step is an aggregator applied on attributes. template: Return the [aggregator] of [#step] for each [attribute]
Superlative: A superlative step is used to return the result with a highest/lowest attribute among other results. template: Return [#step1] [where] [#step2] [is] [highest / lowest]
Comparative: A comparative step is used when we need to compare an attribute with a number to filter results. template: Return [#step1] [where] [#step2] [comparator] [number]
Union: A union step is used to return results of two steps together. template: Return [#step1] [or / ,] [#step2]
Intersection: An intersection step returns the result that two steps have in common. template: Return [attribute] of both [#step1] and [#step2]
Discard: A discard step returns result of a step and excludes result of another step from it. template: Return [#step1] besides [#step2]
Sort: A sort returns result of another step in a specific order. template: Return [#step1] [ordered / sorted by] [#step2]
Is true: An is true step checks a condition on another result and returns a true or false. template: Return [is / if] [condition]
Arithmetic: An arithmatic step operates an arithmatic operation on one or more steps. template: Return the [arithmetic op.] of [#step1] [and] [#step2].
Positive Example 1 -
Input: question: What are the distinct creation years of the departments managed by a secretary born in state 'Alabama'?
Output: #1 return secretaries
#2 return #1 born in state 'Alabama
#3 return departments managed by #2
#4 return distinct creation years of #3
Positive Example 2 -
Input: question: i'd like to see flights from baltimore to atlanta that arrive before noon and i'd like to see flights from denver to atlanta that arrive before noon
Output: #1 return flights
#2 return #1 from baltimore
#3 return #2 to atlanta
#4 return #3 that arrive before noon
#5 return #1 from denver
#6 return #5 to atlanta
#7 return #6 that arrive before noon
#8 return #4 , #7
Negative Example 1 -
Input: question: show the name of all bridges that was designed by american archtect, and sort the result by the bridge feet length.
Output: #1 return american archtects
#2 return bridges
#3 return sorted by feet length
Negative Example 2 -
Input: question: What is the average price for a lesson taught by Janessa Sawayn?
Output: #1 return price for lessons taught by Janessa Sawayn
#2 return the average of #1
Now complete the following example -
Input: question: If both of the images feature a dog standing on grass.
Output:
| [
"#1 return dog \n#2 return grass \n#3 return #1 standing on #2 \n#4 return images of #3 \n#5 return the number of #4 \n#6 return if #5 is equal to two"
] | task176-e0962991e73947409a92a4c7f02a9d55 |
Definition: In this task you will break down a question into the basic steps required to answer it.
A question decomposition is a numbered list of operations that must be performed to answer the original question. Imagine explaining your question to a friendly droid by listing each action it should take in order for the question to be answered. Each step in our decomposition should refer to either an entity (known or unknown), a propery of an entity or a query operation (count, group, union, etc.)
Here are the list of step templates and their description:
Select: A select step is used to return a set of objects. There are no references to previous steps in a select step. template: Return [attributes]
Filter: A filter step is used to return results from a previous step to which a certain condition applies. template: Return [#step] [condition]
Project: A project step should return certain attributes of the results of a previous step. template: Return [attributes] of [#step]
Aggregate: An aggregate step returns an aggregator function applied on a step's result. template: Return the [aggregator] of [#step].
Group: A group step is an aggregator applied on attributes. template: Return the [aggregator] of [#step] for each [attribute]
Superlative: A superlative step is used to return the result with a highest/lowest attribute among other results. template: Return [#step1] [where] [#step2] [is] [highest / lowest]
Comparative: A comparative step is used when we need to compare an attribute with a number to filter results. template: Return [#step1] [where] [#step2] [comparator] [number]
Union: A union step is used to return results of two steps together. template: Return [#step1] [or / ,] [#step2]
Intersection: An intersection step returns the result that two steps have in common. template: Return [attribute] of both [#step1] and [#step2]
Discard: A discard step returns result of a step and excludes result of another step from it. template: Return [#step1] besides [#step2]
Sort: A sort returns result of another step in a specific order. template: Return [#step1] [ordered / sorted by] [#step2]
Is true: An is true step checks a condition on another result and returns a true or false. template: Return [is / if] [condition]
Arithmetic: An arithmatic step operates an arithmatic operation on one or more steps. template: Return the [arithmetic op.] of [#step1] [and] [#step2].
Positive Example 1 -
Input: question: What are the distinct creation years of the departments managed by a secretary born in state 'Alabama'?
Output: #1 return secretaries
#2 return #1 born in state 'Alabama
#3 return departments managed by #2
#4 return distinct creation years of #3
Positive Example 2 -
Input: question: i'd like to see flights from baltimore to atlanta that arrive before noon and i'd like to see flights from denver to atlanta that arrive before noon
Output: #1 return flights
#2 return #1 from baltimore
#3 return #2 to atlanta
#4 return #3 that arrive before noon
#5 return #1 from denver
#6 return #5 to atlanta
#7 return #6 that arrive before noon
#8 return #4 , #7
Negative Example 1 -
Input: question: show the name of all bridges that was designed by american archtect, and sort the result by the bridge feet length.
Output: #1 return american archtects
#2 return bridges
#3 return sorted by feet length
Negative Example 2 -
Input: question: What is the average price for a lesson taught by Janessa Sawayn?
Output: #1 return price for lessons taught by Janessa Sawayn
#2 return the average of #1
Now complete the following example -
Input: question: If both images contain a prairie dog partially submerged in a hole in the ground.
Output:
| [
"#1 return prairie dog \n#2 return hole \n#3 return #2 in the ground \n#4 return #1 partially submerged in #3 \n#5 return if #4 is in both images"
] | task176-2db68bbf12314028b4e9a7c1d36a4744 |