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