A girl with a purple shirt with a heart on it is making an electrical switch.
Girl working on electrical switch for her science fair
Just because a girl is working on electrical switch does not imply it's for the science fair.
exists e1 s1 s2 x1 x2 x3 x4.(Theme(e1,x4) & Actor(e1,x1) & v_make(e1) & n_switch(x4) & a_electrical(s2) & Theme(s2,x4) & with(x1,x2) & with(x2,x3) & on(x3,x1) & n_thing(x1) & n_heart(x3) & n_shirt(x2) & a_purple(s1) & Theme(s1,x2) & n_girl(x1))
exists e1 s1 x1 x2 x3 x4.(ne_nam_girl(x1) & on(e1,x2) & for(x2,x3) & n_fair(x3) & of(x3,x4) & n_science(x4) & of(x3,x2) & n_female(x2) & n_switch(x2) & a_electrical(s1) & Theme(s1,x2) & Actor(e1,x1) & v_work(e1))