*SUPPORT*
IN: blicket tufa gazzer OUT: RED YELLOW RED YELLOW RED
IN: gazzer lug OUT: RED BLUE
IN: lug kiki dax wif OUT: BLUE PURPLE PURPLE
IN: gazzer kiki dax wif OUT: RED PURPLE PURPLE
IN: blicket lug wif OUT: YELLOW BLUE YELLOW BLUE
IN: blicket tufa dax OUT: PURPLE YELLOW PURPLE YELLOW PURPLE
IN: blicket wif wif OUT: YELLOW YELLOW YELLOW YELLOW
IN: lug kiki blicket kiki blicket wif OUT: BLUE YELLOW YELLOW YELLOW
IN: dax OUT: PURPLE
IN: gazzer kiki dax blicket wif OUT: RED PURPLE YELLOW PURPLE YELLOW
IN: gazzer lug lug OUT: RED BLUE BLUE
IN: dax dax dax dax OUT: PURPLE PURPLE PURPLE PURPLE
IN: lug OUT: BLUE
IN: dax kiki gazzer tufa lug OUT: PURPLE BLUE RED BLUE RED BLUE

*QUERY*
IN: blicket blicket gazzer OUT: YELLOW YELLOW RED
IN: gazzer OUT: RED
IN: blicket kiki blicket lug dax wif OUT: YELLOW YELLOW BLUE PURPLE YELLOW BLUE PURPLE
IN: dax wif OUT: PURPLE PURPLE
IN: gazzer wif wif OUT: RED RED RED RED
IN: blicket gazzer OUT: YELLOW RED
IN: dax gazzer blicket tufa lug OUT: PURPLE RED BLUE YELLOW BLUE YELLOW BLUE
IN: dax lug wif OUT: PURPLE BLUE PURPLE BLUE
IN: blicket tufa lug OUT: BLUE YELLOW BLUE YELLOW BLUE
IN: gazzer dax OUT: RED PURPLE

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