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