A child is wearing a paper hat and eating at a diner.
A child wears a paper hat while eating food at a diner.
One must be eating food at a diner, because that is what eating at a diner in implies.
exists e1 x1 x2 x3 x4 x5 x6.(at(e1,x6) & n_diner(x6) & Theme(e1,x2) & Actor(e1,x1) & v_wear(e1) & n_eating(x5) & n_hat(x4) & subset_of(x5,x2) & subset_of(x4,x2) & of(x2,x3) & n_paper(x3) & n_child(x1))
exists e1 e2 x1 x2 x3 x4 x5.(while(e1,e2) & at(e2,x5) & n_diner(x5) & Theme(e2,x4) & Actor(e2,x1) & v_eat(e2) & n_food(x4) & Theme(e1,x2) & Actor(e1,x1) & v_wear(e1) & n_hat(x2) & of(x2,x3) & n_paper(x3) & n_child(x1))