A soldier stands in front of a portrait.
A person is sleeping in bed.
There is a soldier who stands and a person who is sleeping. These are two different acts.
exists e1 x1 x2 x3.(in(e1,x2) & of(x2,x3) & n_portrait(x3) & n_front(x2) & Actor(e1,x1) & v_stand(e1) & n_soldier(x1))
exists e1 x1 x2.(in(e1,x2) & n_bed(x2) & Actor(e1,x1) & v_sleep(e1) & n_person(x1))