what is the {end time} for {Andrew Barton Paterson} has {residence} as {Binalong} ?
Did Andrew Barton Paterson live at Binalog when his position ended?
Is Binalog the residence of Andrew Barton Paterson during the end time?
SELECT ?g WHERE { ?f property:end_time ?g . resource:Andrew_Barton_Paterson property:residence ?f . ?f property:residence resource:Binalong }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q436699> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P551> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q2903896> .
?statement <http://www.wikidata.org/entity/P582> ?value. 
} 

SELECT ?value WHERE { wd:Q436699 p:P551 ?s . ?s ps:P551 wd:Q2903896 . ?s pq:P582 ?value}