Question: What is the character role of Jason Biggs in American Pie (the one that has Tara Reid as a cast member)?
Choices:
Sonji Roi
Archdeacon
Saavik
Jane Porter
Puss in Boots
Joan Holloway
Dana Barrett
Jim Levenstein
Elastigirl
Angel
Answer: Jim Levenstein
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "American Pie" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Tara Reid" . ?e_2 <pred:name> "Jason Biggs" . ?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: Tara Reid
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: American Pie
function: And
dependencies: 1
2
function: Find
inputs: Jason Biggs
function: QueryRelationQualifier
dependencies: 3
4
inputs: cast member
character role