(S (S (NP (BASENP (NNP Indiana) (NNP Senator) (NNP Dan) (NNP Quayle)) (PRN (COMMA ,) (NP (BASENP (DT the) (JJ Republican) (NN candidate)) (PP (IN for) (BASENP (NNP Vice) (NNP President)))) (COMMA ,))) (VP (VP (VBD compared) (BASENP (PRPD his) (JJ congressional) (NN experience))) (PP (TO to) (NP (NP (BASENP (DT that)) (PP (IN of) (BASENP (JJ former) (NNP President) (NNP John) (NNP F.) (NNP Kennedy)))) (SBAR (WHADVP (WRB when)) (S (BASENP (PRP he)) (VP (VBD sought) (BASENP (DT the) (NN presidency))))))))) (PERIOD .))