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