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