Question: Which is longer, It (distributed by Paramount Pictures) or Eagle Eye?
Choices:
Pleasantville
Curse of the Golden Flower
Eagle Eye
Rebecca
It
The Towering Inferno
Talk to Her
Training Day
The Fifth Element
The Hunchback of Notre Dame
Program:
function: Find
inputs: Paramount Pictures
function: Relate
dependencies: 0
inputs: distributor
backward
function: Find
inputs: It
function: And
dependencies: 1
2
function: Find
inputs: Eagle Eye
function: SelectBetween
dependencies: 3
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "It" . ?e <distributor> ?e_1 . ?e_1 <pred:name> "Paramount Pictures" .   } UNION { ?e <pred:name> "Eagle Eye" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Eagle Eye