Question: Is Kuala Lumpur the state of Malaysia
Paraphrase: Is Kuala Lumpur Malaysia's state
SPARQL (Wikidata):  select distinct ?obj where { wd:Q1865 wdt:P501 ?obj . ?obj wdt:P31 wd:Q15063586 } 
Answer: Selangor