Question: John Goodman, a voice actor of ParaNorman, plays which character on The Flintstones, also featuring Elizabeth Perkins as a cast member?
Choices:
Wheelie
Louis de Pointe du Lac
Alan Grant
Libby Smith
Nigel Powers
Anna Valerious
John Blake
Fred Flintstone
William Gardner
Dana Barrett
Answer: Fred Flintstone
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "The Flintstones" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Elizabeth Perkins" . ?e_2 <pred:name> "John Goodman" . ?e_4 <voice_actor> ?e_2 . ?e_4 <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: Elizabeth Perkins
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: The Flintstones
function: And
dependencies: 1
2
function: Find
inputs: ParaNorman
function: Relate
dependencies: 4
inputs: voice actor
forward
function: Find
inputs: John Goodman
function: And
dependencies: 5
6
function: QueryRelationQualifier
dependencies: 3
7
inputs: cast member
character role