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