Question: What is the character role of Larry the Cable Guy in Cars (the one whose release region is Spain)?
Choices:
Fiedler
Seth
Nicholas Brody
Mater
Pepper Potts
Éamon de Valera
Derek Zoolander
The Smoking Man
King Candy
Paul III
Answer: Mater
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Cars" . ?e_1 <film_release_region> ?e_3 . ?e_3 <pred:name> "Spain" . ?e_2 <pred:name> "Larry the Cable Guy" . ?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: Spain
function: Relate
dependencies: 0
inputs: film release region
backward
function: Find
inputs: Cars
function: And
dependencies: 1
2
function: Find
inputs: Larry the Cable Guy
function: QueryRelationQualifier
dependencies: 3
4
inputs: voice actor
character role