American hat is with blue stars and red stripes, looks pretty on this girl.
a person wearing a hat
The person is wearing a hat because there is a hat on her.
exists e1 p1 p2 s1 s2 x1 x2 x3.(n_girl(x3) & on(e1,x3) & exists s4.(Theme(s4,x2) & a_pretty(s4)) & Topic(e1,p2) & Actor(e1,x2) & v_look(e1) & n_stripe(x2) & a_red(s2) & Theme(s2,x2) & exists s3 x4.(with(x1,x4) & n_star(x4) & a_blue(s3) & Theme(s3,x4)) & n_hat(x1) & a_american(s1) & Theme(s1,x1))
exists e1 x1 x2 x3.(a_topic(x1) & Theme(e1,x3) & Actor(e1,x2) & v_wear(e1) & n_hat(x3) & (x1 = x2) & n_person(x1))