What is {educated at} of {Newt Gingrich} that is {academic degree} is {Doctor of Philosophy} ?
Newt Gingrich received his Doctor of Philosophy degree at which university?
At what university did Newt Gingrich receive his Doctor of Philosophy degree?
SELECT ?x WHERE { resource:Newt_Gingrich property:educated_at ?n . ?n property:educated_at ?x . ?n property:academic_degree resource:Doctor_of_Philosophy }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q182788> .
?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/P512> <http://wikidata.dbpedia.org/resource/Q752297>
} 

SELECT ?obj WHERE { wd:Q182788 p:P69 ?s . ?s ps:P69 ?obj . ?s pq:P512 wd:Q752297 }