Input: What kind of church is the hagia sophia?
Output: 

 What kind of church was the hagia sophia originally? 
 Greek Orthodox Christian patriarchal cathedral