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