( ( ( The ( central ( nervous system ) ) ) ( of dinosaurs ) ) ( ( ( affected ( their ( behavioral flexibility ) ) ) ( ( how much ) ( they ( could ( adapt ( their ( behavior ( to ( deal ( with ( changing situations ) ) ) ) ) ) ) ) ) ) ) . ) )
(ROOT (S (NP (NP (DT The) (JJ central) (JJ nervous) (NN system)) (PP (IN of) (NP (NNS dinosaurs)))) (VP (VBD affected) (NP (PRP$ their) (JJ behavioral) (NN flexibility)) (SBAR (WHADJP (WRB how) (JJ much)) (S (NP (PRP they)) (VP (MD could) (VP (VB adapt) (NP (PRP$ their) (NN behavior) (S (VP (TO to) (VP (VB deal) (PP (IN with) (NP (VBG changing) (NNS situations)))))))))))) (. .)))
The central nervous system of dinosaurs affected their behavioral flexibility how much they could adapt their behavior to deal with changing situations.
(ROOT (S (NP (JJ Learned) (NN behavior)) (VP (VBZ is) (ADJP (JJ adaptive)) (SBAR (IN because) (S (NP (PRP they)) (VP (VBP are) (ADJP (JJ flexible)) (, ,) (S (ADJP (JJ capable) (PP (IN of) (S (VP (VBG changing) (SBAR (IN if) (S (NP (DT the) (NN environment)) (VP (VBZ changes))))))))))))) (. .)))