Question: Is the run-time longer for 3:10 to Yuma (in black-and-white) or Poltergeist (duration 110 minutes)?
Choices:
The Fifth Element
Pleasantville
Curse of the Golden Flower
3:10 to Yuma
Talk to Her
Training Day
Poltergeist
A Prairie Home Companion
Rebecca
The Towering Inferno
Program:
function: Find
inputs: black-and-white
function: Relate
dependencies: 0
inputs: color
backward
function: Find
inputs: 3:10 to Yuma
function: And
dependencies: 1
2
function: Find
inputs: Poltergeist
function: FilterNum
dependencies: 4
inputs: duration
110 minute
=
function: SelectBetween
dependencies: 3
5
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "3:10 to Yuma" . ?e <color> ?e_1 . ?e_1 <pred:name> "black-and-white" . } UNION { ?e <pred:name> "Poltergeist" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "110"^^xsd:double . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Poltergeist