A man in a helmet is holding on to a railing.
A man is holding onto a railing.
The man is holding onto a railing because he is the man holding on to a railing.
exists e1 x1 x2 x3.(r_on(e1) & to(e1,x3) & n_railing(x3) & Actor(e1,x1) & v_hold(e1) & in(x1,x2) & n_helmet(x2) & n_man(x1))
exists e1 x1 x2.(onto(e1,x2) & n_railing(x2) & Actor(e1,x1) & v_hold(e1) & n_man(x1))