Question: Does Sex and the City, publicly released on 2008-05-29, or The Life and Death of Peter Sellers have the shorter run-time?
Choices:
The Music Man
Shackleton
The Late Shift
The Challenge
A Streetcar Named Desire
The Goodbye Girl
A Christmas Carol
Sex and the City
The Three Musketeers
The Life and Death of Peter Sellers
Program:
function: Find
inputs: Sex and the City
function: FilterDate
dependencies: 0
inputs: publication date
2008-05-29
=
function: Find
inputs: The Life and Death of Peter Sellers
function: SelectBetween
dependencies: 1
2
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Sex and the City" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "2008-05-29"^^xsd:date . } UNION { ?e <pred:name> "The Life and Death of Peter Sellers" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: The Life and Death of Peter Sellers