The dog is holding a yellow toy.
A pet is playing with a toy.
A dog is a type of pet.
exists e1 s1 x1 x2.(n_dog(x1) & Theme(e1,x2) & Actor(e1,x1) & v_hold(e1) & n_toy(x2) & a_yellow(s1) & Theme(s1,x2))
exists e1 x1 x2.(with(e1,x2) & n_toy(x2) & Actor(e1,x1) & v_play(e1) & n_pet(x1))