What is the {student of} and the {student} of {Ruhollah_Khomeini} ?
Who is Ruhollah Khomeini's student?
Who is the student of Ruhollah Khomeini?
SELECT ?x ?q WHERE { resource:Ruhollah_Khomeini property:student_of ?x . resource:Ruhollah_Khomeini property:student ?q }
 SELECT ?ans_1 ?ans_2 WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q38823> . ?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/Q38823> . ?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:Q38823 wdt:P1066 ?ans_1 . wd:Q38823 wdt:P802 ?ans_2 }
Seyyed Hossein Borujerdi Hussein-Ali Montazeri Abu al-Majd al-Isfahani Hussein-Ali Montazeri Seyyed Hossein Borujerdi Naser ibn Hashim al-Salman Abu al-Majd al-Isfahani Naser ibn Hashim al-Salman