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