The brown dog with a red bandanna is sitting with its paws up on the computer.
A dog has a bandanna.
There is both a dog with a bandanna in each scene.
exists e1 s1 s2 s3 x1 x2 x3 x4.(n_computer(x4) & n_paw(x3) & of(x3,x1) & n_thing(x1) & n_dog(x1) & a_brown(s1) & Theme(s1,x1) & on(e1,x4) & a_up(s3) & Manner(e1,s3) & with(e1,x3) & Actor(e1,x1) & v_sit(e1) & with(x1,x2) & n_bandanna(x2) & a_red(s2) & Theme(s2,x2))
exists e1 x1 x2.(Theme(e1,x2) & Actor(e1,x1) & v_have(e1) & n_bandanna(x2) & n_dog(x1))