Question: Jenna Fischer plays which character on The Office, also featuring Rainn Wilson as a cast member?
Choices: Janosz Poha
Scrum
Dieter Reinhardt
Rafiki
Alan Garner
Lara Lor-Van
Foggy Nelson
Pam Halpert
Wakko Warner
Kestrel
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "The Office" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Rainn Wilson" . ?e_2 <pred:name> "Jenna Fischer" . ?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: Rainn Wilson
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: The Office
function: And
dependencies: 1
2
function: Find
inputs: Jenna Fischer
function: QueryRelationQualifier
dependencies: 3
4
inputs: cast member
character role
Answer: Pam Halpert