Question: Which one has more running time between Crash (the one produced by Robert Lantos) and Oscar (the one produced by Walt Disney Studios Motion Pictures)?
Choices:
A Prairie Home Companion
Rebecca
Pleasantville
Curse of the Golden Flower
Training Day
Talk to Her
Crash
The Towering Inferno
The Hunchback of Notre Dame
Oscar
Answer: Oscar
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Crash" . ?e <producer> ?e_1 . ?e_1 <pred:name> "Robert Lantos" .   } UNION { ?e <pred:name> "Oscar" . ?e <production_company> ?e_2 . ?e_2 <pred:name> "Walt Disney Studios Motion Pictures" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Robert Lantos
function: Relate
dependencies: 0
inputs: producer
backward
function: Find
inputs: Crash
function: And
dependencies: 1
2
function: Find
inputs: Walt Disney Studios Motion Pictures
function: Relate
dependencies: 4
inputs: production company
backward
function: Find
inputs: Oscar
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
greater