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

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

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