What is {end time} and {start time} of {{Tbilisi} has {located in the administrative territorial entity} as {Georgian Soviet Socialist Republic}}
When is Tbilisi?
What is {end time} and {start time} of {{Tbilisi} which is {located in the administrative territorial entity} as {Georgian Soviet Socialist Republic}}?
SELECT ?b ?u WHERE { ?b property:located_in_the_administrative_territorial_entity resource:Georgian_Soviet_Socialist_Republic . ?b property:start_time ?u . ?b property:end_time ?b . resource:Tbilisi property:located_in_the_administrative_territorial_entity ?b }
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/P131> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q130229>. ?statement <http://www.wikidata.org/entity/P580> ?value1 . ?statement <http://www.wikidata.org/entity/P2842> ?value2 } 
SELECT ?value1 ?value2 WHERE { wd:Q994 p:P131 ?s . ?s ps:P131 wd:Q130229 . ?s pq:P582 ?value1 . ?s pq:P580 ?value2 }