campbeltown and machrihanish light railway
the princess railway was the only railway built by kerr stuart .
{'scope': 'all', 'row': '3', 'col': '2', 'col_other': '1', 'criterion': 'equal', 'value': 'kerr stuart', 'subset': None}
{'func': 'and', 'args': [{'func': 'only', 'args': [{'func': 'filter_str_eq', 'args': ['all_rows', 'builder', 'kerr stuart'], 'result': None, 'ind': 0, 'tointer': 'select the rows whose builder record fuzzily matches to kerr stuart .', 'tostr': 'filter_eq { all_rows ; builder ; kerr stuart }'}], 'result': True, 'ind': 1, 'tostr': 'only { filter_eq { all_rows ; builder ; kerr stuart } }', 'tointer': 'select the rows whose builder record fuzzily matches to kerr stuart . there is only one such row in the table .'}, {'func': 'str_eq', 'args': [{'func': 'str_hop', 'args': [{'func': 'filter_str_eq', 'args': ['all_rows', 'builder', 'kerr stuart'], 'result': None, 'ind': 0, 'tointer': 'select the rows whose builder record fuzzily matches to kerr stuart .', 'tostr': 'filter_eq { all_rows ; builder ; kerr stuart }'}, 'name'], 'result': 'princess', 'ind': 2, 'tostr': 'hop { filter_eq { all_rows ; builder ; kerr stuart } ; name }'}, 'princess'], 'result': True, 'ind': 3, 'tostr': 'eq { hop { filter_eq { all_rows ; builder ; kerr stuart } ; name } ; princess }', 'tointer': 'the name record of this unqiue row is princess .'}], 'result': True, 'ind': 4, 'tostr': 'and { only { filter_eq { all_rows ; builder ; kerr stuart } } ; eq { hop { filter_eq { all_rows ; builder ; kerr stuart } ; name } ; princess } } = true', 'tointer': 'select the rows whose builder record fuzzily matches to kerr stuart . there is only one such row in the table . the name record of this unqiue row is princess .'}
and { only { filter_eq { all_rows ; builder ; kerr stuart } } ; eq { hop { filter_eq { all_rows ; builder ; kerr stuart } ; name } ; princess } } = true
select the rows whose builder record fuzzily matches to kerr stuart . there is only one such row in the table . the name record of this unqiue row is princess .
{'and_4': 'and', 'result_5': 'true', 'only_1': 'only', 'filter_str_eq_0': 'filter_str_eq', 'all_rows_6': 'all_rows', 'builder_7': 'builder', 'kerr stuart_8': 'kerr stuart', 'str_eq_3': 'str_eq', 'str_hop_2': 'str_hop', 'name_9': 'name', 'princess_10': 'princess'}
['name', 'builder', 'type', 'works number', 'built']
[['pioneer', 'andrew barclay & co', '0 - 4 - 0 wt ( converted to 0 - 4 - 2 wt )', 'unknown', '1876'], ['chevalier', 'andrew barclay & co', '0 - 4 - 0 st ( converted to 0 - 4 - 2 st )', '269', '1885'], ['princess', 'kerr stuart', '0 - 4 - 2 t', '717', '1900'], ['argyll', 'andrew barclay & co', '0 - 6 - 2 t', '1049', '1906'], ['atlantic', 'andrew barclay & co', '0 - 6 - 2 t', '1098', '1907']]