Question: Which is longer: Mindscape, clocking in at 98 minutes, or Montana, directed by Raoul Walsh?
Choices:
Mindscape
Pleasantville
Montana
Curse of the Golden Flower
The Fifth Element
Training Day
Rebecca
The Towering Inferno
The Hunchback of Notre Dame
Talk to Her
Answer: Montana
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Mindscape" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "98"^^xsd:double . } UNION { ?e <pred:name> "Montana" . ?e <director> ?e_1 . ?e_1 <pred:name> "Raoul Walsh" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Mindscape
function: FilterNum
dependencies: 0
inputs: duration
98 minute
=
function: Find
inputs: Raoul Walsh
function: Relate
dependencies: 2
inputs: director
backward
function: Find
inputs: Montana
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: duration
less