Question: Milla Jovovich is cast as which character on Resident Evil: Extinction?
Choices: Alex Munday
Donna Moss
Sarah Palin
Bunny Lebowski
Cobra Bubbles
Orr
Spider-Man
Liz Lemon
A.J. Frost
Alice
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Resident Evil: Extinction" . ?e_2 <pred:name> "Milla Jovovich" . ?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: Resident Evil: Extinction
function: Find
inputs: Milla Jovovich
function: QueryRelationQualifier
dependencies: 0
1
inputs: cast member
character role
Answer: Alice