A dark man with glasses who is wearing a white shirt is sitting in the middle of small boxes that are filled with various materials.
A dog scratches his head.
A man with glasses is not a dog.  A dog is probably not wearing a white shirt.
exists e3 e2 e1 s1 s2 s3 s4 x1 x2 x3 x4 x5 x6 x7 x8.(n_middle(x5) & in(e2,x5) & of(x5,x6) & with(e3,x8) & n_material(x8) & a_various(s4) & Theme(s4,x8) & Theme(e3,x7) & v_fill(e3) & (x6 = x7) & n_box(x6) & a_small(s3) & Theme(s3,x6) & Actor(e2,x1) & v_sit(e2) & with(x1,x2) & Theme(e1,x4) & Actor(e1,x3) & v_wear(e1) & n_shirt(x4) & a_white(s2) & Theme(s2,x4) & (x2 = x3) & n_glass(x2) & n_man(x1) & a_dark(s1) & Theme(s1,x1))
exists e1 x1 x2.(Theme(e1,x2) & Actor(e1,x1) & v_scratch(e1) & n_head(x2) & of(x2,x1) & n_male(x1) & n_dog(x1))