Task: Text to Code
Input (English): select the rows whose location record fuzzily matches to tokyo , japan . the average of the record record of these rows is 3.5 .
Output (English): round_eq { avg { filter_eq { all_rows ; location ; tokyo , japan } ; record } ; 3.5 }