Question: Is Becket (produced by Hal B. Wallis) or Africa (86 minutes) shorter in duration?
Choices:
Pleasantville
Rebecca
Curse of the Golden Flower
Talk to Her
The Hunchback of Notre Dame
The Towering Inferno
A Prairie Home Companion
Becket
The Fifth Element
Africa
Answer: Africa
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Becket" . ?e <producer> ?e_1 . ?e_1 <pred:name> "Hal B. Wallis" . } UNION { ?e <pred:name> "Africa" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "86"^^xsd:double . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Hal B. Wallis
function: Relate
dependencies: 0
inputs: producer
backward
function: Find
inputs: Becket
function: And
dependencies: 1
2
function: Find
inputs: Africa
function: FilterNum
dependencies: 4
inputs: duration
86 minute
=
function: SelectBetween
dependencies: 3
5
inputs: duration
less