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