( ( For example ) ( , ( ( if ( one ( heats ( ( a ( rigid container ) ) ( filled ( with ( a gas ) ) ) ) ) ) ) ( , ( that ( ( causes ( ( the pressure ) ( of ( ( the gas ) ( in ( the ( container ( to increase ) ) ) ) ) ) ) ) . ) ) ) ) ) )
(ROOT (S (PP (IN For) (NP (NN example))) (, ,) (SBAR (IN if) (S (NP (PRP one)) (VP (VBZ heats) (NP (NP (DT a) (JJ rigid) (NN container)) (VP (VBN filled) (PP (IN with) (NP (DT a) (NN gas)))))))) (, ,) (NP (DT that)) (VP (VBZ causes) (NP (NP (DT the) (NN pressure)) (PP (IN of) (NP (NP (DT the) (NN gas)) (PP (IN in) (NP (DT the) (NN container) (S (VP (TO to) (VP (VB increase)))))))))) (. .)))
For example, if one heats a rigid container filled with a gas, that causes the pressure of the gas in the container to increase.
(ROOT (S (S (VP (VBG Reducing) (NP (NP (DT the) (NN number)) (PP (IN of) (NP (NP (NNS molecules)) (PP (IN in) (NP (DT a) (JJ rigid) (NN container)))))))) (VP (VBZ causes) (NP (NN pressure)) (S (VP (TO to) (VP (VB decrease))))) (. .)))