Question: What is the character role of Paul McCartney in  Yellow Submarine (the one whose release region is France)?
Choices:
Joan of Arc
Sallah
Mason Verger
Pomona Sprout
him/herself
Agent Smith
Grand Moff Tarkin
Judge Doom
Vernita Yvonne Green
Mr. Krabs
Program:
function: Find
inputs: France
function: Relate
dependencies: 0
inputs: film release region
backward
function: Find
inputs: Yellow Submarine
function: And
dependencies: 1
2
function: Find
inputs: Paul McCartney
function: QueryRelationQualifier
dependencies: 3
4
inputs: voice actor
character role
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Yellow Submarine" . ?e_1 <film_release_region> ?e_3 . ?e_3 <pred:name> "France" . ?e_2 <pred:name> "Paul McCartney" . ?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: him/herself