Question: What is Brian Cox's  (the one that is a cast member of Rise of the Planet of the Apes) character role as a cast member in the work The Bourne Supremacy?
Choices:
Patrick Gates
Debra Morgan
Faisal I of Iraq
Dory
Ward Abbott
Kevin
Serena Kogan
Walter White
Dana Tan
Mike Delfino
Answer: Ward Abbott
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "The Bourne Supremacy" . ?e_2 <pred:name> "Brian Cox" . ?e_3 <cast_member> ?e_2 . ?e_3 <pred:name> "Rise of the Planet of the Apes" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }
Program:
function: Find
inputs: The Bourne Supremacy
function: Find
inputs: Rise of the Planet of the Apes
function: Relate
dependencies: 1
inputs: cast member
forward
function: Find
inputs: Brian Cox
function: And
dependencies: 2
3
function: QueryRelationQualifier
dependencies: 0
4
inputs: cast member
character role