Task: Text to Code
Input (English): select the rows whose incumbent record fuzzily matches to david d terry . take the first elected record of this row . select the rows whose incumbent record fuzzily matches to ezekiel c gathings . take the first elected record of this row . the first record is less than the second record .
Output (English): less { hop { filter_eq { all_rows ; incumbent ; david d terry } ; first elected } ; hop { filter_eq { all_rows ; incumbent ; ezekiel c gathings } ; first elected } }