A toddler is cooking with another person.
A child is preparing food.
A toddler is a child. Preparing food is a rephrasing of cooking.
exists e1 x1 x2 x3.(n_person(x2) & with(e1,x3) & n_person(x3) & -(x3 = x2) & Actor(e1,x1) & v_cook(e1) & n_toddler(x1))
exists e1 x1 x2.(Theme(e1,x2) & Actor(e1,x1) & v_prepare(e1) & n_food(x2) & n_child(x1))