What is {diplomatic relation} of {Uzbekistan} that is {statement is subject of} is {Pakistan–Uzbekistan relations} ?
Pakistan was one of the first countries to recognize the independence of Uzbekistan. The relations between the two countries were initially strained by the situation in Afghanistan which both countries border as they supported opposing Afghan factions.
What statement is Uzbekistan is a subject of in diplomatic Pakistan-Uzbekistan relations?
SELECT ?c WHERE { ?z property:statement_is_subject_of resource:Pakistan–Uzbekistan_relations . resource:Uzbekistan property:diplomatic_relation ?z . ?z property:diplomatic_relation ?c }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q265> .
?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 .
?statement <http://www.wikidata.org/entity/P805> <http://wikidata.dbpedia.org/resource/Q4342347>
} 

SELECT ?obj WHERE { wd:Q265 p:P530 ?s . ?s ps:P530 ?obj . ?s pq:P805 wd:Q4342347 }