What is {chairperson} of {member of} of {Đurica Jojkić} ?
Give me the name of the chairperson of Durica Jojkić's committee.
Who is the chairperson of Durica Jojkić's committee?
SELECT ?g WHERE { ?b property:chairperson ?g . resource:Đurica_Jojkić property:member_of_political_party ?b }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q12747513> . ?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/P488> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?answer . }
SELECT ?answer WHERE { wd:Q12747513 wdt:P102 ?X . ?X wdt:P488 ?answer}
Josip Broz Tito