Question: What city is the capital of the country where County Carlow is located?
Answer(s):
answer: Dublin

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.second_level_divisions ns:m.0194nf . 
?c ns:location.country.capital ?x .
}