Question: What is the character role of Hayden Panettiere in Heroes (the one whose duration is 42 minute)?
Choices: Dr. Tenma
Azazel
Velma Kelly
Beard Papa
Evelyn Frechette
Laurie Strode
Claire Bennet
Edna Krabappel
Death
Serleena
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Heroes" . ?e_1 <duration> ?pv . ?pv <pred:unit> "minute" . ?pv <pred:value> "42"^^xsd:double . ?e_2 <pred:name> "Hayden Panettiere" . ?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: Heroes
function: FilterNum
dependencies: 0
inputs: duration
42 minute
=
function: Find
inputs: Hayden Panettiere
function: QueryRelationQualifier
dependencies: 1
2
inputs: cast member
character role
Answer: Claire Bennet