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