Question: What is the capital of the country that contains the second level division County Waterford?
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.0jtf1 . 
?c ns:location.country.capital ?x .
}