What is the {historical country} for {diplomatic relation} of {Ottoman Empire}
Which is the chronicled nation for the political connection of the Footrest Empire?
Which is the historical country for the diplomatic relation of the Ottoman Empire?
SELECT DISTINCT ?a WHERE { resource:Ottoman_Empire property:diplomatic_relation ?a . ?a rdf:type ontology:historical_country }
select distinct ?obj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q12560> . ?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> ?obj . ?obj <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q3024240> } 
 select distinct ?obj where { wd:Q12560 wdt:P530 ?obj . ?obj wdt:P31 wd:Q3024240 } 
Ukrainian People's Republic