A group of friends smile for a picture at the beach.
A group of friends are having a photo made.
After the friends have the photo taken it makes sense they would then be having it made.
exists e1 x1 x2 x3 x4.(n_beach(x4) & for(e1,x3) & at(x3,x4) & n_picture(x3) & Actor(e1,x1) & v_smile(e1) & of(x1,x2) & n_friend(x2) & n_group(x1))
exists e2 e1 x1 x2 x3 x4.(Theme(e2,x3) & Actor(e2,x1) & v_have(e2) & Theme(e1,x4) & v_make(e1) & (x3 = x4) & n_photo(x3) & of(x1,x2) & n_friend(x2) & n_group(x1))