Question: Does Death on the Nile, released on 2004-01-01, or Winchester (titled Winchester) have the shorter run-time?
Choices:
Death on the Nile
Winchester
A Streetcar Named Desire
The Goodbye Girl
The Music Man
A Christmas Carol
Shackleton
The Three Musketeers
The Late Shift
All Quiet on the Western Front
Answer: Death on the Nile
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Death on the Nile" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "2004-01-01"^^xsd:date . } UNION { ?e <pred:name> "Winchester" . ?e <title> ?pv_2 . ?pv_2 <pred:value> "Winchester" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Death on the Nile
function: FilterDate
dependencies: 0
inputs: publication date
2004-01-01
=
function: Find
inputs: Winchester
function: FilterStr
dependencies: 2
inputs: title
Winchester
function: SelectBetween
dependencies: 1
3
inputs: duration
less