Originally, the kanji character '祇' (gi) as in '祇園' (Gion) was formed by combining '示' (ji) and '氏' (shi); however, '祗園' (Gion) today is a misspelling (see wikt, or Wiktionary: '祇').
本来は祇園の「祇」の字は「示」+「氏」と書く（祗園は誤記。wikt祇を参照）。