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