Clue assistant developed in Prolog