what is … called?
あのお寺が何という名前かは知らないんだ。
I don't know the name of that temple.
彼に何という名前かを尋ねた。
I asked him what his name was.
あの屋根の見える建物は何という名前ですか。
What is the name of the building with that roof?
彼は私に何という名前ですかとたずねた。
He asked me what my name was.
あの寺院が何という名前かは、知らないな。