Question: What is the character role of Robert Stack as a cast member of John Paul Jones (whose composer is Max Steiner)?
Choices:
Gael
Metatron
RoboCop
John Paul Jones
Poison Ivy
Les Amours de la reine Élisabeth
Amanda Grayson
Damon Macready
Reverend Lovejoy
Carlisle Cullen
Answer: John Paul Jones
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "John Paul Jones" . ?e_1 <composer> ?e_3 . ?e_3 <pred:name> "Max Steiner" . ?e_2 <pred:name> "Robert Stack" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }
Program:
function: Find
inputs: Max Steiner
function: Relate
dependencies: 0
inputs: composer
backward
function: Find
inputs: John Paul Jones
function: And
dependencies: 1
2
function: Find
inputs: Robert Stack
function: QueryRelationQualifier
dependencies: 3
4
inputs: cast member
character role