man wearing glasses with his mouth being held open and examined by a dentist.
The dentist works.
The man is having his mouth examined by a dentist which is what the dentist does for a job.
exists e1 e2 e3 p1 x1 x2 x3 x4 x5 x6 x7.(a_topic(x1) & with(x1,x3) & Actor(e3,x7) & n_dentist(x7) & Theme(e3,x6) & v_examine(e3) & (x3 = x6) & Actor(e2,x5) & n_dentist(x5) & exists s1.(Theme(s1,x4) & a_open(s1)) & Recipient(e2,p1) & Topic(e2,x4) & v_hold(e2) & (x3 = x4) & n_mouth(x3) & of(x3,x1) & n_male(x1) & n_glass(x1) & Actor(e1,x1) & v_wear(e1) & of(x1,x2) & n_man(x2))
exists e1 x1.(n_dentist(x1) & Actor(e1,x1) & v_work(e1))