What is the {historical country} for {currency} of {Japanese yen}
What country uses the Japanese Yen?
Which is the historical country that uses Japanese Yen as currency?
SELECT DISTINCT ?l WHERE { ?l property:currency resource:Japanese_yen . ?l rdf:type ontology:historical_country }
select distinct ?subj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?subj . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P38> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q8146> . ?subj <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q3024240> } 
 select distinct ?sbj where { ?sbj wdt:P38 wd:Q8146 . ?sbj wdt:P31 wd:Q3024240 } 
Empire of Japan South Seas Mandate