Question: Does Dirty Dancing whose release date is 1987-10-23 or The Heiress have the shorter runtime?
Choices:
Training Day
Curse of the Golden Flower
The Hunchback of Notre Dame
Pleasantville
A Prairie Home Companion
The Heiress
Dirty Dancing
Talk to Her
Rebecca
The Fifth Element
Answer: Dirty Dancing
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Dirty Dancing" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "1987-10-23"^^xsd:date . } UNION { ?e <pred:name> "The Heiress" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Dirty Dancing
function: FilterDate
dependencies: 0
inputs: publication date
1987-10-23
=
function: Find
inputs: The Heiress
function: SelectBetween
dependencies: 1
2
inputs: duration
less