what is the {start time} for {Ankara} has {country} as {Ottoman Caliphate} ?
Ankara became the Ottoman Caliphate what year?
When did Ankara start as Ottoman Caliphate?
SELECT ?w WHERE { ?k property:country resource:Ottoman_Caliphate . ?k property:start_time ?w . resource:Ankara property:country ?k }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q3640> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P17> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q2034358> .
?statement <http://www.wikidata.org/entity/P580> ?value. 
} 

SELECT ?value WHERE { wd:Q3640 p:P17 ?s . ?s ps:P17 wd:Q2034358 . ?s pq:P580 ?value}