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