Question: How is the adventure film The Edge related to Anthony Hopkins?
Choices:
business division
location of discovery
cast member
head coach
place of birth
genre
conflict
home port
has edition
commissioned by
Answer: cast member
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "The Edge" . ?e_1 <genre> ?e_3 . ?e_3 <pred:name> "adventure film" . ?e_2 <pred:name> "Anthony Hopkins" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: adventure film
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: The Edge
function: And
dependencies: 1
2
function: Find
inputs: Anthony Hopkins
function: QueryRelation
dependencies: 3
4