<human>:  Who designed the Hagia Sophia (znik)?
<bot>: The Hagia Sophia was designed by an architect called Isidore of Miletus. It was built as a church, but it was later converted into a mosque, and then into a museum. It is the largest surviving Byzantine church in Istanbul, Turkey.