Question: Is the running time longer for The Scarlet Letter, clocking in at 115 minutes, or for Rise of the Planet of the Apes?
Choices: Rise of the Planet of the Apes
Rebecca
A Prairie Home Companion
Earth
The Scarlet Letter
Little Women
The Hunchback of Notre Dame
Pleasantville
Hamlet
The Last of the Mohicans
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Scarlet Letter" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "115"^^xsd:double . } UNION { ?e <pred:name> "Rise of the Planet of the Apes" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: The Scarlet Letter
function: FilterNum
dependencies: 0
inputs: duration
115 minute
=
function: Find
inputs: Rise of the Planet of the Apes
function: SelectBetween
dependencies: 1
2
inputs: duration
greater
Answer: The Scarlet Letter