Question: Rupert Everett was the voice of which character on Shrek 2, which had UK distribution?
Choices:
Walter White
Seth Gecko
Lennie Briscoe
Wynnchel
The Dragon Emperor
Lenny (Shark Tale)
David Banner
Professor X
Prince Charming
Jack McFarland
Answer: Prince Charming
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Shrek 2" . ?e_1 <film_distribute_region> ?e_3 . ?e_3 <pred:name> "United Kingdom" . ?e_2 <pred:name> "Rupert Everett" . ?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: United Kingdom
function: Relate
dependencies: 0
inputs: film distribute region
backward
function: Find
inputs: Shrek 2
function: And
dependencies: 1
2
function: Find
inputs: Rupert Everett
function: QueryRelationQualifier
dependencies: 3
4
inputs: voice actor
character role