gymnastics at the 2007 pan american games
brazil is the only team to win 7 gold medals in gymnastics at the 2007 pan american games .
{'scope': 'all', 'row': '2', 'col': '2', 'col_other': '1', 'criterion': 'equal', 'value': '7', 'subset': None}
{'func': 'and', 'args': [{'func': 'only', 'args': [{'func': 'filter_eq', 'args': ['all_rows', 'gold', '7'], 'result': None, 'ind': 0, 'tointer': 'select the rows whose gold record is equal to 7 .', 'tostr': 'filter_eq { all_rows ; gold ; 7 }'}], 'result': True, 'ind': 1, 'tostr': 'only { filter_eq { all_rows ; gold ; 7 } }', 'tointer': 'select the rows whose gold record is equal to 7 . there is only one such row in the table .'}, {'func': 'str_eq', 'args': [{'func': 'str_hop', 'args': [{'func': 'filter_eq', 'args': ['all_rows', 'gold', '7'], 'result': None, 'ind': 0, 'tointer': 'select the rows whose gold record is equal to 7 .', 'tostr': 'filter_eq { all_rows ; gold ; 7 }'}, 'nation'], 'result': 'brazil ( bra )', 'ind': 2, 'tostr': 'hop { filter_eq { all_rows ; gold ; 7 } ; nation }'}, 'brazil ( bra )'], 'result': True, 'ind': 3, 'tostr': 'eq { hop { filter_eq { all_rows ; gold ; 7 } ; nation } ; brazil ( bra ) }', 'tointer': 'the nation record of this unqiue row is brazil ( bra ) .'}], 'result': True, 'ind': 4, 'tostr': 'and { only { filter_eq { all_rows ; gold ; 7 } } ; eq { hop { filter_eq { all_rows ; gold ; 7 } ; nation } ; brazil ( bra ) } } = true', 'tointer': 'select the rows whose gold record is equal to 7 . there is only one such row in the table . the nation record of this unqiue row is brazil ( bra ) .'}
and { only { filter_eq { all_rows ; gold ; 7 } } ; eq { hop { filter_eq { all_rows ; gold ; 7 } ; nation } ; brazil ( bra ) } } = true
select the rows whose gold record is equal to 7 . there is only one such row in the table . the nation record of this unqiue row is brazil ( bra ) .
{'and_4': 'and', 'result_5': 'true', 'only_1': 'only', 'filter_eq_0': 'filter_eq', 'all_rows_6': 'all_rows', 'gold_7': 'gold', '7_8': '7', 'str_eq_3': 'str_eq', 'str_hop_2': 'str_hop', 'nation_9': 'nation', 'brazil (bra)_10': 'brazil ( bra )'}
['nation', 'gold', 'silver', 'bronze', 'total']
[['united states ( usa )', '9', '10', '4', '23'], ['brazil ( bra )', '7', '2', '7', '16'], ['canada ( can )', '4', '2', '3', '9'], ['venezuela ( ven )', '3', '0', '1', '4'], ['puerto rico ( pur )', '2', '0', '3', '5'], ['colombia ( col )', '0', '3', '0', '3'], ['cuba ( cub )', '0', '3', '0', '3'], ['mexico ( mex )', '0', '2', '5', '7'], ['chile ( chi )', '0', '1', '1', '2'], ['total', '25', '23', '24', '72']]