Task: Text to Code
Input (English): select the rows whose year of election record fuzzily matches to 1951 . take the candidates elected record of this row . select the rows whose year of election record fuzzily matches to 1948 . take the candidates elected record of this row . the first record is less than the second record .
Output (English): less { hop { filter_eq { all_rows ; year of election ; 1951 } ; candidates elected } ; hop { filter_eq { all_rows ; year of election ; 1948 } ; candidates elected } }