Question: What is the role of Frank Marshall (the producer of Ponyo on the Cliff by the Sea) as a cast member of Indiana Jones and the Temple of Doom (which has Amrish Puri as a cast member)?
Choices:
guitarist
first overall draft pick
European Union
touring band member
stage name
territorial collectivity of France
overseas department of France
uncredited appearance
LAU 2
character designer
Answer: uncredited appearance
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Indiana Jones and the Temple of Doom" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Amrish Puri" . ?e_2 <pred:name> "Frank Marshall" . ?e_4 <producer> ?e_2 . ?e_4 <pred:name> "Ponyo on the Cliff by the Sea" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <object_has_role> ?qpv .  }
Program:
function: Find
inputs: Amrish Puri
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Indiana Jones and the Temple of Doom
function: And
dependencies: 1
2
function: Find
inputs: Ponyo on the Cliff by the Sea
function: Relate
dependencies: 4
inputs: producer
forward
function: Find
inputs: Frank Marshall
function: And
dependencies: 5
6
function: QueryRelationQualifier
dependencies: 3
7
inputs: cast member
object has role