Question: Is Joan of Arc, clocking in at 132 minutes, or There Will Be Blood the shorter of the two?
Choices:
The Hunchback of Notre Dame
There Will Be Blood
A Prairie Home Companion
The Fifth Element
Joan of Arc
Pleasantville
The Towering Inferno
Training Day
Talk to Her
Curse of the Golden Flower
Program:
function: Find
inputs: Joan of Arc
function: FilterNum
dependencies: 0
inputs: duration
132 minute
=
function: Find
inputs: There Will Be Blood
function: SelectBetween
dependencies: 1
2
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Joan of Arc" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "132"^^xsd:double . } UNION { ?e <pred:name> "There Will Be Blood" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Joan of Arc