What is the {landlocked country} for {currency} of {Russian ruble}
[]
When did landlocked country for currency of Russian ruble?
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:landlocked_country . ?m property:currency resource:Russian_ruble }
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/Q41044> . ?subj <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q123480> } 
 select distinct ?sbj where { ?sbj wdt:P38 wd:Q41044 . ?sbj wdt:P31 wd:Q123480 } 
South Ossetia