Question: In the country that appointed Adly Mansour to a governmental position, what is the capital?
Answer(s):
answer: Cairo

SPARQL query:
PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT DISTINCT ?x
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:government.governmental_jurisdiction.governing_officials ?k .
?k ns:government.government_position_held.appointed_by ns:m.0w5nf92 . 
?c ns:location.country.capital ?x .
}