What is {end cause} and {end time} of {{Robert Barclay Allardice} has {country of citizenship} as {Kingdom of Great Britain}}
Where and when did Robert Barclay give up his experience of the Kingdom of Great Britain?
Where and when did Robert Barclay end his journey of the Kingdom of Great Britain?
SELECT ?r ?i WHERE { ?q property:end_cause ?r . ?q property:country_of_citizenship resource:Great_Britain . resource:Robert_Barclay_Allardice property:country_of_citizenship ?q . ?q property:end_time ?i }
select distinct ?value1 ?value2 where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q7341861> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P27> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q161885>. ?statement <http://www.wikidata.org/entity/P580> ?value1 . ?statement <http://www.wikidata.org/entity/P2842> ?value2 } 
SELECT ?value1 ?value2 WHERE { wd:Q7341861 p:P27 ?s . ?s ps:P27 wd:Q161885 . ?s pq:P1534 ?value1 . ?s pq:P582 ?value2 }