Question: Which movie is longer,  Earth (the one whose color is black-and-white) or Born on the Fourth of July?
Choices:
Curse of the Golden Flower
Born on the Fourth of July
Earth
The Fifth Element
Talk to Her
Training Day
The Towering Inferno
Rebecca
The Hunchback of Notre Dame
Pleasantville
Answer: Born on the Fourth of July
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Earth" . ?e <color> ?e_1 . ?e_1 <pred:name> "black-and-white" .   } UNION { ?e <pred:name> "Born on the Fourth of July" .  } ?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: Earth
function: And
dependencies: 1
2
function: Find
inputs: Born on the Fourth of July
function: SelectBetween
dependencies: 3
4
inputs: duration
greater