Task: Text to Code
Input (English): select the row whose score record of all rows is 3rd maximum . the home team record of this row is sydney spirit .
Output (English): eq { hop { nth_argmax { all_rows ; score ; 3 } ; home team } ; sydney spirit }