ect mainline rail
the heart of wessex is the only rail that uses intercity swallow as a livery .
{'scope': 'all', 'row': '3', 'col': '4', 'col_other': '3', 'criterion': 'equal', 'value': 'intercity swallow', 'subset': None}
{'func': 'and', 'args': [{'func': 'only', 'args': [{'func': 'filter_str_eq', 'args': ['all_rows', 'livery', 'intercity swallow'], 'result': None, 'ind': 0, 'tointer': 'select the rows whose livery record fuzzily matches to intercity swallow .', 'tostr': 'filter_eq { all_rows ; livery ; intercity swallow }'}], 'result': True, 'ind': 1, 'tostr': 'only { filter_eq { all_rows ; livery ; intercity swallow } }', 'tointer': 'select the rows whose livery record fuzzily matches to intercity swallow . there is only one such row in the table .'}, {'func': 'str_eq', 'args': [{'func': 'str_hop', 'args': [{'func': 'filter_str_eq', 'args': ['all_rows', 'livery', 'intercity swallow'], 'result': None, 'ind': 0, 'tointer': 'select the rows whose livery record fuzzily matches to intercity swallow .', 'tostr': 'filter_eq { all_rows ; livery ; intercity swallow }'}, 'name'], 'result': 'the heart of wessex', 'ind': 2, 'tostr': 'hop { filter_eq { all_rows ; livery ; intercity swallow } ; name }'}, 'the heart of wessex'], 'result': True, 'ind': 3, 'tostr': 'eq { hop { filter_eq { all_rows ; livery ; intercity swallow } ; name } ; the heart of wessex }', 'tointer': 'the name record of this unqiue row is the heart of wessex .'}], 'result': True, 'ind': 4, 'tostr': 'and { only { filter_eq { all_rows ; livery ; intercity swallow } } ; eq { hop { filter_eq { all_rows ; livery ; intercity swallow } ; name } ; the heart of wessex } } = true', 'tointer': 'select the rows whose livery record fuzzily matches to intercity swallow . there is only one such row in the table . the name record of this unqiue row is the heart of wessex .'}
and { only { filter_eq { all_rows ; livery ; intercity swallow } } ; eq { hop { filter_eq { all_rows ; livery ; intercity swallow } ; name } ; the heart of wessex } } = true
select the rows whose livery record fuzzily matches to intercity swallow . there is only one such row in the table . the name record of this unqiue row is the heart of wessex .
{'and_4': 'and', 'result_5': 'true', 'only_1': 'only', 'filter_str_eq_0': 'filter_str_eq', 'all_rows_6': 'all_rows', 'livery_7': 'livery', 'intercity swallow_8': 'intercity swallow', 'str_eq_3': 'str_eq', 'str_hop_2': 'str_hop', 'name_9': 'name', 'the heart of wessex_10': 'the heart of wessex'}
['number', 'class', 'name', 'livery', 'notes']
[['31128', '31', 'charybdis', 'fragonset black', 'now operated by nemesis rail'], ['31452', '31', 'minotaur', 'fragonset black', 'now operated by network rail'], ['31454', '31', 'the heart of wessex', 'intercity swallow', 'now operated by network rail'], ['31468', '31', 'hydra', 'fragonset black', 'now operated by network rail'], ['31601', '31', 'gauge o guild', 'wessex trains pink', 'now operated by network rail']]