Task: Text to Code
Input (English): select the rows whose ngc number record fuzzily matches to 2736 . take the object type record of this row . select the rows whose ngc number record fuzzily matches to 2770 . take the object type record of this row . the first record does not match to the second record . the object type record of the first row is diffuse nebula . the object type record of the second row is spiral galaxy .
Output (English): and { not_eq { hop { filter_eq { all_rows ; ngc number ; 2736 } ; object type } ; hop { filter_eq { all_rows ; ngc number ; 2770 } ; object type } } ; and { eq { hop { filter_eq { all_rows ; ngc number ; 2736 } ; object type } ; diffuse nebula } ; eq { hop { filter_eq { all_rows ; ngc number ; 2770 } ; object type } ; spiral galaxy } } }