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