Question: What is Wales the capital of?
Paraphrase: What is Wales the capital of?
SPARQL (Wikidata):  select distinct ?obj where { wd:Q25 wdt:P36 ?obj . ?obj wdt:P31 wd:Q5119 } 
Answer: Cardiff