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