Question: Does Little Women (that was nominated for an Academy Award for Best Director) or Death on the Nile (whose release date is 2004-01-01) have the shorter running time?
Choices: Death on the Nile
The Challenge
The Three Musketeers
A Christmas Carol
The Goodbye Girl
All Quiet on the Western Front
The Music Man
Little Women
A Streetcar Named Desire
The Late Shift
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Little Women" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "Academy Award for Best Director" . } UNION { ?e <pred:name> "Death on the Nile" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "2004-01-01"^^xsd:date . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Academy Award for Best Director
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: Little Women
function: And
dependencies: 1
2
function: Find
inputs: Death on the Nile
function: FilterDate
dependencies: 4
inputs: publication date
2004-01-01
=
function: SelectBetween
dependencies: 3
5
inputs: duration
less
Answer: Death on the Nile