Question: What continent is Melanesia located on?
Paraphrase: What landmass is Melanesia found on?
SPARQL (Wikidata):  select distinct ?obj where { wd:Q37394 wdt:P706 ?obj . ?obj wdt:P31 wd:Q5107 } 
Answer: Oceania