What is {work location} of {William Hogarth} that is {start time} is {1712-1-1} ?
Where was William Hogarth worked on January 1, 1712?
Where did William Hogarth work on January 1, 1712?
SELECT ?a WHERE { resource:William_Hogarth property:work_location ?u . ?u property:work_location ?a . ?u property:start_time ?n . FILTER ( CONTAINS ( YEAR ( ?n ) , '1712' ) ) }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q171344> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P937> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj .
?statement <http://www.wikidata.org/entity/P580> <1712-1-1>
} 

SELECT ?obj WHERE { wd:Q171344 p:P937 ?s . ?s ps:P937 ?obj . ?s pq:P580 ?x filter(contains(YEAR(?x),'1712')) }