What is {graduate of} of {actress} of {Richy Guitar} ?
What is the graduating course of the performing artist Richy Guitar
What is the graduating class of the actress Richy Guitar?
SELECT ?f WHERE { resource:Richy_Guitar property:cast_member ?d . ?d property:educated_at ?f }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q2151518> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P161>. ?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/P69> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?answer . }
SELECT ?answer WHERE { wd:Q2151518 wdt:P161 ?X . ?X wdt:P69 ?answer}
Freie Universität Berlin Georg Herwegh Gymnasium Victor Gollancz Elementary School