(S (S (S (BASENP (NNP North) (NNP Korea)) (VP (VBD surprised) (BASENP (DT the) (NN world)))) (SBAR (WHADVP (WRB when)) (S (BASENP (PRP it)) (VP (VP (VP (VBD launched) (BASENP (DT a) (JJ ballistic) (NN missile))) (PP (IN over) (BASENP (JJ northern) (NNP Japan)))) (PP (IN in) (BASENP (NN 1998))))))) (PERIOD .))