What is {member of} of {party} of {Klaus Gärtner} ?
Which Klaus Gärtner party member?
Which  member of party of Klaus Gärtner ?
SELECT ?a WHERE { resource:Klaus_Gärtner property:member_of_political_party ?u . ?u property:member_of ?a }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q1745154> . ?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/P463> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?answer . }
SELECT ?answer WHERE { wd:Q1745154 wdt:P102 ?X . ?X wdt:P463 ?answer}
Alliance of Liberals and Democrats for Europe Party Liberal International European Movement Germany