Question: What is the character role of Antonio Banderas in the movie Shrek 2 (where Julie Andrews is also the voice actor) ?
Choices:
Owen Lars
Mr. Waternoose
Professor Frink
Professor Moriarty
Katya Derevko
Gawain
Puss in Boots
Sue Sylvester
Anamaria
Dory
Answer: Puss in Boots
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Shrek 2" . ?e_1 <voice_actor> ?e_3 . ?e_3 <pred:name> "Julie Andrews" . ?e_2 <pred:name> "Antonio Banderas" . ?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: Julie Andrews
function: Relate
dependencies: 0
inputs: voice actor
backward
function: Find
inputs: Shrek 2
function: And
dependencies: 1
2
function: Find
inputs: Antonio Banderas
function: QueryRelationQualifier
dependencies: 3
4
inputs: voice actor
character role