Task: Text to Code
Input (English): select the row whose result record of all rows is 3rd minimum . the year record of this row is 2007 .
Output (English): eq { hop { nth_argmin { all_rows ; result ; 3 } ; year } ; 2007 }