Task: Text to Code
Input (English): select the rows whose result record fuzzily matches to re - elected . for the party records of these rows , all of them fuzzily match to democratic .
Output (English): all_eq { filter_eq { all_rows ; result ; re - elected } ; party ; democratic }