toronto , grey and bruce railway
caledon was the only one of the 0 - 6 - 6 - 0 fairlie type .
{'scope': 'all', 'row': '7', 'col': '4', 'col_other': '2', 'criterion': 'equal', 'value': '0 - 6 - 6 - 0 fairlie type', 'subset': None}
{'func': 'and', 'args': [{'func': 'only', 'args': [{'func': 'filter_str_eq', 'args': ['all_rows', 'type', '0 - 6 - 6 - 0 fairlie type'], 'result': None, 'ind': 0, 'tointer': 'select the rows whose type record fuzzily matches to 0 - 6 - 6 - 0 fairlie type .', 'tostr': 'filter_eq { all_rows ; type ; 0 - 6 - 6 - 0 fairlie type }'}], 'result': True, 'ind': 1, 'tostr': 'only { filter_eq { all_rows ; type ; 0 - 6 - 6 - 0 fairlie type } }', 'tointer': 'select the rows whose type record fuzzily matches to 0 - 6 - 6 - 0 fairlie type . there is only one such row in the table .'}, {'func': 'str_eq', 'args': [{'func': 'str_hop', 'args': [{'func': 'filter_str_eq', 'args': ['all_rows', 'type', '0 - 6 - 6 - 0 fairlie type'], 'result': None, 'ind': 0, 'tointer': 'select the rows whose type record fuzzily matches to 0 - 6 - 6 - 0 fairlie type .', 'tostr': 'filter_eq { all_rows ; type ; 0 - 6 - 6 - 0 fairlie type }'}, 'name'], 'result': 'caledon', 'ind': 2, 'tostr': 'hop { filter_eq { all_rows ; type ; 0 - 6 - 6 - 0 fairlie type } ; name }'}, 'caledon'], 'result': True, 'ind': 3, 'tostr': 'eq { hop { filter_eq { all_rows ; type ; 0 - 6 - 6 - 0 fairlie type } ; name } ; caledon }', 'tointer': 'the name record of this unqiue row is caledon .'}], 'result': True, 'ind': 4, 'tostr': 'and { only { filter_eq { all_rows ; type ; 0 - 6 - 6 - 0 fairlie type } } ; eq { hop { filter_eq { all_rows ; type ; 0 - 6 - 6 - 0 fairlie type } ; name } ; caledon } } = true', 'tointer': 'select the rows whose type record fuzzily matches to 0 - 6 - 6 - 0 fairlie type . there is only one such row in the table . the name record of this unqiue row is caledon .'}
and { only { filter_eq { all_rows ; type ; 0 - 6 - 6 - 0 fairlie type } } ; eq { hop { filter_eq { all_rows ; type ; 0 - 6 - 6 - 0 fairlie type } ; name } ; caledon } } = true
select the rows whose type record fuzzily matches to 0 - 6 - 6 - 0 fairlie type . there is only one such row in the table . the name record of this unqiue row is caledon .
{'and_4': 'and', 'result_5': 'true', 'only_1': 'only', 'filter_str_eq_0': 'filter_str_eq', 'all_rows_6': 'all_rows', 'type_7': 'type', '0 - 6 - 6 - 0 fairlie type_8': '0 - 6 - 6 - 0 fairlie type', 'str_eq_3': 'str_eq', 'str_hop_2': 'str_hop', 'name_9': 'name', 'caledon_10': 'caledon'}
['number', 'name', 'builder', 'type', 'date', 'works number']
[['1', 'gordon', 'avonside engine company', '4 - 6 - 0', 'aug 1870', '799'], ['2', 'ar mcmaster', 'avonside engine company', '4 - 4 - 0', 'aug 1870', '800'], ['3', 'kincardine', 'avonside engine company', '4 - 4 - 0', 'september 1870', '809'], ['4', 'r walker & sons', 'avonside engine company', '4 - 4 - 0', 'may 1871', '838'], ['5', 'albion', 'avonside engine company', '4 - 4 - 0', 'july 1871', '839'], ['6', 'rice lewis & son', 'avonside engine company', '4 - 4 - 0', 'mid 1871', '840'], ['7', 'caledon', 'avonside engine company', '0 - 6 - 6 - 0 fairlie type', 'late 1872', '862 & 863'], ['8', 'mono', 'avonside engine company', '4 - 6 - 0', 'late 1871', '866'], ['9', 'toronto', 'baldwin locomotive works', '2 - 6 - 0', 'september 1871', '2534'], ['10', 'amaranth', 'baldwin locomotive works', '2 - 6 - 0', 'september 1871', '2538'], ['11', 'holland', 'avonside engine company', '4 - 6 - 0', 'early 1873', 'one of 935 - 939'], ['12', 'sydenham', 'avonside engine company', '4 - 6 - 0', 'early 1873', 'one of 935 - 939'], ['13', 'artemisia', 'avonside engine company', '4 - 6 - 0', 'early 1873', 'one of 935 - 939'], ['14', 'owen sound', 'avonside engine company', '4 - 6 - 0', 'early 1873', 'one of 931932933 , or 934'], ['15', 'mount forest', 'baldwin locomotive works', '2 - 8 - 0', 'february 1874', '3524'], ['16', 'orangeville', 'baldwin locomotive works', '2 - 8 - 0', 'february 1874', '3525'], ['17', 'sarawak', 'baldwin locomotive works', '2 - 8 - 0', 'april 1874', '3551'], ['18', 'melancthon', 'baldwin locomotive works', '2 - 8 - 0', 'april 1874', '3552'], ['19', 'howick', 'baldwin locomotive works', '2 - 8 - 0', 'september 1874', '3636'], ['20', 'culross', 'baldwin locomotive works', '2 - 8 - 0', 'september 1874', '3640']]