What is {end time} and {end cause} of {{Robert Barclay Allardice} has {country of citizenship} as {Kingdom of Great Britain}}
When and why did Robert Barculey Allardice enter Great Brittain?
what is the end time and end cause  of robert barculey  allardice  has country  of citizenship  as kingdom of  great britain?
SELECT ?j ?t WHERE { ?n property:end_time ?j . ?n property:end_cause ?t . resource:Robert_Barclay_Allardice property:country_of_citizenship ?n . ?n property:country_of_citizenship resource:Great_Britain }
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:P582 ?value1 . ?s pq:P1534 ?value2 }