Question: The Patriot, set in South Carolina, has what connection to Chris Cooper, from the cast of Jarhead?
Choices:
quotes work
designated as terrorist by
composer
office held by head of state
screenwriter
cast member
spouse
season starts
drug used for treatment
noble title
Answer: cast member
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "The Patriot" . ?e_1 <narrative_location> ?e_3 . ?e_3 <pred:name> "South Carolina" . ?e_2 <pred:name> "Chris Cooper" . ?e_4 <cast_member> ?e_2 . ?e_4 <pred:name> "Jarhead" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: South Carolina
function: Relate
dependencies: 0
inputs: narrative location
backward
function: Find
inputs: The Patriot
function: And
dependencies: 1
2
function: Find
inputs: Jarhead
function: Relate
dependencies: 4
inputs: cast member
forward
function: Find
inputs: Chris Cooper
function: And
dependencies: 5
6
function: QueryRelation
dependencies: 3
7