Question: What Northern African Country where the Temple of Karnak was built also has the Capital city of Cairo?
Answer(s):
answer: Egypt

SPARQL query:
PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT DISTINCT ?x
WHERE {
FILTER (?x != ns:m.014wy4)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.014wy4 ns:location.location.containedby ?x .
?x ns:location.country.administrative_divisions ns:m.023syc . 
}