A tan and black dog opens its mouth for a red ball.
The dog runs away from the ball as he doesn't want to catch it.
In sentence 2 is says that a dog is running away from a ball. While in the first sentence it says that the dog is running towards the ball as he opens its mouth.
exists e1 s1 s2 s3 x1 x2 x3.(for(e1,x3) & n_ball(x3) & a_red(s3) & Theme(s3,x3) & Theme(e1,x2) & Actor(e1,x1) & v_open(e1) & n_mouth(x2) & of(x2,x1) & n_thing(x1) & n_dog(x1) & a_black(s2) & Theme(s2,x1) & a_tan(s1) & Theme(s1,x1))
exists e1 p1 x1 x2.(n_thing(x1) & n_male(x2) & n_ball(x2) & n_dog(x1) & -exists e2 p2.(Topic(e2,p2) & Actor(e2,x2) & v_want(e2) & exists e3.(Theme(e3,x1) & Actor(e3,x2) & v_catch(e3))) & as(e1,p1) & from(e1,x2) & r_away(e1) & Actor(e1,x1) & v_run(e1))