Question: Which is shorter, King Kong (published 1933-09-08) or Johnny English Reborn?
Choices:
The Hunchback of Notre Dame
The Towering Inferno
King Kong
Pleasantville
Curse of the Golden Flower
The Fifth Element
Training Day
Talk to Her
Rebecca
A Prairie Home Companion
Program:
function: Find
inputs: King Kong
function: FilterDate
dependencies: 0
inputs: publication date
1933-09-08
=
function: Find
inputs: Johnny English Reborn
function: SelectBetween
dependencies: 1
2
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "King Kong" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "1933-09-08"^^xsd:date . } UNION { ?e <pred:name> "Johnny English Reborn" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: King Kong