united states house of representatives elections , 1888
both william h. perry and william elliot , who ran in the 1888 united states house of representatives elections were first seated in the year 1884 .
{'row_1': '4', 'row_2': '7', 'col': '4', 'col_other': '2', 'relation': 'equal', 'record_mentioned': 'yes', 'diff_result': None}
{'func': 'and', 'args': [{'func': 'eq', 'args': [{'func': 'num_hop', 'args': [{'func': 'filter_str_eq', 'args': ['all_rows', 'incumbent', 'william h perry'], 'result': None, 'ind': 0, 'tointer': 'select the rows whose incumbent record fuzzily matches to william h perry .', 'tostr': 'filter_eq { all_rows ; incumbent ; william h perry }'}, 'first elected'], 'result': None, 'ind': 2, 'tostr': 'hop { filter_eq { all_rows ; incumbent ; william h perry } ; first elected }', 'tointer': 'select the rows whose incumbent record fuzzily matches to william h perry . take the first elected record of this row .'}, {'func': 'num_hop', 'args': [{'func': 'filter_str_eq', 'args': ['all_rows', 'incumbent', 'william elliott'], 'result': None, 'ind': 1, 'tointer': 'select the rows whose incumbent record fuzzily matches to william elliott .', 'tostr': 'filter_eq { all_rows ; incumbent ; william elliott }'}, 'first elected'], 'result': None, 'ind': 3, 'tostr': 'hop { filter_eq { all_rows ; incumbent ; william elliott } ; first elected }', 'tointer': 'select the rows whose incumbent record fuzzily matches to william elliott . take the first elected record of this row .'}], 'result': True, 'ind': 4, 'tostr': 'eq { hop { filter_eq { all_rows ; incumbent ; william h perry } ; first elected } ; hop { filter_eq { all_rows ; incumbent ; william elliott } ; first elected } }', 'tointer': 'select the rows whose incumbent record fuzzily matches to william h perry . take the first elected record of this row . select the rows whose incumbent record fuzzily matches to william elliott . take the first elected record of this row . the first record is equal to the second record .'}, {'func': 'and', 'args': [{'func': 'eq', 'args': [{'func': 'num_hop', 'args': [{'func': 'filter_str_eq', 'args': ['all_rows', 'incumbent', 'william h perry'], 'result': None, 'ind': 0, 'tointer': 'select the rows whose incumbent record fuzzily matches to william h perry .', 'tostr': 'filter_eq { all_rows ; incumbent ; william h perry }'}, 'first elected'], 'result': None, 'ind': 2, 'tostr': 'hop { filter_eq { all_rows ; incumbent ; william h perry } ; first elected }', 'tointer': 'select the rows whose incumbent record fuzzily matches to william h perry . take the first elected record of this row .'}, '1884'], 'result': True, 'ind': 5, 'tostr': 'eq { hop { filter_eq { all_rows ; incumbent ; william h perry } ; first elected } ; 1884 }', 'tointer': 'the first elected record of the first row is 1884 .'}, {'func': 'eq', 'args': [{'func': 'num_hop', 'args': [{'func': 'filter_str_eq', 'args': ['all_rows', 'incumbent', 'william elliott'], 'result': None, 'ind': 1, 'tointer': 'select the rows whose incumbent record fuzzily matches to william elliott .', 'tostr': 'filter_eq { all_rows ; incumbent ; william elliott }'}, 'first elected'], 'result': None, 'ind': 3, 'tostr': 'hop { filter_eq { all_rows ; incumbent ; william elliott } ; first elected }', 'tointer': 'select the rows whose incumbent record fuzzily matches to william elliott . take the first elected record of this row .'}, '1884'], 'result': True, 'ind': 6, 'tostr': 'eq { hop { filter_eq { all_rows ; incumbent ; william elliott } ; first elected } ; 1884 }', 'tointer': 'the first elected record of the second row is 1884 .'}], 'result': True, 'ind': 7, 'tostr': 'and { eq { hop { filter_eq { all_rows ; incumbent ; william h perry } ; first elected } ; 1884 } ; eq { hop { filter_eq { all_rows ; incumbent ; william elliott } ; first elected } ; 1884 } }', 'tointer': 'the first elected record of the first row is 1884 . the first elected record of the second row is 1884 .'}], 'result': True, 'ind': 8, 'tostr': 'and { eq { hop { filter_eq { all_rows ; incumbent ; william h perry } ; first elected } ; hop { filter_eq { all_rows ; incumbent ; william elliott } ; first elected } } ; and { eq { hop { filter_eq { all_rows ; incumbent ; william h perry } ; first elected } ; 1884 } ; eq { hop { filter_eq { all_rows ; incumbent ; william elliott } ; first elected } ; 1884 } } } = true', 'tointer': 'select the rows whose incumbent record fuzzily matches to william h perry . take the first elected record of this row . select the rows whose incumbent record fuzzily matches to william elliott . take the first elected record of this row . the first record is equal to the second record . the first elected record of the first row is 1884 . the first elected record of the second row is 1884 .'}
and { eq { hop { filter_eq { all_rows ; incumbent ; william h perry } ; first elected } ; hop { filter_eq { all_rows ; incumbent ; william elliott } ; first elected } } ; and { eq { hop { filter_eq { all_rows ; incumbent ; william h perry } ; first elected } ; 1884 } ; eq { hop { filter_eq { all_rows ; incumbent ; william elliott } ; first elected } ; 1884 } } } = true
select the rows whose incumbent record fuzzily matches to william h perry . take the first elected record of this row . select the rows whose incumbent record fuzzily matches to william elliott . take the first elected record of this row . the first record is equal to the second record . the first elected record of the first row is 1884 . the first elected record of the second row is 1884 .
{'and_8': 'and', 'result_9': 'true', 'eq_4': 'eq', 'num_hop_2': 'num_hop', 'filter_str_eq_0': 'filter_str_eq', 'all_rows_10': 'all_rows', 'incumbent_11': 'incumbent', 'william h perry_12': 'william h perry', 'first elected_13': 'first elected', 'num_hop_3': 'num_hop', 'filter_str_eq_1': 'filter_str_eq', 'all_rows_14': 'all_rows', 'incumbent_15': 'incumbent', 'william elliott_16': 'william elliott', 'first elected_17': 'first elected', 'and_7': 'and', 'eq_5': 'eq', '1884_18': '1884', 'eq_6': 'eq', '1884_19': '1884'}
['district', 'incumbent', 'party', 'first elected', 'result']
[['south carolina 1', 'samuel dibble', 'democratic', '1882', 're - elected'], ['south carolina 2', 'george d tillman', 'democratic', '1878', 're - elected'], ['south carolina 3', 'james s cothran', 'democratic', '1886', 're - elected'], ['south carolina 4', 'william h perry', 'democratic', '1884', 're - elected'], ['south carolina 5', 'john j hemphill', 'democratic', '1882', 're - elected'], ['south carolina 6', 'george w dargan', 'democratic', '1882', 're - elected'], ['south carolina 7', 'william elliott', 'democratic', '1884', 're - elected']]