Question: What is character, or role does Michael Keaton play in Batman (the one whose duration is 121 minute)?
Choices: Professor Lewis
Banzai
Emmett Brown
Jefferson Coatsworth
Wynnchel
General Hologram
Batman
Eddard Stark
Happy Hogan
Wayne the Wolf
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Batman" . ?e_1 <duration> ?pv . ?pv <pred:unit> "minute" . ?pv <pred:value> "121"^^xsd:double . ?e_2 <pred:name> "Michael Keaton" . ?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: Batman
function: FilterNum
dependencies: 0
inputs: duration
121 minute
=
function: Find
inputs: Michael Keaton
function: QueryRelationQualifier
dependencies: 1
2
inputs: cast member
character role
Answer: Batman