(S (S (PP (VBG According) (PP (TO to) (BASENP (NNP Folha) (NNP de) (NNP São) (NNP Paulo)))) (COMMA ,) (S (BASENP (JJ Brazilian) (NN government)) (VP (VBD invited) (S (BASENP (NNP João)) (VP (TO to) (VP (VB take) (NP (BASENP (NN part)) (PP (IN in) (NP (BASENP (DT the) (NN funeral)) (PP (IN of) (BASENP (DT the) (NNP Pope)))))))))))) (PERIOD .))