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