Question: Tell me the one with a smaller duration, Family Plot or Heart (which has a 95 minute duration)
Choices:
Talk to Her
The Fifth Element
A Prairie Home Companion
Heart
Pleasantville
Rebecca
The Towering Inferno
Family Plot
Training Day
Curse of the Golden Flower
Answer: Heart
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Family Plot" . } UNION { ?e <pred:name> "Heart" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "95"^^xsd:double . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Family Plot
function: Find
inputs: Heart
function: FilterNum
dependencies: 1
inputs: duration
95 minute
=
function: SelectBetween
dependencies: 0
2
inputs: duration
less