Question: What is cast member Jennifer Garner's character role in Alias (which has 5 seasons)?
Choices: Sydney Bristow
Michael Corleone
Naomi
Harvey Fenner
The Peddler
Robert McNamara
Guinevere
Oafish Guard
Butch Coolidge
Pepper Potts
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Alias" . ?e_1 <number_of_seasons> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "5"^^xsd:double . ?e_2 <pred:name> "Jennifer Garner" . ?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: Alias
function: FilterNum
dependencies: 0
inputs: number of seasons
5
=
function: Find
inputs: Jennifer Garner
function: QueryRelationQualifier
dependencies: 1
2
inputs: cast member
character role
Answer: Sydney Bristow