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