What is {film starring} of {prequel is} of {Goal III: Taking on the World} ?
What film could be a prequel of "Objective III: Taking on the World"?
What film is a prequel of "Goal III: Taking on the World"?
SELECT ?f WHERE { resource:Goal_III:_Taking_on_the_World property:follows ?g . ?g property:cast_member ?f }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q132134> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P155>. ?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/P161> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?answer . }
SELECT ?answer WHERE { wd:Q132134 wdt:P155 ?X . ?X wdt:P161 ?answer}