Question: Which movie is longer, Transamerica or Mr. Smith Goes to Washington (the one whose color is black-and-white)?
Choices: Rebecca
The Towering Inferno
The Hunchback of Notre Dame
Curse of the Golden Flower
Transamerica
Training Day
A Prairie Home Companion
Mr. Smith Goes to Washington
Talk to Her
Pleasantville
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Transamerica" .  } UNION { ?e <pred:name> "Mr. Smith Goes to Washington" . ?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: Transamerica
function: Find
inputs: black-and-white
function: Relate
dependencies: 1
inputs: color
backward
function: Find
inputs: Mr. Smith Goes to Washington
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
greater
Answer: Mr. Smith Goes to Washington