Task: Text to Code
Input (English): select the rows whose incumbent record fuzzily matches to james m ashley . take the first elected record of this row . select the rows whose incumbent record fuzzily matches to samuel shellabarger . 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 ; james m ashley } ; first elected } ; hop { filter_eq { all_rows ; incumbent ; samuel shellabarger } ; first elected } }