A child is playing soccer with a blue and white soccer ball nearby onlookers.
The dog was playing with the tennis ball.
The child was playing soccer so how was the dog playing with a tennis ball?
exists e1 s1 s2 s3 x1 x2 x3 x4 x5.(with(e1,x3) & n_onlooker(x3) & a_nearby(s3) & Theme(s3,x3) & of(x3,x5) & n_ball(x5) & of(x3,x4) & n_soccer(x4) & a_white(s2) & Theme(s2,x3) & a_blue(s1) & Theme(s1,x3) & Theme(e1,x2) & Actor(e1,x1) & v_play(e1) & n_soccer(x2) & n_child(x1))
exists e1 x1 x2 x3.(n_ball(x2) & of(x2,x3) & n_tennis(x3) & n_dog(x1) & with(e1,x2) & Actor(e1,x1) & v_play(e1))