An Indian man is scratching the back of his head while thinking.
A man contemplates a question on an exam in the class he is taking.
Scratching the back of his head does not necessarily mean contemplates a question on an exam.
exists e2 e1 s1 x1 x2 x3.(n_head(x3) & of(x3,x2) & n_male(x2) & n_back(x2) & while(e1,e2) & Actor(e2,x1) & v_think(e2) & Theme(e1,x2) & Actor(e1,x1) & v_scratch(e1) & of(x2,x3) & n_man(x1) & a_indian(s1) & Theme(s1,x1))
exists e1 e2 x1 x2 x3 x4 x5.(n_male(x4) & n_class(x4) & Theme(e2,x2) & Actor(e2,x1) & v_contemplate(e2) & on(x2,x3) & in(x3,x4) & Theme(e1,x5) & Actor(e1,x4) & v_take(e1) & (x4 = x5) & n_exam(x3) & n_question(x2) & n_man(x1))