Question: Does Wild Wild West or the black-and-white version of Sunset Boulevard possess the longer run-time?
Choices:
The Fifth Element
Sunset Boulevard
Pleasantville
The Towering Inferno
Rebecca
A Prairie Home Companion
Training Day
Talk to Her
Wild Wild West
Curse of the Golden Flower
Program:
function: Find
inputs: Wild Wild West
function: Find
inputs: black-and-white
function: Relate
dependencies: 1
inputs: color
backward
function: Find
inputs: Sunset Boulevard
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Wild Wild West" .  } UNION { ?e <pred:name> "Sunset Boulevard" . ?e <color> ?e_1 . ?e_1 <pred:name> "black-and-white" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Sunset Boulevard