(S (S (PP (IN In) (BASENP (NNP July) (NN 2010))) (COMMA ,) (S (BASENP (NNP Rudd)) (VP (VBD was) (VP (VP (VBN replaced) (PP (PP (IN as) (NP (BASENP (NN leader)) (PP (IN of) (BASENP (DT the) (NNP ALP))))) (CC and) (PP (IN as) (BASENP (NNP Prime) (NNP Minister))))) (PP (IN by) (BASENP (NNP Ms) (NNP Gillard))))))) (PERIOD .))