japanese house of councillors election , 2001
the democratic party won the second most seats in 2001 .
{'row': '2', 'col': '4', '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', 'total elected 2001', '2'], 'result': None, 'ind': 0, 'tostr': 'nth_argmax { all_rows ; total elected 2001 ; 2 }'}, 'party'], 'result': 'democratic party', 'ind': 1, 'tostr': 'hop { nth_argmax { all_rows ; total elected 2001 ; 2 } ; party }'}, 'democratic party'], 'result': True, 'ind': 2, 'tostr': 'eq { hop { nth_argmax { all_rows ; total elected 2001 ; 2 } ; party } ; democratic party } = true', 'tointer': 'select the row whose total elected 2001 record of all rows is 2nd maximum . the party record of this row is democratic party .'}
eq { hop { nth_argmax { all_rows ; total elected 2001 ; 2 } ; party } ; democratic party } = true
select the row whose total elected 2001 record of all rows is 2nd maximum . the party record of this row is democratic party .
{'str_eq_2': 'str_eq', 'result_3': 'true', 'str_hop_1': 'str_hop', 'nth_argmax_0': 'nth_argmax', 'all_rows_4': 'all_rows', 'total elected 2001_5': 'total elected 2001', '2_6': '2', 'party_7': 'party', 'democratic party_8': 'democratic party'}
['party', 'pr seats', 'district seats', 'total elected 2001', 'total seats']
[['liberal democratic party', '20', '45', '65', '111'], ['democratic party', '8', '18', '26', '59'], ['new komeito party', '8', '5', '13', '23'], ['liberal party', '4', '2', '6', '8'], ['communist party', '4', '1', '5', '20'], ['social democratic party', '3', '0', '3', '8'], ['new conservative party', '1', '0', '1', '5'], ['others', '0', '2', '2', '2'], ['independents', '0', '0', '0', '4'], ['total', '48', '73', '121', '247']]