united states house of representatives elections , 2006
two of the incumbents from the us house of representatives were with the democratic party .
{'scope': 'all', 'criterion': 'equal', 'value': 'democratic', 'result': '2', 'col': '3', 'subset': None}
{'func': 'eq', 'args': [{'func': 'count', 'args': [{'func': 'filter_str_eq', 'args': ['all_rows', 'party', 'democratic'], 'result': None, 'ind': 0, 'tointer': 'select the rows whose party record fuzzily matches to democratic .', 'tostr': 'filter_eq { all_rows ; party ; democratic }'}], 'result': '2', 'ind': 1, 'tostr': 'count { filter_eq { all_rows ; party ; democratic } }', 'tointer': 'select the rows whose party record fuzzily matches to democratic . the number of such rows is 2 .'}, '2'], 'result': True, 'ind': 2, 'tostr': 'eq { count { filter_eq { all_rows ; party ; democratic } } ; 2 } = true', 'tointer': 'select the rows whose party record fuzzily matches to democratic . the number of such rows is 2 .'}
eq { count { filter_eq { all_rows ; party ; democratic } } ; 2 } = true
select the rows whose party record fuzzily matches to democratic . the number of such rows is 2 .
{'eq_2': 'eq', 'result_3': 'true', 'count_1': 'count', 'filter_str_eq_0': 'filter_str_eq', 'all_rows_4': 'all_rows', 'party_5': 'party', 'democratic_6': 'democratic', '2_7': '2'}
['district', 'incumbent', 'party', 'first elected', 'results']
[['indiana 1', 'pete visclosky', 'democratic', '1984', 're - elected'], ['indiana 2', 'chris chocola', 'republican', '2002', 'lost re - election democratic gain'], ['indiana 3', 'mark souder', 'republican', '1994', 're - elected'], ['indiana 4', 'steve buyer', 'republican', '1992', 're - elected'], ['indiana 5', 'dan burton', 'republican', '1982', 're - elected'], ['indiana 6', 'mike pence', 'republican', '2000', 're - elected'], ['indiana 7', 'julia carson', 'democratic', '1996', 're - elected'], ['indiana 8', 'john hostettler', 'republican', '1994', 'lost re - election democratic gain'], ['indiana 9', 'mike sodrel', 'republican', '2004', 'lost re - election democratic gain']]