Question: Does Saskatchewan, published on 1954-01-01, or The Invasion have the shorter run-time?
Choices:
The Towering Inferno
Pleasantville
The Fifth Element
Training Day
The Hunchback of Notre Dame
Saskatchewan
Rebecca
Curse of the Golden Flower
The Invasion
Talk to Her
Program:
function: Find
inputs: Saskatchewan
function: FilterDate
dependencies: 0
inputs: publication date
1954-01-01
=
function: Find
inputs: The Invasion
function: SelectBetween
dependencies: 1
2
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Saskatchewan" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "1954-01-01"^^xsd:date . } UNION { ?e <pred:name> "The Invasion" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Saskatchewan