What is the {historical country} for {diplomatic relation} of {Russian Empire}
What nations did the Russian Realm span?
What countries did the Russian Empire span?
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:historical_country . ?c property:diplomatic_relation resource:Russian_Empire }
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/P530> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q34266> . ?subj <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q3024240> } 
 select distinct ?sbj where { ?sbj wdt:P530 wd:Q34266 . ?sbj wdt:P31 wd:Q3024240 } 
Empire of Japan