Question: Does the longer run-time belong to Metro-Goldwyn-Mayer's production of Honolulu, or to Hancock?
Choices:
Talk to Her
The Towering Inferno
Pleasantville
Honolulu
Rebecca
Hancock
The Hunchback of Notre Dame
A Prairie Home Companion
Curse of the Golden Flower
The Fifth Element
Answer: Honolulu
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Honolulu" . ?e <production_company> ?e_1 . ?e_1 <pred:name> "Metro-Goldwyn-Mayer" .   } UNION { ?e <pred:name> "Hancock" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Metro-Goldwyn-Mayer
function: Relate
dependencies: 0
inputs: production company
backward
function: Find
inputs: Honolulu
function: And
dependencies: 1
2
function: Find
inputs: Hancock
function: SelectBetween
dependencies: 3
4
inputs: duration
greater