list of state leaders in 990s bc
zhong was the only leader who was from cao .
{'scope': 'all', 'row': '1', 'col': '1', 'col_other': '3', 'criterion': 'equal', 'value': 'cao', 'subset': None}
{'func': 'and', 'args': [{'func': 'only', 'args': [{'func': 'filter_str_eq', 'args': ['all_rows', 'state', 'cao'], 'result': None, 'ind': 0, 'tointer': 'select the rows whose state record fuzzily matches to cao .', 'tostr': 'filter_eq { all_rows ; state ; cao }'}], 'result': True, 'ind': 1, 'tostr': 'only { filter_eq { all_rows ; state ; cao } }', 'tointer': 'select the rows whose state record fuzzily matches to cao . there is only one such row in the table .'}, {'func': 'str_eq', 'args': [{'func': 'str_hop', 'args': [{'func': 'filter_str_eq', 'args': ['all_rows', 'state', 'cao'], 'result': None, 'ind': 0, 'tointer': 'select the rows whose state record fuzzily matches to cao .', 'tostr': 'filter_eq { all_rows ; state ; cao }'}, 'name'], 'result': 'zhong', 'ind': 2, 'tostr': 'hop { filter_eq { all_rows ; state ; cao } ; name }'}, 'zhong'], 'result': True, 'ind': 3, 'tostr': 'eq { hop { filter_eq { all_rows ; state ; cao } ; name } ; zhong }', 'tointer': 'the name record of this unqiue row is zhong .'}], 'result': True, 'ind': 4, 'tostr': 'and { only { filter_eq { all_rows ; state ; cao } } ; eq { hop { filter_eq { all_rows ; state ; cao } ; name } ; zhong } } = true', 'tointer': 'select the rows whose state record fuzzily matches to cao . there is only one such row in the table . the name record of this unqiue row is zhong .'}
and { only { filter_eq { all_rows ; state ; cao } } ; eq { hop { filter_eq { all_rows ; state ; cao } ; name } ; zhong } } = true
select the rows whose state record fuzzily matches to cao . there is only one such row in the table . the name record of this unqiue row is zhong .
{'and_4': 'and', 'result_5': 'true', 'only_1': 'only', 'filter_str_eq_0': 'filter_str_eq', 'all_rows_6': 'all_rows', 'state_7': 'state', 'cao_8': 'cao', 'str_eq_3': 'str_eq', 'str_hop_2': 'str_hop', 'name_9': 'name', 'zhong_10': 'zhong'}
['state', 'type', 'name', 'title', 'royal house', 'from']
[['cao', 'sovereign', 'zhong', 'lord', '-', '1002 bc'], ['lu', 'sovereign', 'bo qin', 'ruler', 'ji', '1043 bc'], ['lu', 'sovereign', 'kao', 'duke', 'ji', '997 bc'], ['lu', 'sovereign', 'yang', 'duke', 'ji', '993 bc'], ['qi', 'sovereign', 'ding', 'duke', '-', '999 bc']]