Question: Which is longer, Rebecca or Sarajevo in black and white?
Choices:
The Towering Inferno
Sarajevo
The Fifth Element
Rebecca
Curse of the Golden Flower
Rope
Pleasantville
The Hunchback of Notre Dame
Training Day
Talk to Her
Answer: Rebecca
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Rebecca" .  } UNION { ?e <pred:name> "Sarajevo" . ?e <color> ?e_1 . ?e_1 <pred:name> "black-and-white" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Rebecca
function: Find
inputs: black-and-white
function: Relate
dependencies: 1
inputs: color
backward
function: Find
inputs: Sarajevo
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
greater