Question: What is the character role of Timothy Dalton in Flash Gordon (the one whose duration is 111 minute)?
Choices: Sylar
Security Guard
Diego
Prince Barin
Thirteen
Alexis Colby
Philoctetes
Jojen Reed
Tony Mendez
Emil Skoda
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Flash Gordon" . ?e_1 <duration> ?pv . ?pv <pred:unit> "minute" . ?pv <pred:value> "111"^^xsd:double . ?e_2 <pred:name> "Timothy Dalton" . ?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: Flash Gordon
function: FilterNum
dependencies: 0
inputs: duration
111 minute
=
function: Find
inputs: Timothy Dalton
function: QueryRelationQualifier
dependencies: 1
2
inputs: cast member
character role
Answer: Prince Barin