What is {principle office} of {member of} of {Wenckheim Frigyes} ?
Who heads Wenkheim Frigyes?
Who is the head of Wenckheim Frigyes?
SELECT ?m WHERE { ?l property:headquarters_location ?m . resource:Frigyes_Wenckheim property:member_of ?l }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q28359103> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P463>. ?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/P159> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?answer . }
SELECT ?answer WHERE { wd:Q28359103 wdt:P463 ?X . ?X wdt:P159 ?answer}
Hungarian Parliament Building