Question: Which movie is longer, Venus (the one whose duration is 95 minute) or Chrono Crusade?
Choices:
Venus
Chrono Crusade
Talk to Her
A Prairie Home Companion
Pleasantville
The Towering Inferno
Rebecca
The Fifth Element
Training Day
Curse of the Golden Flower
Program:
function: Find
inputs: Venus
function: FilterNum
dependencies: 0
inputs: duration
95 minute
=
function: Find
inputs: Chrono Crusade
function: SelectBetween
dependencies: 1
2
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Venus" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "95"^^xsd:double . } UNION { ?e <pred:name> "Chrono Crusade" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Venus