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