A little girl in a pink hat is playing with a soccer ball.
A girl in a hat playing with a ball.
A little girl is wearing a hat and playing with a soccer ball, so she is playing with a ball.
exists e1 s1 s2 x1 x2 x3 x4.(with(e1,x3) & n_ball(x3) & of(x3,x4) & n_soccer(x4) & Actor(e1,x1) & v_play(e1) & in(x1,x2) & n_hat(x2) & a_pink(s2) & Theme(s2,x2) & n_girl(x1) & a_little(s1) & Theme(s1,x1))
exists x1 x2 x3 x4.(a_topic(x1) & in(x1,x2) & with(x2,x4) & n_ball(x4) & n_playing(x2) & of(x2,x3) & n_hat(x3) & n_girl(x1))