A man is smoking by the beach while boats sail in the distance.
A man is smoking.
Both subjects are smoking
exists p1 x1 x2 x3 x4 x6.(n_distance(x4) & n_beach(x6) & in(p1,x4) & while(p1,x2) & n_sail(x2) & of(x2,x3) & n_boat(x3) & exists x5.((x1 = x5) & by(x5,x6) & n_smoking(x5)) & n_man(x1))
exists p1 x1.(exists x2.((x1 = x2) & n_smoking(x2)) & n_man(x1))