Task: Text to Code
Input (English): select the rows whose nation record fuzzily matches to sweden . take the gold record of this row . select the rows whose nation record fuzzily matches to germany . take the gold record of this row . the first record is greater than the second record . the gold record of the first row is 2 . the gold record of the second row is 1 .
Output (English): and { greater { hop { filter_eq { all_rows ; nation ; sweden } ; gold } ; hop { filter_eq { all_rows ; nation ; germany } ; gold } } ; and { eq { hop { filter_eq { all_rows ; nation ; sweden } ; gold } ; 2 } ; eq { hop { filter_eq { all_rows ; nation ; germany } ; gold } ; 1 } } }