Question: In the action movie Shrek the Third, what character does voice actor Maya Rudolph play?
Choices:
Izzie Stevens
Peter Florrick
Maximilian Veers
Walter Bishop
Ari Gold
Georges Duroy
Marv
Angel Batista
Rapunzel
Fred Jones
Program:
function: Find
inputs: action film
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: Shrek the Third
function: And
dependencies: 1
2
function: Find
inputs: Maya Rudolph
function: QueryRelationQualifier
dependencies: 3
4
inputs: voice actor
character role
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Shrek the Third" . ?e_1 <genre> ?e_3 . ?e_3 <pred:name> "action film" . ?e_2 <pred:name> "Maya Rudolph" . ?e_1 <voice_actor> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <voice_actor> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }
Answer: Rapunzel