Question: What is the connection between Eragon (the one that has Sienna Guillory as a cast member) to John Malkovich?
Choices:
student
published in
feast day
lowest point
capital
drug used for treatment
political ideology
cast member
business division
material used
Program:
function: Find
inputs: Sienna Guillory
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Eragon
function: And
dependencies: 1
2
function: Find
inputs: John Malkovich
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Eragon" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Sienna Guillory" . ?e_2 <pred:name> "John Malkovich" . ?e_1 ?p ?e_2 .  }
Answer: cast member