Question: What is the capital of the Republic of the place that uses the Irish pound as currency?
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.currency_formerly_used ns:m.01nv5d . 
?c ns:location.country.capital ?x .
}