Question: Does the longer running time belong to A Midsummer Night's Dream, distributed by Warner Bros., or Raging Bull?
Choices:
The Hunchback of Notre Dame
Pleasantville
The Fifth Element
The Towering Inferno
Raging Bull
A Midsummer Night's Dream
A Prairie Home Companion
Training Day
Talk to Her
Rebecca
Program:
function: Find
inputs: Warner Bros.
function: Relate
dependencies: 0
inputs: distributor
backward
function: Find
inputs: A Midsummer Night's Dream
function: And
dependencies: 1
2
function: Find
inputs: Raging Bull
function: SelectBetween
dependencies: 3
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "A Midsummer Night's Dream" . ?e <distributor> ?e_1 . ?e_1 <pred:name> "Warner Bros." .   } UNION { ?e <pred:name> "Raging Bull" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: A Midsummer Night's Dream