A man is joyfully holding an infant inside a church.
A man is walking with a dog outside a store
An infant is human and a dog is an animal. One cannot be inside and outside simultaneously.
exists e1 s1 x1 x2 x3.(a_joyfully(s1) & Manner(e1,s1) & Theme(e1,x2) & Actor(e1,x1) & v_hold(e1) & inside(x2,x3) & n_church(x3) & n_infant(x2) & n_man(x1))
exists e1 x1 x2 x3.(outside(e1,x3) & n_store(x3) & with(e1,x2) & n_dog(x2) & Actor(e1,x1) & v_walk(e1) & n_man(x1))