A man is leaning on an object beside a building.
A man is outside by a building.
beside a building refers to being outside.
exists e1 x1 x2 x3.(beside(e1,x3) & n_building(x3) & on(e1,x2) & n_object(x2) & Actor(e1,x1) & v_lean(e1) & n_man(x1))
exists s1 x1 x2.(by(s1,x2) & n_building(x2) & Theme(s1,x1) & a_outside(s1) & n_man(x1))