There is a man shooting basketballs next to a toddler.
A man and his toddler are on the tennis court.
If the man is shooting basketball next to a toddler, then they are in a basketball court and not a tennis court.
exists p1 x1 e1 p2 x2 x3 x4.((x1 = x2) & exists s1 x5.(to(s1,x5) & n_toddler(x5) & Theme(s1,x4) & a_next(s1)) & Topic(e1,p2) & Actor(e1,x4) & v_basketball(e1) & (x2 = x4) & n_shooting(x2) & of(x2,x3) & n_man(x3))
exists p1 x1 x2 x3 x4 x5.(n_court(x4) & of(x4,x5) & n_tennis(x5) & on(x1,x4) & subset_of(x3,x1) & n_toddler(x3) & of(x3,x2) & n_male(x2) & subset_of(x2,x1) & n_man(x2))