orchid stakes
gerald w leigh owned two of the horses who won the orchard stakes .
{'scope': 'all', 'criterion': 'equal', 'value': 'gerald w leigh', 'result': '2', 'col': '5', 'subset': None}
{'func': 'eq', 'args': [{'func': 'count', 'args': [{'func': 'filter_str_eq', 'args': ['all_rows', 'owner', 'gerald w leigh'], 'result': None, 'ind': 0, 'tointer': 'select the rows whose owner record fuzzily matches to gerald w leigh .', 'tostr': 'filter_eq { all_rows ; owner ; gerald w leigh }'}], 'result': '2', 'ind': 1, 'tostr': 'count { filter_eq { all_rows ; owner ; gerald w leigh } }', 'tointer': 'select the rows whose owner record fuzzily matches to gerald w leigh . the number of such rows is 2 .'}, '2'], 'result': True, 'ind': 2, 'tostr': 'eq { count { filter_eq { all_rows ; owner ; gerald w leigh } } ; 2 } = true', 'tointer': 'select the rows whose owner record fuzzily matches to gerald w leigh . the number of such rows is 2 .'}
eq { count { filter_eq { all_rows ; owner ; gerald w leigh } } ; 2 } = true
select the rows whose owner record fuzzily matches to gerald w leigh . 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', 'owner_5': 'owner', 'gerald w leigh_6': 'gerald w leigh', '2_7': '2'}
['year', 'winner', 'jockey', 'trainer', 'owner', 'time']
[['2013', 'regalo mia', 'luis contreras', 'michelle nihei', 'steven w ciccarone', '2:23.48'], ['2012', 'hit it rich', 'javier castellano', 'shug mcgaughey', 'stuart s janney iii', '2:28.06'], ['2011', 'la luna de miel', 'john velazquez', 'h graham motion', 'rashit shaykhutdinov', '2:25.76'], ['2010', 'speak easy gal', 'elvis trujillo', 'marty wolfson', 'farnsworth stables', '2:28.46'], ['2009', 'dress rehearsal', 'kent desormeaux', 'william i mott', 'swettenham stud', '2:29.77'], ['2008', 'hostess', 'john velazquez', 'h james bond', 'william clifton jr', '2:25.83'], ['2007', 'safari queen', 'chris decarlo', 'todd a pletcher', 'arindel farm', '2:25.17'], ['2006', 'honey ryder', 'john r velazquez', 'todd a pletcher', 'glencrest farm llc', '2:23.07'], ['2005', 'honey ryder', 'john r velazquez', 'todd a pletcher', 'glencrest farm llc', '2:27.15'], ['2004', 'meridiana', 'edgar prado', 'christophe clement', 'jon & sarah kelly', '2:26.99'], ['2003', 'tweedside', 'rene douglas', 'todd a pletcher', 'e & l melnyk', '2:32.36'], ['2002', 'julie jalouse', 'jose a santos', 'christophe clement', 'skymarc farm', '2:25.89'], ['2001', 'innuendo', 'jerry d bailey', 'christophe clement', 'gerald w leigh', '2:25.24'], ['2000', 'lisieux rose', 'jose a santos', 'christophe clement', 'moyglare stud farm', '2:25.64'], ['1999', 'coretta', 'jose a santos', 'christophe clement', 'gerald w leigh', '2:23.85']]