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