input
stringlengths
3.68k
4.11k
output
sequencelengths
1
1
id
stringlengths
40
40
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record of this row is india. Output: eq { hop { nth_argmax { all_rows ; goal gain ; 3 } ; team } ; south china } Now complete the following example - Input: select the row whose registered voters record of all rows is 3rd maximum . the city record of this row is encinitas . Output:
[ "eq { hop { nth_argmax { all_rows ; registered voters ; 3 } ; city } ; encinitas }" ]
task210-1a60617cf1134c289e5b96d3bc6d98fb
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record of this row is india. Output: eq { hop { nth_argmax { all_rows ; goal gain ; 3 } ; team } ; south china } Now complete the following example - Input: select the rows whose continent record fuzzily matches to asia . the number of such rows is 2 . Output:
[ "eq { count { filter_eq { all_rows ; continent ; asia } } ; 2 }" ]
task210-0ebd48019c25490ab8a26d68b4ee8973
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record of this row is india. Output: eq { hop { nth_argmax { all_rows ; goal gain ; 3 } ; team } ; south china } Now complete the following example - Input: the average of the frequency record of all rows is 2200 mhz . Output:
[ "round_eq { avg { all_rows ; frequency } ; 2200 mhz }" ]
task210-07238989a7604315a7bf6dd52f1179d2
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record of this row is india. Output: eq { hop { nth_argmax { all_rows ; goal gain ; 3 } ; team } ; south china } Now complete the following example - Input: select the rows whose year record is equal to 1987 . the sum of the notes record of these rows is 4:27:46 . Output:
[ "round_eq { sum { filter_eq { all_rows ; year ; 1987 } ; notes } ; 4:27:46 }" ]
task210-8a0d8cf9ac9249e0bc61025646ef6a4d
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record of this row is india. Output: eq { hop { nth_argmax { all_rows ; goal gain ; 3 } ; team } ; south china } Now complete the following example - Input: select the rows whose location record fuzzily matches to st pete times forum . select the row whose game record of these rows is 1st minimum . the attendance record of this row is 16104 . Output:
[ "eq { hop { nth_argmin { filter_eq { all_rows ; location ; st pete times forum } ; game ; 1 } ; attendance } ; 16104 }" ]
task210-23aa07a5752b47f4be5a3397a5d4e988
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record of this row is india. Output: eq { hop { nth_argmax { all_rows ; goal gain ; 3 } ; team } ; south china } Now complete the following example - Input: select the rows whose club record fuzzily matches to sporting de gijón . take the points record of this row . select the rows whose club record fuzzily matches to cádiz cf . take the points record of this row . the first record is greater than the second record . Output:
[ "greater { hop { filter_eq { all_rows ; club ; sporting de gijón } ; points } ; hop { filter_eq { all_rows ; club ; cádiz cf } ; points } }" ]
task210-43c9e5396b4a4621983823b852c443b2
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record of this row is india. Output: eq { hop { nth_argmax { all_rows ; goal gain ; 3 } ; team } ; south china } Now complete the following example - Input: the 3rd minimum days held record of all rows is 196 . Output:
[ "eq { nth_min { all_rows ; days held ; 3 } ; 196 }" ]
task210-3c226bc4e5244f089756f2ac6338f2d6
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record of this row is india. Output: eq { hop { nth_argmax { all_rows ; goal gain ; 3 } ; team } ; south china } Now complete the following example - Input: select the rows whose venue record fuzzily matches to beirut . among these rows , select the rows whose result record does not match to win . the number of such rows is 2 . Output:
[ "eq { count { filter_not_eq { filter_eq { all_rows ; venue ; beirut } ; result ; win } } ; 2 }" ]
task210-4519ff3b72e74506b6033f465a89fbd1
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record of this row is india. Output: eq { hop { nth_argmax { all_rows ; goal gain ; 3 } ; team } ; south china } Now complete the following example - Input: select the rows whose language record fuzzily matches to yiddish . take the number record of this row . select the rows whose language record fuzzily matches to russian . take the number record of this row . the first record is greater than the second record . Output:
[ "greater { hop { filter_eq { all_rows ; language ; yiddish } ; number } ; hop { filter_eq { all_rows ; language ; russian } ; number } }" ]
task210-e8fa7f4b833f42d1b537109f4fd2bc5b
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record of this row is india. Output: eq { hop { nth_argmax { all_rows ; goal gain ; 3 } ; team } ; south china } Now complete the following example - Input: select the row whose crowd record of all rows is 1st maximum . the date record of this row is 12 august 2007 . Output:
[ "eq { hop { nth_argmax { all_rows ; crowd ; 1 } ; date } ; 12 august 2007 }" ]
task210-64ea62bb5ca6479ea48888e71bd2d198
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record of this row is india. Output: eq { hop { nth_argmax { all_rows ; goal gain ; 3 } ; team } ; south china } Now complete the following example - Input: select the rows whose sport record fuzzily matches to boxing . among these rows , select the rows whose event record fuzzily matches to men 's light flyweight . the number of such rows is 2 . Output:
[ "eq { count { filter_eq { filter_eq { all_rows ; sport ; boxing } ; event ; men 's light flyweight } } ; 2 }" ]
task210-efd74718e8204428b271f468784de82b
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record of this row is india. Output: eq { hop { nth_argmax { all_rows ; goal gain ; 3 } ; team } ; south china } Now complete the following example - Input: select the rows whose mccain % record fuzzily matches to 75.7 % . the number of such rows is 1 . Output:
[ "eq { count { filter_eq { all_rows ; mccain % ; 75.7 % } } ; 1 }" ]
task210-893a8bd0754a41b9842bcba2797f5a9e
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record of this row is india. Output: eq { hop { nth_argmax { all_rows ; goal gain ; 3 } ; team } ; south china } Now complete the following example - Input: select the rows whose polyunsaturated fat record is less than 10 % . there is only one such row in the table . the record of this unqiue row is suet . Output:
[ "and { only { filter_less { all_rows ; polyunsaturated fat ; 10 % } } ; eq { hop { filter_less { all_rows ; polyunsaturated fat ; 10 % } ; } ; suet } }" ]
task210-a7478f535e7144298c4ce6a1502dd2d4
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record of this row is india. Output: eq { hop { nth_argmax { all_rows ; goal gain ; 3 } ; team } ; south china } Now complete the following example - Input: for the nationality records of all rows , all of them fuzzily match to canada . Output:
[ "all_eq { all_rows ; nationality ; canada }" ]
task210-bdae776be0d149d9993df0db0d5aac09
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record of this row is india. Output: eq { hop { nth_argmax { all_rows ; goal gain ; 3 } ; team } ; south china } Now complete the following example - Input: select the rows whose wins record is equal to 0 . the number of such rows is 2 . Output:
[ "eq { count { filter_eq { all_rows ; wins ; 0 } } ; 2 }" ]
task210-97313fe0b6eb4cd19607a134b0d24a60
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record of this row is india. Output: eq { hop { nth_argmax { all_rows ; goal gain ; 3 } ; team } ; south china } Now complete the following example - Input: select the rows whose competition record fuzzily matches to world championships . the number of such rows is 3 . Output:
[ "eq { count { filter_eq { all_rows ; competition ; world championships } } ; 3 }" ]
task210-2369f4cd6cb7464581fddf9462c3402c
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record of this row is india. Output: eq { hop { nth_argmax { all_rows ; goal gain ; 3 } ; team } ; south china } Now complete the following example - Input: select the row whose original air date ( uk ) record of all rows is 1st maximum . the episode title record of this row is loyalties ii . Output:
[ "eq { hop { nth_argmax { all_rows ; original air date ( uk ) ; 1 } ; episode title } ; loyalties ii }" ]
task210-ba5e9369b6fd48a0b6791b226783fc9f
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record of this row is india. Output: eq { hop { nth_argmax { all_rows ; goal gain ; 3 } ; team } ; south china } Now complete the following example - Input: for the disease area records of all rows , most of them fuzzily match to cancer . Output:
[ "most_eq { all_rows ; disease area ; cancer }" ]
task210-ae889857b940401592e0072fcd58c693
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record of this row is india. Output: eq { hop { nth_argmax { all_rows ; goal gain ; 3 } ; team } ; south china } Now complete the following example - Input: select the rows whose nation record fuzzily matches to sweden . take the gold record of this row . select the rows whose nation record fuzzily matches to germany . take the gold record of this row . the first record is greater than the second record . the gold record of the first row is 2 . the gold record of the second row is 1 . Output:
[ "and { greater { hop { filter_eq { all_rows ; nation ; sweden } ; gold } ; hop { filter_eq { all_rows ; nation ; germany } ; gold } } ; and { eq { hop { filter_eq { all_rows ; nation ; sweden } ; gold } ; 2 } ; eq { hop { filter_eq { all_rows ; nation ; germany } ; gold } ; 1 } } }" ]
task210-5a2c468192764083bcd1e6748d388034
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record of this row is india. Output: eq { hop { nth_argmax { all_rows ; goal gain ; 3 } ; team } ; south china } Now complete the following example - Input: select the rows whose surface record fuzzily matches to hard . among these rows , select the rows whose partner record fuzzily matches to magdalena maleeva . there is only one such row in the table . the date record of this unqiue row is july 16 , 1992 . Output:
[ "and { only { filter_eq { filter_eq { all_rows ; surface ; hard } ; partner ; magdalena maleeva } } ; eq { hop { filter_eq { filter_eq { all_rows ; surface ; hard } ; partner ; magdalena maleeva } ; date } ; july 16 , 1992 } }" ]
task210-99ff6e3e2f804446a558b9fdc05ccfe9
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record of this row is india. Output: eq { hop { nth_argmax { all_rows ; goal gain ; 3 } ; team } ; south china } Now complete the following example - Input: select the rows whose country record fuzzily matches to united kingdom . take the date record of this row . select the rows whose country record fuzzily matches to united states . take the date record of this row . the first record is less than the second record . Output:
[ "less { hop { filter_eq { all_rows ; country ; united kingdom } ; date } ; hop { filter_eq { all_rows ; country ; united states } ; date } }" ]
task210-c3159bcd1f5348dc8cd4bf7944b66605
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record of this row is india. Output: eq { hop { nth_argmax { all_rows ; goal gain ; 3 } ; team } ; south china } Now complete the following example - Input: the average of the attendance record of all rows is 45557.14 . Output:
[ "round_eq { avg { all_rows ; attendance } ; 45557.14 }" ]
task210-ea1a0344b83746058e3c7c26aa907624
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record of this row is india. Output: eq { hop { nth_argmax { all_rows ; goal gain ; 3 } ; team } ; south china } Now complete the following example - Input: select the rows whose player record fuzzily matches to tom watson . take the earnings record of this row . select the rows whose player record fuzzily matches to lee trevino . take the earnings record of this row . the first record is greater than the second record . Output:
[ "greater { hop { filter_eq { all_rows ; player ; tom watson } ; earnings } ; hop { filter_eq { all_rows ; player ; lee trevino } ; earnings } }" ]
task210-11be94c5c16f4865997b07e7753c5c40
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record of this row is india. Output: eq { hop { nth_argmax { all_rows ; goal gain ; 3 } ; team } ; south china } Now complete the following example - Input: select the rows whose winner record fuzzily matches to russell ingall . the number of such rows is 3 . Output:
[ "eq { count { filter_eq { all_rows ; winner ; russell ingall } } ; 3 }" ]
task210-78ce7140293944b18dfc5cc49b412f0f
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record of this row is india. Output: eq { hop { nth_argmax { all_rows ; goal gain ; 3 } ; team } ; south china } Now complete the following example - Input: select the rows whose position record fuzzily matches to 4th . the number of such rows is 2 . Output:
[ "eq { count { filter_eq { all_rows ; position ; 4th } } ; 2 }" ]
task210-afddcd0db2fb46c581bf2055cea658d6
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record of this row is india. Output: eq { hop { nth_argmax { all_rows ; goal gain ; 3 } ; team } ; south china } Now complete the following example - Input: select the row whose score record of all rows is minimum . the player record of this row is ben hogan . Output:
[ "eq { hop { argmin { all_rows ; score } ; player } ; ben hogan }" ]
task210-37570b03c5a84a25a1ea65f8bb626a96
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record of this row is india. Output: eq { hop { nth_argmax { all_rows ; goal gain ; 3 } ; team } ; south china } Now complete the following example - Input: select the rows whose shot pct record is greater than or equal to 80 % . the number of such rows is 3 . Output:
[ "eq { count { filter_greater_eq { all_rows ; shot pct ; 80 % } } ; 3 }" ]
task210-5a07a5c495534f0f878c716bdb582c62
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record of this row is india. Output: eq { hop { nth_argmax { all_rows ; goal gain ; 3 } ; team } ; south china } Now complete the following example - Input: select the rows whose runner - up record fuzzily matches to dynamo moscow . take the season record of this row . select the rows whose runner - up record fuzzily matches to lokomotiv moscow . take the season record of this row . the first record is less than the second record . Output:
[ "less { hop { filter_eq { all_rows ; runner - up ; dynamo moscow } ; season } ; hop { filter_eq { all_rows ; runner - up ; lokomotiv moscow } ; season } }" ]
task210-dd02f99e46ae41b2b9db6c4c159b9ce6
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record of this row is india. Output: eq { hop { nth_argmax { all_rows ; goal gain ; 3 } ; team } ; south china } Now complete the following example - Input: select the row whose length record of all rows is 2nd minimum . the line record of this row is sofia - dragoman . Output:
[ "eq { hop { nth_argmin { all_rows ; length ; 2 } ; line } ; sofia - dragoman }" ]
task210-e1eecd7746db4e4183cbcd65ea5da293
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record of this row is india. Output: eq { hop { nth_argmax { all_rows ; goal gain ; 3 } ; team } ; south china } Now complete the following example - Input: select the rows whose class record fuzzily matches to dx . take the number in service record of this row . select the rows whose class record fuzzily matches to dsc . take the number in service record of this row . the first record is greater than the second record . Output:
[ "greater { hop { filter_eq { all_rows ; class ; dx } ; number in service } ; hop { filter_eq { all_rows ; class ; dsc } ; number in service } }" ]
task210-c2de83f376b84f4eb08ee6dde5c23391
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record of this row is india. Output: eq { hop { nth_argmax { all_rows ; goal gain ; 3 } ; team } ; south china } Now complete the following example - Input: select the rows whose date record fuzzily matches to dec . for the result records of these rows , most of them fuzzily match to win . Output:
[ "most_eq { filter_eq { all_rows ; date ; dec } ; result ; win }" ]
task210-28e950cc557b44858382778f7c8c3986
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record of this row is india. Output: eq { hop { nth_argmax { all_rows ; goal gain ; 3 } ; team } ; south china } Now complete the following example - Input: select the rows whose gender record fuzzily matches to f . among these rows , select the rows whose residence record fuzzily matches to halifax . the number of such rows is 2 . Output:
[ "eq { count { filter_eq { filter_eq { all_rows ; gender ; f } ; residence ; halifax } } ; 2 }" ]
task210-68c853caa9ec4359a824ea97a903a30f
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record of this row is india. Output: eq { hop { nth_argmax { all_rows ; goal gain ; 3 } ; team } ; south china } Now complete the following example - Input: select the rows whose opponent record fuzzily matches to toronto maple leafs . the sum of the score record of these rows is 12 . Output:
[ "round_eq { sum { filter_eq { all_rows ; opponent ; toronto maple leafs } ; score } ; 12 }" ]
task210-c888cc1881ef4106bc80e063eeae4c4e
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record of this row is india. Output: eq { hop { nth_argmax { all_rows ; goal gain ; 3 } ; team } ; south china } Now complete the following example - Input: select the rows whose date record fuzzily matches to november . for the attendance records of these rows , most of them are greater than or equal to 10000 . Output:
[ "most_greater_eq { filter_eq { all_rows ; date ; november } ; attendance ; 10000 }" ]
task210-088f4d5f14174331be058b93c20d5c8f
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record of this row is india. Output: eq { hop { nth_argmax { all_rows ; goal gain ; 3 } ; team } ; south china } Now complete the following example - Input: select the row whose administrative panel record of all rows is maximum . the party record of this row is fine gael . Output:
[ "eq { hop { argmax { all_rows ; administrative panel } ; party } ; fine gael }" ]
task210-d567fef1605e4338b79ca0d8f6aeab13
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record of this row is india. Output: eq { hop { nth_argmax { all_rows ; goal gain ; 3 } ; team } ; south china } Now complete the following example - Input: select the rows whose opponents record fuzzily matches to palamós . select the row whose kick off record of these rows is minimum . the referee record of this row is daudén ibáñez . Output:
[ "eq { hop { argmin { filter_eq { all_rows ; opponents ; palamós } ; kick off } ; referee } ; daudén ibáñez }" ]
task210-2090e9cdd5ed4b2ca259b16fbecf5db1
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record of this row is india. Output: eq { hop { nth_argmax { all_rows ; goal gain ; 3 } ; team } ; south china } Now complete the following example - Input: select the rows whose method record fuzzily matches to rear naked choke . there is only one such row in the table . the opponent record of this unqiue row is helio dipp . Output:
[ "and { only { filter_eq { all_rows ; method ; rear naked choke } } ; eq { hop { filter_eq { all_rows ; method ; rear naked choke } ; opponent } ; helio dipp } }" ]
task210-40a40c9e355149e0b06eabad7439d8e4
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record of this row is india. Output: eq { hop { nth_argmax { all_rows ; goal gain ; 3 } ; team } ; south china } Now complete the following example - Input: select the rows whose venue record fuzzily matches to san francisco . the number of such rows is 2 . Output:
[ "eq { count { filter_eq { all_rows ; venue ; san francisco } } ; 2 }" ]
task210-6542d17540ee4098a0c4c3802d515e33
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record of this row is india. Output: eq { hop { nth_argmax { all_rows ; goal gain ; 3 } ; team } ; south china } Now complete the following example - Input: select the row whose pick record of all rows is minimum . the player record of this row is james lofton . Output:
[ "eq { hop { argmin { all_rows ; pick } ; player } ; james lofton }" ]
task210-65ac1d8247964cc2b2cdd5e603866438
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record of this row is india. Output: eq { hop { nth_argmax { all_rows ; goal gain ; 3 } ; team } ; south china } Now complete the following example - Input: for the screen size ( inch ) records of all rows , most of them are greater than or equal to 7 . Output:
[ "most_greater_eq { all_rows ; screen size ( inch ) ; 7 }" ]
task210-ead086daaec2415a984bf2345ff3a4da
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record of this row is india. Output: eq { hop { nth_argmax { all_rows ; goal gain ; 3 } ; team } ; south china } Now complete the following example - Input: select the rows whose 2nd component record fuzzily matches to acetone . the number of such rows is 3 . Output:
[ "eq { count { filter_eq { all_rows ; 2nd component ; acetone } } ; 3 }" ]
task210-f13d0067687b4eac9f0cf44c5c9db1c8
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record of this row is india. Output: eq { hop { nth_argmax { all_rows ; goal gain ; 3 } ; team } ; south china } Now complete the following example - Input: select the rows whose college record fuzzily matches to saskatchewan . among these rows , select the rows whose position record fuzzily matches to k . there is only one such row in the table . the player record of this unqiue row is matt kellett . Output:
[ "and { only { filter_eq { filter_eq { all_rows ; college ; saskatchewan } ; position ; k } } ; eq { hop { filter_eq { filter_eq { all_rows ; college ; saskatchewan } ; position ; k } ; player } ; matt kellett } }" ]
task210-14b519968c2d4b339c6471c2f0687b74
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record of this row is india. Output: eq { hop { nth_argmax { all_rows ; goal gain ; 3 } ; team } ; south china } Now complete the following example - Input: select the rows whose department record is arbitrary . the number of such rows is 7 . Output:
[ "eq { count { filter_all { all_rows ; department } } ; 7 }" ]
task210-8418488a8c124b0a91e54d587214993d
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record of this row is india. Output: eq { hop { nth_argmax { all_rows ; goal gain ; 3 } ; team } ; south china } Now complete the following example - Input: select the rows whose venue record fuzzily matches to tsirion stadium , limassol . take the date record of this row . select the rows whose venue record fuzzily matches to king abdullah stadium , amman . take the date record of this row . the first record is less than the second record . Output:
[ "less { hop { filter_eq { all_rows ; venue ; tsirion stadium , limassol } ; date } ; hop { filter_eq { all_rows ; venue ; king abdullah stadium , amman } ; date } }" ]
task210-82f503f45a8c42c4a6ff855f04a292e8
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record of this row is india. Output: eq { hop { nth_argmax { all_rows ; goal gain ; 3 } ; team } ; south china } Now complete the following example - Input: select the row whose sets lost record of all rows is 2nd maximum . the team record of this row is far eastern university . Output:
[ "eq { hop { nth_argmax { all_rows ; sets lost ; 2 } ; team } ; far eastern university }" ]
task210-a6ce87aad5df4e548285a07cc66f583a
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record of this row is india. Output: eq { hop { nth_argmax { all_rows ; goal gain ; 3 } ; team } ; south china } Now complete the following example - Input: select the row whose born record of all rows is minimum . the archbishop record of this row is jean baptiste lamy . Output:
[ "eq { hop { argmin { all_rows ; born } ; archbishop } ; jean baptiste lamy }" ]
task210-9b4eadeed84a44f5aec6557534bde28e
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record of this row is india. Output: eq { hop { nth_argmax { all_rows ; goal gain ; 3 } ; team } ; south china } Now complete the following example - Input: for the seating records of all rows , most of them are less than 100000 . Output:
[ "most_less { all_rows ; seating ; 100000 }" ]
task210-16789c874e3943198ebd2affe08bf419
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record of this row is india. Output: eq { hop { nth_argmax { all_rows ; goal gain ; 3 } ; team } ; south china } Now complete the following example - Input: for the season premiere date records of all rows , all of them fuzzily match to 20 . Output:
[ "all_eq { all_rows ; season premiere date ; 20 }" ]
task210-2cb10d1f1eba4c5b8e318ac792d4d488
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record of this row is india. Output: eq { hop { nth_argmax { all_rows ; goal gain ; 3 } ; team } ; south china } Now complete the following example - Input: the average of the races record of all rows is 14.4 . Output:
[ "round_eq { avg { all_rows ; races } ; 14.4 }" ]
task210-3972d51d954a40f6b726b4dff67e909c
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record of this row is india. Output: eq { hop { nth_argmax { all_rows ; goal gain ; 3 } ; team } ; south china } Now complete the following example - Input: select the rows whose stadium record fuzzily matches to mikheil meskhi stadium . take the capacity record of this row . select the rows whose stadium record fuzzily matches to sasha kvaratskhelia stadium . take the capacity record of this row . the first record is greater than the second record . Output:
[ "greater { hop { filter_eq { all_rows ; stadium ; mikheil meskhi stadium } ; capacity } ; hop { filter_eq { all_rows ; stadium ; sasha kvaratskhelia stadium } ; capacity } }" ]
task210-6584f8401325463991d63f96bfefad9b
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record of this row is india. Output: eq { hop { nth_argmax { all_rows ; goal gain ; 3 } ; team } ; south china } Now complete the following example - Input: the average of the number of clubs record of all rows is 13 . Output:
[ "round_eq { avg { all_rows ; number of clubs } ; 13 }" ]
task210-57df4f8cedcb4cf49557aa33a59d3f2a
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record of this row is india. Output: eq { hop { nth_argmax { all_rows ; goal gain ; 3 } ; team } ; south china } Now complete the following example - Input: select the rows whose year record is equal to 2008 . among these rows , select the rows whose length record is greater than 5:00 . there is only one such row in the table . the music video record of this unqiue row is umbrella ( feat younha ) ( 우산 ) . Output:
[ "and { only { filter_greater { filter_eq { all_rows ; year ; 2008 } ; length ; 5:00 } } ; eq { hop { filter_greater { filter_eq { all_rows ; year ; 2008 } ; length ; 5:00 } ; music video } ; umbrella ( feat younha ) ( 우산 ) } }" ]
task210-7a1b2fd752514b75b55fb88c20239c03
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record of this row is india. Output: eq { hop { nth_argmax { all_rows ; goal gain ; 3 } ; team } ; south china } Now complete the following example - Input: select the row whose first elected record of all rows is 1st minimum . the incumbent record of this row is william j driver . Output:
[ "eq { hop { nth_argmin { all_rows ; first elected ; 1 } ; incumbent } ; william j driver }" ]
task210-1b1a2aaedc724d27930579d3e82c25ac
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record of this row is india. Output: eq { hop { nth_argmax { all_rows ; goal gain ; 3 } ; team } ; south china } Now complete the following example - Input: the maximum home team score record of all rows is 15.17 ( 107 ) . the home team record of the row with superlative home team score record is south melbourne . the date record of the row with superlative home team score record is 7 august 1926 . Output:
[ "and { eq { max { all_rows ; home team score } ; 15.17 ( 107 ) } ; and { eq { hop { argmax { all_rows ; home team score } ; home team } ; south melbourne } ; eq { hop { argmax { all_rows ; home team score } ; date } ; 7 august 1926 } } }" ]
task210-b430c375ac614eeba63d6ef5f7dacb93
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record of this row is india. Output: eq { hop { nth_argmax { all_rows ; goal gain ; 3 } ; team } ; south china } Now complete the following example - Input: select the rows whose model number record fuzzily matches to core i7 - 2649 m . take the frequency record of this row . select the rows whose model number record fuzzily matches to core i7 - 2629 m . take the frequency record of this row . the first record is greater than the second record . Output:
[ "greater { hop { filter_eq { all_rows ; model number ; core i7 - 2649 m } ; frequency } ; hop { filter_eq { all_rows ; model number ; core i7 - 2629 m } ; frequency } }" ]
task210-29175a1252ce492e80f701a126e84397
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record of this row is india. Output: eq { hop { nth_argmax { all_rows ; goal gain ; 3 } ; team } ; south china } Now complete the following example - Input: the average of the apparent magnitude record of all rows is 10.95 . Output:
[ "round_eq { avg { all_rows ; apparent magnitude } ; 10.95 }" ]
task210-11579e10b44a43a88cf46c041a23325f
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record of this row is india. Output: eq { hop { nth_argmax { all_rows ; goal gain ; 3 } ; team } ; south china } Now complete the following example - Input: select the rows whose leading scorer record fuzzily matches to ashley stott . there is only one such row in the table . the year record of this unqiue row is 2008 - 09 . Output:
[ "and { only { filter_eq { all_rows ; leading scorer ; ashley stott } } ; eq { hop { filter_eq { all_rows ; leading scorer ; ashley stott } ; year } ; 2008 - 09 } }" ]
task210-b4e1897de1b1447db127911a9a2706cc
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record of this row is india. Output: eq { hop { nth_argmax { all_rows ; goal gain ; 3 } ; team } ; south china } Now complete the following example - Input: for the cuts made records of all rows , all of them are greater than or equal to 1 . Output:
[ "all_greater_eq { all_rows ; cuts made ; 1 }" ]
task210-a469a30eb2074e32a8dad063f26bb4d0
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record of this row is india. Output: eq { hop { nth_argmax { all_rows ; goal gain ; 3 } ; team } ; south china } Now complete the following example - Input: select the rows whose high points record fuzzily matches to richard hamilton . the number of such rows is 4 . Output:
[ "eq { count { filter_eq { all_rows ; high points ; richard hamilton } } ; 4 }" ]
task210-656634358ed74917bf851fe6a972b2e8
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record of this row is india. Output: eq { hop { nth_argmax { all_rows ; goal gain ; 3 } ; team } ; south china } Now complete the following example - Input: select the row whose silver record of all rows is 2nd maximum . the nation record of this row is canada . Output:
[ "eq { hop { nth_argmax { all_rows ; silver ; 2 } ; nation } ; canada }" ]
task210-18f03c47ebf14ff7a61abf136736f781
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record of this row is india. Output: eq { hop { nth_argmax { all_rows ; goal gain ; 3 } ; team } ; south china } Now complete the following example - Input: select the rows whose gold record is greater than 0 . the number of such rows is 6 . Output:
[ "eq { count { filter_greater { all_rows ; gold ; 0 } } ; 6 }" ]
task210-4e6b6b229d454375916a76a99ada07f8
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record of this row is india. Output: eq { hop { nth_argmax { all_rows ; goal gain ; 3 } ; team } ; south china } Now complete the following example - Input: select the rows whose venue record is arbitrary . the number of such rows is 5 . Output:
[ "eq { count { filter_all { all_rows ; venue } } ; 5 }" ]
task210-f27180a8f4d24f7492c249effb87dc4d
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record of this row is india. Output: eq { hop { nth_argmax { all_rows ; goal gain ; 3 } ; team } ; south china } Now complete the following example - Input: select the row whose pick record of all rows is 6th minimum . the player record of this row is mike wacker . Output:
[ "eq { hop { nth_argmin { all_rows ; pick ; 6 } ; player } ; mike wacker }" ]
task210-bdf807d7d331470198d989abcd22777c
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record of this row is india. Output: eq { hop { nth_argmax { all_rows ; goal gain ; 3 } ; team } ; south china } Now complete the following example - Input: for the date records of all rows , all of them fuzzily match to 16 august . Output:
[ "all_eq { all_rows ; date ; 16 august }" ]
task210-d1d307d2888044fb9feecafd1276454a
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record of this row is india. Output: eq { hop { nth_argmax { all_rows ; goal gain ; 3 } ; team } ; south china } Now complete the following example - Input: the sum of the races record of all rows is 123 . Output:
[ "round_eq { sum { all_rows ; races } ; 123 }" ]
task210-ee12ec427e504224a8e2c1e7b25d5a81
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record of this row is india. Output: eq { hop { nth_argmax { all_rows ; goal gain ; 3 } ; team } ; south china } Now complete the following example - Input: select the row whose jersey number ( s ) record of all rows is 2nd maximum . the player record of this row is patrick ewing . Output:
[ "eq { hop { nth_argmax { all_rows ; jersey number ( s ) ; 2 } ; player } ; patrick ewing }" ]
task210-6de2ef49003f482fa5029a35292c4cc2
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record of this row is india. Output: eq { hop { nth_argmax { all_rows ; goal gain ; 3 } ; team } ; south china } Now complete the following example - Input: for the gross tonnage records of all rows , most of them are greater than 2000 . Output:
[ "most_greater { all_rows ; gross tonnage ; 2000 }" ]
task210-9958db6f953b4346b66da937cd993679
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record of this row is india. Output: eq { hop { nth_argmax { all_rows ; goal gain ; 3 } ; team } ; south china } Now complete the following example - Input: select the rows whose driver record fuzzily matches to sarah fisher . take the laps record of this row . select the rows whose driver record fuzzily matches to dan wheldon . take the laps record of this row . the first record is greater than the second record . Output:
[ "greater { hop { filter_eq { all_rows ; driver ; sarah fisher } ; laps } ; hop { filter_eq { all_rows ; driver ; dan wheldon } ; laps } }" ]
task210-cf7af97fb1d14264831486ba7643f6c1
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record of this row is india. Output: eq { hop { nth_argmax { all_rows ; goal gain ; 3 } ; team } ; south china } Now complete the following example - Input: select the row whose date record of all rows is 11th minimum . the field record of this row is cawley memorial stadium . Output:
[ "eq { hop { nth_argmin { all_rows ; date ; 11 } ; field } ; cawley memorial stadium }" ]
task210-13f125a0080844d88bb82d530d78a606
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record of this row is india. Output: eq { hop { nth_argmax { all_rows ; goal gain ; 3 } ; team } ; south china } Now complete the following example - Input: select the row whose march record of all rows is 12th minimum . the score record of this row is 8 - 7 . Output:
[ "eq { hop { nth_argmin { all_rows ; march ; 12 } ; score } ; 8 - 7 }" ]
task210-db1a23e4cd2d4477b6a115df646b1c82
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record of this row is india. Output: eq { hop { nth_argmax { all_rows ; goal gain ; 3 } ; team } ; south china } Now complete the following example - Input: select the rows whose venue record fuzzily matches to colombo . the number of such rows is 2 . Output:
[ "eq { count { filter_eq { all_rows ; venue ; colombo } } ; 2 }" ]
task210-e5fd1a0cdb6e4a439c9afea0c94c6d52
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record of this row is india. Output: eq { hop { nth_argmax { all_rows ; goal gain ; 3 } ; team } ; south china } Now complete the following example - Input: select the rows whose player record fuzzily matches to tom bladon . take the round record of this row . select the rows whose player record fuzzily matches to jim watson . take the round record of this row . the first record is less than the second record . Output:
[ "less { hop { filter_eq { all_rows ; player ; tom bladon } ; round } ; hop { filter_eq { all_rows ; player ; jim watson } ; round } }" ]
task210-c624579e8cac444189ec50dd7033d90a
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record of this row is india. Output: eq { hop { nth_argmax { all_rows ; goal gain ; 3 } ; team } ; south china } Now complete the following example - Input: select the rows whose team record fuzzily matches to yamaha . the average of the points record of these rows is 4.5 . Output:
[ "round_eq { avg { filter_eq { all_rows ; team ; yamaha } ; points } ; 4.5 }" ]
task210-948a3e5bd3594b559dd5d6619785061c
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record of this row is india. Output: eq { hop { nth_argmax { all_rows ; goal gain ; 3 } ; team } ; south china } Now complete the following example - Input: select the row whose original airdate record of all rows is maximum . the episode record of this row is 13 . Output:
[ "eq { hop { argmax { all_rows ; original airdate } ; episode } ; 13 }" ]
task210-621fcc123622448d8ebacbe55f1f04be
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record of this row is india. Output: eq { hop { nth_argmax { all_rows ; goal gain ; 3 } ; team } ; south china } Now complete the following example - Input: the average of the stages won record of all rows is 1.6 . Output:
[ "round_eq { avg { all_rows ; stages won } ; 1.6 }" ]
task210-e03ea2a7e0ac485b8af54f34b2cb99b4
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record of this row is india. Output: eq { hop { nth_argmax { all_rows ; goal gain ; 3 } ; team } ; south china } Now complete the following example - Input: for the to par records of all rows , most of them are greater than or equal to 9 . Output:
[ "most_greater_eq { all_rows ; to par ; 9 }" ]
task210-42143d8962ac45ada94f3d46a9f87146
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record of this row is india. Output: eq { hop { nth_argmax { all_rows ; goal gain ; 3 } ; team } ; south china } Now complete the following example - Input: select the row whose population m ( luz ) record of all rows is 2nd maximum . the city record of this row is london . Output:
[ "eq { hop { nth_argmax { all_rows ; population m ( luz ) ; 2 } ; city } ; london }" ]
task210-1c893a35b7234bfdaea3ab9871fa17e7
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record of this row is india. Output: eq { hop { nth_argmax { all_rows ; goal gain ; 3 } ; team } ; south china } Now complete the following example - Input: select the row whose time ( et ) record of all rows is maximum . the week record of this row is 9 . the opponent record of this row is pittsburgh steelers . Output:
[ "and { eq { hop { argmax { all_rows ; time ( et ) } ; week } ; 9 } ; eq { hop { argmax { all_rows ; time ( et ) } ; opponent } ; pittsburgh steelers } }" ]
task210-2d3083ca553c4562ac96f0ee1964301e
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record of this row is india. Output: eq { hop { nth_argmax { all_rows ; goal gain ; 3 } ; team } ; south china } Now complete the following example - Input: for the position records of all rows , most of them fuzzily match to guard . Output:
[ "most_eq { all_rows ; position ; guard }" ]
task210-b52ad39bb3f64f5987962581020b66a7
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record of this row is india. Output: eq { hop { nth_argmax { all_rows ; goal gain ; 3 } ; team } ; south china } Now complete the following example - Input: select the rows whose player record fuzzily matches to adam gilchrist . take the matches record of this row . select the rows whose player record fuzzily matches to steve rixon . take the matches record of this row . the first record is greater than the second record . Output:
[ "greater { hop { filter_eq { all_rows ; player ; adam gilchrist } ; matches } ; hop { filter_eq { all_rows ; player ; steve rixon } ; matches } }" ]
task210-1ce532a77880433fa4d464ec3926fe1d
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record of this row is india. Output: eq { hop { nth_argmax { all_rows ; goal gain ; 3 } ; team } ; south china } Now complete the following example - Input: select the rows whose title record fuzzily matches to the chipmunk adventure . take the year record of this row . select the rows whose title record fuzzily matches to alvin and the chipmunks meet the wolfman . take the year record of this row . the first record is less than the second record . Output:
[ "less { hop { filter_eq { all_rows ; title ; the chipmunk adventure } ; year } ; hop { filter_eq { all_rows ; title ; alvin and the chipmunks meet the wolfman } ; year } }" ]
task210-1c7a11158c5441df90e91eee0ff3d10f
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record of this row is india. Output: eq { hop { nth_argmax { all_rows ; goal gain ; 3 } ; team } ; south china } Now complete the following example - Input: select the row whose year ( ceremony ) record of all rows is 2nd maximum . the film title used in nomination record of this row is lore . Output:
[ "eq { hop { nth_argmax { all_rows ; year ( ceremony ) ; 2 } ; film title used in nomination } ; lore }" ]
task210-be936f3cf3364fbebe006e7e4ea089ba
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record of this row is india. Output: eq { hop { nth_argmax { all_rows ; goal gain ; 3 } ; team } ; south china } Now complete the following example - Input: select the rows whose cores record is equal to 1 . there is only one such row in the table . the model number record of this unqiue row is itanium 2 9010 . Output:
[ "and { only { filter_eq { all_rows ; cores ; 1 } } ; eq { hop { filter_eq { all_rows ; cores ; 1 } ; model number } ; itanium 2 9010 } }" ]
task210-95f064adb6ef4570bc33785361e876db
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record of this row is india. Output: eq { hop { nth_argmax { all_rows ; goal gain ; 3 } ; team } ; south china } Now complete the following example - Input: select the rows whose team ( s ) record fuzzily matches to dingman brothers racing . there is only one such row in the table . the year record of this unqiue row is 1987 . Output:
[ "and { only { filter_eq { all_rows ; team ( s ) ; dingman brothers racing } } ; eq { hop { filter_eq { all_rows ; team ( s ) ; dingman brothers racing } ; year } ; 1987 } }" ]
task210-a3a1ccbc80c242149561332be0caa408
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record of this row is india. Output: eq { hop { nth_argmax { all_rows ; goal gain ; 3 } ; team } ; south china } Now complete the following example - Input: select the rows whose competition record fuzzily matches to friendly . among these rows , select the rows whose venue record fuzzily matches to stadion villach lind , villach , austria . the number of such rows is 2 . Output:
[ "eq { count { filter_eq { filter_eq { all_rows ; competition ; friendly } ; venue ; stadion villach lind , villach , austria } } ; 2 }" ]
task210-89740f61698a40e28406e789969903e4
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record of this row is india. Output: eq { hop { nth_argmax { all_rows ; goal gain ; 3 } ; team } ; south china } Now complete the following example - Input: select the row whose attendance record of all rows is maximum . the date record of this row is november 14 . Output:
[ "eq { hop { argmax { all_rows ; attendance } ; date } ; november 14 }" ]
task210-6ab5bc50f52f48c792d85f16179c76ee
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record of this row is india. Output: eq { hop { nth_argmax { all_rows ; goal gain ; 3 } ; team } ; south china } Now complete the following example - Input: select the rows whose location record fuzzily matches to yankee stadium . the number of such rows is 3 . Output:
[ "eq { count { filter_eq { all_rows ; location ; yankee stadium } } ; 3 }" ]
task210-843187bb79fa4414ad8d8e115e995331
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record of this row is india. Output: eq { hop { nth_argmax { all_rows ; goal gain ; 3 } ; team } ; south china } Now complete the following example - Input: select the row whose points record of all rows is 2nd maximum . the song record of this row is are you sure . Output:
[ "eq { hop { nth_argmax { all_rows ; points ; 2 } ; song } ; are you sure }" ]
task210-00b2a49239b746eca9b6503f2ca572ba
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record of this row is india. Output: eq { hop { nth_argmax { all_rows ; goal gain ; 3 } ; team } ; south china } Now complete the following example - Input: select the rows whose diemaco model record fuzzily matches to lsw . take the barrel length record of this row . select the rows whose diemaco model record fuzzily matches to c8 . take the barrel length record of this row . the first record is greater than the second record . Output:
[ "greater { hop { filter_eq { all_rows ; diemaco model ; lsw } ; barrel length } ; hop { filter_eq { all_rows ; diemaco model ; c8 } ; barrel length } }" ]
task210-2ccd5d36298d4333b1b45bc8671a09ce
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record of this row is india. Output: eq { hop { nth_argmax { all_rows ; goal gain ; 3 } ; team } ; south china } Now complete the following example - Input: select the rows whose television record fuzzily matches to espn2 . the sum of the attendance record of these rows is 44912 . Output:
[ "round_eq { sum { filter_eq { all_rows ; television ; espn2 } ; attendance } ; 44912 }" ]
task210-a17548c860bf48eda91704153a95451a
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record of this row is india. Output: eq { hop { nth_argmax { all_rows ; goal gain ; 3 } ; team } ; south china } Now complete the following example - Input: the average of the s risk - weighted asset , million record of all rows is 60551 . Output:
[ "round_eq { avg { all_rows ; s risk - weighted asset , million } ; 60551 }" ]
task210-4f8925dc5bf347a694ce6899e8febeb1
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record of this row is india. Output: eq { hop { nth_argmax { all_rows ; goal gain ; 3 } ; team } ; south china } Now complete the following example - Input: select the rows whose home team score record is less than 10.0 . the number of such rows is 3 . Output:
[ "eq { count { filter_less { all_rows ; home team score ; 10.0 } } ; 3 }" ]
task210-279f23760451439c96ba1bf9ed41176c
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record of this row is india. Output: eq { hop { nth_argmax { all_rows ; goal gain ; 3 } ; team } ; south china } Now complete the following example - Input: select the row whose enrollment record of all rows is maximum . the school record of this row is belleville east high school . Output:
[ "eq { hop { argmax { all_rows ; enrollment } ; school } ; belleville east high school }" ]
task210-1c89375aa6b4486f847bc20787db5443
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record of this row is india. Output: eq { hop { nth_argmax { all_rows ; goal gain ; 3 } ; team } ; south china } Now complete the following example - Input: for the co - drivers records of all rows , most of them fuzzily match to mark blundell . Output:
[ "most_eq { all_rows ; co - drivers ; mark blundell }" ]
task210-3ba3522ede3345e287eac2fe9a9a1029
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record of this row is india. Output: eq { hop { nth_argmax { all_rows ; goal gain ; 3 } ; team } ; south china } Now complete the following example - Input: select the rows whose country record fuzzily matches to united states . the number of such rows is 5 . Output:
[ "eq { count { filter_eq { all_rows ; country ; united states } } ; 5 }" ]
task210-a3fe5becc0ad4ad3a1f96c6d25b260d4
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record of this row is india. Output: eq { hop { nth_argmax { all_rows ; goal gain ; 3 } ; team } ; south china } Now complete the following example - Input: select the rows whose class record fuzzily matches to c1 . there is only one such row in the table . the year record of this unqiue row is 1992 . Output:
[ "and { only { filter_eq { all_rows ; class ; c1 } } ; eq { hop { filter_eq { all_rows ; class ; c1 } ; year } ; 1992 } }" ]
task210-fa7c3e9cf5464fffb70c3ca290db05ab
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record of this row is india. Output: eq { hop { nth_argmax { all_rows ; goal gain ; 3 } ; team } ; south china } Now complete the following example - Input: select the rows whose year record is equal to 1987 . the number of such rows is 5 . Output:
[ "eq { count { filter_eq { all_rows ; year ; 1987 } } ; 5 }" ]
task210-5eb7f7372b25479c8b3d8f043d6db13b
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record of this row is india. Output: eq { hop { nth_argmax { all_rows ; goal gain ; 3 } ; team } ; south china } Now complete the following example - Input: select the rows whose country record fuzzily matches to spain . there is only one such row in the table . the english title record of this unqiue row is bad education . Output:
[ "and { only { filter_eq { all_rows ; country ; spain } } ; eq { hop { filter_eq { all_rows ; country ; spain } ; english title } ; bad education } }" ]
task210-2efebe7444b84a478e6b9ad7bdb4bb41
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record of this row is india. Output: eq { hop { nth_argmax { all_rows ; goal gain ; 3 } ; team } ; south china } Now complete the following example - Input: select the row whose reason for change record of all rows is 1st minimum . the vacator record of this row is george h christopher ( d ) . Output:
[ "eq { hop { nth_argmin { all_rows ; reason for change ; 1 } ; vacator } ; george h christopher ( d ) }" ]
task210-cd752f1d86f7434997ca04bee9950d8b
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record of this row is india. Output: eq { hop { nth_argmax { all_rows ; goal gain ; 3 } ; team } ; south china } Now complete the following example - Input: select the row whose of seats won record of all rows is maximum . the election record of this row is 1984 . Output:
[ "eq { hop { argmax { all_rows ; of seats won } ; election } ; 1984 }" ]
task210-21de1e2e4d40484fb0679619b258c90f