Task: Text to Code
Input (English): select the rows whose outcome record fuzzily matches to winner . select the row whose date record of these rows is minimum . the tournament record of this row is granby , canada .
Output (English): eq { hop { argmin { filter_eq { all_rows ; outcome ; winner } ; date } ; tournament } ; granby , canada }