Question: Which film is followed by the visual artwork and Superman Returns (shot in Los Angeles)?
Choices:
Twin Peaks: Fire Walk with Me
Mission: Impossible
Superman III
Murder on the Orient Express
Jackass: The Movie
Rebecca
Meet Dave
The Squid and the Whale
Transformers
Daredevil
Answer: Superman III
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "film" . ?e_1 <follows> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "visual artwork" . ?e_2 <follows> ?e_1 . ?e_2 <pred:name> "Superman Returns" . ?e_2 <filming_location> ?e_3 . ?e_3 <pred:name> "Los Angeles" .   }
Program:
function: Find
inputs: Los Angeles
function: Relate
dependencies: 0
inputs: filming location
backward
function: Find
inputs: Superman Returns
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: follows
forward
function: FilterConcept
dependencies: 4
inputs: visual artwork
function: Relate
dependencies: 5
inputs: follows
forward
function: FilterConcept
dependencies: 6
inputs: film
function: What
dependencies: 7