(S (S (BASENP (DT The) (JJ twin-engine) (NN jet) (NN airliner)) (VP (VBD had) (VP (ADVP (RB just)) (VP (VP (VP (VP (VBN undergone) (BASENP (NN maintenance))) (PP (IN at) (BASENP (NNP Perpignan)))) (PP (IN in) (NP (BASENP (NN preparation)) (PP (IN for) (NP (BASENP (PRPD its) (NN return)) (PP (TO to) (BASENP (NNP Air) (NNP New) (NNP Zealand)))))))) (PP (IN by) (NP (BASENP (JJ German) (NN airline) (NNP XL) (NNPS Airways)) (COMMA ,) (SBAR (WHNP (WDT which)) (S (VP (VBD had) (VP (VBN been) (VP (VP (VBG operating) (BASENP (PRP it))) (PP (IN on) (BASENP (NN lease)))))))))))))) (PERIOD .))