A person's feet are sticking out from a small cave.
A person was completely inside the cave except for one arm waving out.
If a person's feet are sticking out of a cave, then their arms are not the only thing sticking out.
exists e1 s1 s2 x1 x2 x3.(a_out(s2) & Manner(e1,s2) & from(e1,x3) & n_cave(x3) & a_small(s1) & Theme(s1,x3) & Actor(e1,x2) & v_stick(e1) & n_foot(x2) & of(x2,x1) & n_person(x1))
exists e1 p1 s1 x1 x2.(n_cave(x2) & for(p1,e1) & a_out(s1) & Manner(e1,s1) & Actor(e1,x1) & v_wave(e1) & r_completely(x1) & inside(x1,x2) & -exists x3.(for(x2,x3) & n_arm(x3) & card_eq_1(x3)) & n_person(x1))