Question: What US State has a capital named Lincoln and is where Louisville, NE is located?
Answer(s):
answer: Nebraska

SPARQL query:
PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT DISTINCT ?x
WHERE {
FILTER (?x != ns:m.0x50_)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0x50_ ns:location.location.containedby ?x .
?x ns:location.us_state.capital ns:m.04gxf . 
}