A bicycle with a basket is on a sidewalk.
A bicycle is inside the house.
The bicycle cannot be in the house if it is on the sidewalk.
exists p1 x1 x2.(exists x3.(on(x1,x3) & n_sidewalk(x3)) & with(x1,x2) & n_basket(x2) & n_bicycle(x1))
exists p1 x1 x2.(n_house(x2) & inside(x1,x2) & n_bicycle(x1))