A large dog lays next to a small baby with a pacifier in its mouth.
The dog is next to a baby
Laying next to the baby doesn't mean it's directly next to the baby.
exists e1 p1 s1 x1 x4.(exists s2 s3 x2 x3.(to(s2,x2) & with(x2,x3) & in(x3,x4) & n_pacifier(x3) & n_baby(x2) & a_small(s3) & Theme(s3,x2) & Theme(s2,x1) & a_next(s2)) & n_mouth(x4) & of(x4,x1) & n_thing(x1) & Topic(e1,p1) & Actor(e1,x1) & v_lay(e1) & n_dog(x1) & a_large(s1) & Theme(s1,x1))
exists s1 x1 x2.(n_dog(x1) & to(s1,x2) & n_baby(x2) & Theme(s1,x1) & a_next(s1))