Question: What is the character role of Jackie Cooper in Superman (the one that is followed by Superman II)?
Choices: Marcus Aurelius Antoninus
Pinky
Cousin Randy
Inspector Clouseau
Commissioner Liebowitz
David Alfaro Siqueiros
Freddy Krueger
Walter Skinner
Stan Litwak
Perry White
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Superman" . ?e_1 <followed_by> ?e_3 . ?e_3 <pred:name> "Superman II" . ?e_2 <pred:name> "Jackie Cooper" . ?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: Superman II
function: Relate
dependencies: 0
inputs: followed by
backward
function: Find
inputs: Superman
function: And
dependencies: 1
2
function: Find
inputs: Jackie Cooper
function: QueryRelationQualifier
dependencies: 3
4
inputs: cast member
character role
Answer: Perry White