A dog and a person look under the shelf.
dog and onlooker looking under a shelf
An onlooker is a person.
exists e1 x1 x2 x3 x4.(n_shelf(x4) & under(e1,x4) & Actor(e1,x1) & v_look(e1) & subset_of(x3,x1) & n_person(x3) & subset_of(x2,x1) & n_dog(x2))
exists e1 s1 x1 x2 x3 x4.(a_topic(s1) & subset_of(x2,s1) & under(e1,x4) & n_shelf(x4) & Actor(e1,x3) & v_look(e1) & (x2 = x3) & n_onlooker(x2) & subset_of(x1,s1) & n_dog(x1))