What is the {student of} and the {student} of {William_Blake} ?
Where did William Blake study, and what was the name of his student?
What was William Blake a student of and who was his student?
SELECT ?v ?g WHERE { resource:William_Blake property:student_of ?v . resource:William_Blake property:student ?g }
 SELECT ?ans_1 ?ans_2 WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q41513> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P1066> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?ans_1. ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q41513> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P802> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?ans_2. } 
SELECT ?ans_1 ?ans_2 WHERE { wd:Q41513 wdt:P1066 ?ans_1 . wd:Q41513 wdt:P802 ?ans_2 }
James Barry Allen Ginsberg George Michael Moser Allen Ginsberg James Basire Allen Ginsberg Henry Pars Allen Ginsberg James Barry William Butler Yeats George Michael Moser William Butler Yeats James Basire William Butler Yeats Henry Pars William Butler Yeats James Barry Kahlil Gibran George Michael Moser Kahlil Gibran James Basire Kahlil Gibran Henry Pars Kahlil Gibran James Barry Philip Pullman George Michael Moser Philip Pullman James Basire Philip Pullman Henry Pars Philip Pullman James Barry Tracy Chevalier George Michael Moser Tracy Chevalier James Basire Tracy Chevalier Henry Pars Tracy Chevalier James Barry Thomas Trotter George Michael Moser Thomas Trotter James Basire Thomas Trotter Henry Pars Thomas Trotter