Question: Which is shorter, St Trinian's or Coming Home whose duration is 111 minutes?
Choices:
Talk to Her
Rebecca
The Towering Inferno
Pleasantville
The Hunchback of Notre Dame
St Trinian's
Training Day
The Fifth Element
Coming Home
Curse of the Golden Flower
Answer: St Trinian's
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "St Trinian's" . } UNION { ?e <pred:name> "Coming Home" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "111"^^xsd:double . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: St Trinian's
function: Find
inputs: Coming Home
function: FilterNum
dependencies: 1
inputs: duration
111 minute
=
function: SelectBetween
dependencies: 0
2
inputs: duration
less