A boy with a black jacket and a blue hat is hugging a brown and white dog on a porch in the snow.
A boy is hugging a dog.
Here boy is hugging a dog which is same as the boy who is hugging a brown and white dog as mentioned in sentence 1.
exists e1 s1 s2 s3 s4 x1 x2 x3 x4 x5 x6 x7.(n_snow(x7) & Theme(e1,x5) & Actor(e1,x1) & v_hug(e1) & on(x5,x6) & in(x6,x7) & n_porch(x6) & n_dog(x5) & a_white(s4) & Theme(s4,x5) & a_brown(s3) & Theme(s3,x5) & with(x1,x2) & subset_of(x4,x2) & n_hat(x4) & a_blue(s2) & Theme(s2,x4) & subset_of(x3,x2) & n_jacket(x3) & a_black(s1) & Theme(s1,x3) & n_boy(x1))
exists e1 x1 x2.(Theme(e1,x2) & Actor(e1,x1) & v_hug(e1) & n_dog(x2) & n_boy(x1))