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