The boy swings next to the barn.
Next to the barn a boy is on a swing
The boy could be swinging on a swing.
exists e1 x1 x2.(n_barn(x2) & n_boy(x1) & to(e1,x2) & r_next(e1) & Actor(e1,x1) & v_swing(e1))
exists e1 p1 x1 x2 x3.(n_barn(x3) & ne_nam_next(x2) & to(e1,x3) & exists p2 x4.(exists x5.(on(x4,x5) & n_swing(x5)) & n_boy(x4)) & that(x3,p1) & Theme(e1,x2) & Actor(e1,x1) & v_event(e1) & n_thing(x1))