With which transcontinental countries did the Empire of Japan have diplomatic relations?
 select distinct ?obj where { wd:Q188712 wdt:P530 ?obj . ?obj wdt:P31 wd:Q1323642 } 
empire of japan: Q188712 transcontinental country: Q1323642