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 |
End of preview. Expand
in Dataset Viewer.
Dataset Card for Natural Instructions (https://github.com/allenai/natural-instructions) Task: task176_break_decompose_questions
Additional Information
Citation Information
The following paper introduces the corpus in detail. If you use the corpus in published work, please cite it:
@misc{wang2022supernaturalinstructionsgeneralizationdeclarativeinstructions,
title={Super-NaturalInstructions: Generalization via Declarative Instructions on 1600+ NLP Tasks},
author={Yizhong Wang and Swaroop Mishra and Pegah Alipoormolabashi and Yeganeh Kordi and Amirreza Mirzaei and Anjana Arunkumar and Arjun Ashok and Arut Selvan Dhanasekaran and Atharva Naik and David Stap and Eshaan Pathak and Giannis Karamanolakis and Haizhi Gary Lai and Ishan Purohit and Ishani Mondal and Jacob Anderson and Kirby Kuznia and Krima Doshi and Maitreya Patel and Kuntal Kumar Pal and Mehrad Moradshahi and Mihir Parmar and Mirali Purohit and Neeraj Varshney and Phani Rohitha Kaza and Pulkit Verma and Ravsehaj Singh Puri and Rushang Karia and Shailaja Keyur Sampat and Savan Doshi and Siddhartha Mishra and Sujan Reddy and Sumanta Patro and Tanay Dixit and Xudong Shen and Chitta Baral and Yejin Choi and Noah A. Smith and Hannaneh Hajishirzi and Daniel Khashabi},
year={2022},
eprint={2204.07705},
archivePrefix={arXiv},
primaryClass={cs.CL},
url={https://arxiv.org/abs/2204.07705},
}
More details can also be found in the following paper:
@misc{brüelgabrielsson2024compressserveservingthousands,
title={Compress then Serve: Serving Thousands of LoRA Adapters with Little Overhead},
author={Rickard Brüel-Gabrielsson and Jiacheng Zhu and Onkar Bhardwaj and Leshem Choshen and Kristjan Greenewald and Mikhail Yurochkin and Justin Solomon},
year={2024},
eprint={2407.00066},
archivePrefix={arXiv},
primaryClass={cs.DC},
url={https://arxiv.org/abs/2407.00066},
}
Contact Information
For any comments or questions, please email Rickard Brüel Gabrielsson
- Downloads last month
- 40