Question: What is the role of Hans Zimmer (the one that is an ethnic group of Germans) in The Lion King (the one whose release region is Sweden)?
Choices:
overseas department of France
pen name
mineral
location identifier part of a library identifier code
songwriting alias
abbreviation
first language
lower house
noun
music arranger
Answer: music arranger
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "The Lion King" . ?e_1 <film_release_region> ?e_3 . ?e_3 <pred:name> "Sweden" . ?e_2 <pred:name> "Hans Zimmer" . ?e_2 <ethnic_group> ?e_4 . ?e_4 <pred:name> "Germans" . ?e_1 <film_crew_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <film_crew_member> ; <pred:fact_t> ?e_2 ] <object_has_role> ?qpv .  }
Program:
function: Find
inputs: Sweden
function: Relate
dependencies: 0
inputs: film release region
backward
function: Find
inputs: The Lion King
function: And
dependencies: 1
2
function: Find
inputs: Germans
function: Relate
dependencies: 4
inputs: ethnic group
backward
function: Find
inputs: Hans Zimmer
function: And
dependencies: 5
6
function: QueryRelationQualifier
dependencies: 3
7
inputs: film crew member
object has role