frank kratovil
the 2010 us house , maryland 's 1st district election was the only one that andy harris won .
{'scope': 'all', 'row': '5', 'col': '4', 'col_other': '1,2', 'criterion': 'equal', 'value': 'andy harris', 'subset': None}
{'func': 'and', 'args': [{'func': 'only', 'args': [{'func': 'filter_str_eq', 'args': ['all_rows', 'subject', 'andy harris'], 'result': None, 'ind': 0, 'tointer': 'select the rows whose subject record fuzzily matches to andy harris .', 'tostr': 'filter_eq { all_rows ; subject ; andy harris }'}], 'result': True, 'ind': 1, 'tostr': 'only { filter_eq { all_rows ; subject ; andy harris } }', 'tointer': 'select the rows whose subject record fuzzily matches to andy harris . there is only one such row in the table .'}, {'func': 'and', 'args': [{'func': 'eq', 'args': [{'func': 'num_hop', 'args': [{'func': 'filter_str_eq', 'args': ['all_rows', 'subject', 'andy harris'], 'result': None, 'ind': 0, 'tointer': 'select the rows whose subject record fuzzily matches to andy harris .', 'tostr': 'filter_eq { all_rows ; subject ; andy harris }'}, 'year'], 'result': '2010', 'ind': 2, 'tostr': 'hop { filter_eq { all_rows ; subject ; andy harris } ; year }'}, '2010'], 'result': True, 'ind': 3, 'tostr': 'eq { hop { filter_eq { all_rows ; subject ; andy harris } ; year } ; 2010 }', 'tointer': 'the year record of this unqiue row is 2010 .'}, {'func': 'str_eq', 'args': [{'func': 'str_hop', 'args': [{'func': 'filter_str_eq', 'args': ['all_rows', 'subject', 'andy harris'], 'result': None, 'ind': 0, 'tointer': 'select the rows whose subject record fuzzily matches to andy harris .', 'tostr': 'filter_eq { all_rows ; subject ; andy harris }'}, 'office'], 'result': "us house , maryland 's 1st district", 'ind': 4, 'tostr': 'hop { filter_eq { all_rows ; subject ; andy harris } ; office }'}, "us house , maryland 's 1st district"], 'result': True, 'ind': 5, 'tostr': "eq { hop { filter_eq { all_rows ; subject ; andy harris } ; office } ; us house , maryland 's 1st district }", 'tointer': "the office record of this unqiue row is us house , maryland 's 1st district ."}], 'result': True, 'ind': 6, 'tostr': "and { eq { hop { filter_eq { all_rows ; subject ; andy harris } ; year } ; 2010 } ; eq { hop { filter_eq { all_rows ; subject ; andy harris } ; office } ; us house , maryland 's 1st district } }", 'tointer': "the year record of this unqiue row is 2010 . the office record of this unqiue row is us house , maryland 's 1st district ."}], 'result': True, 'ind': 7, 'tostr': "and { only { filter_eq { all_rows ; subject ; andy harris } } ; and { eq { hop { filter_eq { all_rows ; subject ; andy harris } ; year } ; 2010 } ; eq { hop { filter_eq { all_rows ; subject ; andy harris } ; office } ; us house , maryland 's 1st district } } } = true", 'tointer': "select the rows whose subject record fuzzily matches to andy harris . there is only one such row in the table . the year record of this unqiue row is 2010 . the office record of this unqiue row is us house , maryland 's 1st district ."}
and { only { filter_eq { all_rows ; subject ; andy harris } } ; and { eq { hop { filter_eq { all_rows ; subject ; andy harris } ; year } ; 2010 } ; eq { hop { filter_eq { all_rows ; subject ; andy harris } ; office } ; us house , maryland 's 1st district } } } = true
select the rows whose subject record fuzzily matches to andy harris . there is only one such row in the table . the year record of this unqiue row is 2010 . the office record of this unqiue row is us house , maryland 's 1st district .
{'and_7': 'and', 'result_8': 'true', 'only_1': 'only', 'filter_str_eq_0': 'filter_str_eq', 'all_rows_9': 'all_rows', 'subject_10': 'subject', 'andy harris_11': 'andy harris', 'and_6': 'and', 'eq_3': 'eq', 'num_hop_2': 'num_hop', 'year_12': 'year', '2010_13': '2010', 'str_eq_5': 'str_eq', 'str_hop_4': 'str_hop', 'office_14': 'office', "us house , maryland 's 1st district_15": "us house , maryland 's 1st district"}
['year', 'office', 'election', 'subject', 'party', 'votes']
[['2002', "queen anne 's county state 's attorney", 'general', 'frank kratovil', 'democratic', '9169'], ['2006', "queen anne 's county state 's attorney", 'general', 'frank kratovil', 'democratic', '13894'], ['2008', "us house , maryland 's 1st district", 'primary', 'frank kratovil', 'democratic', '28566'], ['2008', "us house , maryland 's 1st district", 'general', 'frank kratovil', 'democratic', '177065'], ['2010', "us house , maryland 's 1st district", 'general', 'andy harris', 'republican', '155118']]