Task: Text to Code
Input (English): select the rows whose voivodeship after 1569 record fuzzily matches to samogitian eldership . take the year established record of this row . select the rows whose voivodeship after 1569 record fuzzily matches to trakai voivodeship . take the year established record of this row . the second record is 2 years larger than the first record .
Output (English): eq { diff { hop { filter_eq { all_rows ; voivodeship after 1569 ; samogitian eldership } ; year established } ; hop { filter_eq { all_rows ; voivodeship after 1569 ; trakai voivodeship } ; year established } } ; -2 years }