Question: Which movie is shorter, The Reader (the one whose publication date is 1989-02-09) or Moulin Rouge!?
Choices:
A Prairie Home Companion
Talk to Her
The Reader
The Towering Inferno
Training Day
The Hunchback of Notre Dame
Pleasantville
Rebecca
Curse of the Golden Flower
Moulin Rouge!
Answer: The Reader
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Reader" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "1989-02-09"^^xsd:date . } UNION { ?e <pred:name> "Moulin Rouge!" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: The Reader
function: FilterDate
dependencies: 0
inputs: publication date
1989-02-09
=
function: Find
inputs: Moulin Rouge!
function: SelectBetween
dependencies: 1
2
inputs: duration
less