Question: Which movie is longer, Rush (the one whose duration is 120 minute) or Away from Her?
Choices: A Prairie Home Companion
Rush
The Fifth Element
Training Day
Pleasantville
The Hunchback of Notre Dame
Curse of the Golden Flower
Rebecca
The Towering Inferno
Talk to Her
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Rush" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "120"^^xsd:double . } UNION { ?e <pred:name> "Away from Her" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Rush
function: FilterNum
dependencies: 0
inputs: duration
120 minute
=
function: Find
inputs: Away from Her
function: SelectBetween
dependencies: 1
2
inputs: duration
greater
Answer: Rush