( God ( ( ( causes water ) ( to ( ( ( ( ( expand and ) contract ) ( as ( ( other substances ) do ) ) ) , ) ( according ( to ( ( ( ( the rule ) ( that ( heat expands ) ) ) and ) ( cold contracts ) ) ) ) ) ) ) . ) )
(ROOT (S (NP (NNP God)) (VP (VBZ causes) (NP (NN water)) (S (VP (TO to) (VP (VB expand) (CC and) (VB contract) (SBAR (IN as) (S (NP (JJ other) (NNS substances)) (VP (VBP do)))) (, ,) (PP (VBG according) (PP (TO to) (NP (NP (NP (DT the) (NN rule)) (SBAR (IN that) (S (NP (NN heat)) (VP (VBZ expands))))) (CC and) (NP (JJ cold) (NNS contracts))))))))) (. .)))
God causes water to expand and contract as other substances do, according to the rule that heat expands and cold contracts.
(ROOT (S (NP (NP (DT The) (NN liquid)) (PP (IN in) (NP (DT a) (NN thermometer)))) (VP (VP (VBZ expands)) (CC or) (VP (VBZ contracts) (S (VP (TO to) (VP (VB respond) (PP (TO to) (NP (NN heat) (CC or) (NN cold)))))))) (. .)))