Question: What is the character role of John Oliver (who is employed by HBO) as a voice actor in The Smurfs (whose release region is France)?
Choices: Geordi La Forge
Vanity Smurf
Harry Pierpont
Coat-Check Girl
Edward Cullen
Jack Ruby
Skinner
John Chambers
Cindy Campbell
Winston Zeddemore
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "The Smurfs" . ?e_1 <film_release_region> ?e_3 . ?e_3 <pred:name> "France" . ?e_2 <pred:name> "John Oliver" . ?e_2 <employer> ?e_4 . ?e_4 <pred:name> "HBO" . ?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: France
function: Relate
dependencies: 0
inputs: film release region
backward
function: Find
inputs: The Smurfs
function: And
dependencies: 1
2
function: Find
inputs: HBO
function: Relate
dependencies: 4
inputs: employer
backward
function: Find
inputs: John Oliver
function: And
dependencies: 5
6
function: QueryRelationQualifier
dependencies: 3
7
inputs: voice actor
character role
Answer: Vanity Smurf