Task: Text to Code
Input (English): select the rows whose party record fuzzily matches to democratic . there is only one such row in the table . the incumbent record of this unqiue row is james g polk .
Output (English): and { only { filter_eq { all_rows ; party ; democratic } } ; eq { hop { filter_eq { all_rows ; party ; democratic } ; incumbent } ; james g polk } }