Question: What is the connection between Thor (the one whose genre is adventure film) to Anthony Hopkins?
Choices:
followed by
stated in
cast member
signatory
professorship
draft pick from school
religious order
significant event
film editor
has contributing factor
Program:
function: Find
inputs: adventure film
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: Thor
function: And
dependencies: 1
2
function: Find
inputs: Anthony Hopkins
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Thor" . ?e_1 <genre> ?e_3 . ?e_3 <pred:name> "adventure film" . ?e_2 <pred:name> "Anthony Hopkins" . ?e_1 ?p ?e_2 .  }
Answer: cast member