What is {before was} of {party membership} of {Josef Kramer} ?
Who came before Josef Kramer in power?
Who was in charge before Josef Kramer?
SELECT ?x WHERE { resource:Josef_Kramer property:member_of_political_party ?p . ?p property:follows ?x }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q57688> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P102>. ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?X . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?X. ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P155> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?answer . }
SELECT ?answer WHERE { wd:Q57688 wdt:P102 ?X . ?X wdt:P155 ?answer}
German National People's Party German Workers' Party Sudeten German Party