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