A yellow dog stands in a road surrounded by children in blue shirts.
The kids pet the dog.
Just because dog stands surrounded by children does not mean they pet the dog.
exists e1 s1 s2 x1 x2 x3 x4 x5 x6.(a_topic(x1) & in(x1,x3) & Actor(e1,x5) & in(x5,x6) & n_shirt(x6) & a_blue(s2) & Theme(s2,x6) & n_child(x5) & Theme(e1,x4) & v_surround(e1) & (x3 = x4) & n_road(x3) & n_stand(x1) & of(x1,x2) & n_dog(x2) & a_yellow(s1) & Theme(s1,x1))
exists x1 x2 x3.(n_pet(x1) & of(x1,x2) & n_kid(x2) & a_topic(x1) & n_dog(x3) & (x1 = x3))