What name you give this place depends on a lot of things. The Turks call it "Kuçuk Aya Sofya Camii," which means "Little Hagia Sofia." It was originally the SS Sergius and Bacchus' Church before its conversion to a mosque, and that's how Eyewitness refers to it.