Question: Which has a shorter duration, Breaking and Entering or Flash Gordon, published 1980-12-05?
Choices:
A Prairie Home Companion
The Hunchback of Notre Dame
Breaking and Entering
Training Day
Talk to Her
Pleasantville
Curse of the Golden Flower
Flash Gordon
The Fifth Element
The Towering Inferno
Program:
function: Find
inputs: Breaking and Entering
function: Find
inputs: Flash Gordon
function: FilterDate
dependencies: 1
inputs: publication date
1980-12-05
=
function: SelectBetween
dependencies: 0
2
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Breaking and Entering" . } UNION { ?e <pred:name> "Flash Gordon" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "1980-12-05"^^xsd:date . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Flash Gordon