What is {country} of {Surrey} that is {start time} is {1922-12-6} ?
On December 6, 1922 which country of Surrey was established?
What country of Surrey was established on December 6, 1922?
SELECT ?g WHERE { ?w property:country ?g . FILTER ( CONTAINS ( YEAR ( ?m ) , '1922' ) ) . ?w property:start_time ?m . resource:Surrey property:country ?w }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q23276> .
?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> ?obj .
?statement <http://www.wikidata.org/entity/P580> <1922-12-6>
} 

SELECT ?obj WHERE { wd:Q23276 p:P17 ?s . ?s ps:P17 ?obj . ?s pq:P580 ?x filter(contains(YEAR(?x),'1922')) }