Question: What country speaks Chinese and has Beijing as its capital?
Answer(s):
answer: China

SPARQL query:
PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT DISTINCT ?x
WHERE {
FILTER (?x != ns:m.01r2l)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.01r2l ns:language.human_language.countries_spoken_in ?x .
?x ns:location.country.capital ns:m.01914 . 
}