What is {language official} of {member of} of {Iran} ?
What is the official language of the country of Iran?
What is the official language of a member of Iran?
SELECT ?s WHERE { ?d property:official_language ?s . resource:Iran property:member_of ?d }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q794> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P463>. ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?X . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?X. ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P37> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?answer . }
SELECT ?answer WHERE { wd:Q794 wdt:P463 ?X . ?X wdt:P37 ?answer}
French Spanish English Russian Arabic Standard Chinese English French Spanish English Russian Chinese Arabic French Spanish English Russian Arabic Standard Chinese French Spanish English Arabic French English French English Arabic