Question: What US state has a capital of Salem?
Answer(s):
answer: Salem

SPARQL query:
PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT DISTINCT ?x
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:location.us_state.capital ns:m.0d23k . 
?c ns:base.aareas.schema.administrative_area.capital ?x .
}