Question: Which part applies to the Lion King soundtrack whose composer is Elton John with the genre pop rock?
Choices: Posey County
winter
Slope County
song
director's cut
Cyprus
sea
Corson County
built-up area
Senate of Australia
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "The Lion King" . ?e_1 <genre> ?e_3 . ?e_3 <pred:name> "soundtrack" . ?e_2 <pred:name> "Elton John" . ?e_2 <genre> ?e_4 . ?e_4 <pred:name> "pop rock" . ?e_1 <composer> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <composer> ; <pred:fact_t> ?e_2 ] <applies_to_part> ?qpv .  }
Program:
function: Find
inputs: soundtrack
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: The Lion King
function: And
dependencies: 1
2
function: Find
inputs: pop rock
function: Relate
dependencies: 4
inputs: genre
backward
function: Find
inputs: Elton John
function: And
dependencies: 5
6
function: QueryRelationQualifier
dependencies: 3
7
inputs: composer
applies to part
Answer: song