Question: Which is longer in duration, the 95 minute long Beowulf or Amistad?
Choices:
Curse of the Golden Flower
The Fifth Element
Training Day
Amistad
The Hunchback of Notre Dame
A Prairie Home Companion
Beowulf
Rebecca
The Towering Inferno
Talk to Her
Program:
function: Find
inputs: Beowulf
function: FilterNum
dependencies: 0
inputs: duration
95 minute
=
function: Find
inputs: Amistad
function: SelectBetween
dependencies: 1
2
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Beowulf" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "95"^^xsd:double . } UNION { ?e <pred:name> "Amistad" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Beowulf