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