(S (S (BASENP (NNP Margaret) (NNP Wilson)) (VP (VBD was) (VP (VBN appointed) (PP (IN as) (NP (BASENP (NNP Speaker)) (PP (IN of) (NP (BASENP (DT The) (NNP House)) (PP (IN of) (BASENP (NNPS Representatives)))))))))) (PERIOD .))