(S (S (S (S (NP (BASENP (DT A) (JJ previous) (NN earthquake)) (PP (IN in) (NP (BASENP (NNP October)) (PP (IN of) (BASENP (NN 2004)))))) (VP (VP (VBD killed) (NP (QP (ADVP (IN at) (JJS least)) (NN 40)) (NNS people))) (CC and) (VP (VBD injured) (BASENP (NN 3,000))))) (SBAR (WHADVP (WRB when)) (S (BASENP (DT a) (NN magnitude) (NN 6.8) (NN earthquake)) (VP (VBD shook) (NP (BASENP (DT the) (NN region)) (PP (IN of) (NP (BASENP (NNP Niigata)) (PP (IN in) (BASENP (JJ northern) (NNP Japan)))))))))) (CC and) (S (PP (IN in) (BASENP (NN 1995))) (S (BASENP (DT a) (NN magnitude) (NN 7.3) (NN earthquake)) (VP (VP (VBZ shook) (NP (BASENP (NNP Kobe)) (COMMA ,) (BASENP (NNP Japan)))) (CC and) (VP (VBD killed) (NP (QP (ADVP (IN at) (JJS least)) (NN 6,400)) (NNS people))))))) (PERIOD .))