Is the dog inside?
Answer the question using a single word or phrase

yes

Is the dog looking through something?

yes

Is the animal you see looking through the window a dog or a cat?

dog