Question: Does Shadowlands (whose length is 92 minutes) or Brazil (whose color is black-and-white) have the shorter runtime?
Choices:
A Prairie Home Companion
The Fifth Element
Training Day
Talk to Her
Brazil
Shadowlands
The Hunchback of Notre Dame
Curse of the Golden Flower
Rebecca
Pleasantville
Answer: Brazil
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Shadowlands" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "92"^^xsd:double . } UNION { ?e <pred:name> "Brazil" . ?e <color> ?e_1 . ?e_1 <pred:name> "black-and-white" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Shadowlands
function: FilterNum
dependencies: 0
inputs: duration
92 minute
=
function: Find
inputs: black-and-white
function: Relate
dependencies: 2
inputs: color
backward
function: Find
inputs: Brazil
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: duration
less