Question: Which movie is shorter, New York Stories or Some Like It Hot (the one whose publication date is 1959-03-29)?
Choices: Rebecca
The Fifth Element
Curse of the Golden Flower
The Hunchback of Notre Dame
Pleasantville
The Towering Inferno
New York Stories
A Prairie Home Companion
Some Like It Hot
Talk to Her
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "New York Stories" . } UNION { ?e <pred:name> "Some Like It Hot" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "1959-03-29"^^xsd:date . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: New York Stories
function: Find
inputs: Some Like It Hot
function: FilterDate
dependencies: 1
inputs: publication date
1959-03-29
=
function: SelectBetween
dependencies: 0
2
inputs: duration
less
Answer: Some Like It Hot