Question: What is the relation that Green Zone has to Michael O'Neill, who has character role in The Legend of Bagger Vance?
Choices: record label
employer
subject has role
cast member
highest judicial authority
month of the year
has dialect (DEPRECATED)
broadcast by
commander of
diplomatic relation
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Green Zone" . ?e_2 <pred:name> "Michael O'Neill" . ?e_3 <cast_member> ?e_2 . ?e_3 <pred:name> "The Legend of Bagger Vance" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Green Zone
function: Find
inputs: The Legend of Bagger Vance
function: Relate
dependencies: 1
inputs: cast member
forward
function: Find
inputs: Michael O'Neill
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4
Answer: cast member