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

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

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