Question: Which one is longer, The Alamo (the one whose distributor is Walt Disney Studios Motion Pictures) or Norbit ?
Choices: Rebecca
The Hunchback of Notre Dame
The Fifth Element
Training Day
Talk to Her
The Alamo
A Prairie Home Companion
Curse of the Golden Flower
Norbit
The Towering Inferno
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Alamo" . ?e <distributor> ?e_1 . ?e_1 <pred:name> "Walt Disney Studios Motion Pictures" .   } UNION { ?e <pred:name> "Norbit" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Walt Disney Studios Motion Pictures
function: Relate
dependencies: 0
inputs: distributor
backward
function: Find
inputs: The Alamo
function: And
dependencies: 1
2
function: Find
inputs: Norbit
function: SelectBetween
dependencies: 3
4
inputs: duration
greater
Answer: The Alamo