Meanings
Usage patterns
〈場所〉に宮を建てるto build a shrine/palace at <place>
They built a small shrine on top of the mountain.
宮にお参りするto visit and pray at the shrine
I visited the shrine to pray on New Year's Day.
〈人〉が宮にお仕えするto serve the Imperial prince/princess
He has served the Imperial prince for many years.