A male gymnast balances on a beam bar.
A female gymnast is doing a floor routine.
It would either be a male or a female and both are referred to, it cannot be both.
exists s1 x1 x2 x3 x4.(a_topic(x1) & on(x1,x3) & n_bar(x3) & of(x3,x4) & n_beam(x4) & n_balance(x1) & of(x1,x2) & n_gymnast(x2) & a_male(s1) & Theme(s1,x1))
exists e1 s1 x1 x2 x3.(Theme(e1,x2) & Actor(e1,x1) & v_do(e1) & n_routine(x2) & of(x2,x3) & n_floor(x3) & n_gymnast(x1) & a_female(s1) & Theme(s1,x1))