A cat sitting next to a person who has black pants and pink flip-flops on.
A dog is sitting next to a cat.
A cat and a dog are different species and a person is not a cat.
exists e1 e3 e2 s1 s2 x1 x2 x3 x4 x5 x6 x7.(a_topic(x1) & a_on(s2) & Manner(e1,s2) & to(e1,x3) & Theme(e3,x7) & Actor(e3,x6) & v_pink(e3) & n_flip-flop(x7) & (x3 = x6) & Theme(e2,x5) & Actor(e2,x4) & v_have(e2) & n_pants(x5) & a_black(s1) & Theme(s1,x5) & (x3 = x4) & n_person(x3) & r_next(e1) & Actor(e1,x2) & v_sit(e1) & (x1 = x2) & n_cat(x1))
exists e1 x1 x2.(to(e1,x2) & n_cat(x2) & r_next(e1) & Actor(e1,x1) & v_sit(e1) & n_dog(x1))