What is {educated at} of {John Paul Stevens} that is {end time} is {1947-0-0} ?
In 1947, where did John Paul Stevens receive an education?
Where was John Paul Stevens educated in 1947?
SELECT ?w WHERE { ?a property:end_time ?i . FILTER ( CONTAINS ( YEAR ( ?i ) , '1947' ) ) . resource:John_Paul_Stevens property:educated_at ?a . ?a property:educated_at ?w }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q11109> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P69> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj .
?statement <http://www.wikidata.org/entity/P582> <1947-0-0>
} 

SELECT ?obj WHERE { wd:Q11109 p:P69 ?s . ?s ps:P69 ?obj . ?s pq:P582 ?x filter(contains(YEAR(?x),'1947')) }