a young girl putting a red ball in a black dogs mouth on the beach
A person is playing with her dog.
A young girl is a person and putting a ball in the dog's mouth implies she is playing with her dog.
exists e1 s1 s2 s3 x1 x2 x3 x4 x5 x6.(n_beach(x4) & a_topic(x1) & in(e1,x5) & n_mouth(x5) & of(x5,x6) & n_dog(x6) & a_black(s3) & Theme(s3,x5) & on(e1,x4) & Theme(e1,x3) & Actor(e1,x2) & v_put(e1) & n_ball(x3) & a_red(s2) & Theme(s2,x3) & (x1 = x2) & n_girl(x1) & a_young(s1) & Theme(s1,x1))
exists e1 x1 x2.(with(e1,x2) & n_dog(x2) & of(x2,x1) & n_female(x1) & Actor(e1,x1) & v_play(e1) & n_person(x1))