Question: Which movie is longer, The Last of the Mohicans (the one whose publication date is 1936-01-01) or In Harm's Way?
Choices: Rebecca
In Harm's Way
The Hunchback of Notre Dame
A Prairie Home Companion
The Towering Inferno
Pleasantville
Training Day
The Fifth Element
Talk to Her
Curse of the Golden Flower
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Last of the Mohicans" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "1936-01-01"^^xsd:date . } UNION { ?e <pred:name> "In Harm's Way" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: The Last of the Mohicans
function: FilterDate
dependencies: 0
inputs: publication date
1936-01-01
=
function: Find
inputs: In Harm's Way
function: SelectBetween
dependencies: 1
2
inputs: duration
greater
Answer: In Harm's Way