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