Task: Text to Code
Input (English): select the rows whose result record fuzzily matches to lost re-election republican gain . there is only one such row in the table . the incumbent record of this unqiue row is tom luken .
Output (English): and { only { filter_eq { all_rows ; result ; lost re-election republican gain } } ; eq { hop { filter_eq { all_rows ; result ; lost re-election republican gain } ; incumbent } ; tom luken } }