just legal
jonathan shapiro wrote who episodes of " just legal " .
{'scope': 'all', 'criterion': 'equal', 'value': 'jonathan shapiro', 'result': '2', 'col': '3', 'subset': None}
{'func': 'eq', 'args': [{'func': 'count', 'args': [{'func': 'filter_str_eq', 'args': ['all_rows', 'written by', 'jonathan shapiro'], 'result': None, 'ind': 0, 'tointer': 'select the rows whose written by record fuzzily matches to jonathan shapiro .', 'tostr': 'filter_eq { all_rows ; written by ; jonathan shapiro }'}], 'result': '2', 'ind': 1, 'tostr': 'count { filter_eq { all_rows ; written by ; jonathan shapiro } }', 'tointer': 'select the rows whose written by record fuzzily matches to jonathan shapiro . the number of such rows is 2 .'}, '2'], 'result': True, 'ind': 2, 'tostr': 'eq { count { filter_eq { all_rows ; written by ; jonathan shapiro } } ; 2 } = true', 'tointer': 'select the rows whose written by record fuzzily matches to jonathan shapiro . the number of such rows is 2 .'}
eq { count { filter_eq { all_rows ; written by ; jonathan shapiro } } ; 2 } = true
select the rows whose written by record fuzzily matches to jonathan shapiro . 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', 'written by_5': 'written by', 'jonathan shapiro_6': 'jonathan shapiro', '2_7': '2'}
['series', 'title', 'written by', 'directed by', 'original air date', 'production code', 'us viewers ( millions )']
[['1', 'pilot', 'jonathan shapiro', 'andrew davis', 'september 19 , 2005', '475279', '3.440'], ['2', 'the runner', 'jonathan shapiro', 'dwight little', 'september 26 , 2005', '2t7001', '2.960'], ['3', 'the limit', 'rob bragin', 'john badham', 'october 3 , 2005', '2t7002', '2.880'], ['4', 'the body in the trunk', "craig o'neil & jason tracy", 'tim matheson', 'august 13 , 2006', '2t7003', 'n / a'], ['5', 'the heater', 'nick thiel', 'dennis smith', 'august 20 , 2006', '2t7004', '1.590'], ['6', 'the rainmaker', 'rama laurie stagner', 'dwight little', 'august 27 , 2006', '2t7005', '1.120'], ['7', 'the code', 'alfredo barrios jr', 'oz scott', 'september 3 , 2006', '2t7006', '1.340']]