Question: What is the character role of John Malkovich in Jonah Hex (the one whose duration is 82 minutes)  ?
Choices:
Charles Keating
Vincent Dwyer
Frank Abagnale
Deacon Owl
Elrond
Quentin Turnbull
Will Graham
Ben Sanderson
Brill
Dienekes
Answer: Quentin Turnbull
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Jonah Hex" . ?e_1 <duration> ?pv . ?pv <pred:unit> "minute" . ?pv <pred:value> "82"^^xsd:double . ?e_2 <pred:name> "John Malkovich" . ?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: Jonah Hex
function: FilterNum
dependencies: 0
inputs: duration
82 minute
=
function: Find
inputs: John Malkovich
function: QueryRelationQualifier
dependencies: 1
2
inputs: cast member
character role