Task: Text to Code
Input (English): select the rows whose tournament record fuzzily matches to united kingdom . select the row whose date record of these rows is 2nd minimum . the surface record of this row is hard .
Output (English): eq { hop { nth_argmin { filter_eq { all_rows ; tournament ; united kingdom } ; date ; 2 } ; surface } ; hard }