Boy slam dunks a basketball.
The boy is on a team.
Slam dunking a basketball doesn't mean you're on a team.
exists e1 x1 x2 x3.(Theme(e1,x3) & Actor(e1,x1) & v_dunk(e1) & n_basketball(x3) & n_slam(x1) & (x1 = x2) & ne_nam_boy(x2))
exists p1 x1.(n_boy(x1) & exists x2.(on(x1,x2) & n_team(x2)))