Task: Text to Code
Input (English): select the rows whose opponents record fuzzily matches to anne hobbs andrew castle . take the year record of this row . select the rows whose opponents record fuzzily matches to gretchen magers kelly jones . take the year record of this row . the second record is 1 year larger than the first record .
Output (English): eq { diff { hop { filter_eq { all_rows ; opponents ; anne hobbs andrew castle } ; year } ; hop { filter_eq { all_rows ; opponents ; gretchen magers kelly jones } ; year } } ; -1 year }