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

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

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