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