What is {member of} of {William Etty}, that has {headquarters} is {City of Westminster} ?
Who is the child of Louis IX of France and when did the child pass on?
What headquarters in the City of Westminster is William Etty a member of?
SELECT ?e WHERE { ?e property:headquarters_location resource:City_of_Westminster . resource:William_Etty property:member_of ?e }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q766362> . ?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> ?answer . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?answer. ?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> <http://wikidata.dbpedia.org/resource/Q179351> . }
SELECT ?answer WHERE { wd:Q766362 wdt:P463 ?answer . ?answer wdt:P159 wd:Q179351}
Royal Academy of Arts