locomotives of the great western railway
0 - 8 - 2t is the only type of great western railway locomotive manufactured by cooke locomotive & machine works .
{'scope': 'all', 'row': '7', 'col': '1', 'col_other': '2', 'criterion': 'equal', 'value': 'cooke locomotive & machine works', 'subset': None}
{'func': 'and', 'args': [{'func': 'only', 'args': [{'func': 'filter_str_eq', 'args': ['all_rows', 'manufacturer', 'cooke locomotive & machine works'], 'result': None, 'ind': 0, 'tointer': 'select the rows whose manufacturer record fuzzily matches to cooke locomotive & machine works .', 'tostr': 'filter_eq { all_rows ; manufacturer ; cooke locomotive & machine works }'}], 'result': True, 'ind': 1, 'tostr': 'only { filter_eq { all_rows ; manufacturer ; cooke locomotive & machine works } }', 'tointer': 'select the rows whose manufacturer record fuzzily matches to cooke locomotive & machine works . there is only one such row in the table .'}, {'func': 'str_eq', 'args': [{'func': 'str_hop', 'args': [{'func': 'filter_str_eq', 'args': ['all_rows', 'manufacturer', 'cooke locomotive & machine works'], 'result': None, 'ind': 0, 'tointer': 'select the rows whose manufacturer record fuzzily matches to cooke locomotive & machine works .', 'tostr': 'filter_eq { all_rows ; manufacturer ; cooke locomotive & machine works }'}, 'type'], 'result': '0 - 8 - 2t', 'ind': 2, 'tostr': 'hop { filter_eq { all_rows ; manufacturer ; cooke locomotive & machine works } ; type }'}, '0 - 8 - 2t'], 'result': True, 'ind': 3, 'tostr': 'eq { hop { filter_eq { all_rows ; manufacturer ; cooke locomotive & machine works } ; type } ; 0 - 8 - 2t }', 'tointer': 'the type record of this unqiue row is 0 - 8 - 2t .'}], 'result': True, 'ind': 4, 'tostr': 'and { only { filter_eq { all_rows ; manufacturer ; cooke locomotive & machine works } } ; eq { hop { filter_eq { all_rows ; manufacturer ; cooke locomotive & machine works } ; type } ; 0 - 8 - 2t } } = true', 'tointer': 'select the rows whose manufacturer record fuzzily matches to cooke locomotive & machine works . there is only one such row in the table . the type record of this unqiue row is 0 - 8 - 2t .'}
and { only { filter_eq { all_rows ; manufacturer ; cooke locomotive & machine works } } ; eq { hop { filter_eq { all_rows ; manufacturer ; cooke locomotive & machine works } ; type } ; 0 - 8 - 2t } } = true
select the rows whose manufacturer record fuzzily matches to cooke locomotive & machine works . there is only one such row in the table . the type record of this unqiue row is 0 - 8 - 2t .
{'and_4': 'and', 'result_5': 'true', 'only_1': 'only', 'filter_str_eq_0': 'filter_str_eq', 'all_rows_6': 'all_rows', 'manufacturer_7': 'manufacturer', 'cooke locomotive & machine works_8': 'cooke locomotive & machine works', 'str_eq_3': 'str_eq', 'str_hop_2': 'str_hop', 'type_9': 'type', '0 - 8 - 2t_10': '0 - 8 - 2t'}
['manufacturer', 'type', 'quantity', 'ptrd nos', 'gwr nos']
[['robert stephenson & co', '0 - 6 - 2t', '7', '8 - 14', '183 - 187'], ['hudswell clarke', '0 - 6 - 0st', '6', '22 - 27', '808 - 809 , 811 - 814'], ['robert stephenson & co', '0 - 6 - 0st', '2', '3 , 15', '815 , 816'], ['sharp , stewart & co', '2 - 4 - 0t', '1', '37', '1189'], ['sharp , stewart & co', '2 - 4 - 2t', '1', '36', '1326'], ['sharp , stewart & co', '0 - 8 - 2t', '3', '17 - 19', '1358 - 1360'], ['cooke locomotive & machine works', '0 - 8 - 2t', '2', '20 - 21', '1378 - 1379']]