A girl does gymnastics on a balance beam on the beach with an amusement park and people in the background.
The girl is dancing with her friend
One girl is doing gymnastics alone the other that is dancing that takes two.
exists e1 x1 x2 x3 x4 x5 x6 x7 x8 x9 x10.(n_background(x10) & n_beach(x5) & in(e1,x10) & with(e1,x6) & subset_of(x9,x6) & n_people(x9) & subset_of(x7,x6) & n_park(x7) & of(x7,x8) & n_amusement(x8) & on(e1,x3) & on(x3,x5) & n_beam(x3) & of(x3,x4) & n_balance(x4) & Theme(e1,x2) & Actor(e1,x1) & v_do(e1) & n_gymnastics(x2) & n_girl(x1))
exists e1 x1 x2.(n_friend(x2) & of(x2,x1) & n_female(x1) & n_girl(x1) & with(e1,x2) & Actor(e1,x1) & v_dance(e1))