texas 's 5th congressional district
pete sessions took office in the 5th district after jim mattox had been in office .
{'row_1': '17', 'row_2': '15', 'col': '2', 'col_other': '1', 'relation': 'greater', 'record_mentioned': 'no', 'diff_result': None}
{'func': 'greater', 'args': [{'func': 'str_hop', 'args': [{'func': 'filter_str_eq', 'args': ['all_rows', 'name', 'pete sessions'], 'result': None, 'ind': 0, 'tointer': 'select the rows whose name record fuzzily matches to pete sessions .', 'tostr': 'filter_eq { all_rows ; name ; pete sessions }'}, 'took office'], 'result': None, 'ind': 2, 'tostr': 'hop { filter_eq { all_rows ; name ; pete sessions } ; took office }', 'tointer': 'select the rows whose name record fuzzily matches to pete sessions . take the took office record of this row .'}, {'func': 'str_hop', 'args': [{'func': 'filter_str_eq', 'args': ['all_rows', 'name', 'jim mattox'], 'result': None, 'ind': 1, 'tointer': 'select the rows whose name record fuzzily matches to jim mattox .', 'tostr': 'filter_eq { all_rows ; name ; jim mattox }'}, 'took office'], 'result': None, 'ind': 3, 'tostr': 'hop { filter_eq { all_rows ; name ; jim mattox } ; took office }', 'tointer': 'select the rows whose name record fuzzily matches to jim mattox . take the took office record of this row .'}], 'result': True, 'ind': 4, 'tostr': 'greater { hop { filter_eq { all_rows ; name ; pete sessions } ; took office } ; hop { filter_eq { all_rows ; name ; jim mattox } ; took office } } = true', 'tointer': 'select the rows whose name record fuzzily matches to pete sessions . take the took office record of this row . select the rows whose name record fuzzily matches to jim mattox . take the took office record of this row . the first record is greater than the second record .'}
greater { hop { filter_eq { all_rows ; name ; pete sessions } ; took office } ; hop { filter_eq { all_rows ; name ; jim mattox } ; took office } } = true
select the rows whose name record fuzzily matches to pete sessions . take the took office record of this row . select the rows whose name record fuzzily matches to jim mattox . take the took office record of this row . the first record is greater than the second record .
{'greater_4': 'greater', 'result_5': 'true', 'str_hop_2': 'str_hop', 'filter_str_eq_0': 'filter_str_eq', 'all_rows_6': 'all_rows', 'name_7': 'name', 'pete sessions_8': 'pete sessions', 'took office_9': 'took office', 'str_hop_3': 'str_hop', 'filter_str_eq_1': 'filter_str_eq', 'all_rows_10': 'all_rows', 'name_11': 'name', 'jim mattox_12': 'jim mattox', 'took office_13': 'took office'}
['name', 'took office', 'left office', 'party', 'district residence']
[['district created march 4 , 1875', 'district created march 4 , 1875', 'district created march 4 , 1875', 'district created march 4 , 1875', 'district created march 4 , 1875'], ['john hancock', 'march 4 , 1875', 'march 3 , 1877', 'democrat', 'austin'], ['dewitt clinton giddings', 'march 4 , 1877', 'march 3 , 1879', 'democrat', 'brenham'], ['george washington jones', 'march 4 , 1879', 'march 3 , 1883', 'greenback', 'bastrop'], ['james w throckmorton', 'march 4 , 1883', 'march 3 , 1887', 'democrat', 'mckinney'], ['silas hare', 'march 4 , 1887', 'march 3 , 1891', 'democrat', 'sherman'], ['joseph w bailey', 'march 4 , 1891', 'march 3 , 1901', 'democrat', 'gainesville'], ['choice b randell', 'march 4 , 1901', 'march 3 , 1903', 'democrat', 'sherman'], ['james andrew beall', 'march 4 , 1903', 'march 3 , 1915', 'democrat', 'waxahachie'], ['hatton w sumners', 'march 4 , 1915', 'january 3 , 1947', 'democrat', 'dallas'], ['joseph franklin wilson', 'january 3 , 1947', 'january 3 , 1955', 'democrat', 'dallas'], ['bruce reynolds alger', 'january 3 , 1955', 'january 3 , 1965', 'republican', 'dallas'], ['earle cabell', 'january 3 , 1965', 'january 3 , 1973', 'democrat', 'dallas'], ['alan steelman', 'january 3 , 1973', 'january 3 , 1977', 'republican', 'dallas'], ['jim mattox', 'january 3 , 1977', 'january 3 , 1983', 'democrat', 'dallas'], ['john w bryant', 'january 3 , 1983', 'january 3 , 1997', 'democrat', 'dallas'], ['pete sessions', 'january 3 , 1997', 'january 3 , 2003', 'republican', 'dallas'], ['jeb hensarling', 'january 3 , 2003', 'present', 'republican', 'dallas']]