What is the {sibling} and the {child} of {Ali_Khamenei} ?
Who is the brother or sister of Ali Khamenei and who is their child?
Who is the {sibling} and the {child} of {Ali_Khamenei} ?
SELECT ?d ?e WHERE { resource:Ali_Khamenei property:child ?e . resource:Ali_Khamenei property:sibling ?d }
 SELECT ?ans_1 ?ans_2 WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q57336> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P3373> . ?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/Q57336> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P40> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?ans_2. } 
SELECT ?ans_1 ?ans_2 WHERE { wd:Q57336 wdt:P3373 ?ans_1 . wd:Q57336 wdt:P40 ?ans_2 }
Hadi Khamenei Mojtaba Khamenei Mohammad Khamenei Mojtaba Khamenei Hadi Khamenei Seyyed Mostafa Khamenei Mohammad Khamenei Seyyed Mostafa Khamenei Hadi Khamenei Seyyed Masoud Khamenei Mohammad Khamenei Seyyed Masoud Khamenei