Question: What is the currency that used to be used in Cuba and is now used in Panama?
Answer(s):
answer: United States Dollar

SPARQL query:
PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT DISTINCT ?x
WHERE {
FILTER (?x != ns:m.05qx1)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.05qx1 ns:location.country.currency_used ?x .
?x ns:finance.currency.countries_formerly_used ns:m.0d04z6 . 
}