united states house of representatives elections , 2006
sam graves has been in office 4 years longer than russ carnahan .
{'row_1': '6', 'row_2': '3', 'col': '4', 'col_other': '2', 'relation': 'diff', 'record_mentioned': 'no', 'diff_result': {'diff_value': '4', 'bigger': 'row2'}}
{'func': 'eq', 'args': [{'func': 'diff', 'args': [{'func': 'num_hop', 'args': [{'func': 'filter_str_eq', 'args': ['all_rows', 'incumbent', 'sam graves'], 'result': None, 'ind': 0, 'tointer': 'select the rows whose incumbent record fuzzily matches to sam graves .', 'tostr': 'filter_eq { all_rows ; incumbent ; sam graves }'}, 'first elected'], 'result': None, 'ind': 2, 'tostr': 'hop { filter_eq { all_rows ; incumbent ; sam graves } ; first elected }', 'tointer': 'select the rows whose incumbent record fuzzily matches to sam graves . take the first elected record of this row .'}, {'func': 'num_hop', 'args': [{'func': 'filter_str_eq', 'args': ['all_rows', 'incumbent', 'russ carnahan'], 'result': None, 'ind': 1, 'tointer': 'select the rows whose incumbent record fuzzily matches to russ carnahan .', 'tostr': 'filter_eq { all_rows ; incumbent ; russ carnahan }'}, 'first elected'], 'result': None, 'ind': 3, 'tostr': 'hop { filter_eq { all_rows ; incumbent ; russ carnahan } ; first elected }', 'tointer': 'select the rows whose incumbent record fuzzily matches to russ carnahan . take the first elected record of this row .'}], 'result': '-4', 'ind': 4, 'tostr': 'diff { hop { filter_eq { all_rows ; incumbent ; sam graves } ; first elected } ; hop { filter_eq { all_rows ; incumbent ; russ carnahan } ; first elected } }'}, '-4'], 'result': True, 'ind': 5, 'tostr': 'eq { diff { hop { filter_eq { all_rows ; incumbent ; sam graves } ; first elected } ; hop { filter_eq { all_rows ; incumbent ; russ carnahan } ; first elected } } ; -4 } = true', 'tointer': 'select the rows whose incumbent record fuzzily matches to sam graves . take the first elected record of this row . select the rows whose incumbent record fuzzily matches to russ carnahan . take the first elected record of this row . the second record is 4 larger than the first record .'}
eq { diff { hop { filter_eq { all_rows ; incumbent ; sam graves } ; first elected } ; hop { filter_eq { all_rows ; incumbent ; russ carnahan } ; first elected } } ; -4 } = true
select the rows whose incumbent record fuzzily matches to sam graves . take the first elected record of this row . select the rows whose incumbent record fuzzily matches to russ carnahan . take the first elected record of this row . the second record is 4 larger than the first record .
{'eq_5': 'eq', 'result_6': 'true', 'diff_4': 'diff', 'num_hop_2': 'num_hop', 'filter_str_eq_0': 'filter_str_eq', 'all_rows_7': 'all_rows', 'incumbent_8': 'incumbent', 'sam graves_9': 'sam graves', 'first elected_10': 'first elected', 'num_hop_3': 'num_hop', 'filter_str_eq_1': 'filter_str_eq', 'all_rows_11': 'all_rows', 'incumbent_12': 'incumbent', 'russ carnahan_13': 'russ carnahan', 'first elected_14': 'first elected', '-4_15': '-4'}
['district', 'incumbent', 'party', 'first elected', 'results']
[['missouri 1', 'william lacy clay jr', 'democratic', '2000', 're - elected'], ['missouri 2', 'todd akin', 'republican', '2000', 're - elected'], ['missouri 3', 'russ carnahan', 'democratic', '2004', 're - elected'], ['missouri 4', 'ike skelton', 'democratic', '1976', 're - elected'], ['missouri 5', 'emanuel cleaver', 'democratic', '2004', 're - elected'], ['missouri 6', 'sam graves', 'republican', '2000', 're - elected'], ['missouri 7', 'roy blunt', 'republican', '1996', 're - elected'], ['missouri 8', 'jo ann emerson', 'republican', '1996', 're - elected'], ['missouri 9', 'kenny hulshof', 'republican', '1996', 're - elected']]