equestrian at the 1980 summer olympics
for equestrian at the 1980 summer olympics , of the countries that won gold medals , the only one with 2 bronze medals is the soviet union .
{'scope': 'subset', 'row': '1', 'col': '5', 'col_other': '2', 'criterion': 'equal', 'value': '2', 'subset': {'col': '3', 'criterion': 'greater_than', 'value': '0'}}
{'func': 'and', 'args': [{'func': 'only', 'args': [{'func': 'filter_eq', 'args': [{'func': 'filter_greater', 'args': ['all_rows', 'gold', '0'], 'result': None, 'ind': 0, 'tostr': 'filter_greater { all_rows ; gold ; 0 }', 'tointer': 'select the rows whose gold record is greater than 0 .'}, 'bronze', '2'], 'result': None, 'ind': 1, 'tointer': 'select the rows whose gold record is greater than 0 . among these rows , select the rows whose bronze record is equal to 2 .', 'tostr': 'filter_eq { filter_greater { all_rows ; gold ; 0 } ; bronze ; 2 }'}], 'result': True, 'ind': 2, 'tostr': 'only { filter_eq { filter_greater { all_rows ; gold ; 0 } ; bronze ; 2 } }', 'tointer': 'select the rows whose gold record is greater than 0 . among these rows , select the rows whose bronze record is equal to 2 . there is only one such row in the table .'}, {'func': 'str_eq', 'args': [{'func': 'str_hop', 'args': [{'func': 'filter_eq', 'args': [{'func': 'filter_greater', 'args': ['all_rows', 'gold', '0'], 'result': None, 'ind': 0, 'tostr': 'filter_greater { all_rows ; gold ; 0 }', 'tointer': 'select the rows whose gold record is greater than 0 .'}, 'bronze', '2'], 'result': None, 'ind': 1, 'tointer': 'select the rows whose gold record is greater than 0 . among these rows , select the rows whose bronze record is equal to 2 .', 'tostr': 'filter_eq { filter_greater { all_rows ; gold ; 0 } ; bronze ; 2 }'}, 'nation'], 'result': 'soviet union ( urs )', 'ind': 3, 'tostr': 'hop { filter_eq { filter_greater { all_rows ; gold ; 0 } ; bronze ; 2 } ; nation }'}, 'soviet union ( urs )'], 'result': True, 'ind': 4, 'tostr': 'eq { hop { filter_eq { filter_greater { all_rows ; gold ; 0 } ; bronze ; 2 } ; nation } ; soviet union ( urs ) }', 'tointer': 'the nation record of this unqiue row is soviet union ( urs ) .'}], 'result': True, 'ind': 5, 'tostr': 'and { only { filter_eq { filter_greater { all_rows ; gold ; 0 } ; bronze ; 2 } } ; eq { hop { filter_eq { filter_greater { all_rows ; gold ; 0 } ; bronze ; 2 } ; nation } ; soviet union ( urs ) } } = true', 'tointer': 'select the rows whose gold record is greater than 0 . among these rows , select the rows whose bronze record is equal to 2 . there is only one such row in the table . the nation record of this unqiue row is soviet union ( urs ) .'}
and { only { filter_eq { filter_greater { all_rows ; gold ; 0 } ; bronze ; 2 } } ; eq { hop { filter_eq { filter_greater { all_rows ; gold ; 0 } ; bronze ; 2 } ; nation } ; soviet union ( urs ) } } = true
select the rows whose gold record is greater than 0 . among these rows , select the rows whose bronze record is equal to 2 . there is only one such row in the table . the nation record of this unqiue row is soviet union ( urs ) .
{'and_5': 'and', 'result_6': 'true', 'only_2': 'only', 'filter_eq_1': 'filter_eq', 'filter_greater_0': 'filter_greater', 'all_rows_7': 'all_rows', 'gold_8': 'gold', '0_9': '0', 'bronze_10': 'bronze', '2_11': '2', 'str_eq_4': 'str_eq', 'str_hop_3': 'str_hop', 'nation_12': 'nation', 'soviet union (urs)_13': 'soviet union ( urs )'}
['rank', 'nation', 'gold', 'silver', 'bronze', 'total']
[['1', 'soviet union ( urs )', '3', '3', '2', '8'], ['2', 'italy ( ita )', '1', '1', '0', '2'], ['2', 'poland ( pol )', '1', '1', '0', '2'], ['4', 'austria ( aut )', '1', '0', '0', '1'], ['5', 'bulgaria ( bul )', '0', '1', '0', '1'], ['6', 'mexico ( mex )', '0', '0', '3', '3'], ['7', 'romania ( rou )', '0', '0', '1', '1']]