united states house of representatives elections , 1804
matthew clay was first elected before john w. epps was first elected .
{'row_1': '10', 'row_2': '12', 'col': '4', 'col_other': '2', 'relation': 'less', 'record_mentioned': 'no', 'diff_result': None}
{'func': 'less', 'args': [{'func': 'num_hop', 'args': [{'func': 'filter_str_eq', 'args': ['all_rows', 'incumbent', 'matthew clay'], 'result': None, 'ind': 0, 'tointer': 'select the rows whose incumbent record fuzzily matches to matthew clay .', 'tostr': 'filter_eq { all_rows ; incumbent ; matthew clay }'}, 'first elected'], 'result': None, 'ind': 2, 'tostr': 'hop { filter_eq { all_rows ; incumbent ; matthew clay } ; first elected }', 'tointer': 'select the rows whose incumbent record fuzzily matches to matthew clay . take the first elected record of this row .'}, {'func': 'num_hop', 'args': [{'func': 'filter_str_eq', 'args': ['all_rows', 'incumbent', 'john w eppes'], 'result': None, 'ind': 1, 'tointer': 'select the rows whose incumbent record fuzzily matches to john w eppes .', 'tostr': 'filter_eq { all_rows ; incumbent ; john w eppes }'}, 'first elected'], 'result': None, 'ind': 3, 'tostr': 'hop { filter_eq { all_rows ; incumbent ; john w eppes } ; first elected }', 'tointer': 'select the rows whose incumbent record fuzzily matches to john w eppes . take the first elected record of this row .'}], 'result': True, 'ind': 4, 'tostr': 'less { hop { filter_eq { all_rows ; incumbent ; matthew clay } ; first elected } ; hop { filter_eq { all_rows ; incumbent ; john w eppes } ; first elected } } = true', 'tointer': 'select the rows whose incumbent record fuzzily matches to matthew clay . take the first elected record of this row . select the rows whose incumbent record fuzzily matches to john w eppes . take the first elected record of this row . the first record is less than the second record .'}
less { hop { filter_eq { all_rows ; incumbent ; matthew clay } ; first elected } ; hop { filter_eq { all_rows ; incumbent ; john w eppes } ; first elected } } = true
select the rows whose incumbent record fuzzily matches to matthew clay . take the first elected record of this row . select the rows whose incumbent record fuzzily matches to john w eppes . take the first elected record of this row . the first record is less than the second record .
{'less_4': 'less', 'result_5': 'true', 'num_hop_2': 'num_hop', 'filter_str_eq_0': 'filter_str_eq', 'all_rows_6': 'all_rows', 'incumbent_7': 'incumbent', 'matthew clay_8': 'matthew clay', 'first elected_9': 'first elected', 'num_hop_3': 'num_hop', 'filter_str_eq_1': 'filter_str_eq', 'all_rows_10': 'all_rows', 'incumbent_11': 'incumbent', 'john w eppes_12': 'john w eppes', 'first elected_13': 'first elected'}
['district', 'incumbent', 'party', 'first elected', 'result', 'candidates']
[['virginia 1', 'john g jackson', 'democratic - republican', '1803', 're - elected', 'john g jackson ( dr ) 57.2 % thomas wilson ( f ) 42.8 %'], ['virginia 2', 'james stephenson', 'federalist', '1803', 'lost re - election democratic - republican gain', 'john morrow ( dr ) james stephenson ( f )'], ['virginia 3', 'john smith', 'democratic - republican', '1801', 're - elected', 'john smith ( dr )'], ['virginia 4', 'david holmes', 'democratic - republican', '1797', 're - elected', 'david holmes ( dr )'], ['virginia 6', 'abram trigg', 'democratic - republican', '1797', 're - elected', 'abram trigg ( dr )'], ['virginia 8', 'walter jones', 'democratic - republican', '1803', 're - elected', 'walter jones ( dr ) 99.0 % henry lee ( f ) 1.0 %'], ['virginia 9', 'philip r thompson', 'democratic - republican', '1793', 're - elected', 'philip r thompson ( dr )'], ['virginia 10', 'john dawson', 'democratic - republican', '1797', 're - elected', 'john dawson ( dr ) 66.2 % james barbour ( quid ) 33.8 %'], ['virginia 13', 'christopher h clark', 'democratic - republican', '1804 ( special )', 're - elected', 'christopher h clark ( dr )'], ['virginia 14', 'matthew clay', 'democratic - republican', '1797', 're - elected', 'matthew clay ( dr ) 88.9 % william lewis ( f ) 11.1 %'], ['virginia 15', 'john randolph', 'democratic - republican', '1799', 're - elected', 'john randolph ( dr )'], ['virginia 16', 'john w eppes', 'democratic - republican', '1803', 're - elected', 'john w eppes ( dr )'], ['virginia 18', 'peterson goodwyn', 'democratic - republican', '1803', 're - elected', 'peterson goodwyn ( dr )'], ['virginia 19', 'edwin gray', 'democratic - republican', '1799', 're - elected', 'edwin gray ( dr )'], ['virginia 20', 'thomas newton , jr', 'democratic - republican', '1799', 're - elected', 'thomas newton , jr ( dr ) 100 %']]