Is the largestCity of res:Egypt the capital of res:Egypt?
Run at DBpedia SPARQL endpoint (assuming prefixes res: for resources, : and dbo: for ontology, and dbp: for properties in addition to DBpedia namespace definitions).
Load in DBpedia SPARQL Explorer (assuming the same prefixes as above).