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