Task: Text to Code
Input (English): select the rows whose name record fuzzily matches to margravine johanna of baden - baden . take the became duchess record of this row . select the rows whose name record fuzzily matches to victoria of saxe - coburg and gotha . take the became duchess record of this row . the first record is less than the second record .
Output (English): less { hop { filter_eq { all_rows ; name ; margravine johanna of baden - baden } ; became duchess } ; hop { filter_eq { all_rows ; name ; victoria of saxe - coburg and gotha } ; became duchess } }