(S (S (BASENP (PRP He)) (VP (VBD underwent) (NP (BASENP (DT a) (JJ psychological) (NN examination)) (COMMA ,) (SBAR (WHNP (WDT which)) (S (VP (VBD indicated) (SBAR (IN that) (S (BASENP (PRP he)) (VP (VBD was) (ADJP (RB mentally) (JJ stable))))))))))) (PERIOD .))