What is {end time} and {start time} of {{Tbilisi} has {capital of} as {Tiflis County}}
Mention the yr span in which Tbilisi became capital of the Tiflis County
Mention the year span in which Tbilisi  became capital of the Tiflis County
SELECT ?i ?e WHERE { ?l property:end_time ?i . ?l property:start_time ?e . ?l property:capital_of resource:Tiflis_County . resource:Tbilisi property:capital_of ?l }
select distinct ?value1 ?value2 where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q994> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P1376> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q12864947>. ?statement <http://www.wikidata.org/entity/P580> ?value1 . ?statement <http://www.wikidata.org/entity/P2842> ?value2 } 
SELECT ?value1 ?value2 WHERE { wd:Q994 p:P1376 ?s . ?s ps:P1376 wd:Q12864947 . ?s pq:P582 ?value1 . ?s pq:P580 ?value2 }