The boy runs with the basketball while looking up.
The boy is distracted by an airplane.
You can not infer he is distracted.
exists e2 e1 s1 x1 x2.(n_basketball(x2) & n_boy(x1) & while(e1,e2) & a_up(s1) & Manner(e2,s1) & Actor(e2,x1) & v_look(e2) & with(e1,x2) & Actor(e1,x1) & v_run(e1))
exists e1 x1 x2.(n_boy(x1) & Actor(e1,x2) & n_airplane(x2) & Theme(e1,x1) & v_distract(e1))