Question: Which euro currency nation was once ruled by Philip IV of Spain?
Answer(s):
answer: Portugal

SPARQL query:
PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT DISTINCT ?x
WHERE {
FILTER (?x != ns:m.02l6h)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.02l6h ns:finance.currency.countries_used ?x .
?x ns:base.biblioness.bibs_location.loc_type ?sk0 .
FILTER (str(?sk0) = "Country")
?x ns:royalty.kingdom.rulers ns:m.0132m7 . 
}