Question: How is Jonah Hex, a Golden Raspberry nominee for Worst Actress, linked to Megan Fox?
Choices: history of topic
honorific prefix
cast member
given name
relative
killed by
highest judicial authority
field of work
airline alliance
has parts of the class
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Jonah Hex" . ?e_1 <nominated_for> ?e_3 . ?e_3 <pred:name> "Golden Raspberry Award for Worst Actress" . ?e_2 <pred:name> "Megan Fox" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Golden Raspberry Award for Worst Actress
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: Jonah Hex
function: And
dependencies: 1
2
function: Find
inputs: Megan Fox
function: QueryRelation
dependencies: 3
4
Answer: cast member