A man in a hat leans against a wall by Wendy's.
A man is outside a fast food restaurant.
Wendy's is the restaurant the man is outside of.
exists e1 x1 x2 x3 x4 x5.(by(e1,x4) & n_'s(x4) & (x4 = x5) & ne_org_wendy(x5) & against(e1,x3) & n_wall(x3) & Actor(e1,x1) & v_lean(e1) & in(x1,x2) & n_hat(x2) & n_man(x1))
exists p1 x1.(exists s1 x2 x3.(outside(x1,x2) & n_restaurant(x2) & of(x2,x3) & n_food(x3) & a_fast(s1) & Theme(s1,x2)) & n_man(x1))