A girl wearing an hat and holding an iPod sits on the side of a building.
A girl sits near the building.
The girl may be far from the building not near.
exists e1 e3 e2 x1 x2 x3 x4 x5 x6 x7.(n_side(x6) & on(e3,x6) & of(x6,x7) & n_building(x7) & Actor(e3,x1) & v_sit(e3) & Theme(e2,x5) & Actor(e2,x4) & v_hold(e2) & n_ipod(x5) & (x1 = x4) & Theme(e1,x3) & Actor(e1,x2) & v_wear(e1) & n_hat(x3) & (x1 = x2) & n_girl(x1))
exists e1 x1 x2.(n_building(x2) & near(e1,x2) & Actor(e1,x1) & v_sit(e1) & n_girl(x1))