What is {educated at} of {Douglas Adams} that is {academic major} is {English literature} ?
Where did Douglas Adams study English Ligerature?
At what university did Douglas Adams study English literature?
SELECT ?e WHERE { ?f property:academic_major resource:English_literature . ?f property:educated_at ?e . resource:Douglas_Adams property:educated_at ?f }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q42> .
?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/P812> <http://wikidata.dbpedia.org/resource/Q186579>
} 

SELECT ?obj WHERE { wd:Q42 p:P69 ?s . ?s ps:P69 ?obj . ?s pq:P812 wd:Q186579 }