An orange dog shakes his head very hard on the sand.
A mammal is outside.
A dog is a mammal and to be on the sand means to be outside.
exists e1 s1 x1 x2 x3 x4.(n_sand(x4) & on(e1,x4) & r_very(e1) & a_hard(s1) & Manner(e1,s1) & Theme(e1,x3) & Actor(e1,x1) & v_shake(e1) & n_head(x3) & of(x3,x1) & n_male(x1) & n_dog(x1) & of(x1,x2) & n_orange(x2))
exists s1 x1.(Theme(s1,x1) & a_outside(s1) & n_mammal(x1))