What is the {human} for {head of state} of {German Democratic Republic}
Who is the head of state in the German Democratic Republic?
In the German Democratic Republic, who is the head of state?
SELECT DISTINCT ?g WHERE { resource:East_Germany property:head_of_state ?g . ?g rdf:type ontology:human }
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/P35> . ?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/Q5> } 
 select distinct ?obj where { wd:Q16957 wdt:P35 ?obj . ?obj wdt:P31 wd:Q5 } 
Wilhelm Pieck Egon Krenz Manfred Gerlach Erich Honecker Willi Stoph Walter Ulbricht Sabine Bergmann-Pohl