Question: Between Anna Karenina, produced by Alexander Korda, or 1941 -- which is longer?
Choices:
Pleasantville
1941
The Hunchback of Notre Dame
Anna Karenina
Training Day
The Towering Inferno
Rebecca
Curse of the Golden Flower
The Fifth Element
A Prairie Home Companion
Answer: Anna Karenina
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Anna Karenina" . ?e <producer> ?e_1 . ?e_1 <pred:name> "Alexander Korda" .   } UNION { ?e <pred:name> "1941" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Alexander Korda
function: Relate
dependencies: 0
inputs: producer
backward
function: Find
inputs: Anna Karenina
function: And
dependencies: 1
2
function: Find
inputs: 1941
function: SelectBetween
dependencies: 3
4
inputs: duration
greater