Question: Is Death on the Nile (exploitation visa number 49373) or The Verdict, with composer Johnny Mandel, the longer of the two?
Choices:
A Prairie Home Companion
Pleasantville
Training Day
The Verdict
Curse of the Golden Flower
The Towering Inferno
Death on the Nile
The Fifth Element
Rebecca
The Hunchback of Notre Dame
Program:
function: Find
inputs: Death on the Nile
function: FilterStr
dependencies: 0
inputs: exploitation visa number
49373
function: Find
inputs: Johnny Mandel
function: Relate
dependencies: 2
inputs: composer
backward
function: Find
inputs: The Verdict
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Death on the Nile" . ?e <exploitation_visa_number> ?pv_1 . ?pv_1 <pred:value> "49373" . } UNION { ?e <pred:name> "The Verdict" . ?e <composer> ?e_1 . ?e_1 <pred:name> "Johnny Mandel" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Death on the Nile