Question: What character did Joan Allen play in The Bourne Legacy?
Choices:
Rocky Balboa
Jack Torrance
Edward Cullen
Elastigirl
Bob
Hercules
Pamela Landy
Richie Gecko
Peter Pan
Roman Pearce
Answer: Pamela Landy
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "The Bourne Legacy" . ?e_2 <pred:name> "Joan Allen" . ?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 Legacy
function: Find
inputs: Joan Allen
function: QueryRelationQualifier
dependencies: 0
1
inputs: cast member
character role