Question: What is the connection between The Last Emperor (that was released in Los Angeles) and Vittorio Storaro?
Choices:
vehicle normally used
director of photography
film crew member
partner
part of the series
public holiday
location of final assembly
official color
penalty
fabrication method
Answer: director of photography
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "The Last Emperor" . ?e_1 <film_release_region> ?e_3 . ?e_3 <pred:name> "Los Angeles" . ?e_2 <pred:name> "Vittorio Storaro" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Los Angeles
function: Relate
dependencies: 0
inputs: film release region
backward
function: Find
inputs: The Last Emperor
function: And
dependencies: 1
2
function: Find
inputs: Vittorio Storaro
function: QueryRelation
dependencies: 3
4