input
stringlengths
3.68k
4.11k
output
sequencelengths
1
1
id
stringlengths
40
40
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record of this row is india. Output: eq { hop { nth_argmax { all_rows ; goal gain ; 3 } ; team } ; south china } Now complete the following example - Input: select the row whose points record of all rows is maximum . the driver record of this row is michael schumacher . Output:
[ "eq { hop { argmax { all_rows ; points } ; driver } ; michael schumacher }" ]
task210-e4dad8f84c754e29a518effaab5ee08e
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 motor records of all rows , all of them fuzzily match to castor 4b . Output:
[ "all_eq { all_rows ; motor ; castor 4b }" ]
task210-d7adbcb6e6f64c1994973900c31c70e1
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 partner record fuzzily matches to igor sijsling . the number of such rows is 2 . Output:
[ "eq { count { filter_eq { all_rows ; partner ; igor sijsling } } ; 2 }" ]
task210-41eea2df34c547a189ff3159fb38a5d7
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 0 . Output:
[ "round_eq { avg { all_rows ; points } ; 0 }" ]
task210-63d7b5b55a264534b278b1c475ff81f2
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 time record is greater than 6:00 . the number of such rows is 3 . Output:
[ "eq { count { filter_greater { all_rows ; time ; 6:00 } } ; 3 }" ]
task210-d3492a711d9e4d9eb1e0689a32b53d60
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 president record fuzzily matches to josiah bartlet . the number of such rows is 5 . Output:
[ "eq { count { filter_eq { all_rows ; president ; josiah bartlet } } ; 5 }" ]
task210-91ad7a8f6bc24b79b38fb000ef6a1d91
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 record of all rows is 71 . Output:
[ "round_eq { avg { all_rows ; score } ; 71 }" ]
task210-2bb3fd596c834b41870f20eb7a1c0eb7
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 max speed ( mph ) record of all rows is 2nd maximum . the pilot record of this row is joseph a walker . Output:
[ "eq { hop { nth_argmax { all_rows ; max speed ( mph ) ; 2 } ; pilot } ; joseph a walker }" ]
task210-da7a3f3efd1d4f9a985440620dc36d88
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 train no record fuzzily matches to 5037 . take the arrival record of this row . select the rows whose train no record fuzzily matches to 4723 . take the arrival record of this row . the first record is less than the second record . Output:
[ "less { hop { filter_eq { all_rows ; train no ; 5037 } ; arrival } ; hop { filter_eq { all_rows ; train no ; 4723 } ; arrival } }" ]
task210-c514676c2a1b4865911e6ed2f9ddf488
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 district record fuzzily matches to sagar . the number of such rows is 3 . Output:
[ "eq { count { filter_eq { all_rows ; district ; sagar } } ; 3 }" ]
task210-e7eb8575d55c4a22aa0cb04b39feb4fb
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record of this row is india. Output: eq { hop { nth_argmax { all_rows ; goal gain ; 3 } ; team } ; south china } Now complete the following example - Input: select the rows whose driver record fuzzily matches to erik darnell . take the car record of this row . select the rows whose driver record fuzzily matches to bobby east . take the car record of this row . the first record is greater than the second record . Output:
[ "greater { hop { filter_eq { all_rows ; driver ; erik darnell } ; car } ; hop { filter_eq { all_rows ; driver ; bobby east } ; car } }" ]
task210-4247768a85a341d0aeb381d24cdb6f3e
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record of this row is india. Output: eq { hop { nth_argmax { all_rows ; goal gain ; 3 } ; team } ; south china } Now complete the following example - Input: select the rows whose player record fuzzily matches to lionel cann . take the runs record of this row . select the rows whose player record fuzzily matches to dean minors . take the runs record of this row . the first record is greater than the second record . Output:
[ "greater { hop { filter_eq { all_rows ; player ; lionel cann } ; runs } ; hop { filter_eq { all_rows ; player ; dean minors } ; runs } }" ]
task210-8c9396f5e98e4c60bde11c24cac4abe5
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record of this row is india. Output: eq { hop { nth_argmax { all_rows ; goal gain ; 3 } ; team } ; south china } Now complete the following example - Input: select the rows whose location record fuzzily matches to marquette , michigan . there is only one such row in the table . the institution record of this unqiue row is northern michigan university . Output:
[ "and { only { filter_eq { all_rows ; location ; marquette , michigan } } ; eq { hop { filter_eq { all_rows ; location ; marquette , michigan } ; institution } ; northern michigan university } }" ]
task210-05db03128ef643fe8aa10ba7b0030465
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 poison / klesha record is arbitrary . the number of such rows is 5 . Output:
[ "eq { count { filter_all { all_rows ; poison / klesha } } ; 5 }" ]
task210-c79e236a55d040a8909d32864ce1a09f
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 us viewers ( million ) record of all rows is maximum . the title record of this row is exile on main st . Output:
[ "eq { hop { argmax { all_rows ; us viewers ( million ) } ; title } ; exile on main st }" ]
task210-cf8e2714af4e44808fdb029c428d3f9a
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record of this row is india. Output: eq { hop { nth_argmax { all_rows ; goal gain ; 3 } ; team } ; south china } Now complete the following example - Input: select the row whose attendance record of all rows is maximum . the opponent record of this row is green bay packers . Output:
[ "eq { hop { argmax { all_rows ; attendance } ; opponent } ; green bay packers }" ]
task210-aefebf877ac14ed98576b619e9e6fa81
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record of this row is india. Output: eq { hop { nth_argmax { all_rows ; goal gain ; 3 } ; team } ; south china } Now complete the following example - Input: select the row whose score record of all rows is maximum . the opponent record of this row is toronto maple leafs . Output:
[ "eq { hop { argmax { all_rows ; score } ; opponent } ; toronto maple leafs }" ]
task210-4991c469c9814fcaa7d60ac5109b4dfa
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 canada . there is only one such row in the table . the name record of this unqiue row is barbara underhill / paul martini . Output:
[ "and { only { filter_eq { all_rows ; nation ; canada } } ; eq { hop { filter_eq { all_rows ; nation ; canada } ; name } ; barbara underhill / paul martini } }" ]
task210-0794c894c2f74c73ab31cf48b3869b59
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record of this row is india. Output: eq { hop { nth_argmax { all_rows ; goal gain ; 3 } ; team } ; south china } Now complete the following example - Input: select the row whose crowd record of all rows is 2nd maximum . the venue record of this row is victoria park . Output:
[ "eq { hop { nth_argmax { all_rows ; crowd ; 2 } ; venue } ; victoria park }" ]
task210-ef2d9977d3d54e5eb3ab62058d0316a1
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 institution record fuzzily matches to university of texas at austin . take the enrollment record of this row . select the rows whose institution record fuzzily matches to texas christian university . take the enrollment record of this row . the first record is greater than the second record . Output:
[ "greater { hop { filter_eq { all_rows ; institution ; university of texas at austin } ; enrollment } ; hop { filter_eq { all_rows ; institution ; texas christian university } ; enrollment } }" ]
task210-839f7e1e9c8f428cb13546eee8d66fce
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 record of all rows is 90 . Output:
[ "round_eq { avg { all_rows ; weight } ; 90 }" ]
task210-ba09e879900240f78c49f7b530f7b751
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 mlb draft records of all rows , most of them fuzzily match to 1995 . Output:
[ "most_eq { all_rows ; mlb draft ; 1995 }" ]
task210-dcb57cf69daf42139048c47d0f110137
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 money record of all rows is 18630 . Output:
[ "round_eq { avg { all_rows ; money } ; 18630 }" ]
task210-d34b07ae45a44471b2b296dba97433b4
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 maximum seating capacity record of all rows is 2nd minimum . the arena / venue record of this row is quadricentennial pavilion . Output:
[ "eq { hop { nth_argmin { all_rows ; maximum seating capacity ; 2 } ; arena / venue } ; quadricentennial pavilion }" ]
task210-c76f463a78de4269b9790f0b4e6866b6
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record of this row is india. Output: eq { hop { nth_argmax { all_rows ; goal gain ; 3 } ; team } ; south china } Now complete the following example - Input: select the rows whose team record fuzzily matches to san antonio . the maximum location attendance record of these rows is staples center 18997 . Output:
[ "eq { max { filter_eq { all_rows ; team ; san antonio } ; location attendance } ; staples center 18997 }" ]
task210-47695c375793462881c2f9156c966948
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 roads intersected record fuzzily matches to route 53 . the number of such rows is 1 . Output:
[ "eq { count { filter_eq { all_rows ; roads intersected ; route 53 } } ; 1 }" ]
task210-5983ee58f58841509a0244b66e240b67
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 fl . there is only one such row in the table . Output:
[ "only { filter_eq { all_rows ; position ; fl } }" ]
task210-74c47aa58e484830b1729d4173459f4b
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record of this row is india. Output: eq { hop { nth_argmax { all_rows ; goal gain ; 3 } ; team } ; south china } Now complete the following example - Input: select the rows whose player record fuzzily matches to craig stadler . take the money record of this row . select the rows whose player record fuzzily matches to fred couples . take the money record of this row . the first record is 5863 larger than the second record . Output:
[ "eq { diff { hop { filter_eq { all_rows ; player ; craig stadler } ; money } ; hop { filter_eq { all_rows ; player ; fred couples } ; money } } ; 5863 }" ]
task210-9153cc1151974e57bc41ee70c0e6841c
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 ( s ) records of all rows , most of them fuzzily match to private owner . Output:
[ "most_eq { all_rows ; owner ( s ) ; private owner }" ]
task210-2089fef598d7430e9f18eb309433a820
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 greater than 20 . the number of such rows is 3 . Output:
[ "eq { count { filter_greater { all_rows ; points ; 20 } } ; 3 }" ]
task210-9c78ca15a36e472fbd4d634379953dc2
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 percentage record of all rows is maximum . the driver record of this row is juan manuel fangio . Output:
[ "eq { hop { argmax { all_rows ; percentage } ; driver } ; juan manuel fangio }" ]
task210-fe475c2610f1412c9ad2b1364761c504
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 injured . there is only one such row in the table . the week record of this unqiue row is 5 . Output:
[ "and { only { filter_eq { all_rows ; result ; injured } } ; eq { hop { filter_eq { all_rows ; result ; injured } ; week } ; 5 } }" ]
task210-01a536d1c364486b806f6aa75597cadc
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 w . among these rows , select the rows whose high points record fuzzily matches to alvan adams . there is only one such row in the table . the date record of this unqiue row is april 15 . Output:
[ "and { only { filter_eq { filter_eq { all_rows ; score ; w } ; high points ; alvan adams } } ; eq { hop { filter_eq { filter_eq { all_rows ; score ; w } ; high points ; alvan adams } ; date } ; april 15 } }" ]
task210-401b19d86b7a40229e1af24f63173ef0
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 place record fuzzily matches to austria . select the row whose score record of these rows is 1st maximum . the shooter record of this row is uwe potteck ( gdr ) . Output:
[ "eq { hop { nth_argmax { filter_eq { all_rows ; place ; austria } ; score ; 1 } ; shooter } ; uwe potteck ( gdr ) }" ]
task210-56a21b0002d1435497e4200e888fb0aa
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 w . among these rows , select the rows whose attendance record is greater than 50000 . there is only one such row in the table . the date record of this unqiue row is 10 / 20 / 1928 . Output:
[ "and { only { filter_greater { filter_eq { all_rows ; result ; w } ; attendance ; 50000 } } ; eq { hop { filter_greater { filter_eq { all_rows ; result ; w } ; attendance ; 50000 } ; date } ; 10 / 20 / 1928 } }" ]
task210-d232316340e5474d9187b5b28ce89a32
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record of this row is india. Output: eq { hop { nth_argmax { all_rows ; goal gain ; 3 } ; team } ; south china } Now complete the following example - Input: select the rows whose gold record is greater than 1 . there is only one such row in the table . the nation record of this unqiue row is germany . Output:
[ "and { only { filter_greater { all_rows ; gold ; 1 } } ; eq { hop { filter_greater { all_rows ; gold ; 1 } ; nation } ; germany } }" ]
task210-ae229961714e47c4bc43bfefd864c97a
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 tell the world . take the other details record of this row . select the rows whose single record fuzzily matches to my love will follow me . 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 ; tell the world } ; other details } ; hop { filter_eq { all_rows ; single ; my love will follow me } ; other details } }" ]
task210-ddde1d2699bc46828c305bbac31e16e9
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 record fuzzily matches to 2 . take the viewers record of this row . select the rows whose record fuzzily matches to 1 . take the viewers record of this row . the first record is greater than the second record . Output:
[ "greater { hop { filter_eq { all_rows ; ; 2 } ; viewers } ; hop { filter_eq { all_rows ; ; 1 } ; viewers } }" ]
task210-e0b105de20b24b7ba023cb72f7a92659
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record of this row is india. Output: eq { hop { nth_argmax { all_rows ; goal gain ; 3 } ; team } ; south china } Now complete the following example - Input: select the rows whose wins record is equal to 0 . the number of such rows is 4 . Output:
[ "eq { count { filter_eq { all_rows ; wins ; 0 } } ; 4 }" ]
task210-ab3f4b992d984cea860c381bf8ac63f1
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 elevation record is greater than 12000 feet . the number of such rows is 3 . Output:
[ "eq { count { filter_greater { all_rows ; elevation ; 12000 feet } } ; 3 }" ]
task210-55bc6b03ccb948ff8adb802c3e432f85
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 at & t center . the average of the location attendance record of these rows is 18581 . Output:
[ "round_eq { avg { filter_eq { all_rows ; location attendance ; at & t center } ; location attendance } ; 18581 }" ]
task210-d323de1466214ba28769e0277b288a4e
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 scored record is greater than 30 . there is only one such row in the table . the team record of this unqiue row is tembetary . Output:
[ "and { only { filter_greater { all_rows ; scored ; 30 } } ; eq { hop { filter_greater { all_rows ; scored ; 30 } ; team } ; tembetary } }" ]
task210-d28aa212509745a7a01dea0a9cc0d968
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 individual record of all rows is 2nd minimum . the event record of this row is 2004 oberhof . Output:
[ "eq { hop { nth_argmin { all_rows ; individual ; 2 } ; event } ; 2004 oberhof }" ]
task210-b4ad5b314c17400eaa13631dac58d9f2
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record of this row is india. Output: eq { hop { nth_argmax { all_rows ; goal gain ; 3 } ; team } ; south china } Now complete the following example - Input: select the rows whose location record fuzzily matches to wabash . the number of such rows is 3 . Output:
[ "eq { count { filter_eq { all_rows ; location ; wabash } } ; 3 }" ]
task210-1dc0835c14584dafaeb913a396e9cb2b
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 total record is greater than or equal to 10 . the number of such rows is 3 . Output:
[ "eq { count { filter_greater_eq { all_rows ; total ; 10 } } ; 3 }" ]
task210-0cb3d957a6684819b3f8068f1b0f2ed1
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 time records of all rows , most of them are less than 54.0 . Output:
[ "most_less { all_rows ; time ; 54.0 }" ]
task210-0706f487c878440587483933524950c1
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 goodman records of all rows , most of them are greater than 8 . Output:
[ "most_greater { all_rows ; goodman ; 8 }" ]
task210-798d872e423e4974be1324e7a86717aa
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 turbines record is equal to 1 . there is only one such row in the table . the wind farm record of this unqiue row is glenough extension . Output:
[ "and { only { filter_eq { all_rows ; turbines ; 1 } } ; eq { hop { filter_eq { all_rows ; turbines ; 1 } ; wind farm } ; glenough extension } }" ]
task210-13d17ab2b34d47c08b2259c3e7a3fa63
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 gold record of all rows is maximum . the nation record of this row is united states . Output:
[ "eq { hop { argmax { all_rows ; gold } ; nation } ; united states }" ]
task210-c1c9661bd1814ef682f83ec9ec33a3cf
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 money record of all rows is 420350 . Output:
[ "round_eq { avg { all_rows ; money } ; 420350 }" ]
task210-05779c55340d421081ecc76a355a6c37
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 candidates record of all rows is 1st maximum . the incumbent record of this row is mel watt . Output:
[ "eq { hop { nth_argmax { all_rows ; candidates ; 1 } ; incumbent } ; mel watt }" ]
task210-a00d97ff9c0e489085bed5318a141178
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 opponent records of all rows , all of them fuzzily match to new york islanders . Output:
[ "all_eq { all_rows ; opponent ; new york islanders }" ]
task210-44551bdd31334acf9da730e8c538d36e
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 starts record is greater than 30 . among these rows , select the rows whose losses record is equal to 17 . there is only one such row in the table . the name record of this unqiue row is brady quinn . Output:
[ "and { only { filter_eq { filter_greater { all_rows ; starts ; 30 } ; losses ; 17 } } ; eq { hop { filter_eq { filter_greater { all_rows ; starts ; 30 } ; losses ; 17 } ; name } ; brady quinn } }" ]
task210-3df9277c4a9f4c2c9d1c2a2b195e99f7
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 champions record fuzzily matches to guy forget . the number of such rows is 2 . Output:
[ "eq { count { filter_eq { all_rows ; champions ; guy forget } } ; 2 }" ]
task210-4b91ca36ecf4456d956f86492a7e9b98
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 event record fuzzily matches to quiksilver pro . among these rows , select the rows whose country record fuzzily matches to australia . there is only one such row in the table . Output:
[ "only { filter_eq { filter_eq { all_rows ; event ; quiksilver pro } ; country ; australia } }" ]
task210-c8291086887840d8b01af33ce00aa764
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 mean record is equal to 3.0 . there is only one such row in the table . the drug record of this unqiue row is heroin . Output:
[ "and { only { filter_eq { all_rows ; mean ; 3.0 } } ; eq { hop { filter_eq { all_rows ; mean ; 3.0 } ; drug } ; heroin } }" ]
task210-7a37c39dac724dfda187f19e5bf68c94
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 launched record of all rows is minimum . the ship name record of this row is brp pangasinan . Output:
[ "eq { hop { argmin { all_rows ; launched } ; ship name } ; brp pangasinan }" ]
task210-5afe91ca4de94e8bab002e14e07eb364
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 type records of all rows , most of them fuzzily match to private . Output:
[ "most_eq { all_rows ; type ; private }" ]
task210-654bc0f53caa461bbdfe8fb67f5a22d3
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 ford center . the sum of the location attendance record of these rows is over 36000 . Output:
[ "round_eq { sum { filter_eq { all_rows ; location attendance ; ford center } ; location attendance } ; over 36000 }" ]
task210-78774fac91944de6955472eb00268e8b
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 place record fuzzily matches to 3rd . the number of such rows is 5 . Output:
[ "eq { count { filter_eq { all_rows ; place ; 3rd } } ; 5 }" ]
task210-0fafbb43867144d6a89c54eef28073c4
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record of this row is india. Output: eq { hop { nth_argmax { all_rows ; goal gain ; 3 } ; team } ; south china } Now complete the following example - Input: select the rows whose college record fuzzily matches to charleston southern . there is only one such row in the table . the player record of this unqiue row is shawn gifford . Output:
[ "and { only { filter_eq { all_rows ; college ; charleston southern } } ; eq { hop { filter_eq { all_rows ; college ; charleston southern } ; player } ; shawn gifford } }" ]
task210-8131ba7213c14796a2093c4fb3e9c896
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 poland . take the results record of this row . select the rows whose opponent record fuzzily matches to italy . take the results record of this row . the first record is greater than the second record . Output:
[ "greater { hop { filter_eq { all_rows ; opponent ; poland } ; results } ; hop { filter_eq { all_rows ; opponent ; italy } ; results } }" ]
task210-9a484af710f04aac915bd33bbfb2179b
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 laps led record of all rows is maximum . the driver record of this row is sam hornish , jr . Output:
[ "eq { hop { argmax { all_rows ; laps led } ; driver } ; sam hornish , jr }" ]
task210-1405e9926258444c9df10c28b580061c
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 buffalo bills . the sum of the attendance record of these rows is 26748 . Output:
[ "round_eq { sum { filter_eq { all_rows ; opponent ; buffalo bills } ; attendance } ; 26748 }" ]
task210-6c8270c1518d477294aeea47db308e95
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record of this row is india. Output: eq { hop { nth_argmax { all_rows ; goal gain ; 3 } ; team } ; south china } Now complete the following example - Input: the maximum total record of all rows is 8 . the nation record of the row with superlative total record is soviet union ( urs ) . the gold record of the row with superlative total record is 3 . the silver record of the row with superlative total record is 3 . Output:
[ "and { eq { max { all_rows ; total } ; 8 } ; and { eq { hop { argmax { all_rows ; total } ; nation } ; soviet union ( urs ) } ; and { eq { hop { argmax { all_rows ; total } ; gold } ; 3 } ; eq { hop { argmax { all_rows ; total } ; silver } ; 3 } } } }" ]
task210-1e9705400b30479bba795ffac20cd335
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 color record fuzzily matches to green and light colors . the number of such rows is 2 . Output:
[ "eq { count { filter_eq { all_rows ; color ; green and light colors } } ; 2 }" ]
task210-1dfc9ea933ba41a0b77e52ce51dfaf61
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 max speed record of all rows is 29 . Output:
[ "round_eq { avg { all_rows ; max speed } ; 29 }" ]
task210-645fa7af435b4c1ebbb1caefa22eb78f
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 of episodes record of all rows is 2nd maximum . the english title ( chinese title ) record of this row is burning flame 烈火雄心 . Output:
[ "eq { hop { nth_argmax { all_rows ; number of episodes ; 2 } ; english title ( chinese title ) } ; burning flame 烈火雄心 }" ]
task210-42ac2b48381f4274b4b88fea9065b98c
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 2nd minimum number record of all rows is 18 . Output:
[ "eq { nth_min { all_rows ; number ; 2 } ; 18 }" ]
task210-282d46843a02402fa0055481dff3ce42
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 tdp record of all rows is 2nd maximum . the brand name ( list ) record of this row is core i3 - 32xx . Output:
[ "eq { hop { nth_argmax { all_rows ; tdp ; 2 } ; brand name ( list ) } ; core i3 - 32xx }" ]
task210-a5e6e7aa82794144b1166b7d523adfaa
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 weeks on top record of all rows is 1st maximum . the song record of this row is music . Output:
[ "eq { hop { nth_argmax { all_rows ; weeks on top ; 1 } ; song } ; music }" ]
task210-9e8a66a5058d4a7199769fdf0c01a7ba
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record of this row is india. Output: eq { hop { nth_argmax { all_rows ; goal gain ; 3 } ; team } ; south china } Now complete the following example - Input: select the rows whose competition record fuzzily matches to 2014 world cup qualifier . take the goal record of this row . select the rows whose competition record fuzzily matches to 2011 copa américa . take the goal record of this row . the first record is greater than the second record . Output:
[ "greater { hop { filter_eq { all_rows ; competition ; 2014 world cup qualifier } ; goal } ; hop { filter_eq { all_rows ; competition ; 2011 copa américa } ; goal } }" ]
task210-f50600af35604356b34102baeb8e17bf
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 anastasia pavlyuchenkova . there is only one such row in the table . the date record of this unqiue row is may 4 , 2013 . Output:
[ "and { only { filter_eq { all_rows ; opponent ; anastasia pavlyuchenkova } } ; eq { hop { filter_eq { all_rows ; opponent ; anastasia pavlyuchenkova } ; date } ; may 4 , 2013 } }" ]
task210-44856fc43b4b4250bd4ac78eb5cb1848
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 equal to 1982 . Output:
[ "most_eq { all_rows ; first elected ; 1982 }" ]
task210-b8ee2ea4f60e4af7a5b5e9a018f5f18c
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 decision records of all rows , most of them fuzzily match to biron . Output:
[ "most_eq { all_rows ; decision ; biron }" ]
task210-7524675fb9a64dde9d81d09a8748c119
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 record fuzzily matches to soybean oil . take the polyunsaturated fat record of this row . select the rows whose record fuzzily matches to rice bran oil . take the polyunsaturated fat record of this row . the first record is greater than the second record . Output:
[ "greater { hop { filter_eq { all_rows ; ; soybean oil } ; polyunsaturated fat } ; hop { filter_eq { all_rows ; ; rice bran oil } ; polyunsaturated fat } }" ]
task210-f5f868f50a954aa38ae5b19792306fdb
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record of this row is india. Output: eq { hop { nth_argmax { all_rows ; goal gain ; 3 } ; team } ; south china } Now complete the following example - Input: select the rows whose year left record is greater than or equal to 1970 . among these rows , select the rows whose conference joined record fuzzily matches to hoosier heartland . the number of such rows is 2 . Output:
[ "eq { count { filter_eq { filter_greater_eq { all_rows ; year left ; 1970 } ; conference joined ; hoosier heartland } } ; 2 }" ]
task210-aae884050ced49218926eabc3eb25282
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 joined records of all rows , most of them are equal to 2010 . Output:
[ "most_eq { all_rows ; joined ; 2010 }" ]
task210-c73499ecc994401b886cc76d1db4c9e5
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 population ( 2011 ) record of all rows is 4251 . Output:
[ "round_eq { avg { all_rows ; population ( 2011 ) } ; 4251 }" ]
task210-cd8c151f53a4473583e07afb6d67c879
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 636 . Output:
[ "round_eq { sum { all_rows ; points } ; 636 }" ]
task210-933b4dc1afd84844bb7f46f5407da3a4
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 25000-27000 . Output:
[ "round_eq { avg { all_rows ; crowd } ; 25000-27000 }" ]
task210-ade631d3464944e9aa4cdb03fef21460
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 races record of all rows is 2nd minimum . the season record of this row is 2010 . Output:
[ "eq { hop { nth_argmin { all_rows ; races ; 2 } ; season } ; 2010 }" ]
task210-55e95124e1164d6782f86ae7a993c53f
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 laps records of all rows , most of them are equal to 47 . Output:
[ "most_eq { all_rows ; laps ; 47 }" ]
task210-bbf873c0f9a341008e8be88507e142ab
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record of this row is india. Output: eq { hop { nth_argmax { all_rows ; goal gain ; 3 } ; team } ; south china } Now complete the following example - Input: select the rows whose gold record is greater than 100 . there is only one such row in the table . the province record of this unqiue row is bangkok . Output:
[ "and { only { filter_greater { all_rows ; gold ; 100 } } ; eq { hop { filter_greater { all_rows ; gold ; 100 } ; province } ; bangkok } }" ]
task210-c3f9b03a900c4b2ca8e7f4606bbc5c58
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 uci protour points record of all rows is maximum . the country record of this row is spain . Output:
[ "eq { hop { argmax { all_rows ; uci protour points } ; country } ; spain }" ]
task210-fd36c87e68634124a6adbef1bb5ea13d
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 written by record fuzzily matches to kevin falls . among these rows , select the rows whose directed by record fuzzily matches to alex graves . the number of such rows is 2 . Output:
[ "eq { count { filter_eq { filter_eq { all_rows ; written by ; kevin falls } ; directed by ; alex graves } } ; 2 }" ]
task210-856ee5b57f404559b68c0eff24b11228
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 romania . take the bronze record of this row . select the rows whose nation record fuzzily matches to soviet union . take the bronze record of this row . the first record is greater than the second record . Output:
[ "greater { hop { filter_eq { all_rows ; nation ; romania } ; bronze } ; hop { filter_eq { all_rows ; nation ; soviet union } ; bronze } }" ]
task210-bf248533c657484f8931bdd9d774257f
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 directed by records of all rows , all of them fuzzily match to don colliver . Output:
[ "all_eq { all_rows ; directed by ; don colliver }" ]
task210-049348b3f4334aed85f7907ae5d05a10
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 recipient record fuzzily matches to debby ryan . there is only one such row in the table . the year record of this unqiue row is 2010 . the award record of this unqiue row is hollywood teen tv awards . the result record of this unqiue row is nominated . Output:
[ "and { only { filter_eq { all_rows ; recipient ; debby ryan } } ; and { eq { hop { filter_eq { all_rows ; recipient ; debby ryan } ; year } ; 2010 } ; and { eq { hop { filter_eq { all_rows ; recipient ; debby ryan } ; award } ; hollywood teen tv awards } ; eq { hop { filter_eq { all_rows ; recipient ; debby ryan } ; result } ; nominated } } } }" ]
task210-fa0e73f5a7834af48a6c00c70ea6a7c8
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 / club team record fuzzily matches to eastern washington . there is only one such row in the table . the player record of this unqiue row is henry bekkering . Output:
[ "and { only { filter_eq { all_rows ; school / club team ; eastern washington } } ; eq { hop { filter_eq { all_rows ; school / club team ; eastern washington } ; player } ; henry bekkering } }" ]
task210-2a53fc3902d9414d8ca9cdd1545a9775
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record of this row is india. Output: eq { hop { nth_argmax { all_rows ; goal gain ; 3 } ; team } ; south china } Now complete the following example - Input: select the rows whose year record fuzzily matches to 1998 . take the result record of this row . select the rows whose year record fuzzily matches to 2010 . take the result record of this row . the first record fuzzily matches to the second record . the result record of the first row is champions . the result record of the second row is champions . Output:
[ "and { eq { hop { filter_eq { all_rows ; year ; 1998 } ; result } ; hop { filter_eq { all_rows ; year ; 2010 } ; result } } ; and { eq { hop { filter_eq { all_rows ; year ; 1998 } ; result } ; champions } ; eq { hop { filter_eq { all_rows ; year ; 2010 } ; result } ; champions } } }" ]
task210-c0f08e8104e645d89adb009dea7d5059
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 popular votes record of all rows is maximum . the candidate record of this row is colleen bonniwell . Output:
[ "eq { hop { argmax { all_rows ; popular votes } ; candidate } ; colleen bonniwell }" ]
task210-c185e70c0a794f1e90931f069d5a0bd7
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 location attendance record of all rows is 2nd maximum . the date record of this row is february 16 . Output:
[ "eq { hop { nth_argmax { all_rows ; location attendance ; 2 } ; date } ; february 16 }" ]
task210-bf163d3a7bd543df8f7bd726fdd7d236
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record of this row is india. Output: eq { hop { nth_argmax { all_rows ; goal gain ; 3 } ; team } ; south china } Now complete the following example - Input: select the row whose attendance record of all rows is maximum . the date record of this row is october 22 . Output:
[ "eq { hop { argmax { all_rows ; attendance } ; date } ; october 22 }" ]
task210-6982da027b284f3cb0d9cf0421be286c
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 ( billion ) record of all rows is 1st maximum . the company record of this row is general electric . Output:
[ "eq { hop { nth_argmax { all_rows ; market value ( billion ) ; 1 } ; company } ; general electric }" ]
task210-5b4da15c02664e55a26ef2abac175c70
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 league record of all rows is 2nd maximum . the player record of this row is tom de sutter . Output:
[ "eq { hop { nth_argmax { all_rows ; league ; 2 } ; player } ; tom de sutter }" ]
task210-380190c341204b64ab71222862ee7eb2
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 bronze record is equal to 2 . select the row whose gold record of these rows is 1st maximum . the rank record of this row is 4 . Output:
[ "eq { hop { nth_argmax { filter_eq { all_rows ; bronze ; 2 } ; gold ; 1 } ; rank } ; 4 }" ]
task210-b8eb7fcb14ee4d70ab10d1d82848f051
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 1st leg record fuzzily matches to 0 - 0 . the number of such rows is 2 . Output:
[ "eq { count { filter_eq { all_rows ; 1st leg ; 0 - 0 } } ; 2 }" ]
task210-76cafbbb87594a3690640a0a5d2ecad7