north island main trunk
the north auckland line is the second longest north island main truck line .
{'row': '2', 'col': '5', 'order': '2', 'col_other': '1', 'max_or_min': 'max_to_min', 'value_mentioned': 'no', 'scope': 'all', 'subset': None}
{'func': 'str_eq', 'args': [{'func': 'str_hop', 'args': [{'func': 'nth_argmax', 'args': ['all_rows', 'length', '2'], 'result': None, 'ind': 0, 'tostr': 'nth_argmax { all_rows ; length ; 2 }'}, 'line name'], 'result': 'north auckland line', 'ind': 1, 'tostr': 'hop { nth_argmax { all_rows ; length ; 2 } ; line name }'}, 'north auckland line'], 'result': True, 'ind': 2, 'tostr': 'eq { hop { nth_argmax { all_rows ; length ; 2 } ; line name } ; north auckland line } = true', 'tointer': 'select the row whose length record of all rows is 2nd maximum . the line name record of this row is north auckland line .'}
eq { hop { nth_argmax { all_rows ; length ; 2 } ; line name } ; north auckland line } = true
select the row whose length record of all rows is 2nd maximum . the line name record of this row is north auckland line .
{'str_eq_2': 'str_eq', 'result_3': 'true', 'str_hop_1': 'str_hop', 'nth_argmax_0': 'nth_argmax', 'all_rows_4': 'all_rows', 'length_5': 'length', '2_6': '2', 'line name_7': 'line name', 'north auckland line_8': 'north auckland line'}
['line name', 'date closed', 'nimt junction', 'terminus', 'length']
[['auckland - newmarket line', 'open', 'quay park junction', 'newmarket junction', '2.5 km'], ['north auckland line', 'open', 'westfield junction', 'otiria junction', '280 km'], ['manukau branch', 'open', 'wiri junction', 'manukau', '2.5 km'], ['mission bush branch', 'open', 'paerata junction', 'mission bush', '17 km'], ['kimihia branch', 'open', 'huntly north', 'kimihia mine', '2.75 km'], ['rotowaro branch', 'open', 'huntly', 'rotowaro', '8.5 km'], ['waipa railway and coal co line', '19 - 5 - 1958', 'ngaruawahia', 'wilton collieries', '10.5 km'], ['east coast main trunk railway', 'open', 'frankton junction', 'kawerau', '180 km'], ['stratford - okahukura line', 'mothballed 2009', 'okahukura junction', 'stratford', '144 km'], ['raetihi branch', '1 - 1 - 1968', 'ohakune junction', 'raetihi', '13 km'], ['marton - new plymouth line', 'open', 'marton junction', 'breakwater ( new plymouth )', '212 km'], ['taonui branch', '14 - 8 - 1895', 'taonui', 'colyton', '3.5 km'], ['palmerston north - gisborne line', 'open', 'roslyn junction', 'gisborne', '391 km'], ['foxton branch', '18 - 7 - 1959', 'longburn junction', 'foxton', '31 km'], ['wairarapa line', 'open', 'distant junction ( wellington )', 'woodville', '170 km'], ['johnsonville branch', 'open', 'wellington junction', 'johnsonville', '10 km'], ['te aro branch', '23 - 4 - 1917', 'wellington ( lambton )', 'te aro', '1.77 km']]