Task: Text to Code
Input (English): select the row whose year ( ceremony ) record of all rows is 2nd maximum . the film title used in nomination record of this row is lore .
Output (English): eq { hop { nth_argmax { all_rows ; year ( ceremony ) ; 2 } ; film title used in nomination } ; lore }