united states house of representatives elections , 2000
of the ones with the party republican , the only one with the results of retired republican hold had the incumbent of mark sanford .
{'scope': 'subset', 'row': '1', 'col': '5', 'col_other': '2,3', 'criterion': 'equal', 'value': 'retired republican hold', 'subset': {'col': '3', 'criterion': 'equal', 'value': 'republican'}}
{'func': 'and', 'args': [{'func': 'only', 'args': [{'func': 'filter_str_eq', 'args': [{'func': 'filter_str_eq', 'args': ['all_rows', 'party', 'republican'], 'result': None, 'ind': 0, 'tostr': 'filter_eq { all_rows ; party ; republican }', 'tointer': 'select the rows whose party record fuzzily matches to republican .'}, 'results', 'retired republican hold'], 'result': None, 'ind': 1, 'tointer': 'select the rows whose party record fuzzily matches to republican . among these rows , select the rows whose results record fuzzily matches to retired republican hold .', 'tostr': 'filter_eq { filter_eq { all_rows ; party ; republican } ; results ; retired republican hold }'}], 'result': True, 'ind': 2, 'tostr': 'only { filter_eq { filter_eq { all_rows ; party ; republican } ; results ; retired republican hold } }', 'tointer': 'select the rows whose party record fuzzily matches to republican . among these rows , select the rows whose results record fuzzily matches to retired republican hold . there is only one such row in the table .'}, {'func': 'str_eq', 'args': [{'func': 'str_hop', 'args': [{'func': 'filter_str_eq', 'args': [{'func': 'filter_str_eq', 'args': ['all_rows', 'party', 'republican'], 'result': None, 'ind': 0, 'tostr': 'filter_eq { all_rows ; party ; republican }', 'tointer': 'select the rows whose party record fuzzily matches to republican .'}, 'results', 'retired republican hold'], 'result': None, 'ind': 1, 'tointer': 'select the rows whose party record fuzzily matches to republican . among these rows , select the rows whose results record fuzzily matches to retired republican hold .', 'tostr': 'filter_eq { filter_eq { all_rows ; party ; republican } ; results ; retired republican hold }'}, 'incumbent'], 'result': 'mark sanford', 'ind': 3, 'tostr': 'hop { filter_eq { filter_eq { all_rows ; party ; republican } ; results ; retired republican hold } ; incumbent }'}, 'mark sanford'], 'result': True, 'ind': 4, 'tostr': 'eq { hop { filter_eq { filter_eq { all_rows ; party ; republican } ; results ; retired republican hold } ; incumbent } ; mark sanford }', 'tointer': 'the incumbent record of this unqiue row is mark sanford .'}], 'result': True, 'ind': 5, 'tostr': 'and { only { filter_eq { filter_eq { all_rows ; party ; republican } ; results ; retired republican hold } } ; eq { hop { filter_eq { filter_eq { all_rows ; party ; republican } ; results ; retired republican hold } ; incumbent } ; mark sanford } } = true', 'tointer': 'select the rows whose party record fuzzily matches to republican . among these rows , select the rows whose results record fuzzily matches to retired republican hold . there is only one such row in the table . the incumbent record of this unqiue row is mark sanford .'}
and { only { filter_eq { filter_eq { all_rows ; party ; republican } ; results ; retired republican hold } } ; eq { hop { filter_eq { filter_eq { all_rows ; party ; republican } ; results ; retired republican hold } ; incumbent } ; mark sanford } } = true
select the rows whose party record fuzzily matches to republican . among these rows , select the rows whose results record fuzzily matches to retired republican hold . there is only one such row in the table . the incumbent record of this unqiue row is mark sanford .
{'and_5': 'and', 'result_6': 'true', 'only_2': 'only', 'filter_str_eq_1': 'filter_str_eq', 'filter_str_eq_0': 'filter_str_eq', 'all_rows_7': 'all_rows', 'party_8': 'party', 'republican_9': 'republican', 'results_10': 'results', 'retired  republican hold_11': 'retired republican hold', 'str_eq_4': 'str_eq', 'str_hop_3': 'str_hop', 'incumbent_12': 'incumbent', 'mark sanford_13': 'mark sanford'}
['district', 'incumbent', 'party', 'first elected', 'results', 'candidates']
[['south carolina 1', 'mark sanford', 'republican', '1994', 'retired republican hold', 'henry brown ( r ) 60 % andy brack ( d ) 36 %'], ['south carolina 2', 'floyd spence', 'republican', '1970', 're - elected', 'floyd spence ( r ) 58 % jane frederick ( d ) 41 %'], ['south carolina 3', 'lindsey graham', 'republican', '1994', 're - elected', 'lindsey graham ( r ) 68 % george brightharp ( d ) 31 %'], ['south carolina 4', 'jim demint', 'republican', '1998', 're - elected', 'jim demint ( r ) 80 %'], ['south carolina 5', 'john spratt', 'democratic', '1982', 're - elected', 'john spratt ( d ) 59 % carl gullick ( r ) 40 %']]