Task: Text to Code
Input (English): select the rows whose nation record fuzzily matches to puerto rico . take the total record of this row . select the rows whose nation record fuzzily matches to dominican republic . take the total record of this row . the first record is greater than the second record .
Output (English): greater { hop { filter_eq { all_rows ; nation ; puerto rico } ; total } ; hop { filter_eq { all_rows ; nation ; dominican republic } ; total } }