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