What is the {human} for {doctoral advisor} of {Janet Yellen}
Who was Janet Yellen's doctoral advisor?
Who was the doctoral advisor for Janet Yellen?
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:human . resource:Janet_Yellen property:doctoral_advisor ?s }
select distinct ?obj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q263725> . ?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:Q263725 wdt:P184 ?obj . ?obj wdt:P31 wd:Q5 } 
James Tobin