'Wait here,' I was ordered.
( ( ` ( Wait here ) ) ( , ( ' ( I ( ( was ordered ) . ) ) ) ) )
(ROOT (S (S (VP (`` `) (VB Wait) (ADVP (RB here)))) (, ,) ('' ') (NP (PRP I)) (VP (VBD was) (VP (VBN ordered))) (. .)))
He told me to wait until he opened the gate.
( He ( ( told ( me ( to ( wait ( until ( he ( opened ( the gate ) ) ) ) ) ) ) ) . ) )
(ROOT (S (NP (PRP He)) (VP (VBD told) (S (NP (PRP me)) (VP (TO to) (VP (VB wait) (SBAR (IN until) (S (NP (PRP he)) (VP (VBD opened) (NP (DT the) (NN gate))))))))) (. .)))