what is the {start time} for {Ahmedabad} has {located in the administrative territorial entity} as {Bombay Presidency} ?
In what year did Ahmedabad become the capital of Bombay?
When did Ahmedabad become Presidency of Bombay which was located in the administrative territorial entity?
SELECT ?g WHERE { ?l property:start_time ?g . ?l property:located_in_the_administrative_territorial_entity resource:Bombay_Presidency . resource:Ahmedabad property:located_in_the_administrative_territorial_entity ?l }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q1070> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P131> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q891827> .
?statement <http://www.wikidata.org/entity/P580> ?value. 
} 

SELECT ?value WHERE { wd:Q1070 p:P131 ?s . ?s ps:P131 wd:Q891827 . ?s pq:P580 ?value}