list of sons of anarchy episodes
for the episodes of sons of anarchy , the one titled " capybara " aired 7 days before the episode titled " the sleep of babies . " .
{'row_1': '11', 'row_2': '12', 'col': '5', 'col_other': '2', 'relation': 'diff', 'record_mentioned': 'no', 'diff_result': {'diff_value': '7 days', 'bigger': 'row2'}}
{'func': 'eq', 'args': [{'func': 'diff', 'args': [{'func': 'str_hop', 'args': [{'func': 'filter_str_eq', 'args': ['all_rows', 'title', 'capybara'], 'result': None, 'ind': 0, 'tointer': 'select the rows whose title record fuzzily matches to capybara .', 'tostr': 'filter_eq { all_rows ; title ; capybara }'}, 'originalairdate'], 'result': None, 'ind': 2, 'tostr': 'hop { filter_eq { all_rows ; title ; capybara } ; originalairdate }', 'tointer': 'select the rows whose title record fuzzily matches to capybara . take the originalairdate record of this row .'}, {'func': 'str_hop', 'args': [{'func': 'filter_str_eq', 'args': ['all_rows', 'title', 'the sleep of babies'], 'result': None, 'ind': 1, 'tointer': 'select the rows whose title record fuzzily matches to the sleep of babies .', 'tostr': 'filter_eq { all_rows ; title ; the sleep of babies }'}, 'originalairdate'], 'result': None, 'ind': 3, 'tostr': 'hop { filter_eq { all_rows ; title ; the sleep of babies } ; originalairdate }', 'tointer': 'select the rows whose title record fuzzily matches to the sleep of babies . take the originalairdate record of this row .'}], 'result': '-7 days', 'ind': 4, 'tostr': 'diff { hop { filter_eq { all_rows ; title ; capybara } ; originalairdate } ; hop { filter_eq { all_rows ; title ; the sleep of babies } ; originalairdate } }'}, '-7 days'], 'result': True, 'ind': 5, 'tostr': 'eq { diff { hop { filter_eq { all_rows ; title ; capybara } ; originalairdate } ; hop { filter_eq { all_rows ; title ; the sleep of babies } ; originalairdate } } ; -7 days } = true', 'tointer': 'select the rows whose title record fuzzily matches to capybara . take the originalairdate record of this row . select the rows whose title record fuzzily matches to the sleep of babies . take the originalairdate record of this row . the second record is 7 days larger than the first record .'}
eq { diff { hop { filter_eq { all_rows ; title ; capybara } ; originalairdate } ; hop { filter_eq { all_rows ; title ; the sleep of babies } ; originalairdate } } ; -7 days } = true
select the rows whose title record fuzzily matches to capybara . take the originalairdate record of this row . select the rows whose title record fuzzily matches to the sleep of babies . take the originalairdate record of this row . the second record is 7 days larger than the first record .
{'str_eq_5': 'str_eq', 'result_6': 'true', 'diff_4': 'diff', 'str_hop_2': 'str_hop', 'filter_str_eq_0': 'filter_str_eq', 'all_rows_7': 'all_rows', 'title_8': 'title', 'capybara_9': 'capybara', 'originalairdate_10': 'originalairdate', 'str_hop_3': 'str_hop', 'filter_str_eq_1': 'filter_str_eq', 'all_rows_11': 'all_rows', 'title_12': 'title', 'the sleep of babies_13': 'the sleep of babies', 'originalairdate_14': 'originalairdate', '-7 days_15': '-7 days'}
['no in series', 'title', 'directedby', 'writtenby', 'originalairdate', 'production code']
[['1', 'pilot', 'allen coulter & michael dinner', 'kurt sutter', 'september 3 , 2008', '1wab79'], ['2', 'seeds', 'charles haid', 'kurt sutter', 'september 10 , 2008', '1wab01'], ['3', 'fun town', 'stephen kay', 'kurt sutter', 'september 17 , 2008', '1wab02'], ['4', 'patch over', 'paris barclay', 'james d parriott', 'september 24 , 2008', '1wab03'], ['5', 'giving back', 'tim hunter', 'jack logiudice', 'october 1 , 2008', '1wab04'], ['6', 'ak - 51', 'seith mann', 'nichole beattie', 'october 8 , 2008', '1wab05'], ['7', 'old bones', 'gwyneth horder - payton', 'dave erickson', 'october 15 , 2008', '1wab06'], ['8', 'the pull', 'guy ferland', 'kurt sutter & jack logiudice', 'october 22 , 2008', '1wab07'], ['9', 'hell followed', 'billy gierhart', 'brett conrad', 'october 29 , 2008', '1wab08'], ['10', 'better half', 'mario van peebles', 'pat charles', 'november 5 , 2008', '1wab09'], ['11', 'capybara', 'stephen kay', 'kurt sutter & dave erickson', 'november 12 , 2008', '1wab10'], ['12', 'the sleep of babies', "terrence o'hara", 'kurt sutter', 'november 19 , 2008', '1wab11']]