There is a brown dog leaping on the beach.
A dog is having fun.
The dog leaping is implied as to be having fun.
exists p1 x1 x4.(n_beach(x4) & exists e1 s1 x2 x3.((x1 = x2) & on(e1,x4) & Actor(e1,x3) & v_leap(e1) & (x2 = x3) & n_dog(x2) & a_brown(s1) & Theme(s1,x2)))
exists e1 x1 x2.(Theme(e1,x2) & Actor(e1,x1) & v_have(e1) & n_fun(x2) & n_dog(x1))