An African girl holding a doll outside of a thatched roof hut.
A boy holding a race car inside his home.
A boy and a girl are different genders.  A doll and a car are different types of toys.  One cannot be inside and outside at the same time.
exists e1 s1 s2 x1 x2 x3 x4 x5 x6.(a_topic(x1) & Theme(e1,x3) & Actor(e1,x2) & v_hold(e1) & of(x4,x5) & n_hut(x5) & of(x5,x6) & n_roof(x6) & a_thatched(s2) & Theme(s2,x5) & outside(x3,x4) & n_thing(x4) & n_doll(x3) & (x1 = x2) & n_girl(x1) & a_african(s1) & Theme(s1,x1))
exists e1 x1 x2 x3 x4 x5.(a_topic(x1) & Theme(e1,x3) & Actor(e1,x2) & v_hold(e1) & inside(x3,x5) & n_home(x5) & of(x5,x1) & n_male(x1) & n_car(x3) & of(x3,x4) & n_race(x4) & (x1 = x2) & n_boy(x1))