Question: What country did the successor of William Ofori Atta swear his oath to?
SPARQL query:
PREFIX res: <http://dbpedia.org/resource/>
PREFIX prop: <http://dbpedia.org/property/>
SELECT DISTINCT ?uri WHERE { ?x prop:predecessor res:William_Ofori_Atta . ?x prop:allegiance ?uri  . }