There are people in front of a restaurant.
The restaurant is behind the people in the picture.
If people are in front of the restaurant then the restaurant is behind the people.
exists p1 x1 x2 x3.(in(p1,x2) & of(x2,x3) & n_restaurant(x3) & n_front(x2) & exists x4.((x1 = x4) & n_people(x4)))
exists p1 x1 x2 x3.(n_picture(x3) & n_people(x2) & n_restaurant(x1) & behind(x1,x2) & in(x2,x3))