(S (S (NP (BASENP (NNP Joe) (NNP Gibbs) (NNP Racing) (NN driver) (NNP Denny) (NNP Hamlin)) (PRN (COMMA ,) (SBAR (WHNP (WP who)) (S (VP (VBD qualified) (BASENP (NN thirtieth))))) (COMMA ,))) (VP (VBD won) (NP (BASENP (DT the) (NNP NASCAR) (NNP Sprint) (NNP Cup) (NNP Series) (NN 2010) (NNP AAA) (NNP Texas) (NNP 500)) (VP (VP (VBN held) (PP (IN on) (BASENP (NNP Sunday)))) (PP (IN at) (NP (BASENP (NNP Texas) (NNP Motor) (NNP Speedway)) (PP (IN in) (NP (NP (BASENP (NNP Fort) (NNP Worth)) (COMMA ,) (BASENP (NNP Texas))) (COMMA ,) (BASENP (NNP United) (NNPS States)))))))))) (PERIOD .))