Question: Owen Wilson supplies the voice of which character on Cars 2, directed by John Lasseter?
Choices:
Anamaria
Scrum
Kavita Rao
Khan
Calhoun
Rick Deckard
Lightning McQueen
Mater
General Pushkin
Azazel
Answer: Lightning McQueen
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Cars 2" . ?e_1 <director> ?e_3 . ?e_3 <pred:name> "John Lasseter" . ?e_2 <pred:name> "Owen Wilson" . ?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 Lasseter
function: Relate
dependencies: 0
inputs: director
backward
function: Find
inputs: Cars 2
function: And
dependencies: 1
2
function: Find
inputs: Owen Wilson
function: QueryRelationQualifier
dependencies: 3
4
inputs: voice actor
character role