What is {educated at} of {Jean Auguste Dominique Ingres} that is {start time} is {1791-0-0} ?
Jean Auguste Dominique Ingres began attending what school in 1791?
Where did Jean Auguste Dominique Ingres begin being educated in 1791?
SELECT ?g WHERE { FILTER ( CONTAINS ( YEAR ( ?h ) , '1791' ) ) . ?q property:start_time ?h . resource:Jean-Auguste-Dominique_Ingres property:educated_at ?q . ?q property:educated_at ?g }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q23380> .
?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/P580> <1791-0-0>
} 

SELECT ?obj WHERE { wd:Q23380 p:P69 ?s . ?s ps:P69 ?obj . ?s pq:P580 ?x filter(contains(YEAR(?x),'1791')) }