Task: Text to Code
Input (English): select the row whose year built record of all rows is 3rd maximum . the church name record of this row is batalden bedehuskapell .
Output (English): eq { hop { nth_argmax { all_rows ; year built ; 3 } ; church name } ; batalden bedehuskapell }