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