Question: Tell me the relation of Hannibal (the one that features Julianne Moore) to the MTV movie award for best movie.
Choices:
fabrication method
month of the year
architectural style
officeholder
currency
symptom of
professional or sports partner
ancestral home
depicts
nominated for
Answer: nominated for
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Hannibal" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Julianne Moore" . ?e_2 <pred:name> "MTV Movie Award for Best Movie" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Julianne Moore
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Hannibal
function: And
dependencies: 1
2
function: Find
inputs: MTV Movie Award for Best Movie
function: QueryRelation
dependencies: 3
4