Question: What is the character role of Brad Bird in The Incredibles (the one that has John Ratzenberger as a voice actor)?
Choices:
Martin Riggs
Edna Mode
Security Guard
Chief Wiggum
Phyllis Lindstrom
John Carter
Georgiana Cavendish, Duchess of Devonshire
Terence McDonagh
Paul III
Gregory House
Answer: Edna Mode
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "The Incredibles" . ?e_1 <voice_actor> ?e_3 . ?e_3 <pred:name> "John Ratzenberger" . ?e_2 <pred:name> "Brad Bird" . ?e_1 <voice_actor> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <voice_actor> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }
Program:
function: Find
inputs: John Ratzenberger
function: Relate
dependencies: 0
inputs: voice actor
backward
function: Find
inputs: The Incredibles
function: And
dependencies: 1
2
function: Find
inputs: Brad Bird
function: QueryRelationQualifier
dependencies: 3
4
inputs: voice actor
character role