Task: Text to Code
Input (English): select the row whose year record of all rows is 2nd minimum . the perpetrator record of this row is wagner , ernst august , 38 .
Output (English): eq { hop { nth_argmin { all_rows ; year ; 2 } ; perpetrator } ; wagner , ernst august , 38 }