( ( ( ( Coal and ) petroleum ) both ) ( began ( as energy ) ) )
(ROOT (S (NP (NP (NN Coal) (CC and) (NN petroleum)) (ADVP (DT both))) (VP (VBD began) (PP (IN as) (NP (NN energy))))))
Coal and petroleum both began as energy
(ROOT (S (S (NP (NNP Coal)) (VP (VBZ is) (ADJP (JJ nonrenewable)))) (, ,) (CC and) (S (NP (DT the) (NN sun)) (VP (VBZ is) (ADJP (JJ renewable) (SBAR (S (VP (VBZ is) (SBAR (WHADVP (WRB how)) (S (NP (NP (NN coal)) (CC and) (NP (DT the) (NN sun))) (VP (VBP compare) (PP (IN as) (NP (NP (NNS sources)) (PP (IN of) (NP (NN energy)))))))))))))) (. .)))