Question: Which is longer, Curse of the Golden Flower or The Thin Red Line produced by 20th Century Fox?
Choices: A Prairie Home Companion
The Thin Red Line
The Fifth Element
Rebecca
Curse of the Golden Flower
The Hunchback of Notre Dame
Talk to Her
Rope
Pleasantville
Training Day
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Curse of the Golden Flower" .  } UNION { ?e <pred:name> "The Thin Red Line" . ?e <production_company> ?e_1 . ?e_1 <pred:name> "20th Century Fox" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Curse of the Golden Flower
function: Find
inputs: 20th Century Fox
function: Relate
dependencies: 1
inputs: production company
backward
function: Find
inputs: The Thin Red Line
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
greater
Answer: The Thin Red Line