Question: The country where Vienna is located has what city as its capital>?
Answer(s):
answer: Vienna

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.country.administrative_divisions ns:m.0fhp9 . 
?c ns:location.country.capital ?x .
}