Question: What is the role of Phil Collins, singer-songwriter, as the composer in Tarzan, distributed by Walt Disney Studios Motion Pictures ?
Choices:
songwriter
storyteller
pen pal
initialism
singer
overseas department of France
mineral
Three pillars of the European Union
LAU 2
minority language
Answer: songwriter
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Tarzan" . ?e_1 <distributor> ?e_3 . ?e_3 <pred:name> "Walt Disney Studios Motion Pictures" . ?e_2 <pred:name> "Phil Collins" . ?e_2 <occupation> ?e_4 . ?e_4 <pred:name> "singer-songwriter" . ?e_1 <composer> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <composer> ; <pred:fact_t> ?e_2 ] <object_has_role> ?qpv .  }
Program:
function: Find
inputs: Walt Disney Studios Motion Pictures
function: Relate
dependencies: 0
inputs: distributor
backward
function: Find
inputs: Tarzan
function: And
dependencies: 1
2
function: Find
inputs: singer-songwriter
function: Relate
dependencies: 4
inputs: occupation
backward
function: Find
inputs: Phil Collins
function: And
dependencies: 5
6
function: QueryRelationQualifier
dependencies: 3
7
inputs: composer
object has role