Question: Which is longer, Bolero produced by Yoram Globus or Victor Victoria?
Choices:
Bolero
Victor Victoria
Training Day
Talk to Her
Pleasantville
The Fifth Element
Rebecca
The Hunchback of Notre Dame
The Towering Inferno
Curse of the Golden Flower
Answer: Victor Victoria
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Bolero" . ?e <producer> ?e_1 . ?e_1 <pred:name> "Yoram Globus" .   } UNION { ?e <pred:name> "Victor Victoria" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Yoram Globus
function: Relate
dependencies: 0
inputs: producer
backward
function: Find
inputs: Bolero
function: And
dependencies: 1
2
function: Find
inputs: Victor Victoria
function: SelectBetween
dependencies: 3
4
inputs: duration
greater