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