new york court of appeals
judge robert s smith is the only judge appointed in the year 2004 .
{'scope': 'all', 'row': '4', 'col': '2', 'col_other': '1', 'criterion': 'equal', 'value': '2004', 'subset': None}
{'func': 'and', 'args': [{'func': 'only', 'args': [{'func': 'filter_eq', 'args': ['all_rows', 'appointed', '2004'], 'result': None, 'ind': 0, 'tointer': 'select the rows whose appointed record is equal to 2004 .', 'tostr': 'filter_eq { all_rows ; appointed ; 2004 }'}], 'result': True, 'ind': 1, 'tostr': 'only { filter_eq { all_rows ; appointed ; 2004 } }', 'tointer': 'select the rows whose appointed record is equal to 2004 . there is only one such row in the table .'}, {'func': 'str_eq', 'args': [{'func': 'str_hop', 'args': [{'func': 'filter_eq', 'args': ['all_rows', 'appointed', '2004'], 'result': None, 'ind': 0, 'tointer': 'select the rows whose appointed record is equal to 2004 .', 'tostr': 'filter_eq { all_rows ; appointed ; 2004 }'}, 'name'], 'result': 'judge robert s smith', 'ind': 2, 'tostr': 'hop { filter_eq { all_rows ; appointed ; 2004 } ; name }'}, 'judge robert s smith'], 'result': True, 'ind': 3, 'tostr': 'eq { hop { filter_eq { all_rows ; appointed ; 2004 } ; name } ; judge robert s smith }', 'tointer': 'the name record of this unqiue row is judge robert s smith .'}], 'result': True, 'ind': 4, 'tostr': 'and { only { filter_eq { all_rows ; appointed ; 2004 } } ; eq { hop { filter_eq { all_rows ; appointed ; 2004 } ; name } ; judge robert s smith } } = true', 'tointer': 'select the rows whose appointed record is equal to 2004 . there is only one such row in the table . the name record of this unqiue row is judge robert s smith .'}
and { only { filter_eq { all_rows ; appointed ; 2004 } } ; eq { hop { filter_eq { all_rows ; appointed ; 2004 } ; name } ; judge robert s smith } } = true
select the rows whose appointed record is equal to 2004 . there is only one such row in the table . the name record of this unqiue row is judge robert s smith .
{'and_4': 'and', 'result_5': 'true', 'only_1': 'only', 'filter_eq_0': 'filter_eq', 'all_rows_6': 'all_rows', 'appointed_7': 'appointed', '2004_8': '2004', 'str_eq_3': 'str_eq', 'str_hop_2': 'str_hop', 'name_9': 'name', 'judge robert s smith_10': 'judge robert s smith'}
['name', 'appointed', 'term expiration', 'appointing governor', 'law school attended']
[['chief judge jonathan lippman', '2009', '2015', 'david paterson , democrat', 'new york university school of law'], ['judge victoria a graffeo', '2000', '2014', 'george pataki , republican', 'albany law school'], ['judge susan phillips read', '2003', '2017', 'george pataki , republican', 'university of chicago law school'], ['judge robert s smith', '2004', '2014', 'george pataki , republican', 'columbia law school'], ['judge eugene f pigott , jr', '2006', '2016', 'george pataki , republican', 'university at buffalo law school'], ['judge jenny rivera', '2013', '2027', 'andrew cuomo , democrat', 'new york university school of law'], ['judge sheila abdus - salaam', '2013', '2027', 'andrew cuomo , democrat', 'columbia law school']]