( ( Stray dogs ) ( ( ( seek shelter ) ( in ( some ( of them ) ) ) ) ; ) )
(ROOT (S (NP (JJ Stray) (NNS dogs)) (VP (VBP seek) (NP (NN shelter)) (PP (IN in) (NP (NP (DT some)) (PP (IN of) (NP (PRP them)))))) (: ;)))
Stray dogs seek shelter in some of them;
(ROOT (S (SBAR (WHADVP (WRB When)) (S (NP (PRP it)) (VP (VBZ rains)))) (, ,) (NP (DT some) (NNS animals)) (VP (MD will) (VP (VB move) (S (VP (TO to) (VP (VB seek) (NP (NN shelter))))))) (. .)))