Task: Text to Code
Input (English): select the rows whose team 1 record fuzzily matches to kastoria . take the agg score record of this row . select the rows whose team 1 record fuzzily matches to ilisiakos . take the agg score record of this row . the first record is greater than the second record .
Output (English): greater { hop { filter_eq { all_rows ; team 1 ; kastoria } ; agg score } ; hop { filter_eq { all_rows ; team 1 ; ilisiakos } ; agg score } }