(S (S (S (NP (BASENP (NNP MV) (NNP Maria) (NNP Lourdes)) (PRN (COMMA ,) (BASENP (DT a) (JJ 639-ton) (NN vessel)) (COMMA ,))) (VP (VP (VBD had) (VP (VBN been) (VP (VP (VBG transporting) (NP (BASENP (NN 22,000) (NNS bags)) (PP (IN of) (BASENP (NN cement))))) (PP (IN from) (NP (BASENP (NNP Iligan) (NNP City)) (PP (IN in) (BASENP (NNP Lanao) (NNP del) (NNP Norte)))))))) (CC and) (VP (VBD was) (VP (VBN headed) (PP (IN towards) (NP (BASENP (DT a) (NN town)) (PP (IN in) (BASENP (NNP Occidental) (NNP Mindoro))))))))) (SBAR (WHADVP (WRB when)) (S (BASENP (DT the) (JJ starboard) (JJ main) (NN engine)) (VP (VBD failed))))) (PERIOD .))