sea patrol ( season 3 )
3 of the sea patrol season 3 episodes directed by steve mann were written by john ridley .
{'scope': 'subset', 'criterion': 'equal', 'value': 'john ridley', 'result': '3', 'col': '5', 'subset': {'col': '4', 'criterion': 'equal', 'value': 'steve mann'}}
{'func': 'eq', 'args': [{'func': 'count', 'args': [{'func': 'filter_str_eq', 'args': [{'func': 'filter_str_eq', 'args': ['all_rows', 'directed by', 'steve mann'], 'result': None, 'ind': 0, 'tostr': 'filter_eq { all_rows ; directed by ; steve mann }', 'tointer': 'select the rows whose directed by record fuzzily matches to steve mann .'}, 'written by', 'john ridley'], 'result': None, 'ind': 1, 'tointer': 'select the rows whose directed by record fuzzily matches to steve mann . among these rows , select the rows whose written by record fuzzily matches to john ridley .', 'tostr': 'filter_eq { filter_eq { all_rows ; directed by ; steve mann } ; written by ; john ridley }'}], 'result': '3', 'ind': 2, 'tostr': 'count { filter_eq { filter_eq { all_rows ; directed by ; steve mann } ; written by ; john ridley } }', 'tointer': 'select the rows whose directed by record fuzzily matches to steve mann . among these rows , select the rows whose written by record fuzzily matches to john ridley . the number of such rows is 3 .'}, '3'], 'result': True, 'ind': 3, 'tostr': 'eq { count { filter_eq { filter_eq { all_rows ; directed by ; steve mann } ; written by ; john ridley } } ; 3 } = true', 'tointer': 'select the rows whose directed by record fuzzily matches to steve mann . among these rows , select the rows whose written by record fuzzily matches to john ridley . the number of such rows is 3 .'}
eq { count { filter_eq { filter_eq { all_rows ; directed by ; steve mann } ; written by ; john ridley } } ; 3 } = true
select the rows whose directed by record fuzzily matches to steve mann . among these rows , select the rows whose written by record fuzzily matches to john ridley . the number of such rows is 3 .
{'eq_3': 'eq', 'result_4': 'true', 'count_2': 'count', 'filter_str_eq_1': 'filter_str_eq', 'filter_str_eq_0': 'filter_str_eq', 'all_rows_5': 'all_rows', 'directed by_6': 'directed by', 'steve mann_7': 'steve mann', 'written by_8': 'written by', 'john ridley_9': 'john ridley', '3_10': '3'}
['series episode', 'season episode', 'title', 'directed by', 'written by', 'original air date', 'viewers ( millions )']
[['27', '1', 'catch and release', 'ian barry', 'adam h todd', '18 may 2009', '1.33'], ['28', '2', 'monkey business', 'steve mann', 'felicity packard', '25 may 2009', '1.385'], ['29', '3', 'china dolls', 'ian barry', 'philip dalkin', '1 june 2009', '1.282'], ['30', '4', 'guns', 'steve mann', 'john ridley', '8 june 2009', '1.366'], ['31', '5', 'ghost net', 'ian barry', 'jeff truman', '15 june 2009', '1.358'], ['32', '6', 'oh danny boy', 'steve mann', 'john ridley', '22 june 2009', '1.309'], ['33', '7', 'half life', 'steve mann', 'john ridley', '29 june 2009', '1.333'], ['34', '8', 'red sky morning', 'ian barry', 'tony morphett', '6 july 2009', '1.215'], ['35', '9', 'pearls before swine', 'ian barry', 'matt ford', '13 july 2009', '1.350'], ['36', '10', 'safeguard', 'steve mann', 'jeff truman', '20 july 2009', '1.281'], ['37', '11', 'secret cargo', 'ian barry', 'adam h todd', '20 july 2009', '1.197'], ['38', '12', 'black gold', 'steve mann', 'jeff truman', '27 july 2009', '1.279']]