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