Task: Text to Code
Input (English): select the rows whose party record fuzzily matches to democratic . for the first elected records of these rows , most of them are less than 1970 .
Output (English): most_less { filter_eq { all_rows ; party ; democratic } ; first elected ; 1970 }