The boy is doing a trick on a rail next to an overpass.
A boy is inside doing his homework.
If the boy is doing a trick on a rail, he is not inside doing his homework.
exists e1 x1 x2 x3 x4 x5.(n_boy(x1) & Theme(e1,x2) & Actor(e1,x1) & v_do(e1) & on(x2,x3) & to(x4,x5) & n_overpass(x5) & next(x3,x4) & n_thing(x4) & n_rail(x3) & n_trick(x2))
exists e1 s1 x1 x2.(a_inside(s1) & Manner(e1,s1) & Theme(e1,x2) & Actor(e1,x1) & v_do(e1) & n_homework(x2) & of(x2,x1) & n_male(x1) & n_boy(x1))