*SUPPORT*
IN: dax gazzer lug OUT: PINK YELLOW
IN: tufa tufa zup OUT: GREEN GREEN GREEN GREEN GREEN GREEN
IN: tufa wif gazzer dax OUT: YELLOW GREEN GREEN
IN: lug wif OUT: PINK PINK
IN: tufa gazzer blicket OUT: BLUE GREEN
IN: blicket dax wif OUT: BLUE YELLOW YELLOW
IN: blicket lug gazzer lug OUT: PINK BLUE PINK
IN: blicket wif OUT: BLUE BLUE
IN: blicket gazzer lug gazzer lug OUT: PINK PINK BLUE
IN: dax OUT: YELLOW
IN: dax wif OUT: YELLOW YELLOW
IN: tufa OUT: GREEN
IN: dax wif gazzer dax OUT: YELLOW YELLOW YELLOW
IN: dax dax wif OUT: YELLOW YELLOW YELLOW

*QUERY*
IN: blicket dax tufa blicket OUT: BLUE YELLOW GREEN BLUE
IN: dax wif zup gazzer dax OUT: YELLOW YELLOW YELLOW YELLOW YELLOW YELLOW YELLOW
IN: tufa lug dax wif OUT: GREEN PINK YELLOW YELLOW
IN: dax gazzer tufa zup OUT: GREEN YELLOW GREEN YELLOW GREEN YELLOW
IN: tufa wif OUT: GREEN GREEN
IN: blicket dax OUT: BLUE YELLOW
IN: tufa tufa wif OUT: GREEN GREEN GREEN
IN: dax tufa wif gazzer dax OUT: YELLOW YELLOW GREEN GREEN
IN: lug lug lug OUT: PINK PINK PINK
IN: tufa zup OUT: GREEN GREEN GREEN

*GRAMMAR*
tufa -> GREEN 
 lug -> PINK 
 dax -> YELLOW 
 blicket -> BLUE 
 x1 zup -> [x1] [x1] [x1] 
 x1 gazzer u1 -> [u1] [x1] 
 u1 wif -> [u1] [u1] 
 u1 x1 -> [u1] [x1] 
 