What is {played by} of {aircraft carried} of {cook} ?
The Aircraft carried by Cook was played by who?
WHO PLAYED THE AIRCRAFT CARRIED BY COOK?
SELECT ?v WHERE { ?c property:used_by ?v . resource:cook property:item_operated ?c }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q156839> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P121>. ?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/P1535> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?answer . }
SELECT ?answer WHERE { wd:Q156839 wdt:P121 ?X . ?X wdt:P1535 ?answer}