Question: What is the character role of John Goodman (the one that is a voice actor of ParaNorman) in  The Flintstones (the one whose duration is 87 minute)?
Choices: Nately
Tina Modotti
Vincent Dwyer
Will Bailey
Chris Bradley
Mindy the Mermaid
Claudia
Fred Flintstone
Meredith Vickers
Twoflower
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "The Flintstones" . ?e_1 <duration> ?pv . ?pv <pred:unit> "minute" . ?pv <pred:value> "87"^^xsd:double . ?e_2 <pred:name> "John Goodman" . ?e_3 <voice_actor> ?e_2 . ?e_3 <pred:name> "ParaNorman" . ?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: The Flintstones
function: FilterNum
dependencies: 0
inputs: duration
87 minute
=
function: Find
inputs: ParaNorman
function: Relate
dependencies: 2
inputs: voice actor
forward
function: Find
inputs: John Goodman
function: And
dependencies: 3
4
function: QueryRelationQualifier
dependencies: 1
5
inputs: cast member
character role
Answer: Fred Flintstone