<human>:  Why is it called the Hagia Sophia?
<bot>: The Hagia Sophia is the Greek name for the Church of the Holy Wisdom. It is located in Istanbul, Turkey. The Hagia Sophia was built in 537 AD, and was originally a church dedicated to the Greek goddess of wisdom, Sophia. In 1453, it was converted into a mosque, and then later became a museum.