What is the {country} for {diplomatic relation} of {German Democratic Republic}
What nations are a portion of the German Equitable Republic?
What countries are a part of the German Democratic Republic?
SELECT DISTINCT ?k WHERE { resource:East_Germany property:diplomatic_relation ?k . ?k rdf:type ontology:country }
select distinct ?obj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q16957> . ?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/Q6256> } 
 select distinct ?obj where { wd:Q16957 wdt:P530 ?obj . ?obj wdt:P31 wd:Q6256 } 
North Korea Israel Pakistan Germany