Question: Which is longer, Cape Fear, designed by Henry Bumstead, or The Gay Divorcee?
Choices:
A Prairie Home Companion
The Hunchback of Notre Dame
Curse of the Golden Flower
Cape Fear
The Towering Inferno
Talk to Her
Training Day
Rebecca
Pleasantville
The Gay Divorcee
Program:
function: Find
inputs: Henry Bumstead
function: Relate
dependencies: 0
inputs: production designer
backward
function: Find
inputs: Cape Fear
function: And
dependencies: 1
2
function: Find
inputs: The Gay Divorcee
function: SelectBetween
dependencies: 3
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Cape Fear" . ?e <production_designer> ?e_1 . ?e_1 <pred:name> "Henry Bumstead" .   } UNION { ?e <pred:name> "The Gay Divorcee" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Cape Fear