What's the difference between "doko ga ... desu ka" and "... doko ni arimasu ka"?


I'm reading a textbook and I have this example:

> Takashi-san no ie wa doko ni arimasu ka?

Trying to understand why is `arimasu` used instead of `desu` I rephrased it
like so:

> Doko ga Takashi-san no ie desu ka?

and I can't tell the meaning difference. Is the second sentence wrong
gramatically or logically? It's there a preference when it comes to using the
first one?

Thank you in advance!




To rephrase the question with です desu, it's simply タカシさんの家はどこですか？ 'Takashi-san
no ie wa doko desu ka?' While どこがタカシさんの家ですか？ 'Doko ga Takashi-san no ie desu
ka?' is technically a valid sentence, it means 'What part of this (looks to
you like it) is Takashi-san's house?'

