Task: Text to Code
Input (English): select the row whose population ( 2011 ) record of all rows is 2nd maximum . the settlement record of this row is aleksandrovo .
Output (English): eq { hop { nth_argmax { all_rows ; population ( 2011 ) ; 2 } ; settlement } ; aleksandrovo }