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