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