(photo: Steven Zucker, CC BY-NC-SA 2.0)
Both the Pantheon and the Dome of the Rock were created to convert others into the religion of the person who commissioned it.They both also have a dome, were commissioned, and have layers on their dome.
(© BWBImages/iStock.com)
Both the Church of Holy Sepulcher and the Dome of the Rock have domes that are roughly the same size, they both have mini domes around the building, and they both have an apex on the building.They are both religious buildings regarding its function.
( Photo credits:Dennis Jarvis (CC-BY-2.0))
Both the Hagia Sophia and the Dome of the Rock have a dome and an apex. Both buildings have arches on it. On both of their domes they have a rim on it. Relating to their context they each have a war story behind it. They both have mosaics around the buildings.