Barefooted children playing and having fun in water.
The children are having a good time playing in the water.
Having fun is another way of saying having a good time, so in both the children are playing and having fun.
exists e1 e3 e4 e2 x1 x2 x3 x4 x5 x6.(in(e4,x6) & n_water(x6) & Theme(e4,x5) & Actor(e4,x4) & v_have(e4) & n_fun(x5) & n_child(x4) & Theme(e3,x4) & v_barefoot(e3) & in(e2,x3) & n_water(x3) & Theme(e2,x2) & Actor(e2,x1) & v_play(e2) & n_fun(x2) & n_child(x1) & Theme(e1,x1) & v_barefoot(e1))
exists e1 e2 s1 x1 x2 x3 x4.(n_water(x4) & n_child(x1) & Theme(e2,x2) & Actor(e2,x1) & v_have(e2) & in(e1,x4) & Actor(e1,x3) & v_play(e1) & (x2 = x3) & n_time(x2) & a_good(s1) & Theme(s1,x2))