していましたか

were … doing?

→ 為る
phrase Rare #28,637
were … doing? A polite question form asking whether an action or state was ongoing in the past.
JA: 昨日、何をしていましたか。
EN: What were you doing yesterday?

彼女のおじさんはロンドンに滞在していましたか。

Was her uncle staying in London?

車はどこか故障していましたか。

Was there something wrong with the car?

昨日の朝、あなたはテニスをしていましたか。

Were you playing tennis yesterday morning?

みどりはその時北海道でスキーをしていましたか。

Was Midori skiing in Hokkaido at that time?

昨夜ドアを開けっぱなしにしていましたか?

Did you leave the door open last night?

会員はみんなその会に出席していましたか。

Were all the members attending the meeting?

昨夜君は外出していましたか。

Were you out last night?