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