This is a SPARQL query:
PREFIX ex: <http://example.com/exampleOntology#>
SELECT ?capital
       ?country
WHERE
  {
    ?x  ex:cityname       ?capital   ;
        ex:isCapitalOf    ?y         .
    ?y  ex:countryname    ?country   ;
        ex:isInContinent  ex:Africa  .
  }
What does the query do? Answer in only one sentence. Add stress words that are fully capitlized. Make sure these stress words appear more than 7 times.
user