What is the {human} for {student} of {John the Baptist}
Who was John the Baptist's student?
Who was the student of John the Baptist?
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:human . resource:John_the_Baptist property:student ?f }
select distinct ?obj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q40662> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P802> . ?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:Q40662 wdt:P802 ?obj . ?obj wdt:P31 wd:Q5 } 
historical Jesus