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