A girl does a cartwheel in the street while people watch from the sidewalk.
The girl is skating with a dog on her shoulders.
The girl cannot do a cartwheel with a dog on her shoulders.
exists e1 p1 x1 x2 x3 x5.(n_sidewalk(x5) & n_street(x3) & exists e2 x4.(from(e2,x5) & Actor(e2,x4) & v_watch(e2) & n_people(x4)) & while(e1,p1) & in(e1,x3) & Theme(e1,x2) & Actor(e1,x1) & v_do(e1) & n_cartwheel(x2) & n_girl(x1))
exists e1 x1 x2 x3.(n_shoulder(x3) & of(x3,x1) & n_female(x1) & n_girl(x1) & with(e1,x2) & on(x2,x3) & n_dog(x2) & Actor(e1,x1) & v_skate(e1))