What is the {human} for {doctoral student} of {Carl Friedrich Gauss}
Who was the doctoral student of Carl Friedrich Gauss?
Who is the person that was the doctoral student of Carl Friedrich Gauss?
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:human . ?m property:doctoral_student resource:Carl_Friedrich_Gauss }
select distinct ?subj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?subj . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P185> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q6722> . ?subj <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q5> } 
 select distinct ?sbj where { ?sbj wdt:P185 wd:Q6722 . ?sbj wdt:P31 wd:Q5 } 
Johann Friedrich Pfaff