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

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

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