Question: How is Hulk, with costume designer Marit Allen, connected to Jennifer Connelly?
Choices:
original network
has effect
filming location
license
make-up artist
public holiday
spouse
cast member
field of this occupation
influenced by
Answer: cast member
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Hulk" . ?e_1 <costume_designer> ?e_3 . ?e_3 <pred:name> "Marit Allen" . ?e_2 <pred:name> "Jennifer Connelly" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Marit Allen
function: Relate
dependencies: 0
inputs: costume designer
backward
function: Find
inputs: Hulk
function: And
dependencies: 1
2
function: Find
inputs: Jennifer Connelly
function: QueryRelation
dependencies: 3
4