Task: Text to Code
Input (English): select the rows whose incumbent record fuzzily matches to john lewis . take the elected record of this row . select the rows whose incumbent record fuzzily matches to nathan deal . take the elected record of this row . the first record is less than the second record .
Output (English): less { hop { filter_eq { all_rows ; incumbent ; john lewis } ; elected } ; hop { filter_eq { all_rows ; incumbent ; nathan deal } ; elected } }