Question: Does Die Hard (whose length is 131 minutes) or We Were Soldiers have the shorter running time?
Choices:
The Towering Inferno
We Were Soldiers
Curse of the Golden Flower
Pleasantville
A Prairie Home Companion
The Hunchback of Notre Dame
Rebecca
Training Day
Die Hard
Talk to Her
Program:
function: Find
inputs: Die Hard
function: FilterNum
dependencies: 0
inputs: duration
131 minute
=
function: Find
inputs: We Were Soldiers
function: SelectBetween
dependencies: 1
2
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Die Hard" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "131"^^xsd:double . } UNION { ?e <pred:name> "We Were Soldiers" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: We Were Soldiers