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