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