Note that though 宮 (with joined boxes: 呂) is the traditional form, the form 宫 (with unjoined boxes: 吕) dates to oracle script, and was used in succeeding forms as well.
Han character 
宫 (radical 40 宀+6, 9 strokes, cangjie input 十口口 (JRR))
See also 
- KangXi: not present, would follow page 285, character 10
- Hanyu Da Zidian: volume 2, page 926, character 3
- Unihan data for U+5BAB
宫 (hangeul 궁, revised gung, McCune-Reischauer kung)