ottoman - persian wars
two wars between the ottoman and persian empires ended in stalemate .
{'scope': 'all', 'criterion': 'equal', 'value': 'stalemate', 'result': '2', 'col': '5', 'subset': None}
{'func': 'eq', 'args': [{'func': 'count', 'args': [{'func': 'filter_str_eq', 'args': ['all_rows', 'victor', 'stalemate'], 'result': None, 'ind': 0, 'tointer': 'select the rows whose victor record fuzzily matches to stalemate .', 'tostr': 'filter_eq { all_rows ; victor ; stalemate }'}], 'result': '2', 'ind': 1, 'tostr': 'count { filter_eq { all_rows ; victor ; stalemate } }', 'tointer': 'select the rows whose victor record fuzzily matches to stalemate . the number of such rows is 2 .'}, '2'], 'result': True, 'ind': 2, 'tostr': 'eq { count { filter_eq { all_rows ; victor ; stalemate } } ; 2 } = true', 'tointer': 'select the rows whose victor record fuzzily matches to stalemate . the number of such rows is 2 .'}
eq { count { filter_eq { all_rows ; victor ; stalemate } } ; 2 } = true
select the rows whose victor record fuzzily matches to stalemate . the number of such rows is 2 .
{'eq_2': 'eq', 'result_3': 'true', 'count_1': 'count', 'filter_str_eq_0': 'filter_str_eq', 'all_rows_4': 'all_rows', 'victor_5': 'victor', 'stalemate_6': 'stalemate', '2_7': '2'}
['name of the war', 'ottoman sultan', 'persian shah', 'treaty at the end of the war', 'victor']
[['battle of chaldiran ( 1514 )', 'selim i', 'ismail i', 'none', 'the ottoman empire'], ['war of 1532 - 1555', 'suleiman i', 'tahmasp i', 'treaty of amasya ( 1555 )', 'the ottoman empire'], ['war of 1578 - 1590', 'murad iii', 'abbas i', 'treaty of constantinople ( 1590 )', 'the ottoman empire'], ['war of 1603 - 1618 , second stage', 'ahmed i , mustafa i , osman ii', 'abbas i', 'treaty of serav ( 1618 )', 'the persian empire'], ['war of 1623 - 1639', 'murad iv', 'abbas i , safi', 'treaty of zuhab ( 1639 )', 'the ottoman empire'], ['war of 1722 - 1727', 'ahmed iii', 'mahmud hotaki , ashraf hotaki', 'treaty of hamedan ( 1727 )', 'stalemate'], ['war of 1730 - 1736 , first stage', 'ahmed iii , mahmud i', 'nader shah', 'treaty of ahmet pasha ( 1732 )', 'the persian empire'], ['war of 1730 - 1736 , second stage', 'mahmud i', 'abbas iii , nader shah', 'treaty of constantinople ( 1736 )', 'the persian empire'], ['war of 1743 - 1746', 'mahmud i', 'nader shah', 'treaty of kerden ( 1746 )', 'stalemate']]