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 rows whose position record fuzzily matches to m . among these rows , select the rows whose pick record is greater than 27 . the number of such rows is 3 . Output:
[ "eq { count { filter_greater { filter_eq { all_rows ; position ; m } ; pick ; 27 } } ; 3 }" ]
task210-fa13a1719557495a8565d277855f73f8
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 destination record fuzzily matches to chennai . among these rows , select the rows whose frequency record fuzzily matches to daily . the number of such rows is 4 . Output:
[ "eq { count { filter_eq { filter_eq { all_rows ; destination ; chennai } ; frequency ; daily } } ; 4 }" ]
task210-0e69ef637aef4dd7b34656f7a033ac6c
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 notes record of all rows is 3rd maximum . the year record of this row is 2004 . Output:
[ "eq { hop { nth_argmax { all_rows ; notes ; 3 } ; year } ; 2004 }" ]
task210-5281df34c4a340a2b7006e85de9a8eae
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 location records of all rows , most of them fuzzily match to three rivers stadium . Output:
[ "most_eq { all_rows ; location ; three rivers stadium }" ]
task210-d475feae0107487f97e8931803091bce
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 ed o'bannon . Output:
[ "eq { hop { argmin { all_rows ; pick } ; player } ; ed o'bannon }" ]
task210-8e4c2998ada744398e0403e727473dd7
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 . among these rows , select the rows whose result record fuzzily matches to l . the number of such rows is 2 . Output:
[ "eq { count { filter_eq { filter_eq { all_rows ; date ; november } ; result ; l } } ; 2 }" ]
task210-92502f7eb4744debb20c3c990acb98f5
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 incumbent record fuzzily matches to curt weldon . take the opponent record of this row . select the rows whose incumbent record fuzzily matches to john murtha . take the opponent record of this row . the first record is greater than the second record . Output:
[ "greater { hop { filter_eq { all_rows ; incumbent ; curt weldon } ; opponent } ; hop { filter_eq { all_rows ; incumbent ; john murtha } ; opponent } }" ]
task210-8a8e9936f06a4acda9343314d3fc0cee
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 nationality record fuzzily matches to jamaica . the number of such rows is 2 . Output:
[ "eq { count { filter_eq { all_rows ; nationality ; jamaica } } ; 2 }" ]
task210-5ea2fdf7ac0c4340815d1f9bcb81fb0c
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 game site record fuzzily matches to bears stadium . the number of such rows is 6 . Output:
[ "eq { count { filter_eq { all_rows ; game site ; bears stadium } } ; 6 }" ]
task210-4d7416fcf3d44ff5b87d96fa1e0559bb
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 of origin record fuzzily matches to united kingdom . the number of such rows is 4 . Output:
[ "eq { count { filter_eq { all_rows ; country of origin ; united kingdom } } ; 4 }" ]
task210-69dca25760da42059ca154b3f4cc7bde
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 score record of all rows is 16 . Output:
[ "round_eq { sum { all_rows ; score } ; 16 }" ]
task210-537cc97bb4e546cfbf523ddf3b4fac19
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 goals record of all rows is 1158 . Output:
[ "round_eq { sum { all_rows ; goals } ; 1158 }" ]
task210-30cf95fe978b4b7f8b440a9d64fa8512
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 total record of all rows is 2nd maximum . the nation record of this row is netherlands . Output:
[ "eq { hop { nth_argmax { all_rows ; total ; 2 } ; nation } ; netherlands }" ]
task210-b437b1ab3c1a49c9b10bdccc62038acd
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 name record fuzzily matches to santa maria da feira . take the area ( km square ) record of this row . select the rows whose name record fuzzily matches to vale de cambra . take the area ( km square ) record of this row . the first record is greater than the second record . the area ( km square ) record of the first row is 215.1 . the area ( km square ) record of the second row is 146.5 . Output:
[ "and { greater { hop { filter_eq { all_rows ; name ; santa maria da feira } ; area ( km square ) } ; hop { filter_eq { all_rows ; name ; vale de cambra } ; area ( km square ) } } ; and { eq { hop { filter_eq { all_rows ; name ; santa maria da feira } ; area ( km square ) } ; 215.1 } ; eq { hop { filter_eq { all_rows ; name ; vale de cambra } ; area ( km square ) } ; 146.5 } } }" ]
task210-512c4973ac224b6cb67f966743902cd4
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 attendance record of all rows is 881037 . Output:
[ "round_eq { sum { all_rows ; attendance } ; 881037 }" ]
task210-a827b6fc3a6e49c6b4c1b8c52de50f90
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 tournament record fuzzily matches to egypt . there is only one such row in the table . the date record of this unqiue row is 31 october 2010 . Output:
[ "and { only { filter_eq { all_rows ; tournament ; egypt } } ; eq { hop { filter_eq { all_rows ; tournament ; egypt } ; date } ; 31 october 2010 } }" ]
task210-cf79b124b76246a59fb5bceddd64319e
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 maximum . the club record of this row is ud las palmas . Output:
[ "eq { hop { argmax { all_rows ; points } ; club } ; ud las palmas }" ]
task210-84ee8b7ec8864c50a6f4755bf699208b
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 home team score record of all rows is maximum . the home team record of this row is richmond . the away team score record of this row is 14.10 ( 94 ) . Output:
[ "and { eq { hop { argmax { all_rows ; home team score } ; home team } ; richmond } ; eq { hop { argmax { all_rows ; home team score } ; away team score } ; 14.10 ( 94 ) } }" ]
task210-e643ff33ac694adfa9681a1730ac1f7b
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 number of aircraft records of all rows , most of them are greater than 40 . Output:
[ "most_greater { all_rows ; number of aircraft ; 40 }" ]
task210-9176e398ea564adabe71843bd3c4efec
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 equal to 13 . the number of such rows is 2 . Output:
[ "eq { count { filter_eq { all_rows ; gold ; 13 } } ; 2 }" ]
task210-2ebcff32073f46db8a1ba9dbeea8094f
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 tournament record fuzzily matches to nice . take the date record of this row . select the rows whose tournament record fuzzily matches to estoril . take the date record of this row . the first record is less than the second record . Output:
[ "less { hop { filter_eq { all_rows ; tournament ; nice } ; date } ; hop { filter_eq { all_rows ; tournament ; estoril } ; date } }" ]
task210-ed88fa19ad5a4890b425b68ead535ffe
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 winner records of all rows , most of them fuzzily match to blue . Output:
[ "most_eq { all_rows ; winner ; blue }" ]
task210-970ea2c3a805402ba69e0b25d7692596
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 supplier records of all rows , most of them fuzzily match to kooga . Output:
[ "most_eq { all_rows ; supplier ; kooga }" ]
task210-8dc663036a434b0ca6cae502db4ce41e
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 overton brooks . Output:
[ "eq { hop { nth_argmin { all_rows ; first elected ; 1 } ; incumbent } ; overton brooks }" ]
task210-e5eb3514aa634dfe84b47ded0b4adf9d
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 first elected records of all rows , most of them are greater than 1920 . Output:
[ "most_greater { all_rows ; first elected ; 1920 }" ]
task210-b187ae8788d440baa7e92ec19e216e1a
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 impedance ( ohms ) record of all rows is 33 . Output:
[ "round_eq { avg { all_rows ; impedance ( ohms ) } ; 33 }" ]
task210-3e33fd2a28884dda9df453cd0fd4fb75
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 event records of all rows , most of them fuzzily match to monsters of rock . Output:
[ "most_eq { all_rows ; event ; monsters of rock }" ]
task210-dae7185aa9534a2c8c2b9a2c4300f3e4
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 points record of all rows is 473 . Output:
[ "round_eq { sum { all_rows ; points } ; 473 }" ]
task210-7f8b1912dbe44e23bc1060fdf12e7e60
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 3rd minimum . the tournament record of this row is chennai , india . Output:
[ "eq { hop { nth_argmin { all_rows ; date ; 3 } ; tournament } ; chennai , india }" ]
task210-9f9b68066d8948bda9af4293d440077b
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 incumbent record fuzzily matches to george h tinkham . take the first elected record of this row . select the rows whose incumbent record fuzzily matches to james a gallivan . take the first elected record of this row . the first record is equal to the second record . Output:
[ "eq { hop { filter_eq { all_rows ; incumbent ; george h tinkham } ; first elected } ; hop { filter_eq { all_rows ; incumbent ; james a gallivan } ; first elected } }" ]
task210-1e82529aa68d4d2b9130eee124c2803c
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 authority records of all rows , all of them fuzzily match to state . Output:
[ "all_eq { all_rows ; authority ; state }" ]
task210-c72bc02a512742369e91debd1127a0a5
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 attendance record is greater than 10000 . for the date records of these rows , most of them fuzzily match to 21 - 11 - 1973 . Output:
[ "most_eq { filter_greater { all_rows ; attendance ; 10000 } ; date ; 21 - 11 - 1973 }" ]
task210-590d1d29b60e4b43a449263bcda919f3
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 partner records of all rows , most of them fuzzily match to app . Output:
[ "most_eq { all_rows ; partner ; app }" ]
task210-f5d285ed933a438a9a041a4f650e8da8
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 runs record of all rows is 2nd maximum . the fielding team record of this row is india . Output:
[ "eq { hop { nth_argmax { all_rows ; runs ; 2 } ; fielding team } ; india }" ]
task210-2f55bc8de9a24bf48eb76077a87441fb
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 incumbent record fuzzily matches to newt v mills . take the first elected record of this row . select the rows whose incumbent record fuzzily matches to jared y sanders , jr . take the first elected record of this row . the first record is less than the second record . Output:
[ "less { hop { filter_eq { all_rows ; incumbent ; newt v mills } ; first elected } ; hop { filter_eq { all_rows ; incumbent ; jared y sanders , jr } ; first elected } }" ]
task210-65b8c9131aab4cd0b83f48fe8693712c
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 quarterback . there is only one such row in the table . the name record of this unqiue row is bob gagliano . Output:
[ "and { only { filter_eq { all_rows ; position ; quarterback } } ; eq { hop { filter_eq { all_rows ; position ; quarterback } ; name } ; bob gagliano } }" ]
task210-c57cb2b48fca40c597daaa4ca9713597
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 damon stoudamire . among these rows , select the rows whose team record fuzzily matches to miami . there is only one such row in the table . the date record of this unqiue row is april 5 . Output:
[ "and { only { filter_eq { filter_eq { all_rows ; high points ; damon stoudamire } ; team ; miami } } ; eq { hop { filter_eq { filter_eq { all_rows ; high points ; damon stoudamire } ; team ; miami } ; date } ; april 5 } }" ]
task210-aafb80eb0d7745cf8c4a4126034b8d3d
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 engine record fuzzily matches to ecotec l61 i4 . the number of such rows is 6 . Output:
[ "eq { count { filter_eq { all_rows ; engine ; ecotec l61 i4 } } ; 6 }" ]
task210-73818bb3140b4311a6e75dddad9dfb10
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 3rd maximum . the english title record of this row is the wind journeys . Output:
[ "eq { hop { nth_argmax { all_rows ; year ( ceremony ) ; 3 } ; english title } ; the wind journeys }" ]
task210-a3d3d9bc571d4f49b3c731faa2a9abe2
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 format record fuzzily matches to campus radio . there is only one such row in the table . the call sign record of this unqiue row is cfak - fm . Output:
[ "and { only { filter_eq { all_rows ; format ; campus radio } } ; eq { hop { filter_eq { all_rows ; format ; campus radio } ; call sign } ; cfak - fm } }" ]
task210-f52943efa325452db00b154ed2638da1
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 total record of all rows is 2nd maximum . the name record of this row is michael doyle . Output:
[ "eq { hop { nth_argmax { all_rows ; total ; 2 } ; name } ; michael doyle }" ]
task210-a1af59764bd64d899d159dfb89417abb
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 novelty record fuzzily matches to gen et sp nov . the number of such rows is 4 . Output:
[ "eq { count { filter_eq { all_rows ; novelty ; gen et sp nov } } ; 4 }" ]
task210-1ac76d66e060443e9806516631769da5
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 owner records of all rows , most of them fuzzily match to greentrains . Output:
[ "most_eq { all_rows ; owner ; greentrains }" ]
task210-e17777d21be2454a8cfdb3e6e7893587
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 minimum . the performer 4 record of this row is ryan stiles . Output:
[ "eq { hop { argmin { all_rows ; date } ; performer 4 } ; ryan stiles }" ]
task210-0c1a44040b8e419aa94023b4feca2136
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 2006 . select the row whose date record of these rows is minimum . the opponent record of this row is josipa bek . Output:
[ "eq { hop { argmin { filter_eq { all_rows ; date ; 2006 } ; date } ; opponent } ; josipa bek }" ]
task210-98e20fb1cb7a4104b89edde856225026
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 ryan sutter . take the premiered record of this row . select the rows whose winner record fuzzily matches to jesse csincsak . take the premiered record of this row . the first record is less than the second record . the premiered record of the first row is january 8 , 2003 . the premiered record of the second row is may 19 , 2008 . Output:
[ "and { less { hop { filter_eq { all_rows ; winner ; ryan sutter } ; premiered } ; hop { filter_eq { all_rows ; winner ; jesse csincsak } ; premiered } } ; and { eq { hop { filter_eq { all_rows ; winner ; ryan sutter } ; premiered } ; january 8 , 2003 } ; eq { hop { filter_eq { all_rows ; winner ; jesse csincsak } ; premiered } ; may 19 , 2008 } } }" ]
task210-ec6f455eaa24495aa90b40ab9569a2a0
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 nickname record fuzzily matches to saints . the number of such rows is 1 . Output:
[ "eq { count { filter_eq { all_rows ; nickname ; saints } } ; 1 }" ]
task210-6123f03f19404a88b2de5ec208e1e3cf
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 philadelphia eagles . there is only one such row in the table . the week record of this unqiue row is 1 . Output:
[ "and { only { filter_eq { all_rows ; opponent ; philadelphia eagles } } ; eq { hop { filter_eq { all_rows ; opponent ; philadelphia eagles } ; week } ; 1 } }" ]
task210-bbd8ec82cb7d4e67bd25ab97f44dcb09
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 serbia . there is only one such row in the table . Output:
[ "only { filter_eq { all_rows ; nation ; serbia } }" ]
task210-a23bb069e1bb436d81a4cd7f70af91dc
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 enrollment record of all rows is 476 . Output:
[ "round_eq { avg { all_rows ; enrollment } ; 476 }" ]
task210-f70a21153e9f4666a004a985583b7a87
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 real madrid . the number of such rows is 9 . Output:
[ "eq { count { filter_eq { all_rows ; club ; real madrid } } ; 9 }" ]
task210-8040bee0b1d740daa95d886cda8e2208
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 aggregate score record of all rows is minimum . the proceed to quarter - final record of this row is montferrand . Output:
[ "eq { hop { argmin { all_rows ; aggregate score } ; proceed to quarter - final } ; montferrand }" ]
task210-e102f4b7584e424ab48521dd509bd908
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 mhz record of all rows is 99.16 . Output:
[ "round_eq { avg { all_rows ; frequency mhz } ; 99.16 }" ]
task210-63194e985d88403a894d0d4022a4ac61
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 , most of them fuzzily match to february . Output:
[ "most_eq { all_rows ; date ; february }" ]
task210-d74302f1c19a4186b97990af0038109d
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 18 , 1962 . take the attendance record of this row . select the rows whose date record fuzzily matches to december 16 , 1962 . take the attendance record of this row . the first record is greater than the second record . the attendance record of the first row is 12500 . the attendance record of the second row is 8000 . Output:
[ "and { greater { hop { filter_eq { all_rows ; date ; november 18 , 1962 } ; attendance } ; hop { filter_eq { all_rows ; date ; december 16 , 1962 } ; attendance } } ; and { eq { hop { filter_eq { all_rows ; date ; november 18 , 1962 } ; attendance } ; 12500 } ; eq { hop { filter_eq { all_rows ; date ; december 16 , 1962 } ; attendance } ; 8000 } } }" ]
task210-9932744f081c428194d9c1a55f7ac837
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 call sign record fuzzily matches to w269ax . take the frequency mhz record of this row . select the rows whose call sign record fuzzily matches to w230av . take the frequency mhz record of this row . the first record is greater than the second record . Output:
[ "greater { hop { filter_eq { all_rows ; call sign ; w269ax } ; frequency mhz } ; hop { filter_eq { all_rows ; call sign ; w230av } ; frequency mhz } }" ]
task210-b9e5a03da0d740449369fee3431e9a45
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 weight ( lbs ) record of all rows is 238.05 . Output:
[ "round_eq { avg { all_rows ; weight ( lbs ) } ; 238.05 }" ]
task210-6d9946e5b7c546ad897efb09bf67ec00
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 tv station record fuzzily matches to fuji tv . the number of such rows is 5 . Output:
[ "eq { count { filter_eq { all_rows ; tv station ; fuji tv } } ; 5 }" ]
task210-e368d5f027c14754a57ea7f827fc4865
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 elevation ( m ) records of all rows , all of them are greater than 1000 . Output:
[ "all_greater { all_rows ; elevation ( m ) ; 1000 }" ]
task210-b3347520e70e43f0bee4f128ec64dfae
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 completed records of all rows , all of them fuzzily match to no . Output:
[ "all_eq { all_rows ; completed ; no }" ]
task210-0405371da2404c3f811698fa7644404f
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 points record is less than 100 . there is only one such row in the table . the artist record of this unqiue row is giorgos gavriel . Output:
[ "and { only { filter_less { all_rows ; points ; 100 } } ; eq { hop { filter_less { all_rows ; points ; 100 } ; artist } ; giorgos gavriel } }" ]
task210-4daa7c83504642ef98b2c618286d0057
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 number in service record of all rows is maximum . the class record of this row is dc . Output:
[ "eq { hop { argmax { all_rows ; number in service } ; class } ; dc }" ]
task210-1e9abaa68e14451c801b8aa3f36fc643
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 rank record of all rows is maximum . the name record of this row is environmental sustainability index . Output:
[ "eq { hop { argmax { all_rows ; rank } ; name } ; environmental sustainability index }" ]
task210-f3bdbadd7ccc4aeaa35ce0916c5a970b
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 10 july . Output:
[ "all_eq { all_rows ; date ; 10 july }" ]
task210-dad57d31d68045a6a28a92fc17eed42f
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 market value ( usd million ) record of all rows is maximum . the name record of this row is microsoft . Output:
[ "eq { hop { argmax { all_rows ; market value ( usd million ) } ; name } ; microsoft }" ]
task210-2e13a8c50ddd4f5d910a47e01885a64c
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 minimum . the venue record of this row is mcg . Output:
[ "eq { hop { argmin { all_rows ; date } ; venue } ; mcg }" ]
task210-0af7471470df4dc4b8b120b0a881c9a7
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 record fuzzily matches to fitzroy . take the crowd record of this row . select the rows whose home team record fuzzily matches to north melbourne . take the crowd record of this row . the first record is greater than the second record . Output:
[ "greater { hop { filter_eq { all_rows ; home team ; fitzroy } ; crowd } ; hop { filter_eq { all_rows ; home team ; north melbourne } ; crowd } }" ]
task210-822eca5b9c9b486caf09ab2aedfbb5ab
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 9 august 1952 . Output:
[ "all_eq { all_rows ; date ; 9 august 1952 }" ]
task210-d62c9d76cd0a4d279939754e9edb0afa
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 multi lane record of all rows is maximum . the category wise record of this row is national highways . Output:
[ "eq { hop { argmax { all_rows ; multi lane } ; category wise } ; national highways }" ]
task210-0edb4144f27d4e6db6c5661b8e77d930
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 points record of all rows is 84 . Output:
[ "round_eq { avg { all_rows ; points } ; 84 }" ]
task210-6e480d7ccf75483994992d08e2b50f7f
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 points record of all rows is 23.25 . Output:
[ "round_eq { avg { all_rows ; points } ; 23.25 }" ]
task210-90e020129e734efab2e8a7598d6146cc
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 rnag ( mhz ) record of all rows is maximum . the transmitter record of this row is clermont carn . Output:
[ "eq { hop { argmax { all_rows ; rnag ( mhz ) } ; transmitter } ; clermont carn }" ]
task210-61f6ed2dfd7f447c90b323a6e11a0617
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 kingfisher east bengal fc . take the winners record of this row . select the rows whose nation record fuzzily matches to pahang fa . take the winners record of this row . the first record is greater than the second record . Output:
[ "greater { hop { filter_eq { all_rows ; nation ; kingfisher east bengal fc } ; winners } ; hop { filter_eq { all_rows ; nation ; pahang fa } ; winners } }" ]
task210-ce136eec806f4f6dbf20a9ad24867f5e
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 for record of all rows is maximum . the club record of this row is betws rfc . Output:
[ "eq { hop { argmax { all_rows ; points for } ; club } ; betws rfc }" ]
task210-995995c73b8e4d1da6ac55785923973b
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 network records of all rows , most of them fuzzily match to abc 's wwos . Output:
[ "most_eq { all_rows ; network ; abc 's wwos }" ]
task210-e3d62e052ea1492dad19146e2201870b
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 school record is arbitrary . the number of such rows is 9 . Output:
[ "eq { count { filter_all { all_rows ; school } } ; 9 }" ]
task210-a140d1ac918b448f9cf235cc56952afc
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 guatemala . take the silver record of this row . select the rows whose nation record fuzzily matches to el salvador . take the silver record of this row . the first record is 1 larger than the second record . Output:
[ "eq { diff { hop { filter_eq { all_rows ; nation ; guatemala } ; silver } ; hop { filter_eq { all_rows ; nation ; el salvador } ; silver } } ; 1 }" ]
task210-db337b895d824e1981a46e4b4adbbace
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 mcg . take the crowd record of this row . select the rows whose venue record fuzzily matches to lake oval . take the crowd record of this row . the first record is greater than the second record . Output:
[ "greater { hop { filter_eq { all_rows ; venue ; mcg } ; crowd } ; hop { filter_eq { all_rows ; venue ; lake oval } ; crowd } }" ]
task210-bc0eaf0eadba4c90944f45b25bf4cce4
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 nolan . the average of the high points record of these rows is 25.25 . Output:
[ "round_eq { avg { filter_eq { all_rows ; high points ; nolan } ; high points } ; 25.25 }" ]
task210-88fd8ff0db6c4285b3a4cca72d03a0e2
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 game site record fuzzily matches to the meadowlands . the number of such rows is 8 . Output:
[ "eq { count { filter_eq { all_rows ; game site ; the meadowlands } } ; 8 }" ]
task210-551a92f870314b3caaf15284082c83ef
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 no in series record of all rows is 1st maximum . the family / families record of this row is the williams family . Output:
[ "eq { hop { nth_argmax { all_rows ; no in series ; 1 } ; family / families } ; the williams family }" ]
task210-70af04641ede412681415a3ada898fd6
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 score in the final record of all rows is 5 . Output:
[ "round_eq { avg { all_rows ; score in the final } ; 5 }" ]
task210-e2fa2f6195b14d858c76ca4c7fed0880
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 league records of all rows , most of them fuzzily match to aviva premiership . Output:
[ "most_eq { all_rows ; league ; aviva premiership }" ]
task210-8a0c513a66d74eb58e90f7b7691ec9a1
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 rank record is less than 6 . the sum of the gold record of these rows is 42 . Output:
[ "round_eq { sum { filter_less { all_rows ; rank ; 6 } ; gold } ; 42 }" ]
task210-005183157cf84b4dba0c93a008863cf5
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 metropolitan area record fuzzily matches to new york , new york . take the since record of this row . select the rows whose metropolitan area record fuzzily matches to chicago , illinois . take the since record of this row . the first record is less than the second record . Output:
[ "less { hop { filter_eq { all_rows ; metropolitan area ; new york , new york } ; since } ; hop { filter_eq { all_rows ; metropolitan area ; chicago , illinois } ; since } }" ]
task210-ee17788330cf4267baed9e0cc73ca64c
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 global catholic pop record of all rows is 2nd maximum . the region record of this row is south asia . Output:
[ "eq { hop { nth_argmax { all_rows ; % of global catholic pop ; 2 } ; region } ; south asia }" ]
task210-dec20e9bb19b445880a6895794c6a7a1
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 type record fuzzily matches to first . among these rows , select the rows whose intake record is equal to 30 . the number of such rows is 4 . Output:
[ "eq { count { filter_eq { filter_eq { all_rows ; type ; first } ; intake ; 30 } } ; 4 }" ]
task210-9c2bba858fdb4801a9ee2781d6e2df1f
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 crowd record is greater than 20000 . among these rows , select the rows whose away team score record is equal to 13.11 . the number of such rows is 2 . Output:
[ "eq { count { filter_eq { filter_greater { all_rows ; crowd ; 20000 } ; away team score ; 13.11 } } ; 2 }" ]
task210-c4e5e7c73f054cb7b553f676d8d70134
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 incumbent record fuzzily matches to john kline . take the first elected record of this row . select the rows whose incumbent record fuzzily matches to jim ramstad . take the first elected record of this row . the first record is greater than the second record . the first elected record of the first row is 2002 . the first elected record of the second row is 1990 . Output:
[ "and { greater { hop { filter_eq { all_rows ; incumbent ; john kline } ; first elected } ; hop { filter_eq { all_rows ; incumbent ; jim ramstad } ; first elected } } ; and { eq { hop { filter_eq { all_rows ; incumbent ; john kline } ; first elected } ; 2002 } ; eq { hop { filter_eq { all_rows ; incumbent ; jim ramstad } ; first elected } ; 1990 } } }" ]
task210-d926e22810a74a1b8bc5c687449ed7d9
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 result record fuzzily matches to safe . the sum of the score record of these rows is 54 . Output:
[ "round_eq { sum { filter_eq { all_rows ; result ; safe } ; score } ; 54 }" ]
task210-712c24dbf320403c81f59c20b83fa908
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 fa cup record is greater than 0 . select the row whose championship record of these rows is 2nd maximum . the name record of this row is stern john . Output:
[ "eq { hop { nth_argmax { filter_greater { all_rows ; fa cup ; 0 } ; championship ; 2 } ; name } ; stern john }" ]
task210-6a0424bce2174790816bafd8ced88304
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 school record fuzzily matches to triton . take the year joined record of this row . select the rows whose school record fuzzily matches to oak hill . take the year joined record of this row . the first record is less than the second record . Output:
[ "less { hop { filter_eq { all_rows ; school ; triton } ; year joined } ; hop { filter_eq { all_rows ; school ; oak hill } ; year joined } }" ]
task210-7bfb339ec5144646999a0b40be6824e5
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 attendance record fuzzily matches to target center . there is only one such row in the table . the date record of this unqiue row is march 3 . Output:
[ "and { only { filter_eq { all_rows ; location attendance ; target center } } ; eq { hop { filter_eq { all_rows ; location attendance ; target center } ; date } ; march 3 } }" ]
task210-5b96a516792c45b4825ee7193d20f8ad
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 single record fuzzily matches to wild eyes . take the other details record of this row . select the rows whose single record fuzzily matches to tell the world . take the other details record of this row . the first record is greater than the second record . Output:
[ "greater { hop { filter_eq { all_rows ; single ; wild eyes } ; other details } ; hop { filter_eq { all_rows ; single ; tell the world } ; other details } }" ]
task210-bde4bd52f2244f7baf55602ef1ae81ec
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 average ratings record of all rows is 14.57 . Output:
[ "round_eq { avg { all_rows ; average ratings } ; 14.57 }" ]
task210-2d12b367ddca452d9ba9e95a6e996ed3
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 publisher record fuzzily matches to bethesda softworks . the number of such rows is 2 . Output:
[ "eq { count { filter_eq { all_rows ; publisher ; bethesda softworks } } ; 2 }" ]
task210-dbf3fdf5eb094f5c9a3d56e61b65df2f
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 score record fuzzily matches to ( ot ) . there is only one such row in the table . the team record of this unqiue row is milwaukee . Output:
[ "and { only { filter_eq { all_rows ; score ; ( ot ) } } ; eq { hop { filter_eq { all_rows ; score ; ( ot ) } ; team } ; milwaukee } }" ]
task210-8ce5f368e0154f0d8c98b5cbe1c59e4b
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 crowd record of all rows is 21486 . Output:
[ "round_eq { avg { all_rows ; crowd } ; 21486 }" ]
task210-6fb5df10852e48b38d875b5c8f3c7483
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 home team score record of all rows is 13.47 . Output:
[ "round_eq { avg { all_rows ; home team score } ; 13.47 }" ]
task210-1b8eb7e81897414d82dd470bf8908f3d
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 age record of all rows is 1st maximum . the contestant record of this row is cindy guerrero reynoso . Output:
[ "eq { hop { nth_argmax { all_rows ; age ; 1 } ; contestant } ; cindy guerrero reynoso }" ]
task210-3d30b3652fcf462e97796577fe61b7c0