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