What is {start time} and {end time} of {{Belfast} has {country} as {United Kingdom of Great Britain and Ireland}}
When did Belfast start and end their part in the UK of Great Britain and Ireland?
What are the start and end dates of Belfast being a part of the United Kingdom of Great Britain and Ireland?
SELECT ?r ?i WHERE { ?x property:start_time ?r . ?x property:end_time ?i . resource:Belfast property:country ?x . ?x property:country resource:United_Kingdom_of_Great_Britain_and_Ireland }
select distinct ?value1 ?value2 where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q10686> . ?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/Q174193>. ?statement <http://www.wikidata.org/entity/P580> ?value1 . ?statement <http://www.wikidata.org/entity/P2842> ?value2 } 
SELECT ?value1 ?value2 WHERE { wd:Q10686 p:P17 ?s . ?s ps:P17 wd:Q174193 . ?s pq:P580 ?value1 . ?s pq:P582 ?value2 }