Many children wearing hats aboard a train.
Many children aboard a train and wearing hats.
Children aboard a train and wearing hats can be rephrased as children wearing hats aboard a train.
exists e1 x1 x2 x3 x4.(a_topic(x1) & Theme(e1,x3) & Actor(e1,x2) & v_wear(e1) & aboard(x3,x4) & n_train(x4) & n_hat(x3) & (x1 = x2) & n_child(x1) & n_quantity(x1))
exists e1 x1 x2 x3 x4.(a_topic(x1) & aboard(x1,x2) & subset_of(x4,x2) & n_hat(x4) & Actor(e1,x4) & v_wear(e1) & subset_of(x3,x2) & n_train(x3) & n_child(x1) & n_quantity(x1))