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