Task: Text to Code
Input (English): select the rows whose incumbent record fuzzily matches to john kline . take the first elected record of this row . select the rows whose incumbent record fuzzily matches to jim ramstad . take the first elected record of this row . the first record is greater than the second record . the first elected record of the first row is 2002 . the first elected record of the second row is 1990 .
Output (English): and { greater { hop { filter_eq { all_rows ; incumbent ; john kline } ; first elected } ; hop { filter_eq { all_rows ; incumbent ; jim ramstad } ; first elected } } ; and { eq { hop { filter_eq { all_rows ; incumbent ; john kline } ; first elected } ; 2002 } ; eq { hop { filter_eq { all_rows ; incumbent ; jim ramstad } ; first elected } ; 1990 } } }