Question: What country contains Beijing?
Paraphrase: What nation contains Beijing?
SPARQL (Wikidata):  select distinct ?sbj where { ?sbj wdt:P150 wd:Q956 . ?sbj wdt:P31 wd:Q3624078 } 
Answer: People's Republic of China