What is {educated at} of {Maximilien de Robespierre} that is {end time} is {1781-0-0} ?
When did Maximilien de Robespierre get educated?
Who was {educated at} {Maximilien de Robespierre} where {end time} is {1781-0-0} ?
SELECT ?t WHERE { ?m property:end_time ?t . resource:Maximilien_Robespierre property:educated_at ?m . ?m property:educated_at ?t . FILTER ( CONTAINS ( YEAR ( ?t ) , '1781' ) ) }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q44197> .
?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> <1781-0-0>
} 

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