A man and a dog are sitting on the pavement are sitting by a wall.
A person and an animal are sitting on the ground by a wall.
A person of man and an animal of dog are sitting by a wall
exists e1 e2 x1 x2 x3 x4 x5 x6.(n_pavement(x5) & by(e2,x6) & n_wall(x6) & Actor(e2,x1) & v_sit(e2) & subset_of(x3,x1) & on(e1,x5) & Actor(e1,x4) & v_sit(e1) & (x3 = x4) & n_dog(x3) & subset_of(x2,x1) & n_man(x2))
exists e1 x1 x2 x3 x4 x5.(n_ground(x4) & by(e1,x5) & n_wall(x5) & on(e1,x4) & Actor(e1,x1) & v_sit(e1) & subset_of(x3,x1) & n_animal(x3) & subset_of(x2,x1) & n_person(x2))