Human: Why is it called the Hagia Sophia? Assistant: 
The Hagia Sophia is the Greek name for the Church of the Holy Wisdom. The church was built in Constantinople (modern-day Istanbul) and is a famous example of Byzantine architecture. It was originally built as a church in 360 CE, but was converted into a mosque in 1453. The church was later converted back into a church in 1935.