united states house of representatives elections , 1954
of the incumbent who were were first elected before 1940 in the 1954 united states house of representatives elections , two of them were elected .
{'scope': 'subset', 'criterion': 'fuzzily_match', 'value': 'elected', 'result': '2', 'col': '5', 'subset': {'col': '4', 'criterion': 'less_than', 'value': '1940'}}
{'func': 'eq', 'args': [{'func': 'count', 'args': [{'func': 'filter_str_eq', 'args': [{'func': 'filter_less', 'args': ['all_rows', 'first elected', '1940'], 'result': None, 'ind': 0, 'tostr': 'filter_less { all_rows ; first elected ; 1940 }', 'tointer': 'select the rows whose first elected record is less than 1940 .'}, 'result', 'elected'], 'result': None, 'ind': 1, 'tointer': 'select the rows whose first elected record is less than 1940 . among these rows , select the rows whose result record fuzzily matches to elected .', 'tostr': 'filter_eq { filter_less { all_rows ; first elected ; 1940 } ; result ; elected }'}], 'result': '2', 'ind': 2, 'tostr': 'count { filter_eq { filter_less { all_rows ; first elected ; 1940 } ; result ; elected } }', 'tointer': 'select the rows whose first elected record is less than 1940 . among these rows , select the rows whose result record fuzzily matches to elected . the number of such rows is 2 .'}, '2'], 'result': True, 'ind': 3, 'tostr': 'eq { count { filter_eq { filter_less { all_rows ; first elected ; 1940 } ; result ; elected } } ; 2 } = true', 'tointer': 'select the rows whose first elected record is less than 1940 . among these rows , select the rows whose result record fuzzily matches to elected . the number of such rows is 2 .'}
eq { count { filter_eq { filter_less { all_rows ; first elected ; 1940 } ; result ; elected } } ; 2 } = true
select the rows whose first elected record is less than 1940 . among these rows , select the rows whose result record fuzzily matches to elected . the number of such rows is 2 .
{'eq_3': 'eq', 'result_4': 'true', 'count_2': 'count', 'filter_str_eq_1': 'filter_str_eq', 'filter_less_0': 'filter_less', 'all_rows_5': 'all_rows', 'first elected_6': 'first elected', '1940_7': '1940', 'result_8': 'result', 'elected_9': 'elected', '2_10': '2'}
['district', 'incumbent', 'party', 'first elected', 'result', 'candidates']
[['arkansas 1', 'ezekiel c gathings', 'democratic', '1938', 're - elected', 'ezekiel c gathings ( d ) unopposed'], ['arkansas 2', 'wilbur mills', 'democratic', '1938', 're - elected', 'wilbur mills ( d ) unopposed'], ['arkansas 3', 'james william trimble', 'democratic', '1944', 're - elected', 'james william trimble ( d ) unopposed'], ['arkansas 4', 'oren harris', 'democratic', '1940', 're - elected', 'oren harris ( d ) unopposed'], ['arkansas 5', 'brooks hays', 'democratic', '1942', 're - elected', 'brooks hays ( d ) unopposed']]