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