Question: Which has a greater duration, Unstoppable (whose producer is Avi Lerner) or Recount?
Choices:
All Quiet on the Western Front
The Goodbye Girl
The Late Shift
The Challenge
A Christmas Carol
Recount
Unstoppable
Shackleton
The Three Musketeers
A Streetcar Named Desire
Answer: Recount
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Unstoppable" . ?e <producer> ?e_1 . ?e_1 <pred:name> "Avi Lerner" .   } UNION { ?e <pred:name> "Recount" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Avi Lerner
function: Relate
dependencies: 0
inputs: producer
backward
function: Find
inputs: Unstoppable
function: And
dependencies: 1
2
function: Find
inputs: Recount
function: SelectBetween
dependencies: 3
4
inputs: duration
greater