Task: Text to Code
Input (English): select the row whose rank record of all rows is minimum . the year record of this row is 2012 .
Output (English): eq { hop { argmin { all_rows ; rank } ; year } ; 2012 }