Question: What is the relation between Transformers: Revenge of the Fallen (in the action film genre) and the Golden Raspberry Award for Worst Director?
Choices:
Wikidata property
sports season of league or competition
political ideology
child astronomical body
nominated for
set in period
production designer
geography of topic
interested in
drug used for treatment
Answer: nominated for
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Transformers: Revenge of the Fallen" . ?e_1 <genre> ?e_3 . ?e_3 <pred:name> "action film" . ?e_2 <pred:name> "Golden Raspberry Award for Worst Director" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: action film
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: Transformers: Revenge of the Fallen
function: And
dependencies: 1
2
function: Find
inputs: Golden Raspberry Award for Worst Director
function: QueryRelation
dependencies: 3
4