small long-haired child trying to clean a window.
A boy is cleaning up his mess.
There is nothing to indicate he is trying to clean up his mess or that he is the one who made the mess on the window. The child could be a girl or boy, the gender is not specified.
exists e1 p1 s1 s2 x1.(Topic(e1,p1) & Actor(e1,x1) & v_try(e1) & exists e2 x2.(Theme(e2,x2) & Actor(e2,x1) & v_clean(e2) & n_window(x2)) & n_child(x1) & a_long-haired(s2) & Theme(s2,x1) & a_small(s1) & Theme(s1,x1))
exists e1 s1 x1 x2.(a_up(s1) & Manner(e1,s1) & Theme(e1,x2) & Actor(e1,x1) & v_clean(e1) & n_mess(x2) & of(x2,x1) & n_male(x1) & n_boy(x1))