A little girl holding her hand so that it looks the rainbow ends in her hand.
While trying to hold her own hand the child is to see the rainbow with her mom
A girl holding her hand so that it looks a certain way does not mean she is trying to hold her own hand and the girl may not be seeing the rainbow and may not be with her mom.
exists e2 e1 p1 s1 x1 x2 x3 x4.(n_rainbow(x4) & in(e2,x3) & n_hand(x3) & n_hand(x3) & of(x3,x1) & n_female(x1) & n_female(x1) & Actor(e2,x1) & v_end(e2) & exists p2 e3.(Theme(e3,x4) & Actor(e3,x1) & v_look(e3)) & n_thing(x1) & so(e1,p1) & Theme(e1,x3) & Actor(e1,x2) & v_hold(e1) & (x1 = x2) & n_girl(x1) & a_little(s1) & Theme(s1,x1))
exists e2 e1 p1 p2 s1 x1 x2 x3 x4 x5.(n_mom(x5) & of(x5,x4) & n_female(x4) & n_rainbow(x4) & n_child(x2) & n_hand(x3) & a_own(s1) & Theme(s1,x3) & of(x3,x2) & n_female(x2) & while(e2,e1) & Topic(e2,p2) & Actor(e2,x2) & v_be(e2) & exists e4.(Theme(e4,x4) & Actor(e4,x2) & v_see(e4) & with(x4,x5)) & Topic(e1,p1) & Actor(e1,x1) & v_try(e1) & exists e3.(Theme(e3,x3) & Actor(e3,x1) & v_hold(e3)) & n_thing(x1))