What is {member of} of {Hannes Alfvén}, that has {HQ location} is {Frescati} ?
"Hannes Alfivén was a member of what agency that is headquartered in Frescati?"
"Hannes Alfivén was a member of what organization that is headquartered in Frescati?"
SELECT ?c WHERE { ?c property:headquarters_location resource:Frescati . resource:Hannes_Alfvén property:member_of ?c }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q54945> . ?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/Q1455650> . }
SELECT ?answer WHERE { wd:Q54945 wdt:P463 ?answer . ?answer wdt:P159 wd:Q1455650}
Royal Swedish Academy of Sciences