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