<human>:  When was the Hagia Sophia (znik) built?
<bot>: The Hagia Sophia was built in the 6th century. It is a large basilica church, and it is considered to be one of the greatest examples of Byzantine architecture. It is located in Istanbul, Turkey.