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