Question: Morgan Freeman was cast as which Invictus character?
Choices:
Frasier Crane
Burt Munro
Larry Talbot
Max Shreck
Anna Karenina
Sabina Spielrein
Nelson Mandela
Steve Jobs
Fake Brill
Steve Freeling
Program:
function: Find
inputs: Invictus
function: Find
inputs: Morgan Freeman
function: QueryRelationQualifier
dependencies: 0
1
inputs: cast member
character role
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Invictus" . ?e_2 <pred:name> "Morgan Freeman" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }
Answer: Nelson Mandela