The girls wearing a nice dress
A girl is dressed nicely.
" The girls wearing " is a rephrasing of  "A girl is dressed nicely"
exists e1 s1 x1 x2 x3.(n_girl(x1) & a_topic(x1) & Theme(e1,x3) & Actor(e1,x2) & v_wear(e1) & n_dress(x3) & a_nice(s1) & Theme(s1,x3) & (x1 = x2))
exists e1 s1 x1.(a_nicely(s1) & Manner(e1,s1) & Theme(e1,x1) & v_dress(e1) & n_girl(x1))