Question: Which film has the shorter running time, Red Road or Bolero (that was released on 1934-01-01)?
Choices:
The Fifth Element
Red Road
A Prairie Home Companion
The Hunchback of Notre Dame
Pleasantville
Talk to Her
Rebecca
Training Day
Bolero
The Towering Inferno
Program:
function: Find
inputs: Red Road
function: Find
inputs: Bolero
function: FilterDate
dependencies: 1
inputs: publication date
1934-01-01
=
function: SelectBetween
dependencies: 0
2
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Red Road" . } UNION { ?e <pred:name> "Bolero" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "1934-01-01"^^xsd:date . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Bolero