Question: Of the six states that border South Dakota, which US state has a capital called Lincoln?
Answer(s):
answer: Nebraska

SPARQL query:
PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT DISTINCT ?x
WHERE {
FILTER (?x != ns:m.06mz5)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.06mz5 ns:location.location.adjoin_s ?y .
?y ns:location.adjoining_relationship.adjoins ?x .
?x ns:common.topic.notable_types ns:m.0kpys4 .
?x ns:location.us_state.capital ns:m.04gxf . 
}