Question: Who was a student of John the Apostle?
Paraphrase: Who did John the Apostle teach?
SPARQL (Wikidata):  select distinct ?sbj where { ?sbj wdt:P802 wd:Q44015 . ?sbj wdt:P31 wd:Q5 } 
Answer: historical Jesus