A man with glasses standing on a ladder painting a wall.
A man is on a ladder.
Man on a ladder in common in both sentences
exists e1 x1 x2 x3 x4 x5 x6.(a_topic(x1) & with(x1,x2) & n_wall(x6) & Time(e1,x6) & on(e1,x4) & n_painting(x4) & of(x4,x5) & n_ladder(x5) & Actor(e1,x3) & v_stand(e1) & (x2 = x3) & n_glass(x2) & n_man(x1))
exists p1 x1.(exists x2.(on(x1,x2) & n_ladder(x2)) & n_man(x1))