Task: Text to Code
Input (English): select the rows whose country record fuzzily matches to portugal . take the rank record of this row . select the rows whose country record fuzzily matches to cuba . take the rank record of this row . the first record is less than the second record .
Output (English): less { hop { filter_eq { all_rows ; country ; portugal } ; rank } ; hop { filter_eq { all_rows ; country ; cuba } ; rank } }