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