It was worth the trip for that.
( It ( ( was ( worth ( ( the trip ) ( for that ) ) ) ) . ) )
(ROOT (S (NP (PRP It)) (VP (VBD was) (ADJP (IN worth) (NP (NP (DT the) (NN trip)) (PP (IN for) (NP (DT that)))))) (. .)))
It was a good event.
( It ( ( was ( a ( good event ) ) ) . ) )
(ROOT (S (NP (PRP It)) (VP (VBD was) (NP (DT a) (JJ good) (NN event))) (. .)))