What is the {human} for {doctoral advisor} of {Ted Kaczynski}
Who was the doctoral advisor for Ted Kaczynski?
Who was Ted Kaczynski's doctoral advisor?
SELECT DISTINCT ?g WHERE { resource:Ted_Kaczynski property:doctoral_advisor ?g . ?g rdf:type ontology:human }
select distinct ?obj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q222134> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P184> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj . ?obj <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q5> } 
 select distinct ?obj where { wd:Q222134 wdt:P184 ?obj . ?obj wdt:P31 wd:Q5 } 
Allen Lowell Shields