Question: Which one is shorter,  Iris (the one whose duration is 99 minute) or Robin Hood (the one whose publication date is 2010-05-13)?
Choices: A Prairie Home Companion
Curse of the Golden Flower
Talk to Her
Rebecca
The Fifth Element
Pleasantville
Robin Hood
Iris
Training Day
The Towering Inferno
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Iris" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "99"^^xsd:double . } UNION { ?e <pred:name> "Robin Hood" . ?e <publication_date> ?pv_2 . ?pv_2 <pred:date> "2010-05-13"^^xsd:date . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Iris
function: FilterNum
dependencies: 0
inputs: duration
99 minute
=
function: Find
inputs: Robin Hood
function: FilterDate
dependencies: 2
inputs: publication date
2010-05-13
=
function: SelectBetween
dependencies: 1
3
inputs: duration
less
Answer: Iris