Question: What is the connection between Angels & Demons (the one whose genre is adventure) to Angels & Demons (the one that has Alfred Molina as a cast member)?
Choices:
owner of
tributary
partner
owned by
industry
officeholder
general manager
derivative work
family name
narrative role
Answer: derivative work
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Angels & Demons" . ?e_1 <genre> ?e_3 . ?e_3 <pred:name> "adventure" . ?e_2 <pred:name> "Angels & Demons" . ?e_2 <cast_member> ?e_4 . ?e_4 <pred:name> "Alfred Molina" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: adventure
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: Angels & Demons
function: And
dependencies: 1
2
function: Find
inputs: Alfred Molina
function: Relate
dependencies: 4
inputs: cast member
backward
function: Find
inputs: Angels & Demons
function: And
dependencies: 5
6
function: QueryRelation
dependencies: 3
7