What is {educated at} of {Matt Groening} that is {end time} is {1977-0-0} ?
What qualification did Matt Groening receive in 1977?
What education received by Matt Groening in the year 1977?
SELECT ?w WHERE { FILTER ( CONTAINS ( YEAR ( ?x ) , '1977' ) ) . ?s property:educated_at ?w . ?s property:end_time ?x . resource:Matt_Groening property:educated_at ?s }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q43994> .
?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> <1977-0-0>
} 

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