Question: On which continent is the Middle East located?
SPARQL (Wikidata):  select distinct ?obj where { wd:Q7204 wdt:P30 ?obj . ?obj wdt:P31 wd:Q5107 } 
Answer: Africa, Asia