What is the {empire} for {diplomatic relation} of {Ottoman Empire}
For the ottoman empire who is the empire for diplomatic relation
who is the empire for diplomatic relation of ottoman empire?
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:empire . resource:Ottoman_Empire property:diplomatic_relation ?v }
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/Q48349> } 
 select distinct ?obj where { wd:Q12560 wdt:P530 ?obj . ?obj wdt:P31 wd:Q48349 } 