list of state leaders in 840s bc
there were 4 kings who served as state leaders in the 840s bc .
{'scope': 'all', 'criterion': 'equal', 'value': 'king', 'result': '4', 'col': '3', 'subset': None}
{'func': 'eq', 'args': [{'func': 'count', 'args': [{'func': 'filter_str_eq', 'args': ['all_rows', 'title', 'king'], 'result': None, 'ind': 0, 'tointer': 'select the rows whose title record fuzzily matches to king .', 'tostr': 'filter_eq { all_rows ; title ; king }'}], 'result': '4', 'ind': 1, 'tostr': 'count { filter_eq { all_rows ; title ; king } }', 'tointer': 'select the rows whose title record fuzzily matches to king . the number of such rows is 4 .'}, '4'], 'result': True, 'ind': 2, 'tostr': 'eq { count { filter_eq { all_rows ; title ; king } } ; 4 } = true', 'tointer': 'select the rows whose title record fuzzily matches to king . the number of such rows is 4 .'}
eq { count { filter_eq { all_rows ; title ; king } } ; 4 } = true
select the rows whose title record fuzzily matches to king . the number of such rows is 4 .
{'eq_2': 'eq', 'result_3': 'true', 'count_1': 'count', 'filter_str_eq_0': 'filter_str_eq', 'all_rows_4': 'all_rows', 'title_5': 'title', 'king_6': 'king', '4_7': '4'}
['type', 'name', 'title', 'royal house', 'from']
[['sovereign', 'jehoshaphat', 'king', 'david', '873 bc or 871 bc or 870 bc'], ['sovereign', 'jehoram', 'king', 'david', '851 bc or 849 bc or 848 bc'], ['sovereign', 'ahaziah', 'king', 'david', '843 bc or 842 bc or 841 bc'], ['sovereign', 'athaliah', 'queen regnant', 'david', '842 bc or 841 bc'], ['sovereign', 'jehoash', 'king', 'david', '842 bc or 841 bc or 837 bc or 835 bc']]