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 est record of all rows is minimum . the name record of this row is yamagata international documentary film festival . Output:
[ "eq { hop { argmin { all_rows ; est } ; name } ; yamagata international documentary film festival }" ]
task210-c18a0e7b597f40719a4cf877fab0b0f5
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record 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 timeslot ( edt ) record fuzzily matches to monday - friday 10:00 pm . there is only one such row in the table . the season record of this unqiue row is 10 . Output:
[ "and { only { filter_eq { all_rows ; timeslot ( edt ) ; monday - friday 10:00 pm } } ; eq { hop { filter_eq { all_rows ; timeslot ( edt ) ; monday - friday 10:00 pm } ; season } ; 10 } }" ]
task210-d227cc4503da4f0cb53e15122c19c1db
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record 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 result record of all rows is maximum . the opponent record of this row is pittsburgh steelers . Output:
[ "eq { hop { argmax { all_rows ; result } ; opponent } ; pittsburgh steelers }" ]
task210-3fd277b4cfca47bba09ab92264d55d2c
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record 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 resolution record fuzzily matches to committed suicide . there is only one such row in the table . the name record of this unqiue row is josé manuel balmaceda . Output:
[ "and { only { filter_eq { all_rows ; resolution ; committed suicide } } ; eq { hop { filter_eq { all_rows ; resolution ; committed suicide } ; name } ; josé manuel balmaceda } }" ]
task210-2c6967407a5a49899cfa768d5bb1ac57
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record of this row is india. Output: eq { hop { nth_argmax { all_rows ; goal gain ; 3 } ; team } ; south china } Now complete the following example - Input: for the event records of all rows , most of them do not match to team competitions . Output:
[ "most_not_eq { all_rows ; event ; team competitions }" ]
task210-c8419e03579447e5bf3582e819fdae22
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record 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 race title record is arbitrary . the number of such rows is 5 . Output:
[ "eq { count { filter_all { all_rows ; race title } } ; 5 }" ]
task210-6b24f87c9a5d4b289321a38e8a202325
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record of this row is india. Output: eq { hop { nth_argmax { all_rows ; goal gain ; 3 } ; team } ; south china } Now complete the following example - Input: select the rows whose surface record fuzzily matches to carpet . the number of such rows is 2 . Output:
[ "eq { count { filter_eq { all_rows ; surface ; carpet } } ; 2 }" ]
task210-21738e4771a6469c8d747b632624bc38
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record 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 2nd minimum . the date record of this row is january 2 , 2005 . Output:
[ "eq { hop { nth_argmin { all_rows ; attendance ; 2 } ; date } ; january 2 , 2005 }" ]
task210-b14e1a0e9d4142ac9a25ab6b0c779220
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record 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 status record fuzzily matches to millennium trophy match . there is only one such row in the table . the opposing teams record of this unqiue row is ireland . Output:
[ "and { only { filter_eq { all_rows ; status ; millennium trophy match } } ; eq { hop { filter_eq { all_rows ; status ; millennium trophy match } ; opposing teams } ; ireland } }" ]
task210-bf5d73cf482c4fb38346c0c9814d0efe
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record of this row is india. Output: eq { hop { nth_argmax { all_rows ; goal gain ; 3 } ; team } ; south china } Now complete the following example - Input: select the rows whose title record fuzzily matches to smart girl . take the original air date record of this row . select the rows whose title record fuzzily matches to number 1 fan . take the original air date record of this row . the first record is less than the second record . Output:
[ "less { hop { filter_eq { all_rows ; title ; smart girl } ; original air date } ; hop { filter_eq { all_rows ; title ; number 1 fan } ; original air date } }" ]
task210-64ce31295f91451c9368dc0b5f82d6d9
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record 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 launch date record of all rows is 25 january 1958 . the name record of the row with 2nd minimum launch date record is rta tv - 5 . Output:
[ "and { eq { nth_min { all_rows ; launch date ; 2 } ; 25 january 1958 } ; eq { hop { nth_argmin { all_rows ; launch date ; 2 } ; name } ; rta tv - 5 } }" ]
task210-cf747a91524841f08a256c26e2b9f90b
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record 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 year completed records of all rows , most of them are less than 1970 . Output:
[ "most_less { all_rows ; year completed ; 1970 }" ]
task210-3e8f3144279040e89ec0724a65689f9d
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record of this row is india. Output: eq { hop { nth_argmax { all_rows ; goal gain ; 3 } ; team } ; south china } Now complete the following example - Input: select the rows whose country record fuzzily matches to ger . there is only one such row in the table . the name record of this unqiue row is bopp . Output:
[ "and { only { filter_eq { all_rows ; country ; ger } } ; eq { hop { filter_eq { all_rows ; country ; ger } ; name } ; bopp } }" ]
task210-f30dc34def91428980ad64a8a1726c8c
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record 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 distance record of all rows is minimum . the city 1 record of this row is são paulo . the city 2 record of this row is rio de janeiro . Output:
[ "and { eq { hop { argmin { all_rows ; distance } ; city 1 } ; são paulo } ; eq { hop { argmin { all_rows ; distance } ; city 2 } ; rio de janeiro } }" ]
task210-a683fbe1587e47e2828574fd36901f05
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record of this row is india. Output: eq { hop { nth_argmax { all_rows ; goal gain ; 3 } ; team } ; south china } Now complete the following example - Input: select the row whose date record of all rows is 3rd minimum . the venue record of this row is victoria park . the crowd record of this row is 23000 . Output:
[ "and { eq { hop { nth_argmin { all_rows ; date ; 3 } ; venue } ; victoria park } ; eq { hop { nth_argmin { all_rows ; date ; 3 } ; crowd } ; 23000 } }" ]
task210-ad1b41cd3464402e9bc87b2ec0e64f71
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record 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 laps record is less than 5 . there is only one such row in the table . the year record of this unqiue row is 1953 . Output:
[ "and { only { filter_less { all_rows ; laps ; 5 } } ; eq { hop { filter_less { all_rows ; laps ; 5 } ; year } ; 1953 } }" ]
task210-cd8c1ebd14ed4102b4ef64defff53b14
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record 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 seats in hamburgische bürgerschaft record of all rows is maximum . the ideology record of this row is social democracy . Output:
[ "eq { hop { argmax { all_rows ; seats in hamburgische bürgerschaft } ; ideology } ; social democracy }" ]
task210-045bcb69f22f4d81ae03b4186f25edb1
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record 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 money record of all rows is 146800 . Output:
[ "round_eq { sum { all_rows ; money } ; 146800 }" ]
task210-cf02218fd1e4447ca3f7376ba5696434
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record of this row is india. Output: eq { hop { nth_argmax { all_rows ; goal gain ; 3 } ; team } ; south china } Now complete the following example - Input: select the rows whose rank record fuzzily matches to 8th . there is only one such row in the table . the year record of this unqiue row is 1988 . Output:
[ "and { only { filter_eq { all_rows ; rank ; 8th } } ; eq { hop { filter_eq { all_rows ; rank ; 8th } ; year } ; 1988 } }" ]
task210-0afc4e10f06147969c2fbc79b3642a49
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record 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 is arbitrary . the number of such rows is 6 . Output:
[ "eq { count { filter_all { all_rows ; nation } } ; 6 }" ]
task210-df7db3469a19420dbfca8bb11f7c78fb
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record of this row is india. Output: eq { hop { nth_argmax { all_rows ; goal gain ; 3 } ; team } ; south china } Now complete the following example - Input: select the rows whose publisher record fuzzily matches to walker . the number of such rows is 6 . Output:
[ "eq { count { filter_eq { all_rows ; publisher ; walker } } ; 6 }" ]
task210-e0a8c82a5f8f4270a3d6a88ae8380e55
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record of this row is india. Output: eq { hop { nth_argmax { all_rows ; goal gain ; 3 } ; team } ; south china } Now complete the following example - Input: select the rows whose leading scorer record fuzzily matches to lebron james . among these rows , select the rows whose attendance record is less than 15000 . there is only one such row in the table . the date record of this unqiue row is february 20 . Output:
[ "and { only { filter_less { filter_eq { all_rows ; leading scorer ; lebron james } ; attendance ; 15000 } } ; eq { hop { filter_less { filter_eq { all_rows ; leading scorer ; lebron james } ; attendance ; 15000 } ; date } ; february 20 } }" ]
task210-e06068c1eb704f60848e8d7d0de1703a
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record 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 1st maximum . the team record of this row is cleveland . Output:
[ "eq { hop { nth_argmax { all_rows ; location attendance ; 1 } ; team } ; cleveland }" ]
task210-470ba744baea4208b0b2620f06d73c1b
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record 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 birthdate record of all rows is minimum . the name record of this row is phil verchota . Output:
[ "eq { hop { argmin { all_rows ; birthdate } ; name } ; phil verchota }" ]
task210-b77f8bdef95a412bb2ce4993ab882115
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record of this row is india. Output: eq { hop { nth_argmax { all_rows ; goal gain ; 3 } ; team } ; south china } Now complete the following example - Input: select the rows whose name record fuzzily matches to willie adams . take the pick record of this row . select the rows whose name record fuzzily matches to bob reed . take the pick record of this row . the first record is less than the second record . Output:
[ "less { hop { filter_eq { all_rows ; name ; willie adams } ; pick } ; hop { filter_eq { all_rows ; name ; bob reed } ; pick } }" ]
task210-d8175449e5d643888f452eab57848c67
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record 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 tyres records of all rows , most of them fuzzily match to g . Output:
[ "most_eq { all_rows ; tyres ; g }" ]
task210-23ed712d11c84f8a961516f555e68ef6
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record 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 party record fuzzily matches to republican . among these rows , select the rows whose result record fuzzily matches to resigned . the number of such rows is 5 . Output:
[ "eq { count { filter_eq { filter_eq { all_rows ; party ; republican } ; result ; resigned } } ; 5 }" ]
task210-49875d31e03f44559d81e44319453e60
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record of this row is india. Output: eq { hop { nth_argmax { all_rows ; goal gain ; 3 } ; team } ; south china } Now complete the following example - Input: select the row whose year record of all rows is 2nd minimum . the author record of this row is anthony browne . Output:
[ "eq { hop { nth_argmin { all_rows ; year ; 2 } ; author } ; anthony browne }" ]
task210-ce9b045e7d0f485a91b4ddefd78635c9
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record 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 winning driver record fuzzily matches to roberval andrade . the number of such rows is 4 . Output:
[ "eq { count { filter_eq { all_rows ; winning driver ; roberval andrade } } ; 4 }" ]
task210-eb4169411d214606853bd6a1d2fec002
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record 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 viewing figure record of all rows is 6.40 million . Output:
[ "round_eq { avg { all_rows ; viewing figure } ; 6.40 million }" ]
task210-27f9b847ea4b40c6891095393a7c820c
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record 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 is arbitrary . the number of such rows is 11 . Output:
[ "eq { count { filter_all { all_rows ; institution } } ; 11 }" ]
task210-a87e3f38327c40f3adaecdcdaa2f07c8
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record 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 content record fuzzily matches to televendita . among these rows , select the rows whose television service record fuzzily matches to la sorgente . the number of such rows is 3 . Output:
[ "eq { count { filter_eq { filter_eq { all_rows ; content ; televendita } ; television service ; la sorgente } } ; 3 }" ]
task210-f85f96ae463a4a7ca32b2a0578122056
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record 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 caps record of all rows is 14.83 . Output:
[ "round_eq { avg { all_rows ; caps } ; 14.83 }" ]
task210-93fd3f7b1a9c4b39899c4088b958406f
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record of this row is india. Output: eq { hop { nth_argmax { all_rows ; goal gain ; 3 } ; team } ; south china } Now complete the following example - Input: select the rows whose country record fuzzily matches to united kingdom . select the row whose seats record of these rows is 1st maximum . the model record of this row is bae atp . Output:
[ "eq { hop { nth_argmax { filter_eq { all_rows ; country ; united kingdom } ; seats ; 1 } ; model } ; bae atp }" ]
task210-d77b98f24f2a4117aea0ecf26c1132fa
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record 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 events record of all rows is maximum . the player record of this row is jim thorpe . Output:
[ "eq { hop { argmax { all_rows ; events } ; player } ; jim thorpe }" ]
task210-7141fd9db02347c68fed1e767cfb1af5
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record of this row is india. Output: eq { hop { nth_argmax { all_rows ; goal gain ; 3 } ; team } ; south china } Now complete the following example - Input: for the location records of all rows , most of them fuzzily match to united states . Output:
[ "most_eq { all_rows ; location ; united states }" ]
task210-8c581ee1a4d246e8b21f8d717c3a1f96
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record 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 total record of all rows is 12 . Output:
[ "round_eq { sum { all_rows ; total } ; 12 }" ]
task210-c5bc45d3b8fc4053a053ef344f9ac09e
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record of this row is india. Output: eq { hop { nth_argmax { all_rows ; goal gain ; 3 } ; team } ; south china } Now complete the following example - Input: select the rows whose language record fuzzily matches to english . the number of such rows is 3 . Output:
[ "eq { count { filter_eq { all_rows ; language ; english } } ; 3 }" ]
task210-2e908b3a7618494c9e8af20ef3cbe148
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record 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 matches record is equal to 4 . there is only one such row in the table . the player record of this unqiue row is ernie toshack . Output:
[ "and { only { filter_eq { all_rows ; matches ; 4 } } ; eq { hop { filter_eq { all_rows ; matches ; 4 } ; player } ; ernie toshack } }" ]
task210-c49d45b86d3d498280c389ca6387281a
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record 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 official name record fuzzily matches to saint george . take the population record of this row . select the rows whose official name record fuzzily matches to saint andrews . take the population record of this row . the first record is greater than the second record . Output:
[ "greater { hop { filter_eq { all_rows ; official name ; saint george } ; population } ; hop { filter_eq { all_rows ; official name ; saint andrews } ; population } }" ]
task210-020bf3156dba451bb943296bec23a3ac
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record 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 10 . there is only one such row in the table . the nation record of this unqiue row is united states . Output:
[ "and { only { filter_greater { all_rows ; gold ; 10 } } ; eq { hop { filter_greater { all_rows ; gold ; 10 } ; nation } ; united states } }" ]
task210-92c1a7800b74422b93f61b51e6009c5e
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record 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 away team score record fuzzily matches to 15.2 . there is only one such row in the table . the venue record of this unqiue row is windy hill . Output:
[ "and { only { filter_eq { all_rows ; away team score ; 15.2 } } ; eq { hop { filter_eq { all_rows ; away team score ; 15.2 } ; venue } ; windy hill } }" ]
task210-bb46a318eec840c5bbf402762addbf1b
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record of this row is india. Output: eq { hop { nth_argmax { all_rows ; goal gain ; 3 } ; team } ; south china } Now complete the following example - Input: select the rows whose gold record is equal to 4 . there is only one such row in the table . the nation record of this unqiue row is south korea . Output:
[ "and { only { filter_eq { all_rows ; gold ; 4 } } ; eq { hop { filter_eq { all_rows ; gold ; 4 } ; nation } ; south korea } }" ]
task210-2e115fae95b14dc4a840486f9cfc86a3
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record 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 1st maximum . the opponent record of this row is 7 usc . Output:
[ "eq { hop { nth_argmax { all_rows ; attendance ; 1 } ; opponent } ; 7 usc }" ]
task210-2ff6fcc981d14dafb8f89345b48fdb3c
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record of this row is india. Output: eq { hop { nth_argmax { all_rows ; goal gain ; 3 } ; team } ; south china } Now complete the following example - Input: select the rows whose country record fuzzily matches to united states . among these rows , select the rows whose total record is greater than 150 . the number of such rows is 2 . Output:
[ "eq { count { filter_greater { filter_eq { all_rows ; country ; united states } ; total ; 150 } } ; 2 }" ]
task210-e4f7e481e66346fe9f65d314b376bf1b
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record 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 / retired record fuzzily matches to off course . there is only one such row in the table . the driver record of this unqiue row is gastón mazzacane . Output:
[ "and { only { filter_eq { all_rows ; time / retired ; off course } } ; eq { hop { filter_eq { all_rows ; time / retired ; off course } ; driver } ; gastón mazzacane } }" ]
task210-9a2cd2905c844165bbd721a239a0373a
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record 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 result records of all rows , most of them fuzzily match to loss . Output:
[ "most_eq { all_rows ; result ; loss }" ]
task210-ff73d6913ffc42068ffc34736df08b26
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record 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 result records of all rows , most of them fuzzily match to not nominated . Output:
[ "most_eq { all_rows ; result ; not nominated }" ]
task210-155a7228baa8491f80936aedcb730bad
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record 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 102 . Output:
[ "round_eq { avg { all_rows ; score } ; 102 }" ]
task210-2d5cbd19226c45d8acf6703bf509988c
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record of this row is india. Output: eq { hop { nth_argmax { all_rows ; goal gain ; 3 } ; team } ; south china } Now complete the following example - Input: select the row whose date record of all rows is 3rd minimum . the centerfold model record of this row is sandra hubby . Output:
[ "eq { hop { nth_argmin { all_rows ; date ; 3 } ; centerfold model } ; sandra hubby }" ]
task210-626bda5883e64f59bdfcf86b7f75080e
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record of this row is india. Output: eq { hop { nth_argmax { all_rows ; goal gain ; 3 } ; team } ; south china } Now complete the following example - Input: select the rows whose country record fuzzily matches to south africa . the number of such rows is 4 . Output:
[ "eq { count { filter_eq { all_rows ; country ; south africa } } ; 4 }" ]
task210-4fb18154a2c14c88b3e63e1ce50287ab
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record of this row is india. Output: eq { hop { nth_argmax { all_rows ; goal gain ; 3 } ; team } ; south china } Now complete the following example - Input: for the winner records of all rows , all of them fuzzily match to ( ita ) . Output:
[ "all_eq { all_rows ; winner ; ( ita ) }" ]
task210-5c3cb97c222545439d5324275feaf90c
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record 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 opened ( closing date if defunct ) record of all rows is 2nd minimum . the track record of this row is indianapolis speedrome . Output:
[ "eq { hop { nth_argmin { all_rows ; opened ( closing date if defunct ) ; 2 } ; track } ; indianapolis speedrome }" ]
task210-27a198ccea58442d84e5c8eff133e5f8
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record of this row is india. Output: eq { hop { nth_argmax { all_rows ; goal gain ; 3 } ; team } ; south china } Now complete the following example - Input: select the rows whose country record fuzzily matches to russia . the number of such rows is 2 . Output:
[ "eq { count { filter_eq { all_rows ; country ; russia } } ; 2 }" ]
task210-1b9fffb6b4b84207932469cd18acd9fa
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record 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 country of origin records of all rows , most of them fuzzily match to philippines . Output:
[ "most_eq { all_rows ; country of origin ; philippines }" ]
task210-ba2e61236b2a4a29a35282ee4a880c13
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record of this row is india. Output: eq { hop { nth_argmax { all_rows ; goal gain ; 3 } ; team } ; south china } Now complete the following example - Input: select the row whose date record of all rows is maximum . the cover model record of this row is lauren hill . Output:
[ "eq { hop { argmax { all_rows ; date } ; cover model } ; lauren hill }" ]
task210-7071206b7864427d9eeba06076a00d70
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record 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 opponent record fuzzily matches to oakland raiders . the number of such rows is 2 . Output:
[ "eq { count { filter_eq { filter_eq { all_rows ; result ; w } ; opponent ; oakland raiders } } ; 2 }" ]
task210-14c961f176e043a2871c025ec2901d1d
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record 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 pos record does not match to dnf . the sum of the laps record of these rows is 1359 . Output:
[ "round_eq { sum { filter_not_eq { all_rows ; pos ; dnf } ; laps } ; 1359 }" ]
task210-afb708cf88b14623869107859248a3ca
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record 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 purse record of all rows is maximum . the tournament record of this row is senior tournament players championship . Output:
[ "eq { hop { argmax { all_rows ; purse } ; tournament } ; senior tournament players championship }" ]
task210-3559cc289f0c4e31b348a300e3b56f06
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record 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 us mission record fuzzily matches to ranger . the average of the mass ( kg ) record of these rows is 340 . Output:
[ "round_eq { avg { filter_eq { all_rows ; us mission ; ranger } ; mass ( kg ) } ; 340 }" ]
task210-2dbe12a1a64748c2b9c67b1149121310
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record of this row is india. Output: eq { hop { nth_argmax { all_rows ; goal gain ; 3 } ; team } ; south china } Now complete the following example - Input: the sum of the score record of all rows is 1554 . Output:
[ "round_eq { sum { all_rows ; score } ; 1554 }" ]
task210-1b200ae4888447bea96aa2af579ee5b0
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record 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 does not match to t1 . the average of the to par record of these rows is 4 . Output:
[ "round_eq { avg { filter_not_eq { all_rows ; place ; t1 } ; to par } ; 4 }" ]
task210-4fc438f0be0f4373bbcec3f99c2d24e7
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record 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 region record fuzzily matches to japan . take the date record of this row . select the rows whose region record fuzzily matches to united kingdom . take the date record of this row . the first record is less than the second record . Output:
[ "less { hop { filter_eq { all_rows ; region ; japan } ; date } ; hop { filter_eq { all_rows ; region ; united kingdom } ; date } }" ]
task210-318ad5d1dd274d23ab62ad8c9d8d5bf6
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record 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 high assists records of all rows , most of them fuzzily match to steve nash . Output:
[ "most_eq { all_rows ; high assists ; steve nash }" ]
task210-4dc57a1b6bd14947aebd930c8d0187f6
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record 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 first elected record fuzzily matches to 1878 . the number of such rows is 3 . Output:
[ "eq { count { filter_eq { all_rows ; first elected ; 1878 } } ; 3 }" ]
task210-d9e4424a24f9463c9fb5d5ce09057709
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record 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 bronze record of all rows is 1.67 . Output:
[ "round_eq { avg { all_rows ; bronze } ; 1.67 }" ]
task210-cf31120abb6a48c096ef42dfb83ad192
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record 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 status record fuzzily matches to alive after exiting the cube . there is only one such row in the table . the name record of this unqiue row is kazan . Output:
[ "and { only { filter_eq { all_rows ; status ; alive after exiting the cube } } ; eq { hop { filter_eq { all_rows ; status ; alive after exiting the cube } ; name } ; kazan } }" ]
task210-aae49aa6d16d4801a5cd4c894e41f614
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record of this row is india. Output: eq { hop { nth_argmax { all_rows ; goal gain ; 3 } ; team } ; south china } Now complete the following example - Input: select the rows whose home team record fuzzily matches to geelong . take the crowd record of this row . select the rows whose home team record fuzzily matches to melbourne . take the crowd record of this row . the first record is greater than the second record . Output:
[ "greater { hop { filter_eq { all_rows ; home team ; geelong } ; crowd } ; hop { filter_eq { all_rows ; home team ; melbourne } ; crowd } }" ]
task210-f504a3368bfb4472865214c9788cea7d
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record 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 law preservation ticket record fuzzily matches to ( none ) . the number of such rows is 4 . Output:
[ "eq { count { filter_eq { all_rows ; law preservation ticket ; ( none ) } } ; 4 }" ]
task210-3bc6489c7ee0413eb23167232de6da32
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record 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 apogee record of all rows is maximum . the mission record of this row is maxus 1b . Output:
[ "eq { hop { argmax { all_rows ; apogee } ; mission } ; maxus 1b }" ]
task210-2c5ab518109549eea62f1de7f93c3464
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record 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 capacity record of all rows is maximum . the venue record of this row is dinamo , minsk . Output:
[ "eq { hop { argmax { all_rows ; capacity } ; venue } ; dinamo , minsk }" ]
task210-ae2cabd21eb54abd99e3713e1a1ea046
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record of this row is india. Output: eq { hop { nth_argmax { all_rows ; goal gain ; 3 } ; team } ; south china } Now complete the following example - Input: select the rows whose venue record fuzzily matches to junction oval . take the crowd record of this row . select the rows whose venue record fuzzily matches to western oval . take the crowd record of this row . the first record is 8099 larger than the second record . Output:
[ "eq { diff { hop { filter_eq { all_rows ; venue ; junction oval } ; crowd } ; hop { filter_eq { all_rows ; venue ; western oval } ; crowd } } ; 8099 }" ]
task210-64daa1f820f24996b0f983fb6a2bb87c
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record of this row is india. Output: eq { hop { nth_argmax { all_rows ; goal gain ; 3 } ; team } ; south china } Now complete the following example - Input: select the rows whose game site record fuzzily matches to shea stadium . select the row whose attendance record of these rows is maximum . the date record of this row is 1983 - 10 - 16 . Output:
[ "eq { hop { argmax { filter_eq { all_rows ; game site ; shea stadium } ; attendance } ; date } ; 1983 - 10 - 16 }" ]
task210-4bb127eff9e8456584a810c41a3ef8d6
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record 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 artist record fuzzily matches to arnold nogy . the number of such rows is 3 . Output:
[ "eq { count { filter_eq { all_rows ; artist ; arnold nogy } } ; 3 }" ]
task210-5be55c58798c4067b555a323760565fd
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record 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 entrant record of this row is force india f1 team . Output:
[ "eq { hop { argmax { all_rows ; points } ; entrant } ; force india f1 team }" ]
task210-98a9fdbc6f134b92b81e1b6c4df2298e
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record 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 coach record fuzzily matches to brian noble . select the row whose main article record of these rows is 4th minimum . the lost record of this row is 7 . Output:
[ "eq { hop { nth_argmin { filter_eq { all_rows ; coach ; brian noble } ; main article ; 4 } ; lost } ; 7 }" ]
task210-e2cd9c8cc1884f0ca8687eba9da3c191
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record 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 village . Output:
[ "most_eq { all_rows ; type ; village }" ]
task210-738a7362775f476f8203cbf79e5daf65
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record 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 constructor record fuzzily matches to ferrari . the maximum date record of these rows is 18 july . Output:
[ "eq { max { filter_eq { all_rows ; constructor ; ferrari } ; date } ; 18 july }" ]
task210-bb558c92538c43c7a68f4fcc7d442a78
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record 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 games record is equal to 74 . the number of such rows is 4 . Output:
[ "eq { count { filter_eq { all_rows ; games ; 74 } } ; 4 }" ]
task210-aa225294fa2a401f9ce96bcf7e31dc0f
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record 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 gold record of all rows is 0.4375 . Output:
[ "round_eq { avg { all_rows ; gold } ; 0.4375 }" ]
task210-9d8e7d5e0a804859a2ef1265ffca4386
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record 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 1997 korea cup . among these rows , select the rows whose score record fuzzily matches to 1 goal . the number of such rows is 2 . Output:
[ "eq { count { filter_eq { filter_eq { all_rows ; competition ; 1997 korea cup } ; score ; 1 goal } } ; 2 }" ]
task210-21c527c1c24b4341aada10b228a6cf88
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record 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 4th minimum week record of all rows is 4 . the opponent record of the row with 4th minimum week record is chicago bears . Output:
[ "and { eq { nth_min { all_rows ; week ; 4 } ; 4 } ; eq { hop { nth_argmin { all_rows ; week ; 4 } ; opponent } ; chicago bears } }" ]
task210-c40e13f541e945ec98df0185ef2cd58e
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record 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 printer record fuzzily matches to avery dennison . for the face value records of these rows , all of them are greater than 35 . Output:
[ "all_greater { filter_eq { all_rows ; printer ; avery dennison } ; face value ; 35 }" ]
task210-82d2ca8ef040472a962d15faae31bbde
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record 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 reason for change records of all rows , all of them fuzzily match to died . Output:
[ "all_eq { all_rows ; reason for change ; died }" ]
task210-bf421c0ebf90440db94f5228bffde52d
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record 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 baylor university . select the row whose enrollment record of these rows is maximum . the affiliation record of this row is private / baptist . Output:
[ "eq { hop { argmax { filter_eq { all_rows ; institution ; baylor university } ; enrollment } ; affiliation } ; private / baptist }" ]
task210-2947de340c884f41aff8d9f008620e78
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record of this row is india. Output: eq { hop { nth_argmax { all_rows ; goal gain ; 3 } ; team } ; south china } Now complete the following example - Input: select the row whose year record of all rows is 2nd maximum . the game record of this row is the elder scrolls v : skyrim . Output:
[ "eq { hop { nth_argmax { all_rows ; year ; 2 } ; game } ; the elder scrolls v : skyrim }" ]
task210-17a1653595084e699821b30cb2c942d3
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record 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 alfred binns . take the total dismissals record of this row . select the rows whose player record fuzzily matches to ivor mendonca . take the total dismissals record of this row . the first record is greater than the second record . Output:
[ "greater { hop { filter_eq { all_rows ; player ; alfred binns } ; total dismissals } ; hop { filter_eq { all_rows ; player ; ivor mendonca } ; total dismissals } }" ]
task210-c7f4cfe7391d4605ae1c7730c698b36f
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record 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 td 's record is equal to 17 . there is only one such row in the table . the player name record of this unqiue row is torrance marshall . Output:
[ "and { only { filter_eq { all_rows ; td 's ; 17 } } ; eq { hop { filter_eq { all_rows ; td 's ; 17 } ; player name } ; torrance marshall } }" ]
task210-20c44749a12e4c2a8b6e7ee4e6d19f62
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record of this row is india. Output: eq { hop { nth_argmax { all_rows ; goal gain ; 3 } ; team } ; south china } Now complete the following example - Input: select the rows whose date successor seated record fuzzily matches to march . there is only one such row in the table . the district record of this unqiue row is kentucky 2nd . Output:
[ "and { only { filter_eq { all_rows ; date successor seated ; march } } ; eq { hop { filter_eq { all_rows ; date successor seated ; march } ; district } ; kentucky 2nd } }" ]
task210-53e16cab9c5e4c60afc0f1d1f030deaf
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record 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 apps record is equal to 38 . among these rows , select the rows whose points record is equal to 91 . there is only one such row in the table . the club record of this unqiue row is barcelona . Output:
[ "and { only { filter_eq { filter_eq { all_rows ; apps ; 38 } ; points ; 91 } } ; eq { hop { filter_eq { filter_eq { all_rows ; apps ; 38 } ; points ; 91 } ; club } ; barcelona } }" ]
task210-0c16a036afc2409ab8a087599f8904ab
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record 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 televotes record of all rows is 147968 . Output:
[ "round_eq { sum { all_rows ; televotes } ; 147968 }" ]
task210-8db460b47e0a44f485ec471f6a0a3481
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record 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 overall record of all rows is 125.1 . Output:
[ "round_eq { avg { all_rows ; overall } ; 125.1 }" ]
task210-a051a4048e0441bd9d126c276bf111ff
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record 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 won . the number of such rows is 8 . Output:
[ "eq { count { filter_eq { all_rows ; result ; won } } ; 8 }" ]
task210-4d144586c3a6467fbff8baac8efdc579
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record of this row is india. Output: eq { hop { nth_argmax { all_rows ; goal gain ; 3 } ; team } ; south china } Now complete the following example - Input: select the rows whose incumbent record fuzzily matches to bruce vento . take the opponent record of this row . select the rows whose incumbent record fuzzily matches to gerry sikorski . take the opponent record of this row . the first record is .10 % larger than the second record . Output:
[ "eq { diff { hop { filter_eq { all_rows ; incumbent ; bruce vento } ; opponent } ; hop { filter_eq { all_rows ; incumbent ; gerry sikorski } ; opponent } } ; .10 % }" ]
task210-2bce01ccb6354a61abcbaca49d640062
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record of this row is india. Output: eq { hop { nth_argmax { all_rows ; goal gain ; 3 } ; team } ; south china } Now complete the following example - Input: select the rows whose nationality record fuzzily matches to canada . the number of such rows is 5 . Output:
[ "eq { count { filter_eq { all_rows ; nationality ; canada } } ; 5 }" ]
task210-0258f38e42a14fbfad404752ed9506b0
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record 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 1st minimum date record of all rows is 03 oct . the time record of the row with 1st minimum date record is 12:00 . Output:
[ "and { eq { nth_min { all_rows ; date ; 1 } ; 03 oct } ; eq { hop { nth_argmin { all_rows ; date ; 1 } ; time } ; 12:00 } }" ]
task210-09745e38d5f241f2b93c57be3833432b
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record 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 t c ( k ) records of all rows , most of them are greater than 80 . Output:
[ "most_greater { all_rows ; t c ( k ) ; 80 }" ]
task210-fc654739175a410294fba116a075a142
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record 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 re-elected . select the row whose first elected record of these rows is 1st maximum . the incumbent record of this row is donald d clancy . Output:
[ "eq { hop { nth_argmax { filter_eq { all_rows ; result ; re-elected } ; first elected ; 1 } ; incumbent } ; donald d clancy }" ]
task210-35959068f74d4809a56011b892df7ca8
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record 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 away team score record is greater than 10 . among these rows , select the rows whose crowd record is greater than 12000 . the number of such rows is 2 . Output:
[ "eq { count { filter_greater { filter_greater { all_rows ; away team score ; 10 } ; crowd ; 12000 } } ; 2 }" ]
task210-b218ebe3dcdb454289929330331447ed
Definition: In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Positive Example 1 - Input: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Positive Example 2 - Input: select the row whose duration record of all rows is maximum. the actor record of this row is lesley saweard. Output: eq { hop { argmax { all_rows ; duration } ; actor } ; lesley saweard } Negative Example 1 - Input: select the row whose total record of all rows is 3rd maximum . the club record of this row is maidstone united . Output: eq { hop { nth_argmax { all_rows ; total ; 3 } } ; maidstone united } Negative Example 2 - Input: select the row whose goal gain record of all rows is 3rd maximum. the team record 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 forward-center . the number of such rows is 2 . Output:
[ "eq { count { filter_eq { all_rows ; position ; forward-center } } ; 2 }" ]
task210-8d765494a7f8434e8c9083aeee0008e2