Question: What state whose capital is Montgomery is where the University of West Alabama is located?
Answer(s):
answer: Alabama

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