Dataset Viewer
Auto-converted to Parquet Duplicate
inputs
stringlengths
2.3k
3.85k
targets
stringlengths
43
473
_template_idx
int64
0
9
_task_source
stringclasses
1 value
_task_name
stringclasses
1 value
_template_type
stringclasses
2 values
In this task, you are given commands (in terms of logical operations) to select relevant rows from the given table. Your job is to generate a natural language interpretation of the given command. Here are the definitions of logical operators: 1. count: returns the number of rows in the view 2. only: returns whether there is exactly one row in the view 3. hop: returns the value under the header column of the row 4. and: returns the boolean operation result of two arguments 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column 6. nth max/nth min: returns the n-th max/n-th min of the values under the header column 7. argmax/argmin: returns the row with the max/min value in header column 8. nth argmax/nth argmin: returns the row with the n-th max/min value in header column 9. eq/not eq: returns if the two arguments are equal 10. round eq: returns if the two arguments are roughly equal under certain tolerance 11. greater/less: returns if argument 1 is greater/less than argument 2 12. diff: returns the difference between two arguments 13. filter eq/not eq: returns the subview whose values under the header column is equal/not equal to argument 3 14. filter greater/less: returns the subview whose values under the header column is greater/less than argument 3 15. filter greater eq /less eq: returns the subview whose values under the header column is greater/less or equal than argument 3 16. filter all: returns the view itself for the case of describing the whole table 17. all eq/not eq: returns whether all the values under the header column are equal/not equal to argument 3 18. all greater/less: returns whether all the values under the header column are greater/less than argument 3 19. all greater eq/less eq: returns whether all the values under the header column are greater/less or equal to argument 3 20. most eq/not eq: returns whether most of the values under the header column are equal/not equal to argument 3 21. most greater/less: returns whether most of the values under the header column are greater/less than argument 3 22. most greater eq/less eq: returns whether most of the values under the header column are greater/less or equal to argument 3 Ex Input: and { only { filter_eq { all_rows ; directed by ; tony goldwyn } } ; eq { hop { filter_eq { all_rows ; directed by ; tony goldwyn } ; title } ; in which sam receives an unexpected visitor } } = true Ex Output: select the rows whose directed by record fuzzily matches to tony goldwyn . there is only one such row in the table . the title record of this unqiue row is in which sam receives an unexpected visitor . Ex Input: and { only { filter_less { all_rows ; rating ; 3 } } ; eq { hop { filter_less { all_rows ; rating ; 3 } ; ride } ; taxi jam } } = true Ex Output: select the rows whose rating record is less than 3 . there is only one such row in the table . the ride record of this unqiue row is taxi jam . Ex Input: eq { count { filter_eq { all_rows ; defensive ; matt disher } } ; 3 } = true Ex Output:
select the rows whose defensive record fuzzily matches to matt disher . the number of such rows is 3 .
1
NIv2
task110_logic2text_sentence_generation
fs_opt
Given the task definition, example input & output, solve the new input case. In this task, you are given commands (in terms of logical operations) to select relevant rows from the given table. Your job is to generate a natural language interpretation of the given command. Here are the definitions of logical operators: 1. count: returns the number of rows in the view 2. only: returns whether there is exactly one row in the view 3. hop: returns the value under the header column of the row 4. and: returns the boolean operation result of two arguments 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column 6. nth max/nth min: returns the n-th max/n-th min of the values under the header column 7. argmax/argmin: returns the row with the max/min value in header column 8. nth argmax/nth argmin: returns the row with the n-th max/min value in header column 9. eq/not eq: returns if the two arguments are equal 10. round eq: returns if the two arguments are roughly equal under certain tolerance 11. greater/less: returns if argument 1 is greater/less than argument 2 12. diff: returns the difference between two arguments 13. filter eq/not eq: returns the subview whose values under the header column is equal/not equal to argument 3 14. filter greater/less: returns the subview whose values under the header column is greater/less than argument 3 15. filter greater eq /less eq: returns the subview whose values under the header column is greater/less or equal than argument 3 16. filter all: returns the view itself for the case of describing the whole table 17. all eq/not eq: returns whether all the values under the header column are equal/not equal to argument 3 18. all greater/less: returns whether all the values under the header column are greater/less than argument 3 19. all greater eq/less eq: returns whether all the values under the header column are greater/less or equal to argument 3 20. most eq/not eq: returns whether most of the values under the header column are equal/not equal to argument 3 21. most greater/less: returns whether most of the values under the header column are greater/less than argument 3 22. most greater eq/less eq: returns whether most of the values under the header column are greater/less or equal to argument 3 Example: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } = true Output: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Here, the generated sentence interprets given logical form correctly that 3rd maximum should be selected from given table rows. New input case for you: round_eq { sum { all_rows ; loans received , 3q } ; 8550000 } = true Output:
the sum of the loans received , 3q record of all rows is 8550000 .
1
NIv2
task110_logic2text_sentence_generation
fs_opt
In this task, you are given commands (in terms of logical operations) to select relevant rows from the given table. Your job is to generate a natural language interpretation of the given command. Here are the definitions of logical operators: 1. count: returns the number of rows in the view 2. only: returns whether there is exactly one row in the view 3. hop: returns the value under the header column of the row 4. and: returns the boolean operation result of two arguments 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column 6. nth max/nth min: returns the n-th max/n-th min of the values under the header column 7. argmax/argmin: returns the row with the max/min value in header column 8. nth argmax/nth argmin: returns the row with the n-th max/min value in header column 9. eq/not eq: returns if the two arguments are equal 10. round eq: returns if the two arguments are roughly equal under certain tolerance 11. greater/less: returns if argument 1 is greater/less than argument 2 12. diff: returns the difference between two arguments 13. filter eq/not eq: returns the subview whose values under the header column is equal/not equal to argument 3 14. filter greater/less: returns the subview whose values under the header column is greater/less than argument 3 15. filter greater eq /less eq: returns the subview whose values under the header column is greater/less or equal than argument 3 16. filter all: returns the view itself for the case of describing the whole table 17. all eq/not eq: returns whether all the values under the header column are equal/not equal to argument 3 18. all greater/less: returns whether all the values under the header column are greater/less than argument 3 19. all greater eq/less eq: returns whether all the values under the header column are greater/less or equal to argument 3 20. most eq/not eq: returns whether most of the values under the header column are equal/not equal to argument 3 21. most greater/less: returns whether most of the values under the header column are greater/less than argument 3 22. most greater eq/less eq: returns whether most of the values under the header column are greater/less or equal to argument 3 One example is below. Q: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } = true A: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Rationale: Here, the generated sentence interprets given logical form correctly that 3rd maximum should be selected from given table rows. Q: eq { count { filter_eq { filter_eq { all_rows ; year ; 2010 } ; recipient ; the suite life on deck } } ; 2 } = true A:
select the rows whose year record is equal to 2010 . among these rows , select the rows whose recipient record fuzzily matches to the suite life on deck . the number of such rows is 2 .
9
NIv2
task110_logic2text_sentence_generation
fs_opt
In this task, you are given commands (in terms of logical operations) to select relevant rows from the given table. Your job is to generate a natural language interpretation of the given command. Here are the definitions of logical operators: 1. count: returns the number of rows in the view 2. only: returns whether there is exactly one row in the view 3. hop: returns the value under the header column of the row 4. and: returns the boolean operation result of two arguments 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column 6. nth max/nth min: returns the n-th max/n-th min of the values under the header column 7. argmax/argmin: returns the row with the max/min value in header column 8. nth argmax/nth argmin: returns the row with the n-th max/min value in header column 9. eq/not eq: returns if the two arguments are equal 10. round eq: returns if the two arguments are roughly equal under certain tolerance 11. greater/less: returns if argument 1 is greater/less than argument 2 12. diff: returns the difference between two arguments 13. filter eq/not eq: returns the subview whose values under the header column is equal/not equal to argument 3 14. filter greater/less: returns the subview whose values under the header column is greater/less than argument 3 15. filter greater eq /less eq: returns the subview whose values under the header column is greater/less or equal than argument 3 16. filter all: returns the view itself for the case of describing the whole table 17. all eq/not eq: returns whether all the values under the header column are equal/not equal to argument 3 18. all greater/less: returns whether all the values under the header column are greater/less than argument 3 19. all greater eq/less eq: returns whether all the values under the header column are greater/less or equal to argument 3 20. most eq/not eq: returns whether most of the values under the header column are equal/not equal to argument 3 21. most greater/less: returns whether most of the values under the header column are greater/less than argument 3 22. most greater eq/less eq: returns whether most of the values under the header column are greater/less or equal to argument 3 Let me give you an example: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } = true The answer to this example can be: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Here is why: Here, the generated sentence interprets given logical form correctly that 3rd maximum should be selected from given table rows. OK. solve this: eq { count { filter_all { all_rows ; club } } ; 11 } = true Answer:
select the rows whose club record is arbitrary . the number of such rows is 11 .
8
NIv2
task110_logic2text_sentence_generation
fs_opt
instruction: In this task, you are given commands (in terms of logical operations) to select relevant rows from the given table. Your job is to generate a natural language interpretation of the given command. Here are the definitions of logical operators: 1. count: returns the number of rows in the view 2. only: returns whether there is exactly one row in the view 3. hop: returns the value under the header column of the row 4. and: returns the boolean operation result of two arguments 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column 6. nth max/nth min: returns the n-th max/n-th min of the values under the header column 7. argmax/argmin: returns the row with the max/min value in header column 8. nth argmax/nth argmin: returns the row with the n-th max/min value in header column 9. eq/not eq: returns if the two arguments are equal 10. round eq: returns if the two arguments are roughly equal under certain tolerance 11. greater/less: returns if argument 1 is greater/less than argument 2 12. diff: returns the difference between two arguments 13. filter eq/not eq: returns the subview whose values under the header column is equal/not equal to argument 3 14. filter greater/less: returns the subview whose values under the header column is greater/less than argument 3 15. filter greater eq /less eq: returns the subview whose values under the header column is greater/less or equal than argument 3 16. filter all: returns the view itself for the case of describing the whole table 17. all eq/not eq: returns whether all the values under the header column are equal/not equal to argument 3 18. all greater/less: returns whether all the values under the header column are greater/less than argument 3 19. all greater eq/less eq: returns whether all the values under the header column are greater/less or equal to argument 3 20. most eq/not eq: returns whether most of the values under the header column are equal/not equal to argument 3 21. most greater/less: returns whether most of the values under the header column are greater/less than argument 3 22. most greater eq/less eq: returns whether most of the values under the header column are greater/less or equal to argument 3 question: round_eq { avg { all_rows ; top - 5 } ; .5 } = true answer: the average of the top 5 record of all rows is .5 . question: eq { hop { argmax { all_rows ; agg } ; team 1 } ; manzini wanderers } = true answer: select the row whose agg record of all rows is maximum . the team 1 record of this row is manzini wanderers . question: eq { count { filter_all { all_rows ; club } } ; 11 } = true answer:
select the rows whose club record is arbitrary . the number of such rows is 11 .
9
NIv2
task110_logic2text_sentence_generation
fs_opt
In this task, you are given commands (in terms of logical operations) to select relevant rows from the given table. Your job is to generate a natural language interpretation of the given command. Here are the definitions of logical operators: 1. count: returns the number of rows in the view 2. only: returns whether there is exactly one row in the view 3. hop: returns the value under the header column of the row 4. and: returns the boolean operation result of two arguments 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column 6. nth max/nth min: returns the n-th max/n-th min of the values under the header column 7. argmax/argmin: returns the row with the max/min value in header column 8. nth argmax/nth argmin: returns the row with the n-th max/min value in header column 9. eq/not eq: returns if the two arguments are equal 10. round eq: returns if the two arguments are roughly equal under certain tolerance 11. greater/less: returns if argument 1 is greater/less than argument 2 12. diff: returns the difference between two arguments 13. filter eq/not eq: returns the subview whose values under the header column is equal/not equal to argument 3 14. filter greater/less: returns the subview whose values under the header column is greater/less than argument 3 15. filter greater eq /less eq: returns the subview whose values under the header column is greater/less or equal than argument 3 16. filter all: returns the view itself for the case of describing the whole table 17. all eq/not eq: returns whether all the values under the header column are equal/not equal to argument 3 18. all greater/less: returns whether all the values under the header column are greater/less than argument 3 19. all greater eq/less eq: returns whether all the values under the header column are greater/less or equal to argument 3 20. most eq/not eq: returns whether most of the values under the header column are equal/not equal to argument 3 21. most greater/less: returns whether most of the values under the header column are greater/less than argument 3 22. most greater eq/less eq: returns whether most of the values under the header column are greater/less or equal to argument 3 [Q]: greater { hop { filter_eq { all_rows ; street address ; 424 church street } ; floors } ; hop { filter_eq { all_rows ; street address ; 211 union street } ; floors } } = true [A]: select the rows whose street address record fuzzily matches to 424 church street . take the floors record of this row . select the rows whose street address record fuzzily matches to 211 union street . take the floors record of this row . the first record is greater than the second record . [Q]: most_not_eq { all_rows ; score ; walkover } = true [A]: for the score records of all rows , most of them do not match to walkover . [Q]: round_eq { avg { filter_eq { all_rows ; high rebounds ; wallace } ; high rebounds } ; 11 } = true [A]:
select the rows whose high rebounds record fuzzily matches to wallace . the average of the high rebounds record of these rows is 11 .
5
NIv2
task110_logic2text_sentence_generation
fs_opt
In this task, you are given commands (in terms of logical operations) to select relevant rows from the given table. Your job is to generate a natural language interpretation of the given command. Here are the definitions of logical operators: 1. count: returns the number of rows in the view 2. only: returns whether there is exactly one row in the view 3. hop: returns the value under the header column of the row 4. and: returns the boolean operation result of two arguments 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column 6. nth max/nth min: returns the n-th max/n-th min of the values under the header column 7. argmax/argmin: returns the row with the max/min value in header column 8. nth argmax/nth argmin: returns the row with the n-th max/min value in header column 9. eq/not eq: returns if the two arguments are equal 10. round eq: returns if the two arguments are roughly equal under certain tolerance 11. greater/less: returns if argument 1 is greater/less than argument 2 12. diff: returns the difference between two arguments 13. filter eq/not eq: returns the subview whose values under the header column is equal/not equal to argument 3 14. filter greater/less: returns the subview whose values under the header column is greater/less than argument 3 15. filter greater eq /less eq: returns the subview whose values under the header column is greater/less or equal than argument 3 16. filter all: returns the view itself for the case of describing the whole table 17. all eq/not eq: returns whether all the values under the header column are equal/not equal to argument 3 18. all greater/less: returns whether all the values under the header column are greater/less than argument 3 19. all greater eq/less eq: returns whether all the values under the header column are greater/less or equal to argument 3 20. most eq/not eq: returns whether most of the values under the header column are equal/not equal to argument 3 21. most greater/less: returns whether most of the values under the header column are greater/less than argument 3 22. most greater eq/less eq: returns whether most of the values under the header column are greater/less or equal to argument 3 [Q]: most_eq { all_rows ; transfer window ; summer } = true [A]: for the transfer window records of all rows , most of them fuzzily match to summer . [Q]: round_eq { sum { all_rows ; against } ; 121 } = true [A]: the sum of the against record of all rows is 121 . [Q]: only { filter_eq { filter_eq { all_rows ; date ; oct } ; opponent ; new england patriots } } = true [A]:
select the rows whose date record fuzzily matches to oct . among these rows , select the rows whose opponent record fuzzily matches to new england patriots . there is only one such row in the table .
5
NIv2
task110_logic2text_sentence_generation
fs_opt
In this task, you are given commands (in terms of logical operations) to select relevant rows from the given table. Your job is to generate a natural language interpretation of the given command. Here are the definitions of logical operators: 1. count: returns the number of rows in the view 2. only: returns whether there is exactly one row in the view 3. hop: returns the value under the header column of the row 4. and: returns the boolean operation result of two arguments 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column 6. nth max/nth min: returns the n-th max/n-th min of the values under the header column 7. argmax/argmin: returns the row with the max/min value in header column 8. nth argmax/nth argmin: returns the row with the n-th max/min value in header column 9. eq/not eq: returns if the two arguments are equal 10. round eq: returns if the two arguments are roughly equal under certain tolerance 11. greater/less: returns if argument 1 is greater/less than argument 2 12. diff: returns the difference between two arguments 13. filter eq/not eq: returns the subview whose values under the header column is equal/not equal to argument 3 14. filter greater/less: returns the subview whose values under the header column is greater/less than argument 3 15. filter greater eq /less eq: returns the subview whose values under the header column is greater/less or equal than argument 3 16. filter all: returns the view itself for the case of describing the whole table 17. all eq/not eq: returns whether all the values under the header column are equal/not equal to argument 3 18. all greater/less: returns whether all the values under the header column are greater/less than argument 3 19. all greater eq/less eq: returns whether all the values under the header column are greater/less or equal to argument 3 20. most eq/not eq: returns whether most of the values under the header column are equal/not equal to argument 3 21. most greater/less: returns whether most of the values under the header column are greater/less than argument 3 22. most greater eq/less eq: returns whether most of the values under the header column are greater/less or equal to argument 3 Let me give you an example: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } = true The answer to this example can be: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Here is why: Here, the generated sentence interprets given logical form correctly that 3rd maximum should be selected from given table rows. OK. solve this: round_eq { avg { all_rows ; score } ; 143 } = true Answer:
the average of the score record of all rows is 143 .
8
NIv2
task110_logic2text_sentence_generation
fs_opt
In this task, you are given commands (in terms of logical operations) to select relevant rows from the given table. Your job is to generate a natural language interpretation of the given command. Here are the definitions of logical operators: 1. count: returns the number of rows in the view 2. only: returns whether there is exactly one row in the view 3. hop: returns the value under the header column of the row 4. and: returns the boolean operation result of two arguments 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column 6. nth max/nth min: returns the n-th max/n-th min of the values under the header column 7. argmax/argmin: returns the row with the max/min value in header column 8. nth argmax/nth argmin: returns the row with the n-th max/min value in header column 9. eq/not eq: returns if the two arguments are equal 10. round eq: returns if the two arguments are roughly equal under certain tolerance 11. greater/less: returns if argument 1 is greater/less than argument 2 12. diff: returns the difference between two arguments 13. filter eq/not eq: returns the subview whose values under the header column is equal/not equal to argument 3 14. filter greater/less: returns the subview whose values under the header column is greater/less than argument 3 15. filter greater eq /less eq: returns the subview whose values under the header column is greater/less or equal than argument 3 16. filter all: returns the view itself for the case of describing the whole table 17. all eq/not eq: returns whether all the values under the header column are equal/not equal to argument 3 18. all greater/less: returns whether all the values under the header column are greater/less than argument 3 19. all greater eq/less eq: returns whether all the values under the header column are greater/less or equal to argument 3 20. most eq/not eq: returns whether most of the values under the header column are equal/not equal to argument 3 21. most greater/less: returns whether most of the values under the header column are greater/less than argument 3 22. most greater eq/less eq: returns whether most of the values under the header column are greater/less or equal to argument 3 -------- Question: and { only { filter_eq { all_rows ; succeeded by ; no successor } } ; eq { hop { filter_eq { all_rows ; succeeded by ; no successor } ; headphone model } ; hp1000 } } = true Answer: select the rows whose succeeded by record fuzzily matches to no successor . there is only one such row in the table . the headphone model record of this unqiue row is hp1000 . Question: eq { count { filter_eq { all_rows ; directed by ; andy cadiff } } ; 3 } = true Answer: select the rows whose directed by record fuzzily matches to andy cadiff . the number of such rows is 3 . Question: eq { count { filter_eq { filter_eq { all_rows ; country ; united states } ; to par ; -6 } } ; 2 } = true Answer:
select the rows whose country record fuzzily matches to united states . among these rows , select the rows whose to par record is equal to 6 . the number of such rows is 2 .
7
NIv2
task110_logic2text_sentence_generation
fs_opt
In this task, you are given commands (in terms of logical operations) to select relevant rows from the given table. Your job is to generate a natural language interpretation of the given command. Here are the definitions of logical operators: 1. count: returns the number of rows in the view 2. only: returns whether there is exactly one row in the view 3. hop: returns the value under the header column of the row 4. and: returns the boolean operation result of two arguments 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column 6. nth max/nth min: returns the n-th max/n-th min of the values under the header column 7. argmax/argmin: returns the row with the max/min value in header column 8. nth argmax/nth argmin: returns the row with the n-th max/min value in header column 9. eq/not eq: returns if the two arguments are equal 10. round eq: returns if the two arguments are roughly equal under certain tolerance 11. greater/less: returns if argument 1 is greater/less than argument 2 12. diff: returns the difference between two arguments 13. filter eq/not eq: returns the subview whose values under the header column is equal/not equal to argument 3 14. filter greater/less: returns the subview whose values under the header column is greater/less than argument 3 15. filter greater eq /less eq: returns the subview whose values under the header column is greater/less or equal than argument 3 16. filter all: returns the view itself for the case of describing the whole table 17. all eq/not eq: returns whether all the values under the header column are equal/not equal to argument 3 18. all greater/less: returns whether all the values under the header column are greater/less than argument 3 19. all greater eq/less eq: returns whether all the values under the header column are greater/less or equal to argument 3 20. most eq/not eq: returns whether most of the values under the header column are equal/not equal to argument 3 21. most greater/less: returns whether most of the values under the header column are greater/less than argument 3 22. most greater eq/less eq: returns whether most of the values under the header column are greater/less or equal to argument 3 Input: Consider Input: less { hop { filter_eq { all_rows ; winning driver ; elio de angelis } ; date } ; hop { filter_eq { all_rows ; winning driver ; niki lauda } ; date } } = true Output: select the rows whose winning driver record fuzzily matches to elio de angelis . take the date record of this row . select the rows whose winning driver record fuzzily matches to niki lauda . take the date record of this row . the first record is less than the second record . Input: Consider Input: less { hop { filter_eq { all_rows ; chassis ; brm p201 } ; year } ; hop { filter_eq { all_rows ; chassis ; hill gh1 } ; year } } = true Output: select the rows whose chassis record fuzzily matches to brm p201 . take the year record of this row . select the rows whose chassis record fuzzily matches to hill gh1 . take the year record of this row . the first record is less than the second record . Input: Consider Input: and { only { filter_eq { all_rows ; club team ; plymouth whalers ( ohl ) } } ; eq { hop { filter_eq { all_rows ; club team ; plymouth whalers ( ohl ) } ; player } ; stefan noesen } } = true
Output: select the rows whose club team record fuzzily matches to plymouth whalers ohl . there is only one such row in the table . the player record of this unqiue row is stefan noesen .
2
NIv2
task110_logic2text_sentence_generation
fs_opt
In this task, you are given commands (in terms of logical operations) to select relevant rows from the given table. Your job is to generate a natural language interpretation of the given command. Here are the definitions of logical operators: 1. count: returns the number of rows in the view 2. only: returns whether there is exactly one row in the view 3. hop: returns the value under the header column of the row 4. and: returns the boolean operation result of two arguments 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column 6. nth max/nth min: returns the n-th max/n-th min of the values under the header column 7. argmax/argmin: returns the row with the max/min value in header column 8. nth argmax/nth argmin: returns the row with the n-th max/min value in header column 9. eq/not eq: returns if the two arguments are equal 10. round eq: returns if the two arguments are roughly equal under certain tolerance 11. greater/less: returns if argument 1 is greater/less than argument 2 12. diff: returns the difference between two arguments 13. filter eq/not eq: returns the subview whose values under the header column is equal/not equal to argument 3 14. filter greater/less: returns the subview whose values under the header column is greater/less than argument 3 15. filter greater eq /less eq: returns the subview whose values under the header column is greater/less or equal than argument 3 16. filter all: returns the view itself for the case of describing the whole table 17. all eq/not eq: returns whether all the values under the header column are equal/not equal to argument 3 18. all greater/less: returns whether all the values under the header column are greater/less than argument 3 19. all greater eq/less eq: returns whether all the values under the header column are greater/less or equal to argument 3 20. most eq/not eq: returns whether most of the values under the header column are equal/not equal to argument 3 21. most greater/less: returns whether most of the values under the header column are greater/less than argument 3 22. most greater eq/less eq: returns whether most of the values under the header column are greater/less or equal to argument 3 Ex Input: eq { count { filter_eq { all_rows ; no of barangays ; 11 } } ; 2 } = true Ex Output: select the rows whose no of barangays record is equal to 11 . the number of such rows is 2 . Ex Input: most_eq { all_rows ; sets lost ; 2 } = true Ex Output: for the sets lost records of all rows , most of them are equal to 2 . Ex Input: eq { count { filter_eq { filter_eq { all_rows ; director ; pamela fryman } ; original air date ; april } } ; 3 } = true Ex Output:
select the rows whose director record fuzzily matches to pamela fryman . among these rows , select the rows whose original air date record fuzzily matches to april . the number of such rows is 3 .
1
NIv2
task110_logic2text_sentence_generation
fs_opt
Teacher: In this task, you are given commands (in terms of logical operations) to select relevant rows from the given table. Your job is to generate a natural language interpretation of the given command. Here are the definitions of logical operators: 1. count: returns the number of rows in the view 2. only: returns whether there is exactly one row in the view 3. hop: returns the value under the header column of the row 4. and: returns the boolean operation result of two arguments 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column 6. nth max/nth min: returns the n-th max/n-th min of the values under the header column 7. argmax/argmin: returns the row with the max/min value in header column 8. nth argmax/nth argmin: returns the row with the n-th max/min value in header column 9. eq/not eq: returns if the two arguments are equal 10. round eq: returns if the two arguments are roughly equal under certain tolerance 11. greater/less: returns if argument 1 is greater/less than argument 2 12. diff: returns the difference between two arguments 13. filter eq/not eq: returns the subview whose values under the header column is equal/not equal to argument 3 14. filter greater/less: returns the subview whose values under the header column is greater/less than argument 3 15. filter greater eq /less eq: returns the subview whose values under the header column is greater/less or equal than argument 3 16. filter all: returns the view itself for the case of describing the whole table 17. all eq/not eq: returns whether all the values under the header column are equal/not equal to argument 3 18. all greater/less: returns whether all the values under the header column are greater/less than argument 3 19. all greater eq/less eq: returns whether all the values under the header column are greater/less or equal to argument 3 20. most eq/not eq: returns whether most of the values under the header column are equal/not equal to argument 3 21. most greater/less: returns whether most of the values under the header column are greater/less than argument 3 22. most greater eq/less eq: returns whether most of the values under the header column are greater/less or equal to argument 3 Teacher: Now, understand the problem? If you are still confused, see the following example: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } = true Solution: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Reason: Here, the generated sentence interprets given logical form correctly that 3rd maximum should be selected from given table rows. Now, solve this instance: eq { hop { argmin { all_rows ; total } ; player } ; seve ballesteros } = true Student:
select the row whose total record of all rows is minimum . the player record of this row is seve ballesteros .
2
NIv2
task110_logic2text_sentence_generation
fs_opt
In this task, you are given commands (in terms of logical operations) to select relevant rows from the given table. Your job is to generate a natural language interpretation of the given command. Here are the definitions of logical operators: 1. count: returns the number of rows in the view 2. only: returns whether there is exactly one row in the view 3. hop: returns the value under the header column of the row 4. and: returns the boolean operation result of two arguments 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column 6. nth max/nth min: returns the n-th max/n-th min of the values under the header column 7. argmax/argmin: returns the row with the max/min value in header column 8. nth argmax/nth argmin: returns the row with the n-th max/min value in header column 9. eq/not eq: returns if the two arguments are equal 10. round eq: returns if the two arguments are roughly equal under certain tolerance 11. greater/less: returns if argument 1 is greater/less than argument 2 12. diff: returns the difference between two arguments 13. filter eq/not eq: returns the subview whose values under the header column is equal/not equal to argument 3 14. filter greater/less: returns the subview whose values under the header column is greater/less than argument 3 15. filter greater eq /less eq: returns the subview whose values under the header column is greater/less or equal than argument 3 16. filter all: returns the view itself for the case of describing the whole table 17. all eq/not eq: returns whether all the values under the header column are equal/not equal to argument 3 18. all greater/less: returns whether all the values under the header column are greater/less than argument 3 19. all greater eq/less eq: returns whether all the values under the header column are greater/less or equal to argument 3 20. most eq/not eq: returns whether most of the values under the header column are equal/not equal to argument 3 21. most greater/less: returns whether most of the values under the header column are greater/less than argument 3 22. most greater eq/less eq: returns whether most of the values under the header column are greater/less or equal to argument 3 -------- Question: round_eq { avg { all_rows ; prize } ; 3137419 } = true Answer: the average of the prize record of all rows is 3137419 . Question: eq { hop { nth_argmin { all_rows ; year ; 8 } ; silver } ; dana brozkova } = true Answer: select the row whose year record of all rows is 8th minimum . the silver record of this row is dana brozkova . Question: eq { count { filter_eq { filter_less { all_rows ; year completed ; 2000 } ; floors ( stories ) ; 12 } } ; 2 } = true Answer:
select the rows whose year completed record is less than 2000 . among these rows , select the rows whose floors stories record is equal to 12 . the number of such rows is 2 .
7
NIv2
task110_logic2text_sentence_generation
fs_opt
In this task, you are given commands (in terms of logical operations) to select relevant rows from the given table. Your job is to generate a natural language interpretation of the given command. Here are the definitions of logical operators: 1. count: returns the number of rows in the view 2. only: returns whether there is exactly one row in the view 3. hop: returns the value under the header column of the row 4. and: returns the boolean operation result of two arguments 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column 6. nth max/nth min: returns the n-th max/n-th min of the values under the header column 7. argmax/argmin: returns the row with the max/min value in header column 8. nth argmax/nth argmin: returns the row with the n-th max/min value in header column 9. eq/not eq: returns if the two arguments are equal 10. round eq: returns if the two arguments are roughly equal under certain tolerance 11. greater/less: returns if argument 1 is greater/less than argument 2 12. diff: returns the difference between two arguments 13. filter eq/not eq: returns the subview whose values under the header column is equal/not equal to argument 3 14. filter greater/less: returns the subview whose values under the header column is greater/less than argument 3 15. filter greater eq /less eq: returns the subview whose values under the header column is greater/less or equal than argument 3 16. filter all: returns the view itself for the case of describing the whole table 17. all eq/not eq: returns whether all the values under the header column are equal/not equal to argument 3 18. all greater/less: returns whether all the values under the header column are greater/less than argument 3 19. all greater eq/less eq: returns whether all the values under the header column are greater/less or equal to argument 3 20. most eq/not eq: returns whether most of the values under the header column are equal/not equal to argument 3 21. most greater/less: returns whether most of the values under the header column are greater/less than argument 3 22. most greater eq/less eq: returns whether most of the values under the header column are greater/less or equal to argument 3 Let me give you an example: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } = true The answer to this example can be: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Here is why: Here, the generated sentence interprets given logical form correctly that 3rd maximum should be selected from given table rows. OK. solve this: less { hop { filter_eq { all_rows ; model / engine ; 1.8 duratec he } ; capacity } ; hop { filter_eq { all_rows ; model / engine ; 2.0 duratec he } ; capacity } } = true Answer:
select the rows whose model engine record fuzzily matches to 1.8 duratec he . take the capacity record of this row . select the rows whose model engine record fuzzily matches to 2.0 duratec he . take the capacity record of this row . the first record is less than the second record .
8
NIv2
task110_logic2text_sentence_generation
fs_opt
In this task, you are given commands (in terms of logical operations) to select relevant rows from the given table. Your job is to generate a natural language interpretation of the given command. Here are the definitions of logical operators: 1. count: returns the number of rows in the view 2. only: returns whether there is exactly one row in the view 3. hop: returns the value under the header column of the row 4. and: returns the boolean operation result of two arguments 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column 6. nth max/nth min: returns the n-th max/n-th min of the values under the header column 7. argmax/argmin: returns the row with the max/min value in header column 8. nth argmax/nth argmin: returns the row with the n-th max/min value in header column 9. eq/not eq: returns if the two arguments are equal 10. round eq: returns if the two arguments are roughly equal under certain tolerance 11. greater/less: returns if argument 1 is greater/less than argument 2 12. diff: returns the difference between two arguments 13. filter eq/not eq: returns the subview whose values under the header column is equal/not equal to argument 3 14. filter greater/less: returns the subview whose values under the header column is greater/less than argument 3 15. filter greater eq /less eq: returns the subview whose values under the header column is greater/less or equal than argument 3 16. filter all: returns the view itself for the case of describing the whole table 17. all eq/not eq: returns whether all the values under the header column are equal/not equal to argument 3 18. all greater/less: returns whether all the values under the header column are greater/less than argument 3 19. all greater eq/less eq: returns whether all the values under the header column are greater/less or equal to argument 3 20. most eq/not eq: returns whether most of the values under the header column are equal/not equal to argument 3 21. most greater/less: returns whether most of the values under the header column are greater/less than argument 3 22. most greater eq/less eq: returns whether most of the values under the header column are greater/less or equal to argument 3 [EX Q]: most_eq { all_rows ; res ; win } = true [EX A]: for the res records of all rows , most of them fuzzily match to win . [EX Q]: most_eq { all_rows ; high rebounds ; kevin love } = true [EX A]: for the high rebounds records of all rows , most of them fuzzily match to kevin love . [EX Q]: and { only { filter_eq { all_rows ; wins ; 10 } } ; eq { hop { filter_eq { all_rows ; wins ; 10 } ; club } ; east bengal club } } = true [EX A]:
select the rows whose wins record is equal to 10 . there is only one such row in the table . the club record of this unqiue row is east bengal club .
6
NIv2
task110_logic2text_sentence_generation
fs_opt
TASK DEFINITION: In this task, you are given commands (in terms of logical operations) to select relevant rows from the given table. Your job is to generate a natural language interpretation of the given command. Here are the definitions of logical operators: 1. count: returns the number of rows in the view 2. only: returns whether there is exactly one row in the view 3. hop: returns the value under the header column of the row 4. and: returns the boolean operation result of two arguments 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column 6. nth max/nth min: returns the n-th max/n-th min of the values under the header column 7. argmax/argmin: returns the row with the max/min value in header column 8. nth argmax/nth argmin: returns the row with the n-th max/min value in header column 9. eq/not eq: returns if the two arguments are equal 10. round eq: returns if the two arguments are roughly equal under certain tolerance 11. greater/less: returns if argument 1 is greater/less than argument 2 12. diff: returns the difference between two arguments 13. filter eq/not eq: returns the subview whose values under the header column is equal/not equal to argument 3 14. filter greater/less: returns the subview whose values under the header column is greater/less than argument 3 15. filter greater eq /less eq: returns the subview whose values under the header column is greater/less or equal than argument 3 16. filter all: returns the view itself for the case of describing the whole table 17. all eq/not eq: returns whether all the values under the header column are equal/not equal to argument 3 18. all greater/less: returns whether all the values under the header column are greater/less than argument 3 19. all greater eq/less eq: returns whether all the values under the header column are greater/less or equal to argument 3 20. most eq/not eq: returns whether most of the values under the header column are equal/not equal to argument 3 21. most greater/less: returns whether most of the values under the header column are greater/less than argument 3 22. most greater eq/less eq: returns whether most of the values under the header column are greater/less or equal to argument 3 PROBLEM: eq { count { filter_eq { all_rows ; party ; democratic } } ; 4 } = true SOLUTION: select the rows whose party record fuzzily matches to democratic . the number of such rows is 4 . PROBLEM: most_eq { all_rows ; played ; 22 } = true SOLUTION: for the played records of all rows , most of them are equal to 22 . PROBLEM: round_eq { avg { all_rows ; gold } ; 2.86 } = true SOLUTION:
the average of the gold record of all rows is 2.86 .
8
NIv2
task110_logic2text_sentence_generation
fs_opt
In this task, you are given commands (in terms of logical operations) to select relevant rows from the given table. Your job is to generate a natural language interpretation of the given command. Here are the definitions of logical operators: 1. count: returns the number of rows in the view 2. only: returns whether there is exactly one row in the view 3. hop: returns the value under the header column of the row 4. and: returns the boolean operation result of two arguments 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column 6. nth max/nth min: returns the n-th max/n-th min of the values under the header column 7. argmax/argmin: returns the row with the max/min value in header column 8. nth argmax/nth argmin: returns the row with the n-th max/min value in header column 9. eq/not eq: returns if the two arguments are equal 10. round eq: returns if the two arguments are roughly equal under certain tolerance 11. greater/less: returns if argument 1 is greater/less than argument 2 12. diff: returns the difference between two arguments 13. filter eq/not eq: returns the subview whose values under the header column is equal/not equal to argument 3 14. filter greater/less: returns the subview whose values under the header column is greater/less than argument 3 15. filter greater eq /less eq: returns the subview whose values under the header column is greater/less or equal than argument 3 16. filter all: returns the view itself for the case of describing the whole table 17. all eq/not eq: returns whether all the values under the header column are equal/not equal to argument 3 18. all greater/less: returns whether all the values under the header column are greater/less than argument 3 19. all greater eq/less eq: returns whether all the values under the header column are greater/less or equal to argument 3 20. most eq/not eq: returns whether most of the values under the header column are equal/not equal to argument 3 21. most greater/less: returns whether most of the values under the header column are greater/less than argument 3 22. most greater eq/less eq: returns whether most of the values under the header column are greater/less or equal to argument 3 Input: Consider Input: most_greater_eq { all_rows ; monounsaturated fat ; 20 g } = true Output: for the monounsaturated fat records of all rows , most of them are greater than or equal to 20 g . Input: Consider Input: eq { hop { nth_argmin { all_rows ; opened ( closing date if defunct ) ; 2 } ; track } ; indianapolis speedrome } = true Output: 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 . Input: Consider Input: eq { hop { nth_argmax { all_rows ; date ; 2 } ; tournament } ; cincinnati , united states } = true
Output: select the row whose date record of all rows is 2nd maximum . the tournament record of this row is cincinnati , united states .
2
NIv2
task110_logic2text_sentence_generation
fs_opt
In this task, you are given commands (in terms of logical operations) to select relevant rows from the given table. Your job is to generate a natural language interpretation of the given command. Here are the definitions of logical operators: 1. count: returns the number of rows in the view 2. only: returns whether there is exactly one row in the view 3. hop: returns the value under the header column of the row 4. and: returns the boolean operation result of two arguments 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column 6. nth max/nth min: returns the n-th max/n-th min of the values under the header column 7. argmax/argmin: returns the row with the max/min value in header column 8. nth argmax/nth argmin: returns the row with the n-th max/min value in header column 9. eq/not eq: returns if the two arguments are equal 10. round eq: returns if the two arguments are roughly equal under certain tolerance 11. greater/less: returns if argument 1 is greater/less than argument 2 12. diff: returns the difference between two arguments 13. filter eq/not eq: returns the subview whose values under the header column is equal/not equal to argument 3 14. filter greater/less: returns the subview whose values under the header column is greater/less than argument 3 15. filter greater eq /less eq: returns the subview whose values under the header column is greater/less or equal than argument 3 16. filter all: returns the view itself for the case of describing the whole table 17. all eq/not eq: returns whether all the values under the header column are equal/not equal to argument 3 18. all greater/less: returns whether all the values under the header column are greater/less than argument 3 19. all greater eq/less eq: returns whether all the values under the header column are greater/less or equal to argument 3 20. most eq/not eq: returns whether most of the values under the header column are equal/not equal to argument 3 21. most greater/less: returns whether most of the values under the header column are greater/less than argument 3 22. most greater eq/less eq: returns whether most of the values under the header column are greater/less or equal to argument 3 [EX Q]: round_eq { sum { all_rows ; t20 matches } ; 15 } = true [EX A]: the sum of the t20 matches record of all rows is 15 . [EX Q]: greater { hop { filter_eq { all_rows ; airport ; tenerife sur } ; 2012 } ; hop { filter_eq { all_rows ; airport ; kotoka international airport } ; 2012 } } = true [EX A]: select the rows whose airport record fuzzily matches to tenerife sur . take the 2012 record of this row . select the rows whose airport record fuzzily matches to kotoka international airport . take the 2012 record of this row . the first record is greater than the second record . [EX Q]: eq { count { filter_eq { all_rows ; 2nd place team ; nitehawks } } ; 2 } = true [EX A]:
select the rows whose 2nd place team record fuzzily matches to nitehawks . the number of such rows is 2 .
6
NIv2
task110_logic2text_sentence_generation
fs_opt
In this task, you are given commands (in terms of logical operations) to select relevant rows from the given table. Your job is to generate a natural language interpretation of the given command. Here are the definitions of logical operators: 1. count: returns the number of rows in the view 2. only: returns whether there is exactly one row in the view 3. hop: returns the value under the header column of the row 4. and: returns the boolean operation result of two arguments 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column 6. nth max/nth min: returns the n-th max/n-th min of the values under the header column 7. argmax/argmin: returns the row with the max/min value in header column 8. nth argmax/nth argmin: returns the row with the n-th max/min value in header column 9. eq/not eq: returns if the two arguments are equal 10. round eq: returns if the two arguments are roughly equal under certain tolerance 11. greater/less: returns if argument 1 is greater/less than argument 2 12. diff: returns the difference between two arguments 13. filter eq/not eq: returns the subview whose values under the header column is equal/not equal to argument 3 14. filter greater/less: returns the subview whose values under the header column is greater/less than argument 3 15. filter greater eq /less eq: returns the subview whose values under the header column is greater/less or equal than argument 3 16. filter all: returns the view itself for the case of describing the whole table 17. all eq/not eq: returns whether all the values under the header column are equal/not equal to argument 3 18. all greater/less: returns whether all the values under the header column are greater/less than argument 3 19. all greater eq/less eq: returns whether all the values under the header column are greater/less or equal to argument 3 20. most eq/not eq: returns whether most of the values under the header column are equal/not equal to argument 3 21. most greater/less: returns whether most of the values under the header column are greater/less than argument 3 22. most greater eq/less eq: returns whether most of the values under the header column are greater/less or equal to argument 3 Input: Consider Input: eq { count { filter_eq { all_rows ; year joined ; 1953 } } ; 4 } = true Output: select the rows whose year joined record is equal to 1953 . the number of such rows is 4 . Input: Consider Input: round_eq { avg { all_rows ; high points } ; 29.5 } = true Output: the average of the high points record of all rows is 29.5 . Input: Consider Input: less { hop { filter_eq { all_rows ; region ; japan } ; date } ; hop { filter_eq { all_rows ; region ; united kingdom } ; date } } = true
Output: 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 .
2
NIv2
task110_logic2text_sentence_generation
fs_opt
In this task, you are given commands (in terms of logical operations) to select relevant rows from the given table. Your job is to generate a natural language interpretation of the given command. Here are the definitions of logical operators: 1. count: returns the number of rows in the view 2. only: returns whether there is exactly one row in the view 3. hop: returns the value under the header column of the row 4. and: returns the boolean operation result of two arguments 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column 6. nth max/nth min: returns the n-th max/n-th min of the values under the header column 7. argmax/argmin: returns the row with the max/min value in header column 8. nth argmax/nth argmin: returns the row with the n-th max/min value in header column 9. eq/not eq: returns if the two arguments are equal 10. round eq: returns if the two arguments are roughly equal under certain tolerance 11. greater/less: returns if argument 1 is greater/less than argument 2 12. diff: returns the difference between two arguments 13. filter eq/not eq: returns the subview whose values under the header column is equal/not equal to argument 3 14. filter greater/less: returns the subview whose values under the header column is greater/less than argument 3 15. filter greater eq /less eq: returns the subview whose values under the header column is greater/less or equal than argument 3 16. filter all: returns the view itself for the case of describing the whole table 17. all eq/not eq: returns whether all the values under the header column are equal/not equal to argument 3 18. all greater/less: returns whether all the values under the header column are greater/less than argument 3 19. all greater eq/less eq: returns whether all the values under the header column are greater/less or equal to argument 3 20. most eq/not eq: returns whether most of the values under the header column are equal/not equal to argument 3 21. most greater/less: returns whether most of the values under the header column are greater/less than argument 3 22. most greater eq/less eq: returns whether most of the values under the header column are greater/less or equal to argument 3 Input: Consider Input: eq { count { filter_all { all_rows ; club } } ; 20 } = true Output: select the rows whose club record is arbitrary . the number of such rows is 20 . Input: Consider Input: eq { hop { argmin { filter_eq { all_rows ; opponents ; palamós } ; kick off } ; referee } ; daudén ibáñez } = true Output: select the rows whose opponents record fuzzily matches to palamós . select the row whose kick off record of these rows is minimum . the referee record of this row is daudén ibáñez . Input: Consider Input: all_eq { all_rows ; region ; colorado } = true
Output: for the region records of all rows , all of them fuzzily match to colorado .
2
NIv2
task110_logic2text_sentence_generation
fs_opt
instruction: In this task, you are given commands (in terms of logical operations) to select relevant rows from the given table. Your job is to generate a natural language interpretation of the given command. Here are the definitions of logical operators: 1. count: returns the number of rows in the view 2. only: returns whether there is exactly one row in the view 3. hop: returns the value under the header column of the row 4. and: returns the boolean operation result of two arguments 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column 6. nth max/nth min: returns the n-th max/n-th min of the values under the header column 7. argmax/argmin: returns the row with the max/min value in header column 8. nth argmax/nth argmin: returns the row with the n-th max/min value in header column 9. eq/not eq: returns if the two arguments are equal 10. round eq: returns if the two arguments are roughly equal under certain tolerance 11. greater/less: returns if argument 1 is greater/less than argument 2 12. diff: returns the difference between two arguments 13. filter eq/not eq: returns the subview whose values under the header column is equal/not equal to argument 3 14. filter greater/less: returns the subview whose values under the header column is greater/less than argument 3 15. filter greater eq /less eq: returns the subview whose values under the header column is greater/less or equal than argument 3 16. filter all: returns the view itself for the case of describing the whole table 17. all eq/not eq: returns whether all the values under the header column are equal/not equal to argument 3 18. all greater/less: returns whether all the values under the header column are greater/less than argument 3 19. all greater eq/less eq: returns whether all the values under the header column are greater/less or equal to argument 3 20. most eq/not eq: returns whether most of the values under the header column are equal/not equal to argument 3 21. most greater/less: returns whether most of the values under the header column are greater/less than argument 3 22. most greater eq/less eq: returns whether most of the values under the header column are greater/less or equal to argument 3 question: eq { count { filter_eq { filter_eq { all_rows ; competition ; 1997 korea cup } ; score ; 1 goal } } ; 2 } = true answer: 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 . question: eq { count { filter_eq { all_rows ; general classification ; nick nuyens } } ; 5 } = true answer: select the rows whose general classification record fuzzily matches to nick nuyens . the number of such rows is 5 . question: less { hop { filter_eq { all_rows ; opponent ; jason st louis } ; time } ; hop { filter_eq { all_rows ; opponent ; mike swick } ; time } } = true answer:
select the rows whose opponent record fuzzily matches to jason st louis . take the time record of this row . select the rows whose opponent record fuzzily matches to mike swick . take the time record of this row . the first record is less than the second record .
9
NIv2
task110_logic2text_sentence_generation
fs_opt
In this task, you are given commands (in terms of logical operations) to select relevant rows from the given table. Your job is to generate a natural language interpretation of the given command. Here are the definitions of logical operators: 1. count: returns the number of rows in the view 2. only: returns whether there is exactly one row in the view 3. hop: returns the value under the header column of the row 4. and: returns the boolean operation result of two arguments 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column 6. nth max/nth min: returns the n-th max/n-th min of the values under the header column 7. argmax/argmin: returns the row with the max/min value in header column 8. nth argmax/nth argmin: returns the row with the n-th max/min value in header column 9. eq/not eq: returns if the two arguments are equal 10. round eq: returns if the two arguments are roughly equal under certain tolerance 11. greater/less: returns if argument 1 is greater/less than argument 2 12. diff: returns the difference between two arguments 13. filter eq/not eq: returns the subview whose values under the header column is equal/not equal to argument 3 14. filter greater/less: returns the subview whose values under the header column is greater/less than argument 3 15. filter greater eq /less eq: returns the subview whose values under the header column is greater/less or equal than argument 3 16. filter all: returns the view itself for the case of describing the whole table 17. all eq/not eq: returns whether all the values under the header column are equal/not equal to argument 3 18. all greater/less: returns whether all the values under the header column are greater/less than argument 3 19. all greater eq/less eq: returns whether all the values under the header column are greater/less or equal to argument 3 20. most eq/not eq: returns whether most of the values under the header column are equal/not equal to argument 3 21. most greater/less: returns whether most of the values under the header column are greater/less than argument 3 22. most greater eq/less eq: returns whether most of the values under the header column are greater/less or equal to argument 3 Let me give you an example: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } = true The answer to this example can be: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Here is why: Here, the generated sentence interprets given logical form correctly that 3rd maximum should be selected from given table rows. OK. solve this: eq { hop { argmax { all_rows ; sales } ; title } ; m } = true Answer:
select the row whose sales record of all rows is maximum . the title record of this row is m .
8
NIv2
task110_logic2text_sentence_generation
fs_opt
Teacher: In this task, you are given commands (in terms of logical operations) to select relevant rows from the given table. Your job is to generate a natural language interpretation of the given command. Here are the definitions of logical operators: 1. count: returns the number of rows in the view 2. only: returns whether there is exactly one row in the view 3. hop: returns the value under the header column of the row 4. and: returns the boolean operation result of two arguments 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column 6. nth max/nth min: returns the n-th max/n-th min of the values under the header column 7. argmax/argmin: returns the row with the max/min value in header column 8. nth argmax/nth argmin: returns the row with the n-th max/min value in header column 9. eq/not eq: returns if the two arguments are equal 10. round eq: returns if the two arguments are roughly equal under certain tolerance 11. greater/less: returns if argument 1 is greater/less than argument 2 12. diff: returns the difference between two arguments 13. filter eq/not eq: returns the subview whose values under the header column is equal/not equal to argument 3 14. filter greater/less: returns the subview whose values under the header column is greater/less than argument 3 15. filter greater eq /less eq: returns the subview whose values under the header column is greater/less or equal than argument 3 16. filter all: returns the view itself for the case of describing the whole table 17. all eq/not eq: returns whether all the values under the header column are equal/not equal to argument 3 18. all greater/less: returns whether all the values under the header column are greater/less than argument 3 19. all greater eq/less eq: returns whether all the values under the header column are greater/less or equal to argument 3 20. most eq/not eq: returns whether most of the values under the header column are equal/not equal to argument 3 21. most greater/less: returns whether most of the values under the header column are greater/less than argument 3 22. most greater eq/less eq: returns whether most of the values under the header column are greater/less or equal to argument 3 Teacher: Now, understand the problem? If you are still confused, see the following example: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } = true Solution: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Reason: Here, the generated sentence interprets given logical form correctly that 3rd maximum should be selected from given table rows. Now, solve this instance: eq { hop { nth_argmin { all_rows ; time ; 5 } ; athlete } ; craig virgin } = true Student:
select the row whose time record of all rows is 5th minimum . the athlete record of this row is craig virgin .
2
NIv2
task110_logic2text_sentence_generation
fs_opt
In this task, you are given commands (in terms of logical operations) to select relevant rows from the given table. Your job is to generate a natural language interpretation of the given command. Here are the definitions of logical operators: 1. count: returns the number of rows in the view 2. only: returns whether there is exactly one row in the view 3. hop: returns the value under the header column of the row 4. and: returns the boolean operation result of two arguments 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column 6. nth max/nth min: returns the n-th max/n-th min of the values under the header column 7. argmax/argmin: returns the row with the max/min value in header column 8. nth argmax/nth argmin: returns the row with the n-th max/min value in header column 9. eq/not eq: returns if the two arguments are equal 10. round eq: returns if the two arguments are roughly equal under certain tolerance 11. greater/less: returns if argument 1 is greater/less than argument 2 12. diff: returns the difference between two arguments 13. filter eq/not eq: returns the subview whose values under the header column is equal/not equal to argument 3 14. filter greater/less: returns the subview whose values under the header column is greater/less than argument 3 15. filter greater eq /less eq: returns the subview whose values under the header column is greater/less or equal than argument 3 16. filter all: returns the view itself for the case of describing the whole table 17. all eq/not eq: returns whether all the values under the header column are equal/not equal to argument 3 18. all greater/less: returns whether all the values under the header column are greater/less than argument 3 19. all greater eq/less eq: returns whether all the values under the header column are greater/less or equal to argument 3 20. most eq/not eq: returns whether most of the values under the header column are equal/not equal to argument 3 21. most greater/less: returns whether most of the values under the header column are greater/less than argument 3 22. most greater eq/less eq: returns whether most of the values under the header column are greater/less or equal to argument 3 Let me give you an example: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } = true The answer to this example can be: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Here is why: Here, the generated sentence interprets given logical form correctly that 3rd maximum should be selected from given table rows. OK. solve this: eq { count { filter_greater { all_rows ; floors ; 30 } } ; 3 } = true Answer:
select the rows whose floors record is greater than 30 . the number of such rows is 3 .
8
NIv2
task110_logic2text_sentence_generation
fs_opt
Detailed Instructions: In this task, you are given commands (in terms of logical operations) to select relevant rows from the given table. Your job is to generate a natural language interpretation of the given command. Here are the definitions of logical operators: 1. count: returns the number of rows in the view 2. only: returns whether there is exactly one row in the view 3. hop: returns the value under the header column of the row 4. and: returns the boolean operation result of two arguments 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column 6. nth max/nth min: returns the n-th max/n-th min of the values under the header column 7. argmax/argmin: returns the row with the max/min value in header column 8. nth argmax/nth argmin: returns the row with the n-th max/min value in header column 9. eq/not eq: returns if the two arguments are equal 10. round eq: returns if the two arguments are roughly equal under certain tolerance 11. greater/less: returns if argument 1 is greater/less than argument 2 12. diff: returns the difference between two arguments 13. filter eq/not eq: returns the subview whose values under the header column is equal/not equal to argument 3 14. filter greater/less: returns the subview whose values under the header column is greater/less than argument 3 15. filter greater eq /less eq: returns the subview whose values under the header column is greater/less or equal than argument 3 16. filter all: returns the view itself for the case of describing the whole table 17. all eq/not eq: returns whether all the values under the header column are equal/not equal to argument 3 18. all greater/less: returns whether all the values under the header column are greater/less than argument 3 19. all greater eq/less eq: returns whether all the values under the header column are greater/less or equal to argument 3 20. most eq/not eq: returns whether most of the values under the header column are equal/not equal to argument 3 21. most greater/less: returns whether most of the values under the header column are greater/less than argument 3 22. most greater eq/less eq: returns whether most of the values under the header column are greater/less or equal to argument 3 See one example below: Problem: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } = true Solution: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Explanation: Here, the generated sentence interprets given logical form correctly that 3rd maximum should be selected from given table rows. Problem: eq { hop { nth_argmin { all_rows ; time ; 3 } ; country } ; united states } = true Solution:
select the row whose time record of all rows is 3rd minimum . the country record of this row is united states .
4
NIv2
task110_logic2text_sentence_generation
fs_opt
In this task, you are given commands (in terms of logical operations) to select relevant rows from the given table. Your job is to generate a natural language interpretation of the given command. Here are the definitions of logical operators: 1. count: returns the number of rows in the view 2. only: returns whether there is exactly one row in the view 3. hop: returns the value under the header column of the row 4. and: returns the boolean operation result of two arguments 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column 6. nth max/nth min: returns the n-th max/n-th min of the values under the header column 7. argmax/argmin: returns the row with the max/min value in header column 8. nth argmax/nth argmin: returns the row with the n-th max/min value in header column 9. eq/not eq: returns if the two arguments are equal 10. round eq: returns if the two arguments are roughly equal under certain tolerance 11. greater/less: returns if argument 1 is greater/less than argument 2 12. diff: returns the difference between two arguments 13. filter eq/not eq: returns the subview whose values under the header column is equal/not equal to argument 3 14. filter greater/less: returns the subview whose values under the header column is greater/less than argument 3 15. filter greater eq /less eq: returns the subview whose values under the header column is greater/less or equal than argument 3 16. filter all: returns the view itself for the case of describing the whole table 17. all eq/not eq: returns whether all the values under the header column are equal/not equal to argument 3 18. all greater/less: returns whether all the values under the header column are greater/less than argument 3 19. all greater eq/less eq: returns whether all the values under the header column are greater/less or equal to argument 3 20. most eq/not eq: returns whether most of the values under the header column are equal/not equal to argument 3 21. most greater/less: returns whether most of the values under the header column are greater/less than argument 3 22. most greater eq/less eq: returns whether most of the values under the header column are greater/less or equal to argument 3 Example input: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } = true Example output: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Example explanation: Here, the generated sentence interprets given logical form correctly that 3rd maximum should be selected from given table rows. Q: only { filter_eq { filter_eq { all_rows ; opponent ; arizona } ; result ; ot } } = true A:
select the rows whose opponent record fuzzily matches to arizona . among these rows , select the rows whose result record fuzzily matches to ot . there is only one such row in the table .
3
NIv2
task110_logic2text_sentence_generation
fs_opt
Teacher: In this task, you are given commands (in terms of logical operations) to select relevant rows from the given table. Your job is to generate a natural language interpretation of the given command. Here are the definitions of logical operators: 1. count: returns the number of rows in the view 2. only: returns whether there is exactly one row in the view 3. hop: returns the value under the header column of the row 4. and: returns the boolean operation result of two arguments 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column 6. nth max/nth min: returns the n-th max/n-th min of the values under the header column 7. argmax/argmin: returns the row with the max/min value in header column 8. nth argmax/nth argmin: returns the row with the n-th max/min value in header column 9. eq/not eq: returns if the two arguments are equal 10. round eq: returns if the two arguments are roughly equal under certain tolerance 11. greater/less: returns if argument 1 is greater/less than argument 2 12. diff: returns the difference between two arguments 13. filter eq/not eq: returns the subview whose values under the header column is equal/not equal to argument 3 14. filter greater/less: returns the subview whose values under the header column is greater/less than argument 3 15. filter greater eq /less eq: returns the subview whose values under the header column is greater/less or equal than argument 3 16. filter all: returns the view itself for the case of describing the whole table 17. all eq/not eq: returns whether all the values under the header column are equal/not equal to argument 3 18. all greater/less: returns whether all the values under the header column are greater/less than argument 3 19. all greater eq/less eq: returns whether all the values under the header column are greater/less or equal to argument 3 20. most eq/not eq: returns whether most of the values under the header column are equal/not equal to argument 3 21. most greater/less: returns whether most of the values under the header column are greater/less than argument 3 22. most greater eq/less eq: returns whether most of the values under the header column are greater/less or equal to argument 3 Teacher: Now, understand the problem? If you are still confused, see the following example: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } = true Solution: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Reason: Here, the generated sentence interprets given logical form correctly that 3rd maximum should be selected from given table rows. Now, solve this instance: round_eq { avg { all_rows ; away team score } ; 14.2 } = true Student:
the average of the away team score record of all rows is 14.2 .
2
NIv2
task110_logic2text_sentence_generation
fs_opt
In this task, you are given commands (in terms of logical operations) to select relevant rows from the given table. Your job is to generate a natural language interpretation of the given command. Here are the definitions of logical operators: 1. count: returns the number of rows in the view 2. only: returns whether there is exactly one row in the view 3. hop: returns the value under the header column of the row 4. and: returns the boolean operation result of two arguments 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column 6. nth max/nth min: returns the n-th max/n-th min of the values under the header column 7. argmax/argmin: returns the row with the max/min value in header column 8. nth argmax/nth argmin: returns the row with the n-th max/min value in header column 9. eq/not eq: returns if the two arguments are equal 10. round eq: returns if the two arguments are roughly equal under certain tolerance 11. greater/less: returns if argument 1 is greater/less than argument 2 12. diff: returns the difference between two arguments 13. filter eq/not eq: returns the subview whose values under the header column is equal/not equal to argument 3 14. filter greater/less: returns the subview whose values under the header column is greater/less than argument 3 15. filter greater eq /less eq: returns the subview whose values under the header column is greater/less or equal than argument 3 16. filter all: returns the view itself for the case of describing the whole table 17. all eq/not eq: returns whether all the values under the header column are equal/not equal to argument 3 18. all greater/less: returns whether all the values under the header column are greater/less than argument 3 19. all greater eq/less eq: returns whether all the values under the header column are greater/less or equal to argument 3 20. most eq/not eq: returns whether most of the values under the header column are equal/not equal to argument 3 21. most greater/less: returns whether most of the values under the header column are greater/less than argument 3 22. most greater eq/less eq: returns whether most of the values under the header column are greater/less or equal to argument 3 [Q]: eq { count { filter_eq { filter_eq { all_rows ; outcome ; winner } ; surface ; clay } } ; 4 } = true [A]: select the rows whose outcome record fuzzily matches to winner . among these rows , select the rows whose surface record fuzzily matches to clay . the number of such rows is 4 . [Q]: most_eq { all_rows ; socket ; lga 1156 } = true [A]: for the socket records of all rows , most of them fuzzily match to lga 1156 . [Q]: and { only { filter_greater { filter_eq { all_rows ; position ; running back } ; overall ; 100th } } ; eq { hop { filter_greater { filter_eq { all_rows ; position ; running back } ; overall ; 100th } ; name } ; david tolomu } } = true [A]:
select the rows whose position record fuzzily matches to running back . among these rows , select the rows whose overall record is greater than 100th . there is only one such row in the table . the name record of this unqiue row is david tolomu .
5
NIv2
task110_logic2text_sentence_generation
fs_opt
In this task, you are given commands (in terms of logical operations) to select relevant rows from the given table. Your job is to generate a natural language interpretation of the given command. Here are the definitions of logical operators: 1. count: returns the number of rows in the view 2. only: returns whether there is exactly one row in the view 3. hop: returns the value under the header column of the row 4. and: returns the boolean operation result of two arguments 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column 6. nth max/nth min: returns the n-th max/n-th min of the values under the header column 7. argmax/argmin: returns the row with the max/min value in header column 8. nth argmax/nth argmin: returns the row with the n-th max/min value in header column 9. eq/not eq: returns if the two arguments are equal 10. round eq: returns if the two arguments are roughly equal under certain tolerance 11. greater/less: returns if argument 1 is greater/less than argument 2 12. diff: returns the difference between two arguments 13. filter eq/not eq: returns the subview whose values under the header column is equal/not equal to argument 3 14. filter greater/less: returns the subview whose values under the header column is greater/less than argument 3 15. filter greater eq /less eq: returns the subview whose values under the header column is greater/less or equal than argument 3 16. filter all: returns the view itself for the case of describing the whole table 17. all eq/not eq: returns whether all the values under the header column are equal/not equal to argument 3 18. all greater/less: returns whether all the values under the header column are greater/less than argument 3 19. all greater eq/less eq: returns whether all the values under the header column are greater/less or equal to argument 3 20. most eq/not eq: returns whether most of the values under the header column are equal/not equal to argument 3 21. most greater/less: returns whether most of the values under the header column are greater/less than argument 3 22. most greater eq/less eq: returns whether most of the values under the header column are greater/less or equal to argument 3 Input: Consider Input: eq { count { filter_eq { all_rows ; 2011 ; 2r } } ; 2 } = true Output: select the rows whose 2011 record fuzzily matches to 2r . the number of such rows is 2 . Input: Consider Input: round_eq { sum { filter_eq { all_rows ; chassis ; ford fiesta } ; points } ; 727 } = true Output: select the rows whose chassis record fuzzily matches to ford fiesta . the sum of the points record of these rows is 727 . Input: Consider Input: eq { count { filter_greater { all_rows ; floors ; 30 } } ; 3 } = true
Output: select the rows whose floors record is greater than 30 . the number of such rows is 3 .
2
NIv2
task110_logic2text_sentence_generation
fs_opt
In this task, you are given commands (in terms of logical operations) to select relevant rows from the given table. Your job is to generate a natural language interpretation of the given command. Here are the definitions of logical operators: 1. count: returns the number of rows in the view 2. only: returns whether there is exactly one row in the view 3. hop: returns the value under the header column of the row 4. and: returns the boolean operation result of two arguments 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column 6. nth max/nth min: returns the n-th max/n-th min of the values under the header column 7. argmax/argmin: returns the row with the max/min value in header column 8. nth argmax/nth argmin: returns the row with the n-th max/min value in header column 9. eq/not eq: returns if the two arguments are equal 10. round eq: returns if the two arguments are roughly equal under certain tolerance 11. greater/less: returns if argument 1 is greater/less than argument 2 12. diff: returns the difference between two arguments 13. filter eq/not eq: returns the subview whose values under the header column is equal/not equal to argument 3 14. filter greater/less: returns the subview whose values under the header column is greater/less than argument 3 15. filter greater eq /less eq: returns the subview whose values under the header column is greater/less or equal than argument 3 16. filter all: returns the view itself for the case of describing the whole table 17. all eq/not eq: returns whether all the values under the header column are equal/not equal to argument 3 18. all greater/less: returns whether all the values under the header column are greater/less than argument 3 19. all greater eq/less eq: returns whether all the values under the header column are greater/less or equal to argument 3 20. most eq/not eq: returns whether most of the values under the header column are equal/not equal to argument 3 21. most greater/less: returns whether most of the values under the header column are greater/less than argument 3 22. most greater eq/less eq: returns whether most of the values under the header column are greater/less or equal to argument 3 [EX Q]: and { only { filter_eq { all_rows ; nationality ; italy } } ; eq { hop { filter_eq { all_rows ; nationality ; italy } ; name } ; federica biscia } } = true [EX A]: select the rows whose nationality record fuzzily matches to italy . there is only one such row in the table . the name record of this unqiue row is federica biscia . [EX Q]: eq { count { filter_eq { filter_eq { all_rows ; competition ; 1997 korea cup } ; score ; 1 goal } } ; 2 } = true [EX A]: 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 . [EX Q]: round_eq { sum { all_rows ; points } ; 66 } = true [EX A]:
the sum of the points record of all rows is 66 .
6
NIv2
task110_logic2text_sentence_generation
fs_opt
Detailed Instructions: In this task, you are given commands (in terms of logical operations) to select relevant rows from the given table. Your job is to generate a natural language interpretation of the given command. Here are the definitions of logical operators: 1. count: returns the number of rows in the view 2. only: returns whether there is exactly one row in the view 3. hop: returns the value under the header column of the row 4. and: returns the boolean operation result of two arguments 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column 6. nth max/nth min: returns the n-th max/n-th min of the values under the header column 7. argmax/argmin: returns the row with the max/min value in header column 8. nth argmax/nth argmin: returns the row with the n-th max/min value in header column 9. eq/not eq: returns if the two arguments are equal 10. round eq: returns if the two arguments are roughly equal under certain tolerance 11. greater/less: returns if argument 1 is greater/less than argument 2 12. diff: returns the difference between two arguments 13. filter eq/not eq: returns the subview whose values under the header column is equal/not equal to argument 3 14. filter greater/less: returns the subview whose values under the header column is greater/less than argument 3 15. filter greater eq /less eq: returns the subview whose values under the header column is greater/less or equal than argument 3 16. filter all: returns the view itself for the case of describing the whole table 17. all eq/not eq: returns whether all the values under the header column are equal/not equal to argument 3 18. all greater/less: returns whether all the values under the header column are greater/less than argument 3 19. all greater eq/less eq: returns whether all the values under the header column are greater/less or equal to argument 3 20. most eq/not eq: returns whether most of the values under the header column are equal/not equal to argument 3 21. most greater/less: returns whether most of the values under the header column are greater/less than argument 3 22. most greater eq/less eq: returns whether most of the values under the header column are greater/less or equal to argument 3 See one example below: Problem: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } = true Solution: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Explanation: Here, the generated sentence interprets given logical form correctly that 3rd maximum should be selected from given table rows. Problem: round_eq { avg { all_rows ; international tourism expenditure 2011 } ; 45-48 billion } = true Solution:
the average of the international tourism expenditure 2011 record of all rows is 4548 billion .
4
NIv2
task110_logic2text_sentence_generation
fs_opt
In this task, you are given commands (in terms of logical operations) to select relevant rows from the given table. Your job is to generate a natural language interpretation of the given command. Here are the definitions of logical operators: 1. count: returns the number of rows in the view 2. only: returns whether there is exactly one row in the view 3. hop: returns the value under the header column of the row 4. and: returns the boolean operation result of two arguments 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column 6. nth max/nth min: returns the n-th max/n-th min of the values under the header column 7. argmax/argmin: returns the row with the max/min value in header column 8. nth argmax/nth argmin: returns the row with the n-th max/min value in header column 9. eq/not eq: returns if the two arguments are equal 10. round eq: returns if the two arguments are roughly equal under certain tolerance 11. greater/less: returns if argument 1 is greater/less than argument 2 12. diff: returns the difference between two arguments 13. filter eq/not eq: returns the subview whose values under the header column is equal/not equal to argument 3 14. filter greater/less: returns the subview whose values under the header column is greater/less than argument 3 15. filter greater eq /less eq: returns the subview whose values under the header column is greater/less or equal than argument 3 16. filter all: returns the view itself for the case of describing the whole table 17. all eq/not eq: returns whether all the values under the header column are equal/not equal to argument 3 18. all greater/less: returns whether all the values under the header column are greater/less than argument 3 19. all greater eq/less eq: returns whether all the values under the header column are greater/less or equal to argument 3 20. most eq/not eq: returns whether most of the values under the header column are equal/not equal to argument 3 21. most greater/less: returns whether most of the values under the header column are greater/less than argument 3 22. most greater eq/less eq: returns whether most of the values under the header column are greater/less or equal to argument 3 Example Input: eq { count { filter_eq { all_rows ; format ; country } } ; 2 } = true Example Output: select the rows whose format record fuzzily matches to country . the number of such rows is 2 . Example Input: eq { hop { nth_argmin { all_rows ; date ; 1 } ; visitor } ; new jersey } = true Example Output: select the row whose date record of all rows is 1st minimum . the visitor record of this row is new jersey . Example Input: eq { diff { hop { filter_eq { all_rows ; name ; northern eagle } ; year } ; hop { filter_eq { all_rows ; name ; northern hawk } ; year } } ; -15 years } = true Example Output:
select the rows whose name record fuzzily matches to northern eagle . take the year record of this row . select the rows whose name record fuzzily matches to northern hawk . take the year record of this row . the second record is 15 years larger than the first record .
3
NIv2
task110_logic2text_sentence_generation
fs_opt
In this task, you are given commands (in terms of logical operations) to select relevant rows from the given table. Your job is to generate a natural language interpretation of the given command. Here are the definitions of logical operators: 1. count: returns the number of rows in the view 2. only: returns whether there is exactly one row in the view 3. hop: returns the value under the header column of the row 4. and: returns the boolean operation result of two arguments 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column 6. nth max/nth min: returns the n-th max/n-th min of the values under the header column 7. argmax/argmin: returns the row with the max/min value in header column 8. nth argmax/nth argmin: returns the row with the n-th max/min value in header column 9. eq/not eq: returns if the two arguments are equal 10. round eq: returns if the two arguments are roughly equal under certain tolerance 11. greater/less: returns if argument 1 is greater/less than argument 2 12. diff: returns the difference between two arguments 13. filter eq/not eq: returns the subview whose values under the header column is equal/not equal to argument 3 14. filter greater/less: returns the subview whose values under the header column is greater/less than argument 3 15. filter greater eq /less eq: returns the subview whose values under the header column is greater/less or equal than argument 3 16. filter all: returns the view itself for the case of describing the whole table 17. all eq/not eq: returns whether all the values under the header column are equal/not equal to argument 3 18. all greater/less: returns whether all the values under the header column are greater/less than argument 3 19. all greater eq/less eq: returns whether all the values under the header column are greater/less or equal to argument 3 20. most eq/not eq: returns whether most of the values under the header column are equal/not equal to argument 3 21. most greater/less: returns whether most of the values under the header column are greater/less than argument 3 22. most greater eq/less eq: returns whether most of the values under the header column are greater/less or equal to argument 3 Q: eq { count { filter_eq { all_rows ; high points ; richard hamilton } } ; 4 } = true A: select the rows whose high points record fuzzily matches to richard hamilton . the number of such rows is 4 . **** Q: eq { hop { argmax { all_rows ; attendance } ; week } ; 6 } = true A: select the row whose attendance record of all rows is maximum . the week record of this row is 6 . **** Q: eq { count { filter_eq { all_rows ; nationality ; united states } } ; 5 } = true A:
select the rows whose nationality record fuzzily matches to united states . the number of such rows is 5 . ****
4
NIv2
task110_logic2text_sentence_generation
fs_opt
In this task, you are given commands (in terms of logical operations) to select relevant rows from the given table. Your job is to generate a natural language interpretation of the given command. Here are the definitions of logical operators: 1. count: returns the number of rows in the view 2. only: returns whether there is exactly one row in the view 3. hop: returns the value under the header column of the row 4. and: returns the boolean operation result of two arguments 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column 6. nth max/nth min: returns the n-th max/n-th min of the values under the header column 7. argmax/argmin: returns the row with the max/min value in header column 8. nth argmax/nth argmin: returns the row with the n-th max/min value in header column 9. eq/not eq: returns if the two arguments are equal 10. round eq: returns if the two arguments are roughly equal under certain tolerance 11. greater/less: returns if argument 1 is greater/less than argument 2 12. diff: returns the difference between two arguments 13. filter eq/not eq: returns the subview whose values under the header column is equal/not equal to argument 3 14. filter greater/less: returns the subview whose values under the header column is greater/less than argument 3 15. filter greater eq /less eq: returns the subview whose values under the header column is greater/less or equal than argument 3 16. filter all: returns the view itself for the case of describing the whole table 17. all eq/not eq: returns whether all the values under the header column are equal/not equal to argument 3 18. all greater/less: returns whether all the values under the header column are greater/less than argument 3 19. all greater eq/less eq: returns whether all the values under the header column are greater/less or equal to argument 3 20. most eq/not eq: returns whether most of the values under the header column are equal/not equal to argument 3 21. most greater/less: returns whether most of the values under the header column are greater/less than argument 3 22. most greater eq/less eq: returns whether most of the values under the header column are greater/less or equal to argument 3 One example: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } = true Solution is here: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Explanation: Here, the generated sentence interprets given logical form correctly that 3rd maximum should be selected from given table rows. Now, solve this: and { eq { hop { argmax { all_rows ; win % } ; played } ; 16 } ; eq { hop { argmax { all_rows ; win % } ; wins } ; 9 } } = true Solution:
select the row whose win record of all rows is maximum . the played record of this row is 16 . the wins record of this row is 9 .
6
NIv2
task110_logic2text_sentence_generation
fs_opt
Teacher: In this task, you are given commands (in terms of logical operations) to select relevant rows from the given table. Your job is to generate a natural language interpretation of the given command. Here are the definitions of logical operators: 1. count: returns the number of rows in the view 2. only: returns whether there is exactly one row in the view 3. hop: returns the value under the header column of the row 4. and: returns the boolean operation result of two arguments 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column 6. nth max/nth min: returns the n-th max/n-th min of the values under the header column 7. argmax/argmin: returns the row with the max/min value in header column 8. nth argmax/nth argmin: returns the row with the n-th max/min value in header column 9. eq/not eq: returns if the two arguments are equal 10. round eq: returns if the two arguments are roughly equal under certain tolerance 11. greater/less: returns if argument 1 is greater/less than argument 2 12. diff: returns the difference between two arguments 13. filter eq/not eq: returns the subview whose values under the header column is equal/not equal to argument 3 14. filter greater/less: returns the subview whose values under the header column is greater/less than argument 3 15. filter greater eq /less eq: returns the subview whose values under the header column is greater/less or equal than argument 3 16. filter all: returns the view itself for the case of describing the whole table 17. all eq/not eq: returns whether all the values under the header column are equal/not equal to argument 3 18. all greater/less: returns whether all the values under the header column are greater/less than argument 3 19. all greater eq/less eq: returns whether all the values under the header column are greater/less or equal to argument 3 20. most eq/not eq: returns whether most of the values under the header column are equal/not equal to argument 3 21. most greater/less: returns whether most of the values under the header column are greater/less than argument 3 22. most greater eq/less eq: returns whether most of the values under the header column are greater/less or equal to argument 3 Teacher: Now, understand the problem? If you are still confused, see the following example: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } = true Solution: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Reason: Here, the generated sentence interprets given logical form correctly that 3rd maximum should be selected from given table rows. Now, solve this instance: eq { hop { nth_argmax { all_rows ; established ; 2 } ; league } ; ahl } = true Student:
select the row whose established record of all rows is 2nd maximum . the league record of this row is ahl .
2
NIv2
task110_logic2text_sentence_generation
fs_opt
In this task, you are given commands (in terms of logical operations) to select relevant rows from the given table. Your job is to generate a natural language interpretation of the given command. Here are the definitions of logical operators: 1. count: returns the number of rows in the view 2. only: returns whether there is exactly one row in the view 3. hop: returns the value under the header column of the row 4. and: returns the boolean operation result of two arguments 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column 6. nth max/nth min: returns the n-th max/n-th min of the values under the header column 7. argmax/argmin: returns the row with the max/min value in header column 8. nth argmax/nth argmin: returns the row with the n-th max/min value in header column 9. eq/not eq: returns if the two arguments are equal 10. round eq: returns if the two arguments are roughly equal under certain tolerance 11. greater/less: returns if argument 1 is greater/less than argument 2 12. diff: returns the difference between two arguments 13. filter eq/not eq: returns the subview whose values under the header column is equal/not equal to argument 3 14. filter greater/less: returns the subview whose values under the header column is greater/less than argument 3 15. filter greater eq /less eq: returns the subview whose values under the header column is greater/less or equal than argument 3 16. filter all: returns the view itself for the case of describing the whole table 17. all eq/not eq: returns whether all the values under the header column are equal/not equal to argument 3 18. all greater/less: returns whether all the values under the header column are greater/less than argument 3 19. all greater eq/less eq: returns whether all the values under the header column are greater/less or equal to argument 3 20. most eq/not eq: returns whether most of the values under the header column are equal/not equal to argument 3 21. most greater/less: returns whether most of the values under the header column are greater/less than argument 3 22. most greater eq/less eq: returns whether most of the values under the header column are greater/less or equal to argument 3 Input: Consider Input: eq { hop { nth_argmin { all_rows ; event ; 3 } ; circuit } ; wakefield park } = true Output: select the row whose event record of all rows is 3rd minimum . the circuit record of this row is wakefield park . Input: Consider Input: round_eq { sum { filter_eq { all_rows ; chassis ; ford fiesta } ; points } ; 727 } = true Output: select the rows whose chassis record fuzzily matches to ford fiesta . the sum of the points record of these rows is 727 . Input: Consider Input: eq { count { filter_eq { all_rows ; titles ; 1 } } ; 2 } = true
Output: select the rows whose titles record is equal to 1 . the number of such rows is 2 .
2
NIv2
task110_logic2text_sentence_generation
fs_opt
Given the task definition, example input & output, solve the new input case. In this task, you are given commands (in terms of logical operations) to select relevant rows from the given table. Your job is to generate a natural language interpretation of the given command. Here are the definitions of logical operators: 1. count: returns the number of rows in the view 2. only: returns whether there is exactly one row in the view 3. hop: returns the value under the header column of the row 4. and: returns the boolean operation result of two arguments 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column 6. nth max/nth min: returns the n-th max/n-th min of the values under the header column 7. argmax/argmin: returns the row with the max/min value in header column 8. nth argmax/nth argmin: returns the row with the n-th max/min value in header column 9. eq/not eq: returns if the two arguments are equal 10. round eq: returns if the two arguments are roughly equal under certain tolerance 11. greater/less: returns if argument 1 is greater/less than argument 2 12. diff: returns the difference between two arguments 13. filter eq/not eq: returns the subview whose values under the header column is equal/not equal to argument 3 14. filter greater/less: returns the subview whose values under the header column is greater/less than argument 3 15. filter greater eq /less eq: returns the subview whose values under the header column is greater/less or equal than argument 3 16. filter all: returns the view itself for the case of describing the whole table 17. all eq/not eq: returns whether all the values under the header column are equal/not equal to argument 3 18. all greater/less: returns whether all the values under the header column are greater/less than argument 3 19. all greater eq/less eq: returns whether all the values under the header column are greater/less or equal to argument 3 20. most eq/not eq: returns whether most of the values under the header column are equal/not equal to argument 3 21. most greater/less: returns whether most of the values under the header column are greater/less than argument 3 22. most greater eq/less eq: returns whether most of the values under the header column are greater/less or equal to argument 3 Example: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } = true Output: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Here, the generated sentence interprets given logical form correctly that 3rd maximum should be selected from given table rows. New input case for you: round_eq { avg { all_rows ; round } ; 1.7 } = true Output:
the average of the round record of all rows is 1.7 .
1
NIv2
task110_logic2text_sentence_generation
fs_opt
instruction: In this task, you are given commands (in terms of logical operations) to select relevant rows from the given table. Your job is to generate a natural language interpretation of the given command. Here are the definitions of logical operators: 1. count: returns the number of rows in the view 2. only: returns whether there is exactly one row in the view 3. hop: returns the value under the header column of the row 4. and: returns the boolean operation result of two arguments 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column 6. nth max/nth min: returns the n-th max/n-th min of the values under the header column 7. argmax/argmin: returns the row with the max/min value in header column 8. nth argmax/nth argmin: returns the row with the n-th max/min value in header column 9. eq/not eq: returns if the two arguments are equal 10. round eq: returns if the two arguments are roughly equal under certain tolerance 11. greater/less: returns if argument 1 is greater/less than argument 2 12. diff: returns the difference between two arguments 13. filter eq/not eq: returns the subview whose values under the header column is equal/not equal to argument 3 14. filter greater/less: returns the subview whose values under the header column is greater/less than argument 3 15. filter greater eq /less eq: returns the subview whose values under the header column is greater/less or equal than argument 3 16. filter all: returns the view itself for the case of describing the whole table 17. all eq/not eq: returns whether all the values under the header column are equal/not equal to argument 3 18. all greater/less: returns whether all the values under the header column are greater/less than argument 3 19. all greater eq/less eq: returns whether all the values under the header column are greater/less or equal to argument 3 20. most eq/not eq: returns whether most of the values under the header column are equal/not equal to argument 3 21. most greater/less: returns whether most of the values under the header column are greater/less than argument 3 22. most greater eq/less eq: returns whether most of the values under the header column are greater/less or equal to argument 3 question: greater { hop { filter_eq { all_rows ; driver ; richard philippe } ; nor 1 } ; hop { filter_eq { all_rows ; driver ; stefano coletti } ; nor 1 } } = true answer: select the rows whose driver record fuzzily matches to richard philippe . take the nor 1 record of this row . select the rows whose driver record fuzzily matches to stefano coletti . take the nor 1 record of this row . the first record is greater than the second record . question: eq { count { filter_all { all_rows ; club } } ; 20 } = true answer: select the rows whose club record is arbitrary . the number of such rows is 20 . question: round_eq { avg { all_rows ; round } ; 1.7 } = true answer:
the average of the round record of all rows is 1.7 .
9
NIv2
task110_logic2text_sentence_generation
fs_opt
In this task, you are given commands (in terms of logical operations) to select relevant rows from the given table. Your job is to generate a natural language interpretation of the given command. Here are the definitions of logical operators: 1. count: returns the number of rows in the view 2. only: returns whether there is exactly one row in the view 3. hop: returns the value under the header column of the row 4. and: returns the boolean operation result of two arguments 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column 6. nth max/nth min: returns the n-th max/n-th min of the values under the header column 7. argmax/argmin: returns the row with the max/min value in header column 8. nth argmax/nth argmin: returns the row with the n-th max/min value in header column 9. eq/not eq: returns if the two arguments are equal 10. round eq: returns if the two arguments are roughly equal under certain tolerance 11. greater/less: returns if argument 1 is greater/less than argument 2 12. diff: returns the difference between two arguments 13. filter eq/not eq: returns the subview whose values under the header column is equal/not equal to argument 3 14. filter greater/less: returns the subview whose values under the header column is greater/less than argument 3 15. filter greater eq /less eq: returns the subview whose values under the header column is greater/less or equal than argument 3 16. filter all: returns the view itself for the case of describing the whole table 17. all eq/not eq: returns whether all the values under the header column are equal/not equal to argument 3 18. all greater/less: returns whether all the values under the header column are greater/less than argument 3 19. all greater eq/less eq: returns whether all the values under the header column are greater/less or equal to argument 3 20. most eq/not eq: returns whether most of the values under the header column are equal/not equal to argument 3 21. most greater/less: returns whether most of the values under the header column are greater/less than argument 3 22. most greater eq/less eq: returns whether most of the values under the header column are greater/less or equal to argument 3 One example is below. Q: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } = true A: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Rationale: Here, the generated sentence interprets given logical form correctly that 3rd maximum should be selected from given table rows. Q: round_eq { avg { all_rows ; bodyweight } ; 100.55 } = true A:
the average of the bodyweight record of all rows is 100.55 .
9
NIv2
task110_logic2text_sentence_generation
fs_opt
instruction: In this task, you are given commands (in terms of logical operations) to select relevant rows from the given table. Your job is to generate a natural language interpretation of the given command. Here are the definitions of logical operators: 1. count: returns the number of rows in the view 2. only: returns whether there is exactly one row in the view 3. hop: returns the value under the header column of the row 4. and: returns the boolean operation result of two arguments 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column 6. nth max/nth min: returns the n-th max/n-th min of the values under the header column 7. argmax/argmin: returns the row with the max/min value in header column 8. nth argmax/nth argmin: returns the row with the n-th max/min value in header column 9. eq/not eq: returns if the two arguments are equal 10. round eq: returns if the two arguments are roughly equal under certain tolerance 11. greater/less: returns if argument 1 is greater/less than argument 2 12. diff: returns the difference between two arguments 13. filter eq/not eq: returns the subview whose values under the header column is equal/not equal to argument 3 14. filter greater/less: returns the subview whose values under the header column is greater/less than argument 3 15. filter greater eq /less eq: returns the subview whose values under the header column is greater/less or equal than argument 3 16. filter all: returns the view itself for the case of describing the whole table 17. all eq/not eq: returns whether all the values under the header column are equal/not equal to argument 3 18. all greater/less: returns whether all the values under the header column are greater/less than argument 3 19. all greater eq/less eq: returns whether all the values under the header column are greater/less or equal to argument 3 20. most eq/not eq: returns whether most of the values under the header column are equal/not equal to argument 3 21. most greater/less: returns whether most of the values under the header column are greater/less than argument 3 22. most greater eq/less eq: returns whether most of the values under the header column are greater/less or equal to argument 3 question: greater { hop { filter_eq { all_rows ; english title ; sergey lazo } ; length } ; hop { filter_eq { all_rows ; english title ; sour grape } ; length } } = true answer: select the rows whose english title record fuzzily matches to sergey lazo . take the length record of this row . select the rows whose english title record fuzzily matches to sour grape . take the length record of this row . the first record is greater than the second record . question: eq { hop { argmin { all_rows ; score } ; player } ; tze - chung chen } = true answer: select the row whose score record of all rows is minimum . the player record of this row is tze chung chen . question: eq { count { filter_eq { all_rows ; surface ; clay } } ; 4 } = true answer:
select the rows whose surface record fuzzily matches to clay . the number of such rows is 4 .
9
NIv2
task110_logic2text_sentence_generation
fs_opt
Given the task definition, example input & output, solve the new input case. In this task, you are given commands (in terms of logical operations) to select relevant rows from the given table. Your job is to generate a natural language interpretation of the given command. Here are the definitions of logical operators: 1. count: returns the number of rows in the view 2. only: returns whether there is exactly one row in the view 3. hop: returns the value under the header column of the row 4. and: returns the boolean operation result of two arguments 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column 6. nth max/nth min: returns the n-th max/n-th min of the values under the header column 7. argmax/argmin: returns the row with the max/min value in header column 8. nth argmax/nth argmin: returns the row with the n-th max/min value in header column 9. eq/not eq: returns if the two arguments are equal 10. round eq: returns if the two arguments are roughly equal under certain tolerance 11. greater/less: returns if argument 1 is greater/less than argument 2 12. diff: returns the difference between two arguments 13. filter eq/not eq: returns the subview whose values under the header column is equal/not equal to argument 3 14. filter greater/less: returns the subview whose values under the header column is greater/less than argument 3 15. filter greater eq /less eq: returns the subview whose values under the header column is greater/less or equal than argument 3 16. filter all: returns the view itself for the case of describing the whole table 17. all eq/not eq: returns whether all the values under the header column are equal/not equal to argument 3 18. all greater/less: returns whether all the values under the header column are greater/less than argument 3 19. all greater eq/less eq: returns whether all the values under the header column are greater/less or equal to argument 3 20. most eq/not eq: returns whether most of the values under the header column are equal/not equal to argument 3 21. most greater/less: returns whether most of the values under the header column are greater/less than argument 3 22. most greater eq/less eq: returns whether most of the values under the header column are greater/less or equal to argument 3 Example: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } = true Output: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Here, the generated sentence interprets given logical form correctly that 3rd maximum should be selected from given table rows. New input case for you: only { filter_eq { all_rows ; vocalist ; kanako } } = true Output:
select the rows whose vocalist record fuzzily matches to kanako . there is only one such row in the table .
1
NIv2
task110_logic2text_sentence_generation
fs_opt
Detailed Instructions: In this task, you are given commands (in terms of logical operations) to select relevant rows from the given table. Your job is to generate a natural language interpretation of the given command. Here are the definitions of logical operators: 1. count: returns the number of rows in the view 2. only: returns whether there is exactly one row in the view 3. hop: returns the value under the header column of the row 4. and: returns the boolean operation result of two arguments 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column 6. nth max/nth min: returns the n-th max/n-th min of the values under the header column 7. argmax/argmin: returns the row with the max/min value in header column 8. nth argmax/nth argmin: returns the row with the n-th max/min value in header column 9. eq/not eq: returns if the two arguments are equal 10. round eq: returns if the two arguments are roughly equal under certain tolerance 11. greater/less: returns if argument 1 is greater/less than argument 2 12. diff: returns the difference between two arguments 13. filter eq/not eq: returns the subview whose values under the header column is equal/not equal to argument 3 14. filter greater/less: returns the subview whose values under the header column is greater/less than argument 3 15. filter greater eq /less eq: returns the subview whose values under the header column is greater/less or equal than argument 3 16. filter all: returns the view itself for the case of describing the whole table 17. all eq/not eq: returns whether all the values under the header column are equal/not equal to argument 3 18. all greater/less: returns whether all the values under the header column are greater/less than argument 3 19. all greater eq/less eq: returns whether all the values under the header column are greater/less or equal to argument 3 20. most eq/not eq: returns whether most of the values under the header column are equal/not equal to argument 3 21. most greater/less: returns whether most of the values under the header column are greater/less than argument 3 22. most greater eq/less eq: returns whether most of the values under the header column are greater/less or equal to argument 3 See one example below: Problem: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } = true Solution: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Explanation: Here, the generated sentence interprets given logical form correctly that 3rd maximum should be selected from given table rows. Problem: round_eq { avg { all_rows ; total } ; 19.71 } = true Solution:
the average of the total record of all rows is 19.71 .
4
NIv2
task110_logic2text_sentence_generation
fs_opt
instruction: In this task, you are given commands (in terms of logical operations) to select relevant rows from the given table. Your job is to generate a natural language interpretation of the given command. Here are the definitions of logical operators: 1. count: returns the number of rows in the view 2. only: returns whether there is exactly one row in the view 3. hop: returns the value under the header column of the row 4. and: returns the boolean operation result of two arguments 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column 6. nth max/nth min: returns the n-th max/n-th min of the values under the header column 7. argmax/argmin: returns the row with the max/min value in header column 8. nth argmax/nth argmin: returns the row with the n-th max/min value in header column 9. eq/not eq: returns if the two arguments are equal 10. round eq: returns if the two arguments are roughly equal under certain tolerance 11. greater/less: returns if argument 1 is greater/less than argument 2 12. diff: returns the difference between two arguments 13. filter eq/not eq: returns the subview whose values under the header column is equal/not equal to argument 3 14. filter greater/less: returns the subview whose values under the header column is greater/less than argument 3 15. filter greater eq /less eq: returns the subview whose values under the header column is greater/less or equal than argument 3 16. filter all: returns the view itself for the case of describing the whole table 17. all eq/not eq: returns whether all the values under the header column are equal/not equal to argument 3 18. all greater/less: returns whether all the values under the header column are greater/less than argument 3 19. all greater eq/less eq: returns whether all the values under the header column are greater/less or equal to argument 3 20. most eq/not eq: returns whether most of the values under the header column are equal/not equal to argument 3 21. most greater/less: returns whether most of the values under the header column are greater/less than argument 3 22. most greater eq/less eq: returns whether most of the values under the header column are greater/less or equal to argument 3 question: eq { hop { argmax { all_rows ; agg } ; team 1 } ; pyunik } = true answer: select the row whose agg record of all rows is maximum . the team 1 record of this row is pyunik . question: greater { hop { filter_eq { all_rows ; urban settlement ; sremska kamenica } ; population ( 2002 ) } ; hop { filter_eq { all_rows ; urban settlement ; sremski karlovci } ; population ( 2002 ) } } = true answer: select the rows whose urban settlement record fuzzily matches to sremska kamenica . take the population 2002 record of this row . select the rows whose urban settlement record fuzzily matches to sremski karlovci . take the population 2002 record of this row . the first record is greater than the second record . question: eq { hop { argmax { all_rows ; opening week nett gross } ; movie } ; chennai express } = true answer:
select the row whose opening week nett gross record of all rows is maximum . the movie record of this row is chennai express .
9
NIv2
task110_logic2text_sentence_generation
fs_opt
In this task, you are given commands (in terms of logical operations) to select relevant rows from the given table. Your job is to generate a natural language interpretation of the given command. Here are the definitions of logical operators: 1. count: returns the number of rows in the view 2. only: returns whether there is exactly one row in the view 3. hop: returns the value under the header column of the row 4. and: returns the boolean operation result of two arguments 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column 6. nth max/nth min: returns the n-th max/n-th min of the values under the header column 7. argmax/argmin: returns the row with the max/min value in header column 8. nth argmax/nth argmin: returns the row with the n-th max/min value in header column 9. eq/not eq: returns if the two arguments are equal 10. round eq: returns if the two arguments are roughly equal under certain tolerance 11. greater/less: returns if argument 1 is greater/less than argument 2 12. diff: returns the difference between two arguments 13. filter eq/not eq: returns the subview whose values under the header column is equal/not equal to argument 3 14. filter greater/less: returns the subview whose values under the header column is greater/less than argument 3 15. filter greater eq /less eq: returns the subview whose values under the header column is greater/less or equal than argument 3 16. filter all: returns the view itself for the case of describing the whole table 17. all eq/not eq: returns whether all the values under the header column are equal/not equal to argument 3 18. all greater/less: returns whether all the values under the header column are greater/less than argument 3 19. all greater eq/less eq: returns whether all the values under the header column are greater/less or equal to argument 3 20. most eq/not eq: returns whether most of the values under the header column are equal/not equal to argument 3 21. most greater/less: returns whether most of the values under the header column are greater/less than argument 3 22. most greater eq/less eq: returns whether most of the values under the header column are greater/less or equal to argument 3 Example Input: round_eq { sum { filter_eq { all_rows ; class ; b } ; no built } ; 58 } = true Example Output: select the rows whose class record fuzzily matches to b . the sum of the no built record of these rows is 58 . Example Input: eq { hop { argmax { all_rows ; gains } ; party } ; wildrose } = true Example Output: select the row whose gains record of all rows is maximum . the party record of this row is wildrose . Example Input: most_less { all_rows ; 2nd run ; 40 } = true Example Output:
for the 2nd run records of all rows , most of them are less than 40 .
3
NIv2
task110_logic2text_sentence_generation
fs_opt
In this task, you are given commands (in terms of logical operations) to select relevant rows from the given table. Your job is to generate a natural language interpretation of the given command. Here are the definitions of logical operators: 1. count: returns the number of rows in the view 2. only: returns whether there is exactly one row in the view 3. hop: returns the value under the header column of the row 4. and: returns the boolean operation result of two arguments 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column 6. nth max/nth min: returns the n-th max/n-th min of the values under the header column 7. argmax/argmin: returns the row with the max/min value in header column 8. nth argmax/nth argmin: returns the row with the n-th max/min value in header column 9. eq/not eq: returns if the two arguments are equal 10. round eq: returns if the two arguments are roughly equal under certain tolerance 11. greater/less: returns if argument 1 is greater/less than argument 2 12. diff: returns the difference between two arguments 13. filter eq/not eq: returns the subview whose values under the header column is equal/not equal to argument 3 14. filter greater/less: returns the subview whose values under the header column is greater/less than argument 3 15. filter greater eq /less eq: returns the subview whose values under the header column is greater/less or equal than argument 3 16. filter all: returns the view itself for the case of describing the whole table 17. all eq/not eq: returns whether all the values under the header column are equal/not equal to argument 3 18. all greater/less: returns whether all the values under the header column are greater/less than argument 3 19. all greater eq/less eq: returns whether all the values under the header column are greater/less or equal to argument 3 20. most eq/not eq: returns whether most of the values under the header column are equal/not equal to argument 3 21. most greater/less: returns whether most of the values under the header column are greater/less than argument 3 22. most greater eq/less eq: returns whether most of the values under the header column are greater/less or equal to argument 3 -------- Question: greater { hop { filter_eq { all_rows ; model ; stls2f } ; frequency } ; hop { filter_eq { all_rows ; model ; stls2e } ; frequency } } = true Answer: select the rows whose model record fuzzily matches to stls2f . take the frequency record of this row . select the rows whose model record fuzzily matches to stls2e . take the frequency record of this row . the first record is greater than the second record . Question: eq { hop { nth_argmin { all_rows ; attendance ; 2 } ; date } ; november 18 , 1962 } = true Answer: select the row whose attendance record of all rows is 2nd minimum . the date record of this row is november 18 , 1962 . Question: eq { hop { nth_argmax { all_rows ; established ; 2 } ; league } ; ahl } = true Answer:
select the row whose established record of all rows is 2nd maximum . the league record of this row is ahl .
7
NIv2
task110_logic2text_sentence_generation
fs_opt
In this task, you are given commands (in terms of logical operations) to select relevant rows from the given table. Your job is to generate a natural language interpretation of the given command. Here are the definitions of logical operators: 1. count: returns the number of rows in the view 2. only: returns whether there is exactly one row in the view 3. hop: returns the value under the header column of the row 4. and: returns the boolean operation result of two arguments 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column 6. nth max/nth min: returns the n-th max/n-th min of the values under the header column 7. argmax/argmin: returns the row with the max/min value in header column 8. nth argmax/nth argmin: returns the row with the n-th max/min value in header column 9. eq/not eq: returns if the two arguments are equal 10. round eq: returns if the two arguments are roughly equal under certain tolerance 11. greater/less: returns if argument 1 is greater/less than argument 2 12. diff: returns the difference between two arguments 13. filter eq/not eq: returns the subview whose values under the header column is equal/not equal to argument 3 14. filter greater/less: returns the subview whose values under the header column is greater/less than argument 3 15. filter greater eq /less eq: returns the subview whose values under the header column is greater/less or equal than argument 3 16. filter all: returns the view itself for the case of describing the whole table 17. all eq/not eq: returns whether all the values under the header column are equal/not equal to argument 3 18. all greater/less: returns whether all the values under the header column are greater/less than argument 3 19. all greater eq/less eq: returns whether all the values under the header column are greater/less or equal to argument 3 20. most eq/not eq: returns whether most of the values under the header column are equal/not equal to argument 3 21. most greater/less: returns whether most of the values under the header column are greater/less than argument 3 22. most greater eq/less eq: returns whether most of the values under the header column are greater/less or equal to argument 3 One example is below. Q: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } = true A: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Rationale: Here, the generated sentence interprets given logical form correctly that 3rd maximum should be selected from given table rows. Q: eq { count { filter_eq { all_rows ; club ; sussex } } ; 3 } = true A:
select the rows whose club record fuzzily matches to sussex . the number of such rows is 3 .
9
NIv2
task110_logic2text_sentence_generation
fs_opt
In this task, you are given commands (in terms of logical operations) to select relevant rows from the given table. Your job is to generate a natural language interpretation of the given command. Here are the definitions of logical operators: 1. count: returns the number of rows in the view 2. only: returns whether there is exactly one row in the view 3. hop: returns the value under the header column of the row 4. and: returns the boolean operation result of two arguments 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column 6. nth max/nth min: returns the n-th max/n-th min of the values under the header column 7. argmax/argmin: returns the row with the max/min value in header column 8. nth argmax/nth argmin: returns the row with the n-th max/min value in header column 9. eq/not eq: returns if the two arguments are equal 10. round eq: returns if the two arguments are roughly equal under certain tolerance 11. greater/less: returns if argument 1 is greater/less than argument 2 12. diff: returns the difference between two arguments 13. filter eq/not eq: returns the subview whose values under the header column is equal/not equal to argument 3 14. filter greater/less: returns the subview whose values under the header column is greater/less than argument 3 15. filter greater eq /less eq: returns the subview whose values under the header column is greater/less or equal than argument 3 16. filter all: returns the view itself for the case of describing the whole table 17. all eq/not eq: returns whether all the values under the header column are equal/not equal to argument 3 18. all greater/less: returns whether all the values under the header column are greater/less than argument 3 19. all greater eq/less eq: returns whether all the values under the header column are greater/less or equal to argument 3 20. most eq/not eq: returns whether most of the values under the header column are equal/not equal to argument 3 21. most greater/less: returns whether most of the values under the header column are greater/less than argument 3 22. most greater eq/less eq: returns whether most of the values under the header column are greater/less or equal to argument 3 Q: and { only { filter_eq { all_rows ; place ; 1st } } ; eq { hop { filter_eq { all_rows ; place ; 1st } ; date } ; 7 dec 2008 } } = true A: select the rows whose place record fuzzily matches to 1st . there is only one such row in the table . the date record of this unqiue row is 7 dec 2008 . **** Q: eq { count { filter_eq { all_rows ; pos ; gk } } ; 2 } = true A: select the rows whose pos record fuzzily matches to gk . the number of such rows is 2 . **** Q: round_eq { avg { all_rows ; weeks at 1 } ; 4.8 } = true A:
the average of the weeks at 1 record of all rows is 4.8 . ****
4
NIv2
task110_logic2text_sentence_generation
fs_opt
In this task, you are given commands (in terms of logical operations) to select relevant rows from the given table. Your job is to generate a natural language interpretation of the given command. Here are the definitions of logical operators: 1. count: returns the number of rows in the view 2. only: returns whether there is exactly one row in the view 3. hop: returns the value under the header column of the row 4. and: returns the boolean operation result of two arguments 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column 6. nth max/nth min: returns the n-th max/n-th min of the values under the header column 7. argmax/argmin: returns the row with the max/min value in header column 8. nth argmax/nth argmin: returns the row with the n-th max/min value in header column 9. eq/not eq: returns if the two arguments are equal 10. round eq: returns if the two arguments are roughly equal under certain tolerance 11. greater/less: returns if argument 1 is greater/less than argument 2 12. diff: returns the difference between two arguments 13. filter eq/not eq: returns the subview whose values under the header column is equal/not equal to argument 3 14. filter greater/less: returns the subview whose values under the header column is greater/less than argument 3 15. filter greater eq /less eq: returns the subview whose values under the header column is greater/less or equal than argument 3 16. filter all: returns the view itself for the case of describing the whole table 17. all eq/not eq: returns whether all the values under the header column are equal/not equal to argument 3 18. all greater/less: returns whether all the values under the header column are greater/less than argument 3 19. all greater eq/less eq: returns whether all the values under the header column are greater/less or equal to argument 3 20. most eq/not eq: returns whether most of the values under the header column are equal/not equal to argument 3 21. most greater/less: returns whether most of the values under the header column are greater/less than argument 3 22. most greater eq/less eq: returns whether most of the values under the header column are greater/less or equal to argument 3 Example Input: eq { hop { nth_argmin { all_rows ; rank ; 4 } ; rowers } ; zsolt hirling , tamã ¡ s varga } = true Example Output: select the row whose rank record of all rows is 4th minimum . the rowers record of this row is zsolt hirling , tamã ¡ s varga . Example Input: eq { count { filter_eq { all_rows ; money ; 122100 } } ; 6 } = true Example Output: select the rows whose money record is equal to 122100 . the number of such rows is 6 . Example Input: most_eq { all_rows ; sprints classification ; rené weissinger } = true Example Output:
for the sprints classification records of all rows , most of them fuzzily match to rené weissinger .
3
NIv2
task110_logic2text_sentence_generation
fs_opt
In this task, you are given commands (in terms of logical operations) to select relevant rows from the given table. Your job is to generate a natural language interpretation of the given command. Here are the definitions of logical operators: 1. count: returns the number of rows in the view 2. only: returns whether there is exactly one row in the view 3. hop: returns the value under the header column of the row 4. and: returns the boolean operation result of two arguments 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column 6. nth max/nth min: returns the n-th max/n-th min of the values under the header column 7. argmax/argmin: returns the row with the max/min value in header column 8. nth argmax/nth argmin: returns the row with the n-th max/min value in header column 9. eq/not eq: returns if the two arguments are equal 10. round eq: returns if the two arguments are roughly equal under certain tolerance 11. greater/less: returns if argument 1 is greater/less than argument 2 12. diff: returns the difference between two arguments 13. filter eq/not eq: returns the subview whose values under the header column is equal/not equal to argument 3 14. filter greater/less: returns the subview whose values under the header column is greater/less than argument 3 15. filter greater eq /less eq: returns the subview whose values under the header column is greater/less or equal than argument 3 16. filter all: returns the view itself for the case of describing the whole table 17. all eq/not eq: returns whether all the values under the header column are equal/not equal to argument 3 18. all greater/less: returns whether all the values under the header column are greater/less than argument 3 19. all greater eq/less eq: returns whether all the values under the header column are greater/less or equal to argument 3 20. most eq/not eq: returns whether most of the values under the header column are equal/not equal to argument 3 21. most greater/less: returns whether most of the values under the header column are greater/less than argument 3 22. most greater eq/less eq: returns whether most of the values under the header column are greater/less or equal to argument 3 Ex Input: eq { hop { argmax { all_rows ; score } ; score } ; 3 - 2 } = true Ex Output: select the row whose score record of all rows is maximum . the score record of this row is 3 2 . Ex Input: and { greater { hop { filter_eq { all_rows ; date ; january 22 } ; attendance } ; hop { filter_eq { all_rows ; date ; january 23 } ; attendance } } ; and { eq { hop { filter_eq { all_rows ; date ; january 22 } ; attendance } ; 17061 } ; eq { hop { filter_eq { all_rows ; date ; january 23 } ; attendance } ; 13916 } } } = true Ex Output: select the rows whose date record fuzzily matches to january 22 . take the attendance record of this row . select the rows whose date record fuzzily matches to january 23 . take the attendance record of this row . the first record is greater than the second record . the attendance record of the first row is 17061 . the attendance record of the second row is 13916 . Ex Input: eq { hop { nth_argmax { all_rows ; money ; 4 } ; score } ; 68 + 68 + 69 + 79 = 284 } = true Ex Output:
select the row whose money record of all rows is 4th maximum . the score record of this row is 68 + 68 + 69 + 79 = 284 .
1
NIv2
task110_logic2text_sentence_generation
fs_opt
In this task, you are given commands (in terms of logical operations) to select relevant rows from the given table. Your job is to generate a natural language interpretation of the given command. Here are the definitions of logical operators: 1. count: returns the number of rows in the view 2. only: returns whether there is exactly one row in the view 3. hop: returns the value under the header column of the row 4. and: returns the boolean operation result of two arguments 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column 6. nth max/nth min: returns the n-th max/n-th min of the values under the header column 7. argmax/argmin: returns the row with the max/min value in header column 8. nth argmax/nth argmin: returns the row with the n-th max/min value in header column 9. eq/not eq: returns if the two arguments are equal 10. round eq: returns if the two arguments are roughly equal under certain tolerance 11. greater/less: returns if argument 1 is greater/less than argument 2 12. diff: returns the difference between two arguments 13. filter eq/not eq: returns the subview whose values under the header column is equal/not equal to argument 3 14. filter greater/less: returns the subview whose values under the header column is greater/less than argument 3 15. filter greater eq /less eq: returns the subview whose values under the header column is greater/less or equal than argument 3 16. filter all: returns the view itself for the case of describing the whole table 17. all eq/not eq: returns whether all the values under the header column are equal/not equal to argument 3 18. all greater/less: returns whether all the values under the header column are greater/less than argument 3 19. all greater eq/less eq: returns whether all the values under the header column are greater/less or equal to argument 3 20. most eq/not eq: returns whether most of the values under the header column are equal/not equal to argument 3 21. most greater/less: returns whether most of the values under the header column are greater/less than argument 3 22. most greater eq/less eq: returns whether most of the values under the header column are greater/less or equal to argument 3 Example input: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } = true Example output: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Example explanation: Here, the generated sentence interprets given logical form correctly that 3rd maximum should be selected from given table rows. Q: only { filter_eq { all_rows ; tournament ; china } } = true A:
select the rows whose tournament record fuzzily matches to china . there is only one such row in the table .
3
NIv2
task110_logic2text_sentence_generation
fs_opt
In this task, you are given commands (in terms of logical operations) to select relevant rows from the given table. Your job is to generate a natural language interpretation of the given command. Here are the definitions of logical operators: 1. count: returns the number of rows in the view 2. only: returns whether there is exactly one row in the view 3. hop: returns the value under the header column of the row 4. and: returns the boolean operation result of two arguments 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column 6. nth max/nth min: returns the n-th max/n-th min of the values under the header column 7. argmax/argmin: returns the row with the max/min value in header column 8. nth argmax/nth argmin: returns the row with the n-th max/min value in header column 9. eq/not eq: returns if the two arguments are equal 10. round eq: returns if the two arguments are roughly equal under certain tolerance 11. greater/less: returns if argument 1 is greater/less than argument 2 12. diff: returns the difference between two arguments 13. filter eq/not eq: returns the subview whose values under the header column is equal/not equal to argument 3 14. filter greater/less: returns the subview whose values under the header column is greater/less than argument 3 15. filter greater eq /less eq: returns the subview whose values under the header column is greater/less or equal than argument 3 16. filter all: returns the view itself for the case of describing the whole table 17. all eq/not eq: returns whether all the values under the header column are equal/not equal to argument 3 18. all greater/less: returns whether all the values under the header column are greater/less than argument 3 19. all greater eq/less eq: returns whether all the values under the header column are greater/less or equal to argument 3 20. most eq/not eq: returns whether most of the values under the header column are equal/not equal to argument 3 21. most greater/less: returns whether most of the values under the header column are greater/less than argument 3 22. most greater eq/less eq: returns whether most of the values under the header column are greater/less or equal to argument 3 One example: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } = true Solution is here: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Explanation: Here, the generated sentence interprets given logical form correctly that 3rd maximum should be selected from given table rows. Now, solve this: most_eq { filter_eq { all_rows ; position ; left wing } ; nationality ; canada } = true Solution:
select the rows whose position record fuzzily matches to left wing . for the nationality records of these rows , most of them fuzzily match to canada .
6
NIv2
task110_logic2text_sentence_generation
fs_opt
In this task, you are given commands (in terms of logical operations) to select relevant rows from the given table. Your job is to generate a natural language interpretation of the given command. Here are the definitions of logical operators: 1. count: returns the number of rows in the view 2. only: returns whether there is exactly one row in the view 3. hop: returns the value under the header column of the row 4. and: returns the boolean operation result of two arguments 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column 6. nth max/nth min: returns the n-th max/n-th min of the values under the header column 7. argmax/argmin: returns the row with the max/min value in header column 8. nth argmax/nth argmin: returns the row with the n-th max/min value in header column 9. eq/not eq: returns if the two arguments are equal 10. round eq: returns if the two arguments are roughly equal under certain tolerance 11. greater/less: returns if argument 1 is greater/less than argument 2 12. diff: returns the difference between two arguments 13. filter eq/not eq: returns the subview whose values under the header column is equal/not equal to argument 3 14. filter greater/less: returns the subview whose values under the header column is greater/less than argument 3 15. filter greater eq /less eq: returns the subview whose values under the header column is greater/less or equal than argument 3 16. filter all: returns the view itself for the case of describing the whole table 17. all eq/not eq: returns whether all the values under the header column are equal/not equal to argument 3 18. all greater/less: returns whether all the values under the header column are greater/less than argument 3 19. all greater eq/less eq: returns whether all the values under the header column are greater/less or equal to argument 3 20. most eq/not eq: returns whether most of the values under the header column are equal/not equal to argument 3 21. most greater/less: returns whether most of the values under the header column are greater/less than argument 3 22. most greater eq/less eq: returns whether most of the values under the header column are greater/less or equal to argument 3 [Q]: eq { count { filter_eq { all_rows ; venue ; candlestick park } } ; 3 } = true [A]: select the rows whose venue record fuzzily matches to candlestick park . the number of such rows is 3 . [Q]: eq { count { filter_eq { filter_eq { all_rows ; date ; october } ; result ; l } } ; 3 } = true [A]: select the rows whose date record fuzzily matches to october . among these rows , select the rows whose result record fuzzily matches to l . the number of such rows is 3 . [Q]: less { hop { filter_eq { all_rows ; name ; over the deel } ; age } ; hop { filter_eq { all_rows ; name ; captain dibble } ; age } } = true [A]:
select the rows whose name record fuzzily matches to over the deel . take the age record of this row . select the rows whose name record fuzzily matches to captain dibble . take the age record of this row . the first record is less than the second record .
5
NIv2
task110_logic2text_sentence_generation
fs_opt
Teacher: In this task, you are given commands (in terms of logical operations) to select relevant rows from the given table. Your job is to generate a natural language interpretation of the given command. Here are the definitions of logical operators: 1. count: returns the number of rows in the view 2. only: returns whether there is exactly one row in the view 3. hop: returns the value under the header column of the row 4. and: returns the boolean operation result of two arguments 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column 6. nth max/nth min: returns the n-th max/n-th min of the values under the header column 7. argmax/argmin: returns the row with the max/min value in header column 8. nth argmax/nth argmin: returns the row with the n-th max/min value in header column 9. eq/not eq: returns if the two arguments are equal 10. round eq: returns if the two arguments are roughly equal under certain tolerance 11. greater/less: returns if argument 1 is greater/less than argument 2 12. diff: returns the difference between two arguments 13. filter eq/not eq: returns the subview whose values under the header column is equal/not equal to argument 3 14. filter greater/less: returns the subview whose values under the header column is greater/less than argument 3 15. filter greater eq /less eq: returns the subview whose values under the header column is greater/less or equal than argument 3 16. filter all: returns the view itself for the case of describing the whole table 17. all eq/not eq: returns whether all the values under the header column are equal/not equal to argument 3 18. all greater/less: returns whether all the values under the header column are greater/less than argument 3 19. all greater eq/less eq: returns whether all the values under the header column are greater/less or equal to argument 3 20. most eq/not eq: returns whether most of the values under the header column are equal/not equal to argument 3 21. most greater/less: returns whether most of the values under the header column are greater/less than argument 3 22. most greater eq/less eq: returns whether most of the values under the header column are greater/less or equal to argument 3 Teacher: Now, understand the problem? If you are still confused, see the following example: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } = true Solution: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Reason: Here, the generated sentence interprets given logical form correctly that 3rd maximum should be selected from given table rows. Now, solve this instance: eq { count { filter_eq { all_rows ; margin of victory ; playoff } } ; 2 } = true Student:
select the rows whose margin of victory record fuzzily matches to playoff . the number of such rows is 2 .
2
NIv2
task110_logic2text_sentence_generation
fs_opt
In this task, you are given commands (in terms of logical operations) to select relevant rows from the given table. Your job is to generate a natural language interpretation of the given command. Here are the definitions of logical operators: 1. count: returns the number of rows in the view 2. only: returns whether there is exactly one row in the view 3. hop: returns the value under the header column of the row 4. and: returns the boolean operation result of two arguments 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column 6. nth max/nth min: returns the n-th max/n-th min of the values under the header column 7. argmax/argmin: returns the row with the max/min value in header column 8. nth argmax/nth argmin: returns the row with the n-th max/min value in header column 9. eq/not eq: returns if the two arguments are equal 10. round eq: returns if the two arguments are roughly equal under certain tolerance 11. greater/less: returns if argument 1 is greater/less than argument 2 12. diff: returns the difference between two arguments 13. filter eq/not eq: returns the subview whose values under the header column is equal/not equal to argument 3 14. filter greater/less: returns the subview whose values under the header column is greater/less than argument 3 15. filter greater eq /less eq: returns the subview whose values under the header column is greater/less or equal than argument 3 16. filter all: returns the view itself for the case of describing the whole table 17. all eq/not eq: returns whether all the values under the header column are equal/not equal to argument 3 18. all greater/less: returns whether all the values under the header column are greater/less than argument 3 19. all greater eq/less eq: returns whether all the values under the header column are greater/less or equal to argument 3 20. most eq/not eq: returns whether most of the values under the header column are equal/not equal to argument 3 21. most greater/less: returns whether most of the values under the header column are greater/less than argument 3 22. most greater eq/less eq: returns whether most of the values under the header column are greater/less or equal to argument 3 Example Input: eq { count { filter_eq { all_rows ; place ; 3rd } } ; 5 } = true Example Output: select the rows whose place record fuzzily matches to 3rd . the number of such rows is 5 . Example Input: round_eq { avg { all_rows ; group 's equity shareholding } ; 85 % } = true Example Output: the average of the group s equity shareholding record of all rows is 85 . Example Input: most_eq { filter_eq { all_rows ; position ; left wing } ; nationality ; canada } = true Example Output:
select the rows whose position record fuzzily matches to left wing . for the nationality records of these rows , most of them fuzzily match to canada .
3
NIv2
task110_logic2text_sentence_generation
fs_opt
In this task, you are given commands (in terms of logical operations) to select relevant rows from the given table. Your job is to generate a natural language interpretation of the given command. Here are the definitions of logical operators: 1. count: returns the number of rows in the view 2. only: returns whether there is exactly one row in the view 3. hop: returns the value under the header column of the row 4. and: returns the boolean operation result of two arguments 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column 6. nth max/nth min: returns the n-th max/n-th min of the values under the header column 7. argmax/argmin: returns the row with the max/min value in header column 8. nth argmax/nth argmin: returns the row with the n-th max/min value in header column 9. eq/not eq: returns if the two arguments are equal 10. round eq: returns if the two arguments are roughly equal under certain tolerance 11. greater/less: returns if argument 1 is greater/less than argument 2 12. diff: returns the difference between two arguments 13. filter eq/not eq: returns the subview whose values under the header column is equal/not equal to argument 3 14. filter greater/less: returns the subview whose values under the header column is greater/less than argument 3 15. filter greater eq /less eq: returns the subview whose values under the header column is greater/less or equal than argument 3 16. filter all: returns the view itself for the case of describing the whole table 17. all eq/not eq: returns whether all the values under the header column are equal/not equal to argument 3 18. all greater/less: returns whether all the values under the header column are greater/less than argument 3 19. all greater eq/less eq: returns whether all the values under the header column are greater/less or equal to argument 3 20. most eq/not eq: returns whether most of the values under the header column are equal/not equal to argument 3 21. most greater/less: returns whether most of the values under the header column are greater/less than argument 3 22. most greater eq/less eq: returns whether most of the values under the header column are greater/less or equal to argument 3 Example input: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } = true Example output: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Example explanation: Here, the generated sentence interprets given logical form correctly that 3rd maximum should be selected from given table rows. Q: round_eq { sum { all_rows ; total g } ; 44 } = true A:
the sum of the total g record of all rows is 44 .
3
NIv2
task110_logic2text_sentence_generation
fs_opt
In this task, you are given commands (in terms of logical operations) to select relevant rows from the given table. Your job is to generate a natural language interpretation of the given command. Here are the definitions of logical operators: 1. count: returns the number of rows in the view 2. only: returns whether there is exactly one row in the view 3. hop: returns the value under the header column of the row 4. and: returns the boolean operation result of two arguments 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column 6. nth max/nth min: returns the n-th max/n-th min of the values under the header column 7. argmax/argmin: returns the row with the max/min value in header column 8. nth argmax/nth argmin: returns the row with the n-th max/min value in header column 9. eq/not eq: returns if the two arguments are equal 10. round eq: returns if the two arguments are roughly equal under certain tolerance 11. greater/less: returns if argument 1 is greater/less than argument 2 12. diff: returns the difference between two arguments 13. filter eq/not eq: returns the subview whose values under the header column is equal/not equal to argument 3 14. filter greater/less: returns the subview whose values under the header column is greater/less than argument 3 15. filter greater eq /less eq: returns the subview whose values under the header column is greater/less or equal than argument 3 16. filter all: returns the view itself for the case of describing the whole table 17. all eq/not eq: returns whether all the values under the header column are equal/not equal to argument 3 18. all greater/less: returns whether all the values under the header column are greater/less than argument 3 19. all greater eq/less eq: returns whether all the values under the header column are greater/less or equal to argument 3 20. most eq/not eq: returns whether most of the values under the header column are equal/not equal to argument 3 21. most greater/less: returns whether most of the values under the header column are greater/less than argument 3 22. most greater eq/less eq: returns whether most of the values under the header column are greater/less or equal to argument 3 Ex Input: and { only { filter_eq { all_rows ; position ; running back } } ; eq { hop { filter_eq { all_rows ; position ; running back } ; player } ; doug goodwin } } = true Ex Output: select the rows whose position record fuzzily matches to running back . there is only one such row in the table . the player record of this unqiue row is doug goodwin . Ex Input: and { only { filter_eq { all_rows ; venue ; windy hill } } ; and { eq { hop { filter_eq { all_rows ; venue ; windy hill } ; home team } ; essendon } ; eq { hop { filter_eq { all_rows ; venue ; windy hill } ; away team } ; st kilda } } } = true Ex Output: select the rows whose venue record fuzzily matches to windy hill . there is only one such row in the table . the home team record of this unqiue row is essendon . the away team record of this unqiue row is st kilda . Ex Input: eq { count { filter_eq { all_rows ; margin of victory ; playoff } } ; 3 } = true Ex Output:
select the rows whose margin of victory record fuzzily matches to playoff . the number of such rows is 3 .
1
NIv2
task110_logic2text_sentence_generation
fs_opt
In this task, you are given commands (in terms of logical operations) to select relevant rows from the given table. Your job is to generate a natural language interpretation of the given command. Here are the definitions of logical operators: 1. count: returns the number of rows in the view 2. only: returns whether there is exactly one row in the view 3. hop: returns the value under the header column of the row 4. and: returns the boolean operation result of two arguments 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column 6. nth max/nth min: returns the n-th max/n-th min of the values under the header column 7. argmax/argmin: returns the row with the max/min value in header column 8. nth argmax/nth argmin: returns the row with the n-th max/min value in header column 9. eq/not eq: returns if the two arguments are equal 10. round eq: returns if the two arguments are roughly equal under certain tolerance 11. greater/less: returns if argument 1 is greater/less than argument 2 12. diff: returns the difference between two arguments 13. filter eq/not eq: returns the subview whose values under the header column is equal/not equal to argument 3 14. filter greater/less: returns the subview whose values under the header column is greater/less than argument 3 15. filter greater eq /less eq: returns the subview whose values under the header column is greater/less or equal than argument 3 16. filter all: returns the view itself for the case of describing the whole table 17. all eq/not eq: returns whether all the values under the header column are equal/not equal to argument 3 18. all greater/less: returns whether all the values under the header column are greater/less than argument 3 19. all greater eq/less eq: returns whether all the values under the header column are greater/less or equal to argument 3 20. most eq/not eq: returns whether most of the values under the header column are equal/not equal to argument 3 21. most greater/less: returns whether most of the values under the header column are greater/less than argument 3 22. most greater eq/less eq: returns whether most of the values under the header column are greater/less or equal to argument 3 One example: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } = true Solution is here: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Explanation: Here, the generated sentence interprets given logical form correctly that 3rd maximum should be selected from given table rows. Now, solve this: round_eq { avg { all_rows ; points } ; 14.56 } = true Solution:
the average of the points record of all rows is 14.56 .
6
NIv2
task110_logic2text_sentence_generation
fs_opt
In this task, you are given commands (in terms of logical operations) to select relevant rows from the given table. Your job is to generate a natural language interpretation of the given command. Here are the definitions of logical operators: 1. count: returns the number of rows in the view 2. only: returns whether there is exactly one row in the view 3. hop: returns the value under the header column of the row 4. and: returns the boolean operation result of two arguments 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column 6. nth max/nth min: returns the n-th max/n-th min of the values under the header column 7. argmax/argmin: returns the row with the max/min value in header column 8. nth argmax/nth argmin: returns the row with the n-th max/min value in header column 9. eq/not eq: returns if the two arguments are equal 10. round eq: returns if the two arguments are roughly equal under certain tolerance 11. greater/less: returns if argument 1 is greater/less than argument 2 12. diff: returns the difference between two arguments 13. filter eq/not eq: returns the subview whose values under the header column is equal/not equal to argument 3 14. filter greater/less: returns the subview whose values under the header column is greater/less than argument 3 15. filter greater eq /less eq: returns the subview whose values under the header column is greater/less or equal than argument 3 16. filter all: returns the view itself for the case of describing the whole table 17. all eq/not eq: returns whether all the values under the header column are equal/not equal to argument 3 18. all greater/less: returns whether all the values under the header column are greater/less than argument 3 19. all greater eq/less eq: returns whether all the values under the header column are greater/less or equal to argument 3 20. most eq/not eq: returns whether most of the values under the header column are equal/not equal to argument 3 21. most greater/less: returns whether most of the values under the header column are greater/less than argument 3 22. most greater eq/less eq: returns whether most of the values under the header column are greater/less or equal to argument 3 Example Input: most_greater { filter_eq { all_rows ; result ; win } ; orangemen points ; 20 } = true Example Output: select the rows whose result record fuzzily matches to win . for the orangemen points records of these rows , most of them are greater than 20 . Example Input: and { only { filter_eq { all_rows ; result ; made january shortlist } } ; eq { hop { filter_eq { all_rows ; result ; made january shortlist } ; film title used in nomination } ; samson and delilah } } = true Example Output: select the rows whose result record fuzzily matches to made january shortlist . there is only one such row in the table . the film title used in nomination record of this unqiue row is samson and delilah . Example Input: most_eq { all_rows ; partner ; app } = true Example Output:
for the partner records of all rows , most of them fuzzily match to app .
3
NIv2
task110_logic2text_sentence_generation
fs_opt
Detailed Instructions: In this task, you are given commands (in terms of logical operations) to select relevant rows from the given table. Your job is to generate a natural language interpretation of the given command. Here are the definitions of logical operators: 1. count: returns the number of rows in the view 2. only: returns whether there is exactly one row in the view 3. hop: returns the value under the header column of the row 4. and: returns the boolean operation result of two arguments 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column 6. nth max/nth min: returns the n-th max/n-th min of the values under the header column 7. argmax/argmin: returns the row with the max/min value in header column 8. nth argmax/nth argmin: returns the row with the n-th max/min value in header column 9. eq/not eq: returns if the two arguments are equal 10. round eq: returns if the two arguments are roughly equal under certain tolerance 11. greater/less: returns if argument 1 is greater/less than argument 2 12. diff: returns the difference between two arguments 13. filter eq/not eq: returns the subview whose values under the header column is equal/not equal to argument 3 14. filter greater/less: returns the subview whose values under the header column is greater/less than argument 3 15. filter greater eq /less eq: returns the subview whose values under the header column is greater/less or equal than argument 3 16. filter all: returns the view itself for the case of describing the whole table 17. all eq/not eq: returns whether all the values under the header column are equal/not equal to argument 3 18. all greater/less: returns whether all the values under the header column are greater/less than argument 3 19. all greater eq/less eq: returns whether all the values under the header column are greater/less or equal to argument 3 20. most eq/not eq: returns whether most of the values under the header column are equal/not equal to argument 3 21. most greater/less: returns whether most of the values under the header column are greater/less than argument 3 22. most greater eq/less eq: returns whether most of the values under the header column are greater/less or equal to argument 3 See one example below: Problem: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } = true Solution: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Explanation: Here, the generated sentence interprets given logical form correctly that 3rd maximum should be selected from given table rows. Problem: eq { count { filter_eq { all_rows ; visitor ; colorado } } ; 3 } = true Solution:
select the rows whose visitor record fuzzily matches to colorado . the number of such rows is 3 .
4
NIv2
task110_logic2text_sentence_generation
fs_opt
Teacher: In this task, you are given commands (in terms of logical operations) to select relevant rows from the given table. Your job is to generate a natural language interpretation of the given command. Here are the definitions of logical operators: 1. count: returns the number of rows in the view 2. only: returns whether there is exactly one row in the view 3. hop: returns the value under the header column of the row 4. and: returns the boolean operation result of two arguments 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column 6. nth max/nth min: returns the n-th max/n-th min of the values under the header column 7. argmax/argmin: returns the row with the max/min value in header column 8. nth argmax/nth argmin: returns the row with the n-th max/min value in header column 9. eq/not eq: returns if the two arguments are equal 10. round eq: returns if the two arguments are roughly equal under certain tolerance 11. greater/less: returns if argument 1 is greater/less than argument 2 12. diff: returns the difference between two arguments 13. filter eq/not eq: returns the subview whose values under the header column is equal/not equal to argument 3 14. filter greater/less: returns the subview whose values under the header column is greater/less than argument 3 15. filter greater eq /less eq: returns the subview whose values under the header column is greater/less or equal than argument 3 16. filter all: returns the view itself for the case of describing the whole table 17. all eq/not eq: returns whether all the values under the header column are equal/not equal to argument 3 18. all greater/less: returns whether all the values under the header column are greater/less than argument 3 19. all greater eq/less eq: returns whether all the values under the header column are greater/less or equal to argument 3 20. most eq/not eq: returns whether most of the values under the header column are equal/not equal to argument 3 21. most greater/less: returns whether most of the values under the header column are greater/less than argument 3 22. most greater eq/less eq: returns whether most of the values under the header column are greater/less or equal to argument 3 Teacher: Now, understand the problem? If you are still confused, see the following example: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } = true Solution: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Reason: Here, the generated sentence interprets given logical form correctly that 3rd maximum should be selected from given table rows. Now, solve this instance: and { only { filter_not_eq { all_rows ; candidates ; unopposed } } ; eq { hop { filter_not_eq { all_rows ; candidates ; unopposed } ; incumbent } ; hale boggs } } = true Student:
select the rows whose candidates record does not match to unopposed . there is only one such row in the table . the incumbent record of this unqiue row is hale boggs .
2
NIv2
task110_logic2text_sentence_generation
fs_opt
Teacher: In this task, you are given commands (in terms of logical operations) to select relevant rows from the given table. Your job is to generate a natural language interpretation of the given command. Here are the definitions of logical operators: 1. count: returns the number of rows in the view 2. only: returns whether there is exactly one row in the view 3. hop: returns the value under the header column of the row 4. and: returns the boolean operation result of two arguments 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column 6. nth max/nth min: returns the n-th max/n-th min of the values under the header column 7. argmax/argmin: returns the row with the max/min value in header column 8. nth argmax/nth argmin: returns the row with the n-th max/min value in header column 9. eq/not eq: returns if the two arguments are equal 10. round eq: returns if the two arguments are roughly equal under certain tolerance 11. greater/less: returns if argument 1 is greater/less than argument 2 12. diff: returns the difference between two arguments 13. filter eq/not eq: returns the subview whose values under the header column is equal/not equal to argument 3 14. filter greater/less: returns the subview whose values under the header column is greater/less than argument 3 15. filter greater eq /less eq: returns the subview whose values under the header column is greater/less or equal than argument 3 16. filter all: returns the view itself for the case of describing the whole table 17. all eq/not eq: returns whether all the values under the header column are equal/not equal to argument 3 18. all greater/less: returns whether all the values under the header column are greater/less than argument 3 19. all greater eq/less eq: returns whether all the values under the header column are greater/less or equal to argument 3 20. most eq/not eq: returns whether most of the values under the header column are equal/not equal to argument 3 21. most greater/less: returns whether most of the values under the header column are greater/less than argument 3 22. most greater eq/less eq: returns whether most of the values under the header column are greater/less or equal to argument 3 Teacher: Now, understand the problem? If you are still confused, see the following example: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } = true Solution: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Reason: Here, the generated sentence interprets given logical form correctly that 3rd maximum should be selected from given table rows. Now, solve this instance: eq { hop { nth_argmin { all_rows ; first elected ; 1 } ; incumbent } ; finis j garrett } = true Student:
select the row whose first elected record of all rows is 1st minimum . the incumbent record of this row is finis j garrett .
2
NIv2
task110_logic2text_sentence_generation
fs_opt
In this task, you are given commands (in terms of logical operations) to select relevant rows from the given table. Your job is to generate a natural language interpretation of the given command. Here are the definitions of logical operators: 1. count: returns the number of rows in the view 2. only: returns whether there is exactly one row in the view 3. hop: returns the value under the header column of the row 4. and: returns the boolean operation result of two arguments 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column 6. nth max/nth min: returns the n-th max/n-th min of the values under the header column 7. argmax/argmin: returns the row with the max/min value in header column 8. nth argmax/nth argmin: returns the row with the n-th max/min value in header column 9. eq/not eq: returns if the two arguments are equal 10. round eq: returns if the two arguments are roughly equal under certain tolerance 11. greater/less: returns if argument 1 is greater/less than argument 2 12. diff: returns the difference between two arguments 13. filter eq/not eq: returns the subview whose values under the header column is equal/not equal to argument 3 14. filter greater/less: returns the subview whose values under the header column is greater/less than argument 3 15. filter greater eq /less eq: returns the subview whose values under the header column is greater/less or equal than argument 3 16. filter all: returns the view itself for the case of describing the whole table 17. all eq/not eq: returns whether all the values under the header column are equal/not equal to argument 3 18. all greater/less: returns whether all the values under the header column are greater/less than argument 3 19. all greater eq/less eq: returns whether all the values under the header column are greater/less or equal to argument 3 20. most eq/not eq: returns whether most of the values under the header column are equal/not equal to argument 3 21. most greater/less: returns whether most of the values under the header column are greater/less than argument 3 22. most greater eq/less eq: returns whether most of the values under the header column are greater/less or equal to argument 3 Example: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } = true Example solution: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Example explanation: Here, the generated sentence interprets given logical form correctly that 3rd maximum should be selected from given table rows. Problem: round_eq { sum { all_rows ; money } ; $ 3,164,543 } = true
Solution: the sum of the money record of all rows is 3,164,543 .
5
NIv2
task110_logic2text_sentence_generation
fs_opt
End of preview. Expand in Data Studio
README.md exists but content is empty.
Downloads last month
6